Docsity

Logic Function Optimization and Hazard Protection: Karnaugh Maps and Variable-Entered Maps, Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download Logic Function Optimization and Hazard Protection: Karnaugh Maps and Variable-Entered Maps and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

Topic 3: Logic Function Optimization and

Hazard Protection

Digital Logic Design

Objectives

• To be able to:

– Use proper methods to optimize the implementation of

logic functions

– Recognize and eliminate sources of hazards in logic

circuits

– Enter variables on Karnaugh Maps

4-Variable Karnaugh Maps

Binary minterms:

When you have a truth

table for the function

AB

CD

Decimal minterms:

When you have a

summation expression

for the function

AB

CD

4-Variable Karnaugh Maps

Rules:

  • Rules to produce the simplest possible expression
  1. Combine the largest ( n ) group first
  2. Add progressively smaller groups until every cell containing a 1 has been included at least once
  3. Any redundant groupings should then be removed

Place the expression

AB+A onto the map:

Two-Variable K-Map Example

A

B 1 AB

A

B 1

A

Place the expression

AB+A onto the map:

Two-Variable K-Map Example

A

B 1 AB

A

B 1

A

This is the same as:

A

B 1

Now group the 1s according

to rule

Place the expression

AB+A onto the map:

Two-Variable K-Map Example

A

B 1 AB

A

B 1

A

This is the same as:

A

B 1

Now group the 1s according

to rule

Reduces to A

Therefore, the expression AB+A

reduces to A or

AB+A = A

The Truth Table for AB + A is:

Two-Variable K-Map Example

A B AB AB + A

To place the expression in a binary minterm map:

Two-Variable K-Map Example

A B AB AB + A

A

B

When A = 1

When AB = 1

To place the expression in a binary minterm map:

Two-Variable K-Map Example

A B AB AB + A

A

B

A

B

When A = 1

When AB = 1

The binary or decimal

summation expressions

can be placed directly

onto the map:

f = (10, 11)

f = (2,3)

When f = 10 2 or 2 10

When f = 11 2 or 3 10

All of these show that AB+A can be reduced to A

Karnaugh Maps

  • The various K-Maps shown are really all the same thing – just different ways of looking at the data
  • You should combine all these to think of the map as shown below: A B

A

B

3 Variable K-Map Example Reduce the expression: AB+BC+ABC+ABC

3 Variable K-Map Example AB+BC+ABC+ABC There are three variables, so this expression can be placed on a 3-Variable K-Map (it can also be placed on a 2 variable map-more later) AB C C B

A