Almost all digital electronic of importance based at
the principle of the Synchronous State Machine - SSM
or Final State Machine Machine - FSM.
The
State Memory
enables the FSM to remember what happened in the
past - The output from the F/F's referred as
Current state.
The
Next State Logic (pure combinatorial) decide what
should happens next - This decision done by looking
at Inputs and the
Current state.
The output from the Next State Logic called
Next State
(of course) and is just waiting for the next rising
edge clock pulse to become a new Current state.
The
Current state
could be used directly as output (Output coded
states) but could be transformed through
combinatorial logic