There was an error while loading. Please reload this page.
This algorithm traverses a state machine definition and checks that, within each state definition, each transition uses a unique signal.
A state machine definition smd.
A state machine analysis data structure sma representing the results of analysis so far.
sma if the check succeeds; otherwise an error.
Visit each state definition d that is a transitive member of smd and do the following:
Initialize a set S of signal symbols to an empty map.
Visit each state transition specifier sts that is a member of d and do the following:
Use the use-def map of sma to look up the symbol s referred to in the on clause of sts.
on
If S contains a mapping from s to sts', then use sts' to report the error.
Otherwise map s to sts in S.