Claims
- 1. A method of rapidly detecting data errors, comprising:
generating a reference syndrome from data bits in a data word, said reference syndrome comprising at least a first portion and a second portion; generating a partial error code from said data bits and said first portion of said reference syndrome; and generating a signal based on said partial error code, said signal indicating whether said data word possibly contains an error.
- 2. The method of claim 1, further comprising initiating an error recovery procedure if said signal indicates the possible presence of a correctable error.
- 3. The method of claim 1, further comprising speeding processing of said data word if said signal indicates the absence of a correctable error.
- 4. The method of claim 1, further comprising generating a check syndrome from said data bits in said data word, said check syndrome comprising at least a first portion and a second portion, wherein said partial error code is generated from said reference syndrome first portion and said check syndrome first portion.
- 5. The method of claim 1, wherein said signal is generated from said partial error code using an OR function to determine whether said partial error code contains any true values.
- 6. The method of claim 1, wherein a fewer number of said data bits is used to generate at least one bit of said reference syndrome first portion than at least one bit of said reference syndrome second portion.
- 7. The method of claim 1, further comprising generating a complete error code from said data bits and said reference syndrome.
- 8. The method of claim 7, wherein generating said complete error code from said data bits and said reference syndrome comprises generating said complete error code from said reference syndrome and a check syndrome, wherein said check syndrome is generated from said data bits.
- 9. The method of claim 7, wherein a first number of said data bits is used to generate at least one bit of said complete error code, and a second number of said data bits is used to generate at least one bit of said partial error code, and wherein said first number is greater than said second number.
- 10. The method of claim 7, further comprising aborting said error recovery process if said complete error code indicates that said data word contains a non-correctable error.
- 11. The method of claim 7, further comprising aborting said error recovery process if said complete error code indicates that said reference syndrome contains an error.
- 12. The method of claim 1, wherein each bit of said reference syndrome is true when it is generated from data bits having an odd number of true values.
- 13. The method of claim 12, wherein each bit of said reference syndrome is generated with an XOR tree having as inputs a plurality of said data bits.
- 14. The method of claim 1, wherein each of said data bits in said data word contributes to at least one bit of said reference syndrome first portion.
- 15. The method of claim 1, wherein said partial error code is generated with a bitwise XOR function of groups of said data bits and said reference syndrome first portion.
- 16. The method of claim 4, wherein said partial error code is generated with a bitwise XOR function of said reference syndrome first portion and said check syndrome first portion.
- 17. The method of claim 1, wherein said reference syndrome comprises a reference syndrome for a Hamming partial error correction code.
- 18. An error correction code apparatus for early detection of errors in a data word, comprising:
a plurality of first logic gates having a plurality of data inputs for receiving each data bit of said data word and for receiving a portion of the data bits of a reference syndrome, and having a plurality of outputs to carry a partial error code for said data word; and at least one second logic gate having a plurality of inputs connected to said plurality of outputs of said plurality of first logic gates, said at least one second logic gate having an output, wherein a true value at said output indicates the possible presence of an error in said data word.
- 19. The error correction code apparatus of claim 18, further comprising a plurality of third logic gates having a plurality of data inputs for receiving each data bit of said data word and for receiving a remainder of said data bits of said reference syndrome, and having a plurality of outputs to carry a second partial error code for said data word, so that said outputs of said pluralities of first and third logic gates, taken together, carry a complete error code for said data word.
- 20. The error correction code apparatus of claim 18, wherein said plurality of first logic gates comprise XOR gates.
- 21. The error correction code apparatus of claim 18, wherein said at least one second logic gate comprises at least one OR gate.
- 22. The error correction code apparatus of claim 19, wherein said plurality of third logic gates comprise XOR gates.
- 23. An error correction code apparatus for early detection of errors in a data word, comprising:
a reference syndrome generator for generating a reference syndrome representing said data word; means for detecting an error in a copy of said data word by examining a portion of said reference syndrome and said copy of said data word.
RELATED APPLICATION
[0001] The present application is a continuation-in-part of U.S. patent application Ser. No. 09/365,132, filed Jul. 30, 1999, entitled “Faster ECC Scheme,” which is hereby incorporated by reference for all that is disclosed therein.
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
09365132 |
Jul 1999 |
US |
Child |
10079451 |
Feb 2002 |
US |