Mealy vs Moore machines
Outputs as a function of state (Moore) vs state + input (Mealy) — and when to pick which.
Control logic that remembers where it is — Mealy vs Moore, two-process and three-process patterns.
Log in to track your progress.
Outputs as a function of state (Moore) vs state + input (Mealy) — and when to pick which.
A two-process Moore FSM cycling through red → green → yellow with a configurable hold count.
Design an FSM that accepts 5¢ and 10¢ coins, dispenses when total ≥ 25¢, and returns change. Full spec inside.