Test generation is improved by learning the relationship between an
initial state vector for a stimuli generator and generation success. A
stimuli generator for a design-under-verification is provided with
information about the success probabilities of potential assignments to
an initial state bit vector. Selection of initial states according to the
success probabilities ensures a higher success rate than would be
achieved without this knowledge. The approach for obtaining an initial
state bit vector employs a CSP solver. A learning system is directed to
model the behavior of possible initial state assignments. The learning
system develops the structure and parameters of a Bayesian network that
describes the relation between the initial state and generation success.