BugHunter Pro and the VeriLogger Simulators

db_getbasictype

db_getbasictype

Previous topic Next topic  

db_getbasictype

Previous topic Next topic  

Prints the basic type of the given object.

Syntax:

$db_getbasictype( objectname )

Outputs an error if the object cannot be found or if the type cannot be retrieved. Otherwise, if successful, it prints a string with the following format, where the basic type is either variable, net, port, reg, or other.

"FullObjectName : basictype"

Arguments:

char* objectname;    // path and name of the object