Deep learning toolkit-enabled VLSI placement
Deep learning toolkit-enabled VLSI placement.
With the analogy between nonlinear VLSI placement and deep learning training problem, this tool is developed with deep learning toolkit for flexibility and efficiency.
The tool runs on both CPU and GPU.
Over 30X speedup over the CPU implementation (RePlAce) is achieved in global placement and legalization on ISPD 2005 contest benchmarks with a Nvidia Tesla V100 GPU.
DREAMPlace also integrates a GPU-accelerated detailed placer, ABCDPlace, which can achieve around 16X speedup on million-size benchmarks over the widely-adopted sequential placer NTUPlace3 on CPU.
We also recommend HeteroPlace if you are looking for holistic GPU-accelerated placement and routing solutions for industrial designs.
DREAMPlace runs on both CPU and GPU. If it is installed on a machine without GPU, only CPU support will be enabled with multi-threading.
| Bigblue4 | Density Map | Electric Potential | Electric Field |
|---|---|---|---|
Yibo Lin, Shounak Dhar, Wuxi Li, Haoxing Ren, Brucek Khailany and David Z. Pan, "DREAMPlace: Deep Learning Toolkit-Enabled GPU Acceleration for Modern VLSI Placement", ACM/IEEE Design Automation Conference (DAC), Las Vegas, NV, Jun 2-6, 2019 (preprint) (slides)
Yibo Lin, Zixuan Jiang, Jiaqi Gu, Wuxi Li, Shounak Dhar, Haoxing Ren, Brucek Khailany and David Z. Pan, "DREAMPlace: Deep Learning Toolkit-Enabled GPU Acceleration for Modern VLSI Placement", IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems (TCAD), 2020
Yibo Lin, Wuxi Li, Jiaqi Gu, Haoxing Ren, Brucek Khailany and David Z. Pan, "ABCDPlace: Accelerated Batch-based Concurrent Detailed Placement on Multi-threaded CPUs and GPUs", IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems (TCAD), 2020 (preprint)
Yibo Lin, David Z. Pan, Haoxing Ren and Brucek Khailany, "DREAMPlace 2.0: Open-Source GPU-Accelerated Global and Detailed Placement for Large-Scale VLSI Designs", China Semiconductor Technology International Conference (CSTIC), Shanghai, China, Jun, 2020 (preprint)(Invited Paper)
Jiaqi Gu, Zixuan Jiang, Yibo Lin and David Z. Pan, "DREAMPlace 3.0: Multi-Electrostatics Based Robust VLSI Placement with Region Constraints", IEEE/ACM International Conference on Computer-Aided Design (ICCAD), Nov 2-5, 2020 (preprint)
Peiyu Liao, Siting Liu, Zhitang Chen, Wenlong Lv, Yibo Lin and Bei Yu, "DREAMPlace 4.0: Timing-driven Global Placement with Momentum-based Net Weighting", IEEE/ACM Proceedings Design, Automation and Test in Eurpoe (DATE), Antwerp, Belgium, Mar 14-23, 2022 (preprint)
Peiyu Liao, Dawei Guo, Zizheng Guo, Siting Liu, Zhitang Chen, Wenlong Lv, Yibo Lin and Bei Yu, "DREAMPlace 4.0: Timing-driven Placement with Momentum-based Net Weighting and Lagrangian-based Refinement", IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems (TCAD), Oct, 2023.
Yifan Chen, Zaiwen Wen, Yun Liang, Yibo Lin, "Stronger Mixed-Size Placement Backbone Considering Second-Order Information", IEEE/ACM International Conference on Computer-Aided Design (ICCAD), San Francisco, CA, Oct, 2023 (preprint)(Corresponding to DREAMPlace 4.1)
Zizheng Guo, Haichuan Liu, Xizhe Shi, Shenglu Hua, Zuodong Zhang, Chunyuan Zhao, Runsheng Wang and Yibo Lin, "HeteroSTA: A CPU-GPU Heterogeneous Static Timing Analysis Engine with Holistic Industrial Design Support", IEEE/ACM Asia and South Pacific Design Automation Conference (ASPDAC), Hong Kong, Jan, 2026. (preprint)(Invited Paper)(Corresponding to DREAMPlace 4.3)
Python 3.5/3.6/3.7/3.8/3.9
Pytorch 1.6/1.7/1.8/2.0
c++17 support).Boost >= 1.55.0
Bison >= 3.3
CUDA 9.1 or later (Optional)
GPU architecture compatibility 6.0 or later (Optional)
Cairo (Optional)
NTUPlace3 (Optional)
To pull git submodules in the root directory
git submodule init
git submodule updateOr alternatively, pull all the submodules when cloning the repository.
git clone --recursive https://github.com/limbo018/DREAMPlace.gitGo to the root directory.
pip install -r requirements.txtTwo options are provided for building: with and without Docker.
You can use the Docker container to avoid building all the dependencies yourself.
docker pull limbo018/dreamplace:cudadocker build . --file Dockerfile --tag your_name/dreamplace:cudalimbo018 with your name if option 2 is chosen in the previous step.Run with GPU on Linux.
docker run --gpus 1 -it -v $(pwd):/DREAMPlace limbo018/dreamplace:cuda bashRun with GPU on Windows.
docker run --gpus 1 -it -v /dreamplace limbo018/dreamplace:cuda bashRun without GPU on Linux.
docker run -it -v $(pwd):/DREAMPlace limbo018/dreamplace:cuda bashRun without GPU on Windows.
docker run -it -v /dreamplace limbo018/dreamplace:cuda bashcd /DREAMPlace.CMake is adopted as the makefile system. To build, go to the root directory.
mkdir build
cd build # we call this
cmake .. -DCMAKE_INSTALL_PREFIX= -DPython_EXECUTABLE=$(which python)
make
make installWhere is the directory where you compile the code, and is the directory where you want to install DREAMPlace (e.g., ../install).
Third party submodules are automatically built except for Boost.
To clean, go to the root directory.
rm -r build`` can be removed after installation if you do not need incremental compilation later.
Here are the available options for CMake.
cmake -DCMAKE_INSTALL_PREFIX=path/to/your/directorycmake -DCMAKE_CUDA_FLAGS=-gencode=arch=compute_60,code=sm_60cmake -DCMAKE_CXX_ABI=0To get ISPD 2005 and 2015 benchmarks, run the following script from the directory.
python benchmarks/ispd2005_2015.pyBefore running, make sure the benchmarks have been downloaded and the python dependency packages have been installed. Go to the install directory and run with JSON configuration file for full placement.
cd
python dreamplace/Placer.py test/ispd2005/adaptec1.jsonTest individual pytorch op with the unit tests in the root directory.
cd
python uniNo open issues yet, or sync has not completed.