Features ................................................................................................................................................................ 6
Data Path Logic............................................................................................................................................ 8
Initialization State Machine .......................................................................................................................... 8
Signal Descriptions ............................................................................................................................................... 8
Using the Local User Interface.............................................................................................................................. 9
Initialization and Auto-Refresh Control....................................................................................................... 10
Command and Address ............................................................................................................................. 11
Data Write .................................................................................................................................................. 12
Data Read .................................................................................................................................................. 13
Read/Write with Auto Precharge................................................................................................................ 13
Type Tab ............................................................................................................................................................. 20
Bank Size ................................................................................................................................................... 22
User Slot Size ............................................................................................................................................ 22
EMR Prog During Init ................................................................................................................................. 22
Auto Refresh Burst Count .......................................................................................................................... 22
External Auto Refresh Port ........................................................................................................................ 22
Info Tab ............................................................................................................................................................... 24
Chapter 4. IP Core Generation............................................................................................................. 25
Licensing the IP Core.......................................................................................................................................... 25
Getting Started .................................................................................................................................................... 25
IPexpress-Created Files and Top Level Directory Structure............................................................................... 27
or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
Simulation Files for Core Evaluation ................................................................................................................... 30
Testbench Top ........................................................................................................................................... 30
Obfuscated Core Simulation Model ........................................................................................................... 30
Memory Model ........................................................................................................................................... 31
Memory Model Parameter.......................................................................................................................... 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
I/O Types for DDR...................................................................................................................................... 34
Telephone Support Hotline ........................................................................................................................ 41
E-mail Support ........................................................................................................................................... 41
Local Support ............................................................................................................................................. 41
Internet ....................................................................................................................................................... 41
.Revision History ................................................................................................................................................. 42
IPUG93_01.1, February 2012
3
DDR & DDR2 for MachXO2 PLD Family User’s Guide
Table of Contents
Appendix A. Resource Utilization ....................................................................................................... 43
Ordering Part Number................................................................................................................................ 43
IPUG93_01.1, February 2012
4
DDR & DDR2 for MachXO2 PLD Family User’s Guide
Chapter 1:
Introduction
The Double Data Rate (DDR) Synchronous Dynamic Random Access Memory (SDRAM) Controller is a general-
purpose memory controller that interfaces with industry standard DDR/DDR2 memory devices/modules and pro-
vides a generic command interface to user applications. This core reduces the efforts required to integrate the
DDR/DDR2 memory controller with the remainder of the application and minimizes the need to deal with the
DDR/DDR2 memory interface. This core utilizes dedicated DDR input and output registers in the Lattice devices to
meet the requirements for high-speed double data rate transfers. The timing parameters for a memory device or
module can be set through the signals that are input to the core as a part of the configuration interface. This capa-
bility enables effortless switching among different memory devices by updating the timing parameters to suit the
application without generating a new core configuration.
Throughout this user’s guide, the term ‘DDR’ is used to represent the first-generation DDR memory. Since this doc-
ument covers both the Lattice DDR and DDR2 memory controller IP cores, use of the term ‘DDR’ indicates both
DDR and DDR2.
Quick Facts
Table 1-1
gives quick facts about the DDR IP core for MachXO2™ devices.
I wrote the interface in the .h file and the function implementation in the .c file, for example: __inline u16 fun(u16 index) { ; } But I can't call this program in the main function. The compilation ...
I use DDS to generate three waveforms with frequencies between 100Hz and 1MHz. I use a high-speed DAC900 to output waveforms, but the output waveforms are not good, especially when the frequency reach...
Question: When the MCU sends serial data to the PC serial port, how does the Windows system know that the MCU has sent data to it? Is it triggered by a message, or does Windows scan the serial port ev...
PV DC fuses are safety devices used to protect PV panels, inverters, and DC loads. To ensure their safety and reliability, they must be UL248 certified.
Before applying for UL248 certifi...[Details]
Electric vehicles are currently gaining momentum, but this is just a facade. Fuel-powered vehicles remain unchallenged. While electric vehicles boast unique advantages in environmental emissions an...[Details]
With the rapid advancement of automation technology, collaboration between robots is no longer just science fiction. Imagine dozens of machines moving goods in a warehouse without interfering with ...[Details]
Core point: The automotive industry chain and the humanoid robot industry have collaborative advantages in hardware, software, and scenarios. Upstream and downstream companies in the automotive ind...[Details]
On August 20th, Tiantai Robotics Co., Ltd., along with strategic partners including Shandong Future Robotics Technology Co., Ltd., Shandong Future Data Technology Co., Ltd., and Gangzai Robotics Gr...[Details]
Pure electric vehicles, structurally speaking, have components such as a power battery. In addition to the power battery, a small battery also powers some low-voltage electrical components and even...[Details]
With the advent of the electric car era, the number of pure electric vehicles has increased significantly, but many car owners do not know how to properly maintain pure electric vehicles. In additi...[Details]
In daily life, power transformers have different functions and uses due to different usage scenarios. The most common ones can be divided into: control transformers, isolation transformers, rectifi...[Details]
1. Fault phenomenon and cause analysis
1. During the operation of the equipment, the expansion sleeve is subjected to a large torque, and the mating surfaces of the shaft and the sleeve move...[Details]
The difference between a series inverter and a parallel inverter is that they use different oscillation circuits. A series inverter connects L, R, and C in series, while a parallel inverter connect...[Details]
In the field of communications power supplies, AC/DC rectifier power supplies are called primary power supplies or basic power supplies, while DC/DC converters are called secondary power supplies. ...[Details]
Previously, Positive Motion Technology shared with you the firmware upgrade of motion controller, ZBasic program development, ZPLC program development, communication with touch screen and input/out...[Details]
Charging is an essential topic for electric vehicles. Batteries are a core component of new energy vehicles. So, what's the optimal charge level for electric vehicles? Based on current battery tech...[Details]
introduction
In recent years, multi-touch has emerged as a new alternative to traditional human-computer interaction. It eliminates the need for keyboards and mice, enabling simultaneous inter...[Details]
01. Introduction
As in-vehicle networks migrate from the CAN
bus
to
Ethernet
, traditional millisecond-level synchronization accuracy can no longer meet the requirements of mul...[Details]