Bench4HLS: End-to-End Evaluation of LLMs in High-Level Synthesis Code Generation

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Khan, M Zafir Sadik, Azar, Kimia, Kamali, Hadi
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866914285190381568
author Khan, M Zafir Sadik
Azar, Kimia
Kamali, Hadi
author_facet Khan, M Zafir Sadik
Azar, Kimia
Kamali, Hadi
contents In last two years, large language models (LLMs) have shown strong capabilities in code generation, including hardware design at register-transfer level (RTL). While their use in high-level synthesis (HLS) remains comparatively less mature, the ratio of HLS- to RTL-focused studies has shifted from 1:10 to 2:10 in the past six months, indicating growing interest in leveraging LLMs for high-level design entry while relying on downstream synthesis for optimization. This growing trend highlights the need for a comprehensive benchmarking and evaluation framework dedicated to LLM-based HLS. To address this, We present Bench4HLS for evaluating LLM-generated HLS designs. Bench4HLS comprises 170 manually drafted and validated case studies, spanning small kernels to complex accelerators, curated from widely used public repositories. The framework supports fully automated assessment of compilation success, functional correctness via simulation, and synthesis feasibility/optimization. Crucially, Bench4HLS integrates a pluggable API for power, performance, and area (PPA) analysis across various HLS toolchains and architectures, demonstrated here with Xilinx Vitis HLS and validated on Catapult HLS. By providing a structured, extensible, and plug-and-play testbed, Bench4HLS establishes a foundational methodology for benchmarking LLMs in HLS workflows.
format Preprint
id arxiv_https___arxiv_org_abs_2601_19941
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Bench4HLS: End-to-End Evaluation of LLMs in High-Level Synthesis Code Generation
Khan, M Zafir Sadik
Azar, Kimia
Kamali, Hadi
Hardware Architecture
Artificial Intelligence
Programming Languages
Software Engineering
In last two years, large language models (LLMs) have shown strong capabilities in code generation, including hardware design at register-transfer level (RTL). While their use in high-level synthesis (HLS) remains comparatively less mature, the ratio of HLS- to RTL-focused studies has shifted from 1:10 to 2:10 in the past six months, indicating growing interest in leveraging LLMs for high-level design entry while relying on downstream synthesis for optimization. This growing trend highlights the need for a comprehensive benchmarking and evaluation framework dedicated to LLM-based HLS. To address this, We present Bench4HLS for evaluating LLM-generated HLS designs. Bench4HLS comprises 170 manually drafted and validated case studies, spanning small kernels to complex accelerators, curated from widely used public repositories. The framework supports fully automated assessment of compilation success, functional correctness via simulation, and synthesis feasibility/optimization. Crucially, Bench4HLS integrates a pluggable API for power, performance, and area (PPA) analysis across various HLS toolchains and architectures, demonstrated here with Xilinx Vitis HLS and validated on Catapult HLS. By providing a structured, extensible, and plug-and-play testbed, Bench4HLS establishes a foundational methodology for benchmarking LLMs in HLS workflows.
title Bench4HLS: End-to-End Evaluation of LLMs in High-Level Synthesis Code Generation
topic Hardware Architecture
Artificial Intelligence
Programming Languages
Software Engineering
url https://arxiv.org/abs/2601.19941