🤖 AI Summary
Traditional RTL-to-GDSII flows suffer from significant discrepancies between logic synthesis estimates and physical implementation results, coupled with low automation. To address this, we propose the first open-source, LLM-driven, end-to-end chip design framework. Our method establishes a unified EDA interface integrating tools including Yosys and OpenLane, enabling natural-language–driven workflow control and optimization. Crucially, it introduces a backend-aware closed-loop synthesis optimization mechanism: post-placement timing, power, and area metrics dynamically refine synthesis scripts—overcoming the limitations of conventional wireload models. Experimental evaluation on representative digital circuits demonstrates that, compared to default flows, our framework achieves 15–30% improvement in timing convergence and 10–20% reduction in area. These results validate the efficacy and advancement of LLMs in enabling full-flow automation and intelligent design-space exploration.
📝 Abstract
This paper presents MCP4EDA, the first Model Context Protocol server that enables Large Language Models (LLMs) to control and optimize the complete open-source RTL-to-GDSII design flow through natural language interaction. The system integrates Yosys synthesis, Icarus Verilog simulation, OpenLane place-and-route, GTKWave analysis, and KLayout visualization into a unified LLM-accessible interface, enabling designers to execute complex multi-tool EDA workflows conversationally via AI assistants such as Claude Desktop and Cursor IDE. The principal contribution is a backend-aware synthesis optimization methodology wherein LLMs analyze actual post-layout timing, power, and area metrics from OpenLane results to iteratively refine synthesis TCL scripts, establishing a closed-loop optimization system that bridges the traditional gap between synthesis estimates and physical implementation reality. In contrast to conventional flows that rely on wire-load models, this methodology leverages real backend performance data to guide synthesis parameter tuning, optimization sequence selection, and constraint refinement, with the LLM functioning as an intelligent design space exploration agent. Experimental evaluation on representative digital designs demonstrates 15-30% improvements in timing closure and 10-20% area reduction compared to default synthesis flows, establishing MCP4EDA as the first practical LLM-controlled end-to-end open-source EDA automation system. The code and demo are avaiable at: http://www.agent4eda.com/