InterfaceView.aadl 6.36 KB
Newer Older
Maxime Perrotin's avatar
Maxime Perrotin committed
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
---------------------------------------------------
-- AADL2.2
-- TASTE type interfaceview
-- 
-- generated code: do not edit
---------------------------------------------------

PACKAGE interfaceview::IV::A
PUBLIC

WITH interfaceview::IV::B;
WITH interfaceview::IV::C;
WITH Taste;
WITH DataView;
WITH TASTE_IV_Properties;
SUBPROGRAM PI_cyclic_activation
PROPERTIES
  Taste::Associated_Queue_Size => 1;
END PI_cyclic_activation;

SUBPROGRAM IMPLEMENTATION PI_cyclic_activation.others
PROPERTIES
  Compute_Execution_Time => 0 ms .. 0 ms;
END PI_cyclic_activation.others;

SUBPROGRAM RI_caller
END RI_caller;

SUBPROGRAM IMPLEMENTATION RI_caller.others
END RI_caller.others;

SUBPROGRAM RI_call_c
END RI_call_c;

SUBPROGRAM IMPLEMENTATION RI_call_c.others
END RI_call_c.others;

SYSTEM A
FEATURES
  PI_cyclic_activation : PROVIDES SUBPROGRAM ACCESS interfaceview::IV::A::PI_cyclic_activation.others {
    Taste::coordinates => "551 529";
    Taste::RCMoperationKind => cyclic;
    Taste::RCMperiod => 2000 ms;
    Taste::Deadline => 0 ms;
    Taste::InterfaceName => "cyclic_activation";
  };
  RI_caller : REQUIRES SUBPROGRAM ACCESS interfaceview::IV::B::PI_callee.others {
    Taste::coordinates => "1146 606";
    Taste::RCMoperationKind => sporadic;
    Taste::InterfaceName => "caller";
    Taste::labelInheritance => "true";
  };
  RI_call_c : REQUIRES SUBPROGRAM ACCESS interfaceview::IV::C::PI_callee.others {
    Taste::coordinates => "1146 760";
    Taste::RCMoperationKind => sporadic;
    Taste::InterfaceName => "call_c";
    Taste::labelInheritance => "true";
  };
PROPERTIES
  Source_Language => (C);
  Taste::Active_Interfaces => enabled;
END A;

SYSTEM IMPLEMENTATION A.others
END A.others;

END interfaceview::IV::A;

PACKAGE interfaceview::IV::B
PUBLIC

WITH Taste;
WITH DataView;
WITH TASTE_IV_Properties;
SUBPROGRAM PI_callee
PROPERTIES
  Taste::Associated_Queue_Size => 2;
END PI_callee;

SUBPROGRAM IMPLEMENTATION PI_callee.others
PROPERTIES
  Compute_Execution_Time => 0 ms .. 0 ms;
END PI_callee.others;

SUBPROGRAM PI_second_callee
PROPERTIES
  Taste::Associated_Queue_Size => 1;
END PI_second_callee;

SUBPROGRAM IMPLEMENTATION PI_second_callee.others
PROPERTIES
  Compute_Execution_Time => 0 ms .. 0 ms;
END PI_second_callee.others;

SYSTEM B
FEATURES
  PI_callee : PROVIDES SUBPROGRAM ACCESS interfaceview::IV::B::PI_callee.others {
    Taste::coordinates => "1814 606";
    Taste::RCMoperationKind => sporadic;
    Taste::RCMperiod => 0 ms;
    Taste::Deadline => 0 ms;
    Taste::InterfaceName => "callee";
  };
  PI_second_callee : PROVIDES SUBPROGRAM ACCESS interfaceview::IV::B::PI_second_callee.others {
    Taste::coordinates => "1974 907";
    Taste::RCMoperationKind => sporadic;
    Taste::RCMperiod => 0 ms;
    Taste::Deadline => 0 ms;
    Taste::InterfaceName => "second_callee";
  };
PROPERTIES
  Source_Language => (C);
  Taste::Active_Interfaces => enabled;
END B;

SYSTEM IMPLEMENTATION B.others
END B.others;

END interfaceview::IV::B;

PACKAGE interfaceview::IV::C
PUBLIC

WITH interfaceview::IV::B;
WITH Taste;
WITH DataView;
WITH TASTE_IV_Properties;
SUBPROGRAM PI_cyclic_activation
PROPERTIES
  Taste::Associated_Queue_Size => 1;
END PI_cyclic_activation;

SUBPROGRAM IMPLEMENTATION PI_cyclic_activation.others
PROPERTIES
  Compute_Execution_Time => 0 ms .. 0 ms;
END PI_cyclic_activation.others;

SUBPROGRAM PI_callee
PROPERTIES
  Taste::Associated_Queue_Size => 1;
END PI_callee;

SUBPROGRAM IMPLEMENTATION PI_callee.others
PROPERTIES
  Compute_Execution_Time => 0 ms .. 0 ms;
END PI_callee.others;

SUBPROGRAM RI_second_callee
END RI_second_callee;

SUBPROGRAM IMPLEMENTATION RI_second_callee.others
END RI_second_callee.others;

SUBPROGRAM RI_callee
END RI_callee;

SUBPROGRAM IMPLEMENTATION RI_callee.others
END RI_callee.others;

SYSTEM C
FEATURES
  PI_cyclic_activation : PROVIDES SUBPROGRAM ACCESS interfaceview::IV::C::PI_cyclic_activation.others {
    Taste::coordinates => "1666 1310";
    Taste::RCMoperationKind => cyclic;
    Taste::RCMperiod => 5000 ms;
    Taste::Deadline => 0 ms;
    Taste::InterfaceName => "cyclic_activation";
  };
  PI_callee : PROVIDES SUBPROGRAM ACCESS interfaceview::IV::C::PI_callee.others {
    Taste::coordinates => "1666 1362";
    Taste::RCMoperationKind => sporadic;
    Taste::RCMperiod => 0 ms;
    Taste::Deadline => 0 ms;
    Taste::InterfaceName => "callee";
  };
  RI_second_callee : REQUIRES SUBPROGRAM ACCESS interfaceview::IV::B::PI_second_callee.others {
    Taste::coordinates => "1973 1219";
    Taste::RCMoperationKind => sporadic;
    Taste::InterfaceName => "second_callee";
    Taste::labelInheritance => "true";
  };
  RI_callee : REQUIRES SUBPROGRAM ACCESS interfaceview::IV::B::PI_callee.others {
    Taste::coordinates => "1751 1219";
    Taste::RCMoperationKind => sporadic;
    Taste::InterfaceName => "callee";
    Taste::labelInheritance => "true";
  };
PROPERTIES
  Source_Language => (C);
  Taste::Active_Interfaces => enabled;
END C;

SYSTEM IMPLEMENTATION C.others
END C.others;

END interfaceview::IV::C;

PACKAGE interfaceview::IV
PUBLIC

WITH interfaceview::IV::A;
WITH interfaceview::IV::B;
WITH interfaceview::IV::C;
WITH Taste;
WITH DataView;
WITH TASTE_IV_Properties;
SYSTEM interfaceview
PROPERTIES
  Taste::dataView => ("DataView");
  Taste::dataViewPath => ("DataView.aadl");
END interfaceview;

SYSTEM IMPLEMENTATION interfaceview.others
SUBCOMPONENTS
  A : SYSTEM interfaceview::IV::A::A.others {
    Taste::coordinates => "551 435 1146 885";
  };
  B : SYSTEM interfaceview::IV::B::B.others {
    Taste::coordinates => "1814 424 2423 907";
  };
  C : SYSTEM interfaceview::IV::C::C.others {
    Taste::coordinates => "1666 1219 2202 1436";
  };
CONNECTIONS
  B_PI_callee_A_RI_caller : SUBPROGRAM ACCESS B.PI_callee -> A.RI_caller {
    Taste::coordinates => "1146 606 1480 606 1480 606 1814 606";
  };
  C_PI_callee_A_RI_call_c : SUBPROGRAM ACCESS C.PI_callee -> A.RI_call_c {
    Taste::coordinates => "1146 760 1406 760 1406 1362 1666 1362";
  };
  B_PI_callee_C_RI_callee : SUBPROGRAM ACCESS B.PI_callee -> C.RI_callee {
    Taste::coordinates => "1751 1219 1751 606 1814 606";
  };
  B_PI_second_callee_C_RI_second_callee : SUBPROGRAM ACCESS B.PI_second_callee -> C.RI_second_callee {
    Taste::coordinates => "1973 1219 1973 1064 1974 1064 1974 907";
  };
END interfaceview.others;

PROPERTIES
  Taste::dataView => ("DataView");
  Taste::dataViewPath => ("DataView.aadl");
  Taste::coordinates => "0 0 2970 2100";
  Taste::version => "2.2";
END interfaceview::IV;