Flip flop and sequential circuit in digital electronics .pdf

kumawatvishu14 0 views 33 slides Sep 28, 2025
Slide 1
Slide 1 of 33
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33

About This Presentation

Flip flop and sequential circuit


Slide Content

Flip Flops

Simple Latch
•circuit ouput - LO state, command input – LO
latch output low.
Command input – HI, gate output – HI
The feeciback loop to the other gate input - latch
remains HI
even when the HI is removed from -the latch
command input.
Command input has no effect.
•Unlatch – remove power or break feedback
connection
NOR Q
0 0 1 0
0 1 0 1
1 0 0 0
1 1 0 1

Memory Element
Set Reset Q
0 0 0
0 1 1 --> 0
1 1 0
1 0 0 --> 1
Q = 0 Reset / Clear state
Q = 1 Set state

Improved Circuit
Set Clear Q Q’
0 0
0 1
1 0
1 1
Normal output
Complentary output

Circuit Operation
Set Clear Q Q’
0 0 Hold Hold
0 1 0 1
1 0 1 0
1 1 Should be avoided

Timing Diagram
can also be constructed from NAND
gates

Circuit Operation
Set’ Clear’ Q Q’
0 0 Should be avoided
0 1 1 0
1 0 0 1
1 1 Hold Hold

two stable states
bistable multivibrators
High (logic 1) and Low (logic 0).
flip – flop - can switch between the states
under the influence of a control signal (clock or
enable)
i.e. they can ‘flip’ to one state and ‘flop’ back to
other state.
Flip – flops - a binary storage device
can store binary data (0 or 1).
FlipFlop States

1 – bit binary data storage devices.
The main difference is the triggering mechanism.
Latches are transparent when enabled
flip – flops are dependent on the transition of the clock signal
i.e. either positive edge or negative edge.
The modern usage is reserved to clocked devices
latch is much simpler device.
Latches vs Flip-Flops

Controlled SR Latch

D Latch

Clocked Memory Element
Latches are level-sensitive - output follows their inputs as long
as enabled.
Transparent during this entire time when the enable signal is
asserted.
The output change only at the rising or falling edge of the
enable signal.
This enable signal is usually the controlling clock signal.
All changes synchronized to the rising or falling edge of the
clock.
edge-triggered flip-flop achieves this by combining in series a
pair of latches.

D Flip Flop using Latches
10 gates (46 transistors)

D Flip Flop using Latches

Clock Signal

Like a camera!
Clock rising edge causes Q to change after a short delay
This is the only time Q ever changes
The value of D just before the clock rising edge is the new Q
D-FF is like a camera...
“picture” from the scene (input is D).
clock input is like trigger/click on the camera
when pressed, samples the input and takes a picture.
The “cause” is the rising edge of the CLOCK and the “effect” is the Q output
sample D input and keep the value until the next rising edge of the clock.
I

Timing Constraints
t
su
– Set Up Time
t
h
– Hold Time

FF Timing Specifications
Clock:
Periodic Event, causes state of memory
element to change.
Setup Time (Tsu):
Minimum time before the clocking event by
which the input must be stable
Hold Time (Th)
Minimum time after the clocking event during
which the input must remain stable
Input
Clock
T
su
T
h
There is a timing "window" around the clocking event during which the input
must remain stable and unchanged in order to be recognized

• Setup time
• Hold time
• Minimum clock width
• Propagation delays
(low to high, high to low,
max and typical)
D
Clk
Q
T
su
20
ns
T
h
5
ns
T
w
25
ns
T
plh
25 ns
13 ns
T
su
20
ns
T
h
5
ns
T
phl
40 ns
25 ns
All measurements are made from the clocking event
that is, the rising edge of the clock
Set up & Hold Time

Positive-edge-triggered D flip-
flop
three interconnected SR latches
6 NAND gates (26 transistors)
as opposed to 10 gates (46 transistors)
for the pair of D latches

Before Clock Edge

After Clock Edge

Comparison of Latch and Flip
Flop
Qa Latch Output
Qb Positive Edge Triggered flipflop output
Qc Negative Edge Triggered flipflop output

Asynchronous Inputs
Direct Inputs

1 Bit Storage

2 Bit Storage

4 Bit Storage

1 Bit Controlled Storage

2 Bit Controlled Storage

4 Bit Controlled Storage
Element
Tags