9/15/09 - L5 Boolean AlgebraCopyright 2009 - Joanne DeGroat, ECE, OSU1 Boolean Algebra.

Slides:



Advertisements
Similar presentations
Boolean Algebra and Logic Gates
Advertisements

ECE 238L Computer Logic Design Spring 2010
Chapter 2 Logic Circuits.
1 CK Cheng CSE Dept. UC San Diego CS 140, Lecture 2 Combinational Logic.
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
CS 151 Digital Systems Design Lecture 6 More Boolean Algebra A B.
1 COMP541 Combinational Logic Montek Singh Jan 16, 2007.
1 Section 10.1 Boolean Functions. 2 Computers & Boolean Algebra Circuits in computers have inputs whose values are either 0 or 1 Mathematician George.
Boolean Algebra and Logic Gates
1 Boolean Algebra & Logic Design. 2 Developed by George Boole in the 1850s Mathematical theory of logic. Shannon was the first to use Boolean Algebra.
ECE 301 – Digital Electronics Boolean Algebra and Standard Forms of Boolean Expressions (Lecture #4) The slides included herein were taken from the materials.
Chapter Two Boolean Algebra and Logic Gate
Boolean Algebra. Introduction 1854: Logical algebra was published by George Boole  known today as “Boolean Algebra” 1854: Logical algebra was published.
Boolean Algebra and Logic Simplification. Boolean Addition & Multiplication Boolean Addition performed by OR gate Sum Term describes Boolean Addition.
طراحی مدارهای منطقی نیمسال دوم دانشگاه آزاد اسلامی واحد پرند.
Boolean Algebra Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
CHAPTER 2 Boolean Algebra
9/15/09 - L6 Standard FormsCopyright Joanne DeGroat, ECE, OSU1 Standard Forms.
Binary Logic and Gates Binary variables take on one of two values.
9/15/09 - L7 Two Level Circuit Optimization Copyright Joanne DeGroat, ECE, OSU1 Two Level Circuit Optimiztion An easier way to generate a minimal.
©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.
Combinational Logic 1.
Chapter 2. Outlines 2.1 Introduction 2.2 Basic Definitions 2.3 Axiomatic Definition of Boolean Algebra 2.4 Basic thermos and proprieties of Boolean Algebra.
1 Boolean Algebra  Digital circuits Digital circuits  Boolean Algebra Boolean Algebra  Two-Valued Boolean Algebra Two-Valued Boolean Algebra  Boolean.
KFUPM COE 202: Digital Logic Design Combinational Logic Part 1 Courtesy of Dr. Ahmad Almulhem.
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.
Boolean Algebra – II. Outline  Basic Theorems of Boolean Algebra  Boolean Functions  Complement of Functions  Standard Forms.
Logic Circuits Lecture 3 By Amr Al-Awamry. Basic Definitions Binary Operators  AND z = x y = x yz=1 if x=1 AND y=1  OR z = x + y z=1 if x=1 OR y=1 
© BYU 03 BA1 Page 1 ECEn 224 Boolean Algebra – Part 1.
CEC 220 Digital Circuit Design Boolean Algebra Friday, January 17 CEC 220 Digital Circuit Design Slide 1 of 22.
Boolean Algebra and Logic Gates
Ahmad Almulhem, KFUPM 2009 COE 202: Digital Logic Design Combinational Logic Part 1 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 4 Dr. Shi Dept. of Electrical and Computer Engineering.
ECE DIGITAL LOGIC LECTURE 8: BOOLEAN FUNCTIONS Assistant Prof. Fareena Saqib Florida Institute of Technology Spring 2016, 02/11/2016.
ECE DIGITAL LOGIC LECTURE 6: BOOLEAN ALGEBRA Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2016, 02/01/2016.
Boolean Algebra. BOOLEAN ALGEBRA Formal logic: In formal logic, a statement (proposition) is a declarative sentence that is either true(1) or false (0).
Lecture 5 More Boolean Algebra A B. Overview °Expressing Boolean functions °Relationships between algebraic equations, symbols, and truth tables °Simplification.
CSE 461. Binary Logic Binary logic consists of binary variables and logical operations. Variables are designated by letters such as A, B, C, x, y, z etc.
1 CS 352 Introduction to Logic Design Lecture 2 Ahmed Ezzat Boolean Algebra and Its Applications Ch-3 + Ch-4.
Basic Laws, theorems, and postulates of Boolean Algebra
©2010 Cengage Learning SLIDES FOR CHAPTER 3 BOOLEAN ALGEBRA (continued) Click the mouse to move to the next page. Use the ESC key to exit this chapter.
CHAPTER 2 Boolean algebra and Logic gates
Speaker: Fuw-Yi Yang 楊伏夷 伏夷非征番, 道德經 察政章(Chapter 58) 伏者潛藏也
ECE 301 – Digital Electronics
CS2100 Computer Organisation
Boolean Algebra.
Unit 2 Boolean Algebra.
CS 105 Digital Logic Design
CHAPTER 3 BOOLEAN ALGEBRA (continued)
CHAPTER 2 Boolean Algebra
CHAPTER 2 Boolean Algebra This chapter in the book includes:
Lecture 3 Algebraic Simplification
Boolean Algebra.
Princess Sumaya University
Boolean Algebra – Part 1 ECEn 224.
SLIDES FOR CHAPTER 2 BOOLEAN ALGEBRA
FIGURES FOR CHAPTER 2 BOOLEAN ALGEBRA
Lecture 3: Boolean Algebra
Boolean Algebra.
Boolean Algebra.
Boolean Algebra & Logic Circuits
Basic Logic Gates 1.
COE 202: Digital Logic Design Combinational Logic Part 1
Boolean Algebra.
Boolean Algebra Logic Gates
CHAPTER 3 BOOLEAN ALGEBRA (continued)
COMS 361 Computer Organization
ECE 352 Digital System Fundamentals
BOOLEAN ALGEBRA.
Presentation transcript:

9/15/09 - L5 Boolean AlgebraCopyright Joanne DeGroat, ECE, OSU1 Boolean Algebra

9/15/09 - L5 Boolean Algebra Copyright Joanne DeGroat, ECE, OSU2 Class 5 outline  Boolean Algebra Basic Boolean Equations Multiple Level Logic Representation Basic Identities Algebraic Manipulation Complements and Duals  Material from section 2-2 of text

History  George Boole 2 November 1815 Lincoln Lincolnshire, England – 8 December 1864 Ballintemple, Ireland Professor at Queens College, Cork, Ireland  “spring of 1847 that he put his ideas into the pamphlet called Mathematical Analysis of Logic.” from wikipedia.com 9/15/09 - L5 Boolean Algebra Copyright Joanne DeGroat, ECE, OSU3

Basic Boolean Equations  For the basic gates/functions  AND Z = A B X = C D E3 input gate Y = F G H K4 input gate  OR Z = A + B Y = F + G + H + K 4 input gate  NOT Z = A Y = (F G H K)actually 2 level logic 9/15/09 - L5 Boolean Algebra Copyright Joanne DeGroat, ECE, OSU4

2 Level Logic  Consider the following logic equation Z(A,B,C,D) = A B + C D The Z(A,B,C,D) means that the output is a function of the four variables within the (). The AB and CD are terms of the expression. This form of representing the function is an algebraic expression. For this function to be True, either both A AND B are True OR both C AND D are True. 9/15/09 - L5 Boolean Algebra Copyright Joanne DeGroat, ECE, OSU5

Truth table expression  Just like we had the truth tables for the basic functions, we can also construct truth tables for any function. 9/15/09 - L5 Boolean Algebra Copyright Joanne DeGroat, ECE, OSU6

Examples of Boolean Equations  Some examples F = AB + CD + BD’ Y = CD + A’B’ SUM = AB + A Cin + B Cin P = A 0 A 1 A 2 A 3 A 4 B 0 B 1 B 2 B 3 B 4 + … Equations can be very complex Usually desire a minimal expression 9/15/09 - L5 Boolean Algebra Copyright Joanne DeGroat, ECE, OSU7

Basic Identities of Boolean Algebra  1. X + 0 = X  3. X + 1 = 1  5. X + X = X  2. X · 1 = X  4. X · 0 = 0  6. X · X = X 9/15/09 - L5 Boolean Algebra Copyright Joanne DeGroat, ECE, OSU8

Basic Identities (2)  7. X + X’ = 1  9. (X’)’ = X  8. X · X’ = 0 9/15/09 - L5 Boolean Algebra Copyright Joanne DeGroat, ECE, OSU9

Basic Properties (Laws)  Commutative 10. X + Y = Y + X  Associative 12. X+(Y+Z)=(X+Y)+Z  Distributive 14. X(Y+Z) =XY+XZ AND distributes over OR  Commutative 11. X · Y = Y · X  Associative 13. X(YZ) = (XY)Z  Distributive 15. X+YZ=(X+Y)(X+Z) OR distributes over AND 9/15/09 - L5 Boolean Algebra Copyright Joanne DeGroat, ECE, OSU10

Basic Properties (2)  DeMorgan’s Theorem  Very important in simplifying equations 16. (X + Y)’ = X’ · Y’ 17. (XY)’ = X’ + Y’ 9/15/09 - L5 Boolean Algebra Copyright Joanne DeGroat, ECE, OSU11

Simplify, simplify  These properties (Laws and Theorems) can be used to simplify equations to their simplest form. Simplify F=X’YZ+X’YZ’+XZ 9/15/09 - L5 Boolean Algebra Copyright Joanne DeGroat, ECE, OSU12

Affect on implementation  F = X’YZ + X’YZ’ + XZ  Reduces to F = X’Y + XZ 9/15/09 - L5 Boolean Algebra Copyright Joanne DeGroat, ECE, OSU13

Other examples  Examples from the text 1. X + XY = X·1 + XY = X(1+Y) = X·1 = X  Use XY+XY’ = X(Y + Y’) = X·1 = X  Use X+X’Y = (X+X’)(X+Y) = 1· (X+Y) = X+Y  Use /15/09 - L5 Boolean Algebra Copyright Joanne DeGroat, ECE, OSU14

Further Examples  Examples from the text 4. X· (X+Y)=X·X+X·Y= X+XY=X(1+Y)=X·1=X  Use (X+Y) ·(X+Y’)=XX+XY’+XY+YY’= X+XY’+XY+0=X(1+Y’+Y)=X·1=X by a slightly different reduction 6. X(X’+Y) = XX’+XY = 0 + XY = XY 9/15/09 - L5 Boolean Algebra Copyright Joanne DeGroat, ECE, OSU15

Consensus Theorem  The Theorem gives us the relationship XY + X’Z + YZ = XY + X’Z Proof is on page 47. Note that in doing the reduction the first step is to and in a 1 to the YZ term. That 1 is in the form, (X+X’). 9/15/09 - L5 Boolean Algebra Copyright Joanne DeGroat, ECE, OSU16

Application of Consensus Theorem  Consider (page 47 of text) (A+B)(A’+C) = AA’ + AC + A’B + BC = AC + A’B + BC = AC + A’B 9/15/09 - L5 Boolean Algebra Copyright Joanne DeGroat, ECE, OSU17

Complement of a function  In real implementation sometimes the complement of a function is needed. Have F=X’YZ’+X’Y’Z 9/15/09 - L5 Boolean Algebra Copyright Joanne DeGroat, ECE, OSU18

Duals  What is meant by the dual of a function? The dual of a function is obtained by interchanging OR and AND operations and replacing 1s and 0s with 0s and 1s.  Shortcut to getting function complement Starting with the equation on the previous slide Generate the dual F=(X’+Y+Z’)(X’+Y’+Z) Complement each literal to get: F’=(X+Y’+Z)(X+Y+Z’) 9/15/09 - L5 Boolean Algebra Copyright Joanne DeGroat, ECE, OSU19

Getting XILINX software  Go to  In the upper line you have Sign in Language Documentation Downloads  Choose Downloads  On the right side of the page you will see “Logic design tools” Choose ISE WebPack TM 9/15/09 - L5 Boolean Algebra Copyright Joanne DeGroat, ECE, OSU20

Class 5 assignment  Covered section 2-2  Problems for hand in 2-7  Problems for practice 2-2a,b,c 2-6b,c,d  Reading for next class: section 2-3 9/15/09 - L5 Boolean Algebra Copyright Joanne DeGroat, ECE, OSU21