Formal Model-Based Synthesis of Application-Specific Static RTOS
Formal Model-Based Synthesis of Application-Specific Static RTOS
复制标题
基于形式模型的特定应用静态 RTOS 的综合
DOI:
10.1145/3015777
复制
发表时间:
2017
期刊:
影响因子:
--
通讯作者:
O. Roux
中科院分区:
文献类型:
--
作者:
Tigori Kabland Toussaint Gautier;Jean;Sébastien Faucou;O. Roux
In an embedded system, the specialization of the code of the real-time operating system (RTOS) according to the requirements of the application allows one to remove unused services and other sources of dead code from the binary program. The typical specialization process is based on a mix of precompiler macros and build scripts, both of which are known for being sources of errors. In this article, we present a new model-based approach to the design of application-specific RTOS. Starting with finite state models describing the RTOS and the application requirements, the set of blocks in the RTOS code actually used by the application is automatically computed. This set is used to build an application-specific RTOS model. This model is fed into a code generator to produce the source code of an application-specific RTOS. It is also used to carry on model-based validations and verifications, including the formal verification that the specialization process did not introduce unwanted behaviors or suppress expected ones. To demonstrate the feasibility of this approach, it is applied to specialize Trampoline, an open-source implementation of the AUTOSAR OS standard, to an industrial case study from the automotive domain.