Lab 4
Lab 4
Lab 4
1/1 1/0
0/0
0/0
11 1/0
10
1/0
(d) Simulate the circuit with initial state AB = 00 and input sequence Y = 0100
0/
1/1 0/1 0/0
A
B
1/0
1/0
D 0/0
0/0 1/0
C
(a) Derive the state table from the above state diagram
The circuit has 4 states A, B, C and D, one input X and one output Y.
DA DB
(c) Draw the logic diagram of the circuit.
- Input equation for the FF A: DA
DA BX
00 01 11 10
A 0 1
1 1 1 1
DA BX
00 01 11 10
A 0 1 1
1 1 1
𝐷𝐵 = 𝑋̅
Y BX
00 01 11 10
A 0 1 1
1
𝑌 = 𝐴̅𝐵̅
(d) Simulate the circuit and check the output with initial state AB = 00 and input sequence X = 0100