ECE2030 Introduction to Computer Engineering Lecture 5: Boolean Algebra - PowerPoint PPT Presentation

1 / 15
About This Presentation
Title:

ECE2030 Introduction to Computer Engineering Lecture 5: Boolean Algebra

Description:

Logic operations: OR, AND, XOR, etc. Consider the following Boolean equation. A Boolean function can be represented by a truth table which list all ... – PowerPoint PPT presentation

Number of Views:61
Avg rating:3.0/5.0
Slides: 16
Provided by: hsienhsi
Category:

less

Transcript and Presenter's Notes

Title: ECE2030 Introduction to Computer Engineering Lecture 5: Boolean Algebra


1
ECE2030 Introduction to Computer
EngineeringLecture 5 Boolean Algebra
Prof. Hsien-Hsin Sean Lee School of Electrical
and Computer Engineering Georgia Tech
2
What is Boolean Algebra
  • An algebra dealing with
  • Binary variables by alphabetical letters
  • Logic operations OR, AND, XOR, etc
  • Consider the following Boolean equation
  • A Boolean function can be represented by a truth
    table which list all combinations of 1s and 0s
    for each binary value

3
Fundamental Operators
  • NOT
  • Unary operator
  • Complements a Boolean variable represented as A,
    A, or A
  • OR
  • Binary operator
  • A OR-ed with B is represented as A B
  • AND
  • Binary operator
  • A AND-ed with B is represented as AB or AB
  • Can perform logical multiplication

4
Binary Boolean Operations
  • All possible outcomes of a 2-input Boolean
    function

A B F0 F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 F13 F14 F15
0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
0 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
1 0 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1
1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
5
Precedence of Operators
  • Precedence of Operator Evaluation (Similar to
    decimal arithmetic)
  • () Parentheses
  • NOT
  • AND
  • OR

6
Function Evaluation
7
Basic Identities of Boolean Algebra
8
Derivation of Simplification
9
Derivation of Consensus Theorem
10
Duality Principle
  • A Boolean equation remains valid if we take the
    dual of the expressions on both sides of the
    equals sign
  • Dual of expressions
  • Interchange 1s and 0s
  • Interchange AND (?) and OR ()

11
Duality Principle
12
Simplification Examples
13
DeMorgans Law
?
?
14
Example in Lecture 4
15
Another Way to Draw It
Write a Comment
User Comments (0)
About PowerShow.com