Scripting

sim print (Tcl Script API Function)



The sim print function has the following format:

Syntax sim print <type> <string>
Arguments

<type>

The type of message you want to display. This argument must be one of three values: info, warning, or error.

<string>

The string you want to display as the message.

Return Value

Code Name Code String Return
TCL_OK 0 OK
TCL_ERROR 1 simulator is not running
TCL_ERROR 1 wrong # args: should be "print info|warning|error string"
Description Displays the specified string as a message of the specified type.


Back to Top

- PLDWorld -

 

Created by chm2web html help conversion utility.