OPERA: OPamp Design by an Expert-Taught Reasoning Agent, from Specifications to Layout
Organizations: ECE Dept., University of Delaware Newark, DE, USA · Instr. Div., Brookhaven National Laboratory Upton, NY, USA
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/ID method: map the specifications to transconductances and minimum currents, choose gm/ID 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 >= 50 MHz, PM >= 60 degrees, SR 25 V/μs 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.7 MHz, PM >= 62.1 degrees, SR >= 27.9 V/μs). The benchmark netlists are released at https://github.com/AMPICLab/AMPICBench.
Figures & tables
| Skill | Taught by the designer | Used by the agent as |
| Topology | Signal path, gain and pole nodes, stack headroom, replica bias, folding currents | Headroom budget per stack |
| Six-step flow: specs to and currents, per role, , size, check, explore | Density, , from tables; sizes from equations; worst-corner knob iteration | |
| Compensation | Two-stage Miller recipe: , , placement | Starting , , ; one knob per specification |
| Layout | Floorplans; common centroid, interdigitation, dummies; rings per stage; packing 70%; short parasitics sensitive nodes | Generator templates; matching and packing checkers |
| Work | Topo. | Size b | / | Comp. | PVT | Layout | Sign- off c | Reus. gen. | Taught skills |
| AnalogCoder [ 1 ] | ✓ | L | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
| ADO-LLM [ 10 ] | ✗ | O | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
| LEDRO [ 12 ] | ✗ | O | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
| AutoSizer [ 13 ] | ✗ | O | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
| Artisan [ 22 ] | ✓ | E | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | |
| AmpAgent [ 4 ] | E | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
| Circuit | Knobs a | (dB) | (MHz) | PM ( ∘ ) | SR b (V/ s) | I ( A) | |
| S1 | 5T OTA | 31.1–31.8 | 68.1–76.0 | 82.4–84.1 | 35.4 | 126–144 | |
| S1 | FC OTA | 51.1–53.0 | 66.5–77.4 | 67.6–72.6 | 33.2 | 282–358 | |
| S1 | Telescopic | 51.9–55.0 | 96.6–115.2 | 71.2–77.9 | 41.4 | 243–307 | |
| S2 | Miller | 60.8–64.0 | 82.2–100.8 | 69.1–75.7 | 46.1 | 338–422 | |
| S2 | FC 2-stage | 63.2–68.2 | 57.5–72.8 | 70.2–78.9 | 28.6 | 330–424 | |
| S2 | Tele. 2-stage | 68.7–78.0 | 75.5–95.8 | 66.8–75.6 | 27.1 | 330–423 |
| OPERA a | Protocol A (spec) | Protocol B (sat.) | ||||
| Circuit | A / B | Random | TPE | Random | TPE | |
| S1 | 5T OTA | 54 / 54 | 5/5 (58) | 5/5 (48) | 5/5 (76) | 5/5 (48) |
| S1 | FC OTA | 30 / 59 | 3/3 (250) | 3/3 (129) | 1/3 (368) | 1/3 (32) |
| S1 | Telescopic | 30 / 59 | 3/3 (35) | 3/3 (45) | 2/3 (258) | 2/3 (41) |
| S2 | Miller | 30 / 53 | 3/3 (40) | 3/3 (204) | 3/3 (40) | 2/3 (181) |
| S2 | FC 2-stage | 30 / 55 | 2/3 (281) | 3/3 (141) | 0/3 | 0/3 |
| Cell | Area ( m 2 ) | Util. | DRC a LVS | (dB) PEX | PM ( ∘ ) PEX | (MHz) PEX | SR (V/ s) | |
| S1 | 5T OTA | 496 | 89.2% | 0/0 ✓ | 31.1–31.8 | 81.8–83.5 | 66.5–74.3 | 34.3 |
| S1 | FC OTA | 3482 | 69.0% | 0/0 ✓ | 51.0–53.0 | 63.5–68.6 | 63.5–74.0 | 31.5 |
| S1 | Telescopic | 3015 | 86.8% | 0/0 ✓ | 51.9–54.9 | 66.2–72.9 | 92.4–109.9 | 41.4 |
| S2 | Miller | 2356 | 78.3% | 0/0 ✓ | 60.8–64.0 | 64.6–71.0 | 78.8–95.6 | 46.1 |
| S2 | FC 2-stage c | 3570 | 66.9% | 0/0 ✓ | 63.2–68.3 | 62.1–70.7 | 53.7–68.0 | 27.9 |
| S2 | Tele. 2-stage | 2893 | 57.3% | 0/0 ✓ | 68.5–78.0 | 63.1–72.7 | 71.1–89.5 | 30.5 |
Electronic Design Automation
Electronic Design Automation uses algorithms and software to design, verify, optimize, and manufacture electronic circuits and systems.
See all 219 papers