21.13.1.7 debug_ddr
(Ask a Question)Description
This Tcl command retrieves/gets the training data from the Training IP and displays the status of different stages of training along with the eye width chart.
debug_ddr [-ddr_type type_of_ddr] \
[-data_width width] \
[-slot memory_slot] \
[-inst_path ddr_instance_path_from_top] \
[-frequency frequency]
debug_ddr [-deviceName "device name"] \
-ddr_type "DDR Type" \
-data_width "integer value" \
-slot "DDR Slot" -inst_path \
"Instace Path from Top" \
-frequency "decimal value"
Arguments
Parameter | Type | Description |
---|---|---|
ddr_type | string | Specifies DDR type. Supported DDR types are: DDR4/DDR3/LPDDR4. |
data_width | integer | Specify data width. Supported data widths are 16, 32, and 64. |
slot | string | Slot that is used for the memory (for example, NORTH_NE/NORTH_NW). |
inst_path | string | The instance path is from top module. |
frequency | double | Specifies frequency in MHz. |
Return Type | Description |
---|---|
None | None |
Error Codes
Error Code | Description |
---|---|
None | Required parameter 'ddr_type' is missing. |
None | Required parameter 'data_width' is missing. |
None | data_width: Invalid argument value: 'data' (expecting integer value). |
None | frequency: Invalid argument value: expecting decimal value. |
None | DDR Debug: Valid values for "-ddr_type" parameter are DDR3, DDR4, LPDDR3. Provided value is a Error: . |
None | DDR Debug: Valid values for "-ddr_width" parameter for DDR3 are 16, 32 and 64. |
None | Parameter 'param_name' is not defined. Valid command formatting is 'debug_ddr [-deviceName "device name"] -ddr_type "DDR Type" -data_width "integer value" -slot "DDR Slot" -inst_path "Instace Path from Top" -frequency "decimal value" '. |
Supported Families
PolarFire |
PolarFire SoC |
Example
This example gets the training data from the Training IP and displays the status of different stages of training along with the eye width chart:
debug_ddr -ddr_type {DDR4} -data_width 32 -slot {NORTH_NE} \
-inst_path {PF_DDR4_C0_0} -frequency 800.00
See Also
ddr_read
ddr_write