TAPA 将任务并行 HLS 程序编译成高性能 FPGA 加速器。 UCLA 维护的版本,社区维护的版本(含二进制版本)可在 https://github.com/
TAPA (Publication Version)
[!IMPORTANT]
This repository is archived and no longer maintained.
TAPA has moved to github.com/tuna/tapa,
which is the only actively maintained repository. Please use it for the
latest code, releases, documentation, issues, and pull requests.
Installing TAPA
Install the latest release from the new repository:
bash
curl -fsSL https://raw.githubusercontent.com/tuna/tapa/main/install.sh | sh -s -- -q
With root privileges, this installs to /opt/tapa (symlinks in
/usr/local/bin). Without root, it installs to ~/.tapa and updates your
shell PATH.
To install a specific version:
bash
curl -fsSL https://raw.githubusercontent.com/tuna/tapa/main/install.sh \
| TAPA_VERSION= sh -s -- -q
Requirements: Linux (Ubuntu 18.04+, Debian 10+, RHEL 9+, Fedora 34+, Amazon
Linux 2023), g++ 7.5.0+, and the CBC ILP
solver (coinor-cbc on Ubuntu/Debian, coin-or-Cbc on Fedora/EPEL) for
floorplanning. Vitis HLS 2022.1+ is required for RTL synthesis and on-board
execution — not for software simulation.
To build from source instead, clone the new repository and follow its
instructions:
bash
git clone https://github.com/tuna/tapa.git
cd tapa
About TAPA
TAPA (Task-Parallel) is a powerful framework for designing
high-frequency FPGA dataflow accelerators. It combines a powerful C++ API
for expressing task-parallel designs with advanced optimization techniques
to deliver exceptional design performance and productivity.
High-Frequency Performance: Achieve 2× higher frequency on average
compared to Vivado1.
Rapid Development: 7× faster compilation and 3× faster software
simulation than Vitis HLS2.
Expressive API: Rich C++ syntax with dedicated APIs for complex memory
access patterns and explicit parallelism.
HBM Optimizations: Automated design space exploration and physical
optimizations for HBM FPGAs.
This repository contains the publication version of TAPA accompanying the
papers listed below. It is kept for archival and reproducibility
purposes only.
Documentation
Documentation is maintained with the new repository:
Serpens (DAC'22): 270 MHz
on Xilinx Alveo U280 HBM board with 24 HBM channels, while the Vitis HLS
baseline failed in routing.
Sextans (FPGA'22):
260 MHz on Xilinx Alveo U250 board with 4 DDR channels, while the Vivado
baseline achieves only 189 MHz.
SPLAG (FPGA'22): Up to 4.9× speedup
over state-of-the-art FPGA accelerators, up to 2.6× speedup over 32-thread
CPU running at 4.4 GHz, and up to 0.9× speedup over an A100 GPU.