Visible to Intel only — GUID: reference_TCL_tcl_pkg_insystem_memory_edit_ver_1_0_cmd_read_content_from_memory
Ixiasoft
Visible to Intel only — GUID: reference_TCL_tcl_pkg_insystem_memory_edit_ver_1_0_cmd_read_content_from_memory
Ixiasoft
3.1.13.4. read_content_from_memory (::quartus::insystem_memory_edit)
The following table displays information for the read_content_from_memory Tcl command:
Tcl Package and Version | Belongs to ::quartus::insystem_memory_edit |
||
Syntax | read_content_from_memory [-h | -help] [-long_help] [-content_in_hex] -instance_index <instance index> -start_address <starting address> [-timeout <timeout> ] -word_count <word count> | ||
Arguments | -h | -help | Short help | |
-long_help | Long help with examples and possible return values | ||
-content_in_hex | The memory content string is represented in hexadecimal format | ||
-instance_index <instance index> | Index of the editable memory instance to read | ||
-start_address <starting address> | The lowest memory address to be read | ||
-timeout <timeout> | amount of time in milliseconds allocated before read times out. Defaults to 10 seconds | ||
-word_count <word count> | The number of contiguous memory words to be read | ||
Description | Retrieves the memory content represented in the bit stream from the specified editable memory instance starting from the specified address. The memory content string is in the same format as the input content string in the TCL command write_content_to_memory. |
||
Example Usage | |
||
Return Value | Code Name | Code | String Return |
TCL_OK | 0 | INFO: Operation successful | |
TCL_ERROR | 1 | ERROR: A memory edit sequence has not been started. | |
TCL_ERROR | 1 | ERROR: The specified word count and the starting address exceeds the specified memory buffer size. | |
TCL_ERROR | 1 | ERROR: The specified editable memory instance index is invalid. | |
TCL_ERROR | 1 | ERROR: JTAG communication error is detected. It can be caused by the hardware failure or poor signal integrity in the JTAG chain. | |
TCL_ERROR | 1 | ERROR: The device is locked by another application. |