English

LAAFD: LLM-based Agents for Accelerated FPGA Design

Distributed, Parallel, and Cluster Computing 2026-02-09 v1

Abstract

FPGAs offer high performance, low latency, and energy efficiency for accelerated computing, yet adoption in scientific and edge settings is limited by the specialized hardware expertise required. High-level synthesis (HLS) boosts productivity over HDLs, but competitive designs still demand hardware-aware optimizations and careful dataflow design. We introduce LAAFD, an agentic workflow that uses large language models to translate general-purpose C++ into optimized Vitis HLS kernels. LAAFD automates key transfor mations: deep pipelining, vectorization, and dataflow partitioning and closes the loop with HLS co-simulation and synthesis feedback to verify correctness while iteratively improving execution time in cycles. Over a suite of 15 kernels representing common compute patterns in HPC, LAFFD achieves 99.9% geomean performance when compared to the hand tuned baseline for Vitis HLS. For stencil workloads, LAAFD matches the performance of SODA, a state-of-the-art DSL-based HLS code generator for stencil solvers, while yielding more readable kernels. These results suggest LAAFD substantially lowers the expertise barrier to FPGA acceleration without sacrificing efficiency.

Keywords

Cite

@article{arxiv.2602.06085,
  title  = {LAAFD: LLM-based Agents for Accelerated FPGA Design},
  author = {Maxim Moraru and Kamalavasan Kamalakkannan and Jered Dominguez-Trujillo and Patrick Diehl and Atanu Barai and Julien Loiseau and Zachary Kent Baker and Howard Pritchard and Galen M Shipman},
  journal= {arXiv preprint arXiv:2602.06085},
  year   = {2026}
}
R2 v1 2026-07-01T10:23:13.700Z