PRO-V-R1: Reasoning Enhanced Programming Agent for RTL Verification

Yujie Zhao, Zhijing Wu, Hejia Zhang, Zhongming Yu, Wentao Ni, Chia-Tung Ho, Haoxing Ren, Jishen Zhao, Zhao, Jishen · DOI

Abstract

Register-Transfer Level (RTL) verification is a primary bottleneck, consuming 60-70% of development time. While Large Language Models (LLMs) show promise for RTL automation, their performance and research focus have overwhelmingly centered on RTL generation rather than verification. Current methods for RTL verification rely on large scale proprietary models (e.g., GPT-4o) to generate Python-based functional references, incurring a high cost and raising data-privacy risks. To date, an end-to-end open-source solution for autonomous verification remains absent. We introduce PRO-V-R1, the first trainable open-source agentic framework for autonomous RTL verification. Our contributions are threefold: (1) we design PRO-V sys, a modular agentic system that couples LLM-based reasoning with programmatic tool use for RTL verification; (2) we establish a data construction pipeline that leverages existing RTL datasets to build simulation-validated, expert-level trajectories tailored for supervised fine-tuning (SFT) RTL verification agents; and (3) we implement an efficient reinforcement learning (RL) algorithm that uses verification-specific rewards derived from program-tool feedback to optimize the end-to-end verification workflow. Our empirical evaluation demonstrates PRO-V-R1 achieves a 57.7% functional correctness rate and 34.0% in robust fault detection, significantly outperforming the base model's 25.7% and 21.8% (respectively) from the state-of-the-art (SOTA) automatic verification system. This configuration also outperforms large-scale proprietary LLMs in functional correctness and shows comparable robustness for fault detection.

Introduction

In modern chip design, ensuring that Verilog code accurately implements a specification—known as RTL verification—is the most time-consuming phase of the development cycle. Despite the rapid advancement of Large Language Models (LLMs) in code generation, their application to verification has been limited. Verification requires extreme numerical precision and the ability to bridge the "semantic gap" between hardware description languages and high-level verification languages like Python.

Existing automated verification systems often rely on expensive proprietary models to generate Functional Reference Models (FRMs). These models frequently struggle with hardware-specific nuances, such as bit-indexing directions, leading to high hallucination rates. PRO-V-R1 addresses these challenges by providing an open-source, trainable framework that enhances LLM reasoning through specialized agentic roles and programmatic tool integration.

Methodology

PRO-V sys: The Agentic Architecture

The core of the framework is a modular multi-agent system designed to decompose the complex verification task into manageable sub-problems. The system utilizes three specialized roles:

  • Testcase Generator: Analyzes specifications to design comprehensive test scenarios and generates Python scripts for bit-accurate stimuli.
  • FRM Generator: Develops a Python-based reference model to emulate the intended hardware behavior.
  • The Judge: Employs iterative refinement and self-verification to identify and correct errors in the generated testbench.
The PRO-V sys agentic architecture, featuring specialized agents and a programmatic tool group.

Training and Optimization

To overcome the scarcity of high-quality verification data, PRO-V-R1 utilizes an Expert Trajectory Pipeline. This pipeline synthesizes reasoning traces from powerful teacher models to fine-tune smaller, open-source base models (e.g., Qwen-8B). Following Supervised Fine-Tuning (SFT), the model is further optimized using Group Relative Policy Optimization (GRPO). This reinforcement learning stage uses dense, tool-based rewards—such as syntax correctness and simulation success—to refine the agent's decision-making and tool-use strategies.

Experimental Evaluation

The framework was evaluated using standard benchmarks including VerilogEval-v2 and RTLLM v2.0. To assess robustness, the authors introduced RTL Mutants, a dataset of intentionally buggy RTL designs, to determine if the generated testbenches could successfully detect faults.

Results and Discussion

PRO-V-R1 demonstrates significant improvements over existing open-source and proprietary baselines. It achieved a 57.7% functional correctness rate on VerilogEval-v2, more than doubling the performance of previous state-of-the-art (SOTA) open-source systems (25.7%).

Performance comparison on VerilogEval-v2, showing the performance trajectory of various models including the reasoning-enhanced variants.

Key findings include:

  • Robust Fault Detection: PRO-V-R1 achieved 34.0% accuracy in detecting mutant bugs, surpassing GPT-4o's 27.6%.
  • Efficiency: By utilizing a direct self-consistency approach rather than generating massive redundant implementations, the system achieved an 8.8x speedup in verification latency compared to previous agentic baselines.
  • Closing the Semantic Gap: Specialized post-training allowed the model to correctly handle hardware-specific logic, such as Verilog's MSB-to-LSB indexing, which general-purpose models often fail to translate correctly into Python.

Conclusion

PRO-V-R1 represents a significant step toward autonomous hardware verification. By combining agentic reasoning with programmatic tool use and specialized RL, it enables compact open-source models to match or exceed the performance of much larger proprietary counterparts. Future work will focus on scaling the framework to handle complex industry protocols and further narrowing the gap with the largest frontier models on complex robustness metrics.

Summary updated

BibTeX
@misc{zhao2025pro,
  author = {Yujie Zhao and Zhijing Wu and Hejia Zhang and Zhongming Yu and Wentao Ni and Chia-Tung Ho and Haoxing Ren and Jishen Zhao and Zhao, Jishen},
  title = {{PRO-V-R1: Reasoning Enhanced Programming Agent for RTL Verification}},
  year = {2025},
  eprint = {2506.12200},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.12200},
}
Figure