Professional Documents
Culture Documents
Sequential circuits
W 0 1 0 1 1 0 1 1 1 0 1
Z 0 0 0 0 0 1 0 0 1 1 0
RESET
W =1
W =0
A/Z = 0 B/Z = 0
W =0
W=0 W=1
C/Z = 1
W=1
State table:
The information contained in the state diagram can be translated into a tabular form.
The table indicates all transitions from each present state to the next state for different
values of the input signal.
The output Z is specified with respect to the present state.
W=0 W =1
A A B 0
B A C 0
C A C 1
7. MEALY circuit
• In mealy type machine, the output values are
generated based on both the state of circuit and
the present value of its input.
• Here the output Z = 1 in the same clock cycle when
the second occurrence of W =1 is detected. The
suitable input output sequence is given as:
Clock
cycle
W 0 1 0 1 1 0 1 1 1 0 1
Z 0 0 0 0 1 0 0 1 1 0 0
RESET
W =1/ Z = 0
W =0 / Z = 0
W =1/ Z =1
A B
W =0 / Z = 0
A A B 0 0
B A B 0 1
8. Comparison of Moore and Mealy circuit
Sr. Moore circuit Mealy circuit
No.
1 The final output depends only The final output depends on
on the present state of the present state of memory
memory elements. elements and the external
inputs.
2 The output changes only after Output can change in
the active clock edge. between the clock edges if
the external input changes.