Zynq-7000 AP SoC and 7 Series FPGAs MIS v4.1 134
UG586 November 30, 2016
www.xilinx.com
Chapter 1: DDR3 and DDR2 SDRAM Memory Interface Solution
Memory Initialization and Calibration Sequence
After deassertion of system reset, the PHY performs the required power-on initialization
sequence for the memory. This is followed by several stages of timing calibration for both
the write and read datapaths. After calibration is complete, the PHY indicates that
initialization is finished, and the controller can begin issuing commands to the memory.
Figure 1-57 shows the overall flow of memory initialization and the different stages of
calibration.
X-Ref Target - Figure 1-57
Figure 1-57: PHY Overall Initialization and Calibration Sequence
3YSTEM2ESET
$$2$$23$2!-)NITIALIZATION
0HASER?).0HASE,OCK0HASELOCKS2EAD$13TOINTERNALFREERUNNING
&REQUENCY2EFERENCECLOCK
0HASER?)N$13&/5.$CALIBRATION
2EAD,EVELING)NITIAL$1ALIGNMENTTO$13AND$13CENTERINGINREAD$1
WINDOW
7RITE#ALIBRATION!LIGNINGWRITE$13TOTHECORRECT#+#+EDGE
7RITE,EVELING&OR$$23$2!-/NLY
0(9)NITIALIZATIONAND#ALIBRATION#OMPLETE
-02-ULTI0URPOSE2EGISTER2EAD,EVELING#ENTER2EAD$13IN2EAD$1
WINDOWINDEPENDENTOFWRITES
/#,+$%,!9%$#ALIBRATION#ENTER7RITE$13IN7RITE$1WINDOWUSING
0HASER?/UT3TAGEDELAY
"ACKTOWRITELEVELINGTO
ADDTOT#+OFDELAY
TOHANDLEEARLYWRITES
7RITELEVELAGAIN
ATTHEENDOF
/#,+$%,!9%$
CALIBRATION
02"32EAD,EVELING2EAD$13CENTERINGINREAD$1WINDOWWITH02"3
PATTERNTOACCOUNTFOR)3)EFFECTS
8