从 GSA 到 HDL:迈向动态调度电路的原则化生成
GSA to HDL: Towards principled generation of dynamically scheduled circuits
AI总结:
针对动态调度 HLS 因保守假设导致性能次优的问题,提出 h-GSA 抽象及从 GSA 到硬件电路的 lowering 流程,并与 Dynamatic 比较验证性能提升潜力。
摘要:
高层次综合(HLS)是指将用高级语言编写的软件程序自动翻译为硬件设计。现代 HLS 工具已经从传统的操作静态(编译时)调度方法,转向生成在运行时调度操作的动态电路。此类电路以面积利用率为代价,换取更高的动态性和吞吐量。然而,由于所采用的中间表示(IR)以及缺少到硬件翻译的形式化规范,动态调度 HLS 工具中的现有 lowering 流程依赖于对输入程序的保守假设。这些假设会导致次优的硬件性能。在本工作中,我们通过提出一种新的、高效的硬件映射抽象来消除这些假设;该抽象即 h-GSA,是 Gated Single Static Assignment(GSA,门控单静态赋值)IR 的扩展。利用这一抽象,我们提出了一个 lowering 流程,将 GSA 转换为 h-GSA,并将 h-GSA 映射为动态调度的硬件电路。我们将本方法生成的调度与最先进的动态调度 HLS 工具 Dynamatic 所生成的调度进行比较,并阐明使用所提抽象进行硬件映射所带来的潜在性能提升。
英文摘要:
High-level synthesis (HLS) refers to the automatic translation of a software program written in a high-level language into a hardware design. Modern HLS tools have moved away from the traditional approach of static (compile time) scheduling of operations to generating dynamic circuits that schedule operations at run time. Such circuits trade-off area utilisation for increased dynamism and throughput. However, existing lowering flows in dynamically scheduled HLS tools rely on conservative assumptions on their input program due to both the intermediate representations (IR) utilised as well as the lack of formal specifications on the translation into hardware. These assumptions cause suboptimal hardware performance. In this work, we lift these assumptions by proposing a new and efficient abstraction for hardware mapping; namely h-GSA, an extension of the Gated Single Static Assignment (GSA) IR. Using this abstraction, we propose a lowering flow that transforms GSA into h-GSA and maps h-GSA into dynamically scheduled hardware circuits. We compare the schedules generated by our approach to those by the state-of-the-art dynamic-scheduling HLS tool, Dynamatic, and illustrate the potential performance improvement from hardware mapping using the proposed abstraction.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。