Moore, Mealy Machines & State Diagrams

Finite State Machines simulator

Interactive state machine design with real-time state visualization

Explore Moore and Mealy machines with state diagrams and transition analysis

Finite State Machine simulator

State Transition Table

Sequence Detector dHG

A finite state machine that detects a specific binary sequence (e.g., 1011) in the input stream. It outputs 1 when the sequence is detected.

Moore Machine: Output depends only on current state
Mealy Machine: Output depends on current state and input
State transitions occur on clock edges

Interactive Controls

Example State Machines

dHG Statistics

0
Total Transitions
S0
Current State
0
Inputs Processed
0
Outputs Generated