MealyMoore PDF

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

State Diagrams

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/0 0/0 0/0


S0 S1 S2 S3
(Reset) (0) (00) (000)
1/0 1/1

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

You might also like