Interrupt Modeling and Verification for Embedded Systems Based on Time Petri Nets.
Gang Hou,Kuanjiu Zhou,Junwang Chang,Rui Li,Mingchu Li
DOI: https://doi.org/10.1007/978-3-642-45293-2_5
2013-01-01
Abstract:The embedded systems are interrupt-driven systems, but the triggered methods of interrupts are with randomness and uncertainty. The behavior of interrupt can be quite difficult to fully understand, and many catastrophic system failures are caused by unexpected behaviors. Therefore, interrupt-driven systems need high quality tests, but there is lack of effective interrupt system detection method at present. In this paper, a modeling method of interrupt system is firstly proposed based on time Petri nets, which has ability of describing concurrency and time series. Then the time petri nets are transformed into timed automata for model checking. Consequentially, a symbolic encoding approach is investigated for formalized timed automata, through which the timed automata could be bounded model checked BMC with regard to invariant properties by using Satisfiability Modulo Theories SMT solving technique. Finally, Z3 is used in the experiments to evaluate the effectiveness of our approach.