VREF Calibration - VREF Calibration - 1.0 English - PG456

Integrated DDR5/LPDDR5/5X Memory Controller LogiCORE IP Product Guide (PG456)

Document_ID
PG456
Release_Date
2026-08-07
Version
1.0 English

The algorithm is common across the following calibration stages:

  • CS/CA Vref calibration
  • Read DQ Vref calibration
  • Write DQ Vref calibration

The VREF calibration stage center aligns the VREF level with respect to available data eye height. During the calibration sequence a separate data valid window is computed for 0 as expected sample and separate window for 1 as expected sample. These two valid windows are compared and the VREF level is increased or decreased or called done.

If the expected 'sample 0' valid window is greater than the expected 'sample 1' valid window, it means the VREF level is above the center level. In this case the VREF level is reduced by one step and the windows are calculated again at the new VREF level.

If the expected 'sample 1' valid window is greater than the expected 'sample 0' valid window, it means the VREF level is below the center level. In this case the VREF level is increased by one step and again the windows are calculated at the new VREF level.

The VREF level is increased/decreased until the difference between the two valid windows reduces within some tolerance. After this condition is met, VREF calibration is complete and at this VREF the window centering is performed. If the two valid windows difference does not reduce within the tolerance then a VREF calibration error is thrown.