Lecture Outline ESE 570: Digital Integrated Circuits and VLSI Fundamentals ! ! ! Lec 3: January 21, 2016 MOS Fabrication pt. 2: Design Rules and Layout ! ! ! ! Penn ESE 570 Spring 2016 – Khanna Adapted from GATech ESE3060 Slides Review: MOS IV Curves and Switch Model MOS Device Layout Inverter Layout Gate Layout and Stick Diagrams Design Rules Standard Cells Linear Elements 2 Penn ESE 570 Spring 2016 - Khanna MOSFET MOSFET – IV Characteristics VDS VGS = VG - VS VDS = VD - VS IDS ! Metal Oxide Semiconductor Field Effect Transistor " " Primary active component for the term Three terminal device " Drain current [arbitrary unit] 50 40 30 20 10 0 Voltage at gate controls conduction between two other terminals (source, drain) 0 2 4 6 Gate to source voltage [V] 3 Penn ESE 570 Spring 2016 - Khanna MOSFET – IV Characteristics 10 Define: Vth = Threshold Voltage VGS Penn ESE 570 Spring 2016 - Khanna 8 4 MOSFET – IV Characteristics VDS <VGS -VTH VGS -Vth IDS VGS -Vth IDS VDS ≥VGS -VTH Penn ESE 570 Spring 2016 - Khanna VDS 5 Penn ESE 570 Spring 2016 - Khanna VDS 6 1 MOSFET – Zeroeth Order Model MOSFET – Zeroeth Order Model IDS ! Ideal Switch VGS > Vth # switch is closed, conducts VGS < Vth # switch is open, does not conduct ! Gate draws no current from input " Loads input capacitively (gate capacitance) VGS Penn ESE 570 Spring 2016 - Khanna 7 Penn ESE 570 Spring 2016 - Khanna MOSFET – N-Type, P-Type ! N – negative carriers " ! ! " Switch turned on positive VGS ! Symmetry P – positive carriers electrons 8 ! holes NMOS: " " Switch turned on negative VGS " " " ! Vth,p < 0 VGS < Vth,p to conduct Penn ESE 570 Spring 2016 - Khanna " 9 Symmetry Current flows from drain-tosource Like a resistor, doesn’t know difference between two ends Drain and source are defined by circuit connections Penn ESE 570 Spring 2016 - Khanna 10 MOSFET – N-Type, P-Type ! PMOS: " " " N – negative carriers " positively ! Holes flow from source#drain " " ! Holes are carriers " ! From lowest voltage#highest Drain is most positive terminal Symmetric Device " Vth,n > 0 VGS > Vth,n to conduct Electrons are carriers Electrons flow from source-to-drain Flow from highest voltage#lowest Drain is most negative terminal ! electrons P – positive carriers " Switch turned on positive VGS ! holes Switch turned on negative VGS Current flows from source-todrain Symmetric Device " " Like a resistor, doesn’t know difference between two ends Drain and source are defined by circuit connections Penn ESE 570 Spring 2016 - Khanna Vth,n > 0 VGS > Vth,n to conduct 11 Penn ESE 570 Spring 2016 - Khanna Vth,p < 0 VGS < Vth,p to conduct 12 2 Typical N-Well CMOS Process Typical N-Well CMOS Process 13 Penn ESE 570 Spring 2016 - Khanna Interconnect Cross Section Penn ESE 570 Spring 2016 - Khanna CMOS Layers ! “Standard” n-Well Process " " " " " " " " " Penn ESE 570 Spring 2016 - Khanna ITRS 2007 15 NMOS vs PMOS ! ! 14 Active (Diffusion) (Drain/Source regions) Polysilicon (Gate Terminals) Metal 1, Metal 2, Metal3 Poly Contact (connects metal 1 to polysilicon) Active Contact (connects metal 1 to active) Via (connects metal 2 to metal 1) nWell (PMOS bulk region) n Select (used with active to create n-type diffusion) p Select (used with active to create p-type diffusion) Penn ESE 570 Spring 2016 - Khanna 16 MOS Layout – Well, Active, Select NMOS built on p substrate PMOS built on n substrate " Needs an N-well Penn ESE 570 Spring 2016 - Khanna 17 Penn ESE 570 Spring 2016 - Khanna 18 3 MOS Layout – Poly Gate CMOS Layers ! “Standard” n-Well Process " " " " " " " " " Penn ESE 570 Spring 2016 - Khanna 19 Wiring and Contact Layout Penn ESE 570 Spring 2016 - Khanna Properties " " " " Poly Contact 21 Layout Example: CMOS Inverter Penn ESE 570 Spring 2016 - Khanna 22 Layout Example: CMOS Inverter Set Pitch (place well and power/ground busses) Penn ESE 570 Spring 2016 - Khanna Set Well and Substrate Voltages to Vdd and Gnd Prevent Forward Biasing and Latch-Up Must Be at Least One per Well Should Be Placed Regularly Via (metal1-metal2) Penn ESE 570 Spring 2016 - Khanna ! 20 Substrate and Well Contacts ! Diffusion (Active) Contact Active (Diffusion) (Drain/Source regions) Polysilicon (Gate Terminals) Metal 1, Metal 2, Metal3 Poly Contact (connects metal 1 to polysilicon) Active Contact (connects metal 1 to active) Via (connects metal 2 to metal 1) nWell (PMOS bulk region) n Select (used with active to create n-type diffusion) p Select (used with active to create p-type diffusion) ! 23 Add Transistors (active, select and poly) Penn ESE 570 Spring 2016 - Khanna 24 4 Layout Example: CMOS Inverter ! Layout Example: CMOS Inverter Make Connections (poly, metal, and contacts) Penn ESE 570 Spring 2016 - Khanna ! 25 Layout Example: CMOS Inverter ! Add Substrate and Well Contacts Penn ESE 570 Spring 2016 - Khanna 26 Example: Mystery Gate Add External Wiring and Resize Penn ESE 570 Spring 2016 - Khanna 27 Example: NAND Gate Penn ESE 570 Spring 2016 - Khanna Penn ESE 570 Spring 2016 - Khanna 28 Example: NAND Gate (Horizontal) 29 Penn ESE 570 Spring 2016 - Khanna 30 5 Symbolic Layout ! Layout Design Rules Stick diagrams capture spatial relationships, but abstract away design rules (coming up next…) ! Physical Layer " ! Purpose " ! What gate is this? " 31 Design Rules " " ! ! " " ! ! Intralayer (all layers) Interlayer (active to poly/well/select) From Transistor 32 Definition " " Design Rules Based on a Unitless Parameter (λ) λ Scales with Process Feature Size " " Minimum Width (all layers) [B] Minimum Overlap [C] " Penn ESE 570 Spring 2016 - Khanna Scalable CMOS Rules Minimum Separation [A] " Explicit permission granted by the fabrication organization to the design organization to violate certain design rules or to allow certain design rule errors on a given design How many NMOS? PMOS? D/S connections? Penn ESE 570 Spring 2016 - Khanna ! Realize fabricated chips that are die area efficient and manufacturable by balancing the conflicting objectives to minimize die area and maximize yield Design Rule Waiver " ! Design Rules are a set of process-specific geometric rules for preparing layout artwork to enable the layout to be manufacturable, i.e. preserve all of the circuit structures and feature geometries intended by the chip designers ! Advantages " Past Transistor (poly, active) Around Contact Cut (all contacted layers) Around Active (well, select) λ = 0.5*Lmin Example: λ = 0.6 in a 1.2mm Process " Simplifies Design - Requires Learning Only One Set of Design Rules Facilitates Translating Designs between Processes Exact Size (contact cuts) [D] Penn ESE 570 Spring 2016 - Khanna 33 34 Contact Design Rules Width/Spacing Design Rules Penn ESE 570 Spring 2016 - Khanna Penn ESE 570 Spring 2016 - Khanna 35 Penn ESE 570 Spring 2016 - Khanna 36 6 Potential Consequences of Design Rule Violations ! Potential Consequences of Design Rule Violations Inter-Layer Design Rule Origins ! Inter-Layer Design Rule Origins Contact and Via Masks Intended Transistor Intended Unrelated Poly & Diffusion Catastrophic Error – Unintended misalignment cause Source-Drain short circuit 37 ! ! ! capture a textual hierarchical description of design at abstraction ranging from gate or even transistor level up to a behavioral description (eg. VHDL, Verilog) " " capture a structural, hierarchical graphical representation of the design netlist (eg. Cadence Composer) " capture a hierarchical view of the physical geometric aspect of a design. The units of hierarchy are called cells, and have physical extent (size). In general, good design requires that only one cell contain the design info for a particular area of the chip (eg. Cadence Virtuoso) ! ! ! Penn ESE 570 Spring 2016 - Khanna 39 Circuit Extraction ! 38 Physical Design Rules Checking (DRC) checks for design rule violations such as minimum spacing etc. DRC checking is complicated by hierarchy and overlap between cells Electrical Rule Checking (ERC) checks for violations such as shorts between Vdd and GND, opens, and so on Layout vs. Schematic (LVS) checks for a one-to-one correspondence between transistor schematic and the layout Formal verification is used to show that the design satisfies a formal description of what it should do Simulation is used to show that the design is functional on some well selected set of input vectors Timing analysis is used to predict design performance Penn ESE 570 Spring 2016 - Khanna 40 Standard Cells Circuit extraction extracts a schematic representation of a layout, including transistors, wires, and possibly wire and device resistance and capacitance. ! Lay out gates so that heights match " " ! Rows of adjacent cells Standardized sizes Motivation: automated place and route " ! Error – Unintended misalignment cause poor contact Complex designs invariably suffer design and design entry errors. There are a number of tools and methodologies to detect and correct Layout " Mask misalignment Both Metal 1 & Diffusion Penn ESE 570 Spring 2016 - Khanna Schematic capture " -> Via Mask Rules Checking Hardware Description Languages (HDL) & " Mn contact to Mn-1 for n = 2, 3,.. Intended Contact Alignment Design Capture Tools ! -> Contact Mask Both Metal 1 & Diffusion Catastrophic Error – Unintended overlap cause fabrication of a parasitic Transistor Penn ESE 570 Spring 2016 - Khanna M1 contact to n-diffusion M1 contact to p-diffusion M1 contact to poly EDA tools convert HDL to layout Circuit extraction is used for LVS, and for spice simu- lation of layouts Penn ESE 570 Spring 2016 - Khanna 41 Penn ESE 570 Spring 2016 - Khanna 42 7 Standard Cell Area Standard Cell Layout Example All cells uniform height inv nand3 Cell area Width of channel determined by routing http://www.laytools.com/images/StandardCells.jpg Penn ESE 570 Spring 2016 - Khanna 43 CMOS Process Enhancements 44 Penn ESE 570 Spring 2016 - Khanna CMOS Poly-Poly Capacitors W L C. Bipolar Transistors 45 Resistors 46 Big Idea ! Layouts are physical realization of circuit " Geometry tradeoff " " ! 47 Can decrease spacing at the cost of yield Design rules Can go from circuit to layout or layout to circuit by inspection Penn ESE 570 Spring 2016 - Khanna 48 8 Admin ! HW 1 should be submitted HW 2 due next week 1/28 ! Office hours updated on Course website ! " Posted tonight after class Penn ESE 570 Spring 2016 - Khanna 49 9