CuFP: An HLS Library for Customized Floating-Point Operators

Fahimeh Hajizadeh, Tarek Ould-Bachir, Jean Pierre David
{"title":"CuFP: An HLS Library for Customized Floating-Point Operators","authors":"Fahimeh Hajizadeh, Tarek Ould-Bachir, Jean Pierre David","doi":"10.3390/electronics13142838","DOIUrl":null,"url":null,"abstract":"High-Level Synthesis (HLS) tools have revolutionized FPGA application development by providing a more efficient and streamlined approach, significantly impacting digital design methodologies. Despite the capability of FPGAs to customize numerical representations in data paths, most HLS projects have focused on fixed-point precision, while floating-point representations remain limited to vendor-provided single, double, and half-precision formats. This paper proposes a customized floating-point library compatible with HLS to address these limitations. This library allows programmers to define the number of exponent and mantissa bits at compile time, providing greater flexibility and enabling the use of mixed precision. Moreover, this library includes optimized implementations of common components such as vector summation (VSUM), dot-product (DP), and matrix-vector multiplication (MVM). Results demonstrate that the proposed library reduces latency and resource utilization compared to vendor IP blocks, particularly in VSUM, DP, and MVM operations. For example, the mvm operation involving a 32 × 32 matrix, using vendor IP requires 22 clock cycles, whereas CuFP completes the same task in just 7 clock cycles, using approximately 60% fewer DSPs, 10% fewer LUTs, and 60% fewer FFs.","PeriodicalId":504598,"journal":{"name":"Electronics","volume":" 79","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-07-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Electronics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3390/electronics13142838","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

High-Level Synthesis (HLS) tools have revolutionized FPGA application development by providing a more efficient and streamlined approach, significantly impacting digital design methodologies. Despite the capability of FPGAs to customize numerical representations in data paths, most HLS projects have focused on fixed-point precision, while floating-point representations remain limited to vendor-provided single, double, and half-precision formats. This paper proposes a customized floating-point library compatible with HLS to address these limitations. This library allows programmers to define the number of exponent and mantissa bits at compile time, providing greater flexibility and enabling the use of mixed precision. Moreover, this library includes optimized implementations of common components such as vector summation (VSUM), dot-product (DP), and matrix-vector multiplication (MVM). Results demonstrate that the proposed library reduces latency and resource utilization compared to vendor IP blocks, particularly in VSUM, DP, and MVM operations. For example, the mvm operation involving a 32 × 32 matrix, using vendor IP requires 22 clock cycles, whereas CuFP completes the same task in just 7 clock cycles, using approximately 60% fewer DSPs, 10% fewer LUTs, and 60% fewer FFs.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
CuFP:用于定制浮点运算器的 HLS 库
高级合成(HLS)工具通过提供更高效、更精简的方法,彻底改变了 FPGA 应用开发,对数字设计方法产生了重大影响。尽管 FPGA 能够在数据路径中定制数字表示法,但大多数 HLS 项目都侧重于定点精度,而浮点表示法仍局限于供应商提供的单精度、双精度和半精度格式。本文提出了一种与 HLS 兼容的定制浮点库,以解决这些限制。该库允许程序员在编译时定义指数和尾数的位数,从而提供了更大的灵活性,并允许使用混合精度。此外,该库还包括对矢量求和(VSUM)、点积(DP)和矩阵-矢量乘法(MVM)等常用组件的优化实现。结果表明,与供应商的 IP 模块相比,建议的库降低了延迟和资源利用率,特别是在 VSUM、DP 和 MVM 操作方面。例如,涉及 32 × 32 矩阵的 MVM 操作,使用供应商 IP 需要 22 个时钟周期,而 CuFP 仅需 7 个时钟周期就能完成相同的任务,使用的 DSP、LUT 和 FF 分别减少了约 60%、10% 和 60%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Transformer-Based Spatiotemporal Graph Diffusion Convolution Network for Traffic Flow Forecasting Compact Walsh–Hadamard Transform-Driven S-Box Design for ASIC Implementations RETRACTED: Liu et al. Ground Risk Estimation of Unmanned Aerial Vehicles Based on Probability Approximation for Impact Positions with Multi-Uncertainties. Electronics 2023, 12, 829 The Use of TheraBracelet Upper Extremity Vibrotactile Stimulation in a Child with Cerebral Palsy—A Case Report Image Databases with Features Augmented with Singular-Point Shapes to Enhance Machine Learning
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1