CHAPTER 2 Boolean Algebra This chapter in the book includes:

Slides:



Advertisements
Similar presentations
Boolean Algebra and Logic Gates
Advertisements

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.
طراحی مدارهای منطقی نیمسال دوم دانشگاه آزاد اسلامی واحد پرند.
©2010 Cengage Learning CHAPTER 2 BOOLEAN ALGEBRA 2.1Introduction 2.2Basic Operations 2.3Boolean Expressions and Truth Tables 2.4Basic Theorems 2.5Commutative,
CHAPTER 2 Boolean Algebra
Logic Design CS221 1 st Term Boolean Algebra Cairo University Faculty of Computers and Information.
©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.
Combinational Logic 1.
Module 4.  Boolean Algebra is used to simplify the design of digital logic circuits.  The design simplification are based on: Postulates of Boolean.
Boolean Logic and Circuits ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
6 - 1 Simplification Theorems Useful for simplification of expressions & therefore simplification of the logic network which results. XY + XY' = ( X +
©2004 Brooks/Cole FIGURES FOR CHAPTER 3 BOOLEAN ALGEBRA (continued) Click the mouse to move to the next page. Use the ESC key to exit this chapter. This.
1 BOOLEAN ALGEBRA Basic mathematics for the study of logic design is Boolean Algebra Basic laws of Boolean Algebra will be implemented as switching devices.
Boolean Algebra – II. Outline  Basic Theorems of Boolean Algebra  Boolean Functions  Complement of Functions  Standard Forms.
A. Abhari CPS2131 Chapter 2: Boolean Algebra and Logic Gates Topics in this Chapter: Boolean Algebra Boolean Functions Boolean Function Simplification.
1 Lect # 2 Boolean Algebra and Logic Gates Boolean algebra defines rules for manipulating symbolic binary logic expressions. –a symbolic binary logic expression.
Logic Circuits Lecture 3 By Amr Al-Awamry. Basic Definitions Binary Operators  AND z = x y = x yz=1 if x=1 AND y=1  OR z = x + y z=1 if x=1 OR y=1 
© BYU 03 BA1 Page 1 ECEn 224 Boolean Algebra – Part 1.
Boolean Algebra & Logic Circuits Dr. Ahmed El-Bialy Dr. Sahar Fawzy.
CONSENSUS THEOREM Choopan Rattanapoka.
CEC 220 Digital Circuit Design Boolean Algebra Friday, January 17 CEC 220 Digital Circuit Design Slide 1 of 22.
BOOLEAN ALGEBRA – Digital Circuit 1 Choopan Rattanapoka.
Boolean Algebra and Logic Gates
Module –I Boolean Algebra Digital Design Amit Kumar Assistant Professor SCSE, Galgotias University, Greater Noida.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 4 Dr. Shi Dept. of Electrical and Computer Engineering.
CEC 220 Digital Circuit Design Boolean Algebra II Fri, Sept 4 CEC 220 Digital Circuit Design Slide 1 of 13.
Boolean Algebra. BOOLEAN ALGEBRA Formal logic: In formal logic, a statement (proposition) is a declarative sentence that is either true(1) or false (0).
Boolean Algebra ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
©2010 Cengage Learning SLIDES FOR CHAPTER 3 BOOLEAN ALGEBRA (continued) Click the mouse to move to the next page. Use the ESC key to exit this chapter.
CHAPTER 2 Boolean algebra and Logic gates
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
Speaker: Fuw-Yi Yang 楊伏夷 伏夷非征番, 道德經 察政章(Chapter 58) 伏者潛藏也
ECE 301 – Digital Electronics
De Morgan’s Theorem,.
Boolean Algebra.
14:332:231 DIGITAL LOGIC DESIGN Boolean Algebra
Unit 2 Boolean Algebra.
ECE 20B, Winter 2003 Introduction to Electrical Engineering, II LECTURE NOTES #2 Instructor: Andrew B. Kahng (lecture)
CS 105 Digital Logic Design
Lecture 2 Boolean Algebra Basic
Gate Circuits and Boolean Equations
CHAPTER 3 BOOLEAN ALGEBRA (continued)
CHAPTER 2 Boolean Algebra
CHAPTER 1 : INTRODUCTION
Lecture 3 Algebraic Simplification
Princess Sumaya University
Boolean Algebra – Part 1 ECEn 224.
Lecture 2-1 Boolean Algebra
SLIDES FOR CHAPTER 2 BOOLEAN ALGEBRA
Topic1: Boolean Algebra José Nelson Amaral
FIGURES FOR CHAPTER 2 BOOLEAN ALGEBRA
Lecture 3: Boolean Algebra
CHAPTER 2 Boolean Algebra
Boolean Algebra.
Boolean Algebra.
Boolean Algebra & Logic Circuits
Chapter 2 Boolean Algebra and Logic Gate
Boolean Algebra Introduction CSCI 240
Boolean Algebra.
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION Part (a)
Chapter 2 Introduction to Logic Circuits
CHAPTER 3 BOOLEAN ALGEBRA (continued)
COMS 361 Computer Organization
BOOLEAN ALGEBRA.
Presentation transcript:

CHAPTER 2 Boolean Algebra This chapter in the book includes: Objectives Study Guide 2.1 Introduction 2.2 Basic Operation 2.3 Boolean Expression and Truth Table 2.4 Basic Theorem 2.5 Commutative, Associative and Distributive Laws 2.6 Simplification Theorem 2.7 Multiplying Out and Factoring 2.8 DeMorgan’s Laws Problems Laws and Theorems of Boolean Algebra Fundamentals of Logic Design Chap. 2

Objectives Topics introduced in this chapter: Understand the basic operations and laws of Boolean algebra Relate these operations and laws to AND, OR, NOT gates and switches Prove these laws using a truth table Manipulation of algebraic expression using - Multiplying out - Factoring - Simplifying - Finding the complement of an expression Fundamentals of Logic Design Chap. 2

2.1 Introduction Basic mathematics for logic design: Boolean algebra Restrict to switching circuits( Two state values 0, 1) – Switching algebra Boolean Variable : X, Y, … can only have two state values (0, 1) representing True(1) False (0) Fundamentals of Logic Design Chap. 2

2.2 Basic Operations NOT(Inverter) Gate Symbol Fundamentals of Logic Design Chap. 2

2.2 Basic Operations AND Truth Table Gate Symbol Fundamentals of Logic Design Chap. 2

2.2 Basic Operations OR Truth Table Gate Symbol Fundamentals of Logic Design Chap. 2

2.2 Basic Operations Apply to Switch AND OR Fundamentals of Logic Design Chap. 2

2.3 Boolean Expressions and Truth Tables Logic Expression : Circuit of logic gates : Fundamentals of Logic Design Chap. 2

2.3 Boolean Expressions and Truth Tables Logic Expression : Circuit of logic gates : Logic Evaluation : A=B=C=1, D=E=0 Literal : a variable or its complement in a logic expression 10 literals Fundamentals of Logic Design Chap. 2

2.3 Boolean Expressions and Truth Tables 2-Input Circuit and Truth Table A B A’ F = A’ + B 0 0 0 1 1 0 1 1 1 Fundamentals of Logic Design Chap. 2

2.3 Boolean Expressions and Truth Tables Proof using Truth Table n times n variable needs rows TABLE 2.1 Fundamentals of Logic Design Chap. 2

2.4 Basic Theorems Operations with 0, 1 Idempotent Laws Involution Laws Complementary Laws Proof Example Fundamentals of Logic Design Chap. 2

2.4 Basic Theorems with Switch Circuits Fundamentals of Logic Design Chap. 2

2.4 Basic Theorems with Switch Circuits Fundamentals of Logic Design Chap. 2

2.4 Basic Theorems with Switch Circuits Fundamentals of Logic Design Chap. 2

2.5 Commutative, Associative, and Distributive Laws Commutative Laws: Associative Laws: Proof of Associate Law for AND Fundamentals of Logic Design Chap. 2

Associative Laws for AND and OR Figure 2-3: Associative Law for AND and OR Fundamentals of Logic Design Chap. 2

2.5 Commutative, Associative, and Distributive Laws OR Distributive Laws: Valid only Boolean algebra not for ordinary algebra Proof Fundamentals of Logic Design Chap. 2

2.6 Simplification Theorems Useful Theorems for Simplification Proof Proof with Switch Fundamentals of Logic Design Chap. 2

2.6 Simplification Theorems Equivalent Gate Circuits === Figure 2-4: Equivalent Gate Circuits Fundamentals of Logic Design Chap. 2

2.6 Simplification Theorems Simplify (p. 43-44) Fundamentals of Logic Design Chap. 2

2.7 Multiplying Out and Factoring To obtain a sum-of-product form  Multiplying out using distributive laws Sum of product form: Still considered to be in sum of product form: Not in Sum of product form: Multiplying out and eliminating redundant terms Fundamentals of Logic Design Chap. 2

2.7 Multiplying Out and Factoring To obtain a product of sum form  all sums are the sum of single variable Product of sum form: Still considered to be in product of sum form: Not in Product of sum form : Fundamentals of Logic Design Chap. 2

2.7 Multiplying Out and Factoring EXAMPLE 1: Factor A + B'CD. This is of the form X + YZ where X = A, Y = B', and Z = CD, so A + B'CD = (X + Y)(X + Z) = (A + B')(A + CD)   A + CD can be factored again using the second distributive law, so A + B'CD = (A + B')(A + C)(A + D) EXAMPLE 2: Factor AB' + C'D Fundamentals of Logic Design Chap. 2

2.7 Multiplying Out and Factoring EXAMPLE 3: Factor C'D + C'E' + G'H Fundamentals of Logic Design Chap. 2

Circuits for SOP and POS form Sum of product form: Product of sum form: Fundamentals of Logic Design Chap. 2

2.8 DeMorgan’s Laws DeMorgan’s Laws Proof X Y X’ Y’ X + Y ( X + Y )’ XY ( XY )’ X’ + Y’ 0 0 0 1 1 0 1 1 1 DeMorgan’s Laws for n variables Example Fundamentals of Logic Design Chap. 2

2.8 DeMorgan’s Laws Fundamentals of Logic Design Chap. 2

2.8 DeMorgan’s Laws Inverse of A’B+AB’ 0 0 0 1 1 0 1 1 1 Dual: ‘dual’ is formed by replacing AND with OR, OR with AND, 0 with 1, 1 with 0 Fundamentals of Logic Design Chap. 2

LAWS AND THEOREMS (a) Operations with 0 and 1: 1. X + 0 = X 1D. X • 1 = X 2. X +1 = 1 2D. X • 0 = 0   Idempotent laws: 3. X + X = X 3D. X • X = X Involution law: 4. (X')' = X Laws of complementarity: 5. X + X' = 1 5D. X • X' = 0 Fundamentals of Logic Design Chap. 2

LAWS AND THEOREMS (b) Commutative laws: 6. X + Y = Y + X 6D. XY = YX   Associative laws: 7. (X + Y) + Z = X + (Y + Z) 7D. (XY)Z = X(YZ) = XYZ = X + Y + Z Distributive laws: 8. X(Y + Z) = XY + XZ 8D. X + YZ = (X + Y)(X + Z) Simplification theorems: 9. XY + XY' = X 9D. (X + Y)(X + Y') = X 10. X + XY = X 10D. X(X + Y) = X 11. (X + Y')Y = XY 11D. XY' + Y = X + Y Fundamentals of Logic Design Chap. 2

LAWS AND THEOREMS (c) DeMorgan's laws: 12. (X + Y + Z +...)' = X'Y'Z'... 12D. (XYZ...)' = X' + Y' + Z' +...   Duality: 13. (X + Y + Z +...)D = XYZ... 13D. (XYZ...)D = X + Y + Z +... Theorem for multiplying out and factoring: 14. (X + Y)(X' + Z) = XZ + X'Y 14D. XY + X'Z = (X + Z)(X' + Y) Consensus theorem: 15. XY + YZ + X'Z = XY + X'Z 15D. (X + Y)(Y + Z)(X' + Z) = (X + Y)(X' + Z) Fundamentals of Logic Design Chap. 2