This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

AHB WRAP address boundaries

Note: This was originally posted on 18th June 2008 at http://forums.arm.com

AMBA spec (v2.0) only shows how the addresses wrap when hsize = 2 (word). Is it because the address boundary remains the same for each WRAP4, WRAP8, and WRAP16 cases? Or, should I re-calculate the wrap boundary based on hsize?

For example, I know from the spec that hsize = 2 and WRAP4 will sequence through addresses like this:
0x4 - 0x8 - 0xC - 0x0

Then, does hsize = 1 (halfword) and WRAP4, mean the sequence should be
0x4 - 0x6 - 0x8 - 0xA    (using 4 word boundary)
or
0x4 - 0x6 - 0x0 - 0x2     (using 4 halfword boundary)?

Thanks!
Parents Reply Children
No data