Download Triple-Speed Ethernet MegaCore Function User Guide
Transcript
UG-01008 2015.06.15 Statistics Counters (Dword Offset 0x18 – 0x38) Bit(s) Name 27 31 Description RW Set this bit to 1 to disable MAC configuration register read timeout. Reserved — — CNT_RESET RW Statistics counters reset. Set this bit to 1 to clear the statistics counters. The MAC function clears this bit when the reset sequence completes. DISABLE_READ_ TIMEOUT 28 – 30 R/W 6-11 Statistics Counters (Dword Offset 0x18 – 0x38) Table 6-4 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 statistics counters roll up when the counter is full. 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 Dword Name R/W Description Offset 0x18 – 0x19 0x1A 0x1B 0x1C 0x1D 0x1E aMacID aFramesTransmitt edOK aFramesReceivedO K aFrameCheck SequenceErrors aAlignmentErrors aOctetsTransmitt edOK RO The MAC address. This register is wired to the primary MAC address in the mac_0 and mac_1 registers. RO The number of frames that are successfully transmitted including the pause frames. RO The number of frames that are successfully received including the pause frames. RO The number of receive frames with CRC error. RO The number of receive frames with alignment error. RO The number of data and padding octets that are successfully transmitted. This register contains the lower 32 bits of the aOctetsTransmittedOK counter. The upper 32 bits of this statistics counter reside at the dword offset 0x0F. Configuration Register Space Send Feedback Altera Corporation