W. G. Oldham EECS 40 Fall 2001 Lecture 2 Copyright Regents of University of California The CMOS Inverter: Current Flow during Switching V IN V OUT V DD.

Slides:



Advertisements
Similar presentations
L14: Boolean Logic and Basic Gates
Advertisements

Lecture 20, Slide 1EECS40, Fall 2004Prof. White Lecture #20 ANNOUNCEMENT Midterm 2 Thursday Nov. 18, 12:40 – 2:00 pm A-L initials in F295 Haas Business.
EE42/100, Spring 2006Week 14a, Prof. White1 Week 14a Propagation delay of logic gates CMOS (complementary MOS) logic gates Pull-down and pull-up The basic.
Relationship Between Basic Operation of Boolean and Basic Logic Gate The basic construction of a logical circuit is gates Gate is an electronic circuit.
Week 11b, Slide 1EECS42, Fall 2005Prof. White Week 11b OUTLINE – Synthesis of logic circuits – Minimization of logic circuits Reading: Hambley Ch. 7 through.
Spring 2007EE130 Lecture 35, Slide 1 Lecture #35 OUTLINE The MOS Capacitor: Final comments The MOSFET: Structure and operation Reading: Chapter 17.1.
Week 9b, Slide 1EECS42, Spring 2005Prof. White Week 9b OUTLINE Digital logic functions NMOS logic gates The CMOS inverter Reading Rabaey et al.: Section.
EE40 Lec 20 MOS Circuits Reading: Chap. 12 of Hambley
How to build a digital gate. CMOS NAND Gate Several realization of NOT 1. This is how a NOT operation is often represented schematically. 2. Sometimes.
Lecture 14 Today we will Learn how to implement mathematical logical functions using logic gate circuitry, using Sum-of-products formulation NAND-NAND.
EECS 40 Spring 2003 Lecture 11S. Ross and W. G. OldhamCopyright Regents of the University of California TO REVIEW AMPLIFIERS… Prove formulas for various.
Sheila Ross and W. G. OldhamEECS 40 Fall 2002 Lecture 2 Copyright Regents of University of California Logic Gates: NOT a Prerequisite! Today: Gates, gates.
EECS 40 Spring 2003 Lecture 12S. Ross and W. G. OldhamCopyright Regents of the University of California More Digital Logic Gate delay and signal propagation.
Lecture 19, Slide 1EECS40, Fall 2004Prof. White Lecture #19 ANNOUNCEMENTS Midterm 2 Thursday Nov. 18, 12:40-2:00 pm A-L initials in F295 Haas Business.
4/11/03 Minute Paper How does MS window work? Like how do we have the screen on the computer. Is it just a bunch of Binary #’s representing colors? When.
10/25/2004EE 42 fall 2004 lecture 231 Lecture #23 Synthesis Next week: Converting gates into circuits.
EE42/100 Fall 2005 Prof. Fearing 1 Week 12/ Lecture 21 Nov. 15, Overview of Digital Systems 2.CMOS Inverter 3.CMOS Gates 4.Digital Logic 5.Combinational.
Slide 1EE100 Summer 2008Bharathwaj Muthuswamy EE100Su08 Lecture #16 (August 1 st 2008) OUTLINE –Project next week: Pick up kits in your first lab section,
Chapter 5 Boolean Algebra and Reduction Techniques William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education,
Boolean Algebra and Logic Simplification. Boolean Addition & Multiplication Boolean Addition performed by OR gate Sum Term describes Boolean Addition.
Lecture 19 OUTLINE The MOSFET: Structure and operation
1 Fundamentals of Computer Science Propositional Logic (Boolean Algebra)
Logic gates & Boolean Algebra. Introduction Certain components (called logic elements) of the computer combine electric pulses using a set of rules. Electric.
We know binary We know how to add and subtract in binary –Same as in decimal Next up: learn how apply this knowledge Boolean and Binary Inputs.
BOOLEAN ALGEBRA Saras M. Srivastava PGT (Computer Science)
Logic Design A Review. Binary numbers Binary numbers to decimal  Binary 2 decimal  Decimal 2 binary.
Digital Electronics. Introduction to Number Systems & Codes Digital & Analog systems, Numerical representation, Digital number systems, Binary to Decimal.
Boolean Algebra and Digital Circuits
ECE 331 – Digital System Design
Digital Electronics Lecture 6 Combinational Logic Circuit Design.
Logic Gates Shashidhara H S Dept. of ISE MSRIT. Basic Logic Design and Boolean Algebra GATES = basic digital building blocks which correspond to and perform.
Lecture 22: 11/19/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
Week 6: Gates and Circuits: PART I READING: Chapter 4.
Chapter 3: Digital Logic Dr Mohamed Menacer Taibah University
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
LOGIC GATES AND CIRCUITS Digital systems are said to be constructed by using logic gates. These gates are the AND, OR, NOT, NAND, NOR, EXOR and EXNOR gates.
LOGIC GATES & BOOLEAN ALGEBRA
ECE 301 – Digital Electronics Basic Logic Operations, Boolean Expressions, and Boolean Algebra (Lecture #3)
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Pp244 In Sum-of-Products (SOP) form, basic.
1 EENG 2710 Chapter 2 Algebraic Methods For The Analysis and Synthesis of Logic circuits.
Announcements Assignment 6 due tomorrow No Assignment 7 yet.
C.S. Choy21 BOOLEAN ALGEGRA The Mathematics of logic Boolean variables have only two possible values (binary) Operators:. Product+ SumComplement A.B A+B.
CMOS Logic Gates. NMOS transistor acts as a switch 2 When gate voltage is 0 V No channel is formed current does not flow easily “open switch” When gate.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
ECE DIGITAL LOGIC LECTURE 6: BOOLEAN ALGEBRA Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2016, 02/01/2016.
Computer Organization and Design Transistors & Logic - II Montek Singh Mon, Mar 14, 2011 Lecture 9.
K-maps and Decoders Prof. Sin-Min Lee Department of Computer Science.
Computer Organization and Design Transistors & Logic - II Montek Singh Wed, Oct 17, 2012 Lecture 11.
Digital Logic Design. Truth Table  Logic Circuit 1. Start with truth table 2. When your output is a 1, figure out the combination of inputs, ANDs, and.
Boolean Algebra & Logic Gates
CSIS-110 Introduction to Computer Science
Combinational Circuits Part 1
Digital Logic.
Logic Gates and Boolean Algebra
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Logic Gates and Boolean Algebra
Digital Logic.
ECE 331 – Digital System Design
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Karnaugh Maps (K-Maps)
Reading: Hambley Ch. 7 through 7.5
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Combinational Logic Circuit
Laws & Rules of Boolean Algebra
Computer Architecture
Reading: Hambley Ch. 7 through 7.5
Presentation transcript:

W. G. Oldham EECS 40 Fall 2001 Lecture 2 Copyright Regents of University of California The CMOS Inverter: Current Flow during Switching V IN V OUT V DD 0 0 N: off P: lin N: lin P: off N: lin P: sat N: sat P: lin N: sat P: sat A BDE Ci i S D G G S D V DD V OUT V IN

W. G. Oldham EECS 40 Fall 2001 Lecture 2 Copyright Regents of University of California Power Dissipation due to Direct-Path Current V DD -V T VTVT time v IN : i:i: I peak V DD 0 0 i S D G G S D V DD v OUT v IN Energy consumed per switching period: t sc

W. G. Oldham EECS 40 Fall 2001 Lecture 2 Copyright Regents of University of California An NMOSFET is a closed switch when the input is high N-Channel MOSFET Operation NMOSFETs pass a “strong” 0 but a “weak” 1 Y = X if A and B Y = X if A or B B A X B A X YY

W. G. Oldham EECS 40 Fall 2001 Lecture 2 Copyright Regents of University of California A PMOSFET is a closed switch when the input is low P-Channel MOSFET Operation PMOSFETs pass a “strong” 1 but a “weak” 0 Y = X if A and B = (A + B) Y = X if A or B = (AB) B A X B A X YY

W. G. Oldham EECS 40 Fall 2001 Lecture 2 Copyright Regents of University of California Pull-Down and Pull-Up Devices In CMOS logic gates, NMOSFETs are used to connect the output to GND, whereas PMOSFETs are used to connect the output to V DD. –An NMOSFET functions as a pull-down device when it is turned on (gate voltage = V DD ) –A PMOSFET functions as a pull-up device when it is turned on (gate voltage = GND) F(A 1, A 2, …, A N ) PMOSFETs only NMOSFETs only … … Pull-up network Pull-down network V DD A1A2ANA1A2AN A1A2ANA1A2AN input signals

W. G. Oldham EECS 40 Fall 2001 Lecture 2 Copyright Regents of University of California CMOS NAND Gate ABF A F B AB V DD

W. G. Oldham EECS 40 Fall 2001 Lecture 2 Copyright Regents of University of California CMOS NOR Gate A F B A B V DD ABF

W. G. Oldham EECS 40 Fall 2001 Lecture 2 Copyright Regents of University of California CMOS Pass Gate A X Y A Y = X if A

W. G. Oldham EECS 40 Fall 2001 Lecture 2 Copyright Regents of University of California Logic Gates – From Week 9b A B F=A·B AND F = A B NAND NOR A B NOT A OR A B F=A+B EXCLUSIVE OR A B F =

W. G. Oldham EECS 40 Fall 2001 Lecture 2 Copyright Regents of University of California Logic Gates – How are they used? A B C=A·B AND First of all we must agree on what is high (logical 1) or low (logical 0). Suppose 1.5 V is 1 and 0V is logical 0. C would have the value of 1.5 V (logical 1). But it would have the value of 0V (logical 0) if either one of the inputs were held at zero V. AND 1.5V

W. G. Oldham EECS 40 Fall 2001 Lecture 2 Copyright Regents of University of California What are the most basic gates in Digital Electronics? ABAB Not-AND = NAND A B AB A+B BA  Not-OR = NOR A B Typically use one or the other: “NAND logic” or “NOR logic”

W. G. Oldham EECS 40 Fall 2001 Lecture 2 Copyright Regents of University of California How to Combine Gate to Produce a Desired Logic Function? (This is called Logical Synthesis) Not-AND = NAND A B A B NOT AND Logically just an AND plus a NOT gate: Example A B AND Shorthand for NOT

W. G. Oldham EECS 40 Fall 2001 Lecture 2 Copyright Regents of University of California How to Combine Gate to Produce a Desired Logic Function? (More basic Logical Synthesis) A Example F= A B. B A B A B. Again a little shorthand is useful

W. G. Oldham EECS 40 Fall 2001 Lecture 2 Copyright Regents of University of California How to Combine Gate to Produce a Desired Logic Function? (More basic Logical Synthesis) Suppose we are given a truth table (all logic statements can be represented by a truth table). How can we implement the function? Answer: There are lots of ways, but one simple way is implementation from “sum of products” formulation. How to do this: 1) Write sum of products expression from truth table and 2) Implement using standard gates. (Warning this is probably inefficient – we need to minimize, or simplify the expression)

W. G. Oldham EECS 40 Fall 2001 Lecture 2 Copyright Regents of University of California How to Combine Gate to Produce a Desired Logic Function? (More basic Logical Synthesis) Example: ABCF or Clearly: F= 1 if C = 1 AB =1 i.e. F= C +AB

W. G. Oldham EECS 40 Fall 2001 Lecture 2 Copyright Regents of University of California How to Combine Gate to Produce a Desired Logic Function? (More basic Logical Synthesis) Example: ABCF F= C +AB A B C A B C F

W. G. Oldham EECS 40 Fall 2001 Lecture 2 Copyright Regents of University of California More Logical Synthesis Example: ABF F=A +AB A B A B F Clearly Thus But it is easy to show that a simpler valid expression for F is F = B, hence: B F (ignore A)

W. G. Oldham EECS 40 Fall 2001 Lecture 2 Copyright Regents of University of California What circuit of logic gates could produce these (arbitrarily chosen) outputs F in response to inputs A, B and C? ABCF ABCF

W. G. Oldham EECS 40 Fall 2001 Lecture 2 Copyright Regents of University of California

W. G. Oldham EECS 40 Fall 2001 Lecture 2 Copyright Regents of University of California Rules of boolean algebra. The two entries in the last row are used frequently and are known as DeMorgan’s theorem. AND RulesOR Rules AA=A A+A=A AA=0 A+A=1 0A=0 0+A=A 1A=A 1+A=1 AB=BA A+B=B+A A(BC)=(AB)C A+(B+C) = (A+B)+C A(B+C) =AB+AC A+BC=(A+B)(A+C) AB=A+B A+B=AB

W. G. Oldham EECS 40 Fall 2001 Lecture 2 Copyright Regents of University of California Logical Synthesis Guided by DeMorgan’s Theorem Demorgan’s Theorem : or Thus, for example: A B C D F Thus any sum of products expression can be immediately synthesized from NAND gates alone

W. G. Oldham EECS 40 Fall 2001 Lecture 2 Copyright Regents of University of California Karnaugh Maps Graphical approach to minimizing the number of terms in a logic expression: 1.Map the truth table into a Karnaugh map (see below) 2.For each 1, circle the biggest block that includes that 1 3.Write the product that corresponds to that block. 4.Sum all of the products A B 2-variable Karnaugh Map A 1 0 BC variable Karnaugh Map 4-variable Karnaugh Map CD AB

W. G. Oldham EECS 40 Fall 2001 Lecture 2 Copyright Regents of University of California ABCS1S1 S0S InputOutput A BC AC AB S 1 = AB + BC + AC Simplification of expression for S 1 : Karnaugh Map Example By simplifying we can reduce the number of gates, transistors, and the size of the circuits.