Introduction to CMOS VLSI Design Circuit Pitfalls.

Slides:



Advertisements
Similar presentations
Topics Electrical properties of static combinational gates:
Advertisements

Transmission Gate Based Circuits
Latch-Up and its Prevention Latch is the generation of a low- impedance path in CMOS chips between the power supply and the ground rails due to interaction.
CSET 4650 Field Programmable Logic Devices
COMP541 Transistors and all that… a brief overview
Slides based on Kewal Saluja
Introduction to CMOS VLSI Design Sequential Circuits
Lecture 11: Sequential Circuit Design. CMOS VLSI DesignCMOS VLSI Design 4th Ed. 11: Sequential Circuits2 Outline  Sequencing  Sequencing Element Design.
Elettronica T A.A Digital Integrated Circuits © Prentice Hall 2003 Inverter CMOS INVERTER.
Module #8 Page 1 EELE 414 – Introduction to VLSI Design Module #8 – Miscellaneous & Advanced Topics Agenda 1.Latchup Announcements 1.Read Chapter 13.
Introduction to CMOS VLSI Design Lecture 16: Circuit Pitfalls David Harris Harvey Mudd College Spring 2004.
Introduction to CMOS VLSI Design Lecture 19: Design for Skew David Harris Harvey Mudd College Spring 2004.
S. Reda EN160 SP’07 Design and Implementation of VLSI Systems (EN1600) Lecture 21: Dynamic Combinational Circuit Design Prof. Sherief Reda Division of.
Introduction to CMOS VLSI Design Clock Skew-tolerant circuits.
Combinational circuits Lection 6
Clock Design Adopted from David Harris of Harvey Mudd College.
Introduction to CMOS VLSI Design Lecture 13: SRAM
Introduction to CMOS VLSI Design Circuit Pitfalls.
Lecture 16: Circuit Pitfalls. CMOS VLSI DesignCMOS VLSI Design 4th Ed. 16: Circuit Pitfalls2 Outline  Variation  Noise Budgets  Reliability  Circuit.
Introduction to CMOS VLSI Design Lecture 18: Design for Low Power David Harris Harvey Mudd College Spring 2004.
Introduction to CMOS VLSI Design Lecture 20: Package, Power, and I/O
Designing Combinational Logic Circuits: Part2 Alternative Logic Forms:
S. Reda EN160 SP’07 Design and Implementation of VLSI Systems (EN0160) Lecture 20: Circuit Design Pitfalls Prof. Sherief Reda Division of Engineering,
Introduction to CMOS VLSI Design SRAM/DRAM
11/5/2004EE 42 fall 2004 lecture 281 Lecture #28 PMOS LAST TIME: NMOS Electrical Model – NMOS physical structure: W and L and d ox, TODAY: PMOS –Physical.
Introduction to CMOS VLSI Design Circuit Families.
Circuit Families Adopted from David Harris of Harvey Mudd College.
VLSI System Design – ECES 681 Lecture: Interconnect -1 Prashant Bhadri Office: Rhodes Hall - 933C Department of ECECS, College of.
VLSI Digital System Design
Lecture 5 – Power Prof. Luke Theogarajan
Introduction to CMOS VLSI Design Nonideal Transistors.
Lecture 7: Power.
Digital Integrated Circuits© Prentice Hall 1995 Combinational Logic COMBINATIONAL LOGIC.
Design constraints Lection 5
VLSI Digital Systems Design Alternatives to Fully-Complementary CMOS Logic.
Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 10.1 EE4800 CMOS Digital IC Design & Analysis Lecture 10 Combinational Circuit Design Zhuo Feng.
EE466: VLSI Design Power Dissipation. Outline Motivation to estimate power dissipation Sources of power dissipation Dynamic power dissipation Static power.
EE415 VLSI Design DYNAMIC LOGIC [Adapted from Rabaey’s Digital Integrated Circuits, ©2002, J. Rabaey et al.]
Source: Lundstrom/Fossom/Yang/Neudeck, Purdue EE612 lecture notes.
EE 447 VLSI Design Lecture 8: Circuit Families.
FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Topics n Latches and flip-flops. n RAMs and ROMs.
The George Washington University School of Engineering and Applied Science Department of Electrical and Computer Engineering ECE122 – Lab 7 MOSFET Parameters.
Ratioed Circuits Ratioed circuits use weak pull-up and stronger pull-down networks. The input capacitance is reduced and hence logical effort. Correct.
Modern VLSI Design 2e: Chapter 3 Copyright  1998 Prentice Hall PTR Topics n Electrical properties of static combinational gates: –transfer characteristics;
1 OUTPUT Pad and Driver. 2 CLOCK DRIVER 3 Buffering S = scaling or tapering factor CL = S N+1 Cg ……………… All inverters have identical delay of t o = delay.
Chapter 1 Combinational CMOS Logic Circuits Lecture # 4 Pass Transistors and Transmission Gates.
Modern VLSI Design 4e: Chapter 3 Copyright  2008 Wayne Wolf Topics n Pseudo-nMOS gates. n DCVS logic. n Domino gates. n Design-for-yield. n Gates as IP.
Lecture 10: Circuit Families. CMOS VLSI DesignCMOS VLSI Design 4th Ed. 10: Circuit Families2 Outline  Pseudo-nMOS Logic  Dynamic Logic  Pass Transistor.
Washington State University
Advanced VLSI Design Unit 04: Combinational and Sequential Circuits.
Introduction to CMOS VLSI Design Lecture 9: Circuit Families
NMOS FABRICATION 1. Processing is carried out on a thin wafer cut from a single crystal of silicon of high purity into which the required p-impurities.
Modern VLSI Design 3e: Chapter 7 Copyright  1998, 2002 Prentice Hall PTR Topics n Power/ground routing. n Clock routing. n Floorplanning tips. n Off-chip.
Introduction to VLSI Design© Steven P. Levitan 1998 Introduction Properties of Complementary CMOS Gates.
11-1 Integrated Microsystems Lab. EE372 VLSI SYSTEM DESIGNE. Yoon Latch-up & Power Consumption Latch-up Problem Latch-up condition  1   2 >1 GND Vdd.
FPGA-Based System Design: Chapter 2 Copyright  2004 Prentice Hall PTR Topics n Logic gate delay. n Logic gate power consumption. n Driving large loads.
Modern VLSI Design 3e: Chapter 3 Copyright  1998, 2002 Prentice Hall PTR Topics n Electrical properties of static combinational gates: –transfer characteristics;
Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 6.1 EE4800 CMOS Digital IC Design & Analysis Lecture 6 Power Zhuo Feng.
Seok-jae, Lee VLSI Signal Processing Lab. Korea University
EE415 VLSI Design. Read 4.1, 4.2 COMBINATIONAL LOGIC.
EE141 Combinational Circuits 1 Chapter 6 (I) Designing Combinational Logic Circuits Dynamic CMOS LogicDynamic CMOS Logic V1.0 5/4/2003.
EE 466/586 VLSI Design Partha Pande School of EECS Washington State University
Smruti R. Sarangi IIT Delhi
Lecture 10: Circuit Families
Introduction to CMOS VLSI Design Chapter 3: CMOS Processing Technology
332:578 Deep Submicron VLSI Design Lecture 14 Design for Clock Skew
Combinational Circuit Design
Lecture 16: Circuit Pitfalls
Lecture 10: Circuit Families
Presentation transcript:

Introduction to CMOS VLSI Design Circuit Pitfalls

CMOS VLSI Design2 Outline  Circuit Pitfalls –Detective puzzle –Given circuit and symptom, diagnose cause and recommend solution –All these pitfalls have caused failures in real chips  Noise Budgets  Reliability

CMOS VLSI Design3 Bad Circuit 1  Circuit –2:1 multiplexer  Symptom –Mux works when selected D is 0 but not 1. –Or fails at low V DD. –Or fails in SFSF corner –SFSF corner corresponds to nMOS, pMOS,Voltage, Temperature.  Principle:  Solution: CornerVoltageTemper ature F1.980 C T1.870 C S C

CMOS VLSI Design4 Bad Circuit 1  Circuit –2:1 multiplexer  Symptom –Mux works when selected D is 0 but not 1. –Or fails at low V DD. –Or fails in SFSF corner.  Principle: Threshold drop –X 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:

CMOS VLSI Design5 Bad Circuit 1  Circuit –2:1 multiplexer  Symptom –Mux works when selected D is 0 but not 1. –Or fails at low V DD. –Or fails in SFSF corner.  Principle: Threshold drop –X 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

CMOS VLSI Design6 Bad Circuit 2  Circuit –Latch  Symptom –Load a 0 into Q –Set  = 0 –Eventually Q spontaneously flips to 1  Principle:  Solution:

CMOS VLSI Design7 Bad Circuit 2  Circuit –Latch  Symptom –Load a 0 into Q –Set  = 0 –Eventually Q spontaneously flips to 1  Principle: Leakage –X is a dynamic node holding value as charge on the node –Eventually subthreshold leakage may disturb charge  Solution:

CMOS VLSI Design8 Bad Circuit 2  Circuit –Latch  Symptom –Load a 0 into Q –Set  = 0 –Eventually Q spontaneously flips to 1  Principle: Leakage –X 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)

CMOS VLSI Design9 Bad Circuit 3  Circuit –Domino AND gate  Symptom –Precharge gate (Y=0) –Then evaluate –Eventually Y spontaneously flips to 1  Principle:  Solution:

CMOS VLSI Design10 Bad Circuit 3  Circuit –Domino AND gate  Symptom –Precharge gate (Y=0) –Then evaluate –Eventually Y spontaneously flips to 1  Principle: Leakage –X is a dynamic node holding value as charge on the node –Eventually subthreshold leakage may disturb charge  Solution:

CMOS VLSI Design11 Bad Circuit 3  Circuit –Domino AND gate  Symptom –Precharge gate (Y=0) –Then evaluate –Eventually Y spontaneously flips to 1  Principle: Leakage –X is a dynamic node holding value as charge on the node –Eventually subthreshold leakage may disturb charge  Solution: Keeper

CMOS VLSI Design12 Bad Circuit 4  Circuit –Pseudo-nMOS OR  Symptom –When only one input is true, Y = 0. –Perhaps only happens in SF corner.  Principle:  Solution:

CMOS VLSI Design13 Bad Circuit 4  Circuit –Pseudo-nMOS OR  Symptom –When only one input is true, Y = 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 X low enough.  Solution:

CMOS VLSI Design14 Bad Circuit 4  Circuit –Pseudo-nMOS OR  Symptom –When only one input is true, Y = 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 X low enough.  Solution: Check that ratio is satisfied in all corners

CMOS VLSI Design15 Bad Circuit 5  Circuit –Latch  Symptom –Q stuck at 1. –May only happen for certain latches where input is driven by a small gate located far away.  Principle:  Solutions:

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

CMOS VLSI Design17 Bad Circuit 5  Circuit –Latch  Symptom –Q stuck at 1. –May only happen for certain latches where input is driven by a small gate located far away.  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 –Avoid unbuffered diffusion inputs where driver is unknown

CMOS VLSI Design18 Bad Circuit 6  Circuit –Domino AND gate  Symptom –Precharge gate while A = B = 0, so Z = 0 –Set  = 1 –A rises –Z is observed to sometimes rise  Principle:  Solutions:

CMOS VLSI Design19 Bad Circuit 6  Circuit –Domino AND gate  Symptom –Precharge gate while A = B = 0, so Z = 0 –Set  = 1 –A rises –Z is observed to sometimes rise  Principle: Charge Sharing –If X was low, it shares charge with Y  Solutions:

CMOS VLSI Design20 Bad Circuit 6  Circuit –Domino AND gate  Symptom –Precharge gate while A = B = 0, so Z = 0 –Set  = 1 –A rises –Z is observed to sometimes rise  Principle: Charge Sharing –If X was low, it shares charge with Y  Solutions: Limit charge sharing –Safe if C Y >> C X –Or precharge node X too

CMOS VLSI Design21 Bad Circuit 7  Circuit –Dynamic gate + latch  Symptom –Precharge gate while transmission gate latch is opaque –Evaluate –When latch becomes transparent, X falls  Principle:  Solution:

CMOS VLSI Design22 Bad Circuit 7  Circuit –Dynamic gate + latch  Symptom –Precharge gate while transmission gate latch is opaque –Evaluate –When latch becomes transparent, X falls  Principle: Charge Sharing –If Y was low, it shares charge with X  Solution:

CMOS VLSI Design23 Bad Circuit 7  Circuit –Dynamic gate + latch  Symptom –Precharge gate while transmission gate latch is opaque –Evaluate –When latch becomes transparent, X falls  Principle: Charge Sharing –If Y was low, it shares charge with X  Solution: Buffer dynamic nodes before driving transmission gate

CMOS VLSI Design24 Bad Circuit 8  Circuit –Latch  Symptom –Q changes while latch is opaque –Especially if D comes from a far-away driver  Principle:  Solution:

CMOS VLSI Design25 Bad Circuit 8  Circuit –Latch  Symptom –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:

CMOS VLSI Design26 Bad Circuit 8  Circuit –Latch  Symptom –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

CMOS VLSI Design27 Bad Circuit 9  Circuit –Anything  Symptom –Some gates are slower than expected  Principle:

CMOS VLSI Design28 Bad Circuit 9  Circuit –Anything  Symptom –Some gates are slower than expected  Principle: Hot Spots and Power Supply Noise

CMOS VLSI Design29 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

CMOS VLSI Design30 Reliability  Hard Errors causing system to fail permanently  Soft Errors (transient failures) causing system to lose data or crash From Chapter 4.8

CMOS VLSI Design31 Electromigration  “Electron wind” causes movement of metal atoms along wires, wearout of metal interconnect  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: –Typical limits: J dc < 1 – 2 mA /  m 2

CMOS VLSI Design32 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 –Typical limits: J rms < 15 mA /  m 2

CMOS VLSI Design33 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 rise time and long propagation delays

CMOS VLSI Design34 Latchup DD  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

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

CMOS VLSI Design36 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 (Electrostatic discharge) protection structures where chip meets real world

CMOS VLSI Design37 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 (Error Correcting Code), redundancy

CMOS VLSI Design38 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.