我们提出了HierSVA,一个集流水线、数据集和基准于一体的集成套件,用于LLM驱动的层次化硬件形式化验证。HierSVA-SP将RTL预处理工具链与LLM在环形式化验证流程相结合,为层次化RTL生成参考SystemVerilog断言(SVA)。将其应用于BaseJump STL,得到HierSVA-DS数据集,包含342个模块,具有层次元数据和深度0-9,并附带28个模块-错误对的深层子集,包含自然语言规范和错误变体。HierSVA-B将断言质量分解为六个度量轴:语法正确性、断言证明成功率、空洞性、规范忠实度、突变覆盖率和形式化核心覆盖率。将HierSVA-B应用于12个最近的LLM,揭示了三个发现。第一,模块级编译率为67.1%;在可评估运行生成的断言中,82.1%被非空洞地证明,但相应的断言集仅检测到70.2%的可注入故障,并覆盖了36.2%的形式化核心。第二,在深层子集的211个可评估模型-模块条目中,断言集以0.87的召回率标记有错误的RTL,但预测有错误的输出中有40%在正确RTL上是假阳性,将精度限制在0.60。第三,代理模式改善了S1风格的可证明性和强度指标,但增益趋于平稳并振荡。代码和工件可在\href{ this https URL }{ this https URL }获取。数据集可在\href{ this https URL }{ this https URL }获取。
英文摘要:
We present HierSVA, an integrated suite that combines a pipeline, dataset, and benchmark for LLM-driven hierarchical hardware formal verification. HierSVA-SP pairs an RTL preprocessing toolchain with an LLM-in-the-loop formal verification flow to produce reference SystemVerilog Assertions (SVA) on hierarchical RTL. Applying it to BaseJump STL yields HierSVA-DS, a dataset of 342 modules, with hierarchy metadata and depths 0--9, accompanied by a deep subset of 28 module-bug pairs with natural-language specifications and bug variants. HierSVA-B decomposes assertion quality into six metric axes: syntax correctness, assertion proof success rate, vacuity, specification faithfulness, mutation coverage, and formal core coverage. Applying HierSVA-B to twelve recent LLMs reveals three findings. First, the module-level compile rate is 67.1\%; among generated assertions in evaluable runs, 82.1\% prove non-vacuously, but the corresponding assertion sets detect only 70.2\% of eligible injected faults and cover 36.2\% of the formal core. Second, on 211 evaluable model--module entries in the deep subset, assertion sets flag buggy RTL with 0.87 recall, but 40\% of predicted-buggy outcomes are false positives on correct RTL, limiting precision to 0.60. Third, agentic mode improves S1-style provability and strength metrics, but gains plateau and oscillate. Codes and artifacts are available at \href{https://github.com/HierSVAAnon/HierSVACodeAndArtifacts}{https://github.com/HierSVAAnon/HierSVACodeAndArtifacts}. Dataset is available at \href{https://huggingface.co/datasets/AnonymousHierSVA/HierSVA}{https://huggingface.co/datasets/AnonymousHierSVA/HierSVA}.
Vulnerability Detection: From Formal Verification to Large Language Models and Hybrid Approaches: A Comprehensive Overview
Eötvös Loránd University (ELTE)(厄特沃什·罗兰大学(ELTE));Technology Innovation Institute (TII)(技术创新研究院(TII));University of Oslo(奥斯陆大学);Cyentific AS(赛恩蒂菲克公司);Guelma University(盖勒马大学);The University of Manchester(曼彻斯特大学);Federal University of Amazonas(亚马逊联邦大学)
FVEL: Interactive Formal Verification Environment with Large Language Models via Theorem Proving
Shenzhen Campus of Sun Yat-sen University(中山大学深圳校区);City Univeristy of Hong Kong(香港城市大学);Sun Yat-sen University(中山大学);The University of Hong Kong(香港大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);MBZUAI(Mohamed bin Zayed 人工智能大学);DarkMatter AI Research(DarkMatter AI 研究院)