arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.09217cs.PLcs.AR
收藏

关系霍尔逻辑用于硬件加速器的高层综合

Relational Hoare Logic for High-Level Synthesis of Hardware Accelerators

The University of Tokyo(东京大学)

Izumi Tanaka, Ken Sakayori, Shinya Takamaeda-Yamazaki, Naoki Kobayashi

AI总结:

本文提出基于关系霍尔逻辑的正式翻译框架,用于自动优化硬件加速器的高层综合,通过插入缓冲区和流处理提升性能。

摘要:

高层综合(HLS)是一种强大的工具,用于开发依赖于专用内存系统以实现足够芯片内数据重用和芯片外带宽利用的高效硬件加速器。然而,即使使用HLS,设计此类系统仍然需要仔细的手动调整,因为现有工具提供的自动优化对编程风格高度敏感,且往往缺乏透明性。为了解决这些问题,我们提出了一种基于关系霍尔逻辑的正式翻译框架,该框架能够实现稳健且透明的转换。我们的方法识别出 naive HLS 程序中的复杂内存访问模式,并通过插入芯片内缓冲区来强制对芯片外内存进行线性访问,并通过将非顺序处理替换为流处理,同时保持程序语义。使用我们的原型翻译器结合现成的HLS编译器和真实FPGA板进行的实验已显示出显著的性能提升。

英文摘要:

High-level synthesis (HLS) is a powerful tool for developing efficient hardware accelerators that rely on specialized memory systems to achieve sufficient on-chip data reuse and off-chip bandwidth utilization. However, even with HLS, designing such systems still requires careful manual tuning, as automatic optimizations provided by existing tools are highly sensitive to programming style and often lack transparency. To address these issues, we present a formal translation framework based on relational Hoare logic, which enables robust and transparent transformations. Our method recognizes complex memory access patterns in naïve HLS programs and automatically transforms them by inserting on-chip buffers to enforce linear access to off-chip memory, and by replacing non-sequential processing with stream processing, while preserving program semantics. Experiments using our prototype translator, combined with an off-the-shelf HLS compiler and a real FPGA board, have demonstrated significant performance improvements.

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

↑