30
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 CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

Embed Size (px)

Citation preview

Page 1: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

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

Page 2: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

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.

Page 3: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

A.Abhari CPS213 3

Two-Variable Map

A fn variable have 2n minterms (cells)

Page 4: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

A.Abhari CPS213 4

Page 5: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

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)

Page 6: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

A.Abhari CPS213 6

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

Page 7: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

A.Abhari CPS213 7

Page 8: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

A.Abhari CPS213 8

Page 9: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

A.Abhari CPS213 9

Page 10: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

A.Abhari CPS213 10

Four variable Map

Page 11: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

A.Abhari CPS213 11

Page 12: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

A.Abhari CPS213 12

Page 13: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

A.Abhari CPS213 13

Page 14: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

A.Abhari CPS213 14

Page 15: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

A.Abhari CPS213 15

Page 16: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

A.Abhari CPS213 16

Page 17: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

A.Abhari CPS213 17

Page 18: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

A.Abhari CPS213 18

Page 19: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

A.Abhari CPS213 19

Page 20: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

A.Abhari CPS213 20

Page 21: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

A.Abhari CPS213 21

Page 22: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

A.Abhari CPS213 22

Page 23: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

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

Page 24: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

A.Abhari CPS213 24

Page 25: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

A.Abhari CPS213 25

Page 26: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

A.Abhari CPS213 26

Page 27: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

A.Abhari CPS213 27

Page 28: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

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

Page 29: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

A.Abhari CPS213 29

Page 30: A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map

A.Abhari CPS213 30