Title: EE382V Fall 2006 VLSI Physical Design Automation
1EE382V Fall 2006VLSI Physical Design Automation
Lecture 5. Circuit Partitioning (III) Spectral
and Flow
- Prof. David Pan
- dpan_at_ece.utexas.edu
- Office ACES 5.434
2Recap of what we have learned
- KL Algorithm
- FM algorithm
- Variation and Extension
- Multilevel partition (hMetis)
- Simulated Annealing
3Partitioning Algorithms
- Two elegant partition algorithms
- although not the fastest
- Learn how to formulate the problem!
- gt Key to VLSI CAD
- (1) Spectral based partitioning algorithms
- (2) Max-flow based partition algorithm
4Spectral Based Partitioning Algorithms
5Eigenvalues and Eigenvectors
If Ax?x then ? is an eigenvalue of A x
is an eignevector of A w.r.t. ? (note that Kx is
also a eigenvector, for any constant K).
6A Basic Property
7Basic Idea of Laplacian Spectrum Based Graph
Partitioning
- Given a bisection ( X, X ), define a
partitioning vector - clearly, x ? 1, x ? 0 ( 1 (1, 1, , 1 ), 0
(0, 0, , 0)) - For a partition vector x
- Let S x x ? 1 and x ? 0. Finding best
partition vector x such that the total edge cut
C(X,X) is minimum is relaxed to finding x in S
such that is minimum - Linear placement interpretation
- minimize total squared wirelength
ÃŽ
-
ì
1
X
i
.
s.t
)
,
,
,
(
x
x
x
x
x
Ã
L
2
1
i
n
ÃŽ
'
1
X
i
î
4 C(X, X)
8Property of Laplacian Matrix
Ã¥
T
( 1 )
x
x
Q
Qx
x
i
ij
j
-
T
T
Ax
x
Dx
x
Ã¥
Ã¥
-
2
x
x
A
x
d
j
i
ij
i
i
Ã¥
Ã¥
-
2
x
aij x
x
d
2
j
i
i
i
ÃŽ
E
j
i
)
,
(
Ã¥
-
2
x
x
)
(
squared wirelength
j
i
ÃŽ
E
j
i
)
,
(
If x is a partition vector
4 C(X, X)
Therefore, we want to minimize
T
Qx
x
9Property of Laplacian Matrix (Contd)
( 2 ) Q is symmetric and semi-definite, i.e. (i)
(ii) all eigenvalues of Q are ?0 ( 3 ) The
smallest eigenvalue of Q is 0
corresponding eigenvector of Q is x0 (1, 1, , 1
) (not interesting, all modules overlap
and x0?S ) ( 4 ) According to Courant-Fischer
minimax principle the 2nd smallest
eigenvalue satisfies
10Results on Spectral Based Graph Partitioning
- Min bisection cost c(x, x) ? n??/4
- Min ratio-cut cost c(x,x)/x?x ? ?/n
- The second smallest eigenvalue gives the best
linear placement - Compute the best bisection or ratio-cut
- based on the second smallest eigenvector
11Computing the Eigenvector
- Only need one eigenvector
- (the second smallest one)
- Q is symmetric and sparse
- Use block Lanczos Algorithm
12Interpreting the Eigenvector
13Experiments on Special Graphs
- GBUI(2n, d, b) Bui-Chaudhurl-Leighton 1987
2n nodes d-regular min-bisection?b
n
n
14Some Applications of Laplacian Spectrum
- Placement and floorplan
- Hall 1970
- Otten 1982
- Frankle-Karp 1986
- Tsay-Kuh 1986
- Bisection lower bound and computation
- Donath-Hoffman 1973
- Barnes 1982
- Boppana 1987
- Ratio-cut lower bound and computation
- Hagen-Kahng 1991
- Cong-Hagen-Kahng 1992