Digitales Lec8 ASM Givone SI

33
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 8-1 PowerPoint Slides to accompany Digital Principles and Design Donald D. Givone Chapter 8 Algorithmic State Machines

Transcript of Digitales Lec8 ASM Givone SI

Page 1: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-1

PowerPoint Slidesto accompany

Digital Principles and Design

Donald D. Givone

Chapter 8Algorithmic State Machines

Page 2: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Partitioning of a digital system.Figure 8.1

8-2

Page 3: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-3

Model of an algorithmic state machine.Figure 8.2

Page 4: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-4

Timing of an algorithmic state machine.Figure 8.3

Page 5: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-5

The state box.Figure 8.4

Page 6: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-6

The decision box. (a) Symbol. (b) Alternate symbol.Figure 8.5

Page 7: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-7

The conditional output box.Figure 8.6

Page 8: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-8

Example of an ASM block and its link paths.Figure 8.7

Page 9: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-9

Two equivalent ASM blocks.Figure 8.8

Page 10: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-10

Two equivalent ASM blocks. (a) Using a single decision box. (b) Using several decision boxes.Figure 8.9

Page 11: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-11

Two equivalent ASM books blocks. (a) Parallel decision boxes. (b) Serial decision boxes.Figure 8.10

Page 12: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-12

Invalid ASM block having nonunique next states.Figure 8.11

Page 13: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-13

Looping. (a) Incorrect. (b) Correct. Figure 8.12

Page 14: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-14

ASM chart for a mod-8 binary counter.Figure 8.13

Page 15: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-15

ASM chart for a mod-8 binary up-down counter.Figure 8.14

Page 16: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-16

Moore sequential network. (a) State diagram. (b) ASM chart.Figure 8.15

Page 17: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-17

Mealy sequential network. (a) State diagram. (b) ASM chart.Figure 8.16

Page 18: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-18

ASM chart to recognize the sequence x1x2 = 01,01,11,00.Figure 8.17

Page 19: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-19

Binary multiplication. (a) Pencil-and-paper approach. (b) Add-shift approach.Figure 8.18

Page 20: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-20

Architecture for a binary multiplier.Figure 8.19

Page 21: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-21

ASM chart for a binary multiplier.Figure 8.20

Page 22: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-22

An ASM chart.Figure 8.21

Page 23: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-23

A minimum state locus assignment for the ASM chart of Fig. 8.21. (a) State-assignment map. (b) State locus.Figure 8.22

Page 24: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-24

Karnaugh map for simplifying the function of Table 8.1b.Figure 8.23

1Q

Page 25: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-25

Discrete-gate realization with clocked D flip-flops for the ASM chart of Fig. 8.21.Figure 8.24

Page 26: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-26

Using variable-entered Karnaugh maps to obtain a discrete-gate realization with clocked D flip-flops for the ASM chart of Fig. 8.21.Figure 8.25

Page 27: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-27

Using variable-entered Karnaugh maps to obtain a discrete-gate realization with clocked JK flip-flops for the ASM chart of Fig. 8.21.Figure 8.26

Page 28: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-28

Assignment of inputs to a multiplexer for each excitation and output function.Figure 8.27

Page 29: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-29

Multiplexer realization with clocked D flip-flops for the ASM chart of Fig. 8.21.Figure 8.28

Page 30: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-30

Structure of a PLA realization for an ASM.Figure 8.29

Page 31: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-31

PLA realization with clocked D flip-flops for the ASM chart of Fig. 8.21.Figure 8.30

Page 32: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-32

Fragments of ASM charts illustrating problems associated with asynchronous inputs. (a) Transition race. (b) Output race.Figure 8.31

Page 33: Digitales Lec8 ASM Givone SI

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

8-33

Using a clocked D flip-flop to synchronize an asynchronous input.Figure 8.32