Efficient Sign-Detection-Scheme Using Modular Computation Technique for the Moduli Set {2n-1, 2n, 2n+1, 2(n+1)-1, 22n-5}
Mohammed Ibrahim Daabo,
Valentine Aveyom
Issue:
Volume 4, Issue 1, March 2023
Pages:
8-16
Received:
25 April 2023
Accepted:
19 May 2023
Published:
31 May 2023
Abstract: In computer arithmetic, one of the most important things to consider in hardware design is the ability of the system to detect and display numbers with their signs. This when properly managed will reduce errors and ensure hardware reliability. But interestingly, detecting and knowing the sign of a residue number during arithmetic operation is very difficult. Magnitude Comparison, Scaling and Number conversions are some of the other difficult operations in Residue Number System (RNS). Unlike the weighted number system, it is even extremely difficult to determine the sign of a number in an RNS architecture thereby hampering the full implementation RNS in general purpose computing. In this paper, an efficient sign detection algorithm for detecting the sign of a number in an RNS architecture is presented. In formulating the algorithms, X maximum, (Xmax) is computed from the Dynamic Range, M=∏ki=1(mi). Modular Computation Technique is employed as a converter to compute X from the residues (r1, r2, r3) with respect to a given moduli set, say S= {m1, m2 ..., mn}. X is positive if X-Xmax<0 otherwise X is negative and the actual value is this case is computed as X-M. The moduli set {2n-1, 2n, 2n+1, 2(n+1)-1, 22n-5} is used for the system design implementation and for numerical illustrations. It is observed that the scheme effectively detects the sign of RNS numbers and theoretical analysis showed that simple hardware resources and low-power modular adders are used in the design. It is also observed that the scheme when implemented practically can help project RNS to be used in general purpose computing.
Abstract: In computer arithmetic, one of the most important things to consider in hardware design is the ability of the system to detect and display numbers with their signs. This when properly managed will reduce errors and ensure hardware reliability. But interestingly, detecting and knowing the sign of a residue number during arithmetic operation is very ...
Show More