CEC 220 Digital Circuit Design Boolean Algebra Friday, January 17 CEC 220 Digital Circuit Design Slide 1 of 22.

Slides:



Advertisements
Similar presentations
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.
Advertisements

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
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Boolean Algebra. Introduction 1854: Logical algebra was published by George Boole  known today as “Boolean Algebra” 1854: Logical algebra was published.
Chapter 2: Boolean Algebra and Logic Functions
9/15/09 - L5 Boolean AlgebraCopyright Joanne DeGroat, ECE, OSU1 Boolean Algebra.
CHAPTER 2 Boolean Algebra
Boolean Algebra – I. Outline  Introduction  Digital circuits  Boolean Algebra  Two-Valued Boolean Algebra  Boolean Algebra Postulates  Precedence.
BOOLEAN ALGEBRA Saras M. Srivastava PGT (Computer Science)
ECE 331 – Digital System Design
©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.
Digital Systems: Boolean Algebra and Logic Gates
Module 4.  Boolean Algebra is used to simplify the design of digital logic circuits.  The design simplification are based on: Postulates of Boolean.
LOGIC GATES & BOOLEAN ALGEBRA
ECE 301 – Digital Electronics Basic Logic Operations, Boolean Expressions, and Boolean Algebra (Lecture #3)
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.
Figure 2.6. A truth table for the AND and OR operations. 2.3 Truth Tables 1.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI
Boolean Algebra – II. Outline  Basic Theorems of Boolean Algebra  Boolean Functions  Complement of Functions  Standard Forms.
A. Abhari CPS2131 Chapter 2: Boolean Algebra and Logic Gates Topics in this Chapter: Boolean Algebra Boolean Functions Boolean Function Simplification.
Lecture 4 Boolean Algebra. Logical Statements °A proposition that may or may not be true: Today is Monday Today is Sunday It is raining °Compound Statements.
1 Lect # 2 Boolean Algebra and Logic Gates Boolean algebra defines rules for manipulating symbolic binary logic expressions. –a symbolic binary logic expression.
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 I Wed, Sept 2 CEC 220 Digital Circuit Design Slide 1 of 13.
BOOLEAN ALGEBRA – Digital Circuit 1 Choopan Rattanapoka.
Module –I Boolean Algebra Digital Design Amit Kumar Assistant Professor SCSE, Galgotias University, Greater Noida.
Ahmad Almulhem, KFUPM 2009 COE 202: Digital Logic Design Combinational Logic Part 1 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:
CEC 220 Digital Circuit Design SOP and POS forms Friday, January 23 CEC 220 Digital Circuit Design Slide 1 of 17.
ECE DIGITAL LOGIC LECTURE 8: BOOLEAN FUNCTIONS Assistant Prof. Fareena Saqib Florida Institute of Technology Spring 2016, 02/11/2016.
CEC 220 Digital Circuit Design Boolean Algebra II Fri, Sept 4 CEC 220 Digital Circuit Design Slide 1 of 13.
Boolean Algebra. BOOLEAN ALGEBRA Formal logic: In formal logic, a statement (proposition) is a declarative sentence that is either true(1) or false (0).
Boolean Algebra ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
CEC 220 Digital Circuit Design SOP and POS forms Friday, Sept 11 CEC 220 Digital Circuit Design Slide 1 of 17.
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.
Boolean Algebra & Logic Gates
ECE 301 – Digital Electronics
Chapter 2: Boolean Algebra and Logic Functions
14:332:231 DIGITAL LOGIC DESIGN Boolean Algebra
ECE 20B, Winter 2003 Introduction to Electrical Engineering, II LECTURE NOTES #2 Instructor: Andrew B. Kahng (lecture)
Logic Gates and Boolean Algebra
CS 105 Digital Logic Design
Gate Circuits and Boolean Equations
CHAPTER 2 Boolean Algebra
CHAPTER 2 Boolean Algebra This chapter in the book includes:
Boolean Algebra.
Princess Sumaya University
Boolean Algebra – Part 1 ECEn 224.
SLIDES FOR CHAPTER 2 BOOLEAN ALGEBRA
FIGURES FOR CHAPTER 2 BOOLEAN ALGEBRA
Jeremy R. Johnson Wed. Sept. 29, 1999
Lecture 3: Boolean Algebra
CHAPTER 2 Boolean Algebra
Boolean Algebra.
Boolean Algebra.
Boolean Algebra & Logic Circuits
CSE 370 – Winter Combinational Logic - 1
February 7, 2002 John Wawrzynek
Boolean Algebra Introduction CSCI 240
Boolean Algebra.
COMS 361 Computer Organization
Introductory Concepts
BOOLEAN ALGEBRA.
ECE Digital Electronics
Digital Systems Section 3 Boolean Algebra. Digital Systems Section 3 Boolean Algebra.
Boolean Algebra S.SADHISH PRABHU.
Presentation transcript:

CEC 220 Digital Circuit Design Boolean Algebra Friday, January 17 CEC 220 Digital Circuit Design Slide 1 of 22

Lecture Outline Friday, January 17 CEC 220 Digital Circuit Design Introduction Basic Operations: NOT, AND, OR Representations of Boolean Expressions Basic Boolean Theorems Implementation of Boolean Expressions Slide 2 of 22

Boolean Algebra Introduction Friday, January 17 CEC 220 Digital Circuit Design Boolean Algebra In 1849 George Boole published a scheme for the algebraic description of logic processes In the 1930’s Claude Shannon used Boolean Algebra to describe circuits built with switches Boolean Algebra is an effective tool for describing logic circuits Slide 3 of 22

Boolean Algebra Boolean Logic Friday, January 17 CEC 220 Digital Circuit Design Two logic levels  TRUE = HIGH = 1  FALSE = LOW = 0 +5 V Time Transition from logic 1 to logic 0 does not take place instantaneously in real digital systems +5 V 0 Logic 1 Logic 0 Intermediate values may be visible for an instant Slide 4 of 22

Boolean Algebra Basic Operations: NOT, AND, OR Friday, January 17 CEC 220 Digital Circuit Design AC AC AC FT TF Slide 5 of 22

Boolean Algebra Basic Operations: NOT, AND, OR Friday, January 17 CEC 220 Digital Circuit Design Logical AND  Description: o The output is TRUE if and only if all the inputs are TRUE  Symbolic Representation (AND gate):  Truth Table Representation:  Boolean Description: C = A AND B or C = A  B or C = A B ABC ABC FFF FTF TFF TTT Slide 6 of 22

Boolean Algebra Basic Operations: NOT, AND, OR Friday, January 17 CEC 220 Digital Circuit Design Logical OR  Description: o The output is TRUE if any of the inputs are TRUE  Symbolic Representation (OR gate):  Truth Table Representation:  Boolean Description: C = A OR B or C = A + B ABC ABC FFF FTT TFT TTT Slide 7 of 22

Boolean Algebra Logic Gates and Boolean Expressions Friday, January 17 CEC 220 Digital Circuit Design Derive an expression for the output of this logic circuit?  Eventually we will omit the “  ” in the AND gate and “+” in the OR gate The logic expression is a function of three variables (A, B, and C). B’ A  B’ A  B’+C Slide 8 of 22

Boolean Algebra Logic Gates and Boolean Expressions Friday, January 17 CEC 220 Digital Circuit Design C+D A(C+D) BE Slide 9 of 22

Boolean Algebra Logic Gates and Boolean Expressions Friday, January 17 CEC 220 Digital Circuit Design Literals  Each appearance of a variable or its complement in an expression is referred to as a literal.  Example:  The expression has three variables (A, B, and C)  The expression has 10 literals AB’C+A’B+A’BC’+B’C’ Slide 10 of 22

Boolean Algebra Truth Tables of a Logic Circuit Friday, January 17 CEC 220 Digital Circuit Design Determine the truth table for the output (F) of the logic circuit AB A’ F=A’+B Two variables  Four possible inputs (i.e. 2 n ) Slide 11 of 22

A+C Boolean Algebra Truth Tables of a Logic Circuit Friday, January 17 CEC 220 Digital Circuit Design Determine the truth table for the output of the logic circuit ABC B’+C A+CB’+C(A+C)(B’+C) B’ Slide 12 of 22

Boolean Algebra Basic Boolean Theorems Friday, January 17 CEC 220 Digital Circuit Design Basic Theorems  Principle of DUALITY: o Given any Boolean expression its DUAL expression can be obtained by: – Replace “ “ by “ + “ (and vice versa), also – Replace “ 0 “ by “ 1 “ (and vice versa) Slide 13 of 22

Boolean Algebra Basic Boolean Theorems Friday, January 17 CEC 220 Digital Circuit Design Basic Theorems  Operations with 0 and 1 x  0 = 0 x  1 = x x 0 x0x x 1 x1x x +0 = x x +1 = 1 x 0 x x 1 x Expression Dual of Expression Slide 14 of 22

Boolean Algebra Basic Boolean Theorems Friday, January 17 CEC 220 Digital Circuit Design Idempotent Law: Laws of Complementarity Involution Law x + x = x x  x = x Expression Dual of Expression Expression Dual of Expression Slide 15 of 22

Boolean Algebra More Boolean Theorems Friday, January 17 CEC 220 Digital Circuit Design Commutative Law Associative Law Distributive Law x  y = y  x Expression Dual of Expression x + y = y + x (x  y)  z = x  (y  z) Expression Dual of Expression (x + y) + z = x + (y + z) x  (y + z) = ( x  y) + (x  z) Expression Dual of Expression x + (y  z) = ( x + y)  (x + z) Slide 16 of 22

Boolean Algebra More Boolean Theorems Friday, January 17 CEC 220 Digital Circuit Design Let’s verify the Distributive Law via a truth table y + z xyz x (y + z) = x y + x z x(y + z) LHS x y xyz x z RHS x y + x z y + zx(y + z) x yx z x y + x z Slide 17 of 22

Boolean Algebra Boolean Algebra Examples Friday, January 17 CEC 220 Digital Circuit Design Examples  Prove the following algebraically Distributive Law LHS Complementarity Law Operations with 0 and 1 LHS Operations with 0 and 1 Distributive Law Operations with 0 and 1 Slide 18 of 22

Boolean Algebra Boolean Algebra Examples Friday, January 17 CEC 220 Digital Circuit Design Examples: LHS Last example: X+XZ = X Distributive Law (Dual) Idempotent Law Distributive Law Last example: X+XY = X Slide 19 of 22

Boolean Algebra A Circuit Example Friday, January 17 CEC 220 Digital Circuit Design Determine the Output of the Following Circuit Design a Simpler Circuit with the Same Output x + (y  z) = ( x + y)  (x + z) Distributive Law (Dual) Slide 20 of 22

Boolean Algebra An Inverter Friday, January 17 CEC 220 Digital Circuit Design Implementation of an inverter (Lab 1) A simple RTL logic inverter Interpret voltages per the TTL standard: 0 to 0.8 volts = Boolean 0 (Low) 2.2 to 5.0 volts = Boolean 1 (High) Vout = NOT Vin Vin Low Vin High Slide 21 of 22

Next Lecture Friday, January 17 CEC 220 Digital Circuit Design DeMorgan’s Laws Simplification Theorems Slide 22 of 22