arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.15906cs.ARcs.AI
收藏

FVDebug:用于形式验证失败自动化根因分析的 LLM 驱动调试助手

FVDebug: An LLM-Driven Debugging Assistant for Automated Root Cause Analysis of Formal Verification Failures

NVIDIA

Yunsheng Bai, Ghaith Bany Hamad, Chia-Tung Ho, Syed Suhaib, Haoxing Ren

AI总结:

本文提出 FVDebug,融合波形、RTL 与规范,通过因果图、LLM 图扫描和智能体叙事解释自动定位形式验证失败根因并生成修复。

摘要:

调试形式验证(FV)失败是现代硬件设计工作流中最耗时的瓶颈之一。当属性失败时,工程师必须手动追踪跨越多个周期的复杂反例、分析波形并交叉参考设计规范以确定根本原因——每个缺陷的这一过程可能耗费数小时或数天。现有解决方案主要局限于手动波形查看器或简单的自动化工具,无法推理设计意图与实现逻辑之间的复杂相互作用。我们提出 FVDebug,这是一个通过组合多种数据源(波形、RTL 代码、设计规范)将失败轨迹转化为可执行洞察,从而自动化根因分析的智能系统。我们的方法具有新颖流水线:(1)因果图综合,将失败轨迹结构化为有向无环图;(2)图扫描器,使用批量大语言模型(LLM)分析和正反提示来识别可疑节点;(3)洞察漫游器,利用智能体叙事探索生成高层因果解释。FVDebug 还通过其修复生成器提供具体的 RTL 修复。在开放基准上评估时,FVDebug 取得了较高的假设质量和强劲的 Pass@k 修复率。我们进一步报告了在两个专有的生产规模 FV 反例上的结果。这些结果证明 FVDebug 从学术基准到工业设计的适用性。

英文摘要:

Debugging formal verification (FV) failures represents one of the most time-consuming bottlenecks in modern hardware design workflows. When properties fail, engineers must manually trace through complex counter-examples spanning multiple cycles, analyze waveforms, and cross-reference design specifications to identify root causes - a process that can consume hours or days per bug. Existing solutions are largely limited to manual waveform viewers or simple automated tools that cannot reason about the complex interplay between design intent and implementation logic. We present FVDebug, an intelligent system that automates root-cause analysis by combining multiple data sources - waveforms, RTL code, design specifications - to transform failure traces into actionable insights. Our approach features a novel pipeline: (1) Causal Graph Synthesis that structures failure traces into directed acyclic graphs, (2) Graph Scanner using batched Large Language Model (LLM) analysis with for-and-against prompting to identify suspicious nodes, and (3) Insight Rover leveraging agentic narrative exploration to generate high-level causal explanations. FVDebug further provides concrete RTL fixes through its Fix Generator. Evaluated on open benchmarks, FVDebug attains high hypothesis quality and strong Pass@k fix rates. We further report results on two proprietary, production-scale FV counterexamples. These results demonstrate FVDebug's applicability from academic benchmarks to industrial designs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑