Boolean Algebra.

Slides:



Advertisements
Similar presentations
EET 1131 Unit 5 Boolean Algebra and Reduction Techniques
Advertisements

INTRODUCTION LOGICAL OPERATIONS TRUTH TABLE AND RULES.
Boolean rules for simplification Dr. Ahmed Telba.
Relationship Between Basic Operation of Boolean and Basic Logic Gate The basic construction of a logical circuit is gates Gate is an electronic circuit.
EET 1131 Unit 5 Boolean Algebra and Reduction Techniques
Boolean Algebra. Introduction 1854: Logical algebra was published by George Boole  known today as “Boolean Algebra” 1854: Logical algebra was published.
Logic Gates Circuits to manipulate 0’s and 1’s. 0’s and 1’s used for numbers Also to make decisions within the computer. In that context, 1 corresponds.
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.
Boolean Algebra and Logic Simplification
CHAPTER 2 Boolean Algebra
 Seattle Pacific University EE Logic System DesignSOP-POS-1 The Connection: Truth Tables to Functions abcF abcF
ECE 331 – Digital System Design
Computer Science 210 Computer Organization Introduction to Boolean Algebra.
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.
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.
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)
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC
Digital Logic Design Week 4 Boolean algebra. Laws and rules De Morgan’s theorem Analysis of logic circuits Standard forms Project 1 preparation.
1 EENG 2710 Chapter 2 Algebraic Methods For The Analysis and Synthesis of Logic circuits.
© BYU 03 BA1 Page 1 ECEn 224 Boolean Algebra – Part 1.
CEC 220 Digital Circuit Design Boolean Algebra I Wed, Sept 2 CEC 220 Digital Circuit Design Slide 1 of 13.
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.
Chapter 2 Boolean Algebra and Minimization Techniques.
DKT 122/3 - DIGITAL SYSTEM I Chapter 4A:Boolean Algebra and Logic Simplification) Mohd ridzuan mohd nor
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC
Digital Logic Design Dr. Oliver Faust Chapter 4
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.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Introduction to Digital Electronics Lecture.
Boolean Operations and Expressions Addition = = = = 1 Multiplication 0 * 0 = 0 0 * 1 = 0 1 * 0 = 0 1 * 1 = 1.
EET 1131 Unit 5 Boolean Algebra and Reduction Techniques
Boolean Algebra & Logic Gates
ECE 301 – Digital Electronics
Department of Preparatory Year, Umm Al Qura University
Chapter 3 Notes – Part II Review Questions
Computer Science 210 Computer Organization
De Morgan’s Theorem,.
DeMorgan’s Theorem DeMorgan’s 2nd Theorem
Boolean Algebra & De Morgan's Theorems
Logic Gates and Boolean Algebra
CHAPTER 2 Boolean Algebra
Logic Gates.
CHAPTER 1 : INTRODUCTION
CHAPTER 2 Boolean Algebra This chapter in the book includes:
Boolean Algebra – Part 1 ECEn 224.
CHAPTER 3 SETS AND BOOLEAN ALGEBRA
TN 221: DIGITAL ELECTRONICS 1
Boolean Algebra & Logic Circuits
BASIC & COMBINATIONAL LOGIC CIRCUIT
Computer Science 210 Computer Organization
Logic Gates.
Boolean Algebra.
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION Part (a)
Gates Type AND denoted by X.Y OR denoted by X + Y NOR denoted by X + Y
Digital Fundamentals Floyd Chapter 4 Tenth Edition
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Analysis of Logic Circuits Example 1
Analysis of Logic Circuits Example 1
BOOLEAN ALGEBRA.
Combinational Logic Circuit
Laws & Rules of Boolean Algebra
Boolean Algebra S.SADHISH PRABHU.
Presentation transcript:

Boolean Algebra

Introduction 1854: Logical algebra was published by George Boole  known today as “Boolean Algebra” It’s a convenient way and systematic way of expressing and analyzing the operation of logic circuits. 1938: Claude Shannon was the first to apply Boole’s work to the analysis and design of logic circuits.

Boolean Operations & Expressions Variable – a symbol used to represent a logical quantity. Complement – the inverse of a variable and is indicated by a bar over the variable. Literal – a variable or the complement of a variable.

Boolean Addition Boolean addition is equivalent to the OR operation A sum term is produced by an OR operation with no AND ops involved. i.e. A sum term is equal to 1 when one or more of the literals in the term are 1. A sum term is equal to 0 only if each of the literals is 0. 0+0 = 0 0+1 = 1 1+0 = 1 1+1 = 1

Boolean Multiplication Boolean multiplication is equivalent to the AND operation A product term is produced by an AND operation with no OR ops involved. i.e. A product term is equal to 1 only if each of the literals in the term is 1. A product term is equal to 0 when one or more of the literals are 0. 0·0 = 0 0·1 = 0 1·0 = 0 1·1 = 1

Laws & Rules of Boolean Algebra The basic laws of Boolean algebra: The commutative laws (กฏการสลับที่) The associative laws (กฏการจัดกลุ่ม) The distributive laws (กฏการกระจาย)

Commutative Laws The commutative law of addition for two variables is written as: A+B = B+A The commutative law of multiplication for two variables is written as: AB = BA A B A+B B+A B A A B AB B+A B A

Associative Laws The associative law of addition for 3 variables is written as: A+(B+C) = (A+B)+C The associative law of multiplication for 3 variables is written as: A(BC) = (AB)C A A A+B A+(B+C) B B (A+B)+C C B+C C A A AB A(BC) B B (AB)C C BC C

Distributive Laws The distributive law is written for 3 variables as follows: A(B+C) = AB + AC A AB B B+C B C X X A A C AC X=A(B+C) X=AB+AC

Rules of Boolean Algebra ___________________________________________________________ A, B, and C can represent a single variable or a combination of variables.

DeMorgan’s Theorems DeMorgan’s theorems provide mathematical verification of: the equivalency of the NAND and negative-OR gates the equivalency of the NOR and negative-AND gates.

DeMorgan’s Theorems The complement of two or more ANDed variables is equivalent to the OR of the complements of the individual variables. The complement of two or more ORed variables is equivalent to the AND of the complements of the individual variables. NAND Negative-OR NOR Negative-AND

DeMorgan’s Theorems (Exercises) Apply DeMorgan’s theorems to the expressions:

DeMorgan’s Theorems (Exercises) Apply DeMorgan’s theorems to the expressions:

Boolean Analysis of Logic Circuits Boolean algebra provides a concise way to express the operation of a logic circuit formed by a combination of logic gates so that the output can be determined for various combinations of input values.

Boolean Expression for a Logic Circuit To derive the Boolean expression for a given logic circuit, begin at the left-most inputs and work toward the final output, writing the expression for each gate. C CD D B+CD B A(B+CD) A

Constructing a Truth Table for a Logic Circuit Once the Boolean expression for a given logic circuit has been determined, a truth table that shows the output for all possible values of the input variables can be developed. Let’s take the previous circuit as the example: A(B+CD) There are four variables, hence 16 (24) combinations of values are possible.

Constructing a Truth Table for a Logic Circuit Evaluating the expression To evaluate the expression A(B+CD), first find the values of the variables that make the expression equal to 1 (using the rules for Boolean add & mult). In this case, the expression equals 1 only if A=1 and B+CD=1 because A(B+CD) = 1·1 = 1

Constructing a Truth Table for a Logic Circuit Evaluating the expression (cont’) Now, determine when B+CD term equals 1. The term B+CD=1 if either B=1 or CD=1 or if both B and CD equal 1 because B+CD = 1+0 = 1 B+CD = 0+1 = 1 B+CD = 1+1 = 1 The term CD=1 only if C=1 and D=1

Constructing a Truth Table for a Logic Circuit Evaluating the expression (cont’) Summary: A(B+CD)=1 When A=1 and B=1 regardless of the values of C and D When A=1 and C=1 and D=1 regardless of the value of B The expression A(B+CD)=0 for all other value combinations of the variables.

Constructing a Truth Table for a Logic Circuit Putting the results in truth table format INPUTS OUTPUT A B C D A(B+CD) 1 INPUTS OUTPUT A B C D A(B+CD) 1 INPUTS OUTPUT A B C D A(B+CD) 1 INPUTS OUTPUT A B C D A(B+CD) 1 A(B+CD)=1 When A=1 and B=1 regardless of the values of C and D When A=1 and C=1 and D=1 regardless of the value of B