arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.18067cs.AIcs.NEcs.PL
收藏

EvolVE: 基于LLM的Verilog生成与优化的进化搜索

EvolVE: Evolutionary Search for LLM-based Verilog Generation and Optimization

Department of Electrical Engineering(电气工程系);National Taiwan University(国立台湾大学);Department of Computer Science and Information Engineering(计算机科学与信息工程系);Institute of Information Science(信息科学研究所)

Wei-Po Hsin, Ren-Hao Deng, Yao-Ting Hsieh, En-Ming Huang, Shih-Hao Hung

AI总结:

EvolVE通过进化搜索方法提升LLM在Verilog生成与优化中的性能,达到98.1%的准确率并优化行业级集成电路设计。

摘要:

Verilog的设计周期本质上是劳动密集型的,需要大量的领域专业知识。尽管大型语言模型(LLMs)提供了一条实现自动化的有希望的途径,但它们有限的训练数据和内在的顺序推理无法捕捉硬件系统中严格的形式逻辑和并发性。为克服这些障碍,我们提出了EvolVE,这是第一个分析多种进化策略在芯片设计任务上的框架,揭示了蒙特卡洛树搜索(MCTS)在最大化功能正确性方面的优势,而想法引导的细化(IGR)在优化方面表现更优。我们进一步利用结构化测试平台生成(STG)来加速进化过程。为了解决缺乏复杂优化基准的问题,我们引入了IC-RTL,针对行业规模的问题,源自全国集成电路竞赛。评估证实EvolVE是新的最先进方法,其在VerilogEval v2上达到98.1%,在RTLLM v2上达到92%。此外,在行业规模的IC-RTL套件上,我们的框架超过了由竞赛参与者编写参考实现,将Huffman编码的功率、性能、面积(PPA)产品减少了高达66%,在所有问题中几何平均值减少了17%。IC-RTL基准的源代码可在https://github.com/weiber2002/ICRTL上获得。

英文摘要:

Verilog's design cycle is inherently labor-intensive and necessitates extensive domain expertise. Although Large Language Models (LLMs) offer a promising pathway toward automation, their limited training data and intrinsic sequential reasoning fail to capture the strict formal logic and concurrency inherent in hardware systems. To overcome these barriers, we present EvolVE, the first framework to analyze multiple evolution strategies on chip design tasks, revealing that Monte Carlo Tree Search (MCTS) excels at maximizing functional correctness, while Idea-Guided Refinement (IGR) proves superior for optimization. We further leverage Structured Testbench Generation (STG) to accelerate the evolutionary process. To address the lack of complex optimization benchmarks, we introduce IC-RTL, targeting industry-scale problems derived from the National Integrated Circuit Contest. Evaluations establish EvolVE as the new state-of-the-art, achieving 98.1% on VerilogEval v2 and 92% on RTLLM v2. Furthermore, on the industry-scale IC-RTL suite, our framework surpasses reference implementations authored by contest participants, reducing the Power, Performance, Area (PPA) product by up to 66% in Huffman Coding and 17% in the geometric mean across all problems. The source code of the IC-RTL benchmark is available at https://github.com/weiber2002/ICRTL.

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

↑