Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 CSC 6001 VLSI CAD (Physical Design) January 19 2006.

Similar presentations


Presentation on theme: "1 CSC 6001 VLSI CAD (Physical Design) January 19 2006."— Presentation transcript:

1 1 CSC 6001 VLSI CAD (Physical Design) January 19 2006

2 2 Contents An overview of CAD in physical design of VLSI circuits Discussion of several classical papers in this area.

3 3 References N. Sherwani, “Algorithms for VLSI Physical Design Automation”, 3rd edition, Kluwer Academic Publishers, Boston, MA, 1999. Sabih H. Gerez, “Algorithms for VLSI Design Automation”, Wiley, 1999. M. Sarrafzadeh and C.K. Wong, “An Introduction to VLSI Physical Design”, McGraw Hill, 1996. S.M. Sait and Youssef, “VLSI Physical Design Automation: Theory and Practice”, IEEE Press, Piscataway, NJ, 1995.

4 4 VLSI Design Cycle System Specification Architectural Design Logic Design Circuit Design Physical Design Functional DesignFabrication Packaging

5 5 Logic Design Design the logic, e.g., boolean expressions, control flow, word width, register allocation, etc. The outcome is called an RTL (Register Transfer Level) description. RTL is expressed in a HDL (Hardware Description Language), e.g., VHDL and Verilog. X = (AB+CD)(E+F) Y= (A(B+C) + Z + D)

6 6 Circuit Design Design the circuit including gates, transistors, interconnects, etc. The outcome is called a netlist.

7 7 Physical Design Convert the netlist into a geometric representation. The outcome is called a layout.

8 8 Physical Design Cycle Circuit Partitioning Floorplanning & Placement Routing Layout Compaction Extraction and Verification

9 9 Circuit Partitioning Partition a large circuit into sub-circuits (called blocks). Factors like #blocks, block sizes, interconnection between blocks, etc., are considered. 1 2 3

10 10 Floorplanning Set up a plan for a good layout. Place the modules (modules can be blocks, functional units, etc.) at an early stage when details like shape, area, I/O pin positions of the modules, …, are not yet fixed. Deadspace

11 11 Placement Exact placement of the modules (modules can be gates, standard cells, etc.) when details of the module design are known. The goal is to minimize the delay, total area and interconnect cost. v Feedthrough Standard cell type 1 Standard cell type 2

12 12 Routing Complete the interconnections between modules. Factors like critical path, clock skew, wire spacing, etc., are considered. Include global routing and detailed routing. v Feedthrough Type 1 standard cel1 Type 2 standard cell

13 13 Compaction & Verification Compaction is to compress the layout from all directions to minimize the total chip area. Verification is to check the correctness of the layout. Include DRC (Design Rule Checking), circuit extraction (generate a circuit from the layout to compare with the original netlist), performance verification (extract geometric information to compute resistance, capacitance, delay, etc.)

14 14 Design Styles Full-Custom Design Standard Cell Design Gate Array Design Field Programmable Gate Array Design (FPGA)

15 15 Full-Custom Design No rigid restrictions on layout. More compact design. Longer design time. Hierarchical: chip  clusters  units  functional units.

16 16 Full Custom Design

17 17 Standard Cell Design Rectangular cells of the same height. Cell library (has 500 - 1200 cells). Cells placed in rows and space between rolls are called channels for routing. Feedthroughs

18 18 Standard Cell Design

19 19 Gate Array Design Each chip is prefabricated with an array of identical gates or cells. The chip is “customized” by fabricating routing layers on top.

20 20 An Uncommitted Gate Array

21 21 A Committed Gate Array

22 22 Field Programmable Gate Array Chips are prefabricated with logic blocks and interconnects. Logic and interconnects can be programmed (erased and re-programmed) by users. No fabrication is needed. Interconnects are predefined wire segments of fixed lengths with switches in between.

23 23 Field Programmable Gate Array

24 24 Trends in VLSI Transistor –Smaller, faster, use less power Interconnect –Less resistive, faster, longer (denser design) Huge power consumption and heat dissipation Noise and cross talk.

25 25 Interconnect Delay 0.65 1989 0.5 1992 0.35 1995 0.25 1998 0.18 2001 0.13 2004 0.1 2007 0 5 10 15 20 25 30 35 40 Gate delay Interconnect delay Source: SIA Roadmap 1997

26 26 Chip Area micron

27 27 Processor Performance 0.1 1 10 100 1,000 10,000 100,000 1000,000 758085909500051015 MIPS Source: Intel 8086 80286 80386 Processor 80486 Processor Pentium Processor Pentium Pro Processor 100,000 MIPS

28 28 Transistor Count 197519801985199019952000200520102015 1 10 100 1,000 10,000 100,000 1,000,000 K Source: Intel Projected

29 29 Average Transistor Price 687072747678808284868890929496 $ 0.000001 0.00001 0.0001 0.001 0.01 0.1 1 10 100 Source: Intel

30 30 Technology Characteristics Year199920012003200620092012 Technology (  m) Density (# transistors / cm 2 ) Chip size (cm 2 ) Power (W) # Routing Layers 0.180.150.130.10.070.05 6.2M10M18M39M84M180M 3.403.854.305.206.207.50 1250150021003500600010000 6-7777-88-99

31 31 Selected Papers “Graph Based Algorithms for Boolean Function Manipulation”, Randal E. Bryant, IEEE Transactions on Computers, Vol.35, No.8, 1986. “Retiming Synchronous Circuitry”, Charles E. Leiserson and James B. Saxe, Algorithmica, 6:5-35, 1991. “A New Algorithm for Floorplan Design”, D.F. Wong and C.L. Liu, Design Automation Conference, p.101-107, 1986. “Rectangle-Packing-Based Module Placement”, H. Murata, K. Fujiyoushi, S. Nakatake and Y. Kajitani, IEEE International Conference on Computer-Aided Design, p.472-479, 1995.

32 32 Selected Papers “A linear time heuristic for improving network partitions”, Fiduccia and Mattheyses, Design Automation Conference, 1982. “Efficient Network Flow Based Min-Cut Balance Partitioning”, Hannah H. Yang and D.F. Wong, International Conference on Computer-Aided Design, pp.50-55, 1994. “Multilevel k-way Hypergraph Partitioning”, G. Karypis and V. Kumar, Design Automation Conference, pp.344- 347, 1999.

33 33 Selected Papers “An Optimal Technology Mapping Algorithm for Delay Optimization in Lookup-Table Based FPGA Designs”, Jason Cong and Yuzheng Ding, International Conference on Computer-Aided Design, 1992. “The Timberwolf Placement and Routing Package”, C. Sechen and A.L. Sangiovanni-Vincentelli, IEEE Journal of Solid-State Circuits, 20:510-522, 1985. “Gordian: A New Global Optimization/Rectangle Dissection Method for Cell Placement”, J. Kleinhans, G. Sigl and F. Johannes, International Conference on Computer-Aided Design, 1994.

34 34 Floorplanning

35 35 Floorplanning The floorplanning problem is to plan the positions and shapes of the modules at the beginning of the design cycle to optimize the circuit performance: –Chip area –Total wirelength –Delay of critical path –Routability –Others, e.g., noise, heat dissipation, etc.

36 36 Floorplanning Problem Input: –n Blocks with areas A 1,..., A n –Bounds r i and s i on the aspect ratio of block B i Output: –Coordinates (x i, y i ), width w i and height h i for each block such that h i w i = A i and r i  h i /w i  s i Objective: –To optimize the circuit performance.

37 37 Simulated Annealing Approach Many floorplanning tools are based on simulated annealing approach. In simulated annealing, we need to have a good representation for each candidate floorplan solution. There are three kinds of floorplan: slicing, mosaic and non-slicing.

38 38 P-admissible Representation A packing representation is P-admissible if: –The solution space is finite. –Every solution corresponds to a feasible packing. –Evaluation for each solution, i.e., computing the cost value, is possible in polynomial time, and so is the realization of the corresponding packing. –The optimal packing is included in the solution space and corresponds to the one with the best evaluated cost value.

39 39 Non-Slicing Floorplan Any general floorplan which is not necessarily obtained by recursively subdividing rectangles. empty room

40 40 Slicing Floorplan Representation “A New Algorithm for Floorplan Design”, D.F. Wong and C.L. Liu, Design Automation Conference, pp.101-107, 1986. “A New Algorithm for Floorplan Design”, D.F. Wong and C.L. Liu, Design Automation Conference, pp.101-107, 1986.

41 41 Slicing Floorplan A floorplan that can be obtained by recursively cutting a rectangle into two by either a vertical line or a horizontal line:

42 42 Slicing Trees Slicing Floorplan * AB Slicing Tree B A + AB AB

43 43 Slicing Trees 6 2 3 54 7 1 Slicing Floorplan * ++ 213 + * 64 * 75 Slicing Tree Polish Expression ( postorder traversal of slicing tree ) 21+67*45*+3+*

44 44 Normalized PE A normalized Polish Expression has no consecutive + or *. 6 2 3 54 7 1 Slicing Floorplan Polish Expression * ++ 21 + * 6 * 7 3 Slicing Tree 4 5 21+67*45*3++*

45 45 Normalized PE There is a 1-1 correspondence between slicing floorplan and normalized PE. Normalized Polish Expression is commonly used to represent slicing floorplans.

46 46 Questions Does this normalized PE representation for slicing floorplan P-admissible? What is the size of the solution space? How can we get back a floorplan from its normalized PE representation? Are all slicing floorplans with n modules reachable starting from any arbitrary one by using the set of move operations?

47 47 Shaping In floorplan design, we need to determine the positions and shapes of the modules: B A C AB+C* Move C AB*C* Shaping A B CBA AB*C*

48 48 Shaping in Slicing Floorplan Shaping in slicing floorplan can be done by “shape curve computation”. Given a Polish expression of n modules and the areas of the modules, how to determine their dimensions to minimize the total area of the floorplan?

49 49 Shape Curve To represent the possible shapes of a block. w h (0,0) wh = A Soft block Block with several possible designs w h (0,0) Feasible region Feasible region w1w1 h1h1 w1w1 w2w2 w3w3 h3h3 h2h2 h1h1

50 50 Combining Shape Curves 12*: 12+: 1 2 h w 12* 1 2 2 1 w h 2 1 12+

51 51 Finding the Smallest Area Recursively combining shape curves. * 23 Pick the best 1 2 3 1 +

52 52 Updating Shape Curves If each shape curve has k points, the shape curve computational time for each normalized PE is O(kn). After each move, there are only small changes in the floorplan, so no need to compute all the shape curves from scratch again. We can update shape curves incrementally after each move. Expected run time is O(k log n).

53 53 Non-Slicing Floorplan Representation “Rectangle-Packing-Based Module Placement”, H. Murata, K. Fujiyoushi, S. Nakatake and Y. Kajitani, IEEE International Conference on Computer-Aided Design, 1995, pages 472-479.

54 54 Sequence Pair (SP) A floorplan is represented by a pair of permutations of the module names: e.g. 1 3 2 4 5 3 5 4 1 2 A sequence pair (s 1, s 2 ) of n modules can represent all possible floorplans formed by the n modules by specifying the pair-wise relationship between the modules.

55 55 Sequence Pair Consider a pair of modules A and B. If the arrangement of A and B in s 1 and s 2 are: –(…A…B…, …A…B…), then the right boundary of A is on the left hand side of the left boundary of B. –(…A…B…, …B…A…), then the upper boundary of B is below the lower boundary of A.

56 56 Floorplan Realization Floorplan realization is the step to construct a floorplan from its representation. To construct a floorplan from a sequence pair, we can make use of the horizontal and vertical constraint graphs (G h and G v ).

57 57 Floorplan Realization Whenever we see (…A…B…, …A…B…), add an edge from A to B in G h with weight w A. Whenever we see (…A…B…, …B…A…), add an edge from B to A in G v with weight h A. Add a source vertex s to G h and G v pointing, with weight 0, to all vertices without incoming edges. Finally, find the longest paths from s to every vertex in G h and G v, which are the coordinates of the lower left corner of the module in the packing.

58 58 Example 2 5 4 1 3 (13245,41352 ) 2 1.2 1 1.1 1 1.2 2 2.41.2 1 32 5 4 1.1 2.4 s 0 0 GhGh 1 32 5 4 s 0 0 GvGv 1 1 1 2

59 59 Pros and Cons of SP Advantages: –Simple representation –All floorplans can be represented. –The solution space is finite. Disadvantages: –Redundant representation. The representation is not 1-to-1. –The size of the constraint graphs, and thus the runtime to construct the floorplan, is quadratic.

60 60 Questions Is the SP representation for general non- slicing floorplan P-admissible? Can we improve the runtime to realize a floorplan from its SP representation? (“FAST-SP: A Fast Algorithm for Block Placement on Sequence Pair”, X. Tang and D.F. Wong, ASP-DAC 2001, pp. 521-526.)


Download ppt "1 CSC 6001 VLSI CAD (Physical Design) January 19 2006."

Similar presentations


Ads by Google