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.
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.