Chapter 5-Karnaugh Map (K-Map)
Chapter 5-Karnaugh Map (K-Map)
Chapter 5
Karnaugh Map (K-Map)
Outline
❑ Karnaugh Map
❑ Simplification of 2 variables using Karnaugh Map
❑ Simplification of 3 variables using Karnaugh Map
❑ Simplification of 4 variables using Karnaugh Map
❑ Simplification of Boolean equation using Karnaugh
Map
❑ Combinational Circuit Design
❑ Expression X in Karnaugh Map
Karnaugh Maps (K-Map)
❑ One of the easiest ways to simplify a
Boolean expressions
❑ A graphical representation of the output of a
given Boolean expression.
❑ Contains the same information as a truth
table.
❑ Its practical usefulness is limited to 6
variables.
❑ Our discussion to problems up to 4
variables only.
…K-Map
❑ The K-Map contains a cell for each input
combination.
❑ A Boolean expression or a truth table with
n input variables has 2n cells on the
K-Map.
❑ A 2 variable K-Map has 22 = 4 cells.
…K-Map
❑ The K-Map cells are labelled, so that
horizontally adjacent cells differ only in
one variable.
❑ For example, cell (0) and cell (2):
differ only in one variable, A.
❑ Similarly, vertically adjacent cells differ
only in one variable.
❑ For example, cell (0) and cell (1):
differ only in one variable, B.
…K-Map
❑ A Boolean expression or truth table with 3
variables has 23 = 8 cells on the K-Map.
…K-Map
❑ 4 variable K-Map
Simplification Using
2 Variable K-Map
❑ The steps in simplifying a Boolean expression
using a K-Map:
1. Write a sum of product expression from the truth
table.
2. Plot a 1 on the K-Map for each product term, or
plot a 1 on the K-Map for each output Y = 1
3. Draw loops around adjacent cells containing two
1’s on the K-Map. The loops may overlap.
4. Repeat step 2 and 3.
5. Each loop produces a simplified product term.
6. Logically OR the simplified product term.
Example 1
❑ Simplify the OR gate truth table using
K-Map.
Solution
1. The Boolean expression in the form of sum of
product is , which can also be
written as Σ=(1,2,3). So plot 1 on the K-Map (cell
1, 2 and 3).
2. Loop the adjacent cells. There are 2 pairs of 1’s
that can be loop: cell (1 3) and cell (2 3). Each
loop contains two 1’s.
3. Each loop produces a simplified product term. The
loop for cell (1 3) produces a product term B. This
can easily be proven using Boolean algebra:
…Solution
❑ The loop for cell (2 3) produces a product
term A, that can proven using Boolean
algebra: