arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.16526cs.ARcs.PL
收藏

使用草图引导程序综合的FPGA技术映射

FPGA Technology Mapping Using Sketch-Guided Program Synthesis

Gus Henry Smith, Ben Kushigian, Vishal Canumalla, Andrew Cheung, Steven Lyubomirsky, Sorawee Porncharoenwase, René Just, Gilbert Louis Bernstein, Zachary Tatlock

AI总结:

针对现有FPGA技术映射工具依赖手写规则、易出错且遗漏映射机会的问题,提出基于草图引导程序综合的Lakeroad方法,通过架构无关草图模板和HDL语义提取实现更优映射覆盖与正确性保证,性能显著优于商用及开源工具。

摘要:

FPGA技术映射是指利用目标FPGA的底层、特定架构原语,实现以高级HDL(硬件设计语言)代码表述的硬件设计的过程。随着FPGA的异构性日益增强,要实现高性能,就需要硬件综合工具更好地支持映射到数字信号处理器(DSP)这类复杂、高度可配置的原语。当前工具通过手写的特殊情况映射规则支持DSP映射,这类规则编写耗时费力、容易出错,且常常会遗漏映射机会。我们提出了Lakeroad,这是一种通过草图引导程序综合实现技术映射的系统化方法。Lakeroad利用两种技术——架构无关的草图模板和HDL语义提取——来提供可扩展的技术映射,相比现有最优工具,它具备更强的正确性保证,且映射机会覆盖率更高。在代表性微基准测试中,Lakeroad生成的最优映射数量是商用现有最优工具的2–3.5倍,是主流开源工具的6–44倍,同时还提供了其他工具都不具备的正确性保证。

英文摘要:

FPGA technology mapping is the process of implementing a hardware design expressed in high-level HDL (hardware design language) code using the low-level, architecture-specific primitives of the target FPGA. As FPGAs become increasingly heterogeneous, achieving high performance requires hardware synthesis tools that better support mapping to complex, highly configurable primitives like digital signal processors (DSPs). Current tools support DSP mapping via handwritten special-case mapping rules, which are laborious to write, error-prone, and often overlook mapping opportunities. We introduce Lakeroad, a principled approach to technology mapping via sketch-guided program synthesis. Lakeroad leverages two techniques -- architecture-independent sketch templates and semantics extraction from HDL -- to provide extensible technology mapping with stronger correctness guarantees and higher coverage of mapping opportunities than state-of-the-art tools. Across representative microbenchmarks, Lakeroad produces 2--3.5$\times$ the number of optimal mappings compared to proprietary state-of-the-art tools and 6--44$\times$ the number of optimal mappings compared to popular open-source tools, while also providing correctness guarantees not given by any other tool.

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

↑