Title :
Verification of real time controllers against timing diagram specifications using constraint logic programming
Author :
Cerny, Eduard ; Jin, Fen
Author_Institution :
Lab. LASSO, Montreal Univ., Que., Canada
Abstract :
Given a pseudo-synchronous (sampled input) finite-state machine implementation of a real-time controller (e.g., RTL Verilog code), and a timing diagrams (TDs) specification, the question we wish to answer is whether the controller satisfies this specification. Our method uses constraint logic programming (CLP). The controller FSM is fed with input sequences derived from the assumption constraints on the inputs as stated in the TD, and its outputs are verified against the required timing (commit) constraints in the TD. Our technique considers all input sequences in one consistency check for each commit constraint, carried out on a system of constraints constructed from the TD and the unfolded controller FSM. The number of constraints is linear in the lengths of the intervals of the assumption constraints. The method was implemented in CLP (BNR) Prolog which is based on relational interval arithmetic (RIA). We verified a controller for an asynchronous bus
Keywords :
computer interfaces; constraint handling; diagrams; finite state machines; formal specification; formal verification; real-time systems; timing; CLP Prolog; assumption constraints; asynchronous bus; commit constraint; consistency check; constraint logic programming; input sequences; pseudo-synchronous finite-state machine implementation; real time controllers; relational interval arithmetic; timing diagram specifications; verification; Automata; Automatic control; Clocks; Context modeling; Control systems; Hardware design languages; Logic programming; Protocols; Sequential circuits; Timing;
Conference_Titel :
Computer Design, 1999. (ICCD '99) International Conference on
Conference_Location :
Austin, TX
Print_ISBN :
0-7695-0406-X
DOI :
10.1109/ICCD.1999.808259