beautypg.com

Simulate your design – Altera PCI Development Kit, Cyclone II Edition Getting Started User Manual

Page 33

background image

Altera Corporation

Core Version a.b.c variable

2–23

May 2005

PCI Development Kit, Cyclone II Edition Getting Started User Guide

Getting Started

Simulate Your Design

The kit includes a testbench and PCI behavioral models that you use to
simulate your design’s PCI transactions in a third-party simulation tool.

1

This walkthrough uses the Model Technology ModelSim SE
simulator version 6.0 or later, which is not included with the kit.

To simulate the reference design, perform the following steps:

1.

Replace the DDR2 SDRAM simulation model file in the
c:\pci_prototype_example\sim\ddr_model

directory with the

correct simulation model before you simulate. Refer to the kit’s
readme

file for instructions on how to obtain the correct model.

a.

Download the DDR2 SDRAM simulation model package from
the Micron Technology, Inc. web site,

www.micron.com

.

b.

Extract the downloaded package and override any existing files
in c:\pci_prototype_example\sim\ddr_model.

c.

Edit the downloaded ddr2.v and replace “include
ddr2_parameters.v

” with “include

./ddr_model/ddr2_parameters.v

” and then save the edited file.

2.

Run the ModelSim software.

3.

Choose Change Directory (File menu). See

Figure 2–9

.