HierSVA: A Data Synthesis Pipeline, Dataset, and Benchmark for LLM-Driven Hierarchical Hardware Formal Verification

arXiv:2606.13706 · cs.AR, cs.AI · Submitted 2026-06-09 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Computer Science. The day in computer science: software, systems and theory on arXiv.

Tom: We're looking at the paper: "HierSVA: A Data Synthesis Pipeline, Dataset, and Benchmark for LLM-Driven Hierarchical Hardware Formal Verification".

Paper summary: Tom: The paper introduces HierSVA as an integrated suite with three main parts: HierSVA-SP which is a pipeline that pairs the RTL preprocessing toolchain with an LLM in a loop to produce reference SVA on hierarchical RTL.

Jane: And this pipeline works by generating those assertions using a generate-and-check paradigm, which incorporates things like hierarchical assumeguarantee composition and parameter cross product expansion.

Lu: They then use this pipeline to create HierSVA-DS, which is a dataset of three hundred forty two modules derived from tapeout validated BaseJump STL, and they filter this through formal evidence to maintain hierarchy metadata with depths zero through nine.

Meng: So they're taking real hardware designs, stripping them down for verification purposes, and then using that structure to build a dataset that includes twenty-eight module bug pairs with natural language specifications and bug variants <ref:2606.13706#pg1,pairs with natural language specifications and bug variants>.

Lalam: That deep subset of twenty-eight module bugs is important because it has senior industrial design engineer review on the specifications to make sure the natural language descriptions actually match what's in the RTL.

Tom: And they pair that dataset with HierSVA-B, which is a benchmark framework designed to break down assertion quality into six metrics: syntax correctness, assertion proof success rate, vacuity, specification faithfulness, mutation coverage and formal core coverage.

Jane: That means they are looking beyond just whether the code compiles or if the assertion passes—they're measuring how good the generated logic actually is against formal criteria.

Lu: When they applied this benchmark to twelve different large language models they found some specific results, like a module level compile rate of sixty seven point one percent.

Meng: Sixty seven point one percent sounds pretty low for something designed to automate industrial verification; what's the catch there?

Lalam: The paper also found that among the assertions generated in evaluable runs, eighty two point one percent prove non-vacuously, but they only detect seventy zero two percent of eligible faults and cover thirty six point two percent of the formal core.

Conclusion: Tom: So to wrap up HierSVA: A Data Synthesis Pipeline, Dataset, and Benchmark for LLM-Driven Hierarchical Hardware Formal Verification the authors showed how you can build a complete system that uses an LLM iteratively with formal tools to create high quality SVA.

Jane: It means they aren't just asking the AI to write code anymore; they are giving it structured data and industrial review processes so it generates properties that actually hold up under formal verification scrutiny.

Lu: The big implication is that instead of relying on manual property generation at scale which is labor prohibitive, you can use this approach anchored on industrial RTL to get assertions generated by an LLM.

Meng: From a production standpoint I see the value in the benchmark framework because it gives us concrete metrics like mutation coverage and formal core coverage instead of just hoping for a pass or fail.

Lalam: It sets a new standard for evaluating LLMs on hierarchical SVA generation under industrial verification methodology, replacing the old mining approach with an LLM-and-formal iterative synthesis loop on real RTL.

Maohua Nie, Jiang Zhu, Jingqun Zhang, Zhichen Zeng, Jiayi Wang, Sibo Zhang, Jialin Wang, C.-J. Richard Shi

University of Washington

cs.AR, cs.AI

Submitted: 2026-06-09

Updated: 2026-11-21

Comments: Accepted NeurIPS 2026. Camera ready version

Code: https://github.com/HierSVAAnon/HierSVACodeAndArtifacts

License: http://creativecommons.org/licenses/by-nc-sa/4.0/

Importance score: 99/100

The gist: HierSVA introduces an integrated suite comprising a pipeline (HierSVA-SP), a dataset (HierSVA-DS), and a benchmark framework (HierSVA-B) designed for LLM-driven hierarchical hardware formal…

Key concepts

HierSVA-SP
This is the software pipeline that uses an open-source toolchain and an LLM simultaneously. It generates reference SVA by processing hierarchical RTL, using techniques like hardware extensions to improve assertion generation quality.
HierSVA-DS
This is a dataset of 342 hardware modules derived from validated designs. It includes bug variants and natural language specifications, organized by hierarchy depth (0–9), providing realistic data for training or testing LLMs.
HierSVA-B
This benchmark framework measures assertion quality using six metrics, such as proof success rate and specification faithfulness. It tests LLMs in both static and agentic modes to quantify their ability to generate useful formal verification assertions.

Terminology

Summary

HierSVA introduces an integrated suite comprising a pipeline (HierSVA-SP), a dataset (HierSVA-DS), and a benchmark framework (HierSVA-B) designed for LLM-driven hierarchical hardware formal verification. p. 0

Where the paper says it

HierSVA: A Data Synthesis Pipeline, Dataset, and Benchmark for LLM-Driven Hierarchical Hardware Formal Verification Maohua Nie1∗ Jiang Zhu2∗ Jingqun Zhang1 Zhichen Zeng1 Jiayi Wang1 Sibo Zhang1 Jialin Wang1 C. Richard Shi1 1University of Washington 2 Independent Researcher Abstract We present HierSVA, an integrated suite that combines a pipeline, dataset, and benchmark for LLM-driven hierarchical hardware formal verification.

HierSVA-SP pairs an open-source RTL preprocessing toolchain with an LLM in the loop for formal verification, generating reference SystemVerilog Assertions (SVA) on hierarchical RTL via a generate-and-check paradigm, incorporating hardware extensions like hierarchical assumeguarantee composition and parameter cross-product expansion. p. 1
Where the paper says it

HierSVA-SP, a Synthesis Pipeline pairing an open-source RTL preprocessing toolchain with an iterative loop combining an LLM with formal verification, instantiating the generateand-check paradigm with three hardware-specific extensions, namely hierarchical assumeguarantee composition, parameter cross-product expansion, and integration with industrial mutation and coverage analyses. HierSVA-DS, a hierarchical SVA DataSet of 342 modules built on tapeout-validated BaseJump STL [43] and retained through a formal-evidence filter, accompanied by a deep subset of 28 module-bug pairs with expert-authored natural-language specifications, bug variants from two sources, and senior industrial DV engineer review for spec-versus-RTL faithfulness evaluation.

HierSVA-DS is a dataset of 342 modules derived from the tapeout-validated BaseJump STL, filtered through formal evidence to maintain hierarchy metadata (depths 0–9). p. 0

Where the paper says it

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 modulebug pairs with natural-language specifications and bug variants.

This dataset includes a deep subset of 28 module-bug pairs featuring natural-language specifications and bug variants from two sources, with senior industrial DV engineer review for specification faithfulness. p. 1
Where the paper says it

HierSVA-DS, a hierarchical SVA DataSet of 342 modules built on tapeout-validated BaseJump STL [43] and retained through a formal-evidence filter, accompanied by a deep subset of 28 module-bug pairs with expert-authored natural-language specifications, bug variants from two sources, and senior industrial DV engineer review for spec-versus-RTL faithfulness evaluation. HierSVA-B, a Benchmark framework that decomposes assertion quality into six metric axes (syntax correctness, assertion proof success rate, vacuity, specification faithfulness, mutation coverage, and formal core coverage) under a static-versus-agentic mode axis, together with an artifact-reproducible evaluation harness given access to VC Formal, model outputs, and parsed verdicts.

HierSVA-B is a benchmark framework that decomposes assertion quality into six metrics: syntax correctness, assertion proof success rate, vacuity, specification faithfulness, mutation coverage, and formal core coverage. p. 1

Where the paper says it

HierSVA-DS, a hierarchical SVA DataSet of 342 modules built on tapeout-validated BaseJump STL [43] and retained through a formal-evidence filter, accompanied by a deep subset of 28 module-bug pairs with expert-authored natural-language specifications, bug variants from two sources, and senior industrial DV engineer review for spec-versus-RTL faithfulness evaluation. HierSVA-B, a Benchmark framework that decomposes assertion quality into six metric axes (syntax correctness, assertion proof success rate, vacuity, specification faithfulness, mutation coverage, and formal core coverage) under a static-versus-agentic mode axis, together with an artifact-reproducible evaluation harness given access to VC Formal, model outputs, and parsed verdicts.

It evaluates LLMs in both Static mode and Agentic mode. p. 1
Where the paper says it

HierSVA-DS, a hierarchical SVA DataSet of 342 modules built on tapeout-validated BaseJump STL [43] and retained through a formal-evidence filter, accompanied by a deep subset of 28 module-bug pairs with expert-authored natural-language specifications, bug variants from two sources, and senior industrial DV engineer review for spec-versus-RTL faithfulness evaluation. HierSVA-B, a Benchmark framework that decomposes assertion quality into six metric axes (syntax correctness, assertion proof success rate, vacuity, specification faithfulness, mutation coverage, and formal core coverage) under a static-versus-agentic mode axis, together with an artifact-reproducible evaluation harness given access to VC Formal, model outputs, and parsed verdicts.

Findings from applying HierSVA-B to twelve recent LLMs indicate that the module-level compile rate is 67. p. 0
Where the paper says it

Applying HierSVA-B to twelve recent LLMs reveals three findings. First, the module-level compile rate is 67.

1%, and while 82. p. 2
Where the paper says it

Recent LLM-based methods automate SVA generation through prompt engineering, RAG, and iterative refinement. For example, ChIRAAG [26] uses simulation feedback for refinement, while AssertLLM [14] pipelines multiple LLMs for spec-to-SVA generation.

1% of generated assertions prove non-vacuously, they only detect 70. p. 0
Where the paper says it

1%; among generated assertions in evaluable runs, 82. 1% prove non-vacuously, but the corresponding assertion sets detect only 70.

2% of eligible faults and cover 36. p. 0
Where the paper says it

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 (lowest metric for every model individually). p. 7
Where the paper says it

2% of eligible injected faults are detected (C4), and only 36. 2% of the design’s formal core is covered (C5), with C5 the lowest of the three substantive metrics for every model individually.

On the deep subset, aggregate recall is 0. p. 1
Where the paper says it

9% at the second-to-top-most level. Second, on 211 evaluable model–module entries in the deep subset, LLM-generated assertion sets flag the buggy RTL with aggregate recall 0.

87, but precision is limited to 0. p. 0
Where the paper says it

However, the infrastructure supporting this line of work remains incomplete in three places. First, existing benchmarks rely on limited sources of reference assertions: automated mining tools with known scaling limitations [36], hand-authored assertions for synthetic or templated RTL [22], or small spec-bounded design sets [24, 14].

60 due to false positives on correct RTL. p. 0
Where the paper says it

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.

Furthermore, agentic mode improves provability metrics by an average of +21. p. 0
Where the paper says it

87 recall, but 40% of predicted-buggy outcomes are false positives on correct RTL, limiting precision to 0. Third, agentic mode improves S1-style provability and strength metrics, but gains plateau and oscillate.

1 percentage points in C2-P, C4, and C5 across the tested models while exhibiting plateauing behavior. p. 6
Where the paper says it

It also tells the model not to verify reset behavior, while allowing reset guards such as disable iff. The same prompt is used across all twelve models with no per-model tuning to ensure a fair comparison.

The dataset artifacts are detailed: each entry includes the buggy RTL variant, documentation with source commit references or injection prompts/audit notes alongside the generated SVA assertion and detection difficulty estimate. The benchmark framework's mutation coverage (C4) is grounded in eight VC Formal fault classes, including InternalConnectivity, ComboLogic (operator-, operand-, bit-level), TopOutputsConnectivity, ComboLogicControlFlow, SynchronousControlFlow/SynchronousLogic, SynchronousDeadAssign, and ResetConditionTrue. Compute accounting tables report token costs stratified by hierarchy depth and module category for both S1 (static mode) and S3 (cumulative cost across iterations). p. 3

Where the paper says it

Hierarchical proof through assume-guarantee contracts is the standard DV practice for verifying designs of nontrivial depth. A flattened formulation is feasible, in which FPV reasons about the parent and all descendants jointly, but verification cost rises sharply with module-structure complexity and quickly becomes intractable at deeper hierarchy levels.

LLM queries utilize a unified OpenRouter gateway, while formal verification runs are executed on a shared CPU cluster without reporting wall-clock times. p. 6
Where the paper says it

6 Plus [1]. All twelve are queried through a unified OpenRouter gateway with the same prompts and parameters (reasoning enabled, strict JSON-schema output, temperature = 0).

HierSVA is positioned to evaluate LLMs on hierarchical SVA generation under industrial formal verification methodology, replacing mining with an LLM-and-formal iterative synthesis loop anchored on industrial RTL. p. 1
Where the paper says it

HierSVA-SP, a Synthesis Pipeline pairing an open-source RTL preprocessing toolchain with an iterative loop combining an LLM with formal verification, instantiating the generateand-check paradigm with three hardware-specific extensions, namely hierarchical assumeguarantee composition, parameter cross-product expansion, and integration with industrial mutation and coverage analyses. HierSVA-DS, a hierarchical SVA DataSet of 342 modules built on tapeout-validated BaseJump STL [43] and retained through a formal-evidence filter, accompanied by a deep subset of 28 module-bug pairs with expert-authored natural-language specifications, bug variants from two sources, and senior industrial DV engineer review for spec-versus-RTL faithfulness evaluation.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Automated synthesis pipeline for reference assertion generation: This can be improved by implementing HierSVA-SP to pair an open-source RTL preprocessing toolchain with an iterative loop combining an LLM with formal verification to produce reference SystemVerilog Assertions (SVA) on hierarchical RTL.

  2. Dataset construction for evaluation: The system can generate a dataset like HierSVA-DS, consisting of 342 modules from BaseJump STL and a deep subset of 28 module-bug pairs with natural-language specifications and bug variants, while retaining only those outputs that pass the formal evidence filter.

  3. Assertion quality decomposition: The benchmark framework can decompose assertion quality into six metric axes: syntax correctness, assertion proof success rate, vacuity, specification faithfulness, mutation coverage, and formal core coverage under a static-versus-agentic mode axis.

  4. Agentic mode performance tracking: The system can track how agentic mode improves S1-style provability and strength metrics by monitoring the convergence behavior of the LLM in response to VC Formal feedback.

  5. Parameter combination coverage: The LLM can be prompted to classify parameters into Type-1, Type-2, and Type-N categories and exhaustively combine Type-2 parameters for generating parameter combinations, ensuring all necessary cases are covered.

  6. Robust prompt engineering: A unified system prompt can be used across all twelve models with strict coding standards for SVA syntax and naming to ensure a fair comparison during evaluation.

  7. Spec-faithful assertion generation: The LLM can be instructed to follow the natural-language specification as the source of truth, even if it results in an assertion that falsifies on the provided buggy RTL, which is described as the desired outcome: it detects the bug.

  8. Formal core coverage analysis: The system can use VC Formal's FC feature to report formal core coverage (C5), indicating which RTL signals participate in proving each assertion, allowing for a signal-level diagnostic of assertion strength.

Abstract

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 https://github.com/HierSVAAnon/HierSVACodeAndArtifacts. Dataset is available at https://huggingface.co/datasets/AnonymousHierSVA/HierSVA.

Sources

Related papers