Professional Documents
Culture Documents
EE-221 Chap07 Part-01
EE-221 Chap07 Part-01
• Even our logic gates induce a small amount of delay (on the order of a
few nanoseconds)
D Q
Q
EN
Q
Q
Inputs Outputs
D EN Q Q Comments
0 1 0 1 RESET
1 1 1 0 SET
X 0 Q0 Q0 No change
D-Latch
D
Q
EN
C C
Dynamic Q Q
input
indicator (a) Positive edge-triggered (b) Negative edge-triggered
D-Flip Flop
• D flip flop very popular with digital electronics.
• They are commonly used for counters and shift-registers and input
synchronisation.
• The output can be only changed at the clock edge, and if the input
changes at other times, the output will be unaffected.
D Flip-flops
The truth table for a positive-edge triggered D flip-flop shows an up arrow to remind you
that it is sensitive to its D input only on the rising edge of the clock; otherwise it is
latched.
The truth table for a negative-edge triggered D flip-flop is identical except for the
direction of the arrow.
Inputs Outputs
J K CLK Q Q Comments
0 0 Q0 Q0 No change
0 1 0 1 RESET
1 0 1 0 SET
1 1 Q0 Q0 Toggle
JK Flip Flop