Topic1: Boolean Algebra José Nelson Amaral

Slides:



Advertisements
Similar presentations
Logic Gates.
Advertisements

Boolean Logic ITI 1121 N. El Kadri. 2 What is a switching network? Switching Network X1X1 XmXm X2X2 Z1Z1 ZmZm Z2Z2 Combinatorial Network: A stateless.
Lecture 5 EGRE 254 1/28/09. 2 Boolean algebra a.k.a. “switching algebra” –deals with Boolean values -- 0, 1 Positive-logic convention –analog voltages.
ECE 238L Computer Logic Design Spring 2010
Morgan Kaufmann Publishers
Chapter 2 Logic Circuits.
ECE 331 – Digital System Design Boolean Algebra (Lecture #3) The slides included herein were taken from the materials accompanying Fundamentals of Logic.
ECE 331 – Digital System Design
SYEN 3330 Digital SystemsJung H. Kim Chapter SYEN 3330 Digital Systems Chapter 2 -Part 2.
ECE 301 – Digital Electronics Boolean Algebra and Standard Forms of Boolean Expressions (Lecture #4) The slides included herein were taken from the materials.
Gate Circuits and Boolean Equations BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
©2010 Cengage Learning CHAPTER 2 BOOLEAN ALGEBRA 2.1Introduction 2.2Basic Operations 2.3Boolean Expressions and Truth Tables 2.4Basic Theorems 2.5Commutative,
Digital Logic Circuits – Chapter 1 Section 1-3, 1-2.
CHAPTER 2 Boolean Algebra
Logic Design CS221 1 st Term Boolean Algebra Cairo University Faculty of Computers and Information.
Boolean Algebra and Digital Circuits
F = ∑m(1,4,5,6,7) F = A’B’C+ (AB’C’+AB’C) + (ABC’+ABC) Use X’ + X = 1.
©2004 Brooks/Cole FIGURES FOR CHAPTER 2 BOOLEAN ALGEBRA Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter in.
Chapter 2: Boolean Algebra and Logic Gates. F 1 = XY’ + X’Z XYZX’Y’XY’X’ZF1F
Why? What’s Boolean algebra used for? –“The purpose of Boolean algebra is to facilitate the analysis and design of digital circuits.” Express a truth table.
Boolean Logic and Circuits ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
6 - 1 Simplification Theorems Useful for simplification of expressions & therefore simplification of the logic network which results. XY + XY' = ( X +
©2004 Brooks/Cole FIGURES FOR CHAPTER 3 BOOLEAN ALGEBRA (continued) Click the mouse to move to the next page. Use the ESC key to exit this chapter. This.
1 BOOLEAN ALGEBRA Basic mathematics for the study of logic design is Boolean Algebra Basic laws of Boolean Algebra will be implemented as switching devices.
Chap 2. Combinational Logic Circuits
ENGIN112 L6: More Boolean Algebra September 15, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 6 More Boolean Algebra A B.
Computer Systems 1 Fundamentals of Computing Simplifying Boolean Expressions.
Boolean Algebra – II. Outline  Basic Theorems of Boolean Algebra  Boolean Functions  Complement of Functions  Standard Forms.
1 Lect # 2 Boolean Algebra and Logic Gates Boolean algebra defines rules for manipulating symbolic binary logic expressions. –a symbolic binary logic expression.
© BYU 03 BA1 Page 1 ECEn 224 Boolean Algebra – Part 1.
BOOLEAN ALGEBRA Kamrul Ahsan Teacher of
CONSENSUS THEOREM Choopan Rattanapoka.
CEC 220 Digital Circuit Design Boolean Algebra Friday, January 17 CEC 220 Digital Circuit Design Slide 1 of 22.
CMPUT Computer Organization and Architecture II1 CMPUT329 - Fall 2002 Topic2: DeMorgan Laws José Nelson Amaral.
BOOLEAN ALGEBRA – Digital Circuit 1 Choopan Rattanapoka.
Boolean Algebra and Logic Gates
CMPUT Computer Organization and Architecture II1 CMPUT329 - Fall 2003 Topic 4: Cost of Logic Circuits and Karnaugh Maps José Nelson Amaral.
Chapter 3 Digital Logic Structures
CMPUT Computer Organization and Architecture I1 CMPUT229 - Fall 2002 Topic 2: Digital Logic Structure José Nelson Amaral.
CEC 220 Digital Circuit Design Boolean Algebra II Fri, Sept 4 CEC 220 Digital Circuit Design Slide 1 of 13.
Boolean Algebra ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
Lecture 5 More Boolean Algebra A B. Overview °Expressing Boolean functions °Relationships between algebraic equations, symbols, and truth tables °Simplification.
Mu.com.lec 9. Overview Gates, latches, memories and other logic components are used to design computer systems and their subsystems Good understanding.
Objectives The student will be able to:
Speaker: Fuw-Yi Yang 楊伏夷 伏夷非征番, 道德經 察政章(Chapter 58) 伏者潛藏也
ECE 301 – Digital Electronics
CS2100 Computer Organisation
Chapter 3 Notes – Part II Review Questions
Chapter 11 (Part 1): Boolean Algebra
Unit 2 Boolean Algebra.
CS2100 Computer Organisation
CS 105 Digital Logic Design
Lecture 2 Boolean Algebra Basic
Gate Circuits and Boolean Equations
CHAPTER 3 BOOLEAN ALGEBRA (continued)
CHAPTER 2 Boolean Algebra
CHAPTER 2 Boolean Algebra This chapter in the book includes:
Boolean Algebra – Part 1 ECEn 224.
Lecture 2-1 Boolean Algebra
SLIDES FOR CHAPTER 2 BOOLEAN ALGEBRA
FIGURES FOR CHAPTER 2 BOOLEAN ALGEBRA
ECE/CS 352 Digital Systems Fundamentals
Lecture 3: Boolean Algebra
Boolean Algebra.
Example Question: Consider the expressions: (a) F = XY + XY'
CHAPTER 3 BOOLEAN ALGEBRA (continued)
COMS 361 Computer Organization
NTU DSD (Digital System Design) 2007
Boolean Algebra and Gate Networks
Presentation transcript:

Topic1: Boolean Algebra José Nelson Amaral CMPUT329 - Fall 2003 Topic1: Boolean Algebra José Nelson Amaral CMPUT 329 Computer Organization and Architecture II

CMPUT 329 Computer Organization and Architecture II Reading Assignment Wakerly, Chapter 4 (Sections 4.1.1, 4.1.2, 4.1.3) CMPUT 329 Computer Organization and Architecture II

What is a switching network? X1 Xm X2 Z1 Zm Z2 Combinatorial Network: A stateless network. The output is completely determined by the values of the input. Sequential Network: The network stores an internal state. The output is determined by the input, and by the internal state. CMPUT 329 Computer Organization and Architecture II

Logic Functions: Boolean Algebra INVERTER X X’ If X=0 then X’=1 If X=1 then X’=0 A B C=A·B If A=1 AND B=1 then C=1 otherwise C=0 AND OR A B C=A+B If A=1 OR B=1 then C=1 otherwise C=0 CMPUT 329 Computer Organization and Architecture II

Boolean expressions and logic circuits Any Boolean expression can be implemented as a logic circuit. X = [A(C+D)]’+BE C D C+D A A(C+D) [A(C+D)]’ [A(C+D)]’+BE B E BE CMPUT 329 Computer Organization and Architecture II

Basic Theorems: Operations with 0 and 1 X+0 = X X C=X X+1 = 1 X 1 C=1 X 1 C=X X·1 = X X C=0 X·0 = 0 CMPUT 329 Computer Organization and Architecture II

Basic Theorems: Idempotent Laws X+X = X X C=X X C=X X·X = X CMPUT 329 Computer Organization and Architecture II

Basic Theorems: Involution Law (X’)’=X B X C=X CMPUT 329 Computer Organization and Architecture II

Basic Theorems: Laws of Complementarity X+X’ = 1 X X’ C=1 X X’ C=0 X·X’ = 0 CMPUT 329 Computer Organization and Architecture II

Expression Simplification using the Basic Theorems X can be an arbitrarily complex expression. Simplify the following boolean expressions as much as you can using the basic theorems. (AB’ + D)E + 1 = 1 (AB’ + D)(AB’ + D)’ = 0 (AB + CD) + (CD + A) + (AB + CD)’ = 1 (AB’ + D)E + 1 = (AB’ + D)(AB’ + D)’ = (AB + CD) + (CD + A) + (AB + CD)’ = CMPUT 329 Computer Organization and Architecture II

CMPUT 329 Computer Organization and Architecture II Associative Law (X+Y)+Z = X+(Y+Z) X Y Z C CMPUT 329 Computer Organization and Architecture II

CMPUT 329 Computer Organization and Architecture II Associative Law (XY)Z = X(YZ) X Y Z C Y Z X C CMPUT 329 Computer Organization and Architecture II

First Distributive Law X(Y+Z) = XY+XZ CMPUT 329 Computer Organization and Architecture II

First Distributive Law X(Y+Z) = XY+XZ CMPUT 329 Computer Organization and Architecture II

First Distributive Law X(Y+Z) = XY+XZ CMPUT 329 Computer Organization and Architecture II

First Distributive Law X(Y+Z) = XY+XZ CMPUT 329 Computer Organization and Architecture II

First Distributive Law X(Y+Z) = XY+XZ CMPUT 329 Computer Organization and Architecture II

Second Distributive Law X+YZ = (X+Y)(X+Z) CMPUT 329 Computer Organization and Architecture II

Second Distributive Law X+YZ = (X+Y)(X+Z) CMPUT 329 Computer Organization and Architecture II

Second Distributive Law (A different proof) (X + Y)(X + Z) = X(X + Z) + Y(X + Z) (using the first distributive law) = XX + XZ + YX + YZ (using the first distributive law) = X + XZ + YX + YZ (using the idempotent law) = X·1 + XZ + YX + YZ (using the operation with 1 law) = X(1 + Z + Y) + YZ (using the first distributive law) = X·1 + YZ (using the operation with 1 law) = X + YZ (using the operation with 1 law) CMPUT 329 Computer Organization and Architecture II

Simplification Theorems XY + XY’ = X XY + XY’ = X(Y + Y’) = X·1 = X (X + Y)(X + Y’) = X (X + Y)(X + Y’) = XX + XY’ + YX + YY’ = X + X(Y’ + Y) + 0 = X + X·1 = X X + XY = X X(1 + Y) = X·1 = X X(X + Y) = X X(X + Y) = XX + XY = X·1 + XY = X(1 + Y) = X·1 = X XY’ + Y = X + Y (using the second distributive law) XY’ + Y = Y + XY’ = (Y + X)(Y + Y’) = (Y + X)·1 = X + Y (X + Y’)Y = XY XY + Y’Y = XY + 0 = XY CMPUT 329 Computer Organization and Architecture II

Examples Simplify the following expressions: W = [M + N’P + (R + ST)’][M + N’P + R + ST] X = M + N’P Y = R + ST W = (X + Y’)(X + Y) W = XX + XY + Y’X + Y’Y W = X·1 + XY + XY’ + 0 W = X + X(Y + Y’) = X + X·1 = X W = M + N’P CMPUT 329 Computer Organization and Architecture II