AssertGen: Enhancement of LLM-aided Assertion Generation through Cross-Layer Signal Bridging
By: Hongqin Lyu , Yonghao Wang , Yunlin Du and more
Potential Business Impact:
Helps computers check if designs work right.
Assertion-based verification (ABV) serves as a crucial technique for ensuring that register-transfer level (RTL) designs adhere to their specifications. While Large Language Model (LLM) aided assertion generation approaches have recently achieved remarkable progress, existing methods are still unable to effectively identify the relationship between design specifications and RTL designs, which leads to the insufficiency of the generated assertions. To address this issue, we propose AssertGen, an assertion generation framework that automatically generates SystemVerilog assertions (SVA). AssertGen first extracts verification objectives from specifications using a chain-of-thought (CoT) reasoning strategy, then bridges corresponding signals between these objectives and the RTL code to construct a cross-layer signal chain, and finally generates SVAs based on the LLM. Experimental results demonstrate that AssertGen outperforms the existing state-of-the-art methods across several key metrics, such as pass rate of formal property verification (FPV), cone of influence (COI), proof core and mutation testing coverage.
Similar Papers
AssertFix: Empowering Automated Assertion Fix via Large Language Models
Hardware Architecture
Fixes computer code mistakes automatically.
AssertCoder: LLM-Based Assertion Generation via Multimodal Specification Extraction
Software Engineering
Writes computer code to check hardware designs.
DeepAssert: An LLM-Aided Verification Framework with Fine-Grained Assertion Generation for Modules with Extracted Module Specifications
Hardware Architecture
Finds hidden bugs in computer chips.