14.08.2013 Views

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

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.4.2 DIT Butterfly Kernel <strong>on</strong> DSP56001<br />

The parallel architecture and the instructi<strong>on</strong> set of<br />

<strong>Motorola's</strong> DSP56001/2 lend themselves particularly<br />

well to the radix-2 DIT FFT computati<strong>on</strong>.The DIT<br />

butterfly equati<strong>on</strong>s are programmed <strong>on</strong> <strong>Motorola's</strong><br />

DSP56001/2 as given below:<br />

A’ r = Ar + Br Wr + Bi Wi A’ i = Ai + Bi Wr- Br Wi B’ r = 2Ar - A’ r<br />

B’ i = 2Ai - A’ i<br />

Eqn. 4-2<br />

where: i represents an imaginary comp<strong>on</strong>ent<br />

r represents a real comp<strong>on</strong>ent<br />

‘ symbolizes output items<br />

The basic butterfly “core” is implemented by assembly<br />

language in Figure 4-4. Note that the previous<br />

DSP56001/2 equati<strong>on</strong>s are written in this particular<br />

form such that the instructi<strong>on</strong> to shift left and subtract<br />

accumulators (SUBL) can be used. This SUBL<br />

instructi<strong>on</strong> allows efficient implementati<strong>on</strong> of the<br />

DIT butterfly in a two-accumulator ALU.<br />

;r0 ➧ A<br />

;r1 ➧ B<br />

;r4 ➧ C<br />

;r5 ➧ D<br />

mac x1,y0,b y:(r1)+,y1 ;A i - B r W i ➧ b,B i ➧ y1<br />

macr -x0,y1,b a,x:(r5)+ y:(r0),a ;A i - B rW i + B iW r➧ b,A i ➧ a<br />

subl b,a x: (r0),b b,y:(r4) ;2A i - b ➧ a,A r ➧ b<br />

mac -x1,x0,b x: (r0)+,a a,y:(r5) ;A r + B rW r ➧ b,A r ➧ a<br />

macr -y1,y0,b x: (r1),x1 ;A r + B rW r + B iW i ➧ b,B r ➧ x1<br />

subl b,a b,x:(r4)+ y:(r0),b ;2Ar - b ➧ a,A i ➧ b<br />

Figure 4-4 The radix-2, DIT butterfly kernel <strong>on</strong> the DSP56001/2<br />

MOTOROLA 4-9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!