DDR存储原理,AC/DC判别标准深度解析(官方手册整理)

本文深入解析DDR存储技术的工作原理,包括存储单元结构、读写操作流程、时序控制及启动流程等关键内容,并探讨了DDR3新增的功能特性。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

DDR存储原理
1. 1个三极管和1个电容构成一个最基本的存储单元。多个存储单元组合成存储矩阵,bit line连接到比较放大器,word line控制三极管的通断状态。相邻的、未使用的bit line上的电压作为参考电压,对比后经过放大输出0或1的状态。word line控制开关,bit line读写电容通道。64ms刷新,超温32ms


2. 写入过程:BL基准电压VDD/2,写1充电VDD,然后WL拉高打开三极管,对电容充电,然后WL拉低关闭三极管。写0放电到0,过程类似。

3. 读出过程:打开三极管,电容改变BL的电压,由于BL寄生电容远大于存储电容,因此BL电压变化很小,使用Sense amplifier放大。同时,刷新存储电容。

DDR实现
1. 沟道结构。硅片上打沟道,然后电镀生成电容。难度大,可靠性高。紫光国芯。
2. 堆叠结构。直接多次电镀生成电容。难度小,可靠性稍差。镁光。

DDR互联
1. 阵列形式。行译码器,列译码器。
2. 行激活:WL打开一行三极管,读到BL并放大。列激活:将交叉点上的BL读入DQ,再经sense amplifier放大到VDD,再经Buffer输出到IO。
3. 相邻行的BL接在sense amplifier的2个输入端,互为参考。折叠式位线结构。开放式。
 

DDR时序
1. WL的寄生RC参数(Cwl和Rwl)影响运行速度和存储容量,对时序提出要求,不满足会丢数据。

2. tRCD:行激活时间。3步:WL打开三极管,电容对BL充当电,SA放大BL。
3. tCL:读命令时间。3步:BL到DQ,SA放大,Buffer驱动IO。
4. tWR:写入时间,写恢复
5. tRAS,tRP,tRC

DDR3新增功能
1. Reset引脚,关闭收发,关闭DLL,Clock
2. 写入延迟参数CWD
3. 突发长度固定8
4. 校准ZQ,240ohm,校准DQ输出导通电阻和ODT
5. 动态ODT,在线打开。
6. 参考电压分成2个,增加信噪等级
7. 点对点连接
8. 8预取,IO频率4倍core


DDR启动流程
1. 上电期间,上电后200us,输出IO和ODT必须保持高阻,RESET# 必须为LVCMOS低于  0.2VDDQ ,即0.7V。LVPECL输入低电平1.94V

2. RESET# 拉高之前10ns和拉高之后500us,CKE必须为低

3. 在CKE拉高前,CK必须稳定10ns或5个时钟周期,ODT至少为低Tis                     
CKE拉低后,想要拉高,只能使用NOP或DES

4. CKE拉高后,Txpr 以后,MRS命令加载MR2,MR3,MR1,MR0。
        MR0,DLL锁定需要512个周期,Tdllk

5. ZQCL命令,校正RTT和RON,ZQinit。

6. Tdllk和ZQinit以后,启动完成,进入正常。

MR 2、3、1、0寄存器
7. DDR3突发长度4,8,读和写
   突发顺序:顺序型,交错型

8. CAS latency  
读指令,数据输出。2、3个周期

9. 复位DLL后,必须转回正常模式

10. 扩展MR。
    使能关闭DLL,选择驱动强度。

AC/DC判别标准
1. DQS和CK,差分信号电平要求
        单端要求:Vseh和Vsel,Vref +/- 175mv

             

               
        差分DC要求
          Vihdiff,Vildiff:Vref +/- 200mv
        差分AC要求
           Vref +/- 2*135、150、175mv

 

2. DQS和CK,差分信号的交叉点要求,偏离参考电压不能大于150mv,即,Vix最大150mv 

3. 单端信号DQ,DM,命令,地址,控制的电平要求
DC:100mv      AC:135、150、175mv

4. CK采样控制和地址,DQS采样DQ和DM
5. DDR3区分参考信号。VrefDQ用于DQS,DM,DQ,追踪0.5VDD。VrefCA用于CK,地址,控制信号,追踪0.5VDD。精度要求为1%,即+/-15mv。

The DDR4 SDRAM is a high-speed dynamic random-access memory internally configured as sixteen-banks, 4 bank group with 4 banks for each bank group for x4/x8 and eight-banks, 2 bank group with 4 banks for each bankgroup for x16 DRAM. The DDR4 SDRAM uses a 8n prefetch architecture to achieve high-speed operation. The 8n prefetch architecture is combined with an interface designed to transfer two data words per clock cycle at the I/O pins. A single read or write operation for the DDR4 SDRAM consists of a single 8n-bit wide, four clock data transfer at the internal DRAM core and eight corresponding n-bit wide, one-half clock cycle data transfers at the I/O pins. Read and write operation to the DDR4 SDRAM are burst oriented, start at a selected location, and continue for a burst length of eight or a ‘chopped’ burst of four in a programmed sequence. Operation begins with the registration of an ACTIVATE Command, which is then followed by a Read or Write command. The address bits registered coincident with the ACTIVATE Command are used to select the bank and row to be activated (BG0-BG1 in x4/8 and BG0 in x16 select the bankgroup; BA0-BA1 select the bank; A0-A17 select the row; refer to “DDR4 SDRAM Addressing” on datasheet). The address bits registered coincident with the Read or Write command are used to select the starting column location for the burst operation, determine if the auto precharge command is to be issued (via A10), and select BC4 or BL8 mode ‘on the fly’ (via A12) if enabled in the mode register. Prior to normal operation, the DDR4 SDRAM must be powered up and initialized in a predefined manner. The following sections provide detailed information covering device reset and initialization, register definition, command descriptions, and device operation.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

千帆过尽0101

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值