beautypg.com

Xilinx LogiCore PCI v3.0 User Manual

Page 57

background image

PCI v3.0.151 Getting Started Guide

www.xilinx.com

57

UG157 August 31, 2005

Model Technology ModelSim

R

cp ../xilinx/pcim_top_routed.sdf .

2.

View the ping.files file. This file lists the individual source files required, and is
shown below:

./pcim_top_routed.vhd

../source/busrecord.vhd

../source/dumb_arbiter.vhd

../source/dumb_targ32.vhd

../source/dumb_targ64.vhd

../source/stimulus.vhd

../source/ping_tb.vhd

3.

Invoke ModelSim, and ensure that the current directory is set to:

/vhdl/example/post_sim

4.

Create the simprim library. This step is required only once, the first time you perform
a simulation:

vlib simprim

vcom -93 -work simprim

Path>/vhdl/src/simprims/simprim_Vpackage_mti.vhd

vcom -93 -work simprim

Path>/vhdl/src/simprims/simprim_Vcomponents_mti.vhd

vcom -93 -work simprim

Path>/vhdl/src/simprims/simprim_VITAL_mti.vhd

5.

Type the following to run the simulation:

do modelsim.do

This step compiles all modules, loads them into the simulator, displays the waveform
viewer, and runs the simulation.