Computer Science > Programming Languages
[Submitted on 13 Feb 2020 (this version), latest version 21 Jul 2020 (v2)]
Title:AnyHLS: High-Level Synthesis with Partial Evaluation
View PDFAbstract:FPGAs excel in low power and high throughput computations, but they are challenging to program. Traditionally, developers rely on hardware description languages like Verilog or VHDL to specify the hardware behavior at the register-transfer level. High-Level Synthesis (HLS) raises the level of abstraction, but still requires FPGA design knowledge. Programmers usually write pragma-annotated C\C++ programs to define the hardware architecture of an application. However, each hardware vendor extends its own C dialect using its own vendor-specific set of pragmas. This prevents portability across different vendors. Furthermore, pragmas are not first-class citizens in the language. This makes it hard to use them in a modular way or design proper abstractions.
In this paper, we present AnyHLS, a library to synthesize FPGA designs in a modular and abstract way. AnyHLS resorts to standard programming language features such as types and higher-order functions to accomplish this as follows: First, partial evaluation specializes and optimizes the user application based on a library of abstractions. Ultimately, the backend of AnyHLS generates vendor-specific HLS code for Intel and Xilinx FPGAs. To validate the effectiveness of our approach, we implemented an image processing library on top of AnyHLS. We show that the performance of this library is on par with or exceeds the one achieved with existing full-blown domain-specific compilers.
Submission history
From: M. Akif Özkan [view email][v1] Thu, 13 Feb 2020 22:06:26 UTC (3,092 KB)
[v2] Tue, 21 Jul 2020 06:03:05 UTC (3,368 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.