DigiFlop

One input: toggle, or don't.

Verilog Coding Exercise · Sequential
T Flip-Flop
One input: toggle, or don't.

Toggles its output every clock edge when T is high, and holds its value when T is low — the natural building block for binary counters.

▶ Try the interactive version