Loading and Running Tcl Scripts
To run a Tcl script, you must first load it.
Loading Tcl Scripts
Examples
The following example loads a Tcl script from the directory where you started the tool.
source myscript.Tcl
The following example loads a Tcl script from your home directory.
source ~/myscript.Tcl
The following example loads a Tcl script from your PC’s F: drive.
source f:/projectdir/myscript.Tcl
Running Tcl Scripts
You can run Tcl scripts from the command line or from a bindkey.
script_file_name[arguments]
Example
search_design NAND2 50
Related Topics
Examples of Tcl Core Commands and Virtuoso Space-based Router Commands
Return to top