Unit 2 Boolean Algebra

Similar documents
CHAPTER 2 BOOLEAN ALGEBRA

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA

Unit 2 Boolean Algebra

Chapter 2 Combinational Logic Circuits

UNIT 3 BOOLEAN ALGEBRA (CONT D)

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

ECE 238L Boolean Algebra - Part I

Boolean Algebra & Logic Gates. By : Ali Mustafa

CHAPTER 3 BOOLEAN ALGEBRA

CHAPTER III BOOLEAN ALGEBRA

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA

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

Chapter 2 : Boolean Algebra and Logic Gates

MC9211 Computer Organization

CHAPTER III BOOLEAN ALGEBRA

EEE130 Digital Electronics I Lecture #4

CprE 281: Digital Logic

Chapter 2: Switching Algebra and Logic Circuits

Digital Circuit And Logic Design I. Lecture 3

Chapter-2 BOOLEAN ALGEBRA

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

Boolean Algebra and Logic Gates

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

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

Chapter 3. Boolean Algebra. (continued)

Logic Design. Chapter 2: Introduction to Logic Circuits

2. Associative Law: A binary operator * on a set S is said to be associated whenever (A*B)*C = A*(B*C) for all A,B,C S.

Chapter 2: Boolean Algebra and Logic Gates

Chapter 2. Boolean Algebra and Logic Gates

CS61c: Representations of Combinational Logic Circuits

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

Binary Logic and Gates

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

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

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

Chapter 2 Combinational Logic Circuits

Chap 2. Combinational Logic Circuits

Circuits & Boolean algebra.

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

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

UNIT 5 KARNAUGH MAPS Spring 2011

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

In Module 3, we have learned about Exclusive OR (XOR) gate. Boolean Expression AB + A B = Y also A B = Y. Logic Gate. Truth table

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA (CONT.)

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

Signals and Systems Digital Logic System

BOOLEAN ALGEBRA TRUTH TABLE

Combinational Logic Design Principles

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

This form sometimes used in logic circuit, example:

UNIVERSITI TENAGA NASIONAL. College of Information Technology

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

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

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

Chapter 2 Combinational Logic Circuits

Number System conversions

APPLİCATION OF BOOLEAN ALGEABRA

INTRO TO I & CT. (Boolean Algebra and Logic Simplification.) Lecture # By: Department of CS & IT.

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

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

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

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

Midterm1 Review. Jan 24 Armita

Gate-Level Minimization

Review for Test 1 : Ch1 5

CS 226: Digital Logic Design

ENG2410 Digital Design Combinational Logic Circuits

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

Combinational Logic. Fan-in/ Fan-out Timing. Copyright (c) 2012 Sean Key

COS 140: Foundations of Computer Science

Logic Gate Level. Part 2

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

Digital Logic Design. Malik Najmus Siraj

Chapter 4: Combinational Logic Solutions to Problems: [1, 5, 9, 12, 19, 23, 30, 33]

Combinational Logic Fundamentals

Systems I: Computer Organization and Architecture

Chapter 2 Boolean Algebra and Logic Gates

ELCT201: DIGITAL LOGIC DESIGN

Lecture 2 Review on Digital Logic (Part 1)

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

UNIT 4 MINTERM AND MAXTERM EXPANSIONS

1 Boolean Algebra Simplification

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

12/31/2010. Overview. 05-Boolean Algebra Part 3 Text: Unit 3, 7. DeMorgan s Law. Example. Example. DeMorgan s Law

Boolean Algebra CHAPTER 15

CHAPTER1: Digital Logic Circuits Combination Circuits

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

Karnaugh Maps Objectives

WEEK 2.1 BOOLEAN ALGEBRA

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

ELC224C. Karnaugh Maps

Chapter 2 Combinational

Switches: basic element of physical implementations

Chapter 2 Boolean Algebra and Logic Gates

Fundamentals of Computer Systems

Boolean Algebra, Gates and Circuits

Lab 1 starts this week: go to your session

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

Transcription:

Unit 2 Boolean Algebra 1. Developed by George Boole in 1847 2. Applied to the Design of Switching Circuit by Claude Shannon in 1939 Department of Communication Engineering, NCTU 1

2.1 Basic Operations Department of Communication Engineering, NCTU 2

Boolean algebra: f : {0, 1} {0, 1} Basic operations Inverse (complement) AND OR Inverse is denoted by ( ) 0' = 1 1' = 0 Inverter Department of Communication Engineering, NCTU 3

All possible combinations of inputs Input A B 0 0 0 1 1 0 1 1 Output C=A B 0 0 0 1 Department of Communication Engineering, NCTU 4

A B C=A+B 0 0 0 1 1 0 1 1 0 1 1 1 Department of Communication Engineering, NCTU 5

Basic operations of switching circuits A switch A B Two switches in a series A + B Two switches in parallel Department of Communication Engineering, NCTU 6

2.2 Boolean Expressions and Truth Tables Department of Communication Engineering, NCTU 7

Boolean Expressions are formed by applications of basic operations to one or more variables or constants, e.g. AB '+C [A(C+D)] '+BE Priority of operators: NOT > AND > OR Each expression corresponds directly to a circuit of logic gates Department of Communication Engineering, NCTU 8

A truth table specifies the values of a Boolean expression for every possible combinations of variables in the expression E.g. AB '+C If an expression has n-variables, the number of different combinations of variables is 22 =2 n Department of Communication Engineering, NCTU 9

2.3 Basic Theorems and Laws Department of Communication Engineering, NCTU 10

Basic Theorems Department of Communication Engineering, NCTU 11

Commutative, associative and distributed laws Commutative laws : XY = YX Associative laws : X+Y = Y+X (XY)Z = X(YZ) = XYZ (X+Y)+Z = X+(Y+Z) = X+Y+Z Department of Communication Engineering, NCTU 12

Distributed law AND operation distributes over OR: X(Y+Z) = XY+XZ OR operation also distributes over AND X+YZ = (X+Y)(X+Z) = XX + XY + XZ + YZ = X ( 1+ Y + Z) + YZ = X + YZ This distributive law does not hold for ordinary algebra Department of Communication Engineering, NCTU 13

2.4 Simplification Theorems Department of Communication Engineering, NCTU 14

Simplifications of Boolean expressions Each expression corresponds to a circuit of logic gates. Simplifying an expression leads to a simpler circuit Some useful theorems E.g. F = A(A +B) By the second distributive law Department of Communication Engineering, NCTU 15

Example 1 Example 2 Department of Communication Engineering, NCTU 16

2.4 Multiplying Out and Factoring Department of Communication Engineering, NCTU 17

An expression is said to be in sum-of-products form when all products are the products of only single variables E.g. : AB + CD E + AC E ABC + DEFG + H When multiplying out an expression, the second distributive law should be applied first when possible E.g. : (A + BC)(A + D + E) = A + BC(D + E) = A + BCD + BCE Department of Communication Engineering, NCTU 18

An expression is in product-of-sums when all sums are the sums of single variables E.g. : (A+B )(C+D +E)(A+C +E ) The second distributive law can be applied for factorization E.g. : Department of Communication Engineering, NCTU 19

Example 1 Department of Communication Engineering, NCTU 20

Two-level circuits Sum-of-products Product-of-sums Department of Communication Engineering, NCTU 21

2.5 DeMorgan s Laws Department of Communication Engineering, NCTU 22

DeMorgan s Laws The complement of the sum is the product of the complements (X+Y) = X Y The complement of the product is the sum of the complements (XY) = X + Y Can be verified by using a truth table DeMorgan s Laws are easily generated to n variables Department of Communication Engineering, NCTU 23

Example 1 Example 2 Department of Communication Engineering, NCTU 24

Department of Communication Engineering, NCTU 25

Department of Communication Engineering, NCTU 26