Abstract
We investigate a formal verification problem (mathematically rigorous correctness checking) for digital waveforms used in practical development of digital microelectronic devices (digital circuits) at early design stages. According to modern methodologies, a digital circuit design starts at high abstraction levels provided by hardware description languages (HDLs). One of the essential steps of an HDL-based circuit design is an HDL code debug, similar to the same step of program development in means and importance. A popular method for an HDL code debug is based on extraction and analysis of a waveform that is a collection of plots for digital signals: functional descriptions of value changes related to the selected circuit places in real time. We propose mathematical means for automation of correctness checking for such waveforms based on concepts and methods of formal verification against temporal logic formulas and focus on such typical features of HDL-related digital signals and corresponding (informal) properties such as real time, three-valuedness, and presence of signal edges. The three-valuedness means that, at any given time, besides basic logical values 0 and 1, a signal may have a special undefined value: one of the values 0 and 1, but which one is either not known or not important. An edge point of a signal is a time point at which the signal changes its value. The main results are mathematical notions, propositions, and algorithms intended to formalize and solve the formal verification problem for considered waveforms including (i) the definitions for signals and waveforms that capture the mentioned typical digital signal features, (ii) the temporal logic suitable for formalization of waveform correctness properties and a related verification problem statement, (iii) a solution technique for the verification problem that is based on reduction to signal transformation and analysis, and (iv) a corresponding verification algorithm together with its correctness proof and “reasonable” complexity bounds.
Similar content being viewed by others
REFERENCES
Baier, C. and Katoen, J.P., Principles of Model Checking, Cambridge: The MIT Press, 2008.
Harris, S. and Harris, D., Digital Design and Computer Architecture, San Francisco: Morgan Kaufmann Publishers Inc., 2012, 2nd ed.
Meinel, C. and Theobald, T., Algorithms and Data Structures in VLSI Design: OBDD – Foundations and Applications, Berlin: Springer-Verlag, 1998.
Kern, C. and Greenstreet, M.R., Formal verification in hardware design: A survey, ACM Trans. Des. Autom. Electron. Syst., 1999, vol. 4, no. 2, pp. 123–193.
Kropf, T., Introduction to Formal Hardware Verification, Berlin: Springer-Verlag, 1999.
Bryant, R.E. and Seger, C.J.H., Formal verification of digital circuits using symbolic ternary system models, Lect. Notes Comput. Sci., 1991, vol. 531, pp. 33–43.
Baldor, K. and Niu, J., Monitoring dense-time, continuous-semantics, metric temporal logic, Lect. Notes Comput. Sci., 2013, vol. 7687, pp. 245–259.
Basin, D., Klaedtke, F., and Zălinescu, E., Algorithms for monitoring real-time properties, Acta Inf., 2018, vol. 55, no. 4, pp. 309–338.
Yablonsky, S.V., Vvedenie v diskretnuyu matematiku (Introduction to Discrete Mathematics), Moscow: Nauka, 1986.
Kleene, S.C., On notation for ordinal numbers, J. Symbolic Logic, 1938, vol. 3, no. 4, pp. 150–155.
Kleene, S.C., Introduction to Metamathematics, Amsterdam: North-Holland Pub. Co., 1952.
Bruns, G. and Godefroid, P., Model checking partial state spaces with 3-valued temporal logics, Lect. Notes Comput. Sci., 1991, vol. 1633, pp. 274–287.
Chechik, M., Devereux, B., and Gurfinkel, A., Model-checking infinite state-space systems with fine-grained abstractions using SPIN, Lect. Notes Comput. Sci., 2001, vol. 2057, pp. 16–36.
Laroussinie, F., Markey, N., and Schnoebelen, P., Temporal logic with forgettable past, Proceedings of the 17th Annual IEEE Symposium on Logic in Computer Science, Washington, DC, 2002, pp. 383–392.
Funding
The work is supported by the Russian Foundation of Basic Research (project no. 18-01-00854).
ADDITIONAL INFORMATIONNina Yu. Kutsak, orcid.org/0000-0002-0832-3635, bachelor student.
Vladislav V. Podymov, orcid.org/0000-0002-2041-7634, PhD in Mathematics, researcher.
Author information
Authors and Affiliations
Corresponding authors
Ethics declarations
The authors declare that they have no conflicts of interest.
Additional information
Translated by E. Oborin
About this article
Cite this article
Kutsak, N.Y., Podymov, V.V. Formal Verification of Three-Valued Digital Waveforms. Aut. Control Comp. Sci. 54, 630–644 (2020). https://doi.org/10.3103/S0146411620070135
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.3103/S0146411620070135