BugHunter Pro and the VeriLogger Simulators

db_getvalue

db_getvalue

Previous topic Next topic  

db_getvalue

Previous topic Next topic  

Outputs the value of a specified signal. This command will output a TState or TExState depending on the type. The signal name can be relative to the current interactive scope (retrieved by calling db_printcurrentscope), or an absolute path from the top of the hierarchy.  It will first attempt to find the signal name relative to the current interactive scope. "simple" will be output in parenthesis if the state represents a TState. "exstate" will be output in parenthesis if the state represents a TExState.

Syntax:

$getvalue( signalname )

Outputs an error if the signal cannot be found or if the value cannot be retrieved. Otherwise, if successful, it outputs a string in the following format:

"FullSignalName = value <simple|exstate>"

Arguments:

handle signalname;    // signal name with path