收藏 分销(赏)

(内存基本知识)DRAM工作原理-PPT.ppt

上传人:解** 文档编号:1509594 上传时间:2024-04-29 格式:PPT 页数:62 大小:2.63MB
下载 相关 举报
(内存基本知识)DRAM工作原理-PPT.ppt_第1页
第1页 / 共62页
(内存基本知识)DRAM工作原理-PPT.ppt_第2页
第2页 / 共62页
(内存基本知识)DRAM工作原理-PPT.ppt_第3页
第3页 / 共62页
(内存基本知识)DRAM工作原理-PPT.ppt_第4页
第4页 / 共62页
(内存基本知识)DRAM工作原理-PPT.ppt_第5页
第5页 / 共62页
点击查看更多>>
资源描述

1、Ramaxel Technology LimitedRamaxel Technology LimitedConfidentialDRAMDRAM工作原理工作原理 DRAMDRAM工作原理工作原理Ramaxel Technology LimitedRamaxel Technology LimitedConfidentialDynamic Random Access MemoryEach cell is a capacitor+a transistorVery small sizeSRAM uses six transistors per cellDivided into banks,rows&c

2、olumnsEach bank can be independently controlledDRAMRamaxel Technology LimitedRamaxel Technology LimitedConfidentialMain MemoryEverything that happens in the computer is resident in main memoryCapacity:around 100 Mbyte to 100 Gbyte Random access Typical access time is 10-100 nanosecondsWhy DRAM for M

3、ain Memory?Cost effective(small chip area than SRAM)High Speed(than HDD,flash)High Density(Gbyte)Mass Production Main memoryRamaxel Technology LimitedRamaxel Technology LimitedConfidentialNotation:K,M,G In standard scientific nomenclature,the metricmodifiers K,M,and G to refer to factors of 1,000,1,

4、000,000 and 1,000,000,000 respectively.Computer engineers have adopted K as thesymbol for a factor of 1,024(210)K:1,024(210)M:1,048,576(220)G:1,073,741,824(230)DRAM density 256M-bit 512M-bitRamaxel Technology LimitedRamaxel Technology LimitedConfidentialDRAM DensityRamaxel Technology LimitedRamaxel

5、Technology LimitedConfidentialWhat is a DRAM?DRAM stands for Dynamic Random Access Memory.Random access refers to the ability to access any of the information within the DRAM in random order.Dynamic refers to temporary or transient data storage.Data stored in dynamic memories naturally decays over t

6、ime.Therefore,DRAM need periodic refresh operation to prevent data loss.Ramaxel Technology LimitedRamaxel Technology LimitedConfidentialMemory:DRAM position Semiconductor memory device ROM:Non volatile Mask ROM EPROM EEPROM Flash NAND:low speed,high density NOR:high speed,low density RAM:Volatile DR

7、AM:Dynamic Random Access Memory SRAM:Static Random Access Memory Pseudo SRAMRamaxel Technology LimitedRamaxel Technology LimitedConfidentialDRAM Trend:Future High Speed-DDR(333MHz500MHz),DDR2(533800Mbps),DDR3(8001600Mbps)-Skew-delay minimized circuit/logic:post-charge logic,wave-pipelining-New Archi

8、tecture:multi-bank structure,high speed Interface Low Power-5.5V=3.3V(sdr)=2.5V(ddr)=1.8V(ddr2)=1.5v(ddr3)=1.2v?-Small voltage swing I/O interface:LVTTL to SSTL,open drain-Low Power DRAM(PASR,TCSR,DPD)High Density-Memory density:32MB=64MB=.1GB=2GB=4GB-application expansion:mobile,memory DB for shock

9、(than HDD)-Process shrink:145nm(03)=120nm(04)=100nm=90nm=80nm Other Trends-Cost Effectiveness,Technical Compatibility,Stability,Environment.ReliabilityRamaxel Technology LimitedRamaxel Technology LimitedConfidentialStatic RAMSRAMBasic storage element is a 4 or 6 transistor circuit which will hold a

10、1 or 0 as long as the system continues to receive powerNo need for a periodic refreshing signal or a clockUsed in system cacheFastest memory,but expensiveSRAM ElementEnable Line/Bit LineBit LineRamaxel Technology LimitedRamaxel Technology LimitedConfidentialDynamic RAMDRAMDenser type of memoryMade u

11、p of one-transistor(1-T)memory cell which consists of a single access transistor and a capacitorCheaper than SRAMUsed in main memoryMore complicated addressing schemeDRAM CellWord LineBit LineRamaxel Technology LimitedRamaxel Technology LimitedConfidentialRefresh in DRAMsCapacitor leaks over time,th

12、e DRAM must be“REFRESHED”.DRAM CellWord LineBit LineCapacitance LeakageRamaxel Technology LimitedRamaxel Technology LimitedConfidentialSRAM vs.DRAMRamaxel Technology LimitedRamaxel Technology LimitedConfidentialRamaxel Technology LimitedRamaxel Technology LimitedConfidentialDRAM Lead Frame and Wire

13、bondingRamaxel Technology LimitedRamaxel Technology LimitedConfidentialDRAM ArchitectureRamaxel Technology LimitedRamaxel Technology LimitedConfidentialSDRAM has the multi bank architecture.Conventional DRAM was product that have single bank architecture.The bank is independent active.memory array h

14、ave independent internal data bus that have same width as external data bus.Every bank can be activating with interleaving manner.Another bank can be activated while 1st bank being accessed.(Burst read or write)Multi Bank ArchitectureRamaxel Technology LimitedRamaxel Technology LimitedConfidentialDR

15、AM Multi Bank ArchitectureRamaxel Technology LimitedRamaxel Technology LimitedConfidentialDRAM Single Bank ArchitectureRamaxel Technology LimitedRamaxel Technology LimitedConfidentialRamaxel Technology LimitedRamaxel Technology LimitedConfidentialDRAM Block Diagram(1)Ramaxel Technology LimitedRamaxe

16、l Technology LimitedConfidentialDRAM Block Diagram(2)Ramaxel Technology LimitedRamaxel Technology LimitedConfidentialDRAM Core ArchitectureRamaxel Technology LimitedRamaxel Technology LimitedConfidentialDRAM AddressRamaxel Technology LimitedRamaxel Technology LimitedConfidentialDRAM Core Architectur

17、eRamaxel Technology LimitedRamaxel Technology LimitedConfidential16bit DRAM CoreRamaxel Technology LimitedRamaxel Technology LimitedConfidentialDRAM Data PathRamaxel Technology LimitedRamaxel Technology LimitedConfidentialDRAM 1T-1C structureRamaxel Technology LimitedRamaxel Technology LimitedConfid

18、entialuRAS:row address strobeuCAS:column address strobeuWE:write enableuAddress:code to select memory cell locationuDQ(I/O):bidirectional channel to transfer and receive datauDRAM cell:storage element to store binary data bituRefresh:the action to keep data from leakageuActive:sense data from DRAM c

19、elluPre charge:standby stateDRAM Key wordRamaxel Technology LimitedRamaxel Technology LimitedConfidentialDRAM cell array consist of so many cells.One transistor&One capacitorSmall sense amplifierLow input gain from charge sharingCS:Small storage capacitor:25fFCBL:Large parasitic capacitor:over 100fF

20、Vc:Storage voltageVCP:half Vc for plate biasVBLP:half Vc for BL pre charge bias(initial bias)DRAM CellRamaxel Technology LimitedRamaxel Technology LimitedConfidentialDRAM Array OverviewSimplified ExampleRamaxel Technology LimitedRamaxel Technology LimitedConfidentialActivating a RowActivating a RowM

21、ust be done before a read or writeJust latch the row address and turn on a single wordlineRamaxel Technology LimitedRamaxel Technology LimitedConfidentialWritingWritingA row must be activeSelect the column addressDrive the data through the column muxStores the charge on a single capacitorRamaxel Tec

22、hnology LimitedRamaxel Technology LimitedConfidentialReadingReadingA row must be activeSelect the column addressThe value in the sense-amplifier is driven back outRamaxel Technology LimitedRamaxel Technology LimitedConfidentialThe Sense-AmplifierSense-AmplifierA pair of cross-coupled invertersBasica

23、lly an SRAM elementWeaker than the column muxWrite data will“outmuscle”the sense-amplifierKeeps the data at full levelRamaxel Technology LimitedRamaxel Technology LimitedConfidentialPrechargePrechargeInactive state(no wordlines active)Precharge control line highTies the two sides of the sense-amp to

24、getherThis makes the bitlines stay at VDD/2Only stable as long as the precharge control line is highotherwise this is unstable!No capacitors connectedRamaxel Technology LimitedRamaxel Technology LimitedConfidentialActivation RevisitedActivationTurn off the precharge control lineMakes the sense-amp u

25、nstableit wants to go to either 0 or 1 instead of staying at VDD/2A very very very short time later,turn on the wordline of the row to be activated.Couples the capacitor onto the bitlinesThis“tips”the bitlines to hold the stored value.The sense-amp amplifies the capacitor back to full value.(hence t

26、he name!)Ramaxel Technology LimitedRamaxel Technology LimitedConfidentialDRAM RefreshBecause the stored memory value is stored on a capacitor(that has resistive leakage),the memory is constantly“forgetting”its contents.Eventually,the charge on the capacitor wont be enough to tip the sense-amp in the

27、 right direction.But,activating a row restores the cells on that row to their full value.There is an explicit refresh command that just activates and immediately deactivates a row.The DRAM has an internal counter that contains the next row to be refreshed and increments every time a refresh command

28、is issued.Ramaxel Technology LimitedRamaxel Technology LimitedConfidentialDRAM RefreshData Retention Time DRAM Cell consists of capacitance which has leakage as time Retention time is period for maintaining its data especially 1 data Usually,DRAM Cell refresh period is 64msRefresh Timing tREF:Real c

29、ell retention time(Device characteristic),ex)90ms(Hot)tRFC:Refresh command operating time,ex)75nsRefresh Spec.Burst Refresh:64ms Distribute refresh-128Mb device(12 Row address):64ms/4K=15.6us-256Mb device(13 Row address):64ms/8K=7.8usRamaxel Technology LimitedRamaxel Technology LimitedConfidentialAU

30、TO Refresh When this command is input from the IDLE state,the synchronous DRAM starts autorefresh operation.During the auto-refresh operation,refresh address and bank select address are generated inside the Synchronous DRAM.For every auto-refresh cycle,the internal address counter is updated.Accordi

31、ngly,8192times are required to refresh the entire memory.Before executing the auto-refresh command,all the bank must be IDLE state.In addition,since the Precharge for all bank is automatically performed after auto-refresh,no Precharge command is required after auto-refresh.Ramaxel Technology Limited

32、Ramaxel Technology LimitedConfidentialSelf Refresh Self-Refresh EntrySELF:When this command is input during the IDLE state,the Synchronous DRAM starts self-refresh operation.After the execution of this command,selfrefresh continues while CKE is Low.Since self-refresh is performed internally and auto

33、matically,external refresh operations are unnecessary.Self-Refresh ExitSELFX:When this command is executed during self-refresh mode,the Sync DRAM can exit from self-refresh mode.After exiting from self-refresh mode,the Sync DRAM enters the IDLE state.,no Precharge command is required after auto-refr

34、esh.Ramaxel Technology LimitedRamaxel Technology LimitedConfidentialMode RegisterSpecial command to initialize the DRAMBurst lengthInterleavingCAS Latency(read command to read data in clocks)For DDR,DLL reset is also hereRamaxel Technology LimitedRamaxel Technology LimitedConfidentialMRS Block Diagr

35、amRamaxel Technology LimitedRamaxel Technology LimitedConfidentialMode RegisterBecause the stored memory value is stored on aRamaxel Technology LimitedRamaxel Technology LimitedConfidentialExtended Mode RegisterSpecial command to initialize DDR DRAMDDR onlydont use for SDRDLL EnableDrive StrengthRam

36、axel Technology LimitedRamaxel Technology LimitedConfidentialDRAM InterfaceCommand SignalsCAS#,RAS#,WE#,CS#CS#+CAS#=ReadCS#+WE#+CAS#=WriteCS#+RAS#+CAS#=RefreshCS#+RAS#=ActivateCS#+WE#=Burst StopCS#+WE#+RAS#=PrechargeCS#+WE#+CAS#+RAS#=MRS or EMRSAll others:NOPOther signals:CLK,DATA,DQSRamaxel Technol

37、ogy LimitedRamaxel Technology LimitedConfidentialDRAM InterfaceAll signals go from the host to the memory except DQS and data which are bi-directional.Ramaxel Technology LimitedRamaxel Technology LimitedConfidentialRead CycleTypical Read CycleBurst Length 4CAS Latency=3Ramaxel Technology LimitedRama

38、xel Technology LimitedConfidentialWrite CycleTypical Write CycleBurst Length 4Write latency is always zeroRamaxel Technology LimitedRamaxel Technology LimitedConfidentialData ClockingCLK is always driven by the hostDQS is driven by whoever is driving the dataNV chip drives on write cyclesMemory chip

39、 drives on read cyclesThis scheme is called“source-synchronous clocking”Eliminates a lot of the timing headaches from SDRAdds marginRamaxel Technology LimitedRamaxel Technology LimitedConfidentialLatenciesAll kindsActivate to PrechargeLast write data to prechargeActivate to ReadActivate to WriteRefr

40、esh cycle timeRefresh intervalMinimum row active timeYadda yadda yaddaControlled by PFB_TIMING0,PFB_TIMING1,PFB_TIMING2Ramaxel Technology LimitedRamaxel Technology LimitedConfidentialWrite CycleRamaxel Technology LimitedRamaxel Technology LimitedConfidentialDLLsA DLL is a Delay-Locked LoopNo transis

41、tor can switch in zero time,so there will be a delay between clock and DQS on readsBut,it would make it easier if DQS was always in phase with clock.DLL-off clock-DQS delay not in the specVaries between memory vendorsRe-creates a delayed version of its input clockKeeps DQS on reads aligned with cloc

42、ksIts an analog circuit and is sensitive to noiseCan lose lock on the input clock if the signal is not clean or the DLL power supply is noisy.Ramaxel Technology LimitedRamaxel Technology LimitedConfidentialDLLsDLL onDLL offRamaxel Technology LimitedRamaxel Technology LimitedConfidential tAA,tAC,tOH

43、tRCD,tRP Set-up/Hold time Vih,Vil Voh,Vol Ioh,IolTiming ParametersRamaxel Technology LimitedRamaxel Technology LimitedConfidentialSDRAM Timing DiagramRamaxel Technology LimitedRamaxel Technology LimitedConfidentialtAA,tAC,tOH(SDRAM)Ramaxel Technology LimitedRamaxel Technology LimitedConfidentialSetu

44、p/hold time Timing for latching data in Input buffer CLK rising edge is strobe for data(SDRAM)DQS rising&falling edge is strobe for data(DDR SDRAM)During Setup&time,there is no abnormal signal allowedRamaxel Technology LimitedRamaxel Technology LimitedConfidentialVIH/VILRamaxel Technology LimitedRamaxel Technology LimitedConfidentialVOH/VOLRamaxel Technology LimitedRamaxel Technology LimitedConfidentialIOH/IOLRamaxel Technology LimitedRamaxel Technology LimitedConfidentialDC SpecRamaxel Technology LimitedRamaxel Technology LimitedConfidentialThanks!

展开阅读全文
相似文档                                   自信AI助手自信AI助手
猜你喜欢                                   自信AI导航自信AI导航
搜索标签

当前位置:首页 > 包罗万象 > 大杂烩

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        获赠5币

©2010-2024 宁波自信网络信息技术有限公司  版权所有

客服电话:4008-655-100  投诉/维权电话:4009-655-100

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :gzh.png    weibo.png    LOFTER.png 

客服