Visible to Intel only — GUID: reference_TCL_tcl_pkg_insystem_memory_edit_ver_1_0_cmd_write_content_to_memory
Ixiasoft
Visible to Intel only — GUID: reference_TCL_tcl_pkg_insystem_memory_edit_ver_1_0_cmd_write_content_to_memory
Ixiasoft
3.1.13.7. write_content_to_memory (::quartus::insystem_memory_edit)
The following table displays information for the write_content_to_memory Tcl command:
Tcl Package and Version | Belongs to ::quartus::insystem_memory_edit |
||
Syntax | write_content_to_memory [-h | -help] [-long_help] -content <content string> [-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 <content string> | A string that represents all word values concatenated together in order in either binary or hexadecimal format | ||
-content_in_hex | The memory content string is represented in hexadecimal format | ||
-instance_index <instance index> | Index of the editable memory instance to modify | ||
-start_address <starting address> | The lowest memory address to be modified | ||
-timeout <timeout> | amount of time in milliseconds allocated before write times out. Defaults to 10 seconds | ||
-word_count <word count> | The number of contiguous memory words to be modified | ||
Description | Writes the data represented in the bit stream into the specified editable memory instance starting from the specified address. It returns the number of successful writes. The bit stream should be ordered by word from high address to low address, contiguously without gaps or delimiters. If the starting address is ADDR, and word count is N, the order is <word @ ADDR + N - 1> ... <word @ ADDR + 1><word @ ADDR> In each word, the MSB is on the left, LSB is on the right. The bit stream can be in either binary or hexadecimal. For example, if the word width is 8, and two words, 1 and 128, are written to address 0 and 1 respectively, the bitstream should be "1000000000000001" in binary or "8001" in hexadecimal. The TCL command is write_content_to_memory -instance_index 0 -start_address 0 -word_count 2 -content "1000000000000001" or write_content_to_memory -instance_index 0 -start_address 0 -word_count 2 -content "8001" -content_in_hex |
||
Example Usage | |
||
Return Value | Code Name | Code | String Return |
TCL_OK | 0 | INFO: Operation successful | |