LASA: Enhancing SoC Security Verification with LLM-Aided Property Generation

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Ankireddy, Dinesh Reddy, Paria, Sudipta, Dasgupta, Aritra, Ray, Sandip, Bhunia, Swarup
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912444020948992
author Ankireddy, Dinesh Reddy
Paria, Sudipta
Dasgupta, Aritra
Ray, Sandip
Bhunia, Swarup
author_facet Ankireddy, Dinesh Reddy
Paria, Sudipta
Dasgupta, Aritra
Ray, Sandip
Bhunia, Swarup
contents Ensuring the security of modern System-on-Chip (SoC) designs poses significant challenges due to increasing complexity and distributed assets across the intellectual property (IP) blocks. Formal property verification (FPV) provides the capability to model and validate design behaviors through security properties with model checkers; however, current practices require significant manual efforts to create such properties, making them time-consuming, costly, and error-prone. The emergence of Large Language Models (LLMs) has showcased remarkable proficiency across diverse domains, including HDL code generation and verification tasks. Current LLM-based techniques often produce vacuous assertions and lack efficient prompt generation, comprehensive verification, and bug detection. This paper presents LASA, a novel framework that leverages LLMs and retrieval-augmented generation (RAG) to produce non-vacuous security properties and SystemVerilog Assertions (SVA) from design specifications and related documentation for bus-based SoC designs. LASA integrates commercial EDA tool for FPV to generate coverage metrics and iteratively refines prompts through a feedback loop to enhance coverage. The effectiveness of LASA is validated through various open-source SoC designs, demonstrating high coverage values with an average of ~88\%, denoting comprehensive verification through efficient generation of security properties and SVAs. LASA also demonstrates bug detection capabilities, identifying five unique bugs in the buggy OpenTitan SoC from Hack@DAC'24 competition.
format Preprint
id arxiv_https___arxiv_org_abs_2506_17865
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle LASA: Enhancing SoC Security Verification with LLM-Aided Property Generation
Ankireddy, Dinesh Reddy
Paria, Sudipta
Dasgupta, Aritra
Ray, Sandip
Bhunia, Swarup
Cryptography and Security
Emerging Technologies
Ensuring the security of modern System-on-Chip (SoC) designs poses significant challenges due to increasing complexity and distributed assets across the intellectual property (IP) blocks. Formal property verification (FPV) provides the capability to model and validate design behaviors through security properties with model checkers; however, current practices require significant manual efforts to create such properties, making them time-consuming, costly, and error-prone. The emergence of Large Language Models (LLMs) has showcased remarkable proficiency across diverse domains, including HDL code generation and verification tasks. Current LLM-based techniques often produce vacuous assertions and lack efficient prompt generation, comprehensive verification, and bug detection. This paper presents LASA, a novel framework that leverages LLMs and retrieval-augmented generation (RAG) to produce non-vacuous security properties and SystemVerilog Assertions (SVA) from design specifications and related documentation for bus-based SoC designs. LASA integrates commercial EDA tool for FPV to generate coverage metrics and iteratively refines prompts through a feedback loop to enhance coverage. The effectiveness of LASA is validated through various open-source SoC designs, demonstrating high coverage values with an average of ~88\%, denoting comprehensive verification through efficient generation of security properties and SVAs. LASA also demonstrates bug detection capabilities, identifying five unique bugs in the buggy OpenTitan SoC from Hack@DAC'24 competition.
title LASA: Enhancing SoC Security Verification with LLM-Aided Property Generation
topic Cryptography and Security
Emerging Technologies
url https://arxiv.org/abs/2506.17865