HDLbits
Browse Problems

Circuits/Sequential Logic

Simple FSM 2 (Asynchronous Reset)

medium
fsmasynchronous-resetsequential

On each rising edge where x is high, toggle the state. Reset immediately clears the state. The output reports the current state.