LSN 4 Boolean Algebra & Logic Simplification. ECT 224 Digital Computer Fundamentals. Department of Engineering Technology

Similar documents
Summary. Boolean Addition

Assignment (3-6) Boolean Algebra and Logic Simplification - General Questions

IT 201 Digital System Design Module II Notes

DKT 122/3 DIGITAL SYSTEM 1

Experiment 4 Boolean Functions Implementation

2.6 BOOLEAN FUNCTIONS

4 KARNAUGH MAP MINIMIZATION

Unit-IV Boolean Algebra

EEE130 Digital Electronics I Lecture #4_1

Digital Logic Design (CEN-120) (3+1)

Experiment 3: Logic Simplification

Combinational Logic Circuits

SYNERGY INSTITUTE OF ENGINEERING & TECHNOLOGY,DHENKANAL LECTURE NOTES ON DIGITAL ELECTRONICS CIRCUIT(SUBJECT CODE:PCEC4202)

Boolean Analysis of Logic Circuits

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

Gate Level Minimization Map Method

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

ELCT201: DIGITAL LOGIC DESIGN

Combinational Circuits Digital Logic (Materials taken primarily from:

Chapter 2. Boolean Expressions:

Points Addressed in this Lecture. Standard form of Boolean Expressions. Lecture 4: Logic Simplication & Karnaugh Map

Chapter 3. Gate-Level Minimization. Outlines

Ch. 5 : Boolean Algebra &

To write Boolean functions in their standard Min and Max terms format. To simplify Boolean expressions using Karnaugh Map.

Module -7. Karnaugh Maps

ELCT201: DIGITAL LOGIC DESIGN

Date Performed: Marks Obtained: /10. Group Members (ID):. Experiment # 04. Boolean Expression Simplification and Implementation

CHAPTER-2 STRUCTURE OF BOOLEAN FUNCTION USING GATES, K-Map and Quine-McCluskey

Menu. Algebraic Simplification - Boolean Algebra EEL3701 EEL3701. MSOP, MPOS, Simplification

X Y Z F=X+Y+Z

Chapter 2 Combinational Logic Circuits

BOOLEAN ALGEBRA. 1. State & Verify Laws by using :

Chapter 2 Combinational

SEE1223: Digital Electronics

UNIT-4 BOOLEAN LOGIC. NOT Operator Operates on single variable. It gives the complement value of variable.

Specifying logic functions

Digital Logic Lecture 7 Gate Level Minimization

CS470: Computer Architecture. AMD Quad Core

QUESTION BANK FOR TEST

Gate Level Minimization

1. Mark the correct statement(s)

2008 The McGraw-Hill Companies, Inc. All rights reserved.

Switching Circuits & Logic Design

DIGITAL CIRCUIT LOGIC UNIT 5: KARNAUGH MAPS (K-MAPS)

Lecture 7 Logic Simplification

Combinational Logic Circuits Part III -Theoretical Foundations

Combinational Logic Circuits

Lecture 5. Chapter 2: Sections 4-7

Chapter 3 Simplification of Boolean functions

Lecture 4: Implementation AND, OR, NOT Gates and Complement

BOOLEAN ALGEBRA. Logic circuit: 1. From logic circuit to Boolean expression. Derive the Boolean expression for the following circuits.

Lecture 3: Binary Subtraction, Switching Algebra, Gates, and Algebraic Expressions

Code No: R Set No. 1

Digital Fundamentals


Chapter 2 Combinational Logic Circuits

R.M.D. ENGINEERING COLLEGE R.S.M. Nagar, Kavaraipettai

A B AB CD Objectives:

A graphical method of simplifying logic

Computer Science. Unit-4: Introduction to Boolean Algebra

Simplification of Boolean Functions

Slide Set 5. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary

Incompletely Specified Functions with Don t Cares 2-Level Transformation Review Boolean Cube Karnaugh-Map Representation and Methods Examples

Chapter 2 Boolean algebra and Logic Gates

Code No: R Set No. 1

Simplification of Boolean Functions

Variable, Complement, and Literal are terms used in Boolean Algebra.

Pearson Education Limited Edinburgh Gate Harlow Essex CM20 2JE England and Associated Companies throughout the world

Binary logic. Dr.Abu-Arqoub

Announcements. Chapter 2 - Part 1 1

ENGIN 112. Intro to Electrical and Computer Engineering

Logic Gates and Boolean Algebra ENT263

Chapter 6. Logic Design Optimization Chapter 6

Gate-Level Minimization

Circuit analysis summary

MODULE 5 - COMBINATIONAL LOGIC

Combinational Digital Design. Laboratory Manual. Experiment #3. Boolean Algebra Continued

Chapter Three. Digital Components

CMPE223/CMSE222 Digital Logic

Combinational Logic & Circuits

ENGINEERS ACADEMY. 7. Given Boolean theorem. (a) A B A C B C A B A C. (b) AB AC BC AB BC. (c) AB AC BC A B A C B C.

9/10/2016. The Dual Form Swaps 0/1 and AND/OR. ECE 120: Introduction to Computing. Every Boolean Expression Has a Dual Form

CprE 281: Digital Logic

ENGIN 112 Intro to Electrical and Computer Engineering

Combinational Devices and Boolean Algebra

Philadelphia University Faculty of Information Technology Department of Computer Science. Computer Logic Design. By Dareen Hamoudeh.

Review: Standard forms of expressions

ECE380 Digital Logic

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District DEPARTMENT OF INFORMATION TECHNOLOGY CS 2202 DIGITAL PRINCIPLES AND SYSTEM DESIGN

Philadelphia University Student Name: Student Number:

Standard Forms of Expression. Minterms and Maxterms

數位系統 Digital Systems 朝陽科技大學資工系. Speaker: Fuw-Yi Yang 楊伏夷. 伏夷非征番, 道德經察政章 (Chapter 58) 伏者潛藏也道紀章 (Chapter 14) 道無形象, 視之不可見者曰夷

2.1 Binary Logic and Gates

CSCI 220: Computer Architecture I Instructor: Pranava K. Jha. Simplification of Boolean Functions using a Karnaugh Map

Code No: R Set No. 1

Lecture (04) Boolean Algebra and Logic Gates

Lecture (04) Boolean Algebra and Logic Gates By: Dr. Ahmed ElShafee

Gate-Level Minimization. BME208 Logic Circuits Yalçın İŞLER

2. BOOLEAN ALGEBRA 2.1 INTRODUCTION

Section 001. Read this before starting!

Transcription:

LSN 4 Boolean Algebra & Logic Simplification Department of Engineering Technology

LSN 4 Key Terms Variable: a symbol used to represent a logic quantity Compliment: the inverse of a variable Literal: a variable or compliment literals (A + B + C)D compliment variables

LSN 4 Boolean Operations Boolean addition Sum term: Sum of all literals A + B, A + B, A + B + C + D Equal to 1 when one or more literals in the term are 1 Equal to 0 only if all literals are 0 Boolean multiplication Product term Logical OR Logical AND Product of all literals AB, AB, ABCD Equal to 1 only if each literal is 1 Equal to 0 if one or more literals is 0

LSN 4 Laws of Boolean Algebra Communicative laws For addition A + B = B + A For multiplication AB = BA

LSN 4 Laws of Boolean Algebra Associative laws For addition A + (B + C) = (A + B) + C For multiplication A(BC) = (AB)C

LSN 4 Laws of Boolean Algebra Distributive laws A(B + C) = AB + AC or AB + AC + AD = A(B + C + D)

LSN 4 Boolean Algebra Rules A + 0 = A A + 1 = 1 A 0 = 0

LSN 4 Boolean Algebra Rules A 1 = A A + A = A A + A = 1

LSN 4 Boolean Algebra Rules A A = A A A = 0 A = A

LSN 4 Boolean Algebra Rules A + AB = A A + AB = A + B (A + B)(A + C) = A + BC

LSN 4 Demorgan s Theorems The compliment of a product of literals is equal to the sum of the compliments of the literals XY = X + Y

LSN 4 Demorgan s Theorems The compliment of a sum of literals is equal to the product of the compliments of the literals X + Y = XY Can be applied to groupings of literals, not just individual literals (A + B + C)D = (A+ B + C) + D = ABC + D

LSN 4 Demorgan s Theorems Example: Exclusive-OR X = AB + AB Find logical expression for Exclusive-NOR

LSN 4 Demorgan s Theorems Example: Apply DeMorgan s theorems to X = ABC + DEF X = AB + CD + EF

LSN 4 Boolean Analysis of Circuits Logic analysis Start at left-most inputs and work towards the final output Create an expression for each gate Example: A B X C D E

LSN 4 Boolean Analysis of Circuits Use Boolean algebra techniques to simplify the expression and the circuit Example: X = AB + AC + ABC A X B C

LSN 4 Standard Form Expressions Sum of products (SOP) AB + BC, AC + AB + CD, A + BC Product of Sums (POS) (A + B)(B + C), (A + B)C Key terms: Domain: all variables/compliments present in a Boolean expression X = AB + C domain = A, B, and C

LSN 4 Standard Form Expressions Standard SOP The domain is completely represented in each product term X = ABC + ABC+ ABC Create the standard SOP form Recall A + A = 1 Multiply each product by the appropriate (A + A) term to achieve standard SOP form Example: X = AB + C

LSN 4 Standard Form Expressions Standard POS The domain is completely represented in each sum term X = (A + B + C)( A + B + C) Create the standard POS form Recall AA = 0 Add appropriate AA term to each non-standard product term Example: X = (A + B)C

LSN 4 Expressions & Truth Tables SOP expression is equal to 1 only if at least one of the product terms equal 1 Binary value X = ABC + ABC + ABC 0 1 1 1 1 0 1 1 1 A B C X 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1

LSN 4 Expressions & Truth Tables POS expression is equal to 0 only if at least one of the sum terms equal 0 Binary value X= (A + B + C)(A + B + C)(A + B + C) 0 0 0 0 1 1 1 0 1 A B C X 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1

LSN 4 Expressions & Truth Tables Determine standard SOP and POS forms from truth table Reverse process Where a 1 exists for X, the resulting product terms form the standard SOP expression Where a 0 exists for X, the resulting sum terms form the standard POS expression A B C X A B C X 0 0 0 0 0 0 0 0 1 0 0 1 0 1 0 0 1 0 0 1 1 0 1 1 1 0 0 1 0 0 1 0 1 1 0 1 1 1 0 1 1 0 1 1 1 1 1 1 SOP POS

LSN 4 Karnaugh Map Representation of all possible inputs and resulting outputs for a logic expression Used to simplify a Boolean expression to its minimal form 3 Variables 4 Variables

LSN 4 Karnaugh Map Cells are arranged so only one variable changes between adjacent cells This is referred to as Cell Adjacency

LSN 4 Karnaugh Map SOP Minimization Mapping a standard form SOP expression Place a 1 in the Map for each product term Example: X = ABC + ABC + ABC

LSN 4 Karnaugh Map SOP Minimization Mapping a nonstandard SOP expression Recall multiplying product terms by necessary (A + A) combinations to achieve standard form Numerical expansion method Determine the binary form for each product term Where a binary value is missing, insert a 0 and duplicate the original binary form with a 1 inserted for the missing binary term Example: Missing term Insert 0 X = AB + ABC 1 0 1 1 1 1 0 0 1 1 1 1 0 1 1 1 1 Binary expanded numbers duplicate binary form Insert 1

LSN 4 Karnaugh Map SOP Minimization Minimization process Group all 1s in K-Map Must be in groupings of a power-of-2 size (1, 2, 4, 8, 16) Maximize group size Group only adjacent cells Each 1 in K-Map must belong to at least one group Determine product terms for groupings Composed of variables that occur in only one form within the grouping Sum the resulting product terms

LSN 4 Karnaugh Map SOP Minimization Example:

LSN 4 Karnaugh Map POS Minimization Mapping a standard form expression Place a 0 in the Map for each sum term Example: X = (A + B + C)(A + B + C) (A + B + C)

LSN 4 Karnaugh Map POS Minimization Minimization process Group all 0s in K-Map Follow same rules used to group all the 1s for simplification of SOP expressions Determine sum terms for groupings Multiply the resulting sum terms

LSN 4 Karnaugh Map Example: (B + C + D) (A + B + C + D) (A + B + C + D) (A + B + C + D) (A + B + C + D)

LSN 4 Homework Reading Chapter 4.1 4.4 Chapter 4.6 4.10 Assignment HW5 Chapter 4, problems 5(d, g), 6(c, e), 10, 15(a, d), 21(a, c, e) Show all work for credit Assignment HW6 Chapter 4, problems 23, 25, 33, 36, 44, 46 Show all work for credit