arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2503.04057cs.AR
收藏

从对错中获取洞察:一个用于解决RTL设计中断言失败的大型语言模型

Insights from Rights and Wrongs: A Large Language Model for Solving Assertion Failures in RTL Design

Jie Zhou, Youshu Ji, Ning Wang, Yuchen Hu, Xinyao Jiao, Bingkun Yao, Xinwei Fang, Shuai Zhao, Nan Guan, Zhe Jiang

AI总结:

本文提出开源大型语言模型AssertSolver,通过利用合成训练数据和从错误响应中学习,解决RTL设计中的断言失败问题,实现88.54%的缺陷修复率,显著优于OpenAI o1-preview。

摘要:

SystemVerilog Assertions (SVAs)对于验证寄存器传输级 (RTL) 设计至关重要,因为它们可以嵌入到关键功能路径中以检测非预期行为。在仿真过程中,当设计行为偏离预期时就会发生断言失败。解决这些失败,即识别并修复导致偏离的问题,需要分析多个信号之间复杂的逻辑与时序关系。这一过程严重依赖人类专业知识,目前尚无自动工具可提供辅助。在此,我们提出了AssertSolver,一个专为解决断言失败而设计的开源大型语言模型 (LLM)。通过利用合成训练数据并从挑战性案例的错误响应中学习,AssertSolver在我们的测试平台上实现了88.54%的缺陷修复pass@1指标,显著优于OpenAI的o1-preview,最高达11.97%。我们公开发布模型与测试平台以鼓励进一步研究:https://github.com/SEU-ACAL/reproduce-AssertSolver-DAC-25。

英文摘要:

SystemVerilog Assertions (SVAs) are essential for verifying Register Transfer Level (RTL) designs, as they can be embedded into key functional paths to detect unintended behaviours. During simulation, assertion failures occur when the design's behaviour deviates from expectations. Solving these failures, i.e., identifying and fixing the issues causing the deviation, requires analysing complex logical and timing relationships between multiple signals. This process heavily relies on human expertise, and there is currently no automatic tool available to assist with it. Here, we present AssertSolver, an open-source Large Language Model (LLM) specifically designed for solving assertion failures. By leveraging synthetic training data and learning from error responses to challenging cases, AssertSolver achieves a bug-fixing pass@1 metric of 88.54% on our testbench, significantly outperforming OpenAI's o1-preview by up to 11.97%. We release our model and testbench for public access to encourage further research: https://github.com/SEU-ACAL/reproduce-AssertSolver-DAC-25.

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

↑