Technical data

Basic VHDL simulation
80
-
Tutorial: Using ModelSim PE Getting Started with ModelSim PE
If you click Cancel, the dialog box is closed and you remain in the same working directory as
before. You must click the
OK
button to actually change to a different directory.
Using the
File > Directory
menu command is the same as entering the
cd
(change directory)
command at the Model
Sim
prompt in the Transcript window. In fact, the following command
is echoed in the Transcript window:
cd C:\modelsim\examples
Step 3.
Before you can compile a VHDL source file, you need to create a design library to hold the
compilation results. Pull down the
Library
menu and select
New
. This brings up a dialog box
that prompts you to enter the name of the new VHDL library.
Enter the name
work
and click
Create
.
The command is echoed in the Transcript window:
vlib work