Optimal test generation for finite state machine models
First Claim
1. A method for developing test sequences for evaluating a design or operation of a finite state machine, said finite state machine characterized by a state diagram having states and original edges interconnecting the states, said method comprising the steps of:
- evaluating unique input/output sequences for each state of said finite state machine so that the unique input/output sequence selected for each state exhibits a minimum cost among all unique input/output sequences evaluated for that state;
expanding said state diagram as a test graph including said states, said original edges, and a plurality of test edges interconnecting the states, said plurality of test edges for testing original edges of the state diagram;
evaluating said test graph for symmetry and, if not symmetric, duplicating selected test edges of said plurality to make said test graph symmetric with a minimum cost; and
generating a tour of the symmetric test graph wherein each test edge is traversed at least once, so that said tour includes said test sequence for said finite state machine at a minimum cost.
1 Assignment
0 Petitions
Accused Products
Abstract
Faster, yet, completely efficient and exhaustive testing is afforded an entity (e.g., protocol, VLSI circuit, software application) represented as finite state machines by employing the present method in which test sequences are generated according to minimum cost function rules. Minimum cost unique signatures are developed for state identification of the finite state machine. Based upon the minimum cost unique signatures, a minimum cost test sequence is generated to cover every state transition of the finite state machine. As a result, every testable aspect of the entity is guaranteed to be tested using a minimum number of steps which represents a considerable cost savings.
-
Citations
1 Claim
-
1. A method for developing test sequences for evaluating a design or operation of a finite state machine, said finite state machine characterized by a state diagram having states and original edges interconnecting the states, said method comprising the steps of:
-
evaluating unique input/output sequences for each state of said finite state machine so that the unique input/output sequence selected for each state exhibits a minimum cost among all unique input/output sequences evaluated for that state; expanding said state diagram as a test graph including said states, said original edges, and a plurality of test edges interconnecting the states, said plurality of test edges for testing original edges of the state diagram; evaluating said test graph for symmetry and, if not symmetric, duplicating selected test edges of said plurality to make said test graph symmetric with a minimum cost; and generating a tour of the symmetric test graph wherein each test edge is traversed at least once, so that said tour includes said test sequence for said finite state machine at a minimum cost.
-
Specification