在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 27916|回复: 35

[求助] DDR3 Read Leveling

[复制链接]
发表于 2014-10-22 17:41:17 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
DDR3初始化时需要进行Write Leveling和Read Leveling校准,Write Leveling目的是将DQS与CK对齐,那Read Leveling呢?看过程需要读取MPR中的预定义01010101码流,我理解了一下,Read Leveling的目的有两种可能:
1. 将读回的DQS与DQ信号对齐
2. 将读回的不同字节的DQS信号之间进行对齐
请问哪个是正确的理解?万分感谢啊!
 楼主| 发表于 2014-10-26 14:18:58 | 显示全部楼层
回复 1# linghuqiubai

仔细想了想,read leveling的目的应该是将DQS对齐到该字节组的8个DQ窗口的中央
发表于 2014-10-28 14:32:12 | 显示全部楼层
read leveling 是用于对齐不同byte之间的dqs
 楼主| 发表于 2014-10-28 17:50:05 | 显示全部楼层
回复 3# 751194032

能否详细解释一下read leveling的原理呢?
因为我查了一些资料,虽然没有明确讲原理,但理解上应该是对齐DQS和DQ的,而且没有管不同byte的DQS关系
发表于 2014-11-9 23:01:43 | 显示全部楼层
tongqiu
发表于 2014-11-24 22:39:39 | 显示全部楼层
read leveling = read eye training + gate training
read eye training = left bound search + dqsdbl adjust to deskew + right bound search  + make sure dqs rise in the midpoint of dq
gate traning for make gate rise align with dqs, because of phy rx is not enable power, so gate traning is to enable phy rx。 gate training steps are the same as write leveling

so you can see read leveling is for all bits dq deskew and make gate rise align with dqs
that's my understanding, mybe not right
 楼主| 发表于 2014-11-25 09:40:43 | 显示全部楼层
回复 6# qw342333

Thank you very much!
In my understanding, read leveling includes several steps such as MPR reading and normal reading. For MPR reading, the memory controller reads "01010101" patterns from the MPR of the SDRAM, to aliagn the read DQS to the center of the valid DQ window. Then the memory controller writes some fixed pattern to the SDRAM and reads them back from the same location, to adjust the DQS phase more precisely. During the calibration, it needs to find the left bound and the right bound just as you have said, to define the valid data window.
This is my understanding now, maybe not correct as well...
 楼主| 发表于 2014-11-25 09:46:23 | 显示全部楼层
回复 6# qw342333

I'm confused about the gate training step you said, could you explain more detaily? Thanks a lot!
发表于 2015-3-25 15:13:20 | 显示全部楼层
回复 1# linghuqiubai


    最近也在研究,诸多不懂
发表于 2015-3-30 15:56:42 | 显示全部楼层
亲爱的前辈可不可以把你的DDR3 SDRAM ip发过来借我用用嘛,前辈你最好了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /1 下一条


小黑屋| 手机版| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-11-9 04:50 , Processed in 0.029836 second(s), 11 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表