Assignment 3_Model Answer(3)(1)
Assignment 3_Model Answer(3)(1)
Assignment (3)
Student Information:
Student Name: Student ID: Section:
Instructions:
➢ There are 7 different pages (including this cover page).
➢ The assignment weighs 5 marks.
➢ Due date is 19/11/2023
Marks distribution:
CLOs Question Number Max Mark Mark
2 Q1, Q2 2
3 Q3, Q4, Q5, Q6, Q7, Q8 3
Total 5
Page 1 of 7
CENG 205 Assignment 3 – Fall 2023 - 2024
Question 1 1 mark
1. Using the following circuit diagram, extract the circuit information and
construct the state table:
T Q (t+1)
0 Q(t) T Q1
1 Q’(t) X
T-FF Truth Table Z
D Q (t+1) Y D Q0
0 0
1 1 CLK
D-FF Truth Table
Question 2 1 mark
2. Using the following state table, extract the required information and draw the
state diagram:
Page 2 of 7
CENG 205 Assignment 3 – Fall 2023 - 2024
0/1 0/1
1/0
0/0 1/0 1/0
00 01 10 11
0/0
1/0
1 1 1
000 010 100 110
0 1 0 1 0 1 0
0 0 0
001 011 101 111
Page 3 of 7
CENG 205 Assignment 3 – Fall 2023 - 2024
1/0
1/0 0/0
0/0
1/1
The sequence detected is: 0011
Question 6 1 mark
Using T FFs, reconstruct the following state table of a sequential circuit.
Page 5 of 7
CENG 205 Assignment 3 – Fall 2023 - 2024
Q0X Q0X
T2 T1
00 01 11 10 00 01 11 10
00 00 1 1
Q2Q1
Q2Q1
01 1 1 1 01 1 1 1
11 1 1 11 1
10 10 1 1 1
T2 = Q1Q0+Q2’Q1X T1 = Q0X’+Q2’Q0’X+Q2’Q1X+Q2Q1’X
Q0X Q0X
T0 Z
00 01 11 10 00 01 11 10
00 1 1 00
Q2Q1
Q2Q1
01 1 1 01 1 1
11 1 1 1 11 1
10 1 1 10 1
Page 6 of 7
CENG 205 Assignment 3 – Fall 2023 - 2024
Q1Q0X
Q1X’Y D2 Q2
Q0Y’
Q0
Q0X’Y DD1 Q1
Z
X’
Q1
Q1 Y
Q1X’ D0 Q0
Q0XY
CLK
Q0
Page 7 of 7