DeepAssert: An LLM-Aided Verification Framework with Fine-Grained Assertion Generation for Modules with Extracted Module Specifications
By: Yonghao Wang , Jiaxin Zhou , Hongqin Lyu and more
Potential Business Impact:
Finds hidden bugs in computer chips.
Assertion-Based Verification (ABV) is a crucial method for ensuring that logic designs conform to their architectural specifications. However, existing assertion generation methods primarily rely on information either from the design specification, or register-transfer level (RTL) code. The former methods are typically limited to generating assertions for the top-level design. As the top-level design is composed of different modules without module-level specifications, they are unable to generate deep assertions that target the internal functionality of modules. The latter methods often rely on a golden RTL model, which is difficult to obtain. To address the above limitations, this paper presents a novel large language model (LLM)-aided verification framework named DeepAssert. DeepAssert is capable of analyzing the invocation relationships between modules and extracting independent specifications for each module with its I/O port information. These extracted specifications are subsequently used to guide LLMs to automatically generate fine-grained deep assertions for these modules. Our evaluation demonstrates that DeepAssert significantly outperforms existing methods such as AssertLLM and Spec2Assertion in generating high-quality deep assertions for modules. Furthermore, when integrated with these methods, DeepAssert can enhance the overall quality of the assertions generated. This allows for a more comprehensive and effective verification process.
Similar Papers
AssertMiner: Module-Level Spec Generation and Assertion Mining using Static Analysis Guided LLMs
Hardware Architecture
Finds hidden bugs in computer chips.
AssertFix: Empowering Automated Assertion Fix via Large Language Models
Hardware Architecture
Fixes computer code mistakes automatically.
AssertGen: Enhancement of LLM-aided Assertion Generation through Cross-Layer Signal Bridging
Hardware Architecture
Helps computers check if designs work right.