Compositional verification of embedded real-time systems

被引:2
|
作者
Foughali, Mohammed [1 ]
Hladik, Pierre-Emmanuel [2 ]
Zuepke, Alexander [3 ]
机构
[1] Univ Paris Cite, CNRS, IRIF, F-75013 Paris, France
[2] Nantes Univ, CNRS, LS2N, F-44000 Nantes, France
[3] Tech Univ Munich, D-85748 Garching, Germany
关键词
Formal methods; Real-time systems; Timed automata; Integer linear programming; FORMAL VERIFICATION; MODEL-CHECKING; SYNCHRONIZATION;
D O I
10.1016/j.sysarc.2023.102928
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In an embedded real-time system (ERTS), real-time tasks (software) are typically executed on a multicore shared-memory platform (hardware). The number of cores is usually small, contrasted with a larger number of complex tasks that share data to collaborate. Since most ERTSs are safety-critical, it is crucial to rigorously verify their software against various real-time requirements under the actual hardware constraints (concurrent access to data, number of cores). Both the real-time systems and the formal methods communities provide elegant techniques to realize such verification, which nevertheless face major challenges. For instance, model checking (formal methods) suffers from the state-space explosion problem, whereas schedulability analysis (real-time systems) is pessimistic and restricted to simple task models and schedulability properties. In this paper, we propose a scalable and generic approach to formally verify ERTSs. The core contribution is enabling, through joining the forces of both communities, compositional verification to tame the state-space size. To that end, we formalize a realistic ERTS model where tasks are complex with an arbitrary number of jobs and job segments, then show that compositional verification of such model is possible, using a hybrid approach (from both communities), under the state-of-the-art partitioned fixed-priority (P-FP) with limited preemption scheduling algorithm. The approach consists of the following steps, given the above ERTS model and scheduling algorithm. First, we compute fine-grained data sharing overheads for each job segment that reads or writes some data from the shared memory. Second, we generalize an algorithm that, aware of the data sharing overheads, computes an affinity (task-core allocation) guaranteeing the schedulability of hard-real-time (HRT) tasks. Third, we devise a timed automata (TA) model of the ERTS, that takes into account the affinity, the data sharing overheads and the scheduling algorithm, on which we demonstrate that various properties can be verified compositionally, i.e., on a subset of cores instead of the whole ERTS, therefore reducing the state-space size. In particular, we enable the scalable computation of tight worst-case response times (WCRTs) and other tight bounds separating events on different cores, thus overcoming the pessimism of schedulability analysis techniques. We fully automate our approach and show its benefits on three real-world complex ERTSs, namely two autonomous robots and an automotive case study from the WATERS 2017 industrial challenge.
引用
下载
收藏
页数:21
相关论文
共 50 条
  • [11] Overloads in Compositional Embedded Real-Time Control Systems
    Azim, Akramul
    PROCEEDINGS OF THE 2016 27TH INTERNATIONAL SYMPOSIUM ON RAPID SYSTEM PROTOTYPING (RSP): SHORTENING THE PATH FROM SPECIFICATION TO PROTOTYPE, 2016, : 51 - 57
  • [12] Modeling and verification of real-time embedded systems with urgency
    Hsiung, Pao-Ann
    Lin, Shang-Wei
    Chen, Yean-Ru
    Huang, Chun-Hsian
    Shih, Chihhsiong
    Chu, William C.
    JOURNAL OF SYSTEMS AND SOFTWARE, 2009, 82 (10) : 1627 - 1641
  • [13] Compositional verification of real-time applications
    Hooman, J
    COMPOSITIONALITY: THE SIGNIFICANT DIFFERENCE, 1998, 1536 : 276 - 300
  • [14] Design-Time Verification of Reconfigurable Real-Time Embedded Systems
    Krichen, Fatma
    Hamid, Brahim
    Zalila, Bechir
    Jmaiel, Mohamed
    2012 IEEE 14TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS & 2012 IEEE 9TH INTERNATIONAL CONFERENCE ON EMBEDDED SOFTWARE AND SYSTEMS (HPCC-ICESS), 2012, : 1487 - 1494
  • [15] TAXYS: A tool for the development and verification of real-time embedded systems
    Closse, E
    Poize, M
    Pulou, J
    Sifakis, J
    Venter, P
    Weil, D
    Yovine, S
    COMPUTER AIDED VERIFICATION, PROCEEDINGS, 2001, 2102 : 391 - 395
  • [16] Formal probabilistic refinement verification of embedded real-time systems
    Yamane, S
    WSTFES 2003: IEEE WORKSHOP ON SOFTWARE TECHNOLOGIES FOR FUTURE EMBEDDED SYSTEMS, PROCEEDINGS, 2003, : 79 - 82
  • [17] COMPOSITIONAL VERIFICATION OF REAL-TIME SYSTEMS USING EXTENDED HOARE TRIPLES
    HOOMAN, J
    LECTURE NOTES IN COMPUTER SCIENCE, 1992, 600 : 252 - 290
  • [18] Automating formal modular verification of asynchronous real-time embedded systems
    Hsiung, PA
    Cheng, SY
    16TH INTERNATIONAL CONFERENCE ON VLSI DESIGN, PROCEEDINGS, 2003, : 249 - 254
  • [19] A survey of formal verification methods and tools for embedded and real-time systems
    Cheng, Albert Mo Kim
    INTERNATIONAL JOURNAL OF EMBEDDED SYSTEMS, 2006, 2 (3-4) : 184 - 195
  • [20] COMPOSITIONAL VERIFICATION OF A DISTRIBUTED REAL-TIME ARBITRATION PROTOCOL
    HOOMAN, J
    REAL-TIME SYSTEMS, 1994, 6 (02) : 173 - 205