Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Moore machine, Mealy machine, state diagram, state encoding?

Ook bekend als: Moore machine · Mealy machine · state diagram · state encoding

Definition 28.9 University Computer Science — Year 1 · Hoofdstuk 28 — Sequential Circuits and Finite-State Machines

In a Moore machine the output is a function λ(q)\lambda(q) of the state; in a Mealy machine it is a function λ(q,a)\lambda(q, a) of the state and the input, attached to the transition. A state diagram draws the states as circles and each transition as an arrow labelled by its input (and, for a Mealy machine, its output, as a/oa/o). A state encoding gives each state a distinct word of bits, to be stored in flip-flops.

The detector of 101. Left, the Mealy machine: the 1 is output on the transition from 10 on input 1. Right, the Moore machine: the 1 is the output of the state 1/1, which splits the state 1 in two.
The detector of 101. Left, the Mealy machine: the 1 is output on the transition from 1010 on input 1. Right, the Moore machine: the 1 is the output of the state 1/11/1, which splits the state 11 in two.
Lees in het hoofdstuk →