Patent ID: 7260767

Claim:
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: receiving the GFP-T superblock: 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; correcting a double bit error if the CRC remainder matches an entry in the double bit error syndrome table; and outputting a corrected 64 bytes of data, wherein the flag byte is processed first and the data bytes are processed eight bytes at a time.