Divide and Recycle: Types and Compilation for a Hybrid Synchronous Language

被引:0
|
作者
Benveniste, Albert [1 ]
Bourke, Timothy [1 ]
Caillaud, Benoit [1 ]
Pouzet, Marc
机构
[1] INRIA Rennes, Rennes, France
关键词
Real-time systems; Hybrid systems; Synchronous languages; Block diagrams; Compilation; Semantics; Type Systems;
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Hybrid modelers such as SIMULINK have become corner stones of embedded systems development. They allow both discrete controllers and their continuous environments to be expressed in a single language. Despite the availability of such tools, there remain a number of issues related to the lack of reproducibility of simulations and to the separation of the continuous part, which has to be exercised by a numerical solver, from the discrete part, which must be guaranteed not to evolve during a step. Starting from a minimal, yet full-featured, LUSTRE-like synchronous language, this paper presents a conservative extension where data-flow equations can be mixed with ordinary differential equations (ODEs) with possible reset. A type system is proposed to statically distinguish discrete computations from continuous ones and to ensure that signals are used in their proper domains. We propose a semantics based on non-standard analysis which gives a synchronous interpretation to the whole language, clarifies the discrete/continuous interaction and the treatment of zero-crossings, and also allows the correctness of the type system to be established. The extended data-flow language is realized through a source-to-source transformation into a synchronous subset, which can then be compiled using existing tools into routines that are both efficient and bounded in their use of memory. These routines are orchestrated with a single off-the-shelf numerical solver using a simple but precise algorithm which treats causally-related cascades of zero-crossings. We have validated the viability of the approach through experiments with the SUNDIALS library.
引用
收藏
页码:61 / 70
页数:10
相关论文
共 50 条
  • [31] TermAst: Compilation of specialty lexicons in Asturian language
    Sanchez, Olaya Martinez
    [J]. ESTUDOS DE LINGUISTICA GALEGA, 2023, 15
  • [32] KNOWLEDGE BASE COMPILATION AND THE LANGUAGE DESIGN GAME
    SACK, W
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1992, 608 : 225 - 233
  • [33] Verified Density Compilation for a Probabilistic Programming Language
    Tassarotti, Joseph
    Tristan, Jean-Baptiste
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2023, 7 (PLDI):
  • [34] ON THE COMPILATION OF A LANGUAGE FOR GENERAL CONCURRENT TARGET ARCHITECTURES
    Bernard, Thomas A. M.
    Grelck, Clemens
    Jesshope, Chris R.
    [J]. PARALLEL PROCESSING LETTERS, 2010, 20 (01) : 51 - 69
  • [35] The SL synchronous language
    Boussinot, F
    deSimone, R
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1996, 22 (04) : 256 - 266
  • [36] Health care across a language divide
    Rosenberg, Ellen
    [J]. PATIENT EDUCATION AND COUNSELING, 2010, 81 (02) : 147 - 147
  • [37] The relevance of words and the language/communication divide
    Carston, Robyn
    [J]. FRONTIERS IN PSYCHOLOGY, 2023, 14
  • [38] Troll and divide: the language of online polarization
    Simchon, Almog
    Brady, William J.
    Van Bavel, Jay J.
    [J]. PNAS NEXUS, 2022, 1 (01):
  • [39] DATA LAYOUTS IMPACTS ON THE COMPILATION OF THE COMMUNICATIONS FOR A SYNCHRONOUS MSIMD MACHINE
    DELAPLACE, F
    CAPPELLO, F
    [J]. MICROPROCESSING AND MICROPROGRAMMING, 1992, 35 (1-5): : 469 - 476
  • [40] REDUCTION OF COMPILATION COSTS THROUGH LANGUAGE CONTRACTION
    SHAW, M
    [J]. COMMUNICATIONS OF THE ACM, 1974, 17 (05) : 245 - 250