Answers are grounded in this paper and cite their sources.
Assertion generation for Formal Verification (FV) needs an in-depth understanding of assertion language constructs, design fundamentals and RTL implementation techniques. Assertions are derived from a design’s natural language (NL) specification, but this is hindered by (i) NL ambiguity, leading to multiple interpretations, and (ii) the need to validate translations, as errors may occur. To address these issues, we propose LISA, an interactive framework leveraging large language models (LLMs), a formal verification tool, and human guidance. It systematically translates an NL specification into SystemVerilog Assertions (SVA) that accurately capture the intended behavior. LISA begins by breaking down complex NL descriptions into a structured verification plan using Chain-ofThought (CoT). It then generates SVAs for each item in the verification plan, formally verifies them using an FV tool, and analyzes statement coverage. For coverage gaps, LISA refines the assertions in an iterative feedback loop to enhance quality and correctness with the help of Retrieval Augmented Generation (RAG). We conduct a comprehensive LLM-assisted NL to SVA generation case study, producing syntactically correct SVAs with high statement coverage for the OpenTitan IPs, achieving 100% syntactic correctness with zero or one-shot prompting.
No takes yet. Share an insight, caveat, or question.
Paul et al. (2025) studied this question.