B-4
DSP96002 USER’S MANUAL
MOTOROLA
B.1.6 Real * Complex Correlation Or Convolution (FIR Filter)
cr(n) + jci(n) = SUM(I=0,...,N-1) {( ar(I) + jai(I)) * b(n-I)}
cr(n) = SUM(I=0,...,N-1) { ar(I) * b(n-I) }
ci(n) = SUM(I=0,...,N-1) { ai(I) * b(n-I) }
Program ICycles
Words
move #aaddr,r0 1 1
fclr d0 #baddr+n,r4 1 1
fclr d1 x:(r0),d4.s 1 1
fclr d2 x:(r4)-,d5.s y:(r0)+,d6.s 1 1
do #n,end 2 3
fmpy d4,d5,d2 fadd.s d2,d1 x:(r0),d4.s 1 1
fmpy d6,d5,d2 fadd.s d2,d0 x:(r4)-,d5.s y:(r0)+,d6.s 1 1
end
fadd.s d2,d1 1 1
--- ---
Totals
9 2N+8
(10 2N+9)
B.1.7 Complex Multiply
cr + jci = ( ar + jai ) * ( br + jbi )
cr = ar * br - ai * bi R1
→
cr,ci R0
→
ar,ai R4
→
br,bi
ci = ar * bi + ai * br D5 = ar D6 = bi D4 = br D7 = ai
Program
ICycles
Words
move x:(r0),d5.s y:(r4),d6.s 1 1
fmpy.s d6,d5,d1 x:(r4),d4.s y:(r0),d7.s 1 1
fmpy.s d4,d7,d2 1 1
fmpy.s d4,d5,d0 1 1
fmpy d6,d7,d2 fadd.s d2,d1 1 1
fsub.s d2,d0 d1.s,y:(r1) 1 1
move d0.s,x:(r1) 1 1
--- ---
Totals:
7 7
(6 6)
Summary of Contents for DSP96002
Page 3: ...1 2 DSP96002 USER S MANUAL MOTOROLA ...
Page 38: ...MOTOROLA DSP96002 USER S MANUAL 3 15 Figure 3 4 Modulo Arithmetic Unit Block Diagram ...
Page 39: ...3 16 DSP96002 USER S MANUAL MOTOROLA ...
Page 53: ...4 14 DSP96002 USER S MANUAL MOTOROLA ...
Page 76: ...MOTOROLA DSP96002 USER S MANUAL 5 23 Figure 5 8 Address Modifier Summary ...
Page 86: ...6 10 DSP96002 USER S MANUAL MOTOROLA ...
Page 101: ...MOTOROLA DSP96002 USER S MANUAL 7 15 Figure 7 9 HI Block Diagram One Port ...
Page 140: ...7 54 DSP96002 USER S MANUAL MOTOROLA ...
Page 166: ...9 10 DSP96002 USER S MANUAL MOTOROLA ...
Page 181: ...MOTOROLA DSP96002 USER S MANUAL 10 15 Figure 10 8 Program Address Bus FIFO ...
Page 337: ...MOTOROLA DSP96002 USER S MANUAL A 149 ...
Page 404: ...A 216 DSP96002 USER S MANUAL MOTOROLA PC xxxx D ...
Page 460: ...A 272 DSP96002 USER S MANUAL MOTOROLA SIOP Not affected ...
Page 484: ...A 296 DSP96002 USER S MANUAL MOTOROLA SSH PC SSL SR SP 1 SP ...
Page 519: ...MOTOROLA DSP96002 USER S MANUAL A 331 ...
Page 718: ...MOTOROLA DSP96002 USER S MANUAL B 199 ...
Page 871: ... MOTOROLA INC 1994 MOTOROLA TECHNICAL DATA SEMICONDUCTOR M Addendum ...
Page 888: ...MOTOROLA INDEX 1 INDEX ...
Page 889: ......