Xilinx PCI-X v5.1 Computer Hardware User Manual


 
PCI-X v5.1 165 Getting Started Guide www.xilinx.com 47
UG158 March 24, 2008
Mentor Graphics ModelSim
R
3. Invoke ModelSim, and ensure that the current directory is set to:
<Install Path>/vhdl/example/post_sim
4. Create the SimPrim and UniSim libraries. This step only needs to be done once, the
first time you perform a simulation:
vlib simprim
vcom -93 -work simprim <Xilinx Install
Path>/vhdl/src/simprims/simprim_Vpackage_mti.vhd
vcom -93 -work simprim <Xilinx Install
Path>/vhdl/src/simprims/simprim_Vcomponents_mti.vhd
vcom -93 -work simprim <Xilinx Install
Path>/vhdl/src/simprims/simprim_VITAL_mti.vhd
vlib unisim
vcom -93 -work unisim <Xilinx Install
Path>/vhdl/src/unisims/unisim_VPKG.vhd
vcom -93 -work unisim <Xilinx Install
Path>/vhdl/src/unisims/unisim_VCOMP.vhd
vcom -93 -work unisim <Xilinx Install
Path>/vhdl/src/unisims/unisim_VITAL.vhd
5. To run the simulation:
do modelsim.do
This compiles all modules, loads them into the simulator, displays the waveform
viewer, and runs the simulation.