arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2405.14918cs.LGcs.ET
收藏

AnalogCoder:基于免训练代码生成的模拟电路设计

AnalogCoder: Analog Circuit Design via Training-Free Code Generation

The University of Hong Kong(香港大学);The University of Texas at Austin(德克萨斯大学奥斯汀分校);The Chinese University of Hong Kong(香港中文大学)

Yao Lai, Sungyoung Lee, Guojin Chen, Souradip Poddar, Mengkang Hu, David Z. Pan, Ping Luo

AI总结:

AnalogCoder是首个通过Python代码生成设计模拟电路的免训练LLM智能体,结合反馈增强流程和电路工具库,在基准测试中成功设计20个电路,优于标准GPT-4o,显著提升设计效率。

摘要:

模拟电路设计是现代芯片技术中的一项重要任务,侧重于选择元件类型、连接方式和参数,以确保电路功能正常。尽管大型语言模型(LLMs)在数字电路设计方面取得了进展,但模拟电路的复杂性和数据稀缺性带来了重大挑战。为缓解这些问题,我们引入了AnalogCoder,这是首个通过Python代码生成设计模拟电路的免训练LLM智能体。首先,AnalogCoder结合了带有定制领域特定提示的反馈增强流程,实现了高成功率的自动化和自我纠错的模拟电路设计。其次,它提出了一个电路工具库,将成功的设计归档为可重用的模块化子电路,简化了复合电路的创建。第三,在旨在涵盖广泛模拟电路任务的基准上的大量实验表明,AnalogCoder优于其他基于LLM的方法。它成功设计了20个电路,比标准GPT-4o多5个。我们相信AnalogCoder能显著改善劳动密集型的芯片设计流程,使非专家能够高效地设计模拟电路。

英文摘要:

Analog circuit design is a significant task in modern chip technology, focusing on the selection of component types, connectivity, and parameters to ensure proper circuit functionality. Despite advances made by Large Language Models (LLMs) in digital circuit design, the complexity and scarcity of data in analog circuitry pose significant challenges. To mitigate these issues, we introduce AnalogCoder, the first training-free LLM agent for designing analog circuits through Python code generation. Firstly, AnalogCoder incorporates a feedback-enhanced flow with tailored domain-specific prompts, enabling the automated and self-correcting design of analog circuits with a high success rate. Secondly, it proposes a circuit tool library to archive successful designs as reusable modular sub-circuits, simplifying composite circuit creation. Thirdly, extensive experiments on a benchmark designed to cover a wide range of analog circuit tasks show that AnalogCoder outperforms other LLM-based methods. It has successfully designed 20 circuits, 5 more than standard GPT-4o. We believe AnalogCoder can significantly improve the labor-intensive chip design process, enabling non-experts to design analog circuits efficiently.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑