Patent ID: 7954034

Claim:
A method of protecting data during transmission from an ECC protection scheme to a parity protection scheme, the method comprising: A. reading a data word and an associated ECC from an upstream device; B. generating parity for the data word; C. generating a new ECC from the data word; D. computing a syndrome of the associated ECC and the new ECC; E. determining, based on the syndrome, if an error is present in the data word or the associated ECC; F. generating a correction mask from the syndrome upon detecting a correctable error in the data word: G. correcting the correctable error in the data word, including comparing the data word to the correction mask to generate a corrected data word; H. correcting the parity for the data word, including comparing the parity to a form of the correction mask to generate a corrected parity; and I. transmitting the corrected data word and the corrected parity for the data word to a downstream device.