HDLbits
Browse Problems

Circuits/Sequential Logic

Simple State Transitions 3

medium
fsmstate-transitionssequential

Start in s0. A high input advances s0 to s1, a low input advances s1 to s2, and a high input advances s2 back to s0. Otherwise hold state. Encode the states as 00, 01, and 10.