TL;DR
FlowPlace introduces a flow-matching generative framework for chip macro placement that replaces slow, stochastic diffusion models with fast, deterministic trajectories. By combining mask-guided synthetic data generation with a novel hard-constraint sampling technique, it achieves zero macro overlaps, superior power, performance, and area (PPA) metrics, and a massive 10–50× speedup in inference time over previous generative placers.
What Problem Does This Paper Address?
In very-large-scale integration (VLSI) physical design, chip placement determines the exact spatial locations of millions of components. This is typically split into two stages: macro placement (positioning large blocks like memory) and standard-cell placement. Because macros dictate the overall layout topology, their placement heavily influences the final chip's Power, Performance, and Area (PPA).
Traditional analytical placers rely on mathematical approximations that often require complex, manual legalization steps to fix overlapping components. Recently, reinforcement learning (RL) and generative diffusion models have emerged as alternatives. However, RL methods place macros sequentially, making them slow and prone to compounding early errors. Diffusion models place macros simultaneously but suffer from three major flaws:
- They are pre-trained on purely random synthetic data that lacks real-world design priors.
- They require long, computationally expensive stochastic sampling paths (often ~1000 steps).
- They rely on soft gradient-based solvers to prevent component overlaps, which frequently fail, leaving illegal layouts.
FlowPlace addresses these limitations by rethinking how generative models learn and enforce physical constraints during chip design.
Methods
FlowPlace replaces the standard diffusion paradigm with a unified framework built on three core pillars:
- Mask-Guided Synthetic Dataset Generation: Instead of placing macros randomly to generate pre-training data, FlowPlace injects human design expertise. It uses a "boundary bias" heuristic, where larger macros are preferentially sampled near the canvas edges using parallelized GPU mask computations. This leaves the center open for standard cells and routing, mimicking high-quality human layouts.
- Flow Matching (FM) Framework: Instead of learning to reverse a stochastic, noisy process like diffusion models do, FlowPlace utilizes Flow Matching to learn a straight, deterministic velocity field. This allows the model to map a simple source distribution to the target layout distribution cleanly and efficiently.
- Hard Constraint Guided Sampling: To guarantee physically valid, overlap-free layouts without relying on unreliable gradient solvers, the authors integrate a projection operator directly into the ordinary differential equation (ODE) sampling trajectory. At each step, the model extrapolates the final layout, applies a greedy legalization projection to resolve overlaps, computes a corrected velocity vector, and interpolates back into the trajectory.
Datasets
The model was pre-trained on the authors' custom mask-guided synthetic dataset and evaluated using zero-shot transfer on two established industry benchmarks:
- ICCAD 2015 Contest C Benchmark: Comprising 8 large-scale circuits containing hundreds of macros and millions of standard cells.
- OpenROAD-flow-scripts Benchmark Suite: Consisting of 6 real-world designs synthesized using the Nangate45 library.
Key Insights and Ideas
- The Power of Uniform Priors: Diffusion models are mathematically tied to Gaussian noise priors. FlowPlace leverages the flexibility of Flow Matching to use a uniform distribution over the canvas as its prior. This matches the geometric boundaries of a chip perfectly, preventing components from wandering outside the valid layout area early in the generation process.
- Progressive Correction vs. Post-Hoc Legalization: Rather than letting a generative model create a messy layout and trying to fix it afterward, FlowPlace's hard-constraint sampling progressively steers the generative trajectory toward legality. This ensures smooth trajectories while strictly satisfying the non-overlap constraint.
- Better Data Beats Complex Objectives: Injecting simple structural regularities (like boundary bias) into synthetic training data allows the generative model to implicitly learn high-quality layout features, leading to excellent zero-shot generalization on real, unseen circuits.
Key Results
FlowPlace was compared against analytical placers (DREAMPlace), RL placers (MaskPlace, EfficientPlace), and the state-of-the-art diffusion placer (ChipDiffusion).
- Zero Overlaps: FlowPlace consistently achieved 0% macro overlap across all test cases, whereas ChipDiffusion averaged a 4.63% overlap rate on benchmarks like
superblue7. - 10–50× Speedup: Due to its deterministic flow trajectories, FlowPlace requires only 20–50 sampling steps compared to ChipDiffusion's 1000 steps, reducing inference time from minutes to mere seconds.
- State-of-the-Art PPA: On the ICCAD 2015 benchmark, FlowPlace achieved the best average ranking across routed wirelength (rWL) and congestion metrics. On the OpenROAD flow, it secured the top rank for timing (TNS), power, and cell area.
Limitations and Future Work
The authors note that FlowPlace focuses exclusively on the macro placement stage, deferring the subsequent standard-cell placement to external analytical tools (like DREAMPlace or OpenROAD). While this is standard practice due to the massive scale difference between macros and cells, a promising future direction is extending this flow-matching approach to handle a fully automated, end-to-end placement framework that co-optimizes both macros and standard cells simultaneously.
Summary updated