AnalogTester: A Large Language Model-Based Framework for Automatic Testbench Generation in Analog Circuit Design

📅 2025-07-14
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
In analog circuit design, testbench construction remains manual, severely hindering full-flow automation—particularly in reproducing published circuits, where it suffers from low efficiency and poor flexibility. This paper proposes the first end-to-end, large language model (LLM)-based framework for automatic testbench generation, integrating domain-specific knowledge injection, structured information extraction from research papers, simulation strategy reasoning, and Tsinghua Electronic Design (TED) code generation. We curate a specialized training dataset covering three canonical analog circuits: operational amplifiers, bandgap references, and low-dropout regulators. Experimental results demonstrate that our method generates high-accuracy, directly simulatable TED testbench code, significantly accelerating circuit reproduction. Moreover, it establishes a scalable framework and supplies high-quality, domain-enriched knowledge resources to advance automated EDA research.

Technology Category

Application Category

📝 Abstract
Recent advancements have demonstrated the significant potential of large language models (LLMs) in analog circuit design. Nevertheless, testbench construction for analog circuits remains manual, creating a critical bottleneck in achieving fully automated design processes. Particularly when replicating circuit designs from academic papers, manual Testbench construction demands time-intensive implementation and frequent adjustments, which fails to address the dynamic diversity and flexibility requirements for automation. AnalogTester tackles automated analog design challenges through an LLM-powered pipeline: a) domain-knowledge integration, b) paper information extraction, c) simulation scheme synthesis, and d) testbench code generation with Tsinghua Electronic Design (TED). AnalogTester has demonstrated automated Testbench generation capabilities for three fundamental analog circuit types: operational amplifiers (op-amps), bandgap references (BGRs), and low-dropout regulators (LDOs), while maintaining a scalable framework for adaptation to broader circuit topologies. Furthermore, AnalogTester can generate circuit knowledge data and TED code corpus, establishing fundamental training datasets for LLM specialization in analog circuit design automation.
Problem

Research questions and friction points this paper is trying to address.

Automates testbench generation for analog circuits using LLMs
Reduces manual effort in replicating circuit designs from papers
Supports diverse analog circuit types with scalable framework
Innovation

Methods, ideas, or system contributions that make the work stand out.

LLM-powered pipeline for analog design
Automated testbench generation for circuits
Generates circuit knowledge and TED code
🔎 Similar Papers
No similar papers found.
Weiyu Chen
Weiyu Chen
PhD Student, Hong Kong University of Science and Technology (HKUST)
Efficient LLMDiffusion ModelMulti-Objective Optimization
Chengjie Liu
Chengjie Liu
Nanjing University
EDA for analog circuits
W
Wenhao Huang
School of Integrated Circuits, Nanjing University, Nanjing, China
J
Jinyang Lyu
School of Integrated Circuits, Nanjing University, Nanjing, China
M
Mingqian Yang
Beijing Microelectronics Technology Institute, Beijing, China
Y
Yuan Du
School of Electronic Science and Engineering, Nanjing University, Nanjing, China
L
Li Du
School of Electronic Science and Engineering, Nanjing University, Nanjing, China
J
Jun Yang
School of Integrated Circuits, Southeast University, Nanjing, China