AN2072 Freescale Semiconductor / Motorola, AN2072 Datasheet - Page 13

no-image

AN2072

Manufacturer Part Number
AN2072
Description
AN2072, Decision Feedback Equalizer for StarCore-Based DSPs
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Freescale Semiconductor
move.l #mult_out,r3
N_loop:
move.4f (r0)+,d0:d1:d2:d3move.4f (r1)+,d4:d5:d6:d7
loopstart2
;load real/imag of transpose(H) and H
[ mac d0,d4,d8
mac d2,d6,d10
]
[ mac d1,d5,d8
mac d3,d7,d10
]
[ add d8,d10,d12
move.4f (r0)+,d0:d1:d2:d3
]
dosetup0 NN_loop
dosetup2 N_loop
move.l #conv_matrix,r0
move.l #$000008,MCTL
doen0 #COL_CONV_MATRIX
tfra r0,r4
move.l #conv_matrix,b0
move.l #ROW_CONV_MATRIX_4X,m0
loopend2
Code Listing 5. Address Register Updates for Matrix Multiply Block
Decision Feedback Equalizer for StarCore™-Based DSPs, Rev. 1
Code Listing 4. Main Kernel for Matrix Multiply Block
Transpose H
ptrA
( )
mac d0,d5,d9
mac d2,d7,d11
mac -d1,d4,d9
mac -d3,d6,d11
add d9,d11,d13
dosetup1 P_loop
tfra r0,r1
=
move.4f (r1)+,d4:d5:d6:d7
h 0 0 0 0 0 0 0 0
h 1 h 0 0 0 0 0 0 0
h 2 h 1 h 0 0 0 0 0 0
h 3 h 2 h 1 h 0 0 0 0 0
h 4 h 3 h 2 h 1 h 0 0 0 0
0 h
0 0 h
0 0 0 h
0 0 0 0 h 4 h 3 h 2 h 1
0 0 0 0 0 h 4 h 3 h 2
0 0 0 0 0 0 h
0 0 0 0 0 0 0 h 4
ptrB
4
h
3
4
h
h
2
3
4
h
h
h
1
2
3
h
h
h
0
1
2
h
h
0 0
; r1->r1 and doen0
; loop0 repeat # of col times
; of convolution matrix
; r4->r0
; b0->#conv_matrix
; Set modulo size of r0 to # of
; rows in conv_matrix*4
0
1
4
h
h
0
0
3
; load real/imag of
; transpose(H) and H
; load real/imag of
; transpose(H) and H
Implementation of the Algorithm
Equation 24
13

Related parts for AN2072