Course 2
Course 2
a) b) c)
Figure 4. The DFF: (a) Symbol; (b) equivalent circuit; (c) working diagram
The DFF transfers the digital level from the input D to the output Q, bur this does not
happen immediately and only happens on an rising clock pulse (i.e. as CLK goes from 0 to 1). The
input is thus delayed by up to a clock pulse before appearing at the output. This is illustrated in the
Figure 1.c. The DFF is an edge-triggered device which means that the change of state occurs only
on a clock transition (in this case the rising clock pulse as it goes from 0 to 1). The data
transferred from the D input to the Q output is memorized until the next rising clock pulse.
Additional to the function of elemental memory cell, the DFF may be also used as
frequency divider by connecting, as indicated in Figure 2, the D input to the Q output.
a) b)
Figure 2. Use of the DFF as frequency divider: (a) electronic schematic; (b) signals diagram
It can be seen that for every two input clock pulses only one output clock pulse appears, the
circuit is therefore performing division by 2. It should be noted that this behaviour only takes
places when the clock pulses are reasonably short (but at least long enough for the output to change
state). If the clock pulse is long then oscillation may occur.