Scripting

sim get_time (Tcl Script API Function)



The sim get_time function has the following format:

Syntax sim get_time
Arguments
None.  

Return Value

Code Name Code String Return
TCL_OK 0 <simulation time>
TCL_ERROR 1 simulator is not running
TCL_ERROR 1 wrong # args: should be "get_time"
Description Returns the amount of time, in nanoseconds, the current simulation has been running. Can be used only after simulation is initialized (for example, after you have executed the sim initialize function).


Back to Top

- PLDWorld -

 

Created by chm2web html help conversion utility.