Abstract

The Clock Constraint Specification Language (CCSL) is a clock-based formalism for the specification and analysis of real-time embedded systems. The major goal of schedulability analysis of CCSL specifications is to solve the schedule problem, which is to answer ‘whether there exists a clock behaviour (also called a ‘schedule’) that conforms to a given CCSL specification'. Existing works on schedulability analysis of CCSL specifications are mainly based on model checking or SMT-solving. In this paper, however, we propose a theorem-proving approach to the problem. To this end, we define a clock-based dynamic logic (cDL) in which we can specify the clock behaviours and the clock relations in CCSL. With cDL, given a CCSL specification SP , we can express its schedule problem as a cDL formula ϕ s p . Then solving the schedule problem is equivalent to checking the validity of ϕ s p in the proof system of cDL. By analyzing the proof tree of ϕ s p , we can generate a concrete schedule satisfying SP . Compared to the previous approaches, our method is not limited to special types of CCSL specifications and schedules and does not depend on the bounds that are set for approximate checking. We implement our cDL in Coq. We use an example throughout the paper to illustrate our method. • A dynamic logic to characterize logical clocked systems. • A proof system for schedulability analysis of clock specifications. • An algorithm for generating infinite schedules in clock systems. • A general analysis method that is based on complete theorem proving and avoids approximate checking and bound setting.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call