The transmitter provides 32 bits of statistics for each frame transmitted and a signal which can be used to count the total number of bytes transmitted. Statistics information is provided using a 32-bit vector for one clock cycle, as shown in the following table. The following table shows the bit definition of the transmit statistics. Bits 28 to 20 are always driven to zero because half-duplex is not supported.
The waveform in the following table 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.
Figure 1. TEMAC Transmit Statistics Waveforms
Bits | Name | Description |
---|---|---|
31 | PAUSE_FRAME_TRANSMITTED | Asserted if the previous frame was a pause frame initiated by writing to the Transmit Pause Frame (TPF) register. |
30 | BYTE_VALID | TEMAC: Asserted if an Ethernet MAC frame byte (Destination Address to FCS inclusive) is in the process of being transmitted. This is valid on every clock cycle. Do not use this as an enable signal to indicate that data is present on the transmit data pins going to the PHY. |
29 | Reserved (driven to zero) | Returns 0. |
28:25 1 | TX_ATTEMPTS(3:0) | Full-Duplex: Returns 0s. |
24 1 | Reserved (driven to zero) | Returns 0. |
23 1 | EXCESSIVE COLLISION | Full-Duplex: Returns 0s. |
22 1 | LATE_COLLISION | Full-Duplex: Returns 0s. |
21 1 | EXCESSIVE_DEFERRAL | Full-Duplex: Returns 0s. |
20 1 | TX_DEFERRED | Full-Duplex: Returns 0s. |
19 | VLAN_FRAME | Asserted if the previous frame contains a VLAN identifier in the Length/Type field when transmitter VLAN operation is enabled. |
18:5 | FRAME_LENGTH_COUNT | The length of the previous frame in number of bytes. The count sticks at 16,838 for jumbo frames larger than this value. |
4 | CONTROL_FRAME | Asserted if the previous frame has the special Control type code 0x8808 in the Length/Type field. |
3 | UNDERRUN_FRAME | Asserted if the previous frame contains an underrun error. |
2 | MULTICAST_FRAME | Asserted if the previous frame contains a multicast address in the destination address field. |
1 | BROADCAST_FRAME | Asserted if the previous frame contains a broadcast address in the destination address field. |
0 | SUCCESSFUL_FRAME | Asserted if the previous frame is transmitted without error. |
|