Review Board 2.0.15


slicc: support for transitions with a wildcard next state

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

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.