Skip to content

Instantiator merges access connections #676

@joeseibel

Description

@joeseibel

Consider the following model:

package pkg
public
    abstract aType
        features
            da: requires data access;
    end aType;

    system s
    end s;

    system implementation s.i
        subcomponents
            d: data;
            a: abstract aType;
            b1: bus;
            b2: bus;
        connections
            conn1: data access d -> a.da;
            conn2: data access a.da -> d;
        properties
            Actual_Connection_Binding => (reference (b1)) applies to conn1;
            Actual_Connection_Binding => (reference (b2)) applies to conn2;
    end s.i;
end pkg;

When instantiated, there is only one ConnectionInstance created. It is a bidirectional connection which is the merger of conn1 and conn2. Is this the correct thing for the instantiator to do? If so, what should the value of Actual_Connection_Binding be in the instance model?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions