Flipflop for Electronics and Communication Engineering students.pdf

izukumido 26 views 24 slides Aug 05, 2024
Slide 1
Slide 1 of 24
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

About This Presentation

Note on Flip flop for DE


Slide Content

FLIPFLOPS

INTRODUCTION:
•Flip–flopshavetwostablestatesandhencetheyare
bistablemultivibrators.ThetwostablestatesareHigh
(logic1)andLow(logic0).
•Theycanswitchbetweenthestatesundertheinfluenceof
acontrolsignal(clockorenable)i.e.theycan‘flip’toone
stateand‘flop’backtootherstate.
•Theyarebinarystoragedevicesbecausetheycanstore
binarydata(0or1).

INTRODUCTION:
•Theyarealsoknownassignalchangesensitive
deviceswhichmeanthatthechangeinthelevelof
clocksignalwillbringchangeinoutputoftheflip
flop.
•AFlip–flopworksdependingonclockpulses.
•Flipflopsarealsousedtocontrolthedigital
circuit’sfunctionality.Theycanchangethe
operationofadigitalcircuitdependingonthestate

CONVENTIONS
•Thetwooutputsarecomplementarytoeach
other.
•IfQis1thatissetQ’to0.
•IfQis0,resetQ’to1.(QandQ’can’tbeatthe
samestatesimultaneously.Ifithappens,itwill
violatethedefinitionoftheflip-flopandhenceis
calledundefinedcondition).

•Qiscalledthestateoftheflip-flopwhereasQ’
iscalledcomplementarystateoftheflip-flop.
•WhentheoutputQiseither0or1,itremains
inthatstateunlessoneormoreinputsare
excitedtoeffectthechangeontheoutput.

FLIP-FLOPS
3classesofflip-flops
•latches:outputsrespondimmediatelywhile
enabled(notimingcontrol)
•pulse-triggeredflip-flops:outputsresponseto
thetriggeringpulse
•edge-triggeredflip-flops:outputsresponsesto
thecontrolinputedge

TYPES OF FLIPFLOPS
•S-RFlip-flop
•J-K Flip-flop
•D Flip-flop
•TFlip-flop

S-R FLIP FLOP
•The S-R flip-flop is basicflip-flop among all the flip-
flops. All the other flip flops are developed after SR-flip-
flop.
•SR flip flop is represented as shown below

S-R FLIP FLOP
•Anyflipflopcanbebuildusinglogicgates.NANDandNOR
gateswereusedastheyareuniversalgates.

The Basic SR Flip-flop
The Basic SR Flip-flop with clock

Working
From the diagram it is evident that the flip flop has
mainly four states. They are
S=1, R=0 —Q=1, Q’=0
This state is also called the SET state.
S=0, R=1—Q=0, Q’=1
This state is k nown as the RESET state.
Inboththestates,theoutputsarejustcompliments
ofeachotherandthatthevalueofQfollowsthe
valueofS.

S=0,R=0—Q&Q’=Remember
IfboththevaluesofSandRareswitchedto0,
thenthecircuitremembersthevalueofSandRin
theirpreviousstate.
S=1,R=1—Q=0,Q’=0[Invalid]
•Thisisaninvalidstatebecausethevaluesof
bothQandQ’are0.
•Theyaresupposedtobecomplimentsofeach
other.Normally,thisstatemustbeavoided.

JK-FLIP FLOP
•TheJ-Kflip-flopisoperationallysimilartotheS-
Rflip-flop.
•TheJ-Kflip-flopisclockdrivenliketheclocked
S-Rflip-flop.
•ThedifferenceisthattheJ-Kflip-flopwillretain
itsoutputstatuswhentwolowsarepresentat
itsinputs.Also,whenbothinputsarehigh,the
outputswilltoggleonandoff

WORKING
•QandQ'arefeedbacktothepulse-steering
NANDgates.
•Noinvalidstate.
•Includeatoggle(switch)state.
•J=HIGH(andK=LOW)-aSETstate
•K=HIGH(andJ=LOW)-aRESETstate
•bothinputsLOW-anochange
•bothinputsHIGH-atoggle

•Togglingmeans‘Changingthenextstateoutputto
complementofthepresentstateoutput’
•Togglingwillcausetheoutputtocomplement
againandagain.
•Thiscomplementoperationcontinuesuntilthe
Clockpulsegoesbackto0.Sincethisconditionis
undesirable,wehavetofindawaytoeliminatethis
condition.
•Thisundesirablebehaviorcanbeeliminatedby
EdgetriggeringofJKflip-floporbyusingmaster
slaveJKFlip-flops.

JK-FLIP FLOP

J-K FLIP FLOP TRUTH TABLE previous values present values
clk J K Q Q’ S R Q Q’
1 0 1 1 0 0 1 0 1
0 1 0 0 0 1
1 1 0 1 0 0 0 1 0
0 1 1 0 1 0
1 0 0 1 0 0 0 1 0 previous
values
0 1 0 0 0 1
1 1 1 1 0 0 1 0 1 compliment
of previous
values
0 1 1 0 1 0

S=J.Q’
R=K.Q

J-K FLIP FLOP TRUTH TABLE
summary

D-FLIP FLOP
•single input D (data)
•D=HIGH -a SET state
•D=LOW -a RESET state
BycomparingR-S,J-K,andDflip-flopsonecan
seethattheDflip-flopneverhasanunknown
state,unliketheR-SandJ-K.
The D flip-flop is widely used. It is also known as a
"data" or "delay" flip-flop and negative edge
triggered flip flop.

D-FLIP FLOP

CLK D J K Q Q’
1 1 0 1 0 1
1 1 1 0 1 0
J=Q
D-FLIP FLOP TRUTH TABLE

T-FLIP FLOP
•ATflipflopislikeJKflip-flop.
•ThesearebasicallyasingleinputversionofJK
flipflop.
•ThismodifiedformofJKflip-flopisobtainedby
connectingbothinputsJandKtogether.

•Thisflip-flophasonlyoneinputalongwiththe
clockinput.

clk T J K Q Q’ S R Q Q’
1 0 0 0 1 0 0 0 1 0 previous
values
0 1 0 0 0 1
1 1 1 1 1 0 0 1 0 1 compliment
of previous
values
0 1 1 0 1 0

THE USE OF FLIPFLOP
•For RegisterDevices:
Flipflopscanstoreasinglebitofdatai.e.1or0.
Registersareusedtostoremultiplebitsofdata.So
flipflopsareusedtodesignRegisters.Accordingto
digitalelectronics,aRegisterisadevicewhichis
usedtostoretheinformation.
•Data Transfer
The process of transferring the data from one
register to another register
Tags