ECE 171: Introduction to Digital Circuits

 Fall 1999

Rev: 11.8.99

Lecture Notes 11

Last Time

This Time

Project Changes

I made a number of minor changes to Project 1. Click here to download the latest version. Be sure to print this version out and follow it, not the older versions. You can tell if you have the latest version because it will say Rev. 11.3.99 in the upper righthand corner. The changes made are listed below.

Project Tips

5-Variable Karnaugh Maps

In the following examples the distinguished 1-cells are marked in the upper left corner of the cell with an asterisk (*). The essential prime implicants are circled in blue, the prime implicants are circled in black, and the non-essential prime implicants included in the minimal sum are shown in red.

Example 1

Prime Implicants: 3
Distinguished 1-Cells: 12
Essential Prime Implicants: 3
Minimal Sums: 1

Y = CE + A'BE + AC'E'

Example 2

Prime Implicants: 5
Distinguished 1-Cells: 9
Essential Prime Implicants: 5
Minimal Sums: 1
 

Y = A'CD' + A'CE + BE + AC'E + B'CD'E'

Example 3

Prime Implicants: 5
Distinguished 1-Cells: 10
Essential Prime Implicants: 3
Minimal Sums: 2

Y = C'E' + A'CE + B'CE + AB'C'D

Y = C'E' + A'CE + B'CE + AB'DE

Example 4

Prime Implicants: 10
Distinguished 1-Cells: 4
Essential Prime Implicants: 4
Minimal Sums: 1
Y = A'B'D' + BC'D + B'CDE' + ABC' + A'BCE + AD'E
 

Example 5

Prime Implicants: 10
Distinguished 1-Cells: 4
Essential Prime Implicants: 4
Minimal Sums: 1
Y = B'C'E' + A'CE + BDE + AC'D + C'D'E

6-Variable Karnaugh Map Example

Prime Implicants: 14
Distinguished 1-Cells: 9
Essential Prime Implicants: 6
Minimal Sums: 1

Y = A'B'E'F + AB'C'F' + AB'CD'F + ABCDF + A'BCF' + A'BC'F + A'B'C'D' + ABD'F'

Karnaugh Maps and Don't Cares

Don't cares are represented by X in Karnaugh maps. They may be used to increase the size of each group of ones, but you should not circle a group that contains only X's, no matter how big it is.

Example 1

Let the output Y be 1 if the decimal equivalent is a prime number between 0 and 9. We don't care what the output is if the decimal equivalent is greater than 10.

Y = ABCD(2,3,5,7) + d(10-15)

Prime Implicants: 3
Distinguished 1-Cells: 2
Essential Prime Implicants: 2
Minimal Sums: 1

Y = BD + CB' + CD

Example 2

Let the output Z be 1 if the decimal equivalent is not prime number between 0 and 9. We don't care what the output is if the decimal equivalent is greater than 10.

Z = ABCD(0,1,4,6,8,9) + d(10-15)

Prime Implicants: 4
Distinguished 1-Cells: 2
Essential Prime Implicants: 2
Minimal Sums: 1

Z = B'C' + BD'

Minimal Products

To find the minimal product for an output variable Y, follow these steps:

For example, suppose the minimal sum for Y' is as follows:

Y' = B'C' + BD'

then the minimal product can be obtained as follows:

Y' = B'C' + BD'
Y = (B'C' + BD')'
Y = (B'C')' (BD')'
Y = (B + C)(B' + D)