SMTSampler: Efficient Stimulus Generation from Complex SMT Constraints
SMTSampler: Efficient Stimulus Generation from Complex SMT Constraints
复制标题
DOI:
10.1145/3240765.3240848
复制
发表时间:
2018-11
期刊:
影响因子:
--
通讯作者:
Rafael Dutra;J. Bachrach;Koushik Sen
中科院分区:
文献类型:
--
作者:
Rafael Dutra;J. Bachrach;Koushik Sen
Stimulus generation is an essential part of hardware verification, being at the core of widely applied constrained-random verification techniques. However, as verification problems get more and more complex, so do the constraints which must be satisfied. In this context, it is a challenge to efficiently generate random stimuli which can achieve a good coverage of the design space. We developed a new technique SMTSampler which can sample random solutions from Satisfiability Modulo Theories (SMT) formulas with bit-vectors, arrays, and uninterpreted functions. The technique uses a small number of calls to a constraint solver in order to generate up to millions of stimuli. Our evaluation on a large set of complex industrial SMT benchmarks shows that SMTSampler can handle a larger class of SMT problems, outperforming state-of-the-art constraint sampling techniques in the number of samples produced and the coverage of the constraint space.