Chip Placement with Diffusion Models
About
Macro placement is a vital step in digital circuit design that defines the physical location of large collections of components, known as macros, on a 2D chip. Because key performance metrics of the chip are determined by the placement, optimizing it is crucial. Existing learning-based methods typically fall short because of their reliance on reinforcement learning (RL), which is slow and struggles to generalize, requiring online training on each new circuit. Instead, we train a diffusion model capable of placing new circuits zero-shot, using guided sampling in lieu of RL to optimize placement quality. To enable such models to train at scale, we designed a capable yet efficient architecture for the denoising model, and propose a novel algorithm to generate large synthetic datasets for pre-training. To allow zero-shot transfer to real circuits, we empirically study the design decisions of our dataset generation algorithm, and identify several key factors enabling generalization. When trained on our synthetic data, our models generate high-quality placements on unseen, realistic circuits, achieving competitive performance on placement benchmarks compared to state-of-the-art methods.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Macro Placement | adaptec2 | HPWL (x10^5)9.60e-4 | 13 | |
| Macro Placement | adaptec3 | HPWL (x10^5)165.2 | 13 | |
| Macro Placement | bigblue 3 | HPWL (x10^5)0.0032 | 10 | |
| Macro Placement | bigblue 1 | Mean HPWL87.2 | 5 | |
| Macro Placement | adaptec1 | Mean HPWL70.1 | 5 | |
| Macro Placement | adaptec4 | Mean HPWL150.6 | 5 | |
| Macro Placement | bigblue2 | Mean HPWL134.9 | 3 | |
| Macro Placement | ISPD MMS adaptec1 2005 | Inference Runtime (s)142.2 | 3 | |
| Macro Placement | ISPD MMS adaptec2 2005 | Inference Runtime (s)141.5 | 3 | |
| Macro Placement | ISPD MMS adaptec3 2005 | Inference Runtime (s)145.1 | 3 |