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