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
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
Appendix A. Resource Utilization ....................................................................................................... 43
Ordering Part Number................................................................................................................................ 43
IPUG93_1.2, March 2015
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.
When I was learning MSP430, I always couldn't remember many things. At the same time, the materials were in English, so I didn't really understand many things. Although I passed the CET-6, I still fel...
[size=4]With the development of technology, improving the entertainment of car life has become a new fashion. More and more car buyers have begun to pay attention to car entertainment equipment, hopin...
[b]1-6-3-2-2. Calculation of the turns ratio of the primary and secondary coils of the transformer [/b] The output voltage of a forward switching power supply is generally the average value of the pul...
By Aaron Paxton, Texas Instruments In an LDO Basics blog post, I discussed using a low dropout regulator (LDO) to filter the ripple voltage caused by a switch-mode power supply. However, this is not t...
[align=left][font=微软雅黑][size=4]People think that the fashion world has style, but I think the electronics world has more style: a world created by losers that is becoming more and more stylish. [/size...
CLK-IN放在一个普通脚上,出现错误A clock IOB / clock component pair have been found that are not placed at an optimal clock IOB /下面是代码:module clk_test(clk_in,h_in,v_in,clk_out,h_out);input clk_in;input h_in;input v...
In
circuit design,
current
measurement
is widely used, and the main fields are divided into three categories: in measurement,
the electric meter
is used to measure the curre...[Details]
No matter which processor you are learning, the first thing you need to understand is the registers and working mode of the processor.
ARM has 37 registers, including 31 general registers and ...[Details]
There are three types of mobile TV: one is based on analog TV broadcasting network, another is based on mobile communication network, and the other is based on digital broadcasting network. The f...[Details]
As cellular phones become more advanced, the power consumption of the system during operation and the power consumption during standby are also increasing. Therefore, the power management design of...[Details]
1. Overview
The Virtual CAN Interface (VCI) function library is an application program interface specifically provided for the use of ZLGCAN devices on PCs. The functions in the library ar...[Details]
1. Project Introduction
Shandong Dezhou Xingtai Paper Co., Ltd. is a newly built high-end paperboard production enterprise with domestic leading level established by Shandong Zhaodongfang Pape...[Details]
Toyohashi University of Technology demonstrated electric field coupled wireless power supply technology using life-size car tires and roads at the wireless technology exhibition "Wireless Technolog...[Details]
1. When the slip speed regulating motor is undergoing frequency conversion and energy saving transformation, the original excitation box (referred to as the speed regulating box) and the original s...[Details]
This article will introduce a design method for a distributed control system used in a tracking car, which can perform distributed control of motor modules, sensor modules, and lighting control mod...[Details]
The installation locations of DC-DC converters are relatively scattered. DC-DC converters can be found on the power board, main board, logic control board and other circuit boards of PDP color TVs....[Details]
With the popularity of digital appliances, rechargeable batteries can be seen everywhere in people's daily lives and have become one of the indispensable daily necessities.
This article gives ...[Details]
Energy conservation and environmental protection are the main directions of current automotive technology research, and power batteries are the key to electric vehicle technology. Research on powe...[Details]
1 Introduction
Lijia'an Yellow River Diversion Culvert is a large gravity diversion gate in the lower reaches of the Yellow River. The Yellow River Diversion Culvert is located in Lijia'an Vi...[Details]
0 Introduction
PROFIBUS is an open digital communication system with a wide range of applications, which has been included in the international standards IEC 61158 and IEC 61784. Since the gen...[Details]
Some people believe that hybrid vehicles are just a transitional product, and the ultimate goal of developing new energy vehicles is electric vehicles. Therefore, China should skip hybrid vehicles ...[Details]