HDLbits
Browse Problems

Circuits/Sequential Logic

DFFs and Gates

medium
flip-flopgatessequential

At each rising edge, store the bitwise AND of the two four-bit inputs. Hold the result until the next edge.