Simulation in the quartus ii software – Altera PCI Compiler User Manual

Page 45

Advertising
background image

Altera Corporation

User Guide Version 11.1

1–11

October 2011

PCI Compiler

Getting Started

Simulation in the Quartus II Software

Altera provides Vector Waveform Files (.vwf) for each of the PCI
MegaCore functions to perform functional simulation in the Quartus II
software. The .vwf files are provided in the subdirectories at <path>\
pci_compiler\megawizard_flow\qexamples\

<PCI MegaCore

function>\sim. For an explanation of the provided .vwf files, refer to

“The

Quartus II Simulation Files” on page 1–12

.

This user guide explains the behavior and usage of the PCI MegaCore
functions for the most common PCI transactions. You can use the .vwf
files to further understand the local-side behavior of a PCI MegaCore
function for different PCI bus conditions. In addition, you can modify the
provided .vwf files to simulate other scenarios of interest.

1

This procedure demonstrates functional simulation in the
Quartus II software of a pci_mt64 MegaCore function
variation. You can also use this procedure for the pci_mt32,
pci_t32

and pci_t64 MegaCore functions.

To perform functional simulation in the Quartus II software, perform
these steps:

1.

Go to the <path>\pci_compiler\megawizard_flow\
qexamples\pci_mt64

directory.

2.

Open the Quartus II project by double-clicking on pci_top.qpf.

1

This Quartus II project contains a PCI MegaCore function
variation with the parameter settings required to simulate
the included .vwf files successfully. For a description of the
parameter settings required to simulate the included .vwf
files, refer to

“The Quartus II Simulation Files” on

page 1–12

.

3.

Choose Generate Functional Simulation Netlist (Processing
menu).

The Quartus II software may issue several warning messages,
including messages indicating that one or more registers are stuck at
ground. These warning messages are due to parameter settings and
can be ignored.

4.

After compilation has finished successfully, choose Simulator Tool
(Processing Menu).

5.

In the Simulation mode list, select Functional.

Advertising