Pre & Post 5
Pre & Post 5
POSTLAP
Prepared by :
20042025005 نبيل حسين شامي
20042025009 مؤيد سمارة
LAB 5: Analysis and Design of Latches
and Flip Flops
Q1. Derive the characteristic equations and the excitation tables for the Set/Reset (SR)
latch, the D-flip/flop, and JK-flip/flop. The characteristic equation gives the next state in
terms of the inputs and the current state. The excitation table shows the excitation signals
as functions of inputs and current state.
** SR Latch:
C S R Next State of Q
0 X X No Change
1 0 0 No Change
1 0 1 Q=0 ; Reset State
1 1 0 Q=1 ; Set State
1 1 1 Indeterminate
D Next State of Q
0 Q=0 ; Reset State Q(t+1) = D
1 Q=1 ; Set State
** JK Flip/Flop:
J K Next State of Q
0 0 Q(t) No Change
Q(t+1)=JQ' + K'Q
0 1 0 Reset
1 0 1 Set
1 1 Q'(t) Complement
Q1. Draw the timing diagrams for Q and Q' of an SR latch given the timings of S and R,
as shown below. Don’t take the propagation delay issue into consideration.
Q2. Draw the timing diagrams for Q and Q' of a D-flip/flop given the timing of D and
clock, as shown below. Don’t take the propagation delay issue into consideration.
****Objectives and Conclusions****
- Objectives:
.c. Build the SR latch with enable by adding 2 NAND gates to the S'R' latch
f. Verify the operation of the flip-flops & check if we get the same expected results or
not.
g. Derive the characteristic equation for the latches & flip-flops above
- Conclusions:
a. In this lab we build at first SR and S`R` latches, during that we faced some
problems, the first one was About the clock, the switch was damaged
b. We learn that the output of the Flip/Flop is not change without the Clock But the
latch is change when we change the input .
c. We can build a JK- Flip/Flop using D-Flip/Flop and how to build the SR latch
using NAND gates and NOR gates and with enable .
d. We learn that the D-Flip/Flop consist of 2 latches and the clock of the 2 latches is
convert to other .