User`s manual

10-240 Tcl and ModelSim ModelSim Xilinx Users Manual
Tcl features within ModelSim
Using Tcl with ModelSim gives you these features:
command history (like that in C shells)
full expression evaluation and support for all C-language operators
a full range of math and trig functions
support of lists and arrays
regular expression pattern matching
procedures
the ability to define your own commands
command substitution (that is, commands may be nested)
Tcl References
Tcl print references
Two sources of information about Tcl are Tcl and the Tk Toolkit by John K.
Ousterhout, published by Addison-Wesley Publishing Company, Inc., and
Practical Programming in Tcl and Tk by Brent Welch published by Prentice Hall.
Tcl online references
The following are a few of the many Tcl references available:
When using ModelSim, select Help > Tcl Man Pages from the Main window
menus.
Tcl man pages are also available at: www.elf.org/tcltk-man-html/contents.htm
Tcl/Tk general information is available from the Tcl/Tk Consortium:
www.tclconsortium.org
The Scriptics Corporation, John Ousterhouts company (the original Tcl
developer): www.scriptics.com
.