DECODING ALGORITHM FOR QUADRATIC RESIDUE CODES
First Claim
Patent Images
1. A quadratic residue code decoding algorithm comprising the steps of:
- providing a digital signal to determine if an error is encountered and calculate a plurality of known syndromes and setting a number of errors and an error correction threshold;
using said known syndromes to calculate a plurality of unknown syndromes;
treating said unknown syndromes as known, and using said known syndromes and said unknown syndromes to calculate an error polynomial;
determining whether the highest dimension of said error polynomial matches said number of errors;
if said highest dimension of said error polynomial matches said number of errors, calculating at least one root and at least one root number for said error polynomial;
if said highest dimension of error polynomial does not match said number of errors, adding a specified value to said number of errors, and determining whether said number of errors now exceeds said error correction threshold;
if it is determined that said number of errors does not exceed said error correction threshold, then going back to the step of using said known syndromes to calculate a plurality of unknown syndromes;
determining whether said root number of said error polynomial matches said number of errors;
if said root number of said error polynomial matches said number of errors, determining at least one error location for said error polynomial, and adjusting the digital value corresponding to said error location; and
if said root number of said error polynomial does not match said number of errors, going back to the step of adding a specified value to said number of errors, and determining whether said number of errors now exceeds said error correction threshold.
1 Assignment
0 Petitions
Accused Products
Abstract
A decoding algorithm for quadratic residue codes applicable to the decoding of all quadratic residue codes is provided. The decoding algorithm employs digital signals to obtain a plurality of known syndromes. These known syndromes are used to calculate a plurality of unknown syndromes. The inverse-free Berlekamp-Massey algorithm is then used to calculate the error polynomial, after which the Chien search algorithm is used to determine the error locations. Adjustments can then be made to the digital signal bits corresponding to the error locations to obtain the correct code.
15 Citations
6 Claims
-
1. A quadratic residue code decoding algorithm comprising the steps of:
-
providing a digital signal to determine if an error is encountered and calculate a plurality of known syndromes and setting a number of errors and an error correction threshold; using said known syndromes to calculate a plurality of unknown syndromes; treating said unknown syndromes as known, and using said known syndromes and said unknown syndromes to calculate an error polynomial; determining whether the highest dimension of said error polynomial matches said number of errors; if said highest dimension of said error polynomial matches said number of errors, calculating at least one root and at least one root number for said error polynomial; if said highest dimension of error polynomial does not match said number of errors, adding a specified value to said number of errors, and determining whether said number of errors now exceeds said error correction threshold;
if it is determined that said number of errors does not exceed said error correction threshold, then going back to the step of using said known syndromes to calculate a plurality of unknown syndromes;determining whether said root number of said error polynomial matches said number of errors; if said root number of said error polynomial matches said number of errors, determining at least one error location for said error polynomial, and adjusting the digital value corresponding to said error location; and if said root number of said error polynomial does not match said number of errors, going back to the step of adding a specified value to said number of errors, and determining whether said number of errors now exceeds said error correction threshold. - View Dependent Claims (2, 3, 4, 5, 6)
-
Specification