CHAPTER 2 Boolean Algebra

Slides:



Advertisements
Similar presentations
Chapter 2 Logic Circuits.
Advertisements

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
Digital Logic Design ESGD2201
Boolean Algebra and Logic Simplification. Boolean Addition & Multiplication Boolean Addition performed by OR gate Sum Term describes Boolean Addition.
Digital Logic Design Adil Waheed. BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION AND gate F = A.B OR gate F = A + B NOT gate F = A NAND gate F = A.B NOR gate.
طراحی مدارهای منطقی نیمسال دوم دانشگاه آزاد اسلامی واحد پرند.
©2010 Cengage Learning CHAPTER 2 BOOLEAN ALGEBRA 2.1Introduction 2.2Basic Operations 2.3Boolean Expressions and Truth Tables 2.4Basic Theorems 2.5Commutative,
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.
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.
Laws (Theorems) of Boolean algebra Laws of Complementation oThe term complement means, to invert or to change 1's to 0's and 0's to 1's, for which purpose.
ECE 301 – Digital Electronics Basic Logic Operations, Boolean Expressions, and Boolean Algebra (Lecture #3)
6 - 1 Simplification Theorems Useful for simplification of expressions & therefore simplification of the logic network which results. XY + XY' = ( X +
05 BA2 Page 1 ECEn/CS 224 Boolean Algebra – Part 2.
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.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI
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.
CEC 220 Digital Circuit Design Boolean Algebra Friday, January 17 CEC 220 Digital Circuit Design Slide 1 of 22.
Floyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd Chapter 4 © 2008 Pearson Education.
BOOLEAN ALGEBRA – Digital Circuit 1 Choopan Rattanapoka.
Module –I Boolean Algebra Digital Design Amit Kumar Assistant Professor SCSE, Galgotias University, Greater Noida.
DKT 122/3 - DIGITAL SYSTEM I Chapter 4A:Boolean Algebra and Logic Simplification) Mohd ridzuan mohd nor
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION
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.
Lecture 5 More Boolean Algebra A B. Overview °Expressing Boolean functions °Relationships between algebraic equations, symbols, and truth tables °Simplification.
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC. De Morgan’s Theorem De Morgan’s Theorem.
DE MORGAN’S THEOREM. De Morgan’s Theorem De Morgan’s Theorem.
DeMorgan’s Theorem DeMorgan’s 2 nd Theorem The complement of a sum of variables is equal to the product of the complemented variables. A + B = A. B Applying.
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.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Introduction to Digital Electronics Lecture.
©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.
Fundamentals of Logic Design, 7 th editionRoth/Kinney © 2014 Cengage Learning Engineering. All Rights Reserved. 1 Boolean Algebra (continued) UNIT 3.
ECE 301 – Digital Electronics
Logic Gates and Boolean Algebra
De Morgan’s Theorem,.
Unit 2 Boolean Algebra.
Gate Circuits and Boolean Equations
CHAPTER 3 BOOLEAN ALGEBRA (continued)
CHAPTER 2 Boolean Algebra
CHAPTER 1 : INTRODUCTION
CHAPTER 2 Boolean Algebra This chapter in the book includes:
Princess Sumaya University
Boolean Algebra – Part 1 ECEn 224.
Boolean Expressions Lecture No. 10.
SLIDES FOR CHAPTER 2 BOOLEAN ALGEBRA
TN 221: DIGITAL ELECTRONICS 1
FIGURES FOR CHAPTER 2 BOOLEAN ALGEBRA
Lecture 3: Boolean Algebra
CHAPTER 2 Boolean Algebra
Boolean Algebra.
Boolean Algebra & Logic Circuits
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 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

Topics introduced in this chapter: 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

Boolean Variable : X, Y, … can only have two state values (0, 1) 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)

2.2 Basic Operations NOT(Inverter) Gate Symbol

A B C = A · B 0 0 0 1 1 0 1 1 1 2.2 Basic Operations AND Truth Table 0 0 0 1 1 0 1 1 1 Truth Table Gate Symbol

A B C = A + B 0 0 0 1 1 0 1 1 1 2.2 Basic Operations OR Truth Table 0 0 0 1 1 0 1 1 1 Truth Table Gate Symbol

2.2 Basic Operations Apply to Switch AND OR

2.3 Boolean Expressions and Truth Tables Logic Expression : Circuit of logic gates :

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

2-Input Circuit and Truth Table 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

Proof using Truth Table 2.3 Boolean Expressions and Truth Tables Proof using Truth Table n times n variable needs rows TABLE 2.1 A B C B’ AB’ AB’ + C A + C B’ + C (A + C) (B’ + C) 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 1

2.4 Basic Theorems Operations with 0, 1 Idempotent Laws Involution Laws Complementary Laws Proof Example

2.4 Basic Theorems with Switch Circuits

2.4 Basic Theorems with Switch Circuits

2.5 Commutative, Associative, and Distributive Laws Commutative Laws: Associative Laws: Proof of Associate Law for AND X Y Z XY YZ (XY)Z X(YZ) 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 0 0 0 1 1 0 1 1 0 0 1 1

Associative Laws for AND and OR

2.5 Commutative, Associative, and Distributive Laws OR Distributive Laws: Valid only Boolean algebra not for ordinary algebra Proof

2.6 Simplification Theorems Useful Theorems for Simplification Proof Proof with Switch

Equivalent Gate Circuits 2.6 Simplification Theorems Equivalent Gate Circuits ===

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

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:

Circuits for SOP and POS form Sum of product form: Product of sum form:

DeMorgan’s Laws for n variables 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

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