ENGIN 112. Intro to Electrical and Computer Engineering

Similar documents
2.6 BOOLEAN FUNCTIONS

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

Definitions. 03 Logic networks Boolean algebra. Boolean set: B 0,

Experiment 3: Logic Simplification

QUESTION BANK FOR TEST

Standard Forms of Expression. Minterms and Maxterms

Combinational Logic Circuits

Lecture 5. Chapter 2: Sections 4-7

ENGIN 112 Intro to Electrical and Computer Engineering

Chapter 2. Boolean Expressions:

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

Experiment 4 Boolean Functions Implementation

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

DKT 122/3 DIGITAL SYSTEM 1

Unit-IV Boolean Algebra

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

Boolean Analysis of Logic Circuits

ELCT201: DIGITAL LOGIC DESIGN

ELCT201: DIGITAL LOGIC DESIGN

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

Boolean Function Simplification

Simplification of Boolean Functions

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

CprE 281: Digital Logic

Combinational Logic Circuits Part III -Theoretical Foundations

Standard Boolean Forms

EEE130 Digital Electronics I Lecture #4_1

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

Module -7. Karnaugh Maps

24 Nov Boolean Operations. Boolean Algebra. Boolean Functions and Expressions. Boolean Functions and Expressions

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

Gate-Level Minimization. section instructor: Ufuk Çelikcan

Digital Logic Lecture 7 Gate Level Minimization

Chapter 2 Part 5 Combinational Logic Circuits

5. Minimizing Circuits

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

Combinational Circuits Digital Logic (Materials taken primarily from:

Chapter 6. Logic Design Optimization Chapter 6

Summary. Boolean Addition

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

Chapter 2 Boolean algebra and Logic Gates

Chapter 3. Gate-Level Minimization. Outlines

Chapter 3 Simplification of Boolean functions

Propositional Calculus: Boolean Algebra and Simplification. CS 270: Mathematical Foundations of Computer Science Jeremy Johnson

SWITCHING THEORY AND LOGIC CIRCUITS

Announcements. Chapter 2 - Part 1 1

Combinational Devices and Boolean Algebra

Lecture (04) Boolean Algebra and Logic Gates

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

Review: Standard forms of expressions

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

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

Chapter 2 Combinational Logic Circuits

A graphical method of simplifying logic

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

CS470: Computer Architecture. AMD Quad Core

Specifying logic functions

Circuit analysis summary

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

Chapter 2 Combinational Logic Circuits

Gate Level Minimization

Boolean algebra. June 17, Howard Huang 1

Digital Circuits ECS 371

2/8/2017. SOP Form Gives Good Performance. ECE 120: Introduction to Computing. K-Maps Can Identify Single-Gate Functions

X Y Z F=X+Y+Z

University of Technology

A B AB CD Objectives:

IT 201 Digital System Design Module II Notes

S1 Teknik Telekomunikasi Fakultas Teknik Elektro FEH2H3 2016/2017

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

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

Chap-2 Boolean Algebra

Digital Logic Design. Midterm #1

Binary logic. Dr.Abu-Arqoub

Code No: R Set No. 1

Midterm Exam Review. CS 2420 :: Fall 2016 Molly O'Neil

Mid-Term Exam Solutions

Gate Level Minimization Map Method

ENGIN 112 Intro to Electrical and Computer Engineering

EE292: Fundamentals of ECE

Code No: 07A3EC03 Set No. 1

Lecture (05) Boolean Algebra and Logic Gates

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

DSAS Laboratory no 4. Laboratory 4. Logic forms

Department of Electrical Engineering McGill University ECSE 221 Introduction to Computer Engineering Assignment 2 Combinational Logic

Simplification of Boolean Functions

Spring 2010 CPE231 Digital Logic Section 1 Quiz 1-A. Convert the following numbers from the given base to the other three bases listed in the table:

Ch. 5 : Boolean Algebra &

MODULE 5 - COMBINATIONAL LOGIC

Combinational Logic Circuits

4 KARNAUGH MAP MINIMIZATION

Digital logic fundamentals. Question Bank. Unit I

Karnaugh Map (K-Map) Karnaugh Map. Karnaugh Map Examples. Ch. 2.4 Ch. 2.5 Simplification using K-map

1. Mark the correct statement(s)

Literal Cost F = BD + A B C + A C D F = BD + A B C + A BD + AB C F = (A + B)(A + D)(B + C + D )( B + C + D) L = 10

CS8803: Advanced Digital Design for Embedded Hardware

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

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

LECTURE 4. Logic Design

Digital Logic Design. Midterm #1

Transcription:

ENIN 2 Intro to Electrical and Computer Engineering Lecture 6 More Boolean Algebra ENIN2 L6: More Boolean Algebra September 5, 23 A B

Overview Epressing Boolean functions Relationships between algebraic equations, smbols, and truth tables Simplification of Boolean epressions Minterms and Materms AND-OR representations Product of sums Sum of products ENIN2 L6: More Boolean Algebra September 5, 23

ENIN2 L6: More Boolean Algebra September 5, 23 Boolean Functions Boolean algebra deals with binar variables and logic operations. Function results in binar or F F = (+ ) + F = (+ )

ENIN2 L6: More Boolean Algebra September 5, 23 Boolean Functions Boolean algebra deals with binar variables and logic operations. Function results in binar or = + We will learn how to transition between equation, smbols, and truth table.

Representation Conversion Need to transition between boolean epression, truth table, and circuit (smbols). Converting between truth table and epression is eas. Converting between epression and circuit is eas. More difficult to convert to truth table. Circuit Boolean Epression Truth Table ENIN2 L6: More Boolean Algebra September 5, 23

ENIN2 L6: More Boolean Algebra September 5, 23 Truth Table to Epression Converting a truth table to an epression Each row with output of becomes a product term Sum product terms together. + + An Boolean Epression can be represented in sum of products form!

ENIN2 L6: More Boolean Algebra September 5, 23 Equivalent Representations of Circuits All three formats are equivalent Number of s in truth table output column equals AND terms for Sum-of-Products (SOP) = + +

Reducing Boolean Epressions Is this the smallest possible implementation of this epression? No! = + + Use Boolean Algebra rules to reduce compleit while preserving functionalit. Step : Use Theorum (a + a = a) So + + = + + + Step 2: Use distributive rule a(b + c) = ab + ac So + + + = ( + ) + ( + ) Step 3: Use Postulate 3 (a + a = ) So ( + ) + ( + ) =. +. Step 4: Use Postulate 2 (a. = a) So. +. = + = + + ENIN2 L6: More Boolean Algebra September 5, 23

ENIN2 L6: More Boolean Algebra September 5, 23 Reduced Hardware Implementation Reduced equation requires less hardware! Same function implemented! = + + = +

Minterms and Materms Each variable in a Boolean epression is a literal Boolean variables can appear in normal () or complement form ( ) Each AND combination of terms is a minterm Each OR combination of terms is a materm For eample: Minterms Minterm m m m 4 m 7 For eample: Materms Materm ++ M ++ M ++ M 4 + + M 7 ENIN2 L6: More Boolean Algebra September 5, 23

ENIN2 L6: More Boolean Algebra September 5, 23 Representing Functions with Minterms Minterm number same as row position in truth table (starting from top from ) Shorthand wa to represent functions = + + = m 7 + m 6 + m 3 = Σ(3, 6, 7)

ENIN2 L6: More Boolean Algebra September 5, 23 Complementing Functions Minterm number same as row position in truth table (starting from top from ) Shorthand wa to represent functions = + + = ( + + ) = Can we find a simpler representation?

Complementing Functions Step : assign temporar names b + c -> (a+ ) = Step 2: Use DeMorgans Law (a + ) = a. = a + b + c = (a + b + c) Step 3: Resubstitute (b+c) for a. = a. (b + c) Step 4: Use DeMorgans Law a. (b + c) = a. (b. c ) Step 5: Associative rule a. (b. c ) = a. b. c = a + b + c = a. b. c = a b c ENIN2 L6: More Boolean Algebra September 5, 23

Complementation Eample Find complement of F = + F = ( + ) DeMorgan s F = ( ) () DeMorgan s F = ( + )( + ) Reduction -> eliminate double negation on F = (+ )( + ) This format is called product of sums ENIN2 L6: More Boolean Algebra September 5, 23

ENIN2 L6: More Boolean Algebra September 5, 23 Conversion Between Canonical Forms Eas to convert between minterm and materm representations For materm representation, select rows with s = + + = m 7 + m 6 + m 3 = Σ(3, 6, 7) = M M M 2 M 4 M 5 = Π(,,2,4,5) = (++)(++ )(+ +)( ++)( ++ )

Representation of Circuits All logic epressions can be represented in 2- level format Circuits can be reduced to minimal 2-level representation Sum of products representation most common in industr. ENIN2 L6: More Boolean Algebra September 5, 23

Summar Truth table, circuit, and boolean epression formats are equivalent Eas to translate truth table to SOP and POS representation Boolean algebra rules can be used to reduce circuit sie while maintaining function All logic functions can be made from AND, OR, and NOT Easiest wa to understand: Do eamples! Net time: More logic gates! ENIN2 L6: More Boolean Algebra September 5, 23