Receive Statistics Vector - 7.2 English

AXI 1G/2.5G Ethernet Subsystem Product Guide (PG138)

Document ID
PG138
Release Date
2023-11-15
Version
7.2 English

The receiver provides 28 bits of statistics for each frame transmitted and a valid signal, which can be used to count the total number of bytes transmitted. Statistics information is provided using a 28-bit vector for one clock cycle as shown in the following figure. The waveform in the figure represents the statistics counter updates for the corresponding vector bits. The entire vector otherwise is not accessible through an addressable register or available on the external ports. The following table shows the bit definition of the receive statistics.

Figure 1. Receive Statistics Waveforms AXI Ethernet Page-1 Sheet.2 Sheet.3 Sheet.4 Sheet.5 Sheet.6 Sheet.7 Sheet.8 Sheet.9 Sheet.10 Sheet.11 Sheet.12 Sheet.13 Sheet.14 Sheet.15 Sheet.16 Sheet.17 Sheet.18 Sheet.19 Sheet.20 Sheet.21 Sheet.22 Sheet.23 Sheet.24 Sheet.25 Sheet.26 Sheet.27 Sheet.28 Sheet.29 Sheet.30 Sheet.31 Sheet.32 Sheet.33 Sheet.34 Sheet.35 Sheet.36 Sheet.37 Sheet.38 Sheet.39 Sheet.40 Sheet.41 Sheet.42 Sheet.43 Sheet.44 Sheet.45 Sheet.46 Sheet.47 Sheet.48 Sheet.49 Sheet.50 Sheet.51 Sheet.52 Sheet.53 RX data interface to PHY RX data interface to PHY Sheet.54 RxClientClk RxClientClk Sheet.55 ClientRxStatsByte Vld ClientRxStatsByte Vld Sheet.56 RX valid signal to PHY RX valid signal to PHY Sheet.57 ClientRxStats ClientRxStats Sheet.58 ( ( Sheet.59 31 31 Sheet.60 : : Sheet.61 0 0 Sheet.62 ) ) Sheet.63 ClientRxStatsVld ClientRxStatsVld Sheet.64 Sheet.65 Sheet.66 Sheet.67 Sheet.68 Ethernet Frame to PHY Ethernet Frame to PHY Sheet.69 X14086 X14086
Table 1. Receive Statistics Bit Definitions
Bits Name Description
27 ADDRESS MATCH When the Ethernet MAC is configured in Address Filtering mode, asserted if the previous frame successfully passed the address filter. When the Ethernet MAC is configured in promiscuous mode, this bit is always asserted.
26 ALIGNMENT_ERROR Used in 10/100 MII mode. Asserted if the previous frame received has an incorrect FCS value and a misalignment occurs when the 4-bit MII data bus is converted to the 8-bit GMII data bus.
25 Length/Type Out Of Range

Asserted if the Length/Type field contains a length value that does not match the number of Ethernet MAC data bytes received. Also asserted High if the Length/Type field indicates that the frame contains padding but the number of Ethernet MAC data bytes received is not equal to 64 bytes (minimum frame size).

This bit is not defined when Length/Type field error-checks are disabled or when received frames are less than the legal minimum length.

24 BAD_OPCODE Asserted if the previous frame is error free. Contains the special control frame identifier in the LT field, but contains an OPCODE unsupported by the Ethernet MAC (any OPCODE other than PAUSE).
23 FLOW_CONTROL_FRAME Asserted if the previous frame is error-free. Contains the special control frame identifier in the LT field. Contains a destination address matching either the Ethernet MAC control multicast address or the configured source address of the Ethernet MAC. Contains the supported PAUSE OPCODE and is acted upon by the Ethernet MAC.
22 BYTE_VALID TEMAC: Asserted if an Ethernet MAC frame byte (Destination Address to FCS inclusive) is in the process of being received. This is valid on every clock cycle. Do not use this as an enable signal to indicate that data is present on the receive data pins going to the receive Ethernet MAC interface.
21 VLAN_FRAME Asserted if the previous frame contains a VLAN identifier in the Length/Type field when the receiver VLAN operation is enabled.
20 OUT_OF_BOUNDS Asserted if the previous frame exceeded the specified IEEE Std 802.3-2005 maximum legal length. This is only valid if jumbo frames are disabled.
19 CONTROL_FRAME Asserted if the previous frame contains the special control frame identifier in the Length/Type field.
18:5 FRAME_LENGTH_COUNT The length of the previous frame in number of bytes. The count sticks at 16,383 for any jumbo frames larger than this value.
4 MULTICAST_FRAME Asserted if the previous frame contains a multicast address in the destination field.
3 BROADCAST_FRAME Asserted if the previous frame contains the broadcast address in the destination field.
2 FCS_ERROR Asserted if the previous frame received has an incorrect FCS value or the Ethernet MAC detects error codes during frame reception.
1 BAD_FRAME 1 Asserted if the previous frame received contains errors.
0 GOOD_FRAME 1 Asserted if the previous frame received is error free.
  1. If the length/type field error checks are disabled, a frame containing this type of error is marked as a GOOD_FRAME, providing no additional errors were detected.