A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method...

Post on 05-Jan-2016

231 views 8 download

Transcript of A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method...

A.Abhari CPS213 1

Chapter 3: Gate-Level Minimization

Topics in this Chapter:

• The Map Method• Two-Variable Map• Three- Variable Map• Four/Five variable Map• Don’t –Care Conditions• Product of Sums Simplification • Implementing NAND and NOR circuits

A.Abhari CPS213 2

The Map Method

• Truth table of fn is unique but fn can be in many different algebraic forms

• Simplification by using boolean algebra is often difficult because we don’t know how to proceed

•Map method or Karnaugh map (K_Map) is simple and straightforward method that produces minimum number of terms.

A.Abhari CPS213 3

Two-Variable Map

A fn variable have 2n minterms (cells)

A.Abhari CPS213 4

A.Abhari CPS213 5

Three- Variable Map• Adjacent cells represent minterms that differs by only one variable.

Therefore, adjacent cells are identical except for one variable that appears complemented in one cell and uncomplemented in the adjacent cell.

• Example : F(x,y,z) = ∑ (2,3,4,5)

A.Abhari CPS213 6

Another example : F(x,y,z) = ∑(3,4,6,7)

A.Abhari CPS213 7

A.Abhari CPS213 8

A.Abhari CPS213 9

A.Abhari CPS213 10

Four variable Map

A.Abhari CPS213 11

A.Abhari CPS213 12

A.Abhari CPS213 13

A.Abhari CPS213 14

A.Abhari CPS213 15

A.Abhari CPS213 16

A.Abhari CPS213 17

A.Abhari CPS213 18

A.Abhari CPS213 19

A.Abhari CPS213 20

A.Abhari CPS213 21

A.Abhari CPS213 22

A.Abhari CPS213 23

Multilevel NAND circuits

To convert multilevel AND-OR to all NAND:

1. Convert all ANDs with AND-invert

2. Convert all ORs with invert-OR

3. Check the bubbles in diagrams if any of them is not compensated by another small circle along the same line insert an inverter (it is one input NAND gate) or complement the input literal

A.Abhari CPS213 24

A.Abhari CPS213 25

A.Abhari CPS213 26

A.Abhari CPS213 27

A.Abhari CPS213 28

Implementing NOR circuits

To convert multilevel AND-OR to all NOR:

1. Convert all ORs with OR-invert

2. Convert all ANDs with invert-AND

3. Check the bubbles in diagrams if any of them is not compensated by another small circle along the same line insert an inverter (one input NOR gate) or complement the input literal

A.Abhari CPS213 29

A.Abhari CPS213 30