arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.06607cs.AR
收藏

CoverAssert: 通过语法-语义表示驱动的功能覆盖率迭代LLM断言生成

CoverAssert: Iterative LLM Assertion Generation Driven by Functional Coverage via Syntax-Semantic Representations

State Key Lab of Processors, Institute of Computing Technology, CAS(中国科学院计算技术研究所处理器重点实验室);University of Chinese Academy of Sciences(中国科学院大学);Beijing Normal University(北京师范大学);Nanjing University(南京大学);University of Newcastle(纽卡斯尔大学)

Yonghao Wang, Yang Yin, Hongqin Lyu, Jiaxin Zhou, Zhiteng Chao, Mingyu Shi, Wenchao Ding, Yunlin Du, Jing Ye, Tiancheng Wang, Huawei Li

AI总结:

CoverAssert通过语法-语义表示驱动LLM生成断言,利用功能覆盖率反馈迭代优化,提升分支、语句和切换覆盖率。

摘要:

LLMs可以基于自然语言规范生成SystemVerilog断言(SVAs),但单次输出常因缺乏IC设计理解而缺乏功能覆盖率。我们提出CoverAssert,一个迭代框架,通过聚类断言的语义和AST结构特征,将其映射到规范,并利用功能覆盖率反馈指导LLM优先处理未覆盖点。在四个开源设计上的实验表明,将CoverAssert与AssertLLM和Spec2Assertion结合,使分支覆盖率平均提高9.57%,语句覆盖率提高9.64%,切换覆盖率提高15.69%。

英文摘要:

LLMs can generate SystemVerilog assertions (SVAs) from natural language specs, but single-pass outputs often lack functional coverage due to limited IC design understanding. We propose CoverAssert, an iterative framework that clusters semantic and AST-based structural features of assertions, maps them to specifications, and uses functional coverage feedback to guide LLMs in prioritizing uncovered points. Experiments on four open-source designs show that integrating CoverAssert with AssertLLM and Spec2Assertion improves average improvements of 9.57 % in branch coverage, 9.64 % in statement coverage, and 15.69 % in toggle coverage.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑