使用高级可定制IP在FPGA上构建特定于应用的覆盖层
Building Application-Specific Overlays on FPGAs with High-Level Customizable IPs
摘要:
覆盖是虚拟的、可重新配置的架构,覆盖在物理FPGA结构之上。专门用于一个应用程序或一类应用程序的覆盖提供了快速的重新配置和最小化的性能损失。这种覆盖通常由硬件设计者在寄存器传输级(RTL)用硬件“汇编”语言实现。这篇简短的文章为软件程序员而不是硬件设计人员提出了一个想法,使用高级可定制的IP快速实现特定于应用程序的覆盖。这些IP由规约语言简洁地表示,其抽象级别比RTL高得多,但仍然可以在FPGA上表示许多性能关键的循环和数据优化,因此将以低得多的维护成本和更容易的定制提供具有竞争力的高性能。我们提出了新的语言功能,可以轻松地将IP放在一起叠加。编译器自动实现指定的优化以生成有效的覆盖,暴露用于覆盖的多任务编程接口,并且插入用于调度任务以在覆盖的IP上运行的运行时调度器,尊重任务之间的依赖性。虽然用任何语言编写的应用程序都可以通过编程接口利用覆盖,但我们展示了一个特定的使用场景,其中应用程序本身也是用同一语言简洁地指定的。我们描述了新的语言功能表示覆盖,并说明了LU分解器和卷积神经网络的功能。正在建设一个系统,以实现语言功能和工作量。
英文摘要:
Overlays are virtual, re-configurable architectures that overlay on top of physical FPGA fabrics. An overlay that is specialized for an application, or a class of applications, offers both fast reconfiguration and minimized performance penalty. Such an overlay is usually implemented by hardware designers in hardware "assembly" languages at register-transfer level (RTL). This short article proposes an idea for a software programmer, instead of hardware designers, to quickly implement an application-specific overlay using high-level customizable IPs. These IPs are expressed succinctly by a specification language, whose abstraction level is much higher than RTL but can nonetheless expresses many performance-critical loop and data optimizations on FPGAs, and thus would offer competitively high performance at a much lower cost of maintenance and much easier customizations. We propose new language features to easily put the IPs together into an overlay. A compiler automatically implements the specified optimizations to generate an efficient overlay, exposes a multi-tasking programming interface for the overlay, and inserts a runtime scheduler for scheduling tasks to run on the IPs of the overlay, respecting the dependences between the tasks. While an application written in any language can take advantage of the overlay through the programming interface, we show a particular usage scenario, where the application itself is also succinctly specified in the same language. We describe the new language features for expressing overlays, and illustrate the features with an LU decomposer and a convolutional neural network. A system is under construction to implement the language features and workloads.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。