©2023 ANSYS, Inc. Unauthorized use, distribution, or duplication is prohibited.
Example
Scade Works on Data Flows
12
• If v is a data flow expression, then its value sequence is v_1, v_2, ...
‐ An index n of the sequence corresponds to a cycle (step)
‐ 3 denotes the constant flow 3, 3, ...
‐ a + b denotes the flow a_1 + b_1, a_2 + b_2, ... => the operator computation is performed on flow
values at each cycle
• Output computation may require input and output values from a previous cycle. The
relationship between inputs and outputs is cycle-dependent (sequential operators)
1 2 3 4 …
3 3 3 3 3
…
a a_1 a_2 a_3 a_4
...
b b_1 b_2 b_3 b_4
...
a+b a_1 + b_1 a_2 + b_2 a_3 + b_3 a_4 + b_4
…
pre(a) nil a_1 a_2 a_3
...
i->pre(a) i_1 a_1 a_2 a_3
...
Cycle
Flow