HDLbits
Browse Problems

Circuits/Sequential Logic

Detect Both Edges

medium
edge-detectionsequential

Assert pulse for one cycle whenever the sampled input changes value, rising or falling.