Question

Could you please give an example of a Mealy and a Moore Model and please explain...

Could you please give an example of a Mealy and a Moore Model and please explain how each model works. Thanks in advanced.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer:-----------

Mealy Model:------------ Mealy Machines: Mealy machines are also finite state machines with output value and its output depends on present state and current input symbol. It can be defined as (Q, q0, ∑, O, δ, λ’) where:

  • Q is finite set of states
  • .q0 is the initial state.
  • ∑ is the input alphabet.
  • O is the output alphabet.
  • δ is transition function which maps Q×∑ → Q.
  • ‘λ’ is the output function which maps Q×∑→ O.


In the mealy machine shown in Figure , the output is represented with each input symbol for each state separated by /. The length of output for a mealy machine is equal to the length of input.

Input:11
Transition: δ (q0,11)=> δ(q2,1)=>q2
Output: 00 (q0 to q2 transition has Output 0 and q2 to q2 transition also has Output 0)

Moore Model :---------- Moore Machines: Moore machines are finite state machines with output value and its output depends only on present state. It can be defined as (Q, q0, ∑, O, δ, λ) where:

  • Q is finite set of states.
  • q0 is the initial state.
  • ∑ is the input alphabet.
  • O is the output alphabet.
  • δ is transition function which maps Q×∑ → Q.
  • λ is the output function which maps Q → O.

In the moore machine shown in Figure 1, the output is represented with each input state separated by /. The length of output for a moore machine is greater than input by 1.

Input: 11
Transition: δ (q0,11)=> δ(q2,1)=>q2
Output: 000 (0 for q0, 0 for q2 and again 0 for q2)

Add a comment
Know the answer?
Add Answer to:
Could you please give an example of a Mealy and a Moore Model and please explain...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT