The document describes the basic steps to compile and simulate a design using the command line in VHDL. It involves creating a physical library directory with vlib, mapping it with vmap, compiling the design with vcom, invoking the simulator with vsim, adding signals to the waveform view, running and restarting the simulation, and quitting the simulator.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
30 views
Modelsim Commands
The document describes the basic steps to compile and simulate a design using the command line in VHDL. It involves creating a physical library directory with vlib, mapping it with vmap, compiling the design with vcom, invoking the simulator with vsim, adding signals to the waveform view, running and restarting the simulation, and quitting the simulator.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
Command line operation
Creating a compilation library Create a physical compilation directory with vlib:
vlib ./work vmap work ./work
Create a logical name for the physical directory with vmap:
Compiling your design
vcom mux.vhd
Invoking the simulator
vsim work.T_MUX
Simulator User Unterface
view * view wave
Add signals in the waveform window add wave /t_mux/uut/* Running the simulation run 100 ns Restart the simulation restart f Quitting the simulator quit -sim