RTLScout:面向高效数字电路的联合智能体代码与综合优化
RTLScout: Joint Agentic Code and Synthesis Optimization for Efficient Digital Circuits
AI总结:
提出RTLScout系统,结合LLM驱动智能体设计与电路级综合优化及算术架构扫描,通过多轮精英池框架迭代优化RTL设计,在浮点乘法器上实现面积减少35%、延迟减少45%。
摘要:
我们提出RTLScout,一个自主系统,将LLM驱动的智能体设计与电路级综合优化及算术架构扫描相结合。LLM智能体通过工具调用迭代编写、评估和改进RTL设计,并依据来自Yosys和OpenROAD的定量PPA(功耗、性能、面积)反馈进行指导。我们引入了一个多轮精英池框架,其中最佳设计和经验教训被用于后续智能体运行。该流程包括四个互补阶段:智能体代码优化、智能体门级重写、算术架构扫描以及可选的强努力门级优化。在一个支持次正规数的IEEE-754兼容16位浮点乘法器上,相对于在ASAP7工艺下综合的初始设计,RTLScout将面积减少35%,延迟减少45%。每个阶段都提供了独特的改进,而强努力门级优化作为对已优化设计的进一步改进最为有效,而非替代早期阶段。最终的帕累托前沿在相同工艺上优于商业工具参考设计。
英文摘要:
We present RTLScout, an autonomous system that combines LLM-driven agentic design with logic synthesis optimization and arithmetic architecture selection. An LLM agent iteratively writes, evaluates, and refines RTL designs, guided by delay and area feedback from Yosys and OpenROAD. The agent writes Spire, a Python-embedded HDL we introduce, in which optimization intent is expressed locally in the source, selecting logic-synthesis or arithmetic-architecture optimizations per subcircuit. The four-phase pipeline relies entirely on open-source EDA tools and an open-weights LLM. On an IEEE-754-compliant 16-bit floating-point multiplier with subnormal support, RTLScout reduces area by 34% and delay by 38% relative to a starting design and outperforms a commercial-tool reference design on the ASAP7 technology. We show that agentic RTL rewriting and synthesis optimization are complementary, with neither alone reaching the result of the full pipeline. On 14 RTLRewriter benchmarks, the Spire-based pipeline achieves 16.3% lower mean per-case Yosys cell count than an otherwise identical Verilog pipeline.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。