![Page 1: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/1.jpg)
Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked Locked Loop Design In SDRAMLoop Design In SDRAM
ERIC MONAHANUniversity of Nevada, Las VegasECG721 Memory Circuit DesignECG721 Memory Circuit Design
APRIL 19, 2017
![Page 2: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/2.jpg)
What is a DelayWhat is a Delay‐‐Locked Loop (DLL)?Locked Loop (DLL)?What is a DelayWhat is a Delay Locked Loop (DLL)? Locked Loop (DLL)?
o A dynamic, variable delay circuit used to synchronizeo A dynamic, variable delay circuit used to synchronize the signals between a memory controller and a synchronous memory device.
o Why use a DLL in Synchronous DRAM (SDRAM)?DLL generates a delayed clock signal thatsynchronizes the output data with the system clock.
![Page 3: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/3.jpg)
What is SDRAM?What is SDRAM?• Asynchronous DRAM = uses timing• Synchronous DRAM = uses a synchronous clock• Synchronous DRAM = uses a synchronous clock to execute commands All d /d t t d d• All commands/data executed on edges synchronous with system clock
• Initial SDRAM was Single Data Rate (SDR), then Double Data Rate (DDR) and DDR2, DDR3, DDR4 and developing DDR5
![Page 4: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/4.jpg)
DDR SDRAM ArchitectureDDR SDRAM Architecture
Figure 1 2MEG x 4 Memory Array with SDR and DDR Interface [1]
![Page 5: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/5.jpg)
DDRRead ExampleDDRRead ExampleDDR Read ExampleDDR Read Example
Figure 2 SDRAM CAS latency [2]
![Page 6: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/6.jpg)
SDRAM DQS Signal SDRAM DQS Signal
Figure 3 Prefetch READ and WRITE Block Diagrams [1]
![Page 7: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/7.jpg)
Relating CLK to DQSRelating CLK to DQS
Figure 4 Figure 5
Figure 6 Block Diagram for DDR SDRAM DLL [3] Figure 7 SDRAM CLK input and DQ output [3]
![Page 8: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/8.jpg)
Advantages of Digital DLL Advantages of Digital DLL
![Page 9: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/9.jpg)
DLL BasicsDLL Basics
Figure 8 Block Diagram for DDR SDRAM DLL [3]
o Input Buffer o PD loop dely = N*tclko Input Buffero Delay Line o Feedback with Delay Modelo Phase Detector
o PD loop dely N tclko tclk = tIB + tDo tIB and tD subject to PVT variationso Delay line = N*tclk – (tIB + tD)
o Shift Registery ( )
o Ideal forward delay = tIB +N*tclk –(tIB + tD) +tD = N*tclk
![Page 10: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/10.jpg)
Design ConsiderationsDesign Considerationsgg
• PVT variationsPVT variations
• False lock
• Duty Cycle at 50%
• Jitter
![Page 11: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/11.jpg)
I/O Buffers and Feedback Delay ModelI/O Buffers and Feedback Delay Model
Figure 9 Rail‐to‐rail input buffer [4] Figure 10 CMOS Inverter [4]
![Page 12: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/12.jpg)
Phase DetectorPhase Detector
Figure 11 Phase Detector Circuits [5]
[8] [12]
Figure 11 Phase Detector Circuits [5]
![Page 13: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/13.jpg)
Voltage ControlledDelay Line (VCDL)Voltage ControlledDelay Line (VCDL)Voltage Controlled Delay Line (VCDL)Voltage Controlled Delay Line (VCDL)
Figure 12 Coarse Delay with NAND Pair [4] Figure 13 SCI based Fine Delay [6]
![Page 14: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/14.jpg)
Clock Insertion via Shift RegisterClock Insertion via Shift RegisterClock Insertion via Shift RegisterClock Insertion via Shift Register
Figure 14 Delay Line and Shift Register [5]
![Page 15: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/15.jpg)
Clock Insertion ExampleClock Insertion Example
Figure 15 Delay line and shift register clock insertion example [5]
![Page 16: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/16.jpg)
Delay Line Control VariationsDelay Line Control VariationsCounter
Successive Approximation Register (SAR)
Time‐to‐Digital
Figure 16 Counter Controlled DLL [7]
gConverter (TDC)
Figure 18 SAR Based DLL [7]
Figure 17 TDC Based DLL [7]
![Page 17: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/17.jpg)
SAR BasicsSAR Basics(a)
(b)(b)
Figure 19 (a) Binary weighted digital delay line (b) Delay cell [8]Figure 19 (a) Binary‐weighted digital delay line (b) Delay cell [8]
![Page 18: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/18.jpg)
SAR OperationSAR Operation(a)
(b)(b)
Figure 20 (a) 6‐bit SAR (b) Example SAR Circuit [8]
![Page 19: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/19.jpg)
Alternate SAR basedDLLAlternate SAR basedDLLAlternate SAR based DLLAlternate SAR based DLL
Figure 21 All‐digital SAR based DLL [9]
![Page 20: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/20.jpg)
Complementary Clock Select UnitComplementary Clock Select UnitComplementary Clock Select UnitComplementary Clock Select Unit
Figure 22 (a) and (b) Phase relations between Clk_out and Clk_in(c) CCSU decision table (d) CCSU circuit [9]
![Page 21: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/21.jpg)
Delay Range Search Delay Range Search
Figure 23 Delay range search circuit [9]Figure 23 Delay range search circuit [9]
![Page 22: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/22.jpg)
Delay Range SearchOperationDelay Range SearchOperationDelay Range Search OperationDelay Range Search Operation
Figure 24 Delay range search timing diagram [9]Figure 24 Delay range search timing diagram [9]
![Page 23: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/23.jpg)
Delay LinesDelay Lines
Figure 25 (a) Lattice delay line (b) Modified lattice delay line (c) Fine delay [9]
(c)
![Page 24: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/24.jpg)
9 bit9 bit‐‐SARSAR9 bit9 bit SARSAR
Figure 26 9‐bit configurable SAR unit [9]
![Page 25: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/25.jpg)
ShiftShift‐‐Counting SAR cell (SCSAR)Counting SAR cell (SCSAR)ShiftShift Counting SAR cell (SCSAR)Counting SAR cell (SCSAR)
Figure 27 Shift‐counting SAR cell [10]
![Page 26: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/26.jpg)
QUESTIONS ?QUESTIONS ?
Figure 28 Robert H. Dennard [11]Figure 28 Robert H. Dennard [11]
![Page 27: Tutorial: Digital DelayTutorial: Digital Delay‐‐Locked ...cmosedu.com/videos/s17/ecg721/DLL_Design_SDRAM.pdfo [10] K.C. Kuoand S.H. Li, “A Wide‐Range and Harmonic‐Free SAR](https://reader034.vdocuments.site/reader034/viewer/2022050417/5f8d523b9dd07375d603b1c6/html5/thumbnails/27.jpg)
ReferencesReferences[1] “Technical Note General DDR SDRAM Functionality” TN 46 05 Micron Technology Inc 2001o [1] “Technical Note –General DDR SDRAM Functionality”, TN‐46‐05, Micron Technology, Inc, 2001
o [2] “Double Data Rate (DDR) SDRAM”, 512Mb: x4, x8, x16 DDR SDRAM Features, Micron Technology, Inc, 2000o [3] Feng Lin, J. Miller, A. Schoenfeld, M. Ma and R. Jacob Baker, “A register‐controlled symmetrical DLL for double‐data‐rate
DRAM,” in IEEE Journal of Solid‐State Circuits, vol. 34, no. 4, pp. 565‐568, Apr 1999o [4] Baker, R. Jacob, “CMOS Circuit Design, Layout and Simulation”3rd edition, JohnWiley&Sons, 2010o [5] Keeth, Brent and R. Jacob Baker, “DRAM Circuit Design: A Tutorial” 1st edition, Wiley, 2000o [6] 2007a. Abas MA, Russell G, Kinniment DJ (2007a) Built‐in time measurement circuits – a comparative design study.
Comput Digit Tech IET 1(2):87‐97. doi:10.1049/iet‐cdt:20060111o [7] Nagpara, B. H., Karan M. Jani, D.N. Khandhar, “A Review of Different Types of Digital Delay‐Locked Loop in 65nm CMOS
technology”, International Journal of Modern Trends in Engineering and Research (IJMTER), vol. 3, no. 4, ISSN (Online):2349‐gy f g g ( ) ( )9745, Aril 2016
o [8] Guang‐Kaai Dehng, June‐Ming Hsu, Ching‐Yuan Yang and Shen‐Iuan Liu, “Clock‐deskew buffer using a SAR‐controlled delay‐locked loop,” in IEEE Journal of Solid‐State Circuits, vol. 35, no. 8, pp. 1128‐1136, Aug.2000.
o [9] S. Chen, H. Li, K. Jia, Y. Wang, X. Shi and F. Zhang, “ A Fast‐Lock‐In Wide‐Range Harmonic‐Free All‐Digital DLL with a Complementary Delay Line” 2012 IEEE International Symposium on Circuits and Systems, Seoul, Korea (South), 2012, pp. p y y y p y , , ( ), , pp1803‐1806.
o [10] K.C. Kuo and S.H. Li, “A Wide‐Range and Harmonic‐Free SAR All‐Digital Delay Locked Loop”, 2015 15th International Symposium on Communications and Information Technologies (ISCIT), Nara, 2015, pp.197‐2000
o [11] https://alchetron.com/Robert‐H‐Dennard‐497734‐W