Code Generation from Formal Models for Automatic RTOS Portability

被引:0
|
作者
Gomes, Renata Martins [1 ]
Baunach, Marcel [1 ]
机构
[1] Graz Univ Technol, Inst Tech Informat, Graz, Austria
关键词
RTOS portability; code generation; formal modeling; Event-B; IoT;
D O I
10.1109/cgo.2019.8661170
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Current approaches for portability of real-time operating systems (RTOSs) for embedded systems are largely based on manual coding, which is arduous and error prone. With increasing dependability requirements for cyber physical systems, specially within the Internet of Things (IoT), along with the expected great diversity of hardware platforms, software platforms will only remain competitive in the long run if they guarantee correct operation and easy deployment to every hardware platform. In this scenario, a new approach to the development and portability of RTOSs that guarantees correct implementations for all current and future devices and hardware architectures becomes indispensable. We present a framework for automatic RTOS portability that integrates model-based design and formal methods into dependable embedded software development. We focus specially on modeling the interaction between software and hardware in order to generate low-level code. This enables automatic portability for hardware-related parts of the OS (i.e., context switching, memory management, security aspects, etc,) as well as for on-chip peripheral drivers (i.e., timers, I/O, etc.). With our framework we will be able to prove the consistency of the refinements as well as that the RTOS model fulfills various functional and non-functional requirements. Automatic code generation guarantees that the model is correctly translated to machine language, avoiding implementation mistakes common to manual coding. Changes on the software, for bug fixes or testing of new concepts, for example, do not require knowledge of the target architectures, since they are done on the model and are immediately reflected in all implementations upon code generation, assuring consistency across platforms.
引用
收藏
页码:271 / 272
页数:2
相关论文
共 50 条
  • [1] Automatic Distributed Code Generation from Formal Models of Asynchronous Concurrent Processes
    Evrard, Hugues
    Lang, Frederic
    [J]. 23RD EUROMICRO INTERNATIONAL CONFERENCE ON PARALLEL, DISTRIBUTED, AND NETWORK-BASED PROCESSING (PDP 2015), 2015, : 459 - 466
  • [2] A Framework for OS Portability: from Formal Models to Low-level Code
    Gomes, Renata Martins
    Baunach, Marcel
    [J]. 37TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, 2022, : 1156 - 1165
  • [3] Automatic distributed code generation from formal models of asynchronous processes interacting by multiway rendezvous
    Evrard, Hugues
    Lang, Frederic
    [J]. JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2017, 88 : 121 - 153
  • [4] A framework for embedded software portability and verification: from formal models to low-level code
    Renata Martins Gomes
    Bernhard Aichernig
    Marcel Baunach
    [J]. Software and Systems Modeling, 2024, 23 : 289 - 315
  • [5] A framework for embedded software portability and verification: from formal models to low-level code
    Gomes, Renata Martins
    Aichernig, Bernhard
    Baunach, Marcel
    [J]. SOFTWARE AND SYSTEMS MODELING, 2024, 23 (02): : 289 - 315
  • [6] Correction: A framework for embedded software portability and verification: from formal models to low-level code
    Renata Martins Gomes
    Bernhard Aichernig
    Marcel Baunach
    [J]. Software and Systems Modeling, 2024, 23 : 317 - 317
  • [7] Automatic Generation of Executable Code from Software Architecture Models
    Stavrou, Aristos
    Papadopoulos, George A.
    [J]. INFORMATION SYSTEMS DEVELOPMENT: CHALLENGES IN PRACTICE, THEORY AND EDUCATION, VOLS 1AND 2, 2009, : 1047 - 1058
  • [8] Automatic generation of formal models for diagnosability of DES
    Nardone, R.
    De Tommasi, G.
    Mazzocca, N.
    Pironti, A.
    Vittorini, V.
    [J]. 2018 IEEE 23RD INTERNATIONAL CONFERENCE ON EMERGING TECHNOLOGIES AND FACTORY AUTOMATION (ETFA), 2018, : 43 - 50
  • [9] Automatic Generation of Integrated Formal Models Corresponding to UML System Models
    Treharne, Helen
    Turner, Edward
    Paige, Richard F.
    Kolovos, Dimitrios S.
    [J]. OBJECTS, COMPONENTS, MODELS AND PATTERNS, PROCEEDINGS, 2009, 33 : 357 - +
  • [10] Bridging the FPGA Programmability-Portability Gap via Automatic OpenCL Code Generation and Tuning
    Krommydas, Konstantinos
    Sasanka, Ruchira
    Feng, Wu-chun
    [J]. 2016 IEEE 27TH INTERNATIONAL CONFERENCE ON APPLICATION-SPECIFIC SYSTEMS, ARCHITECTURES AND PROCESSORS (ASAP), 2016, : 213 - 218