Presentation is loading. Please wait.

Presentation is loading. Please wait.

A Clustering Utility Based Approach for S. Areibi, M. Thompson, A. Vannelli uoguelph.ca September 2001 School of Engineering ASIC Design 14th.

Similar presentations


Presentation on theme: "A Clustering Utility Based Approach for S. Areibi, M. Thompson, A. Vannelli uoguelph.ca September 2001 School of Engineering ASIC Design 14th."— Presentation transcript:

1 A Clustering Utility Based Approach for S. Areibi, M. Thompson, A. Vannelli Sareibi @ uoguelph.ca September 2001 School of Engineering ASIC Design 14th ASIC/SOC 2001

2 Outline This paper introduces several approaches for circuit clustering that are used for hierarchical Standard Cell VLSI Placement problem. Introduction (VLSI Design Cycle). Motivation. Circuit Layout (Placement Problem) Clustering Based Standard Cell Placement.  Weighted Hyper-edge Clustering.  De-Clustering.  Top Level Improvement. Numerical Testing and Comparison. Conclusions & Future Work. 14th ASIC/SOC 2001

3 Introduction Design Automation: is the task of automatically designing a circuit using software tools. The ultimate goal : is to fully automate the tasks of designing, verifying, and testing a circuit. The VLSI design process is a complicated task, and the only feasible approach to solving the VLSI design problem is a divide-and- conquer strategy. One of these tasks is physical design, which is still incredibly complex. Not surprisingly, this complexity is handled by dividing the physical design task into more tractable sub-tasks. One sub-task within physical design is placement, in which technology-mapped logic components are arranged on a chip. 14th ASIC/SOC 2001

4 Motivation As we move to deep sub-micron designs below 0.18 microns, the delay of a circuit, as well as power dissipation and area, is dominated by interconnections between logical elements (i.e. transistors). To deal with the complexity of millions of components and to achieve a turn around time in a couple of months, VLSI design tools must not only be computationally fast but also generate optimal layouts. Since the delay of a circuit cannot be ignored, work must still be done to reduce the area of placement and routing of very high performance designs. There is a great need for DA tools that operate in a reasonable amount of time, while still arriving at “reasonably good’’ solutions. 14th ASIC/SOC 2001

5 Phases of VLSI System Design 14th ASIC/SOC 2001

6 Physical Design Process Physical design is a complex process, therefore, it is broken down into various sub-steps. 14th ASIC/SOC 2001

7 Layout Styles The VLSI design process includes logical and physical designs of a circuit. The logical design of a circuit is independent of an implementation, while the physical design is inherently linked to the layout style of the target technology that will implement the desired behavior. The layout style dictates many design constraints for physical design, since it must be possible to fabricate the physical design in the desired technology. Different styles are used to alter the design style to achieve some quality gain. 14th ASIC/SOC 2001

8 Cont.. Layout Styles Different technologies that can implement a VLSI design. 14th ASIC/SOC 2001

9 Circuit Placement Description: Given a set of modules and nets, assign the modules to legal positions within a placement area such that the interconnection cost is minimized. The set of modules in the network is denoted by M and the set of nets by N. The modules in a net n  N is denoted by M n and the set of nets connected to a module m  M is denoted by N m. In the standard-cell layout, cell modules are placed within R parallel rows in the chip core area such that no cells in a row are overlapping, and a maximum row length is not exceeded. The objective in the VLSI circuit placement is to minimize the total wire-length  (x,y) =  W ij [(x i - x j ) 2 + (y i - y j ) 2 ] 14th ASIC/SOC 2001

10 Interconnection Cost/HPWL The cost (HPWL) is given by C l (x) =  i=1..N (H i + V i ) where N is the number of nets, H i and V i are the span of the net i in the horizontal and vertical direction separately. 14th ASIC/SOC 2001

11 Overlap Penalty The cost C O (x) is the overlap penalty function, and given by: C O (x) = p O  I<j O(i, j) Where p O is a penalty parameter. The function O(i, j) returns the total amount of overlap area between cells i and j. Certainly, by checking every other cell on the same row as cell $i$ it can be determined which of these cells overlap with cell i. However, the complexity is O(M i ), where M i is the number of cells in the row. The time spent doing overlap computation can be substantial. Another way to compute the cost C O (x) is to search toward W max (maximum cell width) left away from cell i and toward W max right away from cell $i$, all other cells which overlap with cell i can be found. 14th ASIC/SOC 2001

12 Row Length Penalty The cost C r (x) is the row length penalty function. It is given by: C r (x) = p r  I=1..R || L ai - L di || Here p r is a row penalty parameter, R is the number Of rows, L ai and L di are the actual and desired row length for row i. p r = 5 is approximately the smallest value which would yield uniform row lengths without placing excessively emphasis on C r (x) in the objective function. 14th ASIC/SOC 2001

13 Approaches for Solving Placement The most basic division among approaches is between exact solution methods and approximation methods (Heuristics). 14th ASIC/SOC 2001

14 Advantages/Disadvantages of Approaches The first approach to a placement problem is to solve it in a top-down fashion, by considering globally the best positions for cells in a placement. The more conventional approach is to use a bottom-up, iterative improvement approach, which attempts to find a good overall solution by looking at one or a few cells movement at at time. A more recent approach to combining these techniques is called hierarchal improvement, and is a two step procedure, first proceeding bottom-up, and then top-down. The bottom-up technique is clustering (reduce complexity) while the goal of the top-down method is to determine the location for all clusters. 14th ASIC/SOC 2001

15 Multilevel Clustering Hierarchy 14th ASIC/SOC 2001 Early methods of clustering performed the desired circuit size reduction in a single level. Clustering in steps produces superior results permitting more gradual de-clustering.

16 Weighted Hyper-edge Clustering Our work is based on Karypis (METIS) technique used for circuit partitioning. The major addition to simple hyper-edge clustering is the development of cluster size control. Our method is divided into passes: 1. In the first pass, cells hyper edges are greedily clustered together, but only if they are within width limits. 2. In the second pass, remaining cells on hyper edges are also greedily clustered together. 3. A third pass is performed to assign any remaining cells to a new cluster. 14th ASIC/SOC 2001

17 Weighted Hyper-edge Clustering Sort nets by increasing size For each sorted net If no cell is clustered and sum of cell width is within limits Cluster all cells on nets End If End For For each sorted net If sum of un-clustered cell widths is within limits Cluster all un-clustered cells on net End If End For For each un-clustered cell in circuit Create a new cluster from cell End For 14th ASIC/SOC 2001

18 Flatten De-Clustering Heuristic Previous methods for clustering-based placement flattened the circuit by placing the cells of a cluster randomly within the physical confines of the cluster at the previous hierarchal level. Since relative positions between cells in a cluster were not considered at any clustered level of the hierarchy, they are not implied at the flattened level, some method must be used to determine legal relative positions for the flattened cells to occupy. To minimize the quality deterioration during circuit flattening, further improvement is performed on the circuit at each flattening stage, using localized search heuristic. In our approach, results were obtained by using the ARP global placer at the top hierarchical level, without any iterative improvement, and then using only FLATTEN during de-clustering. 14th ASIC/SOC 2001

19 Circuit De-Clustering The average position of all connected pins is calculated for each cell in a cluster. The cells within the cluster are then sorted by their average pinx- coordinate, and given a relative order as they are flattened. 14th ASIC/SOC 2001

20 Numerical Testing and Comparison Test circuits used: MCNC '91 benchmarks. Ten circuits ranging in size from 125 cells to over 25,000 cells. CircuitCellsPadsNetsPinsRows Fract125241474626 Prim175281904552616 Struct1888641920547121 Ind122718142478851315 Prim2290710730291840728 Bio64719757422694746 Ind2121424951341912555572 Ind3150593742194017658454 Avq.s2185464221248260180 Avq.l2511464253848275186 14th ASIC/SOC 2001

21 Clustering Depth Effects of different clustering depths on solution quality using different clustering methods. Results clearly show that, for WHEC, three levels of clustering gives good results for all sizes of circuits. 14th ASIC/SOC 2001

22 Circuit Size Reduction As we increase the number of clustering levels there is a gradual reduction in the number of cells and nets. 14th ASIC/SOC 2001

23 Contd.. Circuit Size Reduction As we increase the number of clustering levels there is a gradual reduction in the number of cells and nets. 14th ASIC/SOC 2001

24 Flatten De-Clustering Results Small Benchmarks % 1.71 % - 0.23 % 3.08 % 2.50 % 0.09 % 7.09 14th ASIC/SOC 2001

25 Flatten De-Clustering Results Medium Benchmarks % 0.25 % 0.51 % 0.95 % 0.43 % 0.76 % 1.29 14th ASIC/SOC 2001

26 Flatten De-Clustering Results Large Benchmarks % 0.02 % 0.34 % 0.54 % 0.14 % 0.40 % 1.56 14th ASIC/SOC 2001 % 7.67 % 0.97

27 Wire-Length Comparison Small Benchmarks 14th ASIC/SOC 2001

28 Wire-Length Comparison Medium Benchmarks 14th ASIC/SOC 2001

29 Wire-Length Comparison Large Benchmarks 14th ASIC/SOC 2001

30 Run Time Comparison Small Benchmarks 14th ASIC/SOC 2001

31 Run Time Comparison Medium Benchmarks 14th ASIC/SOC 2001

32 Run Time Comparison Large Benchmarks 14th ASIC/SOC 2001

33 Conclusions ARP is very useful for initial solutions but requires further tuning. The WHEC method of clustering was shown to be very effective when applied to the standard-cell placement problem. Edge clustering and modified hyper edge clustering were shown to perform well but the size limiting feature of WHEC provided results superior to other methods. Average improvement using the FLATTEN heuristic was between 1-2% for most benchmarks. Little improvement was obtained but the heuristic has a linear time complexity. Comparison with flat placement indicates that the hierarchical placement based on WHEC method reduced wire-length on average by 9% for all circuits and the execution time was lower by 70%. 14th ASIC/SOC 2001

34 Future Work Our future work attempts to incorporate utility into a stochastic heuristic or a hill climbing technique such as Tabu Search. Also involves further investigation of the modified WHEC clustering technique in addition to enabling the advanced features of the ARP (initial placer) by adaptively tuning the parameters. For further information, contact me: sareibi@uoguelph.ca Presentation, is available: www.uoguelph.ca/~sareibi 14th ASIC/SOC 2001


Download ppt "A Clustering Utility Based Approach for S. Areibi, M. Thompson, A. Vannelli uoguelph.ca September 2001 School of Engineering ASIC Design 14th."

Similar presentations


Ads by Google