Altera IP Compiler for PCI Express User Manual

Page 304

Advertising
background image

16–16

Chapter 16: Qsys Design Example

Simulating the Qsys System

IP Compiler for PCI Express User Guide

August 2014

Altera Corporation

6. To use a waveform file you set up for a previous simulation run, you must call the

waveform setup file explicitly. If your waveform file name is wave_presets.do, at
the simulator prompt, type the following command:

do wave_presets.do

r

7. To simulate your Qsys system, at the simulator prompt, type the following

command:

run -all

r

The IP Compiler for PCI Express test driver performs a sequence of transactions. The
status of these transactions is displayed in the ModelSim simulation message
window. The test driver performs the following transactions:

Various configuration accesses to the IP Compiler for PCI Express in your system
after the link is initialized

Setup of the Address Translation Table for requests from the DMA component

Setup of the DMA controller to read 512 bytes of data from the Root Port BFM’s
shared memory

Setup of the DMA controller to write the same 512 bytes of data back to the Root
Port BFM’s shared memory

Data comparison and report of any mismatch

After simulation completes successfully, at the ModelSim prompt, type quit to exit the
ModelSim simulator.

Advertising