ECE 6133 Project Overviewlimsk.ece.gatech.edu/course/ece6133/6133-project-intro-2021.pdf · ECE...

18
ECE 6133 Project Overview Spring 2021 Sung Kyu Lim [email protected] Georgia Institute of Technology

Transcript of ECE 6133 Project Overviewlimsk.ece.gatech.edu/course/ece6133/6133-project-intro-2021.pdf · ECE...

Page 1: ECE 6133 Project Overviewlimsk.ece.gatech.edu/course/ece6133/6133-project-intro-2021.pdf · ECE 6133 Project Overview Spring 2021 Sung Kyu Lim limsk@ece.gatech.edu. Georgia Institute

ECE 6133 Project OverviewSpring 2021

Sung Kyu [email protected] Institute of Technology

Page 2: ECE 6133 Project Overviewlimsk.ece.gatech.edu/course/ece6133/6133-project-intro-2021.pdf · ECE 6133 Project Overview Spring 2021 Sung Kyu Lim limsk@ece.gatech.edu. Georgia Institute

2

• Circuit partitioning using matrices and eigenvectors

1/4. EIG Partitioning

Laplacian matrix L

2nd smallest eigenvector of Lgives linear placement

Page 3: ECE 6133 Project Overviewlimsk.ece.gatech.edu/course/ece6133/6133-project-intro-2021.pdf · ECE 6133 Project Overview Spring 2021 Sung Kyu Lim limsk@ece.gatech.edu. Georgia Institute

3

• IBM18 benchmark– 210,613 cells

– Laplacian matrix fill rate: 0.01%!

– 178 GB of memory required to store in a normal matrix

– Sparse matrix can bring that down to 2.5 MB

Laplacian Sparsity

Page 4: ECE 6133 Project Overviewlimsk.ece.gatech.edu/course/ece6133/6133-project-intro-2021.pdf · ECE 6133 Project Overview Spring 2021 Sung Kyu Lim limsk@ece.gatech.edu. Georgia Institute

4Cutsize vs. Ratio Cut Landscape

Page 5: ECE 6133 Project Overviewlimsk.ece.gatech.edu/course/ece6133/6133-project-intro-2021.pdf · ECE 6133 Project Overview Spring 2021 Sung Kyu Lim limsk@ece.gatech.edu. Georgia Institute

5

• Use linear equations to formulate floorplaning

2/4. ILP Floorplanning

…..

Page 6: ECE 6133 Project Overviewlimsk.ece.gatech.edu/course/ece6133/6133-project-intro-2021.pdf · ECE 6133 Project Overview Spring 2021 Sung Kyu Lim limsk@ece.gatech.edu. Georgia Institute

6

• Off-the-shelf solver gives:

Obtaining ILP Solutions

Page 7: ECE 6133 Project Overviewlimsk.ece.gatech.edu/course/ece6133/6133-project-intro-2021.pdf · ECE 6133 Project Overview Spring 2021 Sung Kyu Lim limsk@ece.gatech.edu. Georgia Institute

7

• Can size soft modules– Linear approximation used: overlap (or whitespace) may occur

Handling Hard/Soft Modules

floorplan with overlapred: soft, yellow: rotated using “super blocks”

Page 8: ECE 6133 Project Overviewlimsk.ece.gatech.edu/course/ece6133/6133-project-intro-2021.pdf · ECE 6133 Project Overview Spring 2021 Sung Kyu Lim limsk@ece.gatech.edu. Georgia Institute

8

• Steiner points– Reduce the overall wirelength– Finding Steiner points is NP-hard….– So, we rely on heuristics

Recti-linear Routing with Steiner Points

Page 9: ECE 6133 Project Overviewlimsk.ece.gatech.edu/course/ece6133/6133-project-intro-2021.pdf · ECE 6133 Project Overview Spring 2021 Sung Kyu Lim limsk@ece.gatech.edu. Georgia Institute

9

• Strategy: build separable MST and improve with L-edges

3/4. L-Shaped Steiner Routing

upper upper

lower lower upper

lower lower/upper upper

Page 10: ECE 6133 Project Overviewlimsk.ece.gatech.edu/course/ece6133/6133-project-intro-2021.pdf · ECE 6133 Project Overview Spring 2021 Sung Kyu Lim limsk@ece.gatech.edu. Georgia Institute

10

• Strategy: build MST and add single Steiner point at a time

3/4. Kahng/Robins Routing

Page 11: ECE 6133 Project Overviewlimsk.ece.gatech.edu/course/ece6133/6133-project-intro-2021.pdf · ECE 6133 Project Overview Spring 2021 Sung Kyu Lim limsk@ece.gatech.edu. Georgia Institute

11Sample Routing Result

initial MST(WL = 242)

final RST (WL = 218)22 Steiner points added

Took 3 min

Page 12: ECE 6133 Project Overviewlimsk.ece.gatech.edu/course/ece6133/6133-project-intro-2021.pdf · ECE 6133 Project Overview Spring 2021 Sung Kyu Lim limsk@ece.gatech.edu. Georgia Institute

12

• Cost minimization problem– How do we ship the units so that the overall cost is minimized?– Assume the capacity of each edge is 5 units

Multi-Commodity Flow (MCF) Problem

Page 13: ECE 6133 Project Overviewlimsk.ece.gatech.edu/course/ece6133/6133-project-intro-2021.pdf · ECE 6133 Project Overview Spring 2021 Sung Kyu Lim limsk@ece.gatech.edu. Georgia Institute

13

• Set up ILP for MCF routing– Capacity of each edge in G is 2– Each edge in G becomes a pair of bi-directional arcs in F– n1 = {a,l}, n2 = {i,c}, n3 = {d,f}, n4 = {k,d}, n5 = {g,h}, n6 = {b,k}

MCF-based Multi-net Routing

Page 14: ECE 6133 Project Overviewlimsk.ece.gatech.edu/course/ece6133/6133-project-intro-2021.pdf · ECE 6133 Project Overview Spring 2021 Sung Kyu Lim limsk@ece.gatech.edu. Georgia Institute

14ILP Formulation

objective function

demand constraints

capacity constraints

Page 15: ECE 6133 Project Overviewlimsk.ece.gatech.edu/course/ece6133/6133-project-intro-2021.pdf · ECE 6133 Project Overview Spring 2021 Sung Kyu Lim limsk@ece.gatech.edu. Georgia Institute

15

• Using off-the-shelf ILP solver

ILP-based Routing Solution

Page 16: ECE 6133 Project Overviewlimsk.ece.gatech.edu/course/ece6133/6133-project-intro-2021.pdf · ECE 6133 Project Overview Spring 2021 Sung Kyu Lim limsk@ece.gatech.edu. Georgia Institute

16

• Based on shortest paths and rip-up-and-reroute

Heuristic: MM Algorithm

Page 17: ECE 6133 Project Overviewlimsk.ece.gatech.edu/course/ece6133/6133-project-intro-2021.pdf · ECE 6133 Project Overview Spring 2021 Sung Kyu Lim limsk@ece.gatech.edu. Georgia Institute

17Sample Routing Results

350 net benchmarkusage 1:1849 edgesusage 2:2468 edges

200 net benchmarkusage 1:1298 edgesusage 2: 1412 edges

Page 18: ECE 6133 Project Overviewlimsk.ece.gatech.edu/course/ece6133/6133-project-intro-2021.pdf · ECE 6133 Project Overview Spring 2021 Sung Kyu Lim limsk@ece.gatech.edu. Georgia Institute

18

• Congestion maps– Thickness and color intensity indicate routing congestion

Sample Routing Results (cont)

30 nets 80 nets 200 nets