30.07.2013 Views

The Esterel v5 21 System Manual - Courses

The Esterel v5 21 System Manual - Courses

The Esterel v5 21 System Manual - Courses

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2.6. OPTIONS OF THE ESTEREL COMMAND 25<br />

-causal Sorted circuit code generation from cyclic programs.<br />

<strong>The</strong> -causal option triggers full constructive causality analysis<br />

of the program using the sccausal processor. It is compatible<br />

with option -L, which can be used in conjunction to define the<br />

target language, as in -causal -Ldebug.<br />

-I Unsorted circuit code generation.<br />

<strong>The</strong> -I option specifies that the target is unsorted circuit code.<br />

When using this option, remember that constructive causality is<br />

not tested at compile time and that all programs generate code.<br />

Constructiveness errors are reported only at run-time. Use option<br />

-Icheck to perform a full constructive causality check of the<br />

program.<br />

-A Automaton code generation.<br />

<strong>The</strong> -A option specifies that the target is automaton code. <strong>The</strong><br />

target language is changed as before: using -Adebug will call<br />

ocdebug instead of occ and generate a readable automaton description<br />

if a file with suffix .debug.<br />

-S Two-states automaton code generation.<br />

With the -S option, a sorted circuit code is transformed into an oc<br />

automaton code with only two states: an initialization state and<br />

a running state. This makes it possible to use external code generators<br />

that only read the oc format and to make them generate<br />

object code from ssc sorted circuit code.<br />

-v3 Automaton code generation using <strong>Esterel</strong> v3 technology.<br />

Instead of going through the sc and ssc circuit formats to generate<br />

oc code as for option -A, option -v3 calls the lcoc processor<br />

from the former <strong>Esterel</strong> v3 system that directly generates oc code<br />

from lc code. This may be faster and many cyclic programs are<br />

accepted, although not all constructive programs are. An alternative<br />

target language is specified by using option -A in conjunction<br />

with option -v3, as in -Adebug -v3.<br />

-simul Simulation code generation<br />

<strong>The</strong> -simul option must be used in conjunction with any of -L,<br />

-I, -A, -S, or -v3 to generate code suited for simulation using<br />

xes or libcsimul.a. This works only for C code generation.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!