Constant tables
[Configuration]


Detailed Description

These defines are used to configure data table storage methods


1024 elements twiddle factors table

A_ALIGNED
TWIDDLE_FACTORS_PREFIX_TAB
dsp16_t 
dsp16_twiddle_factors2 [DSP16_N_TWIDDLE_FACTORS]
 This table has been generated using the following algorithm:.

Twiddle factors table

#define DSP16_N_TWIDDLE_FACTORS   1024
 This constant defines the size of the twiddle factors table we want to store in memory.
i.e.: if we want to compute a 1024-point (or less) complex FFT, we will define this constant as follow:.

Twiddle factors table

#define DSP32_N_TWIDDLE_FACTORS   1024
 This constant defines the size of the twiddle factors table we want to store in memory.
i.e.: if we want to compute a 1024-point (or less) complex FFT, we will define this constant as follow:.

Variables

TWIDDLE_FACTORS_PREFIX_TAB dsp16_t dsp16_twiddle_factors []
 This constant permits you to add attributes to the twiddle factors table.
It is useful if you want to store the table into another memory for example.
i.e.:.
TWIDDLE_FACTORS_PREFIX_TAB dsp32_t dsp32_twiddle_factors []
 This constant permits you to add attributes to the twiddle factors table.
It is useful if you want to store the table into another memory for example.
i.e.:.


Define Documentation

#define DSP16_N_TWIDDLE_FACTORS   1024

This constant defines the size of the twiddle factors table we want to store in memory.
i.e.: if we want to compute a 1024-point (or less) complex FFT, we will define this constant as follow:.

 #define DSP16_N_TWIDDLE_FACTORS  1024 
It will store a 1024 twiddle factors elements table into memory that will allow you to compute either 4, 16, 256 or 1024 complex FFTs.
Warning:
This is not the size in byte of the twiddle factors table but it defines the number of items in the twiddle factors table. Its actual size can differ with the use of the algorithm's optimization option DSP_OPTI_SIZE.

Definition at line 68 of file trans_dsp16_twiddle_factors.h.

Referenced by dsp16_trans_complexfft(), dsp16_trans_complexifft(), and dsp16_trans_realcomplexfft().

#define DSP32_N_TWIDDLE_FACTORS   1024

This constant defines the size of the twiddle factors table we want to store in memory.
i.e.: if we want to compute a 1024-point (or less) complex FFT, we will define this constant as follow:.

 #define N_TWIDDLE_FACTORS  1024 
It will store a 1024 twiddle factors elements table into memory that will allow you to compute either 4, 16, 256 or 1024 complex FFTs.
Warning:
This is not the size in byte of the twiddle factors table but it defines the number of items in the twiddle factors table. Its actual size can differ with the use of the algorithm's optimization option DSP_OPTI_SIZE.

Definition at line 68 of file trans_dsp32_twiddle_factors.h.

Referenced by dsp32_trans_realcomplexfft().


Variable Documentation

TWIDDLE_FACTORS_PREFIX_TAB dsp16_t dsp16_twiddle_factors[]

This constant permits you to add attributes to the twiddle factors table.
It is useful if you want to store the table into another memory for example.
i.e.:.

 #define TWIDDLE_FACTORS_PREFIX_TAB  const 
This will store the twiddle factors table in FLASH for the avr32-uc30512.

This constant permits you to add attributes to the twiddle factors table.
It is useful if you want to store the table into another memory for example.
i.e.:.

 for i=0:4:DSP16_N_TWIDDLE_FACTORS,
 k = i/(DSP16_N_TWIDDLE_FACTORS*4);
 w = exp(-2*PI*%i*k);
 end;
It is a one dimensional array containing the real parts (even parts) and imaginary parts (odd parts) of the w value.

Definition at line 324 of file trans_dsp16_twiddle_factors.c.

Referenced by dsp16_trans_complexfft(), dsp16_trans_complexifft(), and dsp16_trans_realcomplexfft().

A_ALIGNED TWIDDLE_FACTORS_PREFIX_TAB dsp16_t dsp16_twiddle_factors2[DSP16_N_TWIDDLE_FACTORS]

This table has been generated using the following algorithm:.

 for i=0:4:DSP16_N_TWIDDLE_FACTORS-4,
 k = i/(DSP16_N_TWIDDLE_FACTORS*4);
 w2 = exp(-2*PI*%i*k*2);
 w3 = exp(-2*PI*%i*k*3);
 end;
It is a one dimensional array containing the real parts (4*i parts) and imaginary parts (4*i+1 parts) of the w2 value and the real parts (4*i+2 parts) and imaginary parts (4*i+3 parts) of the w3 value.

Definition at line 598 of file trans_dsp16_twiddle_factors.c.

Referenced by dsp16_trans_complexfft(), dsp16_trans_complexifft(), and dsp16_trans_realcomplexfft().

TWIDDLE_FACTORS_PREFIX_TAB dsp32_t dsp32_twiddle_factors[]

This constant permits you to add attributes to the twiddle factors table.
It is useful if you want to store the table into another memory for example.
i.e.:.

 #define TWIDDLE_FACTORS_PREFIX_TAB  const 
This will store the twiddle factors table in FLASH for the avr32-uc30512.

Definition at line 345 of file trans_dsp32_twiddle_factors.c.

Referenced by dsp32_trans_realcomplexfft().


Generated on Fri Feb 19 02:23:23 2010 for AVR32 UC3 - EVK1104 DSPLib Demo Documentation by  doxygen 1.5.5