Welcome!
To use the personalized features of this site, please log in or register.
If you have forgotten your username or password, we can help.
My Menu
Saved Items

Formally Verifying Data and Control with Weak Reachability Invariants

Jeffrey SuContact Information, David L. DillContact Information and Jens U. SkakkebÆkContact Information

(6)  Computer Systems Laboratory, Stanford University, Stanford, CA 94305, USA
Abstract
Existing formal verification methods do not handle systems that combine state machines and data paths very well. Model checking deals with finite-state machines efficiently, but model checking full designs is infeasible because the large amount of state in the data path. Theorem-proving methods may effective for verifying data path operations, but verifying the control requires finding and proving inductive invariants that characterize the reachable states of the system.
We present a new approach to verification of systems that combine control FSMs and data path operations. Invariants are specified only for a small set of control states, called clean states, where the invariants are especially simple.We avoid the need to specify the invariants for the unclean states by symbolically simulating over all paths to find the possible next clean states.
The set of all paths from one clean state to the next is represented by a regular expression, which is extracted from the control FSMs. The number of paths is infinite only if the regular expression contains stars. The method uses a heuristic to, generalize the symbolic state to cover all of the paths of the starred expression. We have implemented a prototype tool for guiding an existing symbolic simulator and verification tool and used it successfully to prove properties of the Instruction Fetch Unit of TORCH, a superscalar microprocessor designed at Stanford. With much less effort, we were able to find all the bugs in the unit that were found earlier by manually strengthening the invariants.

Contact Information Jeffrey Su
Email: xsu@cs.standford.edu

Contact Information David L. Dill
Email: dill@cs.standford.edu

Contact Information Jens U. SkakkebÆk
Email: jus@cs.standford.edu
Fulltext Preview (Small, Large)
Image of the first page of the fulltext

References secured to subscribers.



Export this chapter
Export this chapter as RIS | Text
 
Remote Address: 38.107.191.109 • Server: mpweb24
HTTP User Agent: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)