arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.19903cs.ARcs.AI
收藏

STELLAR: 基于结构的LLM断言检索与生成用于形式验证

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

Department of Electrical \& Computer Engineering, University of Delaware, Newark, DE, US

Saeid Rajabi, Chengmo Yang, Satwik Patnaik

AI总结:

STELLAR通过结构相似性引导LLM生成高质量SystemVerilog断言,提升形式验证的语法正确性、风格一致性及功能正确性。

摘要:

形式验证(FV)依赖高质量的SystemVerilog断言(SVAs),但手动编写过程缓慢且易出错。现有基于LLM的方法要么从头生成断言,要么忽略硬件设计中的结构模式和专家编写的断言。本文提出STELLAR,首个通过结构相似性引导LLM生成SVAs的框架。STELLAR将RTL块表示为AST结构指纹,从知识库中检索结构相关的(RTL,SVA)对,并将其整合到结构引导的提示中。实验表明,STELLAR在语法正确性、风格一致性和功能正确性方面均优于现有方法,凸显了结构感知检索在工业FV中的潜力。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑