Statistics counters (dword offset 0x18 – 0x38), Statistics counters (dword offset 0x18 – 0x38) -11, Statistics counters (dword offset – Altera Triple Speed Ethernet MegaCore Function User Manual
Page 94: 0x18 – 0x38), Statistics, Counters (dword offset 0x18 – 0x38)
Description
R/W
Name
Bit(s)
Statistics counters reset. Set this bit to 1 to clear the statistics
counters. The MAC function clears this bit when the reset
sequence completes.
RW
CNT_RESET
31
Statistics Counters (Dword Offset 0x18 – 0x38)
describes the read-only registers that collect the statistics on the transmit and receive datapaths.
A hardware reset clears these registers; a software reset also clears these registers except
aMacID
.
The register description uses the following definitions:
• Good frame—error-free frames with valid frame length.
• Error frame—frames that contain errors or whose length is invalid.
• Invalid frame—frames that are not addressed to the MAC function. The MAC function drops this frame.
Table 6-4: Statistics Counters
Description
R/W
Name
Dword
Offset
The MAC address. This register is wired to the primary MAC
address in the
mac_0
and
mac_1
registers.
RO
aMacID
0x18
–
0x19
The number of frames that are successfully transmitted
including the pause frames.
RO
aFramesTransmittedOK
0x1A
The number of frames that are successfully received including
the pause frames.
RO
aFramesReceivedOK
0x1B
The number of receive frames with CRC error.
RO
aFrameCheck
SequenceErrors
0x1C
The number of receive frames with alignment error.
RO
aAlignmentErrors
0x1D
The number of data and padding octets that are successfully
transmitted.
This register contains the lower 32 bits of the
aOctetsTrans-
mittedOK
counter. The upper 32 bits of this statistics counter
reside at the dword offset 0x0F.
RO
aOctetsTransmittedOK
0x1E
The number of data and padding octets that are successfully
received.
The lower 32 bits of the
aOctetsReceivedOK
counter. The
upper 32 bits of this statistics counter reside at the dword offset
0x3D.
RO
aOctetsReceivedOK
0x1F
The number of pause frames transmitted.
RO
aTxPAUSEMACCtrlFrames
0x20
The number received pause frames received.
RO
aRxPAUSEMACCtrlFrames
0x21
The number of errored frames received.
RO
ifInErrors
0x22
Altera Corporation
Configuration Register Space
6-11
Statistics Counters (Dword Offset 0x18 – 0x38)
UG-01008
2014.06.30