High speed Hamming code circuit and method for the correction of error bursts
First Claim
Patent Images
1. A circuit, comprising an input and an output, for transmitting a data field comprising a serial bit stream and for simultaneously generating Hamming codes to be used for correcting an n bit error burst in said data field comprising:
- m storage means, each for serially storing n bits of binary data,an exclusive OR gate for each storage means, the output of each exclusive OR gate coupled to the storage means input, the output of each storage means coupled to one input of its associated exclusive OR gate, and the other input of said exclusive OR gate coupled to said circuit input,an m bit counter for enabling said exclusive OR gates in binary count order, said counter incrementing every nth data bit time, to generate and store in said storage means n Hamming codes, each m bits long, during the data field transmission time, anda multiplexer for coupling said data field from said circuit input to said circuit output, and thereafter, for coupling said Hamming codes from said storage means output to said circuit output.
0 Assignments
0 Petitions
Accused Products
Abstract
A circuit and method for the high speed generation and comparison of Hamming codes to enable the correction of an error burst is described. The circuit generates or compares n Hamming codes simultaneously with the data field transmission. Each code word is associated with a data field word comprising every nth bit. The resultant system corrects error bursts of up to n bits.
Additional circuitry is included to enable the correction of error bits in parallel, increasing the system bandwidth.
-
Citations
10 Claims
-
1. A circuit, comprising an input and an output, for transmitting a data field comprising a serial bit stream and for simultaneously generating Hamming codes to be used for correcting an n bit error burst in said data field comprising:
-
m storage means, each for serially storing n bits of binary data, an exclusive OR gate for each storage means, the output of each exclusive OR gate coupled to the storage means input, the output of each storage means coupled to one input of its associated exclusive OR gate, and the other input of said exclusive OR gate coupled to said circuit input, an m bit counter for enabling said exclusive OR gates in binary count order, said counter incrementing every nth data bit time, to generate and store in said storage means n Hamming codes, each m bits long, during the data field transmission time, and a multiplexer for coupling said data field from said circuit input to said circuit output, and thereafter, for coupling said Hamming codes from said storage means output to said circuit output. - View Dependent Claims (2, 3)
-
-
4. A circuit which can be used either for generating n Hamming codes each m bits long during the transmission of data or for the comparison of Hamming codes to create Hamming code syndrome words comprising:
-
means for receiving serial binary data or Hamming codes, m shift registers, each n bits long, an exclusive OR gate for each shift register, the output of each exclusive OR gate coupled to the serial input of each shift register, the serial output of each shift register coupled to one input of its associated exclusive OR gate, and the other input of said exclusive OR gate coupled to said means for receiving, a multiplexer for outputting said binary data received by said means for receiving or for outputting the contents of said shift registers, and control means for enabling said exclusive OR gates in binary count order to generate Hamming codes in said shift registers, or to enable said exclusive OR gates sequentially, as an input set of Hamming codes is being received, to compare the codes being received to the codes stored in shift registers to generate Hamming code syndrome words at the output of said OR gates for temporary storage in said shift registers. - View Dependent Claims (5, 6)
-
-
7. The method of using Hamming codes to correct an n bit error burst in a serial data field a maximum of 2m n bits long comprising the steps of
generating two sets of n Hamming codes, one during the transmission and one during the reception of said data, each code word m bits long and each code word associated with a 2m bit word where every nth bit in the data field comprises a data word, generating two n bit parity words, one during the transmission and one during the reception of said data, where each parity bit is the parity of each word, comparing said two sets of Hamming codes to determine syndrome words to determine the location of said error burst in said data stream, comparing the parity words to generate an error burst bit map, and correcting the errors in parallel by exclusive ORing the bit map with the data in the locations specified by said syndrome words.
-
8. The method of generating Hamming codes for correcting an n bit error burst in a data stream 2m n bits long comprising the steps of:
-
initializing m words of memory, each n bits long, exclusive ORing the contents of the first n bits of data with the contents of the first word of memory, continuing to exclusive OR the incoming n bit data words with the contents of the memory word locations in binary count order, so that, after the entire data stream has been transmitted, said m words of memory will contain n Hamming code words, each m bits long, one bit of each Hamming code word in each memory word location. - View Dependent Claims (9, 10)
-
Specification