Abstract

Automated test generation is a promising direction in hardware verification research area. Functional test generation methods based on models are widespread at the moment. In this paper, a functional test generation method based on model checking is proposed and compared to existing solutions. Automated model extraction from the hardware design’s source code is used. Supported HDLs include VHDL and Verilog. Several kinds of models are used at different steps of the test generation method: guarded action decision diagram (GADD), high-level decision diagram (HLDD) and extended finite-state machine (EFSM). The high-level decision diagram model (which is extracted from the GADD model) is used as a functional model. The extended finite-state machine model is used as a coverage model. The aim of test generation is to cover all the transitions of the extended finite state machine model. Such criterion leads to the high HDL source code coverage. Specifications based on transition and state constraints of the EFSM are extracted for this purpose. Later, the functional model and the specifications are automatically translated into the input format of the nuXmv model checking tool. nuXmv performs model checking and generates counterexamples. These counterexamples are translated to functional tests that can be simulated by the HDL simulator. The proposed method has been implemented as a part of the HDL Retrascope framework. Experiments show that the method can generate shorter tests than the FATE and RETGA methods providing the same or better source code coverage.

Highlights

  • Functional verification is an expensive and time-consuming stage of hardware design process [1]

  • Automated verification methods based on model extraction from the HDL (Hardware Description Language – a collective name for several languages described below) source code are considered in this paper

  • It is based on automatic extraction of High-Level Decision Diagrams (HLDD) [4] from the system’s source code

Read more

Summary

Introduction

Functional verification is an expensive and time-consuming stage of hardware design process [1]. Lebedev M.S, Smolov S.A. A Model Checking-Based Method of Functional Test Generation for HDL Descriptions. Automated verification methods based on model extraction from the HDL (Hardware Description Language – a collective name for several languages described below) source code are considered in this paper. There is no need in such proof when the model is automatically extracted from the system’s source code and translated into the model checker’s format. A method of functional test generation for hardware is proposed in this paper. It is based on automatic extraction of High-Level Decision Diagrams (HLDD) [4] from the system’s source code.

Methods
Results
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call