AN2768 Freescale Semiconductor / Motorola, AN2768 Datasheet - Page 22

no-image

AN2768

Manufacturer Part Number
AN2768
Description
Implementation of a 128-Point FFT on the MRC6011 Device
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Fixed-Point and Precision Issues
The data exchange operation for this group of data is shown in Figure 19. After data regrouping, intermediate data
is transferred into the R4, R0, R5 and R1 registers, which are the same input registers for stage 1 butterflies. The
stage 2 butterfly can then reuse the code from stage 1.
4
For FFT on fixed-point processors such as the MRC6011 device, finite precision is limited by the number of bits
available in the number representation and by the effects of finite arithmetic operations (truncation and rounding).
It is important to understand that the magnitude of the complex FFT data changes through the various stages of
calculation. Figure 20 shows how two complex numbers at the input of the DIT butterfly combine to give two
outputs. First, Vector B is multiplied by the twiddle factor. Since all twiddle factors in the FFT have the form
which has unit magnitude, the magnitude of B
nothing more than a rotation of the vector B over the angle θ. The vectors B
to give the butterfly ouputs C and D, respectively.
22
G1
G1
Fixed-Point and Precision Issues
Cell →
R8{0,*}
R9{0,*}
R4{0,*}
R0{0,*}
R4{0,*}
R0{0,*}
R5{0,*}
R1{0,*}
Figure 19. Group 1 Data Regroup After Stage 1 Butterfly Operation
MORPHO{
MORPHO{
G[ 0]r
G[ 0]i
G[ 64]r
G[ 64]i
G[ 0]r
G[ 0]i
G[ 32]r
G[ 32]i
Implementation of a 128-Point FFT on the MRC6011 Device, Rev. 0
1
CELL{*,0} R4 = BYP{R8};
CELL{*,2} R4 = BYP{R8};
CELL{*,4} R4 = BYP{R8};
CELL{*,6} R4 = BYP{R8};
CELL{*,1} R1 = BYP{R0};
CELL{*,3} R1 = BYP{R0};
CELL{*,5} R1 = BYP{R0};
CELL{*,7} R1 = BYP{R0};
}
CELL{*,0} R0 = BYP{R9};
CELL{*,2} R0 = BYP{R9};
CELL{*,4} R0 = BYP{R9};
CELL{*,6} R0 = BYP{R9};
CELL{*,1} R0 = BYP{R0{*,$-1}};
CELL{*,3} R0 = BYP{R0{*,$-1}};
CELL{*,5} R0 = BYP{R0{*,$-1}};
CELL{*,7} R0 = BYP{R0{*,$-1}};
}
G[ 32]r
G[ 32]i
G[ 96]r
G[ 96]i
G[ 64]r
G[ 64]i
G[ 96]r
G[ 96]i
2
G[ 16]r
G[ 16]i
G[ 80]r
G[ 80]i
G[ 16]r
G[ 16]i
G[ 48]r
G[ 48]i
´
is the same as that of B. Multiplication by the twiddle factor is
3
G[ 48]r
G[ 48]i
G[ 112]r
G[ 112]i
G[ 80]r
G[ 80]i
G[ 112]r
G[ 112]i
4
G[ 8]r
G[ 8]i
G[ 72]r
G[ 72]i
G[ 8]r
G[ 8]i
G[ 40]r
G[ 40]i
5
´
G[ 40]r
G[ 40]i
G[ 104]r
G[ 104]i
G[ 72]r
G[ 72]i
G[ 104]r
G[ 104]i
and A are next added and subtracted
6
G[ 24]r
G[ 24]i
G[ 88]r
G[ 88]i
G[ 24]r
G[ 24]i
G[ 56]r
G[ 56]i
Freescale Semiconductor
7
G[ 56]r
G[ 56]i
G[ 120]r
G[ 88]r
G[ 88]i
G[ 120]r
G[ 120]i
8
e

Related parts for AN2768