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 29<br />

esterel -Klc -Kssc foo.strl bar.strl -B foo<br />

generates foo.c that contains sorted circuit C code, and, in addition, keeps<br />

the linked intermediate ic code in file foo.lc and the sorted circuit code<br />

in file foo.ssc. <strong>The</strong> intermediate code files foo.ic, bar.ic, and foo.sc<br />

are deleted. <strong>The</strong> above command is equivalent to the following command<br />

sequence:<br />

esterel -lc foo.strl bar.strl -B foo<br />

esterel -ssc foo.lc<br />

esterel foo.ssc<br />

2.6.8 Passing Options to Processors<br />

Processor-specific options can be passed to processors using an additional<br />

‘:’ symbol. This is especially useful for code generators. For example,<br />

esterel -Lblif:-soft foo.strl<br />

calls sscblif with option -soft to extract the control circuit, and<br />

esterel -Adebug:"-emitted -names" foo.strl<br />

calls ocdebug with options -emitted -names for a more verbose debug<br />

printout. Notice the need for quotes when several options are passed to<br />

the back-end processor.

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

Saved successfully!

Ooh no, something went wrong!