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

4-kbyte boundary space

Note: This was originally posted on 22nd August 2012 at http://forums.arm.com

Hi there,
when I read AMBA AXI4 specification, the spec shows that "Bursts must not cross 4KB boundaries to prevent them from crossing boundaries between slaves and to limit the size of the address incrementer required within slaves". I don't understand about the boundary of 4KB and the relationship between this boundary to the number of slaves in the system. Can you explain that for me?
Many thanks!
Parents
  • Note: This was originally posted on 22nd August 2012 at http://forums.arm.com

    It is to do with mapping.  The granularity of mapping in AXI is 4KB.  That means the smallest "block" of addresses that can be assigned to a given slave/peripheral is 4K*.  And all allocations are multiples of 4K.

    So when you cross a 4K boundary you are potentially going from slave A's address space to slave B's.  One burst must go to one slave, and one slave only.  Hence... bursts can't cross 4K boundaries.


    * Just because a 4K block is allocated to a slave doesn't mean that the slave will use all of it.  If you look at the documentation for many basic peripherals you'll see that most of the space is "reserved" and will result in a SLVERR if accessed.
Reply
  • Note: This was originally posted on 22nd August 2012 at http://forums.arm.com

    It is to do with mapping.  The granularity of mapping in AXI is 4KB.  That means the smallest "block" of addresses that can be assigned to a given slave/peripheral is 4K*.  And all allocations are multiples of 4K.

    So when you cross a 4K boundary you are potentially going from slave A's address space to slave B's.  One burst must go to one slave, and one slave only.  Hence... bursts can't cross 4K boundaries.


    * Just because a 4K block is allocated to a slave doesn't mean that the slave will use all of it.  If you look at the documentation for many basic peripherals you'll see that most of the space is "reserved" and will result in a SLVERR if accessed.
Children