基于模集{2n- 1,2n, 2n+ 1,2 (n+1)- 1,22n -5}的高效符号检测方法

Q3 Earth and Planetary Sciences
Mohammed Ibrahim Daabo, Valentine Aveyom
{"title":"基于模集{2n- 1,2n, 2n+ 1,2 (n+1)- 1,22n -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":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2023-05-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"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\":null,\"pages\":null},\"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}","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

摘要

当前位置在计算机算法中,硬件设计中要考虑的最重要的事情之一是系统检测和显示数字及其符号的能力。如果管理得当,这将减少错误并确保硬件可靠性。但有趣的是,在算术运算中检测和知道残数的符号是非常困难的。在剩余数系统(RNS)中,数量级比较、缩放和数转换是比较困难的操作。与加权数字系统不同,在RNS体系结构中确定数字的符号甚至极其困难,从而阻碍了RNS在通用计算中的全面实现。本文提出了一种用于RNS体系结构中数字符号检测的高效符号检测算法。在制定算法时,X最大值,(X max)从动态范围,M=∏ki=1 (M i)计算。采用模计算技术作为一种转换器,从给定模集的残数(r 1, r 2, r 3)计算X,如(cid:1) = {(cid:2) 1, (cid:2) 2…,(cid:2) n}。如果X-X max <0,则X为正,否则X为负,实际值在这种情况下计算为X- m。模集{2n - 1,2n, 2n, 2n + 1,2 (n+1) - 1,2,2n -5}用于系统设计实现和数值说明。理论分析表明,该方案有效地检测了RNS数的符号,设计中使用了简单的硬件资源和低功耗的模块化加法器。该方案在实际应用中可以帮助项目RNS在通用计算中得到应用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Efficient Sign-Detection-Scheme Using Modular Computation Technique for the Moduli Set {2n-1, 2n, 2n+1, 2(n+1)-1, 22n-5}
: 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 and Planetary Sciences-Geology
CiteScore
2.70
自引率
0.00%
发文量
6050
期刊介绍:
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信