Title :
Verification of real time controllers against timing diagram specifications using constraint logic programming
Author :
Cerny, E. ; Jin, Fen
Author_Institution :
Lab. LASSO, Montreal Univ., Que., Canada
Abstract :
Given a pseudo-synchronous (sampled input) finite-state machine (FSM) implementation of a real-time controller and a specification in the form of timing diagrams (TDs), the question we wish to answer is whether the controller satisfies the specification. The method we propose uses constraint logic programming (CLP) based on relational interval arithmetic (RIA) and domain narrowing. The controller FSM is fed with input sequences derived from the timing assumptions on the inputs as stated in the specification, and its outputs are verified against the required timing of the specification (the commit constraints). Since timing constraints in TD specifications usually involve intervals of possible values, there may be many input sequences satisfying the assumptions. We consider all possible input sequences in one symbolic execution of the machine derived from the TD and the controller by formulating the execution of the machine as consistency checking of a constraint system. The number of constraints checked is linear with the sum of the lengths of the intervals of the assumption constraints in the specification. It was implemented in CLP(BNR) Prolog
Keywords :
arithmetic; constraint handling; control system analysis computing; diagrams; finite state machines; formal verification; real-time systems; timing; CLP(BNR) Prolog; assumption constraint interval lengths; commit constraints; consistency checking; constraint logic programming; domain narrowing; input sequences; pseudo-synchronous finite-state machine implementation; real-time controller verification; relational interval arithmetic; sampled-input finite-state machine; symbolic execution; timing assumptions; timing diagram specifications; Arithmetic; Automata; Clocks; Control systems; Flip-flops; Frequency; Logic programming; Petri nets; Sequential circuits; Timing;
Conference_Titel :
Euromicro Conference, 1998. Proceedings. 24th
Conference_Location :
Vasteras
Print_ISBN :
0-8186-8646-4
DOI :
10.1109/EURMIC.1998.711805