scieee AI-readable full text Open interactive document viewer

Layout regularity for design and manufacturability

Pons Solé, Marc

Abstract

In nowadays nanometer technology nodes, the semiconductor industry has to deal with the new challenges associated to technology scaling. On one hand, process developers face increasing manufacturing cost and variability, but also decreasing manufacturing yield. On the other hand, circuit designers and electronic design automation (EDA) developers have to reduce design turnaround time and provide the tools to cope with increasing design complexity and reduce the time-to-market. In this scenario, closer collaboration between all the actors involved is required. New approaches considering both design and manufacturing need to be explored. These are the so called design for manufacturability (DFM) techniques. A DFM trend that is becoming dominant is to make circuit layouts more regular and repetitive. The regular layout fabrics are based on the configuration of a simplied mask set, therefore reducing the manufacturing cost. Moreover, a reduced number of layout patterns is used, allowing better process variability control and optimization. Hence, regularity reduces layout complexity and therefore design complexity, allowing faster time-to-market. In this thesis, we explore forcing maximum layout regularity focusing on future technology nodes, with increasing design and manufacturability issues, where we expect layout regularity to be mandatory. With this objective, we have developed a new regular layout fabric called Via-Configurable Transistor Array (VCTA). The physical design is fully explained involving layout and geometrical considerations for transistors and interconnects. Initially, VCTA layouts developed manually have been evaluated in terms of manufacturability, but also in terms of area, energy and delay. For digital design, 32-bit binary adders designed with VCTA have been compared to standard cell layouts. For analog design, a delay-locked loop design using VCTA has been compared to its full custom version. We have also developed a physical synthesis tool that allows us to obtain VCTA circuit layouts in an automated way. Developing our own automation tool lets us controlling all the decisions made during the physical design flow to ensure that maximum layout regularity is respected. In this case the work is based on several algorithms, for instance for routing, that we have oriented to the area optimization of the layouts. Finally, in order to demonstrate the benefits of layout regularity, we have proposed a new layout regularity metric called Fixed Origin Corner Square Inspection (FOCSI). It is based on the geometrical inspection of the patterns in the layouts and it allows designers to compare regularity of designs but also how their regularity will impact their manufacturability. The FOCSI layout analysis tool can be used to optimize manufacturability.

Full text

Layout Regularity for Design and Manufacturability Marc Pons Sol´e Directors: Francesc Moll i Jaume Abella Tesi presentada per obtenir el t´ıtol de Doctor per la Universitat Polit`ecnica de Catalunya Programa: Enginyeria Electr`onica Barcelona, 08–07–2012 To my Mother, Loles. Contents Contents i Acknowledgments v Abstract vii 1 Introduction 1 1.1 History of technology scaling ..................... 1 1.2 Integrated circuit manufacturing process ............... 3 1.2.1 Overview ............................ 3 1.2.2 Lithography ........................... 4 1.2.3 Resolution enhancement techniques .............. 7 1.2.4 Electroplating and chemical mechanical polishing ...... 7 1.3 Challenges of semiconductor industry ................. 11 1.3.1 Manufacturing challenges ................... 11 1.3.2 Design challenges ........................ 17 1.4 Layout regularity solution ....................... 19 2 Related work 21 2.1 The need for layout regularity ..................... 21 2.1.1 Regularity for manufacturing ................. 21 2.1.2 Regularity for design ...................... 24 2.2 Regular layout fabrics ......................... 26 i ii CONTENTS 2.2.1 Gate Arrays ........................... 26 2.2.2 Standard Cells ......................... 31 2.2.3 Structured ASICs ....................... 37 2.3 Existing layout analysis tools ..................... 39 2.3.1 Standard DFM flow ...................... 40 2.3.2 Mentor Graphics DFM tools ................. 41 2.3.3 Systematic manufacturing variability models ........ 42 2.3.4 Evaluating layout regularity .................. 44 2.4 Thesis works motivation ........................ 45 3 Unique contributions of the thesis 47 3.1 VCTA regular fabric .......................... 47 3.2 VCTA automation tool ......................... 48 3.3 FOCSI layout regularity metric tool ................. 49 3.4 Thesis dissemination .......................... 49 3.4.1 Books .............................. 49 3.4.2 Conferences ........................... 50 3.4.3 Scientific Reports ........................ 51 3.4.4 Workshops ........................... 51 4 Evaluation framework 53 4.1 Computation resources ......................... 53 4.2 Electronic design automation tools .................. 54 4.2.1 Commercial tools ........................ 54 4.2.2 Data treatment ......................... 54 4.2.3 C programming ......................... 55 4.3 Benchmark circuits and evaluations .................. 55 4.3.1 Circuits ............................. 55 4.3.2 Technology nodes ........................ 58 4.3.3 Layout versions ......................... 59 4.3.4 Evaluations ........................... 60 CONTENTS iii 5 VCTA regular fabric 63 5.1 VCTA physical design ......................... 64 5.1.1 Maximizing layout regularity ................. 64 5.1.2 Basic cell Front-end design .................. 64 5.1.3 Basic cell Back-end design ................... 68 5.1.4 Basic cell configuration .................... 70 5.2 VCTA Basic cell impact on design .................. 71 5.2.1 Basic cell parameters ...................... 71 5.2.2 Basic cell impact on area and routability ........... 72 5.2.3 Basic cell impact on energy and delay ............ 81 5.3 VCTA manual layouts evaluation ................... 84 5.3.1 32-bit adders evaluation .................... 85 5.3.2 Delay-locked loop evaluation ................. 90 5.4 Conclusion ............................... 97 6 VCTA Automation 99 6.1 VCTA Physical Design Flow ......................100 6.1.1 Flow overview .........................100 6.1.2 VCTA Grouping ........................101 6.1.3 VCTA Place ..........................114 6.1.4 VCTA Routing .........................115 6.1.5 VCTA Layout Generation and Verification ..........123 6.2 Results and Simulations ........................125 6.2.1 Manual VCTA versus Automatic VCTA Flow ........125 6.2.2 Standard Flow versus VCTA Flow ..............125 6.3 Conclusion ...............................130 7 FOCSI Layout Regularity Metric 133 7.1 FOCSI formulation ...........................134 7.1.1 Problem Statement .......................134 7.1.2 Layout Regularity Definition .................135 iv CONTENTS 7.1.3 FOCSI Proposal ........................136 7.1.4 Single Layout Layer FOCSI ..................137 7.1.5 Complete Layout FOCSI ...................137 7.2 FOCSI for single layers .........................138 7.2.1 Granularities considered ....................138 7.2.2 ISCAS’85 layout results ....................138 7.3 FOCSI for the complete layout ....................144 7.3.1 FOCSI Layout Area sizing selection .............145 7.3.2 ISCAS’85 layout results ....................146 7.4 FOCSI regularity and variability ...................148 7.4.1 Variability model ........................148 7.4.2 ISCAS’85 layout results ....................150 7.5 Conclusion ...............................152 8 Conclusion 155 8.1 Summary of contributions .......................156 8.2 Future works ..............................157 Bibliography 161 List of Figures 169 List of Tables 172 Acknowledgments The thesis started thanks to the collaboration project “Variations-Aware Circuit Designs for Microprocessors” between the Intel Barcelona Research Center and the Electronic Engineering Department of the Universitat Polit`ecnica de Catalunya. Then it was supported by the 2008 FI-B 00557 grant from the Generalitat de Catalunya and after by the FPU AP2007-04125 grant from the Spanish Ministry of Education and Science, the European Community’s Seventh Framework Programme (FP7/2007-2013) under grant agreement number 248538 (Synaptic project) and by MODERN project of the Spanish Ministry of Science and Innovation (ENIAC-120003 and PLE2009-0024). I would like also to thank the HiPICS research group (SGR 1497) from the Electronic Engineering Department and the ARCO research group (SGR 1250) from the Computer Architecture Department, both from the Universitat Polit`ecnica de Catalunya, the Barcelona Supercomputing Center, and the Centre Suisse d’´ Electronique et de Microtechnique (CSEM), from Neuchˆatel in Switzerland, that helped me during my thesis. v 4CHAPTER 1. INTRODUCTION between transistors and interconnects. PMD isolates the FEOL from the back-end of line (BEOL explained next) and protect transistors. For this step the variability affects metal width and thickness as well as interlayer dielectric thickness. •BEOL: back-end of line, for the rest of the interconnect metal layers and the vias connecting them. The goal is to create circuit functionality by interconnecting transistors and providing ground and power supplies. As for MEOL, variations appear in metal width and thickness as well as interlayer dielectric thickness, but concerning the upper metal layers. (a) Ingot production (b) Wafer slicing (c) Lithography (d) Etching (e) Ion implantation (f) ECP and CMP (g) Interconnection (h) Die testing (i) Packaging Figure 1.3: Manufacturing process overview [5]. 1.2.2 Lithography Lithography is used to obtain in the silicon wafers the small patterns of circuit layouts. It is based on projecting the pattern through a mask (including the shapes four times bigger than the desired shapes) on a photo-sensitive layer on the 1.2. INTEGRATED CIRCUIT MANUFACTURING PROCESS 5 top of the wafer. The photo-sensitive layer (also called resist) is then developed. If the resist is positive, the illuminated parts are eliminated. On the other hand, if the resist is negative, the non illuminated parts are eliminated. The remaining resist is then used as a protection for etching or implantation. Figure 1.4 shows the projection lithography system. Figure 1.4: Projection lithography system [6]. The source of light is a monochrome laser treated with an illuminator to tune the angular content of light before traversing the photomask or reticle. The refracted light is then treated by a projection lens to reach the resist and form the image desired in the wafer. As traversing the reticle is equivalent to a Fourier Transform, the projection lens acts as a 2D Inverse Fourier Transform. Finally the resist detects light intensity. The resolution of the image obtained using lithography is limited by the numerical aperture (NA) of the projection lens, by the wavelength of the laser source (λ) and by the Rayleigh constant (k1), following equation (1.1). A 0.6 6CHAPTER 1. INTRODUCTION value for the k1parameter is required to ensure high pattern fidelity. resolution =k1·λ NA (1.1) Added to this complex system, the lithography tool presents non-idealities. For instance, light intensity (also referred as dose) and distance to the resist (also referred as focus) vary. For dose, the variation observed in patterns of the layout depends on the slope of the light intensity when going from illuminated to non-illuminated zones. Ideally, the slope should be infinite at the edges of the patterns for maximum resolution. However, this is not the case for real tools and a variation in light intensity will cause a variation in the printed shapes. For the distance to the resist, there is an ideal distance, or optimum focus, where all light waves coming from different angles have the intended phase offset relative to each other and this way form a projection of the desired image on the reticle. However, when the position of the resist varies, generating defocus, the image also varies. Mask has also imperfections associated to its own manufacturing process. Figure 1.5: Sub-wavelength lithography gap. Source: Intel. 1.2. INTEGRATED CIRCUIT MANUFACTURING PROCESS 7 1.2.3 Resolution enhancement techniques The conventional way to allow good resolution and, therefore, acceptable manufacturability when scaling down technologies, was to reduce the source of light wavelength (λ). However, for the last five technology nodes spanning from 90 nm to 22 nm the same 193 nm wavelength argon fluoride laser source is still being used due to the delays and challenges in developing, first, the fluorine 157 nm lithography systems, that was abandoned, and, second, the 13.4 nm extreme ultraviolet lithography (EUVL), that is expected to be available in 2013. Figure 1.5 shows the gap between lithography wavelength and critical feature sizes. Therefore, for advanced technology nodes, these sub-wavelength lithography technologies require advanced resolution enhancement techniques (RETs) that allow reducing k1factor to values near 0.25 while maintaining good pattern fidelity. Amongst them there are techniques such as phase-shift mask (PSM), optical proximity correction (OPC) or double pattern technology (DPT). The principles of DPT, PSM and OPC are depicted in Figures 1.6,1.7 and 1.8. Immersion lithography has also been introduced in last technology nodes to obtain an ultrahigh numerical aperture (NA) that also increase lithography resolution. However, these techniques are not effective for complex circuits with arbitrary layout patterns [7,8,9] and manufacturing variability still appears in effects like corner rounding or line-end shortening. For instance, for the widely used standard cell approach, considering a library of 1000 standard cells, there are approximately 2 million possible configurations to arrange a pair of standard cells. This large number of possible arrangements makes RETs computationally difficult. 1.2.4 Electroplating and chemical mechanical polishing Another process steps that will influence circuit variability are electroplating (ECP) and chemical mechanical polishing (CMP), that are very correlated and are used for metal deposition and planarization. 8CHAPTER 1. INTRODUCTION (a) Pattern gate lines/spaces (b) Pattern cut mask (c) Final gate pattern (d) Intel 45 nm SRAM cell Figure 1.6: Double Patterning process flow [10]. Figure 1.7: Phase Shift Mask. PSM lithography improves pattern fidelity by darkening the edges of shapes through destructive interference of light using a mildly translucent photomask. T is the amount of light that trespasses the photomask. P is its phase. [11] 1.2. INTEGRATED CIRCUIT MANUFACTURING PROCESS 9 Figure 1.8: Optical Proximity Correction. OPC begins by characterizing the patterning operation and all its inaccuracies from various sources. This mathematical description of the process is used in iterative optimization routines to pre-distort the mask shapes to compensate for known, systematic, and modeled patterning inaccuracies. [11] 1.2.4.1 Electroplating Patterned trenches for wires and vias are filled with copper using ECP. It is based on an electro-chemical copper deposition where the wafer acts as a cathode and solid copper as an anode in a plating solution containing copper ions, the electrolyte. Four chemical additives have to be adjusted to control the copper growth in the trenches [4]. These additives are: •Suppressors, to restrain local growth. •Chloride ions, to facilitate the suppressor adsorption. •Accelerators, to enable local growth acceleration. •Levelers, to reduce surface topography. The control of these additives is critical to avoid the formation of voids in the resulting vias and wires. Moreover, different patterns of the trenches with 10 CHAPTER 1. INTRODUCTION different metal densities systematically produce variations in the thickness of the copper grown. 1.2.4.2 Chemical mechanical polishing Chemical Mechanical Polishing (CMP) is used for planarization of metal layers after ECP. The excessive metal is etched away applying rotating pressure in a mechanical way with a pad while adding abrasive particles to the surface of the wafer. Therefore it is a combination of mechanical and chemical processes. Due to surface irregularities because of different metal growth from ECP, the result of CMP is not a perfectly planar wafer (Figure 1.9). Effects like scratches, under polishing, dishing and erosion appear. Then, when applying lithography over this surface, focus variability occurs and leads to process variations in the upper metal layers. These variations will impact wires and vias behaviors. (a) After ECP (b) After CMP Figure 1.9: Electroplating and Chemical Mechanical Polishing interactions [4]. 1.3. CHALLENGES OF SEMICONDUCTOR INDUSTRY 11 1.2.4.3 Metal filling Metal characteristics will vary substantially depending on layout and intra-layer density variations, neighborhood layout patterns and the underlying topology. That is why, to deal with variability arising from ECP–CMP interactions, dummy metal features in free spaces of the layers are added to obtain density of the materials as uniform as possible. In that way, metal growth is more uniform and so will be the resulting planarization. However as density will remain variable depending on the circuit designed, planarization variability will still occur. 1.3 Challenges of semiconductor industry The semiconductor industry is facing increasing challenges related to the integrated circuit manufacturing process but also to the design productivity. Regarding the manufacturing process, critical issues are equipment cost, as well as mask cost, and the manufacturing variability an yield. Regarding design productivity, the problem is centered on the time-to-market and also on cost. Turnaround time required to obtain working circuits is increasing because of circuit variability, as well as is increasing the EDA tools computational effort required to deal with design complexity. 1.3.1 Manufacturing challenges 1.3.1.1 Manufacturing cost The major contributor to manufacturing cost is equipment cost. In Figure 1.10 we can see how the wafer fabrication line cost (that includes the lithography exposure tools cost) has increased exponentially over the years of technology scaling. Nowadays, the cost can reach more than $4 billion. Mask cost is also critical as new masks are required for each of the designs developed. Figures 1.11 and 1.12 show how the mask cost of the standard cell approach increases with every technology node, associated to the mask complexity increase, in terms of the number of mask layers. The mask cost has increased 12 CHAPTER 1. INTRODUCTION from $102 thousand dollars, for a 350 nm design, to almost $2 million, for a 65 nm design. To illustrate the cost challenge faced by the semiconductor industry, in Figure 1.13 we can see how design costs surpass revenues for application specific integrated circuits (ASICs). New approaches are required. Figure 1.10: Rising cost of manufacturing. [12] 1.3.1.2 Manufacturing variability Due to the limitations of the different steps involved in the manufacturing process, transistor and interconnect parameters vary. For integrated circuits, process variations are defined as the deviation from the expected nominal value of the characteristics of these transistors or interconnects. This deviation is calculated from a large number of samples. Depending on the mechanism involved, we can observe different scales of process variations, such as within-die (WID), die-to-die (D2D) and wafer-to-wafer (W2W). Process variations can also be classified depending on their behavior: they can be systematic or random variations. The resulting parameter varia- 1.3. CHALLENGES OF SEMICONDUCTOR INDUSTRY 13 Figure 1.11: Rising cost of a CMOS standard cell mask set. [7] Figure 1.12: Mask layers and cost per technology node. [13] Chapter 2 Related work Layout regularity was first introduced in the early 1980s. At that time, the issue addressed was from the design side. In fact, designing integrated circuits required reducing layout complexity as no EDA tools were available. However, nowadays, layout regularity is also focused on manufacturability issues, that were not critical in the past. In section 2.1 we explain why layout regularity is becoming mandatory to tackle nowadays design and manufacturing challenges. The first regular layout fabrics and how they have evolved to nowadays fabrics are explained in section 2.2. Then, in section 2.3 we describe the existing layout analysis tools that can be used to evaluate manufacturability. Finally, in section 2.4 we justify the thesis works based on the related works presented. 2.1 The need for layout regularity 2.1.1 Regularity for manufacturing 2.1.1.1 Reducing manufacturing cost The cost reduction due to layout regularity is based on reducing the mask cost. Regularity allows design with a reduced set of masks, that can be reused in their majority for different designs. Only the masks devoted to the configuration of the particular circuit vary from one design to the other. 21 22 CHAPTER 2. RELATED WORK 2.1.1.2 Reducing manufacturing variability Improving layout regularity is arising as a possible solution for manufacturers to reduce systematic variability [22,12,23,24,25]. Regular designs are composed by a reduced number of layout patterns in silicon and also in metal. Therefore, layout and intra-layer density variations are minimized thus reducing the manufacturing process variations associated to electroplating (ECP) and chemical mechanical polishing (CMP). Moreover, the number of possible layout neighborhoods is also reduced. The main benefit is the reduction of the amount of systematic process variations by allowing RETs (like OPC or DPT explained before) to more effectively mitigate lithography printability issues. Only a few layout patterns need to be optimized for manufacturability and therefore better process variability control can be achieved. 2.1.1.3 Improving manufacturing yield Every two years a technology node starts at the first small circuit or transistor fabrication [26]. Then, huge investments are required in order to reach commercial chips yield. For deep sub-micron technologies the initial yield is around 15-20% and the time-to-market can last three years before reaching maximum chip yield around 50-60% [27,28,29]. In the first year the major part of the yield improvement takes place, then the improvement slows down every year. For the sake of illustrating this evolution we will consider that a 70% of the yield improvement occurs in the first year, 18% during second year, and 12% in the last year. In the case of regular layouts considering DFM techniques, we expect that this behavior can be compressed to one year. Regarding the initial yield increase of regular layout proposals, we have to examine the different factors causing yield loss as explained before. For parametric yield loss (25% for 90 nm), once the design will be optimized, we hope the yield loss for regular designs will be lower than the one for standard designs because of 2.1. THE NEED FOR LAYOUT REGULARITY 23 0 4 8 12 16 20 24 28 32 36 0 10 20 30 40 50 60 Months after technology apperance Yield (%) 90nm REG 90nm STD 65nm REG 65nm STD Figure 2.1: Yield predictions for standard (STD) and regular (REG) approaches. We have considered that the regular design initial yield is increased by a 5% and that yield improvement rate is increased by a 1.5 factor over a year the manufacturing variability reduction that will increase design predictability. For systematic lithography based failures (15% of yield loss for 90 nm), regular designs are expected to perform much better than standard. In fact, by forcing layout regularity in both devices and interconnects, regular structures will reduce systematic yield losses associated to lithography tools and resolution enhancement techniques as we have explained. Finally, for random defect-density related problems (10% of yield loss for 90 nm), it is possible that regular designs perform worse than standard due to the area overhead that can be introduced by enforcing regularity. In any case, it is the less important contributor to yield loss and it is not expected to grow noticeably as opposed to the other sources of yield loss. Considering the hypothesis presented above, we have assumed that regular designs will have a little advantage in front of standard designs in terms of yield. That is why we have considered a 5% initial yield improvement in order to illustrate regular layout benefits. We also analyze the yield improvement rate over time. The difference in speed between regular designs and standard yield evolutions is because regular is based on the repetition of a reduced set of basic blocks. The yield improvement over time is accelerated because only a reduced number of layout patterns has 24 CHAPTER 2. RELATED WORK to be optimized. That is why we have considered that yield improvement rate for regular designs is increased by a given factor. Note that such ratio depends strongly on the process technology and the manufacturer so it may vary a lot across different technologies and manufacturers. We have set such factor to 1.5 for the sake of illustrating potential benefits of regular designs on yield. Based on the assumptions explained about yield evolution, initial yield level and yield improvement rate, Figure 2.1 shows predicted yield evolution for the 90 nm and 65 nm technology nodes compared to the expected yield evolution of regular layout design techniques. We can see how it is very likely that regular designs provide high yield after one year of development for a given technology node (i.e., 65 nm) when the standard approach provides acceptable yield for the previous technology node (i.e., 90 nm), that has appeared two years before but has been developed during three years. Although this is just a rough evaluation of yield, it illustrates the advantages of regular layouts with respect to standard design. 2.1.2 Regularity for design To illustrate the benefits of layout regularity from the point of view of design, we will refer to Figure 2.2 that compares the life cycle of a design with and without including DFM techniques like improving layout regularity. In summary, we can see how DFM is predicted to reduce the time-to-market and therefore to increase the profit. 2.1.2.1 Reducing design cost As we can see in Figure 2.2, a higher design effort is required at the beginning of the life cycle using a regular fabric, because the bricks to be repeated and the way to configure them have to be developed. However, once the fabric bricks defined, the design cost is reduced because less design re-spins are required (also referred as turnaround time, see next subsection). Furthermore, as the fabric complexity is reduced because of the reduced set of bricks, the portability of 2.1. THE NEED FOR LAYOUT REGULARITY 25 Figure 2.2: Economics of DFM. Dashed line represents the design without DFM. Solid line is for the design deploying DFM. [12] designs is increased. For instance, when scaling down one technology, the work to develop the fabric will be also reduced. 2.1.2.2 Reducing turnaround time Layout regularity reduces manufacturing variability. Therefore circuit unpredictability is mitigated and design guard bands can be better estimated. This is the reason why design effort and turnaround time are reduced with layout regularity. It is indicated in Figure 2.2 as the phase of yield firefight re-spins where you can see that the DFM design curve has a higher slope than the standard design curve. 2.1.2.3 Reducing complexity Layout regularity reduces the amount of design possibilities by imposing stricter design rules and methodologies to generate the circuits. Therefore, EDA tools have to deal with less complex designs and can be optimized. For instance, as 26 CHAPTER 2. RELATED WORK we have explained previously, RETs become more effective in reducing manufacturing variability when improving layout regularity, but RETs also become easy and fast to achieve if compared with the resources and time spent on correcting and optimizing masks for irregular layouts [13]. Therefore the time-to-market can be reduced, such as in SRAM designs. Even if the design of the SRAM cell is critical, SRAM designs get to the market long before conventional logic designs because only one cell has to be optimized. 2.2 Regular layout fabrics The first regular fabric proposals are gate arrays (GAs) which tackle the lack of EDA tools in the 1980s. Another set of proposals consist of standard cells which address the design of large complex integrated circuits. Finally, we introduce structured ASICs which focus on increasing regularity to mitigate manufacturing variability [30,31]. 2.2.1 Gate Arrays 2.2.1.1 Gate Matrix Regular designs were first considered in the early 1980s as a systematic approach to chip layout when EDA tools were in development and did not have nowadays capabilities. Some of the first proposals are based on the concept of gate matrix (GM) where the regular intersection of rows and columns provide transistors and interconnections. There are two types of such structures that are shown in Figures 2.3 and 2.4. First, polysilicon oriented structures, where polysilicon columns, in which transistors are placed, are connected using metal rows to implement the function [32]. Second, there are metal oriented structures, where the intersection of metal rows, containing polysilicon gates, and diffusion columns generate transistors already connected [33]. In both cases, transistor regularity is achieved. However, interconnect regularity is not taken into account because interconnections are configured depending 2.2. REGULAR LAYOUT FABRICS 27 on the functions synthesized. Figure 2.3: Polysilicon oriented structure. (a) Illustration of a standard cell configuration. (b)Polysilicon lines (matrix columns) which correspond to the inputs and outputs of the circuit with the transistors placed on their gating line. (c) The transistors have been grouped (matrix rows) and the interconnections are made with metal or diffusion. [32] Figure 2.4: Metal oriented MOS transistor. [33] The physical design of these GM proposals involves solving the gate matrix layout problem (GMLP) for instance using a constructive genetic algorithm (CGA) [34]. The main objective is to minimize the area of the final layout by arranging the circuit transistors in the GM. The number of metal rows used (also 28 CHAPTER 2. RELATED WORK referred as routing tracks) as well as the total wire length are included in the cost factors of the solution. 2.2.1.2 High-Density Gate Arrays High-density gate arrays (HDGAs) are an evolution of GAs [35]. They are based on the optimized implementation of the structures called sea-of-transistors and sea-of-gates. The basic cells of the sea-of-gates structure proposal are gates from four to eight transistors isolated by means of oxide isolation as shown in Figure 2.5. For sea-of-transistors all transistors of the same type P or N share the same diffusion. This structure is depicted in Figure 2.6. Some circuits require transistors of different sizes and transistor gates usually share the same input. That is the reason why the common-gate HDGA structure presented on Figure 2.7 has been proposed with transistors of different sizes. For HDGAs, transistor regularity is achieved if no different transistor sizes are considered. Interconnect regularity is not ensured because of the configuration of the wires like for GM. Figure 2.5: Typical example of a Sea-of-Gates architecture. [35] 2.2. REGULAR LAYOUT FABRICS 29 Figure 2.6: Sea-of-Transistors design. (a) Typical example of a Sea-of-Transistors architecture (b) Sea-of-Transistors architecture with multiple NMOS transistors. [35] Figure 2.7: The common-gate HDGA architecture. [35] 36 CHAPTER 2. RELATED WORK standard cell library (usually combinational and sequential cells) and also how many drives will be considered for each (the same function can be implemented with different transistor sizings so that it can be used in paths that require more or less strength). One standard cell is then associated to each of the functions with a given drive. From the logic description of these functions as well as from their cell layouts, that need to be designed one by one, the library characterization is performed in order to obtain the library files containing the geometric (including area) and also energy and delay information of each of the cells. As explained before, note that standard cell layouts have fixed height (defined by the number of routing tracks, of height depending on the technology) and variable width, but always multiple of the technology routing pitch. All these constraints are required for later place and route. Usually, cells are divided into two zones, one containing PMOS transistors and the other containing NMOS, with polysilicon lines drawn vertically, that for compaction reasons try to be aligned respecting the inputs of the transistors to be able to share these vertical polysilicon lines between pull-up and pull-down networks. For doing that, techniques like input ordering (finding Euler Paths) and transistor folding are used (with their implications on transistor sizing). The next step in the standard flow is logic synthesis. Having as input the circuit description (for instance in VHDL format) and the cell descriptions, the synthesizer can select the standard cells that will be used for the given circuit and generate the circuit netlist, so that the resulting circuit can meet the energy, delay and area constraints fixed by the designer. Once the circuit netlist is synthesized, place and route is performed by taking into account the cell input and output positions (also called circuit pins) as well as energy and delay estimations for cells but also for interconnects. What is required for this step is that each of the input and output pins are on-grid, respecting the technology pitches for all layout layers so that the routing wires are always also on-grid. In a way, this is a hard constraint but it allows that each of the cells can be placed next to each other without routing overlaps, and it also diminish the 2.2. REGULAR LAYOUT FABRICS 37 enormous amount of routing possibilities for complex circuits. Special filler cells are required to obtain the final layout, because placed standard cells can have free spaces between them that need to be filled. These spaces are also multiple of technology pitch and therefore the filler cells widths are chosen accordingly. Finally, the layout can be evaluated to verify that energy, delay and area results meet the desired constraints for the circuit. Figure 2.12: The structured ASIC concept. An array (sea) of tiles is prefabricated across the face of the chip. Structured ASICs also typically contain additional prefabricated elements, which may include configurable general-purpose I/O, microprocessor cores, gigabit transceivers, embedded (block) RAM, and so forth. [31] 2.2.3 Structured ASICs Another class of regular layout fabrics are structured ASICs (SAs) [31]. They are constructed using an array of identical basic tiles that contain the logic (see Figure 2.12). The different types of SAs can be classified depending on their regularity granularity that is defined by the elements included in the tile. For instance, the tile can be composed by gates, multiplexers, lookup tables, buffers, 38 CHAPTER 2. RELATED WORK etc. The condition that has to be ensured is that all functions can be synthesized with the elements included in the tile. 2.2.3.1 NAND-based regular structure One possibility is to consider a tile composed by a single two inputs NAND gate [48,49] with which all functions can be implemented only configuring the interconnections. In this proposal, transistor regularity is high, because of the use of a single basic cell (except in the zones where “dummy cells” are included). However, interconnect regularity is very poor. There are different densities of metals because of the difficulties in routability when customizing the wires for the function to be synthesized. Interconnect presents zones of higher density in “extra tracks” and “dummy cells” and zones less congested in the rest of the layout. Regarding the physical design flow (that can be performed using the classical standard cell flow), some problems may appear in routability due to the use of the single NAND gate as basic cell. Empty “dummy cells” and “extra tracks” are possible solutions to place wires when congestion is detected. Figure 2.13 shows the resulting layout. Figure 2.13: Layout with “dummy cells” and “extra tracks”. [48] 2.3. EXISTING LAYOUT ANALYSIS TOOLS 39 2.2.3.2 Via-Configurable Logic Blocks Another possibility is to consider a tile or basic logic element (BLE) composed by via-configurable logic blocks [50]. In particular, a BLE consists of two types of blocks: a via-configurable functional cell (VCC), containing the combinational logic needed for functions, and two via-configurable inverter arrays, containing inverters (see Figure 2.14). Experiments performed for the 180nm technology node on 20 large benchmarks ranging from 1.5 k to 17 k nodes showed that this via-configurable design technique presents overheads in all three metrics of area, performance and power compared to standard cell design. The area increases in average by 116%. It shows 33% performance degradation and consumes 17% more power than the standard cell design. This via-configurable logic blocks design fabric has high transistor regularity, but limited by the use of two different blocks with different compositions and layouts. Interconnect regularity is complete because all the routing channels are implemented and configured using vias. Regarding the physical design flow, it is similar to the FPGA approach, but the configuration can be done only once. The functions are mapped to the combinational cell and the inverter cells perform the buffer connections with the surrounding tiles. In fact, the cells have prefabricated transistors, contacts and M1 wires and only the M1-M2 mask has to be configured depending on the function to be synthesized, thus reducing mask costs. In this proposal, the routing method is an important issue, as it is for all regular designs, because of the limited set of vias that can be configured [51]. 2.3 Existing layout analysis tools In this section we present the existing layout analysis tools that can be used to evaluate circuit manufacturability. We will first explain the standard DFM flow to address manufacturability issues. Then, we will give an overview of the tools 40 CHAPTER 2. RELATED WORK Figure 2.14: Via-configurable logic block. [50] from Mentor Graphics, that are the most widely DFM tools used. Then, we will explain other methodologies to estimate systematic manufacturing variability, for which no commercial tools are available, and that we found in the literature. These methodologies include the evaluation of lithography proximity and coma effects variability, and also the modeling of mechanical stress variability. Finally we present how the two-dimensional Fourier Transform has been used to evaluate layout regularity. 2.3.1 Standard DFM flow Figure 2.15 summarizes the standard DFM flow to improve designs manufacturing yield. Layout analysis tools use DFM models to estimate manufacturing yield and to identify the layout modifications required to improve manufacturability. DFM refers to the action of making modifications to the target design in order to minimize critical manufacturing operations that can cause yield losses. 2.3. EXISTING LAYOUT ANALYSIS TOOLS 41 Figure 2.15: DFM standard flow. 2.3.2 Mentor Graphics DFM tools References to Mentor Graphics tools can be found in [52]. Following the standard DFM flow, they provide a set of tools to analyze the layout, to modify it in order to improve design yield, and even to predict the printability of particular patterns by simulating lithography tools and resolution enhancement techniques. Regarding layout analysis, Calibre YieldAnalyzer performs two kind of layout evaluations. First, the CAA (Critical Area Analysis) and then the CFA (Critical Feature Analysis). CAA is used to detect opens and shorts that can cause random yield losses associated to random particles. For this step, the distributions of random dust particles in the given process are required. On the other hand, CFA uses the design rules check (DRC) environment to check recommended rules and detect where the layout patterns can cause systematic yield losses. The set of recommended rules depends again on the particular process and does not always comprehend the whole set of possible layout patterns in a layout. Also for layout analysis, Calibre CMPAnalyzer evaluates the impact of chemical mechanical polishing (CMP) to predict planarity variability. In that way, designers can detect thickness and resistance variability caused by decreasing 42 CHAPTER 2. RELATED WORK linewidths. CMP models are required for this analysis and are checked again using the DRC environment. For layout modification, Calibre YieldEnhancer uses the results of Calibre YieldAnalyzer to modify the layout in order to improve the estimated yield results. It allows automatic via doubling, via extensions and enclosures, as well as growing polygons to a minimum size. YieldEnhancer also includes the SmartFill algorithm which goal is to modify metal filling shapes added for CMP issues. SmartFill modifies the layout to reduce resistance variability while minimizing the number of fill shapes added. Finally, for printability simulation, Calibre LFD (Litho-Friendly Design) in combination with Calibre Workbench is used to predict the printability of designed layouts and to find lithographic hotspots. These tools are based on models for the lithography system (lens, masks and photoresist), also including the impact of resolution enhancement techniques (like OPC) in order to simulate the resulting layout shapes. Varying particular parameters of the lithography system (like dose and focus) the tool provides a graphical representation of the final shapes in the layout giving the process variations (PV) bands. These PV bands represent the range in which the final shapes are predicted to be (see Figure 2.16). In fact, “what you see is not anymore what you get” for deep submicron technologies. However, the simulation of complex circuit layouts requires and important computational effort. 2.3.3 Systematic manufacturing variability models Transistor channel length variations and threshold voltage variations are major sources of circuit performance unpredictability [53,54]. We explain next the models found in the literature that can be applied to estimate their manufacturing variability. 2.3. EXISTING LAYOUT ANALYSIS TOOLS 43 Figure 2.16: PV bands of a poly gate. Active layer in grey, poly layer in red, PVband of the poly layer in blue. 2.3.3.1 Channel length variations: proximity and coma effect Models for systematic variations of channel length (L) variability can be found in [55] taking into account proximity and coma effects. Basically, proximity and coma effects models associate to each channel a percentage of L variation depending on the layout neighborhood on both sides of the feature to be printed. The models are based on the inspection of the layout to the left and to the right of the feature in order to define the kind of neighborhood that the channel has. They measure the distances to the first polysilicon line in each direction. Figure 2.17 depicts an example of distances n1 to the left and n2 to the right. The difference between both is that for proximity effect left side and right side distances are equivalent in their impact on variations but for coma effect they are not. The models include tables with the nominal amount of process variations for each case and the final percentage variation for L can be obtained by setting the maximum percentage range of variations. The final result is the expected L for each of the transistors on the layout. The entire circuit L distribution can then be characterized by its mean µand its standard deviation σ. 2.3.3.2 Threshold voltage variations: mechanical stress Models for silicon mechanical stress due to shallow trench isolation (STI) are included in the BSIM4 transistor models [56]. Transistor performance is affected 44 CHAPTER 2. RELATED WORK Figure 2.17: Proximity and coma effect model measurements Figure 2.18: STI stress model measurements depending on the shape of the oxide diffusion area and on the position of the device inside this area. In particular, threshold voltage (Vth) varies depending on the distances from the channel to the edge of the diffusion (where the STI begins). Figure 2.18 shows an example for the measurement of these d1 and d2 distances. The relative impact also depends on the dimensions of the transistor. Transistors with wider channel will be less affected. 2.3.4 Evaluating layout regularity To the best of our knowledge, the only method that has already been used for this purpose is the visual comparison of a two-dimensional Fourier transform. It has been used in [8] to compare the degree of regularity of: (a) a polysilicon layer of an SRAM array, (b) logic implemented using standard cells and (c) logic implemented using a regular fabric. Since a regular layout utilizing a small number 2.4. THESIS WORKS MOTIVATION 45 Figure 2.19: 2-D FFT spatial frequency analysis for (a) SRAM (b) standard cells (c) regular fabric [8]. of layout patterns is expected to have a finite number of frequency components the comparison is based on the number of frequency components obtained by the Fourier transform. By graphical inspection (see Figure 2.19) it can be seen that the SRAM and regular fabric layouts are more regular than the standard cells. However, the graphical inspection of the Fourier graphs does not give enough information to find out which of the two regular layouts is more regular than the other because the two frequency responses are similar. 2.4 Thesis works motivation In this chapter we have justified the use of layout regularity to address nowadays scaling challenges from the design and also manufacturing sides. Then we have presented the existing regular layout fabrics starting from the GAs developed in the early 1980s. Finally, we have presented the way the semiconductor industry copes with manufacturing issues using different EDA tools for DFM. These are 52 CHAPTER 3. UNIQUE CONTRIBUTIONS OF THE THESIS •DATE Workshop 2009: poster “Addressing Process Variations with VCTA” at DATE Workshop on Process Variability: New Techniques for the Design and Test of Nanoscale Electronics, 2009. •DFM&Y 2007: M. Pons, F. Moll, A. Rubio, J. Abella, X. Vera, A. Gonz´alez. Via-Configurable Transistors Array: a Regular Design Technique to Improve ICs Yield. In IEEE International Workshop on Design For Manufacturability and Yield, 2007, held in conjunction with the IEEE International Test Conference (http://hdl.handle.net/2117/1481). Cited by: –ARCS 2011: M.Elhoj, A.I.Reis, R.P.Ribas, F.Ferrandi, C.Pilato, F. Moll, M.Miranda, N.Woolaway, A.Grasset, P.Bonnot, G.Desoli, D. Pandini. SYNAPTIC Project: Regularity Applied to Enhance Manufacturability and Yield at Several Abstraction Levels. In Proceedings of the 24th International Conference on Architecture of Computing Systems, 2011. –TVLSI 2011: H.-H.Tung, R.-B.Lin, M.-C.Li, T.-H.Heish. Standard Cell Like Via-Configurable Logic Blocks for Structured ASIC in an Industrial Design Flow. In IEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2011. –GLSVLSI 2010: Yu-Chen Chen, Hou-Yu Pang, Kuen-Wen Lin, Rung- Bin Lin, Hui-Hsiang Tung, Shih-Chieh Su. Via configurable threeinput lookup-tables for structured ASICs. In Proceedings of the 20th symposium on Great lakes symposium on VLSI, 2010, pages 49-54, ISBN: 978-1-4503-0012-4. –ISIC 2009: Hui-Hsiang Tung, Yu-Chen Chen, Da-Wei Hsu, Shih-Jung Hsu, Sin-Yu Chen, Rung-Bin Lin. Via-configurable logic block architectures for standard cell like structured ASICs. In Proceedings of the 2009 12th International Symposium on Integrated Circuits, 2009, pages 17-20. Chapter 4 Evaluation framework In this chapter we summarize the evaluation framework used in the thesis. First, in section 4.1 we present the computers used for running thesis works. Then, in section 4.2 we give a list of the commercial EDA tools used as well as the methodologies and own scripts developed to interact with these tools in an automated way. Finally, in section 4.3 we detail the CMOS technologies and the standard cell libraries available as well as the circuits chosen as benchmarks and how we have evaluated them. In next chapters, circuits and layout styles explained here will be referenced. 4.1 Computation resources The software used in this thesis have been run in several machines available thanks to the Computer Architecture and Electronic Engineering Departments at the Universitat Polit`ecnica de Catalunya. On one side, at the Computer Architecture Department, we have used two computer clusters. The first one, with 80 Nodes USP Xeon, each with 2 Intel Xeon processors at 2.80GHz and 2GB of RAM memory. The second one, with 73 Nodes USP Xeon Dual-Core 5148, each with 2 Intel Xeon Dual-Core processors at 2.333GHz and 12GB of RAM memory, and with 40 Nodes USP Xeon L5630 53 54 CHAPTER 4. EVALUATION FRAMEWORK Dual, each with 2 Intel Xeon Quad-Core L5630 processors at 2.13GHz and 24GB of RAM memory. Then, at the Electronic Engineering Department, we have used three servers. The first one, with 2 Quad Core Intel Xeon at 2.27GHz and 24GB of RAM memory. The second, with 2 Dual Core Intel Xeon at 3.20GHz and 4GB of RAM memory. The third, with an Intel Pentium D at 3.00GHz and 2GB of RAM. Table 4.1: EDA tools Function Tool Vendor Circuit synthesis Encounter RTL Compiler [57] Cadence Place and Route Soc Encounter [58] Cadence Schematic generation Virtuoso Schematic Editor [59] Cadence Layout generation Virtuoso Layout Suite [60] Cadence Library characterization Encounter Library Characterizer [61] Cadence LVS check Calibre nmLVS [62] Mentor Graphics DRC check Calibre nmDRC [63] Mentor Graphics Parasitic extraction StarRC [64] Synopsys Circuit simulation HSPICE [65] Synopsys 4.2 Electronic design automation tools 4.2.1 Commercial tools For circuit design and simulation, we have used commercial tools from different vendors including Cadence, Mentor Graphics and Synopsys (see Table 4.1). In some cases, for interacting with design tools, we learned how to use Cadence SKILL language and Mentor Graphics Standard Verification Format (SVRF). In particular, SKILL was used in the layout and schematic generation automation for VCTA (see chapter 6) and SVRF was used to define design rule checks to evaluate proximity and coma effects using Calibre nmDRC (explained in chapter 2). 4.2.2 Data treatment For data treatment we have combined bash scripts [66] and MATLAB scripts [67]. In particular we treated HSPICE simulation outputs with bash (using its parsing capabilities) and then made calculations on them using MATLAB. 4.3. BENCHMARK CIRCUITS AND EVALUATIONS 55 Bash scripts were also used for submitting jobs (HSPICE simulations but also our own C codes) into cluster queue nodes. 4.2.3 C programming For developing and debugging our C codes (for VCTA automation in chapter 6 and for FOCSI metric in chapter 7) we have used gcc and gdb tools. 4.3 Benchmark circuits and evaluations 4.3.1 Circuits In the thesis we have worked with the following circuits: •32-bit binary adders, a common block in digital designs •a delay-locked loop, used for analog designs •ISCAS’85 benchmarks, including several combinational circuits 4.3.1.1 32-bit binary adders Binary adders structure can be divided in 3 logical blocks (Figure 4.1). First, in the Bitwise PG Logic, propagation and generation are calculated for each of the bits of the adder. Second, in the Group PG Logic, the carry calculation is performed in different ways depending on the adder considered. In our works, we have worked with 32-bit Carry-Ripple adder (CR32), Carry-Lookahead adder (CLA32) and Kogge-Stone adder (KS32). The logical cells required for this second part are shown in Figure 4.2 and Figure 4.3. Finally, in the Sum Logic, the resulting sum and carry-out are calculated [68]. 4.3.1.2 Delay-Locked Loop The Delay-Locked Loop (DLL) architecture that we have used is the one presented in Fig. 4.4. The Voltage Controlled Delay Line (VCDL) is composed of a chain of identical cells connected in series. The delay cells are based on a current 56 CHAPTER 4. EVALUATION FRAMEWORK starved inverter where its delay is controlled by means of an external voltage, and a level shifter to convert the output back to rail-to-rail. The delay cell, and hence the whole VCDL, are implemented differentially to improve performance [69]. In terms of energy consumption and jitter, the dominant block of the DLL is the VCDL [70]. Careful design of the delay cells of the VCDL is needed to reduce Figure 4.1: General binary adders structure. The structure for a 4-bit adder is shown to illustrate the 3 logical blocks. Figure 4.2: Cells needed for the Group PG Logic (CR32, CLA32 and KS32). 4.3. BENCHMARK CIRCUITS AND EVALUATIONS 57 Figure 4.3: Cells needed for the Group PG Logic (CLA32). Vcontrol Ref Out Edge Combiner or MUX P/FD CP REG ... Figure 4.4: DLL architecture. P/FD = Phase/Frequency Detector, CP = Charge Pump, REG = Regulator. Cell Number → Jitter → Noise Mismatch Figure 4.5: Jitter as a function of the DLL size for noise and mismatch. the total energy consumption but also to reduce the jitter, which is mainly related to the cell mismatch (Figure 4.5). Other sources of jitter like noise or the voltage ripple in the control voltage (Vcontrol) from the regulator have less impact than mismatch. 58 CHAPTER 4. EVALUATION FRAMEWORK Table 4.2: ISCAS’85 circuits description ISCAS’85 Description c17 6 NAND gates (test purposes) c432 27-channel interrupt controller c499/c1355 32-bit single-error-correcting c880 8-bit arithmetic logic unit c1908 16-bit single-error-correcting and double-error-detecting c2670 16-bit arithmetic logic unit and controller c3540 8-bit arithmetic logic unit c5315 9-bit arithmetic logic unit c6288 16x16 multiplier c7552 32-bit adder/comparator 4.3.1.3 ISCAS’85 benchmarks ISCAS’85 benchmark circuits where presented in [71]. They include several combinational circuits that are summarized in Table 4.2. 4.3.2 Technology nodes During the thesis we have had the opportunity to work with the following technology nodes (in chronological order): •commercial 90 nm technology available at the Electronic Engineering Department of the Universitat Polit`ecnica de Catalunya at the beginning of the thesis •45 nm technology NCSU Free PDK [72] •commercial 65 nm technology available at CSEM S.A during the last year of the thesis in Switzerland This is the reason why, the thesis evaluations have been done in different technologies. However, the results and trends observed are not technology dependent. Therefore, we have not repeated the whole set of evaluations for each single technology. 4.3. BENCHMARK CIRCUITS AND EVALUATIONS 59 4.3.3 Layout versions Initially we have evaluated VCTA layouts developed manually in the 90 nm technology node: •For digital design, we have implemented the 32-bit binary adders and compared them to their standard cell versions (STD90). For this, we have used the public standard cell layouts provided in [73] that offers a complete set of portable CMOS libraries that has been used for research projects such as the 875,000 transistors StaCS superscalar microprocessor and 400,000 transistors IEEE Gigabit HSL Router. •For analog design, we have implemented the DLL design and compared it to its full custom version (FC). For the full custom version we have used the one designed by our colleague Enrique Barajas, from the Electronic Engineering Department at the Universitat Polit`ecnica de Catalunya [70]. For the VCTA layouts developed later using the VCTA automation tool we have worked in the 45 nm technology node. In this case we have implemented the ISCAS’85 benchmarks and compared them to their standard cell versions using the standard cell layouts (STD45) generated from the OSU library [74]. Finally, in order to evaluate the FOCSI layout regularity metric, we have also implemented the ISCAS’85 circuits in the 65 nm technology node. In this case, we have used two different versions of standard cells: •a commercial standard cell library (STD65) available at CSEM S.A •a process variations aware library that we have developed at CSEM S.A. The focus of the new library has been to improve standard cells layout regularity of a library containing a reduced set of standard cells [75]. The library contains 24 cells with 15 logic gates, 6 latches, 2 flip-flops and 1 full-adder. In that way the number of possible layout neighborhoods is also reduced as fewer cell combinations can be found in the complete layout. In more detail, 60 CHAPTER 4. EVALUATION FRAMEWORK all layout layers in the cells of the new library are one-dimensional to ensure better manufacturability. Moreover, to increase regularity, transistor sizing is performed using fingering so that all the individual transistors are the same size but higher drives can be obtained by connecting them in parallel. Finally, contacts are doubled when possible to increase reliability. We will refer to this new library as the Robust standard cell library (Robust65). 4.3.4 Evaluations In Table 4.3 we summarize the circuit used in the thesis and the evaluations performed to compare the layout versions, as well as the technologies used and the chapters where they are referenced. 4.3. BENCHMARK CIRCUITS AND EVALUATIONS 61 Table 4.3: Benchmark circuits and evaluations summary Circuit Layout version Technology Evaluations Chapter 32-bit adders VCTA commercial 90nm Delay, Energy, Area, Proximity effects 5,6 32-bit adders STD90 commercial 90nm Delay, Energy, Area, Proximity effects 5,6 DLL VCTA commercial 90nm Delay, Energy, Area, Jitter 5 DLL FC commercial 90nm Delay, Energy, Area, Jitter 5 ISCAS’85 Robust65 commercial 65nm Layout Regularity and Variability 7 ISCAS’85 STD65 commercial 65nm Layout Regularity and Variability 7 ISCAS’85 VCTA Free PDK 45nm Delay, Energy, Area, Layout Regularity and Variability 6,7 ISCAS’85 STD45 Free PDK 45nm Delay, Energy, Area, Layout Regularity and Variability 6,7 68 CHAPTER 5. VCTA REGULAR FABRIC 5.1.3 Basic cell Back-end design The BC back-end is an interconnect grid that uses one-dimensional parallel metal lines alternating from horizontal to vertical direction from one layer to the next. In order to ensure interconnect regularity the whole grid is already in place in the BC. The configuration is done using vias (see next section). To illustrate the back-end design of the VCTA regular fabric, Figures 5.1c to 5.1g show metal 1 to metal 5 layers of the BC. The number of layers is only limited to the available metal layers in the technology node considered. In general, all metal layers available will be used for intra and inter-cell routing (intra-cell routing refers to the connections of the nodes inside of the BC and inter-cell routing refers to the connections from one BC to another BC). However, metal 1, metal 2 and metal 3 have other uses that we detail next. For metal 1 layer: •The number of metal 1 lines will determine the number of inputs that can be connected to the gates of the transistors in the BC, thus determining the maximum number of inputs that the functions mapped inside of the BC can have. In Figure 5.1c we can see how 4 of the 6 metal 1 lines can reach polysilicon lines. These will be the number of available inputs (I1 to I4 in the Figure). •The 2 metal 1 lines at the right and left edges of the BC are shared between horizontal adjacent cells and are used to power supply (VDD) and ground (GND) distribution. In this way, we ensure that neighboring cells can be abutted horizontally. Note that these 2 metal 1 lines are also extended vertically between vertical adjacent cells forming regular VDD and GND gridded networks along all BCs (see Figure 5.2). •Unused metal 1 lines that are not connected to gates can be used for intercell routing, by extending them vertically (see Figure 5.2). 5.1. VCTA PHYSICAL DESIGN 69 •Metal 1 layer is necessary to connect drains and sources of the transistors. Contacts are already placed between metal 1 and oxide diffusion to avoid different stress effects in the transistors and also to avoid the need to configure BC contacts to synthesize the different functions (only vias need to be configured). For metal 2 layer: •The metal 2 lines placed over the drains and sources of transistors (D/S P1 to D/S P3 and D/S N1 to D/S N3 in Figure 5.1d) are exclusively used to configure them. That is why they are already connected to metal 1 over drains and sources using vias. These decision is made to reduce the number of vias to be configured when synthesizing a new function and because all drains and sources will always require to be connected. Even if the transistor associated is not used in the BC function, drain and source are connected together to short the transistor and avoid extra power consumption. •Metal 2 lines at top and bottom edges are used for VDD and GND distribution (as were metal 1 lines at the right and left edges) and ensure the abutment of BCs in vertical direction. •The rest of metal 2 lines (up to four in Figure 5.1d, named M2#1 to M2#4) can be used for intra-cell routing and also can be extended horizontally for inter-cell routing (see Figure 5.2). For metal 3 layer: •2 metal 3 lines are connected to VDD and GND to allow the connection of drains and sources of the transistors to VDD or GND through the metal 2 lines devoted to configure drains and sources. These metal 2 lines cannot reach the right or left edges of the BC and therefore cannot be connected to metal 1 lines for VDD or GND (otherwise, metal 2 lines for drains and sources configuration will be connected to the neighbor metal 2 lines when 70 CHAPTER 5. VCTA REGULAR FABRIC placing 2 BCs next to each other, forcing drains and sources of neighboring BCs in the same row to be connected to the same node). Therefore the 2 metal 3 lines devoted to VDD and GND cannot be shared in the horizontal direction between neighbor BCs. However, similarly to metal 1 lines for VDD and GND, these metal 3 lines are extended vertically forming the VDD and GND regular grid (see Figure 5.2). •The rest of metal 3 lines (three in Figure 5.1e) are usually used for inter-cell routing by extending them vertically (like can be done for unused metal 1 lines). Upper metal layers (metal 4 and 5 and so on) are exclusively devoted to routing and are not required for VDD and GND distribution. 5.1.4 Basic cell configuration The BC front-end and back-end need to be configured to obtain the desired functionality. First the function is mapped in the serial transistors of the transistor array and then intra-cell routing is performed with the via-configurable interconnect structure. Finally inter-cell routing is performed by the extension of the metal lines across the borders of the BCs as explained in previous section. To configure the transistors, metal 1 is used to reach the gates, metal 2 is used to reach the drains and sources, and metal 3 ensures the availability of VDD and GND. Then, the rest of the metal layers (including metal 1, metal 2 and metal 3 if lines are still unused) are used for intra-cell routing by configuring vias. To illustrate the BC configuration, Figure 5.3 shows how a NAND function is synthesized using VCTA. 5.2. VCTA BASIC CELL IMPACT ON DESIGN 71 (a) (b) (c) Figure 5.3: NAND: (a) Schematic (b) BC schematic with 2 PMOS and 2 NMOS transistors available (dummy transistors are not depicted) and (c) BC layout, with T= 4 (corresponding to 2 available PMOS and NMOS transistors), 4 possible inputs using metal 1 (2 metal 1 lines are used for ground GND and power supply VDD) and up to 3 metal layers in this case (from metal 1 to metal 3). Yellow circles are contacts and vias. 5.2 VCTA Basic cell impact on design 5.2.1 Basic cell parameters The BC can have different resources depending on its chosen implementation that is defined by the following parameters: •the number of transistors Tfor PMOS and NMOS 72 CHAPTER 5. VCTA REGULAR FABRIC •the transistor channel width sizing W(channel length Lis the minimum depending on the technology) •the number of metal layers considered for routing N •the number of metal lines in each layer Mj(e.g., the number of metal 1 lines M1, that determines the number of inputs of the BC as transistor gates can only be accessed from this metal layer) 5.2.2 Basic cell impact on area and routability The VCTA layout area is determined by the BC area, which depends on its parameters and on the technology design rules and contact and via geometries. 5.2.2.1 Basic cell width The BC width WBC is determined by vertical metal 1 and metal 3 lines area: •For metal 1, the resulting BC width considering metal 1 structure WBCM1 follows Equation (5.1), that is graphically illustrated in Figure 5.4.M1W is the metal 1 line minimum width, M1Sis the metal 1 line minimum spacing, CW is the metal 1 to oxide diffusion contact width, CS is the minimum distance between contacts and metal 1 lines, and V IA1Eis the metal 1 enclosure required for metal 1 to metal 2 via 1. As VDD and GND lines are centered at the right and left edges of the BC, only half of these lines contributes to the BC width. Moreover, when placing a via 1 to connect to the upper metal 2 lines, if extra metal 1 enclosure is required, it has also to be considered as the minimum spacing between metal 1 lines will not anymore be enough in order to remain design rule check error free when including vias for the configuration of the BC. This will depend on the particular geometries of the via 1. WBCM1has to be greater or equal to the resulting calculation as this is the minimum width needed for the metal 1 structure considered. Note that CS, is ideally the sum of M1S and V IA1E, as it is also the minimum distance between metal 1 polygons, 5.2. VCTA BASIC CELL IMPACT ON DESIGN 73 so that WBCM1can be also written like in Equation (5.2). We distinguish the distance CS because it will be used next. For metal 1 there is a layout irregularity in the center of the BC due to contacts. WBCM1≥((M1−1)·M1W)+((M1−2)·(M1S+V IA1E))+(CW +2·CS) (5.1) WBCM1≥((M1−1) ·M1W)+(M1·(M1S+V IA1E)) + CW (5.2) Figure 5.4: Basic cell width considering metal 1 layer. The PMOS part of the cell is zoomed to allow better visibility of spacings and widths. A possible metal 1 polygon added for the placement of a via 1 is depicted to show the need of adding the enclosure of the via 1 to the minimum spacing design rule between metal 1 lines. •For metal 3, the width of the BC WBCM3follows Equation (5.3), where M3Wis the metal 3 line width, M3Sis the metal 3 line minimum spacing, V IA3Eis the metal 3 enclosure required for via 3, and SH is the number of shared metal 3 lines at the right and left edges of the BC. SH can take values 0 (when no lines are shared) or 2 (when both lines are shared at each edge of the BC). Equation (5.4) and Equation (5.5) show the resulting 74 CHAPTER 5. VCTA REGULAR FABRIC WBCM3for the two possibilities. A value of 1 is not possible as it will not respect BC symmetry and will cause irregularities when abutting a BC to another in the horizontal direction. If it is the case, the shared metal 3 lines will act only as dummy lines, to maintain regularity when abutting a BC to another. In fact, they are not accessible from any of the BC horizontal metal lines, that can never reach the right nor left edges to avoid being shorted to horizontal lines in neighbor BCs. Figure 5.5 shows the two possibilities and illustrate Equations (5.4) and (5.5). Note that when not sharing metal lines at the edges half the space between metal lines needs to be added in each edge so that metal lines in neighbor BCs remain at the same distance. For metal 3 the pitch is therefore M3W+M3S+V IA3E. WBCM3≥((M3−(SH·0.5))·M3W)+((M3−1+(2−SH)·0.5)·(M3S+V IA3E)) (5.3) WBCM3≥(M3−1) ·(M3W+M3S+V IA3E)when SH = 2 (5.4) WBCM3≥M3·(M3W+M3S+V IA3E)when SH = 0 (5.5) •The final BC width WBC is the width fulfilling the equations from vertical metal 1 and metal 3 layers, always being multiple of the manufacturing grid (2.5 nm or 5 nm for the technology nodes available in our works). WBC follows Equation (5.6). Each of the widths and spacings involved in the calculations also require to be multiple of the manufacturing grid. If these widths and spacings are the minimum design rules from the technology, this last condition is already fulfilled. However, the spacings between lines in the less restrictive metal layer need to be adapted by increasing it to reach the final WBC, and respecting that they remain multiple of the manufacturing grid (an example is shown at the end of the section). Usually the distance 5.2. VCTA BASIC CELL IMPACT ON DESIGN 75 Figure 5.5: Basic cell width considering metal 3 layer. To the left is shown the metal 3 layer when lines are not shared at the edges. To the right is shown the opposite case when the distance between edges is higher. For both cases, all metal 3 lines are at the same pitch. 76 CHAPTER 5. VCTA REGULAR FABRIC between metal lines will be higher than the minimal design rules because of regularity constraints. WBC ≥max(WBCM1, WBCM3) (5.6) •For the rest of the vertical metal layers (metal 5 and so on), we maximize the number of lines that fit in the available width fixed by metal 1 and metal 3 in order to maximize the routing capabilities without affecting the area. For this, we need the metal width and spacing design rules for those layers (an example is given next). 5.2.2.2 Basic cell height The BC height HBC is determined only by horizontal metal 2 lines area: •For metal 2, the spacing between lines is determined by the distance between contacts to drains and sources of the transistors because metal 2 lines are placed over these contacts. This distance between contacts depends on the minimum spacing between polysilicon lines in the active zone POS and the length of the transistors L. The number of metal 2 lines M2depends on the number of transistors Tfor PMOS and NMOS, on how many metal lines are added for routing, and also adding the 2 lines for VDD and GND lines at the up and bottom edges of the BC. M2follows Equation (5.7) with NM2up,NM2center and NM2down as the number of metal 2 lines added for routing in the BC at the top of the PMOS transistor array, between PMOS and NMOS transistors arrays, and at the bottom of the NMOS array, respectively. The BC height HBC follows Equation (5.8). In this case, as all distances considered are multiple of the manufacturing grid there is no need to verify this multiplicity. Figure 5.6 illustrates Equation (5.8). The pitch of metal 2 lines is P OS +L. M2= 2 ·(T+ 1) + NM2up +NM2center +NM2down + 2 (5.7) 5.2. VCTA BASIC CELL IMPACT ON DESIGN 77 HBC = (M2−1) ·(POS +L) (5.8) •The rest of horizontal metal layers are adapted to the metal 2 restrictions. We made this decision to maintain maximum transistor compaction. We do not allow the distance between transistors to be increased and therefore we do not allow the distance between metal 2 lines to be modified. The reverse calculation is done in this case. The number of metal lines for the remaining horizontal metal layers are calculated to find the maximum number of them that fits in the BC height HBC. What needs to be ensured is that all metal lines are at the same distance, and that BCs can be placed next to each other without irregularities in the edges. Like for vertical metal layers starting at metal 5, for this, we need the metal width and spacing design rules for those layers (an example is given next). We maximize the number of metal lines in these layers to maximize the routing resources available in the BC. 5.2.2.3 Basic cell example To verify the impact of BC parameters on its area (and therefore on the VCTA layout area), we detail next the width and height calculations for the VCTA BC developed for the thesis in the 45 nm technology node using the NCSU Free PDK. The design rules required are given in Table 5.1. For this BC, HBC = 4.18µm and WBC = 1.395µm and the BC parameters are the following: •T=6 PMOS and NMOS transistors •W=500 nm, L=50 nm for the sizing of the transistors •N=5 (up to metal 5 layer) •M1=8, M2=23, M3=10, M4=14, M5=4 for the number of metal lines in each layer 84 CHAPTER 5. VCTA REGULAR FABRIC Figure 5.7: VCTA basic cell sizing. Results for a VCTA full-adder circuit indicating the ratio when compared to standard cell full-adder: WCD = worst-case delay, WCD CI to CO = worst-case delay from carry-in to carry-out (determining path delay when considering multiple bits to be added), WCE = worst-case energy, AVGE = average energy for all the possible transitions from input to output, and Area. VCTAv1 has W= 200nm. VCTAv2 has W= 400nm. VCTAv3 has W= 440nm. they have to be chosen depending on the routing capabilities required. For lowcongested layouts, fewer metal layers can be used. However, note that the limit is the number of metal layers of the technology and this will never suppose an extra limitation. Regarding the number of metal lines in each layer, basically, this will depend on the area of the BC, as the higher the area, the higher the number of metal lines can be fitted (always respecting the technology pitches). If more inputs are required for the logic functions, the metal 1 layer can determine the final area of the BC. In summary, the implementation of the VCTA BC has to be optimized depending on the design. 5.3 VCTA manual layouts evaluation In order to illustrate the VCTA regular fabric we have manually implemented binary adders, a common block in digital designs, and also a DLL, used in analog 5.3. VCTA MANUAL LAYOUTS EVALUATION 85 designs. In this case, we have used the commercial 90 nm technology node (see chapter 4). 5.3.1 32-bit adders evaluation We have developed complete layouts for a 32-bit Carry-Ripple adder (CR32) for a 32-bit Carry-Lookahead adder (CLA32) and for a 32-bit Kogge-Stone adder (KS32) using the VCTA regular fabric and also the standard cell approach (STD90) to compare the area, energy, delay and manufacturing variability in both designs. 5.3.1.1 VCTA layout generation The parameters of the BC for VCTA are the following: •T=6 PMOS and NMOS transistors •W=440 nm, L=100 nm for the sizing of the transistors •N=3 (up to metal 3 layer) •M1=6, M2=23, M3=6 for the number of metal lines in each layer Note again that we can consider many other BC implementations with different number of transistors, metal layers, etc. However, the objective of this work is to explain and demonstrate the new VCTA regular fabric. The steps that we have followed for VCTA layout generation are: (1) find out the logic functions needed to implement the structure of the circuit, (2) map the transistors of these functions into the VCTA basic cell as we have shown in the previous section for the NAND gate in Figure 5.3, (3) manually place and route them to obtain the complete layout. The automation of the VCTA physical design flow will be explained in next chapter. The binary adder circuits studied require 6 different types of logic functions: an inverter, an XOR, a 2-input NAND, a 4-input NAND, an AND-OR and an OR-AND [68]. We have mapped these functions into the VCTA basic cells. In 86 CHAPTER 5. VCTA REGULAR FABRIC (a) (b) (c) Figure 5.8: Layouts of 32-bit adders: (a) CR32 VCTA (254µm x 7µm, top) and STD90 (92µm x 10µm, bottom) (b) CLA32 VCTA (65.5µm x 40µm, top) and STD90 (80µm x 17.4µm, bottom) and (c) KS32 VCTA (110µm x 64µm, top) and STD90 (91µm x 29.5µm, bottom). some cases we were able to implement 2 functions into a single VCTA basic cell. This can be done when the functions are next to each other in the circuit (e.g., the output of one of the functions is the input of the other one, or they share the same inputs). As a consequence, the VCTA layouts can be composed by fewer cells than the STD90 layouts. For instance, the complete CLA32 finally required 228 standard cells and only 184 VCTA basic cells. We have manually placed and routed those VCTA cells trying to minimize the interconnect distances as well as for STD90 cells. For illustrative purposes, the resulting complete layouts captures for VCTA and STD90 are presented for the CR32 in Figure 5.8a, for the CLA32 in Figure 5.8b and for the KS32 in Figure 5.8c. 5.3. VCTA MANUAL LAYOUTS EVALUATION 87 5.3.1.2 Area, energy and delay evaluation We have performed complete electrical simulations of the extracted layouts of CR32, CLA32 and KS32 using the HSPICE simulator. We have evaluated both the adders designed with our VCTA regular design as well as those based on standard cells (STD90) in terms of delay and energy for 10400 inputs that we have sampled from all 26 programs in the SPEC2000 benchmark suite [76]. We have measured the delay from input variation to the associated output transition considering the cross at 90% of the voltage rise or fall swings. We have also measured energy for each input combination integrating the current demand at the power supply source during the addition. Finally, we have measured the area directly from the layout. We show measurement results for worst-case delay (WCD) and average energy dissipation (AVGE) for all the inputs in Table 5.5. Table 5.5: Adders evaluation (WCD = worst-case delay, AVGE = average energy) WCD(ns) AVGE(pJ) Area(µm2) CR32 STD90 2.69 0.16 920 CR32 VCTA 6.69 0.30 1778 Ratio 2.49x 1.88x 1.93x CLA32 STD90 1.11 0.21 1394 CLA32 VCTA 2.15 0.47 2620 Ratio 1.94x 2.24x 1.88x KS32 STD90 0.84 0.33 2684 KS32 VCTA 1.69 0.79 7046 Ratio 2.00x 2.39x 2.63x First, this particular choice for the BC of VCTA regular design implies an increase around 2x in area (1.93x for CR32, 1.88x for CLA32 and 2.63x for KS32) when compared to the STD90 layouts. The area increase is basically due to the regularity requirements and redundancy, because all possible configurations of devices and interconnects are in place in the BC of VCTA. The BC includes dummy transistors, spare transistors and also spare interconnects which increase the total area. Moreover, layouts has been generated manually. In next chapter we will present the VCTA automation flow allowing area optimization. 88 CHAPTER 5. VCTA REGULAR FABRIC In terms of WCD and AVGE, adders present also around 2x energy and delay ratios. In fact overheads introduced by VCTA when compared to STD90 are very much dependent on the function to implement. STD90 designs use different standard cells depending on the circuit optimization but VCTA always uses the same BC. Energy and delay overheads are due to the parasitics introduced by the VCTA metal grid. Another BC parameter to optimize is transistor sizing (all the transistors have the same dimensions). With our present choice of 440 nm for width, by connecting in parallel transistors, we can only emulate wider transistors of 880 nm, 1320 nm, etc., with a width multiple of the basic transistor, and this is not always optimal. Note also that logic functions implemented such as NAND, XOR, etc. are particularly suitable for STD90 approach, but may be suboptimal for VCTA. 5.3.1.3 Manufacturing variability evaluation Evaluating the impact of layout regularity on manufacturing variability is key to demonstrate the usefulness of maximizing layout regularity using VCTA. We have used for this purpose the models presented in chapter 2for proximity and coma effects and for STI mechanical stress. A - Channel length variations: proximity and coma effect Using those proximity and coma effect models we have measured the transistor channel length (L) systematic process variations of the adder layouts for VCTA and STD90 for the different sources of systematic variability considering 10% maximum L variations. As all the VCTA transistors in the BC have the same layout neighborhood, with two polysilicon lines at the same distance, they are all affected by the same systematic L variations, thus showing no σin the L distribution. This is achieved by the use of the dummy polysilicon lines at the edges of the PMOS and NMOS transistor arrays. 5.3. VCTA MANUAL LAYOUTS EVALUATION 89 On the other hand, STD90 adders that use different cells with different placements present higher number of layout neighborhoods. The L statistics in terms of 3σ/µ are presented in Table 5.6. For instance, for proximity effect, KS32 transistors see 8 neighborhoods, while for coma effect, which differentiates the sides for the distances measured, there are 10. That is why coma effect variability is higher than proximity effect variability. Table 5.6: Channel length variations Proximity Effect L 3σ/µ Coma Effect L 3σ/µ CR32 STD90 3.53% 6.11% CLA32 STD90 5.31% 6.19% KS32 STD90 5.16% 6.48% The final result is that all VCTA transistors are affected by the same L systematic variation and therefore have all the same L whereas the L variability between transistors is around 3.5-6.5% for STD90. Therefore, we can conclude that L variations for proximity effect and coma effect are minimized through VCTA regular layout designs. Note that these results show the regularity of VCTA at two levels. First, the L variations are the same for all adders for the VCTA design whereas they depend on the particular circuit for the STD90 design. This is because VCTA uses the same BC for all adders and STD90 uses different cells. This is VCTA regularity at cell level. Second, VCTA maximizes regularity inside the BC and shows only one neighborhood for all transistors whereas STD90 shows different neighborhoods inside each of the cells. This is VCTA regularity at transistor level. B - Threshold voltage variations: mechanical stress Using the BSIM4 models supplied for the 90 nm technology node, we have calculated the Vth variations for PMOS and NMOS transistors in the CR32, CLA32 and the KS32 adders. The results for the VCTA and STD90 designs are shown in Table 5.7. 90 CHAPTER 5. VCTA REGULAR FABRIC For VCTA transistors, there are only three different cases (for PMOS as well as for NMOS). From Figure 5.9 it can be seen that transistors 1 and 6 will have the same STI stress because the BC is symmetric. The same occurs for transistors 2 and 5 and finally for transistors 3 and 4. Furthermore, the VCTA transistors have all the same channel width and therefore will be affected similarly. On the other hand, for STD90, there is a higher number of cases related to the different transistor neighborhoods and to the different transistor sizings. That is why for VCTA the Vth variability is around 1% and for STD90 it reaches 4% for PMOS and 7% for NMOS. The ratios for the reduction of Vth variability due to VCTA regularity are close to 0.20x. Again, the results show VCTA regularity at two different levels. First, at cell level we can see how VCTA shows the same Vth variations independently of the circuit considered. Second, at transistor level, the number of cases for STI stress is also reduced because of transistor array regularity. Table 5.7: Threshold Voltage variations PMOS Vth 3σ/µ NMOS Vth 3σ/µ CR32 STD90 3.21% 7.60% CR32 VCTA 0.82% 1.24% Ratio 0.26x 0.16x CLA32 STD90 4.85% 6.25% CLA32 VCTA 0.82% 1.24% Ratio 0.17x 0.20x KS32 STD90 4.07% 5.83% KS32 VCTA 0.82% 1.24% Ratio 0.20x 0.21x 5.3.2 Delay-locked loop evaluation The application chosen for VCTA evaluation in this case is the DLL analog circuit. An analog block, that is more complex to design from the layout point of view than the digital layouts, allows more metrics of the applicability of VCTA — that were previously limited to area, energy and delay. For instance, for the 5.3. VCTA MANUAL LAYOUTS EVALUATION 91 Figure 5.9: VCTA transistor array (T= 6). DLL, jitter will also be evaluated. We have compared the DLL design using VCTA to its full custom version (FC). To evaluate the performance of the FC and VCTA designs an analysis of the Voltage Controlled Delay Line (VCDL) is carried out. In fact, analyzing just one the of the delay cells of the line is sufficient to determine the behavior of the whole DLL in terms of energy consumption and jitter [70]. The VCDL must be able to compensate for process, voltage and temperature (PVT) variations and provide a constant delay, thus an analysis of the dependence of the delay, energy and jitter with the voltage control is performed for both the FC and VCTA implementations of the delay cell. 92 CHAPTER 5. VCTA REGULAR FABRIC 5.3.2.1 Full Custom and VCTA Layout generation In this section we explain how FC and VCTA layouts are generated for the DLL evaluation. A - Full custom layout The DLL layout for FC was implemented considering the needs of the VCDL design. Therefore, an special effort was taken to ensure maximum symmetry between the two branches of the differential delay cell design. This includes not only enforcing the interconnections to have the same length, but also including the same number of vias along the signal path. The interconnections length were optimized to reduce the parasitic capacitance as much as possible to increase the system efficiency. Once the transistors sizing was determined by simulation, the NMOS and PMOS transistors were implemented using the interfingering technique. The cross-coupling technique could not be used because of the limited size of the transistors used in the design. The final full custom layout of the delay cell is depicted in Figure 5.10a. B - VCTA layout For the comparison of VCTA and FC designs to be fair, the operation range of the DLL (in terms of the delay needs) of both designs need to be equivalent. Ensuring that, one design can be replaced with the other maintaining the same functionality. For this, a BC transistor sizing of 560 nm was used. The parameters of the BC for VCTA are the following: •T=6 PMOS and NMOS transistors •W=560 nm, L=100 nm for the sizing of the transistors •N=3 (up to metal 3 layer) •M1=6, M2=23, M3=6 for the number of metal lines in each layer 5.3. VCTA MANUAL LAYOUTS EVALUATION 93 (a) (b) Figure 5.10: Delay cell layouts before tiling (a) Full Custom (79.92µm2) and (b) VCTA (64.78µm2). The layout of the delay cell using the VCTA structure is shown in Figure 5.10b. It is made with 4 BCs. Note that VCTA delay cell is around 19% smaller than FC delay cell. The area is slightly lower because the FC design has been optimized for performance and have to fulfill some placing and routing restrictions. 5.3.2.2 Energy, delay and jitter evaluation In this section we present the VCDL delay cell and the DLL simulations for energy, delay and jitter. A - Delay cell simulation Simulations showing the VCTA and FC designs delay and energy are summarized in Tables 5.8 and 5.9 for the VCDL delay cell. Note that at schematic level, 100 CHAPTER 6. VCTA AUTOMATION The structure of the chapter is as follows. Section 6.1 describes the VCTA physical design flow using a full adder to illustrate each of the required steps. Section 6.2 presents the results obtained for the ISCAS’85 benchmark circuits in the 45nm technology node showing that comparable areas to the standard cell approach can be obtained. Finally section 6.3 summarizes the conclusions of this chapter. 6.1 VCTA Physical Design Flow Figure 6.1: VCTA physical design flow diagram. 6.1.1 Flow overview The VCTA physical design flow diagram is depicted in Figure 6.1. The inputs of the flow are a transistor netlist describing the circuit and a particular VCTA basic cell implementation as defined in section 5.2.1. The grouping, place and routing parts have been implemented using C code and interacting with standard tools when possible. Layout Versus Schematic (LVS) and Design Rule Check (DRC) 6.1. VCTA PHYSICAL DESIGN FLOW 101 have also been used to verify that the circuit has been generated properly. We give details on each of these steps in the following subsections. The full adder in Figure 6.2 will be used as an example for explanations. Figure 6.2: Full adder schematic. 6.1.2 VCTA Grouping The grouping step generates the VCTA cells that will be required for the circuit under study. The objective of this step is to map the transistors of the circuit into the VCTA cells minimizing the required inter-cell connections (to simplify routing) and maximizing cell transistor occupation (to reduce the number of cells required and the final area of the layout). As a result we generate the Verilog for the circuit under study with all the VCTA cells required. This Verilog file is required for the placing step. The grouping flow is depicted in Figure 6.3. The steps involved are detailed next. 102 CHAPTER 6. VCTA AUTOMATION Figure 6.3: VCTA grouping flow diagram. 6.1. VCTA PHYSICAL DESIGN FLOW 103 (a) PMOS network (b) NMOS network Figure 6.4: Full Adder graphs. (a) PMOS: We indicate in red the drains or sources of the transistors, except for logic function outputs (e.g., Net1) and for power supply (VDD). The gate inputs are also stored (e.g., for transistor p12 where the input of the gate is A). (b) NMOS: The common vertices with PMOS graph are Net1, CO, Net2 and Z, that are the output nodes of the logic functions in the circuit. 104 CHAPTER 6. VCTA AUTOMATION 6.1.2.1 Netlist translation into a graph Initially, we read the transistor netlist of the circuit (in Hspice format in this case, but any format can be adapted) to generate the corresponding graphs for PMOS and NMOS transistor networks (see Figures 6.4a and 6.4b for the full adder example). Each graph is undirected and unweighted and represents network connectivity. Vertices of the graph are: a) transistors b) drains or sources of transistors, and are updated when adding a transistor to the graph. In the case of vertices of type transistor, the gate input of the transistor is saved as a property as it will be required later (only one example is shown in Figure 6.4a for transistor p12, but all the gate inputs are saved). Sources connected to power lines are special vertices indicated as supply or ground (VDD and GND). Edges of the graph indicate if vertices are connected or not. When reading a transistor from the netlist, transistors vertices are considered connected to its drain and to its source vertices. To implement the graph, the vertices and their edges are allocated in a hash table where the hash index is a hash calculation using the characters of the name of the vertex. Doing so, we can directly access the vertices of the graph by knowing their names, without traversing the whole table. 6.1.2.2 Branches, clusters and megaclusters To minimize the inter-cell routing, transistors are grouped together in three steps: •Transistors that are connected from the supply lines (VDD or GND) to an output node of a logic function are grouped forming branches (of PMOS or NMOS transistors). Branch generation is done recursively and is depicted in algorithm 6.1. •Branches that generate the same output nodes are grouped in what we call clusters. The PMOS and NMOS graphs are inspected to find their common vertices that are the common outputs defining clusters. Note that only drains or sources can be common between PMOS and NMOS graphs. Branch grouping to obtain clusters is depicted in algorithm 6.2. 6.1. VCTA PHYSICAL DESIGN FLOW 105 Algorithm 6.1 Branch generation. 1: Graph = PMOS or NMOS network graph 2: V= set of vertices in Graph 3: for all vi∈Vdo 4: if viis an output vertex then 5: for all vj∈Vconnected to vido 6: if vjis not already in a branch then 7: if (vj6=supply)∧(vj6= (output vertex)) then 8: Start a new branch bij containing viand vj 9: FILL(bij,vj) 10: end if 11: end if 12: end for 13: end if 14: end for 15: function Fill(bf,vf) 16: for all vk∈Vconnected to vfdo 17: if vkis not already in a branch then 18: if (vk6=supply)∧(vk6= (output vertex)) then 19: Add vkto bf 20: FILL(bf,vk) 21: end if 22: end if 23: end for 24: end function Algorithm 6.2 Branch grouping. 1: GraphP = PMOS graph of the circuit 2: GraphN = NMOS graph of the circuit 3: Vout = set of output vertices common to GraphP and GraphN 4: B = set of PMOS or NMOS branches 5: for all vi∈Vout do 6: Start a new cluster ci 7: for all bj∈Bgenerating vido 8: Add bjto ci 9: end for 10: end for 106 CHAPTER 6. VCTA AUTOMATION •Clusters which generate the inputs for other clusters or that share inputs are grouped in megaclusters or neighbor clusters. For this we inspect the transistors in the clusters to find clusters that share transistor inputs (property that we have saved associated to this type of vertex), and we also check if the output generated by the cluster is input of any transistor in a different cluster. Megaclusters are groups of transistor branches that are neighbors and that will be mapped into the same group of VCTA cells to reduce routing complexity. The cluster grouping to obtain megaclusters is depicted in algorithm 6.3. Algorithm 6.3 Cluster grouping. 1: C = set of clusters of the circuit 2: for all ci∈Cdo 3: for all cj∈Cdo 4: for all bmbranch ∈cido 5: for all bnbranch ∈cjdo 6: if bmand bnshare inputs or outputs then 7: ciand cjgrouped in the same megacluster 8: end if 9: end for 10: end for 11: end for 12: end for The results for the full adder are summarized in Table 6.1, Table 6.2, Table 6.3 and Table 6.4. For instance, following algorithm 6.1 for output vertex Net1, we start PMOS branch BP1 with vertex p2, that is then filled with vertices ds1 and p1 until VDD is reached (see Figure 6.4a). Therefore PMOS branch BP1 is composed by transistors p1 and p2. Then, following algorithm 6.2, as branches BP1, BP2, BN1 and BN2 generate the same output Net1, they are all added to cluster CL1. Then, following algorithm 6.3 as Net1 is an input of branches BP3 and BN3 from cluster CL2 and also of branches BP4 and BN4 from cluster CL3, the three clusters CL1, CL2 and CL3 are grouped in megacluster MC1. Finally, as branches BP4, BP5, BN4 and BN5 from CL3 generate the output Net2, that is also input of branches BP6 and BN6 from cluster CL4, this last cluster CL4 is 6.1. VCTA PHYSICAL DESIGN FLOW 107 also added to the megacluster MC1, that in fact is the only resulting megacluster of the full adder. Note that this is a particular case used to illustrate the design steps and that for more complex circuits several megaclusters will be found. Table 6.1: Full adder PMOS branches. PMOS branches Transistors Inputs Output BP1 p1 p2 A B Net1 BP2 p3 p4 p5 A B CI Net1 BP3 p6 Net1 CO BP4 p7 p8 p9 p10 A B CI Net1 Net2 BP5 p11 p12 p13 A B CI Net2 BP6 p14 Net2 Z Table 6.2: Full adder NMOS branches. NMOS branches Transistors Inputs Output BN1 n1 n2 A B Net1 BN2 n3 n4 n5 A B CI Net1 BN3 n6 Net1 CO BN4 n7 n8 n9 n10 A B CI Net1 Net2 BN5 n11 n12 n13 A B CI Net2 BN6 n14 Net2 Z Table 6.3: Full adder clusters. Clusters Branches CL1 BP1 BP2 BN1 BN2 CL2 BP3 BN3 CL3 BP4 BP5 BN4 BN5 CL4 BP6 BN6 Table 6.4: Full adder megaclusters. Megaclusters Clusters MC1 CL1 CL2 CL3 CL4 6.1.2.3 VCTA Basic cell mapping To maximize cell transistor occupancy and to reduce the area of the final layout, we group these neighbor branches of the megaclusters into the smallest number of 108 CHAPTER 6. VCTA AUTOMATION VCTA cells. The basic cell mapping for a megacluster is depicted in algorithm 6.4. First, the PMOS and NMOS branches are grouped into the smallest number of VCTA cell PMOS and NMOS transistor arrays respectively. Finally, PMOS and NMOS transistor arrays are grouped to obtain the final VCTA cells. The problem is equivalent to an unbounded knapsack problem where the objects are branches and their weight is the number of transistors in the branch. The maximum weight is determined by the maximum number of transistors Tof the VCTA cell. This problem is solved using a greedy approximation algorithm sorting the branches from more to fewer transistors in order to maximize VCTA cell occupancy and minimize the final number of VCTA cells for the complete circuit (directly related to the final layout area). However, when making decisions in the knapsack problem we also need to verify that the grouped branches can be mapped into a VCTA basic cell at two levels: •The total number of inputs used when grouping branches has to be lower or equal to the number of available inputs that is determined by the number of metal 1 lines M1in the cell. As a VCTA cell is composed by the PMOS and NMOS arrays and they share the same metal 1 lines for routing inputs, both PMOS and NMOS networks are taken into consideration. •As we have all transistors in series in the VCTA cell, we also need to check if the transistors in the branches can be organized following an Euler Path when combining them. In this case, PMOS and NMOS networks are independent. If there is no Euler Path, there will be breaks in the cell transistor array that the VCTA cell is not supporting. Those branches that cannot be grouped occupy alone one VCTA cell. Finally, for a particular branch that does not fit inside of a VCTA cell, the branch is divided into different cells and connected later in the inter-cell routing step. The division is done splitting the branch into smaller Euler Paths that can then be fitted into the VCTA cells. 6.1. VCTA PHYSICAL DESIGN FLOW 109 The Euler Path verification is shown in algorithm 6.5. The VCTA cell transistor array (PMOS or NMOS ta) has Tserial transistors that share the same oxide diffusion. We associate to each of them an index (IND) and a gate, and upper or lower drain/source connections. The algorithm for finding the Euler Path is based on exhaustively placing the transistors (tr) to be mapped inside of the transistor array (ta) in all the possible positions and orientations. The position of the transistor is the index IND. The orientation of the transistor is where to map the drain and the source (named Up and Down connections). There are two possibilities if we consider that the transistor array is oriented vertically: (a) drain in the upper oxide diffusion zone (b) drain in the lower oxide diffusion zone. Starting from each of the transistors (a total number of numtran) that need to be mapped from the first position of the array (IND = 1) and trying all the possible combinations we ensure that if there is an Euler Path for the transistors we will find it, and vice versa. The output of the verification is whether there is or not an Euler Path for all the transistors and if there is one, what is the order of the transistors and the configuration of the resulting transistor array. When an Euler Path is found the algorithm ends even if multiple Euler Paths can be found. Note that applying this Euler Path verification algorithm, transistors from different branches can be interleaved. The transistors of a branch do not need to be adjacent in the transistor array of the cell, and this represents a degree of freedom of the VCTA fabric. Table 6.5: Full adder VCTA cells. Cells Branches Trans. Occ. Inputs Cell 1 BP4 BP1 BN4 BN1 6P 6N 100% 4 Cell 2 BP2 BN5 BN2 BN5 6P 6N 100% 3 Cell 3 BP3 BP6 BN3 BN6 2P 2N 33.3% 2 The resulting VCTA cells using algorithm 6.4 for the full adder example are summarized in Table 6.5 (indicating the branches included in each cell, the number of transistors, the final transistor occupancy and the number of inputs). The different iterations for finding them are detailed next for the PMOS part (NMOS 116 CHAPTER 6. VCTA AUTOMATION We first use VCTA cell information coming from the VCTA grouping step to perform an initial systematic intra-cell routing. In particular, for each VCTA cell, we need the inputs of the cell and the transistors gate, drain and source connectivity in both the PMOS and NMOS transistor arrays. Knowing the VCTA basic cell resources in terms of interconnects (the number of metal lines available in each layer and all the possible positions for contacts and vias to connect them) we can then find the intra-cell configuration required for each cell (metal lines usage and contacts and vias configuration). We use algorithm 6.7 for this initial systematic intra-cell routing. Algorithm 6.7 Systematic intra-cell routing for one VCTA cell. 1: Inp = set of inputs of the VCTA cell 2: Tran = set of transistors of the VCTA cell 3: for all Inpi∈Inp do 4: Assign first unused metal 1 line to Inpi 5: end for 6: for all Trani∈T ran do 7: Connect Tranigate to metal 1 line containing the required input 8: end for 9: for all Trani∈T ran do 10: Connect Tranidrain and source to first metal line free or to metal line containing the node required 11: end for In more detail, we assign the cell inputs to unused metal 1 lines from left to right, following the order in which inputs are stored in the cell information. As we verify in the grouping step, we always have less inputs than metal 1 lines, therefore there is always a metal 1 line for each of the inputs. Then, we connect transistor gates to their inputs in metal 1 configuring the contacts required. By construction of the cell layout, each gate can be connected to all metal 1 lines so the connection can always be performed. Then, we connect drains and sources (that are already connected to a metal 2 line by layout construction) to inputs in metal 1 when required by configuring metal 1 to metal 2 vias. This is the case when the output of a logic function in the cell (in a drain or a source of a transistor) is the input of another transistor that is also mapped in the same cell. There is always connectivity between drains and sources in metal 2 lines and all 6.1. VCTA PHYSICAL DESIGN FLOW 117 the metal 1 lines by construction. We also connect drains and sources to other drains and sources to perform parallel connections of transistors inside of the cell or to connect the outputs. In this case unused upper metal levels are configured. The first free metal line is used in each case starting again from left to right for vertical layers like metal 3, and from bottom to top for horizontal layers like metal 4. The outputs are therefore mapped to these metal lines by configuring the vias required. For the VCTA implementation used in the circuits presented in this work, enough resources are always found using up to metal 3, as few connections are required. In front of more congested intra-cell routing, upper metal levels can be used or the VCTA implementation has to be modified to include more metal lines (therefore increasing the cell area). Finally, we also connect drains and sources to ground and power supply when required configuring metal 2 to metal 3 vias. A metal 3 line is always reserved to ground and to power supply that is always accessible from metal 2 drains and sources. After this first intra-cell configuration for all cells, the next step would be to perform the inter-cell routing. However, as explained in section 5.1.3, the inter-cell routing is performed extending metal lines between neighbor cells. In fact, having aligned input and output nodes in neighbor cells will allow direct extensions of metal lines for inter-cell connections without having to use extra routing resources in other metal layers. That is why, before performing the intercell routing step, the intra-cell routing initial decisions are modified to maximize the direct extensions of metal lines. For instance, if two neighbor cells in vertical share an input, the metal 1 line that will be chosen for this input will be the same in both cells so that the extension can be direct. This is achieved by modifying intra-cell connections cell by cell in an incremental way so that each new routed cell considers inputs/outputs of all the cells previously routed. Cells are routed from left to right and from bottom to top although any other ordering would be also valid (see algorithm 6.8). Note that when modifying a metal layer, the upper and lower metal layers also need to be reconfigured to maintain the same connectivity. This is done by moving accordingly the already placed contacts and 118 CHAPTER 6. VCTA AUTOMATION vias. The initial input ordering in metal 1 for the 3 cells of the full adder example considering the place with 3 rows and 1 column is depicted in Figure 6.8a showing the 4 metal 1 lines per cell and the input associated. If no other metal layers can be used for routing these inputs, we can see how the lines can not be extended to perform the inter-cell connections and an extra column of spare cells has to be added to route the circuit. After reordering the inputs, inter-cell connections can be performed extending metal 1 lines directly (Figure 6.8b). Algorithm 6.8 Intra-cell routing modification. 1: C = set of VCTA cells in the circuit 2: Sort C from cells at the bottom left corner of the layout to cells at the top right corner 3: for all ci∈Cdo 4: if cihas a cell to the bottom then 5: for all Vertical metal layers do 6: Modify metal lines configuration to maximize direct extensions to cell to the bottom 7: Restore connectivity with upper and lower horizontal metal layers 8: end for 9: end if 10: if cihas a cell to the left then 11: for all Horizontal metal layers do 12: Modify metal lines configuration to maximize direct extensions to cell to the left 13: Restore connectivity with upper and lower vertical metal layers 14: end for 15: end if 16: end for 6.1.4.2 Inter-cell routing This step performs the interconnections between cells. The input information is the list of nodes of the circuit that need to be interconnected and the cells involved in each node. To complete inter-cell routing each of the nodes of the circuit has to be connected. However which node is connected first will modify the routing decisions because our routing algorithm is greedy. For the first inter-cell routing try we choose this order randomly. As we will explain later, the order will be 6.1. VCTA PHYSICAL DESIGN FLOW 119 (a) (b) Figure 6.8: Full adder input reordering: (a) Initial input ordering: gray cells are spare cells added to perform inter-cell routing connections (b) Input reordering: no extra cells are required for inter-cell routing even for Net1 between cell 1 and cell 3. modified to optimize the results obtained using a simulated annealing algorithm. The connection of one node is done following the flow depicted in algorithm 6.9. First, we use Dijkstra algorithm to find the shortest path that minimizes interconnect length between each cell containing the node to be connected. If a path is found, second, there is a verification step where we check if this path can be performed using the metal grid resources available. If the path cannot be performed (due to routing congestion) we go back to find a new shortest path. When the node connection fails even after trying all the possible shortest paths (due to routing congestion), we add routing tracks (rows and/or columns of free VCTA cells) to ensure that the node connection can be performed and we go back to the first step to find the shortest path that makes use of the new resources available. The connection can then be performed by paying an extra area overhead. However these extra cells can also be used to perform the pending connections. Therefore the connections done first will impact later connections, and that is why the order in which the nodes are connected will modify the final routing result. To ensure that a routing track will always be available we need to verify 120 CHAPTER 6. VCTA AUTOMATION Algorithm 6.9 Inter-cell routing for one node in the circuit. 1: O = origin cell containing the node 2: D = destination cell containing the node 3: M = matrix of placed cells in the layout 4: R = routing resources in the cells of M 5: while node is not connected do 6: path = FINDPATH(O,D,M) 7: if path == false then 8: ADDTRACKS(O,D,M) 9: else 10: routable = VERIFYPATH(O,D,R) 11: if routable == false then 12: Update M congestion 13: else 14: Connect O and D 15: Update R resources 16: end if 17: end if 18: end while 19: function findpath(O,D,M) 20: Find shortest path using Dijkstra algorithm to connect O to D in M 21: if cost == infinite then 22: return false 23: else 24: return true 25: end if 26: end function 27: function addtracks(O,D,M) 28: Analyze O connectivity 29: Analyze D connectivity 30: Add corresponding rows and columns of spare cells to M 31: end function 32: function verifypath(O,D,R) 33: P = path found by FINDPATH 34: pi∈P= cell Oito cell Dihops of the path 35: for all pido 36: if Oiand Dicannot be connected using R then 37: return false 38: end if 39: end for 40: return true 41: end function 6.1. VCTA PHYSICAL DESIGN FLOW 121 (a) (b) (c) (d) Figure 6.9: Routing congestion treatment: (a) Origin and destination cells at the same level and accessible from both vertical and horizontal directions: only one row added to ensure connectivity (b) Origin and destination cells are accessible from both vertical and horizontal directions: one row and one column added to ensure connectivity but we can try to add only the row or the column to reduce the area overhead like in Fig. 6.9c (c) Connection can be performed adding just one column: connectivity is not ensured but if the path is found we reduce the area overhead (d) One cell is not accessible from vertical direction: two columns and one row are required to ensure connectivity. that the rows and/or columns that we add can be accessed from the origin and destination cells of the connection. That is why, we analyze these two cells connectivity to know if vertical and/or horizontal connections will be available when adding a free cell to the top or bottom or to the left or right directions respectively. In this way we can select which rows and columns to add for the 122 CHAPTER 6. VCTA AUTOMATION connection under study. A maximum of three rows and columns are required depending on the positions of the cells. In Figure 6.9 some of the possibilities are shown, depending on relative position of origin and destination cells and on their connectivity in vertical and horizontal. Then, using these added cells we can ensure connectivity by defining systematically the path that uses these cells. However, to minimize the number of cells added, before using the complete rows and columns found, we try if congestion is avoided by adding progressively only one of the rows or columns, then only two of them when possible. The idea is to add these rows or columns and try to find new paths that can now be possible with the new resources. For path lookup the undirected and unweighted graph where Dijkstra is applied has as vertices the placed VCTA cells and the edges indicate whether there is connectivity or not between these cells (the Mstructure of algorithm 6.9). We define that adjacent cells are at distance one and the other cells are at infinite distance. Adjacent cells can also be at infinite distance if routing congestion has been updated from the feedback of the verification step. In the second step to connect one node, we consider the metal grid resources available between each adjacent cell of the path (the Rstructure in algorithm 6.9). This problem is similarly solved with Dijkstra algorithm. In this case vertices are metal lines and edges values represent the distance associated to the cost of connecting metal lines. The graph is therefore undirected but weighted and in fact the edge weights are used to prioritize the use of metal inter-cell extensions and the highest levels of metal. In this way we reserve lower metal layers to local routing and use highest levels for long interconnections. 6.1.4.3 Simulated Annealing The extra rows and columns added when routing congestion is found lead to an area increase. That is why we have included an optimization step using simulated annealing that is performed when at least one row or column has been added to the original floorplan from the place step (the initial solution). Algorithm 6.10 6.1. VCTA PHYSICAL DESIGN FLOW 123 shows the simulated annealing flow. The cost optimized is the final number of VCTA cells required for the routing (directly related to the final layout area) and, as explained before, the solution that is chosen for each annealing’s iteration is the order in which the nodes are connected. To generate the new nearby solution for each iteration we randomly modify the order for a small percent of the nodes (e.g., 5%). A solution with lower area will always be accepted and saved, but a solution with higher area can also be accepted to avoid remaining in a local minimum of the optimization. To decide if the new solution with higher area is accepted, we use constant cooling of the annealing temperature for each iteration and the acceptance probability function presented in [77] based on Boltzmann probability factor. Finally, no matter if the solution has been accepted or not, we check if the condition to end the annealing has been reached (e.g., the number of annealing iterations programmed have been done, or the routing has been done without adding rows or columns). If this is the case, the simulated annealing outputs the last solution saved. Otherwise, it starts a new iteration. 6.1.5 VCTA Layout Generation and Verification Place and routing steps provide the position of the VCTA basic cells, the metal extensions, the contact and vias positions to configure them, and also the input and output information. Based on this information we generate the suitable scripts to create the layouts (in SKILL language for Cadence). For schematic generation the scripts are generated directly from the circuit transistor netlist description so that at the end of the flow we are able to verify our designs using LVS. DRC is error free as the VCTA basic cell is already DRC compliant by construction. The VCTA basic cell layout and schematic for the chosen VCTA implementation are the only data required. 124 CHAPTER 6. VCTA AUTOMATION Algorithm 6.10 Simulated annealing for inter-cell routing. The number of programmed iterations is numiterations. 1: Nmin = minimum number of cells in the layout 2: Nacc = number of cells of the accepted solution 3: Iterations = number of annealing iterations performed 4: L = list of nodes to be connected 5: Sort L randomly 6: for all Li∈Ldo 7: Perform inter-cell routing 8: N= number of cells of the solution 9: end for 10: Save initial L order solution 11: Nacc =N 12: Iterations = 0 13: while (Nacc > Nmin)∧(Iterations < numiterations)do 14: Iterations = Iterations+1 15: Modify L order 16: for all Li∈Ldo 17: Perform inter-cell routing 18: N= number of cells of the solution 19: end for 20: if N < Nacc then 21: Save L order solution 22: Nacc =N 23: else 24: Use a probability function to decide if the solution is accepted 25: if Solution is accepted then 26: Save L order solution 27: Nacc =N 28: end if 29: end if 30: end while 6.2. RESULTS AND SIMULATIONS 125 6.2 Results and Simulations 6.2.1 Manual VCTA versus Automatic VCTA Flow We have used the proposed automatic VCTA flow to generate the layouts of the 32-bit adders (Carry-Ripple, Look-Ahead and Kogge-Stone) previously generated manually with the VCTA basic cell implementation including T=6 transistors and 4 inputs per cell (see chapter 5). The number of VCTA cells required for manual and automatic implementations are summarized in Table 6.6. The complexity of the circuits is indicated in terms of total number of transistors. As it is shown, the number of cells is equivalent for the smallest adders (from none to 4 cells reduction) and lower for the most complex adder (76 cells reduction) that has a total number of 2184 transistors. This is due to the fact that complex designs are more difficult to be generated manually. Figure 6.10 depicts manual and automatic layouts for the Kogge-Stone adder. As shown, the automaticallygenerated layout requires fewer cells than the manual one. Table 6.6: 32-bit adder results. 32-bit adder Transistors Manual Automatic Carry-Ripple 896 96 cells 96 cells Look-Ahead 1432 184 cells 180 cells Kogge-Stone 2184 448 cells 372 cells 6.2.2 Standard Flow versus VCTA Flow We have used our automation tool to obtain the VCTA layouts for the whole set of ISCAS’85 benchmark circuits [71] using the 45nm technology node NCSU Free PDK [72]. Again the VCTA basic cell implementation has T=6 transistors and 4 possible inputs per cell. In this case, we have used standard cell layouts generated from the OSU library [74] to evaluate our tool. 6.2.2.1 Grouping To evaluate the grouping step, we show in Table 6.7 the number of VCTA cells required to implement the circuits, as well as the resulting transistor occupancy, Chapter 7 FOCSI Layout Regularity Metric Usually regular techniques offer worse area, delay and energy consumption than the non-regular design approaches but, according to the degree of regularity, they reduce cost and time associated to lithography enhancement techniques and therefore systematic yield loss. Area is measured directly from the layout design, and delay and energy consumption can be predicted by simulation. However, there is not a clear method to measure layout regularity nor its impact on variability. There are tools that analyze layouts from the design for manufacturability point of view, but none of them focus on layout regularity analysis (see chapter 2). In fact, existing tools for layout analysis are very time-consuming for large layouts, in particular when having to simulate the complex lithography system and resolution enhancement techniques. In this chapter we propose a new layout regularity metric called Fixed Origin Corner Square Inspection (FOCSI). FOCSI quantifies regularity allowing an accurate, deterministic and unambiguous comparison of layout designs. We show how layouts can be sorted based on their degree of regularity. We also provide a methodology using the Monte Carlo analysis to evaluate and understand the impact of regularity on process variability. FOCSI gives printability information from the regularity measurement in an early stage and in an easy and fast way. 133 134 CHAPTER 7. FOCSI LAYOUT REGULARITY METRIC In fact, as we will show next, regularity itself does not reduce process variability, but it allows further steps to optimize the manufacturing process and to obtain better printability. The structure of the chapter is as follows. First, in section 7.1 we present the problem addressed, we provide a definition of regularity and we propose and formulate FOCSI layout regularity metric from the single layout layer to the complete layout. Third, in section 7.2 we give FOCSI single layer measurements examples using the ISCAS’85 layouts in the 65 nm and 45 nm technology nodes presented in chapter 4. Then, in section 7.3 we give the resulting FOCSI complete layout calculation examples. Fifth, in section 7.4 we present the methodology using FOCSI results and the Monte Carlo analysis to evaluate the benefits of layout regularity in terms of variability. Finally, in section 7.5 we provide conclusions. 7.1 FOCSI formulation 7.1.1 Problem Statement A metric is by definition a system of related measures that facilitates the quantification of some particular characteristic. In our case the characteristic to quantify is the amount of layout regularity. The metric function has to give to a layout a value indicating how much regular it is. Then, for any two layouts, it can determine which of them has higher regularity. To the best of our knowledge, the only method that has already been used for this purpose is a visual comparison of a two-dimensional Fourier transform (see chapter 2). However, the two-dimensional Fourier transform does not quantify regularity. We give examples in next sections. It is a graphical representation giving an intuitive and qualitative measure of regularity. It can be used to compare regular versus non-regular layouts but it is difficult to use it to compare similar layouts in terms of regularity like for instance two layouts developed with regular design techniques. That is why we propose FOCSI: a new layout regularity metric that allows a deterministic and unambiguous regularity comparison for any 7.1. FOCSI FORMULATION 135 (a) Manufacturing grid (b) Complete layout layer Figure 7.1: Granularity extremes. pair of layout designs. We show in next sections that our metric can determine which of the layouts under study is more regular even if they have similar degrees of regularity. We present the broadest definition of FOCSI in order to illustrate the possibilities offered by our metric. 7.1.2 Layout Regularity Definition We define layout regularity for a given layout layer as the property of this layer to be generated by a reduced number of different layout areas of a given shape and size (e.g., squares of 160 nm x 160 nm). We will refer to these layout areas as LAs, and to the different types of LAs in the layer as layout generators. Therefore, the lower is the number of generators that can be found amongst the LAs the higher the regularity is. The maximum regularity will be achieved when a single generator can be used to generate the whole layer by repeating it along all the layer. On the other hand, the minimum regularity will occur when all LAs are unique, and therefore, there is no repetition at all (all LAs are generators). Regularity can be studied at different granularities depending on the size considered for LAs inspected. On one hand, the smallest LA that can be considered is defined by the manufacturing grid so that the LA considered will be a square with this manufacturing grid as both dimensions (Figure 7.1a). Possible LAs are in this case binary. We can only find in the layout two different generators: one containing the material of the layer inspected and the other containing nothing. Therefore all layouts inspected will have the same regularity and that is why we 136 CHAPTER 7. FOCSI LAYOUT REGULARITY METRIC (a) (b) Figure 7.2: Regularity inspection: (a) Contiguous LAs (b) FOCSI methodology. are not interested in using this extreme. On the other hand, the highest LA that can be considered is the complete layout layer (Figure 7.1b). Again, all layouts will present the same regularity being generated by a single generator. Thus, regularity must be evaluated using LAs of a size between these two extremes. The choice of the size of these LAs will be explained in next sections. 7.1.3 FOCSI Proposal In FOCSI, we propose the use of square areas as LAs. In order to explore a layout layer to find out the number of square area generators, we need to find the LAs of sides size multiple of the manufacturing grid (e.g., side of 160 nm = 32 times the 5 nm manufacturing grid) and then to compare one to each other noting the number of different ones. The Fixed Origin Corner Square Inspection (FOCSI) proposal first explores the layout layer in order to detect all upper left pattern corners and then considers these corners as the origins of the square LAs to be compared. The origin of the LAs can be selected differently (e.g., upper right pattern corners) but always ensuring that LAs are aligned to layout patterns. Having origins of the LAs not aligned to the patterns (e.g., dividing the layout in contiguous LAs) can lead to a situation where regularity is not captured. In Figure 7.2a it can be seen how all the LAs are different while the visual inspection of the layout shows an important degree of regularity. That is why FOCSI is pattern oriented and it inspects at 7.1. FOCSI FORMULATION 137 least one LA per pattern. Figure 7.2b depicts how FOCSI works. Black crosses indicate all the corners considered. Types 1 and 2 generators can be detected. Note that in this figure different LA sizes are also illustrated with red and blue squares. Once the corners are fixed, various sizings can be applied to squares in order to evaluate different granularities of regularity. 7.1.4 Single Layout Layer FOCSI To implement the FOCSI proposal, we first transform the layout layer into a bitmap, where each minimum size square (see Figure 7.1a) is represented by a bit. The codification used assigns a 0 value to the bit when the layout is empty and a 1 value to represent the layer material (e.g., polysilicon, oxide diffusion). The whole layout layer is therefore codified as a matrix of 0’s and 1’s. Then, we find all upper left pattern corners from where LAs are defined. Finally, these LAs are compared sample by sample against each other in order to calculate the number of different generators the layout layer has. Two LAs are only considered identical if all their samples are identical. The result of this step of FOCSI metric is the number of different generators of the layout layer under study and for the LA sizing defined. We will refer to this number of generators as Rlayer (e.g., ROD,RP O or RM1for the number of generators in the oxide diffusion layer, in the polysilicon layer and in the metal 1 layer respectively). Therefore the lower Rlayer is the higher regularity is for this layer. 7.1.5 Complete Layout FOCSI The final step to obtain a comprehensive layout regularity value (Rlayout) is to combine all different layout layers regularity values (Rlayer) calculated. Defining M as the number of layout layers considered, we propose to combine these M measurements assigning weights to each one of them. In general, the layout regularity Rlayout can be then calculated as follows: 138 CHAPTER 7. FOCSI LAYOUT REGULARITY METRIC Rlayout = M X j=1 βj.Rlayerj (7.1) where βjare layout layers weights and Rlayerj are the regularities measured for the M layout layers considered. In order to enable the comparison of the Rlayout measures from different layouts we propose that the βjparameters also fulfill the following property: M X j=1 βj= 1 (7.2) Each of the M layer regularities will have a different βjweight depending on process conditions. We give examples in next sections. Rlayout can be considered as the final FOCSI metric result. As for Rlayer, the lower Rlayout is the higher regularity is. Note that this final Rlayout is not needed if the objective is the evaluation of regularity for a concrete layer. 7.2 FOCSI for single layers 7.2.1 Granularities considered We show single layout layer regularity measurements (Rlayer) for LA sizings of 160 nm, 320 nm, 640 nm, 1280 nm and 2560 nm in order to see the evolution of regularity of the designs under study. The 160 nm minimum square size is chosen to ensure that at least 1 or 2 material polygons are present in the area considered so that we can measure micro-regularity. The 2560 nm maximum size have been chosen to consider macro-regularity. 7.2.2 ISCAS’85 layout results We have used FOCSI to measure ISCAS’85 benchmarks layouts in the 45 nm and 65 nm technology nodes. For the 45 nm node, we compare VCTA layouts (VCTA45) and standard cell layouts (STD45), and for the 65 nm node, the 7.2. FOCSI FOR SINGLE LAYERS 139 comparison is between the new Robust standard cell approach (Robust65) and the commercial standard cell version (STD65), all of them presented in chapter 4. STD45 and STD65 designs are based on the reuse of layout cells with fixed height bounded by the power supplies. However they can have different widths and depending on the function implemented they can include transistors and interconnects in very dissimilar configurations. Moreover, standard cell libraries can include more than 1000 different cells, and therefore a huge number of placing and routing configurations are possible. Resulting standard cell layouts are therefore expected to have a low degree of regularity because of both the irregular internals of the cell and the irregularity across different neighbor cells. Regarding the Robust65 library that we have developed for the thesis, to improve macro-regularity, we have chosen a reduced number of cells based on the library proposed in [75] so that the amount of placing and routing configurations compared to the classical standard cell library is reduced. Moreover, to increase micro-regularity, all layers are oriented in only one dimension, shapes are placed at constant pitch and all transistors have the same sizing. Transistor fingering is used to obtain different sizes. Regarding VCTA, as it focuses on maximizing layout regularity (see chapter 5), we expect the higher regularity amongst the above mentioned layout styles. Results obtained for polysilicon (PO), oxide diffusion (OD) and metal 1 (M1) layout layers are shown in Tables 7.1 to 7.3. We have chosen these three layout layers because they are the most representative of the front-end and back-end process. PO and OD define the transistor active areas, and the polysilicon gate critical dimension variation have a tremendous impact on the timing and energy consumption of digital integrated circuits. M1 layer is representative of the interconnect structure. The total number of LAs inspected is given for each of the layers to show the complexity of the circuits. 140 CHAPTER 7. FOCSI LAYOUT REGULARITY METRIC Table 7.1: ISCAS’85 FOCSI PO results ISCAS RP O generators Number layout 160 nm 320 nm 640 nm 1280 nm 2560 nm of LAs c17 VCTA45 1 4 15 33 80 96 c432 VCTA45 1 4 15 39 120 3136 c499 VCTA45 1 4 15 39 120 6400 c880 VCTA45 1 4 15 39 120 6400 c1355 VCTA45 1 4 15 39 120 6624 c1908 VCTA45 1 4 15 39 120 4800 c2670 VCTA45 1 4 15 39 120 11008 c3540 VCTA45 1 4 15 39 120 15360 c5315 VCTA45 1 4 15 39 120 19680 c6288 VCTA45 1 4 15 39 120 48000 c7552 VCTA45 1 4 15 39 120 32256 c17 STD45 4 5 7 13 19 23 c432 STD45 18 33 78 316 529 535 c499 STD45 32 69 142 456 1477 1555 c880 STD45 37 81 180 577 1125 1166 c1355 STD45 35 70 151 488 1497 1564 c1908 STD45 38 79 158 472 1089 1140 c2670 STD45 40 83 207 830 1865 1938 c3540 STD45 41 92 241 1200 2529 2666 c5315 STD45 41 92 265 1419 3969 4292 c6288 STD45 23 47 102 588 5144 8625 c7552 STD45 42 93 313 1916 5480 5770 c17 Robust65 2 9 15 30 36 36 c432 Robust65 2 17 46 397 643 686 c499 Robust65 2 18 65 763 1821 2222 c880 Robust65 2 20 66 761 1471 1614 c1355 Robust65 2 18 71 779 1768 2182 c1908 Robust65 2 21 66 678 1340 1606 c2670 Robust65 2 25 93 1208 2544 2817 c3540 Robust65 2 25 88 1353 3121 3456 c5315 Robust65 2 25 94 2104 5546 6402 c6288 Robust65 2 19 65 1857 7880 11287 c7552 Robust65 2 25 92 2311 6529 7688 c17 STD65 5 12 21 22 22 22 c432 STD65 30 138 380 443 462 462 c499 STD65 26 113 431 889 1231 1237 c880 STD65 31 197 720 996 1093 1097 c1355 STD65 25 127 501 947 1228 1235 c1908 STD65 24 147 543 855 1008 1010 c2670 STD65 53 261 971 1559 1787 1796 c3540 STD65 55 343 1444 2241 2434 2444 c5315 STD65 67 343 1661 3576 4319 4355 c6288 STD65 28 134 1159 5680 9965 10332 c7552 STD65 71 393 2082 4359 5150 5169 7.2. FOCSI FOR SINGLE LAYERS 141 Table 7.2: ISCAS’85 FOCSI OD results ISCAS ROD generators Number layout 160 nm 320 nm 640 nm 1280 nm 2560 nm of LAs c17 VCTA45 2 2 3 3 7 10 c432 VCTA45 2 2 3 3 12 256 c499 VCTA45 2 2 3 3 12 516 c880 VCTA45 2 2 3 3 12 516 c1355 VCTA45 2 2 3 3 12 534 c1908 VCTA45 2 2 3 3 12 388 c2670 VCTA45 2 2 3 3 12 886 c3540 VCTA45 2 2 3 3 12 1223 c5315 VCTA45 2 2 3 3 12 1566 c6288 VCTA45 2 2 3 3 12 3791 c7552 VCTA45 2 2 3 3 12 2560 c17 STD45 2 2 3 7 13 15 c432 STD45 2 9 39 168 281 286 c499 STD45 2 9 36 154 512 541 c880 STD45 2 12 52 251 506 524 c1355 STD45 2 9 34 170 521 555 c1908 STD45 2 9 41 174 412 436 c2670 STD45 2 12 57 315 746 781 c3540 STD45 2 12 67 467 1029 1092 c5315 STD45 2 10 65 514 1486 1619 c6288 STD45 2 9 44 322 1737 3159 c7552 STD45 2 18 79 698 2006 2127 c17 Robust65 1 2 5 15 19 22 c432 Robust65 1 2 8 51 264 366 c499 Robust65 1 2 8 53 353 700 c880 Robust65 1 2 8 58 395 660 c1355 Robust65 1 2 8 60 363 690 c1908 Robust65 1 2 8 50 320 554 c2670 Robust65 1 2 8 68 707 1150 c3540 Robust65 1 2 8 69 908 1528 c5315 Robust65 1 2 8 69 1332 2602 c6288 Robust65 1 2 8 70 2302 5342 c7552 Robust65 1 2 8 72 1525 3000 c17 STD65 7 11 16 17 17 17 c432 STD65 23 53 171 254 269 278 c499 STD65 19 77 286 604 808 814 c880 STD65 30 71 304 554 617 617 c1355 STD65 21 90 347 679 857 859 c1908 STD65 19 58 252 476 580 581 c2670 STD65 41 116 502 884 1024 1052 c3540 STD65 47 138 567 1107 1200 1231 c5315 STD65 41 110 762 1675 2073 2085 c6288 STD65 24 76 1064 3931 6211 6504 c7552 STD65 53 194 1038 2198 2595 2647