You can set Tcl variables to help debug your design. In addition to user-defined variables, the simulator includes several predefined Tcl variables that you can use to control various simulator features. You can do any of the following:
- Set a variable or change the value of a variable using the built-in Tcl
setcommand:xcelium> set abc 10xcelium> set vlog_format %b
- Delete a variable using the
unsetcommand:xcelium> unset abc - Display a list of predefined simulation variables and their current values using the
help-variablescommand:xcelium> help -variables -
Display a list of all currently set variables using the
info varscommand:xcelium> info varsThis command does not display variable values.
You can put variable definitions in an input file and then execute the commands in this file using the -input option when you start the simulator. You can also execute these commands using the Tcl source command or choosing File - Source Command Script after invoking the simulator.
