用大模型自动优化模拟电路晶体管尺寸,成功率最高达60%。
LLM-based AI Agent for Sizing of Analog and Mixed Signal Circuit
- 结合大模型与仿真工具,通过提示工程实现自动尺寸优化。
- 在7个基础电路上验证,运算放大器在三组需求下成功率达60%。
- 适合需要降低人工设计成本的集成电路研发人员。
模拟与混合信号(AMS)集成电路设计通常需大量手动操作,尤其在晶体管尺寸调整阶段。尽管电子设计自动化(EDA)中的机器学习技术已展现降低复杂性的潜力,但仍面临迭代次数多、缺乏领域知识等问题。近期大语言模型(LLMs)在多个领域表现出显著能力,具备一定电路设计知识,显示出自动化晶体管尺寸调整的潜力。本文提出一种基于LLM的AI代理,用于辅助AMS电路设计中的尺寸优化。通过整合LLM与外部电路仿真工具及数据分析功能,并采用提示工程策略,该代理成功优化了多个电路并达成目标性能指标。我们评估了不同LLM在七个基本电路上的表现,选出最优模型Claude 3.5 Sonnet,进一步应用于具有互补输入级和类AB输出级的运算放大器。该电路在九项性能指标上进行测试,针对三组不同性能要求开展实验,最高成功率达60%。整体表明LLM在提升AMS电路设计效率方面具有巨大潜力。
原文摘要 · Abstract (English)
The design of Analog and Mixed-Signal (AMS) integrated circuits (ICs) often involves significant manual effort, especially during the transistor sizing process. While Machine Learning techniques in Electronic Design Automation (EDA) have shown promise in reducing complexity and minimizing human intervention, they still face challenges such as numerous iterations and a lack of knowledge about AMS circuit design. Recently, Large Language Models (LLMs) have demonstrated significant potential across various fields, showing a certain level of knowledge in circuit design and indicating their potential to automate the transistor sizing process. In this work, we propose an LLM-based AI agent for AMS circuit design to assist in the sizing process. By integrating LLMs with external circuit simulation tools and data analysis functions and employing prompt engineering strategies, the agent successfully optimized multiple circuits to achieve target performance metrics. We evaluated the performance of different LLMs to assess their applicability and optimization effectiveness across seven basic circuits, and selected the best-performing model Claude 3.5 Sonnet for further exploration on an operational amplifier, with complementary input stage and class AB output stage. This circuit was evaluated against nine performance metrics, and we conducted experiments under three distinct performance requirement groups. A success rate of up to 60% was achieved for reaching the target requirements. Overall, this work demonstrates the potential of LLMs to improve AMS circuit design.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。