[Paper Review] High Level Synthesis with a Dataflow Architectural Template
This paper proposes a high-level synthesis (HLS) framework that maps high-level C/C++ codes to a dataflow architectural template before hardware generation, enabling efficient pipelining and overlapping of memory accesses with computation. Using a state-of-the-art HLS tool, the approach achieves up to 9x performance improvement over conventional HLS on FPGA platforms by exploiting inherent dataflow parallelism.
In this work, we present a new approach to high level synthesis (HLS), where high level functions are first mapped to an architectural template, before hardware synthesis is performed. As FPGA platforms are especially suitable for implementing streaming processing pipelines, we perform transformations on conventional high level programs where they are turned into multi-stage dataflow engines [1]. This target template naturally overlaps slow memory data accesses with computations and therefore has much better tolerance towards memory subsystem latency. Using a state-of-the-art HLS tool for the actual circuit generation, we observe up to 9x improvement in overall performance when the dataflow architectural template is used as an intermediate compilation target.
Motivation & Objective
- To improve performance in high-level synthesis (HLS) for FPGA platforms by reducing memory latency bottlenecks.
- To address the inefficiency of conventional HLS in handling memory-intensive workloads due to poor memory access scheduling.
- To explore the use of a dataflow architectural template as an intermediate compilation target to enable better pipelining and resource utilization.
- To evaluate whether transforming high-level programs into multi-stage dataflow engines can significantly enhance throughput on FPGAs.
- To demonstrate that architectural templating can unlock performance gains without requiring low-level hardware design.
Proposed method
- Transforming conventional high-level C/C++ programs into multi-stage dataflow engines that naturally support pipelined execution.
- Mapping high-level functions to a predefined dataflow architectural template to guide resource allocation and scheduling.
- Using the dataflow template to overlap slow memory accesses with computation, reducing idle cycles.
- Applying standard HLS tools on the templated design to generate the final RTL, preserving performance gains.
- Employing a state-of-the-art HLS toolchain to synthesize the final hardware from the dataflow-optimized intermediate representation.
- Validating the approach on FPGA platforms to measure performance improvement over baseline HLS flows.
Experimental results
Research questions
- RQ1Can a dataflow architectural template improve performance in high-level synthesis for FPGA-based accelerators?
- RQ2To what extent can memory latency be hidden by restructuring high-level code into a dataflow pipeline?
- RQ3How does the proposed template compare to conventional HLS in terms of throughput and resource usage?
- RQ4What is the maximum performance gain achievable using this architectural templating approach?
- RQ5Does the method scale across diverse workloads without requiring manual low-level optimization?
Key findings
- The proposed dataflow architectural template enables up to 9x improvement in overall performance compared to conventional HLS flows.
- The method effectively overlaps memory access latency with computation, significantly reducing idle time in the pipeline.
- The performance gains are achieved without modifying the underlying HLS toolchain, relying only on intermediate representation transformation.
- The approach is effective for streaming and data-parallel workloads commonly found in FPGA accelerators.
- The dataflow template serves as a portable and reusable abstraction that enhances both productivity and performance in HLS.
- The results demonstrate that architectural templating is a viable and effective strategy for performance-driven HLS compilation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.