CS151 Introduction to Digital Design Chapter 2: Combinational Logic Circuits 2-9 Exclusive-OR Operator and Gates 1Created by: Ms.Amany AlSaleh.

Slides:



Advertisements
Similar presentations
Other Gate Types Why? Gate classifications
Advertisements

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
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 2 – Combinational Logic Circuits Part 3.
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.
Gate-Level Minimization
Overview Part 3 – Additional Gates and Circuits 2-8 Other Gate Types
CS 151 Digital Systems Design Lecture 11 NAND and XOR Implementations.
CS 151 Digital Systems Design Lecture 7 More Logic Functions: NAND, NOR, XOR.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 2 – Combinational Logic Circuits Part 3.
Basic Digital Design Discussion D2.3. Basic Digital Design Sum of Products Design –Minterms Product of Sums Design –Maxterms.
ENGIN112 L11: NAND and XOR Implementation September 26, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 11 NAND and XOR Implementations.
CHAPTER 3 Digital Logic Structures
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
Combinational Logic Circuits Chapter 2 Mano and Kime.
Chapter 2: Boolean Algebra and Logic Functions
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.
Logical Circuit Design Week 5: Combinational Logic Circuits Mentor Hamiti, MSc Office ,
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:
NOCTI Review Lesson 4 Objectives:
BOOLEAN ALGEBRA Saras M. Srivastava PGT (Computer Science)
LOGIC GATES & TRUTH TABLE – Digital Circuit 1 Choopan Rattanapoka.
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
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.
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.
Basic logic gates  AND gate:The truth table is given by A.BBA
Chapter 3 Gate-Level Minimization
CS 1110 Digital Logic Design
Logic Gates. The Inverter The inverter (NOT circuit) performs the operation called inversion or complementation. Standard logic symbols: 1 1 input output.
CS 121 Digital Logic Design Gate-Level Minimization Chapter 3.
Lecture 09 NAND and XOR Implementations. Overview °Developing NAND circuits °Two-level implementations Convert from AND/OR to NAND (again!) °Multi-level.
Boolean Algebra & Logic Circuits Dr. Ahmed El-Bialy Dr. Sahar Fawzy.
COMPUTER ARCHITECTURE TRUTH TABLES AND LOGIC GATES.
Chapter-3: BOOLEAN ALGEBRA & LOGIC GATES Analysis and logical design.
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,
CHAPTER 5 Combinational Logic Analysis
Combinational Logic: Other Gate Types
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
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.
Logic Gates Chapter 5 Subject: Digital System Year: 2009.
4–1 Gates Let’s examine the processing of the following six types of gates NOT AND OR XOR NAND NOR Typically, logic diagrams are black and white, and the.
1 Digital Systems Design Lecture 7 Transformations Factoring - finding a factored form from SOP or POS expression Decomposition - expression of a function.
DATA REPRESENTATION IN COMPUTER MEMORY.  Describe the coding system:  Sign and magnitude  1’s Complement and 2’s Complement  Binary Coded Decimal.
Computer Architecture & Operations I
Boolean Algebra & Logic Gates
Logic Gates and Boolean Algebra
Overview Part 1 – Logic Circuits and Boolean Functions
2-6 Exclusive-OR Operator and Gates
Overview Part 1 – Gate Circuits and Boolean Equations
SCO I: Algebra Logică 2 Combinational Logic Circuits
King Fahd University of Petroleum and Minerals
Logic Gates.
CS Chapter 3 (3A and ) Part 3 of 8
Overview Part 3 – Additional Gates and Circuits
Overview Part 3 – Additional Gates and Circuits 2-8 Other Gate Types
Logic Gates.
Digital Logic Design Basics Combinational Circuits Sequential Circuits.
Presentation transcript:

CS151 Introduction to Digital Design Chapter 2: Combinational Logic Circuits 2-9 Exclusive-OR Operator and Gates 1Created by: Ms.Amany AlSaleh

2 Exclusive-OR and Exclusive-NOR Circuits  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. Created by: Ms.Amany AlSaleh

3 XOR and XNOR (Cont.)  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. YXYXYX  YXYXYX  Created by: Ms.Amany AlSaleh

4 Exclusive-OR Circuit  Exclusive-OR (XOR) produces a HIGH output whenever the two inputs are at opposite levels.  The XOR function means: X OR Y, but NOT BOTH Created by: Ms.Amany AlSaleh

5 Exclusive-OR Circuit  XOR function can also be implemented with AND/OR gates (also NANDs). Created by: Ms.Amany AlSaleh

6 Exclusive-NOR Circuits  Exclusive-NOR (XNOR) produces a HIGH output whenever the two inputs are at the same level.  Why is the XNOR function also known as the equivalence function? Created by: Ms.Amany AlSaleh

7 XOR/XNOR (Cont.)  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:  X1XX0X   1XX0XX     XYYX    ZYX)ZY(XZ ) YX(        ZYXZYXZYXZYXZYX Created by: Ms.Amany AlSaleh

8 XOR/XNOR (Cont.) 3-input exclusive-OR (XOR) logic gate: F= X Y Z F x y z x F z y XYZF  Created by: Ms.Amany AlSaleh

9 Odd and Even Functions  What about the case of more than 2 variables?  A  B  C = (AB’ + A’B) C’ + (AB + A’B’) C = AB’C’ + A’BC’ + ABC + A’B’C  This function is equal to 1 only if one variable is equal to 1 or if all three variables are equal to 1. This implies that an odd number of variables must be one. This is defined as an odd function. F is the logical sum of the four minterms having an index with an odd number of 1’s  F is called an odd function The other four minterms not included are 000, 011, 101 and 110, they have an index with even number of 1’s  F’ is called an even function.  The complement of an odd function is an even function.  In general, an n-variable exclusive-OR function is an odd function defined as the logical sum of the 2 n /2 minterms whose binary index have an odd number of 1’s Created by: Ms.Amany AlSaleh

10 Odd and Even Functions (Cont.)  Map for 3-variable XOR function. Minterms are said to be distance 2 from each other. Created by: Ms.Amany AlSaleh

11 Odd and Even Functions (Cont.)  Map for 3- and 4- variable XOR functions. Created by: Ms.Amany AlSaleh

12 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 Created by: Ms.Amany AlSaleh

13 Example: Even Function Implementation  Design a 4-input even function F = (W  X  Y  Z)’ with 2-input XOR and XNOR gates  Factoring, F = ( (W  X)  (Y  Z) )’  The circuit: W X Y F Z Created by: Ms.Amany AlSaleh

14 Odd and Even Functions  Why? 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 Created by: Ms.Amany AlSaleh