1 Modern Floorplanning Based on Fast Simulated Annealing Tung-Chieh Chen* and Yao-Wen Chang* # Graduate Institute of Electronics Engineering* Department.

Slides:



Advertisements
Similar presentations
THERMAL-AWARE BUS-DRIVEN FLOORPLANNING PO-HSUN WU & TSUNG-YI HO Department of Computer Science and Information Engineering, National Cheng Kung University.
Advertisements

Neural and Evolutionary Computing - Lecture 4 1 Random Search Algorithms. Simulated Annealing Motivation Simple Random Search Algorithms Simulated Annealing.
An Effective Floorplanning Algorithm in Mixed Mode Placement Integrated with Rectilinear- Shaped Optimization for Soft Blocks Changqi Yang, Xianlong Hong,
Simulated Annealing Premchand Akella. Agenda Motivation The algorithm Its applications Examples Conclusion.
Linear Constraint Graph for Floorplan Optimization with Soft Blocks Jia Wang Electrical and Computer Engineering Illinois Institute of Technology Chicago,
X-Architecture Placement Based on Effective Wire Models Tung-Chieh Chen, Yi-Lin Chuang, and Yao-Wen Chang Graduate Institute of Electronics Engineering.
Meng-Kai Hsu, Sheng Chou, Tzu-Hen Lin, and Yao-Wen Chang Electronics Engineering, National Taiwan University Routability Driven Analytical Placement for.
A Size Scaling Approach for Mixed-size Placement Kalliopi Tsota, Cheng-Kok Koh, Venkataramanan Balakrishnan School of Electrical and Computer Engineering.
Paul Falkenstern and Yuan Xie Yao-Wen Chang Yu Wang Three-Dimensional Integrated Circuits (3D IC) Floorplan and Power/Ground Network Co-synthesis ASPDAC’10.
Coupling-Aware Length-Ratio- Matching Routing for Capacitor Arrays in Analog Integrated Circuits Kuan-Hsien Ho, Hung-Chih Ou, Yao-Wen Chang and Hui-Fang.
Consistent Placement of Macro-Blocks Using Floorplanning and Standard-Cell Placement Saurabh Adya Igor Markov (University of Michigan)
FastPlace: Efficient Analytical Placement using Cell Shifting, Iterative Local Refinement and a Hybrid Net Model FastPlace: Efficient Analytical Placement.
Early Days of Circuit Placement Martin D. F. Wong Department of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
Spie98-1 Evolutionary Algorithms, Simulated Annealing, and Tabu Search: A Comparative Study H. Youssef, S. M. Sait, H. Adiche
Routability-Driven Blockage-Aware Macro Placement Yi-Fang Chen, Chau-Chin Huang, Chien-Hsiung Chiou, Yao-Wen Chang, Chang-Jen Wang.
ISQED’2015: D. Seemuth, A. Davoodi, K. Morrow 1 Automatic Die Placement and Flexible I/O Assignment in 2.5D IC Design Daniel P. Seemuth Prof. Azadeh Davoodi.
Fixed-outline Floorplanning Through Better Local Search
NuCAD ACG - Adjacent Constraint Graph for General Floorplans Hai Zhou and Jia Wang ICCD 2004, San Jose October 11-13, 2004.
MAE 552 – Heuristic Optimization Lecture 6 February 6, 2002.
Floorplanning Professor Lei He
Generating Supply Voltage Islands In Core-based System-on-Chip Designs Final Presentation Steven Beigelmacher Gall Gotfried 04/26/2005.
Simulated Annealing 10/7/2005.
EDA (CS286.5b) Day 7 Placement (Simulated Annealing) Assignment #1 due Friday.
Processing Rate Optimization by Sequential System Floorplanning Jia Wang 1, Ping-Chih Wu 2, and Hai Zhou 1 1 Electrical Engineering & Computer Science.
VLSI Physical Design: From Graph Partitioning to Timing Closure Chapter 3: Chip Planning © KLMH Lienig 1 Modern Floorplanning Based on B*-Tree and Fast.
Chip Planning 1. Introduction Chip Planning:  Deals with large modules with −known areas −fixed/changeable shapes −(possibly fixed locations for some.
8/15/ VLSI Physical Design Automation Prof. David Pan Office: ACES Lecture 8. Floorplanning (2)
Metaheuristics The idea: search the solution space directly. No math models, only a set of algorithmic steps, iterative method. Find a feasible solution.
Elements of the Heuristic Approach
A Methodology for Interconnect Dimension Determination By: Jeff Cobb Rajesh Garg Sunil P Khatri Department of Electrical and Computer Engineering, Texas.
Mixed Non-Rectangular Block Packing for Non-Manhattan Layout Architectures M. Wu, H. Chen and J. Jou Department of EE, NCTU HsinChu, Taiwan ISQED 2011.
Escaping local optimas Accept nonimproving neighbors – Tabu search and simulated annealing Iterating with different initial solutions – Multistart local.
Simulated Annealing.
Pattern Selection based co-design of Floorplan and Power/Ground Network with Wiring Resource Optimization L. Li, Y. Ma, N. Xu, Y. Wang and X. Hong WuHan.
Are Floorplan Representations Important in Digital Design? H. H. Chan, S. N. Adya, I. L. Markov The University of Michigan.
10/7/ VLSI Physical Design Automation Prof. David Pan Office: ACES Lecture 6. Floorplanning (1)
TSV-Aware Analytical Placement for 3D IC Designs Meng-Kai Hsu, Yao-Wen Chang, and Valerity Balabanov GIEE and EE department of NTU DAC 2011.
Modern Floor-planning Based on B ∗ -Tree and Fast Simulated Annealing Paper by Chen T. C. and Cheng Y. W (2006) Presented by Gal Itzhak
Bus-Driven Floorplanning Hua Xiang*, Xiaoping Tang +, Martin D. F. Wong* * Univ. Of Illinois at Urbana-Champaign + Cadence Design Systems Inc.
Bus-Pin-Aware Bus-Driven Floorplanning B. Wu and T. Ho Department of Computer Science and Information Engineering NCKU GLSVLSI 2010.
Regularity-Constrained Floorplanning for Multi-Core Processors Xi Chen and Jiang Hu (Department of ECE Texas A&M University), Ning Xu (College of CST Wuhan.
Massachusetts Institute of Technology 1 L14 – Physical Design Spring 2007 Ajay Joshi.
A Faster Approximation Scheme for Timing Driven Minimum Cost Layer Assignment Shiyan Hu*, Zhuo Li**, and Charles J. Alpert** *Dept of ECE, Michigan Technological.
Deferred Decision Making Enabled Fixed- Outline Floorplanner Jackey Z. Yan and Chris Chu DAC 2008.
Dept. of Electrical and Computer Engineering The University of Texas at Austin E-Beam Lothography Stencil Planning and Optimization wit Overlapped Characters.
1. Placement of Digital Microfluidic Biochips Using the T-tree Formulation Ping-Hung Yuh 1, Chia-Lin Yang 1, and Yao-Wen Chang 2 1 Dept. of Computer Science.
1 Efficient Obstacle-Avoiding Rectilinear Steiner Tree Construction Chung-Wei Lin, Szu-Yu Chen, Chi-Feng Li, Yao-Wen Chang, Chia-Lin Yang National Taiwan.
A Memetic Algorithm for VLSI Floorplanning Maolin Tang, Member, IEEE, and Xin Yao, Fellow, IEEE IEEE TRANSACTIONS ON SYSTEMS, MAN, AND CYBERNETICS—PART.
Configurable Multi-product Floorplanning Qiang Ma, Martin D.F. Wong, Kai-Yuan Chao ASP-DAC 2010.
1 ε -Optimal Minimum-Delay/Area Zero-Skew Clock Tree Wire-Sizing in Pseudo-Polynomial Time Jeng-Liang Tsai Tsung-Hao Chen Charlie Chung-Ping Chen (National.
Rectlinear Block Packing Using the O-tree Representation Yingxin Pang Koen Lampaert Mindspeed Technologies Chung-Kuan Cheng University of California, San.
Solving the Maximum Cardinality Bin Packing Problem with a Weight Annealing-Based Algorithm Kok-Hua Loh University of Maryland Bruce Golden University.
Hsing-Chih Chang Chien Hung-Chih Ou Tung-Chieh Chen Ta-Yu Kuan Yao-Wen Chang Double Patterning Lithography-Aware Analog Placement.
A Stable Fixed-outline Floorplanning Method Song Chen and Takeshi Yoshimura Graduate School of IPS, Waseda University March, 2007.
Simultaneous Analog Placement and Routing with Current Flow and Current Density Considerations H.C. Ou, H.C.C. Chien and Y.W. Chang Electronics Engineering,
Routability-driven Floorplanning With Buffer Planning Chiu Wing Sham Evangeline F. Y. Young Department of Computer Science & Engineering The Chinese University.
By P.-H. Lin, H. Zhang, M.D.F. Wong, and Y.-W. Chang Presented by Lin Liu, Michigan Tech Based on “Thermal-Driven Analog Placement Considering Device Matching”
1 NTUplace: A Partitioning Based Placement Algorithm for Large-Scale Designs Tung-Chieh Chen 1, Tien-Chang Hsu 1, Zhe-Wei Jiang 1, and Yao-Wen Chang 1,2.
1 Twin Binary Sequences: A Non-Redundant Representation for General Non-Slicing Floorplan Evan Young Department of Computer Science and Engineering The.
High-Performance Global Routing with Fast Overflow Reduction Huang-Yu Chen, Chin-Hsiung Hsu, and Yao-Wen Chang National Taiwan University Taiwan.
An O(bn 2 ) Time Algorithm for Optimal Buffer Insertion with b Buffer Types Authors: Zhuo Li and Weiping Shi Presenter: Sunil Khatri Department of Electrical.
The Early Days of Automatic Floorplan Design
1 Double-Patterning Aware DSA Template Guided Cut Redistribution for Advanced 1-D Gridded Designs Zhi-Wen Lin and Yao-Wen Chang National Taiwan University.
Partial Reconfigurable Designs
Department of Computer Science and Engineering
VLSI Physical Design Automation
Sheqin Dong, Song Chen, Xianlong Hong EDA Lab., Tsinghua Univ. Beijing
EDA Lab., Tsinghua University
Boltzmann Machine (BM) (§6.4)
Floorplanning (Adapted from Prof. E. Young’s and Prof. Y
Presentation transcript:

1 Modern Floorplanning Based on Fast Simulated Annealing Tung-Chieh Chen* and Yao-Wen Chang* # Graduate Institute of Electronics Engineering* Department of Electrical Engineering # National Taiwan University, Taipei, Taiwan April 5, 2005

National Taiwan University 2 Outline ․ Introduction ․ Fast simulated annealing scheme ․ Fixed-outline floorplanning ․ Bus-driven floorplanning ․ Conclusion

National Taiwan University 3 Outline ․ Introduction ․ Fast simulated annealing scheme ․ Fixed-outline floorplanning ․ Bus-driven floorplanning ․ Conclusion

National Taiwan University 4 Introduction ․ Popular modern floorplanning constraints Fixed-die (fixed-outline) constraint Block positions and interconnect constraints ․ Two types of modern floorplanning problems Fixed-outline floorplanning (FOF) Bus-driven floorplanning (BDF) Need to consider the interconnect and block positions simultaneously. ․ Our floorplanner is based on the B*-tree floorplan representation and a fast three-stage simulated annealing scheme, called Fast-SA.

National Taiwan University 5 Previous Work ․ Fixed-outline floorplanning (FOF) Adya et al. (ICCD 2001) -- Parquet Present new moves to guide local search. Lin et al. (ASPDAC 2004) -- GFA Use evolutionary search. However, both success rates are not high enough when whitespace is small. ․ Bus-driven floorplanning (BDF) Rafiq et al. (ISPD 2002, ISCAS 2002) The bus is composed of wires connecting only two blocks. Not general for real bus designs. Xiang et al. (ICCAD 2004) General BDF allows a bus to connect multiple blocks. Use the sequences pair (SP) representation.

National Taiwan University 6 Our Contribution ․ Propose a fast three-stage simulated annealing scheme (Fast-SA). ․ For the fixed-outline floorplanning (FOF) Propose a new objective function and an adaptive Fast-SA. Obtain much higher success rates. ․ For the bus-driven floorplanning (BDF) Explore the feasibility conditions of the B*-tree with the bus constraints. Reduce 20% (50%) dead space on average for the floorplanning with hard (soft) blocks, compared with the most recent work by Xiang et al.

National Taiwan University 7 B*-Tree Floorplan Representation ․ Chang et al., “B*-tree: A new representation for non- slicing floorplans,” DAC-2k. Given a B*-tree, the legal floorplan can be obtained in amortized linear time. Left child: the lowest, adjacent block on the right (x j = x i + w i ). Right child: the first block above, with the same x-coordinate (x j = x i ). n0n0 n7n7 n8n8 n9n9 n1n1 n2n2 n3n3 n4n4 n5n5 n6n6 A compacted floorplan The corresponding B*-tree b0b0 b7b7 b8b8 b9b9 b1b1 b2b2 b3b3 b6b6 b5b5 b4b4 (x 0, y 0 ) x 1 = x 0 w0w0 x 7 = x 0 + w 0

National Taiwan University 8 Outline ․ Introduction ․ Fast simulated annealing scheme ․ Fixed-outline floorplanning ․ Bus-driven floorplanning ․ Conclusion

National Taiwan University 9 Simulated Annealing (SA) Using B*-trees ․ Non-zero probability for up-hill climbing: p = min{1, e -ΔC/T } ․ Perturbations (neighboring solutions) Op1: Rotate a block. Op2: Move a node/block to another place. Op3: Swap two nodes/blocks. Op4: Resize a soft block. ․ The cost function is based on problem requirements. (fixed-outline constraint, bus constraint, etc.)

National Taiwan University 10 Simulated Annealing Schedule ․ Classical annealing schedule Classical temperature updating function, λ is set to a fixed value (0.85 as recommended by most previous work) T new = λT old, 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.

National Taiwan University 11 Fast Simulated Annealing (1/2) ․ Reduce the number of “up-hill” moves in the beginning ․ Consists of three stages The high-temperature random search stage The pseudo-greedy local search stage The hill-climbing search stage ․ Comparisons for the temperature vs. search time: Time Temperature Classical SA TimberWolf SA Fast-SA Time III III Time (a) (b) (c) S Cost State (Solution space) local optima global optimum Probability for up-hill climbing: p = min{1, e -ΔC/T }

National Taiwan University 12 Fast Simulated Annealing (2/2) ․ Temperature update ․ If is large, the temperature decreases slowly. ․ If is small, the temperature decreases quickly. The temperature for n th iteration Average uphill cost Initial acceptance rate Average cost change since the SA started User-specified constants P k,c

National Taiwan University 13 Convergence and Stability for Fast-SA ․ Classical SA TimberWolf SA Fast-SA, k=1 (no greedy local search) Fast-SA, k=7 ․ Ran the circuit n100 for 10 times. ․ Fast-SA has better convergence speed than TimberWolf SA and classical SA. Classical SATimberWolf SA Fast SA (no greedy local search) Fast SA

National Taiwan University 14 Outline ․ Introduction ․ Fast simulated annealing scheme ․ Fixed-outline floorplanning ․ Bus-driven floorplanning ․ Conclusion

National Taiwan University 15 Fixed-Outline Constraints ․ Two user-specified parameters: Γ: maximum white-space fraction, and R*: desired aspect ratio (height/width) ․ The outline (height H* and width W*) is defined by: ․ Use the same formulation as Adya et al. (ICCD-2001). Γ =0.15 H* W* R*=2 H* W* R*=1 Γ =0.50

National Taiwan University 16 Cost Function for Fixed-Outline Floorplanning ․ Cost for a floorplan F A Chip area Area weight W Wirelength Wirelength weight R* Desired aspect ratio R Current floorplan aspect ratio Chip area WirelengthAspect ratio penalty

National Taiwan University 17 Adaptive Simulated Annealing ․ Best aspect ratio of the floorplan in the fixed outline is not the same as that of the outline. ․ Shall decrease the weight of aspect ratio penalty to concentrate on the floorplan wirelenth/area optimization. An adaptive method to control the weights in the cost function is used according to n most recent floorplans found. The more feasible floorplans, the less aspect ratio penalty. (a) (b) Decrease aspect ratio penalty

National Taiwan University 18 Exp: Fixed-Outline Floorplanning (1/2) ․ Success rate vs. aspect ratio on circuit n100 n100, Γ=10% Parquet-2: SP (TVLSI-2003) GFA: NPE (ASPDAC-2004) Ours: B*-tree Avg. success rate16.6%30.3%99.7% Avg. dead space7.32%6.26%5.79% Avg. dead space ratio Avg. runtime (sec) Avg. runtime ratio Γ =15% Γ =10% ․ On a Pentium 4 1.6GHz PC

National Taiwan University 19 Exp: Fixed-Outline Floorplanning (2/2) ․ Wirelength optimization under the fixed-outline constraint. ․ Obtain 20% less wirelength on average, reduce 55% runtime on average, compared to Parquet. Circuit Aspect Ratio R * Parquet-2.1: SPOurs: B*-tree Wire (mm)Time (sec)Wire (mm)Time (sec) ami Average ami Average Comparison ․ On a Pentium 4 1.6GHz PC

National Taiwan University 20 Fixed-Outline Floorplanning Results Circuit: n100 Circuit: ami49

National Taiwan University 21 Outline ․ Introduction ․ Fast simulated annealing scheme ․ Fixed-outline floorplanning ․ Bus-driven floorplanning (BDF) ․ Conclusion

National Taiwan University 22 BDF Problem Formulation ․ Given n rectangular macro blocks B = { b i | i = 1, …, n } and m buses U = { u i | i = 1, …, m }, each bus u i has a width t i and goes through a set of blocks B i. Decide the positions of macro blocks and buses, and bus u i goes through all of its blocks. Minimize the chip/bus area. No overlap between any two blocks or between any two horizontal (vertical) buses. A feasible horizontal bus u =. y max = y c + h c y min = y b y max - y min ≥ t

National Taiwan University 23 B*-trees Properties for Bus Constraints (1/4) ․ Left child The lowest, adjacent block on the right ( x j = x i + w i ) Property 1: In a B*-tree, the nodes in a left-skewed sub- tree may satisfy a horizontal bus constraint. b0b0 b7b7 b8b8 b9b9 b1b1 b2b2 b3b3 b6b6 b5b5 b4b4 n0n0 n7n7 n8n8 n9n9 n1n1 n2n2 n3n3 n4n4 n5n5 n6n6

National Taiwan University 24 B*-trees Properties for Bus Constraints (2/4) Property 2: Inserting dummy blocks of appropriate heights, we can guarantee a horizontal bus with blocks whose corresponding B*-tree nodes are in a left- skewed sub-tree

National Taiwan University 25 B*-trees Properties for Bus Constraints (3/4) ․ The height of the dummy block D i : ․ An example of inserting dummy blocks to satisfy a horizontal bus.

National Taiwan University 26 B*-trees Properties for Bus Constraints (4/4) ․ Right child The first block above, with the same x-coordinate ( x j = x i ). Property 3: In a B*-tree, the nodes in a right-skewed sub-tree can guarantee the feasibility of a vertical bus.

National Taiwan University 27 Infeasible Twisted-Bus Structure ․ Consider two buses simultaneously, we cannot always fix the horizontal bus constraint by inserting dummy blocks. ․ Should discard such a tree configuration. u 1 = {b 0, b 3 } u 2 = {b 2, b 6 }

National Taiwan University 28 Bus-Overlapping ․ Use dummy blocks to avoid bus-overlapping while considering multiple buses. u 1 = {b 0, b 4 } u 2 = {b 2, b 3 } u 1 = {b 0, b 4 } u 2 = {b 2, b 3 }

National Taiwan University 29 Our BDF Algorithm (1/2) ․ Use simulated annealing to search for a desired solution. Cost of a floorplan F, buses U: A chip area B bus area M number of unassigned buses

National Taiwan University 30 Our BDF Algorithm (2/2) Initialize floorplan Perturb and pack “Twisted-bus structure” exists? Report the best floorplan Compute floorplan cost (quality) Simulated annealing iterations Adjust heights of dummy blocks Pack and decide bus location yes no Cooling down

National Taiwan University 31 Soft Macro Block Adjustment ․ Key: Line up with adjacent blocks Each soft block has four candidates for the block dimensions. ․ Advantage: fast and reasonably effective ․ Similar idea by Chi et al., Chung Yuan Journal, b2b2 b1b1 b2b2 b0b0 b4b4 b3b3 b5b5 L 3 R 3 T3B3T3B3 b0b0 b1b1 b4b4 b3b3 b5b5 (a) (b) xx yy R3R3

National Taiwan University 32 Exp: Bus-Driven Floorplanning Block typeHard Macro BlocksSoft Macro Blocks Circuits Block # Bus # SP: Xiang et al. (ICCAD 2003) B*-tree: Ours SP: Xiang et al. (ICCAD 2003) B*-tree: Ours Time (sec) Dead space Time (sec) Dead space Time (sec) Dead space Time (sec) Dead space apte %81.59%120.72%30.02% xerox %53.85%130.95%60.10% hp %204.47%280.62%110.03% ami %195.69%620.94%350.33% ami %223.87%861.27%350.73% ami %285.34% %650.51% ami %435.45% %900.67% ami %664.74% % % Average %264.38% %470.41% *SP: Hua Xiang, Xiaoping Tang, and Martin D.F. Wong, “Bus-driven floorplanning”, ICCAD The platform of SP is Intel Xeon 2.4GHz. ․ MCNC benchmark on Pentium 4 2.8GHz. Obtain 20% (55%) less dead space on average for hard (soft) macro blocks.

National Taiwan University 33 BDF Result ․ MCNC ami49-3 with soft block adjustment. ․ It has 49 macro blocks and 15 buses.

National Taiwan University 34 Outline ․ Introduction ․ Fast simulated annealing scheme ․ Fixed-outline floorplanning ․ Bus-driven floorplanning ․ Conclusion

National Taiwan University 35 Conclusion ․ Have proposed algorithms for the modern floorplanning problems with fixed-outline constraints and bus-constraints based on the new Fast-SA scheme. ․ Have shown Fast-SA leads to faster and stabler convergence to desired floorplan solutions. ․ Have shown the efficiency and effectiveness of our floorplanning algorithms for fixed- outline/bus-driven floorplanning.

National Taiwan University 36 Thank you for your attention! B*-tree 2005 will be available soon at B*-tree 1.0 (year 2000) + new perturbations + Fast-SA