Title :
iDola: Bridge Modeling to Verification and Implementation of Interrupt-Driven Systems
Author :
Han Liu ; Hehua Zhang ; Yu Jiang ; Xiaoyu Song ; Ming Gu ; Jiaguang Sun
Author_Institution :
Sch. of Software, Tsinghua Univ., Beijing, China
Abstract :
In real-time embedded applications, interrupt-driven systems are widely adopted due to strict timing requirements. However, development of interrupt-driven systems is time-consuming and error-prone. To conveniently ensure a trustworthy system design and implementation is a challenging problem, especially in complex applications. In this paper, we present a novel domain-specific language called iDola to model interrupt-driven systems declaratively and concisely. A major strength of iDola is the feasibility to capture complex interrupt handling mechanism in real-time operating systems and target platforms, such as delayed service and buffered processing. We also propose the formal operational semantics and code generation algorithm of iDola, so that iDola models can be transformed to timed automata for verification and loaded to generate platform-specific codes. We apply iDola on the modeling of an industrial interrupt-driven system, multifunction vehicle bus controller which runs in an embedded environment with eCos operating system. Based on iDola, the system is modeled with a dispatcher which embodies advanced interrupt handling in eCos, including buffered interrupt service routine and deferred service routine. Through transformation, the system design is verified and design bugs are detected. Code generation is also executed using the proposed algorithm. Generated codes display comparatively equal performance in the real system. We believe iDola can facilitate building a trustworthy interrupt-driven system.
Keywords :
automata theory; formal verification; operating systems (computers); buffered interrupt service routine; code generation algorithm; complex interrupt handling mechanism; deferred service routine; domain-specific language; eCos operating system; formal operational semantics; iDola; multifunction vehicle bus controller; platform-specific code; real-time embedded application; timed automata; trustworthy interrupt-driven system; trustworthy system design; verification system; Analytical models; Automata; DH-HEMTs; Load modeling; Real-time systems; Semantics; Timing; Interrupt-driven system; domain-specific language; interrupt handling;
Conference_Titel :
Theoretical Aspects of Software Engineering Conference (TASE), 2014
Conference_Location :
Changsha
DOI :
10.1109/TASE.2014.33