A fundamental step in VLSI physical design A fundamental step in VLSI physical design A fundamental step in VLSI physical design A fundamental step in VLSI physical design A fundamental step in VLSI physical design A fundamental step.pdf
ssuser73f55d
23 views
28 slides
Aug 04, 2024
Slide 1 of 28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
About This Presentation
A fundamental step in VLSI physical design A fundamental step in VLSI physical design A fundamental step in VLSI physical design A fundamental step in VLSI physical design A fundamental step in VLSI physical design A fundamental step in VLSI physical design A fundamental step in VLSI physical design...
A fundamental step in VLSI physical design A fundamental step in VLSI physical design A fundamental step in VLSI physical design A fundamental step in VLSI physical design A fundamental step in VLSI physical design A fundamental step in VLSI physical design A fundamental step in VLSI physical design A fundamental step in VLSI physical design A fundamental step in VLSI physical design A fundamental step in VLSI physical design A
Size: 2.23 MB
Language: en
Added: Aug 04, 2024
Slides: 28 pages
Slide Content
Xplace: An Extremely Fast and Extensible
Global Placement Framework
Lixin Liu,BangqiFu, Martin D.F. Wong, Evangeline F.Y. Young
CSE Department
The Chinese University of Hong Kong
Global Placement Problem
A fundamental step in VLSI physical design
•Highly affect the circuit’s PPA
Modern circuits contain millions of standard cells
•Highly increase the computational complexity of GP
•Bring huge challenges to the leading-edge global placers
Global Placement Problem
[1] J. Lu, H. Zhuang, P. Chen, H. Chang, C.-C. Chang, Y.-C. Wong, L. Sha, D. Huang, Y. Luo, C.-C. Teng, et al., “ePlace-MS: Electrostatics-
based placement for mixed-size circuits,” IEEE TCAD 2015
Objective:
•Minimize the total HPWL of all the nets
•Satisfy the cell density constraint
Analytical Global Placement:
•A smooth approximation of HPWL
•A density penalty
GPU-accelerated Global Placers
•Rapid development of GPU’s computational power
•GPU acceleration becomes an important direction
Recently, DREAMPlace[1]
•Implemented the approach of ePlace[2] on GPU
•Produced the SOTA solution quality and performance
[1] Y. Lin, Z. Jiang, J. Gu, W. Li, S. Dhar, H. Ren, B. Khailany, and D. Z. Pan, “DREAMPlace: Deep learning toolkit-enabled GPU acceleration for
modern VLSI placement,” IEEE TCAD 2020
[2] J. Lu, H. Zhuang, P. Chen, H. Chang, C.-C. Chang, Y.-C. Wong, L. Sha, D. Huang, Y. Luo, C.-C. Teng, et al., “ePlace-MS: Electrostatics-
based placement for mixed-size circuits,” IEEE TCAD 2015
https://assets.nvidia.partners/images/png/nvidia-geforce-rtx-3090.png
https://www.nvidia.com/en-in/data-center/a100/
It is a big challenge to further improve on DREAMPlace’s
performance.
Operator-Level Optimization
Overflowratioanddensitycomputation:
�
??????:targetdensity,�
??????:bin??????’scelldensity,??????
??????and??????
??????denotetheareaforbin??????andcell??????,
Need to insert filler cells inside the electrostatic system [1]
??????: the set of cells, ??????
????????????: the set of fillers, ෪�
??????: bin ??????’s total density (incl. filler density)
�
????????????,??????: Bin ??????’s filler density
2. Density Operator Extraction (OE)
[1] J. Lu, H. Zhuang, P. Chen, H. Chang, C.-C. Chang, Y.-C. Wong, L. Sha, D. Huang, Y. Luo, C.-C. Teng, et al., “ePlace-MS: Electrostatics-
based placement for mixed-size circuits,” IEEE TCAD 2015
Operator-Level Optimization
Overflowratioanddensitycomputation:
�
??????:targetdensity,�
??????:bin??????’scelldensity,??????
??????and??????
??????denotetheareaforbin??????andcell??????,
Need to insert filler cells inside the electrostatic system [1]
Matrix form of the total density map. ෩�,�,�
????????????∈ℝ
��
, �is the grid size
2. Density Operator Extraction (OE)
[1] J. Lu, H. Zhuang, P. Chen, H. Chang, C.-C. Chang, Y.-C. Wong, L. Sha, D. Huang, Y. Luo, C.-C. Teng, et al., “ePlace-MS: Electrostatics-
based placement for mixed-size circuits,” IEEE TCAD 2015
Placement-Stage-Aware Parameters Scheduling
[1] J. Lu, H. Zhuang, P. Chen, H. Chang, C.-C. Chang, Y.-C. Wong, L. Sha, D. Huang, Y. Luo, C.-C. Teng, et al., “ePlace-MS: Electrostatics-
based placement for mixed-size circuits,” IEEE TCAD 2015
Precondition matrix of is applied to accelerate convergence [1]
We introduce the precondition weighted ratio �= ∈[0,1]to measure the
placement stage
??????
??????: the number of nets connecting cell ??????, ??????
??????the area of cell ??????
Placement-Stage-Aware Parameters Scheduling
Precondition weighted ratio �= ∈[0,1]
ISPD 2005 / adaptec1
0.95
0.5
0.05
�<0.05wirelength-dominated and cells are driven
to the position with minimum wirelength
0.05<�<0.95cells are spreading over the whole
map and the overlap ratio significantly decreases
�>0.95cells are forced to a final position with
minimum local penalty
Placement-Stage-Aware Parameters Scheduling
Precondition weighted ratio �= ∈[0,1]
To fully exploit the optimization space
ISPD 2005 / adaptec1
0.95
0.5
0.05
Extending the Framework via Neural Enhancement
[1] Z. Li, N. B. Kovachki, K. Azizzadenesheli, B. Liu,K. Bhattacharya, A. M. Stuart, and A. Anandkumar, “Fourier neural operator for parametric
partial differential equations,” in Proc. ICLR, 2021.
The architecture of the fourierneural operators [1]
How to solve a 2D PDE problem by deep learning?
Many PDEs can be solved by Fourier transform.
Image-to-image networks -> Solve PDE in spatial domain conv
2D Fourier-Neural-Operator (FNO) [1] -> Solve PDE in frequency domain conv
Extending the Framework via Neural Enhancement
Image-to-image networks -> Solve PDE in spatial domain conv
2D Fourier-Neural-Operator (FNO) [1] -> Solve PDE in frequency domain conv
[1] Z. Li, N. B. Kovachki, K. Azizzadenesheli, B. Liu,K. Bhattacharya, A. M. Stuart, and A. Anandkumar, “Fourier neural operator for parametric
partial differential equations,” in Proc. ICLR, 2021.
How to solve a 2D PDE problem by deep learning?
Electron Distribution??????-> 2D Density map �of placement
Electric Field ∇�
�,∇�
�-> moving force on x and y-axis
Density Map
Poisson'sEquation
Many PDEs can be solved by Fourier transform.
Electric Field
Extending the Framework via Neural Enhancement
Input ??????={�;�
�;�
�}
Density map �
�
��,�=
�
�
�
��,�=
�
�
�,�are the map sizes
: linear transform, : FFT, : IFFT
??????�: fully-connected layer, �: low-pass-filter
Input transform:
Output transform:
Relative L2 Loss:
Extending the Framework via Neural Enhancement
Model Training Data Collection
1.ISPD 2005 contest benchmarks with their respective macros
2.Standard cells are randomlygenerated at a starting position
3.Pushed cells all over the map with only the density objective �(??????)
4.The density map and electric fields are used as training data and labels
Why train the model in low-resolution data
1.The resolution of the input maps will not affect the convolution results
2.Low frequency components describe the global information
3.Improve the adaptability of the model and speedup inference
Extending the Framework via Neural Enhancement
How to apply the nn-predicted density gradient
Smooth function:
Total gradient:
Experimental Results
Validation on Contest Benchmarks
ISPD 2005 ISPD 2015
Experimental Results
Ablation Studies of the Operator-Level Optimization Techniques
Experimental Results
Neural-Enhanced Performance
Conclusions and Future Works
Conclusions
We develop Xplace, a new, fast and extensible GPU accelerated GP framework built
on top of PyTorch, to consider factors at operator-level optimization.
•Efficiency: Xplaceachieves around 3x speedup per GP iterwith better quality
compared to DREAMPlace
•Extensiblity: we plug into Xplacea novel Fourier neural network and illustrate a
possibility of adopting neural guidance in analytical global placement
Future Works
•Handling additional constraints in placement like routability and fence regions