ECE380 Digital Logic. Axioms of Boolean algebra

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

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

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

Chapter 2 Boolean Algebra and Logic Gates

Digital Circuit And Logic Design I. Lecture 3

Boolean Algebra & Logic Gates. By : Ali Mustafa

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 2 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA

Logic Design. Chapter 2: Introduction to Logic Circuits

Chapter 2: Switching Algebra and Logic Circuits

Binary Logic and Gates

Digital Logic Design. Malik Najmus Siraj

Boolean Algebra and Logic Gates

CS 226: Digital Logic Design

Chapter-2 BOOLEAN ALGEBRA

CHAPTER 2 BOOLEAN ALGEBRA

CHAPTER III BOOLEAN ALGEBRA

Lecture 21: Boolean Logic. To Wrap up AVR

CHAPTER III BOOLEAN ALGEBRA

Lecture 3: Boolean Algebra

Chapter 2 Boolean Algebra and Logic Gates

Unit 2 Boolean Algebra

EC-121 Digital Logic Design

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

Chapter 2. Boolean Algebra and Logic Gates

Chapter 2 : Boolean Algebra and Logic Gates

Chapter 2 Combinational Logic Circuits

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA

Chapter 2 Combinational Logic Circuits

Boolean Algebra. Examples: (B=set of all propositions, or, and, not, T, F) (B=2 A, U,, c, Φ,A)

Chapter 2: Boolean Algebra and Logic Gates

Computer Organization I

Combinational Logic Fundamentals

MC9211 Computer Organization

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

WEEK 2.1 BOOLEAN ALGEBRA

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

CprE 281: Digital Logic

Contents. Chapter 2 Digital Circuits Page 1 of 30

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

Boolean Algebra CHAPTER 15

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

Chapter 2 Combinational Logic Circuits

BOOLEAN ALGEBRA TRUTH TABLE

Administrative Notes. Chapter 2 <9>

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

Chapter 2 Boolean Algebra and Logic Gates

Digital Logic Design. Combinational Logic

Combinational Logic. Review of Combinational Logic 1

Chapter 2 Combinational

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

Unit 2 Boolean Algebra

ECE 238L Boolean Algebra - Part I

Boolean Algebra. Boolean Variables, Functions. NOT operation. AND operation. AND operation (cont). OR operation

Combinational Logic Design Principles

Week-I. Combinational Logic & Circuits

Slides for Lecture 10

Chapter 2 Boolean Algebra and Logic Gates

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

7.1. Unit 7. Minterm and Canonical Sums 2- and 3-Variable Boolean Algebra Theorems DeMorgan's Theorem Simplification using Boolean Algebra

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

1. Prove: A full m- ary tree with i internal vertices contains n = mi + 1 vertices.

UNIVERSITI TENAGA NASIONAL. College of Information Technology

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

Chapter 2: Princess Sumaya Univ. Computer Engineering Dept.

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

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

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

Chapter 2 Combinational logic

APPLİCATION OF BOOLEAN ALGEABRA

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

EEE130 Digital Electronics I Lecture #4

Prof.Manoj Kavedia 2 Algebra

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

CPE100: Digital Logic Design I

Logic Gate Level. Part 2

Boolean Algebra, Gates and Circuits

Switches: basic element of physical implementations

Digital Systems and Information Part II

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

CHAPTER 12 Boolean Algebra

Boolean Algebra. The Building Blocks of Digital Logic Design. Section. Section Overview. Binary Operations and Their Representation.

Circuits & Boolean algebra.

This form sometimes used in logic circuit, example:

Chapter 7 Logic Circuits

Every time has a value associated with it, not just some times. A variable can take on any value within a range

Chap 2. Combinational Logic Circuits

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

ENG2410 Digital Design Combinational Logic Circuits

3. Abstract Boolean Algebras

Combinational Logic Circuits Part II -Theoretical Foundations

CHAPTER1: Digital Logic Circuits Combination Circuits

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

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

Lecture 2 Review on Digital Logic (Part 1)

Learning Objectives. Boolean Algebra. In this chapter you will learn about:

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

Ch 2. Combinational Logic. II - Combinational Logic Contemporary Logic Design 1

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

Binary logic consists of binary variables and logical operations. The variables are

Transcription:

ECE380 Digital Logic Introduction to Logic Circuits: Boolean algebra Dr. D. J. Jackson Lecture 3-1 Axioms of Boolean algebra Boolean algebra: based on a set of rules derived from a small number of basic assumptions (axioms) 1a 0 0=0 1b 1+1=1 2a 1 1=1 2b 0+0=0 3a 0 1=1 0=0 3b 1+0=0+1=1 4a If x=0 then x =1 4b If x=1 then x =0 Dr. D. J. Jackson Lecture 3-2 1

Single-Variable theorems From the axioms are derived some rules for dealing with single variables 5a x 0=0 5b x+1=1 6a x 1=x 6b x+0=x 7a x x=x 7b x+x=x 8a x x =0 8b x+x =1 9 x =x Single-variable theorems can be proven by perfect induction Substitute the values x=0 and x=1 into the expressions and verify using the basic axioms Dr. D. J. Jackson Lecture 3-3 Duality Axioms and single-variable theorems are expressed in pairs Reflects the importance of duality Given any logic expression, its dual is formed by replacing all + with, and vice versa and replacing all 0s with 1s and vice versa f(a,b)=a+b dual of f(a,b)=a b f(x)=x+0 dual of f(x)=x 1 The dual of any true statement is also true Dr. D. J. Jackson Lecture 3-4 2

Two & three variable properties 10a. x y=y x Commutative 10b. x+y=y+x 11a. x (y z)=(x y) z Associative 11b. x+(y+z)=(x+y)+z 12a. x (y+z)=x y+x z Distributive 12b. x+y z=(x+y) (x+z) 13a. x+x y=x Absorption 13b. x (x+y)=x Dr. D. J. Jackson Lecture 3-5 Two & three variable properties 14a. x y+x y =x Combining 14b. (x+y) (x+y )=x 15a. (x y) =x +y DeMorgan s 15b. (x+y) =x y Theorem 16a. 16b. x+x y=x+y x (x +y)=x y Dr. D. J. Jackson Lecture 3-6 3

Induction proof of x+x y=x+y Use perfect induction to prove x+x y=x+y x y x y x+x y x+y 0 0 0 0 0 0 1 1 1 1 1 0 0 1 1 1 1 0 1 1 equivalent Dr. D. J. Jackson Lecture 3-7 Perfect induction example Use perfect induction to prove (xy) =x +y x y xy (xy) x y x +y 0 0 0 1 1 1 1 0 1 0 1 1 0 1 1 0 0 1 0 1 1 1 1 1 0 0 0 0 equivalent Dr. D. J. Jackson Lecture 3-8 4

Prove Proof (algebraic manipulation) (+A)( +A)(A+C)(A+D) = A (+A)( +A)(A+C)(A+D) (+A)( +A)(A+CD) (using 12b) (+A)( +A)(A+CD) (A)(A+CD) (using 14b) (A)(A+CD) A (using 13b) Dr. D. J. Jackson Lecture 3-9 Algebraic manipulation Algebraic manipulation can be used to simplify Boolean expressions Simpler expression => simpler logic circuit Not practical to deal with complex expressions in this way However, the theorems & properties provide the basis for automating the synthesis of logic circuits in CAD tools To understand the CAD tools the designer should be aware of the fundamental concepts Dr. D. J. Jackson Lecture 3-10 5

Venn diagrams Venn diagram: graphical illustration of various operations and relations in an algebra of sets A set s is a collection of elements that are members of s (for us this would be a collection of Boolean variables and/or constants) Elements of the set are represented by the area enclosed by a contour (usually a circle) Dr. D. J. Jackson Lecture 3-11 Venn diagrams (a) Constant 1 (b) Constant 0 (c) Variable (d) Dr. D. J. Jackson Lecture 3-12 6

Venn diagrams (e) (f) + Z (g) (h) +Z Dr. D. J. Jackson Lecture 3-13 Venn diagrams (x+y) = x y DeMorgan s Theorem (+) Equivalent Venn diagrams imply equivalent functions Dr. D. J. Jackson Lecture 3-14 7

Notation and terminology Because of the similarity with arithmetic addition and multiplication operations, the OR and AND operations are often called the logical sum and product operations The expression ABC+A BD+ACE Is a sum of three product terms The expression (A+B+C)(A +B+D)(A+C+E ) Is a product of three sum terms Dr. D. J. Jackson Lecture 3-15 Precedence of operations In the absence of parentheses, operations in a logical expression are performed in the order NOT, AND, OR Thus in the expression AB+A B, the variables in the second term are complemented before being ANDed together. That term is then ORed with the ANDed combination of A and B (the AB term) Dr. D. J. Jackson Lecture 3-16 8

Precedence of operations Draw the circuit diagrams for the following f(a,b,c)=(a +b)c f(a,b,c)=a b+c Dr. D. J. Jackson Lecture 3-17 9