Syntax |
sim read_from_memory <hpath> <address> |
Arguments |
<hpath> |
The hierarchical name of the logic memory.
|
<address> |
The address of the memory word (or data record) to be read.
|
|
Return Value |
Code Name |
Code |
String Return |
TCL_OK |
0 |
<path> |
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 "read_from_memory hpath address" |
|
Description |
Reads the content of the specified memory address or record of the specified logical memory. |