DigiFlop

Set, reset, hold, or toggle — all four combinations, no invalid state.

Verilog Coding Exercise · Sequential
JK Flip-Flop
Set, reset, hold, or toggle — all four combinations, no invalid state.

A more flexible flip-flop than SR: J=K=1 toggles the output instead of producing an undefined result, which is exactly what an SR flip-flop can't safely do.

Truth tableJ=K=0 hold · J=0,K=1 reset · J=1,K=0 set · J=K=1 toggle
▶ Try the interactive version