R
Chapter 7: Timing Simulation
The Simvision browser may be used to view the simulation results. Simvision is started with the following command:
simvision
Model Technology ModelSim
Before attempting timing simulation, ensure that the ModelSim environment is properly configured for use. In addition, you must have successfully completed the implementation phase using the Xilinx tools.
Verilog
1.Move into the timing simulation directory and copy the
cd <Install Path>/verilog/example/post_sim cp ../xilinx/pcim_top_routed.v .
cp ../xilinx/pcim_top_routed.sdf .
2.Edit the ping_tb.f file. This file lists command line arguments, and is shown below:
../source/ping_tb.v
../source/stimulus.v
../source/busrecord.v
../source/dumb_arbiter.v
../source/dumb_targ32.v
../source/dumb_targ64.v
../source/glbl.v
./pcim_top_routed.v +libext+.vmd+.v
3.Modify the library search path by changing <Xilinx Install Path> to match the Xilinx installation directory. Save the file.
4.Invoke ModelSim, and make sure that the current directory is set to:
<Install Path>/verilog/example/post_sim
5.Type the following to run the simulation: do modelsim.do
This compiles all modules, loads them into the simulator, displays the waveform viewer, and runs the simulation.
VHDL
1.Navigate to the timing simulation directory and copy the
cd <Install Path>/vhdl/example/post_sim
cp ../xilinx/pcim_top_routed.vhd .
56 | www.xilinx.com | PCI v3.0.151 Getting Started Guide |
|
| UG157 August 31, 2005 |