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.2. USAGE OF THE ESTEREL COMMAND 13<br />

the scc processor; from ssc code, using the sscc processor; from<br />

oc code, using the occ processor. <strong>The</strong>se three processors share<br />

the same executable, which is actually occ. <strong>The</strong> scc and sscc<br />

commands are simply shell scripts that call occ with different<br />

options.<br />

debug A file foo.debug contains a human-readable form of the ssc or<br />

oc codes, respectively generated by the sscdebug and ocdebug<br />

processors (sscdebug is a shell script that calls ocdebug with an<br />

appropriate option).<br />

blif A file foo.blif contains synchronous circuit descriptions written<br />

in the blif format (Berkeley Logical Interchange Format).<br />

Such a file is generated from an ssc file by the sscblif processor.<br />

For Pure <strong>Esterel</strong> programs, i.e. programs that handle no<br />

data (only pure signals and counters), the circuit is behaviorally<br />

equivalent to the source <strong>Esterel</strong> program and it can be directly<br />

implemented in hardware, preferably after combinational and sequential<br />

optimizations described in other documents. For general<br />

<strong>Esterel</strong> programs, the sscblif processor must be used with option<br />

-soft, using the command<br />

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

<strong>The</strong> compiler then extracts the control part of the source program<br />

and prints it as a synchronous blif circuit. This circuit<br />

can be optimized using techniques and tools described in separate<br />

documents [5, 6] and the optimized version can be used to<br />

rebuild an optimized ssc code using a processor called blifssc<br />

not presented here.<br />

2.2 Usage of the esterel Command<br />

Since the general esterel command has numerous options, we have developed<br />

an experimental xesterel graphical user interface to help building an<br />

esterel command line. <strong>The</strong> options can either be written by hand, for<br />

example in a Makefile, or be generated by xesterel.<br />

<strong>The</strong> esterel command receives as arguments a list of options and a list<br />

of files to be compiled. Options and files can appear in any order. <strong>The</strong> files<br />

can be either source <strong>Esterel</strong> files (suffix .strl) or intermediate code files<br />

(suffixes .ic, .lc, .sc, .ssc, and .oc).

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

Saved successfully!

Ooh no, something went wrong!