Issue No. 07 - July (1985 vol. 34)

ISSN: 0018-9340

pp: 646-651

null Thu Van Vu , Government Aerospace Systems Division, Harris Corporation

ABSTRACT

Two conversion techniques based on the Chinese remainder theorem are developed for use in residue number systems. The new implementations are fast and simple mainly because adders modulo a large and arbitrary integer M are effectively replaced by binary adders and possibly a lookup table of small address space. Although different in form, both techniques share the same principle that an appropriate representation of the summands must be employed in order to evaluate a sum modulo M efficiently. The first technique reduces the sum modulo M in the conversion formula to a sum modulo 2 through the use of fractional representation, which also exposes the sign bit of numbers. Thus, this technique is particularly useful for sign detection and for any operation requiring a comparison with a binary fraction of M. The other technique is preferable for the full conversion from residues to unsigned or 2's complement integers. By expressing the summands in terms of quotients and remainders with respect to a properly chosen divisor, the second technique systematically replaces the sum modulo M by two binary sums, one accumulating the quotients modulo a power of 2 and the other accumulating the remainders the ordinary way. A final recombination step is required but is easily implemented with a small lookup table and binary adders.

INDEX TERMS

sign detection, Fractional representation, multioperand modular addition, quotient-remainder representation, residue decoding, residue number system

CITATION

null Thu Van Vu, "Efficient Implementations of the Chinese Remainder Theorem for Sign Detection and Residue Decoding",

*IEEE Transactions on Computers*, vol. 34, no. , pp. 646-651, July 1985, doi:10.1109/TC.1985.1676602