6 <component-name>?</component-name>
7 <interface-name>?</interface-name>
8 <node-name>GraphBadOutputOfLoop1</node-name>
10 <coupled-node>?</coupled-node>
12 <service-name>GraphBadOutputOfLoop1</service-name>
15 <inParameter-type>boolean</inParameter-type>
16 <inParameter-name>IsOdd__InputInLoop</inParameter-name> </inParameter>
18 <inParameter-type>long</inParameter-type>
19 <inParameter-name>InitLoop__Index</inParameter-name> </inParameter>
21 <inParameter-type>long</inParameter-type>
22 <inParameter-name>InitLoop__Min</inParameter-name> </inParameter>
24 <inParameter-type>long</inParameter-type>
25 <inParameter-name>InitLoop__Max</inParameter-name> </inParameter>
27 <inParameter-type>long</inParameter-type>
28 <inParameter-name>EndOfInitLoop__Max</inParameter-name> </inParameter> </inParameter-list>
31 <outParameter-type>long</outParameter-type>
32 <outParameter-name>EndOfInitLoop__Index</outParameter-name> </outParameter>
34 <outParameter-type>long</outParameter-type>
35 <outParameter-name>EndOfInitLoop__Min</outParameter-name> </outParameter>
37 <outParameter-type>long</outParameter-type>
38 <outParameter-name>EndOfInitLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
41 <creation-date>22/10/2003 - 10:36:39</creation-date>
42 <lastmodification-date>14/12/2004 - 15:59:22</lastmodification-date>
43 <editor-release>1.05</editor-release>
45 <container>?</container>
47 <x-position>0</x-position>
48 <y-position>0</y-position> </node> </info-list>
51 <component-name>?</component-name>
52 <interface-name>?</interface-name>
53 <node-name>IsOdd</node-name>
55 <coupled-node>?</coupled-node>
57 <service-name>IsOdd</service-name>
60 <inParameter-type>long</inParameter-type>
61 <inParameter-name>a</inParameter-name> </inParameter>
63 <inParameter-type>boolean</inParameter-type>
64 <inParameter-name>Even</inParameter-name> </inParameter>
66 <inParameter-type>boolean</inParameter-type>
67 <inParameter-name>InputInLoop</inParameter-name> </inParameter> </inParameter-list>
70 <outParameter-type>long</outParameter-type>
71 <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
75 <FuncName>IsOdd</FuncName>
76 <PyFunc><![CDATA[from time import * ]]></PyFunc>
77 <PyFunc><![CDATA[def IsOdd(a,Even,InputInLoop) : ]]></PyFunc>
78 <PyFunc><![CDATA[ print a,"IsOdd (GraphLoopSwitch1)" ]]></PyFunc>
79 <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
80 <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
81 <creation-date>14/12/2004 - 15:59:22</creation-date>
82 <lastmodification-date>14/12/2004 - 15:59:22</lastmodification-date>
83 <editor-release>1.05</editor-release>
85 <container>?</container>
86 <comment>Python function</comment>
87 <x-position>397</x-position>
88 <y-position>1</y-position> </node>
90 <component-name>?</component-name>
91 <interface-name>?</interface-name>
92 <node-name>InitLoop</node-name>
94 <coupled-node>EndOfInitLoop</coupled-node>
96 <service-name>InitLoop</service-name>
99 <inParameter-type>long</inParameter-type>
100 <inParameter-name>Index</inParameter-name> </inParameter>
102 <inParameter-type>long</inParameter-type>
103 <inParameter-name>Min</inParameter-name> </inParameter>
105 <inParameter-type>long</inParameter-type>
106 <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
109 <outParameter-type>long</outParameter-type>
110 <outParameter-name>Index</outParameter-name> </outParameter>
112 <outParameter-type>long</outParameter-type>
113 <outParameter-name>Min</outParameter-name> </outParameter>
115 <outParameter-type>long</outParameter-type>
116 <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
120 <FuncName>?</FuncName>
121 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
123 <FuncName>?</FuncName>
124 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
126 <FuncName>?</FuncName>
127 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
128 <creation-date>14/12/2004 - 15:59:22</creation-date>
129 <lastmodification-date>14/12/2004 - 15:59:22</lastmodification-date>
130 <editor-release>1.05</editor-release>
132 <container>?</container>
133 <comment>Compute Node</comment>
134 <x-position>10</x-position>
135 <y-position>108</y-position> </node>
137 <component-name>?</component-name>
138 <interface-name>?</interface-name>
139 <node-name>EndOfInitLoop</node-name>
141 <coupled-node>InitLoop</coupled-node>
143 <service-name>EndOfInitLoop</service-name>
146 <inParameter-type>long</inParameter-type>
147 <inParameter-name>Index</inParameter-name> </inParameter>
149 <inParameter-type>long</inParameter-type>
150 <inParameter-name>Min</inParameter-name> </inParameter>
152 <inParameter-type>long</inParameter-type>
153 <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
156 <outParameter-type>long</outParameter-type>
157 <outParameter-name>Index</outParameter-name> </outParameter>
159 <outParameter-type>long</outParameter-type>
160 <outParameter-name>Min</outParameter-name> </outParameter>
162 <outParameter-type>long</outParameter-type>
163 <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
167 <FuncName>EndOfInitLoop</FuncName>
168 <PyFunc><![CDATA[def EndOfInitLoop( DoLoop , Index , Min , Max ) :]]></PyFunc>
169 <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
170 <PyFunc><![CDATA[ if Index <= Max : ]]></PyFunc>
171 <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
172 <PyFunc><![CDATA[ else : ]]></PyFunc>
173 <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
174 <PyFunc><![CDATA[ return DoLoop,Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
175 <creation-date>14/12/2004 - 15:59:22</creation-date>
176 <lastmodification-date>14/12/2004 - 15:59:22</lastmodification-date>
177 <editor-release>1.05</editor-release>
179 <container>?</container>
180 <comment>Compute Node</comment>
181 <x-position>767</x-position>
182 <y-position>102</y-position> </node>
184 <component-name>?</component-name>
185 <interface-name>?</interface-name>
186 <node-name>Switch</node-name>
188 <coupled-node>EndSwitch</coupled-node>
190 <service-name>Switch</service-name>
193 <inParameter-type>long</inParameter-type>
194 <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
197 <outParameter-type>long</outParameter-type>
198 <outParameter-name>Odd</outParameter-name> </outParameter>
200 <outParameter-type>int</outParameter-type>
201 <outParameter-name>Even</outParameter-name> </outParameter>
203 <outParameter-type>int</outParameter-type>
204 <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
208 <FuncName>Switch</FuncName>
209 <PyFunc><![CDATA[from time import * ]]></PyFunc>
210 <PyFunc><![CDATA[def Switch(a) : ]]></PyFunc>
211 <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
212 <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
213 <PyFunc><![CDATA[ return a & 1,1-(a&1),a ]]></PyFunc> </PyFunction> </PyFunction-list>
214 <creation-date>14/12/2004 - 15:59:22</creation-date>
215 <lastmodification-date>14/12/2004 - 15:59:22</lastmodification-date>
216 <editor-release>1.05</editor-release>
218 <container>?</container>
219 <comment>Compute Node</comment>
220 <x-position>194</x-position>
221 <y-position>109</y-position> </node>
223 <component-name>?</component-name>
224 <interface-name>?</interface-name>
225 <node-name>EndSwitch</node-name>
227 <coupled-node>Switch</coupled-node>
229 <service-name>EndSwitch</service-name>
232 <inParameter-type>long</inParameter-type>
233 <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
236 <outParameter-type>long</outParameter-type>
237 <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
241 <FuncName>EndSwitch</FuncName>
242 <PyFunc><![CDATA[def EndSwitch(a) : ]]></PyFunc>
243 <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
244 <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
245 <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
246 <creation-date>14/12/2004 - 15:59:22</creation-date>
247 <lastmodification-date>14/12/2004 - 15:59:22</lastmodification-date>
248 <editor-release>1.05</editor-release>
250 <container>?</container>
251 <comment>Compute Node</comment>
252 <x-position>587</x-position>
253 <y-position>103</y-position> </node>
255 <component-name>?</component-name>
256 <interface-name>?</interface-name>
257 <node-name>BadOutputOfLoop</node-name>
259 <coupled-node>?</coupled-node>
261 <service-name>BadOutputOfLoop</service-name>
264 <inParameter-type>long</inParameter-type>
265 <inParameter-name>OutputOfLoop</inParameter-name> </inParameter> </inParameter-list>
266 <outParameter-list/> </service>
270 <FuncName>BadOutputOfLoop</FuncName>
271 <PyFunc><![CDATA[def BadOutputOfLoop() : ]]></PyFunc>
272 <PyFunc><![CDATA[ return 1 ]]></PyFunc>
273 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
274 <creation-date>14/12/2004 - 15:59:22</creation-date>
275 <lastmodification-date>14/12/2004 - 15:59:22</lastmodification-date>
276 <editor-release>2.0</editor-release>
278 <container>?</container>
279 <comment>Compute Node</comment>
280 <x-position>287</x-position>
281 <y-position>349</y-position> </node> </node-list>
284 <fromnode-name>IsOdd</fromnode-name>
285 <fromserviceparameter-name>a</fromserviceparameter-name>
286 <tonode-name>EndSwitch</tonode-name>
287 <toserviceparameter-name>a</toserviceparameter-name>
294 <y>81</y> </coord> </coord-list> </link>
296 <fromnode-name>InitLoop</fromnode-name>
297 <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
298 <tonode-name>EndOfInitLoop</tonode-name>
299 <toserviceparameter-name>DoLoop</toserviceparameter-name>
300 <coord-list/> </link>
302 <fromnode-name>InitLoop</fromnode-name>
303 <fromserviceparameter-name>Index</fromserviceparameter-name>
304 <tonode-name>Switch</tonode-name>
305 <toserviceparameter-name>a</toserviceparameter-name>
306 <coord-list/> </link>
308 <fromnode-name>InitLoop</fromnode-name>
309 <fromserviceparameter-name>Min</fromserviceparameter-name>
310 <tonode-name>EndOfInitLoop</tonode-name>
311 <toserviceparameter-name>Min</toserviceparameter-name>
312 <coord-list/> </link>
314 <fromnode-name>InitLoop</fromnode-name>
315 <fromserviceparameter-name>Max</fromserviceparameter-name>
316 <tonode-name>BadOutputOfLoop</tonode-name>
317 <toserviceparameter-name>OutputOfLoop</toserviceparameter-name>
318 <coord-list/> </link>
320 <fromnode-name>EndOfInitLoop</fromnode-name>
321 <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
322 <tonode-name>InitLoop</tonode-name>
323 <toserviceparameter-name>InitLoop</toserviceparameter-name>
324 <coord-list/> </link>
326 <fromnode-name>Switch</fromnode-name>
327 <fromserviceparameter-name>Odd</fromserviceparameter-name>
328 <tonode-name>IsOdd</tonode-name>
329 <toserviceparameter-name>Gate</toserviceparameter-name>
330 <coord-list/> </link>
332 <fromnode-name>Switch</fromnode-name>
333 <fromserviceparameter-name>Even</fromserviceparameter-name>
334 <tonode-name>EndSwitch</tonode-name>
335 <toserviceparameter-name>Default</toserviceparameter-name>
336 <coord-list/> </link>
338 <fromnode-name>Switch</fromnode-name>
339 <fromserviceparameter-name>Even</fromserviceparameter-name>
340 <tonode-name>IsOdd</tonode-name>
341 <toserviceparameter-name>Even</toserviceparameter-name>
348 <y>172</y> </coord> </coord-list> </link>
350 <fromnode-name>Switch</fromnode-name>
351 <fromserviceparameter-name>a</fromserviceparameter-name>
352 <tonode-name>IsOdd</tonode-name>
353 <toserviceparameter-name>a</toserviceparameter-name>
360 <y>201</y> </coord> </coord-list> </link>
362 <fromnode-name>EndSwitch</fromnode-name>
363 <fromserviceparameter-name>a</fromserviceparameter-name>
364 <tonode-name>EndOfInitLoop</tonode-name>
365 <toserviceparameter-name>Index</toserviceparameter-name>
366 <coord-list/> </link> </link-list>
369 <fromnode-name>GraphBadOutputOfLoop1</fromnode-name>
370 <fromserviceparameter-name>IsOdd__InputInLoop</fromserviceparameter-name>
371 <tonode-name>IsOdd</tonode-name>
372 <toserviceparameter-name>InputInLoop</toserviceparameter-name>
374 <value-type>3</value-type>
375 <value>136306160</value> </data-value>
376 <coord-list/> </data>
378 <fromnode-name>GraphBadOutputOfLoop1</fromnode-name>
379 <fromserviceparameter-name>InitLoop__Index</fromserviceparameter-name>
380 <tonode-name>InitLoop</tonode-name>
381 <toserviceparameter-name>Index</toserviceparameter-name>
383 <value-type>3</value-type>
384 <value>0</value> </data-value>
385 <coord-list/> </data>
387 <fromnode-name>GraphBadOutputOfLoop1</fromnode-name>
388 <fromserviceparameter-name>InitLoop__Min</fromserviceparameter-name>
389 <tonode-name>InitLoop</tonode-name>
390 <toserviceparameter-name>Min</toserviceparameter-name>
392 <value-type>3</value-type>
393 <value>0</value> </data-value>
394 <coord-list/> </data>
396 <fromnode-name>GraphBadOutputOfLoop1</fromnode-name>
397 <fromserviceparameter-name>InitLoop__Max</fromserviceparameter-name>
398 <tonode-name>InitLoop</tonode-name>
399 <toserviceparameter-name>Max</toserviceparameter-name>
401 <value-type>3</value-type>
402 <value>100</value> </data-value>
403 <coord-list/> </data>
405 <fromnode-name>GraphBadOutputOfLoop1</fromnode-name>
406 <fromserviceparameter-name>EndOfInitLoop__Max</fromserviceparameter-name>
407 <tonode-name>EndOfInitLoop</tonode-name>
408 <toserviceparameter-name>Max</toserviceparameter-name>
410 <value-type>3</value-type>
411 <value>136221856</value> </data-value>
412 <coord-list/> </data> </data-list> </dataflow></supergraph>