Machine-translated by Google. Questions are authored in English.
Top

Discussion

On what does the output of a Mealy machine depend ?

  • A.Only present state
  • B.Only input
  • C.current input + Present state
  • D.Only clock

Answer: C

A Mealy machine's output depends on the current input and the present state.

In a Mealy machine, outputs are attached to transitions, so the output is a function of both the state the machine is in and the input it is receiving. A change in input can change the output at once, without waiting for a state change.

Output that depends only on the present state defines a Moore machine, the usual contrast. Output from the input alone would make it a combinational circuit, not a state machine, and the clock only times the state changes; it does not determine the output value.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.