beautypg.com

Altera DDR SDRAM Controller User Manual

Page 15

background image

Chapter 2: Getting Started

2–5

SOPC Builder Design Flow

© March 2009

Altera Corporation

DDR and DDR2 SDRAM Controller Compiler User Guide

6. Turn on Advanced Mode, and click the Project Settings tab.

7. Ensure Update the example design file that instantiates the controller variation

is turned on, so that the IP Toolbench automatically updates the example design
and the testbench.

Constraints

To choose the constraints for your device, follow these steps:

1

If you chose to target an Altera board, all the constraint settings are correct for that
board.

1. Click Step 2: Constraints.

2. Select the positions on the device for each of the DDR SDRAM byte groups. To

place a byte group, select the byte group in the drop-down menu at your chosen
position.

1

The floorplan matches the orientation of the Quartus II floorplanner. The
layout represents the die as viewed from above. A byte group consists of
four or eight DQ pins, a DM pin, and a DQS pin.

1

IP Toolbench chooses the correct positions, if you are using an Altera board
preset.

Add/Update Component

To add or update the component and generate the system, follow these steps:

1. Click Step 3: Add/Update Component, to add the custom variation to SOPC

Builder.

2. SOPC Builder uses the module name (default ddr_sdram_0) for the variation

name of your DDR or DDR2 SDRAM Controller. You can change this name if you
want to.

3. In SOPC Builder, create the rest of your SOPC Builder system.

4. Optional. Click the System Generation tab and turn on Simulation. Create

project simulator files.

to create simulation files for your project.

c

Only use these simulation model output files for simulation purposes and expressly
not for synthesis or any other purposes. Using these models for synthesis creates a
nonfunctional design.

f

For more information on the Nios II simulation flow, refer to

volume 4

of the Quartus

II Handbook.

5. On the System Generation tab, click Generate.

1

Before you click Generate, you must add at least one Avalon-MM master to
your system.

This manual is related to the following products: