VeriPilot: An LLM-Powered Verilog Debugging Framework

📅 2026-06-22
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Verilog debugging in large-scale designs is hindered by the difficulty of localizing deep-seated errors, and existing approaches leveraging large language models (LLMs) have shown limited efficacy. This work proposes VeriPilot, a novel framework that uniquely integrates semantic alignment with a golden reference model and control-data flow graphs (CDFGs) derived from static analysis to enable fine-grained error localization and interpretable signal tracing. By guiding the LLM with this structured, semantics-aware context, VeriPilot significantly enhances repair accuracy. Evaluated on the NVIDIA CVDP benchmark, the framework boosts GPT-4o’s repair success rate from 54.3% to 85.71%, substantially improving both debugging precision and repair effectiveness for complex Verilog code.
📝 Abstract
Verilog debugging remains one of the most time-consuming stages in digital circuit design. Recent advances in Large Language Models (LLMs) have enabled automated debugging; however, most existing approaches rely solely on test outputs and compiler feedback in an end-to-end manner, limiting their effectiveness on complex bugs. A key challenge is that the root cause of an error may be far removed from its observable outputs, making it difficult for LLMs to trace long dependency chains in code. This challenge is further exacerbated in large codebases, where long context lengths hinder efficient reasoning. To address these limitations, we propose VeriPilot, an LLM-powered debugging framework that leverages golden reference models to enable fine-grained bug localization and repair. VeriPilot goes beyond output-level comparison by aligning internal variable semantics between the Verilog design and its corresponding golden model through LLM-based analysis. It then performs step-by-step signal tracing using Control-Data-Flow Graphs (CDFGs) derived from static analysis, identifying a minimal set of suspicious code regions along with their correct counterparts from the golden model. These structured insights are subsequently provided to the LLM to guide reasoning and automated code repair. Experimental results on the Comprehensive Verilog Design Problems (CVDP) benchmark from NVIDIA demonstrate that VeriPilot improves the repair success rate of GPT-4o from 54.3\% to 85.71\%, significantly enhancing both bug localization accuracy and repair effectiveness for complex Verilog designs. The source code and benchmark are publicly available at Github https://github.com/YihanWn/VeriPilot.git.
Problem

Research questions and friction points this paper is trying to address.

Verilog debugging
Large Language Models
bug localization
complex circuit design
dependency chains
Innovation

Methods, ideas, or system contributions that make the work stand out.

LLM-powered debugging
golden reference model
Control-Data-Flow Graph (CDFG)
Verilog bug localization
semantic alignment
🔎 Similar Papers
No similar papers found.