Methods and apparatus for error correction of transparent GFP (generic framing procedure) superblocks
First Claim
1. A method for correcting errors in a GFP-T (generic framing procedure-transparent mode) superblock having 64 bytes of data, a flag byte, and a 16 bit CRC, comprising:
- buffering the 64 bytes of data in one buffer;
buffering the flag byte in a separate buffer;
calculating the CRC remainder;
comparing the CRC remainder to a single bit error syndrome table;
correcting a single bit error if the CRC remainder matches an entry in the single bit error syndrome table;
comparing the CRC remainder to a double bit error syndrome table; and
correcting a double bit error if the CRC remainder matches an entry in the single bit error syndrome table, wherein the flag byte is processed first and the data bytes are processed eight bytes at a time.
4 Assignments
0 Petitions
Accused Products
Abstract
Methods for correcting errors in a GFP-T superblock include buffering the 64 bytes of data in an 8×8 byte buffer, buffering the flag byte in a separate buffer, calculating the CRC remainder, and performing single and double bit error correction in three stages. In the first stage, the CRC remainder is compared to a single bit error syndrome table and if an error is located, it is corrected. In the second stage, the CRC remainder is compared to a double bit error syndrome table and if an error is located, it is corrected. The third stage corrects the second error of a double bit error. The flag byte is processed first, followed by the data bytes, eight bytes at a time.
32 Citations
8 Claims
-
1. A method for correcting errors in a GFP-T (generic framing procedure-transparent mode) superblock having 64 bytes of data, a flag byte, and a 16 bit CRC, comprising:
-
buffering the 64 bytes of data in one buffer;
buffering the flag byte in a separate buffer;
calculating the CRC remainder;
comparing the CRC remainder to a single bit error syndrome table;
correcting a single bit error if the CRC remainder matches an entry in the single bit error syndrome table;
comparing the CRC remainder to a double bit error syndrome table; and
correcting a double bit error if the CRC remainder matches an entry in the single bit error syndrome table, wherein the flag byte is processed first and the data bytes are processed eight bytes at a time. - View Dependent Claims (2)
-
-
3. An apparatus for correcting errors in a GFP-T (generic framing procedure-transparent mode) superblock having 64 bytes of data, a flag byte, and a 16 bit CRC, comprising:
-
a data buffer for buffering the 64 bytes of data;
a flag byte buffer for buffering the flag byte;
a CRC calculation circuit for calculating the CRC remainder;
a single bit error syndrome table;
first comparison logic coupled to said CRC calculation circuit and to said single bit error syndrome table;
single bit error correction logic coupled to said data buffer, said flag byte buffer, and to said first comparison logic;
a double bit error syndrome table;
second comparison logic coupled to said CRC calculation circuit and to said double bit error syndrome table;
double bit error correction logic coupled to said single bit error correction logic and to said second comparison logic, wherein the flag byte is processed first and the data bytes are processed eight bytes at a time. - View Dependent Claims (4, 5)
-
-
6. An apparatus for correcting errors in a GFP-T (generic framing procedure-transparent mode) superblock having 64 bytes of data, a flag byte, and a 16 bit CRC, comprising:
-
a data buffer means for buffering the 64 bytes of data;
a flag byte buffer means for buffering the flag byte;
a CRC calculation circuit means for calculating the CRC remainder;
a single bit error syndrome table means for indicating the location of a single bit error;
first comparison logic means coupled to said CRC calculation circuit means and to said single bit error syndrome table means, said first comparison logic means for determining whether the CRC remainder matches an entry in said single bit error syndrome table means;
single bit error correction logic means coupled to said data buffer means, said flag byte buffer means, and to said first comparison logic means, said single bit error correction logic means for correcting a single bit error indicated by said first comparison logic means;
a double bit error syndrome table means for indicating the location of a first error of a double bit error;
second comparison logic means coupled to said CRC calculation circuit means and to said double bit error syndrome table means, said second comparison logic means for determining whether the CRC remainder matches an entry in said double bit error syndrome table means;
double bit error correction logic means coupled to said single bit error correction logic means and to said second comparison logic means, said double bit error correction logic means for correcting a double bit error indicated by said second comparison logic means, wherein the flag byte is processed first and the data bytes are processed eight bytes at a time. - View Dependent Claims (7, 8)
-
Specification