• Various configuration accesses after the link is initialized
• Setup of the DMA controller to read data from the Transaction Layer Direct BFM’s shared memory
• Setup of the DMA controller to write the same data back to the Transaction Layer Direct BFM’s shared
memory
• Data comparison and report of any mismatch
Running a Gate-Level Simulation
The PCI Express testbenches run simulations at the register transfer level (RTL). However, it is possible to
create your own gate-level simulations. Contact your Altera Sales Representative for instructions and an
example that illustrates how to create a gate-level simulation from the RTL testbench.
Generating Synthesis Files
1. On the Generate menu, select Generate HDL.
2. For Create HDL design files for synthesis, select Verilog.
You can leave the default settings for all other items.
3. Click Generate to generate files for synthesis.
4. Click Finish when the generation completes.
Creating a Quartus Prime Project
You can create a new Quartus Prime project with the New Project Wizard, which helps you specify the
working directory for the project, assign the project name, and designate the name of the top-level design
entity.
1. On the Quartus Prime File menu, click then New Project Wizard, then Next.
2. Click Next in the New Project Wizard: Introduction (The introduction does not appear if you
previously turned it off.)
3. On the Directory, Name, Top-Level Entity page, enter the following information:
a. For What is the working directory for this project, browse to
<project_dir>/ep_g3x8_avmm256_
integrated/
.
b. For What is the name of this project? browse to the
<project_dir>/ep_g3x8_avmm256_integrated/
synth
directory and select
ep_g3x8_avmm256_integrated.v
.
c. Click Next.
4. For Project Type select Empty project.
5. Click Next.
6. On the Add Files page, add
<project_dir>/ep_g3x8_avmm256_integrated/synth/ep_g3x8_avmm256_
integrated.qip
to your Quartus Prime project.Click
7. Click Next to display the Family & Device Settings page.
8. On the Device page, choose the following target device family and options:
UG-01145_avmm_dma
2015.11.02
Running a Gate-Level Simulation
3-5
Getting Started with the Avalon-MM DMA
Altera Corporation
Send Feedback