test_21_counter_combo.xml 812 B

123456789101112131415161718192021222324252627
  1. <?xml version="1.0" ?>
  2. <test>
  3. <!-- Same as Example 6, but with combo steps :)
  4. We deviate a bit from Example 21 by using big-step maximality: Take Many,
  5. because in SCCD, if Big-Step Maximality is "Take One", combo steps are disabled. -->
  6. <statechart src="statechart_fig8_counter.xml">
  7. <override_semantics
  8. big_step_maximality="take_many"
  9. combo_step_maximality="take_one"
  10. input_event_lifeline="first_combo_step"
  11. internal_event_lifeline="next_combo_step"/>
  12. </statechart>
  13. <input>
  14. <event port="in" name="tk0" time="0 d"/>
  15. <event port="in" name="tk0" time="0 d"/>
  16. <event port="in" name="tk0" time="0 d"/>
  17. <event port="in" name="tk0" time="0 d"/>
  18. </input>
  19. <output>
  20. <big_step>
  21. <event port="out" name="done"/>
  22. </big_step>
  23. </output>
  24. </test>