DSPRelated.com
Forums

DATA_ALIGN

Started by pramod mishra August 6, 2007
Hi all,
I am reading a 16 bit data from a async memory using
EMIF. I need to perform FFT and further procesing
based on this. Do i need to ALIGN my data. What should
i Write in place of 'constant'? in
#pragma DATA_ALIGN(symbol, constant)

please reply soon,
Pramod Mishra
____________________________________________________________________________________
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz
--- In c..., pramod mishra wrote:
>
> Hi all,
> I am reading a 16 bit data from a async memory using
> EMIF. I need to perform FFT and further procesing
> based on this. Do i need to ALIGN my data. What should
> i Write in place of 'constant'? in
> #pragma DATA_ALIGN(symbol, constant)
>
> please reply soon,
> Pramod Mishra
>

How will you be performing the FFT? If you're using the dsplib FFT
functions then read the documentation to see what data alignment is
required. It's normally 8. The length of the data will also need to be
a power of 2. What DSP are you using (c64x, c67x)?
Pete