Unit 3
Unit 3
Unit 3
Latches
How can we make a circuit out of
gates that is not combinatorial? The
answer is feed-back, which means
that we create loops in the circuit
diagrams
If such feed-back is positive then the
circuit tends to have stable states,
and if it is negative the circuit will
tend to oscillate
Input
Output
State
R'
S'
Q'
Indeterminate
Reset
Set
NC
NC
No Change
Operation:
Case 1: If S=1, R=0, it will reset the RS latch Q=0 and Q=1
Case 2: If S=0, R=1, it will set the RS latch Q=1 and Q=0
Case 3: If S=R=1, the latch will remain in previous state
Case 4: If S=R=0, the latch is unpredictable
Input
Output
State
Q'
NC
NC
No Change
Set
Reset
Operation:
Case 1: If S=1, R=0, it will set the RS latch Q=1 and Q=0
Case 2: If S=0, R=1, it will reset the RS latch Q=0 and Q=1
Case 3: If S=R=1, the latch is unpredictable
Case 4: If S=R=0 No Change in the latch
Indeterminate
Flip-flops
Latch is an asynchronus circuit change in input is
transmitted to the output Q and Q
Operation of the latch can be modified by a control
input called Clock or clock pulse
Clock with latch is called flip-flop working as a
synchronous version
Binary storage device stores binary bit 2 stable
states HIGH & LOW
Change the operation of the circuit depending on the
state of one or more Flip flops
Types of Flip-Flops
Flip-Flops
can
be
classified
according to the number of inputs
they possess and the manner in
which they affect the binary state of
the flip-flop.
SR type Flip-flop or Set / Reset
T type Flip-flop or Triggered /Toggle
D type Flip-flop or Data / Delay
JK type Flip-flop
D Flip-Flop
FF whose output follows it data input when the clock is
The D flip-flop is a modification of the clocked SR flipflop.
The D input goes directly into the S input and the
complement of the D input goes to the R input.
If D=1, the flip-flop is switched to the set state (unless it
was already set). If it is 0, the flip-flop switches to the
Reset state
JK Flip-Flop
(Jack Kilby)
Case 1: J=K=0
Both AND gates are disbled
CP no effect
Hence No change state
T Flip-Flop
T flip-flop is obtained from the JK type if both inputs are tied
together (i.e J=K always)
CP=0 Both AND gate = 0 No change State
CP=1; T=0;
Both AND gate = Disable No change State
CP=1; T=1;
Both AND gate depend on previous output & finally toggles