Automata Assignmentppt
Automata Assignmentppt
Automata Assignment
G_9
G_9
Name…………………………….....ID
1.Angaw Misganaw…………1244
2.
3.
4.
5.
6
Finite Automata
F A without output
FA DFA £FA
FA with output
Moore Machine Mealy Machine
Mealy Machine
A Mealy machine is a machine in which output symbol
depends upon the present input symbol and present state
of the machine. In the Mealy machine, the output is
represented with each input symbol for each state
separated by /. The Mealy machine can be described by 6
tuples (Q, q0, ∑, O, δ, λ') where
6 tuples
1 Q: finite set of states
2 q0: initial state of machine
3 ∑: finite set of input alphabet
4 O: output alphabet
5 δ: transition function where Q × ∑ → Q
6 λ': output function where Q × ∑ →O
Mealy Machine vs Moore Machine
• To differentiate a Mealy Machine from a
Moore Machine. Mealy Machine
• Output depends both upon present state and
present input.
• Generally, it has fewer states than Moore
Machine.
• Output changes at the clock edges.
• Mealy machines react faster to inputs.
Moore Machine
• Output depends only upon the present state.
• Generally, it has more states than Mealy
Machine.
• Input change can cause change in output
change as soon as logic is done.
• In Moore machines, more logic is needed to
decode the outputs since it has more circuit
delays.
Example 1:
Next state
→a b x1 c x1
b b x2 d x3
c d x3 c x1
d d x3 d x2
The state diagram of the above
Mealy Machine is
Example 3: