Title :
Use of constraint solving in order to generate test vectors for behavioral validation
Author :
Paoli, Christophe ; Nivet, Marie-Laure ; Santucci, Jean-François
Author_Institution :
CNRS, Corsica Univ., Corte, France
Abstract :
Validation of VHDL descriptions at the early phases of the microelectronic design is one of the most time consuming task design. This paper presents a test vector generation method for behavioral VHDL design. This method analyzes control and dependence flow of VHDL program. We use the cyclomatic complexity, that is a software metric based on a graph associated with the control part of software: the control flow graph (CFG). Significant control flow paths are selected using a powerful algorithm: the Poole´s algorithm. The execution of this set of paths satisfies the coverage of each decision outcome of the VHDL program. Any additional test path would be a linear combination of the basis paths already tested and therefore considered to be redundant. By considering the selected paths as a group of constraints, test data are generated and solved using constraint programming. These data form the test bench that test the VHDL description.
Keywords :
constraint handling; hardware description languages; logic design; logic testing; software metrics; Poole´s algorithm; VHDL descriptions; behavioral validation; constraint programming; constraint solving; control flow graph; cyclomatic complexity; microelectronic design; software metric; test vectors generation; Aerospace testing; Design methodology; Flow graphs; Formal verification; Hardware design languages; Microelectronics; Research and development; Software engineering; Software metrics; Software testing;
Conference_Titel :
High-Level Design Validation and Test Workshop, 2000. Proceedings. IEEE International
Conference_Location :
Berkeley, CA, USA
Print_ISBN :
0-7695-0786-7
DOI :
10.1109/HLDVT.2000.889553