Sequential Circuits Analysis
Sequential Circuits Analysis
Inputs
Combinational circuit
Outputs
Memory
X
Inputs Combinational circuit
Q0
Z
Outputs
Memory Q1
For a sequential circuit, the outputs are dependent upon not only the
inputs, but also the current state of the flip-flops.
Present State Q1 Q0 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1
Inputs X 0 1 0 1 0 1 0 1
Next State Q1 Q0
Outputs Z
J0 = X + Q1 K0 = X
lip-flop nputs K1 J0 0 1 1 1 0 1 1 1 0 1 0 1 1 1 1 1
J1 0 0 1 0 0 0 1 0
K0 1 0 1 0 1 0 1 0
Step 3 concluded
Finally, here are the next states for Q1 and Q0, using these equations:
Q1(t+1) = K1Q1(t) + J1Q1(t) Q0(t+1) = K0Q0(t) + J0Q0(t)
resent Q1 0 0 0 0 1 1 1 1
tate Q0 0 0 1 1 0 0 1 1
n uts J1 0 1 0 1 0 1 0 1 0 0 1 0 0 0 1 0
FF n uts K1 J0 0 1 1 1 0 1 1 1 0 1 0 1 1 1 1 1
ext K0 1 0 1 0 1 0 1 0 Q1 0 0 1 0 1 0 0 0
tate Q0 0 1 0 1 1 1 0 1
Inputs
1
FF Inputs
1
Next State
1
Outputs
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
State diagrams
W c lso r r s t th st t t bl gr hic lly with st t di gr m. A di gr m corr s o di g to o r m l st t t bl is show b low.
i
r s
1
o t 0/0 00
t t
0
ts
1
t 0 0 1 0 1 0 0 0
t t
0
t 0 0 0 0 0 0 0 1
ts
0 0 0 0 1 1 1 1
0 0 1 1 0 0 1 1
0 1 0 1 0 1 0 1
0 1 0 1 1 1 0 1
0/0 11 st t
t t
0
ts
1
t 0 0 1 0 1 0 0 0
t t
0
t 0 0 0 0 0 0 0 1
ts
0/0
00
0 0 0 0 1 1 1 1
0 0 1 1 0 0 1 1
0 1 0 1 0 1 0 1
0 1 0 1 1 1 0 1
0/0 D
11
1/0
10
0/0 C
Example
Present State Q1 Q0 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1
Inputs X 0 1 0 1 0 1 0 1
J1
FF Inputs K1 J0
K0
Next State Q1 Q0
Outputs Z
Example
00 01
11
10
1 1
1 1
1 1 1 1
1 1 1
1 1 1 1 1
1 1
1 1 1
1 1 1
1 1
Present
tate
n uts X
n uts
e t
tate
Out uts
% & % % % % % % $
& % & % % % % % #
Present
tate
nputs
1/0 0/0
0/1
00 11
Example 1
0/0
1/0
0/0
nputs
1/0 1/0
01
10
ext
tate
utputs
Summary
To analyze sequential circuits, you have to: Find Boolean expressions for the outputs of the circuit and the flip
flop inputs. Use these expressions to fill in the output and flip-flop input columns in the state table. Finally, use the characteristic equation or characteristic table of the flip-flop to fill in the next state columns.