![]() |
VOOZH | about |
Karnaugh Map or K-Map is an alternative way to write a truth table and is used for the simplification of Boolean Expressions. So far we are familiar with 3 variable K-Map & 4 variable K-Map. Now, let us discuss the 5-variable K-Map in detail. Any Boolean Expression or Function comprising of 5 variables can be solved using the 5 variable K-Map. A K-map for a 5-variable expression can be denoted with two 4-variable maps one beside the other. Such a 5 variable K-Map must contain 25= 32 cells to fill each minterm. As the number of variables keeps increasing, the efficacy of the Karnaugh map decreases. Let the 5-variable Boolean function be represented as f ( P Q R S T) where P, Q, R, S, and T are the variables and P is the most significant bit variable and T is the least significant bit variable. The structure of such a K-Map for SOP expression is given below :
Cell no. written corresponding to each cell can be understood from the example described here:
Here for variable P=0, we have Q = 0, R = 1, S = 1, T = 1 i.e. (PQRST)=(00111) . In decimal form, this is equivalent to 7. So, for the cell shown above the corresponding cell no. = 7. In a similar manner, we can write cell numbers corresponding to every cell as shown in the above figure. Now let us discuss how to use a 5 variable K-Map to minimize a Boolean Function.
I. Solving SOP function: For clear understanding, let us solve the example of SOP function minimization of 5 Variable K-Map using the following expression :
In the above K-Map we have 4 subcubes:
Now, while writing the minimal expression of each of the subcubes we will search for the literal that is common to all the cells present in that subcube.
Finally the minimal expression of the given boolean Function can be expressed as follows :
II. Solving POS function: Now, let us solve the example of POS function minimization of 5 Variable K-Map using the following expression :
In the above K-Map we have 4 subcubes:
Now, while writing the minimal expression of each of the subcubes we will search for the literal that is common to all the cells present in that subcube.
Finally the minimal expression of the given boolean Function can be expressed as follows :
NOTE: