A hybrid synchronous language with hierarchical automata: Static typing and translation to synchronous code - LANGAGE ET GÉNIE LOGICIEL
Communication Dans Un Congrès Année : 2011

A hybrid synchronous language with hierarchical automata: Static typing and translation to synchronous code

Résumé

Hybrid modeling tools like Simulink have evolved from simulation platforms into development platforms on which testing, verification and code generation are also performed. It is critical to ensure that the results of simulation, compilation and verification are consistent. Synchronous languages have addressed these issues but only for discrete systems. Reprising earlier work, we present a hybrid modeler built from a synchronous language and an of-the-shelf numerical solver. The main novelty is a language with hierarchical automata that can be arbitrarily mixed with data-flow and ordinary differential equations (ODEs). A type system statically ensures that discrete state changes are aligned with zero-crossing events and that the function passed to the numerical solver has no side-effects during integration. Well-typed programs are compiled by source-to-source translation into synchronous code which is then translated into sequential code using an existing synchronous language compiler.

Domaines

Autre [cs.OH]
Fichier principal
Vignette du fichier
emsoft11.pdf (389.85 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-00654113 , version 1 (19-12-2022)

Identifiants

Citer

Albert Benveniste, Timothy Bourke, Benoit Caillaud, Marc Pouzet. A hybrid synchronous language with hierarchical automata: Static typing and translation to synchronous code. EMSOFT 2011 - Embedded Software, Oct 2011, Taipei, Taiwan. ⟨10.1145/2038642.2038664⟩. ⟨hal-00654113⟩
344 Consultations
54 Téléchargements

Altmetric

Partager

More