ReLay: Bidirectional Layout-Code Translation and Library Evolution for Reusable and Process-Portable Analog Design
Organizations: ∗Brown University, Providence, RI, USA · †University of Michigan, Ann Arbor, MI, USA
Abstract
Analog layout generators provide a programmable interface for design reuse and process migration, but their coverage is limited by handcrafted libraries. The designer knowledge embedded in complete layouts remains implicit in their geometry, making it difficult to capture in reusable generator libraries. We present ReLay, a bidirectional layout-code framework that recovers generator programs from existing layouts, enabling cross-PDK portability and parametric resizing of existing designs. Constructions that recur across recovered programs are promoted to library functions, so the library evolves as layouts accumulate. We also introduce the first layout-code benchmark: 1,050 hand-drawn layouts from 27 circuit families across three open-source PDKs, ranging from primitive cells to full chips. Learned functions account for 53-66% of layout-building calls in held-out layouts, demonstrating reuse beyond the learning corpus. Frontier LLM agents use ReLay to produce new layouts at 64-77% lower API cost per completed task than direct geometry generation, with comparable completion rates and electrical quality.
Figures & tables
| Benchmark | Entries | Families | PDK | Layout | Verification |
|---|---|---|---|---|---|
| FALCON [ 30 ] | 20 | 5 | 45 nm | none | sim. |
| AnalogGym [ 31 ] | 30 | 5 | SKY130 | none | sim. |
| LOADBench [ 32 ] | 100+ | 1 | SKY130 | none | sim. |
| Analog-DB [ 33 ] | 68 | 16 | 3 open ∗ | none | sim. |
| SGAnalog [ 34 ] | 273 | 7 | SKY130 | none | graph, sim. |
| OSIRIS [ 35 ] | 87,100 | 2 | SKY130 | generated | DRC, LVS, sim. |
| Property | Share of the source that the migrated layout keeps |
|---|---|
| Placement | finger pairs that keep their left/right and above/below order |
| Wiring | wire length kept on the same net, metal layer, and direction |
| Group order | matched groups (common-centroid, interdigitated, or side-by-side) whose fingers keep their order |
| Device ratios | matched and mirrored pairs whose ratio stays within 1% |
| Symmetry | device groups mirrored about an axis, such as the two halves of a differential pair, that stay symmetric within 5 nm |
| Compactness | area, as the source area over the migrated area (at most 1) |
Electronic Design Automation
Electronic Design Automation uses algorithms and software to design, verify, optimize, and manufacture electronic circuits and systems.
See all 262 papers