• A Root Port BFM.
Note: This Root Port BFM provides a simple method to do basic testing of the Application Layer logic
that interfaces to the variation. However, the testbench and Root Port BFM are not intended to
be a substitute for a full verification environment. To thoroughly test your application, Altera
suggests that you obtain commercially available PCI Express verification IP and tools, or do
your own extensive hardware testing or both.
• A testbench driver that configures the Root Port, Endpoint, and programs the DMA to transfer data to
and from the On-Chip memory and Host Memory.
• A testbench monitor that checks expected results.
• The Arria 10 Hard IP for PCI Express Endpoint with the Instantiate internal descriptor controller
parameter enabled.
The automatically generated testbench performs downstream memory reads and writes. You can edit the
testbench parameters in
pcie_example_design_tb.v
to create a testbench that illustrates the following more
advanced DMA features:
• Host allocation of memory
• Descriptor instructions
• Upstream memory reads and writes
The simulation reports, "Simulation stopped due to successful completion" if no errors occur. The log file,
altpcie_monitor_a10_dlhip_tlp_file_log.log records each TLP for both the initial configuration of the
Root Port BFM, PCIe Endpoint, and the test program.
UG-01145_avmm_dma
2015.11.02
Design Components for the Avalon-MM with DMA Testbench
2-3
Arria 10 PCI Express Quick Start Guide
Altera Corporation
Send Feedback