beautypg.com

Fer to, Parameterize” on – Altera DDR SDRAM Controller User Manual

Page 21

background image

Chapter 2: Getting Started

2–11

MegaWizard Plug-In Manager Design Flow

© March 2009

Altera Corporation

DDR and DDR2 SDRAM Controller Compiler User Guide

Launch IP Toolbench from the MegaWizard Plug-In Manager

To launch the wizard in the Quartus II software, follow these steps:

1. Start the MegaWizard Plug-In Manager by choosing the MegaWizard Plug-In

Manager

command (Tools menu). The MegaWizard Plug-In Manager dialog box

displays.

1

Refer to Quartus II Help for more information on how to use the
MegaWizard Plug-In Manager.

2. Specify that you want to create a new custom megafunction variation and click

Next

.

3. Expand the Interfaces > Memory Controllers directory, then click either DDR

SDRAM Controller

v9.0 or DDR2 SDRAM Controller v9.0.

4. Select the output file type for your design; the wizard supports VHDL and Verilog

HDL.

5. The MegaWizard Plug-In Manager shows the project path that you specified in the

New Project Wizard

. Append a variation name for the MegaCore function output

files <project path>\<variation name>.

1

The <variation name> must be a different name from the project name and
the top-level design entity name.

6. Click Next to launch IP Toolbench.

Parameterize

To parameterize your MegaCore function, follow these steps:

f

For more information on the parameters, refer to

“Parameters” on page 3–31

.

1. Click Step 1: Parameterize in IP Toolbench.

2. In the Presets list, click a specific memory device, Altera development board, or

click Custom.

1

You can add your own memory devices to this list by editing the
memory_types.dat

file in the \constraints directory.

3. Enter a Clock Speed in MHz. For example 200.0. The constraints script, timing

analysis, and the datapath use this clock speed. It must be set to the value that you
intend to use. The first time you use the DDR SDRAM controller IP Toolbench or if
you turn on Automatically generate the PLL, it uses this value for the IP
Toolbench-generated PLL’s input and output clocks (refer to

“Edit the PLL” on

page 2–22

).

4. Choose the memory parameters.

a. Choose your memory interface parameters.

b. Choose the memory properties.

c. Select either Registered DIMM or Unbuffered memory.

This manual is related to the following products: