Floating-Point Hardware Design: A Test Perspective

T.K.R Arvind, Ashish Reddy Bommana, Srinivas Boppu
{"title":"Floating-Point Hardware Design: A Test Perspective","authors":"T.K.R Arvind, Ashish Reddy Bommana, Srinivas Boppu","doi":"10.1109/SILCON55242.2022.10028826","DOIUrl":null,"url":null,"abstract":"The growing field of Artificial Intelligence research necessitates the development of non-standard bit-width number format arithmetic hardware units to improve the energy efficiency of the underlying hardware. However, building these hardware units using hardware description language is error-prone. It is difficult to catch these errors in the early design stage without having the proper tools or instruments to cross-check the results. Furthermore, floating-point hardware designs contain many stages by which the final result is calculated; therefore, it is essential to identify the erroneous stage for debugging. This paper proposes an easy-to-use Python library for IEEE-754-based floating-point numbers with arbitrary exponent and mantissa width. This library provides not only the result for cross-checking HDL results but also debugging the hardware’s intermediate stage results for easier and faster development. The support of this module in converting the numbers to and fro from decimal to binary makes it ideal to use it as a full-fledged calculator to perform the complex arithmetic in the required format and debugger in binary form for the development of hardware to perform these computations on.","PeriodicalId":183947,"journal":{"name":"2022 IEEE Silchar Subsection Conference (SILCON)","volume":"28 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE Silchar Subsection Conference (SILCON)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SILCON55242.2022.10028826","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The growing field of Artificial Intelligence research necessitates the development of non-standard bit-width number format arithmetic hardware units to improve the energy efficiency of the underlying hardware. However, building these hardware units using hardware description language is error-prone. It is difficult to catch these errors in the early design stage without having the proper tools or instruments to cross-check the results. Furthermore, floating-point hardware designs contain many stages by which the final result is calculated; therefore, it is essential to identify the erroneous stage for debugging. This paper proposes an easy-to-use Python library for IEEE-754-based floating-point numbers with arbitrary exponent and mantissa width. This library provides not only the result for cross-checking HDL results but also debugging the hardware’s intermediate stage results for easier and faster development. The support of this module in converting the numbers to and fro from decimal to binary makes it ideal to use it as a full-fledged calculator to perform the complex arithmetic in the required format and debugger in binary form for the development of hardware to perform these computations on.
浮点硬件设计:测试视角
随着人工智能研究领域的不断发展,需要开发非标准位宽数字格式算法硬件单元,以提高底层硬件的能效。然而,使用硬件描述语言构建这些硬件单元是容易出错的。如果没有适当的工具或仪器来交叉检查结果,很难在早期设计阶段发现这些错误。此外,浮点硬件设计包含许多计算最终结果的阶段;因此,确定调试的错误阶段是必要的。本文提出了一个易于使用的Python库,用于基于ieee -754的任意指数和尾数宽度的浮点数。该库不仅提供了对HDL结果的交叉检查结果,而且还提供了调试硬件中间阶段结果的功能,使开发更容易、更快。该模块支持将数字从十进制转换为二进制,这使得它可以作为一个完整的计算器来执行所需格式的复杂算术,并以二进制形式进行调试,以便开发执行这些计算的硬件。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
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学术官方微信