Features ................................................................................................................................................................ 6
Read Training (Only for ECP5 Device) ........................................................................................................ 8
Selecting READ_PULSE_TAP Value (Only for LatticeECP3 Device) .................................................................. 9
Data Path Logic.......................................................................................................................................... 10
Write Data Path.......................................................................................................................................... 10
Read Data Path.......................................................................................................................................... 10
Signal Descriptions ............................................................................................................................................. 10
Using the DFI ...................................................................................................................................................... 13
Command and Address ............................................................................................................................. 14
Write Data Interface ................................................................................................................................... 15
Read Data Interface ................................................................................................................................... 15
Type Tab ............................................................................................................................................................. 20
Memory Type ............................................................................................................................................. 21
Memory Data Bus Size .............................................................................................................................. 21
CAS Latency .............................................................................................................................................. 22
DLL Control for PD..................................................................................................................................... 23
ODI Control ................................................................................................................................................ 23
CAS Write Latency..................................................................................................................................... 23
PLL Used ................................................................................................................................................... 25
Design Tools Options and Info Tab..................................................................................................................... 25
Support Synplify ......................................................................................................................................... 26
Support Precision....................................................................................................................................... 26
Support ModelSim...................................................................................................................................... 26
Support ALDEC.......................................................................................................................................... 26
User I/F Pins .............................................................................................................................................. 27
Chapter 4. IP Core Generation and Evaluation
for LatticeECP3 DDR3 PHY.................................................................................................................. 28
Getting Started .................................................................................................................................................... 28
IPexpress-Created Files and Top Level Directory Structure............................................................................... 30
DDR3 PHY IP File Structure ...................................................................................................................... 32
Enabling Hardware Evaluation in Diamond................................................................................................ 34
Updating/Regenerating the IP Core .................................................................................................................... 34
Chapter 5. IP Core Generation and Evaluation for ECP5 DDR3 PHY............................................... 36
Getting Started .................................................................................................................................................... 36
Created Files and Top Level Directory Structure ................................................................................................ 39
DDR3 PHY IP File Structure ...................................................................................................................... 41
Simulation Files for IP Evaluation .............................................................................................................. 43
Enabling Hardware Evaluation in Diamond................................................................................................ 45
Regenerating/Recreating the IP Core ................................................................................................................. 45
Regenerating an IP Core in Clarity Designer Tool ..................................................................................... 45
Recreating an IP Core in Clarity Designer Tool ......................................................................................... 46
FREQUENCY Preferences ........................................................................................................................ 47
MAXDELAY NET ....................................................................................................................................... 47
Dummy Logic in IP Core Evaluation ................................................................................................................... 48
Top-level Wrapper File Only for Evaluation Implementation...................................................................... 48
Top-level Wrapper file for All Simulation Cases and Implementation in a User Design............................. 49
E-mail Support ........................................................................................................................................... 51
Local Support ............................................................................................................................................. 51
Internet ....................................................................................................................................................... 51
Revision History .................................................................................................................................................. 51
Appendix A. Resource Utilization ....................................................................................................... 52
Ordering Part Number................................................................................................................................ 52
Ordering Information ........................................................................................................................................... 53
Appendix B. Lattice Devices Versus................................................................................................... 54
Appendix C. DDR3 PHY IP Matrix........................................................................................................ 54
Appendix A. LatticeECP3 DDR3 PHY IP Locate Constraints............................................................ 55
IPUG96_2.1, October 2016
4
DDR3 PHY IP Core User Guide
Chapter 1:
Introduction
The Double Data Rate (DDR3) Physical Interface (PHY) IP core is a general purpose IP core that provides connec-
tivity between a DDR3 Memory Controller (MC) and DDR3 memory devices compliant with JESD79-3 specifica-
tion. This DDR3 PHY IP core provides the industry standard DDR PHY Interface (DFI) bus at the local side to
interface with the memory controller. The DFI protocol defines the signals, signal relationships, and timing parame-
ters required to transfer control information and data to and from the DDDR3 devices over the DFI bus.
The DDR3 PHY IP core minimizes the effort required to integrate any available DDR3 memory controller with the
Lattice FPGA’s DDR3 primitives and thereby enables the user to implement only the logical portion of the memory
controller in the user design. The DDR3 PHY IP core contains all the logic required for memory device initialization,
write leveling, read data capture and read data de-skew that are dependent on Lattice FPGA DDR I/O primitives.
Quick Facts
Table 1-1 gives quick facts about the DDR3 SDRAM Controller IP core for ECP5
In the step counting algorithm, a gyroscope is needed to detect changes in human motion posture. Here, the L3G4200D gyroscope is used. The L3G4200D is a MEMS motion sensor launched by STMicroelectroni...
Arria V GT FPGA 10.3125 Gbps for SFF8431 applications : https://training.eeworld.com.cn/course/2126Arria V GT FPGA 10.3125 Gbps for SFF8431 applications?...
My computer cannot connect to the Internet with multiple users~~Urgent!!!!!!!!!!!!!!!!!!!!!!!!!!! I use the school DR.COM dial-up to access the Internet... How can I achieve multi-user access to the I...
I wrote a very simple AD conversion program, using the angular displacement sensor as the analog input. After converting to digital, if the digital value is greater than a certain value, the LED conne...
Microcontrollers (MCUs), which are widely used in automotive electronics, are rapidly facing time and cost pressures. The main advantage of using MCUs has always been to create high-level system in...[Details]
In this article, the high-performance DSP developed by TI can be used as an effective confidentiality method if it is applied to PC encryption cards.
As an effective network security solution,...[Details]
With the continuous improvement of the requirements of intelligent building security systems and the continuous improvement of people's safety awareness, indoor anti-theft has gradually attracted peop...[Details]
In the previous series, we have listed some basic knowledge of C language in Tables 1 to 3. We hope that beginners can strengthen their memory of the above tables and gradually learn to use them wh...[Details]
Contact resistance
is the resistance to current flow through a closed pair of contacts. This type of measurement is performed on devices such as connectors,
relays
, and switches. The...[Details]
1 Introduction to HART Protocol
HART (Highway Addressable Remote Transducer), an open communication protocol for addressable remote sensor high-speed channels, was launched by Rosemen in the U...[Details]
LED technology has made rapid progress, and improvements in chip design and materials have promoted the development of brighter and more durable light sources, and the scope of light source applica...[Details]
Since AC mains power may experience power outages, voltage sags and surges, continuous undervoltage and overvoltage, and frequency fluctuations during supply, these factors will affect the continuous ...[Details]
Our flight had just begun to descend when a gentleman sitting next to me turned to talk to me about engineering—he had seen me reading an engineering journal. The gentleman next to me said that he ...[Details]
1. The composition and structure of mobile phone lithium battery
Mobile phone lithium batteries are mainly composed of plastic shell upper and lower covers, lithium battery cells, protection c...[Details]
The most important components of new energy electric vehicles are power batteries, electric motors and energy conversion control systems. The power battery must achieve high performance such as fas...[Details]
In recent years, with the increasing maturity of LED technology, LED light sources have been increasingly widely used due to their advantages of using low-voltage power supply, low energy consumpti...[Details]
There are many types and styles of digital voltmeters in design and development. Traditional digital voltmeters have their own characteristics. They are suitable for manual measurement on site. Tra...[Details]
1. Project Introduction
Beijing Benz-Daimler Chrysler Co., Ltd. is a joint venture between Beijing BAIC Group and Benz-Daimler Chrysler. In October 2005, it started to build a new automobile ...[Details]
Current sensing in automotive applications includes controlling the current through solenoids and injectors. For example, during diesel injection, we rapidly increase the current to the induction i...[Details]