Open lwrage opened 3 years ago
Indeed. Call sequences are breaking regular abstractions in the AADL component model, it was suggested to remove them for v3. Similarly, subprograms referenced through entrypoints could obviously not be part of a flow. Therefore, you cannot build a flow to evaluate e.g. the latency for a recovery situation (through a Recover_Entrypoint).
Is there a suggested correction here? This limit exists since AADLv1, so I am curious on how critical this issue is
Work around is to use subprogram subcomponent. Note also that OSATE does not instantiate call sequences, so flow analysis tools would not process this part either.
In the model below it is possible to specify the call using just a subprogram type, but it is impossible to define a flow implementation that goes through this subprogram via the call.
(The flow can be defined if the call is to a subprogram subcomponent. In that case the subprogram subcomponent must be referenced in the flow implementation.)