arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2511.15323cs.PLcs.CL
收藏

SkyEgg:通过等式饱和实现异构感知的硬件综合

SkyEgg: Heterogeneity-Aware Hardware Synthesis via Equality Saturation

Peking University(北京大学)

Yuyang Zou, Youwei Xiao, Yitian Sun, Yun Liang

AI总结:

SkyEgg提出异构感知的FPGA硬件综合框架,通过等式饱和统一代数重写与资源映射,联合调度优化,平均加速Vitis HLS 3.12倍、Altera HLS 3.18倍。

摘要:

硬件综合是高级程序与加速器设计之间的关键接口。现代FPGA日益在资源功能和时序可配置性方面展现出异构性。利用这些资源要求综合在硬件实现和细粒度配置选项之间进行选择,并在多个阶段协调这些选择。然而,先前的框架由于资源模型局限于逐操作映射和有限的融合模式,未能充分探索这些选择。此外,它们按顺序执行变换、调度和映射,在完整映射信息可用之前就选择表达式形式并分配周期边界。这一问题阻碍了链式操作和融合,将可行的实现排除在后续优化阶段之外,并限制了端到端性能。我们提出了SkyEgg,一个面向FPGA的异构感知硬件综合框架。SkyEgg的关键见解是在整个综合流程中将代数等价性和多样化的资源能力结合起来。具体而言,它将目标特定的硬件映射和配置编码为可扩展的映射规则,与等式饱和中的代数重写规则一起,将代数和资源替代方案置于共同表示中。它进一步提出了变换和映射感知的调度,利用这些替代方案和配置特定的时序,联合选择等价形式、其资源映射和周期分配,以在目标频率和硬件约束下最小化端到端延迟。这种代数探索揭示了能够启用原本不可用映射的形式。SkyEgg还提供了一个启发式求解器,能够快速找到高质量解决方案。与两个商业HLS工具相比,SkyEgg在目标频率上平均比Vitis HLS快3.12倍,比Altera HLS快3.18倍。

英文摘要:

Hardware synthesis is a key interface between high-level programs and accelerator designs. Modern FPGAs increasingly expose heterogeneity in resource functionality and timing configurability. Exploiting these resources requires synthesis to choose among hardware implementations and fine-grained configuration options, and coordinate these choices across multiple stages. However, prior frameworks fail to fully explore these choices due to resource models confined to per-operation mappings and limited fusion patterns. Moreover, they perform transformation, scheduling, and mapping sequentially, selecting an expression form and assigning cycle boundaries before full mapping information is available. This problem precludes chaining and fusion, excludes viable implementations from subsequent optimization stages, and limits end-to-end performance. We present SkyEgg, a heterogeneity-aware hardware synthesis framework for FPGAs. The key insight of SkyEgg is to bring algebraic equivalence and diverse resource capabilities together throughout the synthesis flow. Specifically, it encodes target-specific hardware mappings and configurations as extensible mapping rules alongside algebraic rewrite rules in equality saturation, placing algebraic and resource alternatives in a common representation. It further proposes transformation- and mapping-aware scheduling that uses these alternatives and configuration-specific timing to jointly select an equivalent form, its resource mappings, and cycle assignments to minimize end-to-end latency under target-frequency and hardware constraints. This algebraic exploration reveals forms that enable otherwise unavailable mappings. SkyEgg also provides a heuristic solver that rapidly finds high-quality solutions. Against two commercial HLS tools, SkyEgg achieves average speedups of 3.12x over Vitis HLS and 3.18x over Altera HLS across target frequencies.

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

↑