
Table of Contents
IPUG96_2.0, October 2014 2 DDR3 PHY IP Core User Guide
Chapter 1. Introduction .......................................................................................................................... 5
Quick Facts ........................................................................................................................................................... 5
Features ................................................................................................................................................................ 6
Chapter 2. Functional Description ........................................................................................................ 7
Overview ............................................................................................................................................................... 7
Initialization Module...................................................................................................................................... 8
Write Leveling .............................................................................................................................................. 8
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
DDR3 I/O Logic .......................................................................................................................................... 10
Signal Descriptions ............................................................................................................................................. 10
Using the DFI ...................................................................................................................................................... 13
Initialization Control.................................................................................................................................... 13
Command and Address ............................................................................................................................. 14
Write Data Interface ................................................................................................................................... 15
Read Data Interface ................................................................................................................................... 15
Mode Register Programming ..................................................................................................................... 16
Chapter 3. Parameter Settings ............................................................................................................ 18
Type Tab ............................................................................................................................................................. 20
Select Memory ........................................................................................................................................... 20
RefClock (Only for ECP5 DDR3 IP) ........................................................................................................... 20
Clock (for ECP3) MemClock (for ECP5) .................................................................................................... 20
Memory Type ............................................................................................................................................. 21
Memory Data Bus Size .............................................................................................................................. 21
Configuration.............................................................................................................................................. 21
DIMM0 Type or Chip Select Width............................................................................................................. 21
Address Mirror............................................................................................................................................ 21
Clock Width ................................................................................................................................................ 21
CKE Width.................................................................................................................................................. 21
2T Mode ..................................................................................................................................................... 21
Write Leveling ............................................................................................................................................ 21
Controller Reset to Memory ....................................................................................................................... 21
Setting Tab.......................................................................................................................................................... 22
Row Size .................................................................................................................................................... 22
Column Size............................................................................................................................................... 22
Burst Length............................................................................................................................................... 22
CAS Latency .............................................................................................................................................. 22
Burst Type.................................................................................................................................................. 22
Write Recovery........................................................................................................................................... 23
DLL Control for PD..................................................................................................................................... 23
ODI Control ................................................................................................................................................ 23
RTT_Nom................................................................................................................................................... 23
Additive Latency......................................................................................................................................... 23
CAS Write Latency..................................................................................................................................... 23
RTT_WR .................................................................................................................................................... 23
Pin Selection Tab ................................................................................................................................................ 24
Manually Adjust.......................................................................................................................................... 24
Pin Side...................................................................................................................................................... 24
clk_in/PLL Locations .................................................................................................................................. 24
clk_in pin .................................................................................................................................................... 24