HDLbits
Browse Problems

Verification/Writing Testbenches

T Flip-Flop

medium
verificationtestbenchflip-flop

On each rising edge, synchronously clear on reset, toggle the stored bit when t is high, and hold it when t is low.