DigiFlop

Feed back the inverted output, and the sequence doubles in length.

Verilog Coding Exercise · Sequential
Twisted Ring (Johnson) Counter
Feed back the inverted output, and the sequence doubles in length.

Also called a Johnson counter — identical to a ring counter except the fed-back bit is inverted, which doubles the number of unique states to 2N for the same N flip-flops.

▶ Try the interactive version