Docsity

Map Manupulation - Introduction to Logic Design - Lecture Slides, Slides of Digital Logic Design and Programming

Partial preview of the text

Download Map Manupulation - Introduction to Logic Design - Lecture Slides and more Slides Digital Logic Design and Programming in PDF only on Docsity!

Map Manupulation

Optimization, terms and don’t cares

Class 8 outline

  • Prime Implicants
    • Essential Prime implicants
    • Non-essential prime implicants
  • Product-of-Sums optimization
  • Don’t cares
  • Material from section 2-5 of text

Prime Implicant

  • If removal of an any literal from an implicant P results in a product term that is not an implicant of the function, then P is a prime implicant.
  • Let’s take a look at this.

Implicants

  • Implicants with 2 1s with 4 1s

A’B’DA’BD ABDA’BC’ A’BCA’BD’ A’C’DA’CD BC’DBCD

A’D A’B BD

Prime implicants of the function

  • Have
    • A’D A’B and BD
    • Removal of any literal from any of these terms results in an implicant that is not implicant of the function.
    • They also cover all 1s of the function and are not contained in some larger implicant
    • These are the prime implicants of the function

Some general statements on P I

  • A single 1 on a map is a prime implicant if is not adjacent to any other 1 of the function.
  • Two adjacent 1s on a map represent a prime implicant, provided that they are not within a rectangle of 4 or more squares containing 1s.
  • Four 1’s that are an implicant are a prime implicant if they are not within a group of 8.

Example

  • Consider the example of Fig 2-13 of text.
  • Prime Implicants
    • A’D
    • BD’
    • A’B
  • Essential Prime Implicants
    • A’D
    • BD’
  • So F=A’D + BD’

Using non-essential prime impicants

  • Consider the example from 2-
  • Having Prime Implicants

Selecting non-essential

  • Selection Rule: Minimize the overlap among prime implicants as much as possible.
  • Make sure each prime implicant selected includes at least one minterm not included in any other prime implicant selected.

Another problem

  • Problem:
  • Cover largest group of 1s

Just 1 more to go

  • have a choice
    • Both are equal
    • Choose 1
  • Get
  • F = A’C’+ABD+AB’C + A’B’D’
  • Equal in cost to
  • F = A’C’+ABD+AB’C + B’CD’

Don’t cares

  • In many instances in digital systems there are combinations of inputs that you don’t care what the output should be.
  • Example: BCD – You know that the input can only be one of the BDC digit representations and don’t care how the circuit responds for A through F ( through 15).
  • Results in an incompletely specified function.
  • In examples so far, all the blank squares were actually 0s.

Using the don’t cares

  • Gives
  • Result F = A’C’+ABD+AC+CD’

Product-of-Sums

  • A simple method
  • Simplify F(A,B,C,D)=∑m(0,1,2,5,8,9,10)
  • Map to K-map
  • Include 0s