Control Experiments
Control Experiments
CA 94104 Abstract: Since mathematically optimal layout algorithms seem unattainable, layout needs to become a more experimental science. This paper advocates the use of controlled experiments in layout. The physical design workshop bench mark layout environment, open problems solvable by experiment, and the relation of layout experiments to scientic methodology are discussed. The paper concludes by showing that layout synthesis of primitive cells by computer program is impossible since it is no easier than the general articial intelligence problem. Categories: 3.5 (layout), 3.1 (placement), 3.2 (routing)
1. Introduction
In a perfect world, there would exist provably efcient integrated circuit (IC) layout algorithms. Unfortunately, in reality most layout algorithms are NP complete [5]. There is even a lack of consensus concerning what makes one circuit layout superior to another. Final circuit area is probably most important, but among numerous conicting criteria, electrical characteristics, congestion, via number, timing, and power distribution must be considered. Progress in such unstructured problem domains can often be facilitated by means of scientic experiments. The purpose of this paper is to advocate systematic experimentation in placement and routing. To understand the need for layout experimentation, one must analyze the traditional engineering development methodology. A development project implements a system that ultimately becomes part of a larger manufacturing system. In the case of IC layout, the system includes computer programs, mask set manufacturing, and organizational procedures. Until the 1980s an electronic development project needed only apply the body of electronic circuit theory (physics of electromagnetism), but during the last decade IC digital circuit design has changed so that geometric (or combinatorial) component arrangement and electronic component connection have become the central design problems. This change was brought about by a large increase in the number of transistors that could be packed into a given area. Layout lacks the rules of thumb, background knowledge, and algorithm class intuitive characterizations that exist for electronic circuits. Knowledge gained from decades of experimental study of semiconductor devices. This paper argues that the academic study of layout ought to mean careful and controlled scientic measurement of layout algorithms and organizations. This experimentation should produce the body of theoretical knowledge required by industrial development projects. Imagine how little progress would have been made in transistor
-2-
development if only the mathematics of differential equations and algebra, but no electromagnetic physical theory, had been known. Sections 2.2 and 2.3 discuss the relation of layout experiments to scientic methodology. Section 3 discusses experimental opportunities. Section 4 describes an example experiment which suggests that adding a third metal layer beyond the normal two layers to a master slice substrate does not signicantly reduce nal circuit area. This result is surprising since most substrates are designed with this extra metal layer. A necessary prerequisite for experimentation is the existence of simplied experimental systems and circuit designs that can be used in controlled experiments. In channel routing interesting problems have been available since 1976 [3]. The problem specication for channel routing connections is simple enough so that a problem description needs just a one or two page net list [3] [24]. The availability of universally available and default test cases has led to the development of a number of good channel routers all using different approaches (see for example [1] [22] [23] [32]). Even though channel routing can still benet from controlled experiments that explain what aspects of the different algorithms account for their advantages, channel routing will not be discussed further since considered in isolation, it is mostly a solved problem. Creation of a simplied experimental system for general layout is more difcult since any complete layout system contains hundreds of factors that mayor may not be relevant for layout algorithm development. Any simplied experimental system must at least dene substrate organization, the primitive cell library, and routing geometric constraints. A large data le is required to dene each of these layout system aspects. Section 2 discusses a layout test circuit environment along with a few individual test designs that have served as a simplied experimental system for the master slice layout problem. The environment and circuits were compiled for the physical design workshops [4] [21] [19]. Unfortunately, instead of using test circuits as an opportunity to learn more about layout, they have been used predominantly to provide test cases for competition between the placement and global routing parts of layout programs. The test circuits are even called benchmarks implying their universal nature rather than test circuits emphasizing the importance of treating each circuit, itself, as an object of study. A consensus rating order of layout programs has arisen based on the effectiveness of the systems on only a few circuits of small to medium size. There is also a tendency to believe that the general approach used for each part of the current best system (placer, global router, etc.) is also the best general algorithm. Section 2.1 discusses problems with layout test system applications. Section 5 discusses a limitation of the experimental method. Even though controlled experiments are important, there are situations for which experiments do not contribute to the growth of knowledge since a problem can be shown by argument alone to be infeasible. Section 5 shows that layout synthesis of macro cell transistor layouts (mask pattern generation) is impossible since it is no easier than the general articial intelligence problem. Since solution of the general articial intelligence problem (replacement of common sense knowledge by a program) is unlikely in the foreseeable future, there is no need for experimentation and for that matter development. This is important since macro cell layout synthesis is commonly advocated as the next area of
-3-
layout progress. The physical design workshop name has even been changed to layout synthesis.
-4-
Even within the layout test environment, comparison problems have arisen. Some systems were routed with the UTMC router [25] in the 1987 and 1988 workshops while others used their own router. Even for systems that used the UTMC router, there were comparison problems. The UTMC router inserts one grid wide feed through cells where needed. Some of the placements required this feature, but some were made worse by it. Some placements achieved small area but required more feed throughs than the UTMC router was able to add. Those placements would probably, but not denitely, require more area after feed through addition. Various placements used a substrate size dictated by I/O pad geometry. These placements required larger area than was required by those which ignored I/O pads. The area determined from the circumference needed for I/O pads was much larger than the area required by internal cells. See [5, p. 127] and [33, gure 5] for other comparison problems. Comparisons according to nal area also have methodological problems. It is possible for a system using an inferior algorithm but a better implementation to produce less area than what seems to be a better algorithm for which the implementation or choice of approximations is problematic. If an algorithm works poorly, it is currently not possible to isolate the reason. It could be an implementation mistake, a hidden background factor that caused the algorithm to be specialized to the original layout system, or an algorithm problem. Without controlled experimentation it is it not possible to determine the reason for the better or worse results. Finally, by competitively comparing area, develop of promising new algorithms may be halted early because early versions do not initially produce competitively small area. It is generally considered a mistake in research and development to put all effort into developing one approach to the exclusion of alternative approaches.
-5-
while another is better for another. The test circuits may provide the capability to systematically characterize such differences. This last sort of puzzle solving is known as problem shifting or problem splitting [11]. Another condition rst identied by Professor Popper is the ability to falsify hypotheses (see [20] [11]). As a trivial example, without a controlled and widely available layout environment, it is impossible to falsify random placement. Imagine a claim of discovery that random placement with no evaluation function is superior to all other techniques. Without a controlled experimental system, the advocate of random placement could reasonably claim any falsication based on another implementation of random placement simply uncovered aws in the implementation.
3. Experimental Opportunities
I believe study of the following experimental questions should provide the sort of theoretical knowledge required by industrial development of layout systems. a.
-6-
b.
c.
d.
e.
f.
-7-
-8-
equivalent to a pin only six grids (two gates) distant. Further decrease in vertical wire cost leads to no increase in horizontal wiring and no channel height decrease at least for the two physical design workshops primary test circuits. Column two contains the required vertical feed through wire number for each row for the two layer metal case. Column three gives the percentage of available feed through used. Available means non blocked metal2 grids and assumes no vertical feed throughs would be lost to congestion problems. To understand the meaning of column three, consider the most congested primary2 row 17. The required 1039 feed through wires is 23.7 percent more than available because the 23 row placement row length is 1005 grids of which 165 are blocked by vertical intracell wiring or unconnected pins (only 14). The percentage used is 1039/840 or 123.7. A value of more than 100 percent means a possible feed through shortage that requires either additional feed through cells which would lengthen every row or a better global routing approach. Column four gives the number of long vertical wires possibly movable to metal3. Column ve gives the percentage of metal3 feed throughs that would be used above each row if every possible wire were moved to metal3. Since the primary circuit has available feed throughs, adding a third metal layer does not lead to signicant area reduction. Nearly two thirds of the available metal3 feed through grids are unused over most internal rows. Global routing that makes maximum use of metal3 would, at a minimum, reduce the number of required track from 226 to 209 or 7.5 percent. The trade off is a 10.4 percent increase in total wire length. This assumes the layout test system uses the same pitch for all metal layers. A better global router could reduce the required maximum channel density by moving wires into horizontal channel sections with unused grids below the maximum channel requirement thereby reducing channel density peaks, but then the same router could probably also reduce peaks in the two layer metal case [12]. Table 2 shows the saving for the primary2 circuit. The advantage of a third metal layer for the primary2 circuit is potentially larger since there is a shortage of metal2 vertical feed through tracks (see table 2 column 3). It is possible that a global router that changes connecting pin pairs to reduce vertical feed through requirements by using wiring channel sections below maximum channel density could possibly route the rows with a shortage of feed through. If the improvement is not possible, a global routing that maximizes use of metal3 would, at a minimum, reduce horizontal routing channel tracks from 544 to 486 or 10.7 percent. The trade off is a 15.1 percent increase in total wire length. Column ve shows that more than half of the available metal3 tracks are used over the central rows and also that around half of the metal2 feed through tracks are unused. If all the master slice row lengths really need to be increased by the 199 grids required by row 17 in the two metal layer case, addition of a third metal layer can reduce total area by 25 percent (1005/1204*486/544). Of course, the actual decision to add a third metal layer will be determined by manufacturing and electrical considerations. Finally, since this experimental methodology applied here does not apply to four metal layers, it would be interesting to determine the advantage of adding two extra metal layers.
-9-
- 10 -
6. References
1. 2. 3. 4. 5. 6. 7. 8. 9. Burstein, M., and Pelavin, R. Hierarchical channel router. Integration 1, 1 (January 1983) 28-38. Delloca, C. Gate array technology. Proceedings IEEE ICCD, 1988, 296-299. Deutsch, D. A dogleg channel router. Proceedings 13th Design Automation Conference, 1976, 425-433. Dunlop, A. E., Preas, B., and Roberts, K. Cell-based layout benchmarks. Proceedings 24th Design Automation Conference, 1987, 318. Garey, M. R., and Johnson, D. S. Computers and Intractability. A Guide to the theory of NP-Completeness. W. H. Freeman, San Francisco, 1979. Hanan, M., and Kurtzberg, J. Placement Techniques. In M. Breuer (Ed). Design Automation of Digital Systems. Vol. 1, Prentice Hall, 1972, 213-282. Hanan, M., Wolff, P., and Agule, J. A study of Placement Techniques. J. Des. Automat. Fault Tolerant Comput. 2, 2 (May 1978) 28-61. Hartoog, M. R. Analysis of placement procedures for VLSI standard cell layout. Proceedings 23rd Design Automation Conference, 1986,314-319. Igusa, I., Beardslee, M., and Sangiovanni-Vincentelli, A. ORCA a sea-of-gates place and route system. Proceedings 26th Design Automation Conference, 1989,122-127. Johannsen, D. L. Silicon Compilation, in Seitz, C. L. (ed.), Advanced Research in VLSI, Tenth Cal Tech Conference, MIT Press, Cambridge, 1989, 17-36. Lakatos, I. The Methodology of Scientic Research Programs. In Lakatos, I. and Musgrave, A. (Eds). Criticism and the Growth of Knowledge. Cambridge, 1970, 91-196. Lee, K.,and Sechen, C. A New Global Router for Row-Based Layout. Proceedings IEEE ICCAD-88, 1988, 180-183. Lin, S. Heuristic programming as an aid to network design. Networks, 5(1975), 33-43. Kuhn, T. S. The Structure of Scientic Revolutions. Princeton University Press, 1962. Meyer, S. A constructive placement algorithm for logic arrays. Proceedings IEEE ICCD, 1983, 58-61. Meyer, S. A new placement level wirability estimate with measurements. ACM SIGDA newsletter, 20, 2 (September 1990). Meyer, S. CAD tool interchangeability through net list translation. ACM SIGDA newsletter, 20, 1 (June 1990).
10. 11.
- 11 -
Micro Electronics Center of North Carolina (MCNC). Place and Route Benchmark Bibliography. Research Triangle Park, 1989. Micro Electronics Center of North Carolina (MCNC). Proceeding the 1990 International Workshop on Layout Synthesis. Research Triangle Park, May 1990. Popper, K. R. The Logic of Scientic Discovery. London, Hutchinson, 1959. Preas, B. Benchmarks for cell-based layout systems. Proceedings 24th Design Automation Conference, 1987, 319-320. Reed, J., Sangiovanni-Vincentelli, A., and Santomauro, M. A new symbolic channel router: YACR2. IEEE Trans. CAD of ICs and Systems CAD-4, 3(July 1985), 208-219. Rivest, R. L., and Fiduccia, C. M. A "greedy" channel router. Proceedings 19th Design Automation Conference, 1982, 418-424. Rivest, R. L. "Benchmark" channel-routing problems. Unpublished, 1982. Roberts, K. A. Automatic Layout in the Highland System. Proceedings of ICCAD, 1984, 224-226. Roberts, K. A. Notes and results from 1987 UTMC bench mark routings. unpublished, 1987. Sasaski, G. H., and Hajek, B. The time complexity of maximum matching by simulated annealing. J ACM 35, 2(ApriI1988), 387-403. Searle, J. Minds, Brains, and Science. Harvard University Press, Cambridge, 1984. Sechen, C. VLSI Placement and Global Routing Using Simulated Annealing. Kluwer Academic Publishers, Boston, 1988. Suaris, P. R., and Kedem, G. Quadrisection: A new approach to standard cell layout. Proceedings IEEE ICCAD-87, 987, 474-477. YAL Reference Manual. On bench mark distribution tape from Micro Electronics Center of North Carolina, 1987, 1988. Yoshimura, T., and Kuh, E. S. Efcient algorithms for channel routing. IEEE Trans. CAD of ICs and Systems CAD-l, 1(January 1982), 25-35. Zhang, X., Pillage, L., and Rohrs, R. Efcient nal placement based on nets-aspoints. Proceedings 26th Design Automation Conference, 1989, 578-581.
23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33.
- 12 -
Cell Row 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Real Wire Distance Total % of Metal2 Crossing if no Wires Metal3 188 57.7 243 73.3 223 70.8 286 85.5 279 84.3 283 83.4 291 88.2 324 94.1 334 95.7 307 89.7 324 94.2 284 86.3 263 82.1 252 77.2 246 74.7 227 68.8 220 67.9
Two Rows Equal Two Gates Possible %s of Metal3 Metal3 Wires 33 6.9 48 10.1 68 14.1 120 25.1 144 29.9 177 36.9 195 40.5 208 43.2 192 40.0 176 36.6 153 31.8 137 28.5 119 24.8 102 21.3 78 16.2 50 10.4 24 5.0
- 13 -
Cell Row 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Real Wire Distance Total % of Metal2 Crossing if no Wires Metal3 478 63.9 633 79.4 715 90.2 700 88.0 802 97.4 833 100.7 938 110.5 896 107.2 923 91.7 890 107.4 858 105.0 839 104.6 953 117.0 901 108.6 944 113.7 983 116.5 1039 123.7 1008 117.2 929 109.5 847 102.1 821 97.5 755 91.8 549 74.8
Two Rows Equal Two Gates Possible %s of Metal3 Metal3 Wires 128 12.8 221 22.0 297 29.5 346 34.4 408 40.6 430 42.7 448 44.5 500 49.8 520 51.7 535 53.2 583 58.0 560 55.7 574 57.1 558 55.5 537 53.4 553 55.0 566 56.3 576 57.3 535 53.2 445 44.2 359 35.7 208 20.7 94 9.4
- 14 -