Professional Documents
Culture Documents
MealyMoore PDF
MealyMoore PDF
MealyMoore PDF
Sequence detector: detect sequences of 0010 or 0001
Overlapping patterns are allowed
Example output:
X: 1 0 0 1 1 0 0 0 0 1 0 0 1 0 1 1 1 0 1 0 0 1 0
Z Mealy 0 0 0 0 0 0 0 0 0 1 1 0 0 1 0 0 0 0 0 0 0 0 1
Z Moore 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 0 0 0 0 0 0 0 0 1
Mealy Design
1/0 0/0
1/0
0/1
(001)
S4
1/0
Moore Design
1 0 1
1
S0 0 S1 0 S2 0 S3 1 S5
0 0 0 0 1
(Reset) (0) (00) (000) (0001)
1 0
0
1
(0010)
S4 0 S6
0 1
(001)
0