You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For integration.software_distributed in examples/latency-case-study/integration.aadl, no report is generated when Check Flow Latency is executed, but a NullPointerException occurs.
This will appear in OSATE version 2.8 and later. I think the reason for the error is that the model is not fully modeled, that is, all flows in the model should be explicitly declared.
We can try to add some code in integration.software_distributed :
system implementation integration.software_distributed extends integration.software_generic
subcomponents
s1_cpu : processor latency_cs::platform::generic_cpu;
s2_cpu : processor latency_cs::platform::generic_cpu;
p_cpu : processor latency_cs::platform::generic_cpu;
a_cpu : processor latency_cs::platform::generic_cpu;
s_p_bus: bus latency_cs::platform::generic_bus;
p_a_bus : bus latency_cs::platform::generic_bus;
connections
b0 : bus access s1_cpu.net <-> s_p_bus;
b1 : bus access s2_cpu.net <-> s_p_bus;
b2 : bus access p_cpu.net <-> s_p_bus;
b3 : bus access p_cpu.net <-> p_a_bus;
b4 : bus access a_cpu.net <-> p_a_bus;
-- to make the model complete, etef2 and etef3 are added here
flows
etef2 : end to end flow s1.sensor_source -> c0 -> p.sink0;
etef3 : end to end flow s2.sensor_source -> c1 -> p.sink1;
properties
actual_processor_binding => (reference (s1_cpu)) applies to s1;
actual_processor_binding => (reference (s2_cpu)) applies to s2;
actual_processor_binding => (reference (p_cpu)) applies to p;
actual_processor_binding => (reference (a_cpu)) applies to a;
actual_connection_binding => (reference (s_p_bus)) applies to c0;
actual_connection_binding => (reference (s_p_bus)) applies to c1;
actual_connection_binding => (reference (p_a_bus)) applies to c2;
-- protocol that applies to the connections
required_virtual_bus_class => (classifier (latency_cs::platform::generic_protocol)) applies to c0, c1, c2;
end integration.software_distributed;
The text was updated successfully, but these errors were encountered:
For
integration.software_distributed
inexamples/latency-case-study/integration.aadl
, no report is generated when Check Flow Latency is executed, but a NullPointerException occurs.This will appear in OSATE version 2.8 and later. I think the reason for the error is that the model is not fully modeled, that is, all flows in the model should be explicitly declared.
We can try to add some code in
integration.software_distributed
:The text was updated successfully, but these errors were encountered: