UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 45335

Virtex-6 FPGA GTH Transceivers - Using PRBS_ERR_CNT_LANE and PRBS_TIMER_LANE registers

Description

This answer record explains some details about the PRBS_ERR_CNT_LANE and PRBS_TIMER_LANE registersfor GTH Transceivers in the Virtex-6 FPGAs.

Solution

The PRBS_ERR_CNT(0/1)_LANE<n> and PRBS_TIMER_(0/1/2)_LANE<n> registers in the Virtex-6 FPGA GTHTransceivers contain theRX pattern checker information like the PRBS error count and time. Virtex-6 FPGA GTH Transceivers User Guide (UG371) Table 4-12 has more information.

Clock domain

The PRBS_TIMER_LANE registers operate off the internal parallel clock of the RX. For example, if the line rate is 10.0 Gbps and the internal width is 16-bit raw mode, thenPRBS_TIMER_LANE runs ona clock of 10Gbps/16 = 625 MHz.

Clearing the registers

The PRBS_ERR_CNT_LANE has a "clear-on-read" option which is enabled by bit 8 of PCS_MISC_CFG0_LANE<n>. If this bit is set to '1', then the error counters will be reset upon read and this also resets the PRBS_TIMER_LANE registers. If only the PRBS_TIMER_LANE registers are read first without reading the PRBS_ERR_CNT_LANE, then the error counter and timer are not cleared even with the self-clear on read mode bit set to '1'.

Order of reading the registers

When reading from these registers, this order must be followed:

PRBS_TIMER_0_LANE, followed by PRBS_TIMER_1_LANE, then followed by PRBS_TIMER_2_LANE to read the full 48 bits out.

Similarly for the error counter, PRBS_ERR_CNT_0_LANE should be read out first followed by PRBS_ERR_CNT_1_LANE to read the full 32 bits out.

Linked Answer Records

Associated Answer Records

Answer Number Answer Title Version Found Version Resolved
38596 Virtex-6 FPGA GTH Transceiver - Known Issues and Answer Records List N/A N/A
AR# 45335
Date Created 01/30/2012
Last Updated 12/15/2012
Status Active
Type General Article
Devices
  • Virtex-6 HXT