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

UVLLM:一种使用大语言模型的自动化通用RTL验证框架

UVLLM: An Automated Universal RTL Verification Framework using LLMs

Yuchen Hu, Junhao Ye, Ke Xu, Jialin Sun, Shiyue Zhang, Xinyao Jiao, Dingrong Pan, Jie Zhou, Ning Wang, Weiwei Shan, Xinwei Fang, Xi Wang, Nan Guan, Zhe Jiang

AI总结:

本文提出UVLLM框架,将大语言模型与UVM结合以提升RTL代码验证和修复的自动化水平,在基准测试中实现86.99%的语法错误修复率和71.92%的功能错误修复率,并探讨了LLM在硬件验证中的潜力与局限。

摘要:

验证嵌入式系统中的硬件设计至关重要,但通常劳动密集且耗时。尽管现有解决方案提高了自动化程度,但它们往往依赖于不切实际的假设。为应对这些挑战,我们提出了一个新颖的框架UVLLM,它将大语言模型(LLMs)与通用验证方法学(UVM)相结合,以放宽这些假设。UVLLM显著增强了对易出错的寄存器传输级(RTL)代码进行测试和修复的自动化程度,这是验证开发中的一个关键环节。与现有方法不同,UVLLM确保所有错误在验证过程中都被触发,在我们提出的基准上实现了86.99%的语法错误修复率和71.92%的功能错误修复率。这些结果表明验证效率得到了显著提升。此外,我们的研究突出了LLM应用当前的局限性,特别是它们对大量训练数据的依赖。我们强调了LLM在硬件设计验证中的变革潜力,并为AI驱动的硬件设计方法学的未来研究提出了有前景的方向。数据集和代码仓库:https://anonymous.4open.science/r/UVLLM/。

英文摘要:

Verifying hardware designs in embedded systems is crucial but often labor-intensive and time-consuming. While existing solutions have improved automation, they frequently rely on unrealistic assumptions. To address these challenges, we introduce a novel framework, UVLLM, which combines Large Language Models (LLMs) with the Universal Verification Methodology (UVM) to relax these assumptions. UVLLM significantly enhances the automation of testing and repairing error-prone Register Transfer Level (RTL) codes, a critical aspect of verification development. Unlike existing methods, UVLLM ensures that all errors are triggered during verification, achieving a syntax error fix rate of 86.99% and a functional error fix rate of 71.92% on our proposed benchmark. These results demonstrate a substantial improvement in verification efficiency. Additionally, our study highlights the current limitations of LLM applications, particularly their reliance on extensive training data. We emphasize the transformative potential of LLMs in hardware design verification and suggest promising directions for future research in AI-driven hardware design methodologies. The Repo. of dataset and code: https://anonymous.4open.science/r/UVLLM/.

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

↑