АЛГОРИТМ ОПТИМИЗАЦИИ ТЕСТОВ КОНТРОЛЯ ЦИФРОВЫХ СХЕМ
Г.В. Петрухнова, Е.В. Попова, Д.C. Ожерельев · Вестник Воронежского государственного технического университета · 2025
рассматриваются вопросы оптимизации тестов контроля цифровых интегральных схем методом случайного поиска. Тесты направлены на обнаружение неисправностей «константная», «короткое замыкание». Представлен алгоритм, который основывается на генерировании случайных тестовых последовательностей и оценке их эффективности на основе энтропийных критериев. Цифровая схема рассматривается как модель, представленная в виде «черного ящика». Результаты работы «черного ящика» определяются на основе логических уравнений или спецификаций. Рассматривается алгоритм оптимизации длины псевдослучайных тестов контроля цифровых схем, основанный на принципе максимума энтропии и методе случайного поиска с возвратом при неудачном шаге. Один из критериев ранее в подобных задачах не использовался и представляет научную новизну. В данной задаче целевая функция зависит от входных вероятностей и является случайной функцией, явный вид которой неизвестен. Так как непосредственное вычисление значений этой функции и ее производной невозможно, то для решения задачи оптимизации необходимо использовать численные методы нулевого порядка, где используется наблюдение за значениями целевой функции. Процесс оптимизации осуществляется путем подбора весов входных сигналов, определяющих частоту подачи логической единицы на каждый вход схемы и анализа соответствующих выходных реакций. Представленный подход позволяет находить тесты, максимально охватывающие возможные неисправности схемы типа «константная» и «короткое замыкание», тем самым повышая надежность выявления дефектов. Анализ проводился на примере нескольких цифровых схем различной сложности. Содержится описание предложенного алгоритма, анализ его эффективности, сравнительные таблицы результатов оптимизации и тестирования. Алгоритм может быть использован для исследования процессов оптимизации тестов контроля различных цифровых схем we consider the issues of control tests of digital integrated circuits optimization by the random search method. The tests are aimed at detecting "constant" and "short circuit" faults. We present an algorithm that is based on generating random test sequences and evaluating their effectiveness based on entropy criteria. We consider a digital circuit as a model presented in the form of a "black box". We determined the results of the "black box" operation based on logical equations or specifications. The purpose of this article is an algorithm for optimizing the length of pseudorandom digital circuit control tests based on the principle of maximum entropy and a random search method with a return in case of an unsuccessful step. One of the criteria has not been used in such tasks before and represents a scientific novelty. In this problem, the objective function depends on the input probabilities and is a random function whose explicit form is unknown. Since it is impossible to directly calculate the values of this function and its derivative, numerical methods of zero order must be used to solve the optimization problem, which uses observation of the values of the objective function. We carried out an optimization process by selecting the weights of the input signals that determine the frequency of supply of the logical unit to each input of the circuit and analyzing the corresponding output reactions. The presented approach makes it possible to find tests that maximally cover possible circuit failures such as "constant" and "short circuit", thereby increasing the reliability of defect detection. We carried out the analysis using the example of several digital circuits of varying complexity. It contains a description of the proposed algorithm, an analysis of its effectiveness, and comparative tables of optimization and testing results. The algorithm can be used to study the optimization processes of control tests of various digital circuits
Cited by 0 works. doi:10.36622/1729-6501.2025.21.2.011