Compiling and Simulating the Design
Figure 2-7: Procedure
Change to
<
Simulator
>
Directory.
Run
<S
imulation Script
>.
Analyze
Results.
1. Change to the simulation directory.
2. Run the simulation script for the simulator of your choice. Refer to the table below.
3. Analyze the results.
Table 2-1: Steps to Run Simulation
Simulator
Working Directory
Instructions
ModelSim
<example_design>/pcie_example_
design_tb/pcie_example_design_tb/
sim/mentor/
1. To run the DMA design example that demonstrates
both downstream and upstream traffic, open
<example_design>/pcie_example_design_tb/pcie_
example_design_tb/sim/pcie_example_design_tb.v
and
change the value of
apps_type_hwtcl
to 6.
2.
do msim_setup.tcl
3.
ld_debug
4.
run -all
5. A successful simulation ends with the following
message, "Simulation stopped due to successful
completion!"
2-6
Compiling and Simulating the Design
UG-01145_avmm_dma
2015.11.02
Altera Corporation
Arria 10 PCI Express Quick Start Guide
Send Feedback