Docsity

Digital Electronics I- Lecture 06 Slides-Electronics and Communication Engineering, Slides of Digital Electronics

Partial preview of the text

Download Digital Electronics I- Lecture 06 Slides-Electronics and Communication Engineering and more Slides Digital Electronics in PDF only on Docsity!

EEE130 Digital Electronics I

Lecture #4_

  • Boolean Algebra and Logic Simplification -

By Dr. Shahrel A. Suandi

4-6 Standard Forms of Boolean

Expressions

  • There are two standard forms:
    • Sum-of-products form
    • Product-of-sums
  • Sum-of-products (SOP) form
    • Can be expressed with one OR and two or more ANDs
    • Product – Boolean multiplication
    • Sum – Boolean addition
    • Overall meaning – the sum of a few products.
    • Examples:
    • Condition to be complied:
      • In an SOP expression, a single overbar cannot extend over more than one variable; but - More than one variable in a term can have an overbar - Example: but not

AB + ABC ABC^ +^ CDE^ + BC¹^ D¹

A¹B ¹C ¹ ABC

OK (^) NG

AND/OR SOP & NAND/NAND SOP

AND/OR

NAND/NAND

More about SOP forms (2)

  • Conversion of a general expression to SOP form
    • To convert, we can simply use Boolean algebra techniques
      • Example:
  • The standard SOP form
    • All variables in the domain must appear in each product term in the expression
    • This is important in constructing truth tables
    • A nonstandard SOP is usually referred to as SOP
    • Converting product terms to standard SOP (ex. 4-13)
      • Basic  using rule 6, that is,
      • Method:
        • Multiply each nonstandard product term by a term made up of the sum of a missing variable and its complement (rule 6)
        • Repeat until we get all product terms contain all variables in the domain
        • Indirectly, we know that the process finishes when » The number of product terms is doubled for each of missing variable

A(B + CD) = AB + ACD

(A + ¹A) = 1

The Product-of-Sums (POS) Form

  • Meaning: multiplication of two or more sum

terms

  • Examples:
  • Conditions to be complied:
    • A single overbar cannot extend over more than one

variable; but

  • More than one variable in a term can have an overbar
  • Example: (^) A¹ + B¹ + C¹ but not A + B + C

OK (^) NG

( ¹A + B)(A + ¹B + C) (A + B)(A + ¹B + C)( ¹A + C)

More about POS form (1)

  • Implementation of a POS expression
    • ANDing the outputs of two or more OR gates
  • Similar to SOP form, there is a standard expression of

POS

  • Each sum termmust contain all variables in the domain
  • Usually, when it is written POS, it means nonstandard POS
  • Converting a sum term to standard POS
  • Use rule 8 and apply this to the sum term which does not contain all variables in the domain
  • Rule 8:
  • Method:
  • Add to each nonstandard product term a term made up of the product of the missing variable and its complement, giving results in two sum terms
  • Apply rule 12:
  • Repeat until all sum terms contain all variables in the domain
(A ¢ A¹) = 0
A + BC = (A + B)(A + C)

About SOP and POS

• Converting SOP to POS

1. Evaluate each product term in the SOP expression,

i.e., determine the binary numbers that represent

the product terms

2. Determine all of the binary numbers not included in

the evaluation in step 1

3. Write the equivalent sum term for each binary

number from step 2 and express in POS form

• Converting POS to SOP

  • Use similar steps as described above

4-7 Boolean Expressions and Truth

Tables (1)

  • Truth table – a common way of presenting,

in concise format, the logical operation of

a logic circuit

  • Let’s look at example 4-18 for SOP
    • SOP  equals to 1 only if at least one of the

product terms is equal to 1

  • Let’s look at example 4-19 for POS
    • POS  equals to 0 only if at least one of the

sum terms is equal to 0

Next class

• 4.7 The Karnaugh Map