Technical data
Basic VHDL simulation
82
-
Tutorial: Using ModelSim PE Getting Started with ModelSim PE
Step 6.
Next, compile the VHDL source file named
counter.vhd
. To do this, pull down the
File
menu
and select
Compile VHDL
.
This brings up the
Compile VHDL Source dialog box. For now, click
Done
.
Step 7.
Press the
VCOM
button on the tool bar. The same dialog box appears. Now select the VHDL
source file for the counter, named
counter.vhd,
and then click
Compile
.
When you click
Compile
, the VHDL compiler is invoked and generates the messages shown
below unless it encounters errors.
During compilation, the Model
Sim
prompt is not displayed. You will know that the compiler
is finished when the Model
Sim
prompt returns to the Transcript window command line.