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

Similar documents
EEE130 Digital Electronics I Lecture #4

CMSC 313 Lecture 16 Postulates & Theorems of Boolean Algebra Semiconductors CMOS Logic Gates

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

CHAPTER 3 LOGIC GATES & BOOLEAN ALGEBRA

Why digital? Overview. Number Systems. Binary to Decimal conversion

Lecture 3. Title goes here 1. level Networks. Boolean Algebra and Multi-level. level. level. level. level

ENGR 303 Introduction to Logic Design Lecture 3. Dr. Chuck Brown Engineering and Computer Information Science Folsom Lake College

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

Logic Gates and Boolean Algebra

Combinational logic. Possible logic functions of two variables. Minimal set of functions. Cost of different logic functions.

Digital Design 2. Logic Gates and Boolean Algebra

Unit 2 Boolean Algebra

Theorem/Law/Axioms Over (.) Over (+)

COSC3330 Computer Architecture Lecture 2. Combinational Logic

Part 5: Digital Circuits

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

Goals for Lecture. Binary Logic and Gates (MK 2.1) Binary Variables. Notation Examples. Logical Operations

Appendix A: Digital Logic. Principles of Computer Architecture. Principles of Computer Architecture by M. Murdocca and V. Heuring

Lecture 1. Notes. Notes. Notes. Introduction. Introduction digital logic February Bern University of Applied Sciences

Having read this workbook you should be able to: design a logic circuit from its Boolean equation or truth table.

Electronics. Overview. Introducction to Synthetic Biology

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

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

LOGIC GATES A Y=A+B. Logic symbol of OR gate B The Boolean expression of OR gate is Y = A + B, read as Y equals A 'OR' B.

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

BOOLEAN ALGEBRA INVESTIGATIONS

Digital Circuit And Logic Design I. Lecture 3

CS 226: Digital Logic Design

Chapter 2: Switching Algebra and Logic Circuits

New Students Day Activity

Chapter 7 Combinational Logic Networks

Unit 2 Boolean Algebra

Digital Fundamentals

Prove that if not fat and not triangle necessarily means not green then green must be fat or triangle (or both).

Lecture 2. Notes. Notes. Notes. Boolean algebra and optimizing logic functions. BTF Electronics Fundamentals August 2014

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.

UNIT 8A Computer Circuitry: Layers of Abstraction. Boolean Logic & Truth Tables

Boole Algebra and Logic Series

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

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

LOGIC GATES (PRACTICE PROBLEMS)

Gates. Quiz 1 will cover up to and including this lecture. The book says something about NAND... maybe an in-law. Is he talking about BILL??? 6.

EECS Variable Logic Functions

Department of Electrical and Computer Engineering University of Wisconsin - Madison. ECE/CS 352 Digital System Fundamentals.

Lecture 10: 09//25/03 A.R. Neureuther Version Date 09/14/03 EECS 42 Introduction to Digital Electronics Andrew R. Neureuther

WEEK 2.1 BOOLEAN ALGEBRA

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

Boolean Algebra & Logic Gates. By : Ali Mustafa

CHAPTER 7 MULTI-LEVEL GATE CIRCUITS NAND AND NOR GATES

Switches: basic element of physical implementations

3.4 Set Operations Given a set A, the complement (in the Universal set U) A c is the set of all elements of U that are not in A. So A c = {x x / A}.

Logic Design Combinational Circuits. Digital Computer Design

Possible logic functions of two variables

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

L2: Combinational Logic Design (Construction and Boolean Algebra)

for Digital Systems Simplification of logic functions Tajana Simunic Rosing Sources: TSR, Katz, Boriello & Vahid

Number System. Decimal to binary Binary to Decimal Binary to octal Binary to hexadecimal Hexadecimal to binary Octal to binary

COS 140: Foundations of Computer Science

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

Logic Gate Level. Part 2

Chapter 2 Combinational Logic Circuits

Lecture 4: More Boolean Algebra

Chapter 2 Part 7 Combinational Logic Circuits

Chapter 2 Boolean Algebra and Logic Gates

Logic. Basic Logic Functions. Switches in series (AND) Truth Tables. Switches in Parallel (OR) Alternative view for OR

Chapter 2 Combinational Logic Circuits

This form sometimes used in logic circuit, example:

CS61c: Representations of Combinational Logic Circuits

1 Boolean Algebra Simplification

Digital Logic. Lecture 5 - Chapter 2. Outline. Other Logic Gates and their uses. Other Logic Operations. CS 2420 Husain Gholoom - lecturer Page 1

L2: Combinational Logic Design (Construction and Boolean Algebra)

CSE 140, Lecture 2 Combinational Logic CK Cheng CSE Dept. UC San Diego

Algebraic Methods for the Analysis and Synthesis

4 Switching Algebra 4.1 Axioms; Signals and Switching Algebra

CprE 281: Digital Logic

Chapter 2. Digital Logic Basics

Section 001. Read this before starting! You may use one sheet of scrap paper that you will turn in with your test.

Computer Organization: Boolean Logic

ﻮﻧﺭﺎﮐ ﺔﺸﻘﻧ ﺎﺑ ﻱﺯﺎﺳ ﻪﻨﻴﻬﺑ

Combinational Logic Design Principles

Digital Electronics. Delay Max. FF Rate Power/Gate High Low (ns) (MHz) (mw) (V) (V) Standard TTL (7400)

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

Lecture 3: Boolean Algebra

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

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

CMSC 313 Lecture 16 Announcement: no office hours today. Good-bye Assembly Language Programming Overview of second half on Digital Logic DigSim Demo

Boolean Algebra and Digital Logic 2009, University of Colombo School of Computing

Lecture 9: Digital Electronics

Combinational Logic (mostly review!)

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

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

Chapter 2. Boolean Algebra and Logic Gates

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

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

Appendix A: Digital Logic. CPSC 352- Computer Organization

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA (CONT.)

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA

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

Standard Expression Forms

CMSC 313 Lecture 15 Good-bye Assembly Language Programming Overview of second half on Digital Logic DigSim Demo

Transcription:

oolean lgebra

Introduction 1854: Logical algebra was published by George oole known today as oolean lgebra It s a convenient way and systematic way of expressing and analyzing the operation of logic circuits. 1938: Claude Shannon was the first to apply oole s work to the analysis and design of logic circuits.

oolean Operations & Expressions Variable a symbol used to represent a logical quantity. Complement the inverse of a variable and is indicated by a bar over the variable. Literal a variable or the complement of a variable.

oolean ddition oolean addition is equivalent to the OR operation 00 0 01 1 10 1 11 1 sum term is produced by an OR operation with no ND ops involved. i.e.,, C, C D sum term is equal to 1 when one or more of the literals in the term are 1. sum term is equal to 0 only if each of the literals is 0.

oolean Multiplication oolean multiplication is equivalent to the ND operation 0 0 0 0 1 0 1 0 0 1 1 1 product term is produced by an ND operation with no OR ops involved. i.e.,, C, CD product term is equal to 1 only if each of the literals in the term is 1. product term is equal to 0 when one or more of the literals are 0.

Laws & Rules of oolean lgebra The basic laws of oolean algebra: The commutative laws (กฏการสล บท )บท ) กฏการสล บท )บท )) The associative laws (กฏการจ ดกล มดกล บท )ม กฏการจ ดกล มดกล บท )ม) The distributive laws (กฏการกระจ ดกล มายกล มาย)

Commutative Laws The commutative law of addition for two variables is written as: The commutative law of multiplication for two variables is written as:

ssociative Laws The associative law of addition for 3 variables is written as: (C) ()C C C (C) The associative law of multiplication for 3 variables is written as: (C) ()C C ()C C C (C) C ()C

Distributive Laws The distributive law is written for 3 variables as follows: (C) C C C X C C X X(C) XC

Rules of oolean lgebra 1. 0 7. 2. 1 1 8. 0 3. 0 4. 1 0 9. 10. 5. 11. 6. 1 12.( )( C) C,, and C can represent a single variable or a combination of variables.

DeMorgan s Theorems DeMorgan s theorems provide mathematical verification of: the equivalency of the NND and negative-or gates the equivalency of the NOR and negative-nd gates.

DeMorgan s Theorems The complement of two or more NDed variables is equivalent to the OR of the complements of the individual variables. NND Negative-OR X Y X Y The complement of two or more ORed variables is equivalent to the ND of the complements of the individual variables. NOR X Y Negative-ND X Y

DeMorgan s Theorems (Exercises) pply DeMorgan s theorems to the expressions: X Y Z X Y Z X Y Z W X Y Z

DeMorgan s Theorems (Exercises) pply DeMorgan s theorems to the expressions: ( C) D C DEF CD EF C D( E F )

oolean nalysis of Logic Circuits oolean algebra provides a concise way to express the operation of a logic circuit formed by a combination of logic gates so that the output can be determined for various combinations of input values.

oolean Expression for a Logic Circuit To derive the oolean expression for a given logic circuit, begin at the left-most inputs and work toward the final output, writing the expression for each gate. C D CD CD (CD)

Constructing a Truth Table for a Logic Circuit Once the oolean expression for a given logic circuit has been determined, a truth table that shows the output for all possible values of the input variables can be developed. Let s take the previous circuit as the example: (CD) There are four variables, hence 16 (2 4 ) combinations of values are possible.

Constructing a Truth Table for a Logic Circuit Evaluating the expression To evaluate the expression (CD),, first find the values of the variables that make the expression equal to 1 (using the rules for oolean add & mult). In this case, the expression equals 1 only if 1 and CD1 because (CD) 1 11 1 1

Constructing a Truth Table for a Logic Circuit Evaluating the expression (cont ) Now, determine when CD term equals 1. The term CD1 if either 1 or CD1 or if both and CD equal 1 because CD 10 1 CD 01 1 CD 11 1 The term CD1 only if C1 and D1

Constructing a Truth Table for a Logic Circuit Evaluating the expression (cont ) Summary: (CD)1 When 1 and 1 regardless of the values of C and D When 1 and C1 and D1 regardless of the value of The expression (CD)0 for all other value combinations of the variables.

Constructing a Truth Table for a Logic Circuit Putting the results in truth table format (CD)1 When 1 and 1 regardless of the values of C and D When 1 and C1 and D1 regardless of the value of INPUTS OUTPUT C D (CD) 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 1 0 0 1 0 0 0 0 1 0 1 0 0 1 1 0 0 0 1 1 1 0 1 0 0 0 0 1 0 0 1 0 1 0 1 0 0 1 0 1 1 1 1 1 0 0 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1