Digital Solution - Assignment # 3
Digital Solution - Assignment # 3
Solution of Assignment 3
3. Apply the distributivity theorem (T8-L) to Y = A . C’ . D . E . (B’ + F’ + G’) to obtain a SOP expression
for Y.
Y = A . C’ . D . E . B’ + A . C’ . D . E. F’ + A . C’ . D . E . G’
6. Apply DeMorgan’s theorem(s) to the following circuit to absorb all inversion bubbles at the output of
gates, and eventually come up with a circuit with AND and OR gates only. Inverters are only allowed
to complement the input variables, if needed. Do not simplify the circuit. Do not change the circuit
topology either. Show your work.
A Z3 A Z3
Z1 Z1
D D
B Y B Y
C C
Z4 Z2 Z4 Z2
E E
F F
G G
A A
D D
B Y B Y
C C
E E
F F
G G
A
D
B Y
C
E
F
Page 2 of 5
7. Derive an exact logic expression for output Y of the above circuit before any changes are made to the
circuit.
Y = (Z1 + C + Z2)’ Z1 = (B . Z3)’ Z3 = (A + D)’ Z1 = (B . (A + D)’)’ Z2 = G . Z4 Z4 = (E . F)’
Z2 = G . (E . F)’ Substitute for Z1and Z2:
Y = ((B . (A + D)’)’ + C + G . (E . F)’ )’
A’
B
C’ Y
D
E
F’
(X + Y) . (X’ + Z) . (Y + Z) = (X + Y) . (X’ + Z)
Determine the number of gates that we need to realize each side of the above expression. What is the type
of each gate? How many inputs does each gate need?
X . Y + X’ . Z + Y . Z = X . Y + X’ . Z
Page 3 of 5
Y
X Y
X
X’
Z X’
Y Z
10. Use the theorems of switching algebra shown in Table 2 of Chapter 3 to prove the consensus
theorem:
(A + B) . (A’ + C) = (A + B) . (A’ + C) . (B + C) (1)
T10 –R: B + C = (B + C + A) . (B + C + A’)
Sub for (B + C) in (1):
Right side: (A + B) . (A’ + C) . (A + B + C) . (A’ + B + C) =
(A + B) . (A + B + C) . (A’ + C) . (A’ + B + C)
{
= A + B (Covering) = A’ + C (Covering)
= (A + B) . (A’ + C)
11. Obtain the truth table, the off-set maxterm list (shorthand notation) and the canonical POS of Y (A, B,
C) = Σ (0, 4, 6).
Page 4 of 5
Row A B C Y
0 000 1 Y(A, B, C) = ∏ (1, 2, 3, 5, 7)
1 001 0
Y = (A + B + C’) . (A + B’ + C) . (A + B’ + C’) . (A’ + B + C’)
2 010 0 . (A’ + B’ + C’)
3 011 0
4 100 1
5 101 0
6 110 1
7 111 0
12. Obtain the truth table, the canonical SOP and the canonical POS of Z(A, B, C) = A’ . C’ + B’ . C’
Row A B C Z
A’ . C’ = 1 or A’ = 1, C’ = 1 or A = 0, C = 0 rows 0 & 2
0 000 1
1 001 0 B’ . C’ = 1 or B’ = 1, C’ = 1 or B = 0 , C = 0 rows 0 & 4
2 010 1 These rows each receive a 1.
3 011 0
Z = A’ . B’. C’ + A’ . B . C’ + A . B’ . C’
4 100 1
5 101 0 Z = (A + B + C’) . (A + B’ + C’) . (A’ + B + C’) . (A’ + B’ + C) .
(A’ + B’ + C’)
6 110 0
7 111 0
13. Obtain the truth table, the on-set minterm list (shorthand notation) and the canonical SOP of Z(A, B,
C) = ∏ (0, 3, 4, 5, 6).
Row A B C Z
0 000 0
Y(A, B, C) = Σ (1, 2, 7)
1 001 1
2 010 1 Z = A’ . B’. C + A’ . B . C’ + A . B . C
3 011 0
4 100 0
5 101 0
6 110 0
7 111 1
Page 5 of 5