A state machine is a collection of states, outputs from those states and transitions from state to state.
Draw a state machine by drawing states, the transitions between them, and the outputs from the states.
The state machine is simulated by an imaginary state register. This register is edge triggered, so pick the edge you want this state machine to be triggered on.
Give the state machine a name. This name must not be the same as the name of any other element (e.g., register, memory) in the circuit.
Click on ok to begin placing the state machine in the circuit or on cancel to cancel the creation of the state machine.
Place the state element in the circuit.
The drawing area for the state machine can be increased by 10% by clicking on the plus sign at the lower right corner of the drawing area.