arXiv:2506.12200cs.AIcs.AR2025-06被引 6

首个开源自主式RTL验证框架,用大模型+工具链提升芯片验证效率。

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

  • 构建模块化智能体系统,结合大模型推理与程序化工具调用。
  • 在仿真验证数据上微调,实现57.7%功能正确率和34.0%故障检测率。
  • 无需闭源模型,适合芯片验证研究者与自动化工具开发者使用。

寄存器传输级(RTL)验证是芯片开发的主要瓶颈,占开发时间的60-70%。尽管大语言模型(LLMs)在RTL生成方面展现出潜力,但其在验证领域的应用仍局限于生成基于Python的功能参考,依赖大规模专有模型(如GPT-4o),成本高且存在数据隐私风险。目前尚无端到端的开源自主验证方案。本文提出PRO-V-R1,首个可训练的开源智能体框架,用于自主RTL验证。贡献包括:(1) 设计模块化智能体系统PRO-V sys,融合基于LLM的推理与程序化工具调用;(2) 构建数据构造流程,利用现有RTL数据集生成仿真验证、专家级轨迹,用于监督微调(SFT);(3) 实现高效强化学习算法,基于程序-工具反馈设计验证专属奖励,优化端到端验证流程。实验表明,PRO-V-R1在功能正确率上达57.7%,故障检测率达34.0%,显著优于基线模型的25.7%和21.8%。该配置在功能正确性上超越主流自动验证系统,故障检测能力与闭源大模型相当。

原文摘要 · Abstract (English)

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.

芯片验证大模型智能体开源

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。