AN2072 Freescale Semiconductor / Motorola, AN2072 Datasheet - Page 15

no-image

AN2072

Manufacturer Part Number
AN2072
Description
AN2072, Decision Feedback Equalizer for StarCore-Based DSPs
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
3.4.1 Cholesky Factorization
The first step in finding the feed-forward and the feedback taps is to compute the lower triangular Cholesky factor
of matrix A (formed by replacing the lower triangle of the original matrix A by its Cholesky factor). This section
describes how the Cholesky factorization is implemented on the SC140 core. Two iterations of the algorithm are
presented. Iteration refers to the outermost loop. Iteration 1 refers to the entire operation as long as column 1 is the
base column, BASE_COL. Similarly, Iteration 2 refers to the entire operation when column 2 is the base column,
BASE_COL.
Iteration 1:
Freescale Semiconductor
1.
2.
Compute sqrt(a(1,1)) and 1/sqrt(a(1,1)).
The first step in filling up the matrix is replacing a(1,1) by sqrt(a(1,1)). Then each element of the first
column of the marix A is multiplied by 1/sqrt(a(1,1)) and these new values replace the existing first
column of matrix A in DSP memory. This process is shown by the lighter-shaded column which is
called the “BASE_COL” shown in the Figure 4.
Perform the operation:
A(i,j)=A(i,j)-A(i,k)*conj(A(j,k))
This implies replacing the second column (starting from the diagonal dash line) with the (first
iteration; k=1, j=2, and i=2) newly computed values:
A(2:12,2)=A(2:12,2)-A(2:12,1)*conj(A(2,1))
The darker-filled column in the matrix in Figure 4, shows the newly replaced columns. In the
assembly code, the start location of A(2:12,2)is stored in a register named, CURRENT_COL, and
the start location of A(2:12,1) is stored in a register named, BASE_ROW. The “BASE_ROW”
contains the starting row location in the “BASE_COL” as the algorithm proceeds.
a 10 1
a 1 1
a 2 1
a 3 1
a 4 1
a 5 1
a 6 1
a 7 1
a 8 1
a 9 1
(
(
(
(
(
(
(
(
(
(
,
,
,
,
,
,
,
,
,
,
a(1,1)
) a 1 2
) a 2 2
) a 3 2
) a 4 2
) a 5 2
) a 6 2
) a 7 2
) a 8 2
) a 9 2
) a 10 2
(
(
(
(
(
(
(
(
(
(
,
,
,
,
,
,
,
,
,
,
Decision Feedback Equalizer for StarCore™-Based DSPs, Rev. 1
) a 1 3
) a 2 3
) a 3 3
) a 4 3
) a 5 3
) a 6 3
) a 7 3
) a 8 3
) a 9 3
) a 10 3
Figure 4. First Step in Computing the Cholesky Factor
(
(
(
(
(
(
(
(
(
(
,
,
,
,
,
,
,
,
,
,
) a 1 4
) a 2 4
) a 3 4
) a 4 4
) a 5 4
) a 6 4
) a 7 4
) a 8 4
) a 9 4
) a 10 4
(
(
(
(
(
(
(
(
(
(
,
,
,
,
,
,
,
,
,
,
) a 1 5
) a 2 5
) a 3 5
) a 4 5
) a 5 5
) a 6 5
) a 7 5
) a 8 5
) a 9 5
) a 10 5
(
(
(
(
(
(
(
(
(
(
,
,
,
,
,
,
,
,
,
,
) a 1 6
) a 2 6
) a 3 6
) a 4 6
) a 5 6
) a 6 6
) a 7 6
) a 8 6
) a 9 6
) a 10 6
(
(
(
(
(
(
(
(
(
(
,
,
,
,
,
,
,
,
,
,
) a 1 7
) a 2 7
) a 3 7
) a 4 7
) a 5 7
) a 6 7
) a 7 7
) a 8 7
) a 9 7
) a 10 7
(
(
(
(
(
(
(
(
(
(
,
,
,
,
,
,
,
,
,
,
) a 1 8
) a 2 8
) a 3 8
) a 4 8
) a 5 8
) a 6 8
) a 7 8
) a 8 8
) a 9 8
) a 10 8
(
(
(
(
(
(
(
(
(
(
,
,
,
,
,
,
,
,
,
,
) a 1 9
) a 2 9
) a 3 9
) a 4 9
) a 5 9
) a 6 9
) a 7 9
) a 8 9
) a 9 9
) a 10 9
(
(
(
(
(
(
(
(
(
(
,
,
,
,
,
,
,
,
,
,
Implementation of the Algorithm
) a 1 10
) a 2 10
) a 3 10
) a 4 10
) a 5 10
) a 6 10
) a 7 10
) a 8 10
) a 9 10
) a 10 10
(
(
(
(
(
(
(
(
(
(
,
,
,
,
,
,
,
,
,
,
)
)
)
)
) a 5 1 1 ( )
)
)
)
)
) a 10 11
a 1 11
a 2 11
a 3 11
a 4 11
a 6 11
a 7 11
a 8 11
a 9 11
(
(
(
(
(
(
(
(
(
(
,
,
,
,
,
,
,
,
,
,
)
)
)
)
)
)
)
)
) a 10,
) a 5 1
a 1 1
a 2 1
a 3 1
a 4 1
a 6 1
a 7 1
a 8 1
a 9 1
(
(
(
(
(
(
(
(
(
(
,
,
,
,
,
,
,
,
,
15

Related parts for AN2072