BasicResolutionInstance.ema 377 Bytes
Newer Older
Bernhard Rumpe's avatar
BR-sy  
Bernhard Rumpe committed
1
/* (c) https://github.com/MontiCore/monticore */
Sascha Niklas Schneiders's avatar
Sascha Niklas Schneiders committed
2 3
package testing;

Malte Heithoff's avatar
Malte Heithoff committed
4
component BasicResolutionInstance {
Sascha Niklas Schneiders's avatar
Sascha Niklas Schneiders committed
5
	port
Malte Heithoff's avatar
Malte Heithoff committed
6 7
		in B a1[6],
		in B a2[3],
Alexander Ryndin's avatar
Alexander Ryndin committed
8
		out B out1;
Sascha Niklas Schneiders's avatar
Sascha Niklas Schneiders committed
9

Malte Heithoff's avatar
Malte Heithoff committed
10
	instance BasicResolution<6,3> br1;
Sascha Niklas Schneiders's avatar
Sascha Niklas Schneiders committed
11

Malte Heithoff's avatar
Malte Heithoff committed
12 13 14 15 16 17
    connect a1[1]->br1.in1[1];
    connect a1[2]->br1.in1[2];
    connect a1[3]->br1.in1[3];
    connect a1[4]->br1.in1[4];
    connect a1[5]->br1.in1[5];
    connect a1[6]->br1.in1[6];
Sascha Niklas Schneiders's avatar
Sascha Niklas Schneiders committed
18
}