Motorola DSP96002 User Manual page 542

32-bit digital signal processor
Table of Contents

Advertisement

fmpy
fmpy
fmpy.s d6,d9,d0
fmpy.s d4,d8,d3
fmpy
fadd.s
move
_end_bfy
move
move
move
_end_grp
move
lsr
lsr
lsl
lsl
lsl
lsl
move
move
lsr
jne
move
skip
nop
_end_pass
endm
The speed for 1024 points using a 75ns instruction cycle is 2.72ms, assuming internal program and internal
data memory.
B.1.16
LMS ADAPTIVE FILTER
x(0)
x(n)
h0
d(n)
MOTOROLA
d5,d9,d0
fsub.s
d1,d2
d6,d8,d1
fadd.s
d0,d3
d4,d9,d2
fsub.s
d0,d3
d2,d1
#coef,r5
#coef+table/4,r1
#0,r3
n0,d0.l
d0.l
d0.l
n2,d1.l
d1.l
d0.l,n0
d1.l
n3,d0.l
d0.l
d1.l,n2
d0.l
n0,n4
d0.l,n3
n0,d1.l
d1.l
skip
#0,n3
x(n-1)
-1
z
h1
DSP96002 USER'S MANUAL
d3.s,x:(r4)
d1.s,x:(r4)
;point at wi0
;point at wr0
;reset group index counter
;get butterflies per group
;
;divide butterflies/group by 4
;multiply groups/pass by 4
;get w rotation factor
;multiply rotation factor by 4
;
;
;check for 1 butterfly per group
;
;
;reset rotation factor - last pass
;
;
;
x(n-2)
z -1
h2
f(n)
+
-
e(n)
y:(r1)-n1,d8.s
1
y:(r5)-n5,d9.s
1
y:(r2),d4.s
1
d2.s,y:(r4)+n4
1
y:(r1)-n1,d8.s
1
y:(r5)-n5,d9.s
1
d3.s,y:
1
2
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
---
78
x(n-3)
z -1
h3
1
1
1
1
1
1
1
2
2
1
1
1
1
1
1
1
1
1
1
1
2
1
1
---
82
B-23

Advertisement

Table of Contents
loading

Table of Contents