The Code Behind the Layout: AI Agents for Analog Layout Generators
Organizations: Brown University, Providence, RI, USA · University of Michigan, Ann Arbor, MI, USA
Abstract
Analog layout remains largely manual and hard to automate. Generator frameworks such as gLayout express layouts as programs, producing layouts from parameterized, design-rule-aware generators; however, writing such generators still takes expert effort. Large language models (LLMs) could now write generator code, and frontier models can even draw layout geometry from design intent. This raises a practical question: if a model can draw the layout itself, what does a generator framework still contribute, and is applying these models to a generator framework better than having them draw a layout from scratch? Through controlled experiments on gLayout in SKY130, we find that the main obstacle to drawing a layout directly is its time and token cost, and that the main advantage of a model building on a generator framework is reusability. Its verified primitives keep each model edit small enough to check, and its parameters allow a single edit to be evaluated across an entire family of layouts. Accordingly, a model is most effective when it develops the layout from the generator source of the family that the design intent belongs to, and tests each edit on the family members most likely to fail, so that one verified change improves every layout the generator produces. The results of these family tests can then serve as supervision for a local model, which learns edits that hold across the family at a fraction of the inference cost.
Figures & tables
| Interface | Location of design knowledge | Policy action |
|---|---|---|
| Raw GDS geometry [ 19 ] | Program-built polygons, layers, labels and nets | Edit geometry construction and net routing |
| Primitive Python API [ 6 ] | Device and via construction with port interfaces | Place primitive instances and connect terminals |
| gLayout [ 5 , 6 ] | MappedPDK, hierarchical device and block generators | Edit generator source or compose allowlisted blocks |
| BAG/BAG2/BAG3++ [ 1 ] | Procedural schematic and layout generators, test scripts | Edit generator procedures and design parameters |
| LAYGO2 [ 2 ] | Dynamic templates, technology grids, reusable instances | Edit template generation, grid placement and routing |
| ALIGN [ 3 ] | Netlist hierarchy, PDK abstraction, inferred constraints | Supply circuit- and hierarchy-level constraints |
| GPT | Claude | |||||||||
| Rule | n | Impr. | Gain | Cov. | Regr. | n | Impr. | Gain | Cov. | Regr. |
| A anchor only | 120 | 37 | 39 | 58 | 12 | 72 | 36 | 62 | 61 | 11 |
| R random | 120 | 25 | 48 | 66 | 7 | 72 | 27 | 48 | 69 | 6 |
| B boundary | 120 | 23 | 48 | 64 | 8 | 72 | 32 | 48 | 67 | 7 |
| C risk | 120 | 15 | 48 | 74 | 3 | 72 | 29 | 45 | 79 | 2 |
| C+F3 | 10 | 3 | 119 | – | – | – | – | – | – | – |
Electronic Design Automation
Electronic Design Automation uses algorithms and software to design, verify, optimize, and manufacture electronic circuits and systems.
See all 219 papers