14

Mealy and Moore Models

  • Upload
    borna

  • View
    88

  • Download
    2

Embed Size (px)

DESCRIPTION

Mealy and Moore Models. The Mealy model : the outputs are functions of both the present state and inputs (Fig. 5-15). The outputs may change if the inputs change during the clock pulse period. The outputs may have momentary false values unless the inputs are synchronized with the clocks. - PowerPoint PPT Presentation

Citation preview

Page 1: Mealy and Moore Models
Page 2: Mealy and Moore Models
Page 3: Mealy and Moore Models

A x A+ Y

0 0

0 1

1 0

1 1

Page 4: Mealy and Moore Models
Page 5: Mealy and Moore Models
Page 6: Mealy and Moore Models
Page 7: Mealy and Moore Models

A B C A+ B+ C+ TA TB Tc

0 0 0

0 0 1

0 1 0

0 1 1

1 0 0

1 0 1

1 1 0

1 1 1

Page 8: Mealy and Moore Models
Page 9: Mealy and Moore Models
Page 10: Mealy and Moore Models

A B C A+ B+ C+ Y JA KA JB KB Jc Kc

0 0 0

0 0 1

0 1 0

0 1 1

1 0 0

1 0 1

1 1 0

1 1 1

Page 11: Mealy and Moore Models
Page 12: Mealy and Moore Models

Mealy and Moore Models

The Mealy model: the outputs are functions of both the present state and inputs (Fig. 5-15).● The outputs may change if the inputs change during the

clock pulse period.♦ The outputs may have momentary false values unless the inputs

are synchronized with the clocks.The Moore model: the outputs are functions of the

present state only (Fig. 5-20).● The outputs are synchronized with the clocks.

Page 13: Mealy and Moore Models

Present State I/P Next

State O/P

A B x A B y0 0 0 0 0 00 0 1 0 1 00 1 0 0 0 10 1 1 1 1 01 0 0 0 0 11 0 1 1 0 01 1 0 0 0 11 1 1 1 0 0

Mealy

For the same state,the output changes with the input

Present State I/P Next

State O/P

A B x A B y0 0 0 0 0 00 0 1 0 1 00 1 0 0 1 00 1 1 1 0 01 0 0 1 0 01 0 1 1 1 01 1 0 1 1 11 1 1 0 0 1

Moore

For the same state,the output does not change with the input

Mealy and Moore Models

Page 14: Mealy and Moore Models

Moore State Diagram

State / Output

0 0 / 0 0 1 / 0

1 1 / 1 1 0 / 0

0

1

1

1

00

01