Use one-hot states 001, 010, and 100. Reset to 001; on an enabled rising edge advance to the next state, wrapping from 100 to 001.
Use one-hot states 001, 010, and 100. Reset to 001; on an enabled rising edge advance to the next state, wrapping from 100 to 001.