Xilinx PCI v3.0 manual Model Technology ModelSim, source/pingtb.vhd

Models: PCI v3.0

1 58
Download 58 pages 41.49 Kb
Page 57
Image 57
./pcim_top_routed.vhd

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:

<Install Path>/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 <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

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.

PCI v3.0.151 Getting Started Guide

www.xilinx.com

57

UG157 August 31, 2005

Page 57
Image 57
Xilinx PCI v3.0 manual Model Technology ModelSim, pcimtoprouted.vhd source/busrecord.vhd source/dumbarbiter.vhd