English

STELLAR: Structure-guided LLM Assertion Retrieval and Generation for Formal Verification

Hardware Architecture 2026-03-20 v3 Artificial Intelligence

Abstract

Formal Verification (FV) relies on high-quality SystemVerilog Assertions (SVAs), but the manual writing process is slow and error-prone. Existing LLM-based approaches either generate assertions from scratch or ignore structural patterns in hardware designs and expert-crafted assertions. This paper presents STELLAR, the first framework that guides LLM-based SVA generation with structural similarity. STELLAR represents RTL blocks as AST structural fingerprints, retrieves structurally relevant (RTL, SVA) pairs from a knowledge base, and integrates them into structure-guided prompts. Experiments show that STELLAR achieves superior syntax correctness, stylistic alignment, and functional correctness, highlighting structure-aware retrieval as a promising direction for industrial FV.

Keywords

Cite

@article{arxiv.2601.19903,
  title  = {STELLAR: Structure-guided LLM Assertion Retrieval and Generation for Formal Verification},
  author = {Saeid Rajabi and Chengmo Yang and Satwik Patnaik},
  journal= {arXiv preprint arXiv:2601.19903},
  year   = {2026}
}

Comments

Accepted at the 63rd Design Automation Conference (DAC 2026), Long Beach, CA, USA (July 26-29, 2026) 7 pages, 6 figures

R2 v1 2026-07-01T09:22:44.356Z