棋子 · 2020年01月27日

AHB-2

All transfers in a burst must be aligned to the address boundary equal to the size of the transfer. For example, you must align word transfers to word address boundaries

(HADDR[1:0]= b00), and halfword transfers to halfword address boundaries (HADDR[0]= 0). The address for IDLE transfers must also be aligned, otherwise during simulation it is likely that bus monitors could report spurious warnings.

Now Why specification hasn't mentioned about HADDR[1] in halfword and HADDR for byte?

Can anyone help me ???

1 个回答 得票排序 · 时间排序
极术小姐姐 · 2020年01月27日

Now Why specification hasn't mentioned about HADDR[1] in halfword and HADDR for byte?

Because HADDR[1:0]=2'b00 and HADDR[1:0]=2'b10 are both half word aligned, HADDR[1] can have any value and still be halfword aligned.

And for byte transfers, HADDR is a byte address, so is always byte aligned.

你的回答