Chapter 4 BOOLEAN ALGEBRA AND THEOREMS, MINI TERMS AND MAX TERMS

Similar documents
EEE130 Digital Electronics I Lecture #4

Computer Organization I. Lecture 13: Design of Combinational Logic Circuits

Chapter 3 Combinational Logic Design

Gate-Level Minimization

Ex: Boolean expression for majority function F = A'BC + AB'C + ABC ' + ABC.

Chapter 5. Karnaugh Map and Minimization Procedures

Logic Gate Level. Part 2

Midterm1 Review. Jan 24 Armita

Lecture 5: NAND, NOR and XOR Gates, Simplification of Algebraic Expressions

Total Time = 90 Minutes, Total Marks = 50. Total /50 /10 /18

Simplification of Boolean Functions. Dept. of CSE, IEM, Kolkata

Lecture 6: Manipulation of Algebraic Functions, Boolean Algebra, Karnaugh Maps

MC9211 Computer Organization

ELCT201: DIGITAL LOGIC DESIGN

Signals and Systems Digital Logic System

Z = F(X) Combinational circuit. A combinational circuit can be specified either by a truth table. Truth Table

This form sometimes used in logic circuit, example:

Karnaugh Maps Objectives

Computer Organization I

Boolean Algebra and Logic Design (Class 2.2 1/24/2013) CSE 2441 Introduction to Digital Logic Spring 2013 Instructor Bill Carroll, Professor of CSE

CHAPTER 7. Solutions for Exercises

ECE 238L Boolean Algebra - Part I

UNIVERSITI TENAGA NASIONAL. College of Information Technology

CPE100: Digital Logic Design I

CSE 140 Midterm I - Solution

Combinational Logic. Review of Combinational Logic 1

Chapter 2: Switching Algebra and Logic Circuits

Reduction of Logic Equations using Karnaugh Maps

Boolean Algebra and Digital Logic 2009, University of Colombo School of Computing

XOR - XNOR Gates. The graphic symbol and truth table of XOR gate is shown in the figure.

Cs302 Quiz for MID TERM Exam Solved

Unit 2 Boolean Algebra

Systems I: Computer Organization and Architecture

EECS150 - Digital Design Lecture 19 - Combinational Logic Circuits : A Deep Dive

EE40 Lec 15. Logic Synthesis and Sequential Logic Circuits

Chapter 2 Combinational Logic Circuits

CHAPTER 2 BOOLEAN ALGEBRA

CHAPTER III BOOLEAN ALGEBRA

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science SOLUTIONS

Carry Look Ahead Adders

CS 121 Digital Logic Design. Chapter 2. Teacher Assistant. Hanin Abdulrahman

Digital Logic. Lecture 5 - Chapter 2. Outline. Other Logic Gates and their uses. Other Logic Operations. CS 2420 Husain Gholoom - lecturer Page 1

Unit 3 Session - 9 Data-Processing Circuits

XI STANDARD [ COMPUTER SCIENCE ] 5 MARKS STUDY MATERIAL.

CHAPTER III BOOLEAN ALGEBRA

Administrative Notes. Chapter 2 <9>

Chapter 7 Logic Circuits

ENGG 1203 Tutorial - 2 Recall Lab 2 - e.g. 4 input XOR. Parity checking (for interest) Recall : Simplification methods. Recall : Time Delay

Chapter 2 Combinational Logic Circuits

Karnaugh Map & Boolean Expression Simplification

Unit 2 Session - 6 Combinational Logic Circuits

Lecture 6: Gate Level Minimization Syed M. Mahmud, Ph.D ECE Department Wayne State University

CSE20: Discrete Mathematics for Computer Science. Lecture Unit 2: Boolan Functions, Logic Circuits, and Implication

Optimizations and Tradeoffs. Combinational Logic Optimization

MODULAR CIRCUITS CHAPTER 7

UNIT 5 KARNAUGH MAPS Spring 2011

Number System conversions

The Karnaugh Map COE 202. Digital Logic Design. Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals

Digital Logic Design. Combinational Logic

Boolean Algebra. Philipp Koehn. 9 September 2016

Chapter 2. Digital Logic Basics

Logic Simplification. Boolean Simplification Example. Applying Boolean Identities F = A B C + A B C + A BC + ABC. Karnaugh Maps 2/10/2009 COMP370 1

Lecture 2 Review on Digital Logic (Part 1)

Save from: cs. Logic design 1 st Class أستاذ المادة: د. عماد

UNIT 4 MINTERM AND MAXTERM EXPANSIONS

CHAPTER 3 BOOLEAN ALGEBRA

Midterm Examination # 1 Wednesday, February 25, Duration of examination: 75 minutes

Circuits & Boolean algebra.

Chapter 2 (Lect 2) Canonical and Standard Forms. Standard Form. Other Logic Operators Logic Gates. Sum of Minterms Product of Maxterms

Chapter 2 Combinational Logic Circuits

Advanced Digital Design with the Verilog HDL, Second Edition Michael D. Ciletti Prentice Hall, Pearson Education, 2011

COMBINATIONAL LOGIC FUNCTIONS

Chapter 2 : Boolean Algebra and Logic Gates

Minimization techniques

CMSC 313 Lecture 17. Focus Groups. Announcement: in-class lab Thu 10/30 Homework 3 Questions Circuits for Addition Midterm Exam returned

Lecture 3: Boolean Algebra

CS 226: Digital Logic Design

211: Computer Architecture Summer 2016

Chapter 2. Boolean Algebra and Logic Gates

EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits)

Fundamentals of Digital Design

T02 Tutorial Slides for Week 6

Digital Logic Design ABC. Representing Logic Operations. Dr. Kenneth Wong. Determining output level from a diagram. Laws of Boolean Algebra

Outline. EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits) Combinational Logic (CL) Defined

ENGR 303 Introduction to Logic Design Lecture 3. Dr. Chuck Brown Engineering and Computer Information Science Folsom Lake College

Number System. Decimal to binary Binary to Decimal Binary to octal Binary to hexadecimal Hexadecimal to binary Octal to binary

Chapter 2: Princess Sumaya Univ. Computer Engineering Dept.

Chapter 2 Combinational Logic Circuits

UNIT 3 BOOLEAN ALGEBRA (CONT D)

Boolean Algebra & Logic Gates. By : Ali Mustafa

Experiment 7: Magnitude comparators

EXPERIMENT #4: SIMPLIFICATION OF BOOLEAN FUNCTIONS

Boolean Algebra, Gates and Circuits

Digital Circuit And Logic Design I. Lecture 3

Packet #2: Set Theory & Predicate Calculus. Applied Discrete Mathematics

2009 Spring CS211 Digital Systems & Lab CHAPTER 2: INTRODUCTION TO LOGIC CIRCUITS

Advanced Boolean Logic and Applications to Control Systems

Part 1: Digital Logic and Gates. Analog vs. Digital waveforms. The digital advantage. In real life...

Chap 2. Combinational Logic Circuits

Chapter 4: Designing Combinational Systems Uchechukwu Ofoegbu

Transcription:

Chapter 4 BOOLEAN ALGEBRA AND THEOREMS, MINI TERMS AND MAX TERMS

Lesson 4 BOOLEAN EXPRESSION, TRUTH TABLE and SUM OF THE PRODUCTS (SOPs) [MINITERMS] 2

Outline SOP two variables cases SOP for three variable case SOP for four variable case Conversion of Boolean expression into SOPs {Finding Miniterms] 3

Two variable Miniterms Inputs Miniterms A B Outputs XOR AND OR NAND A B S0 S1 S2 S3 0 0 mn0= A.B 0 0 0 1 1 0 mn1= A.B 1 0 1 1 0 1 mn2= A.B 1 0 1 1 1 1 mn3= A.B 0 1 1 0 4

XOR,AND, OR and NAND Outputs Two Variable Cases Sum of Product Terms (SOPs) XOR: S0 = A.B + A.B = Σmn(1, 2) AND: S1 = A.B = mn(3) OR: S2 = A.B + A.B + A.B = Σmn(1, 2, 3) NAND: S3 = A.B + A.B + A.B = Σmn(0, 1, 2) 5

SOP form advantage Advantage of using SOP form is that functions of any two input logic gate functions can be represented by maximum four ANDs at the inputs and four ORs at an output. 6

Outline SOP two variable cases SOP for three variable case SOP for four variable case Conversion of Boolean expression into SOPs {Finding Miniterms] 7

Three variable Miniterms 0 to 3 Inputs Miniterms A B C Outputs F1 F2 F3 F4 A B C S S S S 0 0 0 mn0= A.B.C 0 0 0 1 1 0 0 mn1= A.B. C 1 0 1 1 0 1 0 mn2= A.B.C 1 0 1 1 1 1 0 mn3= A.B.C 0 1 1 0 8

Three variable Miniterms 4 to 7 Inputs Miniterms A B C Outputs F1 F2 F3 F4 A B C S S S S 0 0 1 mn4= A.B.C 0 0 0 1 1 0 1 mn5= A.B. C 1 0 1 1 0 1 1 mn6= A.B.C 1 0 1 1 1 1 1 mn7= A.B.C 0 1 1 0 9

F1, F2, F3 and F4 outputs Three Variable Cases Sum of Product Terms (SOPs) F1 = S = A.B.C + A.B.C +A.B.C + A.B.C = Σmn(1, 2, 5, 6) F2 = S = A.B.C + A.B.C = Σmn(3, 7) F3 = S = A.B.C + A.B.C + A.B.C + A.B.C + A.B.C + A.B.C = Σmn(1, 2, 3, 5, 6, 7) F4 = S = A.B.C + A.B.C + A.B.C + A.B.C + A.B.C + A.B.C = Σmn(0, 1, 2, 4, 5, 6) 10

SOP form advantage Advantage of using SOP form is that functions of any three input logic gate functions can be represented by maximum eight ANDs at the inputs and eight ORs at an output. 11

Outline SOP two variable cases SOP for three variable cases SOP for four variable case Conversion of Boolean expression into SOPs {Finding Miniterms] 12

Four variable Miniterms 0 to 3 Inputs Miniterms A B C D Output F5 A B C D 0 0 0 0 mn0= A.B.C.D 1 0 1 0 0 mn1= A.B. C.D 0 1 0 0 0 mn2 = A.B.C.D 1 1 1 0 0 mn3= A.B.C.D 0 S 13

Four variable Miniterms 0 to 3 Inputs Miniterms A B C D Output F5 A B C D 0 0 1 0 mn4= A.B.C.D 0 0 1 1 0 mn5= A.B. C.D 0 1 0 1 0 mn6 = A.B.C.D 0 1 1 1 0 mn7= A.B.C.D 1 S 14

Four variable Miniterms 0 to 3 Inputs Miniterms A B C D Output F5 A B C D 0 0 0 1 mn8= A.B.C.D 0 0 1 0 1 mn9= A.B. C.D 1 1 0 0 1 mn10 = A.B.C.D 0 1 1 0 1 mn11= A.B.C.D 0 S 15

Four variable Miniterms 0 to 3 Inputs Miniterms A B C D Output F5 A B C D 0 0 1 1 mn12= A.B.C.D 1 0 1 1 1 mn13= A.B. C.D 0 1 0 1 1 mn14= A.B.C.D 0 1 1 1 1 mn15= A.B.C.D 0 S 16

F5 output Four Variable Case Sum of Product Terms (SOPs) F5 = S = A.B.C.D + A.B.C.D +A.B.C.D + A.B.C.D + A.B.C.D = = Σmn(0, 2, 7, 9, 12) 17

SOP form advantage Advantage of using SOP form is that functions of any four input logic gate functions can be represented by maximum sixteen ANDs at the inputs and sixteen ORs at an output. 18

Outline SOP two variable case SOP for three variable case SOP for four variable case Conversion of Boolean expression into SOPs [Finding Miniterms] 19

Example Suppose in a four variable SOP, there is a term with two variables, only C.D. We perform AND operation with (A + A).(B + B). [Using OR rule Equation (4) that OR of a complement of a variable or term with itself is always 1.] 20

Conversion C.D = (A + A).(B+B).C.D = (A + A)(B.C.D + B.C.D) = A.B.C.D + A.B.C.D + A.B.C.D + A.B.C.D = Σ mn (15, 11, 7, 3) = Σ mn (3, 7, 11, 15) and obtain the SOP standard form. 21

Summary 22

We learnt: A Boolean expression output can be written as an SOP expression SOP expression has the miniterms Each miniterm represent that row of truth table in which output = 1 Each miniterm is implemented by AND gate(s) Miniterms after ORing gives the output 23

We learnt: Using OR rules, a Boolean expression with lesser number of variables can be expanded into SOP form to get all the miniterms and obtain SOP standard form 24

End of Lesson 4 BOOLEAN EXPRESSION, TRUTH TABLE and SUM OF THE PRODUCT 25

THANK YOU 26