HDLbits
Browse Problems

Circuits/Sequential Logic

Q2b: Another One-Hot FSM

medium
fsmone-hotsequential

Use one-hot states 0001, 0010, 0100, and 1000 for zero through three or more consecutive ones. A low input or reset returns to the first state.