Fast ML-driven Analog Circuit Layout using Reinforcement Learning and Steiner Trees

Davide Basso, Luca Bortolussi, Mirjana S. Videnovic-Misic, Husni Habal

Introduction

In integrated circuit (IC) design, digital layout has benefited from high levels of automation for decades. In contrast, analog layout remains a predominantly manual and time-consuming bottleneck. Analog circuits are exceptionally sensitive to environmental factors like noise and temperature, requiring designers to adhere to strict topological constraints—such as symmetry and specific alignments—to mitigate parasitic effects. Traditional automation tools often rely on metaheuristics like Simulated Annealing (SA), which lack the ability to learn from previous designs. This paper introduces an AI-driven pipeline that leverages Reinforcement Learning (RL) and Graph Convolutional Networks (GCN) to automate analog IC layout, significantly reducing design time while improving area efficiency.

The Proposed Pipeline

The authors propose a unified three-stage pipeline designed to capture expert intuition and accelerate the physical design process.

Overview of the proposed automated analog layout pipeline.
  1. Automatic Structure Recognition: The process begins by identifying functional blocks (e.g., differential pairs or current mirrors) from a circuit schematic using GCNs and clustering. This step ensures that the subsequent layout respects critical engineering constraints like interdigitation.
  2. RL-Driven Floorplanning: Floorplanning is framed as a Markov Decision Process (MDP) using Sequence Pairs (SP) to represent relative block positions. The system employs two strategies: a pure RL agent trained via Proximal Policy Optimization (PPO) and a hybrid RL-SA approach where the RL agent provides a high-quality initial configuration for SA refinement.
  3. Global Routing: To interconnect the blocks, the pipeline implements an Obstacle-Avoiding Rectilinear Steiner Tree (OARSMT) algorithm. This identifies the shortest wiring paths while navigating around placed components, serving as a blueprint for final detailed routing.

Key Insights: Experience Reuse and Hybrid Optimization

A central innovation of this work is the move from "memoryless" heuristics to learning-based systems. Unlike standard SA, the RL agent learns patterns of successful layouts across diverse circuit types, allowing it to rapidly identify near-optimal solutions. The "RL-SA Hybrid" approach combines the broad search-space exploration of RL with the precise local refinement capabilities of SA, effectively compensating for the individual weaknesses of each method. Furthermore, by integrating GCN-based structure recognition, the AI maintains topological awareness, ensuring electrical stability by placing related blocks in proximity.

Experimental Results

The system was evaluated using synthetic datasets and real-world benchmarks, including an 11-device Operational Transconductance Amplifier (OTA).

End-to-end flow from (a) circuit schematic with recognized blocks to (b) floorplan and (c) final layout.

The results indicate a transformative shift in productivity and design quality:

  • Drastic Speedup: Template generation time was reduced from approximately 16 hours of manual labor to just 57.48 seconds—a 99.9% reduction.
  • Enhanced Efficiency: Automated layouts were 13.8% more compact than those produced by human experts.
  • Improved Connectivity: Total wirelength decreased by 14.9%, typically correlating with better circuit performance and reduced power consumption.
  • Competitive Performance: The RL-based methods consistently outperformed traditional Genetic Algorithms (GA) and Particle Swarm Optimization (PSO) in both runtime and area utilization.

Limitations and Future Directions

Despite these gains, the pipeline is not yet fully autonomous. Approximately 20 minutes of manual refinement are currently required post-automation, primarily due to the ongoing development of the "ANAGEN" router integration. Additionally, while the system handles up to 20 devices effectively, scaling to extremely large analog systems may require further optimization of the RL state space. Future work will focus on refining routing guidance to achieve a truly "no-human-in-the-loop" analog layout flow.

Summary updated

BibTeX
@inproceedings{basso2024fast,
  author = {Davide Basso and Luca Bortolussi and Mirjana S. Videnovic-Misic and Husni Habal},
  title = {{Fast ML-driven Analog Circuit Layout using Reinforcement Learning and Steiner Trees}},
  booktitle = {SMACD},
  year = {2024},
  url = {https://openreview.net/forum?id=6ZtFJaDiFl},
}
Figure