Moore machine

In the theory of computation, a Moore machine is a finite-state machine whose current output values are determined only by its current state.

This is in contrast to a Mealy machine, whose output values are determined both by its current state and by the values of its inputs.

consisting of the following: "Evolution across time" is realized in this abstraction by having the state machine consult the time-changing input symbol at discrete "timer ticks"

and react according to its internal configuration at those idealized instants, or else having the state machine wait for a next input symbol (as on a FIFO) and react whenever it arrives.

A Moore machine can be regarded as a restricted type of finite-state transducer.

As Moore and Mealy machines are both types of finite-state machines, they are equally expressive: either type can be used to parse a regular language.

The difference between Moore machines and Mealy machines is that in the latter, the output of a transition is determined by the combination of current state and current input (

When represented as a state diagram, Every Moore machine

is equivalent to the Mealy machine with the same states and transitions and the output function

Some can be converted only to an almost equivalent Moore machine, with outputs shifted in time.

The output corresponding to that input, is the label of state

Simple Moore machines have one input and one output: Most digital electronic systems are designed as clocked sequential systems.

Clocked sequential systems are a restricted form of Moore machine where the state changes only when the global clock signal changes.

Typically the current state is stored in flip-flops, and a global clock signal is connected to the "clock" input of the flip-flops.

Clocked sequential systems are one way to solve metastability problems.

A typical electronic Moore machine includes a combinational logic chain to decode the current state into the outputs (lambda).

The instant the current state changes, those changes ripple through that chain, and almost instantaneously the output gets updated.

There are design techniques to ensure that no glitches occur on the outputs during that brief period while those changes are rippling through the chain, but most systems are designed so that glitches during that brief transition time are ignored or are irrelevant.

The output becomes 1 and remains 1 thereafter when at least two 0's and two 1's have occurred as inputs.

A Moore machine with nine states for the above description is shown on the right.

In Moore's 1956 paper "Gedanken-experiments on Sequential Machines",[1] the

At the end of the paper, in Section "Further problems", the following task is stated: Another directly following problem is the improvement of the bounds given at the theorems 8 and 9.Moore's Theorem 8 is formulated as: Given an arbitrary

, such that every two of its states are distinguishable from one another, then there exists an experiment of length

A. Karatsuba proved the following two theorems, which completely solved Moore's problem on the improvement of the bounds of the experiment length of his "Theorem 8".

machine, such that every two of its states are distinguishable from one another, then there exists a branched experiment of length at most

machine, every two states of which are distinguishable from one another, such that the length of the shortest experiments establishing the state of the machine at the end of the experiment is equal to

.Theorems A and B were used for the basis of the course work of a student of the fourth year, A.

A. Karatsuba, "On a problem from the automata theory", which was distinguished by testimonial reference at the competition of student works of the faculty of mechanics and mathematics of Moscow State University in 1958.

The paper by Karatsuba was given to the journal Uspekhi Mat.

[3] Until the present day (2011), Karatsuba's result on the length of experiments is the only exact nonlinear result, both in automata theory, and in similar problems of computational complexity theory.

alt text
Moore machine in combinational logic
Example moore machine
Example moore machine