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

AssertLLM:通过多LLM从设计规范生成硬件验证断言

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

Zhiyuan Yan, Wenji Fang, Mengming Li, Min Li, Shang Liu, Zhiyao Xie, Hongce Zhang

AI总结:

AssertLLM框架通过将完整规范中的自然语言和波形图转为结构化描述,并利用定制LLM自动生成硬件验证断言,在准确性和质量上优于GPT-4o和GPT-3.5。

摘要:

基于断言的验证(ABV)是确保逻辑设计符合其架构规范的关键方法。ABV需要断言,这些断言通常由验证工程师通过人工解读从规范转换而来。现有从规范文档生成断言的方法仅限于工程师提取的句子,这阻碍了其实际应用。在本工作中,我们提出了AssertLLM,一个处理完整规范文档的自动断言生成框架。AssertLLM可以从规范文件中的自然语言和波形图生成断言。它首先使用自然语言模板将非结构化的规范句子和波形转换为结构化描述。然后,一个定制的大语言模型(LLM)基于这些描述生成最终断言。我们的评估表明,与GPT-4o和GPT-3.5相比,AssertLLM能够生成更准确、更高质量的断言。

英文摘要:

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.

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

↑