Low Latency 40- and 100-Gbps Ethernet MAC and PHY MegaCore Function User Guide

ID 683628
Date 12/28/2017
Public
Document Table of Contents

3.2.13. Statistics Counters Interface

The statistics counters module s are synthesis options that you select in the Low Latency 40-100GbE parameter editor. However, the statistics status bit output vectors are provided whether you select the statistics counters module option or not.

The increment vectors are brought to the top level as output ports. The increment vectors also function internally as input ports to the control and status registers (CSR).

Table 24.  Statistics Counters Increment Vectors The TX statistics counter increment vectors are clocked by the clk_txmac clock, and the RX statistics counter increment vectors are clocked by the clk_rxmac clock.

Name

Signal Direction

Description

TX Statistics Counter Increment Vectors

tx_inc_64

Output

Asserted for one cycle when a 64-byte TX frame is transmitted.

tx_inc_127

Output

Asserted for one cycle when a 65–127 byte TX frame is transmitted.

tx_inc_255

Output

Asserted for one cycle when a 128–255 byte TX frame is transmitted.

tx_inc_511

Output

Asserted for one cycle when a 256–511 byte TX frame is transmitted.

tx_inc_1023

Output

Asserted for one cycle when a 512–1023 byte TX frame is transmitted.

tx_inc_1518

Output

Asserted for one cycle when a 1024–1518 byte TX frame is transmitted.

tx_inc_max

Output

Asserted for one cycle when a maximum-size TX frame is transmitted.

You program the maximum number of bytes in the MAX_TX_SIZE_CONFIG register.

tx_inc_over

Output

Asserted for one cycle when an oversized TX frame is transmitted.

You program the maximum number of bytes in the MAX_TX_SIZE_CONFIG register.

tx_inc_mcast_data_err

Output

Asserted for one cycle when an errored multicast TX frame, excluding control frames, is transmitted.

tx_inc_mcast_data_ok

Output

Asserted for one cycle when a valid multicast TX frame, excluding control frames, is transmitted.

tx_inc_bcast_data_err

Output

Asserted for one cycle when an errored broadcast TX frame, excluding control frames, is transmitted.

tx_inc_bcast_data_ok

Output

Asserted for one cycle when a valid broadcast TX frame, excluding control frames, is transmitted.

tx_inc_ucast_data_err

Output

Asserted for one cycle when an errored unicast TX frame, excluding control frames, is transmitted.

tx_inc_ucast_data_ok

Output

Asserted for one cycle when a valid unicast TX frame, excluding control frames, is transmitted.

tx_inc_mcast_ctrl

Output

Asserted for one cycle when a valid multicast TX frame is transmitted.

tx_inc_bcast_ctrl

Output

Asserted for one cycle when a valid broadcast TX frame is transmitted.

tx_inc_ucast_ctrl

Output

Asserted for one cycle when a valid unicast TX frame is transmitted.

tx_inc_pause

Output

Asserted for one cycle when a valid pause TX frame is transmitted.

tx_inc_fcs_err

Output

Asserted for one cycle when a TX packet with FCS errors is transmitted.

tx_inc_fragment

Output

Asserted for one cycle when a TX frame less than 64 bytes and reporting a CRC error is transmitted.

tx_inc_jabber

Output

Asserted for one cycle when an oversized TX frame reporting a CRC error is transmitted.

tx_inc_sizeok_fcserr

Output

Asserted for one cycle when a valid TX frame with FCS errors is transmitted.

RX Statistics Counter Increment Vectors

rx_inc_runt

Output

Asserted for one cycle when an RX runt packet is received.

rx_inc_64

Output

Asserted for one cycle when a 64-byte RX frame is received.

rx_inc_127

Output

Asserted for one cycle when a 65–127 byte RX frame is received.

rx_inc_255

Output

Asserted for one cycle when a 128–255 byte RX frame is received.

rx_inc_511

Output

Asserted for one cycle when a 256–511 byte RX frame is received.

rx_inc_1023

Output

Asserted for one cycle when a 512–1023 byte RX frame is received.

rx_inc_1518

Output

Asserted for one cycle when a 1024–1518 byte RX frame is received.

rx_inc_max

Output

Asserted for one cycle when a maximum-size RX frame is received.

You program the maximum number of bytes in the MAX_RX_SIZE_CONFIG register.

rx_inc_over

Output

Asserted for one cycle when an oversized RX frame is received.

You program the maximum number of bytes in the MAX_RX_SIZE_CONFIG register.

rx_inc_mcast_data_err

Output

Asserted for one cycle when an errored multicast RX frame, excluding control frames, is received.

rx_inc_mcast_data_ok

Output

Asserted for one cycle when valid a multicast RX frame, excluding control frames, is received.

rx_inc_bcast_data_err

Output

Asserted for one cycle when an errored broadcast RX frame, excluding control frames, is received.

rx_inc_bcast_data_ok

Output

Asserted for one cycle when a valid broadcast RX frame, excluding control frames, is received.

rx_inc_ucast_data_err

Output

Asserted for one cycle when an errored unicast RX frame, excluding control frames, is received.

rx_inc_ucast_data_ok

Output

Asserted for one cycle when a valid unicast RX frame, excluding control frames, is received.

rx_inc_mcast_ctrl

Output

Asserted for one cycle when a valid multicast RX frame is received.

rx_inc_bcast_ctrl

Output

Asserted for one cycle when a valid broadcast RX frame is received.

rx_inc_ucast_ctrl

Output

Asserted for one cycle when a valid unicast RX frame is received.

rx_inc_pause

Output

Asserted for one cycle when valid RX pause frames are received.

rx_inc_fcs_err

Output

Asserted for one cycle when a RX packet with FCS errors is received.

rx_inc_fragment

Output

Asserted for one cycle when a RX frame less than 64 bytes and reporting a CRC error is received.

rx_inc_jabber

Output

Asserted for one cycle when an oversized RX frame reporting a CRC error is received.

rx_inc_sizeok_fcserr

Output

Asserted for one cycle when a valid RX frame with FCS errors is received.

rx_inc_pause_ctrl_err

Output

Asserted for one cycle when an errored pause RX frame is received.

rx_inc_mcast_ctrl_err

Output

Asserted for one cycle when an errored multicast RX control frame is received.

rx_inc_bcast_ctrl_err

Output

Asserted for one cycle when an errored broadcast RX control frame is received.

rx_inc_ucast_ctrl_err

Output

Asserted for one cycle when an errored unicast RX control frame is received.