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

unaligned transfers

Hi all

i have some questions.

Q1

if the master write a burst started in unaligned  address.
How to know the slave support unaligned transfers or not?


Q2
AXI spec mention that  the AXI protocol does not require the slave to take special action based on any alignment
information from the master.
what is the meaning of that?

Thanks a lot

Parents
  • Hi,

    I think an unaligned address shall not be supported by the target.
    Core probably splits unaligned access into two or more aligned accesses (supported by HW). The system does not see an unaligned address. My assumption based on the following ARM description:

    1. Unaligned Accesses typically take a greater number of cycles to complete compared to a naturally aligned transfer. The real-time implications must be carefully analyzed and key data structures might require to have their alignment adjusted for optimum performance.
    2. Unaligned access operations must not be used for accessing Device memory-mapped registers, and must be used with care in Shared memory structures that are protected by aligned semaphores or synchronization variables

Reply
  • Hi,

    I think an unaligned address shall not be supported by the target.
    Core probably splits unaligned access into two or more aligned accesses (supported by HW). The system does not see an unaligned address. My assumption based on the following ARM description:

    1. Unaligned Accesses typically take a greater number of cycles to complete compared to a naturally aligned transfer. The real-time implications must be carefully analyzed and key data structures might require to have their alignment adjusted for optimum performance.
    2. Unaligned access operations must not be used for accessing Device memory-mapped registers, and must be used with care in Shared memory structures that are protected by aligned semaphores or synchronization variables

Children