>>> from amaranth import * >>> m = Module() >>> with m.FSM() as fsm: ... pass ... >>> fsm >>>