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
When multiple connections exist (in a mode) to a data port this should be an error. This should be check on the declarative model as much as possible as well as on the instance model.
Steps to Reproduce
Open the model below in the AADL text editor.
There should be an error on the data port.
package P2
public
system S
end S;
system implementation S.i
subcomponents
a1: abstract A;
a2: abstract A;
b: abstract B;
connections
c1: port a1.aout -> b.bin;
c2: feature a2.aout -> b.bin;
end S.i;
abstract A
features
aout: out data port;
end A;
abstract B
features
bin: in data port;
end B;
end P2;
Environment
OSATE Version: 2.7.1
Operating System: all
The text was updated successfully, but these errors were encountered:
Summary
OSATE should forbid fan-in for data ports.
Expected and Current Behavior
When multiple connections exist (in a mode) to a data port this should be an error. This should be check on the declarative model as much as possible as well as on the instance model.
Steps to Reproduce
Environment
The text was updated successfully, but these errors were encountered: