Technical data

Tcl/Tk and ModelSim
ModelSim EE Tutorial ModelSim EE Lessons
-
119
Tk widgets
The intersection illustration points out several Tcl/Tk "widgets". A widget is
simply a user interface element, like a menu or scrolled list. Tk widgets are
referenced within Tcl procedures to create graphic interface objects. The Tk tool
box comes with several widgets, additional widgets can be created using these as
a base.
Controlling the simulation
The components of the intersection interface have the following effect within
Model
Sim
:
Saving time
Since several intersection controls invoke a VSIM command and arguments with
a single action (such as the movement of a slider), this custom interface saves time
compared to invoking the commands from the command line or Model
Sim
menus.
Copies of the ori
g
inal example files
Additional copies of the Tcl example files from these exercises are located in the..
/
examples/tcl_tutorial/originals
directory.
Intersection control used Effect in Model
Sim
Run 1000 button invokes the run command for 1000 ns
Run Forever button invokes the run -all command
Break button invokes the break command
light timing control invokes the force command with the arguments for the
indicated signal and time
arrival time control invokes the force command with the arguments for the
indicated direction and time
waiting queue any time you change a control the examine command is
invoked to display the value of the waiting queue