RTLSquad: Multi-Agent Based Interpretable RTL Design
Bowei Wang, Qi Xiong, Zeqing Xiang, Lei Wang, Renzhi Chen
TL;DR
RTLSquad introduces an LLM-based multi-agent system for RTL design that prioritizes decision interpretability alongside functional correctness and PPA optimization. By dividing the workflow into exploration, implementation, and verification & evaluation stages and organizing agents into specialized squads, the framework generates RTL code with explicit decision paths documented during inter-agent communication. Empirical results show RTLSquad enhances Pass@1 scores by about $7.2\%$ and often matches or exceeds reference PPA in a majority of cases (about $73.3\%$), while providing structured explanations for each design decision. This approach enables hardware engineers to trust and auditable the RTL generation process, facilitating integration into existing design flows and potentially accelerating RTL optimization tasks.
Abstract
Optimizing Register-Transfer Level (RTL) code is crucial for improving hardware PPA performance. Large Language Models (LLMs) offer new approaches for automatic RTL code generation and optimization. However, existing methods often lack decision interpretability (sufficient, understandable justification for decisions), making it difficult for hardware engineers to trust the generated results, thus preventing these methods from being integrated into the design process. To address this, we propose RTLSquad, a novel LLM-Based Multi-Agent system for interpretable RTL code generation. RTLSquad divides the design process into exploration, implementation, and verification & evaluation stages managed by specialized agent squads, generating optimized RTL code through inter-agent collaboration, and providing decision interpretability through the communication process. Experiments show that RTLSquad excels in generating functionally correct RTL code and optimizing PPA performance, while also having the capability to provide decision paths, demonstrating the practical value of our system.
