




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





Answer Excitation equations:
D 2 = Q 1 A' + Q 2 Q 0 B D 1 = Q 0 'A + Q 2 B' + Q 1 'B D 0 = Q 2 'Q 1 'Q 0 '
Output equations:
X = ( Q 2 ' ⊕ Q 1 ) Q 0 = Q 2 'Q 1 'Q 0 + Q 2 Q 1 Q 0 Y = Q 1 ' + Q 0
000 /
001 /
010 /
011 /
100 /
101 /
110 /
111 /
00
00, 10 01, 11 01, 10, 11
10, 11
10, 11
00, 01
00, 01
00, 10 xx
01, 11
00
10, 11
00 01, 11
01
10
000 011
100 010
AB =
AB =10 AB =
AB =
AB =
AB =00^ AB =
Answer Next-state table:
Next State Q 2 next Q 1 next Q 0 next
Current State AB Q 2 Q 1 Q 0 00 01 10 11 0 0 0 011 100 (^) ××× ××× 0 0 1 (^) ××× ××× ××× ××× 0 1 0 (^) ××× ××× 100 ××× 0 1 1 (^) ××× 010 ××× 100 1 0 0 (^000) ××× ××× 011 1 0 1 (^) ××× ××× ××× ××× 1 1 0 (^) ××× ××× ××× ××× 1 1 1 (^) ××× ××× ××× ×××
Implementation table using SR flip-flops:
Next State S 2 R 2 S 1 R 1 S 0 R 0
Current State AB Q 2 Q 1 Q 0 00 01 10 11 0 0 0 (^0) ×1010 100× 0 × ×××××× ×××××× 0 0 1 (^) ×××××× ×××××× ×××××× ×××××× 0 1 0 (^) ×××××× ×××××× 10010 × ×××××× 0 1 1 (^) ×××××× 0 ×× (^001) ×××××× 100101 1 0 0 (^010) × 0 × ×××××× ×××××× 011010 1 0 1 (^) ×××××× ×××××× ×××××× ×××××× 1 1 0 (^) ×××××× ×××××× ×××××× ×××××× 1 1 1 (^) ×××××× ×××××× ×××××× ××××××
S 2 = Q 2 'A + Q 1 'B R 2 = Q 2
Q 1 Q 0
S 1 = Q 2 'A'B' + Q 2 A R 1 = Q 2 'A
Q 1 Q 0
S 0 = S 1 R 0 = Q 0
equivalent to 7 2-input gates.
Using SR flip-flops requires two fewer 2-input gates.