dace icon indicating copy to clipboard operation
dace copied to clipboard

Interstate assignment to map

Open ThrudPrimrose opened this issue 1 year ago • 1 comments

Maps simple interstate assignments to map encompassing the whole state. Will complete after the bug fix on re-declaration of symbols is merge.

The pass only transforms if the assignment is a constant. (and the loops such as i = i + 1 should not be affected)

ThrudPrimrose avatar Nov 21 '24 16:11 ThrudPrimrose

I should move this to a transformation. If the assigned symbol's value is used in more than one state, we need to wrap the whole subgraph where this value is necessary in a map and not just one state.

ThrudPrimrose avatar Dec 03 '24 10:12 ThrudPrimrose