Scripting

sim force_value (Tcl Script API Function)



The sim force_value function has the following format:

Syntax sim force_value <hpath> <value>
Arguments

<hpath>

The hierarchical name of the signal.

<value>

The value to which you want to force the signal.

Return Value

Code Name Code String Return
TCL_OK 0 <value>
TCL_ERROR 1 Signal not found: <hpath>
TCL_ERROR 1 Illegal value Syntax <value>
TCL_ERROR 1 simulator is not running
TCL_ERROR 1 wrong # args: should be "force_value hpath value"
Description Forces the specified signal to the specified value.


Back to Top

- PLDWorld -

 

Created by chm2web html help conversion utility.