Assumes that you have gone through basic StateSmith tutorials already.
This example outputs a MySm.md file that can be useful for:
- git/svn diffs
- inspecting hierarchical designs
- understanding StateSmith transformations
Lots more detail here: StateSmith/StateSmith#200
The generated code isn't meant to be compiled. We are just here to see the output .md file.
Play with the diagram, the .csx settings, then run code gen.
Look inside RUNNING
state. It helps explain a potential problem with "transition spamming" and safety checks.