Syntax |
sim write_to_memory <hpath> <address> <data> |
Arguments |
<hpath> |
The hierarchical name of the logic memory.
|
<address> |
The address of the memory word (or data record) to which you want to write.
|
<data> |
The memory word (or data record) you want to write to the word or record specified by <address>.
|
|
Return Value |
Code Name |
Code |
String Return |
TCL_OK |
0 |
Written memory word |
TCL_ERROR |
1 |
Memory not found: <hpath> |
TCL_ERROR |
1 |
Address larger than memory depth |
TCL_ERROR |
1 |
simulator is not running |
TCL_ERROR |
1 |
wrong # args: should be "write_to_memory hpath address data" |
|
Description |
Writes the specified memory word (or data record) to the specified memory address of the specified memory. |