Beruflich Dokumente
Kultur Dokumente
Contoh#1
KasusDFFdanJKFF
1
11/22/2016
2
11/22/2016
Contoh#2
3
11/22/2016
Step1:
Deriveexcitationequations,i.e.,booleanexpressionsforthe
inputsofeachflipflopintheschematic,interms
oftheexternalinputCntandtheffoutputsQ1andQ0.Sincethere
aretwoffsinourexample,wederivetwo
expressionsforD1andD0:
Contoh#3
Step2:
Derivethenextstateequationsbysubstitutingtheexcitation
Circuitwithnooutputs.Derivethestatetableandstatediagramforthe equationsintotheflipflopcharacteristic
(modulo4counter)sequentialcircuitrepresentedbythefollowingschematic. equations.
Thecharacteristicequationsformallydescribethefunctional
behaviorofalatchorflipflop.Theyspecifythe
flipflopsnextstateasafunctionofitscurrentstateandinputs.
FortheDflipflop,thecharacteristicequationis
4
11/22/2016
Step3a:
Derivethenextstatetablefromthenextstateequations.Each Step4:
rowcorrespondstoastateofthesequentialcircuitwhichis Thetimingdiagramisshownbelow:
definedbythebinaryvaluesstoredinitsffs.Eachcolumn
representsonesetofinputvalues.Eachentrydefinesthevalueof
thesequentialcircuitinthenextclockcycleaftertherisingedgeof
theClk.
Step3b:
Insteadofanextstatetable,wecoulduseastatediagramto
representthebehaviorofthesequentialcircuit.Astatediagramis
basicallyapictorialrepresentationofthenextstatetable.Ithas
exactlyonenodeforeachpresentstateinthenextstatetable.
WecanseethataslongasCnt=1,thesequentialcircuitvisitsthestatesinthe
sequence0,1,2,3,0,1,2,.WhenCnt=0,thecircuitstaysinitspresentstateuntil
Cntchangesto1,atwhichpointthecountingcontinues.Weconcludethatthe
circuitisamodulo4counterwithonecontrolsignal,Cnt.