CMOS logic gates. João Canas Ferreira. March University of Porto Faculty of Engineering

Similar documents
Digital Integrated Circuits A Design Perspective

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

Digital Integrated Circuits A Design Perspective

Digital Integrated Circuits A Design Perspective

EE115C Digital Electronic Circuits Homework #6

Properties of CMOS Gates Snapshot

Logic Gate Sizing. The method of logical effort. João Canas Ferreira. March University of Porto Faculty of Engineering

EEC 116 Lecture #5: CMOS Logic. Rajeevan Amirtharajah Bevan Baas University of California, Davis Jeff Parkhurst Intel Corporation

5.0 CMOS Inverter. W.Kucewicz VLSICirciuit Design 1

COMBINATIONAL LOGIC. Combinational Logic

CMOS Inverter (static view)

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

Digital EE141 Integrated Circuits 2nd Combinational Circuits

EEE 421 VLSI Circuits

Integrated Circuits & Systems

EEC 118 Lecture #6: CMOS Logic. Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation

ENEE 359a Digital VLSI Design

Miscellaneous Lecture topics. Mary Jane Irwin [Adapted from Rabaey s Digital Integrated Circuits, 2002, J. Rabaey et al.]

CPE/EE 427, CPE 527 VLSI Design I Delay Estimation. Department of Electrical and Computer Engineering University of Alabama in Huntsville

ENGR890 Digital VLSI Design Fall Lecture 4: CMOS Inverter (static view)

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

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

Topic 4. The CMOS Inverter

THE INVERTER. Inverter

ECE 438: Digital Integrated Circuits Assignment #4 Solution The Inverter

CPE/EE 427, CPE 527 VLSI Design I L07: CMOS Logic Gates, Pass Transistor Logic. Review: CMOS Circuit Styles

Based on slides/material by. Topic 3-4. Combinational Logic. Outline. The CMOS Inverter: A First Glance

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

CPE/EE 427, CPE 527 VLSI Design I Pass Transistor Logic. Review: CMOS Circuit Styles

CMOS Digital Integrated Circuits Lec 10 Combinational CMOS Logic Circuits

Lecture 5: DC & Transient Response

Lecture Outline. ESE 570: Digital Integrated Circuits and VLSI Fundamentals. Review: 1st Order RC Delay Models. Review: Two-Input NOR Gate (NOR2)

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

Digital Integrated Circuits

CPE/EE 427, CPE 527 VLSI Design I L06: CMOS Inverter, CMOS Logic Gates. Course Administration. CMOS Inverter: A First Look

Power Dissipation. Where Does Power Go in CMOS?

Lecture 5: DC & Transient Response

ENEE 359a Digital VLSI Design

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

The CMOS Inverter: A First Glance

Integrated Circuits & Systems

CMOS Inverter: CPE/EE 427, CPE 527 VLSI Design I L06: CMOS Inverter, CMOS Logic Gates. Course Administration. CMOS Properties.

Lecture 6: DC & Transient Response

Digital Integrated Circuits A Design Perspective

EE141Microelettronica. CMOS Logic

MOSFET and CMOS Gate. Copy Right by Wentai Liu

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

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

Homework #2 10/6/2016. C int = C g, where 1 t p = t p0 (1 + C ext / C g ) = t p0 (1 + f/ ) f = C ext /C g is the effective fanout

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Lecture 4: DC & Transient Response

DC and Transient. Courtesy of Dr. Daehyun Dr. Dr. Shmuel and Dr.

VLSI Design I; A. Milenkovic 1

EE5780 Advanced VLSI CAD

VLSI Design I; A. Milenkovic 1

Today s lecture. EE141- Spring 2003 Lecture 4. Design Rules CMOS Inverter MOS Transistor Model

EECS 141: FALL 05 MIDTERM 1

CHAPTER 15 CMOS DIGITAL LOGIC CIRCUITS

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

Static CMOS Circuits. Example 1

ECE321 Electronics I

5. CMOS Gate Characteristics CS755

COMP 103. Lecture 16. Dynamic Logic

Fig. 1 CMOS Transistor Circuits (a) Inverter Out = NOT In, (b) NOR-gate C = NOT (A or B)

2007 Fall: Electronic Circuits 2 CHAPTER 10. Deog-Kyoon Jeong School of Electrical Engineering

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

EE141. Administrative Stuff

Dynamic operation 20

The CMOS Inverter: A First Glance

ECE 342 Solid State Devices & Circuits 4. CMOS

Chapter 5. The Inverter. V1. April 10, 03 V1.1 April 25, 03 V2.1 Nov Inverter

ECE 546 Lecture 10 MOS Transistors

Interconnect (2) Buffering Techniques.Transmission Lines. Lecture Fall 2003

Interconnect (2) Buffering Techniques. Logical Effort

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

VLSI Design I; A. Milenkovic 1

ECE 342 Electronic Circuits. Lecture 35 CMOS Delay Model

Integrated Circuits & Systems

COMP 103. Lecture 10. Inverter Dynamics: The Quest for Performance. Section 5.4.2, What is this lecture+ about? PERFORMANCE

Digital Integrated Circuits A Design Perspective

VLSI Circuit Design (EEC0056) Exam

Very Large Scale Integration (VLSI)

DC and Transient Responses (i.e. delay) (some comments on power too!)

ECE 342 Electronic Circuits. Lecture 34 CMOS Logic

CMOS INVERTER. Last Lecture. Metrics for qualifying digital circuits. »Cost» Reliability» Speed (delay)»performance

Name: Answers. Grade: Q1 Q2 Q3 Q4 Q5 Total. ESE370 Fall 2015

MOS Transistor Theory

Lecture 4: CMOS review & Dynamic Logic

CMOS Technology for Computer Architects

Name: Grade: Q1 Q2 Q3 Q4 Q5 Total. ESE370 Fall 2015

Integrated Circuits & Systems

EE115C Digital Electronic Circuits Homework #5

EE141-Fall 2011 Digital Integrated Circuits

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

Digital Integrated Circuits 2nd Inverter

Lecture 4: Implementing Logic in CMOS

UNIVERSITY OF CALIFORNIA College of Engineering Department of Electrical Engineering and Computer Sciences. Professor Oldham Fall 1999

CMOS Digital Integrated Circuits Lec 13 Semiconductor Memories

EE115C Digital Electronic Circuits Homework #4

The Inverter. Digital Integrated Circuits A Design Perspective. Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic

Transcription:

CMOS logic gates João Canas Ferreira University of Porto Faculty of Engineering March 2016

Topics 1 General structure 2 General properties 3 Cell layout João Canas Ferreira (FEUP) CMOS logic gates March 2016 2 / 37

Static dual CMOS gates In1 In2 InN pull-up network PMOS F(In1, In2,..., InN) In1 In2 InN pull-down network NMOS Pull- and pull-down networks are dual of each other: series of switches parallel switches João Canas Ferreira (FEUP) CMOS logic gates March 2016 3 / 37

NND logic gate B B Out= B B Out 0 0 1 0 1 1 1 0 1 1 1 0 João Canas Ferreira (FEUP) CMOS logic gates March 2016 4 / 37

NND logic gate B B Out= B B Out 0 0 1 0 1 1 1 0 1 1 1 0 Pull-down network: G = B Pull-up network : F = + B = B direct path to Gnd direct path to V DD Generally (self-duality): G(In 1, In 2,...) = F(In 1, In 2,...) Out = G(In 1, In 2,...) João Canas Ferreira (FEUP) CMOS logic gates March 2016 4 / 37

NOR logic gate B B Out = +B C Out = +B+C B B C B Out 0 0 0 0 1 0 1 0 0 1 1 1 João Canas Ferreira (FEUP) CMOS logic gates March 2016 5 / 37

Complex CMOS logic gate B C D Out = D+(B+C) D B C João Canas Ferreira (FEUP) CMOS logic gates March 2016 6 / 37

Building a complex CMOS logic gate Design the pull-down network Find hierarchically all sub-networks Switch parallel series by hierarchical order João Canas Ferreira (FEUP) CMOS logic gates March 2016 7 / 37

Building a complex CMOS logic gate Design the pull-down network Find hierarchically all sub-networks Switch parallel series by hierarchical order D B C João Canas Ferreira (FEUP) CMOS logic gates March 2016 7 / 37

Building a complex CMOS logic gate Design the pull-down network Find hierarchically all sub-networks Switch parallel series by hierarchical order 1 3 2 D D B C B C 4 João Canas Ferreira (FEUP) CMOS logic gates March 2016 7 / 37

Building a complex CMOS logic gate Design the pull-down network Find hierarchically all sub-networks Switch parallel series by hierarchical order 2 D D 1 3 2 3 B 4 C B C B C 4 D 1 João Canas Ferreira (FEUP) CMOS logic gates March 2016 7 / 37

Criteria for complex CMOS static gates Dual circuit is not necessarily obtained by series parallel. There may be several dual circuits. How to identify a good dual circuit? João Canas Ferreira (FEUP) CMOS logic gates March 2016 8 / 37

Criteria for complex CMOS static gates Dual circuit is not necessarily obtained by series parallel. There may be several dual circuits. How to identify a good dual circuit? Methods Use Karnaugh maps to identify dual circuit with good layout properties and reduced parasitics. Maximize the number of connections to V DD or Gnd Put delay critical transistors near the output node João Canas Ferreira (FEUP) CMOS logic gates March 2016 8 / 37

Example: carry generation (1) Carry output of a full adder: F(a, b, c) = ab + bc + ac Implement function G(a, b, c) = F 0-cover defines the pull-down circuit 1-cover defines the pull-up circuit B 0 0 0 1 1 1 1 0 C 0 1 1 1 1 0 0 0 1 0 0-cover: ab + bc + ac 1-cover: a b + b c + a c João Canas Ferreira (FEUP) CMOS logic gates March 2016 9 / 37

Examplo: carry generation (2) Pull-down circuit Maximize number of connections to V DD Critical signal (C) near output Factorize: ab + c(a + b) C B B João Canas Ferreira (FEUP) CMOS logic gates March 2016 10 / 37

Examplo: carry generation (3) Series/parallel dual pull-up circuit B C B João Canas Ferreira (FEUP) CMOS logic gates March 2016 11 / 37

Examplo: carry generation (3) Series/parallel dual pull-up circuit Pull-up circuit derived from 1-cover B B C B B C João Canas Ferreira (FEUP) CMOS logic gates March 2016 11 / 37

Topics 1 General structure 2 General properties 3 Cell layout João Canas Ferreira (FEUP) CMOS logic gates March 2016 12 / 37

Properties of dual static complex CMOS gates Rail-to-rail excursion: large noise margin João Canas Ferreira (FEUP) CMOS logic gates March 2016 13 / 37

Properties of dual static complex CMOS gates Rail-to-rail excursion: large noise margin Logic levels do not depend on the size of the devices (ratioless logic) João Canas Ferreira (FEUP) CMOS logic gates March 2016 13 / 37

Properties of dual static complex CMOS gates Rail-to-rail excursion: large noise margin Logic levels do not depend on the size of the devices (ratioless logic) Steady-state path from output to Vdd/Gnd: low output resistance João Canas Ferreira (FEUP) CMOS logic gates March 2016 13 / 37

Properties of dual static complex CMOS gates Rail-to-rail excursion: large noise margin Logic levels do not depend on the size of the devices (ratioless logic) Steady-state path from output to Vdd/Gnd: low output resistance Very high input resistance (input DC current 0) João Canas Ferreira (FEUP) CMOS logic gates March 2016 13 / 37

Properties of dual static complex CMOS gates Rail-to-rail excursion: large noise margin Logic levels do not depend on the size of the devices (ratioless logic) Steady-state path from output to Vdd/Gnd: low output resistance Very high input resistance (input DC current 0) No direct path between Vdd and Gnd: no static power dissipation João Canas Ferreira (FEUP) CMOS logic gates March 2016 13 / 37

Properties of dual static complex CMOS gates Rail-to-rail excursion: large noise margin Logic levels do not depend on the size of the devices (ratioless logic) Steady-state path from output to Vdd/Gnd: low output resistance Very high input resistance (input DC current 0) No direct path between Vdd and Gnd: no static power dissipation Delay depends (mainly) on the load capacitance and the equivalent resistance (R on ) of the transistors. João Canas Ferreira (FEUP) CMOS logic gates March 2016 13 / 37

Models for calculating propagation delay Subsritute transistors by switch and R eq Include intrinsic capacitance of internal nodes João Canas Ferreira (FEUP) CMOS logic gates March 2016 14 / 37

Delay is dependent on input patterns João Canas Ferreira (FEUP) CMOS logic gates March 2016 15 / 37

Delay is dependent on input patterns Delay depends on pull-up/pull-down path João Canas Ferreira (FEUP) CMOS logic gates March 2016 15 / 37

Delay is dependent on input patterns Delay depends on pull-up/pull-down path 0 to 1 output transition: João Canas Ferreira (FEUP) CMOS logic gates March 2016 15 / 37

Delay is dependent on input patterns Delay depends on pull-up/pull-down path 0 to 1 output transition: both inputs are zero: 0.69 (R p /2)C L João Canas Ferreira (FEUP) CMOS logic gates March 2016 15 / 37

Delay is dependent on input patterns Delay depends on pull-up/pull-down path 0 to 1 output transition: both inputs are zero: 0.69 (R p /2)C L one input is zero: 0.69 R p C L João Canas Ferreira (FEUP) CMOS logic gates March 2016 15 / 37

Delay is dependent on input patterns Delay depends on pull-up/pull-down path 0 to 1 output transition: both inputs are zero: 0.69 (R p /2)C L one input is zero: 0.69 R p C L 1 to 0 output transition: João Canas Ferreira (FEUP) CMOS logic gates March 2016 15 / 37

Delay is dependent on input patterns Delay depends on pull-up/pull-down path 0 to 1 output transition: both inputs are zero: 0.69 (R p /2)C L one input is zero: 0.69 R p C L 1 to 0 output transition: both inputs are 1 : 0.69 2 R n C L João Canas Ferreira (FEUP) CMOS logic gates March 2016 15 / 37

Delay is dependent on input patterns Delay depends on pull-up/pull-down path 0 to 1 output transition: both inputs are zero: 0.69 (R p /2)C L one input is zero: 0.69 R p C L 1 to 0 output transition: both inputs are 1 : 0.69 2 R n C L includingintr (Elmore delay approximation): 0.69 (R n C intr + 2 R n C L ) João Canas Ferreira (FEUP) CMOS logic gates March 2016 15 / 37

NND2: input dependent delay NMOS: 0.5 µm/0.25 µm PMOS: 0.75 µm/0.25 µm C L =100 ff Voltage (V) Source: [Rabaey03] time (ps) Input pattern Delay (ps) =B=0 1 69 =1, B=0 1 62 =0 1, B=1 50 =B=1 0 35 =1, B=1 0 76 =1 0, B=1 57 João Canas Ferreira (FEUP) CMOS logic gates March 2016 16 / 37

Transistor sizing (1) Symmetric (balanced) gates (assuming β = 2) Size in multiples of (W min /L min ) (multiplying W) João Canas Ferreira (FEUP) CMOS logic gates March 2016 17 / 37

Transistor sizing (2) Starting with the left branch Starting with the right branch series of transistors has the equivalent size: For constant L: (W/L) eq = For parallel devices: For constant L: 1 1 1 (W/L) 1 + (W/L) 2 +... 1 W eq = 1 W 1 + W 1 2 +... (W/L) eq = (W/L) 1 + (W/L) 2 +... W eq = W 1 + W 2 +... João Canas Ferreira (FEUP) CMOS logic gates March 2016 18 / 37

Influence of the number of inputs João Canas Ferreira (FEUP) CMOS logic gates March 2016 19 / 37

Influence of the number of inputs Elmore estimate of the propagation delay:: t phl = 0.69((R 1 C 1 + (R 1 + R 2 ) C 2 + (R 1 + R 2 + R 3 ) C 3 + (R 1 + R 2 + R 3 + R 4 ) C L ) Equal NMOS transistors: t phl = 0.69 R eqn (C 1 + 2 C 2 + 3 C 3 + 4 C L ) Propagation delay degrades significantly with increasing number of inputs (fan-in); in the worst case, quadratically (1 + 2 +... + N = N(N 1)/2). João Canas Ferreira (FEUP) CMOS logic gates March 2016 19 / 37

Propagation delay as a function of the number of inputs Source: [Rabaey03] Practical rule: void logic gates with more than four inputs. João Canas Ferreira (FEUP) CMOS logic gates March 2016 20 / 37

Propagation delay as a function of effective fan-out Effective fan-out: F = C load C input Source: [Rabaey03] João Canas Ferreira (FEUP) CMOS logic gates March 2016 21 / 37

Reducing propagation delay (1) Make transistors wider Useful while external load capacitance is dominant. João Canas Ferreira (FEUP) CMOS logic gates March 2016 22 / 37

Reducing propagation delay (1) Make transistors wider Useful while external load capacitance is dominant. Progressive sizing M 1 > M 2 > M 3 >... > M N (FET closer to the output is the smallest) May reduce delay by more than 20 % João Canas Ferreira (FEUP) CMOS logic gates March 2016 22 / 37

Reducing propagation delay (2) Consider arrival order of signal I 3 1 M 3 C L charged 0 1 I 3 M 3 C L charged I 2 1 M 2 C 2 charged I 2 1 M 2 C 2 uncharged 0 1 I 1 M1 C 1 charged I 1 1 M1 C 1 uncharged delay determined by discharge of C L, C 1 e C 2 delay determined by discharge of C L João Canas Ferreira (FEUP) CMOS logic gates March 2016 23 / 37

Reducing propagation delay (3) Chose structure that allow a smaller fan-in Example: F = BCDEFG Question: how to select the fastest structure? João Canas Ferreira (FEUP) CMOS logic gates March 2016 24 / 37

Reducing propagation delay (4) Buffer insertion Question: what is the ideal number of buffers and their sizes? João Canas Ferreira (FEUP) CMOS logic gates March 2016 25 / 37

Topics 1 General structure 2 General properties 3 Cell layout João Canas Ferreira (FEUP) CMOS logic gates March 2016 26 / 37

Standard cell ( 1980 s) Source: [Rabaey03] Contacts and well not shown João Canas Ferreira (FEUP) CMOS logic gates March 2016 27 / 37

Standard cell (1990 s) Mirrored cell No channel Mirrored cell Source: [Rabaey03] João Canas Ferreira (FEUP) CMOS logic gates March 2016 28 / 37

Structure of a cell (inverter) Height: 12 metal tracks Metal track approx. 3λ + 3λ Pitch: distance between repeated objects Cell height: "12 pitch" cell border Supply ~ 10 λ Source: [Rabaey03] João Canas Ferreira (FEUP) CMOS logic gates March 2016 29 / 37

Variants of inverter cell Minimum routing in diffusion Silicidade diffusion Source: [Rabaey03] João Canas Ferreira (FEUP) CMOS logic gates March 2016 30 / 37

Two-input NND gate Source: [Rabaey03] João Canas Ferreira (FEUP) CMOS logic gates March 2016 31 / 37

Layout planning (stick diagrams) Source: [Rabaey03] No sizes Relative positions João Canas Ferreira (FEUP) CMOS logic gates March 2016 32 / 37

Layout planning of complex cells X B Y C X C C Vdd C Z X = C (+B) B B B Z Y Gnd 1 Draw two graphs (one for each network) where the nodes represent circuit nodes and edges represent devices. 2 Find a consistent Euler paths through each graph. Euler path: path through all the edges (just once) Layout with continuous diffusion! The two paths must be consistent : same sequence of nodes on both paths (just one poly line for both nmos and pmos devices). João Canas Ferreira (FEUP) CMOS logic gates March 2016 33 / 37

Example: Two implementation alternatives Source: [Rabaey03] Cell on the right: no diffusion breaks João Canas Ferreira (FEUP) CMOS logic gates March 2016 34 / 37

nother example: Logic gate OI22 X C D C B D X D C Vdd C X = (+B)(C+D) D B B B Gnd João Canas Ferreira (FEUP) CMOS logic gates March 2016 35 / 37

Wide transistors One nger Two ngers Less diffusion capacitance Source: [Rabaey03] João Canas Ferreira (FEUP) CMOS logic gates March 2016 36 / 37

References Some of the figures come from the book: Rabaey03 J. M. Rabaey et al, Digital Integrated Circuits, 2nd edition,prentice Hall, 2003. http://bwrc.eecs.berkeley.edu/icbook/ João Canas Ferreira (FEUP) CMOS logic gates March 2016 37 / 37