Top Banner
1 Digital Design using ASM Charts ASMs have three types of building blocks: 1. state box 2. decision box 3. conditional output box
13
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: sm charts

1

Digital Design using ASM Charts

ASMs have three types of building blocks: 1. state box 2. decision box 3. conditional output box

Page 2: sm charts

The state box.Figure 8.4

claudiotalarico
Rectangle
claudiotalarico
Line
Page 3: sm charts

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

claudiotalarico
Rectangle
claudiotalarico
Line
Page 4: sm charts

The conditional output box.Figure 8.6

claudiotalarico
Rectangle
claudiotalarico
Line
Page 5: sm charts

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

State output isstate code

claudiotalarico
Rectangle
claudiotalarico
Rectangle
claudiotalarico
Line
Page 6: sm charts

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

Input Icontrolsdirection

claudiotalarico
Line
Page 7: sm charts

An ASM chart to illustrate state assignment.Figure 8.21

A ->A,B

B->A,C,D

C->C,D

D->E

E->A

3 state bits needed

Assign codes to each state

claudiotalarico
Rectangle
claudiotalarico
Rectangle
claudiotalarico
Rectangle
claudiotalarico
Line
Page 8: sm charts

2

State Diagrams vs. ASM Charts

Page 9: sm charts
Page 10: sm charts

Invalid ASM block having nonunique next states.Figure 8.11

Both exits selected when

both inputs are 1

claudiotalarico
Rectangle
claudiotalarico
Stamp
claudiotalarico
Oval
claudiotalarico
Pencil
claudiotalarico
Stamp
claudiotalarico
Line
Page 11: sm charts

Looping. (a) Incorrect. (b) Correct.Any closed loop must contain at least one state box

claudiotalarico
Stamp
claudiotalarico
Stamp
claudiotalarico
Line
claudiotalarico
Stamp
claudiotalarico
Stamp
claudiotalarico
Rectangle
claudiotalarico
Line
Page 12: sm charts

Looping. (a) Incorrect. (b) Correct.Any closed loop must contain at least one state box

claudiotalarico
Stamp
claudiotalarico
Stamp
claudiotalarico
Line
claudiotalarico
Stamp
claudiotalarico
Stamp
claudiotalarico
Rectangle
claudiotalarico
Rectangle
claudiotalarico
Rectangle
claudiotalarico
Stamp
claudiotalarico
Stamp
claudiotalarico
Line
Page 13: sm charts

Linked State Machines

3

When a machine becomes large and complex is desirable to divide the machine up into several smaller machines that are linked together

claudiotalarico
Rectangle