y
. To start a standalone Tycho process, run tycho
from the shell prompt. Once Tycho is started, either open a file with the file extension .std
, or select the Tycho Window
menu and choose State transition diagram editor
. A message window will pop up to ask for machine type. Currently there is one type of FSM supported, called mixed Mealy/Moore machine
.
Special
menu and choose I/O
Port
Names...
, then enter the names for the input/output. Each name should be separated by at least one space.
Edit
menu and choose New Node
, or use the keyboard accelerator N
key. A crossbar cursor will appear in the window. Press and hold (don't release) the left mouse button and move the mouse to get a different shape of node. Release the button to finish the drawing. To edit a state, first select the state by pressing the left mouse button on your selection. Then either select the
Edit
menu and choose Edit Item
, or use the keyboard shortcut and type an e
.
Edit
menu and choose New Arc
, or use the keyboard shortcut and type an A
. A crossbar cursor will appear in the window. Press the left mouse button on the periphery of the starting state. Move the mouse and press the left mouse button to get a more delicate arc. To finish the drawing, move the mouse on the periphery of the ending state and press the left mouse button.To edit a transition, select the transition by pressing the left mouse button. Then either select the
Edit
menu and choose Edit Item, or use the keyboard shortcut and type an e
.
Edit
menu and choose Delete
.
To move/reshape a transition, first select it, then some small rectangles will appear along the arc. Select and move the rectangles to move/reshape the arc.