ConceptofSequentialLogic
LatchandFlipflops(FFs)
ShiftRegistersandApplication
Counters(Types,Application&
Design)
SequentialCircuitsDesign
(Statediagram,StateTable,KMap,
Circuit)
SequentialLogic/Circuits
SequencialvsCombinational
Outputofanycombinationallogiccircuitdepends
directlyontheinput
Generally,inasequentiallogiccircuit,theoutputis
dependentnotonlyontheinputbutalsoonthe
storedstate
Latchisusedforthetemporarystorageofadatabit
FFformthebasisformosttypesofsequentiallogic,
suchasregistersandcounters.
Also,twotypesoftimingcircuits(oneshotand555
timer)
Flipflop&Register
Latches
Edgetriggeredflipflops
Masterslaveflipflops
Flipflopoperatingcharacteristics
Flipflopapplications
Oneshots
The555timer
9/16/2015
Introduction
LatchesandFFsarethebasicsinglebitmemory
elementsusedtobuildsequentialcircuitwith
oneortwoinputs/outputs,designedusing
individuallogicgatesandfeedbackloops.
Latches:
Theoutputofalatchdependsonitscurrentinputsandon
itspreviousoutputanditschangeofstatecanhappenat
anytimewhenitsinputschange.
FFs:
Theoutputofaflipflopalsodependsoncurrentinputs
anditspreviousoutputbutthechangeofstateoccursat
specific times determined by a clock input
Latches
Introduction
Latches:
SRLatch
GateSRLatch
GateDLatch
FFs:
EdgeTriggeredFlipFlop(SR,JK,D)
AsynchronousInputs
MasterSlaveFlipFlop
FlipFlopOperatingCharacteristics
FlipFlopApplications
Oneshots&The555Timer
SR(SETRESET)Latch
Typeoftemporarystoragedevicethathastwostable
(bistable)states
Similartoflipfloptheoutputsareconnectedback
tooppositeinputs
Maindifferencefromflipflopisthemethodusedfor
changingtheirstate
SRlatch,Gated/EnabledSRlatchandGatedDlatch
Active-HIGH input S-R Latch
9/16/2015
LogicsymbolsfortheSRandSRlatch
NegativeORequivalentoftheNAND
gateSRlatch
TruthtableforanactiveLOWinput
SRlatch
9/16/2015
GatedSRLatch
AssumethatQisinitiallyLOW
AgateinputisaddedtotheSRlatchtomake
thelatchsynchronous.
Inorderforthesetandresetinputstochange
thelatch,thegateinputmustbeactive
(high/Enable).
1
Whenthegateinputislow,thelatchremainsin
theholdcondition.
Waveforms
AGatedSRlatch
GatedSRlatchwaveform:
9/16/2015
TruthTableforGatedSRLatch
S
Hold
Hold
Hold
hold
hold
set
reset
not allowed
GatedSRLatchQoutputwaveformiftheinputsareas
shown:
GatedDLatch(74LS75)
TheD(data)latchhasasingleinputthatisusedtoset
andtoresettheflipflop.
Whenthegateishigh,theQoutputwillfollowtheD
input.
Whenthegateislow,theQoutputwillhold.
GatedDLatch(74LS75)
Theoutputfollowstheinputwhenthegateishigh
butisinaholdwhenthegateislow.
9/16/2015
EdgetriggeredFlipflopLogic
ClockSignals&SynchronousSequentialCircuits
PositiveedgetriggeredandNegativeedgetriggered
Clock signal
0
Rising edges of
the clock
(Positive-edge
triggered)
Alltheaboveflipflopshavethetriggeringinputcalled
clock(CLK/C)
OperationofapositiveedgetriggeredSRflipflop
Falling edges
of the clock
(Negative-edge
triggered)
Clock Cycle
Time
Aclocksignalisaperiodicsquarewavethatindefinitely
switchesvaluesfrom0to1and1to0atfixed
intervals.
Example:
(d)S=1,R=1
isinvalidornot
allowed
9/16/2015
ApositiveedgetriggeredDflipflopformedwithanSRflipflop
andaninverter.
CLK/C
Q_________________
SET (stores a 1)
RESET (stores a 0)
TruthTableforJKFlipFlop
CLK
Q0
Q0
Hold
Reset
Set
Q0
Q0
Example:
Transitionsillustratingthetoggleoperation
whenJ=1andK=1.
9/16/2015
EdgetriggeredJKflipflop
TheedgetriggeredJKwillonlyaccepttheJandinputs
duringtheactiveedgeoftheclock.
Asimplifiedlogicdiagramforapositiveedge
triggeredJKflipflop.
Thesmalltriangleontheclockinputindicatesthatthe
deviceisedgetriggered.
Abubbleontheclockinputindicatesthatthedevice
respondstothenegativeedge.nobubblewouldindicate
apositiveedgetriggereddevice.
Example:Positiveedgetriggered
Example:Negativeedgetriggered
9/16/2015
LogicsymbolforaJKflipflopwithactive
LOWpresetandclearinputs.
Edgetriggeredflipfloplogicsymbols(contd)
TheJKflipflophasatogglemodeofoperationwhenbothJand
KinputsareHIGH.TogglemeansthattheQoutputwillchange
statesoneachactiveclockedge.
Example:
BasiclogicdiagramforamasterslaveJK
flipflop.
J,KandCpareallsynchronousinputs.
Themasterslaveflipflopisconstructedwithtwolatches.
ThemasterlatchisloadedwiththeconditionoftheJKinputs
whiletheclockishigh.Whentheclockgoeslow,theslavetakeson
thestateofthemasterandthemasterislatched.
Themasterslaveisaleveltriggereddevice.
ThemasterslavecaninterpretunwantedsignalsontheJK
inputs.
9/16/2015
Pulsetriggered(masterslave)JKflip
floplogicsymbols.
FlipFlopApplications
TruthTableforMasterSlaveJKFlipFlop
J
CLK Q
Q0
Q0
Hold
Reset
Set
Q0
Q0
Flipflopsusedinabasicregisterfor
paralleldatastorage.
ParallelDataStorage
FrequencyDivision
Counting
10
9/16/2015
JKflipflopasadivideby2device.Qisonehalfthe
frequencyofCLK.
Flipflopsusedtogenerateabinarycountsequence.Two
repetitions(00,01,10,11)areshown.
TwoJKflipflopsusedtodividetheclockfrequencyby4.QAisone
halfandQBisonefourththefrequencyofCLK.
FlipFlopOperatingCharacteristics
PropagationDelayTimes
SetupTime
HoldTime
MaximumClockFrequency
PulseWidth
PowerDissipation
11
9/16/2015
Thereareseveralotherparametersthatwillalsobelistedina
manufacturersdatasheet.
Maximumfrequency(Fmax)Themaximum
frequencyallowedattheclockinput.
Clockpulsewidth(LOW)[tW(L)]Theminimum
widththatisallowedattheclockinputduringthe
LOWlevel.
Clockpulsewidth(HIGH)[tW(H)]Theminimum
widththatisallowedattheclockinputduringthe
highlevel.
Comparisonofoperatingparametersfor4IC
familiesofflipflopofthesametype
Basicoperationofa555Timer
SetorResetpulsewidth(LOW)[tw(L)]The
minimumwidthoftheLOWpulseatthesetorreset
inputs.
FunctionalDiagramof555Timer
Threshold
ControlVoltage
Trigger
Discharge
Reset
Output
12
9/16/2015
555Timerasaoneshot
tw=1.1R1C1=1.1(2000)(1F)=2.2ms
Astableoperationof555Timer
tH=.7(R1+R2)C1=2.1mstL=.7R2C1=0.7ms
13