English

AssertLLM: Generating Hardware Verification Assertions from Design Specifications via Multi-LLMs

Hardware Architecture 2024-11-25 v1

Abstract

Assertion-based verification (ABV) is a critical method to ensure logic designs comply with their architectural specifications. ABV requires assertions, which are generally converted from specifications through human interpretation by verification engineers. Existing methods for generating assertions from specification documents are limited to sentences extracted by engineers, discouraging their practical applications. In this work, we present AssertLLM, an automatic assertion generation framework that processes complete specification documents. AssertLLM can generate assertions from both natural language and waveform diagrams in specification files. It first converts unstructured specification sentences and waveforms into structured descriptions using natural language templates. Then, a customized Large Language Model (LLM) generates the final assertions based on these descriptions. Our evaluation demonstrates that AssertLLM can generate more accurate and higher-quality assertions compared to GPT-4o and GPT-3.5.

Keywords

Cite

@article{arxiv.2411.14436,
  title  = {AssertLLM: Generating Hardware Verification Assertions from Design Specifications via Multi-LLMs},
  author = {Zhiyuan Yan and Wenji Fang and Mengming Li and Min Li and Shang Liu and Zhiyao Xie and Hongce Zhang},
  journal= {arXiv preprint arXiv:2411.14436},
  year   = {2024}
}

Comments

Accepted by ASPDAC'25. arXiv admin note: substantial text overlap with arXiv:2402.00386

R2 v1 2026-06-28T20:08:14.661Z