arXiv:2601.18067cs.AIcs.NE2026-01被引 9

用进化算法提升大模型生成硬件代码的正确率与优化能力

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

  • 结合MCTS与IGR策略,分别优化代码正确性与PPA性能
  • 在行业级基准IC-RTL上实现最高66%的功耗性能面积优化
  • 首个面向复杂硬件优化的自动化框架,适合芯片设计开发者

Verilog设计周期高度依赖人力且需深厚领域知识。尽管大语言模型(LLMs)为自动化提供可能,但其训练数据有限及固有的顺序推理难以捕捉硬件系统的严格形式逻辑与并发特性。为此,我们提出EvolveVE,首个在芯片设计任务中分析多种进化策略的框架,发现蒙特卡洛树搜索(MCTS)在最大化功能正确性方面表现优异,而基于想法引导的精炼(IGR)在优化方面更优。我们进一步引入结构化测试平台生成(STG)以加速进化过程。针对复杂优化基准缺失问题,我们构建了面向工业级挑战的IC-RTL基准,源自国家集成电路大赛的真实题目。评估表明,EvolveVE达到VerilogEval v2的98.1%与RTLLM v2的92%得分。在工业级IC-RTL套件上,该框架超越参赛者参考实现,在哈夫曼编码中功耗性能面积(PPA)乘积降低达66%,所有问题几何均值降低17%。源码已公开于https://github.com/weiber2002/ICRTL。

原文摘要 · Abstract (English)

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.

芯片设计大模型进化算法硬件优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。