Altera RAM Initializer User Manual

Page 3

Advertising
background image

Altera Corporation

iii

RAM Initializer (ALTMEM_INIT) Megafunction User Guide

Contents

About this User Guide ............................................................................. v

Revision History ........................................................................................................................................ v
Referenced Documents ............................................................................................................................. v
How to Contact Altera .............................................................................................................................. v
Typographic Conventions ...................................................................................................................... vi

Chapter 1. About this Megafunction

Device Family Support ......................................................................................................................... 1–1
Introduction ............................................................................................................................................ 1–1
Features ................................................................................................................................................... 1–2
General Description ............................................................................................................................... 1–3

Chapter 2. Getting Started

Software and System Requirements ................................................................................................... 2–1
MegaWizard Plug-In Manager Customization ................................................................................. 2–1
MegaWizard Plug-In Manager Page Descriptions ........................................................................... 2–2
Instantiating Megafunctions in HDL Code or Schematic Designs ................................................. 2–8

Generating a Netlist for EDA Tool Use ......................................................................................... 2–8
Using the Port and Parameter Definitions .................................................................................... 2–9

Identifying a Megafunction after Compilation ................................................................................. 2–9
Simulation ............................................................................................................................................... 2–9

Quartus II Software Simulator ....................................................................................................... 2–9
EDA Simulator ................................................................................................................................ 2–10

Design Example 1: RAM Initialization with Initialization Data File ........................................... 2–10

Design Files ..................................................................................................................................... 2–10
Configuration Settings ................................................................................................................... 2–11
Functional Simulation in the ModelSim-Altera Simulator ...................................................... 2–11
Understanding the Simulation Results ....................................................................................... 2–12

Design Example 2: Memory Initialization with External ROM .................................................... 2–15

Design Files ..................................................................................................................................... 2–15
Configuration Settings ................................................................................................................... 2–16
Functional Simulation in the ModelSim-Altera Simulator ...................................................... 2–16
Understanding the Simulation Results ....................................................................................... 2–17

Conclusion ............................................................................................................................................ 2–19

Chapter 3. Specifications

Ports and Parameters ............................................................................................................................ 3–1

Advertising