Enhanced VLSI Assertion Generation: Conforming to High-Level Specifications and Reducing LLM Hallucinations with RAG
Konferenz: DVCon Europe 2024 - Design and Verification Conference and Exhibition Europe
15.10.2024-16.10.2024 in Munich, Germany
doi:10.30420/566438009
Tagungsband: DVCon Europe 2024
Seiten: 6Sprache: EnglischTyp: PDF
Autoren:
Quddus, Hafiz Abdul; Hossain, Md Sanowar; Cevahir, Ziya; Jesser, Alexander; Amin, Md Nur
Inhalt:
Assertion-based verification (ABV) is widely used in VLSI design. However, manual assertion writing is timeconsuming and may not adhere to high-level specifications. Generative AI techniques like LLMs automate this but can introduce hallucination. We propose an automatic assertion generation framework using Retrieval-Augmented Generation (RAG) and LLMs. It generates assertions from designer-tailored specifications, ensuring conformance with high-level specifications and reducing hallucinations. We applied this to an AXI4-Lite protocol case study, verifying SystemVerilog Assertions (SVAs) against golden RTL using Bounded Model Checking (BMC). Results showed improved accuracy, conformance, and integration with ABV.