Académique Documents
Professionnel Documents
Culture Documents
Chapter 17
Combinational Circuits: Implementation and Design
1. Simplify using Boolean algebra
techniques:
(a) A (A + B) + (B + AA)(A + B )
(b) A B ( A B)( B B)
Solution:
+
B
)
f = ( A A + A B) + (B + A)(A
f = A B+AB+A+A B
f = B (A+ A ) + A (1+ B )
f = B+A
(b) Let f = A B ( A B)( B B) . This can be reduced as:
f = A B ( A B)(1)
f = AB 0
f = AB
2. Simplify the following Boolean functions using K-maps and realize the gate circuits
using only NAND gates.
(a) f (A,B,C) = ABC + AB + ABC + AC
(b) f (A,B,C) = AB + BC + BC + ABC
(c) f (A,B,C, D) = (0,1,2,3,8,9,10,11)
Solution:
f = B + AC+ AC
(b) f (A,B,C) = AB + BC + BC + ABC
f (A,B,C) = AB (C+ C )+ B C (A+ A )+ BC(A+ A ) + A BC
f (A,B,C) = ABC + AB C + B C A+ BA C + BCA+ BC A +A BC
f(A,B,C) = ABC + AB C + B C A + BCA+ A BC
f = B + AC
(c ) f(A,B,C,D) =
(0,1,2,3,8,9,10,11)
f =B
3. Simplify and implement using (i) only NAND gates; and (ii) only NOR gates:
f(A,B,C,D)=
(0,1,2,3,8,9,10,11)
d(A,B,C,D)=
(12,13)
Solution:
4. What is the output Q of the circuit shown in Fig.17p.4? Implement the circuit using
only NAND gates.
f = AB ( A B)
AB AB A B AB AB AB
AB AB AB AB AB AB
( AB AB AB)( AB AB AB)
( AB AB AB)( AB AB AB)
( AB AB AB)( AB ( AB AB)
AB AB AB AB
AB(1 AB AB)
AB
5. Draw and use a K-map to produce a minimized SOP and POS expression for:
f (w, x, y, z) = (0, 2, 6, 7, 8, 10, 11, 15)
Solution:
There are two groups. We have two product terms in the simplified Boolean function.
For the sub-cube covered by minterms 0, 1, 2 and 3, P is unchanged and for the sub-cube
covered by minterms 2, 3, 7 and 6, Q is unchanged. Hence the minimal solution is
f =PQ.
7. Simplify f = PQ R PQ R PQ R PQ R using a K-map.
Solution:
Mapping the product terms, as shown in Table. 7.1.
Table 7.1 K-map for PQ R PQ R PQ R PQ R
If the K-map is rolled backwards as a cylinder, the two extreme pairs of cells are also
adjacent. Grouping the product terms, the simplified Boolean function is f = R .
8. Simplify the Boolean function f = PQ R PQR PQR PQ R PQ R PQ R .
Solution:
Mapping the product terms, as shown in Table 8.1.
Table 8.1 K-map for PQ R PQR PQR PQ R PQ R PQ R
The simplified function obviously has two terms. For the sub-cube covered by minterms
0,1,2,3, P is unchanged and for the sub-cube covered by minterms 0,2,4,6, R is
unchanged. Hence the minimal solution is f = P R .
9. Simplify f = PQR PQR PQ R PQR : (a) using Boolean simplification; (b)
using K-map.
Solution:
(a) f = PQR PQR PQ R PQR
Factoring terms 1 and 4 results in
F = QR( P P) PQR PQ R = QR PQR PQ R
(since P + P 1 )
Factoring 1 and 3 results in
f = Q(R P R ) PQR
Since R RP P R , f simplifies to
f = Q(R P) PQR = QR PQ PQR
Factoring terms 2 and 3 gives
F = QR P(Q QR)
which simplifies to
f = QR P(Q R) ,
which is the same as
f = QR PQ PR
(b) Now use the K-map
Mapping the product terms, as shown in Table 9.1.
Table 9.1 K-map for PQR PQR PQ R PQR
For the sub-cube covered by minterms 3, 7, Q and R are unchanged, for the sub-cube
covered by minterms 5, 7, P and R are unchanged and for the sub-cube covered by
minterms 6, 7, P and Q are unchanged. Hence the minimal solution is
f = PR PQ QR .
10. A combinational circuit has four inputs and one output. The output is 1 when (a) all
the inputs are equal to 1; (b) none of the inputs is equal to 1; and (c) when the odd
number of inputs is equal to 1. Design a logic circuit to implement the above.
Solution:
Step 1: The number of inputs is 4 and output is 1. Let the inputs be P,Q,R,S and output f.
Step2: Truth table is presented in Table 10.1, satisfying the conditions.