Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2687498B2 - Test pattern generation method - Google Patents
[go: Go Back, main page]

JP2687498B2 - Test pattern generation method - Google Patents

Test pattern generation method

Info

Publication number
JP2687498B2
JP2687498B2 JP63279761A JP27976188A JP2687498B2 JP 2687498 B2 JP2687498 B2 JP 2687498B2 JP 63279761 A JP63279761 A JP 63279761A JP 27976188 A JP27976188 A JP 27976188A JP 2687498 B2 JP2687498 B2 JP 2687498B2
Authority
JP
Japan
Prior art keywords
test pattern
bus
logic circuit
generation method
control gate
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.)
Expired - Lifetime
Application number
JP63279761A
Other languages
Japanese (ja)
Other versions
JPH02126332A (en
Inventor
英司 原田
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP63279761A priority Critical patent/JP2687498B2/en
Publication of JPH02126332A publication Critical patent/JPH02126332A/en
Application granted granted Critical
Publication of JP2687498B2 publication Critical patent/JP2687498B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はテストパターン生成方式に関し、特にバスを
含む論理回路のテストパターンを生成するテストパター
ン生成方式に関する。
The present invention relates to a test pattern generation method, and more particularly to a test pattern generation method for generating a test pattern of a logic circuit including a bus.

〔従来の技術〕[Conventional technology]

従来、論理回路の故障を調べるための方法として、テ
ストパターン信号を入力端子から論理回路に入力し、出
力端子において期待出力と異なる出力が検出されたと
き、被検査回路に故障があると判定するテストが行われ
ている。このテストパターン信号を生成するためには、
まず論理回路の中の着目した一つの故障点を調べるため
のテストパターン信号を得る必要があり、これには次の
ような方法が行われている。
Conventionally, as a method for investigating a failure of a logic circuit, when a test pattern signal is input to the logic circuit from an input terminal and an output different from an expected output is detected at the output terminal, it is determined that the circuit under test has a failure. Testing is being done. To generate this test pattern signal,
First, it is necessary to obtain a test pattern signal for investigating one focused point in the logic circuit, and the following method is used for this purpose.

まず、論理回路の中の調べようとしている故障点から
入力端子,出力端子までたどる一つの経路に対してテス
トパターン信号を求める。このため、テストパターン信
号を入力端子に入力したとき、出力端子に正常時の出力
として期待されるパターンと異なったパターンが出力さ
れ、その出力信号から故障点の故障状態を調べられるよ
うなテストパターン信号(第1のテストパターン信号)
を生成する。
First, a test pattern signal is obtained for one path from the fault point to be investigated in the logic circuit to the input terminal and the output terminal. Therefore, when a test pattern signal is input to the input terminal, a pattern that is different from the pattern expected as a normal output is output to the output terminal, and the output signal can be used to check the fault condition at the fault point. Signal (first test pattern signal)
Generate

次に、上記に述べた故障点を含む入力端子から出力端
子までの一つの経路以外に、論理回路全体の中で他にテ
ストパターン信号を加えられる入力端子があれば、この
入力端子に対して上記のテストパターンとは別の、乱数
などで発生した無作為の条件により作成されたテストパ
ターン信号(第2のテストパターン信号)を入力信号と
して割当てていた。
Next, in addition to the one path from the input terminal including the fault point to the output terminal described above, if there is another input terminal to which a test pattern signal can be added in the entire logic circuit, A test pattern signal (second test pattern signal) generated by a random condition generated by a random number or the like, which is different from the above test pattern, is assigned as an input signal.

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

上述した従来のテストパターン生成方式は、テストの
対象論理回路の中にバスが含まれている場合、第1のテ
ストパターン信号及び第2のテストパターン信号の入力
により論理回路が動作したとき、上記バスが同時に複数
のバス制御を受け、バス制御の競合がおきる可能性を有
しているという問題点がある。
In the conventional test pattern generation method described above, when a bus is included in the logic circuit to be tested, when the logic circuit operates by the input of the first test pattern signal and the second test pattern signal, There is a problem in that the bus receives a plurality of bus controls at the same time, and there is a possibility that contention for the bus control will occur.

本発明の目的は、バスを含む論理回路のテストパター
ン信号生成時に、バス制御の競合がおきることのないテ
ストパターン信号を生成することができるテストパター
ン生成方式を提供することにある。
It is an object of the present invention to provide a test pattern generation method capable of generating a test pattern signal without causing bus control conflict when generating a test pattern signal of a logic circuit including a bus.

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

本発明のテストパターン生成方式は、故障に着目して
論理回路の前方・後方追跡を行い第1のテストパターン
を生成し、さらに他にテストパターンが加えられるべき
入力端子があるとき、無作為の条件で印加信号が決定さ
れる第2のテストパターンを生成するテストパターン生
成方式において、 (A)ある故障に着目して行われた第1のテストパター
ン生成後に制御ゲートの入力値が未決定のまま残ったバ
スを抽出し、バス制御情報を出力するバス抽出手段、 (B)前記バス制御情報に従って一つのバス制御のみを
有効とするように前記制御ゲートの入力値を決定するバ
ス制御手段、 (C)前記第2のテストパターンの生成が行われる前
に、前記制御ゲートの入力値にもとづき後方追跡を行
い、第3のテストパターンを生成するテストパターン生
成手段、 を備えて構成されている。
The test pattern generation method of the present invention generates a first test pattern by tracing the front and rear sides of a logic circuit while focusing on a failure, and when there is an input terminal to which a test pattern is to be added, a random test pattern is generated. In the test pattern generation method for generating the second test pattern in which the applied signal is determined under the conditions, (A) the input value of the control gate is not determined after the generation of the first test pattern focused on a certain fault. Bus extracting means for extracting the remaining bus and outputting bus control information; (B) bus controlling means for determining an input value of the control gate so that only one bus control is valid according to the bus control information; (C) A test pattern for performing a backward trace based on an input value of the control gate to generate a third test pattern before the generation of the second test pattern. And it is configured to include emissions generating means.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明す
る。
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例のブロック図である。 FIG. 1 is a block diagram of one embodiment of the present invention.

論理回路データ1をテストパターン生成手段2に入力
して、ある故障に着目した第1のテストパターン生成を
行い、論理回路の故障点からテストパターン印加点へさ
かのぼる後方追跡で部分テストパターン6を生成する。
次に、論理回路データ1をバス抽出手段4に入力し、論
理回路内に含まれるバスの制御ゲート入力に入力値が与
えられず未決定のまま残ったバスを抽出しバス制御情報
を出力させる。
The logic circuit data 1 is input to the test pattern generation means 2 to generate a first test pattern focusing on a certain fault, and a partial test pattern 6 is generated by backward tracing from the fault point of the logic circuit to the test pattern application point. To do.
Next, the logic circuit data 1 is input to the bus extraction means 4 to extract a bus which remains undecided because an input value is not given to the control gate input of the bus included in the logic circuit and the bus control information is output. .

故障シミュレータ3により、部分テストパターン6を
シミュレーションして論理回路内のバスの制御ゲート入
力値をバス入力値メモリ8に出力する。
The fault simulator 3 simulates the partial test pattern 6 and outputs the control gate input value of the bus in the logic circuit to the bus input value memory 8.

バス制御手段5ではバス入力値メモリ8を参照してバ
スの制御ゲート入力値が決定しているとき、バスが競合
を起すならば部分テストパターン6を捨てテストパター
ン生成手段2によって、故障についてのテストパターン
6の生成のやり直しをする。バスが競合を起さないなら
ば、部分テストパターン6を印加したときまだ印加値の
決定していないテストパターンがあれば、その印加点に
テストパターン生成手段2でランダムパターンを割付け
て第2のテストパターンを出力する。バスの制御ゲート
入力値が決定していないとき、バスの制御ゲート入力値
の一つに確定値を、他にはハイインピーダンス値を割付
けて、テストパターン生成手段2により後方追跡を行
い、第3のテストパターンである部分テストパターン7
を得る。部分テストパターン6と部分テストパターン7
の双方を印加したときまだ印加値の決定していないテス
トパターン印加点にテストパターン生成手段2によりラ
ンダムパターンを割付けて第2のテストパターンとして
テストパターン9を出力する。
When the bus control means 5 refers to the bus input value memory 8 to determine the control gate input value of the bus, if the bus conflicts, the partial test pattern 6 is discarded and the test pattern generating means 2 determines whether or not there is a failure. The test pattern 6 is generated again. If the bus does not cause a conflict, if there is a test pattern whose applied value is not determined when the partial test pattern 6 is applied, a random pattern is assigned to the applying point by the test pattern generating means 2 to generate a second pattern. Output a test pattern. When the control gate input value of the bus is not determined, one of the control gate input values of the bus is assigned a fixed value and the other is assigned a high impedance value, and the test pattern generating means 2 traces backward, Partial test pattern 7 which is the test pattern of
Get. Partial test pattern 6 and partial test pattern 7
When both are applied, a random pattern is assigned by the test pattern generation means 2 to a test pattern application point whose applied value has not yet been determined, and the test pattern 9 is output as the second test pattern.

このようにバス制御手段5は、論理回路内の各バスご
とに上記の手順を繰返す。
In this way, the bus control means 5 repeats the above procedure for each bus in the logic circuit.

第2図は第1図のテストパターン生成方式の適用例を
示す説明図である。
FIG. 2 is an explanatory diagram showing an application example of the test pattern generation method of FIG.

論理回路10のある故障11に着目してテストパターン生
成を行い、部分テストパターン6の印加点13が決定さ
れ、故障シミュレーションの結果、バス12の制御ゲート
入力値が未決定のテストパターン印加点がまだ残ってい
るものとする。
A test pattern is generated by focusing on a certain fault 11 of the logic circuit 10, the application point 13 of the partial test pattern 6 is determined, and as a result of the fault simulation, the test pattern application point of which the control gate input value of the bus 12 is undetermined is found. It is assumed that it still remains.

さらに、バスの制御ゲート入力の任意の一つに確定値
を与え、他をハイインピーダンスにしてバス12からテス
トパターン生成の後方追跡を行い、部分テストパターン
7印加点14が決定したものとする。
Further, it is assumed that a definite value is given to any one of the control gate inputs of the bus, the other parts are set to high impedance, and the test pattern generation is traced backward from the bus 12 to determine the application point 14 of the partial test pattern 7.

ここで、部分テストパターン6,7の印加を行ってもま
だ未決定のテストパターン印加点があれば、この印加点
にランダムパターンを割付けてテストパターン印加点15
を決定することにより、バス競合を起こさないテストパ
ターンを生成することができる。
If there is an undetermined test pattern application point even after applying the partial test patterns 6 and 7, a random pattern is assigned to this application point and the test pattern application point 15
By determining, it is possible to generate a test pattern that does not cause bus contention.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明は、バスを含む論理回路
のテストパターン生成時に、バス制御の競合がおきるこ
とのないテストパターン信号を生成することができる効
果を有する。
As described above, the present invention has an effect of being able to generate a test pattern signal in which no bus control conflict occurs when generating a test pattern of a logic circuit including a bus.

【図面の簡単な説明】[Brief description of the drawings]

第1図は本発明の一実施例のブロック図、第2図は第1
図のテストパターン生成方式の適用例を示す説明図であ
る。 1……論理回路データ、2……テストパターン生成手
段、3……故障シミュレータ、4……バス抽出手段、5
……バス制御手段、6……部分テストパターン、7……
部分テストパターン、8……バス入力値メモリ、9……
テストパターン、10……論理回路、11……故障、12……
バス、13……部分テストパターン印加点、14……部分テ
ストパターン印加点、15……テストパターン印加点。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG.
It is explanatory drawing which shows the application example of the test pattern generation system of the figure. 1 ... Logic circuit data, 2 ... Test pattern generation means, 3 ... Fault simulator, 4 ... Bus extraction means, 5
... Bus control means, 6 ... partial test pattern, 7 ...
Partial test pattern, 8 ... Bus input value memory, 9 ...
Test pattern, 10 …… Logic circuit, 11 …… Failure, 12 ……
Bus, 13 ... partial test pattern application point, 14 ... partial test pattern application point, 15 ... test pattern application point.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】故障に着目して論理回路の前方・後方追跡
を行い第1のテストパターンを生成し、さらに他にテス
トパターンが加えられるべき入力端子があるとき、無作
為の条件で印加信号が決定される第2のテストパターン
を生成するテストパターン生成方式において、 (A)ある故障に着目して行われた第1のテストパター
ン生成後に制御ゲートの入力値が未決定のまま残ったバ
スを抽出し、バス制御情報を出力するバス抽出手段、 (B)前記バス制御情報に従って一つのバス制御のみを
有効とするように前記制御ゲートの入力値を決定するバ
ス制御手段、 (C)前記第2のテストパターンの生成が行われる前
に、前記制御ゲートの入力値にもとづき後方追跡を行
い、第3のテストパターンを生成するテストパターン生
成手段、 を備えたことを特徴とするテストパターン生成方式。
1. When an input signal to which a test pattern is added is generated by performing a front / back trace of a logic circuit by paying attention to a failure and further a test pattern is added, an applied signal is applied under a random condition. In the test pattern generation method for generating the second test pattern in which the control gate input value remains undecided after (A) the first test pattern generation performed by focusing on a certain fault. And (B) bus control means for determining the input value of the control gate so that only one bus control is valid according to the bus control information. Before the second test pattern is generated, there is provided a test pattern generating means for performing a backward trace based on the input value of the control gate and generating a third test pattern. A test pattern generation method characterized in that
JP63279761A 1988-11-04 1988-11-04 Test pattern generation method Expired - Lifetime JP2687498B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63279761A JP2687498B2 (en) 1988-11-04 1988-11-04 Test pattern generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63279761A JP2687498B2 (en) 1988-11-04 1988-11-04 Test pattern generation method

Publications (2)

Publication Number Publication Date
JPH02126332A JPH02126332A (en) 1990-05-15
JP2687498B2 true JP2687498B2 (en) 1997-12-08

Family

ID=17615537

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63279761A Expired - Lifetime JP2687498B2 (en) 1988-11-04 1988-11-04 Test pattern generation method

Country Status (1)

Country Link
JP (1) JP2687498B2 (en)

Also Published As

Publication number Publication date
JPH02126332A (en) 1990-05-15

Similar Documents

Publication Publication Date Title
US5883809A (en) Behavioral language models for testing and verification of digital electronic circuits
JPH0533426B2 (en)
JP2687498B2 (en) Test pattern generation method
US20050038640A1 (en) Method and apparatus for automatically testing the design of a simulated integrated circuit
JPH05142303A (en) Dynamic test method for digital logic circuits
JP3441315B2 (en) Method and apparatus for creating test data
JP2594944B2 (en) Inspection data creation device
JPH11338727A (en) Testing method for information processing equipment
US6586959B1 (en) Method and apparatus for testing circuitry
JP2943161B2 (en) Failure simulation method
JPH0561935A (en) Logical simulation system
JPS58148977A (en) Testing system of logical circuit
JP2763146B2 (en) Digital protection relay device
CN117370168A (en) Method for setting simulation restoration point of logic system design and related equipment
JPH05143665A (en) Automatic verification data generating system for routine circuit
JPS61240173A (en) System of automatically forming inspection input
JPH023147B2 (en)
JP2748396B2 (en) Logic simulation method
JPH0311435B2 (en)
JPH04244979A (en) Delay test pattern and generation thereof
JPH10227842A (en) Test pattern generator
JP3150032B2 (en) Delay fault test pattern generation method
JPH04266168A (en) Logical verifying system
JPH04310185A (en) Test pattern generating system for logic circuit
JPH04268673A (en) Pattern generation system