Manuscript Offprint

arXiv:2609.09526

Benchmarking Agentic HLS Design Tasks With HLS-Eval

Stefan Abi-Karam, Callie Hao

Stefan Abi-Karam1,2^{1,2}, Callie Hao1^{1}

1^{1}Georgia Institute of Technology, Atlanta, USA 2^{2}Georgia Tech Research Institute, Atlanta, USA

stefanabikaram@gatech.edu, callie.hao@gatech.edu

Abstract—Large language models (LLMs) and AI agents are increasingly explored for hardware design, including high-level digital design. While most work targets code generation and editing for hardware description languages (HDLs), our prior work introduced HLS-Eval, an open-source benchmark for evaluating LLMs on high-level synthesis (HLS) design tasks. Those evaluations, however, focused on zero-shot generation and editing, leaving open how agents achieve HLS design tasks.

We therefore extend HLS-Eval with an agentic evaluation flow built on the open-source mini-swe-agent framework. The flow lets HLS design agents use file-editing tools, invoke a C++ compiler for self-verification, and iteratively refine designs during inference, while logging agent traces for analysis of cost, token usage, and iteration count. We present initial results on the existing HLS-Eval benchmarks.

In our initial evaluation, we find open-source LLMs paired with an agentic harness solve every simple HLS code generation task in our evaluation, underscoring the need to expand benchmark difficulty as model capabilities advance. Analyzing traces from passing and failing runs, we show how model size, token usage, and trajectory length relate to design pass rates. These results establish a foundation for agentic HLS design and motivate harder benchmarks and new agentic tooling as model capabilities progress.

I. INTRODUCTION

Building domain-specific accelerators, such as for autonomous navigation and robotics [27], high-energy physics [11], [16], and AI inference [5], [6], [29] has traditionally required long design cycles and deep hardware expertise. FPGAs with high-level synthesis (HLS) help address this by enabling accelerators to be developed from high-level C, C++, or Python descriptions [6], [12], [14], [29]. By automating low-level tasks such as scheduling, binding, and dataflow generation, HLS promises to democratize domain-specific computing [8] by making hardware design more accessible to domain experts.

However, producing high-performance HLS accelerators still requires substantial expertise. Designers must apply directives such as loop unrolling, array partitioning, and pipelining [18], structure dataflow and streaming computations, explore large parameterized design spaces, and reason about how source-level choices affect post-synthesis latency and resource use. This creates a steep barrier for non-experts, especially across diverse vendor and academic HLS toolchains.

Large language models (LLMs) have shown strong potential in software engineering [7] and HDL-based hardware design [3], [15], [19], [22], [26], including code generation, optimization, and tool use. Yet comparable gains have not been realized for HLS [2], where current methods remain far from the performance needed for practical domain-expert adoption. Although agentic LLM systems can plan, invoke tools, and solve multi-step tasks, their application to HLS workflows is still early [10], [17], [21], [25], [30].

Building on this observation, we identify a primary limitation that we propose to address: the field lacks comprehensive agentic HLS design benchmarks. Existing benchmarks fail to capture the full complexity of realistic HLS design tasks or quantify agent efficiency (e.g., cost and runtime) relative to achieved design performance. This gap in benchmarking infrastructure limits systematic evaluation across the hardware design research community, and we attribute it as a key reason progress in agentic HLS automation has lagged behind LLM-driven RTL design.

  • We extend our prior AI HLS design benchmarking work, HLS-Eval [2], with an agentic evaluation flow built on a simple agent harness, enabling standardized assessment of LLM agents on HLS design tasks.

  • We evaluate this flow on HLS kernel generation from natural language descriptions and high-level specifications, reporting pass rates, inference scaling, and insights from agent traces.

These results offer a starting point for integrating and benchmarking the proposed ideas into a larger, more capable agentic HLS design flow as highlighted in Figure 1.

References (28)