-r13
and -r14
options (-r14
is
the default).
sA_B_C
throughout the code.
Note that local data is not supported yet.-paths
.
If you know that there are no state name conflicts between the Stateflow
charts in a model then this allows processing of multiple-Stateflow charts
without full path names.
(x,y) = if p then f(a,b) else (c,d);which are not supported by SCADE. Again, there are no arrays or event stack.
_point | action | a | after | aft | at | at | |
before | bfr | call | ca | change | ch | condition | c |
count | cnt | counter | cntr | counts | cnts | during | du |
end | end | enter | ent | entry | en | error | err |
event | ev | events | evs | every | evry | exit | ex |
flag | flg | graph | g | history | h | in | in |
increment | inc | init | ini | inners | ins | junction | j |
link | l | okay | ok | out | o | pre | p |
pr | property | prop | state | s | stateflow | sf | |
stub | st | subgraph | sg | term | trm | tmp | t |
transition | tr | update | u | valid | v | verify | verif |
-prefix A
'' might give:
type Aevent = bool; const Aset = true; Aclr = false; node Asf_2(Set, Reset: Aevent) returns(sOff, sOn: bool);
init = true -> false; term = false;at the top level of the code. This option disables this behaviour but is only present for debugging the translator.
j<ID>
or
junction_<ID>
) and the chart can stay in a junction after a reaction.
An additional output boolean (v or valid) is generated which
is true if and only if the current state is not a junction.
See Section 4.1..mws
file.
These options allow some additional control over workspace values:
INPUT_DATA
).
Recognized values are:r13/r14 | INPUT_EVENT |
OUTPUT_EVENT |
LOCAL_EVENT |
OUTPUT_DATA |
INPUT_DATA |
LOCAL_DATA |
|
TEMPORARY_DATA |
CONSTANT_DATA |
||
r14 | FUNCTION_INPUT_DATA |
FUNCTION_OUTPUT_DATA |
PARAMETER_DATA |
double
).
Known values are (not all are supported):double |
single |
int8 |
int16 |
int32 |
uint8 |
uint16 |
uint32 |
boolean |
fixpt |
ml |
-states_visible
option is
set.<file>.obs
when given a model file
<file>.mdl
.
If it exists it is assumed to be a file containing observable expressions, one
per line.
Lustre-style comments (--
) are permitted.consistency_<CID>
and is mostly used to verify the
translation process, see Section 5.3.3.
The -states_visible
option is set automatically.cntrj<ID>
where <ID>
is the id
number for the junction.
Each counter is incremented when its junction is entered during transition path
analysis.
Currently, maximum values are not maintained so the values have to be checked
after each reaction.
In addition, an observer (called loop_counters_<CID>
) is generated for
all the junctions annotated as in Section 4.2.
The -junc_states
option is set automatically.
<file>_ext.c
which
print out the arguments and results of each node as it is processed.
Some effort is made to defeat demand-driven computation which can elide
operations which are pure side-effects.