10.8 EMAC Register Bit Definitions

The following tables define the bit definitions of the registers present in EMAC.

Table 10-20. DMA_TX_CTRL
Bit NumberNameReset ValueDescription
[31:1]Reserved0x0Reserved
0Transmit control0x0TxEnable: Set this bit to enable DMA transmit packet transfers.

The bit is cleared by the built-in DMA controller whenever it encounters a Tx Underrun or Bus Error state.

Table 10-21. DMA_TX_DESC
Bit NumberNameReset ValueDescription
[31:2]Top 30 bits of Descriptor Address0x0.When TxEnable is set by the host, the built-in DMA controller reads this register to discover the location in the host memory of the first transmit packet descriptor.
[1:0]Ignored by the DMA controller0x0All descriptors are 32-bit aligned in the host memory.
Table 10-22. DMA_TX_STATUS
Bit NumberNameReset ValueDescription
[31:24]Reserved0x0Reserved
[23:16]TxPktCount0x0The 8-bit transmit packet counter that is incremented whenever the built-in DMA controller successfully transfers a packet, and is decremented whenever the host writes a '1' to bit '0' in this register.
[16:4]Reserved0x0Reserved
3BusError0x0When set, this indicates that a host slave split, retry or error response is received by the DMA controller.
2Reserved0x0Reserved
1TxUnderrun0x0Set whenever the DMA controller reads a '1' for the empty flag in the descriptor.
0TxPktSent0x0When set, this indicates that one or more packets have been successfully transferred.

Writing a '1' to this bit reduces the TxPktCount value by one. The bit is cleared whenever TxPktCount is zero.

Table 10-23. DMA_RX_CTRL
Bit NumberNameReset ValueDescription
[31:1]Reserved0x0Reserved
0Rx Enable0x0Setting this bit enables DMA receive packet transfers.

The bit is cleared by the built-in DMA controller whenever it encounters an Rx overflow or bus error state.

Table 10-24. DMA_RX_DESC
Bit NumberNameReset ValueDescription
[31:1]Top 30 bits of Descriptor Address0x0When RxEnable is set by the host, the built-in DMA controller reads this register to discover the location in the host memory of the first receive packet descriptor.
0Ignored by the DMA controller0x0All descriptors are 32-bit aligned in the host memory.
Table 10-25. DMA_RX_STATUS
Bit NumberNameReset ValueDescription
[31:24]Reserved0x0Reserved
[23:16]RxPktCount0x0The 8-bit receive packet counter that is incremented whenever the built-in DMA controller successfully transfers a packet, and is decremented whenever the host writes a “1” to bit zero of this register.
[16:4]Reserved0x0Reserved
3BusError0x0When set, this indicates that a host slave split, retry or error response is received by the DMA controller.
2RxOverflow0x0Set whenever the DMA controller reads a zero empty flag in the descriptor it is processing.
1Reserved0x0Reserved
0RxPktReceived0x0When set, this indicates that one or more packets have been successfully transferred. Writing a “1” to this bit reduces the RxPktCount value by one. The bit is cleared whenever RxPktCount is zero.
Table 10-26. DMA_IRQ_MASK
Bit NumberNameReset ValueDescription
[31:8]Reserved0x0Reserved
7Bus Error Mask0x0Setting this bit to “1” enables the Bus Error bit in the DMARxStatus register as an interrupt source.
6Rx Overflow Mask0x0Setting this bit to “1” enables the RxOverflow bit in the DMARxStatus register as an interrupt source.
5Reserved0x0Reserved
4RxPktReceived Mask0x0Setting this bit to “1” enables the RxPktReceived bit in the DMARxStatus register as an interrupt source.
3Bus Error Mask0x0Setting this bit to “1” enables the Bus Error bit in the DMATxStatus register as an interrupt source.
2Reserved0x0Reserved
1Tx Underrun Mask0x0Setting this bit to “1” enables the TxUnderrun bit in the DMATxStatus register as an interrupt source.
0TxPktSent Mask0x0Setting this bit to “1” enables the TxPktSent bit in the DMATxStatus register as an interrupt source.
Table 10-27. DMA_IRQ
Bit NumberNameReset ValueDescription
[31:8]Reserved0x0Reserved
7Bus Error0x0This is set to “1” to record a receive bus error interrupt when the Bus Error bit in the DMARxStatus register and bit 7 of the DMAIntrMask register are both set.
6Rx Overflow0x0This is set to “1” to record an Rx overflow interrupt when the RxOverflow bit in the DMARxStatus register and bit 6 of the DMAIntrMask register are both set.
5Reserved0x0Reserved
4RxPktReceived0x0This is set to “1” to record a RxPktReceived interrupt when the RxPktReceived bit in the DMARxStatus register and bit 4 of the DMAIntrMask register are both set.
3Bus Error0x0This is set to “1” to record a transmit bus error interrupt when the Bus Error bit in the DMATxStatus register and bit 3 of the DMAIntrMask register are both set.
2Reserved0x0Reserved
1Tx Underrun0x0This is set to “1” to record a Tx underrun interrupt when the TxUnderrun bit in the DMATxStatus register and bit 1 of the DMAIntrMask register are both set.
0TxPktSent0x0This is set to “1” to record a TxPktSent interrupt when the TxPktSent bit in the DMATxStatus register and bit 0 of the DMAIntrMask register are both set.
Table 10-28. CFG1
Bit NumberNameReset ValueDescription
31SOFT RESET0x1Setting this bit will put all modules within the PE-MCXMAC in the reset except the Host Interface.
30SIMULATION RESET0x0Setting this bit will reset those registers, such as the random backoff timer, which are not controlled by the normal resets (simulation only).
[29:20]Reserved0x0Reserved
19RESET RX MAC CONTROL0x0Setting this bit puts the PERMC Receive MAC control in reset.
18RESET TX MAC CONTROL0x0Setting this bit puts the PETMC Transmit MAC control in reset.
17RESET RX FUNCTION0x0Setting this bit puts the PERFN receive function block in reset. PERFN block performs the receive frame protocol.
16RESET TX FUNCTION0x0Setting this bit puts the PETFN transmit function block in reset. PETFN block performs the frame transmission protocol.
[15:9]Reserved0x0Reserved
8LOOP BACK0x0Setting this bit causes the PETFN MAC transmit outputs to be looped back to the MAC receive inputs. Clearing this bit results in normal operation.
[7:6]Reserved0x0Reserved
5RECEIVE FLOW CONTROL ENABLE0x0Setting this bit causes the PERFN receive.

MAC control to detect and act on PAUSE flow control frames. Clearing this bit causes the receive MAC control to ignore PAUSE flow control frames.

4TRANSMIT FLOW CONTROL ENABLE0x0Setting this bit allows the PETMC transmit.

MAC control sends PAUSE flow control frames when requested by the system.

Clearing this bit prevents the transmit MAC control from sending flow control frames.

3SYNCHRONIZED RECEIVE ENABLE0x0This field is read only and indicates that the receive enable is synchronized to the receive stream.
2RECEIVE ENABLE0x0Setting this bit allows the MAC to receive frames from the PHY. Clearing this bit prevents the reception of the frames.
1SYNCHRONIZED TRANSMIT ENABLE0x0This field is read only and indicates that the transmit enable is synchronized to the transmit stream.
0TRANSMIT ENABLE0x0Setting this bit allows the MAC to transmit frames from the system. Clearing this bit prevents the transmission of the frames.
Table 10-29. CFG2
Bit NumberNameReset ValueDescription
[31:16]Reserved0x0Reserved
[15:12]PREAMBLE LENGTH0x7This field determines the length of the preamble field of the packet in bytes. Default is ‘0x7’.
[9:8]INTERFACE MODE0x0This field determines the type of interface the MAC is connected to. The Interface mode settings are as follows:
Interface modeBit 9Bit 8
Reserved00
Nibble mode (10/100 Mbps

MII/RMII/SMII, … )

01
Byte mode (1000 Mbps GMII/TBI)10
Reserved11
[7:6]Reserved0x0Reserved
5HUGE FRAME ENABLE0x0Set this bit to transmit and receive the frames that are longer than the MAXIMUM FRAME LENGTH. Clear this bit to have the MAC limits the length of frames at the MAXIMUM FRAME LENGTH value.
4LENGTH FIELD CHECKING0x0Set this bit to cause the MAC to check the frame’s length field to ensure it matches the actual data field length. Clear this bit if no length field checking is desired.
3Reserved0x0Reserved
2PAD/CRC ENABLE0x0Set this bit to have the MAC pads all the short frames and appends a CRC to every frame whether or not padding is required. Clear this bit if frames, presented to the MAC, have a valid length and contain a CRC.
1CRC ENABLE0x0Set this bit to have the MAC appends a CRC to all the frames. Clear this bit if frames that are presented to the MAC, have a valid length and contain a valid CRC. If the PAD/CRC ENABLE configuration bit or the per-packet PAD/CRC ENABLE is set, CRC ENABLE is ignored.
0FULL-DUPLEX0x0Setting this bit configures the PE-MCXMAC to operate in 
full-duplex mode. Clearing this bit configures the PE-MCXMAC to operate in half-duplex mode only.
Table 10-30. IFG
Bit NumberNameReset ValueDescription
31Reserved0x0Reserved
[30:24]NON-BACK-TO-BACK INTER-PACKET-GAP PART 1 (IPGR1)0x40This programmable field represents the optional carrier Sense window, which is referenced in the IEEE 802.3/4.2.3.2.1 ‘Carrier Deference’. If a carrier is detected during the timing of IPGR1, the MAC defers to the carrier. However, the carrier becomes active after IPGR1; the MAC continues timing IPGR2 and transmit, knowingly causing a collision. This ensures fair access to the medium. The permitted range of values is 0x0 to IPGR2. Default is 0x40.
23Reserved0x0Reserved
[22:16]NON-BACK-TO-BACK INTER-PACKET-GAP PART 2 (IPGR2)0x60This programmable field represents the Non-Back-to-Back Inter-Packet-Gap in the bit times, which represent the minimum inter packet gap (IPG) of 96 bits.
[15:8]MINIMUM IFG ENFORCEMENT0x50This programmable field represents the minimum size of management gap (IFG) to enforce between frames (expressed in bit times).

A frame whose IFG is less than the programmed minimum IFG enforcement value is dropped. The default setting of 0x50 represents half of the nominal minimum IFG which is 160 bits.

7Reserved0x0Reserved
[6:0]BACK-TO-BACK INTER-PACKET-GAP0x60This programmable field represents the IPG between Back-to-Back packets (expressed in bit times). This is the IPG parameter used exclusively in full-duplex mode when two transmit packets are sent back-to-back. Set this field to the desired number of bits. The default setting of 0x60 represents the minimum IPG of 96 bits.
Table 10-31. HALF_DUPLEX
Bit NumberNameReset ValueDescription
[31:24]Reserved0x0Reserved
[23:20]ALTERNATE BINARY EXPONENTIAL BACKOFF TRUNCATION0xAThis field is used when ALTERNATE BINARY EXPONENTIAL BACKOFF ENABLE is set. The value programmed is substituted for the Ethernet standard value of ten. Default is ‘0xA’.
19ALTERNATE BINARY EXPONENTIAL BACKOFF ENABLE0x0Setting this bit configures the Tx MAC to use the ALTERNATE BINARY EXPONENTIAL BACKOFF TRUNCATION setting instead of the 802.3 standard tenth collision. Clearing this bit causes the Tx MAC to follow the standard binary exponential backoff rule.
18BACKPRESSURE NO BACKOFF0x0Setting this bit configures the Tx MAC to immediately re-transmit following a collision during back pressure operation. Clearing this bit causes the Tx MAC to follow the binary exponential backoff rule.
17NO BACKOFF0x0Setting this bit configures the Tx MAC to immediately re-transmit following a collision. Clearing this bit causes the Tx MAC to follow the binary exponential backoff rule.
16EXCESSIVE DEFER0x1Setting this bit configures the Tx MAC to allow the transmission of a packet that has been excessively deferred. Clearing this bit causes the Tx MAC to abort the transmission of a packet that has been excessively deferred.
[15:12]RETRANSMISSION MAXIMUM0xFThis is a programmable field specifying the number of retransmission attempts following a collision before aborting the packet due to excessive collisions. The standard specifies the maximum number of attempts to be 0xF (15d).
[11:10]Reserved0x0Reserved
[9:0]COLLISION WINDOW0x37This programmable field represents the slot time or collision window during which collisions might occur in a properly configured network. Since the collision window starts at the beginning of the transmission, the preamble and start frame delimiter (SFD) are included. The default of 0x37 (55d) corresponds to the count of the frame bytes at the end of the window.
Table 10-32. MAX_FRAME_LENGTH
Bit NumberNameReset ValueDescription
[31:16]Reserved0x0Reserved
[15:0]MAXIMUM FRAME LENGTH0x600This programmable field sets the maximum frame size in both the transmit and receive directions.
Table 10-33. TEST
Bit NumberNameReset ValueDescription
[31:4]Reserved0x0Reserved
3MAXIMUM FRAME LENGTH0x0Setting this bit causes the MAC to backoff for the maximum possible length of time. This test bit is used to predict the backoff times in half-duplex mode.
2REGISTERED TRANSMIT FLOW ENABLE0x0Registered transmit half-duplex flow enable.
1TEST PAUSE0x0Setting this bit allows the MAC to be paused via the host interface for the testing purposes.
0SHORTCUT SLOT TIME0x0This bit allows the slot time counter to expire regardless of the current count. This bit is for the testing purposes only.
Table 10-34. MII_CONFIG
Bit NumberNameReset ValueDescription
31RESET MII MGMT0x0Setting this bit resets MII Mgmt. Clearing this bit allows MII Mgmt to perform Mgmt read/write cycles as requested via the Host Interface.
30:6Reserved0x0Reserved
5SCAN AUTO INCREMENT0x0Setting this bit causes MII Mgmt to continually read from a set of PHYs of contiguous address space. The starting address of the PHY is specified by the content of the PHY address field, which is recorded in the MII Mgmt Address register. Up to 31 PHY contiguous address space can be addressed. The last PHY, which is to be queried in this read sequence, is the one residing at address 0x31, after which the read sequence returns to the PHY, specified by the PHY address field.
4PREAMBLE SUPPRESSION0x0Setting this bit causes MII Mgmt to suppress preamble generation and reduce the Mgmt cycle from 64 clocks to 32 clocks. This is in accordance with the IEEE 802.3/22.2.4.4.2. Clearing this bit causes MII Mgmt to perform Mgmt read/write cycles with the 64 clocks of preamble.
3Reserved0x0Reserved
2:0MGMT CLOCK SELECT0x0This field determines the clock frequency of the management data clock (MDC). Following are the MGMT Clock Select Encoding programming fields:
Mgmt Clock Select210
Source Clock divided by 4000
Source Clock divided by 4001
Source Clock divided by 6010
Source Clock divided by 8011
Source Clock divided by 10100
Source Clock divided by 14101
Source Clock divided by 20110
Source Clock divided by 28111
Table 10-35. MII_COMMAND
Bit NumberNameReset ValueDescription
31:2Reserved0x0Reserved
1SCAN CYCLE0x0This bit causes MII Mgmt to perform Read cycles continuously. This is useful to monitor Link Fail.
0READ CYCLE0x0This bit causes MII Mgmt to perform a single Read cycle. The Read data is returned in Register 0xC (MII Mgmt Read Data).
Table 10-36. MII_ADDRESS
Bit NumberNameReset ValueDescription
[31:13]Reserved0x0Reserved
[12:8]PHY ADDRESS0x00This field represents the 5-bit PHY address field used in Mgmt cycles. Up to 31 PHYs can be addressed (0 is reserved).
[4:0]REGISTER ADDRESS0x00This field represents the 5-bit register address field of Mgmt cycles. Up to 32 registers can be accessed.
Table 10-37. MII_CTRL
Bit NumberNameReset ValueDescription
[31:16]Reserved0x0Reserved
[15:0]MII MGMT CONTROL0x0When written, an MII Mgmt write cycle is performed using the 16-bit data and the pre-configured PHY and register addresses from the MII Mgmt Register (0x0A).
Table 10-38. MII_STATUS
Bit NumberNameReset ValueDescription
[31:16]Reserved0x0Reserved
[15:0]MII MGMT STATUS (PHY STATUS)0x0Following an MII Mgmt read cycle, the 16-bit data can be read from this location.
Table 10-39. MII_INDICATORS
Bit NumberNameReset ValueDescription
[31:3]Reserved0x0Reserved
2NOT VALID0x0When “1” is returned, this indicates MII Mgmt Read cycle is not completed and the Read Data is not yet validated.
1SCANNING0x0When “1” is returned, this indicates a scan operation (continuous MII Mgmt Read cycles) is in progress.
0BUSY0x0When “1” is returned, this indicates MII Mgmt block is currently performing an MII Mgmt read or write cycle.
Table 10-40. INTERFACE_CTRL
Bit NumberNameReset ValueDescription
31RESET INTERFACE MODULE0x0Setting this bit resets the interface module. Clearing this bit allows for the normal operation. This bit can be used in the place of bits 23, 15, and 7, when just 1 interface module is connected.
[30:28]Reserved0x0Reserved
27TBIMODE0x0Setting this bit configures the A-RGMII module to expect TBI signals at the GMII interface. This bit should not be asserted unless this mode is being used.
26GHDMODE0x0Setting this bit configures the A-RGMII module to expect half-duplex GMII at the GMII interface.
25LHDMODE0x0Setting this bit configures the A-RGMII module to expect 10 or 100 half-duplex MII at the GMII interface. This bit should not be asserted unless this mode is being used.
24PHY MODE0x0Setting this bit configures the PESMII serial MII module to be in PHY mode. Link characteristics are taken directly from the Rx segments supplied by the PHY. Clearing this bit configures the PESMII to be in MAC to MAC mode. In this configuration, the Serial MII module reverts to the pre-defined settings of 100 Mbps, full-duplex.
23RESET PERMII0x0Setting this bit resets the PERMII module. Clearing this bit allows for normal operation.
[22:17]Reserved0x0Reserved
16SPEED0x0This bit configures the PERMII Reduced MII module with the current operating speed.

When set, 100 Mbps mode is selected. When cleared, 10 Mbps mode is selected.

15RESET PE100X0x0This bit resets the 4B/5B symbol encipher/decipher logic.
[14:11]Reserved0x0Reserved
10FORCE QUIET0x0When enabled, the transmit data is cleared which allows the contents of the cipher to be the output. When cleared, the normal operation is enabled. This affects the 4B/5B symbol encipher/decipher logic module only.
9NO CIPHER0x0When enabled, the raw transmit 5B symbols are transmitted without ciphering.

When disabled, the normal ciphering occurs. This affects the 4B/5B symbol encipher/decipher logic module only.

8DISABLE LINK FAIL0x0When enabled, the 330 ms Link Fail timer is disabled, allowing shorter simulations. Removes the 330 ms link-up time before reception of streams is allowed. When cleared, normal operation occurs. Affects 4B/5B symbol encipher/decipher logic module only.
7Reserved0x0Reserved
[6:1]Reserved0x0Reserved
0ENABLE JABBER PROTECTION0x0This bit enables the jabber protection logic. Jabber is the condition where a transmitter is stuck on for longer than 50 ms to prevent other stations from transmitting.
Table 10-41. INTERFACE_STATUS
Bit NumberNameReset ValueDescription
[31:11]Reserved0x0Reserved
10Reserved0x0Reserved
9EXCESS DEFER0x0This bit sets when the MAC excessively defers a transmission. It clears when read. This bit latches high.
8CLASH0x0When read as a “1”, the Serial MII module is in the MAC to MAC mode with the partner in 10 Mbps and/or half-duplex mode indicative of a configuration error.

When read as a “0”, the Serial MII module is either in PHY mode or in a properly configured MAC to MAC mode.

7JABBER0x0When read as a “1”, the Serial MII PHY detects a jabber condition on the link. When read as a “0”, the Serial MII PHY does not detect a jabber condition.
6LINK OK0x0When read as a “1”, the Serial MII PHY detects a valid link. When read as a “0”, the Serial MII PHY does not detect a valid link.
5FULL DUPLEX0x0When read as a “1”, the Serial MII PHY operates in full-duplex mode. When read as a “0”, the Serial MII PHY operates in half-duplex mode.
4SPEED0x0When read as a “1”, the Serial MII PHY operates at 100 Mbps mode. When read as a “0”, the Serial MII PHY operates at 10 Mbps.
3LINK FAIL0x0When read as a “1”, the MII Management module reads the PHY link fail register to be 1’. When read as a “0”, the MII Management module reads the PHY link fail register to be 0’. Note: For asynchronous host accesses, this bit must be read at least once every scan read cycle of the PHY.
2Reserved0x0Reserved
1Reserved0x0Reserved
0Reserved0x0Reserved
Table 10-42. STATION_ADDRESS1
Bit NumberNameReset ValueDescription
[31:24]STATION ADDRESS0x0This field holds the first octet of the station address.
[23:16]STATION ADDRESS0x0This field holds the second octet of the station address.
[15:8]STATION ADDRESS0x0This field holds the third octet of the station address.
[7:0]STATION ADDRESS0x0This field holds the fourth octet of the station address.
Table 10-43. STATION_ADDRESS2
Bit NumberNameReset ValueDescription
[31:24]STATION ADDRESS0x0This field holds the fifth octet of the station address.
[23:16]STATION ADDRESS0x0This field holds the sixth octet of the station address.
Table 10-44. FIFO_CFG0
Bit NumberNameReset ValueDescription
[31:21]Reserved0x0Reserved
20ftfenrply0x0This is a read only bit.

When asserted, the FIFO transmit interface is enabled.

When de-asserted, the FIFO transmit interface is disabled.

The bit should be polled until it reaches the expected value.

19stfenrply0x0This is a read only bit.

When asserted, the FIFO PE-MCXMAC transmit interface module is enabled.

When de-asserted, the FIFO PE-MCXMAC transmit interface module is disabled.

The bit should be polled until it reaches the expected value.

18frfenrply0x0This is a read only bit.

When asserted, the FIFO receive interface module is enabled.

When de-asserted, the FIFO receive interface module is disabled.

The bit should be polled until it reaches the expected value.

17srfenrply0x0This is a read only bit.

When asserted, the FIFO PE-MCXMAC receive interface module is enabled.

When de-asserted, the FIFO PE-MCXMAC receive interface module is disabled.

The bit should be polled until it reaches the expected value.

16wtmenrply0x0When asserted, the FIFO PE-MCXMAC watermark module is enabled.

When de-asserted, the FIFO PE-MCXMAC watermark module is disabled.

The bit should be polled until it reaches the expected value.

[15:13]Reserved0x0Reserved
12ftfenreq0x0When asserted, this bit requests to enable the FIFO fabric transmit interface module.

When de-asserted, this bit requests to disable the FIFO Fabric transmit interface module.

11stfenreq0x0When asserted, this bit requests to enable the FIFO 
PE-MCXMAC transmit interface module.

When de-asserted, this bit requests to disable the FIFO 
PE-MCXMAC transmit interface module.

10frfenreq0x0When asserted, this bit requests to enable the FIFO fabric receive interface module.

When de-asserted, this bit requests to disable of the FIFO fabric receive interface module.

9srfenreq0x0When asserted, this bit requests to enable the FIFO 
PE-MCXMAC receive interface module.

When de-asserted, this bit requests to disable the FIFO 
PE-MCXMAC receive interface module.

8wtmenreq0x0When asserted, this bit requests to enable the FIFO 
PE-MCXMAC Watermark module.

When de-asserted, this bit requests to disable the FIFO

PE-MCXMAC watermark module.

[7:5]Reserved0x0Reserved
4hstrstft0x0When asserted, this bit places the FIFO Fabric transmit interface module in reset.
3hstrstst0x0When asserted, this bit places the FIFO PE-MCXMAC transmit interface module in reset.
2hstrstfr0x0When asserted, this bit places the FIFO Fabric receive interface module in reset.
1hstrstsr0x0When asserted, this bit places the FIFO PE-MCXMAC receive interface module in reset.
0hstrstwt0x0When asserted, this bit places the FIFO PE-MCXMAC watermark module in reset.
Table 10-45. FIFO_CFG1
Bit NumberNameReset ValueDescription
[31:28]Reserved0x0Reserved
[27:16]cfgsrth[11:0]0xFFFThis bit represents the minimum number of 4 byte locations, which are simultaneously stored in the receive RAM, relative to the beginning of the frame being input, before the fabric receive ready may be asserted.
[15:0]cfgxoffrtx0xFFFFThis bit represents the number of pause quanta after an XOFF pause frame is acknowledged, until the A-MCXFIFO re-asserts pause request if the A-MCXFIFO receive storage level remains higher than the low watermark.
Table 10-46. FIFO_CFG2
Bit NumberNameReset ValueDescription
[31:29]Reserved0x0Reserved
[28:16]cfghwm0x1FFFThis bit represents the maximum number of 4 byte words that are simultaneously stored in the receive RAM before the transmit flow control enables and pause value facilitates an XOFF pause control frame.
[15:13]Reserved0x0Reserved
[12:0]cfglwm0x1FFFThis bit represents the minimum number of 4 byte words that are simultaneously stored in the receive RAM before transmit flow control enables and pause value facilitates an XON pause control frame in response to a previously transmitted XOFF pause control frame.
Table 10-47. FIFO_CFG3
Bit NumberNameReset ValueDescription
[31:28]Reserved0x0Reserved
[27:16]cfghwmft0xFFFThis hex value represents the maximum number of 4 byte locations, which are simultaneously stored in the transmit RAM before the fthwm is asserted.

The fthwm is asserted whenever the amount of four byte locations, used in the transmit FIFO data RAM, exceeds the value programmed in the cfghwmft host register.

[15:12]Reserved0x0Reserved
[11:0]cfgftth0xFFFThis bit represents the minimum number of 4 byte locations which are simultaneously stored in the transmit RAM, relative to the beginning of the frame being input, before transmit packet start of frame is asserted.
Table 10-48. FIFO_CFG4
Bit NumberNameReset ValueDescription
[31:18]Reserved0x0Reserved
[17:0]hstfltrfrm0x0These configuration bits are used to signal the drop frame conditions internal to the A-MCXFIFO.

The bits correspond to the receive statistics vector input to A-MCXFIFO on a one per one basis. Receive statistics vector indicates the characteristics of the current receive frame and is input to A-MCXFIFO.

The setting of this bits along with their don’t care values in the hstfltrfrmdc not asserted, create the filter that drops the receive frame if the receive frame does not pass through the acceptable conditions.

For example, if it is needed to drop a frame that contains a receive error, least significant fourth bit is set, and all receive frames that have frame receive error in receive statistics vector asserted are dropped.

The hstfltrfrm bit and their corresponding receive statistics vector is as follows:

Bit Description

17: System receive unicast address

16: Truncated frame

15: Receive long event

14: VLAN Tagged frame: frame’s length/type field contained 0x8100 which is the VLAN protocol identifier

13: Frame was an unsupported Op-code

12: Frame was a PAUSE control frame

11: Long event detected

10: Frame contained a dribble nibble

9: Broadcast address detected

8: Multicast address detected

7: Reception OK

6: Length/Type field was neither a length nor type

5: Frame’s length field out of range

4: Frame contained a CRC error

3: Frame contained a code error

2: False carrier previously seen

1: RX_DV event previously seen

0: Whether or not a prior packet was dropped

Table 10-49. FIFO_CFG5
Bit NumberNameReset ValueDescription
[31:23]Reserved0x0Reserved
22cfghdplx0x0Assertion of this bit configures the A-MCXFIFO to enable the half-duplex as a flow control mechanism. De-assertion of this bit configures the A-MCXFIFO to enable pause frames as a flow control mechanism.
21srfull0x0Assertion of this read-only bit indicates that the maximum capacity of the receive FIFO storage is met or exceeded.
20hstsrfullclr0x0This bit should be written when it is desired to clear the srfull indicator bit. After the hstfullclr assertion, the srfull should be read until it becomes unasserted.
19cfgbytmode0x0This bit should be asserted when the PE-MCXMAC is configured for GMII mode.
18hstdrplt640x0Setting this bit causes the frame to be dropped if a receive frame is less than 64 bytes in length.
[17:0]hstfltrfrmdc0X3FFFFThese configuration bits indicate which receive statistics vectors are don’t care for A-MCXFIFO frame drop circuitry. Receive statistics vector indicates the characteristics of the current receive frame.

Setting of the hstfltrfrmdc bit, indicates a don’t care for the receive statistics vector bit. These bits corresponds to receive statistics vector on a one per one basis. The hstfltrfrmdc bit and their corresponding receive statistics vector is as follows:

Bit Description

17: System receive unicast address

16: Truncated frame

15: Receive long event

14: VLAN Tagged frame: frame’s length/type field contained 0x8100 which is the VLAN protocol identifier

13: Frame was an unsupported Op-code

12: Frame was a PAUSE control frame

11: Long event detected

10: Frame contained a dribble nibble

9: Broadcast address detected

8: Multicast address detected

7: Reception OK

6: Length/Type field was neither a length nor type

5: Frame’s length field is out of range

4: Frame contained a CRC error

3: Frame contained a code error

2: False carrier previously seen

1: RX_DV event previously seen

0: Whether or not a prior packet was dropped

Table 10-50. FIFO_RAM_ACCESS0
Bit NumberNameReset ValueDescription
31hsttramwreq0x0Host transmit RAM write request
30hsttramwack0x0Host transmit RAM write acknowledge
[29:24]Reserved0x0Reserved
[23:16]hsttramwdat
[39:32]0x0Host transmit RAM write data

This is the upper byte of the transmit FIFO RAM data that is written at the address of hsttramwadx[10:0], if hsttramwadx[12] is negated and hsttramwreq is asserted.

[15:13]Reserved0x0Reserved
[12:0]hsttramwadx0x0Host transmit RAM write address
Table 10-51. FIFO_RAM_ACCESS1
Bit NumberNameReset ValueDescription
[31:0]hsttramwdat0x0Host transmit RAM write data
Table 10-52.  FIFO_RAM_ACCESS2
Bit NumberNameReset ValueDescription
31hsttramrreq0x0Host transmit RAM read request
30hsttramrack0x0Host transmit RAM read acknowledge
[29:24]Reserved0x0Reserved
[23:16]hsttramrdat0x0Host transmit RAM read data.

This is the upper byte of the transmit FIFO RAM data that was read at the address of the hsttramwadx[10:0], if the hsttramwadx[12] is negated and the hsttramwreq is asserted.

[15:13]Reserved0x0Reserved
[12:0]hsttramradx0x0Host transmit RAM read address
Table 10-53. FIFO_RAM_ACCESS3
Bit NumberNameReset ValueDescription
[31:0]hsttramrdat0x0Host transmit RAM read data
Table 10-54. FIFO_RAM_ACCESS4
Bit NumberNameReset ValueDescription
31hstrramwreq0x0Host receive RAM write request
30hstrramwack0x0Host receive RAM write acknowledge
[29:24]Reserved0x0Reserved
[23:16]hstrramwdat[39:32]0x0Host receive RAM write data

This is the upper byte of the receive FIFO RAM data that is written at the address of the hstrramwadx[11:0], if the hstrramwadx[13] is negated and the hstrramwreq is asserted.

[15:14]Reserved0x0Reserved
[13:0]hsttramwadx0x0Host receive RAM write address
Table 10-55. FIFO_RAM_ACCESS5
Bit NumberNameReset ValueDescription
[31:0]hstrramwdat0x0Host receive RAM write data
Table 10-56. FIFO_RAM_ACCESS6
Bit NumberNameReset ValueDescription
31hstrramrreq0x0Host receive RAM read request
30hstrramrack0x0Host receive RAM read acknowledge
[29:24]Reserved0x0Reserved
[23:16]hstrramrdat
[39:32]0x0Host receive RAM read data

This is the upper byte of the receive FIFO RAM data that is read at the address of the hstrramwadx[10:0] if the hstrramwadx[13] is negated and the hstrramwreq is asserted.

[15:14]Reserved0x0Reserved
[13:0]hstrramradx
[13:0]0x0Host receive RAM read address
Table 10-57. FIFO_RAM_ACCESS7
Bit NumberNameReset ValueDescription
[31:0]hstrramrdat0x0Host receive RAM read data
Table 10-58. TR64
Bit NumberNameReset ValueDescription
[31:18]Reserved0x0Reserved
[17:0]TR640x0Transmit and receive 64 byte frame counter: Incremented for each good or bad transmitted and received frame, which is 64 bytes in length inclusive (excluding framing bits but including FCS bytes).
Table 10-59. TR127
Bit NumberNameReset ValueDescription
[31:18]Reserved0x0Reserved
[17:0]TR1270x0Transmit and receive 65 to 127 byte frame counter: Incremented for each good or bad, transmitted and received frame, which is 65 to 127 bytes in length inclusive (excluding framing bits but including FCS bytes).
Table 10-60. TR255
Bit NumberNameReset ValueDescription
[31:18]Reserved0x0Reserved
[17:0]TR2550x0Transmit and receive 128 to 255 byte frame counter: Incremented for each good or bad, transmitted and received frame, which is 128 to 255 bytes in length inclusive (excluding framing bits but including FCS bytes).
Table 10-61. TR511
Bit NumberNameReset ValueDescription
[31:18]Reserved0x0Reserved
[17:0]TR5110x0Transmit and receive 256 to 511 byte frame counter: Incremented for each good or bad, transmitted and received frame, which is 256 to 511 bytes in length inclusive (excluding framing bits but including FCS bytes).
Table 10-62. TR1K
Bit NumberNameReset ValueDescription
[31:18]Reserved0x0Reserved
[17:0]TR1K0x0Transmit and receive 512 to 1023 byte frame counter: Incremented for each good or bad, transmitted and received frame, which is 512 to 1023 bytes in length inclusive (excluding framing bits but including FCS bytes).
Table 10-63. TRMAX
Bit NumberNameReset ValueDescription
[31:18]Reserved0x0Reserved
[17:0]TRMAX0x0Transmit and receive 1024 to 1518 byte frame counter: Incremented for each good or bad, transmitted and received frame, which is 1024 to 1518 bytes in length inclusive (excluding framing bits but including FCS bytes).
Table 10-64. TRMGV
Bit NumberNameReset ValueDescription
[31:18]Reserved0x0Reserved
[17:0]TRMGV0x0Transmit and receive 1519 to 1522 byte VLAN frame counter: Incremented for each good Virtual Local Area Network (VLAN) transmitted and received frame which is 1519 to 1522 bytes in length inclusive (excluding framing bits but including FCS bytes).
Table 10-65. RBYT
Bit NumberNameReset ValueDescription
[31:24]Reserved0x0Reserved
[23:0]RBYT0x0Receive byte frame counter: The statistic counter register is incremented by the byte count of all the frames received, including those in the bad packets, excluding framing bits but including FCS bytes.
Table 10-66. RPKT
Bit NumberNameReset ValueDescription
[31:18]Reserved0x0Reserved
[17:0]RPKT0x0Receive packet counter: Incremented for each frame received packet (including bad packets, all the unicast, broadcast, and multicast packets).
Table 10-67. RFCS
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]RFCS0x0Receive FCS error counter: Incremented for each frame received that has an integral 64 to 1518 length and contains a FCS error.
Table 10-68. RMCA
Bit NumberNameReset ValueDescription
[31:18]Reserved0x0Reserved
[17:0]RMAC0x0Receive multicast packet counter: Incremented for each multicast good frame of lengths smaller than 1518 (non VLAN) or 1522 (VLAN) excluding the broadcast frames. This does not include range, length errors.
Table 10-69. RBCA
Bit NumberNameReset ValueDescription
[31:22]Reserved0x0Reserved
[21:0]RBCA0x0Receive broadcast packet counter: Incremented for each broadcast good frame of lengths smaller than 1518 (non VLAN) or 1522 (VLAN) excluding the multicast frames. This does not look at range/length errors.
Table 10-70. RXCF
Bit NumberNameReset ValueDescription
[31:18]Reserved0x0Reserved
[17:0]RXCF0x0Receive control frame packet counter: Incremented for each MAC control frame received (PAUSE and Unsupported).
Table 10-71. RXPF
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]RXPF0x0Receive PAUSE frame packet counter: Incremented each time a valid PAUSE MAC control frame is received.
Table 10-72. RXUO
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]RXUO0x0Receive unknown OP-code counter: Incremented each time a MAC control frame containing an op-code other than a PAUSE is received.
Table 10-73. RALN
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]RALN0x0Receive alignment error counter: Incremented for each received frame from 64 to 1518.This contains an invalid FCS and is not an integral number of bytes.
Table 10-74. RFLR
Bit NumberNameReset ValueDescription
[31:16]Reserved0x0Reserved
[15:0]RFLR0x0Receive frame length error counter: Incremented for each frame received in which the 802.3 length field does not match with the number of the data bytes actually received (46-1500 bytes).

The counter is not incremented if the length field is not a valid 802.3 length.

Table 10-75. RCDE
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]RCDE0x0Receive code error counter: Incremented each time a valid carrier is present and at least one invalid data symbol is detected.
Table 10-76. RCSE
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]RCSE0x0Receive false carrier counter: Incremented each time a false carrier is detected during idle, as defined by a 1 on RX_ER, and an ‘0xE’ on RXD. The event is reported along with the statistics generated on the next received frame. Only one false carrier condition can be detected and logged between frames.
Table 10-77. RUND
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]RUND0x0Receive undersize packet counter: Incremented each time a frame is received which is less than 64 bytes in length and contains a valid FCS. This does not include range, length errors.
Table 10-78. ROVR
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]ROVR0x0Receive oversize packet counter: Incremented each time a frame is received which exceeded 1518 (non VLAN) or 1522 (VLAN) and contains a valid FCS. This does not include range, length errors.
Table 10-79. RFRG
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]RFRG0x0Receive fragments counter: Incremented for each frame received which is less than 64 bytes in length and contains an invalid FCS. The received frame includes integral and non-integral lengths.
Table 10-80. RJBR
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]Reserved0x0Receive jabber counter: Incremented for frames received which exceed 1518 (non VLAN) or 1522 (VLAN) bytes and contains an invalid FCS. The received frame, includes alignment errors.
Table 10-81. RDRP
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]RDRP0x0Receive dropped packets counter: Incremented for frames received which are streamed to system but are later dropped due to lack of system resources.
Table 10-82. TBYT
Bit NumberNameReset ValueDescription
[31:24]Reserved0x0Reserved
[23:0]TPKT0x0Transmit byte counter: Incremented by the number of bytes that are transmitted including fragments of frames, which are involved in collisions. This count does not include preamble/SFD or jam bytes.
Table 10-83. TPKT
Bit NumberNameReset ValueDescription
[31:18]Reserved0x0Reserved
[17:0]TPKT0x0Transmit packet counter: Incremented for each transmitted packet (including bad packets, excessive deferred packets, excessive collision packets, late collision packets, all unicast, broadcast, and multicast packets).
Table 10-84. TMCA
Bit NumberNameReset ValueDescription
[31:18]Reserved0x0Reserved
[17:0]TPKT0x0Transmit packet counter: Incremented for each transmitted packet (including bad packets, excessive deferred packets, excessive collision packets, late collision packets, all unicast, broadcast, and multicast packets).
Table 10-85. TBCA
Bit NumberNameReset ValueDescription
[31:18]Reserved0x0Reserved
[17:0]TBCA0x0Transmit broadcast packet counter: Incremented for each broadcast frame transmitted (excluding multicast frames).
Table 10-86. TXPF
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]TXPF0x0Transmit PAUSE frame packet counter: Incremented each time a valid PAUSE MAC control frame is transmitted.
Table 10-87. TDFR
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]TDFR0x0Transmit deferral packet counter: Incremented for each frame, which is deferred on its first transmission attempt. This does not include frames involved in collisions.
Table 10-88. TEDF
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]TEDF0x0Transmit excessive deferral packet counter: Incremented for aborted frames which are deferred for an excessive period of time (3036 byte times).
Table 10-89. TSCL
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]TSCL0x0Transmit single collision packet counter: Incremented for each transmitted frame which experiences exactly one collision during the transmission.
Table 10-90. TMCL
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]TMCL0x0Transmit multiple collision packet counter: Incremented for each transmitted frame which experiences 2-15 collisions (including any late collisions).
Table 10-91. TLCL
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]TLCL0x0Transmit late collision packet counter: Incremented for each transmitted frame which experiences a late collision during a transmission attempt.
Table 10-92. TXCL
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]TXCL0x0Transmit excessive collision packet counter: Incremented for each frame that experiences 16 collisions during the transmission and is aborted.
Table 10-93. TNCL
Bit NumberNameReset ValueDescription
[31:13]Reserved0x0Reserved
[12:0]TNCL0X0Transmit total collision counter:

Incremented by the number of collisions experienced during the transmission of a frame due to simultaneous transmitting and receiving.

Table 10-94. TPFH
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]TPFH0x0Transmit PAUSE frames honored counter: Incremented each time a valid PAUSE MAC control frame is transmitted and honored.
Table 10-95. TDRP
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]TDRP0x0Transmit drop frame counter: Incremented each time the transmit PAUSE frame honored input to PE-MSTAT is asserted.
Table 10-96. TJBR
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]TJBR0x0Transmit jabber frame counter: Incremented for each oversized transmitted frame with an incorrect FCS value.
Table 10-97. TFCS
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]TFCS0x0Transmit FCS error counter: Incremented for each valid sized packet with an incorrect FCS value.
Table 10-98. TXCF
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]TXCS0x0Transmit control frame counter: Incremented for each valid size frame with a type field signifying a control frame.
Table 10-99. TOVR
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]TOVR0x0Transmit oversize frame counter: Incremented for each oversized transmitted frame with a correct FCS value.
Table 10-100. TUND
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]TUND0x0Transmit undersize frame counter: Incremented for each frame less than 64 bytes, with a correct FCS value.
Table 10-101. TFRG
Bit NumberNameReset ValueDescription
[31:12]Reserved0x0Reserved
[11:0]TFRG0x0Transmit fragment counter: Incremented for each frame less than 64 bytes, with an incorrect FCS value.
Table 10-102. CAR1
Bit NumberNameReset ValueDescription
31C1640x0Carry register 1 TR64 counter carry bit
30C11270x0Carry register 1 TR127 counter carry bit
29C12550x0Carry register 1 TR255 counter carry bit
28C15110x0Carry register 1 TR511 counter carry bit
27C11k0x0Carry register 1 TR1K counter carry bit
26C1MAX0x0Carry register 1 TRMAX counter carry bit
25C1MGV0x0Carry register 1 TRMGV counter carry bit
[24:17]Reserved0x0Reserved
16C1RBY0x0Carry register 1 RBYT counter carry bit
15C1RPK0x0Carry register 1 RPKT counter carry bit
14C1RFC0x0Carry register 1 RFCS counter carry bit
13C1RMC0x0Carry register 1 RMCA counter carry bit
12C1RBC0x0Carry register 1 RBCA counter carry bit
11C1RXC0x0Carry register 1 RXCF counter carry bit
10C1RXP0x0Carry register 1 RXPF counter carry bit
9C1RXU0x0Carry register 1 RXUO counter carry bit
8C1RAL0x0Carry register 1 RALN counter carry bit
7C1RFL0x0Carry register 1 RFLR counter carry bit
6C1RCD0x0Carry register 1 RCDE counter carry bit
5C1RCS0x0Carry register 1 RCSE counter carry bit
4C1RUN0x0Carry register 1 RUND counter carry bit
3C1ROV0x0Carry register 1 ROVR counter carry bit
2C1RFR0x0Carry register 1 RFRG counter carry bit
1C1RJB0x0Carry register 1 RJBR counter carry bit
0C1RDR0x0Carry register 1 RDRP counter carry bit
Table 10-103. CAR2
Bit NumberNameReset ValueDescription
[31:20]Reserved0x0Reserved
19C2TJB0x0Carry register 2 TJBR counter carry bit
18C2TFC0x0Carry register 2 TXFC counter carry bit
17C2TCF0x0Carry register 2 TXCF counter carry bit
16C2TOV0x0Carry register 2 TOVR counter carry bit
15C2TUN0x0Carry register 2 TUND counter carry bit
14C2TFG0x0Carry register 2 TFRG counter carry bit
13C2TBY0x0Carry register 2 TBYT counter carry bit
12C2TPK0x0Carry register 2 TPKT counter carry bit
11C2TMC0x0Carry register 2 TMCA counter carry bit
10C2TBC0x0Carry register 2 TBCA counter carry bit
9C2TPF0x0Carry register 2 TXPF counter carry bit
8C2TDF0x0Carry register 2 TDFR counter carry bit
7C2TED0x0Carry register 2 TEDF counter carry bit
6C2TSC0x0Carry register 2 TSCL counter carry bit
5C2TMA0x0Carry register 2 TMCL counter carry bit
4C2TLC0x0Carry register 2 TLCL counter carry bit
3C2TXC0x0Carry register 2 TXCL counter carry bit
2C2TNC0x0Carry register 2 TNCL counter carry bit
1C2TPH0x0Carry register 2 TPFH counter carry bit
0C2TDP0x0Carry register 2 TDRP counter carry bit
Table 10-104. CAM1
Bit NumberNameReset ValueDescription
31M1640x1Mask register 1 TR64 counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

30M11270x1Mask register 1 TR127 counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

29M12550x1Mask register 1 TR255 counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

28M15110x1Mask register 1 TR511 counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

27M11k0x1Mask register 1 TR1K counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

26M1MAX0x1Mask register 1 TRMAX counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

25M1MGV0x1Mask register 1 TRMGV counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

[24:17]Reserved0x0Reserved
16M1RBY0x1Mask register 1 RBYT counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

15M1RPK0x1Mask register 1 RPKT counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

14M1RFC0x1Mask register 1 RFCS counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

13M1RMC0x1Mask register 1 RMCA counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

12M1RBC0x1Mask register 1 RBCA counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

11M1RXC0x1Mask register 1 RXCF counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

10M1RXP0x1Mask register 1 RXPF counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

9M1RXU0x1Mask register 1 RXUO counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

8M1RAL0x1Mask register 1 RALN counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

7M1RFL0x1Mask register 1 RFLR counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

6M1RCD0x1Mask register 1 RCDE counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

5M1RCS0x1Mask register 1 RCSE counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

4M1 RUN0x1Mask register 1 RUND counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

3M1ROV0x1Mask register 1 ROVR counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

2M1RFR0x1Mask register 1 RFRG counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

1M1RJB0x1Mask register 1 RJBR counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

0M1RDR0x1Mask register 1 RDRP counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

Table 10-105. CAM2
Bit NumberNameReset ValueDescription
[31:20]Reserved0x0Reserved
19M2TJB0x1Mask register 2 TJBR counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

18M2TFC0x1Mask register 2 TXFC counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

17M2TCF0x1Mask register 2 TXCF counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

16M2TOV0x1Mask register 2 TOVR counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

15M2TUN0x1Mask register 2 TUND counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

14M2TFG0x1Mask register 2 TFRG counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

13M2TBY0x1Mask register 2 TBYT counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

12M2TPK0x1Mask register 2 TPKT counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

11M2TMC0x1Mask register 2 TMCA counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

10M2TBC0x1Mask register 2 TBCA counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

9M2TPF0x1Mask register 2 TXPF counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

8M2TDF0x1Mask register 2 TDFR counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

7M2TED0x1Mask register 2 TEDF counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

6M2TSC0x1Mask register 2 TSCL counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

5M2TMA0x1Mask register 2 TMCL counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

4M2TLC0x1Mask register 2 TLCL counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

3M2TXC0x1Mask register 2 TXCL counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

2M2TNC0x1Mask register 2 TNCL counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

1M2TPH0x1Mask register 2 TPFH counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

0M2TDP0x1Mask register 2 TDRP counter carry bit

0: Unmask the counter carry bit

1: Mask the counter carry bit

Table 10-106. SGMII CONTROL
Bit NumberNameReset

Value

Description
15PHY RESET0x0Setting this bit causes the PETEX, PEREX, and PEANX sub-modules in the M-SGMII core to be reset. This bit is self-clearing.
14LOOP BACK0x0Setting this bit causes the M-SGMII loopback. Clearing this bit results in normal operation.
13Reserved0x0Reserved
12AUTO-NEGOTIATION ENABLE0x0Setting this bit enables the auto-negotiation process.
[11:10]Reserved0x0Reserved
9RESET AUTO-NEGOTIATION0x0Setting this bit causes the auto-negotiation process to restart. This action is only available when auto-negotiation has been enabled.
[8:0]Reserved0x0Reserved
Table 10-107. SGMII STATUS
Bit NumberNameReset

Value

Description
[15:9]Reserved0x0Reserved
8EXTENDED STATUS0x0This bit returns “1” on read to indicate that the PHY status information is also contained in EXTENDED STATUS register.
7Reserved0x0Reserved
6MF PREMABLE SUPPRESSION ENABLE0x0This bit indicates whether the PHY is capable of handling MII management frames without the 32-bit preamble field.

Returns “1” on read to indicate the support for suppressed preamble MII management frames.

5AUTO-NEGOTIATION COMPLETE0x0This bit indicates that the auto-negotiation process is completed. Returns “0” on read when either the auto-negotiation process is underway or when the auto-negotiation function is disabled.
4REMOTE FAULT0x0This bit returns “1” on read to indicate a remote fault condition has been detected between the M-SGMII and the PHY. This bit latches high in order for software to detect the condition. Each read of the STATUS register clears this bit.
3AUTO-NEGOTIATION ABILITY0x0When “1”, this bit indicates that the M-SGMII has the ability to perform auto-negotiation. Returns “1” on read.
2LINK STATUSThis bit indicates that a valid link is established between the 
M-SGMII and the PHY.

Returns “0” on read to indicate that there is no valid link is established. This bit latches low to allow software polling to detect a failure condition.

1Reserved0x0Reserved
0EXTENDED CAPABILITY0x1This bit returns “1” on read to indicates that the M-SGMII contains the extended set of registers (those beyond CONTROL and STATUS).
Table 10-108. AN SGMII ADVERTISEMENT
Bit NumberNameReset ValueDescription
15LINK UP0x0Assertion of this bit indicates that the link between M-SGMII and PHY is up.
[14:13]Reserved0x0Reserved
12FULL DUPLEX0x0Assertion of this bit indicates that the link between M-SGMII and PHY is up and transferring data in full-duplex mode.
[11:10]LINK SPEED0x0Assertion of these two bits indicate that the link between M-SGMII and PHY is up. The following table shows the speed at which the link is transferring data:
LINK SPEED [11]LINK SPEED [10]Capability
11Reserved
101000 Mbps
01100 Mbps
0010 Mbps
[9:0]Reserved0x0These bits must always be written ‘0000000001’ for correct M-SGMII operation.
Table 10-109. AN LINK PARTNER BASE PAGE ABILITY
Bit NumberNameReset ValueDescription
15LINK UP0x0When the M-SGMII is integrated to a MAC, such as the PE-MCXMAC, and is communicating with another SGMII PHY module, assertion of this bit indicates that the link is up. When the M-SGMII is integrated to a PHY and is not integrated to MAC, this bit is invalid.
[14:13]Reserved0x0Reserved
12FULL DUPLEX0x0Assertion of this bit indicates that LINK UP bit of the AN SGMII partner base page ability register is asserted and the link is transfers data in full-duplex mode.
[11:10]LINK SPEED0x0Indicates the speed of the link as mentioned in the following table when LINK UP bit of the AN SGMII partner base page ability register is asserted.
LINK SPEED [11]LINK SPEED [10]Capability
11Reserved
101000 Mbps
01100 Mbps
0010 Mbps
[9:0]Reserved0x0Reserved
Table 10-110. AN EXPANSION
Bit NumberNameReset ValueDescription
[15:3]Reserved0x0Reserved
2NEXT PAGE ABLE0x0Returns “1” on read to indicate that the local device supports the next page function.
1PAGE RECEIVED0x0Returns “1” on read to indicate that a new page has been received and stored in the applicable Table 10-109 or Table 10-111 register. This bit latches High for detection by software when polling. The bit is cleared on a read to the register.
0Reserved0x0Reserved
Table 10-111. AN NEXT PAGE TRANSMIT
Bit NumberNameReset ValueDescription
15NEXT PAGE0x0Assert this bit to indicate additional Next Pages to follow. Clear the bit to indicate the last page.
14Reserved0x0Reserved
13MESSAGE PAGE0x0Assert this bit to indicate a Message Page. Clear the bit to indicate an Unformatted Page.
12ACKNOWLEDGE 20x0Used by the Next Page function to indicate that the device has the ability to comply with the message. Assert this bit if the local device will comply with the message. Clear the bit if the local device cannot comply with message.
11TOGGLE0x0This bit is read only. Used to ensure synchronization with the Link Partner during Next Page exchange. This bit always takes the opposite value to the toggle bit of the previously exchanged Link Code Word. The initial value in the first Next Page transmitted is the inverse of bit 11 in the base Link Code Word.
[10:0]MESSAGE / UNFORMATTED CODE FIELD0x0Message pages are formatted pages that carry a predefined Message Code, which is enumerated in IEEE 802.3u/Annex 28C.

Unformatted code fields take an arbitrary value.

Table 10-112. AN NEXT PAGE TRANSMIT
Bit NumberNameReset ValueDescription
15NEXT PAGEThe link partner asserts this bit to indicate additional Next Pages to follow. When “0”, indicates last Next Page from link partner.
14ReservedReserved
13MESSAGE PAGEWhen “1”, indicates Message Page. When “0”, indicates Unformatted Page.
12ACKNOWLEDGE 2Indicates link partner’s ability to comply with the message.

When “1”, link partner complies with message. When “0”, link partner cannot comply with message.

11TOGGLEUsed to ensure synchronization with the link partner during next page exchange. This bit always takes the opposite value to the toggle bit of the previously exchanged link code word. The initial value in the first next page transmitted is the inverse of bit 11 in the base link code word.
[10:0]MESSAGE / UNFORMATTED CODE FIELDMessage pages are formatted pages that carry a predefined message code, which is enumerated in the IEEE 802.3u/Annex 28C.

Unformatted code fields take an arbitrary value.

Table 10-113. EXTENDED STATUS
Bit NumberNameReset ValueDescription
151000BASE-X FULL-DUPLEX0x1When “1”, indicates that the PHY can operate in 1000BASE-X 
full-duplex mode. When “0”, indicates that the PHY cannot operate in 1000BASE-X full-duplex mode.
141000BASE-X HALF-DUPLEX0x0When “1”, indicates that the PHY can operate in 1000BASE-X 
half-duplex mode. When “0”, indicates that the PHY cannot operate in 1000BASE-X half-duplex mode.
131000BASE-T FULL-DUPLEX0x1When “1”, indicates that the PHY can operate in 1000BASE-T 
full-duplex mode. When “0”, indicates that the PHY cannot operate in 1000BASE-T full-duplex mode. Returns “1” on read.
121000BASE-T HALF-DUPLEX0x0When “1”, indicates that the PHY can operate in 1000BASE-T 
half-duplex mode. When “0”, indicates PHY cannot operate in 1000BASE-T half-duplex mode.
[11:0]Reserved0x0Reserved
Table 10-114. JITTER DIAGNOSTICS
Bit NumberNameReset ValueDescription
15JITTER DIAGNOSTIC ENABLE0x0Set this bit to enable the M-SGMII to transmit the jitter test patterns defined in IEEE 802.3z 36A. Clear this bit to enable normal transmit operation.
[14:12]JITTER PATTERN SELECT0x0Selects the jitter pattern to be transmitted in Diagnostics mode. Encoding of this field is as follows:
Jitter Pattern SelectBit 14Bit 13Bit 12
User defined custom pattern000
Annex 36A defined high frequency001
Annex 36A defined mixed frequency010
Custom defined low frequency011
Random jitter pattern100
Annex 36A defined low frequency101
Reserved110
Reserved111
[11:10]Reserved0x0Reserved
[9:0]CUSTOM JITTER PATTERN0x0Used in conjunction with JITTER PATTERN SELECT and JITTER DIAGNOSTIC ENABLE. Set this field to the desired custom pattern, which is transmitted continuously.
Table 10-115. TBI CONTROL
Bit NumberNameReset ValueDescription
15SOFT RESET0x0This bit resets the functional modules in the M-SGMII. Clear it for normal operation. Its default is “0”.
14SHORTCUT LINK TIMER0x0Set this bit to reduce the amount of simulation time needed to

time the 1.6 ms Link Timer. Clear it for normal operation.

13DISABLE RECEIVE RUNNING DISPARITY0x0Set this bit to disable the running disparity calculation and checking in the receive direction. This bit must be “0” for correct 
M-SGMII operation.
12DISABLE TRANSMIT RUNNING DISPARITY0x0Set this bit to disable the running disparity calculation and checking in the transmit direction. This bit must be “0” for correct M-SGMI operation.
[11:9]Reserved0x0Reserved
8AUTO-NEGOTIATION SENSE0x0Set this bit to allow the auto-negotiation for 1000BASE-X, which is used to exchange information between link partners.

Clear this bit when IEEE 802.3z Clause 37 behavior is desired, which results in the link not coming up.

[7:6]Reserved0x0Reserved
5RECEIVE CLOCK SELECT0x0Set this bit to configure the M-SGMII to accept a 125 MHz receive clock from the SerDes PHY.

Clear this bit to allow the M-SGMII to accept dual split-phase 62.5 MHz receive clocks. This bit must be “0” for correct M-SGMII operation.

4GMII MODE0x0When cleared, this bit defines the M-SGMII as being in 1000BASE-X SerDes mode. This bit must be “0” for correct 
M-SGMII operation.
[3:2]Reserved0x0Reserved
1ENABLE WRAP0x0Set this bit to configure the SerDes in Loopback mode. Clear this bit to permit normal operation.
0ENABLE COMMA DETECT0x0Set this bit to allow the SerDes PHY to perform code group alignment based upon the detection of a comma.