Scripting

sim get_memory_depth (Tcl Script API Function)



The sim get_memory_depth function has the following format:

Syntax sim get_memory_depth <hpath>
Arguments

<hpath>

The hierarchical name of the logic memory.

Return Value

Code Name Code String Return
TCL_OK 0 <depth of memory>
TCL_ERROR 1 Memory not found: <hpath>
TCL_ERROR 1 simulator is not running
TCL_ERROR 1 wrong # args: should be "get_memory_depth hpath"
Description Returns the depth (number of words or addresses) of the specified logic memory.


Back to Top

- PLDWorld -

 

Created by chm2web html help conversion utility.