Tutorials

GTX Lane Bonding: Diagnose Skew After Every Lane Passes Alone

Published · Updated

A four-lane stream can pass four independent pattern checks and still fail when reassembled. Put the alignment markers and lane order into the same capture.

Capture the marker in each lane and identify the reference

Parallella development board. Verify the lane and reference assignments on the board under test.
Parallella development board. Verify the lane and reference assignments on the board under test. Photo by Gareth Halfacree from Bradford, UK. Photo source. CC BY-SA 2.0

Record connector-to-transceiver mapping, expected lane striping order, the configured master/slave relationship where applicable, and the actual markers that your core uses for bonding. Bring up lanes individually first. During simultaneous traffic, capture the arrival of each matching marker, channel alignment state, buffer status and accepted frames. The protocol core may manage bonding internally, so observe its documented interface rather than changing primitive settings while it runs.

Keep marker identity along with its cycle. Two matching-looking markers separated by one full training interval can give a false estimate of skew. Record lane alignment and channel alignment separately. An individually aligned lane can arrive too early or too late relative to the others.

Calculate observed skew and test the indicated failure

Same marker across four lanes: Cycles 100, 103, 101, 104. Observed spread: 4 cycles. Common capture at 125 MHz: 32 ns in the example
Same marker across four lanes: Cycles 100, 103, 101, 104. Observed spread: 4 cycles. Common capture at 125 MHz: 32 ns in the example.

For an illustrative common observation domain at 125 MHz, corresponding markers occur on lane 0–3 at cycles 100, 103, 101 and 104. The difference is four cycles, or 32 ns. This assumes the observations share a time base and no unaccounted clock-domain delay was introduced. Compare the result with the configured bonding depth and documented operating limits for your core.

If markers arrive within budget but striping fails, verify logical lane order with per-lane identifiers. If the latest marker exceeds the budget, check the physical path and receive-buffer setup. When alignment repeatedly disappears after initial success, correlate buffer events and markers with clock correction and resets. Repeat the measurement with full link traffic and record the first event that differs from the single-lane baseline.

Four standalone PRBS tests pass. Is four-lane reassembly verified?

Exercise the bonded path and check marker identity, skew, lane order and accepted frames.

Step through the exampleSame marker across four lanes: Cycles 100, 103, 101, 104. Observed spread: 4 cycles. Common capture at 125 MHz: 32 ns in the example

Same marker across four lanes: Cycles 100, 103, 101, 104. Observed spread: 4 cycles. Common capture at 125 MHz: 32 ns in the example.

XC7K325T-2FFG900C device page · Kintex-7 family and package directory · Vivado documentation and design workflow · Board bring-up checklist · FPGA FIFO Depth Calculation for Bursts and Read Stalls

Provide the lane map, matched marker captures, clock-domain notes and configured bonding budget. Prepare an engineering review.

References

AMD UG476 v1.12.1, 7 Series GTX/GTH transceivers · AMD PG168 v3.6, GT Wizard PRBS, channel bonding and clock correction.

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:Adapteva_Parallella_DK02_-_Top_(15478282925).png
  2. https://creativecommons.org/licenses/by-sa/2.0
  3. https://docs.amd.com/api/khub/documents/SgVweevU5cLv0LyXoCVoPg/content
  4. https://docs.amd.com/r/en-US/pg168-gtwizard/PCI-Express-SATA-OOB-PRBS-Channel-Bonding-and-Clock-Correction-Selection