JPH03134579A - Multivalue calculation model and formation of test pattern of logical circuit using same - Google Patents

Multivalue calculation model and formation of test pattern of logical circuit using same

Info

Publication number
JPH03134579A
JPH03134579A JP1271685A JP27168589A JPH03134579A JP H03134579 A JPH03134579 A JP H03134579A JP 1271685 A JP1271685 A JP 1271685A JP 27168589 A JP27168589 A JP 27168589A JP H03134579 A JPH03134579 A JP H03134579A
Authority
JP
Japan
Prior art keywords
input
value
output
series
test pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1271685A
Other languages
Japanese (ja)
Inventor
Koji Ikeda
光二 池田
Kazumi Hatakeyama
一実 畠山
Terumine Hayashi
林 照峯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP1271685A priority Critical patent/JPH03134579A/en
Publication of JPH03134579A publication Critical patent/JPH03134579A/en
Pending legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To efficiently form a test pattern generating no back track by constituting a multivalue calculation model wherein specific functions are allowed to respectively correspond to the AND element, OR element and NOT element constituting a logical circuit. CONSTITUTION:When at least one input value increases, the output values of both of an AND element and an OR element are increased and a function making the difference between the output values to two input series different only in one input smaller (larger in the OR element) than the difference between the output values to two input series increased in the input value of the input equal in the input value among said two input series is allowed to correspond and, with respect to an NOT element, a multivalue calculation model wherein a function reducing the output value thereof when the input value increases is allowed to correspond is constituted. Then, a system composed of the real number slightly larger than 0 and a system composed of the real number slightly smaller than 1 and inputted to the respective models of logic having trouble constituted with respect to a logic circuit and trouble desired to be detected and an input system is altered so as to make the difference between the output values large to form a test pattern.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は論理回路の製造故障を検出するテストパターン
を自動生成する方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for automatically generating test patterns for detecting manufacturing failures in logic circuits.

〔従来の技術〕[Conventional technology]

従来、論理回路のテストパターン生成方法については多
くの方法が提案されているが、特に、バックトラックの
ないテストパターン生成方法に関しては、インターナシ
ョナル・コンファレンス・オン・コンピュータ・デザイ
ン′87 の論文集の第48頁から第51頁において論
じられている。
In the past, many methods have been proposed for generating test patterns for logic circuits, but in particular, a method for generating test patterns without backtracking is described in the Proceedings of the International Conference on Computer Design '87. Discussed on pages 48-51.

この方法について、第2図、第3図および第4図を用い
て説明する。第2図は、論理回路と検出したい故障が与
えられたときその故障を検出するテストパターンを生成
する上記従来手法のフローチャートである。201でま
ず任意のテストベクトルを選択する。202では選択さ
れたテストベクトルのすべての隣接ベクトルに対してし
きい値シミュレーションという操作を行う。しきい値シ
ミュレーションというのは論理回路に含まれる各素子が
AND素子ならば入力値の平均に第3図に示したしきい
値関数と呼ぶ関数を施した値を、OR素子ならば入力値
の平均に第4図に示したしきい値開数を施した値を出力
値としたシミュレーションである。上記シミュレーショ
ンを正常回路と故障回路の2つの回路に対して行い、出
力値の差の逆数をコストとして計算する。203,20
4でコストの最小のベクトルが、与えられた故障を検出
するテストパターンかどうか判定し、テストパターンな
らば終了、テストパターンでなければコスト最小のベク
トルを次の試行ベクトルとして上記操作を繰り返すこと
によりテストパターンを求める手法である。
This method will be explained using FIGS. 2, 3, and 4. FIG. 2 is a flowchart of the conventional method for generating a test pattern for detecting a fault given a logic circuit and a fault to be detected. First, in step 201, an arbitrary test vector is selected. In step 202, an operation called threshold simulation is performed on all adjacent vectors of the selected test vector. Threshold simulation means that if each element included in a logic circuit is an AND element, the value obtained by applying a function called the threshold function shown in Figure 3 to the average of the input values, and if each element included in the logic circuit is an OR element, the value of the input value is calculated. This is a simulation in which the output value is the value obtained by applying the threshold numerical value shown in FIG. 4 to the average. The above simulation is performed on two circuits, a normal circuit and a failed circuit, and the reciprocal of the difference in output values is calculated as the cost. 203,20
In step 4, it is determined whether the vector with the minimum cost is a test pattern that detects the given fault, and if the test pattern is the test pattern, the process ends; if it is not the test pattern, the vector with the minimum cost is used as the next trial vector and the above operation is repeated. This is a method for finding test patterns.

従来手法の適用例を第7図を用いて説明する。An application example of the conventional method will be explained using FIG. 7.

第7図は2つのAND素子からなる回路である。FIG. 7 shows a circuit consisting of two AND elements.

いま、この回路のAND素子71の第1入力端子に信号
が常に1に固定した故障を検出するテストパターンを従
来手法を用いて求めてみる。まず初期ベクトルとして(
0,O,O)を与えると、隣接ベクトルは(1,O,O
)、(0,1,0)(0,0,1)の3つである。これ
ら4つのベクトルに対してコストを求めるとそれぞれ、
324゜324、ω、19となり、いずれのベクトルも
テストパターンでないので、次の試行ベクトルをコスト
最小な(0,0,1)として隣接ベクトル(1,0,1
)、(0,1,1)、(0,O,O)を含む4つのベク
トルに対してコストを求める。
Now, a test pattern for detecting a failure in which the signal at the first input terminal of the AND element 71 of this circuit is always fixed at 1 will be determined using a conventional method. First, as the initial vector (
0, O, O), the adjacent vector is (1, O, O
), (0,1,0) (0,0,1). When calculating the cost for these four vectors, each
324° 324, ω, 19, and since none of the vectors is a test pattern, the next trial vector is set to the minimum cost (0, 0, 1) and the adjacent vector (1, 0, 1
), (0, 1, 1), and (0, O, O).

この中で、コスト最小のベクトル(1,0,1)はテス
トパターンであるので処理を終了する。
Among these, the vector (1, 0, 1) with the minimum cost is a test pattern, so the process ends.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来手法は、故障点に故障時と異なる信号値を制御
する点についてはテストベクトルの変化に強く影響され
るが、故障情報を出力に伝播する点についてはテストベ
クトルにはあまり強く影響されず、このためテストパタ
ーン生成を失敗することがある。例えば、第7図に示す
回路のAND素子72の第1入力端子の信号が常に1に
縮退する故障を検出するテストパターンを初期ベクトル
(0,O,O)で従来手法を用いて求めてみる。
The above conventional method is strongly influenced by changes in test vectors in terms of controlling signal values different from those at the time of failure at the failure point, but is not so strongly influenced by test vectors in terms of propagating failure information to the output. , Therefore, test pattern generation may fail. For example, a test pattern for detecting a fault in which the signal at the first input terminal of the AND element 72 of the circuit shown in FIG. .

初期ベクトル(0,O,O)およびその隣接ペクト/L
/ (0,1,O)、  (0,0,1)#  (0,
0゜1)のコストは第8図に示すようにそれぞれ17.
86.Co、17.89,17.89  となる。
Initial vector (0, O, O) and its adjacent vector/L
/ (0,1,O), (0,0,1)# (0,
The cost of 0°1) is 17.0%, respectively, as shown in Figure 8.
86. Co, 17.89, 17.89.

これより、初期ベクトルのコストが最小(実際は(0,
1,O)、(0,0,1)と同値)なので、次の試行ベ
クトルが変化せず、求めるテストパターン(0,1,1
)に到達しないで処理を終了する。
From this, the cost of the initial vector is the minimum (actually (0,
1, O), (0, 0, 1)), the next trial vector does not change and the desired test pattern (0, 1, 1)
) is not reached.

〔課題を解決するための手段〕[Means to solve the problem]

上記課題を解決するため。 To solve the above issues.

AND素子、OR素子、NOT素子およびこれらの素子
を組み合わせて構成できる論理要素からなる論理回路に
対して、AND素子に対しては、少なくとも1つの入力
値が増加したときその出力値を増加させ、かつ1入力の
み異なる2入力系列に対する出力値の差がその2入力系
列のうち入力値の等しい入力の入力値を増加した2入力
系列に対する出力値の差より小さくするような関数を対
応させ、OR素子に対しては、少なくとも1つの入力値
が増加したときその出力値を増加させ、かつ1入力のみ
異なる2入力系列に対する出力値の差がその2入力系列
のうち入力値の等しい入力の入力値を増加した2入力系
列に対する出力値の差より大きくするような関数を対応
させ、NOT素子に対しては、入力値が増加したときそ
の出力値を減少するような関数を対応させ、上記素子を
組み合わせた論理要素に対してはその論理要素を構成す
る論理素子に対応する関数を組み合わせた関数を対応さ
せた多値計算モデルを、上記論理回路と検出したい故障
に対して、故障がない論理および故障がある論理に対し
て各々構成し、0よりわずかに大きい実数および1より
わずかに小さい実数からなる系列を上記2つの計算モデ
ルに入力し、該2つの計算モデルの出力値の差が大きく
なるように入力系列を変更することによりテストパター
ンを生成するようにしたり、また、 0および1からなる系列を上記2つの計算モデルに入力
し、該2つの計算モデルの出力値の差が大きくなるよう
に入力系列を変更することによりテストパターンを生成
するようにしたり、また、上記の多値計算モデルにおい
て、AND素子に対応する関数を入力値の積で与え、O
R素子に対応する関数を各入力に対して1−入力値を求
めて掛け合わせた値を1から引いた値で与え、NOT素
子に対応する関数を1−入力値で与えた多値計算モデル
を、上記論理回路と検出したい故障に対して、故障がな
い論理および故障がある論理に対して各々構成し、Oよ
りわずかに大きい実数および1よりわずかに小さい実数
からなる系列を上記2つの計算モデルに入力し、該2つ
の計算モデルの出力値の差が大きくなるように入力系列
を変更することによりテストパターンを生成するように
したり、また。
For a logic circuit consisting of an AND element, an OR element, a NOT element, and a logic element that can be configured by combining these elements, the AND element increases its output value when at least one input value increases, And, the difference in output values for two input series that differ in only one input is made smaller than the difference in output values for two input series in which the input values of the inputs with the same input value are increased, and OR is performed. For an element, when at least one input value increases, its output value increases, and the difference between the output values for two input series that differ only in one input is the input value of the input with the same input value among the two input series. A function is associated with the NOT element that makes the output value larger than the difference between the output values for the increased two input series, and a function that decreases the output value when the input value increases is associated with the NOT element. For the combined logic elements, a multi-value calculation model is created that corresponds to a function that is a combination of functions corresponding to the logic elements that constitute the logic elements, and for the above logic circuit and the fault to be detected, a fault-free logic and Configure each for logic with a fault, input a series of real numbers slightly larger than 0 and real numbers slightly smaller than 1 to the above two calculation models, and the difference between the output values of the two calculation models becomes large. A test pattern can be generated by changing the input series, or a series consisting of 0 and 1 can be input into the two calculation models mentioned above, and the difference between the output values of the two calculation models can be increased. A test pattern can be generated by changing the input sequence, or in the multivalue calculation model described above, a function corresponding to the AND element can be given as a product of input values, and O
A multi-value calculation model in which the function corresponding to the R element is given as the value obtained by subtracting the multiplied value of 1-input value for each input from 1, and the function corresponding to the NOT element is given as 1-input value. are constructed for the above logic circuit and the fault to be detected, respectively for the logic without a fault and the logic with a fault, and the series consisting of real numbers slightly larger than O and real numbers slightly smaller than 1 is calculated using the above two calculations. A test pattern may be generated by inputting data into a model and changing the input series so that the difference between the output values of the two calculation models increases.

上記の多値計算モデルにおいては、AND素子に対応す
る関数を入力値の平均値を定義域とする(0、0)およ
び(1,1)を通る下に凸な関数とし、OR素子に対応
する関数を入力値の平均値を定義域とする(0、0)お
よび(1,1)を通る上に凸な関数とし、NOT素子に
対応する関数を1−入力値で与えた多値計算モデルを、
上記論理回路と検出したい故障に対して、故障がない論
理および故障がある論理に対して各々構成し、0および
1からなる系列を上記2つの計算モデルに入力し、該2
つの計算モデルの出力値の差が大きくなるように入力系
列を変更することによりテストパターンを生成するよう
にする。
In the above multi-value calculation model, the function corresponding to the AND element is a downwardly convex function passing through (0, 0) and (1, 1) whose domain is the average value of the input values, and the function corresponding to the OR element is A multivalued calculation in which the function corresponding to the NOT element is given as a 1-input value, where the function is an upwardly convex function passing through (0, 0) and (1, 1) whose domain is the average value of the input values. model,
For the above logic circuit and the fault to be detected, construct logic without a fault and logic with a fault, input a series of 0 and 1 to the above two calculation models, and
A test pattern is generated by changing the input series so that the difference between the output values of two calculation models becomes large.

〔作用〕[Effect]

上記のようにAND素子に対しては、少なくとも1つの
入力値が増加したときその出力値を増加させ、かつ1入
力のみ異なる1入力系列に対する出力値の差がその2入
力系列のうち入力値の等しい入力の入力値を増加した2
入力系列に対する出力値の差より小さくするような関数
を対応させ。
As mentioned above, for an AND element, when at least one input value increases, its output value increases, and the difference between the output values for one input series that differs only in one input is the difference between the input values of the two input series. Increased input value for equal inputs by 2
Correspond to a function that makes the difference between the output value and the input series smaller than the difference.

OR素子に対しては、少なくとも1つの入力値が増加し
たときその出力値を増加させ、かつ1入力のみ異なる2
入力系列に対する出力値の差がその2入力系列のうち入
力値の等しい入力の入力値を増加した2入力系列に対す
る出力値の差より大きくするような関数を対応させるこ
とにより、AND素子においては入力値が増加し、OR
素子においては入力値が減少することにより故障信号の
観測性が向上すれば即座にコストの向上に反映するので
上記問題点は解決される。また、 上記のようにAND素子に対応する関数を入力値の積で
与え、OR素子に対応する関数を各入力に対して1−入
力値を求めて掛け合わせた値を1から引いた値で与え、
NOT素子に対応する関数を1−入力値で与えるように
することやAND素子に対応する関数を入力値の平均値
を定義域とする(0.0)および(1,1)を通る下に
凸な関数とし、OR素子に対応する関数を入力値の平均
値を定義域とする(0.0)および(1,1)を通る上
に凸な関係とし、NOT素子に対応する関数を1−入力
値で与えるようにすることによってもAND素子におい
ては入力値が増加し、OR素子においては入力値が減少
することにより故障信号のWA測性が向上すれば即座に
コストの向上に反映するので上記問題点は解決される。
For an OR element, when at least one input value increases, its output value increases, and only one input differs.
By associating a function such that the difference in the output value for the input series is larger than the difference in the output value for the two input series in which the input value of the input with the same input value is increased among the two input series, the input The value increases and OR
In the element, if the observability of the failure signal is improved by reducing the input value, this will immediately be reflected in an improvement in cost, so the above problem is solved. Also, as shown above, the function corresponding to the AND element is given by the product of the input values, and the function corresponding to the OR element is given for each input by 1 - the value obtained by multiplying the input value by 1. give,
The function corresponding to the NOT element can be given as 1-input value, and the function corresponding to the AND element can be given as a domain that passes through (0.0) and (1, 1). The function corresponding to the OR element is an upwardly convex relationship passing through (0.0) and (1, 1) whose domain is the average value of the input values, and the function corresponding to the NOT element is 1. - Even if the input value is given as an input value, the input value increases in the AND element, and the input value decreases in the OR element, and if the WA metric of the fault signal improves, this will immediately reflect in an improvement in cost. Therefore, the above problem is solved.

〔実施例〕〔Example〕

以下1本発明の一実施例を第1図を用いて説明する。第
1図は本発明の概略フローチャートで従来法のフローチ
ャートと比較すると102のシミュレーション方法が異
なっている。近似値シミュレーションと名付けたこのシ
ミュレーションは回路モデルに入力するテストベクトル
としてOおよび1に対してその近似値(ここでは0.0
1 および0.99)からなる系列を入力することが特
徴である。論理素子はOおよび1の2値しか扱えないの
で、実数値を扱うために各論理素子の演算を次のように
定義する。AND素子に対しては入力値の積を出力値と
する。OR素子に対しては1と各入力値との差の積を1
との差を出力値とする。
An embodiment of the present invention will be described below with reference to FIG. FIG. 1 is a schematic flowchart of the present invention, and when compared with the flowchart of the conventional method, 102 simulation methods are different. This simulation, named approximate value simulation, uses approximate values (here 0.0) for O and 1 as test vectors input to the circuit model.
1 and 0.99) is input. Since a logic element can only handle two values, O and 1, operations for each logic element are defined as follows in order to handle real values. For an AND element, the output value is the product of input values. For the OR element, the product of the difference between 1 and each input value is 1
The difference between the two is the output value.

NOT素子に対しては1と入力値との差を出力値とする
。故障信号線に関しては、常にOに縮退する信号線の値
を0.0 に、常に1に縮退する信号線の値を1.0 
 にする。以上の演算規則をもつ回路モデルを正常回路
および故障回路に対して構成し、試行ベクトルおよびそ
の隣接ベクトルに関して、正常回路および故障回路の出
方値を計算する。
For a NOT element, the difference between 1 and the input value is set as the output value. Regarding fault signal lines, set the value of the signal line that always degenerates to 0 to 0.0, and the value of the signal line that always degenerates to 1 to 1.0.
Make it. A circuit model with the above calculation rules is constructed for a normal circuit and a faulty circuit, and the output values of the normal circuit and faulty circuit are calculated with respect to the trial vector and its adjacent vectors.

なお、正常回路と故障回路の出力値の差の逆数をコスト
とし、コストを減少する方向で試行ベクトルを変化させ
ることによってテストパターンを導出する。
Note that the cost is the reciprocal of the difference between the output values of the normal circuit and the faulty circuit, and the test pattern is derived by changing the trial vector in a direction that reduces the cost.

二の手法を用いて第7図の回路のAND素子の第1入力
端子の信号が常に1に縮退する故障を検出するテストパ
ターンを求める。初期ベクトルとしては前述の例と同様
(0,O,O)を用いる。
Using the second method, a test pattern for detecting a failure in which the signal at the first input terminal of the AND element of the circuit shown in FIG. 7 always degenerates to 1 is determined. As the initial vector, (0, O, O) is used as in the previous example.

初期ベクトル(0,O,O)およびその隣接ベクトル(
1,O,O)、  (0,1,O)、  (0,0゜1
)のコストを計算すると第9図に示すようにそれぞれ1
0101,1000000,102,102となる。こ
れにより、次の試行ベクトルとしてコスト最小のベクト
ル(0,1,O)または(0,0゜1)を選択し、その
隣接ベクトルと共にコスト計算を行う。その結果、隣接
ベクトル(0,1,1)をテストパターンとして導出す
ることができる。
The initial vector (0, O, O) and its adjacent vector (
1,O,O), (0,1,O), (0,0゜1
), each cost is 1 as shown in Figure 9.
0101, 1000000, 102, 102. As a result, the vector (0, 1, O) or (0, 0° 1) with the minimum cost is selected as the next trial vector, and the cost is calculated together with its adjacent vectors. As a result, the adjacent vector (0, 1, 1) can be derived as a test pattern.

また、本発明の別の実施例を第2図、第5図および第6
図を用いて説明する。第2図は従来法の概略フローチャ
ートであるが、202におけるしきい値シミュレーショ
ンで用いるしきい値関数を第3図および第4図に示すも
のからAND素子に関するものは第5図、OR素子に関
するものは第6図に示すものに変更する。このしきい値
シミュレーションにより故障情報が伝播しやすくなった
とき即座にコストが減少するので、(0,O,O)のコ
ストより(0,1,O)または(0,0,1)のコスト
の方が小さくなり、求めるテストパターン(0,1,l
)を導出することができる。
Further, other embodiments of the present invention are shown in FIGS. 2, 5 and 6.
This will be explained using figures. FIG. 2 is a schematic flowchart of the conventional method, and the threshold functions used in the threshold simulation in 202 are shown in FIGS. 3 and 4, those related to AND elements are shown in FIG. 5, and those related to OR elements are shown in FIG. is changed to that shown in FIG. This threshold simulation reduces the cost immediately when failure information propagates more easily, so the cost of (0,1,O) or (0,0,1) is lower than the cost of (0,O,O). is smaller, and the desired test pattern (0, 1, l
) can be derived.

〔発明の効果〕〔Effect of the invention〕

本発明により、故障情報伝播によるコストの増減が顕著
になり、バックトラックを生じないテストパターン生成
を効率良く行うことができる。特に、第7図りこ示した
例のように単にテストパターン生成の手間が低減するだ
けではなく、テストパターンを生成できなかった故障の
テストパターンを求めることができるようになった。例
えば実施例1で示した方法と従来法との性能比較を行っ
たところ、実施例1で示した方法は従来法の未検出故障
を半減することができた。未検出故障のテストパターン
を人手で作成するとすると、本手法により人手工数を半
分に低減することができる。
According to the present invention, increases and decreases in cost due to failure information propagation become noticeable, and test patterns can be efficiently generated without backtracking. In particular, not only is the effort required to generate test patterns reduced as in the example shown in Figure 7, but it has also become possible to obtain test patterns for failures for which test patterns could not be generated. For example, when comparing the performance of the method shown in Example 1 and the conventional method, it was found that the method shown in Example 1 was able to reduce the number of undetected failures by half in the conventional method. If test patterns for undetected faults are created manually, this method can reduce the number of manual steps by half.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例の概略フロー図、第2図は従
来法の概略フロー図、第3図は従来法のしきい値シミュ
レーションで用いるAND素子のしきい値関数、第4図
は従来法のしきい値シミュレーションでもちいるOR素
子のしきい値関数。 第5図は本発明の他の実施例のしきい値シミュレーショ
ンで用いるAND素子のしきい値開数、第6図は本発明
の他の実施例のしきい値シミュレーションでもちいるO
R素子のしきい値関数、第7図は従来手法の課題を説明
する回路図、第8図は第7図に対する従来法のシミュレ
ーション結果、第9図は第7図に対する本発明の一実施
例でのシミュレーション結果を示す図である。 701.702,703−・・外部入力端子、704第
1図 第 2 図 第 図 第 図 入力値の平均ゆ 第 図 第 図 入力値の平均−一 第 図 第 図 第 図
Fig. 1 is a schematic flow diagram of an embodiment of the present invention, Fig. 2 is a schematic flow diagram of the conventional method, Fig. 3 is the threshold function of the AND element used in the threshold simulation of the conventional method, and Fig. 4 is the threshold function of the OR element used in the threshold simulation of the conventional method. FIG. 5 shows the threshold numerical value of the AND element used in the threshold simulation of another embodiment of the present invention, and FIG. 6 shows the O used in the threshold simulation of another embodiment of the present invention.
Threshold function of R element, FIG. 7 is a circuit diagram explaining the problems of the conventional method, FIG. 8 is a simulation result of the conventional method for FIG. 7, and FIG. 9 is an example of the present invention for FIG. 7. It is a figure showing the simulation result in . 701. 702, 703 - External input terminal, 704 Fig. 1 Fig. 2 Fig. 2 Average of input values

Claims (1)

【特許請求の範囲】 1、AND素子、OR素子、NOT素子又はこれらの素
子を組み合わせて構成できる論理要素からなる論理回路
に対して構成された多値計算モデルにおいて、AND素
子に対しては、少なくとも1つの入力値が増加したとき
該素子の出力値を増加させ、かつ1入力のみ異なる2入
力系列に対する出力値の差が該2入力系列のうち入力値
の等しい入力のみ入力値を増加した2入力系列に対する
出力値の差より小さくするような関数を対応させ、OR
素子に対しては、少なくとも1つの入力値が増加したと
き該素子の出力値を増加させ、かつ1入力のみ異なる2
入力系列に対する出力値の差が該2入力系列のうち入力
値の等しい入力の入力値を増加した2入力系列に対する
出力値の差より大きくするような関数を対応させ、NO
T素子に対しては、入力値が増加したとき該素子の出力
値を減少するような関数を対応させ、上記素子を組み合
わせた論理要素に対しては該論理要素を構成する論理素
子に対応する関数を組み合わせた関数を対応させたこと
を特徴とする多値計算モデル。 2、請求項1記載の多値計算モデルにおいて、AND素
子に対応する関数を入力値の積で与え、OR素子に対応
する関数を各入力に対して(1−入力値)を求めて掛け
合わせた値を1から引いた値で与え、NOT素子に対応
する関数を(1−入力値)で与えたことを特徴とする多
値計算モデル。 3、請求項1記載の多値計算モデルにおいて、AND素
子に対応する関数を入力値の平均値を定義域とする(0
、0)および(1、1)を通る下に凸な関数とし、OR
素子に対応する関数を入力値の平均値を定義域とする(
0、0)および(1、1)を通る上に凸な関数とし、N
OT素子に対応する関数を(1−入力値)で与えたこと
を特徴とする多値計算モデル。 4、論理回路の故障を検出するテストパターンを生成す
る方法において、与えられた論理回路と検出した故障に
対して、故障がない論理および故障がある論理に対して
各々請求項2記載の計算モデルを構成し、0よりわずか
に大きい実数および1よりわずかに小さい実数からなる
系列を該2つの計算モデルに入力し、該2つの計算モデ
ルの出力値の差が大きくなるように入力系列を変更する
ことによりテストパターンを生成することを特徴とする
論理回路のテストパターン生成方法。 5、論理回路の故障を検出するテストパターンを生成す
る方法において、与えられた論理回路と検出したい故障
に対して、故障がない論理および故障がある論理に対し
て各々請求項3記載の計算モデルを構成し、0および1
からなる系列を前記2つの計算モデルに入力し、前記2
つの計算モデルの出力値の差が大きくなるように入力系
列を変更することによりテストパターンを生成すること
を特徴とする論理回路のテストパターン生成方法。 6、0、1の他にその間を補間する論理値を設け、多値
シミュレーションに基づいて論理回路のテストパターン
を求める方法において、AND素子およびNAND素子
においては入力端子のいずれかが1に、OR素子および
NOR素子においては入力端子のいずれかが0に近づい
たならば他の入力端子に出現している故障情報が伝播し
やすくなつたことを上記素子の出力値に反映させること
を特徴とした論理回路のテストパターン生成方法。 7、論理回路に0と1からなる入力系列を与え、正常時
と故障時の出力系列を比較することにより故障を検出す
るパターンを求める方法にして、与えられた入力系列が
故障を検出するテストパターンにどれだけ近いかの指標
を、前記入力系列の0および1をそれぞれ0より大きく
0.5より小さい実数および0.5より大きく1より小
さい実数に対応し、論理積、論理和および否定演算をそ
れぞれ入力値の積、1−{(1−入力値)の積}および
1−入力値として行つた正常時と故障時の出力系列の評
価値にすることによりテストパターンを求めることを特
徴とする論理回路のテストパターン生成方法。 8、請求項7記載の正常時と故障時の出力系列の評価値
を前記正常時の出力系列と該故障時の出力系列の対応す
る各要素の差の最大値とする論理回路のテストパターン
生成方法。9、請求項7記載の正常時と故障時の出力系
列の評価値を該正常時の出力系列と前記故障時の出力系
列の対応する各要素の差の平方和とする論理回路のテス
トパターン生成方法。10、請求項7記載の正常時と故
障時の出力系列の評価値を前記正常時の出力系列と前記
故障時の出力系列の対応する各要素の差の和とする論理
回路のテストパターン生成方法。
[Claims] 1. In a multi-value calculation model configured for a logic circuit consisting of an AND element, an OR element, a NOT element, or a logic element that can be configured by combining these elements, for the AND element: The output value of the element is increased when at least one input value increases, and the difference between the output values for two input series that differ in only one input increases the input value of only the inputs with the same input value among the two input series. Correlate a function that makes the difference between the output value and the input series smaller than the difference, and perform OR
For an element, when at least one input value increases, the output value of the element increases, and only one input differs.
Correspond to a function such that the difference in output value for the input series is larger than the difference in output value for the two input series in which the input value of the input with the same input value is increased among the two input series, and NO
A function that decreases the output value of the element when the input value increases is associated with the T element, and a function that decreases the output value of the element when the input value increases, and a function that is a combination of the above elements is associated with the logic elements that constitute the logic element. A multivalue calculation model characterized by a combination of functions that correspond to each other. 2. In the multi-value calculation model according to claim 1, the function corresponding to the AND element is given as a product of input values, and the function corresponding to the OR element is multiplied by calculating (1-input value) for each input. A multi-value calculation model characterized in that a value subtracted from 1 is given as a value, and a function corresponding to a NOT element is given as (1-input value). 3. In the multi-value calculation model according to claim 1, the function corresponding to the AND element has an average value of input values as a domain (0
, 0) and (1, 1), and OR
The function corresponding to the element is defined by the average value of the input values as the domain (
0, 0) and (1, 1), and N
A multi-value calculation model characterized in that a function corresponding to an OT element is given as (1-input value). 4. In a method of generating a test pattern for detecting a fault in a logic circuit, for a given logic circuit and a detected fault, the calculation model according to claim 2 is applied to logic without a fault and logic with a fault, respectively. , input a series of real numbers slightly larger than 0 and real numbers slightly smaller than 1 to the two calculation models, and change the input series so that the difference between the output values of the two calculation models becomes large. 1. A method for generating a test pattern for a logic circuit, characterized in that a test pattern is generated by: 5. In a method of generating a test pattern for detecting a fault in a logic circuit, for a given logic circuit and a fault to be detected, the calculation model according to claim 3 is applied to logic without a fault and logic with a fault, respectively. and 0 and 1
Input the series consisting of into the two calculation models, and
A method for generating a test pattern for a logic circuit, characterized in that a test pattern is generated by changing an input series so that the difference between output values of two calculation models increases. In this method, in addition to 6, 0, and 1, logical values are provided to interpolate between them, and a test pattern for a logic circuit is obtained based on multi-value simulation. The device and the NOR element are characterized in that if any of the input terminals approaches 0, the fact that fault information appearing at other input terminals becomes easier to propagate is reflected in the output value of the element. A method for generating test patterns for logic circuits. 7. A test in which the given input sequence detects a failure by giving an input sequence consisting of 0s and 1s to a logic circuit, and finding a pattern that detects a failure by comparing the output sequence during normal and failure times. The index of how close the input sequence is to the pattern is determined by corresponding to real numbers greater than 0 and less than 0.5 and real numbers greater than 0.5 and less than 1, respectively, and logical product, logical sum, and negation operations. The test pattern is obtained by making the evaluation values of the output series during normal and failure times performed as the product of input values, 1-{product of (1-input value)}, and 1-input value, respectively. A method for generating test patterns for logic circuits. 8. Generation of a test pattern for a logic circuit in which the evaluation value of the output series during normal operation and at the time of failure according to claim 7 is the maximum value of the difference between corresponding elements of the output series during normal operation and the output series at the time of failure. Method. 9. Generation of a test pattern for a logic circuit in which the evaluation value of the output series at normal times and at the time of failure according to claim 7 is the sum of squares of the differences between corresponding elements of the output series at normal times and the output series at the time of failure. Method. 10. A method for generating a test pattern for a logic circuit according to claim 7, wherein the evaluation value of the output series during normal operation and during failure is the sum of the differences between corresponding elements of the output sequence during normal operation and the output sequence during failure. .
JP1271685A 1989-10-20 1989-10-20 Multivalue calculation model and formation of test pattern of logical circuit using same Pending JPH03134579A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1271685A JPH03134579A (en) 1989-10-20 1989-10-20 Multivalue calculation model and formation of test pattern of logical circuit using same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1271685A JPH03134579A (en) 1989-10-20 1989-10-20 Multivalue calculation model and formation of test pattern of logical circuit using same

Publications (1)

Publication Number Publication Date
JPH03134579A true JPH03134579A (en) 1991-06-07

Family

ID=17503431

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1271685A Pending JPH03134579A (en) 1989-10-20 1989-10-20 Multivalue calculation model and formation of test pattern of logical circuit using same

Country Status (1)

Country Link
JP (1) JPH03134579A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0529670A2 (en) * 1991-08-30 1993-03-03 Matsushita Electric Industrial Co., Ltd. Test pattern generating apparatus
JP2007188230A (en) * 2006-01-12 2007-07-26 Toshiba Corp Failure list and test pattern preparation device, failure list and test pattern preparation method, failure list preparation and failure detection rate calculation device, and failure list preparation and failure detection rate calculation method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0529670A2 (en) * 1991-08-30 1993-03-03 Matsushita Electric Industrial Co., Ltd. Test pattern generating apparatus
EP0529670A3 (en) * 1991-08-30 1993-12-15 Matsushita Electric Ind Co Ltd Test pattern generating apparatus
US5434869A (en) * 1991-08-30 1995-07-18 Matsushita Electric Industrial Co., Ltd. Test pattern generating apparatus
JP2007188230A (en) * 2006-01-12 2007-07-26 Toshiba Corp Failure list and test pattern preparation device, failure list and test pattern preparation method, failure list preparation and failure detection rate calculation device, and failure list preparation and failure detection rate calculation method

Similar Documents

Publication Publication Date Title
EP0503656B1 (en) Test pattern generation device
JPH08338861A (en) Test in vlsi circuit with non-boolean primitive and removal method of redundancy
JP2985922B2 (en) Logic function data processor
JPH1062494A (en) Estimation of trouble place of sequence circuit
US5150367A (en) Composite range constraint propagation control
JPH03134579A (en) Multivalue calculation model and formation of test pattern of logical circuit using same
US6131181A (en) Method and system for identifying tested path delay faults
JPH07168877A (en) Timing analytical method of integrated circuit
Entrena et al. Timing optimization by an improved redundancy addition and removal technique
Chen et al. A new framework for static timing analysis, incremental timing refinement, and timing simulation
Golubeva BDD and DNF based algorithms for constructing all testability functions of combinational circuit
Aarna et al. Parallel fault simulation of digital circuits
JP2658857B2 (en) Equivalent fault extraction method and device
Chen et al. Design verification by using universal test sets
JP3098507B2 (en) Logic verification method and method
JPH04303778A (en) Integrated circuit
JPS6375576A (en) Fault detection system for integrated circuit
JPH02294843A (en) Logical verification device
Yunzhan The complexity analysis of fault simulation algorithm for digital circuits
Ubar et al. Defect-oriented mixed-level fault simulation in digital systems
JPH0784817A (en) Method for generating test pattern of combination circuit
JPH05242185A (en) Fault simulation device
Ubar et al. Defect-Oriented Mixed-Level Fault Ëimulation in Digital Ëystems
JPH1048292A (en) Fault simulation method
JP2000241514A (en) Parallel generation method for test pattern and generation apparatus for test pattern