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.

Slides:



Advertisements
Similar presentations
EET 1131 Unit 5 Boolean Algebra and Reduction Techniques
Advertisements

Programming Logic Gate Functions in PLCs
Digital Circuits.
ECE 238L Computer Logic Design Spring 2010
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.
Relationship Between Basic Operation of Boolean and Basic Logic Gate The basic construction of a logical circuit is gates Gate is an electronic circuit.
Digital Circuit Review: Combinational Logic Logic operation –Need to know following two input gates: NAND, AND, OR, NOT, XOR –Need to know DeMorgan’s Theorems.
Digital Fundamentals Floyd Chapter 4 Tenth Edition
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.
EET 1131 Unit 5 Boolean Algebra and Reduction Techniques
Digital Fundamentals with PLD Programming Floyd Chapter 4
PHY 201 (Blum)1 Karnaugh Maps References: Chapters 4 and 5 in Digital Principles (Tokheim) Chapter 3 in Introduction to Digital Systems (Palmer and Perlman)
1 Simplification of Boolean Functions:  An implementation of a Boolean Function requires the use of logic gates.  A smaller number of gates, with each.
F = ∑m(1,4,5,6,7) F = A’B’C+ (AB’C’+AB’C) + (ABC’+ABC) Use X’ + X = 1.
1 The Chinese University of Hong Kong Faculty of Education Diploma in Education (Part-Time) Winter 1997 Educational Communications and Technology Assignment.
Digital Circuits Design Chin-Sung Lin Eleanor Roosevelt High School.
Karnaugh Maps References:
Chapter 3: Digital Logic Dr Mohamed Menacer Taibah University
Unit 5 Karnaugh Maps Fundamentals of Logic Design by Roth and Kinney.
Circuit Minimization. It is often uneconomical to realize a logic directly from the first logic expression that pops into your head. Canonical sum and.
Lecture 4 Nand, Nor Gates, CS147 Circuit Minimization and
XOR Operator A short digression… … to introduce another Boolean operation: exclusive- OR (XOR) ABA + B XOR.
Computer Systems 1 Fundamentals of Computing Simplifying Boolean Expressions.
Announcements Assignment 6 due tomorrow No Assignment 7 yet.
DKT 122/3 - DIGITAL SYSTEM I Chapter 4A:Boolean Algebra and Logic Simplification) Mohd ridzuan mohd nor
Karnaugh Map and Circuit Design.
Announcements Project components starting to arrive No assignment due this week – assignment 7 will be posted on Thursday. Final exam date. Let’s leave.
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC
THE K-MAP.
Digital Logic (Karnaugh Map). Karnaugh Maps Karnaugh maps (K-maps) are graphical representations of boolean functions. One map cell corresponds to a row.
Introduction to Digital Electronics Lecture 5: Function Minimisation.
BOOLEAN ALGEBRA LOGIC GATES. Introduction British mathematician George Boole( ) was successful in finding the link between logic and mathematics.
In some Boolean functions there are some input terms that will never occur, for example in BCD code there are sex invalid combinations 1010,1011,1100,
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC. De Morgan’s Theorem De Morgan’s Theorem.
DE MORGAN’S THEOREM. De Morgan’s Theorem De Morgan’s Theorem.
K-maps and Decoders Prof. Sin-Min Lee Department of Computer Science.
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC:K-Map. K-Map (1)  Karnaugh Map provides a systematic method for simplifying Boolean expressions and may produce.
CE1110: Digital Logic Design Gate Level Minimization Karnaugh Maps (K-Maps)
EET 1131 Unit 5 Boolean Algebra and Reduction Techniques
De Morgan’s Theorem,.
Lecture 4 Nand, Nor Gates, CS147 Circuit Minimization and
Digital Fundamentals Floyd Chapter 5 Tenth Edition
DeMorgan’s Theorem DeMorgan’s 2nd Theorem
Boolean Algebra and Combinational Logic
Boolean Expressions Lecture No. 10.
Reading: Hambley Chapters
Digital Logic and Design
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Basics Combinational Circuits Sequential Circuits
Karnaugh Maps (K-Maps)
Karnaugh Maps References:
Digital Circuits.
BASIC & COMBINATIONAL LOGIC CIRCUIT
Karnaugh Maps Topics covered in this presentation: Karnaugh Maps
Reading: Hambley Ch. 7 through 7.5
Boolean Algebra.
13 Digital Logic Circuits.
Gates Type AND denoted by X.Y OR denoted by X + Y NOR denoted by X + Y
Logic Gates By Dr.Mazin Alzewary
Digital Fundamentals Floyd Chapter 4 Tenth Edition
3-Variable K-map AB/C AB/C A’B’ A’B AB AB’
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Karnaugh Maps (K maps).
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Principles & Applications
Laws & Rules of Boolean Algebra
Karnaugh Map Method By: Asst Lec. Besma Nazar Nadhem
Computer Architecture
Reading: Hambley Ch. 7 through 7.5
Presentation transcript:

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 the NOT operation is shown explicitly as a gate. 3. Tying the inputs of a dual-input NAND gate will yield a NOT gate. 4. Tying the inputs of a dual-input NOR gate will similarly yield a NOT gate.

Truth Table Set-Ups for Karnaugh Maps Each truth table consists of 2 n cells, where n is the number of inputs (logic variables). Two Inputs (4 cells) B 0 1 A\ 0 __ 1 The row and column assignments for two or more variables are arranged so that adjacent terms change by only one bit. That is, the possibilities of AB are considered as 00, 01, 11, and 10 in turn, rather than 00, 01, 10, and 11 as often is written sequence in ordinary truth tables. (In going from 01 to 10, both bits would be changed.) This type of construction facilitates identification of supercells that are used to simplify gate combinations for realizing the desired truth table. Three Inputs (8 cells) C 0 1 AB\ 00 __ 01 __ 11 __ 10 __ BC A\ 0 __ 1 OR

Truth Table Set-Ups for Karnaugh Maps Four Inputs (16 cells) CD AB\ 00 __ 01 __ 11 __ 10 __

Box Ones for Sum of Products Consider the following truth table for three inputs: A B C O The truth table expressed in a form suitable for Karnaugh mapping: BC A\ Boxing the ones: BC A\ The red cells form a 1x2 supercell represented by A'. B. The green cells form a 1x2 wrapped supercell represented by A·C'. The resulting Boolean expression for this truth table, a sum of products, is A'·B + A·C'. This realization requires five gates as shown below: Supercell has to contain 2 n ones Make cells as big as possible Edge of Karnaugh is considered connected Finish all the ones

Boxing Zeroes for Product of Sums Consider again the following truth table for three inputs: A B C O The truth table expressed in a form suitable for Karnaugh mapping: BC A\ Boxing the zeroes: BC A\ The red cells form a 1x2 supercell represented by A'. B'. (A'. B' + A. C)' = (A'. B')'. (A. C)'by one application of De Morgan's theorem. = (A+B). (A. C)'by application of the other De Morgan's theorem. = (A+B). (A'+C')again by application of De Morgan's theorem. Thus results the product of sums! The green cells form a 1x2 supercell represented by A·C. The resulting Boolean expression for this truth table is the complement of the sum of these cells, (A'·B' + A·C)'. This still looks like a sum of products, just NOTted! Several applications of De Morgan's theorems will yield the desired product of sums:

Boxing Zeroes for Product of Sums Consider again the following truth table for three inputs: A B C O The truth table expressed in a form suitable for Karnaugh mapping: BC A\ Boxing the zeroes: BC A\ The red cells form a 1x2 supercell represented by A+B. The green cells form a 1x2 supercell represented by A’+C’. The resulting Boolean expression for this truth table is the sum of these cells, (A+B)  (A’+C’)

Boxing zeroes: cont. NOTE: The minimum realization requires only three gates. This results from the next to last line in the application of De Morgan's theorems above. (A'·B' + A·C)'= (A+B) · (A'+C') =(A+B) · (A·C)' This realization again requires five gates as shown below:

Box one’s and zero’s: Summary Sum of Products (X  Y+W  Z) Production of Sums (X+Y)  (W+Z) Box 1’sBox 0’s AND operation among inputs that is not changing AND operation among inputs that is not changing Between boxes OR operation AND operation among inputs that is not changing AND operation among inputs that is not changing Between boxes OR operation Result must be NOT’ed to get the final answer OR operation among NOT’ed inputs that is not changing AND operation among NOT’ed inputs that is not changing Between boxes AND operation