Technical data
Tcl/Tk and ModelSim
6-48   ModelSim EE/SE Tutorial
The result is a traffic intersection interface similar to this illustration:
wm widget
Calls to the 
operating 
system window 
manager to 
create the 
"traffic" 
window.
canvas widget
The background, 
lines and traffic 
lights are created 
with the canvas 
widget.
button widgets
Each button 
invokes the 
indicated VSIM 
run or break 
command. 
label widget
A static label is 
added to the end of 
the connect_lights 
procedure to 
indicate connection 
to the simulator.
entry widget
The entry widget 
(contained within 
a frame widget) 
can facilitate 
entry, or in this 
case, provides a 
display for a VSIM 
examine 
command.
frame and
scale widget
A scale widget 
within a frame 
widget creates 
an analog entry 
device for a 
minimum to a 
maximum value 
and invokes the 
VSIM force 
command










