Boolean Algebra1 BOOLEAN ALGEBRA Boolean Algebra2 BOOLEAN ALGEBRA -REVIEW Boolean Algebra was proposed by George Boole in 1853. Basically AND,OR NOT.

Slides:



Advertisements
Similar presentations
Boolean Algebra and Logic Gates
Advertisements

Three Special Functions
Prof. Sin-Min Lee Department of Computer Science
K-Map Simplification COE 202 Digital Logic Design Dr. Aiman El-Maleh
ECE 3110: Introduction to Digital Systems Simplifying Sum of Products using Karnaugh Maps.
Gate-level Minimization
Chapter 2 – Combinational Logic Circuits Part 1 – Gate Circuits and Boolean Equations Logic and Computer Design Fundamentals.
1 COMP541 Combinational Logic Montek Singh Jan 16, 2007.
EECC341 - Shaaban #1 Lec # 5 Winter Switching Algebra: Principle of Duality Any theorem or identity in switching algebra remains true if.
Design of Arithmetic Circuits – Adders, Subtractors, BCD adders
4/11/03 Minute Paper How does MS window work? Like how do we have the screen on the computer. Is it just a bunch of Binary #’s representing colors? When.
Computer Engineering (Logic Circuits) (Karnaugh Map)
Lecture 3. Boolean Algebra, Logic Gates
Chapter 2: Combinatorial Logic Circuits Illustration Pg. 32 Logic Circuit Diagrams - Circuit Optimization -2,3,4 level maps 48 elements Optimized to 25.
EECC341 - Shaaban #1 Lec # 7 Winter Combinational Circuit Minimization Canonical sum and product logic expressions do not provide a circuit.
Overview Part 2 – Circuit Optimization 2-4 Two-Level Optimization
Chapter 10.1 and 10.2: Boolean Algebra Based on Slides from Discrete Mathematical Structures: Theory and Applications.
BOOLEAN FUNCTION PROPERTIES
1 Why study Boolean Algebra? 4 It is highly desirable to find the simplest circuit implementation (logic) with the smallest number of gates or wires. We.
1 Logic Gates Digital Computer Logic Kashif Bashir WWW:
Lecture 2 – Boolean Algebra Lecturer: Amy Ching Date: 21 st Oct 2002.
Department of Computer Engineering
F = ∑m(1,4,5,6,7) F = A’B’C+ (AB’C’+AB’C) + (ABC’+ABC) Use X’ + X = 1.
Combinational Logic 1.
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.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. Circuit Optimization Logic and Computer Design Fundamentals.
Overview Part 1 – Gate Circuits and Boolean Equations
Circuit Minimization. It is often uneconomical to realize a logic directly from the first logic expression that pops into your head. Canonical sum and.
Gate-Level Minimization
Lecture 4 Nand, Nor Gates, CS147 Circuit Minimization and
A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map.
Chapter 5. Functional Decomposition and Symmetric Functions.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
1 Lect # 2 Boolean Algebra and Logic Gates Boolean algebra defines rules for manipulating symbolic binary logic expressions. –a symbolic binary logic expression.
1 COMP541 Combinational Logic - II Montek Singh Jan 18, 2012.
Boolean Algebra & Logic Circuits Dr. Ahmed El-Bialy Dr. Sahar Fawzy.
Chapter 2 Boolean Algebra and Minimization Techniques.
Logic Simplification-Using K-Maps
Karnaugh Map (K-Map) By Dr. M. Khamis Mrs. Dua’a Al Sinari.
1 Gate Level Minimization EE 208 – Logic Design Chapter 3 Sohaib Majzoub.
Digital Logic (Karnaugh Map). Karnaugh Maps Karnaugh maps (K-maps) are graphical representations of boolean functions. One map cell corresponds to a row.
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.
Digital Logic & Design Dr. Waseem Ikram Lecture 09.
Mu.com.lec 9. Overview Gates, latches, memories and other logic components are used to design computer systems and their subsystems Good understanding.
CHAPTER 2 Boolean algebra and Logic gates
Boolean Algebra & Logic Gates
Digital Logic.
CHAPTER 3 Simplification of Boolean Functions
Chapter 11 (Part 1): Boolean Algebra
Lecture 4 Nand, Nor Gates, CS147 Circuit Minimization and
BOOLEAN ALGEBRA Boolean Algebra.
Unit 2 Boolean Algebra.
Computer Organisation
ECE 20B, Winter 2003 Introduction to Electrical Engineering, II LECTURE NOTES #2 Instructor: Andrew B. Kahng (lecture)
CHAPTER 3 SETS AND BOOLEAN ALGEBRA
Chapter 10.1 and 10.2: Boolean Algebra
Chapter 10.1 and 10.2: Boolean Algebra
Chapter 10.1 and 10.2: Boolean Algebra
COMP541 Combinational Logic - II
The Map Method Truth table of fn is unique but fn can be in many different algebraic forms Simplification by using boolean algebra is often difficult because.
3-Variable K-map AB/C AB/C A’B’ A’B AB AB’
Analysis of Logic Circuits Example 1
Analysis of Logic Circuits Example 1
Chapter 10.1 and 10.2: Boolean Algebra
Boolean Algebra By: Asst Lec. Besma Nazar Nadhem
Circuit Simplification and
Computer Architecture
Boolean Algebra.
Presentation transcript:

Boolean Algebra1 BOOLEAN ALGEBRA

Boolean Algebra2 BOOLEAN ALGEBRA -REVIEW Boolean Algebra was proposed by George Boole in Basically AND,OR NOT can be expressed as Venn Diagrams

Boolean Algebra3

4

5

6

7

8

9

10

Boolean Algebra11

Boolean Algebra12

Boolean Algebra13

Boolean Algebra14

Boolean Algebra15 Min Terms and Max Terms Min Terms are those which occupy minimum area on Venn Diagram Max Terms are those which occupy maximum area on Venn diagram.

Boolean Algebra16

Boolean Algebra17

Boolean Algebra18

Boolean Algebra19 LOGIC GATES Nand and Nor gates are called Universal gates as any Boolean function can be realized with the help of Nand and Nor gates only

Boolean Algebra20 For example, NOT, OR, AND gates can be realized by only Nand gates.

Boolean Algebra21

Boolean Algebra22

Boolean Algebra23

Boolean Algebra24

Boolean Algebra25 SIMPLIFICATION OF BOOLEAN FUNCTIONS Algebraic Method Tabular Method K-Map Method Schienman Method

Boolean Algebra26 ALGEBRAIC METHOD Simplify using algebraic theorems Advantage: First Method based on Boolean Algebra theorems Disadvantage: No Suitable algorithm to apply (Trial type of method)

Boolean Algebra27 TABULAR METHOD Also called Quine McClusky Method Advantage: It may work for any no. of variables Disadvantage: Simplification from table is quite involved

Boolean Algebra28 K-MAP METHOD Karnaugh Map. Also called Vietch Karnaugh Method. Advantage: Simplest and Widely accepted Disadvantage: Applicable for only upto Six variables

Boolean Algebra29 SCHIENMAN METHOD Columnwise writing of minterms as decimal numbers and their simplification Advantage: Very suitable for computerization. Applicable for any number of variables. Parallel Processing Disadvantage: May not result in most simplified answer for some problems

Boolean Algebra30

Boolean Algebra31

Boolean Algebra32

Boolean Algebra33

Boolean Algebra34

Boolean Algebra35

Boolean Algebra36

Boolean Algebra37

Boolean Algebra38 Steps for simplification: Try to find single one’s –2 one’s –4 one’s –8 one’s Always see is a higher combination exists. If a higher combination exists, wait. Be sure that you have managed the lower combination first.

Boolean Algebra39

Boolean Algebra40

Boolean Algebra41

Boolean Algebra42

Boolean Algebra43

Boolean Algebra44

Boolean Algebra45

Boolean Algebra46

Boolean Algebra47

Boolean Algebra48

Boolean Algebra49

Boolean Algebra50

Boolean Algebra51

Boolean Algebra52

Boolean Algebra53

Boolean Algebra54

Boolean Algebra55

Boolean Algebra56

Boolean Algebra57

Boolean Algebra58

Boolean Algebra59 SYMMETRIC FUNCTIONS DEFINITION PROPERTIES IDENTIFICATION

Boolean Algebra60 Definition A switching function of n variables f(X1,X2….Xn) is called a symmetric (or totally symmetric), if and only if it is invariant under any permutation of its variables. It is partially symmetric in the variables Xi,Xj where {Xi,Xj} is a subset of {X1,X2…Xn} if and only if the interchange of the variables Xi,Xj leaves the function unchanged.

Boolean Algebra61 EXAMPLES f(x,y,z) = x’y’z+xy’z’+x’yz’ If we substitute x = y and y = x x = z and z = x y = z and z = y TOTALLY SYMMETRIC with respect to x,y,z f(x,y,z) = x’y’z + xy’z’ is Prettily Symmetric in the variables x and z. (x = z and z = x) f(x,y,z) = z’y’x + zy’x’ is a Symmetric function (x = y and y = x)

Boolean Algebra62 f(x,y,z) = y’x’z +yx’z’) is Not a Symmetric function This function is symmetric w.r.t x and z, but not symmetric w.r.t x and y. So Partially Symmetric f(x1,x2,x3) = x1’x2’x3’ + x1x2’x3+ x1’x2x3 is not symmetric w.r.t. the variables x1,x2,x3, but is symmetric w.r.t the variables x1,x2,x3’ >> f is not invariant under an interchange of variables x1,x3. That is, x3’x2’x1’+x3x2’x1 +x3’x2x1 != f >> But f is invariant under an interchange of variables x1,x3’ That is, x3x2’x1 + x3’x2’x1 + x3x2x1’ = f So f is symmetric w.r.t the variables x1,x2 and x3’

Boolean Algebra63 The variables in which a function is symmetric are called the VARIABLES OF SYMMETRY

Boolean Algebra64 Necessary and Sufficient condition for function f(x1,x2….xn) to be symmetric is that it may be specified by a set of numbers {a1,a2…ak} where 0<an<n,such that it assumes the value 1 when and only when ai of the variables are equal to 1. The numbers in the set are called the a-numbers

Boolean Algebra65 A Symmetric function is denoted by S a1,a2…ak (x1,x2….xn), where S designates the property of symmetry, the subscripts designate the a numbers, and (x1,x2….xn) designate the variables of symmetry.

Boolean Algebra66

Boolean Algebra67

Boolean Algebra68

Boolean Algebra69

Boolean Algebra70 IDENTIFICATION The switching function to be tested for symmetry is written as a table in which all the minterms contained in the function are listed by their binary representation

Boolean Algebra71 For example, the function f(x,y,z) =  (1,2,4,7) is written as shown: x y z a#The arithmetic sum of each column in the table is computed written under the column. This sum is referred to as a column sum. The number of 1’s in each 2 2 2row is written in the corresp. position in column a#. This no. is called ROW SUM.

Boolean Algebra72 If an n-variable function is symmetric and one of its row sums is equal to some number a, then, by definition, there must exist n!/(n-a)!a! rows which have the same row sum. If all the rows occur the required number of times, then all colums sums are identical

Boolean Algebra73 For the example, all column sums equal 2, and there are two row sums, 1 and 3, that must be checked for “Sufficient Occurrence”. >> 3!/(3-1)! = 3 ; 3!/(3-3)! = 1 Both row sums occur the required number of times. Therefore, the function is symmetric and can be expressed by S 1,3 (x,y,z).

Boolean Algebra74

Boolean Algebra75 The column sums are Since the column sums are not all the same, further tests must be performed to determine if the function is symmetric, and if it is, to find its variables of symmetry. The column sums can be made the same by complementing the columns corresponding to variables x and y.

Boolean Algebra76

Boolean Algebra77 The new column sums are now computed and are found identical. The row sums are determined next and entered as a#. Each row sum is tested by the binomial co-efficient occurrence. 4!/(4-2)! = 6 ; 4! /(4-3)!3! = 4 Since, all row sums occur the required number of times, the function is symmetric,its variables of summetry are w,x’,y’,z and its a numbers are 2 and 3. ( f = S 2,3 (w,x’,y’,z))

Boolean Algebra78 If columns w and z are complimented, instead of x and y, the table shown below results and \ since all its row sums occur the required no. of times, f can be written as f = S 1,2 (w’,x,y,z’)

Boolean Algebra79

Boolean Algebra80 The column sums are all identical, but row sum 2 does not occur six times as required. One way to overcome this difficulty is by expanding the function about any one of its variables

Boolean Algebra81 The function can be expanded about w. w x y z a# Column Sums : x y z The column sums can be made by complementing the columns corresponding to variables x and y.

Boolean Algebra82 x’ y’ z a# Column Sums: x y z Each row is tested by the binomial coefficients for sufficient occurrence. 3!/(3-2)!2! = 3 Symmetry: S 2 (x’,y’,z)

Boolean Algebra83 w x y z a# The column sums can be made the same by complementing the columns corresponding 2 2 1to variable z. x y z’ a# Each row is tested by the binomial coefficients for sufficient occurrence

Boolean Algebra84 3!/(3-2)! 2! = 3 Symmetry:S 2 (x,y,z’) So the function f is written as f=w’S 2 (x’,y’,z) + wS 2 (x,y,z’)

Boolean Algebra85 questions?