ChatEDA: A Large Language Model Powered Autonomous Agent for EDA
Zhuolun He, Haoyuan Wu, Xinyun Zhang, Xufeng Yao, Su Zheng, Haisheng Zheng, Bei Yu
TL;DR
The paper introduces ChatEDA, an autonomous agent that leverages a domain-focused, fine-tuned LLM (AutoMage) to orchestrate RTL-to-GDSII EDA workflows through external tool APIs. It details principled methods—LoRA/QLoRA-based efficient fine-tuning, in-context learning, and instruction tuning with explanations and chain-of-thought—to build robust, expert EDA controllers, enhanced in AutoMage2 with enriched data and reasoning prompts. Experimental evaluation via ChatEDA-Bench shows AutoMage2 achieving superior task decomposition and script generation, notably surpassing GPT-4 in Grade-A outcomes (82% vs 62%), indicating strong practical impact for automating complex EDA toolchains. The work highlights both the potential and limitations of LLM-based EDA automation, emphasizing the need for broader tool compatibility, scalable evaluation, and improved generalization for real-world deployment.
Abstract
The integration of a complex set of Electronic Design Automation (EDA) tools to enhance interoperability is a critical concern for circuit designers. Recent advancements in large language models (LLMs) have showcased their exceptional capabilities in natural language processing and comprehension, offering a novel approach to interfacing with EDA tools. This research paper introduces ChatEDA, an autonomous agent for EDA empowered by an LLM, AutoMage, complemented by EDA tools serving as executors. ChatEDA streamlines the design flow from the Register-Transfer Level (RTL) to the Graphic Data System Version II (GDSII) by effectively managing task decomposition, script generation, and task execution. Through comprehensive experimental evaluations, ChatEDA has demonstrated its proficiency in handling diverse requirements, and our fine-tuned AutoMage model has exhibited superior performance compared to GPT-4 and other similar LLMs.
