com
D
Digital
E
Electron
nics
State
S
E
Equatio
ons & Diagra
D
ams
A statte euqtion is an algeebraic exprression thaat specifiess the
condittion for a flip-flop sttate transittion. The left
l side off the
co
m
equatio
on denotess the next state of th
he flip-flop
p and the right
r
ed
uc
at
io
n.
nt state an
nd input co
onditions tthat make the next state
presen
The State Table consists off four sectiions labeled present sstate, inputt, next state,
n shows thee states of the flip-flo
ops
and ouutput. The present staate column
and
hi
fo
or each present state. B
Both the next
n state an
nd output sections wiill
0 and the otther for
ks
have tw
wo sub collumns, onee for
.s
a
Prresent
1.
Ou
utput
w
w
S
State
(PS)
(
www.sakshieducation.com
www.sakshieducation.com
In general, a sequential circuit with
2
flip-flops, and
rows, one for each state. The next state and ouput columns will have 2
co
m
ed
uc
at
io
n.
circle represent the state of the flip-flops. The directed lines are labeled with two
binary numbers separated by a slash. The input value during the present state is
labeled first and th number after the slash gives the output during the present
state. A directed line connecting a circle with itself indicates that no change of
.s
a
ks
hi
state occurs.
w
w
knowledge of the type of flip-flops and a list of the Boolean functions of the
combinational circuit provide all the information needed to draw the logic
diagram. The part of the combinational circuit that generates external outputs is
described algebraically by the circuit output functions. The part of the circuit that
www.sakshieducation.com
www.sakshieducation.com
generaates the inp
puts to flip
p-flops are described algebraicallly by a sett of Booleaan
ed
uc
at
io
n.
co
m
functio
ons called flip-flop
f
inp
put functio
ons.
State Diagrams
D
s and Statee Tables off flip-flopss:
w
w
.s
a
ks
hi
SR Fliip-flop:
N
Next Statee (NS)
P
Present
State
(PS)
0
www.sakshieducation.com
www.sakshieducation.com
N
Next Statee (NS)
P
Present
State
ed
uc
at
io
n.
(PS)
0
1
.s
a
ks
hi
D Flip
p-flop:
w
w
co
m
JK Fliip-flop:
P
Present
Next Sttate
State
(NS))
(PS)
0
www.sakshieducation.com
www.sakshieducation.com
Next Sttate
State
(NS))
ed
uc
at
io
n.
P
Present
co
m
T Flip
p-flop:
(PS)
0
hi
R
and
a Assign
nment:
State Reduction
ks
.s
a
flops an
nd the num
mber of gaates. The reduction
r
o the num
of
mber of flip
p-flops in a
sequentiial circuit is
i referred to as the sstate reduction probleem. Since
flip-flop
ps
w
w
the num
mber of flip-flops.
Two states
s
are saaid to be equivalent iff, for they give exactlly the samee output an
nd
send thee circuit eitther to the same state or to an eqquivalent state. Wheen two statees
are equivvalent, onee of them can
c be remo
oved.
www.sakshieducation.com
www.sakshieducation.com
ed
uc
at
io
n.
co
m
Example:
hi
ks
Next State
(NS)
w
w
.s
a
PS
Output
www.sakshieducation.com
www.sakshieducation.com
In the above State Table, e and g are equivalent and hence g can be removed and in
place of g, e is placed. Then, again we look for equivalent states and we see that d
and f are equivalent. Hence, the reduced Table will consists of 5 states and requires
3 flip-flops again.
(NS)
PS
ed
uc
at
io
n.
Output
co
m
Next State
b
c
d
e
State Assignment:
State assignment procedures are concerned with methods for assigning binary
.s
a
ks
hi
values to states in such a way as to reduce the cost of the combinational circuit that
Assignment 2
Assignment 3
001
000
000
010
010
100
011
011
010
100
101
101
101
111
111
w
w
State
www.sakshieducation.com
www.sakshieducation.com
Reduced State Table with Binary Assignment 1
Present State
Next State
Output
x=1
x=0
x=1
001
001
010
010
011
100
011
001
100
100
101
100
101
001
ed
uc
at
io
n.
co
m
x=0
w
w
.s
a
ks
hi
100
www.sakshieducation.com
0
1
1