arXiv:2610.39395cs.AROct 2026

Manuscript Offprint

arXiv:2610.39395

OPERA: OPamp Design by an Expert-Taught Reasoning Agent, from Specifications to Layout

Vishal Saxena, Soumyajit Mandal

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Vishal Saxena

ECE Dept., University of Delaware

Newark, DE, USA

vsaxena@udel.edu

Soumyajit Mandal

Instr. Div., Brookhaven National Laboratory

Upton, NY, USA

smandal@bnl.gov

Abstract—Analog flows from specifications to a signed-off layout rarely run without manual iteration. Recent large language model (LLM) agents size circuits with optimizer loops over the device dimensions and stop at the schematic. We present OPERA (OPamp design by an Expert-taught Reasoning Agent), in which a general-purpose LLM agent designs CMOS opamps from specifications to post-layout sign-off with open-source tools. First, the designer teaches the agent the gm/IDg_m/I_D method: map the specifications to transconductances and minimum currents, choose gm/IDg_m/I_D per device role from characterized lookup tables, and size from equations, leaving a few knobs to search and an explainable design. Second, the agent learns the gLayout framework and taught layout practice, and writes a reusable layout generator that closes the layout and extraction loop at designer-approved gates. In SKY130, the agent designed a shared constant-gm bias and six opamps (5T, folded-cascode and telescopic OTAs; Miller, folded-cascode and telescopic two-stage) for fun≥50f_{un} \geq 50 MHz, PM ≥60∘\geq 60^\circ, SR ≥25\geq 25 V/ μ\mus into 1 pF and a minimum dc gain of 30 to 60 dB. All six layouts are DRC-clean and LVS-matched, and their extracted netlists meet every target at all 15 PVT corners ( fun≥53.7f_{un} \geq 53.7 MHz, PM ≥62.1∘\geq 62.1^\circ, SR ≥27.9\geq 27.9 V/ μ\mus). The benchmark netlists are released at https://github.com/AMPICLab/AMPICBench.

Index Terms—Analog design automation, AI agents, large language models, automated layout generation, operational amplifier.

I. INTRODUCTION

An analog block reaches tape-out only after two nested loops close: the designer sizes, compensates and re-simulates the circuit until it meets its specifications over process, voltage and temperature (PVT), then draws, verifies and extracts the layout, and returns to the schematic when parasitics or layout adjustments move the results. Automating both loops end to end remains a long-standing goal of analog designers and EDA developers.

LLM-based flows now generate topologies and netlists [1]–[3], port amplifiers across processes [4] and assist layout [5]–[7], alongside algorithmic layout tools such as ALIGN [8] and MAGICAL [9]. For sizing, most flows place an optimizer in a loop: the LLM proposes or narrows a search space, and Bayesian optimization, trust-region search or the LLM itself iterates over the device dimensions [10]–[13]. These loops spend many simulations rediscovering what a designer knows from first principles, usually run at the typical corner, and stop at the schematic.

A designer instead maps the specifications to transconductances, picks the gm/IDg_{m}/I_{D} value for each device from its role, sizes from equations and lookup tables, and tunes a handful of knobs whose effect is understood. This paper asks whether an LLM agent can be taught to design this way, in both the schematic and the layout loop, and whether the result holds up over PVT after extraction. We focus on single-ended opamps (or OTAs) and a small set of specifications: unity-gain frequency, phase margin, gain, and slew rate into a fixed load. The two-stage opamps are restricted to a Class-A output stage. The contributions are:

  1. OPERA, an agent flow from specifications to post-layout PVT sign-off with open-source tools, directed and taught by us (i.e., the designer) at defined gates (Section II).

  2. Equation-first sizing with per-role gm/IDg_{m}/I_{D}, leaving a few knobs instead of tuning each transistor (Section III).

  3. Agent-learned, designer-taught layout distilled into a reusable generator that closes the layout and extraction loop (Section IV).

  4. A SKY130 case study of six opamps with post-layout PVT results and an optimizer comparison (Section V).

References (29)