Technical data

Basic VHDL simulation
ModelSim EE/SE Tutorial 2-25
6 Select the entity counter and choose Load to accept these settings.
7 Now you can open all of the VSIM windows with this Main window menu selection:
View > All.
(PROMPT: view *)
8 To display the top-level signals in the List window, select the Signals window and
make this Signal menu selection: View > List > Signals in Region.
(PROMPT: add list /counter/*)
9Next add top-level signals to the Wave window
with a similar Signals menu selection:
View > Wave > Signals in Region.
(PROMPT: add wave/counter/*)
10You can apply stimulus to the clock input by
moving the pointer to the Main window and
entering the following command at the VSIM
prompt:
force clk 1 50, 0 100 -repeat 100
The force command you just invoked is interpreted by VSIM to mean:
• force clk to the value 1 at 50 ns after the current time
• then to 0 at 100 ns after the current time
• repeat this cycle every 100 ns