HDLbits

Circuits/Sequential Logic

MUXDFF Primitive

medium
multiplexerregistersequential

Implement one flip-flop and its input multiplexer. On a rising edge, capture r_in when L is high; otherwise capture q_in. The supplied diagram shows how three copies are connected in the larger circuit.

MUXDFF Primitive diagram 1