EQOS_MTL Registers (Edit Done)
Ethernet GMAC has the following EQOS_MTL registers.
MTL_Operation_Mode
- Description: The Operation Mode register establishes the Transmit and Receive operating modes and commands.
- Size: 32 bits
- Offset: 0xc00
Bits | Name | Memory Access | Description |
---|---|---|---|
31:16 | Reserved_31_16 | R | Reserved. |
15 | FRPE | R/W | Flexible Rx Parser Enabled
When the Rx parser is disabled when parsing is in progress, the Rx parser is disabled only after the current packet parsing complete. When the Rx parser is enabled, the parser gets activated for the next packet. Values:
|
14 | RXPED | R/W | Rx Parser Software Error/Incomplete Parsing Packet Drop
Enabled When this bit is set to 0, packets encountering software programming errors (NPE/NVE/frame offset overflow errors) or incomplete parsing are forwarded to application with the corresponding Rx Parser status. When this bit is set to 1, backward compatibility is maintained where all the specified packets are dropped (when RA is not set) Values:
|
13:10 | Reserved_13_10 | R | Reserved. |
9 | CNTCLR | R/W | Counters Reset When this bit is set, all counters are reset. This bit is cleared automatically after 1 clock cycle. If this bit is set along with CNT_PRESET bit, CNT_PRESET has precedence. Access restriction applies. Setting 1 sets. Self-cleared. Setting 0 has no effect. Values:
|
8 | CNTPRST | R/W | Counters Preset When this bit is set:
Access restriction applies. Setting 1 sets. Self-cleared. Setting 0 has no effect. Values:
|
7 | Reserved_7 | R | Reserved. |
6:5 | SCHALG | R/W | Tx Scheduling Algorithm This field indicates the algorithm for Tx scheduling: Values:
|
4:3 | Reserved_4_3 | R | Reserved. |
2 | RAA | R/W | Receive Arbitration Algorithm This field is used to select the arbitration algorithm for the Rx side.
Values:
|
1 | DTXSTS | R/W | Drop Transmit Status
Values:
|
0 | Reserved_0 | R | Reserved. |
MTL_DBG_CTL
- Description: The FIFO Debug Access Control and Status register controls the operation mode of FIFO debug access.
- Size: 32 bits
- Offset: 0xc08
Bits | Name | Memory Access | Description |
---|---|---|---|
31:19 | Reserved_31_19 | R |
Reserved. |
18 | EIEC | R/W | ECC Inject Error Control for Tx, Rx, TSO and DCACHE
memories When EIEE or EIAEE bit of this register is set, the following are the errors inserted based on the value encoded in this field. Values:
|
17 | EIAEE | R/W | ECC Inject Address Error for Tx, Rx, TSO and DCACHE
memories
Values:
|
16 | EIEE | R/W | ECC Inject Error Enable for Tx, Rx, TSO and DCACHE
Memories
Values:
|
15 | STSIE | R/W | Transmit Status Available Interrupt Status Enabled When this bit is set, an interrupt is generated when Transmit status is available in slave mode. Values:
|
14 | PKTIE | R/W | Receive Packet Available Interrupt Status Enable When this bit is set, an interrupt is generated when EOP of the received packet is written to the Rx FIFO. Values:
|
13:12 | FIFOSEL | R/W | FIFO Selected for Access This field indicates the FIFO selected for debug access. Values:
|
11 | FIFOWREN | R/W | FIFO Write Enabled When this bit is set, it enables the Write operation on selected FIFO when FIFO Debug Access is enabled. This bit must not be written to 1 when FIFO Debug Access is not enabled, that is FDBGEN bit is 0. Access restriction applies. Self-cleared. Setting 0 clears. Setting 1 sets. Values:
|
10 | FIFORDEN | R/W | FIFO Read Enabled When this bit is set, it enables the Read operation on selected FIFO when FIFO Debug Access is enabled. This bit must not be written to 1 when FIFO Debug Access is not enabled, that is FDBGEN bit is 0. Access restriction applies. Self-cleared. Setting 0 clears. Setting 1 sets. Values:
|
9 | RSTSEL | R/W | Reset Pointers of Selected FIFO When this bit is set,the pointers of the currently-selected FIFO are reset when FIFO Debug Access is enabled. This bit must not be written to 1 when FIFO Debug Access is not enabled, that is FDBGEN bit is 0. Access restriction applies. Self-cleared. Setting 0 clears. Setting 1 sets. Values:
|
8 | RSTALL | R/W | Reset All Pointers When this bit is set, the pointers of all FIFOs are reset when FIFO Debug Access is enabled. This bit must not be written to 1 when FIFO Debug Access is not enabled, that is FDBGEN bit is 0. Access restriction applies. Self-cleared. Setting 0 clears. Setting 1 sets. Values:
|
7 | Reserved_7 | R | Reserved. |
6:5 | PKTSTATE | R/W | Encoded Packet State This field is used to write the control information to the Tx FIFO or Rx FIFO.
Values:
|
4 | Reserved_4 | R | Reserved. |
3:2 | BYTEEN | R/W | Byte Enables This field indicates the number of data bytes valid in the data register during Write operation. This is valid only when PKTSTATE is 2'b10 (EOP) and Tx FIFO or Rx FIFO is selected. Values:
|
1 | DBGMOD | R/W | Debug Mode Access to FIFO
Values:
|
0 | FDBGEN | R/W |
FIFO Debug Access Enabled
Values:
|
MTL_DBG_STS
- Description: The FIFO Debug Status register contains the status of FIFO debug access.
- Size: 32 bits
- Offset: 0xc0c
Bits | Name | Memory Access | Description |
---|---|---|---|
31:15 | LOCR | R | Remaining Locations in the FIFO
|
14:10 | Reserved_14_10 | R | Reserved. |
9 | STSI | R/W | Transmit Status Available Interrupt Status When set, this bit indicates that the Slave mode Tx packet is transmitted, and the status is available in Tx Status FIFO. This bit is reset when 1 is written to this bit. Values:
|
8 | PKTI | R/W | Receive Packet Available Interrupt Status When set, this bit indicates that MAC layer has written the EOP of the received packet to the Rx FIFO. This bit is reset when 1 is written to this bit. Values:
|
7:5 | Reserved_7_5 | R | Reserved. |
4:3 | BYTEEN | R | Byte Enables This field indicates the number of data bytes valid in the data register during Read operation. This is valid only when PKTSTATE is 2'b10 (EOP) and Tx FIFO or Rx FIFO is selected. Values:
|
2:1 | PKTSTATE | R | Encoded Packet State This field is used to get the control or status information of the selected FIFO.
This field is applicable only for Tx FIFO and Rx FIFO during Read operation. Values:
|
0 | FIFOBUSY | R | FIFO Busy When set, this bit indicates that a FIFO operation is in progress in the MAC and content of the following fields is not valid:
Values:
|
MTL_FIFO_Debug_Data
- Description: The FIFO Debug Data register contains the data to be written to or read from the FIFOs.
- Size: 32 bits
- Offset: 0xc10
Bits | Name | Memory Access | Description |
---|---|---|---|
31:0 | FDBGDATA | R/W | FIFO Debug Data During debug or slave access write operation, this field contains the data to be written to the Tx FIFO, Rx FIFO, or TSO FIFO. During debug or slave access read operation, this field contains the data read from the Tx FIFO, Rx FIFO, TSO FIFO, or Tx Status FIFO. |
MTL_Interrupt_Status
- Description: The software driver (application) reads this register during interrupt service routine or polling to determine the interrupt status of MTL queues and the MAC.
- Size: 32 bits
- Offset: 0xc20
Bits | Name | Memory Access | Description |
---|---|---|---|
31:24 | Reserved_31_24 | R | Reserved. |
23 | MTLPIS | R | MTL Rx Parser Interrupt Status This bit indicates that there is an interrupt from Rx Parser Block. To reset this bit, the application must read the MTL_ Rxp_Interrupt_Status register to get the exact cause of the interrupt and clear its source. Values:
|
22:19 | Reserved_22_19 | R | Reserved. |
18 | ESTIS | R | EST(TAS- 802.1Qbv) Interrupt Status This bit indicates an interrupt event during the operation of 802.1Qbv. To reset this bit, the application must clear the error/event that has caused the Interrupt. Values:
|
17 | DBGIS | R | Debug Interrupt status This bit indicates an interrupt event during the slave access. To reset this bit, the application must read the FIFO Debug Access Status register to get the exact cause of the interrupt and clear its source. Values:
|
16 | MACIS | R | MAC Interrupt Status This bit indicates an interrupt event in the MAC. To reset this bit, the application must read the corresponding register in the MAC to get the exact cause of the interrupt and clear its source. Values:
|
15:8 | Reserved_15_8 | R | Reserved. |
7 | Q7IS | R | Queue 7 Interrupt Status This bit indicates that there is an interrupt from Queue 7. To reset this bit, the application must read the MTL_Q7_Interrupt_Control_Status Status register to get the exact cause of the interrupt and clear its source. Values:
|
6 | Q6IS | R | Queue 6 Interrupt Status This bit indicates that there is an interrupt from Queue 6. To reset this bit, the application must read the MTL_Q6_Interrupt_Control_Status register to get the exact cause of the interrupt and clear its source. Values:
|
5 | Q5IS | R | Queue 5 Interrupt Status This bit indicates that there is an interrupt from Queue 5. To reset this bit, the application must read the MTL_Q5_Interrupt_Control_Status register to get the exact cause of the interrupt and clear its source. Values:
|
4 | Q4IS | R | Queue 4 Interrupt Status This bit indicates that there is an interrupt from Queue 4. To reset this bit, the application must read the MTL_Q4_Interrupt_Control_Status register to get the exact cause of the interrupt and clear its source. Values:
|
3 | Q3IS | R | Queue 3 Interrupt Status This bit indicates that there is an interrupt from Queue 3. To reset this bit, the application must read the MTL_Q3_Interrupt_Control_Status register to get the exact cause of the interrupt and clear its source. Values:
|
2 | Q2IS | R | Queue 2 Interrupt Status This bit indicates that there is an interrupt from Queue 2. To reset this bit, the application must read the MTL_Q2_Interrupt_Control_Status register to get the exact cause of the interrupt and clear its source. Values:
|
1 | Q1IS | R | Queue 1Interrupt Status This bit indicates that there is an interrupt from Queue 1. To reset this bit, the application must read the MTL_Q1_Interrupt_Control_Status register to get the exact cause of the interrupt and clear its source. Values:
|
0 | Q0IS | R | Queue 0Interrupt status This bit indicates that there is an interrupt from Queue 0. To reset this bit, the application must read Queue 0 Interrupt Control and Status register to get the exact cause of the interrupt and clear its source. Values:
|
MTL_RxQ_DMA_Map0
- Description: The Receive Queue and DMA Channel Mapping 0 register is reserved in EQOS-CORE and EQOS-MTL configurations.
- Size: 32 bits
- Offset: 0xc30
Bits | Name | Memory Access | Description |
---|---|---|---|
31:29 | Reserved_31_29 | R | Reserved. |
28 | Q3DDMACH | R/W | Queue 3 Enabled for Dynamic (per packet) DMA Channel
Selection When set, this bit indicates that the packets received in Queue 3 are routed to a particular DMA channel as decided in the MAC Receiver based on the DMA channel number programmed in the L3-L4 filter registers, or the Ethernet DA address. When reset, this bit indicates that the packets received in Queue 3 are routed to the DMA Channel programmed in the Q3MDMACH field (Bits[26:24]). Values:
|
27:y | Reserved_27_y | R | Reserved. |
n:24 | Q3MDMACH | R/W | Queue 3 Mapped to DMA Channel This field controls the routing of the received packet in Queue 3 to the DMA channel:
This field is valid when the Q3DDMACH field is reset. Note: The width of this
field depends on the number of RX DMA channels and not all
the values might be valid in some configurations. For
example, if the number of RX DMA channels selected is 2,
only 000 and 001 are valid, the others are
reserved. |
23:21 | Reserved_23_21 | R | Reserved. |
20 | Q2DDMACH | R/W | Queue 2 Enabled for DA-based DMA Channel Selection When set, this bit indicates that the packets received in Queue 2 are routed to a particular DMA channel as decided in the MAC Receiver based on the DMA channel number programmed in the L3-L4 filter registers, or the Ethernet DA address. When reset, this bit indicates that the packets received in Queue 2 are routed to the DMA Channel programmed in the Q2MDMACH field (Bits[18:16]). Values:
|
19:y | Reserved_19_y | R | Reserved. |
x:16 | Q2MDMACH | R/W | Queue 2 Mapped to DMA Channel This field controls the routing of the received packet in Queue 2 to the DMA channel:
This field is valid when the Q2DDMACH field is reset. |
15:13 | Reserved_15_13 | R | Reserved. |
12 | Q1DDMACH | R/W | Queue 1 Enabled for DA-based DMA Channel Selection When set, this bit indicates that the packets received in Queue 1 are routed to a particular DMA channel as decided in the MAC Receiver based on the DMA channel number programmed in the L3-L4 filter registers, or the Ethernet DA address. When reset, this bit indicates that the packets received in Queue 1 are routed to the DMA Channel programmed in the Q1MDMACH field (Bits[10:8]). Values:
|
11:y | Reserved_11_y | R | Reserved. |
x:8 | Q1MDMACH | R/W | Queue 1 Mapped to DMA Channel This field controls the routing of the received packet in Queue 1 to the DMA channel:
This field is valid when the Q1DDMACH field is reset. The width of this field depends on the number of RX DMA channels and not all the values might be valid in some configurations. For example, if the number of RX DMA channels selected is2, only 000 and 001 are valid, the other bits are reserved. |
7:5 | Reserved_7_5 | R | Reserved. |
4 | Q0DDMACH | R/W | Queue 0 Enabled for DA-based DMA Channel Selection When set, this bit indicates that the packets received in Queue 0 are routed to a particular DMA channel as decided in the MAC Receiver based on the DMA channel number programmed in the L3-L4 filter registers, or the Ethernet DA address. When reset, this bit indicates that the packets received in Queue 0 are routed to the DMA Channel programmed in the Q0MDMACH field. Values:
|
3:y | Reserved_3_y | R | Reserved. |
x:0 | Q0MDMACH | R/W | Queue 0 Mapped to DMA Channel This field controls the routing of the packet received in Queue 0 to the DMA channel:
This field is valid when the Q0DDMACH field is reset. The width of this field depends on the number of RX DMA channels and not all the values might be valid in some configurations. For example, if the number of RX DMA channels selected is 2, only 000 and 001 are valid, the other bits are reserved. |
MTL_RxQ_DMA_Map1
- Description: The Receive Queue and DMA Channel Mapping 1 register is reserved in EQOS-CORE and EQOS-MTL configurations.
- Size: 32 bits
- Offset: 0xc34
- Exists: (DWC_EQOS_SYS>1&&DWC_EQOS_RX_Q4_EN&&DWC_EQOS_NUM_DMA_RX_CH>1)
Bits | Name | Memory Access | Description |
---|---|---|---|
31:29 | Reserved_31_29 | R | Reserved. |
28 | Q7DDMACH | R/W | Queue 7 Enabled for DA-based DMA Channel Selection When set, this bit indicates that the packets received in Queue 7 are routed to a particular DMA channel as decided in the MAC Receiver based on the DMA channel number programmed in the L3-L4 filter registers, or the Ethernet DA address. When reset, this bit indicates that the packets received in Queue 7 are routed to the DMA Channel programmed in the Q7MDMACH field. Values:
|
27:y | Reserved_27_y | R | Reserved. |
x:24 | Q7MDMACH | R/W | Queue 7 Mapped to DMA Channel This field controls the routing of the packet received in Queue 7 to the DMA channel:
This field is valid when the Q7DDMACH field is reset. The width of this field depends on the number of RX DMA channels and not all the values might be valid in some configurations. For example, if the number of RX DMA channels selected is 2, only 000 and 001 are valid, the other bits are reserved. |
23:21 | Reserved_23_21 | R | Reserved. |
20 | Q6DDMACH | R/W | Queue 6 Enabled for DA-based DMA Channel Selection When set, this bit indicates that the packets received in Queue 6 are routed to a particular DMA channel as decided in the MAC Receiver based on the DMA channel number programmed in the L3-L4 filter registers, or the Ethernet DA address. When reset, this bit indicates that the packets received in Queue 6 are routed to the DMA Channel programmed in the Q6MDMACH field. Values:
|
19:y | Reserved_19_y | R | Reserved. |
x:16 | Q6MDMACH | R/W | Queue 6 Mapped to DMA Channel This field controls the routing of the packet received in Queue 6 to the DMA channel:
This field is valid when the Q6DDMACH field is reset. The width of this field depends on the number of RX DMA channels and not all the values might be valid in some configurations. For example, if the number of RX DMA channels selected is2, only 000 and 001 are valid, the other bits are reserved. |
15:13 | Reserved_15_13 | R | Reserved. |
12 | Q5DDMACH | R/W | Queue 5 Enabled for DA-based DMA Channel Selection When set, this bit indicates that the packets received in Queue 5 are routed to a particular DMA channel as decided in the MAC Receiver based on the DMA channel number programmed in the L3-L4 filter registers, or the Ethernet DA address. When reset, this bit indicates that the packets received in Queue 5 are routed to the DMA Channel programmed in the Q5MDMACH field. Values:
|
11:y | Reserved_11_y | R | Reserved. |
x:8 | Q5MDMACH | R/W | Queue 5 Mapped to DMA Channel This field controls the routing of the packets received in Queue 5 to the DMA channel:
This field is valid when the Q5DDMACH field is reset. The width of this field depends on the number of RX DMA channels and not all the values might be valid in some configurations. For example, if the number of RX DMA channels selected is2, only 000 and 001 are valid, the other bits are reserved. |
7:5 | Reserved_7_5 | R | Reserved. |
4 | Q4DDMACH | R/W | Queue 4 Enabled for DA-based DMA Channel Selection When set, this bit indicates that the packets received in Queue 4 are routed to a particular DMA channel as decided in the MAC Receiver based on the DMA channel number programmed in the L3-L4 filter registers, or the Ethernet DA address. When reset, this bit indicates that the packets received in Queue 4 are routed to the DMA Channel programmed in the Q4MDMACH field. Values:
|
3:y | Reserved_3_y | R | Reserved. |
x:0 | Q4MDMACH | R/W | Queue 4 Mapped to DMA Channel This field controls the routing of the packet received in Queue 4 to the DMA channel:
This field is valid when the Q4DDMACH field is reset. The width of this field depends on the number of RX DMA channels and not all the values might be valid in some configurations. For example, if the number of RX DMA channels selected is2, only 000 and 001 are valid, the other bits are reserved. |
MTL_TBS_CTRL
- Description: This register controls the operation of Time Based Scheduling.
- Size: 32 bits
- Offset: 0xc40
Bits | Name | Memory Access | Description |
---|---|---|---|
31:8 | LEOS | R/W | Launch Expiry Offset The value in units of 256 nanoseconds that has to be added to the Launch time to compute the Launch Expiry time. Value valid only when LEOV is set. Max value: 999,999,999 ns, additionally should be smaller than CTR-1 value when ESTM mode is set since this value is a modulo CTR value. |
7 | Reserved_7 | R | Reserved. |
6:4 | LEGOS | R/W | Launch Expiry GSN Offset The number of GSN slots that have to be added to the Launch GSN to compute the Launch Expiry time. Value valid only when LEOV is set. |
3:2 | Reserved_3_2 | R | Reserved. |
1 | LEOV | R/W | Launch Expiry Offset Valid When set indicates the LEOS field is valid. When not set, indicates the Launch Expiry Offset is not valid and the MTL must not check for Launch expiry time. Values:
|
0 | ESTM | R/W | EST offset Mode When this bit is set, the Launch Time value used in Time Based Scheduling is interpreted as an EST offset value and is added to the Base Time Register (BTR) of the current list. When reset, the Launch Time value is used as an absolute value that should be compared with the System time [39:8]. Values:
|
MTL_EST_Control
- Description: This register controls the operation of Enhancements to Scheduled Transmission (IEEE802.1Qbv).
- Size: 32 bits
- Offset: 0xc50
Bits | Name | Memory Access | Description |
---|---|---|---|
31:24 | PTOV | R/W | PTP Time Offset Value The value of PTP Clock period is multiplied by 6 in nanoseconds. This value is needed to avoid transmission overruns at the beginning of the installation of a new GCL. |
23:12 | CTOV | R/W | Current Time Offset Value Provides a12 bit time offset value in nanoseconds that is added to the current time to compensate for all the implementation pipeline delays such as the CDC sync delay, buffering delays, data path delays and so on. This offset helps to ensure that the impact of gate controls is visible on the line exactly at the pre-determined schedule (or as close to the schedule as possible). |
11 | Reserved_11 | R | Reserved. |
10:y | Reserved_10_y | R | Reserved. |
x:8 | TILS | R/W | Time Interval Left Shift Amount This field provides the left shift amount for the programmed Time Interval values used in the Gate Control Lists.
Based on the configuration one or more bits of this field should be treated as Reserved/Read-Only. |
7:6 | LCSE | R/W | Loop Count to report Scheduling Error Programmable number of GCL list iterations before reporting an HLBS error defined in EST_Status register. Values:
|
5 | DFBS | R/W | Drop Frames causing Scheduling Error When set frames reported to cause HOL Blocking due to not getting scheduled (HLBS field of EST_Status register) after 4,8,16,32 (based on LCSE field of this register) GCL iterations are dropped. Values:
|
4 | DDBF | R/W | Do not Drop Frames during Frame Size Error When set, frames are not be dropped during Head-of-Line blocking due to Frame Size Error (HLBF field of EST_Status register). Values:
|
3:2 | Reserved_2_3 | R | Reserved. |
1 | SSWL | R/W | Switch to S/W owned list When set indicates that the software has programmed that list that it currently owns (SWOL) and the hardware should switch to the new list based on the new BTR. Hardware clears this bit when the switch to the SWOL happens to indicate the completion of the switch or when a BTR error (BTRE in Status register) is set. When BTRE is set this bit is cleared but SWOL is not updated as the switch was not successful. Access restriction applies. Setting 1 sets. Self-cleared. Setting 0 has no effect. Values:
|
0 | EEST | R/W | Enable EST When reset, the gate control list processing is halted and all gates are assumed to be in an open state. Should be set for the hardware to start processing the gate control lists. During the toggle from 0 to 1, the gate control list processing starts only after the SSWL bit it set. When DWC_EQOS_ASP_ECC is selected during the configuration, if any uncorrectable error is detected in the EST memory the hardware resets this bit and disables the EST function. Values:
|
MTL_EST_Ext_Control
- Description: This register indicates the number of Overhead bytes for EST related scheduling.
- Size: 32 bits
- Offset: 0xc54
Bits | Name | Memory Access | Description |
---|---|---|---|
31:6 | Reserved_31_6 | R | Reserved. |
5:0 | OVHD | R/W | Overhead Bytes Value This field indicates the fixed overhead for every packet to account for EST Scheduler Delay, IPG or EIPG, and Preamble bytes. |
MTL_EST_Status
- Description: This register provides Status related to Enhancements to Scheduled Transmission (IEEE802.1Qbv).
- Size: 32 bits
- Offset: 0xc58
Bits | Name | Memory Access | Description |
---|---|---|---|
31:20 | Reserved_31_20 | R | Reserved. |
19:16 | CGSN | R | Current GCL Slot Number Indicates the slot number of the GCL list. Slot number is a modulo 16 count of the GCL List loops executed so far. Even if a new GCL list is installed, the count is incremental. |
15:8 | BTRL | R | BTR Error Loop Count Provides the minimum count (N)for which the equation Current Time =< New BTR + (N * New Cycle Time) becomes true. N = "11111111" indicates the iterations exceeded the value of 128 and the hardware was not able to update New BTR to be equal to or greater than Current Time. Software intervention is needed to update the New BTR. Value cleared when BTRE field of this register is cleared. |
7 | SWOL | R | S/W Owned List When '0' indicates Gate control list number "0" is owned by software and when "1" indicates the Gate Control list "1" is owned by the software. Any reads/writes by the software (using indirect access through GCL_Control) is directed to the list indicated by this value by default. The inverse of this value is treated as HWOL. R/W operations performed by hardware are directed to the list pointed by HWOL by default. Values:
|
6:5 | Reserved_6_5 | R | Reserved. |
4 | CGCE | R/W | Constant Gate Control Error This error occurs when the list length (LLR) is 1 and the Cycle Time (CTR) is less than or equal to the programmed Time Interval (TI) value after the optional Left Shifting. This implies, Gates are either always Closed or always Open based on the Gate Control values; the same effect can be achieved by other simpler (non TSN) programming mechanisms. Since the implementation does not support such programming an error is reported. Access restriction applies. Self-set to 1 on an internal event. Setting 1 clears. Setting 0 has no effect. Values:
|
3 | HLBS | R | Head-Of-Line Blocking due to Scheduling Set when the frame is not able to win arbitration and get scheduled even after 4 iterations of the GCL. Indicates to software a potential programming error. The one hot encoded values of the Queue Numbers that are not able to make progress are indicated in the MTL_EST_Sch_Error register. Bit cleared when MTL_EST_Sch_Error register is all zeros. Values:
|
2 | HLBF | R | Head-Of-Line Blocking due to Frame Size Set when HOL Blocking is noticed on one or more Queues as a result of none of the Time Intervals of gate open in the GCL being greater than or equal to the duration needed for frame size (or frame fragment size when preemption is enabled) transmission. The one hot encoded Queue numbers that are experiencing HLBF are indicated in the MTL_EST_Frm_Size_Error register. Additionally, the first Queue number that experienced HLBF along with the frame size is captured in MTL_EST_Frm_Size_Capture register. Bit cleared when MTL_EST_Frame_Size_ Error register is all zeros. Values:
|
1 | BTRE | R/W | BTR Error When "1" indicates a programming error in the BTR of SWOL where the programmed value is less than current time. If the BTRL = "11111111", SWOL is not updated and software should reprogram the BTR to a value greater than current time and then set SSWL to re-initiate the switch to SWOL. Else if the value of BTRL < "11111111", SWOL is updated and this field indicates the number of iterations (of + Cycle Time) taken by hardware to update the BTR to a value greater than Current Time. Access restriction applies. Self-set to 1 on an internal event. Setting 1 clears. Setting 0 has no effect. Values:
|
0 | SWLC | R/W | Switch to S/W Owned List Complete When "1" indicates the hardware has successfully switched to the SWOL, and the SWOL bit has been updated to that effect. Cleared when the SSWL of EST_Control register transitions from 0 to 1, or on a software write. Access restriction applies. Self-set to 1 on an internal event. Setting 1 clears. Setting 0 has no effect. Values:
|
MTL_EST_Sch_Error
- Description: This register provides the One Hot encoded Queue Numbers that are having the Scheduling related error (timeout).
- Size: 32 bits
- Offset: 0xc60
Bits | Name | Memory Access | Description |
---|---|---|---|
31:y | Reserved_31_x | R | Reserved. |
x:0 | SEQN | R/W | Schedule Error Queue Number The One Hot Encoded Queue Numbers that have experienced error/timeout described in HLBS field of the status register. Access restriction applies. Self-set to 1 on an internal event. Setting 1 clears. Setting 0 has no effect. |
MTL_EST_Frm_Size_Error
- Description: This register provides the One Hot encoded Queue Numbers that are having the Frame Size related error.
- Size: 32 bits
- Offset: 0xc64
Bits | Name | Memory Access | Description |
---|---|---|---|
31:y | Reserved_31_x | R | Reserved. |
x:0 | FEQN | R/W | Frame Size Error Queue Number The One Hot Encoded Queue Numbers that have experienced error described in HLBF field of the status register. Access restriction applies. Self-set to 1 on an internal event. Setting 1 clears. Setting 0 has no effect. |
MTL_EST_Frm_Size_Capture
- Description: This register captures the Frame Size and Queue Number of the first occurrence of the frame size related error. Up on clearing it captures the data of immediate the next occurrence of a similar error.
- Size: 32 bits
- Offset: 0xc68
Bits | Name | Memory Access | Description |
---|---|---|---|
x:y | Reserved_31_x | R | Reserved. |
x:16 | HBFQ | R | Queue Number of HLBF Captures the binary value of the of the first Queue (number) experiencing HLBF error (see HLBF field of status register). Value once written is not altered by any subsequent queue errors of similar nature. Once cleared the queue number of the next occurring HLBF error is captured. Width is based on the number of Tx Queues configured; remaining bits are Read-Only. Cleared when MTL_EST_Frm_Size_Error register is all zeros. |
15 | Reserved_15 | R | Reserved. |
14:0 | HBFS | R | Frame Size of HLBF Captures the Frame Size of the dropped frame related to queue number indicated in HBFQ field of this register. Contents of this register should be considered invalid, if this field is zero. Cleared when MTL_EST_Frm_Size_Error register is all zeros. |
MTL_EST_Intr_Enable
- Description: This register implements the Interrupt Enable bits for the various events that generate an interrupt. Bit positions have a 1 to 1 correlation with the status bit positions in MTL_ETS_Status register.
- Size: 32 bits
- Offset: 0xc70
Bits | Name | Memory Access | Description |
---|---|---|---|
31:5 | Reserved_31_5 | R |
Reserved. |
4 | CGCE | R/W |
Interrupt Enabled for CGCE When set, generates an interrupt when the Constant Gate Control Error occurs and is indicated in the status. When reset this event does not generate an interrupt Values:
|
3 | IEHS | R/W | Interrupt Enabled for HLBS When set, generates an interrupt when the Head-of-Line Blocking due to a scheduling issue and is indicated in the status. When reset this event does not generate an interrupt. Values:
|
2 | IEHF | R/W | Interrupt Enabled for HLBF When set, generates an interrupt when the Head-of-Line Blocking due to Frame Size error occurs and is indicated in the status. When reset this event does not generate an interrupt. Values:
|
1 | IEBE | R/W | Interrupt Enabled for BTR Error When set, generates an interrupt when the BTR Error occurs and is indicated in the status. When reset this event does not generate an interrupt. Values:
|
0 | IECC | R/W | Interrupt Enabled for Switch List When set, generates interrupt when the configuration change is successful and the hardware has switched to the new list. When reset this event does not generate an interrupt. Values:
|
MTL_EST_GCL_Control
- Description: This register provides the control information for reading/writing to the Gate Control lists.
- Size: 32 bits
- Offset: 0xc80
Bits | Name | Memory Access | Description |
---|---|---|---|
31:24 | Reserved_31_24 | R | Reserved. |
23 | ESTEIEC | *Varies | ECC Inject Error Control for EST Memory When ESTEIEE or ESTEIAEE bit of this register is set, the following are the errors inserted based on the value encoded in this field. This field is valid only if DWC_EQOS_ASP_ECC feature is selected during the configuration, else it is reserved. Values:
|
22 | ESTEIAEE | *Varies | ESTECC Inject Address Error Enabled When set along with EEST bit of MTL_EST_Control register, enables the ECC address error injection feature. When reset, disables the ECC address error injection feature. Values:
|
21 | ESTEIEE | *Varies | EST ECC Inject Error Enabled When set along with EEST bit of MTL_EST_Control register, enables the ECC error injection feature. When reset, disables the ECC error injection feature. Values:
|
20:y | Reserved_20_y | R | Reserved. |
x:8 | ADDR | R/W |
Gate Control List Address:(GCLA when GCRR is "0"). Provides the address (row number) of the Gate Control List at which the R/W operation has to be performed. By default the Gate Control List pointed by SWOL of MTL_EST_Status is selected for R/W. However, if the DBGM bit of this register is set, a debug mode access is given to R/W from DBGB. The width of this field is dependent on DWC_EQOS_EST_DEP; unused bits should be treated as read-only. Gate Control List Related Registers Address: (GCRA when GCRR is "1"). By default the GCL related register set pointed by SWOL of MTL_EST_Status is selected for R/W, however if the DBGM bit of this register is set, a debug mode access is given to R/W from DBGB. Lower 3 bits are only used in this mode, higher order bits are treated as don't care.
|
7:6 | Reserved_7_6 | R/W | Reserved. |
5 | DBGB | R/W | Debug Mode Bank Select When set to "0" indicates R/W in debug mode should be directed to Bank 0 (GCL0 and corresponding time related registers). When set to "1" indicates R/W in debug mode should be directed to Bank 1 (GCL1 and corresponding time related registers). This value is used when DBGM is set and overrides by value of SWOL which is normally used. Values:
|
4 | DBGM | R/W | Debug Mode When set to "1" indicates R/W in debug mode where the memory bank (for GCL and Time related registers) is explicitly provided by DBGB value, when set to "0" SWOL bit is used to determine which bank to use. Values:
|
3 | Reserved_3 | R/W | Reserved. |
2 | GCRR | R/W | Gate Control Related Registers When set to "1" indicates the R/W access is for the GCL related registers (BTR, CTR, TER, LLR) whose address is provided by GCRA. When "0" indicates R/W should be directed to GCL from the address provided by GCLA. Values:
|
1 | R1W0 | R/W | Read "1", Write "0":
Values:
|
0 | SRWO | R/W | Start Read/Write Operation
Access restriction applies. Setting 1 sets. Self-cleared. Setting 0 has no effect. Values:
|
MTL_EST_GCL_Data
- Description: This register holds the read data or write data in case of reads and writes respectively.
- Size: 32 bits
- Offset: 0xc84
Bits | Name | Memory Access | Description |
---|---|---|---|
31:0 | GCD | R/W | Gate Control Data The data corresponding to the address selected in the GCL_Control register. Used for both Read and Write operations. |
MTL_FPE_CTRL_STS
- Description: This register controls the operation of, and provides status for Frame Preemption (IEEE802.1Qbu/802.3br).
- Size: 32 bits
- Offset: 0xc90
Bits | Name | Memory Access | Description |
---|---|---|---|
31:29 | Reserved_31_29 | R | Reserved. |
28 | HRS | R |
Hold/Release Status
Values:
|
27:16 | Reserved_27_16 | R | Reserved. |
15:y | Reserved_15_y | R | Reserved. |
x:8 | PEC | R/W | Preemption Classification When set indicates the corresponding Queue must be classified as preemptible, when '0' Queue is classified as express. When both EST (Qbv) and Preemption are enabled, Queue-0 is always assumed to be preemptible. When EST (Qbv) is enabled Queues categorized as preemptible here are always assumed to be in "Open" state in the Gate Control List. |
7:2 | Reserved_7_2 | R | Reserved. |
1:0 | AFSZ | R/W | Additional Fragment Size used to indicate, in units of 64 bytes, the minimum number of bytes over 64 bytes required in non-final fragments of preempted frames. The minimum non-final fragment size is (AFSZ +1) * 64 bytes |
MTL_FPE_Advance
- Description: This register holds the Hold and Release Advance time.
- Size: 32 bits
- Offset: 0xc94
Bits | Name | Memory Access | Description |
---|---|---|---|
31:16 | RADV | R/W | Release Advance The maximum time in nanoseconds that can elapse between issuing a RELEASE to the MAC and the MAC being ready to resume transmission of preemptible frames, in the absence of there being any express frames available for transmission. |
15:0 | HADV | R/W | Hold Advance The maximum time in nanoseconds that can elapse between issuing a HOLD to the MAC and the MAC ceasing to transmit any preemptible frame that is in the process of transmission or any preemptible frames that are queued for transmission. |
MTL_RXP_Control_Status
- Description: The MTL_RXP_Control_Status register establishes the operating mode of Rx Parser and provides some status.
- Size: 32 bits
- Offset: 0xca0
Bits | Name | Memory Access | Description |
---|---|---|---|
31 | RXPI | R | RX Parser in Idle state This status bit is set to 1 when the Rx parser is in Idle State and waiting for a new packet for processing. This bit is used as a handshake with software when parser gets disables. After disabling, when bit is set then software can update the Rx parser instruction table. Values:
|
30 | ELIRS | R/W | Enable Last Instruction in RX Status When this bit is set,RDES2[31:16] indicates the index of the last instruction executed in Rx Parse, when set to 0 indicates MAC filter status. |
29:y | Reserved_29_x | R | Reserved. |
23:16 | NPE | R/W | The number of parsable entries in the Instruction
table This control indicates the number of parsable entries in the Instruction Memory. This is used in Rx parser logic to detect programming Error. In case the number of parsed entries for a packet is more than this entry then NPEOVIS bit in the MTL_RXP_Interrupt_Control_Status register is set. |
15:y | Reserved_15_x | R | Reserved. |
7:0 | NVE | R/W | The number of valid entry address/index in the Instruction
table This control indicates the number of valid entries address/index in the Instruction Memory (i.e. when NVE field in register=31, the maximum valid entry address is NVE+1 i.e. addresses/indices=0 to 32, or 33 entries). This is used in Rx parser logic to detect any programming Error. In case while parsing Table address (memory address) found to be more than this maximum valid entry address then NVEOVIS bit in the MTL_RXP_Interrupt_Control_Status register is set. Note: The minimum value of
this should be 2. |
MTL_RXP_Interrupt_Control_Status
- Description: The MTL_RXP_Interrupt_Control_Status registers provide enabled control for the interrupts and provide interrupt status.
- Size: 32 bits
- Offset: 0xca4
Bits | Name | Memory Access | Description |
---|---|---|---|
31:20 | Reserved_31_20 | R | Reserved. |
19 | PDRFIE | R/W | Packet Drop due to RF Interrupt Enable When this bit is set, the PDRFIS interrupt is enabled. When this bit is reset, the PDRFIS interrupt is disabled. Values:
|
18 | FOOVIE | R/W | Frame Offset Overflow Interrupt Enabled When this bit is set, the FOOVIS interrupt is enabled. When this bit is reset, the FOOVIS interrupt is disabled. Values:
|
17 | NPEOVIE | R/W | The number of Parsable Entries Overflow Interrupt
Enable When this bit is set, the NPEOVIS interrupt is enabled. When this bit is reset, the NPEOVIS interrupt is disabled. Values:
|
16 | NVEOVIE | R/W | The number of Valid Entries Overflow Interrupt Enable When this bit is set, the NVEOVIS interrupt is enabled. When this bit is reset, the NVEOVIS interrupt is disabled. Values:
|
15:4 | Reserved_15_4 | R | Reserved. |
3 | PDRFIS | R/W | Packet Dropped due to RF Interrupt Status If the Rx Parser result says to drop the packet by setting RF=1 in the instruction memory, then this bit is set to 1. This bit is cleared when the application writes 1 to this bit. Access restriction applies. Self-set to 1 on an internal event. Setting 1 clears. Setting 0 has no effect. Values:
|
2 | FOOVIS | R/W | Frame Offset Overflow Interrupt Status While parsing if the Instruction table entry's 'Frame Offset' found to be more than EOF offset, then this bit is set. This bit is cleared when the application writes 1 to this bit. Access restriction applies. Self-set to 1 on an internal event. Setting 1 clears. Setting 0 has no effect. Values:
|
1 | NPEOVIS | R/W | The number of Parsable Entries Overflow Interrupt
Status While parsing a packet if the number of parsed entries found to be more than NPE[] (Number of Parsable Entries in MTL_RXP_Control register), then this bit is set to 1. This bit is cleared when the application writes 1 to this bit. Access restriction applies. Self-set to 1 on an internal event. Setting 1 clears. Setting 0 has no effect. Values:
|
0 | NVEOVIS | R/W | The number of Valid Entry Address/Index Overflow Interrupt
Status While parsing if the Instruction address found to be more than NVE (Number of Valid Entry Address/index in MTL_RXP_Control register), then this bit is set to 1. For example, when NVE field in register=31, the maximum valid entry address/index is NVE+1 i.e. 32 (addresses/indices=0 to 32, or 33 entries), so NVEOVIS is set when currently processed entry indicates the next address is 33 or more i.e. 34th or later entries. This bit is cleared when the application writes 1 to this bit. Access restriction applies. Self-set to 1 on an internal event. Setting 1 clears. Setting 0 has no effect. Values:
|
MTL_RXP_Drop_Cnt
- Description: The MTL_RXP_Drop_Cnt register provides the drop count of Rx Parser initiated drops.
- Size: 32 bits
- Offset: 0xca8
Bits | Name | Memory Access | Description |
---|---|---|---|
31 | RXPDCOVF | R | Rx Parser Drop Counter Overflow Bit When set, this bit indicates that the MTL_RXP_Drop_cnt (RXPDC) Counter field crossed the maximum limit. Access restriction applies. Clears on read. Self-set to 1 on an internal event. Values:
|
30:0 | RXPDC | R | Rx Parser Drop Count This 31-bit counter is implemented when an Rx Parser Drops a packet due to RF =1. The counter is cleared when the register is read. |
MTL_RXP_Error_Cnt
- Description: The MTL_RXP_Error_Cnt register provides the Rx Parser related error occurrence count.
- Size: 32 bits
- Offset: 0xcac
Bits | Name | Memory Access | Description |
---|---|---|---|
31 | RXPECOVF | R | Rx Parser Error Counter Overflow Bit When set, this bit indicates that the MTL_RXP_Error_cnt (RXPEC) Counter field crossed the maximum limit. Access restriction applies. Clears on read. Self-set to 1 on an internal event. Values:
|
30:0 | RXPEC | R | Rx Parser Error Count This 31-bit counter is implemented when an Rx Parser encounters following Error scenarios
|
MTL_RXP_Indirect_Acc_Control_Status
- Description: The MTL_RXP_Indirect_Acc_Control_Status register provides the Indirect Access control and status for Rx Parser memory.
- Size: 32 bits
- Offset: 0xcb0
Bits | Name | Memory Access | Description |
---|---|---|---|
31 | STARTBUSY | R/W |
FRP Instruction Table Access Busy
Values:
|
30:23 | Reserved_30_23 | R | Reserved. |
22 | RXPEIEC | R/W | ECC Inject Error Control for Rx Parser Memory When RXPEIEE or RXPEIAEE bit of this register is set, the following are the errors inserted based on the value encoded in this field:
Values:
|
21 | RXPEIAEE | R/W | ECC Inject Address Error Enable for Rx Parser Memory
Values:
|
20 | RXPEIEE | R/W | ECC Inject Error Enable for Rx Parser Memory
Values:
|
19:17 | Reserved_19_17 | R | Reserved. |
16 | WRRDN | R/W | Read Write Control
Values:
|
15:y | Reserved_15_x | R | Reserved. |
x:0 | ADDR | R/W | FRP Instruction Table Offset Address This field indicates the ADDR of the 32-bit entry in Rx parser instruction table. Each entry has 128-bit (4x32-bit words). The Xis based on the configurable DWC_EQOS_FRP_ENTRIES. If DWC_EQOS_FRP_ENTRIES is
|
MTL_RXP_Indirect_Acc_Data
- Description: The MTL_RXP_Indirect_Acc_Data registers hold the data associated with Indirect Access to Rx Parser memory.
- Size: 32 bits
- Offset: 0xcb4
Bits | Name | Memory Access | Description |
---|---|---|---|
31:0 | DATA | R | FRP Instruction Table Write/Read Data Software should write this register before issuing any write command. The hardware provides the read data from the Rx Parser Memory for read operation when STARTBUSY =0 after read command. |
MTL_RXP_Bypass_Cnt
- Description: The MTL_RXP_Bypass_Cnt register provides the bypass count of Rx Parser.
- Size: 32 bits
- Offset: 0xcb8
Bits | Name | Memory Access | Description |
---|---|---|---|
31 | RXPBCOF | R | Rx Parser Bypass Counter Overflow Bit When set, this bit indicates that the MTL_RXP_Bypass_cnt (RXPBC) Counter field crossed the maximum limit. Access restriction applies. Clears on read. Self-set to 1 on an internal event. Values:
|
30:0 | RXPBC | R |
Rx Parser Bypass Count This 31-bit counter is implemented when an Rx Parser bypass a packet due to AF=1 and RF =1. The counter is cleared when the register is read. |
MTL_ECC_Control
- Description: The MTL_ECC_Control register establishes the operating mode of ECC related to MTL memories.
- Size: 32 bits
- Offset: 0xcc0
Bits | Name | Memory Access | Description |
---|---|---|---|
31:9 | Reserved_31_9 | R | Reserved. |
8 | MEEAO | R/W | MTL ECC Error Address Status Over-ride
Values:
|
7:6 | Reserved_7_6 | R | Reserved. |
5 | DSCEE | R/W | DCACHE Memory ECC Enabled
Values:
|
4 | TSOEE | R/W | TSO memory ECC Enabled
Values:
|
3 | MRXPEE | R/W | MTL Rx Parser ECC Enabled
Values:
|
2 | MESTEE | R/W | MTL ESTECC Enabled
Values:
|
1 | MRXEE | R/W | MTL Rx FIFO ECC Enable
Values:
|
0 | MTXEE | R/W | MTL Tx FIFO ECC Enabled
Values:
|
MTL_Safety_Interrupt_Status
- Description: The MTL_Safety_Interrupt_Status registers provides Safety interrupt status.
- Size: 32 bits
- Offset: 0xcc4
Bits | Name | Memory Access | Description |
---|---|---|---|
31 | MCSIS | R | MAC Safety Uncorrectable Interrupt Status Indicates an uncorrectable Safety-related Interrupt is set in the MAC module. MAC_DPP_FSM_Interrupt_Status register should be read when this bit is set, to get the cause of the Safety Interrupt in MAC. |
30:2 | Reserved_30_2 | R | Reserved. |
1 | MEUIS | R | MTL ECC Uncorrectable Error Interrupt Status This bit indicates an uncorrectable error interrupt event in the MTL ECC safety feature. To get the exact cause of the interrupt the application should read the MTL_ECC_Interrupt_Status register. Values:
|
0 | MECIS | R | MTL ECC Correctable Error Interrupt Status This bit indicates that a correctable error interrupt event in the MTL ECC safety feature. To get the exact cause of the interrupt the application should read the MTL_ECC_Interrupt_Status register. Values:
|
MTL_ECC_Interrupt_Enable
- Description: The MTL_ECC_Interrupt_Enable register provides enable bits for the ECC interrupts.
- Size: 32 bits
- Offset: 0xcc8
Bits | Name | Memory Access | Description |
---|---|---|---|
31:13 | Reserved_31_13 | R | Reserved. |
12 | RPCEIE | R/W | Rx Parser memory Correctable Error Interrupt Enable When set, generates an interrupt when an uncorrectable error is detected at the Rx Parser memory interface. It is indicated in RPCES status bit of MTL_ECC_Interrupt_Status register. When reset this event does not generate an interrupt. Values:
|
11:9 | Reserved_11_9 | R |
X |
8 | ECEIE | R/W | EST memory Correctable Error Interrupt Enable When set, generates an interrupt when a correctable error is detected at the MTL EST memory interface. It is indicated in the ECES bit of MTL_ECC_Interrupt_Status register. When reset this event does not generate an interrupt. Values:
|
7:5 | Reserved_7_5 | R | Reserved. |
4 | RXCEIE | R/W | Rx memory Correctable Error Interrupt Enabled When set, generates an interrupt when a correctable error is detected at the MTL Rx memory interface. It is indicated in the RXCES bit of MTL_ECC_Interrupt_Status register. When reset this event does not generate an interrupt. Values:
|
3:1 | Reserved_3_1 | R | Reserved. |
0 | TXCEIE | R/W | Tx memory Correctable Error Interrupt Enable When set, generates an interrupt when a correctable error is detected at the MTL Tx memory interface. It is indicated in the TXCES bit of MTL_ECC_Interrupt_Status register. When reset this event does not generate an interrupt. Values:
|
MTL_ECC_Interrupt_Status
- Description: The MTL_ECC_Interrupt_Status register provides MTL ECC Interrupt Status.
- Size: 32 bits
- Offset: 0xccc
Bits | Name | Memory Access | Description |
---|---|---|---|
31:15 | Reserved_31_15 | R | Reserved. |
14 | RPUES | R/W | Rx Parser memory Uncorrectable Error Status When set, indicates that an uncorrectable error is detected at Rx Parser memory interface. Values:
|
13 | RPAMS | R/W | MTL Rx Parser memory Address Mismatch Status This bit when set indicates that address mismatch is found for the address bus of Rx Parser memory. Values:
|
12 | RPCES | R/W | MTL Rx Parser memory Correctable Error Status This bit when set indicates that a correctable error is detected at RX Parser memory interface. Values:
|
11 | Reserved_11 | R | Reserved. |
10 | EUES | R/W | MTL EST Memory Uncorrectable Error Status When set, indicates that an uncorrectable error is detected at MTL EST memory interface. Values:
|
9 | EAMS | R/W | MTL EST memory Address Mismatch Status This bit when set indicates that address mismatch is found for address bus of MTL EST memory. Values:
|
8 | ECES | R/W | MTL EST memory Correctable Error Status This bit when set indicates that a correctable error is detected at the MTL EST memory. Values:
|
7 | Reserved_7 | R | Reserved. |
6 | RXUES | R/W | MTL Rx memory Uncorrectable Error Status When set, indicates that an uncorrectable error is detected at the MTL Rx memory interface. Values:
|
5 | RXAMS | R/W | MTL Rx memory Address Mismatch Status This bit when set indicates that address mismatch is found for address bus of the MTL Rx memory. Values:
|
4 | RXCES | R/W | MTL Rx memory Correctable Error Status This bit when set indicates that correctable error is detected at the MTL Rx memory. Values:
|
3 | Reserved_3 | R | Reserved. |
2 | TXUES | R/W | MTL Tx memory Uncorrectable Error Status When set, indicates that an uncorrectable error is detected at the MTL TX memory interface. Values:
|
1 | TXAMS | R/W | MTL Tx memory Address Mismatch Status This bit when set indicates that address mismatch is found for address bus of the MTL Tx memory. Values:
|
0 | TXCES | R/W | MTL Tx memory Correctable Error Status This bit when set indicates that a correctable error is detected at the MTL Tx memory. Values:
|
MTL_ECC_Err_Sts_Rctl
- Description: The MTL_ECC_Err_Sts_Rctl register establishes the control for ECC Error status capture.
- Size: 32 bits
- Offset: 0xcd0
Bits | Name | Memory Access | Description |
---|---|---|---|
31:6 | Reserved_31_6 | R | Reserved. |
5 | CUES | R/W | Clear Uncorrectable Error Status When this bit is set along with EESRE bit of this register, based on the EMS field of this register, the respective memory's uncorrectable error address and uncorrectable error count values are cleared upon reading. Hardware resets this bit when all the error status values are cleared. Values:
|
4 | CCES | R/W | Clear Correctable Error Status When this bit is set along with EESRE bit of this register, based on the EMS field of this register, the respective memory's correctable error address and correctable error count values are cleared upon reading. Hardware resets this bit when all the error status values are cleared. Values:
|
3:1 | EMS | R/W | MTL ECC Memory Selection When EESRE bit of this register is set, this field indicates which memory's error status value to be read. The memory selection encoding is as described. Values:
|
0 | EESRE | R/W | MTL ECC Error Status Read Enabled When this bit is set, based on the EMS field of this register, the respective memory's error status values are captured as described:
Hardware resets this bit when all the status values are captured into the MTL_ECC_Err_Cnt_Status and MTL_ECC_Err_Addr_Status registers. Values:
|
MTL_ECC_Err_Addr_Status
- Description: The MTL_ECC_Err_Addr_Status register provides the memory addresses for the correctable and uncorrectable errors.
- Size: 32 bits
- Offset: 0xcd4
Bits | Name | Memory Access | Description |
---|---|---|---|
31:16 | EUEAS | R | MTL ECC Uncorrectable Error Address Status Based on the EMS field of MTL_ECC_Err_Sts_Rctl register, this field holds the respective memory's address locations for which an uncorrectable error or address mismatch is detected.
|
15:0 | ECEAS | R | MTL ECC Correctable Error Address Status Based on the EMS field of MTL_ECC_Err_Sts_Rctl register, this field holds the respective memory's address locations for which a correctable error is detected.
|
MTL_ECC_Err_Cntr_Status
- Description: The MTL_ECC_Err_Cntr_Status register provides ECC Error count for Correctable and uncorrectable errors.
- Size: 32 bits
- Offset: 0xcd8
Bits | Name | Memory Access | Description |
---|---|---|---|
31:20 | Reserved_31_20 | R | Reserved. |
19:16 | EUECS | R | MTL ECC Uncorrectable Error Counter Status Based on the EMS field of MTL_ECC_Err_Cntr_Rctl register, this field holds the respective memory's uncorrectable error count value. |
15:8 | Reserved_15_8 | R | Reserved. |
7:0 | ECECS | R | MTL ECC Correctable Error Counter Status Based on the EMS field of MTL_ECC_Err_Cntr_Rctl register, this field holds the respective memory's correctable error count value. |
MTL_DPP_Control
- Description: The MTL_DPP_Control establishes the operating mode of Data Parity protection and error injection.
- Size: 32 bits
- Offset: 0xce0
Bits | Name | Memory Access | Description |
---|---|---|---|
31:17 | Reserved_31_17 | R | Reserved. |
16 | IPEDC | R/W | Insert Parity Error in DCACHE parity checker When set to 1, parity/data bit of first valid input parity/data of the DMA DCACHE parity checker (or at PC-dbg as shown in DCACHE parity protection diagram) is flipped. Based on the EIM/BLEI field of MTL_DPP_ECC_EIC register, software can corrupt any one bit of parity/data. Hardware clears this bit once the respective parity bit is flipped. Values:
|
15 | IPEMRWC | R/W | Values:
|
14 | IPEMTFC | R/W | Insert Parity error in MAC TFC data parity checker When set to 1, parity/data bit of first valid input parity/data of the MAC TFC data parity checker (or at PC11 as shown in Transmit Data path parity protection diagram) is flipped. Based on the EIM/BLEI field of MTL_DPP_ECC_EIC register, software can corrupt any one bit of parity/data. Hardware clears this bit once the respective parity bit is flipped. Values:
|
13 | IPEMTBU | R/W | Insert Parity error in MTL RWC data parity checker When set to 1, parity/data bit of first valid input parity/data of the MTL RWC data parity checker (or at PC12 as shown in Receive data path parity protection diagram) is flipped. Based on the EIM/BLEI field of MTL_DPP_ECC_EIC register, software can corrupt any one bit of parity/data. Hardware clears this bit once the respective parity bit is flipped. Values:
|
12 | IPEASR | R/W | Insert Parity Error in AXI Slave Read Data Parity Checker When set to 1, parity/data bit of first valid input parity/data of the AXI Slave Read data parity checker is (or at PC9 as shown in AXI slave Interface Data path parity protection diagram) flipped. Based on the EIM/BLEI field of MTL_DPP_ECC_EIC register, software can corrupt any one bit of parity/data. Hardware clears this bit once the respective parity bit is flipped. Values:
|
11 | IPEMSW | R/W | Insert Parity error in MCI Slave Write Data Parity Checker When set to 1, parity/data bit of first valid input parity/data of the MCI Slave Write data parity checker(or at PC8 as shown in AXI slave Interface Data path protection diagram) is flipped. Based on the EIM/BLEI field of MTL_DPP_ECC_EIC register, software can corrupt any one bit of parity/data. Hardware clears this bit once the respective parity bit is flipped. Values:
|
10 | IPEASW | R/W | Insert Parity Error in AXI Slave Write Data Parity Checker When set to 1, parity/data bit of first valid input parity/data of the AXI Slave Write data parity checker(or at PC7 as shown in AXI slave Interface Data path protection diagram) is flipped. Based on the EIM/BLEI field of MTL_DPP_ECC_EIC register, software can corrupt any one bit of parity/data. Hardware clears this bit once respective parity bit is flipped. Values:
|
9 | IPERID | R/W | Insert Parity Error in RX Interface Data Parity
Checker When set to 1, parity/data bit of first valid input parity/data of the RX Interface Data parity checker is (or at PC6 as shown in Receive data path parity protection diagram) flipped. Based on the EIM/BLEI field of MTL_DPP_ECC_EIC register, software can corrupt any one bit of parity/data. Following are the input data bus on which parity bits are generated based on the configuration selected:
Values:
|
8 | IPEMTS | R/W | Insert Parity Error in MTL Tx Status FIFO Parity
Checker When set to 1, parity/data bit of first valid input parity/data of the MTL Tx Status FIFO parity checker (or at PC5 as shown in Transmit data path parity protection diagram) is flipped. Based on the EIM/BLEI field of MTL_DPP_ECC_EIC register, software can corrupt any one bit of parity/data. Hardware clears this bit once the respective parity bit is flipped. Values:
|
7 | IPEMTF | R/W | Insert Parity Error in MTL Tx FIFO Write Data Parity Checker
When set to 1, parity/data bit of first valid input parity/data of the MTL Tx FIFO write data parity checker (or at PC4 as shown in Transmit data path parity protection diagram) is flipped. Based on the EIM/BLEI field of MTL_DPP_ECC_EIC register, software can corrupt any one bit of parity/data. Hardware clears this bit once the respective parity bit is flipped. Values:
|
6 | IPETRD | R/W | Insert Parity Error in DMA Tx/Rx Descriptor Parity checker When set to 1, parity/data bit of first valid input parity/data of the DMA Tx/Rx Descriptor parity checker (or at PC3 as shown in Transmit data path parity protection diagram) is flipped. Based on the EIM/BLEI field of MTL_DPP_ECC_EIC register, software can corrupt any one bit of parity/data. Hardware clears this bit once the respective parity bit is flipped. Values:
|
5 | IPETH | R/W | Insert Parity Error in DMA TSO Header Parity Checker When set to 1, parity/data bit of first valid input parity/data of the DMA TSO header parity checker (or at PC2 as shown in Transmit data path parity protection diagram) is flipped. Based on the EIM/BLEI field of MTL_DPP_ECC_EIC register, software can corrupt any one bit of parity/data. Hardware clears this bit once the respective parity bit is flipped. Values:
|
4 | IPETID | R/W | Insert Parity Error in Tx Interface Data parity
checker When set to 1, parity/data bit of first valid input parity/data of the Tx Interface data parity checker(or at PC1 as shown in Transmit data path parity protection diagram) is flipped. Based on the EIM/BLEI field of MTL_DPP_ECC_EIC register, SW could corrupt any one bit of parity/data. Following are the input data bus on which parity bits are generated based on the configuration selected:
Values:
|
3 | Reserved_3 | R | Reserved. |
2 | EPSI | R/W | Enable Parity on Slave Interface Port When set to 1, enables the parity check for the slave interface ports and disables the internal generation of parity for the input slave data port. When set to 0, disables the parity check for the slave interface ports and enables the internal parity generation for the input slave data port. Values:
|
1 | OPE | *Varies | Odd Parity Enabled When set to 1,enables odd parity protection on all the external interfaces and when set to 0, enables even parity protection on all the external interfaces. Values:
|
0 | EDPP | R/W | Enable Data path Parity Protection When set to 1, enables the parity protection for EQOS data path by generating and checking the parity on EQOS data path. When set to 0, disables the parity protection for EQOS data path. Values:
|
MTL_DPP_ECC_EIC
- Description: The MTL_DPP_ECC_EIC establishes the operating mode of ECC/DPP error injection.
- Size: 32 bits
- Offset: 0xce4
Bits | Name | Memory Access | Description |
---|---|---|---|
31:17 | Reserved_31_17 | R | Reserved. |
16 | EIM | R/W | Error Injection Mode When it is set to 0, indicate error injection on data; When it is set to 1, indicate error injection on ECC/Parity bits(need to check the address error injection mode is disabled). |
15:8 | Reserved_15_8 | R | Reserved. |
7:0 | BLEI | R/W | Bit Location of Error Injection This field indicates the bit location of DPP/ECC error injection, determination of error in Parity/ECC bits or Data (being protected) depends on the Error Injection Mode(EIM field). Depending on the interface being used for error injection not all bits of this field are valid. Example, for error injection on a 64 bit data interface this field should be programmed to a value between 63 and 0. In case of 2-bit error injection bit 0 is always included in error injection and this field should represent the second bit selection for error injection. If the second bit is programed at bit 0 when 2-bit error injection is enabled, DUT only inserts 1-bit error at bit 0. |