DSPRelated.com
Forums

double word boundary

Started by vbehravan May 8, 2004
I want to use one of C_Callable functions of ti for C6713 DSPs. this function
gets two arrays(address of arrays is x,y). in the descriptions of this function
I saw these sentences:
" The arrays x and y should be aligned on opposite (even and odd) double word
boundaries to avoid memory bank hits".

what is the meaning of "double word boundaries" ?
how can I align a variable in the memory in "even double word boundary"
and "odd double word boundary". ?
Regards.




vbehravan-

>what is the meaning of "double word boundaries" ?

Those binary addresess ending with *three zeros* are double word boundary
addresess.Or in other words address 0x0,0x8,0x10,0x18 etc...

bhooshan

_________________________________________________________________
Best of Indian handicrafts.
http://www.fabmall.com/affiliatehtml/redir/nl8.asp At MSN Shopping.



In the C compiler help, lookup #pragma DATA_ALIGN()

- Andrew E.

At 01:25 PM 5/8/2004 +0000, vbehravan wrote:
>I want to use one of C_Callable functions of ti for C6713 DSPs. this function
>gets two arrays(address of arrays is x,y). in the descriptions of this function

>I saw these sentences:
>" The arrays x and y should be aligned on opposite (even and odd) double word
>boundaries to avoid memory bank hits".
>
>what is the meaning of "double word boundaries" ?
>how can I align a variable in the memory in "even double word boundary"
>and "odd double word boundary". ?
>Regards. >_____________________________________
>Note: If you do a simple "reply" with your email client, only the author of
this message will receive your answer. You need to do a "reply all" if you want
your answer to be distributed to the entire group.
>
>_____________________________________
>About this discussion group:
>
>To Join: Send an email to
>
>To Post: Send an email to
>
>To Leave: Send an email to
>
>Archives: http://www.yahoogroups.com/group/c6x
>
>Other Groups: http://www.dsprelated.com
>
>Yahoo! Groups Links >
>