Abstract:
Sign detection and magnitude comparison are two difficult operations in Residue Number System (RNS). Existing algorithms mainly tackle either problem independently. Magni...Show MoreMetadata
Abstract:
Sign detection and magnitude comparison are two difficult operations in Residue Number System (RNS). Existing algorithms mainly tackle either problem independently. Magnitude comparison in RNS is typically solved by parity check or transcoding the residues into weighted representation. Comparison of signed integers in residue domain is supplemented by separately designed RNS sign detector. In this paper, a radically different quantization approach for comparing signed integers in the four-moduli supersets, S1 ≡{2n+k,2n-1,2n+1,2n+1-1} and S2 ≡{2n+k,2n-1,2n +1,2n-1-1, is proposed. The dynamic range of the target moduli set is quantized into equal divisions, and the ranks of the divisions resided by the integers in comparison are identified and compared from their residue representations. The sign of a residue representation can be directly extracted from the most significant bit of its rank, or with simple logic function if it resides in the middle rank. Comparing with the best existing signed magnitude comparator applicable to these two moduli sets, our synthesis results on 65 nm CMOS technology show that the proposed design is at least 22.48% smaller, 19.08% faster and 27.66% more energy-efficient for S1 and 18.75% smaller, 16.41% faster and 23.30% more energy-efficient for S2.
Published in: IEEE Transactions on Circuits and Systems I: Regular Papers ( Volume: 64, Issue: 6, June 2017)