{"title":"Efficient Sign-Detection-Scheme Using Modular Computation Technique for the Moduli Set {2<sup>n</sup>-1, 2<sup>n</sup>, 2<sup>n</sup>+1, 2<sup>(n+1)</sup>-1, 2<sup>2n</sup>-5}","authors":"Mohammed Ibrahim Daabo, Valentine Aveyom","doi":"10.11648/j.sf.20230401.12","DOIUrl":null,"url":null,"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, (X max ) is computed from the Dynamic Range, M=∏ ki=1 (m i ). Modular Computation Technique is employed as a converter to compute X from the residues (r 1 , r 2 , r 3 ) with respect to a given moduli set, say (cid:1) = { (cid:2) 1 , (cid:2) 2 …, (cid:2) n }. X is positive if X-X max <0 otherwise X is negative and the actual value is this case is computed as X-M. The moduli set {2 n -1, 2 n , 2 n +1, 2 (n+1) -1, 2 2n -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.","PeriodicalId":11503,"journal":{"name":"地学前缘","volume":"47 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2023-05-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"地学前缘","FirstCategoryId":"1089","ListUrlMain":"https://doi.org/10.11648/j.sf.20230401.12","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"Earth and Planetary Sciences","Score":null,"Total":0}
引用次数: 0
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, (X max ) is computed from the Dynamic Range, M=∏ ki=1 (m i ). Modular Computation Technique is employed as a converter to compute X from the residues (r 1 , r 2 , r 3 ) with respect to a given moduli set, say (cid:1) = { (cid:2) 1 , (cid:2) 2 …, (cid:2) n }. X is positive if X-X max <0 otherwise X is negative and the actual value is this case is computed as X-M. The moduli set {2 n -1, 2 n , 2 n +1, 2 (n+1) -1, 2 2n -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.
期刊介绍:
Earth Science Frontiers is a bimonthly Chinese academic journal co-sponsored by China University of Geosciences (Beijing) and Peking University. Academician Deng Jun has been the editor-in-chief since its founding in 1994. Each issue of the journal invites special editors to compile theme albums, supplemented by selected free submissions, to fully display the cutting-edge, innovative and basic research results in the field of earth sciences, and publish academic debate articles. With its academic influence and excellent performance, Earth Science Frontiers has won honors such as "China's Most Internationally Influential Academic Journal" and "One Hundred Outstanding Chinese Academic Journals", and has been selected into China's "Excellence Action Plan" project.