8485 articles  [version française]

hal-00721049, version 1

Application of Interface Theories to the Separate Compilation of Synchronous Programs

Albert Benveniste (, http://www.irisa.fr/distribcom/benveniste/) 1, Caillaud Benoît (, http://www.irisa.fr/prive/Benoit.Caillaud/) a1, Raclet Jean-Baptiste (, http://www.irit.fr/~Jean-Baptiste.Raclet/) b2

N° RR-8030 (2012)

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 o -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.

  • a –  Inria
  • b –  Centre de Recherche en Informatique de Nancy (CRIN - CNRS)
  • 1:  S4 (INRIA - IRISA)
  • CNRS : UMR6074 – INRIA – Institut National des Sciences Appliquées (INSA) - Rennes – Université de Rennes 1
  • 2:  Institut de recherche en informatique de Toulouse (IRIT)
  • CNRS : UMR5505 – Institut National Polytechnique de Toulouse - INPT – Université des Sciences Sociales - Toulouse I – Université Toulouse I [UT1] Capitole – Université Toulouse le Mirail - Toulouse II – Université Paul Sabatier [UPS] - Toulouse III
  • Domain : Computer Science/Embedded Systems
  • Keywords : compilation – synchronous program – component-based design – compositional reasoning – interface theories – modal speci cations
  • Internal note : RR-8030
 
  • hal-00721049, version 1
  • oai:hal.inria.fr:hal-00721049
  • From: 
  • Submitted on: Thursday, 26 July 2012 14:35:15
  • Updated on: Monday, 30 July 2012 10:51:21