Review Board 2.0.15


slicc: support for transitions with a wildcard next state

Review Request #2790 - Created May 11, 2015 and submitted

Information
Tony Gutierrez
gem5
default
Reviewers
Default
Changeset 10820:5064fb0968bb
---------------------------
slicc: support for transitions with a wildcard next state

This patches adds support for transitions of the form:

transition(START, EVENTS, *) { ACTIONS }

This allows a machine to collapse states that differ only in the next state
transition to collapse into one, and can help shorten/simplfy some protocols
significantly.

When * is encountered as an end state of a transition, the next state is
determined by calling the machine-specific getNextState function. The next
state is determined before any actions of the transition execute, and
therefore the next state calculation cannot depend on any of the transition
actions.

   
Review request changed
Updated (Aug. 1, 2015, 9:41 a.m.)

Status: Closed (submitted)