External Memory Interfaces Intel® Agilex™ FPGA IP User Guide

ID 683216
Date 3/28/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

11.10.4.2. Debug Enums

This topic describes enums used in the debug data structures.

ENUM_CAL_ERROR

Entry Value
SUCCESS 0
CALIBRATION_FAILED 1
MALLOC_ERROR 2
RIGHT_EDGE_NOT_FOUND 11
HARDWARE_TIMEOUT 12
REFRESH_MISSED 13
BAD_LOCK_SPEED 14
RANK_SKEW_TOO_LARGE 15

ENUM_CAL_INIT_MODE

Entry Value Behavior if this is the Value of Field
FULL_RECAL 3 Full re-calibration. Mostly same as power up calibration. Sequencer does not have to reset. Typical recalibration requests should use this option.
SKIP_INIT_VREF 6 No vref init.

ENUM_CAL_STAGE

Entry Value
NIL 0
CA_LEVEL 1
CA_DESKEW 2
DQS_EN 3
READ_DESKEW 4
WRITE_LEVEL 5
WRITE_DESKEW 6
LFIFO 7
CA_RANK_CENTER 8
VREF_IN 9
VREF_OUT 10
CTLE_IN 11
CTLE_OUT 12
CLEANUP 13

ENUM_DEBUG_INTERFACE_COMMAND_STATUS_CODES

Entry Value Meaning
TX_STATUS_CMD_READY 0 Interface ready to accept commands.
TX_STATUS_CMD_EXE 1 Response not ready as command is being executed.
TX_STATUS_ILLEGAL_CMD 2 Illegal command received.
TX_STATUS_RESPONSE_READY 3 Response ready.

ENUM_DEBUG_INTERFACE_COMMANDS

Entry Value Command Description
CMD_WAIT_CMD 1000 The wait command. When the debug data command is set to CMD_WAIT_CMD and the status is TX_STATUS_CMD_READY, the interface is ready to accept commands from user.
CMD_NOP 0 No operation command.
CMD_RESPONSE_ACK 1 Command response acknowledged.
RUN_MEM_CALIBRATE 5

Run memory calibration:

command_parameters[0]: Interface ID;

command_parameters[1]: Initialization mode.

MARK_ALL_RANKS_AS_VALID 17 Mark all ranks as being valid for calibration.
MARK_RANK_AS_SKIP 18 Mark a specific rank to be skipped for calibration: command_parameters[0]: Rank to skip.
SET_VREF_IN 26 Set the starting value of VREF IN for the next recalibration: command_parameters[0]: VREF setting.
SET_VREF_OUT 27

Set the starting value of VREF OUT for the next recalibration:

command_parameters[0]: VREF setting.

command_parameters[1]: VREF range.

SET_SKIP_STEPS 30 Set the calibration steps to skip: command_parameters[0]: flags indicating steps to skip (ENUM_DBG_CALIB_SKIP).