Title :
Application of interface theories to the separate compilation of synchronous programs
Author :
Benveniste, A. ; Caillaud, B. ; Raclet, J.-B.
Author_Institution :
Inria, Rennes, France
Abstract :
We study the problem of separate compilation, i.e., the generation of modular code, for the discrete time part of block-diagrams formalisms such as Simulink, Modelica, or Scade. Code is modular in that it is generated for a given composite block independently from context (i.e., without knowing in which diagrams the block is to be used) and using minimal information about the internals of the block. Just using off-the-shelf C code generation (e.g., as available in Simulink) does not provide modular code. Separate compilation was solved by Lublinerman et al. for the special case of single-clocked diagrams, in which all signals are updated at a same unique clock. For the same case, Pouzet and Raymond proposed algorithms that scale-up properly to real-size applications. The technique of Lublinerman et al. was extended to some classes of multi-clocked and timed diagrams. We study this problem in its full generality and we show that it can be cast to a special class of controller synthesis problems by relying on recently proposed modal interface theories.
Keywords :
clocks; control system synthesis; embedded systems; formal specification; program compilers; Modelica; Scade; Simulink; composite block-diagram formalism discrete time part; controller synthesis problems; modal interface theories; modular code generation; multiclocked diagrams; multitimed diagrams; off-the-shelf C code generation; single-clocked diagrams; synchronous program separate compilation; Automata; Clocks; Context; Equations; Mathematical model; Semantics; Synchronization;
Conference_Titel :
Decision and Control (CDC), 2012 IEEE 51st Annual Conference on
Conference_Location :
Maui, HI
Print_ISBN :
978-1-4673-2065-8
Electronic_ISBN :
0743-1546
DOI :
10.1109/CDC.2012.6426437