HierSVA: A Data Synthesis Pipeline, Dataset, and Benchmark for LLM-Generated SystemVerilog Assertions on Hierarchical RTL
Abstract
We present HierSVA, an integrated suite that combines a data synthesis pipeline, a dataset, and a benchmark for LLM-generated SystemVerilog Assertions (SVA) on hierarchical RTL. HierSVA-SP pairs an RTL preprocessing toolchain with an LLM-in-the-loop formal verification flow to produce reference SVA on hierarchical RTL. Applying it to BaseJump STL yields HierSVA-DS, a dataset of 342 modules with hierarchy metadata, 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, averaged across models, the module-level compile rate is 66.6\%, and 82.1\% of generated assertions in evaluable runs prove non-vacuously, but the 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, generated assertions 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 provability, but strength metrics do not improve consistently and oscillate across iterations. We release dataset at https://huggingface.co/datasets/AnonymousHierSVA/HierSVA, and also codes and artifacts at https://github.com/HierSVAAnon/HierSVACodeAndArtifacts.