Electronics Basic CMOS digital circuits

Similar documents
Microelectronics, BSc course

Lecture 16. Complementary metal oxide semiconductor (CMOS) CMOS 1-1

Microelectronics, BSc course

ECE 334: Electronic Circuits Lecture 10: Digital CMOS Circuits

Lecture 4. The CMOS Inverter. DC Transfer Curve: Load line. DC Operation: Voltage Transfer Characteristic. Noise in Digital Integrated Circuits

Electronics A/D and D/A converters

CPE/EE 427, CPE 527 VLSI Design I: Homeworks 3 & 4

1. Short answer questions. (30) a. What impact does increasing the length of a transistor have on power and delay? Why? (6)

UNIT-III GATE LEVEL DESIGN

Depletion-mode operation ( 공핍형 ): Using an input gate voltage to effectively decrease the channel size of an FET

Topic 6. CMOS Static & Dynamic Logic Gates. Static CMOS Circuit. NMOS Transistors in Series/Parallel Connection

8. Combinational MOS Logic Circuits

ECE380 Digital Logic. Logic values as voltage levels

Module 4 : Propagation Delays in MOS Lecture 19 : Analyzing Delay for various Logic Circuits

EE 330 Lecture 43. Digital Circuits. Other Logic Styles Dynamic Logic Circuits

EE 42/100 Lecture 23: CMOS Transistors and Logic Gates. Rev A 4/15/2012 (10:39 AM) Prof. Ali M. Niknejad

ECE 471/571 The CMOS Inverter Lecture-6. Gurjeet Singh

ENEE307 Lab 7 MOS Transistors 2: Small Signal Amplifiers and Digital Circuits

Power dissipation in CMOS

Lecture 7: Components of Phase Locked Loop (PLL)

Chapter 2 Combinational Circuits

CHAPTER 5 DESIGN AND ANALYSIS OF COMPLEMENTARY PASS- TRANSISTOR WITH ASYNCHRONOUS ADIABATIC LOGIC CIRCUITS

EXPERIMENT 4 CMOS Inverter and Logic Gates

EE 330 Lecture 44. Digital Circuits. Other Logic Styles Dynamic Logic Circuits

CHAPTER 6 DIGITAL CIRCUIT DESIGN USING SINGLE ELECTRON TRANSISTOR LOGIC

CMOS VLSI Design (A3425)

CHAPTER 3 PERFORMANCE OF A TWO INPUT NAND GATE USING SUBTHRESHOLD LEAKAGE CONTROL TECHNIQUES

Dynamic Logic. Domino logic P-E logic NORA logic 2-phase logic Multiple O/P domino logic Cascode logic 11/28/2012 1

A Low Power Array Multiplier Design using Modified Gate Diffusion Input (GDI)

Digital circuits. Bởi: Sy Hien Dinh

電子電路. Memory and Advanced Digital Circuits

Introduction to Electronic Devices

Digital Microelectronic Circuits ( ) CMOS Digital Logic. Lecture 6: Presented by: Adam Teman

EE 330 Lecture 43. Digital Circuits. Other Logic Styles Dynamic Logic Circuits

CHAPTER 3 NEW SLEEPY- PASS GATE

VLSI Designed Low Power Based DPDT Switch

ELEC 350L Electronics I Laboratory Fall 2012

INTRODUCTION TO MOS TECHNOLOGY

EEC 118 Lecture #11: CMOS Design Guidelines Alternative Static Logic Families

Novel Buffer Design for Low Power and Less Delay in 45nm and 90nm Technology

Combinational Logic Gates in CMOS

Electronic Circuits EE359A

Digital Microelectronic Circuits ( ) Terminology and Design Metrics. Lecture 2: Presented by: Adam Teman

Cascadable adiabatic logic circuits for low-power applications N.S.S. Reddy 1 M. Satyam 2 K.L. Kishore 3

5. CMOS Gates: DC and Transient Behavior

EE584 (Fall 2006) Introduction to VLSI CAD Project. Design of Ring Oscillator using NOR gates

Robust Ultra-Low Power Sub-threshold DTMOS Logic Λ

A new 6-T multiplexer based full-adder for low power and leakage current optimization

CMOS Transistor and Circuits. Jan 2015 CMOS Transistor 1

Chapter 2 : Semiconductor Materials & Devices (II) Feb

Power-Area trade-off for Different CMOS Design Technologies

Chapter 6 DIFFERENT TYPES OF LOGIC GATES

FTL Based Carry Look ahead Adder Design Using Floating Gates

CPE/EE 427, CPE 527 VLSI Design I CMOS Inverter. CMOS Inverter: A First Look

Ultra Low Power VLSI Design: A Review

ENG2410 Digital Design CMOS Technology. Fall 2017 S. Areibi School of Engineering University of Guelph

Difference between BJTs and FETs. Junction Field Effect Transistors (JFET)

Optimization of Digitally Controlled Oscillator with Low Power

VLSI Design I; A. Milenkovic 1

! Review: Sequential MOS Logic. " SR Latch. " D-Latch. ! Timing Hazards. ! Dynamic Logic. " Domino Logic. ! Charge Sharing Setup.

COMPREHENSIVE ANALYSIS OF ENHANCED CARRY-LOOK AHEAD ADDER USING DIFFERENT LOGIC STYLES

Reading. Lecture 17: MOS transistors digital. Context. Digital techniques:

ECE/CoE 0132: FETs and Gates

Digital Integrated Circuits - Logic Families (Part II)

Contents. Preface. Abstract. 1 Introduction Overview... 1

ECE 484 VLSI Digital Circuits Fall Lecture 02: Design Metrics

CMOS Digital Integrated Circuits Analysis and Design

EEC 118 Lecture #12: Dynamic Logic

Switching (AC) Characteristics of MOS Inverters. Prof. MacDonald

Design of High Performance Arithmetic and Logic Circuits in DSM Technology

Digital Integrated Circuits Designing Combinational Logic Circuits. Fuyuzhuo

Session 10: Solid State Physics MOSFET

Chapter 3 DESIGN OF ADIABATIC CIRCUIT. 3.1 Introduction

International Journal of Advanced Research in Computer Science and Software Engineering

Shorthand Notation for NMOS and PMOS Transistors

A gate sizing and transistor fingering strategy for

Design Analysis of 1-bit Comparator using 45nm Technology

! Is it feasible? ! How do we decompose the problem? ! Vdd. ! Topology. " Gate choice, logical optimization. " Fanin, fanout, Serial vs.

Fundamentals of Microelectronics

ECE520 VLSI Design. Lecture 5: Basic CMOS Inverter. Payman Zarkesh-Ha

Ultra-low voltage high-speed Schmitt trigger circuit in SOI MOSFET technology

Leakage Current Analysis

Transistor Digital Circuits

HIGH LOW Astable multivibrators HIGH LOW 1:1

Digital Integrated Circuits Designing Combinational Logic Circuits. Fuyuzhuo

Designing Information Devices and Systems II Fall 2017 Note 1

Digital Integrated Circuits Designing Combinational Logic Circuits. Fuyuzhuo

VLSI Design. Static CMOS Logic

Digital Electronics Part II - Circuits

EE434 ASIC & Digital Systems

Lab 7 (Hands-On Experiment): CMOS Inverter, NAND Gate, and NOR Gate

I. Digital Integrated Circuits - Logic Concepts

Field-Effect Transistor (FET) is one of the two major transistors; FET derives its name from its working mechanism;

Chapter 3 Digital Logic Structures

Static NP Domino Carry gates for Ultra Low Voltage and High Speed Full Adders

Low Power Parallel Prefix Adder Design Using Two Phase Adiabatic Logic

IJMIE Volume 2, Issue 3 ISSN:

Improved Two Phase Clocked Adiabatic Static CMOS Logic Circuit

LOW POWER VLSI TECHNIQUES FOR PORTABLE DEVICES Sandeep Singh 1, Neeraj Gupta 2, Rashmi Gupta 2

Dynamic Threshold for Advanced CMOS Logic

Transcription:

Electronics Basic CMOS digital circuits Prof. Márta Rencz, Gábor Takács, Dr. György Bognár, Dr. Péter G. Szabó BME DED October 21, 2014 1 / 30

Introduction The topics covered today: The inverter: the simplest logic circuit. The other gates are based on the inverter. Simple gates. Complex gates. 2 / 30

Transfer characteristic curve The output is the negated value of the input. The transfer characteristic curve shows the output voltage as a function of the input voltage: V out = f(v in ) The proximity of the supply voltage (V CC ) is logic 1 or HIGH, and the proximity of the ground potential is logic 0 or LOW. The characteristic curve of the ideal (blue) and a real (red) inverter. 3 / 30

Noise tolerance The same output value is given for large input ranges. This means that even if the input is noisy and its value diverges from the logic levels, the output is left unaffected for relatively large amplitudes. Thus, instead of exact input potentials, there are wide input ranges which are converted securely into the right logic levels. The characteristic curve of the ideal (blue) and a real (red) inverter. 4 / 30

Signal regeneration I. The noise tolerance of inverter makes it possible to regenerate signals, i.e. to reduce the noise of a signal. V 1 V 2 V 3 The V 1 is noisy, its value is close to V CC /2. V 2 is a much better logic signal and V 3 is almost perfect. Usually 3-4 inverters are enough to regenerate signals. 5 / 30

Signal regeneration II. V 1 V 2 V 3 The regeneration process can be seen in a simulation result below. Both the waveform and the levels of V 3 are correct. 6 / 30

Threshold voltage Threshold voltage is the input value above which the output is a logic 0, while below it we get a logic 1. At V in = V th : V out = V in, i.e. it s the cross-section of the transfer characteristic curve and the y = x line. In real gates the threshold level might vary. The output for input of V th is indefinite. 7 / 30

Logic level ranges The ranges where, for a given noise level, the operation of the inverter is secure. If the maximum amplitude of noise appearing at every inverter s input is V NM then the conditions f (V LM + V NM ) V Hm f (V Hm V NM ) V LM need to be satisfied for correct signal regeneration. V LM : maximum level of logic 0 V Hm : minimum level of logic 1 8 / 30

Propagation delay Propagation delay (t pd ): the time it takes for the inverter to cover the distance between V LM and V Hm. The length of the positive and negative edge can be different. 9 / 30

Pair delay I. When a signal is propagated through a serial connection of inverters, the propagation delay of the path is mainly dependent on the inner properties of the inverters. The logic value is the same after every inverter pair, and the delay is t pdp. n n + 2 10 / 30

Pair delay II. The pair delay can be measured with a ring oscillator: an odd number (N) of inverters connected in series with the output connected to the input. This circuit has no stable states, it oscillates the frequency of the oscillation is a function of the propagation delay: T = N t pdp EN 11 / 30

Introduction Complementary MOS they consist of two MOS FETs: an n-type and a p-type hence the name. Every logic circuit is CMOS nowadays. Advantages: rail-to-rail levels: the logic levels are exactly equal to the supply levels (V H = V DD, V L = 0 V), static (steady state) current consumption is very low (almost zero), the propagation delay of positive and negative edges are equal, very fast operation, very low sensitivity to supply voltage ripple. 12 / 30

The schematic view of the inverter V DD V DD V DD p V in V out V in : HIGH V out V in : LOW V out n A CMOS inverter: an n-mos and a p-mos. At any time only one of them is open. 13 / 30

The cross-section of the inverter A well needs to be fabricated for one of the transistors (here: p-type). The substrate of all n-types is shorted to the most negative potential. All the wells are connected to V DD. There is a closed pn-junction between every well and the substrate. 14 / 30

The transfer characteristic curve of the inverter I. Two scenarios are possible depending on the threshold voltage and the supply voltage: Small supply voltage V DD < V T n + V T p only one transistor is open at any time Larger supply voltage V DD > V T n + V T p during transition both transistors are open 15 / 30

The transfer characteristic curve of the inverter II. When the supply voltage is a large value: V DD > V T n + V T p both transistors are open during the transition between logic levels: 16 / 30

The sizing of an inverter I. At the threshold voltage: V in = V out = V th : V GSn = V th V GSp = V DD V th This happens when the currents of the transistors are equal: where K n 2 W n (V th V tn ) 2 = K p W p (V DD V th V tp ) 2 L n 2 L p V th = V DD V tp + V tn D 1 + D D = K n Wn L n K p Wp L p is the ratio of current factors of the MOS FET s. 17 / 30

The sizing of an inverter II. The threshold voltage is a function of the current ratios. Usually the threshold voltage of the inverters is set to V CC /2. If V T n = V T p then D needs to be 1 in order to have V th = V CC /2. Due to the difference in the mobility of electrons and holes: ( ) ( ) W W = 1.5..2.5 L L p n 18 / 30

Capacitive loads at the output of the inverter The parasitic capacitances in a CMOS logic circuit: 1 the substrate capacitances of the transistors (C DB1, C DB2 ) 2 the input capacitance of the next stage (C G3, C G4 ), 3 the capacitance of the wire in between the stages (C W ). The first two can be calculated using the sizes of the MOS transistors, but the third depends on the actual position of the elements. The design is iterative: the transistors might need to be resized after placing, which may lead to replacement. 19 / 30

Switching times in inverters I. V DD p V in I D V out C L n If the transistor sizing is correct, the duration of the positive and negative edges will be equal. E.g. a 1 0 transition: t l = V LM V DD C L I C dv 20 / 30

Switching times in inverters II. If then I c K 2 W L (V DD V T ) 2 t l = C L (V DD V LM ) K W 2 L (V DD V T ) 2 Thus t l can be reduced by increasing V DD or the W/L ratio. 21 / 30

The current consumption of CMOS circuits Dynamic consumption at every switching event: 1 the current that flows during transition, 2 charge pumping. It is proportional to the clock frequency and the activity of the circuit. Parasitic phenomena: 1 sub-threshold currents, 2 leakage currents of the pn-junctions, 3 tunnel current through the gates. 22 / 30

The dynamic current consumption of a CMOS inverter The dynamic current consumption is the sum of two factors: 1 Transition current: both transistors are open during the transition between logic states when V tn < V in < V DD V tp 2 Charge pumping: during a positive edge the load capacitance is charged to logic 1 by the p-mos, during a negative edge the load capacitor is discharged through the n-mos. This means that the charge that is fed into the capacitor and then taken out of it, flows from the supply to the ground in two steps. This is an unwanted current that adds to the consumption of the inverter. 23 / 30

The transition current I. Both transistors are open during the transition between logic states when V tn < V in < V DD V tp : W L ( VDD 2 V T ) 2, the charge that flows through the I MAX = K 2 transistors: Q = b t UD I MAX, where t UD is the width of the current spike and b is a constant that is determined by the input signal s waveform (b 0.1 0.2). 24 / 30

The transition current II. The power consumption: P t = f Q V DD = f V DD b t UD K 2 W L ( VDD 2 V T ) 2 which means that P t f V 3 DD 25 / 30

Charge pumping During transitions charge is pumped into and out of the load capacitance, i.e. charge is pumped from the supply to the ground: Q L = C L V DD P cp = f C L VDD 2 as I = dq/dt and f = 1/T. The overall power consumption: P = P t + P cp so it is proportional to f and to VDD 3, V DD 2. 26 / 30

Introduction Every CMOS logic gates comprises a pull-up network (PUN) consisting of p-mos transistors and a pull-down network (PDN) consisting of n-mos transistors. The number of transistors in the PUN and PDN is equal to the number of inputs. For the input combinations that yield a logic 0 output, the PDN shorts the output node to the ground while the PUN is an open circuit. For logic 1 outputs the PUN connects the output to V DD and the PDN is an open circuit. The PUN and the PDN are dual networks. This means that when two transistors are connected in series in one of the networks, their counterparts will be connected in parallel in the other one and vica versa. 27 / 30

CMOS NOR gate V DD p Q = A + B = A B A B n p n Q The PDN is two n-mos connected in parallel, the PUN is two p-mos connected in series. When any of the inputs is logic 1, at least one of the n-mos transistors is open, and at least one of the p-mos transistors is closed: the output is connected to the ground. If both inputs are low, both n-mos transistors are closed and both p-mos transistors are open, so the output is high. 28 / 30

CMOS NAND gate A B V DD p n n V DD p Q Q = A B = A + B When both inputs are high, both n-mos transistors are open so they connect the output to the ground, while both p-mos transistors are closed. When any of the inputs is low, one of the n-mos transistors are closed, so there is an open circuit between the output and the ground, but at least one of the p-mos transistors is open so the output is connected to V DD. If a CMOS gate has n inputs, it consists of 2 n transistors. 29 / 30

The transfer gate IN C = 0 Open circuit C = 1 OUT = IN n C p C OUT A transfer gate is an electronically controlled switch in a signal path. It consists an n-mos and a p-mos transistor. The control signal of the n-mos is fed to the p-mos through an inverter. At least one of the transistors is always open throughout the entire input voltage range. Logic gates can be simplified using transfer gates. 30 / 30