Analyzing a real-time program with Z

被引:0
|
作者
Jacky, J [1 ]
机构
[1] Univ Washington, Seattle, WA 98195 USA
来源
ZUM '98: THE Z FORMAL SPECIFICATION NOTATION | 1998年 / 1493卷
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Real-time behavior of a multi-tasking program running on a preemptive priority-based operating system is analyzed. The operating system and a collection of application tasks are modelled in Z. Real-time is represented by an ordinary Z state variable. The model is adapted to a particular application by defining a state machine for each task and associating execution times with each state. The model is analyzed by exhaustive simulation with the SMV model checker. The state transitions described by Z operation schemas are implemented in the SMV programming language. Invariants, preconditions, and postconditions from the Z are translated to formulas in CTL, the SMV specification language. The SMV program is verified by checking these formulas. This detects coding errors in the SMV program and also reveals inconsistencies in the original Z where operation schemas are inconsistent with state invariants. The errors were corrected. Additional CTL formulas describe temporal properties that cannot be expressed directly in Z. The Z model is validated by checking an example SMV program with CTL formulas that confirm scheduling results from rate-monotonic analysis (RMA). Another application that does not satisfy the assumptions of RMA is analyzed, establishing that high-priority tasks cannot indefinitely delay low-priority tasks and real-time deadlines can be met.
引用
收藏
页码:136 / 153
页数:18
相关论文
共 50 条
  • [41] Analyzing the schedulability of hard real-time artificial intelligence systems
    GarciaFornes, A
    Terrasa, A
    Botti, V
    Crespo, A
    ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 1997, 10 (04) : 369 - 377
  • [42] ANALYZING AND COMPARING THE PERFORMANCE OF 2 REAL-TIME PLAYBACK SYSTEMS
    EGAN, JT
    HART, J
    MACELROY, RD
    COMPUTERS & GRAPHICS, 1984, 8 (01) : 67 - 79
  • [43] Analyzing real-time PCR data by the comparative CT method
    Schmittgen, Thomas D.
    Livak, Kenneth J.
    NATURE PROTOCOLS, 2008, 3 (06) : 1101 - 1108
  • [44] Analyzing Real-Time Insect Detection in Smart Connected Farms
    Gupta, Ashish
    Tanwar, Vishesh Kumar
    Jha, Amit Nath
    Das, Sajal K.
    COMPUTER, 2024, 57 (12) : 38 - 46
  • [45] Statistically Analyzing Execution Variance for Soft Real-Time Applications
    Kumar, Tushar
    Cledat, Romain
    Sreeram, Jaswanth
    Pande, Santosh
    LANGUAGES AND COMPILERS FOR PARALLEL COMPUTING, 2008, 5335 : 124 - +
  • [46] Real-Time Surveillance System for Analyzing Abnormal Behavior of Pedestrians
    Kim, Dohun
    Kim, Heegwang
    Mok, Yeongheon
    Paik, Joonki
    APPLIED SCIENCES-BASEL, 2021, 11 (13):
  • [47] Real-time resource tracking for analyzing value-adding time in construction
    Zhao, Jianyu
    Seppanen, Olli
    Peltokorpi, Antti
    Badihi, Behnam
    Olivieri, Hylton
    AUTOMATION IN CONSTRUCTION, 2019, 104 : 52 - 65
  • [48] INVERSE-ENGINEERING A SIMPLE REAL-TIME PROGRAM
    YOUNGER, EJ
    WARD, MP
    JOURNAL OF SOFTWARE MAINTENANCE-RESEARCH AND PRACTICE, 1994, 6 (04): : 197 - 234
  • [49] Real-time program refinement using auxiliary variables
    Hayes, I
    FORMAL TECHNIQUES IN REAL-TIME AND FAULT-TOLERANT SYSTEMS, PROCEEDINGS, 2000, 1926 : 170 - 184
  • [50] Real-time Implementation of Numerical Control Program Transmission
    Wang Xiao jun
    Yang Qingxuan
    ICMS2010: PROCEEDINGS OF THE THIRD INTERNATIONAL CONFERENCE ON MODELLING AND SIMULATION, VOL 1: ENGINEERING COMPUTATION AND FINITE ELEMENT ANALYSIS, 2010, : 59 - 62