Overview Part 3 – Additional Gates and Circuits 2-8 Other Gate Types

Slides:



Advertisements
Similar presentations
Other Gate Types Why? Gate classifications
Advertisements

Digital Logic Design Gate-Level Minimization
Overview Part 1 – Gate Circuits and Boolean Equations
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Chapter 2 – Combinational.
Overview Part 1 – Gate Circuits and Boolean Equations
Other Gate Types COE 202 Digital Logic Design Dr. Aiman El-Maleh
Exclusive-OR and Exclusive-NOR Gates
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 2 – Combinational Logic Circuits Part 3.
Combinational Circuits
Combinational Logic Circuits Chapter 2 Mano and Kime.
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR, Parity Circuits, Comparators.
Chapter 2 Logic Circuits.
Overview Part 3 – Additional Gates and Circuits 2-8 Other Gate Types
Module 8.  In Module 3, we have learned about Exclusive OR (XOR) gate.  Boolean Expression AB’ + A’B = Y also A  B = Y  Logic Gate  Truth table ABY.
CS 151 Digital Systems Design Lecture 11 NAND and XOR Implementations.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 2 – Combinational Logic Circuits Part 3.
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 4 Technology.
Multiplexers DeMultiplexers XOR gates
Based on slides by: Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. ECE/CS 352: Digital System Fundamentals Lecture 10 – Other Gate Types.
Additional Gates BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Chapter 2 – Combinational.
Module 3.  Binary logic consists of :  logic variables  designated by alphabet letters, e.g. A, B, C… x, y, z, etc.  have ONLY 2 possible values:
XOR and XNOR Logic Gates. XOR Function Output Y is TRUE if input A OR input B are TRUE Exclusively, else it is FALSE. Logic Symbol  Description  Truth.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
BOOLEAN ALGEBRA Saras M. Srivastava PGT (Computer Science)
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 7 Transformations Factoring - finding a factored form from SOP or POS expression Decomposition.
CS 151: Introduction to Digital Design Chapter 2-9 Exclusive-OR Gates.
Digital Logic Design Week 3
Multiplexers XOR gates. Multiplexers A multiplexer is a digital switch - it connects data from one of n sources to its output. An n-input and b-bit multiplexer.
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.
1 CS 151 Introduction to Digital Design Chapter 2-8 Other Gate Types.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
Exclusive OR Gate. Logically, the exclusive OR (XOR) operation can be seen as either of the following operations:exclusive OR (XOR) 1. A AND NOT B OR.
Logic Gates. A logic gate is an elementary building block of a digital circuit. Most logic gates have two inputs and one output. At any given moment,
WEEK #11 FUNCTIONS OF COMBINATIONAL LOGIC (PART 4)
CS151 Introduction to Digital Design Chapter 2: Combinational Logic Circuits 2-9 Exclusive-OR Operator and Gates 1Created by: Ms.Amany AlSaleh.
Combinational Logic: Other Gate Types
BOOLEAN ALGEBRA LOGIC GATES. Introduction British mathematician George Boole( ) was successful in finding the link between logic and mathematics.
The inverter performs the Boolean NOT operation. When the input is LOW, the output is HIGH; when the input is HIGH, the output is LOW. The Inverter AX.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR and parity check Circuits.
ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc. Chapter 7 Logic Circuits.
Combinational Logic Design
Mu.com.lec 9. Overview Gates, latches, memories and other logic components are used to design computer systems and their subsystems Good understanding.
1 Digital Systems Design Lecture 7 Transformations Factoring - finding a factored form from SOP or POS expression Decomposition - expression of a function.
Boolean Algebra & Logic Gates
Gate-Level Minimization
Overview Part 1 – Logic Circuits and Boolean Functions
Multiplexers (Data Selectors)
CS221: Digital Logic Design Combinational Circuits 3
Digital Fundamentals Floyd Chapter 3 Tenth Edition
2-6 Exclusive-OR Operator and Gates
Overview Part 1 – Gate Circuits and Boolean Equations
PROPAGATION DELAY.
Exclusive OR Gate.
Dr. Clincy Professor of CS
Schematics 201 Lecture Topic: Electrical Symbols
Digital Logic & Design Dr. Waseem Ikram Lecture 13.
EET107/3 DIGITAL ELECTRONICS 1
SCO I: Algebra Logică 2 Combinational Logic Circuits
King Fahd University of Petroleum and Minerals
Week 7: Gates and Circuits: PART II
CS Chapter 3 (3A and ) Part 3 of 8
Overview Part 3 – Additional Gates and Circuits
13 Digital Logic Circuits.
CS Chapter 3 (3A and ) – Part 2 of 5
Gate Level Minimization
Dr. Clincy Professor of CS
XOR, XNOR, and Binary Adders
XOR Function Logic Symbol  Description  Truth Table 
Circuit Simplification and
Presentation transcript:

Overview Part 3 – Additional Gates and Circuits 2-8 Other Gate Types 2-9 Exclusive-OR Operator and Gates 2-10 High-Impedance Outputs

Other Gate Types Why? Gate classifications Implementation feasibility and low cost Power in implementing Boolean functions Convenient conceptual representation Gate classifications Primitive gate - a gate that can be described using a single primitive operation type (AND or OR) plus an optional inversion(s). Complex gate - a gate that requires more than one primitive operation type for its description Primitive gates will be covered first

Primitive Digital Logic Gates

Primitive Digital Logic Gates

Complex Digital Logic Gates

Complex Digital Logic Gates

Logical Operations with NAND Gate

2-9 Exclusive-OR Operator and Gates Exclusive OR/ Exclusive NOR The eXclusive OR (XOR) function is an important Boolean function used extensively in logic circuits. The XOR function may be; implemented directly as an electronic circuit (truly a gate) or implemented by interconnecting other gate types (used as a convenient representation) The eXclusive NOR function is the complement of the XOR function By our definition, XOR and XNOR gates are complex gates.

Exclusive OR/ Exclusive NOR Uses for the XOR and XNORs gate include: Adders/subtractors/multipliers Counters/incrementers/decrementers Parity generators/checkers Definitions The XOR function is: The eXclusive NOR (XNOR) function, otherwise known as equivalence is: Strictly speaking, XOR and XNOR gates do no exist for more that two inputs. Instead, they are replaced by odd and even functions. Y X + = Å X Å Y = X Y + X Y

Truth Tables for XOR/XNOR Operator Rules: XOR XNOR The XOR function means: X OR Y, but NOT BOTH XOR is known as equivalence function, why? X Y Å 1 X Y 1 (X Å Y) Because it is defined as X Y + X’ Y’ that equals 1 if and only if X = Y implying X is equivalent to Y.

XOR/XNOR (Continued) Z Y X Å Å = + + + = Y Z ) ( X 1 Å = = The XOR function can be extended to 3 or more variables. For more than 2 variables, it is called an odd function or modulo 2 sum (Mod 2 sum), not an XOR: The complement of the odd function is the even function. The XOR identities: Z Y X Å Å = + + + X 1 Å = Y Z ) ( = =

Symbols For XOR and XNOR XOR symbol: XNOR symbol: Shaped symbols exist only for two inputs

Odd and Even Functions The odd and even functions on a K-map form “checkerboard” patterns. The 1s of an odd function correspond to minterms having an index with an odd number of 1s. The 1s of an even function correspond to minterms having an index with an even number of 1s. Implementation of odd and even functions for greater than four variables as a two-level circuit is difficult, so we use “trees” made up of : 2-input XOR or XNORs 3- or 4-input odd or even functions

Example: Odd Function Implementation Design a 3-input odd function F = X Y Z with 2-input XOR gates Factoring, F = (X Y) Z The circuit: + + X Y Z F

Example: Even Function Implementation Design a 4-input odd function F = W X Y Z with 2-input XOR and XNOR gates Factoring, F = (W X) (Y Z) The circuit: + + + +

Parity Generators and Checkers In Chapter 1, a parity bit added to n-bit code to produce an n + 1 bit code: Add odd parity bit to generate code words with even parity Add even parity bit to generate code words with odd parity Use odd parity circuit to check code words with even parity Use even parity circuit to check code words with odd parity Example: n = 3. Generate even parity code words of length four with odd parity generator: Check even parity code words of length four with odd parity checker: Operation: (X,Y,Z) = (0,0,1) gives (X,Y,Z,P) = (0,0,1,1) and C= 0. If Y changes from 0 to 1 between generator and checker, then = 1 indicates an error. X Y Z P X Y Z C P

2-10 Hi-Impedance Outputs Logic gates introduced thus far have 1 and 0 output values, cannot have their outputs connected together, and transmit signals on connections in only one direction. Three-state logic adds a third logic value, Hi-Impedance (Hi-Z), giving three states: 0, 1, and Hi-Z on the outputs.

Multiplexed Line OL