The Esterel v5 21 System Manual - Courses
The Esterel v5 21 System Manual - Courses
The Esterel v5 21 System Manual - Courses
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Contents<br />
Preface 1<br />
1 Getting Started 3<br />
1.1 Installing and Uninstalling the <strong>Esterel</strong> <strong>v5</strong> <strong>21</strong> <strong>System</strong> . . . . . 3<br />
1.1.1 Unix <strong>System</strong>s . . . . . . . . . . . . . . . . . . . . . . . 3<br />
1.1.2 Windows NT . . . . . . . . . . . . . . . . . . . . . . . 4<br />
1.2 Handling a Simple Example . . . . . . . . . . . . . . . . . . . 5<br />
1.3 Code Generation Options . . . . . . . . . . . . . . . . . . . . 6<br />
1.3.1 Sorted Circuit Code . . . . . . . . . . . . . . . . . . . 7<br />
1.3.2 Interpreted Unsorted Circuit Code . . . . . . . . . . . 7<br />
1.3.3 Automaton Code . . . . . . . . . . . . . . . . . . . . . 7<br />
1.3.4 Hardware Circuit Generation . . . . . . . . . . . . . . 8<br />
1.4 <strong>The</strong> xesterel GUI . . . . . . . . . . . . . . . . . . . . . . . . . 8<br />
1.5 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8<br />
2 Using the <strong>Esterel</strong> Compiler 11<br />
2.1 <strong>The</strong> <strong>Esterel</strong> <strong>v5</strong> <strong>21</strong> Compiler Structure . . . . . . . . . . . . . 11<br />
2.2 Usage of the esterel Command . . . . . . . . . . . . . . . . . 13<br />
2.2.1 Basic Usage . . . . . . . . . . . . . . . . . . . . . . . . 14<br />
2.2.2 Compiling Multi–Files Programs . . . . . . . . . . . . 14<br />
2.2.3 Performing Sanity Checks . . . . . . . . . . . . . . . . 15<br />
2.2.4 Keeping Intermediate Files . . . . . . . . . . . . . . . 15<br />
2.2.5 Printing Details about Compiling . . . . . . . . . . . . 16<br />
2.3 Controlling Code Generation . . . . . . . . . . . . . . . . . . 16<br />
2.3.1 Sorted Circuit Code Generation . . . . . . . . . . . . . 16<br />
2.3.2 Unsorted Circuit Code Generation . . . . . . . . . . . 18<br />
2.3.3 Automaton Code Generation . . . . . . . . . . . . . . 19<br />
2.3.4 ANSI C Code Generation . . . . . . . . . . . . . . . . 20<br />
2.4 Why Compilation May Fail . . . . . . . . . . . . . . . . . . . <strong>21</strong><br />
i