For multi-rank systems, separate control exists in the XPHY for each rank and every rank can be trained separately for coarse and fine taps. After all ranks have been calibrated, an adjustment is required before normal operation to ensure fast rank-to-rank switching.
Across all ranks within a byte, the read latency and general interconnect
delay (clb2phy_rd_en
) must match. The coarse taps are
incremented/decremented accordingly to adjust the timing of the gate signal to match the
timing found in calibration. If a common clb2phy_rd_en
setting cannot be found for a given byte across all ranks, an error is asserted.
Additionally, the coarse taps have to be within four taps within the same byte lane
across all ranks. The following table shows the DQS Gate adjustment examples.
Example | Setting | Calibration | After Multi-Rank Adjustment | |||
---|---|---|---|---|---|---|
Rank 0 | Rank 1 | Rank 0 | Rank 1 | Result | ||
1 | Read latency | 14 | 15 | 14 | 14 | Pass |
Coarse taps | 8 | 6 | 8 | 10 | ||
2 | Read latency | 22 | 21 | 21 | 21 | Pass |
Coarse taps | 6 | 9 | 10 | 9 | ||
3 | Read latency | 10 | 15 | N/A | N/A | Error |
Coarse taps | 9 | 9 | N/A | N/A | ||
4 | Read latency | 10 | 11 | 10 | 10 | Error |
Coarse taps | 6 | 9 | 6 | 13 |