In the optimization based approach, the test generation problem is reformulated as an energy minimization problem, energy function is minimized to zero in order to find a test pattern for a given fault in the circuit. Hence, the problem is basically the minimization of the energy function which is of the form of pseudo-Boolean quadratic function. The problem reformulation has been detailed in the paper.
Keeping in view of the efficiency and easy parallelization, simulated annealing based approach is found the appropriate choice to be exploited for energy minimization and therefore proposed for optimization based test generation in the paper. The energy function derived for the ATG constraint network for a given fault under consideration in the circuit has been analyzed and function is found multimodal in nature. Simulated annealing efficiently and effectively minimizes such type of functions as the possibility of getting trapped into local minima is very less. However, the selection of the simulated annealing parameters like initial temperature, annealing schedule, temperature length is a complex task especially in parallel and distributed computing environment because the individual processor must be allowed to search the disjoint search space. An efficient parallel simulated annealing based test generation approach is proposed in this paper. The proposed approach handles all the critical issues including the selection of the simulated annealing parameters and effectively minimizes the energy function so derived for test generation.
Finally, the simulated annealing based test generation
approach has been successfully implemented in a distributed
computing environment using PVM and MPI. The experimental results
obtained in PVM and MPI environments have been analyzed using
various plots. These results demonstrate the efficiency and
effectiveness of the proposed algorithm in both PVM and MPI
environments. The algorithm has also been tested and test patterns
were generated for some of the practical example circuits. The
test generation results for these example circuits have also been
depicted using different plots. The results reported in the paper
are found quite encouraging and demonstrate effectiveness of the
proposed algorithm in both the cases. However, there is a clear
evidence that the computation time in MPI case is much less as
compared to PVM and therefore, distributed computing paradigm
using MPI is preferable.