Effective Analog ICs Floorplanning with Relational Graph Neural Networks and Reinforcement Learning

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

This paper presents a significant step forward in automating one of the most tedious parts of hardware design: analog integrated circuit (IC) floorplanning. By combining Relational Graph Neural Networks (R-GCNs) with Reinforcement Learning (RL), the authors have created a system that doesn't just solve a single layout problem but learns the underlying "logic" of analog placement to generalize across different circuit types.

TL;DR

The researchers developed a novel floorplanning algorithm that uses R-GCNs to encode circuit constraints and RL to make placement decisions. This approach reduces overall layout time by over 67% and achieves better area efficiency than manual layouts, demonstrating a rare ability to generalize to entirely new, unseen circuit topologies.

What Problem Does This Paper Address?

In the world of digital chips, automation is king. However, analog IC design remains stubbornly manual. Analog circuits are incredibly sensitive to noise and "parasitics" (unwanted electrical effects), requiring layout engineers to follow strict rules for symmetry, alignment, and proximity.

Existing automated tools usually rely on metaheuristics like Simulated Annealing (SA). While effective, these methods are "memoryless"—they treat every new circuit as a brand-new puzzle, starting from scratch every time. They don't learn from past designs, leading to long optimization runtimes and an inability to handle the high level of customization required in modern analog design.

Methods

The authors propose a two-stage machine learning pipeline integrated into a procedural generator framework.

  1. Relational Graph Neural Networks (R-GCN): The circuit netlist is treated as a graph where nodes are functional blocks and edges represent relationships (connectivity, symmetry, or alignment). The R-GCN is pre-trained on a dataset of 21,600 floorplans to predict rewards. Once trained, it acts as a sophisticated "encoder" that translates complex circuit topologies into numerical embeddings the RL agent can understand.
  2. Reinforcement Learning (RL) Agent: Using the Proximal Policy Optimization (PPO) algorithm, the agent learns to place blocks on a discretized 32x32 grid.
  3. Hybrid State: The agent sees both the abstract graph embedding (from the R-GCN) and "pixel-level" feature maps (from a CNN) that represent current dead space and wirelength.
  4. Action Masking: To ensure the agent never produces an invalid layout, the system uses "masks" that prevent the agent from choosing positions that would cause overlaps or violate symmetry/alignment constraints.
  5. Hybrid Curriculum Learning (HCL): The agent is trained using a curriculum that starts with simple circuits and gradually introduces more complex designs and constraints, preventing the model from "forgetting" early lessons.

Datasets

  • Pre-training Dataset: 21,600 floorplans and their associated reward values (area, wirelength, etc.) generated using traditional optimization methods (SA, GA, PSO).
  • RL Training Set: Five specific industrial circuits, including three Operational Transconductance Amplifiers (OTAs) and two bias circuits, ranging from 3 to 9 functional blocks.
  • Evaluation Set: Six industrial circuits in total—three from the training set and three "unseen" designs (including a 17-block Driver and a 19-block Bias circuit) to test zero-shot and few-shot transferability.

Key Insights and Ideas

  • Generalization is the Goal: Unlike previous tools that optimize one chip at a time, this model learns a policy. This means it can perform "zero-shot" floorplanning—placing a brand-new circuit it has never seen before in a fraction of a second.
  • Relational Encoding: By using Relational GCNs, the model explicitly understands that an edge between two transistors might mean "they are connected" or it might mean "they must be perfectly symmetrical." This is crucial for analog design.
  • The Power of Masking: Instead of punishing the agent for making illegal moves (like overlapping blocks), the authors use hard constraints to make those moves impossible. This significantly speeds up the learning process.

Key Results

  • Speed: The RL agent can generate a floorplan in roughly 0.06 to 0.34 seconds (zero-shot), compared to several seconds or minutes for metaheuristic baselines.
  • Quality: When integrated into a full layout pipeline, the method reduced total layout time by 67.3% compared to manual design.
  • Efficiency: The automated approach achieved an 8.3% mean area reduction over manual layouts.
  • Superiority over Baselines: On unseen circuits, the method reduced the Half-Perimeter Wire Length (HPWL) by 38.7% and dead space by 66.8% compared to previous state-of-the-art RL and metaheuristic techniques.

Limitations and Future Work

While the floorplanning (placement) is highly automated, the authors note that routing remains a challenge. For very complex layouts, human engineers still need to manually refine routing channels to satisfy strict Design Rule Checks (DRC).

The authors suggest that future versions of the algorithm should incorporate more detailed routing information directly into the floorplanning stage. This would allow the agent to place devices in a way that proactively makes the subsequent routing step easier and more efficient.

Summary updated

BibTeX
@inproceedings{basso2025effective,
  author = {Davide Basso and Luca Bortolussi and Mirjana S. Videnovic-Misic and Husni Habal},
  title = {{Effective Analog ICs Floorplanning with Relational Graph Neural Networks and Reinforcement Learning}},
  booktitle = {DATE},
  year = {2025},
  doi = {10.23919/date64628.2025.10992888},
}
Figure