HDLbits
Browse Problems

Circuits/Sequential Logic

Mux and DFF with Enable

medium
multiplexerflip-flopenable

When enabled, capture a or b according to sel. Hold the prior output when enable is low.