Boolean Algebra AND gate A B | AB 0 0 | 0 0 1 | 0 1 0 | 0 1 1 | 1 OR gate A B | A + B 0 0 | 0 0 1 | 1 1 0 | 1 1 1 | 1 NOT gate _ A | A or A’ 0 | 1 1 |

Slides:



Advertisements
Similar presentations
Boolean Algebra and Logic Gates
Advertisements

ECE 238L Computer Logic Design Spring 2010
Logical Systems Synthesis.
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
Gate-Level Minimization. Digital Circuits The Map Method The complexity of the digital logic gates the complexity of the algebraic expression.
Relationship Between Basic Operation of Boolean and Basic Logic Gate The basic construction of a logical circuit is gates Gate is an electronic circuit.
CS 151 Digital Systems Design Lecture 6 More Boolean Algebra A B.
Lecture 14 Today we will Learn how to implement mathematical logical functions using logic gate circuitry, using Sum-of-products formulation NAND-NAND.
Boolean Algebra and Logic Gates
CSCE 211: Digital Logic Design
Boolean Algebra and Logic Simplification. Boolean Addition & Multiplication Boolean Addition performed by OR gate Sum Term describes Boolean Addition.
Digital Logic Design Adil Waheed. BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION AND gate F = A.B OR gate F = A + B NOT gate F = A NAND gate F = A.B NOR gate.
Chapter 2: Boolean Algebra and Logic Functions
CHAPTER 2 Boolean Algebra
Digital Logic ENEL 111. Digital systems A digital system is a system whose inputs and outputs fall within a discrete, finite set of values Two main types.
BOOLEAN ALGEBRA Saras M. Srivastava PGT (Computer Science)
ECE 331 – Digital System Design
Computer Organization 1 Logic Gates and Adders. Propositions –Venn Diagrams.
ECE 331 – Digital System Design
LOGIC GATES & TRUTH TABLE – Digital Circuit 1 Choopan Rattanapoka.
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 Shashidhara H S Dept. of ISE MSRIT. Basic Logic Design and Boolean Algebra GATES = basic digital building blocks which correspond to and perform.
Boolean Algebra & Logic Prepared by Dr P Marais (Modified by D Burford)
+ CS 325: CS Hardware and Software Organization and Architecture Gates and Boolean Algebra Part 2.
Boolean Logic and Circuits ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
LOGIC GATES & BOOLEAN ALGEBRA
ECE 301 – Digital Electronics Basic Logic Operations, Boolean Expressions, and Boolean Algebra (Lecture #3)
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.
ENGIN112 L6: More Boolean Algebra September 15, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 6 More Boolean Algebra A B.
1 EENG 2710 Chapter 2 Algebraic Methods For The Analysis and Synthesis of Logic circuits.
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.
1 Lect # 2 Boolean Algebra and Logic Gates Boolean algebra defines rules for manipulating symbolic binary logic expressions. –a symbolic binary logic expression.
Boolean Algebra & Logic Circuits Dr. Ahmed El-Bialy Dr. Sahar Fawzy.
Module 5.  In Module 3, you have learned the concept of Boolean Algebra which consists of binary variables and binary operator.  A binary variable x,
BOOLEAN ALGEBRA – Digital Circuit 1 Choopan Rattanapoka.
Chapter 2: Basic Definitions BB inary Operators ●A●AND z = x y = x yz=1 if x=1 AND y=1 ●O●OR z = x + yz=1 if x=1 OR y=1 ●N●NOT z = x = x’ z=1 if x=0.
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION
Lecture 18: Boolean Algebra Boolean Functions. w = Chris is allowed to watch television x = Chris's homework is finished y = it is a school night z =
CEC 220 Digital Circuit Design SOP and POS forms Friday, January 23 CEC 220 Digital Circuit Design Slide 1 of 17.
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.
DE MORGAN’S THEOREM. De Morgan’s Theorem De Morgan’s Theorem.
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.
Department of Preparatory Year, Umm Al Qura University
Logic Gates and Boolean Algebra
De Morgan’s Theorem,.
Chapter 2: Boolean Algebra and Logic Functions
Logic Gates and Boolean Algebra
CS 105 Digital Logic Design
CHAPTER 2 Boolean Algebra
Digital Logic.
CHAPTER 2 Boolean Algebra This chapter in the book includes:
Princess Sumaya University
Lecture 2-1 Boolean Algebra
SLIDES FOR CHAPTER 2 BOOLEAN ALGEBRA
FIGURES FOR CHAPTER 2 BOOLEAN ALGEBRA
ECE 331 – Digital System Design
Lecture 3: Boolean Algebra
Boolean Algebra.
Boolean Algebra.
Boolean Algebra & Logic Circuits
Elec 2607 Digital Switching Circuits
Lecture 14: Boolean Algebra
CSE 370 – Winter Combinational Logic - 1
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION Part (a)
Presentation transcript:

Boolean Algebra AND gate A B | AB 0 0 | | | | 1 OR gate A B | A + B 0 0 | | | | 1 NOT gate _ A | A or A’ 0 | 1 1 | 0 Any digital logic circuit can be built just using these three gates as building blocks

Order of Operations 1.Parenthesis if any 2.NOT 3.AND 4.OR e.g.A(B + C’D) + AB’

Order of Operations Continued e.g.A(B + C’D) + AB’ where A = 0, B = 1, C = 1, D = 0 C’ = 0, B’ = 0NOTs first C’D = 0, AB’ = 0ANDs B + C’D = 1parenthesis A(B + C’D) = 0AND A(B + C’D) + AB’ = 0 OR

Truth Table Draw a truth table for Z = AB’ + AC + A’B’C ABCA’B’AB’ACA’B’CZ

Derive a Relationship from a Truth Table #ABCQ SOP(sum of products or minterm) form: Q = = Σm(1,3,4,5) Q = A’B’C + A’BC + AB’C’ + AB’C POS(product of sums or maxterm) form: Q = 0·2·6·7 = ΠM(0,2,6,7) Q = (A+B+C)(A+B’+C)(A’+B’+C)(A’+B’+C’)

NameAnd FormOr Form Identity1A = A0 + A = A Null Law0A = 01 + A = 1 Idempotent LawAA = AA + A = A Inverse or Complement LawA’A = 0A’ + A = 1 Commutative LawAB = BAA + B = B + A Associative Law(AB)C = A(BC)(A + B) + C = A + (B + C) Distributive Law(A + B)(A +C) = A + BCA(B +C) = AB + AC Absorption LawA(A + B) = A and A(A‘ + B) = AB A + AB = A and A + A’B = A + B Consensus(A+B)(A’ + C)(B + C) = (A + B)(A’ + C)AB + A’C + BC = AB + A’C DeMorgan’s Law___ _ _ AB = A + B _____ _ _ A + B = A B

Duality of Boolean Expressions A dual of a Boolean expression is obtained by replacing each ‘+’ with ‘·’ and each ‘·’ with ‘+’, each 1 by 0 and each 0 by 1. If a Boolean equation is true then its dual is also true. e.g. given: A + BC = (A + B)C then its dual is: A(B + C) = AB + C

Other Universal Gates NAND gate Any digital logic circuit can be built just using this gate A B|(AB)’ 0 0 | | | | 0 NOR gate Any digital logic circuit can be built just using this gate A B|(A+B)’ 0 0 | | | | 0

Other useful gates to build adders and subtractors XOR (exclusve OR) gate A B| A B 0 0 | | | | 0 XNOR (exclusve NOR) gate A B| (A B)’ 0 0 | | | | 1

Develop a Boolean Expression from a Boolean Circuit

R1 = Y’ R2 = XY’ R3 = Z’ R4 = (R2)+(R3)=XY’Z’ R5 = X(R3)=XZ’ Output = R4 + R5 = XY’Z’ + XZ’

Synthesis of Combinational Circuits Build a circuit to implement the following truth table: XYZP

Synthesis of Combinational Circuits Build a circuit to implement the following truth table: #XYZP Do SOP form: P = Σm(2,3,5,7) = X’YZ’ + X’YZ + XY’Z + XYZ

Synthesis of Combinational Circuits Build a circuit to implement the following truth table: Do SOP form: P = Σm(2,3,5,7) = X’YZ’ + X’YZ + XY’Z + XYZ

Synthesis of Combinational Circuits Build a circuit to implement the following truth table: Do SOP form: P = Σm(2,3,5,7) = X’YZ’ + X’YZ + XY’Z + XYZ Try to simplify circuit: P = X’Y(Z’+Z) + XZ(Y’+Y) P = X’Y + XZ

Synthesis of Combinational Circuits Build a circuit to implement the following truth table: #XYZP Do POS form: P = ΠM(0,1,4,6) = (X+Y+Z)(X+Y+Z’)(X’+Y+Z)(X’+Y’+Z)

Synthesis of Combinational Circuits Build a circuit to implement the following truth table: Do POS form: P = ΠM(0,1,4,6) = (X+Y+Z)(X+Y+Z’)(X’+Y+Z)(X’+Y’+Z)

Synthesis of Combinational Circuits Build a circuit to implement the following truth table: Try to simplify circuit: P=(XX+XY+XZ’+YX+YY+YZ’+ZX+ZY+ZZ’)· (X’X’+X’Y’+X’Z+YX’+YY’+YZ+ZX’+ZY’+ZZ) P=(X+XY+XZ’+Y+YZ’+XZ+YZ+0)(X’+X’Y’+X’Z+X’Y+0+YZ+X’Z+Z) P=(X(1+Y+Z’+Z)+Y(1+Z))(X’(1+Y’+Z+Y+Z)+Z(Y+1)) P=(X+Y)(X’+Z) Do POS form: P = ΠM(0,1,4,6) = (X+Y+Z)(X+Y+Z’)(X’+Y+Z)(X’+Y’+Z)