High speed hardware implementation of modified Reed-Solomon decoder

Information

  • Patent Grant
  • 7539927
  • Patent Number
    7,539,927
  • Date Filed
    Thursday, April 14, 2005
    19 years ago
  • Date Issued
    Tuesday, May 26, 2009
    15 years ago
Abstract
A decoder suitable for use in a digital communications system utilizing an RS(n′, k′) code modified from an RS(n, k) code receives n′-symbol vectors each including k′ message symbols and r′=n′−k′ parity symbols and decodes the n′-symbol vectors to correct errors therein, wherein n, k, n′, and k′ are integers, and k′
Description
FIELD OF THE INVENTION

This invention is in general related to a high speed Reed-Solomon (RS) decoder suitable for decoding shortened/punctured RS codes.


BACKGROUND OF THE INVENTION

A digital communications system includes an encoder (or transmitter) for encoding and transmitting data, a decoder (or receiver) for receiving and decoding data, and a channel between the encoder and decoder. The channel is generally noisy and causes corruption in the data transmitted therethrough. For the correct data to be recovered, an error-correction code is used during encoding at the encoder side and used by the decoder to correct the corruption in the data. One popular type of such error-correction code is called the Reed-Solomon (RS) code. An encoder/decoder utilizing the RS code is called an RS encoder/decoder. The RS code is briefly explained next.


RS codes are nonbinary codes, i.e., the unit thereof is not a binary bit, but rather a symbol made up of multiple binary bits. For example, in an 8-bit-byte system, each symbol (or byte) contains 8 binary bits and an RS code contains a number of symbols. In the following description, it is assumed that each symbol is composed of m binary bits, where m is an integer. A symbol containing m bits, am−1, am−2, . . . , a0, may be represented by an (m−1)-degree polynomial, K(x)=am−1xm−1+am−2xm−2+ . . . +a0, where x is the indeterminate. Thus, the collection of all 2m possible m-bit symbols constitute a set {K(x)=am−1xm−1+am−2xm−2+ . . . +a0}, where ai ∈{0,1} for i=0, 1, . . . , m−1.


Set {K(x)}, coupled with an addition operator (+) and a multiplication operator (×) defined thereupon, defines a finite field, or Galois field, which may be denoted as GF(2m). Particularly, the addition of the elements of GF(2m) (or elements of {K(x)}) is defined as a binary addition of the corresponding polynomials, where the coefficients of the same powers in the corresponding polynomials are added modulo 2. The modulo-2 addition is defined as a binary addition with no carry, for example, 0+1=1, and 1+1=0. When two elements of GF(2m) are multiplied, the corresponding polynomials are multiplied and reduced to a residue modulo f(x), i.e., multiples of f(x) are reduced to 0. Here f(x) is an m-degree primitive polynomial of GF(2m), which by definition is irreducible and divides xn+1 when n=2m−1, but does not divide xn+1 when n<2m−1. Thus, the addition or multiplication of two elements of GF(2m) generates a polynomial of order not greater than m−1, which corresponds to another element of GF(2m).


It is well known that GF(2m) as defined above includes a so-called primitive element α that is a root of f(x), and every element of GF(2m) except 0 is a power of α. Because f(x) divides x2m−1+1, there is α2m−1=1 (note that this is equivalent to saying α2m−1+1=0 in binary arithmetic). Thus, the elements of GF(2m) are 0, 1(=α0), α1, . . . , α2m−2.


With each element of GF(2m) representing an m-bit symbol, a data sequence containing a sequence of symbols may be represented by a vector including a sequence of elements of GF(2m). For example, a sequence of symbols represented by n (n being an integer) elements of GF(2m), cn−1, cn−2, . . . , c0, form an n-degree vector C over GF(2m), (cn−1, cn−2, . . . , c0. C may be further represented by a polynomial with the sequence of elements of GF(2m) as coefficients of the polynomial, i.e., C(x)=cn−1xn−1+cn−2xn−2+ . . . +c0.


According to the conventional method for RS encoding, redundant symbols are added to a message block to form an RS code, where the redundant symbols and the symbols of the message block satisfy a predetermined condition. The RS code is then transmitted through a channel. A receiver receives the transmitted RS code and determines if the RS code has been corrupted by evaluating whether the received RS code still satisfies the same condition. The receiver corrects any error in the received RS code and extracts the message block therefrom.


Particularly, when a message block M containing k symbols, mk−1, mk−2, . . . , m0, is encoded, a parity sequence P containing a number of redundant symbols (also called parity symbols) is appended to the end of message block M to form an n-degree vector C, where 0<k<n<2m+2. Thus, vector C includes k message symbols of message block M, mk−1, mk−2, . . . , m0, followed by n−k parity symbols, pn−k−1, pn−k−2, . . . , p0, and may be expressed as













C


(
x
)


=





m

k
-
1




x

n
-
1



+


m

k
-
2




x

n
-
2



+

+


m
0



x

n
-
k



+












p

n
-
k
-
1




x

n
-
k
-
1



+


p

n
-
k
-
2




x

n
-
k
-
2



+

+

p
0








=





x

n
-
k




M


(
x
)



+


P


(
x
)


.









(
1
)








The encoding is carried out such that C(x) is divisible by a generator polynomial











g


(
x
)


=




i
=
1


l
+
n
-
k
-
1








(

x
-

α



)



,

i
.
e
.

,






g


(
x
)




C


(
x
)



,




(
2
)








where l is called the offset and may be any integer. In the following, it is assumed that l=1 for simplicity. If C satisfies condition (2), C is called a valid codeword or a codeword. It is well known that an RS code is cyclic, meaning that if an n-symbol sequence C, cn−1, cn−2, . . . , c0, is a valid codeword, then when C is shifted by b symbols to generate a new sequence Cb, cn−b−1, cn−b−2, . . . , c0, cn−1, cn−2, . . . , cn−b, Cb is also a valid codeword, where b is any integer.


After encoding, vector C is transmitted through the channel.


At the decoder side, a vector R corresponding to codeword C is received and includes rn−1, rn−2, . . . , r0, which may differ from the original n symbols of C, mk−1, mk−2, . . . , m0, pn−k−1, pn−k−2, . . . , p0, due to noise in the channel. The decoder then decodes R to recover C as follows.


First, syndromes are computed for R. Syndromes of R are defined as Si=R(αi+1) for i=0, 1, . . . , n−k−1, where R(x) is the polynomial representation of R:

R(x)=rn−1xn−1+rn−2xn−2+ . . . +r0.  (3)

From (2), if no error occurs in the received vector R, Si should be 0 for i=0, 1, . . . , n−k−1, because g(x)|(R(x)=C(x)). However, if it is assumed there are t errors occurring at unknown locations j1, j2, . . . , jt, and the errors in the received symbols of R at these locations have values e1, e2, . . . , et, where ei=rji−cji, for i=1, 2, . . . , t, then there is:

R(x)=C(x)+e(x),  (4)

where e(x)=e1xj1+e2xj2+ . . . +etxjt, is the error polynomial. For convenience, error locator numbers β1, β2, . . . , βt, are defined as follows

βiji, for i=1, 2, . . . , t.  (5)

Combining (2), (4), and (5), there are:

S0=e1β1+e2β2+ . . . , +etβt,
S1=e1β12+e2β22+ . . . +etβt2,
. . .
Sn−k−1=e1β1n−k+e2β2n−k+ . . . +etβtn−k.  (6)


Because there are 2t unknowns, e1, e2, . . . , et, β1β2, . . . , βt, and (6) has n−k equations, a solution may be found if n−k≧2t. In other words, the RS code can correct up to └(n−k)/2┘ errors, where └x┘ is the floor function which gives the greatest integer not greater than x.


To facilitate solving the equations in (6), an error locator polynomial σ(x) is defined as











σ


(
x
)


=





i
=
1

t



(

1
-


β
i


x


)


=




i
=
0

t




σ
i



x
i





,




(
7
)








an error evaluator polynomial ω(x) is defined as











ω


(
x
)


=





j
=
1

t




e
j



β
j







i
=
1

t


i

j




(

1
-


β
i


x


)




=




i
=
0


t
-
1





ω
i



x
i





,




(
8
)








and a syndrome polynomial S(x) is defined as










S


(
x
)


=




i
=
0


n
-
k
-
1





S
i




x
i

.







(
9
)








From (6)-(9), there is

S(x)σ(x)=ω(x) mod xn−k.  (10)


Equation (10) is called the key equation, and may be solved by a computer system applying a modified Euclidean (ME) algorithm to find σ(x) and ω(x). After σ(x) and ω(x) are determined, the location of the errors are determined by determining the roots of σ(x), which may be carried out by performing a Chien search. The Chien search simply computes the value of σ(x) at points α0, α−1, . . . , α−(n−1). Note that, because α2m−1=1, evaluating σ(x) at points α0, α−1, . . . , α−(n−1) is equivalent to evaluating σ(x) at points α02m−1, α2m−2, . . . , α2m−n. By definition of σ(x) in (7), if an error occurs at location ji, then σ(βi−1)=σ(α−ji)=0. If σ(α−1)≠0, then no error took place at location i. Also, from (7) and (8), the error values may be computed according to the following expression for a Forney algorithm:










e
i

=

{





0
,





if






σ


(

α

-
i


)




0








ω


(

α

-
i


)




σ




(

α

-
i


)



,





if






σ


(

α

-
i


)



=
0




,






(
11
)








for i=1, 2, . . . , t, where σ′(x) is the derivative of σ(x):











σ




(
x
)


=

-




j
=
1

t




β
j







i
=
1

t


i

j





(

1
-


β
i


x


)

.









(
12
)







If l≠1, there is










e
i

=

{





0
,





if






σ


(

α

-
i


)




0









-

α

-

i


(

l
-
1

)







ω


(

α

-
i


)





σ




(

α

-
i


)



,





if






σ


(

α

-
i


)



=
0




.






(

11


-


1

)







The errors are then subtracted from R, i.e., ci=rji−eji, for i=1, 2, . . . , t, to generate the correct codeword C.


In “High-Speed VLSI Architecture for Parallel Reed-Solomon Decoder,” Hanho Lee, IEEE Trans. on Very Large Scale Integration Systems, v. 11, No. 2, April 2003, pp. 288-294 (“Lee”), the entire contents of which are incorporated herein by reference, an RS decoder implementing the above decoding method was proposed. The RS decoder of Lee is briefly discussed herein, with reference to the figures of Lee, which are reproduced here as FIGS. 1, 2A-2B, 3A-3B, and 4A-4C.



FIG. 1 shows a digital communications system including the RS decoder. An encoder encodes k symbols to generate an n-symbol codeword. The n-symbol codeword is transmitted through a channel and is received by the decoder. The decoder includes two parts: an error detection part and an error correction part. In the error detection part, a syndrome computation block computes the n−k syndromes. In the error correction part, a modified Euclidean (ME) algorithm block generates the error-locator polynomial σ(x) and the error-evaluator polynomial ω(x), using the n−k syndromes. The error-locator polynomial σ(x) and the error-evaluator polynomial ω(x) are sent to a Chien search block, which computes σ(x) and σ′(x) at points α0, α1, . . . , αn−1. A Forney algorithm block then computes the error values based on ω(x) and σ′(x). An Error correction block finally corrects the received vector R using the error locations and the error values.



FIGS. 2A-2B, 3A-3B, and 4A-4C show the detailed logic diagrams of the decoder. FIGS. 2A and 2B show the logic diagrams of the syndrome computation block where FIG. 2A shows a syndrome calculation cell and FIG. 2B shows a total of 16 syndrome cells of FIG. 2A connected in series for calculating 16 syndromes (n−k=16). As shown in FIG. 2A, the n symbols of R are input into each syndrome calculation cell for calculating the corresponding syndrome. As shown in FIG. 2B, the 16 syndromes are output serially.



FIGS. 3A and 3B show the logic diagrams of the ME algorithm block, where FIG. 3A shows an ME processing element (PE) and FIG. 3B shows 16 ME PE's, PE1, PE2, . . . , PE16, connected in series for calculating σ(x) and ω(x). The ME algorithm applied in Lee is summarized as follows:

    • 1. First, let R0(x)=xn−k, Q0(x)=S(x), L0(x)=0, U0(x)=1
    • 2. Repeat the calculation of Ri(x), Qi(x), Li(x), Ui(x), i being the index starting from 1, where for each i-th iteration,

      Ri(x)=[λi−1bi−1Ri−1(x)+ λi−1ai−1Qi−1(x)]−x|li−1|i−1ai−1Qi−1(x)+ λi−1bi−1Ri−1(x)],
      Qi(x)=λi−1Qi−1(x)+ λi−1Ri−1(x),
      Li(x)=[λi−1bi−1Li−1(x)+ λi−1ai−1Ui−1(x)]−x|li−1|i−1ai−1Ui−1(x)+ λi−1bi−1Li−1(x)],
      Ui(x)=λi−1Ui−1(x)+ λi−1Li−1(x),

      where ai−1, and bi−1 are the leading coefficients of Ri−1(x) and Q−1(x), respectively, and








l

i
-
1


=


deg


(


R

i
-
1




(
x
)


)


-

deg


(


Q

i
-
1




(
x
)


)




,




and







λ

i
-
1


=

{





1
,





if






l

i
-
1




0






0
,





if






l

i
-
1



<
0




.







The reiteration of step 2 stops when deg(Ri(x))<└(n−k)/2┘;

    • 3. ω(x)=Ri(x), and σ(x)=Li(x).

      FIG. 3A shows that the ME PE includes two parts, a degree computation (DC) block and a polynomial arithmetic (PA) block. The DC block computes the degrees of Ri(x) and Qi(x) and also calculates λi. The PA block calculates Ri(x), Qi(x), Li(x), Ui(x).


When σ(x) is determined, the coefficients thereof, σ0, σ1, . . . , σt, are sent to the Chien search block for evaluating σ(x) and σ′(x) for x=α0, α1, . . . , αn−1, as shown in FIG. 4A. Because in binary arithmetic, A(x)+A(x)=0, there is xσ′(x)=σodd(x). Thus, as shown in FIG. 4A, σ′(x) may be calculated at the same time σ(x) is calculated. The Chien search cells, labeled as Ci in FIG. 4A, compute the i-th term in σ(x) or σ′(x), and the result of all the Chien search cells are summed up to generate σ(x) and σ′(x). FIG. 4B shows the detail of the i-th Chien search cell. The Chien search block outputs in series σ(α0), σ(α1), . . . , σ(αn−1).


Similarly, the coefficients of ω(x), ω0, ω1, . . . , ωi−1, are sent to the Forney algorithm block, as shown in FIG. 4C, for the calculation of ω(x) for x=α0, α1, . . . , αn−1. The Forney algorithm block of FIG. 4C also computes the error values according to expression (11), based on the results of σ(x), σ′(x), and ω(x). The error values are then added to the received n symbols of R to generate the correct codeword C.


An RS code that encodes k-symbol message blocks and generates n-symbol codewords, where 0<k<n<2m+2, is referred to as an RS(n, k) code. An RS(n, k) code includes r=n−k parity symbols in each codeword. Generally, n=2m−1. For example, in an 8-bit-symbol system, a standard RS code (also called a mother RS code), RS(255, 239), encodes 239-symbol message blocks into 255-symbol codewords.


In order to offer different coding rates, RS(n, k) codes are frequently modified to generate RS(n′, k′) codes for encoding and decoding k′-symbol message blocks, where n′<n, k′<k, and k′<n′, through shortening and puncturing. FIGS. 5A-5B illustrate the shortening and puncturing of an RS(n, k) code into an RS(n′, k′) code. The shortening of the code is carried out by setting k−k′ symbols (“shortened symbols”) in each codeword to be predetermined symbols, such as 0's. An encoder treats the k′ symbols of a message block and the predetermined k−k′ symbols as a k-symbol message block and generates r parity symbols. The puncturing of the code is then carried out by erasing/puncturing s symbols of the n−k parity symbols, where s=r−r′=(n−k)−(n′−k′). The k−k′ shortened symbols and s punctured parity symbols are not transmitted. Thus, only n′ symbols are transmitted for each codeword, including k′ message symbols and r′ parity symbols.


When a shortened/punctured vector R′ including n′ symbols, rn′−1, rn′−2, . . . , r0, is received, the decoder reconstructs a corresponding n-symbol vector R, by adding the shortened k−k′ symbols and the punctured s parity symbols to the n′ symbols of R′. The values and positions of the shortened symbols are known. The values of the punctured s parity symbols are unknown; however, their positions are predetermined and known to the decoder. The positions of the shortened and erased symbols may be randomly chosen. However, generally the first k−k′ symbols of each codeword are chosen for shortening and the last s parity symbols are chosen for puncturing, as shown in FIGS. 5A and 5B. Also, for convenience and simplicity, the shortened symbols are 0's and the decoder assumes the erased symbols also to be 0's. Thus, the reconstructed vector R includes n symbols, 0, 0 , . . . , 0, rn′−1, rn′−2, . . . , r0, 0, 0, . . . , 0, where there are k−k′ 0's before rn′−1, and s 0's after r0. The decoder then decodes R to find the error/erasure values therein to generate the correct codeword, as discussed below.


When both erasures and errors are present, the decoding process discussed above must also address the erasures. First, when R is reconstructed, syndromes may be calculated using the syndrome computation block of FIGS. 2A-2B: Si=Rsi+1) for i=0, 1, . . . , n−k−1, where R(x)=rn′−1xs+n′−1+rn′−2xs+n′−2+ . . . +r0xs. Assuming vector R includes t errors at positions j1, j2, . . . , jt, and s erasures at positions jt+1, jt+2, . . . , jt+s, and the error/erasure values e1, e2, . . . , et+s then e(x)=e1xj1+e2xj2+ . . . +et+sxjt+s is the error/erasure polynomial, where ei=rji−cji, for i=1, 2, . . . , t, and, ei=cji, for i=t+1t+2, . . . , t+s. Let βiji, for i=1, 2, . . . , t+s, then

S0=e1β1+e2β2+ . . . +et+sβt+s,
S1=e1β12+e2β22+ . . . +et+sβt+s2,
. . .
Sn−k−1=e1β1n−k+e2β2n−k+ . . . +et+sβt+sn−k.  (13)

Because the locations of the erasures are known, βt−1, βt−s, . . . , βt−s are known parameters and may be computed before the decoding process starts. Particularly, in the example above, the last r−r′ parity symbols are erased; therefore, jt+1=r−r′−1, jt+2=r−r′−2, . . . , jt+s, and s=r−r′. There are n−k equations in (13) containing 2t+s unknowns. Thus, equations (13) have a solution if n−k≧2t+s. In other words, an RS(n′, k′) code is capable of correcting t errors and s erasures, provided that n−k≧2t+s.


The error/erasure locator polynomial σ(x) is defined as











σ


(
x
)


=


σ
0

=



(
x
)




σ
1



(
x
)



=




i
=
0


t
+
s





σ
i



x
i






,




(
14
)








where








σ
0



(
x
)


=




i
=

t
+
1



t
+
s








(

1
-


β
i


x


)







is the erasure locator polynomial, which may be computed before the decoding process, and








σ
1



(
x
)


=




i
=
1

t







(

1
-


β
i


x


)







is the error locator polynomial. The error/erasure evaluator polynomial ω(x) is defined as










ω


(
x
)


=





j
=
1


t
+
s





e
j



β
j







i
=
1


t
+
s



i

j








(



β
i


x

-
1

)




=




i
=
0


t
+
s
-
1





ω
i




x
i

.








(
15
)








From (9) and (13)-(15), there is

S(x)σ(x)=ω(x) mod xn−k,  (16)
or
S(x0(x1(x)=ω(x) mod xn−k.  (17)

A modified syndrome polynomial S0(x) may be defined as:

S0(x)=S(x0(x).  (18)

After the syndromes Si are calculated, the modified syndrome polynomial S0(x) may be calculated according to Expression (18). The key equation is modified as follows:

S0(x1(x)=ω(x) mod xn−k.  (19)


The modified key equation may then be solve according to the ME algorithm using the ME algorithm block of FIGS. 3A and 3B, generating the error locator polynomial σ1(x) and error/erasure evaluator polynomial ω(x). Then, the error/erasure locator polynomial σ(x) is calculated according to equation (14), and a Chien search and Forney algorithm (expression (11) above) are performed to find the locations of the errors and the values of the errors and erasures, which are used to recover the correct codeword.











TABLE 1





Rate ID
Modulation
RS(n′, k′)







0
QPSK
(32, 24)


1
QPSK
(40, 36)


2
16QAM
(64, 48)


3
16QAM
(80, 72)


4
64QAM
(108, 96) 


5
64QAM
(120, 108)









The IEEE 802.16a standard provides six standard shortened/punctured RS codes of a mother code RS(255, 239), as shown in Table 1. The first column, Rate ID, is for identification purposes. The second column shows the modulation schemes, where QPSK stands for quadrature phase shift keying, and QAM stands for quadrature amplitude modulation. The third column shows the resultant RS(n′, k′) codes.


SUMMARY OF THE INVENTION

Consistent with embodiments of the present invention, there is provided a decoder suitable for use in a digital communications system utilizing an RS(n′, k′) code modified from an RS(n, k) code receives n′-symbol vectors each including k′ message symbols and r′=n′−k′ parity symbols and decodes the n′-symbol vectors to correct errors therein, wherein n, k, n′, and k′ are integers, and k′<n′<n, k′<k<n, and wherein the decoder stores one erasure locator polynomial σ0(x). The decoder includes a syndrome calculator for receiving the n′-symbol vectors and for calculating syndromes of each n′-symbol vector, wherein the i-th syndrome Si of one n′-symbol vector R′, (rn′−1, rn′−2, . . . , r0), is Si=Rsi+1) for i=0, 1, . . . , n−k−1, wherein Rs(x)=rn′−1xn′−1+rn′−2xn′−2+ . . . +r0, and means for finding the locations and values of the errors in each n′-symbol vector using the syndromes thereof and the one erasure locator polynomial σ0(x).


Consistent with embodiments of the present invention, there is also provided a digital communications system utilizing an RS(n′, k′) code modified from an RS(n, k) code, wherein n, k, n′, and k′ are integers, and k′<n′<n, k′<k<n. The system includes a channel for data transmission, a transmitter for encoding k′-symbol message blocks into n-symbol codewords and transmitting n′ symbols of each codeword into the channel, and a receiver for receiving and decoding n′-symbol vectors each corresponding to the n′ symbols of one codeword transmitted by the transmitter. The receiver includes a memory device having store therein one erasure locator polynomial σ0(x) and look-up tables, a syndrome calculator for receiving the n′-symbol vectors and for calculating syndromes of each n′-symbol vector, wherein the i-th syndrome Si of one n′-symbol vector R′, (rn′−1, rn′−2, . . . , r0), is Si=Rsi+1) for i=0, 1, . . . , n−k−1, wherein Rs(x)=rn′−1xn′−1+rn′−2xn′−2+ . . . +r0, and means for finding the locations and values of the errors in each n′-symbol vector using the syndromes thereof and the one erasure locator polynomial σ0(x).


Consistent with embodiments of the present invention, there is still provided a method performed by a decoder for decoding an RS(n′, k′) code modified from an RS(n, k) code, wherein n, k, n′, and k′ are integers, and k′<n′<n, k′<k<n. The method includes storing one erasure locator polynomial σ0(x) in the decoder, receiving n′-symbol vectors each corresponding to a k′-symbol message block, and decoding the n′-symbol vectors. Furthermore, decoding each n′-symbol vector R′, (rn′−1, rn′−2, . . . , r0) includes calculating syndromes of R′, wherein the i-th syndrome Si is Si=Rsi+1) for i=0, 1, . . . , n−k−1, wherein Rs(x)=rn′−1xn′−1+rn′−2x′−2+ . . . +r0, and finding the locations and values of errors in R′ using the syndromes thereof and the one erasure locator polynomial σ0(x).


Additional features and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The features and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the appended claims.


It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.





BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and, together with the description, serve to explain the objects, advantages, and principles of the invention.


In the drawings,



FIG. 1 shows a conventional digital communications system, a decoder of the system including a syndrome computation block, a modified Euclidean (ME) algorithm block, a Chien search block, and a Forney algorithm block;



FIGS. 2A and 2B show logic diagrams of the syndrome computation block of FIG. 1;



FIGS. 3A and 3B show logic diagrams of the ME algorithm block of FIG. 1;



FIGS. 4A-4B show logic diagrams of the Chien search block of FIG. 1;



FIG. 4C shows a logic diagram of the Forney algorithm block of FIG. 1;



FIGS. 5A-5B illustrate shortening and puncturing of an RS(n, k) code into an RS(n′, k′) code;



FIG. 6 illustrates the formation of a shifted vector consistent with embodiments of the present invention;



FIG. 7A shows a digital communications system consistent with embodiments of the present invention;



FIG. 7B shows a block diagram of a decoder used in the digital communications system of FIG. 7A;



FIGS. 8A and 8B show a syndrome calculator used in the digital communications system of FIG. 7A;



FIG. 9 shows a modified syndrome calculator used in the digital communications system of FIG. 7A;



FIGS. 10A and 10B illustrate a further modified Euclidean algorithm consistent with embodiments of the present invention;



FIG. 11 shows a modified Euclidean processor used in the digital communications system of FIG. 7A;



FIG. 12 shows an index adjustment circuit used in the digital communications system of FIG. 7A;



FIG. 13A shows a Chien search block used in the digital communications system of FIG. 7A;



FIG. 13B shows a Forney algorithm block used in the digital communications system of FIG. 7A; and



FIG. 13C shows a calculation cell used in the Chien search block of FIG. 13A and the Forney algorithm block of FIG. 13B.





DESCRIPTION OF THE EMBODIMENTS

Reference will now be made in detail to preferred embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts.


Embodiments consistent with the present invention provide a novel hardware implementation of a modified Reed-Solomon decoder for decoding modified RS codes.


In the following, it is assumed that an RS(n, k) code is defined over the Galois Field GF(2m) and generated by a generator polynomial








g


(
x
)


=




i
=
1


l
+
n
-
k
-
1




(

x
-

α
i


)



,





where l is an offset, and α is the primitive element of GF(2m) and is a root of an m-degree primitive polynomial f(x). Therefore, GF(2m) includes 0, 1(=α0), α1, . . . , α2m−2. Particularly in the IEEE 802.16a standard, n=255, k=239, r=n−k=16, m=8, l=0, and







g


(
x
)


=




i
=
0


n
-
k
-
1





(

x
-

α
i


)

.






It is also assumed that the RS(n, k) code is modified into an RS(n′, k′) code by shortening the first k−k′ symbols thereof and puncturing the last s=r−r′ parity symbols, where n′<n, k′<k, k′<n′, r=n−k, r′=n′−k′. The shortened k−k′ symbols are assumed to be 0's. A receiver receives an n′-symbol vector R′, (rn′−1, rn′−2, . . . , r0), for each codeword and performs decoding to recover the original k′-symbol message blocks. For example, in the IEEE 802.16a standard, s may be 4, 8, or 12 (see Table 1).


A digital communications system 700 consistent with the present invention is shown in FIG. 7A. System 700 includes an encoder/transmitter 702, a decoder/receiver 704, and a channel 706 therebetween. For each k′-symbol message block, encoder/transmitter 702 generates n−k parity symbols corresponding to a k-symbol sequence including the shortened k−k′ symbols (0's) and the k′ symbols of the message block, puncturing the last s parity symbols, and transmitting the resultant n′-symbol vector into channel 706.


Decoder/receiver 704 receives a garbled n′-symbol vector and performs decoding to correct errors therein. FIG. 7B shows a block diagram of decoder 704, which receives an n′-symbol vector R′, (rn′−1, rn′−2, . . . , r0), and outputs the corrected vector C, (cn′−1, cn′−2, . . . , c0). Decoder 704 includes a syndrome calculator 708, a modified syndrome calculator 710, a key equation solver 712, a Chien search block 714, a Forney algorithm block 716, and an error correction block 718. Decoder 704 also includes a first-in-first-out (FIFO) buffer 719 that buffers the n′ symbols of R′, rn′−1, rn′−2, . . . r0, to be corrected in error correction block 718. Decoder 704 may further include a memory 720 for storing predetermined data or look-up tables. Also, as shown in FIG. 7B, decoder 704 includes an index adjustment circuit 721 for adjusting the index of the n′ symbols. The details of each part of decoder 704 and the decoding process are discussed below.


To find the errors in n′-symbol vector R′, a corresponding n-symbol vector R is constructed by adding k−k′ 0's to the beginning of R′, and adding the s punctured parity symbols to the end of R′. For convenience, the s punctured parity symbols are assumed to be 0. Thus, the n symbols of R are 0, 0, . . . , 0, rn′−1, rn′−2, . . . , r0, 0, 0, . . . , 0, where there are k−k′ 0's before rn′−1 and s 0's following r0. A shifted vector Rs may be formed by shifting the erased (or punctured) s parity symbols of R to the beginning of R, as shown in FIG. 6. Thus, Rs includes n symbols, i.e., k−k′+s 0's representing both the erased parity symbols and the shortened message symbols, followed by rn′−1, rn′−2, . . . , r0. Because RS codes are cyclic, if R is a valid codeword, then Rs is also a valid codeword. Therefore, the errors in the n′-symbol vector R′, (rn′−1, rn′−2, . . . , r0), may be corrected by decoding Rs, and decoder 704 operates to decode Rs instead of R.


First, syndromes of Rs are calculated: Si=Rsi+1) for i=0, 1, . . . , n−k−1. Because the first n−n′ symbols of Rs are 0's, Rs(x)=rn′−1xn′−1+rn′−2x′−2+ . . . +r0. Therefore, the calculation of the syndromes of Rs may be carried out based solely on the received n′ symbols of R′. Because each R′ corresponds to a particular Rs, syndromes of Rs are also called the syndromes of R′ for convenience of illustration. FIGS. 8A and 8B show details of syndrome calculator 708 consistent with the present invention, where FIG. 8A is a block diagram of syndrome calculator 708 including n−k syndrome calculation cells 722 (722-0, 722-1, . . . , 722-(n−k)) and 16 registers 724 (724-0, 724-1, . . . , 724-(n−k)), and FIG. 8B is a block diagram of the i-th syndrome calculation cell 722-i, for i=0˜(n−k). As shown in FIGS. 8A and 8B, syndrome calculator 708 takes as input the n′ symbols of R′ and, upon an enable signal (“OE”), serially outputs (Sn−k−1, Sn−k−2. . . , S0). Each syndrome calculation cell 722-i calculates a corresponding syndrome Si of Rs. The results of syndrome calculation cells 722 are stored in registers 724. As compared to the decoder of Lee, which requires the reception of n symbols, the decoder consistent with the present invention only requires the n′ symbols of R′ for the calculation of the syndromes. Accordingly, the number of clock cycles required by the syndrome calculator consistent with the present invention is n′ instead of n.


Next, modified syndrome polynomial S0(x) is computed: S0(x)=S(x)σ0(x), where








σ
0



(
x
)


=



(

1
-


α

n
-
s



x


)



(

1
-


α

n
-

(

s
-
1

)




x


)













(

1
-


α

n
-
1



x


)


=




i
=
0

s




σ

0
,
i





x
i

.









FIG. 9 is a block diagram of modified syndrome calculator 710 for calculating modified syndrome polynomial S0(x), which will now be understood by one skilled in the art and is not discussed in detail. The calculation of σ0(x) does not require any data and may be stored in memory 720 of decoder 704. A decoder consistent with embodiments of the present invention may be suitable to decode a plurality of modified RS codes each corresponding to an erasure locator polynomial, in which case the decoder may store the erasure locator polynomials for all of the plurality of modified RS codes. When a particular RS(n′, k′) code is used, a corresponding erasure locator polynomial σ0(x) is chosen from the stored erasure locator polynomials. For example, a decoder for decoding the six standard shortened/punctured RS codes of the IEEE 802.16a standard may store erasure locator polynomials σ0(x) for all three possible s values of 4, 8, 12.


Assume R′ includes t errors at positions j1, j2, . . . , jt, then Rs includes t errors and s erasures, where the s erasures occur at positions jt+1=n−s, Jt+2=n−(s−1), . . . , jt+s=n. Assume the error/erasure values are e1, e2, . . . , et+s, where ei=rji−cji, for i=1, 2, . . . , t+s, then e(x)=e1xj1+e2xj2+ . . . +et+sxjt+s. Let








β
i

=

α

j
i



,






for





i

=
1

,
2
,





,

t
+
s

,






then






S
i


=


e


(

α

i
+
1


)


=




j
=
1


t
+
s





e
j



β
j
i





,






for





i

=
0

,
1
,





,

n
-
k
-
1.






The key equation is:

S(x)σ(x)=ω(x) mod xn−k,  (21)

where








S


(
x
)


=




i
=
0


n
-
k
-
1





S
i



x
i




,


σ


(
x
)


=





i
=
1


t
+
s








(

1
-


β
i


x


)


=




i
=
0


t
+
s





σ
i



x
i





,
and







ω


(
x
)


=





j
=
1


t
+
s





e
j



β
j







i
=
1


t
+
s



i

j




(



β
i


x

-
1

)




=




i
=
0


t
+
s
-
1





ω
i




x
i

.









σ(x) may be further expressed as a product of the erasure locator polynomial σ0(x) and the error locator polynomial σ1(x), i.e.,








σ


(
x
)


=



σ
0



(
x
)





σ
1



(
x
)




,


where







σ
1



(
x
)



=




i
=
1

t








(

1
-


β
i


x


)

.








The modified key equation is:

S0(x1(x)=ω(x) mod xn−k.  (22)


The modified key equation (22) may be solved using any suitable algorithm such as Berlekamp-Massey algorithm or modified Euclidean algorithm, etc. For example, the modified Euclidean (ME) algorithm of Lee may be further modified (“further modified Euclidean algorithm”) consistent with embodiments of the present invention for a more efficient and compact hardware implementation. The further modified Euclidean algorithm is partly illustrated in FIGS. 10A and 10B and is carried out as follows:

    • 1. Initialization: Let A(x)=xn−k, B(x)=S0(x), T0(x)=0, T1(x)=1, stopping degree v=└(n′−k′)/2┘;
    • 2. Division:
    • i. Calculate Q=Adeg A(x)/Bdeg B(x)=Adeg A(x)(Bdeg B(x))−1 (FIG. 10A, 10), where Adeg A(x) and Bdeg B(x) are the terms of A(x) and B(x) with the highest degrees, respectively. The inversion of Bdeg B(x), (Bdeg B(x))−1, may be carried out by looking up a table (FIG. 10A, 12), where the table may be stored in memory 720;
    • ii. Bnew(x)=A(x)−Q×B(x) (FIG. 10A, 14);
    • 3. Multiplication: Tnew(x)=T0(x)−Q×T1(x) (FIG. 10B, 16);
    • 4. Stopping criteria:
    • i. If degTnew(x)≦v (FIG. 10B, 18), then set σ1(x)=Tnew(x) (FIG. 10B, 20), ω(x)=Bnew(x) (FIG. 10A, 22), and exit;
    • ii. Otherwise, set A(x)=B(x) (FIG. 10A, 24), B(x)=Bnew(x) (FIG. 10A, 26), T0(x)=T1(x) (FIG. 10B, 28), T1(x)=Tnew(x) (FIG. 10B, 30), go to step 2 and repeat.


Thus, as shown in FIG. 11, key equation solver 712 implementing the further modified Euclidean algorithm may include a modified Euclidean divider 728 for performing the steps illustrated in FIG. 10A and a modified Euclidean multiplier 730 for performing the steps illustrated in FIG. 10B above. As shown in FIG. 11, key equation solver 712 receives modified syndrome polynomial S0(x) as input and outputs error/erasure evaluator polynomial ω(x) at the output of modified Euclidean divider 728. Modified Euclidean multiplier 730 outputs error-locator polynomial σ1(x). Key equation solver 712 further includes an error/erasure locator polynomial calculator 732 which multiplies error-locator polynomial σ1(x) with erasure-locator polynomial σ0(x) to generate error/erasure locator polynomial σ(x).


The coefficients of error/erasure locator polynomial σ(x), σ0, σ1, . . . , σt+s, and the coefficients of error/erasure evaluator polynomial ω(x), ω0, ω1, . . . , ωt+s−1, are sent to index adjustment circuit 721 for index adjustment. FIG. 12 is a block diagram of index adjustment circuit 721, which receives as input σ(x) and ω(x) and generates an adjusted error/erasure locator polynomial {tilde over (σ)}(x) and an adjusted error/erasure evaluator polynomial {tilde over (ω)}(x), where









σ
~



(
x
)


=




i
=
0


t
+
s






σ
~

i



x
i




,







σ
~

i

=

{







σ
i



α

-

i


(


n


-
1

)





,




for





even





i








σ
i



α


-

(

i
-
1

)




(


n


-
1

)




,




for





odd





i




,







ω
~



(
x
)


=




i
=
0


t
+
s
-
1






ω
~

i



x
i




,


and







ω
~

i


=


ω
i




α

-

i


(


n


-
1

)




.










The coefficients of adjusted error/erasure locator polynomial {tilde over (σ)}(x), {tilde over (σ)}0, {tilde over (σ)}1, . . . , {tilde over (σ)}t+s, and the coefficients of adjusted error/erasure evaluator polynomial {tilde over (ω)}(x), {tilde over (ω)}0, {tilde over (ω)}1, . . . , {tilde over (ω)}t+s−1, are sent to Chien search block 714 and Forney algorithm block 716 for determining the error locations and the error/erasure values. FIG. 13A is a logic diagram of Chien search block 714 including a number of calculation cells, each labeled as Ci, where i may be any integer from 0 to t+s. FIG. 13B shows a logic diagram of Forney algorithm block 716 also including a number of calculation cells Ci. FIG. 13C shows the logic diagram of calculation cell Ci used in FIGS. 13A and 13B. It is assumed that t+s=14 in FIGS. 13A-13C. As shown in FIG. 13A, Chien search block 714 receives the coefficients of {tilde over (σ)}(x), {tilde over (σ)}0, {tilde over (σ)}1, . . . , {tilde over (σ)}t+s, and simultaneously calculates {tilde over (σ)}(x) and {tilde over (σ)}′(x) for x=α0, α1, . . . , αn′−1. Particularly,












σ
~





(

α
i

)


=




j
=
0





t
+
s
-
1

2








σ
~



2

j

+
1




α

2


j
·
i











=




j
=
0





t
+
s
-
1

2







σ


2

j

+
1




α


-
2



j


(


n


-
1
-
i

)













=


σ




(

α

-

(


n


-
1
-
i

)



)



,








and











σ
~





(

α
i

)


=





j
=
0





t
+
s

2








σ
~


2

j




α

2


j
·
i





+


α

-

(


n


-
1
-
i

)






σ




(

α

-

(


n


-
1
-
i

)



)










=



σ




(

α

-

(


n


-
1
-
i

)



)


.








As shown in FIG. 13B, Forney algorithm block 716 receives the coefficients of {tilde over (ω)}(x), {tilde over (ω)}0, {tilde over (ω)}1, . . . , {tilde over (ω)}t+s−1 and calculates {tilde over (ω)}(x) for x=α0, α1, . . . , αn′−1. Particularly,











ω
~



(

α
i

)


=




j
=
0


t
+
s






ω
~

j



α

j
·
i










=




j
=
0


t
+
s





ω
j



α

-

j


(


n


-
1
-
i

)












=


ω


(

α

-

(


n


-
1
-
i

)



)


.









Further as shown in FIG. 13B, if {tilde over (σ)}(α−i)≠0, there is no error at position i. If {tilde over (σ)}(α−i)=0,












e
~

i

=



-

α

(


n


-
1

)





α
i




ω
~



(

α
i

)






σ
~





(

α
i

)









=



-

α

(


n


-
1
-
i

)





ω


(

α

-

(


n


-
1
-
i

)



)





σ




(

α

-

(


n


-
1
-
i

)



)







.





Therefore, the error/erasure values determined by Forney algorithm block 716 of FIG. 13B are {tilde over (e)}i=en′−1−i. Because error values {tilde over (e)}i are computed in the order from {tilde over (e)}0 to {tilde over (e)}n′−1, the actual error values ei are computed and outputted in the order from en′−1 to e0. In other words, the order in which the error values are output is the same as the order in which the corresponding symbols are received from FIFO buffer 719. Thus, the index adjustment discussed above and shown in FIG. 12 facilitates the correction of the symbols of R′ without the need of reversing the calculated error values ei.


When an RS(n′, k′) is used, where s parity symbols are punctured, the s erased parity symbols do not have to be corrected because they do not contain message symbols. Thus, as shown in FIGS. 13A and 13B, the decoder consistent with the present invention only needs to identify the errors in the received n′ symbols of R′, and Chien search block 714 and Forney algorithm block 716 only need to evaluate {tilde over (σ)}(x) and {tilde over (ω)}(x) for x=α0, α1, . . . , αn′−1. Accordingly, Chien search block 714 and Forney algorithm block 716 of the present invention only requires five clock cycles, which is less than required by conventional RS(n, k) decoders.


Moreover, the syndrome calculator 708 requires only n′ clock cycles, and the modified Euclidean divider 728 of the present invention requires only three clock cycles, both fewer than required by conventional RS(n, k) decoders. The total number of clock cycles required by key equation solver 712 consistent with the present invention requires much fewer clock cycles than that required by conventional RS(n, k) decoders. For example, when RS(120, 108) code of the IEEE 802.16a standard is used, the overall decoding process consistent with the present invention requires only about 250 clock cycles.


In addition, embodiments consistent with the present invention provide for a less complex circuit design. Particularly, fewer logic gates are needed by the present invention than by conventional decoders.


In the above descriptions, a shifted vector R, is formed for each n′-symbol vector R′ for the convenience of illustration. However, it is to be understood that the shift of R to generate Rs does not need to be realized in hardware, as is clear from the detailed discussions of decoder 704 in the above. A decoder consistent with the present invention treats the n′ symbols of vector R′ as the last n′ symbols of an n-symbol vector, assumes the first n−n′ symbols of the vector to be 0, and decodes the n-symbol vector to identify the errors therein.


It will be apparent to those skilled in the art that various modifications and variations can be made in the disclosed process without departing from the scope or spirit of the invention. Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.

Claims
  • 1. A decoder suitable for use in a digital communications system utilizing an RS(n′, k′) code modified from an RS(n, k) code, wherein the decoder receives n′-symbol vectors each including k′ message symbols and r′=n′−k′ parity symbols and decodes the n′-symbol vectors to correct errors therein, wherein n, k, n′, and k′ are integers, and k′<n′<n, k′<k <n, and wherein the decoder stores one erasure locator polynomial σ0(x), the decoder comprising: a syndrome calculator for receiving the n′-symbol vectors and for calculating syndromes of each n′-symbol vector, wherein the i-th syndrome Si of one n′-symbol vector R′, (rn′−1, rn′−2, . . . , r0), is Si=Rs(αi+1) for i=0, 1, . . . , n−k−1, wherein Rs(x)=rn′−1xn′−1+rn′−2xn′−2+ . . . +r0;an index adjustment circuit for generating an adjusted error/erasure locator polynomial {tilde over (σ)}(x) and an adjusted error/erasure evaluator polynomial {tilde over (ω)}(x) based on the syndromes calculated by the syndrome calculator;a memory device for storing the one erasure locator polynomial σ0(x) and a look-up table; andmeans for finding the locations and values of the errors in each n′-symbol vector based on the adjusted error/erasure locator polynomial {tilde over (σ)}(x) and the adjusted error/erasure evaluator polynomial {tilde over (ω)}(x), using the look-up table.
  • 2. The decoder of claim 1, further comprising means for correcting the errors in the received n′-symbol vectors.
  • 3. The decoder of claim 1, wherein the decoder is suitable to decode a plurality of modified RS codes each corresponding to an erasure locator polynomial, the decoder stores the erasure locator polynomials for all of the plurality of modified RS codes, and the one erasure locator polynomial {tilde over (σ)}0(x) is selected from the stored erasure locator polynomials.
  • 4. The decoder of claim 1, further comprising a modified syndrome calculator for calculating a modified syndrome polynomial S0(x) based on the syndromes calculated by the syndromes calculator and the one erasure locator polynomial, wherein
  • 5. The decoder of claim 4, further comprising a key equation solver for solving a key equation to generate an error/erasure locator polynomial σ(x) and an error/erasure evaluator polynomial ω(x), wherein the key equation is S0(x)σ1(x)=ω(x) mod xn−k, and σ(x)=σ0(x)σ1(x), and wherein σ1(x) is an error locator polynomial.
  • 6. The decoder of claim 5, wherein the key equation solver comprises a modified Euclidean algorithm processor (ME processor) including a modified Euclidean divider for computing the error/erasure evaluator polynomial ω(x), a modified Euclidean multiplier for computing the error locator polynomial σ1(x), and an error/erasure locator polynomial calculator for calculating the error/erasure locator polynomial σ(x).
  • 7. The decoder of claim 5, wherein the index adjustment circuit is configured to generate the adjusted error/erasure locator polynomial {tilde over (σ)}(x) and the adjusted error/erasure evaluator polynomial {tilde over (ω)}(x) based on the error/erasure locator polynomial σ(x) and the error/erasure evaluator polynomial ω(x).
  • 8. The decoder of claim 7, wherein the means for finding the locations and values of the errors comprises a Chien search block for evaluating the adjusted error/erasure locator polynomial {tilde over (σ)}(x) and {tilde over (σ)}′(x) for x =α0, α1, . . . , αn′−1, and a Forney algorithm block for evaluating the adjusted error/erasure evaluator polynomial {tilde over (ω)}(x) for x =α0, α1, . . . , αn′−1, wherein {tilde over (σ)}′(x) is a derivative of σ(x), wherein RS(n′, k′) and RS(n, k) are defined over a Galois field GF( 2m), m being an integer, and αis a primitive element of GF(2m).
  • 9. The decoder of claim 7, wherein, as a result of the index adjustment circuit, an order in which the errors in each n′-symbol vector are output by the means for finding the locations and values of the errors is the same as an order in which symbols corresponding to the errors appear in the corresponding n′-symbol vector.
  • 10. A digital communications system utilizing an RS(n′, k′) code modified from an RS(n, k) code, wherein n, k, n′, and k′ are integers, and k′<n′<n, k′<k <n, comprising: a channel for data transmission;a transmitter for encoding k′-symbol message blocks into n-symbol codewords and transmitting n′-symbols of each codeword into the channel; anda receiver for receiving and decoding n′-symbol vectors each corresponding to the n′ symbols of one codeword transmitted by the transmitter, the receiver comprising a memory device having stored therein one erasure locator polynomial σ0 (x) and look-up tables,a syndrome calculator for receiving the n′-symbol vectors and for calculating syndromes of each n′-symbol vector, wherein the i-th syndrome Si of one n′-symbol vector R′, (rn′−1, rn′−2, . . . , r0), is Si=Rs(αi+1) for i=0, 1, . . . , n−k−1, wherein Rs(x)=rn′−1xn′−1+rn′−2xn′−2+ . . . +r0, andmeans for finding the locations and values of the errors in each n′-symbol vector using the syndromes thereof and the one erasure locator polynomial σ0(x).
  • 11. The system of claim 10, wherein the encoder encodes each k′-symbol message block by adding k−k′ 0's to the beginning of the k′ symbols, which results in a k-symbol sequence, generating n−k parity symbols corresponding to the resultant k-symbol sequence, which results in the corresponding n-symbol codeword including the k-symbol sequence followed by the n−k parity symbols, and puncturing the last (n−k)−(n′−k′) parity symbols, and wherein the n′ symbols of the corresponding codeword transmitted into the channel include the k′ symbols of the corresponding message block and the remaining n′−k′ parity symbols.
  • 12. The system of claim 10, wherein the system is suitable to use any of a plurality of modified RS codes each corresponding to an erasure locator polynomial, the memory device stores the erasure locator polynomials for all of the plurality of modified RS codes, and the one erasure locator polynomial σ0(x) is selected from the stored erasure locator polynomials.
  • 13. The system of claim 10, wherein the receiver further comprises means for correcting the errors in the received n′-symbol vectors.
  • 14. The system of claim 10, further comprising a modified syndrome calculator for calculating a modified syndrome polynomial S0(x) based on the syndromes calculated by the syndromes calculator and the one erasure locator polynomial σ0(x), wherein
  • 15. The system of claim 14, wherein the receiver further comprises a key equation solver for solving a key equation to generate an error/erasure locator polynomial σ(x) and an error/erasure evaluator polynomial ω(x), wherein the key equation is S0(x)σ1(x)=ω(x) mod xn−k, and σ(x)=σ0(x)σ1(x), and wherein σ1(x) is an error locator polynomial, wherein the key equation solver uses one of the look-up tables stored in the memory device.
  • 16. The system of claim 15, wherein the key equation solver comprises a modified Euclidean algorithm processor (ME processor) including a modified Euclidean divider for computing the error/erasure evaluator polynomial ω(x), a modified Euclidean multiplier for computing the error locator polynomial σ1(x), and an error/erasure locator polynomial calculator for calculating the error/erasure locator polynomial σ(x).
  • 17. The system of claim 15, wherein the receiver further comprises an index adjustment circuit for generating an adjusted error/erasure locator polynomial {tilde over (σ)}(x) and an adjusted error/erasure evaluator polynomial {tilde over (ω)}(x).
  • 18. The system of claim 17, wherein an order in which the errors in each n′-symbol vector are output by the means for finding the locations and values of the errors is the same as an order in which symbols corresponding to the errors appear in the corresponding n′-symbol vector.
  • 19. The system of claim 17, wherein the means for finding the locations and values of the errors comprises a Chien search block for evaluating the adjusted error/erasure locator polynomial {tilde over (σ)}(x) and {tilde over (σ)}′(x) for x=α0, α1, . . . , αn′−1, and a Forney algorithm block for evaluating the adjusted error/erasure evaluator polynomial {tilde over (ω)}(x) for x=α0, α1, . . . , αn′−1, wherein {tilde over (σ)}′(x) is a derivative of σ(x), wherein RS(n′, k′) and RS(n, k) are defined over a Galois field GF(2m), m being an integer, and α is a primitive element of GF(2m).
  • 20. A method performed by a decoder for decoding an RS( n′, k′) code modified from an RS( n, k) code, wherein n, k, n′, and k′are integers, and k′<n′<n, k′<k <n, the method comprising: storing one erasure locator polynomial σ0(x) in a memory device in the decoder;receiving n′-symbol vectors each corresponding to a k′-symbol message block; anddecoding each n′-symbol vector R′, (rn′−1, rn′−2, . . . , r0), including calculating syndromes of R′, wherein the i-th syndrome Si is Si=Rs(αi+1) for i=0, 1, . . . , n−k−1, wherein Rs(x)=rn′−1xn′−1+rn′−2xn′−2+ . . . +r0;generating an adjusted error/erasure locator polynomial {tilde over (σ)}(x) and an adjusted error/erasure evaluator polynomial {tilde over (ω)}(x) based on the syndromes; andfinding the locations and values of errors in R′based on the adjusted error/erasure locator polynomial {tilde over (σ)}(x) and the adjusted error/erasure evaluator polynomial {tilde over (ω)}(x), using a look-up table stored in the memory device.
  • 21. The method of claim 20, wherein decoding each n′-symbol vector further includes calculating a modified syndrome polynomial S0(x) based on the syndromes thereof and the one erasure locator polynomial σ0(x), wherein
  • 22. The method of claim 20, wherein decoding each n′-symbol vector further includes correcting the errors in the received n′-symbol vectors.
  • 23. The method of claim 20, further comprising storing two additional erasure locator polynomials σ0(x) in the decoder such that the three stored erasure locator polynomials
  • 24. The method of claim 20, wherein decoding each n′-symbol vector further includes solving a key equation to generate an error/erasure locator polynomial σ(x) and an error/erasure evaluator polynomial ω(x), wherein the key equation is S0(x)σ1(x)=ω(x) mod xn−k, and σ(x)=σ0(x)σ1(x), and wherein σ1(x) is an error locator polynomial.
  • 25. The method of claim 24, wherein decoding each n′-symbol vector further includes adjusting indices of the error/erasure locator polynomial σ(x) and the error/erasure evaluator polynomial ω(x) to generate the adjusted error/erasure locator polynomial {tilde over (σ)}(x) and the adjusted error/erasure evaluator polynomial {tilde over (ω)}(x).
  • 26. The method of claim 25, wherein finding the locations and values of the errors includes performing a Chien search to evaluate the adjusted error/erasure locator polynomial {tilde over (σ)}(x) and {tilde over (σ)}′(x) for x=α0, α1, . . . , αn′−1, and performing a Forney algorithm to evaluate the adjusted error/erasure evaluator polynomial {tilde over (ω)}(x) for x=α0, α1, . . . , αn′−1, wherein {tilde over (σ)}′(x) is a derivative of σ(x), wherein RS(n′, k′) and RS(n, k) are defined over a Galois field GF(2m), m being an integer, and α is a primitive element of GF(2m).
  • 27. The method of claim 25, wherein finding the locations and values of the errors comprises finding the locations and values of the errors in an order that is the same as an order in which symbols corresponding to the errors appear in the corresponding n′-symbol vector.
US Referenced Citations (8)
Number Name Date Kind
5068858 Blaum et al. Nov 1991 A
5297153 Baggen et al. Mar 1994 A
5541937 Iwamura Jul 1996 A
5805616 Oh Sep 1998 A
6119262 Chang et al. Sep 2000 A
6347389 Boyer Feb 2002 B1
6449746 Truong et al. Sep 2002 B1
7096409 Banks Aug 2006 B2
Related Publications (1)
Number Date Country
20060236212 A1 Oct 2006 US