AssertCoder: LLM-Based Assertion Generation via Multimodal Specification Extraction
Enyuan Tian, Yiwei Ci, Qiusong Yang, Yufeng Li, Zhichao Lyu

TL;DR
AssertCoder is an innovative framework that automatically generates high-quality assertions from multimodal hardware specifications, significantly improving verification efficiency and accuracy in hardware design.
Contribution
It introduces a unified multimodal specification extraction and assertion generation framework with semantic analysis and mutation-based evaluation, advancing automation in hardware verification.
Findings
Achieves 8.4% higher functional correctness over existing methods.
Attains 5.8% better mutation detection accuracy.
Demonstrates effectiveness across three real-world RTL designs.
Abstract
Assertion-Based Verification (ABV) is critical for ensuring functional correctness in modern hardware systems. However, manually writing high-quality SVAs remains labor-intensive and error-prone. To bridge this gap, we propose AssertCoder, a novel unified framework that automatically generates high-quality SVAs directly from multimodal hardware design specifications. AssertCoder employs a modality-sensitive preprocessing to parse heterogeneous specification formats (text, tables, diagrams, and formulas), followed by a set of dedicated semantic analyzers that extract structured representations aligned with signal-level semantics. These representations are utilized to drive assertion synthesis via multi-step chain-of-thought (CoT) prompting. The framework incorporates a mutation-based evaluation approach to assess assertion quality via model checking and further refine the generated…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Software Testing and Debugging Techniques · Fuzzy Logic and Control Systems
