MUX, DFF, tri-state inverting buffer.
The DFF D input is connected to the output of the MUX. Clk is fed from an off-schematic source, the Q is fed back through the MUX when W=0, and -Q is connected to the tri-state, which allows the connection to a data bus.