arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.17613cs.CLcs.PL
收藏

VeriAgent:一种集成工具的多智能体系统,具有进化记忆,用于PPA感知的RTL代码生成

VeriAgent: A Tool-Integrated Multi-Agent System with Evolving Memory for PPA-Aware RTL Code Generation

Xiamen University(厦门大学);Tsinghua University(清华大学);Harbin Institute of Technology(哈尔滨工业大学)

Yaoxiang Wang, Qi Shi, ShangZhan Li, Qingguo Hu, Xinyu Yin, Bo Guo, Xu Han, Maosong Sun, Jinsong Su

AI总结:

本文提出一种集成EDA工具的多智能体框架,用于高质量Verilog代码生成,通过进化记忆机制实现功能正确性和PPA指标的联合优化。

摘要:

LLMs最近在自动RTL代码生成中展示了强大的能力,实现了高语法和功能正确性。然而,大多数方法侧重于功能正确性,而忽视了关键的物理设计目标,包括功率、性能和面积。在本工作中,我们提出了一种PPA感知、工具集成的多智能体框架,用于高质量的Verilog代码生成。我们的框架明确将EDA工具整合到由Programmer Agent、Correctness Agent和PPA Agent组成的闭环工作流中,实现了功能正确性和物理指标的联合优化。为支持持续改进而无需模型再训练,我们引入了进化记忆机制,将优化经验外化为结构化的内存节点。一个专门的内存管理器动态维护内存池,并允许系统根据历史执行轨迹完善策略。广泛的实验表明,我们的方法在实现强功能正确性的同时,显著提高了PPA指标。通过将工具驱动的反馈与结构化和可进化内存相结合,我们的框架将RTL生成从一次性推理转变为持续反馈驱动的优化过程,为在真实世界硬件设计流程中部署LLMs提供了可扩展的路径。

英文摘要:

LLMs have recently demonstrated strong capabilities in automatic RTL code generation, achieving high syntactic and functional correctness. However, most methods focus on functional correctness while overlooking critical physical design objectives, including Power, Performance, and Area. In this work, we propose a PPA-aware, tool-integrated multi-agent framework for high-quality verilog code generation. Our framework explicitly incorporates EDA tools into a closed-loop workflow composed of a \textit{Programmer Agent}, a \textit{Correctness Agent}, and a \textit{PPA Agent}, enabling joint optimization of functional correctness and physical metrics. To support continuous improvement without model retraining, we introduce an \textit{Evolved Memory Mechanism} that externalizes optimization experience into structured memory nodes. A dedicated memory manager dynamically maintains the memory pool and allows the system to refine strategies based on historical execution trajectories. Extensive experiments demonstrate that our approach achieves strong functional correctness while delivering significant improvements in PPA metrics. By integrating tool-driven feedback with structured and evolvable memory, our framework transforms RTL generation from one-shot reasoning into a continual, feedback-driven optimization process, providing a scalable pathway for deploying LLMs in real-world hardware design flows.

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

↑