Experiment 3_Simplification of Boolean Function
Experiment 3_Simplification of Boolean Function
Experiment 3
2022-2023
EEE14356 Digital Logic Fundamentals Lab
Objectives:
1. To demonstrate the relationship between a Boolean function and its corresponding logic
diagram.
2. Simplify the Boolean function using Karnaugh map (K-map).
3. How to demonstrate and verify the complement of the Boolean function.
4. Apply the simplification procedures to reduce the number of gates and number of ICs.
Note: Verify the IC's numbers and validity before using it in any circuit.
Introduction:
A K-map provides a systematic method for simplifying Boolean expressions to their minimum
form. If applied correctly, it will yield the minimum expression, which is the simplest sum-of-
products (SOP) or product-of-sums (POS) expression. A K-map is similar to a truth table because it
presents all possible values of the input variables and the resulting output for each value. Instead of
being organized into columns and rows like a truth table, the K-map is an array of cells in which
each cell represents a binary value of the input variables. It can be used for expressions with 2, 3, 4,
and 5-variables. To illustrate the principle of K-map, this lab discusses only 3 and 4-variable
situations.
A product term is defined as a term consisting of product literals (Boolean multiplication). When
two or more product terms are summed up by Boolean addition, the result is a SOP expression.
This is an AND-OR network because the input AND gates drive an output OR gate. Some examples are:
=
F1 ( A, B, C ) AB + ABC
F2 ( A, B, C ) =A ' B + A ' BC '+ AC
F3 ( A, B, C , D) = ABC + CD + B ' CD '
A sum term is defined as a term consisting of sum literals (Boolean addition). When two or more
sum terms are multiplied by Boolean multiplication, the result is a POS expression. This is an OR-
AND network because the input OR gates drive an output AND gate. Some examples are:
F1 ( A, B, C ) = ( A '+ B)( A + B '+ C )
F2 ( A, B, C ) = ( A + B)( A + B '+ C )( A '+ C )
F3 ( A, B, C , D) = ( A '+ B '+ C ')(C + D ')( B '+ C + D)
7408 7432
1 9
A 3 7432 A 8 7408
B B 4
2 9 10 6 Y
8 Y
4 10 12 5
C C
D 6 D 11
5 13
Y8 = Y3 + Y6 = AB + CD Y6 =Y8 + Y11 =( A + B)(C + D)
Page 1 of 8
EEE14356 Digital Logic Fundamentals Lab
Figure 3.2
8. How many numbers of ICs are required to implement the simplified Boolean function? --------
9. Summarize your results and discuss any issues you encountered during circuit building or
testing.
-------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------
Page 2 of 8
EEE14356 Digital Logic Fundamentals Lab
Figure 3.3
4. How many numbers of ICs are required to implement the simplified Boolean function?
-------------------------------------------------------------------------------------------------------------------
5. Summarize your results and discuss any issues you encountered during circuit building or
testing.
-------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
Page 3 of 8
EEE14356 Digital Logic Fundamentals Lab
6. Summarize your results and discuss any issues you encountered during circuit building or
testing.
-------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
Page 4 of 8
EEE14356 Digital Logic Fundamentals Lab
6. Summarize your results and discuss any issues you encountered during circuit building or
testing.
-------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
Page 5 of 8
EEE14356 Digital Logic Fundamentals Lab
Part E – Complement
Given the following Boolean expression:
BD + B ' C + AB ' D
F ( A, B, C , D) = A ' D +
1. Plot the Boolean function in a K-map:
K-map:
2. Simplify the Boolean function for F to SOP from using the combinations of the 1's.
-------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
3. Simplify the Boolean function for F' to POS from using the combinations of the 0's.
-------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
4. Implement both F and F' using NAND gates and connect the two circuits to the same input
switches, but with separate output LED indicator (figure 3.6). Record the output states of each
circuit in table 3.6.
Logic diagram Table 3.6
Inputs Output
A B C D F F’
0 0 0 0
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
1 0 0 0
1 0 0 1
1 0 1 0
1 0 1 1
1 1 0 0
1 1 0 1
1 1 1 0
Figure 3.6
1 1 1 1
5. Summarize your results and discuss any issues you encountered during circuit building or
testing.
-------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
Page 6 of 8
EEE14356 Digital Logic Fundamentals Lab
Questions:
1. Simplify the Boolean expression F = w ' xy '+ wxy '+ xy ' z to a minimum number of literals using
Boolean identities and theorems.
---------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------
2. Given the following Boolean expressions:
F1 ( A, B, C ) =AB ( A '+ BC ) ', F1 ( A, B, C ) =ABC '
Prove that F1 = F2. Use Boolean identities and the DeMorgan’s theorem.
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------
3. Given the following two Boolean functions:
F1 ( A, B, C , D) = ∑ ( 0, 1, 4, 5, 8, 9, 10, 12, 13)
F2 ( A, B, C , D) = ∑ ( 3, 5, 7, 8, 10, 11, 13, 15 )
a. Simplify the two Boolean functions by means of K-maps and draw the simplified logic
diagrams.
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------
b. Draw the two functions F1 and F2 together by using minimum number of NAND gates.
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------
Page 7 of 8
EEE14356 Digital Logic Fundamentals Lab
Pin Configuration:
Page 8 of 8