Scripting

sim get_memory_width (Tcl Script API Function)



The sim get_memory_width function has the following format:

Syntax sim get_memory_width <hpath>
Arguments

<hpath>

The hierarchical name of the logic memory.

Return Value

Code Name Code String Return
TCL_OK 0 <width 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_width hpath"
Description Returns the width (number of bits per memory word) of the specified logic memory.


Back to Top

- PLDWorld -

 

Created by chm2web html help conversion utility.