Thank you for having resolved the bug on connections between data subcomponents and call parameters. The bug fix is working fine.
However, it's not working for connections between data subcomponent and call data access, like the following example. When I instanciate this AADL model, I obtain an error in "Problems" tab: "Connection source and destination are components: root_impl_Instance.proc.th.constantValue => root_impl_Instance.proc.th.constantValue"
package test2
public
with Base_Types;
with Data_Model;
subprogram job
features
param : requires data access Base_Types::Integer;
end job;
thread th end th;
thread implementation th.impl
subcomponents
constantValue: data Base_Types::Integer
{
Data_Model::Initial_Value => ("3");
};
calls
seq: { call1: subprogram job; };
connections
data access constantValue -> call1.param;
end th.impl;
process proc end proc;
process implementation proc.impl
subcomponents
th: thread th.impl;
end proc.impl;
system root end root;
system implementation root.impl
subcomponents
proc: process proc.impl;
end root.impl;
Hello,
Thank you for having resolved the bug on connections between data subcomponents and call parameters. The bug fix is working fine.
However, it's not working for connections between data subcomponent and call data access, like the following example. When I instanciate this AADL model, I obtain an error in "Problems" tab: "Connection source and destination are components: root_impl_Instance.proc.th.constantValue => root_impl_Instance.proc.th.constantValue"
package test2 public with Base_Types; with Data_Model;
subprogram job features param : requires data access Base_Types::Integer; end job;
thread th end th; thread implementation th.impl subcomponents constantValue: data Base_Types::Integer { Data_Model::Initial_Value => ("3"); }; calls seq: { call1: subprogram job; }; connections data access constantValue -> call1.param; end th.impl;
process proc end proc;
process implementation proc.impl subcomponents th: thread th.impl; end proc.impl;
system root end root; system implementation root.impl subcomponents proc: process proc.impl; end root.impl;
end test2;