arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.15899cs.ARcs.LG
收藏

LLM-VeriPPA:利用大语言模型进行感知功耗、性能与面积优化的 Verilog 代码生成

LLM-VeriPPA: Power, Performance, and Area Optimization aware Verilog Code Generation with Large Language Models

Arizona State University(亚利桑那州立大学)

Kiran Thorat, Jiahui Zhao, Yaotian Liu, Amit Hasan, Hongwu Peng, Xi Xie, Bin Lei, Caiwen Ding

AI总结:

本文提出 VeriPPA 两阶段框架,用 LLM 生成并优化 Verilog 代码,在 RTLLM 和 VerilogEval 上显著提升语法、功能正确性并支持 PPA 优化。

摘要:

大语言模型(LLM)凭借其根据人类指令生成高质量内容的能力,正在各个领域日益受到重视。本文深入探讨利用 LLM 开展芯片设计的领域,特别是功耗-性能-面积(PPA)优化以及为电路设计生成准确的 Verilog 代码。我们提出了一个名为 VeriPPA 的新颖框架,旨在利用 LLM 优化 PPA 并生成 Verilog 代码。我们的方法包含两个阶段:第一阶段专注于提高所生成 Verilog 代码的功能正确性和语法正确性;第二阶段专注于优化 Verilog 代码,以满足电路设计的 PPA 约束,而这是芯片设计的关键要素。在 RTLLM 数据集上,我们的框架在代码生成方面实现了 81.37% 的语法正确率和 62.06% 的功能正确率,优于当前最先进(SOTA)方法。在 VerilogEval 数据集上,我们的框架实现了 99.56% 的语法正确率和 43.79% 的功能正确率,同样超过了 SOTA;后者的语法正确率为 92.11%,功能正确率为 33.57%。此外,我们的框架能够优化设计的 PPA。这些结果凸显了 LLM 在处理复杂技术领域方面的潜力,并表明芯片设计流程自动化取得了令人鼓舞的进展。

英文摘要:

Large Language Models (LLMs) are gaining prominence in various fields, thanks to their ability to generate high- quality content from human instructions. This paper delves into the field of chip design using LLMs, specifically in Power- Performance-Area (PPA) optimization and the generation of accurate Verilog codes for circuit designs. We introduce a novel framework VeriPPA designed to optimize PPA and generate Verilog code using LLMs. Our method includes a two-stage process where the first stage focuses on improving the functional and syntactic correctness of the generated Verilog codes, while the second stage focuses on optimizing the Verilog codes to meet PPA constraints of circuit designs, a crucial element of chip design. Our framework achieves an 81.37% success rate in syntactic correctness and 62.06% in functional correctness for code genera- tion, outperforming current state-of-the-art (SOTA) methods. On the RTLLM dataset. On the VerilogEval dataset, our framework achieves 99.56% syntactic correctness and 43.79% functional correctness, also surpassing SOTA, which stands at 92.11% for syntactic correctness and 33.57% for functional correctness. Furthermore, Our framework able to optimize the PPA of the designs. These results highlight the potential of LLMs in handling complex technical areas and indicate an encouraging development in the automation of chip design processes.

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

↑