PipelineC icon indicating copy to clipboard operation
PipelineC copied to clipboard

Derived FSM style functions have lots of room for optimizations

Open JulianKemmerer opened this issue 1 year ago • 2 comments

Want a pass that can combine sequential-looking FSM states that occur in the same cycle into one/as few combintatorial state transitions as possible (watching out for states that can't be jumped to / combined to others)

Then the parallel state grouping in C_AST_FSM_FUNDEF_BODY_TO_LOGIC and GET_GROUPED_STATE_TRANSITIONS seems like it has room for improvement, especially regarding ordering of inlined subroutine states vs single instance fsm module connection entry+FSM+exit triple state sequence.

JulianKemmerer avatar Feb 07 '23 04:02 JulianKemmerer