Automatic High-quality Verilog Assertion Generation through Subtask-Focused Fine-Tuned LLMs and Iterative Prompting
Not on the map. Why?
Abstract (arXiv)
Formal Property Verification (FPV), using SystemVerilog Assertions (SVA), is crucial for ensuring the completeness of design with respect to the specification. However, writing SVA is a laborious task and has a steep learning curve. In this work, we present a large language model (LLM) -based flow to automatically generate high-quality SVA from the design specification documents, named ToolName. We introduce a novel sub-task-focused fine-tuning approach that effectively addresses functionally incorrect assertions produced by baseline LLMs, leading to a remarkable 7.3-fold increase in the number of functionally correct assertions. Recognizing the prevalence of syntax and semantic errors, we also developed an iterative refinement method that enhances the LLM's initial outputs by systematically re-prompting it to correct identified issues. This process is further strengthened by a custom compiler that generates meaningful error messages, guiding the LLM towards improved accuracy. The experiments demonstrate a 26% increase in the number of assertions free from syntax errors using this approach, showcasing its potential to streamline the FPV process.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 12 of its 28 references that are in the map. First posted on arXiv 23 Nov 2024.
Builds on
12 of 28 references.
References · 12
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,202
- 2023VeriGen: A Large Language Model for Verilog Code Generationcited by 200
- 2023Software Testing with Large Language Models: Survey, Landscape, and Visioncited by 166
- 2019oLMpics -- On what Language Model Pre-training Capturescited by 161
- 2019Multi-hop Reading Comprehension through Question Decomposition and Rescoringcited by 119
- 2022Less Training, More Repairing Please: Revisiting Automated Program Repair via Zero-shot Learningcited by 76
- 2021A Syntax-Guided Edit Decoder for Neural Program Repaircited by 57
- 2020DAVE: Deriving Automatically Verilog from Englishcited by 48
- 2023(Security) Assertions by Large Language Modelscited by 32
- 2023Using LLMs to Facilitate Formal Verification of RTLcited by 18
- 2023ITER: Iterative Neural Repair for Multi-Location Patchescited by 16
- 2021AutoSVA: Democratizing Formal Verification of RTL Module Interactionscited by 12
Built on by
Citing papers per year: 2025: 1; 2026: 3.
4 papers.
- 2025Hybrid-NL2SVA: Integrating RAG and Finetuning for LLM-based NL2SVAcited by 6
- 2026ChatSVA: Bridging SVA Generation for Hardware Verification via Task-Specific LLMscited by 6
- 2026VeriPilot: An LLM-Powered Verilog Debugging Frameworkcited by 1
- 2026A Survey on LLM-Integrated Hardware Design Verificationcited by 0
- 2026A Survey on LLM-Integrated Hardware Design Verification6 Oct 2026
- 2026VeriPilot: An LLM-Powered Verilog Debugging Framework22 Jun 2026
- 2026ChatSVA: Bridging SVA Generation for Hardware Verification via Task-Specific LLMs3 Apr 2026
- 2025Hybrid-NL2SVA: Integrating RAG and Finetuning for LLM-based NL2SVA12 Jun 2025