User`s manual
10-250 Tcl and ModelSim ModelSim Xilinx User’s Manual
VSIM Tcl commands
These additional VSIM commands enhance the interface between Tcl and 
ModelSim, Only brief descriptions are provided here; for more information and 
command syntax see the "ModelSim Commands" 
(CR-11). 
ModelSim Tcl time commands
ModelSim Tcl time commands make simulator-time-based values available for 
use within other Tcl procedures.
Time values may optionally contain a units specifier where the intervening space 
is also optional. If the space is present, the value must be quoted (e.g. 10ns, 
"10 ns"). Time values without units are taken to be in the UserTimeScale. Return 
values are always in the current Time Scale Units. All time values are converted 
to a 64-bit integer value in the current Time Scale. This means that values smaller 
than the current Time Scale will be truncated to 0.
Command Description
alias 
(CR-28) creates a new Tcl procedure that evaluates the specified 
commands; used to create a user-defined alias
lecho 
(CR-61) takes one or more Tcl lists as arguments and pretty-prints 
them to the VSIM Main window
lshift 
(CR-64) takes a Tcl list as argument and shifts it in-place one place 
to the left, eliminating the 0th element
lsublist 
(CR-65) returns a sublist of the specified Tcl list that matches the 
specified Tcl glob pattern
project 
(CR-76) echoes to the VSIM Main window the current names and 
values of all environment variables










