ModalParameterConnection2.aadl 379 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
system sys1
  features
    output: out data port ;
end sys1;

system sys2
  features
    input: in data port ;
end sys2;

system s
end s;

system implementation s.i
  subcomponents 
    x: system sys1 in modes (m1);
    y: system sys2 in modes (m2);
  connections
    c1: data port x.output -> y.input;
  modes
    m1: initial mode;
    m2: mode;
end s.i;