马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
最近在学习AMBA AHB协议,遇到了一些问题自己不是很理解:1.在突发传输部分提到了一句话 All transfers within a burst must be aligned to the address boundary equal to the size of the transfer.For example , word transfers must be aligned to word address boundaries(that is A[1:0] = 00),halfword transfers must be aligned to halfword address boundaries(that is A[0] = 0).首先不是很理解地址边界对齐的作用,是为了保证每次传输的数据是一个正确的数据吗?
2.wrapping bursts 部分
For wrapping bursts, if the start address of the transfer is not aligned to the total number of bytes in the burst (size x beats) then the address of the transfers in the burst will wrap when the boundary is reached. For example, a four-beat wrapping burst of word (4-byte) accesses will wrap at 16-byte boundaries. Therefore, if the start address of the transfer is 0x34, then it consists of four transfers to addresses 0x34, 0x38, 0x3C and 0x30.
这里的16-byte地址边界是指,无论0x34, 0x38, 0x3C and 0x30中的哪个是开始的地址,最终回环突发传输的地址都包括这四个吗?
3.Every slave must have a predetermined maximum number of wait states that it will insert before it backs off the bus, in order to allow the calculation of the latency of accessing the bus.这里为什么要计算访问总线的延迟 |