EP0443753A1

Method and apparatus for producing order independent signatures for error detection.

Abstract

Method and apparatus for generating an expected signature (SE) and an error detection signature (S) in a system of the type for transfering N bit data words from a source to a receiver over a communication medium. Comparing the expected signature (SE) and the error detection signature (S) provides the detection of errors in communicated data words irrecpective of the order in which the data word are communicated.

EP0443753A1, drawing sheet 1
Sheet 1 of 7

Term

Term ended

Projected expiry passed 7 February 2011, 15.6 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

15 claims: 8 independent, 7 dependent

  1. 1
    A method of detecting errors in received data words in a system of the type wherein a set of N bit data words are transferred from a source end (10) to a receiver end (14) over a communications medium (12) said method comprising the steps of:(a) summing, in modulo 2 N arithmetic, data words to be transferred from the source end (10) by accumulating the data words in N bit locations of a first N+1 bit register (24) while storing any carry outs ("COs") in a reserved one of the N+1 bit locations, the contents of the first N+1 bit register (24) defining an expected signature SE;(b) summing, in modulo 2 N arithmetic, data words received from the source end (10) by accumulating the received data words in N bit locations of a second N+1 bit register (24) while storing any COs in a reserved one of the N+1 bit locations of the second N+1 bit register (24), the contents of the second N+1 bit register (24) defining an error detection signature S;and (c) comparing S and SE, and detecting whether a discrepancy exists therebetween, and providing an indication that an error has occurred in the data transfer when a discrepancy is detected,    discrepancies in the received data words being detected irrespective of the order in which the data words are transferred from the source end.
  2. 4
    A method according to any of claims 1 to 3 wherein N is a power of two.
  3. 5
    An apparatus for detecting errors in received data words in a system of the type wherein a set of N bit data words are transferred from a source end (10) to a receiver end (14) over a communications medium (12), said apparatus comprising:(a) first means (22,22′) for summing, in modulo 2 N arithmetic, data words to be transferred from the source end (10) by accumulating the received data words in N bit locations of a first N+1 bit register (24) and storing any carry outs ("COs") in a reserved one of the N+1 bit locations of the first N+1 bit register (24), the contents of the first N+1 bit register (24) defining an expected signature SE;(b) second means (22,22′) for summing, in modulo 2 N arithmetic, data words received from the source end (10) by accumulating the received data words in N bit locations of a second N+1 bit register (24) and storing any COs in a reserved one of the N+1 bit locations of the second N+1 bit register (24), the contents of the second N+1 bit register (24) defining an error detection signature S;and (c) third means for comparing the error detection signature and expected signature and detecting whether any discrepancy exists therebetween, and providing an indication that an error has occurred in the data transfer when a discrepancy is detected,    discrepancies in the received data words being detected irrespective of the order in which the data words are transferred from the source end.
  4. 10
    An apparatus according to any of claims 5 to 9 wherein the first means (22,22′) appends a bit of value of "1" to the N bits of the data words to be transferred from the source end (10).
  5. 11
    An apparatus according to any of claims 5 to 10 wherein the second means (22,22′) appends a bit of value of "1" to the N bits of the data words received from the source end (10).
  6. 12
    An apparatus for transferring N bit data words from a source (10) to a receiver (14) over a communication medium (12) comprising:(a) an adder (22,22′) for summing, using modulo 2 N arithmetic, the data words to be transferred;(b) an N+1 bit register (24) coupled to an output port (Σ₂) of the adder (22,22′) for receiving and storing an N bit sum of the data words and a carry out provided by the adder;the adder comprising: (i) a first input port for receiving a first N bit data word (20′);(ii) a second input port coupled to an output port of the N+1 bit register (24) for receiving a second N+1 bit data word from the output port of the N+1 bit register (24);the output port of the adder (Σ₂) being coupled to a first input port of the N+1 bit register (24) for providing the N bit sum to the N+1 bit register (24);and (iv) a carry out port (CO) coupled to a second input port of the N+1 bit register (24) for providing the carry out provided by the adder (22,22′).
  7. 14
    An apparatus for transferring N bit data words from a source (10) to a receiver (14) over a communication medium (12) comprising:(a) an adder (22,22′) for summing, using modulo 2 N arithmetic, the data words to be transferred;(b) an N+1 bit register (24) coupled to an output port (Σ₂) of the adder for receiving and storing an N bit sum of the data words and a carry out provided by the adder;the adder comprising: (i) a first input port for receiving a first N bit data word;(ii) a second input port coupled to a first output port of the N+1 bit register (24) for receiving a second N bit data word from the first output port of the N+1 bit register (24);the output port of the adder (22,22′) being coupled to a first input port of the N+1 bit register (24) for providing the N bit sum to the N+1 bit register (24);(iv) a carry out (CO) port coupled to a second input port of the N+1 bit register for providing the carry out provided by the adder (22,22′);and (v) a carry in (CI) port coupled to a second output port of the N+1 bit register (24) for receiving the carry out received at the second input port of the N+1 bit register (24).
  8. 15
    An apparatus according to any of claims 12 to 14 wherein the second input port of the N+1 bit register (24) is an LSB bit location.