HF RL Explorer

Repair a verified behavior in amaranth-lang/amaranth.

Repair a verified behavior in amaranth-lang/amaranth.: a task in OriGent-RL-Data (Harbor dataset). The with m.FSM() builder currently creates its state Signal before all state names are known. If a state is first referenced by fsm.ongoing(...) or m.next = ... before its with m.State(...) block is…

The task

The `with m.FSM()` builder currently creates its state `Signal` before all state names are known. If a state is first referenced by `fsm.ongoing(...)` or `m.next = ...` before its `with m.State(...)` block is entered, AST nodes can already contain that signal while the FSM is still discovering states. When the FSM…

Part of henryen/OriGent-RL-Data.