Statistics Interface Ports - 1.2 English

USXGMII Ethernet Subsystem Product Guide (PG251)

Document ID
PG251
Release Date
2023-12-12
Version
1.2 English

The following tables shows the statistics interface ports for the RX and TX paths respectively.

Table 1. Statistics Interface Ports – RX
Name Direction Clock Domain Description
stat_rx_bad_code Output rx_clk_out Increment for 64B/66B code violations. This signal indicates that the RX PCS receive state machine is in the RX_E state as specified by IEEE Std 802.3. This output can be used to generate MDIO register as defined in Clause 45.
stat_rx_total_packets[1:0] Output rx_clk_out Increment for the total number of packets received.
stat_rx_total_good_packets Output rx_clk_out Increment for the total number of good packets received. This value is non-zero only when a packet is received completely and contains no errors.
stat_rx_total_bytes[3:0] Output rx_clk_out Increment for the total number of bytes received.
stat_rx_total_good_bytes[13:0] Output rx_clk_out Increment for the total number of good bytes received. This value is non-zero only when a packet is received completely and contains no errors.
stat_rx_packet_small Output rx_clk_out Increment for all packets that are less than 64 bytes long. Packets that are less than 64 bytes are dropped.
stat_rx_jabber Output rx_clk_out Increment for packets longer than ctl_rx_max_packet_len with bad FCS.
stat_rx_packet_large Output rx_clk_out Increment for all packets that are more than 9215 bytes long.
stat_rx_oversize Output rx_clk_out Increment for packets longer than ctl_rx_max_packet_len with good FCS.
stat_rx_undersize Output rx_clk_out Increment for packets shorter than ctl_rx_min_packet_len with good FCS.
stat_rx_toolong Output rx_clk_out Increment for packets longer than ctl_rx_max_packet_len with good and bad FCS.
stat_rx_fragment Output rx_clk_out Increment for packets shorter than ctl_rx_min_packet_len with bad FCS.
stat_rx_packet_64_bytes Output rx_clk_out Increment for good and bad packets received that contain 64 bytes.
stat_rx_packet_65_127_bytes Output rx_clk_out Increment for good and bad packets received that contain between 65 and 127 bytes.
stat_rx_packet_128_255_bytes Output rx_clk_out Increment for good and bad packets received that contain between 128 and 255 bytes.
stat_rx_packet_256_511_bytes Output rx_clk_out Increment for good and bad packets received that contain between 256 and 511 bytes.
stat_rx_packet_512_1023_bytes Output rx_clk_out Increment for good and bad packets received that contain between 512 and 1023 bytes.
stat_rx_packet_1024_1518_bytes Output rx_clk_out Increment for good and bad packets received that contain between 1024 and 1518 bytes.
stat_rx_packet_1519_1522_bytes Output rx_clk_out Increment for good and bad packets received that contain between 1519 and 1522 bytes.
stat_rx_packet_1523_1548_bytes Output rx_clk_out Increment for good and bad packets received that contain between 1523 and 1548 bytes.
stat_rx_packet_1549_2047_bytes Output rx_clk_out Increment for good and bad packets received that contain between 1549 and 2047 bytes.
stat_rx_packet_2048_4095_bytes Output rx_clk_out Increment for good and bad packets received that contain between 2048 and 4095 bytes.
stat_rx_packet_4096_8191_bytes Output rx_clk_out Increment for good and bad packets received that contain between 4096 and 8191 bytes.
stat_rx_packet_8192_9215_bytes Output rx_clk_out Increment for good and bad packets received that contain between 8192 and 9215 bytes.
stat_rx_bad_fcs [1:0] Output rx_clk_out

When this signal is positive, it indicates that the error detection logic has identified mismatches between the expected and received value of CRC32 in the received packet.

When a CRC error is detected, the received packet is marked as containing an error and is sent with rx_axis_tuser asserted for the last transfer (the cycle with rx_axis_last asserted), unless ctl_rx_ignore_fcs is asserted. This signal is asserted for one clock cycle for each CRC32 error detected.

stat_rx_packet_bad_fcs Output rx_clk_out

Increment for packets between 64 and

ctl_rx_max_packet_len bytes that have

Frame Check Sequence (FCS) errors.

stat_rx_stomped_fcs [1:0] Output rx_clk_out Stomped FCS indicator. The value on this bus indicates the packets received with a stomped FCS. A stomped FCS is defined as the bitwise inverse of the expected good FCS. This output is pulsed for one clock cycle to indicate the stomped condition. Pulses can occur in back-to-back cycles.
stat_rx_unicast Output rx_clk_out Increment for good unicast packets.
stat_rx_multicast Output rx_clk_out Increment for good multicast packets.
stat_rx_broadcast Output rx_clk_out Increment for good broadcast packets.
stat_rx_vlan Output rx_clk_out Increment for good 802.1Q tagged VLAN packets.
stat_rx_pause Output rx_clk_out Increment for 802.3x MAC Pause Packet with good FCS.
stat_rx_user_pause Output rx_clk_out Increment for priority based pause packets with good FCS.
stat_rx_inrangeerr Output rx_clk_out Increment for packets with Length field error but with good FCS.
stat_rx_bad_preamble Output rx_clk_out Increment for packets received with bad preamble. This signal indicates if the Ethernet packet received was preceded by a valid preamble. A value of 1 indicates that an invalid preamble was received.
stat_rx_bad_sfd Output rx_clk_out Increment for packets received with bad SFD. This signal indicates if the Ethernet packet received was preceded by a valid SFD. A value of 1 indicates that an invalid SFD was received.
stat_rx_got_signal_os Output rx_clk_out

Signal OS indication. If this bit is sampled as a 1, it indicates that a signal OS word was received.

Signal OS should not be received in an Ethernet network.
stat_rx_truncated Output rx_clk_out Packet truncation indicator. A value of 1 indicates that the current packet in flight is truncated due to its length exceeding ctl_rx_max_packet_len[14:0]. This output is pulsed for one clock cycle to indicate the truncated condition. Pulses can occur in back to back cycles.
Table 2. Statistics Interface Ports - TX Path
Name Direction Clock Domain Description
stat_tx_total_packets Output tx_clk_out Increment for total number of packets transmitted.
stat_tx_total_bytes[2:0] Output tx_clk_out Increment for total number of bytes transmitted.
stat_tx_total_good_packets Output tx_clk_out Increment for the total number of good packets transmitted.
stat_tx_total_good_bytes[13:0] Output tx_clk_out Increment for the total number of good bytes transmitted. This is signal is non-zero only when a packet is transmitted completely and contains no errors.
stat_tx_packet_64_bytes Output tx_clk_out Increment for good and bad packets transmitted that contain 64 bytes.
stat_tx_packet_65_127_bytes Output tx_clk_out Increment for good and bad packets transmitted that contain between 65 and 127 bytes.
stat_tx_packet_128_255_bytes Output tx_clk_out Increment for good and bad packets transmitted that contain between 128 and 255 bytes.
stat_tx_packet_256_511_bytes Output tx_clk_out Increment for good and bad packets transmitted that contain between 256 and 511 bytes.
stat_tx_packet_512_1023_bytes Output tx_clk_out Increment for good and bad packets transmitted that contain between 512 and 1023 bytes.
stat_tx_packet_1024_1518_bytes Output tx_clk_out Increment for good and bad packets transmitted that contain between 1024 and 1518 bytes.
stat_tx_packet_1519_1522_bytes Output tx_clk_out Increment for good and bad packets transmitted that contain between 1519 and 1522 bytes.
stat_tx_packet_1523_1548_bytes Output tx_clk_out Increment for good and bad packets transmitted that contain between 1523 and 1548 bytes.
stat_tx_packet_1549_2047_bytes Output tx_clk_out Increment for good and bad packets transmitted that contain between 1549 and 2047 bytes.
stat_tx_packet_2048_4095_bytes Output tx_clk_out Increment for good and bad packets transmitted that contain between 2048 and 4095 bytes.
stat_tx_packet_4096_8191_bytes Output tx_clk_out Increment for good and bad packets transmitted that contain between 4096 and 8191 bytes.
stat_tx_packet_8192_9215_bytes Output tx_clk_out Increment for good and bad packets transmitted that contain between 8192 and 9215 bytes.
stat_tx_packet_small Output tx_clk_out Increment for all packets that are less than 64 bytes long.
stat_tx_packet_large Output tx_clk_out Increment for all packets that are more than 9215 bytes long.
stat_tx_unicast Output tx_clk_out Increment for good unicast packets.
stat_tx_multicast Output tx_clk_out Increment for good multicast packets.
stat_tx_broadcast Output tx_clk_out Increment for good broadcast packets.
stat_tx_vlan Output tx_clk_out Increment for good 802.1Q tagged VLAN packets.
stat_tx_pause Output tx_clk_out Increment for 802.3x MAC Pause Packet with good FCS.
stat_tx_user_pause Output tx_clk_out Increment for Priority based pause packets with good FCS.
stat_tx_bad_fcs Output tx_clk_out Increment for packets greater than 64 bytes that have FCS errors.
stat_tx_frame_error Output tx_clk_out Increment for packets with tx_axis_tuser set to indicate an End of Packet (EOP) abort.
stat_tx_local_fault Output tx_clk_out A value of 1 indicates the transmit encoder state machine is in the TX_INIT state. This output is level sensitive.