Two latches put back to back with opposite clocks form a D flip-flop (DFF), as shown inFigure 10.52. Shown also in the figure is the timing diagram of the output (Q) versus the inputand clock. In this example, the output is latched at the positive edge of the clock.