arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.01313cs.DC
收藏

PVU:用于增强边缘和AI应用中浮点计算的Posit向量算术单元(PVU)的设计与实现

PVU: Design and Implementation of a Posit Vector Arithmetic Unit (PVU) for Enhanced Floating-Point Computing in Edge and AI Applications

Xinyu Wu, Yaobin Wang, Tianyi Zhao, Jiawei Qin, Zhu Liang, Jie Fu

AI总结:

本文首次使用Chisel语言设计了支持加减乘除和点积并集成RISC-V扩展的Posit向量算术单元(PVU),克服了传统标量局限,实验验证其具有高准确率与低硬件开销,在边缘和AI领域潜力巨大。

摘要:

随着边缘计算、人工智能等领域的快速发展,浮点计算的精度和效率变得日益关键。然而,传统的IEEE 754浮点系统在能耗和计算精度方面面临瓶颈,已成为主要的制约因素。为解决这一问题,提出了以自适应精度、更宽的动态范围和低硬件消耗为特征的Posit数字系统。尽管其被广泛采用,但现有研究主要集中在标量计算上,不足以满足大规模并行数据处理的需求。本文首次提出了使用Chisel语言设计的Posit Vector Arithmetic Unit (PVU)。它支持加法、减法、乘法、除法和点积等向量运算,从而克服了传统标量设计的局限性,并集成了RISC-V指令扩展。本文的贡献包括向量算术单元的高效实现、参数化和模块化的硬件设计,以及Posit数字系统实际应用的验证。本文提取了第一个卷积层的量化数据进行验证。实验表明,除法运算的准确率为95.84%,其余运算的准确率为100%。此外,PVU仅使用65,407个LUT实现。因此,PVU作为新一代浮点计算平台在各个领域具有巨大潜力。

英文摘要:

With the rapid development of edge computing, artificial intelligence and other fields, the accuracy and efficiency of floating-point computing have become increasingly crucial. However, the traditional IEEE 754 floating-point system faces bottlenecks in energy consumption and computing accuracy, which have become major constraints. To address this issue, the Posit digital system characterized by adaptive accuracy, broader dynamic range and low hardware consumption has been put forward. Despite its widespread adoption, the existing research mainly concentrates on scalar computation, which is insufficient to meet the requirements of large-scale parallel data processing. This paper proposes, for the first time, a Posit Vector Arithmetic Unit (PVU) designed using the Chisel language. It supports vector operations such as addition, subtraction, multiplication, division, and dot product, thereby overcoming the limitations of traditional scalar designs and integrating the RISC-V instruction extension. The contributions of this paper include the efficient implementation of the vector arithmetic unit, the parametric and modular hardware design as well as the verification of the practical application of the positive digital system. This paper extracts the quantized data of the first convolutional layer for verification. Experiments indicate that the accuracy rate of the division operation is 95.84\%, and the accuracy rate of the remaining operations is 100\%. Moreover, the PVU is implemented with only 65,407 LUTs. Therefore, PVU has great potential as a new-generation floating-point computing platform in various fields.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑