Abstract
We present a methodology which helps structure the design and verification of hardware circuits. Our methodology supports reusable proofs of hardware components, provides for multiple implementations of the same specification, and allows both bottom up and top down verification styles. We provide mechanical assistance for our methodology in the Nuprl proof development system. Our method exploits Nuprl's rich type theory to encode the specification of a module in the type of the module. This allows us to elegantly describe parameterized hardware modules. The methodology is efficient because: the automated support reduces the amount of information that users must provide and the use of parameterized hardware modules eliminates redundant reasoning among proofs of hardware components. In this paper we explain our methodology and illustrate our approach with several examples of circuit verification.
Similar content being viewed by others
References
Aagaard, M. and Leeser, M., “The implementation and proof of a boolean simplification system,” in Geraint Jones and Mary Sheeran, editors,Designing Correct Circuits, Oxford 1990. Springer-Verlag, 1991.
Boyer, R.S. and Moore, J.S.,A Computational Logic Handbook, Academic Press, 1988. Volume 23 of Perspectives in Computing.
Cohn, A., “A proof of correctness of the Viper microprocessor: The first level,” inVLSI Specification, Verification, and Synthesis, pages 27–71, Kluwer Academic Publishers, 1988.
Constable, R.L., et al.,Implementing Mathematics with the Nuprl Proof Development System, Prentice Hall, 1986.
Gordon, M., “Hardware verification by formal proof,”Technical Report 74, University of Cambridge Computer Laboratory, 1985.
Gordon, M., Milner, R., and Wadsworth C.,Edinburgh LCF: A Mechanized Logic of Computation, volume 78. Springer Verlag, 1979. Lecture Notes in Computer Science.
Gordon, M.J.C., “HOL: A machine oriented formulation of higher order logic,”Technical Report 68, Cambridge University Computer Laboratory, 1985.
Hanna, F.K., Daeche, N. and Longley, M., “Specification and verification using dependent types,”IEEE Transactions on Software Engineering, 16(9):949–964, September 1990.
Hunt, W.A., Jr.,FM8501: A Verified Microprocessor, PhD thesis, Institute for Computing Science, The University of Texasat Austin, 1986.
Jacobs, B. and Melham, T.F., “Translating dependent type theory in higher order logic,” inInternational Conference on Typed Lambda Calculi and Applications, Springer-Verlag, LNCS Series, June 1993. To appear.
Joyce, J.J.,Multi-Level Verification of Microprocessor-Based Systems, PhD thesis, Cambridge University Computer Laboratory, 1989.
Jeff Joyce., “Generic specification of digital hardware,” in Geraint Jones and Mary Sheeran, editors,Designing Correct Circuits, pages 68–91, Springer-Verlag, Sept 1990.
Jeff Joyce and Carl-Johann Seger, “Linking BDD based symbolic evaluation to interactive theorem proving,” inDesign Automation Conference, July 1993.
Kumar, R., Kropf, T., and Schneider, K., “First steps toward automating hardware proofs in HOL,” in M. Archer and M. Gordon, editors,International Workshop on the HOL Theorem Proving System and its Applications, IEEE Press, 1991.
Leeser, M.E., “Using Nuprl for the verification and synthesis of hardware,” in Hoare, C.A.R. and Gordon, M.J.C., editors,Mechanized Reasoning and Hardware Design, Prentice-Hall International Series on Computer Science, 1992.
Martin-Löf, P., “Constructive mathematics and computer programming,” inSixth International Congress for Logic, Methodology, and Philosophy, pp. 153–175. North-Holland, 1982.
Melham, T.F., “Formalizing Abstraction Mechanisms for Hardware Verification in Higher Order Logic,” PhD thesis, Cambridge University Computer Laboratory, August 1990,Technical Report No. 201.
Melham, T.F., “HOL logic extended with quantification over type variables,” in L. Claesen and M. Gordon, editors,Higher Order Logic Theorem Proving and its Applications Elsevier Science Publishers, B.V., 1992.
O'Leary, J., Linderman, M., Leeser, M., and Aagaard, M., “HML: a hardware description language based on SML,” in D. Agnew and L. Claesen, editors,IFIP Conference on Hardware Description Languages and Their Applications (CHDL '93), April 1993. To appear.
Paulson, L. and Nipkow, T., “Isabelle tutorial and user's manual,”Technical Report 189, University of Cambridge Computer Laboratory, January 1990.
Suk, D., “Hardware synthesis in constructive type theory,” in Geraint Jones and Mary Sheeran, editors,Designing Correct Circuits, Oxford 1990. Springer-Verlag, 1991.
Windley, P., “Abstract hardware,” in1991 International Workshop on Formal Methods in VLSI Design, ACM SIGDA, 1991.
Windley, P., “A theory of generic interpreters,”Technical Report LAL-92-06, University of Idaho, Labratory for Applied Logic, April 1992.
Author information
Authors and Affiliations
Rights and permissions
About this article
Cite this article
Aagaard, M., Leeser, M. A methodology for efficient hardware verification. Form Method Syst Des 5, 95–117 (1994). https://doi.org/10.1007/BF01384235
Issue Date:
DOI: https://doi.org/10.1007/BF01384235