Professional Documents
Culture Documents
1
Outline
․Introduction
․Fast simulated annealing scheme
․Fixed-outline floorplanning
․Bus-driven floorplanning
․Conclusion
b5 b6
n7 n1
b9
b1 b3
b4
x1 = x 0 b2 n8 n2 n5
b8 n9 n3 n6
b0
b7 n4
(x0, y0)
w0 x 7 = x 0 + w0
End
National Taiwan University 9
Simulated Annealing Schedule
․ Classical annealing schedule
Classical temperature updating function, λ is set to
a fixed value (0.85 as recommended by most
previous work)
Tnew = λTold, 0 < λ< 1
․ TimberWolf annealing schedule (Sechen and
Sangiovanni-Vincentelli, DAC-86)
Increase λ gradually from its lowest value (0.8) to
its highest value (approximately 0.95) and then
gradually decreases λ back to its lowest value.
III
Probability for up-hill
I II
e
Temperatur
climbing:
p = min{1, e-ΔC/T}
W*
W* 15
National Taiwan University
Cost Function for Fixed-Outline Floorplanning
․Cost for a floorplan F
( F ) A W (1 )( R * R) 2
A Chip area
Area weight
W Wirelength
Wirelength weight
R* Desired aspect ratio
R Current floorplan aspect ratio
60 Parquet-2
40 Ours 40
GFA
20
Γ=15%
20
0 0
1 1.5 2 2.5 3 3.5 4
1 1.5 2 2.5 3 3.5 4
Aspect Ratio
Aspect Ratio
Circuit: ami49
Circuit: n100
n0
b5 b6
n7 n1
b9
b1 b3
b4
b2 n8 n2 n5
b8 n9 n3 n6
b0
b7 n4
b3 b3
b1 b1 b4
b2 b4 b2
D4
D2
x dummy blocks x
(a) (b)
(a) (b)
National Taiwan University 25
B*-trees Properties for Bus Constraints (4/4)
․ Right child
The first block above, with the same x-coordinate (xj = xi).
Property 3: In a B*-tree, the nodes in a right-skewed
sub-tree can guarantee the feasibility of a vertical bus.
y
n0
b5
n1 n3 b4
b3
n2 n4
b2
n5 b0 b1 x
(a) (b)
(a) (b)
n0 y
n1
b3 u 1 = {b 0 , b 4 }
D2 n3 b4 b2
u 2 = {b 2 , b 3 }
n2 n4 b0 b1 D2
(c) (d)
National Taiwan University 28
Our BDF Algorithm (1/2)
․Use simulated annealing to search for a desired
solution.
Cost of a floorplan F, buses U:
( F , U ) A B M
A chip area
B bus area
M number of unassigned buses
dimensions.
․Advantage: fast and reasonably effective
․Similar idea by Chi et al., Chung Yuan Journal, 2003.
y y
T3
b5
b4 b4 b5
b3 R3 b3
B3
b0 b0
b1 b2 b1 b2
x x
L3 R3
(a) (b)
National Taiwan University 31
Exp: Bus-Driven Floorplanning
․ MCNC benchmark on Pentium 4 2.8GHz. Obtain 20% (55%) less
dead space on average for hard (soft) macro blocks.
Block type Hard Macro Blocks Soft Macro Blocks
SP: Xiang et
SP: Xiang et al.
B*-tree: Ours al. B*-tree: Ours
Block Bus (ICCAD 2003)
Circuits (ICCAD 2003)
# #
Time Dead Time Dead Time Dead Time Dead
(sec) space (sec) space (sec) space (sec) space
apte 9 5 11 4.11% 8 1.59% 12 0.72% 3 0.02%
xerox 10 6 12 3.88% 5 3.85% 13 0.95% 6 0.10%
hp 11 14 28 5.02% 20 4.47% 28 0.62% 11 0.03%
ami33-1 33 8 61 6.02% 19 5.69% 62 0.94% 35 0.33%
ami33-2 33 18 81 6.10% 22 3.87% 86 1.27% 35 0.73%
ami49-1 49 9 98 5.42% 28 5.34% 101 0.85% 65 0.51%
ami49-2 49 12 278 6.09% 43 5.45% 281 0.84% 90 0.67%
ami49-3 49 15 265 7.40% 66 4.74% 268 1.09% 109 0.92%
Average 104 5.51% 26 4.38% 106 0.91% 47 0.41%
*SP: Hua Xiang, Xiaoping Tang, and Martin D.F. Wong, “Bus-driven floorplanning”, ICCAD 2003.
The platform of SP is Intel Xeon 2.4GHz.
National Taiwan University 32
BDF Result
․ It has 49 macro
blocks and 15 buses.