Introduction
In the complex workflow of Very Large Scale Integration (VLSI) design, global placement stands as a pivotal stage. It involves assigning physical locations to millions of circuit components (cells) on a silicon die while balancing two competing objectives: minimizing total wire length (Half Perimeter Wire Length, or HPWL) and maintaining manufacturable cell density. Traditional state-of-the-art placers, such as DREAMPlace, utilize force-based optimization methods. However, these tools often rely on rigid, hand-tuned heuristics to manage the trade-off between wire length and density. This research explores the integration of Reinforcement Learning (RL) to dynamically tune these parameters, aiming for superior placement quality.
Methodology
The researchers developed an RL environment integrated with DREAMPlace, a GPU-accelerated placement engine. They employed the Asynchronous Advantage Actor Critic (A3C) algorithm to train an agent that observes the placement state every 10 iterations and adjusts control parameters.
The agent operates through two primary control mechanisms:
- Density Weight Control: The agent dynamically adjusts a global coefficient ($\lambda$) that penalizes cell overlaps.
- Spatial Cost Weighting: A novel approach where the agent outputs a 2D spatial field to locally scale the objective function's gradients. This allows for fine-grained control over cell movement based on local congestion.
To ensure effective exploration in a 2D grid, the authors introduced a correlated sampling strategy. Standard Gaussian noise is often too erratic for spatial tasks. By utilizing Ornstein-Uhlenbeck processes and bilinear upsampling, the agent generates spatially and temporally smooth noise, facilitating the discovery of coherent placement strategies.
Experimental Setup
The RL-guided placement was evaluated against two major datasets:
- Academic Benchmarks: Standardized sets from ISPD ’05, ISPD ’06, and DAC ’12.
- Industrial Designs: Nine large-scale Nvidia chip designs, ranging from 1 million to 2.2 million cells.
Results and Discussion
The RL-guided approach demonstrated significant improvements over the DREAMPlace baseline:
- Wire Length Reduction: Academic benchmarks saw an average HPWL improvement of 0.87% to 1.03%, while industrial designs achieved 1.47% to 1.49%. Some specific industrial designs saw improvements exceeding 5%.
- Strategic Insights: The agent often favored a "slower" optimization schedule, increasing density penalties more gradually than standard heuristics. This resulted in higher placement quality despite increased iteration counts.
- Robustness: Policies trained on specific designs remained effective even after significant netlist modifications (retaining ~77% of benefits after 500 random edits), indicating the agent learns fundamental placement dynamics.
- Efficiency: The RL integration added only approximately 10% overhead to the total runtime, making it a viable addition to production pipelines.
Conclusion
Integrating Reinforcement Learning into the VLSI placement pipeline offers a powerful alternative to manual heuristics. By enabling dynamic, spatially-aware parameter tuning, the RL agent consistently achieves lower wire lengths across diverse benchmarks. While training time remains a challenge for cross-architecture generalization, the current results represent a major step forward in automated chip design. Future research will focus on optimizing for additional metrics like timing, power, and congestion.
Summary updated