TAPA: A Scalable Task-Parallel Dataflow Programming Framework for Modern FPGAs with Co-Optimization of HLS and Physical Design

Licheng Guo, Yuze Chi, Jason Lau, Linghao Song, Xingyu Tian +7 more
9/6/2022
cs.ARcs.DCcs.PF

Official code: UCLA-VAST/AutoBridge (127 stars, C++, MIT, last commit 2023-01-03).

Abstract

In this paper, we propose TAPA, an end-to-end framework that compiles a C++ task-parallel dataflow program into a high-frequency FPGA accelerator. Compared to existing solutions, TAPA has two major advantages.

Show full abstract

First, TAPA provides a set of convenient APIs that allow users to easily express flexible and complex inter-task communication structures. Second, TAPA adopts a coarse-grained floorplanning step during HLS compilation for accurate pipelining of potential critical paths. In addition, TAPA implements several optimization techniques specifically tailored for modern HBM-based FPGAs. In our experiments with a total of 43 designs, we improve the average frequency from 147 MHz to 297 MHz (a 102% improvement) with no loss of throughput and a negligible change in resource utilization. Notably, in 16 experiments we make the originally unroutable designs achieve 274 MHz on average. The framework is available at https://github.com/UCLA-VAST/tapa and the core floorplan module is available at https://github.com/UCLA-VAST/AutoBridge.

View on arXivView PDF

Code Implementations(1)

MIT

[FPGA 2021, Best Paper Award] An automated floorplanning and pipelining tool for Vivado HLS.

12725C++, CMay 13, 20203 years agoMIT
floorplanfpgafrequencyhls-compilationhls-designs+2 more

Similar Papers

Cite this paper

@article{guo2022tapa,
  title  = {TAPA: A Scalable Task-Parallel Dataflow Programming Framework for Modern FPGAs with Co-Optimization of HLS and Physical Design},
  author = {Licheng Guo and Yuze Chi and Jason Lau and Linghao Song and Xingyu Tian and Moazin Khatti and Weikang Qiao and Jie Wang and Ecenur Ustun and Zhenman Fang and Zhiru Zhang and Jason Cong},
  year   = {2022},
  eprint = {2209.02663},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.02663}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2209.02663.svg)](https://codeofpaper.com/paper/2209.02663)

Discussion