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.

Slides:



Advertisements
Similar presentations
Logic Gates.
Advertisements

Digital Logic Design Gate-Level Minimization
Other Gate Types COE 202 Digital Logic Design Dr. Aiman El-Maleh
Chapter3: Gate-Level Minimization Part 2
CS 121 Digital Logic Design
Combinational Logic Circuits Chapter 2 Mano and Kime.
Morgan Kaufmann Publishers
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
Parity. 2 Datasheets TTL:  CMOS: 
Gate-Level Minimization. Digital Circuits The Map Method The complexity of the digital logic gates the complexity of the algebraic expression.
CHAPTER 3 Digital Logic Structures
Boolean Algebra and Logic Gates
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 4 Technology.
Introduction Gate-level minimization refers to the design task of finding an optimal gate-level implementation of Boolean functions describing a digital.
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.
1 Why study Boolean Algebra? 4 It is highly desirable to find the simplest circuit implementation (logic) with the smallest number of gates or wires. We.
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:
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.
Module 9.  Digital logic circuits can be categorized based on the nature of their inputs either: Combinational logic circuit It consists of logic gates.
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.
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.
Chapter 3 Gate-Level Minimization
LOGIC GATES & BOOLEAN ALGEBRA
COE 202: Digital Logic Design Combinational Logic Part 4
CS 1110 Digital Logic Design
1 EG 32 Digital Electronics Thought for the day You learn from your mistakes..... So make as many as you can and you will eventually know everything.
CS 121 Digital Logic Design Gate-Level Minimization Chapter 3.
Karnaugh Maps (K-Maps)
Ahmad Almulhem, KFUPM 2010 COE 202: Digital Logic Design Combinational Logic Part 4 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:
ece Parity Used to check for errors Can be either ODD or EVEN Left most bit used as the indicator For EVEN, insert a 0 or a 1 so as to make the.
Digital Electronics Chapter 3 Gate-Level Minimization.
1 EENG 2710 Chapter 2 Algebraic Methods For The Analysis and Synthesis of Logic circuits.
1 Lect # 2 Boolean Algebra and Logic Gates Boolean algebra defines rules for manipulating symbolic binary logic expressions. –a symbolic binary logic expression.
Chapter-3: BOOLEAN ALGEBRA & LOGIC GATES Analysis and logical design.
Module 5.  In Module 3, you have learned the concept of Boolean Algebra which consists of binary variables and binary operator.  A binary variable x,
Module 7.  In Module 3 we have learned about NAND gate – it is a combination of AND operation followed by NOT operation  Symbol A. B = Y  Logic Gate.
Combinational Logic: Other Gate Types
ECE DIGITAL LOGIC LECTURE 8: BOOLEAN FUNCTIONS Assistant Prof. Fareena Saqib Florida Institute of Technology Spring 2016, 02/11/2016.
Logic Gates and Boolean Algebra Introduction to Logic II.
CSE 461. Binary Logic Binary logic consists of binary variables and logical operations. Variables are designated by letters such as A, B, C, x, y, z etc.
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.
CHAPTER 2 Boolean algebra and Logic gates
1 Digital Systems Design Lecture 7 Transformations Factoring - finding a factored form from SOP or POS expression Decomposition - expression of a function.
FIGURE 3.1 Two-variable K-map
Eng. Mai Z. Alyazji October, 2016
Chapter 2: Boolean Algebra and Logic Functions
CS 105 Digital Logic Design
2-6 Exclusive-OR Operator and Gates
Exclusive OR Gate.
Princess Sumaya University
Boolean Algebra Why study Boolean Algebra?
Boolean Algebra.
SCO I: Algebra Logică 2 Combinational Logic Circuits
King Fahd University of Petroleum and Minerals
Logic Gates.
Digital Logic Design I Gate-Level Minimization
Overview Part 3 – Additional Gates and Circuits
Boolean Algebra Boolean Algebra
Gates Type AND denoted by X.Y OR denoted by X + Y NOR denoted by X + Y
Overview Part 3 – Additional Gates and Circuits 2-8 Other Gate Types
Logic Gates.
Eng. Ahmed M Bader El-Din October, 2018
Presentation transcript:

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

 In Module 3, we have learned about Exclusive NOR (XNOR) gate.  Boolean Expression AB + A’B’ = Y also (A  B)’ also (AB’ + A’B)’ = Y  Logic Gate  Truth table ABY

 The following identities apply to the XOR operation: x  0 = x x  1 = x’ x  x = 0 x  x’ = 1 ABY Proving can be performed based on XOR truth table

 The following identities apply to the XOR operation: A  B = B  A Proving based on Postulates 3 – Commutative Thus, the two inputs to an XOR can be interchanged! (A  B)  C = A  (B  C) Proving based on Postulate 4 – Associative Thus, a three input XOR can be expressed in any manner with or without parenthesis.

 The following identities apply to the XOR operation: x  y’ = x’  y = (x  y)’ Proving x  y = x’y + xy’ thus x  y’ = x’y’ + xy’’= x’y’ + xy x  y = x’y + xy’ thus x’  y = x’’y + x’y’= xy + x’y’ xy + x’y’ = (x  y)’ – see XNOR

 XOR gates are difficult to be fabricated.  Most often we implement XOR using: basic gates NAND gates xy’ + x’y = [xy’+xx’]+ [x’y+yy’] = x(x’+y’)+y(x’+y’) = x(x.y)’ + y(x.y)’ DeMorgan’s (x’)’ = x Involution

 XOR can be represented in sum of minterms for any number of inputs: 2 inputs 3 inputs x  y = x’y + xy’ x  y  z = (x  y)  z Ifo= (x  y) = x’y + xy’ o’= (x  y)’ = xy + x’y’ So, x  y  z = (x  y)  z = o  z = o’z + oz’ = (xy + x’y’ )z + (x’y + xy’ )z’ = xyz + x’y’z + x’yz’ + xy’z’ = ∑(m7, m1, m2, m4) = ∑(m1, m2, m4, m7) -- rearrange

 Derive the Sum of Minterms for: F(a, b, c, d) = a  b  c  d a  b  c  d= (a  b)  (c  d) If x = a  b = a’b + ab’ x’= (a  b)’ = ab + a’b’ If y= c  d = c’d + cd’ y’= (c  d)’ = cd + c’d’ a  b  c  d= x  y = x’y + xy’ = (ab + a’b’) (c’d + cd’) + (a’b + ab’) (cd + c’d’) =abc’d+abcd’+a’b’c’d+a’b’cd’+a’bcd+a’bc’d’+ab’cd+ab’c’d’ =∑(m13, m14, m1, m2, m7, m4, m11, m8) = ∑(m1, m2, m4, m7, m8, m11, m13, m14) -- rearrange

 Odd function is a function that ONLY returns the value ‘1’ when: n is odd whereby n is the total number of input signals with value ‘1’  XOR of 3 or more input variables makes an odd function.  E.g. F(x, y, z) = x  y  z = ∑(m1, m2, m4, m7) = x’y’z + x’yz’ + xy’z’ + xyz yz x n = 1 n = 3 n = 1

 Prove that the given expression is an odd function using a truth table. Derive the K-map. F = a  b  c  d = ∑(m1, m2, m4, m7, m8, m11, m13, m14) abcdFn abcdFn

 K-map: F = a  b  c  d = ∑(m1, m2, m4, m7, m8, m11, m13, m14) cd ab

 Even function is a function that ONLY returns the value ‘1’ when: n is even whereby n is the total number of input signals with value ‘1’  The invert of XOR of 3 or more input variables makes an even function.  E.g. F(x, y, z) =(x  y  z)’ = ∑(m0, m3, m5, m6) = x’y’z’ + xy’z’ + x’yz’ + x’y’z yz x n = 2 n = 0

 Derive the sum of minterms for the given expression and its K-map: F = (a  b  c  d)’ cd ab If F1 = (a  b  c  d) = ∑(m1, m2, m4, m7, m8, m11, m13, m14) Then F = (a  b  c  d)’ = F1’ = ∑(m0, m3, m5, m6, m9, m10, m12, m15)

 Recaps… XOR of 3 and more inputs makes an odd function The invert of XOR of 3 and more inputs makes an even function  These properties of XOR are used to build circuits to provide for error detection and correction.  This can be accomplished through parity generator and checker. Parity generator: a circuit that produces parity bit(s) – often resides at transmitter Parity checker: a circuit that checks the parity at receiver

 A parity bit is an extra bit included in the codeword to make the n (total number of ‘1’s) either odd or even.  An even parity generator utilizes odd function to make the number of ‘1’s even (vice versa).  E.g. xyzP P = x  y  z = ∑(m1, m2, m4, m7)

 Design a circuit for an odd parity generator P for three input variable x, y, z. Derive the truth table. xyzP P = (x  y  z)’ = ∑(m0, m3, m5, m6)

 If at the transmitter for every 3 data (x, y, z) bits, 1 parity (P) bit are constructed for every codeword using even parity generator, then the receiver must also be of an even parity checker consists of four input variables (x, y, z and P).  An even parity checker utilizes odd function to make the number of ‘1’s even(vice versa).  The output of the parity checker denoted by C indicates: No error if C = 0 Error if C = 1

 Example below describes a pair of parity generator and checker: If 1100 is received; C = 0 no error. If 1101 is received; C = 1 ERROR! Parity Generator: P= x  y  z Parity Checker: C= x  y  z  P

End of Module 8