The Gigabit Ethernet PCS PMA core has configuration registers as defined in IEEE 802.3. These have an address range from 0 to 15. These registers are configured using the MDIO interface. These registers are provided here for quick reference. For more information about these registers see the 1G/2.5G Ethernet PCS/PMA or SGMII LogiCORE IP Product Guide (PG047).
These registers contain information relating to the operation of the 1000BASE-X PCS/PMA sublayer, including the status of the physical Ethernet link (PHY Link). Additionally, these registers are directly involved in the operation of the 1000BASE-X auto-negotiation function which occurs between the subsystem and its link partner, the Ethernet device connected at the far end of the PHY Link. These registers are accessed through the MII Management interface (Using the Address Filters). These registers are only valid when using the 1000BASE-X PHY interface.
Register Name | Register Address (REGAD) |
---|---|
Control register | 0 |
Status register | 1 |
PHY Identifier | 2,3 |
Auto-Negotiation Advertisement register | 4 |
Auto-Negotiation Link Partner Ability Base register | 5 |
Auto-Negotiation Expansion register | 6 |
Auto-Negotiation Next Page Transmit register | 7 |
Auto-Negotiation Next Page Receive register | 8 |
Extended Status register | 15 |
Vendor Specific register: Auto-Negotiation Interrupt Control register | 16 |
Vendor Specific register: Loopback Control register | 17 |
Bits | Name | Access | Reset Value | Description |
---|---|---|---|---|
15 | Reset | R/W Self clearing | 0 |
|
14 | Loopback | R/W | 0 |
When used with a device-specific transceiver, the subsystem is placed in internal loopback mode. With the TBI version, Bit 1 is connected to ewrap. When set to 1, indicates to the external PMA module to enter loopback mode. |
13 | Speed Selection (LSB) | Returns 0 | 0 | Always returns a 0 for this bit. Together with bit 0.6, speed selection of 1000 Mb/s is identified |
12 | Auto-Negotiation Enable | R/W | 1 |
|
11 | Power Down | R/W | 0 |
With the PMA option, when set to 1 the device-specific transceiver is placed in a low-power state. This bit requires a reset (see bit 0.15) to clear. With the TBI version this register bit has no effect. |
10 | Isolate 1 | R/W | 1 |
|
9 | Restart Auto-Negotiation | R/W Self clearing | 0 |
|
8 | Duplex Mode | Returns 1 | 1 | Always returns a 1 for this bit to signal Full-Duplex Mode. |
7 | Collision Test | Returns 0 | 0 | Always returns a 0 for this bit to disable COL test. |
6 | Speed Selection (MSB) | Returns 1 | 1 | Always returns a 1 for this bit. Together with bit 0.13, speed selection of 1000 Mb/s is identified. |
5 | Unidirectional Enable | R/W | 0 | Enable transmit regardless of whether a valid link has been established. This feature is only possible if Auto-Negotiation Enable bit 0.12 is disabled. |
4:0 | Reserved | Returns 0s | 00000 | Always return 0s, writes ignored. |
|
The following table shows the Gigabit Ethernet PCS PMA Management Status register bit definitions.
Bits | Name | Access | Reset Value | Description |
---|---|---|---|---|
15 | 100BASE-T4 | Returns 0 | 0 | Always returns a 0 for this bit because 100BASE-T4 is not supported. |
14 | 100BASE-X Full Duplex | Returns 0 | 0 | Always returns a 0 for this bit because 100BASE-X full-duplex is not supported. |
13 | 100BASE-X Half Duplex | Returns 0 | 0 | Always returns a 0 for this bit because 100BASE-X half-duplex is not supported. |
12 | 10 Mb/s Full Duplex | Returns 0 | 0 | Always returns a 0 for this bit because 10 Mb/s full-duplex is not supported. |
11 | 10 Mb/s Half Duplex | Returns 0 | 0 | Always returns a 0 for this bit because 10 Mb/s half-duplex is not supported. |
10 | 100BASE-T2 Full Duplex | Returns 0 | 0 | Always returns a 0 for this bit because 100BASE-T2 full-duplex is not supported. |
9 | 100BASE-T2 Half Duplex | Returns 0 | 0 | Always returns a 0 for this bit because 100BASE-T2 half-duplex is not supported. |
8 | Extended Status | Returns 1 | 1 | Always returns a 1 for this bit indicating the presence of the extended register (register 15). |
7 | Unidirectional Ability | Returns 1 | 1 | Always returns a 1. |
6 | MF Preamble Suppression | Returns 1 | 1 | Always returns a 1 for this bit to indicate the support of management frame preamble suppression. |
5 | Auto-Negotiation Complete | RO | 0 |
|
4 | Remote Fault | RO self clearing on read | 0 |
|
3 | Auto-Negotiation Ability | Returns 1 | 1 | Always returns a 1 for this bit indicating that the PHY is capable of auto-negotiation. |
2 | Link Status | RO self clearing on read | 0 |
|
1 | Jabber Detect | Returns 0 | 0 | Always returns a 0 for this bit because no jabber detect is supported. |
0 | Extended Capability | Returns 0 | 0 | Always returns a 0 for this bit because no extended register set is supported. |
The following table shows the first Management PHY Identifier register bit definitions.
Bits | Name | Access | Reset Value | Description |
---|---|---|---|---|
15:0 | OUI | RO | 0x0000 | Organizationally Unique Identifier (OUI). |
The following table shows the second Management PHY Identifier register bit definitions.
Bits | Name | Access | Reset Value | Description |
---|---|---|---|---|
15:10 | OUI | RO | 000000 | Organizationally Unique Identifier (OUI). |
9:4 | MMN | Returns 0 | 000000 | Manufacturer Model Number. Always returns 0s. |
3:0 | Revision | Returns 0 | 0000 | Revision Number. Always returns 0s. |
The following table shows the Management Auto-Negotiation Advertisement register bit definitions.
Bits | Name | Access | Reset Value | Description |
---|---|---|---|---|
15 | Next Page | R/W | 0 |
|
14 | Reserved | Returns 0s | 0 | Always return zeros. |
13:12 | Remote Fault |
R/W self clearing after auto-negotiation |
0x0 |
|
11:9 | Reserved | Returns 0s | 0x0 | Always return zeros. |
8:7 | Pause | R/W | 0x3 |
|
6 | Half Duplex | Returns 0s | 0 | Always return zeros because half-duplex is not supported. |
5 | Full Duplex | R/W | 1 |
|
4:0 | Reserved | Returns 0s | 0x0 | Always return zeros. |
The following table shows the TEMAC Internal 1000BASE-X PCS/PMA Management Auto-Negotiation Link Partner Ability Base register bit definitions.
Bits | Name | Access | Reset Value | Description |
---|---|---|---|---|
15 | Next Page | RO | 0 |
|
14 | Acknowledge | RO | 0 | Used by the auto-negotiation function to indicate reception of a link partner base or next page. |
13:12 | Remote Fault | RO | 0x0 |
|
11:9 | Reserved | Returns 0s | 0x0 | Always return zeros. |
8:7 | Pause | RO | 0x |
|
6 | Half Duplex | RO | 0 |
|
5 | Full Duplex | RO | 0 |
|
4:0 | Reserved | Returns 0s | 0x0 | Always return zeros. |
The following table shows the Management Auto-Negotiation Expansion register bit defiitions.
Bits | Name | Access | Reset Value | Description |
---|---|---|---|---|
15:3 | Reserved | Returns 0s | 0x0 | Always return zeros. |
2 | Next Page Able | Returns 1 | 1 | Always returns a 1 for this bit because the device is Next Page Able. |
1 | Page Received | RO self clearing on read | 0 |
|
0 | Reserved | Returns 0s | 0 | Always return zeros. |
The following table shows the Management Auto-Negotiation Next Page Transmit register bit definitions.
Bits | Name | Access | Reset Value | Description |
---|---|---|---|---|
15 | Next Page | R/W | 0 |
|
14 | Reserved | Returns 0s | 0 | Always return zeros. |
13 | Message Page | R/W | 1 |
|
12 | Acknowledge 2 | R/W | 0 |
|
11 | Toggle | RO | 0 | Value toggles between subsequent pages. |
10:0 | Message or unformatted Code Field | R/W |
0x001 (null message code) |
Message code field or unformatted page encoding as dictated by bit 13. |
The following table shows the Management Auto-Negotiation Next Page Receive register bit definitions.
Bits | Name | Access | Reset Value | Description |
---|---|---|---|---|
15 | Next Page | RO | 0 |
|
14 | Acknowledge | RO | 0 | Used by auto-negotiation function to indicate reception of a link partner base or next page. |
13 | Message Page | RO | 0 |
|
12 | Acknowledge 2 | RO | 0 |
|
11 | Toggle | RO | 0 | Value toggles between subsequent pages. |
10:0 | Message or unformatted Code Field | RO | 0x0 (null message code) | Message code field or unformatted page encoding as dictated by bit 13. |
The following table shows the Management Extended Status register bit definitions.
Bits | Name | Access | Reset Value | Description |
---|---|---|---|---|
15 | 1000BASE-X Full Duplex | Returns 1 | 1 | Always returns a 1 for this bit because 1000BASE-X full-duplex is supported. |
14 | 1000BASE-X Half Duplex | Returns 0 | 0 | Always returns a 1 for this bit because 1000BASE-X half-duplex is not supported. |
13 | 1000BASE-T Full Duplex | Returns 0 | 0 | Always returns a 1 for this bit because 1000BASE-T full-duplex is not supported. |
12 | 1000BASE-T Half Duplex | Returns 0 | 0 | Always returns a 1 for this bit because 1000BASE-T half-duplex is not supported. |
11:0 | Reserved | Returns 0s | 0x0 | Always return zeros. |
The following table shows the Management Auto-Negotiation Interrupt Control register bit definitions.
Bits | Name | Access | Reset Value | Description |
---|---|---|---|---|
15:2 | Reserved | Returns 0s | 0 | Always return zeros. |
1 | Interrupt Status | R/W | 0 | If the interrupt is enabled, this bit is asserted upon the completion of an
auto-negotiation cycle; it is only cleared by writing 0 to this bit. If the interrupt
is disabled, this bit is set to 0. This is the auto-negotiation complete interrupt.
|
0 | Interrupt Enable | R/W | 1 |
|
Bits | Name | Access | Reset Value | Description |
---|---|---|---|---|
15:1 | Reserved | Returns 0s | 0 | Always return zeros. |
0 | Loopback Position | R/W | 0 |
Loopback is enabled or disabled using register 0 bit 14.
|