Memory Debug: Tcl Usage - 1.0 English

Versal ACAP Programmable Network on Chip and Integrated Memory Controller LogiCORE IP Product Guide (PG313)

Document ID
PG313
Release Date
2022-12-14
Version
1.0 English

The following Tcl commands are available from the Vivado Tcl Console when connected to the hardware in Hardware Manager.

get_hw_ddrmcs
This command returns a list of all the integrated memory controllers. Use this command with ‘lindex’ to select an item in the list.
refresh_hw_device
This command refreshes the whole device and all debug cores if no target is provided.
report_property
This command displays all the properties for a given target.

For example, to report all of the properties for the second enabled DDRMC:

report_property [lindex [ get_hw_ddrmcs] 1 ]
Note: The memory controller numbering in Hardware Manager starts from 1, but the Tcl lindex command starts from 0. If there are two enabled DDRMCs, their index numbers will be 0 and 1, regardless of their physical location on the ACAP device.
report_hw_ddrmc
This command provides a formatted text output summarizing data that is provided in the GUI.

Following is an example of the output.

Figure 1. report_hw_ddrmc