CSCI 255 — D latch

When clk input changes from 0 to 1, the Q output will be set to the current D input. The D output change only on a positive clock edge.

Input Output
D clk Q Q’
0 0 0 1