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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
EETOP诚邀模拟IC相关培训讲师 创芯人才网--重磅上线啦!
查看: 3478|回复: 6

[讨论] AHB的slave地址采样的问题

[复制链接]
发表于 2013-12-25 10:54:49 | 显示全部楼层 |阅读模式

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

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

x
本帖最后由 jakeguo 于 2013-12-25 22:54 编辑

在slave对master发出的地址进行采样,此时,需要HREADY为高还是没有要求?实在怀疑自己的理解能力。AMBA Spec中的原文“A slave must only sample the address and control signals and HSELx when HREADY is HIGH, indicating that the current transfer is completing. Under certain circumstances it is possible that HSELx will be asserted when HREADY is LOW, but the selected slave will have changed by the time the current transfer completes.(arm IHI 0011A   page 53)"
如果不是为高的话,那它在这里何必说这句话”A slave must only sample the address and control signals and HSELx when HREADY is HIGH
但是在Spec的图中又这样表示,如图: 8O8{7DNYD[@~A)T`FOO9.jpg
发表于 2013-12-25 13:58:46 | 显示全部楼层
本帖最后由 upsingmen 于 2013-12-25 14:01 编辑

It is strongly recommended to sample adress & control signals from AHB-Bus when HREADY is high. the reason are :
1) as what the spec mentioned,  when HREADY is low, the master may assert the Hsel high level but now AHB-Bus maybe actually is in transfer for another Slave.
2) When Hready is High, indicating the current transfer is completing, so it is safe to sample the address and control information from AHB-Bus

you can take HHREADY  as a signal which Logical AND for output HHREADY from All slaves.
any questions about AHB and its Implementation, Please contact. robin.jiang.sh@gmail.com
 楼主| 发表于 2013-12-25 20:00:25 | 显示全部楼层
发表于 2014-7-26 16:45:13 | 显示全部楼层
hready信号要为高,从机才采样主机发出的地址和控制信息
发表于 2014-9-5 17:34:42 | 显示全部楼层
AHB规范中强调,the valid address phase only lasts for just one cycle。
所以hready为high是采样是必须的,否则你采样的不是一个有效的address phase,那个有效的address phase就是以hready来标定的。
AMBA spec中有的时序图没有体现出这一点。
发表于 2014-10-20 16:39:15 | 显示全部楼层
正解!
发表于 2014-11-16 01:06:41 | 显示全部楼层
ARM总线里最重要的信号之一就是READY,先看看这个信号起到什么样的作用吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-5-9 21:04 , Processed in 0.028547 second(s), 12 queries , Gzip On, Redis On.

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