The following tables show the statistics interface ports for the RX and TX paths respectively.
Name | I/O | Clock Domain | Description |
---|---|---|---|
stat_rx_bad_code | O | clk | Increment for 64B/66B code violations. This signal indicates that the RX PCS receive state machines 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] | O | clk | Increment for the total number of packets received. |
stat_rx_total_good_packets | O | clk | 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] | O | clk | Increment for the total number of bytes received. |
stat_rx_total_good_bytes[13:0] | O | clk | 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 | O | clk | Increment for all packets that are less than 64 bytes long. Packets that are less than 4 bytes are dropped. |
stat_rx_jabber | O | clk |
Increment for packets longer than ctl_rx_max_packet_len with bad FCS. |
stat_rx_packet_large | O | clk | Increment for all packets that are more than 9215 bytes long. |
stat_rx_oversize | O | clk | Increment for packets longer than ctl_rx_max_packet_len with good FCS. |
stat_rx_undersize | O | clk | Increment for packets shorter than ctl_rx_min_packet_len with good FCS |
stat_rx_toolong | O | clk | Increment for packets longer than ctl_rx_max_packet_len with good and bad FCS |
stat_rx_fragment | O | clk | Increment for packets shorter than ctl_rx_min_packet_len with bad FCS |
stat_rx_packet_64_bytes | O | clk | Increment for good and bad packets received that contain 64 bytes. |
stat_rx_packet_65_127_bytes | O | clk | Increment for good and bad packets received that contain between 65 and 127 bytes. |
stat_rx_packet_128_255_bytes | O | clk | Increment for good and bad packets received that contain between 128 and 255 bytes. |
stat_rx_packet_256_511_bytes | O | clk | Increment for good and bad packets received that contain between 256 and 511 bytes. |
stat_rx_packet_512_1023_bytes | O | clk | Increment for good and bad packets received that contain between 512 and 1023 bytes. |
stat_rx_packet_1024_1518_bytes | O | clk | Increment for good and bad packets received that contain between 1024 and 1518 bytes. |
stat_rx_packet_1519_1522_bytes | O | clk | Increment for good and bad packets received that contain between 1519 and 1522 bytes. |
stat_rx_packet_1523_1548_bytes | O | clk | Increment for good and bad packets received that contain between 1523 and 1548 bytes. |
stat_rx_packet_1549_2047_bytes | O | clk | Increment for good and bad packets received that contain between 1549 and 2047 bytes. |
stat_rx_packet_2048_4095_bytes | O | clk | Increment for good and bad packets received that contain between 2048 and 4095 bytes. |
stat_rx_packet_4096_8191_bytes | O | clk | Increment for good and bad packets received that contain between 4096 and 8191 bytes. |
stat_rx_packet_8192_9215_bytes | O | clk | Increment for good and bad packets received that contain between 8192 and 9215 bytes. |
stat_rx_bad_fcs [1:0] | O | clk |
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 CRC32 error is detected, the received packet is marked as containing an error and is sent with rx_axis_tuser asserted during the last transfer (the cycle with rx_axis_tlast asserted), unless ctl_rx_ignore_fcs is asserted. This signal is asserted for one clock period for each CRC32 error detected. |
stat_rx_packet_bad_fcs | O | clk | 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] | O | clk | 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 | O | clk | Increment for good unicast packets |
stat_rx_multicast | O | clk | Increment for good multicast packets |
stat_rx_broadcast | O | clk | Increment for good broadcast packets |
stat_rx_vlan | O | clk | Increment for good 802.1Q tagged VLAN packets. |
stat_rx_pause | O | clk | Increment for 802.3x MAC Pause Packet with good FCS. |
stat_rx_user_pause | O | clk | Increment for priority based pause packets with good FCS. |
stat_rx_inrangeerr | O | clk | Increment for packets with Length field error but with good FCS. |
stat_rx_bad_preamble | O | clk |
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. When an invalid preamble is detected, the stat_rx_bad_preamble signal is asserted regardless of the setting of the ctl_rx_check_preamble signal. |
stat_rx_bad_sfd | O | clk |
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. When an invalid SFD is detected, the stat_rx_bad_sfd signal is asserted regardless of the setting of the ctl_rx_check_sfd signal. |
stat_rx_got_signal_os | O | clk |
Signal OS indication. If this bit is sampled as a 1, it indicates that a signal OS word was received. Note: Signal OS should not be received in
an Ethernet network.
|
stat_rx_truncated | O | clk | 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. |
Name | I/O | Clock Domain | Description |
---|---|---|---|
stat_tx_total_packets | O | clk | Increment for total number of packets transmitted. |
stat_tx_total_bytes[2:0] | O | clk | Increment for total number of bytes transmitted. |
stat_tx_total_good_packets | O | clk | Increment for the total number of good packets transmitted. |
stat_tx_total_good_bytes[13:0] | O | clk | 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 | O | clk | Increment for good and bad packets transmitted that contain 64 bytes. |
stat_tx_packet_65_127_bytes | O | clk | Increment for good and bad packets transmitted that contain between 65 and 127 bytes. |
stat_tx_packet_128_255_bytes | O | clk | Increment for good and bad packets transmitted that contain between 128 and 255 bytes. |
stat_tx_packet_256_511_bytes | O | clk | Increment for good and bad packets transmitted that contain between 256 and 511 bytes. |
stat_tx_packet_512_1023_bytes | O | clk | Increment for good and bad packets transmitted that contain between 512 and 1023 bytes. |
stat_tx_packet_1024_1518_bytes | O | clk | Increment for good and bad packets transmitted that contain between 1024 and 1518 bytes. |
stat_tx_packet_1519_1522_bytes | O | clk | Increment for good and bad packets transmitted that contain between 1519 and 1522 bytes. |
stat_tx_packet_1523_1548_bytes | O | clk | Increment for good and bad packets transmitted that contain between 1523 and 1548 bytes. |
stat_tx_packet_1549_2047_bytes | O | clk | Increment for good and bad packets transmitted that contain between 1549 and 2047 bytes. |
stat_tx_packet_2048_4095_bytes | O | clk | Increment for good and bad packets transmitted that contain between 2048 and 4095 bytes. |
stat_tx_packet_4096_8191_bytes | O | clk | Increment for good and bad packets transmitted that contain between 4096 and 8191 bytes. |
stat_tx_packet_8192_9215_bytes | O | clk | Increment for good and bad packets transmitted that contain between 8192 and 9215 bytes. |
stat_tx_packet_small | O | clk | Increment for all packets that are less than 64 bytes long. |
stat_tx_packet_large | O | clk | Increment for all packets that are more than 9215 bytes long. |
stat_tx_unicast | O | clk | Increment for good unicast packets. |
stat_tx_multicast | O | clk | Increment for good multicast packets. |
stat_tx_broadcast | O | clk | Increment for good broadcast packets. |
stat_tx_vlan | O | clk | Increment for good 802.1Q tagged VLAN packets. |
stat_tx_pause | O | clk | Increment for 802.3x MAC Pause Packet with good FCS |
stat_tx_user_pause | O | clk | Increment for Priority based pause packets with good FCS. |
stat_tx_bad_fcs | O | clk | Increment for packets greater than 64 bytes that have FCS errors. |
stat_tx_frame_error | O | clk | Increment for packets with tx_axis_tuser set to indicate an End of Packet (EOP) abort or frames aborted by de-asserting tvalid without tlast. |
stat_tx_local_fault | O | clk | A value of 1 indicates the transmit encoder state machine is in the TX_INIT state. This output is level sensitive. |
stat_tx_bad_parity | O | clk | Increment on any clock cycle where the user-generated parity is calculated as incorrect by the TX parity checking logic. |