Sequential Circuits: Latches and Flip-Flops By Dr. G. S. Virdi Ex-Chief Scientist, CSIR-Central Electronics Engineering Research Institute (CEERI), Pilani – India

gsvirdi07 6 views 30 slides Oct 28, 2025
Slide 1
Slide 1 of 30
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

About This Presentation

This lecture provides an in-depth understanding of sequential logic circuits used in modern digital electronic systems. It explains the principles and operation of memory elements, including SR, D, JK, and T flip-flops, as well as latches with enable and clock control. The content also covers both s...


Slide Content

1
Sequential Circuit
Dr.G.S.Virdi
Ex.Chief Scientist
CSIR -Central Electronics Engineering Research Institute
Pilani -333031,India

Contents
2
Introduction
MemoryElement
Latch



SRlatch
Dlatch
Flip-flop



SRflip-flop
Dflip-flop
JKflip-flop
T flip-flop
G.S.VIRDI

Introduction
3
Sequentialcircuitconsistsoffeedbackpathand
severalmemoryelements
Sequentialcircuit=CombinationalLogic+
MemoryElements
G.S.VIRDI

Introduction
4
Therearetwotypesofsequentialcircuit
Synchronous–outputchangeatcertaintime
Asynchronous–outputchangeanytime
Multivibrator–sequentialcircuitcategory–can
be


Bistable–consistoftwostablecondition
Monostable–consistofonestablecondition
Astable- nostablecondition


Bistablelogicdeviceislatchandflip-flop
Latchandflip-flopdifferbythemethodusedto
changestablecondition
G.S.VIRDI

MemoryElement
Memoryelementdevicethatcanremembera value
foracertainperiod,orchangevaluebased onthe
inputinstruction
Example:Latchandflip-flop
5
Commandsforlatchesincludesetandreset
commands
G.S.VIRDI

6
Flip-flopisamemoryelementwhichchangeits
condition basedonclocksignal
Clockisasquare
waveform
MemoryElement
G.S.VIRDI

MemoryElement
7
Therearetwotypesoftrigger/activator
Pulsetriggered
Edgetriggered
Pulsetriggered

Latch
ON=1,
OFF=0
Edgetriggered


Flip-flop
Positiveedgetriggered(ON=when0to1,OFF=othertime)
Negativeedgetriggered(ON=when1to0,OFF=othertime)
G.S.VIRDI

SRLatch
8
Outputhascomplement:QandQ’
WhenQHIGH,latchinSET
condition WhenQLOW,latchin
RESETcondition
ForSRwithactivehighinput(alsoknownasNORgate
latch)
R=HIGH(andS=LOW)–RESET
condition S=HIGH(andR=LOW)–SET
condition BothLOW–noconditionchange
BothHIGH-QandQ’becomesLOW(invalid)
G.S.VIRDI

SRLatch
9
ForallS’R’withactiveLOWinput(alsoknownasNAND
gatelatch)
R=LOW(andS=HIGH)–RESE
condition S=LOW(andR=HIGH)–SET
condition BothHIGH–noconditionchange
BothLOW-QandQ’becomesHIGH(invalid)
G.S.VIRDI

SRLatch
10
SRwithactiveHIGHinput
S’R’withactiveLOWinput
G.S.VIRDI

SRLatch
11
SRwithactiveHIGHinput
S’R’withactiveLOWinput
G.S.VIRDI

SRLatchwithGate
12
SRlatch+enable(EN)inputamd2NANDgate
-SRLatchwithGate
G.S.VIRDI

13


Outputchange(ifneeded)onlywhenENatHIGH
condition
Whichconditionisinvalid?
CriteriaTable
SRLatchwithGate
G.S.VIRDI

DLatchwithGate
14
MakeinputRthesameasS’-DLatchwithGate
DlatcheliminateinvalidconditioninSRlatch
G.S.VIRDI

DLatchwithGate
15
WhenENisHIGH
D=HIGH–latchisinSET
D=LOW–latchisinRESET
Therefore,whenENisHIGH,Qwillfollow
inputD CriteriaTable:
G.S.VIRDI

EdgeTriggeredFlip-flop
16

Flip-flop–bistablesynchronousdevice
Outputchangeitsconditionatcertainpointoninput
triggernamedclock
Conditionchangeeitheratpositiveedge(upedge)
oratnegativeedge(downedge)ofclocksignal
clocksignal
PositiveEdge NegativeEdge
G.S.VIRDI

17
flip-flopSR,DandJKedgetriggeredismarkedwith
“>”symbolatclockinput
Positiveedgetriggeredflip-flop
Negativeedgetriggeredflip-flop
SRFlip-flop
G.S.VIRDI

SRFlip-flop
18
SRflip-flop,atedgetriggeredclockpulse
S=HIGH(andR=LOW)–SET
condition R=HIGH(andS=LOW)
BothinputHIGH-invalid
RESETcondition BothinputLOW–no
change
CriteriatableofedgetriggeredSRflip-flop
G.S.VIRDI

SRFlip-flop
19
Itconsistofthreeparts


NANDlatch
Pulsesteeringcircuit
Pulsetransactioncircuitdetector(oredge
detector)
Pulsetransactiondetectorcircuitwilldetectuptrigger
(ordown)andproduceveryshortdurationspike
G.S.VIRDI

SRFlip-flop
20
Pulsetransactiondetector
G.S.VIRDI

DFlip-flop
21
Dflip-flop:oneinputD(data)
D=HIGH–SETcondition
D=LOW–RESETcondition
QwillfollowDatclockedge
TochangeSRflip-floptoDflip-flop:addinverter
G.S.VIRDI

DFlip-flop
22
Usage:Paralleldatatransaction
TotransferlogicaloutputcircuitX,Y,ZtoQ
1,Q
2,and
Q
3tobestored
G.S.VIRDI

JKFlip-flop
23
Thereisnoinvalidcondition
Thereistogglecondition
J=HIGH(andK=LOW)–SETcondition
K=HIGH(andJ=LOW)–RESETcondition
BothinputLOW–nochange
BothinputHIGH–“toggle”
G.S.VIRDI

JKFlip-flop
24
JKFlip-flop
CriteriaTable
G.S.VIRDI

TFlip-flop
25
Tflip-flopsingleinputversionforJKflip-flop,
formedbycombiningJKinput
CriteriaTable
G.S.VIRDI

TFlip-flop
26
Usage:Asfrequencydivider
G.S.VIRDI

27
Synchronous & Asynchronous Inputs of Flip-Flops
✅Synchronous Inputs (SR, D, JK)
Input data is transferred to output only on the triggering
edge of the clock pulse.
Output changes are fully controlled by the clock.
✅Asynchronous Inputs (PRE & CLR / SD & RD)
Output can change independent of the clock pulse.
These inputs directly force the flip-flop output.
Asynchronous Input Actions
PRE = HIGH → Q becomes HIGH immediately
CLR = HIGH → Q becomes LOW immediately
Normal flip-flop operation occurs when both PRE and
CLR are LOW
AsynchronousInput

AsynchronousInput
28
JKflip-flopwithactiveLOWpresetandclear
G.S.VIRDI

MasterSlaveFlip-flop
29

Masterisactivatedwhenpositiveedgeand Slaveis
activatedwhenclocknegativeedge triggered
MasterSlaveFlip-flop
G.S.VIRDI

30G.S.VIRDI
Tags