Treść książki

Przejdź do opcji czytnikaPrzejdź do nawigacjiPrzejdź do informacjiPrzejdź do stopki
1.2EXAMPLE:CIPHERLOCK
c14
c16
c12
S2
Q2
S4
Q4
S6
Q6
c42
c64
c21
c65
c43
Q1
S1
c17
c31
S3
Q3
c53
S5
Q5
c75
Q7
S7
c87
c15
c13
Q8
c18
S8
Fig.1.3:Moorestatemachinerepresentingthebehaviorofasamplecipherlock
1.2.2
Edgedetection
Atthisstage,itisworthanalyzingtheabovesolution.Inparticular,weshouldconsider
thesignificanceoftheexistenceofstateS8.Thisstateisusedtoperformedgedetection
ofthesignal.TotransitiondirectlyfromstateS7toS1whenthegateisclosed,i.e.,signal
Gchangesfrom0to1,enterstateS8whenG=0andgotoS1whenthissignalchanges
to1.Almosteverycontrollerhasafunction/procedurethatdetectstheedgesofasignal.
c14
c16
c12
S2
c42
S4
S6
Q4
Q2
Q6
c64
c21
Q1
c43
S1
c65
c17
c31
S3
S5
c53
Q3
Q5
Q7
c75
S7
c15
c13
Fig.1.4:Mooremachinerepresentinganexamplebehaviorofacipherlock(aftercorrec-
tions)
15