面向有限状态机的LLM辅助测试台生成与缺陷检测
LLM-Aided Testbench Generation and Bug Detection for Finite-State Machines
AI总结:
本研究利用GPT3.5和GPT4,通过整合EDA工具反馈迭代优化测试台生成,以提升RTL设计的测试覆盖率并检测实现缺陷。
摘要:
本研究探讨了针对芯片测试领域定制大型语言模型(LLMs)的潜力,具体涉及GPT3.5和GPT4。芯片设计的一个关键方面是功能测试,该测试依赖于测试台来评估寄存器传输级(RTL)设计的功能和覆盖率。我们旨在通过将商业级电子设计自动化(EDA)工具的反馈纳入LLMs来增强测试台的生成。通过来自这些工具的迭代反馈,我们优化测试台以实现更高的测试覆盖率。我们的案例研究展示了令人鼓舞的结果,证明该方法能有效提升测试覆盖率。通过整合EDA工具反馈,生成的测试台在识别RTL设计中潜在问题方面变得更加准确。此外,我们将研究扩展至利用这一增强的测试覆盖率框架来检测RTL实现中的缺陷。
英文摘要:
This work investigates the potential of tailoring Large Language Models (LLMs), specifically GPT3.5 and GPT4, for the domain of chip testing. A key aspect of chip design is functional testing, which relies on testbenches to evaluate the functionality and coverage of Register-Transfer Level (RTL) designs. We aim to enhance testbench generation by incorporating feedback from commercial-grade Electronic Design Automation (EDA) tools into LLMs. Through iterative feedback from these tools, we refine the testbenches to achieve improved test coverage. Our case studies present promising results, demonstrating that this approach can effectively enhance test coverage. By integrating EDA tool feedback, the generated testbenches become more accurate in identifying potential issues in the RTL design. Furthermore, we extended our study to use this enhanced test coverage framework for detecting bugs in the RTL implementations
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。