1
Analytical Mixed-Cell-Height Legalization Considering Average and Maximum Movement Minimization
1Minnan Normal University 2Fuzhou University 3National Taiwan University
Movement Minimization Xingquan Li 1 , Jianli Chen 2 , Wenxing Zhu 2 , - - PowerPoint PPT Presentation
Analytical Mixed-Cell-Height Legalization Considering Average and Maximum Movement Minimization Xingquan Li 1 , Jianli Chen 2 , Wenxing Zhu 2 , and Yao-Wen Chang 3 1 Minnan Normal University 2 Fuzhou University 3 National Taiwan University
1
1Minnan Normal University 2Fuzhou University 3National Taiwan University
2
3
⎯ 1) Chip region ⎯ 2) No cell overlaps ⎯ 3) Placement sites on rows ⎯ 4) Power-rail alignment
4
1 2 3 1 2 3 1 2 3
5
⎯ Shifting a cell may cause cell overlaps in other rows ⎯ Large cell total movement or maximum movement ⎯ Cell may be placed outside the placement region
1 3 4 8 6 5 2 7
1 3 4 8 6 5 2 7
6
⎯ Analyze and remodel the objective function and constraints
⎯ Relax discrete constraints to linear ones
7
8
0, 𝑧𝑗 0), ∀ 𝑗, 1 ≤ 𝑗 ≤ 𝑜, and each even-row-
⎯ 1) cells must be non-overlapping ⎯ 2) cells must be placed inside the placement region ⎯ 3) cells must be located at placement sites on rows ⎯ 4) cells must be aligned to correct power rails ⎯ 5) others, e.g., pin access, pin short, edge spacing
9
10
11
12
13
⎯ If 𝜆 ≫1, it focuses on minimizing the maximum cell movement; ⎯ if 𝜆 = −1, it focuses on minimizing the average cell movement.
14
1 2 4 5 3 8 6 7 1 2 4 5 3 8 6 7
15
16
⎯ Bin size: 1 𝑇𝑗𝑢𝑓ℎ × 20 𝑇𝑗𝑢𝑓𝑥 ⎯ Density 𝑒𝑗,𝑘 of bin 𝑐𝑗,𝑘 : (the total width of cells in 𝑐𝑗,𝑘) / (20 𝑇𝑗𝑢𝑓𝑥)
1 2 4 5 3 8 6 7 1.1 0.6 0.8 0.5 1.2 0.4 1.5 0.4 1 2 3 1
17
1 2 4 5 3 8 6 7 1.1 0.6 0.8 0.5 1.2
1.0
0.9 0.4 1 2 3 1
18
⎯ If 𝑦𝑗
0 ≤ 𝑦𝑘 0, then 𝑦𝑗 + 𝑥𝑗 ≤ 𝑦𝑘
⎯ If 𝑨𝑗𝑘 = 1, i.e., |𝑧𝑗 − 𝑧𝑘 | = 0, then the vertical overlapping length is 𝑆ℎ; ⎯ if 𝑨𝑗𝑘 = 0, i.e., |𝑧𝑗 − 𝑧𝑘 | ≥ 𝑆ℎ, then the vertical overlapping length is 0
19
20
⎯ All 𝑦𝑗 should be not less than 0, and all 𝑦𝑗 + 𝑥𝑗 should be not greater
⎯ A multiple-row-height cell 𝑑𝑚 is split into single-row-height sub-cells
⎯ The 𝑦-coordinates of these sub-cells should be equal, i.e., 𝑦𝑚1 =
⎯ The 𝑧-coordinates of these sub-cells should satisfy: 𝑧𝑚1 + (𝑠 −
21
22
𝑠𝑗
𝛽𝑗𝑦𝑗 𝑠𝑗
𝛽𝑗𝑧𝑗 𝑠𝑗−𝑜 (i=n+1,n+2..2n)
𝛾𝑗𝑘(𝑥𝑗+𝑥𝑘) (𝑙𝑗+𝑙𝑘)𝑆ℎ , and − 𝛾𝑗𝑘(𝑥𝑗+𝑥𝑘) (𝑙𝑗+𝑙𝑘)𝑆ℎ in each row
23
24
25
⎯ LCP gives the optimal solution of the QP
⎯ Given: a large, sparse & real matrix 𝐶 = (𝑐𝑗𝑘)𝑜×𝑜,
⎯ Goal: find a pair of real vectors 𝑥 and 𝑨 ∈ 𝑆𝑜 s. t.
[1]
[1] J. Chen, Z. Zhu, W. Zhu, and Y.-W. Chang. Toward optimal legalization for mixed-cell-height circuit designs. In Proceedings of ACM/IEEE Design Automation Conference, 2017.
26
27
28
29
⚫
⎯
⎯
⎯
⎯
⚫
⎯
⚫
⎯
⎯
⎯
⚫
⎯
30
⚫
31
32
⚫
⚫
33
⚫
⚫
34
⚫
35
⚫
36
37
38
⎯ Average cell movement, Maximum cell movement
⎯ Spreading cells continuously in both the horizontal and vertical directions
39