Lecture 2-1 Boolean Algebra

Slides:



Advertisements
Similar presentations
Boolean Algebra and Logic Gates
Advertisements

Logic Gates.
Lecture 5 EGRE 254 1/28/09. 2 Boolean algebra a.k.a. “switching algebra” –deals with Boolean values -- 0, 1 Positive-logic convention –analog voltages.
Chapter 2 Logic Circuits.
ECE 331 – Digital System Design Boolean Algebra (Lecture #3) The slides included herein were taken from the materials accompanying Fundamentals of Logic.
ECE 331 – Digital System Design
ECE 301 – Digital Electronics Boolean Algebra and Standard Forms of Boolean Expressions (Lecture #4) The slides included herein were taken from the materials.
1 D e MORGAN’s LAWS De Morgan’s Laws provide an easy way to find the inverse of a boolean expression: (X + Y)’ = X’ Y’ (X Y)’ = X’ + Y’ An easy way to.
Chapter 2: Boolean Algebra and Logic Functions
طراحی مدارهای منطقی نیمسال دوم دانشگاه آزاد اسلامی واحد پرند.
CHAPTER 2 Boolean Algebra
ECE 331 – Digital System Design
©2004 Brooks/Cole FIGURES FOR CHAPTER 2 BOOLEAN ALGEBRA Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter in.
Module 4.  Boolean Algebra is used to simplify the design of digital logic circuits.  The design simplification are based on: Postulates of Boolean.
Boolean Algebra AND gate A B | AB 0 0 | | | | 1 OR gate A B | A + B 0 0 | | | | 1 NOT gate _ A | A or A’ 0 | 1 1 |
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.
6 - 1 Simplification Theorems Useful for simplification of expressions & therefore simplification of the logic network which results. XY + XY' = ( X +
© BYU 03 BA1 Page 1 ECEn 224 Boolean Algebra – Part 1.
Boolean Algebra & Logic Circuits Dr. Ahmed El-Bialy Dr. Sahar Fawzy.
CMPUT Computer Organization and Architecture II1 CMPUT329 - Fall 2002 Topic2: DeMorgan Laws José Nelson Amaral.
BOOLEAN ALGEBRA – Digital Circuit 1 Choopan Rattanapoka.
Boolean Algebra and Logic Gates
CEC 220 Digital Circuit Design SOP and POS forms Friday, January 23 CEC 220 Digital Circuit Design Slide 1 of 17.
Boolean Algebra ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC. De Morgan’s Theorem De Morgan’s Theorem.
CEC 220 Digital Circuit Design SOP and POS forms Friday, Sept 11 CEC 220 Digital Circuit Design Slide 1 of 17.
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.
Mu.com.lec 9. Overview Gates, latches, memories and other logic components are used to design computer systems and their subsystems Good understanding.
Fundamentals of Logic Design, 7 th editionRoth/Kinney © 2014 Cengage Learning Engineering. All Rights Reserved. 1 Boolean Algebra (continued) UNIT 3.
ECE 331 – Digital System Design
Lecture 4 Topics Boolean Algebra Huntington’s Postulates Truth Tables
Lecture 7 Multi-Level Gate Networks
Combinational Circuits Part 1
ECE 301 – Digital Electronics
De Morgan’s Theorem,.
Chapter 2: Boolean Algebra and Logic Functions
Unit 2 Boolean Algebra.
Logic Gates and Boolean Algebra
CS 105 Digital Logic Design
Lecture 2 Boolean Algebra Basic
CHAPTER 3 BOOLEAN ALGEBRA (continued)
CHAPTER 2 Boolean Algebra
Introduction to Logic Gates
CHAPTER 1 : INTRODUCTION
CHAPTER 2 Boolean Algebra This chapter in the book includes:
Lecture 3 Algebraic Simplification
Boolean Algebra.
Princess Sumaya University
Boolean Algebra – Part 1 ECEn 224.
SLIDES FOR CHAPTER 2 BOOLEAN ALGEBRA
FIGURES FOR CHAPTER 2 BOOLEAN ALGEBRA
ECE 331 – Digital System Design
Lecture 3: Boolean Algebra
CHAPTER 2 Boolean Algebra
Boolean Algebra.
17-Nov-18 Logic Algebra 1 Combinational logic.
Boolean Algebra.
INTRODUCTION TO LOGIC DESIGN Chapter 2 Boolean Algebra and Logic Gates
Boolean Algebra & Logic Circuits
Chapter 2 Boolean Algebra and Logic Gate
BASIC & COMBINATIONAL LOGIC CIRCUIT
Boolean Algebra.
Boolean Algebra.
CHAPTER 3 BOOLEAN ALGEBRA (continued)
COMS 361 Computer Organization
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Analysis of Logic Circuits Example 1
Combinational Logic Circuit
Boolean Algebra and Gate Networks
Laws & Rules of Boolean Algebra
Presentation transcript:

Lecture 2-1 Boolean Algebra Inversion DeMorgan’s Laws (X1 + X2 + X3 + …)’ = X1’.X2’.X3’….. Example [(AB’ + C)D’ + E]’ = [(AB’ + C)D’]’ E’ = [(AB’ + C)’ + D]E’ = [(AB’)’C’ + D] E’ = [(A’ + B) C’ + D] E’ Chap 3

Duality Duality Example Dual is formed by replacing AND with OR, OR with AND, 0 with 1, and 1 with 0. Variable and complements are left unchanged. Example F = ab’ + c + 0.d’(1 + e) FD = (a +b’)c(1+d’ + 0.e) If F = G, then F’ = G’, FD = GD. This means that if a theorem is true, so is its dual. (X+Y’)Y = XY (XY’)+ Y = X + Y Chap 3

Duality (Cont.) Another way of doing duality. Dual of a function is formed by complementing a function and then replacing all variables by their complements. F (a,b) = ab’ FD = a+b’ F’ = (ab’)’ = a’+b Chap 3

Multiplying Out and Factoring Multiplying out: Change a POS form into the corresponding SOP form. Factoring: SOP to POS X(Y+Z) = XY + XZ (X+Y)(X+Z) = X + YZ (X+Y)(X’+Z) = XZ + X’Y Example: (Q+ AB’)(C’D + Q’) = QC’D + Q’AB Proof (X+Y)(X’+Z) = XZ + X’Y. If X = 0, Y =Y If X = 1, Z =Z. So it is always valid. Chap 3

Exclusive OR Truth table XOR: Count No. of 1s, true if this is an odd number. XOR = Modulo2 operation (add without carry) X + Y X Y 0 0 0 1 1 0 1 1 1 Chap 3

Exclusive OR XOR theorems X  0 = X X  1 = X’ X  X = 0 X  X’ = 1 X  Y = Y  X = X’Y + XY’ = (X+Y)(XY)’ = (X+Y)(X’+Y’) = X’Y + XY’. (X  Y)  Z = X  (Y  Z) = X  Y  Z X(YZ) = XY  X Z (X  Y)’ = X  Y’ = X’  Y = XY +X’Y’ Proof of distributive law: XY ⊕ XZ = XY(XZ)’ + (XY)’XZ = XY(X’+Z’) + (X’+Y’)XZ = XYZ’ +XY’Z = X (YZ’ +Y’Z) = X (Y ⊕ Z) Chap 3

Exclusive OR: XOR XOR logic Chap 3 Proof of distributive law: XY ⊕ XZ = XY(XZ)’ + (XY)’XZ = XY(X’+Z’) + (X’+Y’)XZ = XYZ’ +XY’Z = X (YZ’ +Y’Z) = X (Y ⊕ Z) Chap 3

Equivalence X  Y = XY + X’Y’ Equivalence is the complement of the XOR. Equivalence = XOR’ XY + X’Y’ = (X’Y + XY’)’ Exclusive-NOR gate. X Y X  Y 0 0 0 1 1 0 1 1 1 Chap 3

Equivalence: XNOR X  Y = XY + X’Y’ Chap 3

Positive Logic and Negative Logic Higher voltage level represents a logic 1, and lower level represents a logic 0. The function realized for negative logic is the dual of the function for positive logic. For a given set of input voltages, the output voltage is the same in both cases (positive and negative logic). Chap 3

Positive Logic and Negative Logic If we use positive logic to determine the logic function, it is an OR gate. If we use negative logic to determine the logic function, it is an AND gate. Chap 3

Why 1 and 0? Noise margin: A digital circuit might be designed to swing between 0.0 and 1.2 volts, with anything below 0.2 volts (VL) considered a '0', and anything above 1.0 volts considered a '1'. Then the noise margin for a '0' would be the amount that a signal is below 0.2 volts, and the noise margin for a '1' would be the amount by which a signal exceeds 1.0 volt (VH). time Chap 3

Noise margin How much noise can a gate input see before it does not recognize the input ? Logic level matching: levels at the output of one gate must be sufficient to drive next gate Chap 3

Why digital? xy x y time x y xy Noise Chap 3