← ProblemsCircuits / Sequential Logic / Finite State Machines

Simple FSM 1 (synchronous reset)

36%fsm

Implement the same two-state Moore machine as in the previous exercise, but this time with a synchronous reset.

Current statenext state when in = 0next state when in = 1output out
ABA0
BAB1

out is 1 in state B and 0 in state A. The active-high reset input is sampled on the rising clock edge and forces the machine into state B.