Abstract
Analog integrated circuit (IC) design has historically remained a manual, expert-driven process, contrasting sharply with the highly automated workflows of digital design. This paper presents AnalogGenie, a generative AI engine designed to automate the discovery of analog circuit topologies. By representing circuits as pin-level sequences and utilizing a GPT-style Transformer architecture trained on a novel, large-scale dataset, AnalogGenie overcomes traditional barriers in representation ambiguity and scalability. Our results demonstrate that AnalogGenie can generate complex, valid, and novel analog designs with up to 64 devices, significantly outperforming previous graph-based and language-model-based approaches in both correctness and performance metrics.
1. Introduction
While digital IC design has been revolutionized by hardware description languages (HDLs) like Verilog and sophisticated synthesis tools, analog design is often characterized as a "black art." Analog circuits are highly sensitive to low-level physical connections and lack a standardized, high-level abstraction comparable to logic gates. Consequently, discovering optimal circuit topologies remains a significant bottleneck in the semiconductor industry, relying heavily on human intuition and manual iteration.
Previous attempts to automate this process using AI faced two primary hurdles. First, representation ambiguity: most models treated transistors as single nodes, ignoring the specific connectivity requirements of individual pins (Gate, Drain, Source, Body). Second, data scarcity and scalability: existing datasets were limited to simple designs, and graph-based models often struggled with the computational complexity of larger topologies.
2. Methodology: From Graphs to Sequences
AnalogGenie addresses these challenges by treating circuit discovery as a sequence-generation task, leveraging the strengths of Large Language Models (LLMs).
2.1 Pin-Level Representation
To eliminate ambiguity, AnalogGenie models every individual device pin as a distinct node. This ensures a unique, one-to-one mapping between the model's output and a functional circuit, preventing the "mapping errors" common in earlier models where the AI might suggest a connection without specifying the correct terminal.
2.2 Eulerian Circuit Sequencing
To bridge the gap between 2D circuit graphs and 1D Transformer architectures, the authors employ Eulerian circuit sequencing. The circuit graph is represented as a trail that visits every connection (edge) exactly once. This approach is significantly more memory-efficient than traditional adjacency matrices, particularly for the sparse graphs characteristic of analog circuits.
2.3 Architecture and Training
The engine utilizes a decoder-only Transformer architecture with 11.8 million parameters. To ensure the model understands that a circuit's function is independent of its starting point in a sequence, the researchers implemented Data Augmentation via Permutation. By generating 70 different traversal paths for every circuit in the training set, the dataset was expanded 70-fold, teaching the model the underlying "grammar" of analog design.
3. Dataset and Validation
The researchers curated a foundational dataset of 3,350 distinct analog circuit topologies across 11 categories, including Op-Amps, Low-Dropout Regulators (LDOs), Phase-Locked Loops (PLLs), and Mixers. These designs were sourced from classic textbooks and scientific literature. Every design was manually verified in industry-standard tools and labeled with performance metrics (Figures of Merit) via simulation. Through augmentation, this base set was expanded into over 227,000 unique sequences for training.
4. Results and Discussion
AnalogGenie demonstrates a significant leap over existing baselines such as CktGNN, LaMAGIC, and AnalogCoder.
- Correctness: 93.2% of the generated circuits were valid and simulatable, a substantial improvement over the 57-68% range seen in baseline models.
- Scalability: While previous state-of-the-art models were limited to approximately 10-22 devices, AnalogGenie successfully generated designs containing 56 to 64 devices.
- Novelty: Nearly 100% of the generated designs were novel, indicating that the model is not merely memorizing the training data but is actively discovering new topological configurations.
- Performance: In Op-Amp design tasks, AnalogGenie achieved a Figure of Merit (FoM) of 36.5, more than triple the performance of the best previous graph-based model (10.9).
Furthermore, the model exhibited "zero-shot" creativity, generating circuit types (such as transconductance amplifiers) that were not present in its training set. This suggests that the model has learned fundamental principles of pin interaction and circuit physics.
5. Limitations and Future Directions
Despite its success in topology discovery, AnalogGenie currently relies on genetic algorithms for "sizing"—the process of determining the exact dimensions of transistors. This stage remains computationally intensive and represents a clear target for future AI-driven optimization. Additionally, while the current focus is purely analog, there is potential to integrate this graph-generation approach with LLM-based code generation for digital components, potentially leading to a fully automated "Mixed-Signal Genie" for System-on-Chip (SoC) design.
6. Conclusion
AnalogGenie represents a paradigm shift in analog IC design automation. By reframing circuit discovery as a sequence-modeling problem and focusing on pin-level granularity, the engine provides a scalable, accurate, and creative solution to one of the most persistent challenges in hardware engineering.
Summary updated