Automatic Distributed Code Generation from Formal Models of Asynchronous Concurrent Processes

被引:4
|
作者
Evrard, Hugues [1 ]
Lang, Frederic
机构
[1] Univ Grenoble Alpes, LIG, Inria, F-38000 Grenoble, France
关键词
PERFORMANCE EVALUATION; SYNCHRONIZATION;
D O I
10.1109/PDP.2015.96
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Formal process languages inheriting the concurrency and communication features of process algebras are convenient formalisms to model distributed applications, especially when they are equipped with formal verification tools (e.g., model-checkers) to help hunting for bugs early in the development process. However, even starting from a fully verified formal model, bugs are likely to be introduced while translating (generally by hand) the concurrent model-which relies on high-level and expressive communication primitives-into the distributed implementation-which often relies on low-level communication primitives. In this paper, we present DLC, a compiler that enables distributed code to be generated from models written in a formal process language called LNT, which is equipped with a rich verification toolbox named CADP. The generated code can be either executed in an autonomous way (i.e., without requiring additional code to be defined by the user), or connected to external software through user-modifiable C functions. We present an experiment where DLC generates a distributed implementation from the LNT model of the Raft consensus algorithm.
引用
收藏
页码:459 / 466
页数:8
相关论文
共 50 条
  • [1] Automatic distributed code generation from formal models of asynchronous processes interacting by multiway rendezvous
    Evrard, Hugues
    Lang, Frederic
    JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2017, 88 : 121 - 153
  • [2] Code Generation from Formal Models for Automatic RTOS Portability
    Gomes, Renata Martins
    Baunach, Marcel
    PROCEEDINGS OF THE 2019 IEEE/ACM INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION (CGO '19), 2019, : 271 - 272
  • [3] Modeling and Automatic Code Generation Tool for Teaching Concurrent and Parallel Programming by Finite State Processes
    Monteiro, Edwin
    Pereira, Kelvinn
    Barreto, Raimundo
    COMPUTATIONAL SCIENCE - ICCS 2020, PT VII, 2020, 12143 : 593 - 607
  • [4] Automatic Generation of Executable Code from Software Architecture Models
    Stavrou, Aristos
    Papadopoulos, George A.
    INFORMATION SYSTEMS DEVELOPMENT: CHALLENGES IN PRACTICE, THEORY AND EDUCATION, VOLS 1AND 2, 2009, : 1047 - 1058
  • [5] Automatic generation of formal models for diagnosability of DES
    Nardone, R.
    De Tommasi, G.
    Mazzocca, N.
    Pironti, A.
    Vittorini, V.
    2018 IEEE 23RD INTERNATIONAL CONFERENCE ON EMERGING TECHNOLOGIES AND FACTORY AUTOMATION (ETFA), 2018, : 43 - 50
  • [6] DERIVING DISTRIBUTED PROCESSES FROM CONCURRENT PROCESSES
    KRISHNAN, P
    INFORMATION AND SOFTWARE TECHNOLOGY, 1995, 37 (10) : 557 - 562
  • [7] Code generation from hybrid systems models for distributed embedded systems
    Anand, M
    Kim, J
    Lee, I
    ISORC 2005: Eighth IEEE International Symposium on Object-Oriented Real-Time Distributed Computing, Proceedings, 2005, : 166 - 173
  • [8] Automatic distributed asynchronous control circuit generation from data flow graph for asynchronous high-level synthesis
    Kim, E
    Lee, JG
    Lee, DI
    ISCAS 2000: IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS - PROCEEDINGS, VOL II: EMERGING TECHNOLOGIES FOR THE 21ST CENTURY, 2000, : 49 - 52
  • [9] Automatic Generation of Integrated Formal Models Corresponding to UML System Models
    Treharne, Helen
    Turner, Edward
    Paige, Richard F.
    Kolovos, Dimitrios S.
    OBJECTS, COMPONENTS, MODELS AND PATTERNS, PROCEEDINGS, 2009, 33 : 357 - +
  • [10] Reconfigurable Asynchronous Pipelines: from Formal Models to Silicon
    Sokolov, Danil
    de German, Alessandro
    Mokhov, Andrey
    PROCEEDINGS OF THE 2018 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE), 2018, : 1562 - 1567