ARLGJul 23

Benchmarking LLMs for Verilog Design Flows

arXiv:2607.227599.1Has Code
Predicted impact top 24% in AR · last 90 daysOriginality Synthesis-oriented
AI Analysis

For hardware designers and researchers, this provides a standardized, end-to-end benchmark for LLM-based Verilog generation, though it is incremental as it extends existing evaluation methods with a curated dataset and iterative refinement pipeline.

The paper presents a reproducible benchmarking platform for evaluating open-source LLMs on Verilog RTL generation across 50 tasks, achieving an average syntax validity of 70.43% and simulation pass rate of 51.8% across three models, with TinyLlama (1.1B) reaching 80% syntax validity.

Large language models (LLMs) show promise in code generation, but their capabilities to produce correct, synthesizable hardware description language (HDL) code still remain to be properly benchmarked. Existing evaluations are primarily relying on pass@k metrics and lack proper end-to-end toolchain validation. This paper presents a reproducible benchmarking platform that evaluates open-source LLMs on Verilog RTL generation across 50 curated tasks consisting of combinational, sequential, finite state machine (FSM), and mixed designs. The pipeline consisting of constrained prompting, post-processing, and semantic-aware iterative refinement with waveform analysis, formal equivalence verification, and Abstract Syntax Tree (AST)-based repair validates the generated code via Verilator compilation and Icarus Verilog simulation. Across the 12 benchmarks and the 1,610 total runs evaluating three models of different sizes (Llama-3-8B, StarCoder2-7B, and TinyLlama-1.1B), the pipeline improved syntax validity from 0% to a 70.43% average and simulation pass rate to 51.8% across three open-source models. Most notably TinyLlama (1.1B parameters) achieved the highest individual syntax validity at 80.0%, with functional correctness comparable to the 8B model. The platform and dataset are open-source, enabling reproducible evaluation of generative AI for hardware design workflows.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes