Understanding Calibration Status - 1.0 English

Versal Adaptive SoC Soft DDR4 SDRAM Memory Controller LogiCORE IP Product Guide (PG353)

Document ID
PG353
Release Date
2023-10-18
Version
1.0 English

The value of CAL_POINTER can be used to determine which stages of calibration have passed. The first six bits [5:0] represent the calibration stage and the higher three bits [8:6] represent its status. See the following tables for calibration stage decoding and calibration stage status decoding.

Table 1. CAL_POINTER Calibration Stage Decoding
XSDB Reg Name XSDB Bit [5:0] Calibration Stage
CAL_POINTER 0x00 PHY_BISC
0x01 MEM_INIT
0x04 LRDIMM_DB_MREP
0x05 LRDIMM_DB_MRD_CYCLE
0x06 LRDIMM_DB_MRD_CENTER
0x07 LRDIMM_DB_DWL
0x08 LRDIMM_DB_MWD_CYCLE
0x09 LRDIMM_DB_MWD_CENTER
0x0A DQS_GATE_CAL
0X0B READ_DQ_CAL
0X0C WRITE_LEVELING
0X0D WRITE_DQ_DBI_CAL
0X0E WRITE_LATENCY_CAL
0X0F READ_DBI_CAL
0X10 READ_DQ_VREF_CAL
0X11 READ_DQ_DBI_CAL_COMPLEX
0X12 WRITE_DQ_VREF_CAL
0X13 WRITE_DQ_DBI_CAL_COMPLEX
0X1C EN_VT_TRACK
0X1D READ_DQS_TRACK
0X1F CAL_DONE
Table 2. CAL_POINTER Calibration Stage Status Decoding
XSDB Reg Name XSDB Bit [8:6] Calibration Status Description
CAL_POINTER 0 Calibration is enabled and yet to start this stage.
1 Calibration to skip. It can be due to any of the following reasons.
  • Calibration stage is invalid.
  • Calibration stage is valid, but it can be skipped due to low frequency of operation.
  • Calibration stage is valid, but it can be skipped in functional simulations to cut down simulation times.
2 Calibration to load. Calibration stage is valid and values need to be loaded. This is to cut down simulation time in functional simulations to re-run the simulations quickly.
3 Calibration in progress
4 Calibration skipped
5 Calibration loaded
6 Calibration passed
7 Calibration failed