Scripting

sim get_value (Tcl Script API Function)



The sim get_value function has the following format:

Syntax sim get_value <hpath>
Arguments
<hpath> The hierarchical name of the signal.
Return Value
Code Name Code String Return
TCL_OK 0 <current value>
TCL_ERROR 1 Signal not found: <hpath>
TCL_ERROR 1 simulator is not running
TCL_ERROR 1 wrong # args: should be "get_value hpath"
Description Returns the value of the specified signal.


Back to Top

- PLDWorld -

 

Created by chm2web html help conversion utility.