Lecture 16: Circuit Pitfalls

Similar documents
Lecture 16: Circuit Pitfalls

Digital Integrated Circuits Designing Combinational Logic Circuits. Fuyuzhuo

Digital Integrated Circuits A Design Perspective

Lecture 14: Circuit Families

Dynamic Combinational Circuits. Dynamic Logic

Topics. Dynamic CMOS Sequential Design Memory and Control. John A. Chandy Dept. of Electrical and Computer Engineering University of Connecticut

Dynamic Combinational Circuits. Dynamic Logic

EE141Microelettronica. CMOS Logic

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

MODULE 5 Chapter 7. Clocked Storage Elements

Digital Integrated Circuits A Design Perspective. Semiconductor. Memories. Memories

Semiconductor Memories

Topics to be Covered. capacitance inductance transmission lines

Objective and Outline. Acknowledgement. Objective: Power Components. Outline: 1) Acknowledgements. Section 4: Power Components

ESE570 Spring University of Pennsylvania Department of Electrical and System Engineering Digital Integrated Cicruits AND VLSI Fundamentals

EE 466/586 VLSI Design. Partha Pande School of EECS Washington State University

COMBINATIONAL LOGIC. Combinational Logic

9/18/2008 GMU, ECE 680 Physical VLSI Design

Lecture 4: DC & Transient Response

Digital Integrated Circuits A Design Perspective

! Memory. " RAM Memory. ! Cell size accounts for most of memory array size. ! 6T SRAM Cell. " Used in most commercial chips

MOS Transistor Theory

Semiconductor Memory Classification

ECE520 VLSI Design. Lecture 23: SRAM & DRAM Memories. Payman Zarkesh-Ha

CPE/EE 427, CPE 527 VLSI Design I L18: Circuit Families. Outline

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Semiconductor memories

EECS150 - Digital Design Lecture 26 - Faults and Error Correction. Types of Faults in Digital Designs

MODULE III PHYSICAL DESIGN ISSUES

Low Power VLSI Circuits and Systems Prof. Ajit Pal Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

ESE570 Spring University of Pennsylvania Department of Electrical and System Engineering Digital Integrated Cicruits AND VLSI Fundamentals

Chapter 2 CMOS Transistor Theory. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

! Charge Leakage/Charge Sharing. " Domino Logic Design Considerations. ! Logic Comparisons. ! Memory. " Classification. " ROM Memories.

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING QUESTION BANK

EECS 312: Digital Integrated Circuits Final Exam Solutions 23 April 2009

Lecture 25. Semiconductor Memories. Issues in Memory

Lecture 5: CMOS Transistor Theory

Lecture 6 Power Zhuo Feng. Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 2010

Spiral 2 7. Capacitance, Delay and Sizing. Mark Redekopp

Skew-Tolerant Circuit Design

VLSI GATE LEVEL DESIGN UNIT - III P.VIDYA SAGAR ( ASSOCIATE PROFESSOR) Department of Electronics and Communication Engineering, VBIT

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

THE INVERTER. Inverter

EE 560 CHIP INPUT AND OUTPUT (I/0) CIRCUITS. Kenneth R. Laker, University of Pennsylvania

Lecture 4: CMOS Transistor Theory

Topics. CMOS Design Multi-input delay analysis. John A. Chandy Dept. of Electrical and Computer Engineering University of Connecticut

Lecture 6: Circuit design part 1

! Crosstalk. ! Repeaters in Wiring. ! Transmission Lines. " Where transmission lines arise? " Lossless Transmission Line.

Logical Effort: Designing for Speed on the Back of an Envelope David Harris Harvey Mudd College Claremont, CA

Lecture 5: DC & Transient Response

Lecture 4: Implementing Logic in CMOS

Introduction to CMOS VLSI Design (E158) Lecture 20: Low Power Design

UNIVERSITY OF CALIFORNIA, BERKELEY College of Engineering Department of Electrical Engineering and Computer Sciences

CMPEN 411 VLSI Digital Circuits. Lecture 03: MOS Transistor

Name: Answers. Mean: 83, Standard Deviation: 12 Q1 Q2 Q3 Q4 Q5 Q6 Total. ESE370 Fall 2015

S No. Questions Bloom s Taxonomy Level UNIT-I

SEMICONDUCTOR MEMORIES

Digital Integrated Circuits A Design Perspective

GMU, ECE 680 Physical VLSI Design 1

VLSI Design I. Defect Mechanisms and Fault Models

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

and V DS V GS V T (the saturation region) I DS = k 2 (V GS V T )2 (1+ V DS )

Lecture 9: Sequential Logic Circuits. Reading: CH 7

CMOS Transistors, Gates, and Wires

EECS 141 F01 Lecture 17

EE141- Fall 2002 Lecture 27. Memory EE141. Announcements. We finished all the labs No homework this week Projects are due next Tuesday 9am EE141

University of Toronto. Final Exam

Integrated Circuits & Systems

Lecture 0: Introduction

Magnetic core memory (1951) cm 2 ( bit)

Power Dissipation. Where Does Power Go in CMOS?

ESE570 Spring University of Pennsylvania Department of Electrical and System Engineering Digital Integrated Cicruits AND VLSI Fundamentals

Lecture 12 CMOS Delay & Transient Response

Lecture 6: DC & Transient Response

CMPEN 411 VLSI Digital Circuits Spring 2011 Lecture 07: Pass Transistor Logic

EE241 - Spring 2000 Advanced Digital Integrated Circuits. References

Midterm. ESE 570: Digital Integrated Circuits and VLSI Fundamentals. Lecture Outline. Pass Transistor Logic. Restore Output.

Digital Integrated Circuits A Design Perspective

EECS150 - Digital Design Lecture 26 Faults and Error Correction. Recap

Lecture 7 Circuit Delay, Area and Power

CMPEN 411 VLSI Digital Circuits. Lecture 04: CMOS Inverter (static view)

Homework Assignment #1 Solutions EE 477 Spring 2017 Professor Parker

Lecture 8: Combinational Circuits

Semiconductor Memories

EE371 - Advanced VLSI Circuit Design

CARNEGIE MELLON UNIVERSITY DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING DIGITAL INTEGRATED CIRCUITS FALL 2002

DKDT: A Performance Aware Dual Dielectric Assignment for Tunneling Current Reduction

L ECE 4211 UConn F. Jain Scaling Laws for NanoFETs Chapter 10 Logic Gate Scaling

Topic 4. The CMOS Inverter

Very Large Scale Integration (VLSI)

EE371 - Advanced VLSI Circuit Design

EE213, Spr 2017 HW#3 Due: May 17 th, in class. Figure 1

Chapter 11. Inverter. DC AC, Switching. Layout. Sizing PASS GATES (CHPT 10) Other Inverters. Baker Ch. 11 The Inverter. Introduction to VLSI

Lecture 15: Scaling & Economics

Power Consumption in CMOS CONCORDIA VLSI DESIGN LAB

MOSFET: Introduction

COMP 103. Lecture 16. Dynamic Logic

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

CMOS Digital Integrated Circuits Lec 13 Semiconductor Memories

Future trends in radiation hard electronics

Transcription:

Introduction to CMOS VLSI Design Lecture 16: Circuit Pitfalls David Harris Harvey Mudd College Spring 2004

Outline Pitfalls Detective puzzle Given circuit and symptom, diagnose cause and recommend solution All these pitfalls have caused failures in real chips Noise Budgets Reliability Slide 2

Bad Circuit 1 2:1 multiplexer D0 D1 S S Principle: Mux works when selected D is 0 but not 1. Or fails at low V DD. Or fails in SFSF corner. Solution: Slide 3

Bad Circuit 1 2:1 multiplexer D0 D1 S S Mux works when selected D is 0 but not 1. Or fails at low V DD. Or fails in SFSF corner. Principle: Threshold drop never rises above V DD -V t V t is raised by the body effect The threshold drop is most serious as V t becomes a greater fraction of V DD. Solution: Slide 4

Bad Circuit 1 2:1 multiplexer D0 D1 S S Mux works when selected D is 0 but not 1. Or fails at low V DD. Or fails in SFSF corner. Principle: Threshold drop never rises above V DD -V t V t is raised by the body effect The threshold drop is most serious as V t becomes a greater fraction of V DD. Solution: Use transmission gates, not pass transistors Slide 5

Bad Circuit 2 Latch Load a 0 into Q Set = 0 D Q Eventually Q spontaneously flips to 1 Principle: Solution: Slide 6

Bad Circuit 2 Latch Load a 0 into Q Set = 0 D Q Eventually Q spontaneously flips to 1 Principle: Leakage is a dynamic node holding value as charge on the node Eventually subthreshold leakage may disturb charge Solution: Slide 7

Bad Circuit 2 Latch D Q Load a 0 into Q Set = 0 Eventually Q spontaneously flips to 1 Principle: Leakage is a dynamic node holding value as charge on the node Eventually subthreshold leakage may disturb charge Solution: Staticize node with feedback Or periodically refresh node (requires fast clock, not practical processes with big leakage) D Q Slide 8

Bad Circuit 3 Domino AND gate 0 1 Precharge gate (=0) Then evaluate Eventually spontaneously flips to 1 Principle: Solution: Slide 9

Bad Circuit 3 Domino AND gate 0 1 Precharge gate (=0) Then evaluate Eventually spontaneously flips to 1 Principle: Leakage is a dynamic node holding value as charge on the node Eventually subthreshold leakage may disturb charge Solution: Slide 10

Bad Circuit 3 Domino AND gate 0 1 Precharge gate (=0) Then evaluate Eventually spontaneously flips to 1 Principle: Leakage is a dynamic node holding value as charge on the node Eventually subthreshold leakage may disturb charge Solution: Keeper 0 1 Slide 11

Bad Circuit 4 Pseudo-nMOS OR A B When only one input is true, = 0. Perhaps only happens in SF corner. Principle: Solution: Slide 12

Bad Circuit 4 Pseudo-nMOS OR A B When only one input is true, = 0. Perhaps only happens in SF corner. Principle: Ratio Failure nmos and pmos fight each other. If the pmos is too strong, nmos cannot pull low enough. Solution: Slide 13

Bad Circuit 4 Pseudo-nMOS OR A B When only one input is true, = 0. Perhaps only happens in SF corner. Principle: Ratio Failure nmos and pmos fight each other. If the pmos is too strong, nmos cannot pull low enough. Solution: Check that ratio is satisfied in all corners Slide 14

Bad Circuit 5 Latch D weak Principle: Q Q stuck at 1. May only happen for certain latches where input is driven by a small gate located far away. Solutions: Slide 15

Bad Circuit 5 Latch D weak Principle: Ratio Failure (again) Series resistance of D driver, wire Solutions: Q resistance, and tgate must be much less than weak feedback inverter. Q stuck at 1. May only happen for certain latches where input is driven by a small gate located far away. D stronger weak Q Slide 16

Bad Circuit 5 Latch D weak Q Principle: Ratio Failure (again) Series resistance of D driver, wire resistance, and tgate must be much less than weak feedback inverter. Solutions: Check relative strengths Q stuck at 1. May only happen for certain latches where input is driven by a small gate located far away. Avoid unbuffered diffusion inputs where driver is unknown D stronger weak Q Slide 17

Bad Circuit 6 Domino AND gate A B Principle: Z Precharge gate while A = B = 0, so Z = 0 Set = 1 A rises Z is observed to sometimes rise Solutions: Slide 18

Bad Circuit 6 Domino AND gate Principle: Charge Sharing If was low, it shares charge with Solutions: A B Z Precharge gate while A = B = 0, so Z = 0 Set = 1 A rises Z is observed to sometimes rise A B C x C Z Slide 19

Bad Circuit 6 Domino AND gate A B Principle: Charge Sharing If was low, it shares charge with Solutions: Limit charge sharing C V = V = V x DD Cx + C Safe if C >> C Or precharge node too Z Precharge gate while A = B = 0, so Z = 0 Set = 1 A rises Z is observed to sometimes rise Slide 20 A B C x C Z

Bad Circuit 7 Dynamic gate + latch 0 Principle: Precharge gate while transmission gate latch is opaque Evaluate When latch becomes transparent, falls Solution: Slide 21

Bad Circuit 7 Dynamic gate + latch 0 Principle: Charge Sharing If was low, it shares charge with Solution: Precharge gate while transmission gate latch is opaque Evaluate When latch becomes transparent, falls Slide 22

Bad Circuit 7 Dynamic gate + latch 0 Principle: Charge Sharing If was low, it shares charge with Solution: Buffer dynamic nodes before driving transmission gate Precharge gate while transmission gate latch is opaque Evaluate When latch becomes transparent, falls Slide 23

Bad Circuit 8 Latch D GND V DD V DD weak Q Q changes while latch is opaque Especially if D comes from a far-away driver Principle: Solution: Slide 24

Bad Circuit 8 Latch D GND V DD V DD weak Q Q changes while latch is opaque Especially if D comes from a far-away driver Principle: Diffusion Input Noise Sensitivity If D < -V t, transmission gate turns on Most likely because of power supply noise or coupling on D Solution: Slide 25

Bad Circuit 8 Latch D GND V DD V DD weak Q Q changes while latch is opaque Especially if D comes from a far-away driver Principle: Diffusion Input Noise Sensitivity If D < -V t, transmission gate turns on Most likely because of power supply noise or coupling on D Solution: Buffer D locally 0 D V DD Q V DD weak Slide 26

Bad Circuit 9 Anything Some gates are slower than expected Principle: Slide 27

Bad Circuit 9 Anything Some gates are slower than expected Principle: Hot Spots and Power Supply Noise Slide 28

Noise Sources Power supply noise / ground bounce Capacitive coupling Charge sharing Leakage Noise feedthrough Consequences Increased delay (for noise to settle out) Or incorrect computations Slide 29

Reliability Hard Errors Soft Errors Failure Rate Infant Mortality Useful Operating Life Wear Out Time Slide 30

Electromigration Electron wind causes movement of metal atoms along wires Excessive electromigration leads to open circuits Most significant for unidirectional (DC) current Depends on current density J dc (current / area) Exponential dependence on temperature Black s Equation: MTTF e J E a kt n dc Typical limits: J dc < 1 2 ma / µm 2 See videos Slide 31

Self-Heating Current through wire resistance generates heat Oxide surrounding wires is a thermal insulator Heat tends to build up in wires Hotter wires are more resistive, slower Self-heating limits AC current densities for reliability I rms = T 0 2 I() t dt T Typical limits: J rms < 15 ma / µm 2 Slide 32

Hot Carriers Electric fields across channel impart high energies to some carriers These hot carriers may be blasted into the gate oxide where they become trapped Accumulation of charge in oxide causes shift in V t over time Eventually V t shifts too far for devices to operate correctly Choose V DD to achieve reasonable product lifetime Worst problems for inverters and NORs with slow input risetime and long propagation delays Slide 33

Latchup Latchup: positive feedback leading to V DD GND short Major problem for 1970 s CMOS processes before it was well understood Avoid by minimizing resistance of body to GND / V DD Use plenty of substrate and well taps GND A V DD p+ n+ n+ p+ p+ n+ R well V well R sub p substrate n well n well V well R well V sub R sub substrate tap V sub well tap Slide 34

Guard Rings Latchup risk greatest when diffusion-to-substrate diodes could become forward-biased Surround sensitive region with guard ring to collect injected charge Slide 35

Overvoltage High voltages can damage transistors Electrostatic discharge Oxide arcing Punchthrough Time-dependent dielectric breakdown (TDDB) Accumulated wear from tunneling currents Requires low V DD for thin oxides and short channels Use ESD protection structures where chip meets real world Slide 36

Summary Static CMOS gates are very robust Will settle to correct value if you wait long enough Other circuits suffer from a variety of pitfalls Tradeoff between performance & robustness Very important to check circuits for pitfalls For large chips, you need an automatic checker. Design rules aren t worth the paper they are printed on unless you back them up with a tool. Slide 37

Soft Errors In 1970 s, DRAMs were observed to occasionally flip bits for no apparent reason Ultimately linked to alpha particles and cosmic rays Collisions with particles create electron-hole pairs in substrate These carriers are collected on dynamic nodes, disturbing the voltage Minimize soft errors by having plenty of charge on dynamic nodes Tolerate errors through ECC, redundancy Slide 38