Handbook of Computer Science(cs) and IT

Karnaugh Map

  • K-map is used to simplify the Boolean expression.
  • K-map provides a pictorial method of grouping together, expressions with common factors of their, for eliminating unwanted variables.

ab 0                     .1

0

1

2 variable K-map

K-map for function F (a, b) = ab + ab

 

00        01
ABCD ABCD ABCD ABCD
ABCD ABCO ABCD ABCD
ABCD ABCD ABCD ABCD
ABCD ABCD ABCD ABCD

 

AB

00

01
11
10

 

Four variable K-map

 

Rules for K-map

  • Adjacent that have 1’s are combined in groups of 2, 4 or 8 allowing the removal of 1, 2 or 3 variable from a term.
  • The maps are considered to “Warp around “, so that the top and bottom corresponding squares are adjacent and the left and right squares are also adjacent.
  • Make largest groups and use each square only once.
  • No redundant and unnecessary group are allowed.

Don’t Care Condition

  • There are applications where certain combinations of input variables never We don’t care what the function output is to be for these combinations of the variables because they are guaranteed never to occur
  • A don’t care combination is marked with an X. When choosing adjacent squares to simplify the function in the map, the X’s may be assumed to be either 0 or 1, whichever gives the simplest expression.
  • In addition, an X need not be used at all, if it don’t contribute to cover a larger area. In each case, the choice depends only on the simplification that can be achieved.

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95

Leave a Reply

Your email address will not be published. Required fields are marked *