PortGroupConnections.aadl 516 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 24 25 26 27 28 29
port group pg
  features
end pg;

port group pg2
  inverse of pg
end pg2;

system inner
  features
    input: port group pg;
    output: port group pg2;
end inner;

system outer
  features 
    inp: port group pg ;
    outp: port group pg2 ;
end outer;

system implementation outer.i
  subcomponents
    sub1: system inner;
    sub2: system inner;
  connections
    port group sub1.output -> sub2.input;
    port group inp -> sub1.input;
    port group sub2.output -> outp;
end outer.i;