90 likes | 179 Views
Lab 5 – More State Machines. Multiple processes. Lab 5 - Mealy Outputs. Ref: Chapter 10, RTL Hardware Design Using VHDL. State diagram. Mealy Outputs. Revised state diagram (sm2). / Y=1. Y=1. / Y=0. / Y=0. ASM Chart.
E N D
Lab 5 - Mealy Outputs Ref: Chapter 10, RTL Hardware Design Using VHDL • State diagram
Mealy Outputs Revised state diagram (sm2) / Y=1 Y=1 / Y=0 / Y=0
ASM Chart An algorithm state machine (ASM), is an alternative method for representing an FSM. Although an ASM chart contains the same amount of information as a state diagram, it is more descriptive. It is usually used to specify complex sequence of events and actions needed to implement a control path. An ASM is composed of a network of ASM blocks.
ASM Block To reduce clutter, sometimes only the signals that are activated (asserted) are shown in the ASM. Example 1:
ASM Block Example 2:
ASM – More examples Example 3:
ASM – More examples A counter from 0 to 8; ASM representation: