Comprehensive Verilog Design Problems: A Next-Generation Benchmark Dataset for Evaluating Large Language Models and Agents on RTL Design and Verification

Nathaniel Ross Pinckney, Chenhui Deng, Chia-Tung Ho, Yun-Da Tsai, Mingjie Liu, Wenfei Zhou, Brucek Khailany, Haoxing RenarXiv 2025

Abstract

We present the Comprehensive Verilog Design Problems (CVDP) benchmark, a new dataset and infrastructure to advance LLM and agent research in hardware design and verification. CVDP includes 783 problems across 13 task categories, covering RTL generation, verification, debugging, specification alignment, and technical Q&A authored by experienced hardware engineers. Problems are offered in both non-agentic and agentic formats. The benchmark introduces more realistic and challenging contexts than prior work, with state-of-the-art models achieving no more than 34% pass@1 on code generation. Agentic tasks—especially those involving RTL reuse and verification—are particularly difficult. Evaluation uses open-source tools and model scoring infrastructure, with comprehension tasks assessed via BLEU and LLM-based judging. CVDP reveals substantial gaps in current model capabilities, underscoring the need for continued research toward robust, real-world hardware design automation.

Introduction

While Large Language Models (LLMs) have significantly impacted software engineering, their application to semiconductor hardware design remains challenging. Designing hardware using Verilog RTL (Register-Transfer Level) requires reasoning about concurrency, precise timing, and physical constraints—concepts that differ fundamentally from standard software programming. Existing Verilog benchmarks like VerilogEval and RTLLM are becoming "saturated," with top models achieving pass rates as high as 94%. Furthermore, these benchmarks often focus on simple code snippets rather than the complex, multi-step workflows hardware engineers face daily.

To address these gaps, we introduce CVDP (Comprehensive Verilog Design Problems), a next-generation benchmark featuring 783 human-authored problems designed to reflect real-world complexity and provide significant "headroom" for future research.

Methods and Infrastructure

CVDP was developed by a team of 35 experienced hardware engineers. Each problem underwent a rigorous multi-stage filtering process, including sanity checks to ensure reference solutions pass and initial contexts fail, followed by LLM-based judging to eliminate ambiguity.

A key innovation of CVDP is its support for agentic workflows. Unlike traditional benchmarks where a model provides a single output, CVDP provides a Dockerized evaluation environment. This allows agentic models to interact with Electronic Design Automation (EDA) tools—such as Icarus Verilog, Yosys, and Verilator—to test their code, analyze error logs, and iterate on solutions, mimicking the actual engineering process.

Architecture of the CVDP evaluation framework, supporting both agentic and non-agentic model testing within a Dockerized environment.

Dataset Composition

The CVDP dataset comprises 783 problems across 13 categories, categorized into three main areas:

  • Code Generation: Includes RTL completion, natural language specification to code, module reuse, and code improvement (linting/QoR).
  • Design Verification: Focuses on testbench stimulus and checker generation, assertion creation, and bug fixing.
  • Code Comprehension: Covers technical Q&A and mapping specifications to existing RTL or testbenches.

Key Results and Analysis

CVDP proves to be a formidable challenge for current state-of-the-art models. In non-agentic code generation tasks, Claude 3.7 Sonnet emerged as the top performer but only achieved a 33.56% pass@1 rate.

Performance of leading LLMs across various non-agentic code generation categories in the CVDP benchmark.

The Verification Gap

A significant finding is the "verification gap": models are notably worse at writing testbenches and assertions than they are at writing RTL logic. For instance, while Claude 3.7 Sonnet achieves a 48% pass rate on RTL generation (cid03), its performance drops to just 6% for testbench checker generation (cid13). Performance is even lower in agentic tasks; on "Spec-to-RTL Module Reuse" (cid05), Claude 3.7 Sonnet only managed a 24% success rate.

Timing and Structural Reasoning

Failure analysis indicates that LLMs struggle with cycle-accurate behavior and hardware-specific constraints. Common errors include incorrect clock cycle timing, boundary condition failures (e.g., counter overflows), and "bit-width blindness," where models ignore mismatches between wire widths (e.g., assigning a 4-bit result to an 8-bit wire).

Conclusion

CVDP highlights the substantial gap between current LLM capabilities and the requirements of real-world hardware design. Even with access to simulation tools in agentic setups, models struggle with complex tasks like module reuse and verification. By providing a more realistic and challenging evaluation framework, CVDP serves as a critical tool for driving the next wave of innovation in AI-driven hardware design automation.

Summary updated

BibTeX
@misc{pinckney2025comprehensive,
  author = {Nathaniel Ross Pinckney and Chenhui Deng and Chia-Tung Ho and Yun-Da Tsai and Mingjie Liu and Wenfei Zhou and Brucek Khailany and Haoxing Ren},
  title = {{Comprehensive Verilog Design Problems: A Next-Generation Benchmark Dataset for Evaluating Large Language Models and Agents on RTL Design and Verification}},
  year = {2025},
  eprint = {2506.14074},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.14074},
}
Figure