← ProblemsCircuits / Sequential Logic / Finite State Machines

FSM 3 (synchronous reset)

15%fsm

The same four-state Moore machine, now with a synchronous reset:

Current statenext state when in = 0next state when in = 1output out
AAB0
BCB0
CAD0
DCB1

The active-high reset is sampled on the rising clock edge and forces the machine into state A. out = 1 only in state D.