DDR and DDR2 SDRAM Controller Compiler User Guide
Total Page:16
File Type:pdf, Size:1020Kb
DDR and DDR2 SDRAM Controller Compiler User Guide 101 Innovation Drive Software Version: 9.0 San Jose, CA 95134 Document Date: March 2009 www.altera.com Copyright © 2009 Altera Corporation. All rights reserved. Altera, The Programmable Solutions Company, the stylized Altera logo, specific device designations, and all other words and logos that are identified as trademarks and/or service marks are, unless noted otherwise, the trademarks and service marks of Altera Corporation in the U.S. and other countries. All other product or service names are the property of their respective holders. Altera products are protected under numerous U.S. and foreign patents and pending ap- plications, maskwork rights, and copyrights. Altera warrants performance of its semiconductor products to current specifications in accordance with Altera's standard warranty, but reserves the right to make changes to any products and services at any time without notice. Altera assumes no responsibility or liability arising out of the application or use of any information, product, or service described herein except as expressly agreed to in writing by Altera Corporation. Altera customers are advised to obtain the latest version of device specifications before relying on any published information and before placing orders for products or services. UG-DDRSDRAM-10.0 Contents Chapter 1. About This Compiler Release Information . 1–1 Device Family Support . 1–1 Features . 1–2 General Description . 1–2 Performance and Resource Utilization . 1–4 Installation and Licensing . 1–5 OpenCore Plus Evaluation . 1–6 Chapter 2. Getting Started Design Flow . 2–1 SOPC Builder Design Flow . 2–1 DDR & DDR2 SDRAM Controller Walkthrough . 2–2 Create Your Top-Level Design . 2–6 Simulate the SOPC Builder Design . 2–6 Compile the SOPC Builder Design . 2–6 Program a Device . 2–8 MegaWizard Plug-In Manager Design Flow . 2–8 DDR & DDR2 SDRAM Controller Walkthrough . 2–9 Simulate the Example Design . 2–17 Compile the Example Design . 2–22 Program a Device . 2–24 Implement Your Design . 2–24 Set Up Licensing . 2–25 Chapter 3. Functional Description Block Description . 3–1 Control Logic . 3–1 Datapath . 3–2 OpenCore Plus Time-Out Behavior . 3–3 Device-Level Description . 3–4 Datapath . 3–4 PLL Configurations . 3–13 DLL Configurations . 3–16 Example Design . 3–16 Constraints . 3–18 Interfaces & Signals . 3–19 Interface Description . 3–19 Signals . 3–28 Parameters . 3–31 Memory . 3–32 Controller . 3–33 Controller Timings . 3–37 Memory Timings . 3–38 Board Timings . 3–39 Project Settings . 3–40 Manual Timings . 3–41 © March 2009 Altera Corporation DDR and DDR2 SDRAM Controller Compiler User Guide iv MegaCore Verification . 3–41 Simulation Testing . 3–41 Hardware Testing . 3–41 Appendix A. Manual Timing Settings Parameters . A–1 Resynchronization . A–4 Resynchronization Registers . A–5 Intermediate Resynchronization Registers . ..