next up previous
Next: The Forney Algorithm for Up: Decoding Reed-Solomon Codes Previous: Decoding Reed-Solomon Codes

Berlekamp's Iterative Algorithm for Finding the Error-Locator Polynomial

  1. Compute the syndrome sequence tex2html_wrap_inline478 for the received word.
  2. Initialize the algorithm variables: tex2html_wrap_inline480 , and T(x)=x.
  3. Set k=k+1. Compute the discrepancy tex2html_wrap_inline486 as follows:

    displaymath476

  4. If tex2html_wrap_inline488 , then go to step 8.
  5. Modify the connection polynomial: tex2html_wrap_inline490 .
  6. If tex2html_wrap_inline492 , then go to step 8.
  7. Set L = k-L and tex2html_wrap_inline496 .
  8. Set tex2html_wrap_inline498 .
  9. If k < 2t, then go to step 3.
  10. Determine the roots of tex2html_wrap_inline502 . If the roots are distinct and lie in the right field, determine the error magnitudes, correct the corresponding locations in the received word, and STOP.
  11. Declare a decoding failure and STOP.


A. Matache
Sun Oct 20 17:42:25 PDT 1996