Reproduce “AssertCoder: LLM-Based Assertion Generation via Multimodal Specification Extraction” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Enyuan Tian, Yiwei Ci, Qiusong Yang, Yufeng Li, Zhichao Lyu

AssertCoder, developed by researchers at the Chinese Academy of Sciences, presents a unified framework for automatically generating high-quality SystemVerilog Assertions (SVAs) from multimodal hardware specifications. The framework achieved an 85.6% mutation detection rate and 87.6% functional correctness on real-world RTL designs, demonstrating superior performance over existing LLM-based approaches by integrating multimodal semantic extraction and mutation-guided iterative refinement.

Key insights

  • A comprehensive multimodal information extraction strategy is critical for effectively bridging the semantic gap between informal specifications and formal SVA temporal logic.
  • Structured Chain-of-Thought prompting significantly enhances the LLM's reasoning capabilities for SVA synthesis, enabling accurate decomposition of semantics and correct temporal binding.
  • Mutation-guided iterative refinement, using feedback from undetected mutation points, is essential for generating a high-quality, comprehensive set of SVAs with high bug detection capabilities and low false positive rates.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.