Welcome to the VirtuQ Forums.
Results 1 to 2 of 2

Thread: Broadcom Paper.

  1. #1

    Broadcom Paper.

    Dear Sir,

    Could you please explain aligned and non-aligned memory access.

    Thanks & Regards,

    Anon10041.

  2. #2
    VirtuQ™ Moderator
    Join Date
    Jul 2011
    Location
    Bangalore, India
    Posts
    1,044
    Blog Entries
    2
    Anon10041,

    Aligned access means that the addresses are a multiple of some basic number. Most commonly this number is either the word size (e.g. 32bits) or other higher number depending on the peripheral e.g. 256bits or 128bits. The purpose for alignment is that it is faster for hardware to do memory accesses which are a multiple of the chunk size or its bus-width. Some processor instructions specifically require that the memory address be a multiple of word size in order to complete the operation faster. You can see more on this Wikipedia article: http://en.wikipedia.org/wiki/Data_structure_alignment

    Thanks,

    Anup


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •