arXiv:2508.01012cs.AI2025-08被引 10

用自然语言控制芯片设计流程,提升自动化效率与安全性

AutoEDA: Enabling EDA Flow Automation through Microservice-Based LLM Agents

  • 基于MCP协议构建微服务化LLM代理,实现自然语言到EDA工具的端到端控制
  • 在复杂设计流程中实现9.9倍精度提升,同时减少97%的令牌消耗
  • 本地微调模型保障隐私,适合芯片设计自动化研究与工程团队使用

电子设计自动化(EDA)仍严重依赖Tcl脚本驱动复杂的RTL-to-GDSII流程,该方式劳动密集、易出错且难以扩展。大语言模型(LLM)的发展为自然语言驱动的自动化提供了新范式,但现有工作受限于缺乏标准化交互协议,且依赖外部API带来隐私风险。本文提出AutoEDA框架,利用模型上下文协议(MCP)实现从自然语言到RTL-to-GDSII流程的端到端控制。AutoEDA引入基于MCP的服务器,完成任务分解、工具选择与自动错误处理,确保LLM代理与EDA工具间的稳健交互。通过集成本地微调的LLM代理增强可靠性与保密性,并构建涵盖多种EDA场景的基准生成管道,同时扩展CodeBLEU以支持Tcl特定评估。实验表明,AutoEDA相较基线方法准确率提升达9.9倍,令牌使用量降低约97%,建立了面向现代芯片设计流程的完整LLM驱动自动化框架。

原文摘要 · Abstract (English)

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.

芯片设计LLM应用自动化自然语言

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。