AutoEDA: Enabling EDA Flow Automation through Microservice-Based LLM Agents
About
Electronic Design Automation (EDA) remains heavily reliant on tool command language (Tcl) scripting to drive complex RTL-to-GDSII flows. This scripting-based paradigm is labor-intensive, error-prone, and difficult to scale across large design projects. Recent advances in large language models (LLMs) suggest a new paradigm of natural language-driven automation. However, existing EDA efforts remain limited and face key challenges, including the absence of standardized interaction protocols and dependence on external APIs that introduce privacy risks. We present AutoEDA, a framework that leverages the Model Context Protocol (MCP) to enable end-to-end natural language control of RTL-to-GDSII design flows. AutoEDA introduces MCP-based servers for task decomposition, tool selection, and automated error handling, ensuring robust interaction between LLM agents and EDA tools. To enhance reliability and confidentiality, we integrate locally fine-tuned LLM agents. We further contribute a benchmark generation pipeline for diverse EDA scenarios and extend CodeBLEU with Tcl-specific enhancements for domain-aware evaluation. Together, these contributions establish a comprehensive framework for LLM-driven EDA automation, bridging natural language interfaces with modern chip design flows. Empirical results show that AutoEDA achieves up to 9.9 times higher accuracy than naive approaches while reducing token usage by approximately 97% compared to in-context learning.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Multi-stage C+R Tcl generation | AutoEDA Tcl Benchmark 10k prompt-Tcl configuration pairs | Token Count280.7 | 3 | |
| Multi-stage S+P+C+R Tcl generation | AutoEDA Tcl Benchmark 10k prompt-Tcl configuration pairs | Token Count586.9 | 3 | |
| Clock Tree Synthesis Tcl generation | AutoEDA Tcl Benchmark 10k prompt-Tcl configuration pairs | Token Count247.8 | 3 | |
| Logic Synthesis Tcl generation | AutoEDA Tcl Benchmark 10k | Token Count276.4 | 3 | |
| Multi-stage P+C Tcl generation | AutoEDA Tcl Benchmark 10k prompt-Tcl configuration pairs | Token Count427.4 | 3 | |
| Multi-stage P+C+R Tcl generation | AutoEDA Tcl Benchmark 10k prompt-Tcl configuration pairs | Token Count452 | 3 | |
| Multi-stage S+P Tcl generation | AutoEDA Tcl Benchmark 10k prompt-Tcl configuration pairs | Token Count460.7 | 3 | |
| Multi-stage S+P+C Tcl generation | AutoEDA Tcl Benchmark 10k prompt-Tcl configuration pairs | Token Count568 | 3 | |
| Placement Tcl generation | AutoEDA Tcl Benchmark 10k prompt-Tcl configuration pairs | Token Count312.2 | 3 | |
| Routing Tcl generation | AutoEDA Tcl Benchmark 10k prompt-Tcl configuration pairs | Token Count170.2 | 3 |