arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.17461cs.ARcs.AIcs.LG
收藏

AUTOGATE:基于翻转感知的LLM驱动RTL重写的自动时钟门控

AUTOGATE: Automated Clock Gating via Toggling-Aware LLM-based RTL Rewriting

University of Maryland, College Park(马里兰大学学院公园分校);NVIDIA(英伟达)

Yiting Wang, Chenhui Deng, Chia-Tung Ho, Yanqing Zhang, Zhuo Feng, Cunxi Yu, Ang Li, Gang Qu, Brucek Khailany

AI总结:

提出AUTOGATE框架,通过ML-LLM协同设计将波形翻转迹线转化为紧凑表示,指导LLM进行RTL重写,实现层次化代码库中的时钟门控优化,平均降低动态功耗49.31%。

摘要:

细粒度时钟门控(FGCG)是降低动态功耗最有效的技术之一,但当前的FGCG优化流程仍主要依赖手动操作。近期基于LLM的RTL优化方法受限于两个关键缺陷:(1)无法处理跨越数百万周期的长波形迹线,(2)难以在保持正确性的同时将优化扩展到大型层次化代码库。在本工作中,我们提出了AUTOGATE,这是首个面向工业级RTL功耗优化的智能体框架,支持在大型层次化代码库中进行工作负载感知的时钟门控优化。AUTOGATE引入了机器学习(ML)与LLM的协同设计,桥接了波形级分析与RTL重写。具体而言,我们设计了一种基于ML的聚类算法,将原始翻转迹线提炼为紧凑的结构化表示,以指导基于LLM的RTL重写。这使得无需LLM直接处理原始波形数据即可准确识别和应用时钟门控机会。为增强可扩展性,AUTOGATE采用层次化多智能体架构,将大型设计分解为可独立优化的模块,从而在深层设计层次中实现协调优化。我们在从小型RTL设计到大型工业级代码库的多样化设计集上评估了AUTOGATE。实验结果表明,与基线相比,AUTOGATE持续降低动态功耗。在小型设计套件上,AUTOGATE平均降低动态功耗49.31%。在工业级设计上,它在NVDLA和BlackParrot上分别实现了19.34%和7.96%的动态功耗降低,在高度优化的专有生产设计上最高降低6.86%。

英文摘要:

Fine-grain clock gating (FGCG) is among the most effective techniques for reducing dynamic power, yet current FGCG optimization flows remain largely manual. Recent LLM-based RTL optimization approaches remain limited by two key drawbacks: (1) the inability to process long waveform traces spanning millions of cycles, and (2) the difficulty of scaling optimization to large hierarchical codebases while preserving correctness. In this work, we present AUTOGATE, the first agentic framework for industry-grade RTL power optimization, enabling workload-aware clock-gating optimization across large hierarchical codebases. AUTOGATE introduces a Machine Learning (ML)-LLM co-design that bridges waveform-level analysis and RTL rewriting. Specifically, we design an ML-based clustering algorithm that distills raw toggling traces into compact, structured representations that guide LLM-based RTL rewriting. This enables accurate identification and application of clock-gating opportunities without requiring LLMs to directly process raw waveform data. To enhance scalability, AUTOGATE employs a hierarchical multi-agent architecture that decomposes large designs into independently optimizable modules, enabling coordinated optimization across deep design hierarchies. We evaluate AUTOGATE on a diverse set of designs ranging from small RTL designs to large industrial-grade codebases. Experimental results show that AUTOGATE consistently reduces dynamic power relative to baselines. Across the small-design suite, AUTOGATE reduces dynamic power by 49.31% on average. On industry-scale designs, it achieves 19.34% and 7.96% dynamic power reductions on NVDLA and BlackParrot, respectively, and up to 6.86% on highly optimized proprietary production designs.

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

↑