semantics icon indicating copy to clipboard operation
semantics copied to clipboard

[KISEMA-1524] Somewhere a instantaneous loop is created by the SCCharts compiler

Open fabianheyer opened this issue 3 years ago • 0 comments

[Issue KISEMA-1524 migrated from JIRA, first reported on 2019-09-10]

This simple SCCcchart should be asc-scheduable

scchart InstantaneousLoop {
--
output int x
bool _wsFlag = false
 
initial state _WS
immediate go to _deferred_A
 
state _deferred_A {
state count {
during do x += 1
}
go to done  final state done  state _WS1
immediate go to done  initial state _Init1
immediate if _wsFlag go to _WS1
immediate go to count
}
go to _WS
}

image-2019-09-10-16-57-44-588

After the Abort processor it looks like this:

image-2019-09-10-16-59-07-236

Later there is a instantaneous loop

image-2019-09-10-17-05-20-446

fabianheyer avatar Apr 19 '22 10:04 fabianheyer