On Joint Learning for Solving Placement and Routing in Chip Design

Ruoyu Cheng, Junchi Yan
10/30/2021
144 citations
cs.LGcs.AI
rl

Official code: Thinklab-SJTU/EDA-AI (328 stars, C, MIT, PyTorch, last commit 2025-11-23).

Abstract

For its advantage in GPU acceleration and less dependency on human experts, machine learning has been an emerging tool for solving the placement and routing problems, as two critical steps in modern chip design flow. Being still in its early stage, there are fundamental issues: scalability, reward design, and end-to-end learning paradigm etc.

Show full abstract

To achieve end-to-end placement learning, we first propose a joint learning method termed by DeepPlace for the placement of macros and standard cells, by the integration of reinforcement learning with a gradient based optimization scheme. To further bridge the placement with the subsequent routing task, we also develop a joint learning approach via reinforcement learning to fulfill both macro placement and routing, which is called DeepPR. One key design in our (reinforcement) learning paradigm involves a multi-view embedding model to encode both global graph level and local node level information of the input macros. Moreover, the random network distillation is devised to encourage exploration. Experiments on public chip design benchmarks show that our method can effectively learn from experience and also provides intermediate placement for the post standard cell placement, within few hours for training.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Implementations of DeepPlace, PRNet, HubRouter, PreRoutGNN, FlexPlanner and DSBRouter.

32864C, RakuOct 24, 20211 years agoMIT
ai4edadeep-learningeda-aifloorplanplacement+2 more

Similar Papers

Cite this paper

@article{cheng2021joint,
  title  = {On Joint Learning for Solving Placement and Routing in Chip Design},
  author = {Ruoyu Cheng and Junchi Yan},
  year   = {2021},
  eprint = {2111.00234},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.00234}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2111.00234.svg)](https://codeofpaper.com/paper/2111.00234)

Discussion