Introduction to Digital Logic Missouri S&T University CPE 2210 Boolean Algebra

Similar documents
Introduction to Digital Logic Missouri S&T University CPE 2210 Combinatorial Circuit Analysis and Synthesis

Introduction to Digital Logic Missouri S&T University CPE 2210 Boolean Representations

Introduction to Digital Logic Missouri S&T University CPE 2210 Karnaugh Maps

Introduction to Digital Logic Missouri S&T University CPE 2210 PLDs

Introduction to Digital Logic Missouri S&T University CPE 2210 Multiplexers/Demultiplexers

Introduction to Digital Logic Missouri S&T University CPE 2210 Subtractors

Combinational Logic Design Principles

Chapter 2 Combinational Logic Circuits

ECE 545 Digital System Design with VHDL Lecture 1A. Digital Logic Refresher Part A Combinational Logic Building Blocks

ECE 545 Digital System Design with VHDL Lecture 1. Digital Logic Refresher Part A Combinational Logic Building Blocks

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

Chapter 2 Combinational Logic Circuits

Boolean algebra. Examples of these individual laws of Boolean, rules and theorems for Boolean algebra are given in the following table.

Unit 2 Boolean Algebra

Chapter 2: Switching Algebra and Logic Circuits

BOOLEAN ALGEBRA THEOREMS

Binary Logic and Gates

CHAPTER III BOOLEAN ALGEBRA

Binary Logic and Gates. Our objective is to learn how to design digital circuits.

CHAPTER 2 BOOLEAN ALGEBRA

Logic Design. Chapter 2: Introduction to Logic Circuits

Unit 2 Boolean Algebra

Digital Circuit And Logic Design I. Lecture 3

INTRODUCTION TO INFORMATION & COMMUNICATION TECHNOLOGY LECTURE 8 : WEEK 8 CSC-110-T

Discrete Mathematics. CS204: Spring, Jong C. Park Computer Science Department KAIST

Chapter 2 Boolean Algebra and Logic Gates

CHAPTER III BOOLEAN ALGEBRA

ECE 20B, Winter 2003 Introduction to Electrical Engineering, II LECTURE NOTES #2

Boolean Algebra, Gates and Circuits

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

Boolean Algebra CHAPTER 15

Chapter-2 BOOLEAN ALGEBRA

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

Lecture 3: Boolean Algebra

CS 226: Digital Logic Design

Combinatorial Logic Design Principles

Chapter 2: Princess Sumaya Univ. Computer Engineering Dept.

EEE130 Digital Electronics I Lecture #4

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA

Chapter 2 Combinational Logic Circuits

Logic and Computer Design Fundamentals. Chapter 2 Combinational Logic Circuits. Part 1 Gate Circuits and Boolean Equations

Boolean Algebra & Logic Gates. By : Ali Mustafa

Boolean Algebra and Logic Gates

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

EEA051 - Digital Logic 數位邏輯 吳俊興高雄大學資訊工程學系. September 2004

ENG2410 Digital Design Combinational Logic Circuits

Chapter 2. Boolean Algebra and Logic Gates

MC9211 Computer Organization

II. COMBINATIONAL LOGIC DESIGN. - algebra defined on a set of 2 elements, {0, 1}, with binary operators multiply (AND), add (OR), and invert (NOT):

Lecture 2 Review on Digital Logic (Part 1)

CprE 281: Digital Logic

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

Gate-Level Minimization

Introduction to Digital Logic Missouri S&T University CPE 2210 Number Systems

Digital Logic Design. Combinational Logic

UNIVERSITI TENAGA NASIONAL. College of Information Technology

Week-I. Combinational Logic & Circuits

Combinational Logic Fundamentals

Functions. Computers take inputs and produce outputs, just like functions in math! Mathematical functions can be expressed in two ways:

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

Textbook: Digital Design, 3 rd. Edition M. Morris Mano

Chapter 2 Boolean Algebra and Logic Gates

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

UC Berkeley College of Engineering, EECS Department CS61C: Representations of Combinational Logic Circuits

COS 140: Foundations of Computer Science

CS61c: Representations of Combinational Logic Circuits

Introduction to Digital Logic Missouri S&T University CPE 2210 Number Systems

Digital electronics form a class of circuitry where the ability of the electronics to process data is the primary focus.

CHAPTER1: Digital Logic Circuits Combination Circuits

Sample Problems for all sections of CMSC250, Midterm 1 Fall 2014

Lecture 4: More Boolean Algebra

BOOLEAN ALGEBRA. Introduction. 1854: Logical algebra was published by George Boole known today as Boolean Algebra

Digital Logic Design. Malik Najmus Siraj

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

ELEC Digital Logic Circuits Fall 2014 Boolean Algebra (Chapter 2)

Number System conversions

DIGITAL ELECTRONICS & it0203 Semester 3

2 Application of Boolean Algebra Theorems (15 Points - graded for completion only)

Computer Organization: Boolean Logic

1 Boolean Algebra Simplification

Lab 1 starts this week: go to your session

Chapter 2 Boolean Algebra and Logic Gates

control in out in out Figure 1. Binary switch: (a) opened or off; (b) closed or on.

Chapter 2: Boolean Algebra and Logic Gates

BOOLEAN LOGIC. By- Neha Tyagi PGT CS KV 5 Jaipur II Shift, Jaipur Region. Based on CBSE curriculum Class 11. Neha Tyagi, KV 5 Jaipur II Shift

Combinational Logic. Review of Combinational Logic 1

Chap 2. Combinational Logic Circuits

Boolean Algebra and Logic Gates Chapter 2. Topics. Boolean Algebra 9/21/10. EECE 256 Dr. Sidney Fels Steven Oldridge

Switches: basic element of physical implementations

University of Technology

Boolean Algebra. Philipp Koehn. 9 September 2016

This form sometimes used in logic circuit, example:

Contents. Chapter 2 Digital Circuits Page 1 of 30

Digital Systems and Information Part II

Administrative Notes. Chapter 2 <9>

Logic Design I (17.341) Fall Lecture Outline

Chapter 2 Combinational

E&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev

4 Switching Algebra 4.1 Axioms; Signals and Switching Algebra

CHAPTER 3 BOOLEAN ALGEBRA

Transcription:

Introduction to Digital Logic Missouri S&T University CPE 2210 Boolean Algebra Egemen K. Çetinkaya Egemen K. Çetinkaya Department of Electrical & Computer Engineering Missouri University of Science and Technology cetinkayae@mst.edu http://web.mst.edu/~cetinkayae/teaching/cpe2210fall2016 2 September 2016 rev. 16.0 2014 2016 Egemen K. Çetinkaya

Introduction Boolean algebra Summary Boolean Algebra Outline 2

Logic Gates Motivation Switches are fine to build simple circuits Gates help design of complex logic circuits Three basic gates: 3

Logic Gates Basic Gates Switches are fine to build simple circuits Gates help design of complex logic circuits Three basic gates: AND OR NOT 4

Logic Gates AND Gate Output is 1 if only both inputs are 1 Symbol: Truth table: x y AND F x y F???????????? 5

Logic Gates AND Gate Output is 1 if only both inputs are 1 Symbol: Truth table: x y AND F x y F 0 0 0 0 1 0 1 0 0 1 1 1 6

Logic Gates OR Gate Output is 1 if one input is 1 Symbol: Truth table: x y OR F x y F???????????? 7

Logic Gates OR Gate Output is 1 if one input is 1 Symbol: Truth table: x y OR F x y F 0 0 0 0 1 1 1 0 1 1 1 1 8

Also known as inverter Symbol: Truth table: x Logic Gates NOT Gate N O T F x F???? 9

Also known as inverter Symbol: Truth table: x Logic Gates NOT Gate N O T F x F 0 1 1 0 10

Boolean Algebra Operators Basic operators (more later) Name Symbol Example How to say not or a or ā a prime complement of a inverse of a and or a b a b product of a and b ab or + a + b sum of a and b a or b Note that expression in () must be done first 11

F(a,b,c)=ab+c+ac What are the variables? What are the literals? Boolean Algebra Operators Example What are the product terms? 12

F(a,b,c)=ab+c+ac Variables: a, b, c Literals: a, b, c, a, c Product terms: ab, c, ac Boolean Algebra Operators Example 13

Boolean Algebra Sum-of-Products Form Equation written as OR of product terms Examples: Following are in sum-of-products form ab + a c a + b + cde Following are not in sum-of-products form (a+b)c (a ) + b variable should be complemented or uncomplemented form 14

Properties of Boolean Algebra Commutativity Commutative a + b = b + a a b = a b Remember order to the logic gates does not matter 15

Properties of Boolean Algebra Distributivity Distributive a (b + c) = a b + a c a + (b c) = (a + b) (a + c) Remember has precedence over + Second one is tricky 16

Properties of Boolean Algebra Associativity Associative a (b c) = (a b) c a + (b + c) = (a + b) + c 17

Properties of Boolean Algebra Identity Identity a + 0 = 0 + a = a a 1 = 1 a = a Result of (a OR 0) depends on value of a Result of (a AND 1) depends on value of a 18

Properties of Boolean Algebra Complementery Complement a + a = 1 a a = 0 Result of (a OR a ) is always 1 Result of (a AND a ) is always 0 19

Properties of Boolean Algebra Null Elements Null elements a + 1 = 1 a 0 = 0 Result of (a OR 1) is always 1 Result of (a AND 0) is always 0 20

Properties of Boolean Algebra Idempotent Law Idempotent law a + a = a a a = a Result of (a OR a) depends on a Result of (a AND a) depends on a 21

Properties of Boolean Algebra Involution Law Involution law (a ) = a Double negation result itself 22

Properties of Boolean Algebra DeMorgan s Law DeMorgan s law (a + b) = a b (ab) = a + b Complement of sum equals product of complements Complement of product equals sum of complements DeMorgan s law applies to any number of variables (a+b+c) = a b c (abcd) = a + b + c + d 23

Properties of Boolean Algebra Absorption Law Absorption law a + ab = a a (a + b) = a Proof of first equation a + ab = a 1 + a b = a (1 + b) = a 1 = a Proof of second equation a (a + b) = a a + a b = a + (ab) = a 24

Theorem Properties of Boolean Algebra Theorem a + a b = a + b a (a + b) = ab Proof of first equation a + a b = (a + a ) (a + b) = 1 (a + b) = a + b first part via distributive property Proof of second equation a (a + b) = a a + a b = 0 + ab = ab 25

F=x yz+x yz +xz Boolean Algebra Example 1 Draw the corresponding circuit with logic gates Simplify the equation and redraw 26

F=xy +x zy Boolean Algebra Example 2 Draw the corresponding circuit with logic gates Simplify the equation and redraw 27

F=(x+y)(x +z)(y+z) Boolean Algebra Example 3 Draw the corresponding circuit with logic gates Simplify the equation and redraw 28

Boolean Algebra Example 29

Boolean Algebra Example 30

Boolean Algebra Example 31

Boolean Algebra Summary Understand the important Boolean algebra properties commutativity distributivity associativity identity complementery null elements idempotent law involution law DeMorgan s law absorption law 32

References and Further Reading [V2011] Frank Vahid, Digital Design with RTL Design, VHDL, and Verilog, 2nd edition, Wiley, 2011. [BV2009] Stephen Brown and Zvonko Vranesic, Fundamentals of Digital Logic with VHDL Design, 3rd edition, McGraw-Hill, 2009. [MKM2016] M. Morris Mano, Charles R. Kime, Tom Martin, Logic and Computer Design Fundamentals, 5th edition, Pearson, 2016. [W2006] John F. Wakerly, Digital Design Principles and Practices, 4th edition, Prentice Hall, 2006. 33

End of Foils 34