Bench4HLS: End-to-End Evaluation of LLMs in High-Level Synthesis Code Generation
M Zafir Sadik Khan, Kimia Azar, Hadi Kamali

TL;DR
Bench4HLS is a comprehensive benchmarking framework for evaluating the quality and effectiveness of large language models in generating high-level synthesis code for hardware design, supporting automated assessments and PPA analysis.
Contribution
This paper introduces Bench4HLS, the first extensive, automated benchmarking framework for LLM-generated HLS code, including a large curated dataset and PPA analysis capabilities.
Findings
Bench4HLS successfully evaluates LLM-generated HLS designs across multiple metrics.
The framework supports integration with different HLS tools and architectures.
Bench4HLS provides insights into the strengths and limitations of LLMs in hardware synthesis.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsEmbedded Systems Design Techniques · Parallel Computing and Optimization Techniques · Model-Driven Software Engineering Techniques
