Fast Fourier Transforms on Motorola's Digital Signal Processors
Fast Fourier Transforms on Motorola's Digital Signal Processors
Fast Fourier Transforms on Motorola's Digital Signal Processors
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
5.1.2 Optimizati<strong>on</strong> for <str<strong>on</strong>g>Fast</str<strong>on</strong>g>er<br />
Executi<strong>on</strong><br />
Although the previously discussed program executes<br />
very efficiently, some applicati<strong>on</strong>s may impose<br />
less stringent requirements <strong>on</strong> program memory<br />
size, but demand even faster executi<strong>on</strong>. <str<strong>on</strong>g>Fast</str<strong>on</strong>g>er executi<strong>on</strong><br />
can be obtained by further optimizing the<br />
previous algorithm. The following pages present several<br />
steps to achieve this optimizati<strong>on</strong>.<br />
1.<br />
Since the first and sec<strong>on</strong>d passes have trivial<br />
twiddle factors:<br />
0<br />
W<br />
N<br />
N ⁄ 4<br />
1 , and W<br />
N – j<br />
= =<br />
it is comm<strong>on</strong> to combine the first and sec<strong>on</strong>d<br />
passes as <strong>on</strong>e radix-4 pass by calculating N/4<br />
butterflies in the following equati<strong>on</strong>s.<br />
=<br />
=<br />
=<br />
=<br />
=<br />
=<br />
=<br />
Cr′ Ar Cr<br />
Dr′ Ar Cr<br />
Ci′ Ai Ci<br />
+ + +<br />
+ – ( + )<br />
– + ( Bi – Di)<br />
– – ( Bi – Di)<br />
+ – ( + )<br />
– – ( Br – Dr)<br />
+ + +<br />
( )<br />
Ar′ Ar Cr Br Dr<br />
Br′ Ar Cr Br Dr<br />
Bi′ Ai Ci Bi Di<br />
Ai′ Ai Ci Bi Di<br />
Di′ = Ai – Ci + Br – Dr<br />
Eqn. 5-2<br />
Notice that there are eight additi<strong>on</strong>s and eight<br />
subtracti<strong>on</strong>s in . A DSP that has a multiplicati<strong>on</strong><br />
and accumulati<strong>on</strong> instructi<strong>on</strong> with <strong>on</strong>e or two<br />
parallel moves (type A DSP) may take at least<br />
sixteen instructi<strong>on</strong>s to do . A DSP that has a<br />
FMPY||ADD||SUB instructi<strong>on</strong> with two parallel<br />
MOTOROLA 5-5