CHAPTER 3 SETS AND BOOLEAN ALGEBRA

Slides:



Advertisements
Similar presentations
Boolean Algebra and Logic Gates
Advertisements

INTRODUCTION LOGICAL OPERATIONS TRUTH TABLE AND RULES.
Types of Logic Circuits
Logical Systems Synthesis.
Chapter 2 Logic Circuits.
1 Homework Reading –Tokheim, Section 5-1, 5-2, 5-3, 5-7, 5-8 Machine Projects –Continue on MP4 Labs –Continue labs with your assigned section.
1 Section 10.1 Boolean Functions. 2 Computers & Boolean Algebra Circuits in computers have inputs whose values are either 0 or 1 Mathematician George.
Lecture 3. Boolean Algebra, Logic Gates
Boolean Algebra. Introduction 1854: Logical algebra was published by George Boole  known today as “Boolean Algebra” 1854: Logical algebra was published.
Section Section Summary Introduction to Boolean Algebra Boolean Expressions and Boolean Functions Identities of Boolean Algebra Duality The Abstract.
Boolean Algebra and Digital Circuits
Discrete Mathematics and Its Applications.  The English mathematician George Boole ( ) sought to give symbolic form to Aristotle's system of.
Dr. Eng. Farag Elnagahy Office Phone: King ABDUL AZIZ University Faculty Of Computing and Information Technology CPCS 222.
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.
ACOE1611 Combinational Logic Circuits Reference: M. Mano, C. Kime, “Logic and Computer Design Fundamentals”, Chapter 2.
Linear Algebra. Circuits The circuits in computers and other input devices have inputs, each of which is either a 0 or 1, the output is also 0s and 1s.
1 EENG 2710 Chapter 2 Algebraic Methods For The Analysis and Synthesis of Logic circuits.
CHAPTER 1 SETS, FUNCTIONs, ELEMENTARY LOGIC & BOOLEAN ALGEBRAs
1 Lect # 2 Boolean Algebra and Logic Gates Boolean algebra defines rules for manipulating symbolic binary logic expressions. –a symbolic binary logic expression.
ECE 3110: Introduction to Digital Systems Chapter #4 Review.
Chapter 2 Boolean Algebra and Minimization Techniques.
Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337.
Logic Gates M. AL-Towaileb1. Introduction Boolean algebra is used to model the circuitry of electronic devices. Each input and each output of such a device.
1 Homework Reading –Tokheim, Section 5-1, 5-2, 5-3, 5-7, 5-8 Machine Projects –Continue on MP4 Labs –Continue labs with your assigned section.
CEC 220 Digital Circuit Design SOP and POS forms Friday, January 23 CEC 220 Digital Circuit Design Slide 1 of 17.
ECE DIGITAL LOGIC LECTURE 8: BOOLEAN FUNCTIONS Assistant Prof. Fareena Saqib Florida Institute of Technology Spring 2016, 02/11/2016.
BOOLEAN ALGEBRA LOGIC GATES. Introduction British mathematician George Boole( ) was successful in finding the link between logic and mathematics.
School of Computer and Communication Engineering, UniMAP DKT 122/3 - DIGITAL SYSTEM I Chapter 4A:Boolean Algebra and Logic Simplification) Mohd ridzuan.
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC. De Morgan’s Theorem De Morgan’s Theorem.
Logic Gates and Boolean Algebra Introduction to Logic II.
Boolean Algebra.
Chapter 12. Chapter Summary Boolean Functions Representing Boolean Functions Logic Gates Minimization of Circuits (not currently included in overheads)
Boolean Algebra & Logic Gates
Digital Logic.
Department of Preparatory Year, Umm Al Qura University
Chapter 11 (Part 1): Boolean Algebra
Computer Science 210 Computer Organization
De Morgan’s Theorem,.
Lecture 4 Nand, Nor Gates, CS147 Circuit Minimization and
ECE 2110: Introduction to Digital Systems
Unit 2 Boolean Algebra.
ECE 20B, Winter 2003 Introduction to Electrical Engineering, II LECTURE NOTES #2 Instructor: Andrew B. Kahng (lecture)
Boolean Algebra & De Morgan's Theorems
Logic Gates and Boolean Algebra
CS 105 Digital Logic Design
ECE 3110: Introduction to Digital Systems
CHAPTER 1 : INTRODUCTION
… and now for the Final Topic:
Boolean Algebra.
Princess Sumaya University
ECE 331 – Digital System Design
Speaker: Fuw-Yi Yang 楊伏夷 伏夷非征番, 道德經 察政章(Chapter 58) 伏者潛藏也
Computer Science 210 Computer Organization
Boolean Algebra.
CMSC Discrete Structures
Logic Gates L Al-zaid Math110.
BASIC & COMBINATIONAL LOGIC CIRCUIT
Yes, No, Maybe... BooleanAlgebra 12/10/2018.
Applied Discrete Mathematics Week 4: Functions
Boolean Algebra.
Logic Gates Dr.Halimah Alshehri.
Circuits, Truth Tables & Boolean Algebra
Karnaugh Maps (K maps).
Analysis of Logic Circuits Example 1
Analysis of Logic Circuits Example 1
Principles & Applications
Laws & Rules of Boolean Algebra
Chapter 2 Digital Design and Computer Architecture, 2nd Edition
CMSC Discrete Structures
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Presentation transcript:

CHAPTER 3 SETS AND BOOLEAN ALGEBRA PART II – BOOLEAN ALGEBRA & LOGIC CIRCUITS

SETS AND BOOLEAN ALGEBRA 3.5 : EXCURSION: LOGIC CIRCUITS CHAPTER 3 SETS AND BOOLEAN ALGEBRA 3.4 : BOOLEAN ALGEBRA 3.5 : EXCURSION: LOGIC CIRCUITS

3.4 BOOLEAN ALGEBRA INTRODUCTION CONNECTION BETWEEN LOGIC, SETS & BOOLEAN ALGEBRA BOOLEAN OPERATIONS BOOLEAN FUNCTION & EXPRESSION

INTRODUCTION Boolean algebra – provides the operations and the rules for working with the set {0,1} Boolean algebras named after George Boole, who is well known as a pioneer logic. The circuits can be constructed using any basic element that has two different states. Such elements include switches that can be either the on or the off position and optical devices that can either be lit or unlit. We are going to focus on the three operation: -Boolean Complement ; Boolean Sum ; Boolean Product

CONNECTION BETWEEN LOGIC, SETS AND BOOLEAN ALGEBRA PAGE 224

BOOLEAN OPERATIONS AND Also known as Boolean Product. Denoted = dot (.) Has the following values: 1.1=1, 1.0=0, 0.1=0, 0.0=0 OR Also known as Boolean Sum Denoted = sum (+) Has the following values: 1+1=1, 1+0=1, 0+1=1, 0+0=0

BOOLEAN OPERATIONS NOT Also known as complement. Denoted = bar ( ), negation ( ), (‘) It interchanges 0 and 1. Truth Table for AND, OR, NOT operations: a b ab a+b 1

Example 1. Find the value of Answer : 2.

BOOLEAN Function & EXPRESSIONS Let B = {0,1}. The variables x is called a Boolean variable if it assumes values only from B. A function from , the set to B is called Boolean function of degree n . Boolean function can be represented using expressions made up from variables and Boolean operation. The Boolean Expressions in the variables are defined as follows: are Boolean expressions If are Boolean expression then are Boolean expressions.

Example Give a Boolean expression for the Boolean function F(x,y) as defined by the following Answer: is a Boolean function of degree 2 x y F(x,y) 1 Only refer to value 1

BOOLEAN FUNCTIONS & Boolean expressions Each Boolean expression represents a Boolean function. The values of this function are obtained by substituting 0 and 1 for the variables in the expression. Tables that listing the values of function f for all elements of are often called the truth table for f . Example Find the values of the Boolean function represented by 1. 2. 3.

EXERCISE Use a table to express the values of each of these Boolean functions 1. 2. 3. 4. 5. 6. 7.

IDENTITIES OF BOOLEAN ALGEBRA Boolean algebra satisfies many of the same laws as ordinary algebra - addition and multiplication. The following laws are common to both kinds of algebra:

3.5 EXCURSION: LOGIC CIRCUITS LOGIC GATES SIMPLIFYING GATES DUALITY KARNAUGH MAPS CANONICAL FORM

LOGIC GATES A computer or other electric device is made up of a number of circuits. Each circuit can be designed using the rules of Boolean algebra. The basic element of circuits – gates. We will construct combinational circuits using five types of elements: Inverter, OR gate, AND gate, NOR gate and NAND gate

GATES Inverter OR gate AND gate NOR gate NAND gate

LOGIC gates Inverter/NOT: Accept one Boolean variable as input, and produces the complement of this value as output. A A’ 1

LOGIC gates OR gate: The inputs to this gate are the values of two or more Boolean variables, while the output is the sum of their values. A B A+B 1

LOGIC gates AND gate: The inputs to this gate are the values of two or more Boolean variables, while the output is the Boolean product of their values. A B AB 1

LOGIC gates COMBINATION OF GATES NOR Gate This is a NOT-OR gate which is equal to an OR gate followed by a NOT gate. *The outputs of all NOR gates are low if any of the inputs are high. A B 1

LOGIC gates COMBINATION OF GATES NAND Gate This is a NOT-AND gate which is equal to an AND gate followed by a NOT gate. *The outputs of all NAND gates are high if any of the inputs are low. A B 1

EXERCISE Drawing the circuits that produces the output Construct circuits that produce the following outputs: 1. 5. 2. 6. 3. 7. 4. 8.

Given the circuit, find the Boolean function and the output 1 2

3

SIMPLIFYING GATES DUALITY DUALITY METHOD TO SIMPLIFY KARNAUGH MAPS

DUALITY

EXAMPLE

EXAMPLE CAN SIMPLIFY THE BOOLEAN EXPRESSION

CANONICAL FORM Consider a function of three variables x, y, and z. Since each variable may be complemented or uncomplemented, there are different combinations. When combinations are combined with AND, they are called Minterms. When Combinations are combined with OR, they are called Maxterms. Minterm Canonical Form – Standard Products. Maxterm Canonical Form - Standard Sums.

MINTERM & MAXTERM CANONICAL FORM For n Variables there are 2^n Minterms/Maxterms

MINTERM CANONICAL FORM Determine the Set of Minterms for which a function is 1-valued. These are called “Minterms of the Function” Combine all Minterms with a + Operation The sum of minterms that represents the function is called – the sum of products expansion.

MAXTERM CANONICAL FORM Determine the Set of Maxterms for which a function is 0-valued. These are called “Maxterms of the Function” The product of maxterms that represents the function is called – the product-of-sum expansion.

Exercise Find the sum-of-product and the product-of-sum expansion for the function 1. 2. 3. 4. After you get answer for that question, simplify the SOP .

MORE PRACTICE MORE EXPERIENCE THANK YOU MORE PRACTICE MORE EXPERIENCE