Method and apparatus for calculating the residue of a binary number
AssigneeHoneywell Information Systems Inc.
InventorJoseph C. Circello
Life of this patent
Estimating the term…
Loading patent…
AssigneeHoneywell Information Systems Inc.
InventorJoseph C. Circello
Estimating the term…
Method and apparatus for calculating the residue of a binary number of "n" bits with respect to a given check base m where m=2.sup.b -1. The binary number is partitioned into segments, each of b bits starting with the least significant bit. If n is not an even multiple of b, higher order bit positions of the segment containing the most significant bit of the number are filled with logical zeros. The segments are applied to levels of carry save adders to reduce the segments of the binary number to a single sum segment of b bits and a single rotated carry segment of b bits where a rotated carry segment is a carry segment produced by a carry save adder, the most significant bit of which is rotated so that it becomes the least significant bit of the rotated carry segment. Carry segments produced by carry save adders of one level are converted to rotated carry segments before being applied to a carry save adder of a lower level carry save adder. The single sum segment and single rotated carry segment produced by the lowest level carry save adder are applied to a 1's complement full adder. The b bit output of the 1's complement full adder is the residue of the binary number with respect to the check base (2.sup.b -1).
Apparatus for calculating the residue of a binary number with respect to a check base, said binary number being partitioned into a plurality of equal sized segments, with each segment including b contiguous bits where b is an integer greater than one, comprising:
Apparatus for calculating the residue of a binary number of "n" bits with respect to a check base "m", said binary number being partitioned into a segment of "b" contiguous bits beginning with the least significant of the binary number, higher order bit positions of the segment containing the most significant bit of the binary number, being filled by logical 0's, where m=2.sup.b -1 and m, n and b are integers greater than 1, comprising:
The method of calculating the residue of a binary number with respect to a given check base, comprising the steps of:
The method ofclaim 10 in which the check base equals the quantity 2.sup.b -1.
Dependencies are inferred from the claim text.