Table of Contents
IPUG93_1.2, March 2015 3 DDR & DDR2 for MachXO2 PLD Family User’s Guide
DDR Memory Controller Core Structure ............................................................................................................. 28
Top-level Wrapper...................................................................................................................................... 29
Encrypted Netlist........................................................................................................................................ 29
I/O Modules................................................................................................................................................ 29
Clock Generator ......................................................................................................................................... 29
Parameter File............................................................................................................................................ 29
Core Header File........................................................................................................................................ 29
Preference Files ......................................................................................................................................... 29
Evaluation Project Files.............................................................................................................................. 29
Simulation Files for Core Evaluation ................................................................................................................... 30
Testbench Top ........................................................................................................................................... 30
Obfuscated Core Simulation Model ........................................................................................................... 30
Command Generator ................................................................................................................................. 30
Monitor ....................................................................................................................................................... 30
TB Configuration Parameter ...................................................................................................................... 31
Memory Model ........................................................................................................................................... 31
Memory Model Parameter.......................................................................................................................... 31
Evaluation Script File ................................................................................................................................. 31
Hardware Evaluation.................................................................................................................................. 31
Enabling Hardware Evaluation in Diamond................................................................................................ 31
Enabling Hardware Evaluation in ispLEVER.............................................................................................. 31
Updating/Regenerating the IP Core .................................................................................................................... 31
Regenerating an IP Core in Diamond ........................................................................................................ 31
Regenerating an IP Core in ispLEVER ...................................................................................................... 32
Chapter 5. Application Support........................................................................................................... 33
Core Implementation........................................................................................................................................... 33
Understanding Preferences ....................................................................................................................... 33
Preference Localization.............................................................................................................................. 33
VREF Assignments .................................................................................................................................... 34
DLL Allocation ............................................................................................................................................ 34
I/O Types for DDR...................................................................................................................................... 34
Skew Treatment......................................................................................................................................... 34
Dummy Logic Removal .............................................................................................................................. 35
Read Data Auto-Alignment Logic............................................................................................................... 35
PCB Routing Delay Compensation ............................................................................................................ 35
DQS_PIO_READ Locate Constraints ................................................................................................................. 36
Obtaining Location Values in Diamond Software....................................................................................... 36
Obtaining Location Values in ispLEVER Software..................................................................................... 37
Troubleshooting .................................................................................................................................................. 38
Chapter 6. Core Verification ................................................................................................................ 40
Chapter 7. Support Resources ............................................................................................................ 41
Lattice Technical Support.................................................................................................................................... 41
Online Forums............................................................................................................................................ 41
Telephone Support Hotline ........................................................................................................................ 41
E-mail Support ........................................................................................................................................... 41
Local Support ............................................................................................................................................. 41
Internet ....................................................................................................................................................... 41
References.......................................................................................................................................................... 41
MachXO2 ................................................................................................................................................... 41
JEDEC Website ......................................................................................................................................... 41
Micron Technology, Inc., Website .............................................................................................................. 41
Revision History .................................................................................................................................................. 42
Appendix A. Resource Utilization ....................................................................................................... 43