LAB 3 - Week3
LAB 3 - Week3
S-R Flip-Flop:
Reset
Q
Set Q’
Set Reset Q Q’
1 0 1 0
1 1 0 0
0 1 0 1
1 1 0 0
D-Flip Flop:
Q
Clock
Data
Q’
Clock Pin Q Q’
0 0 1 0
0 1 1 0
1 1 1 0
1 0 0 1
Truth table is based on the situation from circuit image.
Question 11: Briefly explain the behaviour of a D Flip Flop and how
it is useful for digital circuit design?
D-flip flop is commonly used in shift registers, memories, counters, and computer
registers. This circuit has only one input, Q is updated to be the same at D (Pin)
when the clock goes active. However, when the clock turns off (clock = 0), outputs
will maintain their value regardless of the change in the D input (Pin).
This is useful for digital because it can only be changed at the clock edge.
Question 12: What is the role of the clock? How does it impact the
changing of state of Q and Q’?
Timing and synchronization are important aspects of circuit design. The clock
signal plays a key role in determining when the flip-flop should capture data on its
D input. This signal synchronizes the flip-flop's operation with other components
in the circuit. The clock controls the state of the signal given to the circuit. When
the signal emitted by the clock is high the inputs get active, but if the signal
emitted by the clock gets low the output state of the circuit will not be affected
because the signal given to the input is low.
Question 13: Why is it generally preferred over the R-S Flip Flop?
D Flip-Flops are preferred over R-S Flip-Flops in digital circuits because for some
reasons such as D flip-flop is that it has a single data input, making it simpler to
design and implement in a circuit, invalid state prevention (such as both SET and
RESET are 1 in R-S flip flop) , stable timed operation because the input data (Pin)
is only stored when a clock signal is applied. This allows for more precise control
over when data is stored and retrieved, and lower power consumption.
JK-Flip Flop:
J
Q
Reset
Clock
Q’
K