Professional Documents
Culture Documents
Instructors:
M. K. Uyguroğlu
H. Abou Rajab
Final EXAMINATION
Number of Questions: 4
Good Luck
STUDENT’S
NUMBER
NAME SOLUTIONS
SURNAME
Question Points
1 30
2 30
3 30
4 30
TOTAL 120
C I1 I0 O1 O0
0 0 0 0 0
0 0 1 0 1
0 1 0 1 0
0 1 1 1 1
1 0 0 0 1
1 0 1 1 0
1 1 0 1 1
1 1 1 0 0
O1 2,3,5, 6
O0 1,3, 4, 6
I1I 0 00 01 11 10
O1 C I1 I1 I 0 CI1I 0 I1 CI 0
C
0 1 1
1 1 1
I1I 0 00 01 11 10
C O0 C ' I 0 CI 0 C I 0
0 1 1
1 1 1
d) Draw the logic diagram for O1 and O0 . Then convert all gates with NAND gates.
Question 3
Use T flip-flops to design a synchronous decimal counter that counts the repeated
Excess-3 binary sequence; 0011 to 1100. Treat unused states as don’t care
conditions.
CD
AB 00 01 11 10
00 x x 1 x
01 1 1 1 1 TD 1
11 1 x x x
10 1 1 1 1
CD
AB 00 01 11 10
00 x x 1 x
01 0 1 1 0 TC AB D
11 1 x x x
10 0 1 1 0
CD
AB 00 01 11 10
00 x x 1 x
01 0 0 1 0 TB CD AB
11 1 x x x
10 0 0 1 0
CD
AB 00 01 11 10
00 x x 0 x
01
11
0
1
0
x
1
x
0
x
TA AB BCD
10 0 0 0 0
Question 4
Consider the synchronous sequential circuit whose state table is given below. The
circuit has one input x and one output y. Design the circuit using
a) D flip-flops.
b) T flip-flops
c) Which design is simpler; i.e.; uses less number of gates, (a) or (b)?
Bx 00 01 11 10
A
0 1 0 0 1
1 0 0 0 0
DA = A’x’
Bx 00 01 11 10
A
0 0 1 0 1
1 0 0 1 1
DB = A’B’x+AB+Bx’=B (A’x)
Bx 00 01 11 10
A
0 1 0 0 1
1 1 1 1 1
TA = A+x’
Bx 00 01 11 10
A TB =A’x
0 0 1 1 0
1 0 0 0 0