SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
Address Offset | 0x0000 0000 | ||
Physical Address | 0x4848 4D80 0x4848 4DC0 | Instance | SL1 SL2 |
Description | CPGMAC_SL revision register | ||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
REVISION |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:0 | REVISION | CPGMAC_SL revision Value | R | 0x- |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0004 | ||
Physical Address | 0x4848 4D84 0x4848 4DC4 | Instance | SL1 SL2 |
Description | CPGMAC_SL MAC control register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RX_CMF_EN | RX_CSF_EN | RX_CEF_EN | TX_SHORT_GAP_LIM_EN | RESERVED | EXT_EN | GIG_FORCE | IFCTL_B | IFCTL_A | RESERVED | CMD_IDLE | TX_SHORT_GAP_EN | RESERVED | GIG | TX_PACE | GMII_EN | TX_FLOW_EN | RX_FLOW_EN | MTEST | LOOPBACK | FULLDUPLEX |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:25 | RESERVED | R | 0x0 | |
24 | RX_CMF_EN | RX Copy MAC Control Frames Enable - Enables MAC control frames to be transferred to memory. MAC control frames are normally acted upon (if enabled), but not copied to memory. MAC control frames that are pause frames will be acted upon if enabled in the SL_MACCONTROL register, regardless of the value of RX_CMF_EN. Frames transferred to memory due to RX_CMF_EN will have the control bit set in their EOP buffer descriptor. 0 - MAC control frames are filtered (but acted upon if enabled). 1 - MAC control frames are transferred to memory. | RW | 0x0 |
23 | RX_CSF_EN | RX Copy Short Frames Enable - Enables frames or fragments shorter than 64 bytes to be copied to memory. Frames transferred to memory due to RX_CSF_EN will have the fragment or undersized bit set in their receive footer. Fragments are short frames that contain CRC/align/code errors and undersized are short frames without errors. 0 - Short frames are filtered 1 - Short frames are transferred to memory. | RW | 0x0 |
22 | RX_CEF_EN | RX Copy Error Frames Enable - Enables frames containing errors to be transferred to memory. The appropriate error bit will be set in the frame receive footer. Frames containing errors will be filtered when RX_CEF _EN is not set. 0 - Frames containing errors are filtered. 1 - Frames containing errors are transferred to memory. | RW | 0x0 |
21 | TX_SHORT_GAP_LIM_EN | Transmit Short Gap Limit Enable When set this bit limits the number of short gap packets transmitted to 100ppm. Each time a short gap packet is sent, a counter is loaded with 10,000 and decremented on each wireside clock. Another short gap packet will not be sent out until the counter decrements to zero. This mode is included to preclude the host from filling up the FIFO and sending every packet out with short gap which would violate the maximum number of packets per second allowed. | RW | 0x0 |
20:19 | RESERVED | R | 0x0 | |
18 | EXT_EN | Control Enable - Enables the fullduplex and gigabit mode to be selected from the FULLDUPLEX_IN and GIG_IN input signals and not from the FULLDUPLEX and GIG bits in this register. The FULLDUPLEX_MODE bit reflects the actual fullduplex mode selected 0 - Use this setting for RMII/GMII mode . 1 - Use this setting for RGMII mode | RW | 0x0 |
17 | GIG_FORCE | Gigabit Mode Force - This bit is used to force the CPGMAC_SL into gigabit mode if the input GMII_MTCLK has been stopped by the PHY. | RW | 0x0 |
16 | IFCTL_B | Interface Control B (NOT FUNCTIONAL) 0 - 10Mbps operation 1 - 100Mbps operation | RW | 0x0 |
15 | IFCTL_A | Interface Control A 0 - 10Mbps operation 1 - 100Mbps operation | RW | 0x0 |
14:12 | RESERVED | R | 0x0 | |
11 | CMD_IDLE | Command Idle 0 - Idle not commanded 1 - Idle Commanded (read IDLE in SL_MACSTATUS) | RW | 0x0 |
10 | TX_SHORT_GAP_EN | Transmit Short Gap Enable 0 - Transmit with a short IPG is disabled 1 - Transmit with a short IPG (when TX_SHORT_GAP input is asserted) is enabled. | RW | 0x0 |
9:8 | RESERVED | R | 0x0 | |
7 | GIG | Gigabit Mode - 0 - 10/100 mode 1 - Gigabit mode (full duplex only) The GIG_OUT output is the value of this bit. | RW | 0x0 |
6 | TX_PACE | Transmit Pacing Enable 0 - Transmit Pacing Disabled 1 - Transmit Pacing Enabled | RW | 0x0 |
5 | GMII_EN | GMII Enable - 0 - GMII RX and TX held in reset. 1 - GMII RX and TX released from reset. | RW | 0x0 |
4 | TX_FLOW_EN | Transmit Flow Control Enable - Determines if incoming pause frames are acted upon in full-duplex mode. Incoming pause frames are not acted upon in half-duplex mode regardless of this bit setting. The RX_MBP_Enable bits determine whether or not received pause frames are transferred to memory. 0 - Transmit Flow Control Disabled. Full-duplex mode - Incoming pause frames are not acted upon. 1 - Transmit Flow Control Enabled . Full-duplex mode - Incoming pause frames are acted upon. | RW | 0x0 |
3 | RX_FLOW_EN | Receive Flow Control Enable - 0 - Receive Flow Control Disabled Half-duplex mode - No flow control generated collisions are sent. Full-duplex mode - No outgoing pause frames are sent. 1 - Receive Flow Control Enabled Half-duplex mode - Collisions are initiated when receive flow control is triggered. Full-duplex mode - Outgoing pause frames are sent when receive flow control is triggered. | RW | 0x0 |
2 | MTEST | Manufacturing Test mode - This bit must be set to allow writes to the SL_BOFFTEST and SL_RX_PAUSE/SL_TX_PAUSE registers. | RW | 0x0 |
1 | LOOPBACK | Loop Back Mode - Loopback mode forces internal fullduplex mode regardless of whether the FULLDUPLEX bit is set or not. The LOOPBACK bit should be changed only when GMII_EN is deasserted. 0 - Not looped back 1 - Loop Back Mode enabled | RW | 0x0 |
0 | FULLDUPLEX | Full Duplex mode - Gigabit mode forces fullduplex mode regardless of whether the FULLDUPLEX bit is set or not. The FULLDUPLEX_OUT output is the value of this register bit 0 - half duplex mode 1 - full duplex mode | RW | 0x0 |
Address Offset | 0x0000 0008 | ||
Physical Address | 0x4848 4D88 0x4848 4DC8 | Instance | SL1 SL2 |
Description | CPGMAC_SL MAC status register | ||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
IDLE | RESERVED | EXT_GIG | EXT_FULLDUPLEX | RESERVED | RX_FLOW_ACT | TX_FLOW_ACT |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | IDLE | CPGMAC_SL IDLE - The CPGMAC_SL is in the idle state (valid after an idle command) 0 - The CPGMAC_SL is not in the idle state. 1 - The CPGMAC_SL is in the idle state. | R | 0x1 |
30:5 | RESERVED | R | 0x0 | |
4 | EXT_GIG | External GIG - This is the value of the EXT_GIG input bit. | R | 0x0 |
3 | EXT_FULLDUPLEX | External Fullduplex - This is the value of the EXT_FULLDUPLEX input bit. | R | 0x0 |
2 | RESERVED | R | 0x0 | |
1 | RX_FLOW_ACT | Receive Flow Control Active - When asserted, indicates that receive flow control is enabled and triggered. | R | 0x0 |
0 | TX_FLOW_ACT | Transmit Flow Control Active - When asserted, this bit indicates that the pause time period is being observed for a received pause frame. No new transmissions will begin while this bit is asserted except for the transmission of pause frames. Any transmission in progress when this bit is asserted will complete. | R | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 000C | ||
Physical Address | 0x4848 4D8C 0x4848 4DCC | Instance | SL1 SL2 |
Description | CPGMAC_SL soft reset register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | SOFT_RESET |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:1 | RESERVED | R | 0x0 | |
0 | SOFT_RESET | Software reset - Writing a one to this bit causes the CPGMAC_SL logic to be reset. After writing a one to this bit, it may be polled to determine if the reset has occurred. If a one is read, the reset has not yet occurred. If a zero is read then reset has occurred. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0010 | ||
Physical Address | 0x4848 4D90 0x4848 4DD0 | Instance | SL1 SL2 |
Description | CPGMAC_SL RX Maximum length register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RX_MAXLEN |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:14 | RESERVED | R | 0x0 | |
13:0 | RX_MAXLEN | RX Maximum Frame Length - This field determines the maximum length of a received frame. The reset value is 1518 (dec). Frames with byte counts greater than rx_maxlen are long frames. Long frames with no errors are oversized frames. Long frames with CRC, code, or alignment error are jabber frames. The maximum value is 16,383. | RW | 0x5EE |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0014 | ||
Physical Address | 0x4848 4D94 0x4848 4DD4 | Instance | SL1 SL2 |
Description | CPGMAC_SL backoff test register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PACEVAL | RNDNUM | COLL_COUNT | RESERVED | TX_BACKOFF |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:26 | PACEVAL | Pacing Register Current Value. A non-zero value in this field indicates that transmit pacing is active. A transmit frame collision or deferral causes PACEVAL to loaded with decimal 31, good frame transmissions (with no collisions or deferrals) cause PACEVAL to be decremented down to zero. When PACEVAL is nonzero, the transmitter delays 4 IPGs between new frame transmissions after each successfully transmitted frame that had no deferrals or collisions. Transmit pacing helps reduce 'capture' effects improving overall network bandwidth. | RW | 0x0 |
25:16 | RNDNUM | Backoff Random Number Generator - This field allows the Backoff Random Number Generator to be read (or written in test mode only). This field can be written only when mtest has previously been set. Reading this field returns the generator's current value. The value is reset to zero and begins counting on the clock after the deassertion of reset. | RW | 0x0 |
15:12 | COLL_COUNT | Collision Count - The number of collisions the current frame has experienced. | R | 0x0 |
11:10 | RESERVED | R | 0x0 | |
9:0 | TX_BACKOFF | Backoff Count - This field allows the current value of the backoff counter to be observed for test purposes. This field is loaded automatically according to the backoff algorithm, and is decremented by one for each slot time after the collision. | R | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0018 | ||
Physical Address | 0x4848 4D98 0x4848 4DD8 | Instance | SL1 SL2 |
Description | CPGMAC_SL receive pause timer register | ||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RX_PAUSETIMER |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:16 | RESERVED | R | 0x0 | |
15:0 | RX_PAUSETIMER | RX Pause Timer Value - This field allows the contents of the receive pause timer to be observed (and written in test mode). The receive pause timer is loaded with 0xFF00 when the CPGMAC_SL sends an outgoing pause frame (with pause time of 0xFFFF). The receive pause timer is decremented at slot time intervals. If the receive pause timer decrements to zero, then another outgoing pause frame will be sent and the load/decrement process will be repeated. | R | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 001C | ||
Physical Address | 0x4848 4D9C 0x4848 4DDC | Instance | SL1 SL2 |
Description | CPGMAC_SL transmit pause timer register | ||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | TX_PAUSETIMER |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:16 | RESERVED | R | 0x0 | |
15:0 | TX_PAUSETIMER | TX Pause Timer Value - This field allows the contents of the transmit pause timer to be observed (and written in test mode). The transmit pause timer is loaded by a received (incoming) pause frame, and then decremented, at slottime intervals, down to zero at which time CPGMAC_SL transmit frames are again enabled. | R | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0020 | ||
Physical Address | 0x4848 4DA0 0x4848 4DE0 | Instance | SL1 SL2 |
Description | CPGMAC_SL emulation control register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | SOFT | FREE |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:2 | RESERVED | R | 0x0 | |
1 | SOFT | Emulation Soft Bit. Emulation soft bit. This bit is used in conjunction with FREE bit to determine the emulation suspend mode. This bit has no effect if FREE = 1. | RW | 0x0 |
0 | FREE | Emulation Free Bit. Emulation free bit. This bit is used in conjunction with SOFT bit to determine the emulation suspend mode. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0024 | ||
Physical Address | 0x4848 4DA4 0x4848 4DE4 | Instance | SL1 SL2 |
Description | CPGMAC_SL RX packet priority to header priority mapping register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI7 | RESERVED | PRI6 | RESERVED | PRI5 | RESERVED | PRI4 | RESERVED | PRI3 | RESERVED | PRI2 | RESERVED | PRI1 | RESERVED | PRI0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI7 | Priority 7 - A packet priority of 0x7 is mapped (changed) to this value. | RW | 0x7 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI6 | Priority 6 - A packet priority of 0x6 is mapped (changed) to this value. | RW | 0x6 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI5 | Priority 5 - A packet priority of 0x5 is mapped (changed) to this value. | RW | 0x5 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI4 | Priority 4 - A packet priority of 0x4 is mapped (changed) to this value. | RW | 0x4 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI3 | Priority 3 - A packet priority of 0x3 is mapped (changed) to this value. | RW | 0x3 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI2 | Priority 2 - A packet priority of 0x2 is mapped (changed) to this value. | RW | 0x2 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI1 | Priority 1 - A packet priority of 0x1 is mapped (changed) to this value. | RW | 0x1 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI0 | Priority 0 - A packet priority of 0x0 is mapped (changed) to this value. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0028 | ||
Physical Address | 0x4848 4DA8 0x4848 4DE8 | Instance | SL1 SL2 |
Description | Transmit inter-packet gap register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | TX_GAP |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:9 | RESERVED | R | 0x0 | |
8:0 | TX_GAP | Transmit Inter-Packet Gap | RW | 0xC |
Gigabit Ethernet Switch (GMAC_SW) |