Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Reinforcement Learning Policy as Macro Regulator Rather than Macro Placer

About

In modern chip design, placement aims at placing millions of circuit modules, which is an essential step that significantly influences power, performance, and area (PPA) metrics. Recently, reinforcement learning (RL) has emerged as a promising technique for improving placement quality, especially macro placement. However, current RL-based placement methods suffer from long training times, low generalization ability, and inability to guarantee PPA results. A key issue lies in the problem formulation, i.e., using RL to place from scratch, which results in limits useful information and inaccurate rewards during the training process. In this work, we propose an approach that utilizes RL for the refinement stage, which allows the RL policy to learn how to adjust existing placement layouts, thereby receiving sufficient information for the policy to act and obtain relatively dense and precise rewards. Additionally, we introduce the concept of regularity during training, which is considered an important metric in the chip design industry but is often overlooked in current RL placement methods. We evaluate our approach on the ISPD 2005 and ICCAD 2015 benchmark, comparing the global half-perimeter wirelength and regularity of our proposed method against several competitive approaches. Besides, we test the PPA performance using commercial software, showing that RL as a regulator can achieve significant PPA improvements. Our RL regulator can fine-tune placements from any method and enhance their quality. Our work opens up new possibilities for the application of RL in placement, providing a more effective and efficient approach to optimizing chip design. Our code is available at \url{https://github.com/lamda-bbo/macro-regulator}.

Ke Xue, Ruo-Tong Chen, Xi Lin, Yunqi Shi, Shixiong Kai, Siyuan Xu, Chao Qian• 2024

Related benchmarks

TaskDatasetResultRank
Macro and Standard Cell Placementbigblue4 ISPD 2005
HPWL9.40e-6
13
Macro PlacementISPD bigblue3 2005--
10
Macro PlacementICCAD superblue1 2015
rWL (m)116.1
5
Macro PlacementICCAD superblue3 2015
rWL (m)142.9
5
Macro PlacementICCAD superblue4 2015
rWL (m)81.78
5
Macro PlacementICCAD superblue5 2015
rWL (m)137.8
5
Macro PlacementICCAD superblue7 2015
rWL (m)162.7
5
Macro PlacementICCAD superblue10 2015
rWL (m)212.8
5
Macro PlacementICCAD superblue16 2015
rWL (m)106.8
5
Macro PlacementICCAD superblue18 2015
rWL (m)60.64
5
Showing 10 of 16 rows

Other info

Code

Follow for update