Tutorials

GTX PRBS Checker Will Not Lock: Verify the Pattern and the Path

Published · Updated

When a PRBS checker never locks, first confirm that its input is the sequence you intended to send. A working transmitter on an adjacent connector can look like a tuning problem.

Run one known loop and prove the checker reacts

Eight-channel USB logic analyzer. Use it for suitable low-speed trigger or status signals. Serial-lane measurements require suitable high-speed equipment.
Eight-channel USB logic analyzer. Use it for suitable low-speed trigger or status signals. Serial-lane measurements require suitable high-speed equipment. Photo by Dilshan Jayakody from Maharagama, Sri Lanka. Photo source. CC BY-SA 2.0

Set the same PRBS pattern on the generator and checker, and record the selected lane and direction at both ends. Match line rate and path settings. Confirm that any encoding or user datapath option is consistent with where the generator inserts data and where the checker compares it. Start with a documented loopback that is supported by the core.

Once the baseline locks, verify that the monitor responds to a documented error insertion or a deliberate out-of-pattern interval. Start a fresh test interval after restoring the baseline. A flat error display during an unlocked interval is insufficient evidence that the checker compared any bits. Keep lock status, error count and compared-bit count together.

Change a single variable when moving to the cable

Baseline: Same lane, same rate, same PRBS. Counter sanity check: Observe a controlled error. External test: Change one path variable
Baseline: Same lane, same rate, same PRBS. Counter sanity check: Observe a controlled error. External test: Change one path variable.

Move the known generator/checker pair to the intended external lane, and repeat the baseline rate and pattern. If no lock follows, inspect whether the far transmitter is active, the selected RX lane matches the physical cable, the line rate matches, and the P/N mapping matches the design. Apply a polarity correction only when routing evidence supports it and log the result.

For a synthetic example, TX PRBS31 and RX PRBS7 have different expected sequences. First match the test modes and reset or resynchronize the checker per the tool flow. If the clocks and pattern selectors are correct but errors rise at specific settings, then compare attenuation, equalization and reference quality. Record time without lock separately from errors after lock so intermittent dropouts remain visible.

The error counter reads zero while the checker is unlocked. Can you record a zero-error BER interval?

Start the measurement only after verifying lock and a nonzero valid comparison count.

Step through the exampleBaseline: Same lane, same rate, same PRBS. Counter sanity check: Observe a controlled error. External test: Change one path variable

Baseline: Same lane, same rate, same PRBS. Counter sanity check: Observe a controlled error. External test: Change one path variable.

XC7K325T-2FFG900C device page · Kintex-7 family and package directory · Vivado documentation and design workflow · Board bring-up checklist · JTAG Works Only at Low TCK: How to Investigate

Bring both endpoint settings, path identity, lock transitions and error/compared-bit counts. Prepare an engineering review.

References

AMD UG476 v1.12.1, 7 Series GTX/GTH transceivers · AMD PG132 v3.0, 7 Series GTX IBERT · AMD WP425, transceiver bit error isolation.

Back to Tutorials

Related evidence and next tasks

Continue the task with the relevant source scope. These reading paths do not establish interchangeability or current supply.

Source addresses and citation trail

Full source addresses are retained below. Read each citation with its document revision, page, table and applicability conditions above.

  1. https://commons.wikimedia.org/wiki/File:8_Channel_USB_logic_analyzer_(5172098012).jpg
  2. https://creativecommons.org/licenses/by-sa/2.0
  3. https://docs.amd.com/api/khub/documents/SgVweevU5cLv0LyXoCVoPg/content
  4. https://docs.amd.com/v/u/en-US/pg132-ibert-7series-gtx
  5. https://docs.amd.com/api/khub/documents/lNQmxQ~ME7PJhUIVUECEDg/content