JPH0290077A - Test data generation method - Google Patents

Test data generation method

Info

Publication number
JPH0290077A
JPH0290077A JP63241087A JP24108788A JPH0290077A JP H0290077 A JPH0290077 A JP H0290077A JP 63241087 A JP63241087 A JP 63241087A JP 24108788 A JP24108788 A JP 24108788A JP H0290077 A JPH0290077 A JP H0290077A
Authority
JP
Japan
Prior art keywords
output
test data
input
pattern
diagnosed
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
JP63241087A
Other languages
Japanese (ja)
Inventor
Tomoaki Sugita
杉田 知明
Yasumasa Takahashi
高橋 恭正
Akira Oda
明 小田
Yasuyuki Okada
泰幸 岡田
Hiroshi Yoshino
浩史 吉野
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 JP63241087A priority Critical patent/JPH0290077A/en
Publication of JPH0290077A publication Critical patent/JPH0290077A/en
Pending legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Abstract] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、論理回路の故障診断、特にそのテストデータ
の生成方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to fault diagnosis of logic circuits, and particularly to a method for generating test data thereof.

〔従来の技術〕[Conventional technology]

論理回路の故障診断の手法として、被診断部に対して種
々の診断人カバターンを与え、出力パターンが予め用意
された期待されるパターンと一致するかどうかを調べる
ことによって、故障検出する方法がある。
As a method for diagnosing faults in logic circuits, there is a method of detecting faults by giving various diagnosing patterns to the part to be diagnosed and checking whether the output pattern matches a pre-prepared expected pattern. .

第2121に、この方法を説明する簡略化されたブロッ
ク図を示す。
2121, a simplified block diagram illustrating the method is shown.

図中、■は情報処理装置、2は診断制御部、3は被診断
部を示している。外部記憶装置10には。
In the figure, ■ indicates an information processing device, 2 indicates a diagnosis control section, and 3 indicates a section to be diagnosed. In the external storage device 10.

ゲート入出力接続データ、外部記憶装置11には、期特
出力パターンデータが貯蔵されている0診断にあたって
は、外部記憶装置10からゲート入出力接続データが、
テストデータ発生部7へ送られテストデータを生成する
。テストデータは、外部記憶装置9にけえたのち、診断
を受ける論理回路5の入力フリップフロップ4に与えら
れる1次にクロック信号12を与えて、テストパターン
を論理回路8に印加し、次にクロック信号13を与えて
、この結果出力フリップフロップ6に観測される出力デ
ータをデータ比較器8に送る。データ比較器8は、出力
データと期待出力データ11と比較し、一致するかどう
かを調べる。このような動作が繰り返されることによっ
て、被診断部の故障診断が行なわれる。
Gate input/output connection data and periodic output pattern data are stored in the external storage device 11.0 For diagnosis, gate input/output connection data from the external storage device 10 is stored.
The data is sent to the test data generation section 7 to generate test data. After the test data is stored in the external storage device 9, the first clock signal 12 is applied to the input flip-flop 4 of the logic circuit 5 to be diagnosed, and the test pattern is applied to the logic circuit 8. A signal 13 is applied to send the resulting output data observed in the output flip-flop 6 to the data comparator 8. The data comparator 8 compares the output data with the expected output data 11 to see if they match. By repeating such operations, a failure diagnosis of the part to be diagnosed is performed.

ところで、テストデータとして、多数の出力端子、例え
ば16本のアドレス出力などが同時に論理値1から論理
値Oへ変化するようなデータを用意し、LSIに入力す
ると、LSI内部のグランドラインの電流変化が大きく
、グランドノイズを発生し、LSIの特性試験1例えば
入力電圧特性に悪影響を与える。従って、テストデータ
生成する際、出力が同時に多数変化するような条件(禁
止条件)を満足しないような診断データを生成する必要
がある。
By the way, if you prepare test data in which a large number of output terminals, such as 16 address outputs, change simultaneously from a logic value of 1 to a logic value of O, and input it to an LSI, the current change in the ground line inside the LSI will be detected. is large and generates ground noise, which adversely affects LSI characteristic test 1, for example, input voltage characteristics. Therefore, when generating test data, it is necessary to generate diagnostic data that does not satisfy the condition (prohibition condition) that many outputs change simultaneously.

ここで、第3図を用いて、「禁止条件」について説明す
る。第3図は、論理回路の1例を示し、14.15,1
6.17はNANDゲート、A。
Here, the "prohibition condition" will be explained using FIG. 3. Figure 3 shows an example of a logic circuit, 14.15,1
6.17 is a NAND gate, A.

B、C,D、Eは入力端子、F、G、H,Iは出力端子
である。また、入力端子A−Hの各々に入力するφか1
の信号をi□+ iat xat 14およびi、とす
る、また、出力端子F−Iの各々に出力するφか1の信
号を0□+oz+oaおよびo4とする。
B, C, D, and E are input terminals, and F, G, H, and I are output terminals. Also, φ or 1 input to each of input terminals A-H
Let the signals of i□+iat xat 14 and i be, and the signals of φ or 1 output to each of the output terminals F-I be 0□+oz+oa and o4.

さて、入力端子A−Eに入力する信号j1112+IJ
I 14およびi5の値の]つの組を入力パターンと呼
び(i工r 12+ ial 14115)で表わす。
Now, the signal j1112+IJ input to input terminal A-E
The set of values of I 14 and i5 is called an input pattern and is expressed as (i 12 + ial 14115).

同様に、出力端子F−Iに出力する信号0工、o2゜0
、およびo4の値の1つの組を出力パターンと呼び(o
at 02903904)で表わす。例えば、i□=φ
r 12=1113=1114=φ、i、=1のとき(
φ、1,1.φ、1)と表わす、第3図の論理回路の入
力端子は5つであるから、入力信号パターンの組は、2
″′=32組ある。
Similarly, the signal output to output terminal F-I is 0, o2゜0.
, and one set of values of o4 is called an output pattern (o
at 02903904). For example, i□=φ
When r 12 = 1113 = 1114 = φ, i, = 1 (
φ, 1, 1. Since there are five input terminals of the logic circuit in FIG. 3, denoted by φ, 1), the set of input signal patterns is
There are ″′=32 pairs.

いま、入力信号パターン1 (1,O,0,0゜0)と
入力信号パターン2(1,1,1,,1,1)を連続し
てLSIに入力すると、出力信号パターン1 (1,i
、1.1)と出力信号パターン2(0,O,0,0)が
連続して出力される。このとき、出力バター1から出力
パターン2へ切り替る場合、出力端子F〜■が同時に論
理値1から論理値Oへ変化し、この場合、同時出力変化
数は4となる。この同時出力変化数が設定値(例えば1
0)を越えるような入力パターンシーケンス条件を「禁
止条件」という。
Now, if input signal pattern 1 (1, O, 0, 0° 0) and input signal pattern 2 (1, 1, 1,, 1, 1) are continuously input to the LSI, output signal pattern 1 (1, i
, 1.1) and output signal pattern 2 (0, O, 0, 0) are continuously output. At this time, when switching from output pattern 1 to output pattern 2, output terminals F to ■ simultaneously change from logical value 1 to logical value O, and in this case, the number of simultaneous output changes is 4. The number of simultaneous output changes is the set value (for example, 1
An input pattern sequence condition that exceeds 0) is called a "prohibited condition."

次に、従来技術を用いて、第1図に示す回路のテストデ
ータ生成について説明する。
Next, test data generation for the circuit shown in FIG. 1 will be explained using a conventional technique.

第1図は、論理回路の1例を示し、is、19゜20.
21はNANDゲート、J、に、L、M。
FIG. 1 shows an example of a logic circuit, where is, 19°20.
21 is a NAND gate, J, L, M.

Nは入力端子、O,P、Q、Rは出力端子である。N is an input terminal, and O, P, Q, and R are output terminals.

また、入力端子J−Nの各々に入力するφか1の信号を
161 1’l+  181 x、およびliaとする
。また出力端子0−Rの各々に出力するφか1の信号を
oit owl Off* O−とする。
Further, it is assumed that the signals of φ or 1 input to each of the input terminals JN are 161 1'l+181 x and lia. Further, the signal of φ or 1 output to each of the output terminals 0-R is assumed to be oit owl Off*O-.

次に、第1図の回路で、NANDゲート14の出力のφ
縮退故障を検出するテストデータの生成を説明する。こ
こで、φ縮退故障とは、論理値がφに固定した故障をい
う。
Next, in the circuit shown in FIG. 1, the output φ of the NAND gate 14 is
Generation of test data for detecting stuck-at faults will be explained. Here, the φ stuck-at fault refers to a failure in which the logical value is fixed to φ.

NANDゲート14の出力のφ縮退故障を検出するテス
トデータとして、入力信号パターンA(1,φ、φ、φ
、φ)を生成する0次にNANDゲート14の出力の1
縮退故障を検出するテストデータとして、入力信号パタ
ーン13(J、、1゜1.1.l)を生成する0次にN
ANDゲート16の出力の1縮退故障を検出するテスト
データとして、入力信号パターンC(1,O,O,i。
The input signal pattern A (1, φ, φ, φ
, φ) of the output of the zero-order NAND gate 14
The 0th-order N
The input signal pattern C (1, O, O, i.

1)を生成する。入力信号パターンA−Cに対して、出
力信号パターンA (1,1,l、l)、出力信号パタ
ーンB (0,O,0,0)、出力信号パターンC(1
,l、O,O)が対応する。入力信号パターンA−Cと
出力信号パターンA−C,は順次メモリに格納される。
1) Generate. For input signal patterns A-C, output signal pattern A (1, 1, l, l), output signal pattern B (0, O, 0, 0), output signal pattern C (1
, l, O, O) correspond. Input signal patterns A-C and output signal patterns A-C are sequentially stored in memory.

なお、この種のテストデータ生成法として関連するもの
には1例えば、特開昭57−175263号が挙げられ
る。
An example of a related test data generation method of this type is JP-A-57-175263.

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

上記従来技術では、メモリに格納された入力信号パター
ンの順番にLSIへ入力する。従って。
In the above-mentioned conventional technology, input signal patterns are input to the LSI in the order in which they are stored in the memory. Therefore.

同時変化数の最大値を4とすると、メモリに格納された
順にLSIに入力すると、禁止条件を満たし、テストデ
ータとしては不適となる問題点があった・ 本発明の目的は、上述の例の如く、生成されたテストデ
ータが禁止条件を満足しても、可能な限り禁止条件の回
避を行ない、有効なテストデータを生成する方式を提供
することにある。
If the maximum value of the number of simultaneous changes is 4, there is a problem that if input to the LSI in the order stored in the memory, the prohibition condition will be satisfied and the data will not be suitable as test data. Thus, even if the generated test data satisfies the prohibition conditions, it is an object of the present invention to provide a method for generating valid test data by avoiding the prohibition conditions as much as possible.

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

上記目的は、メモリに格納されたテストデータに禁止条
件を満たすデータがあるかどうかをチエツクし、もし、
禁止条件を満たす場合には、テストシーケンスの組替を
行ない、禁止条件を回避することにより、達成される。
The above purpose is to check whether there is any data that satisfies the prohibition conditions in the test data stored in memory, and if
If the prohibition condition is satisfied, the test sequence is rearranged to avoid the prohibition condition.

ここで、テストシーケンスの組替とは、入力信号パター
ンA、B、Cのシーケンスを1例えば。
Here, the recombination of test sequences means, for example, changing the sequences of input signal patterns A, B, and C into one.

入力信号パターンA、C,Bのシーケンスに替えること
をいう。
This refers to changing the sequence of input signal patterns A, C, and B.

〔作用〕[Effect]

以下、テストシーケンスの組替について説明する。いま
、論理回路のテストデータとして、入力信号パターンA
、B、Cの3つのパターンが用意されているとする。入
力信号パターンA、B、Cに対し、出力信号パターンA
、B、Cが対応する。
The recombination of test sequences will be explained below. Now, input signal pattern A is used as test data for the logic circuit.
, B, and C are prepared. Output signal pattern A for input signal patterns A, B, and C
, B, and C correspond.

出力信号パターンΔは(1,1,1,1)、出力信号パ
ターンBは(0,O,0,0)、出力信号パターンCは
(1,1,、O,O)とする。ここで、テストシーケン
スをA、B、Cとすると、出力同時変化数は4となる。
The output signal pattern Δ is (1, 1, 1, 1), the output signal pattern B is (0, O, 0, 0), and the output signal pattern C is (1, 1,, O, O). Here, if the test sequences are A, B, and C, the number of simultaneous output changes is four.

テストシーケンスをA、C。Test sequences A and C.

Bとすると、出力同時変化数は2となる。テストシーケ
ンスの組替とは、出力同時変化数の情報をもとに、あら
かじめ用意された入力信号パターンシーケンスをA、B
、CからA、C,Bに変更することである。これにより
、出力同時変化数は4から2となり、グランドノイズの
発生を防止することができる。
If B, the number of simultaneous output changes is 2. Recombining the test sequence means changing the input signal pattern sequences prepared in advance to A and B based on the information on the number of simultaneous output changes.
, C to A, C, B. This reduces the number of simultaneous output changes from 4 to 2, making it possible to prevent ground noise from occurring.

〔実施例〕〔Example〕

以下1本発明の一実施例を第1図のフローチャートに基
づいて、第4図の回路のテストデータの生成手順を説明
する。
Hereinafter, one embodiment of the present invention will be described based on the flowchart of FIG. 1, and a procedure for generating test data for the circuit shown in FIG. 4.

まず、NANDゲート18の出力のφ縮退故障を仮定す
る(102)、次に入力信号パターンは。
First, it is assumed that the output of the NAND gate 18 has a φ stuck-at fault (102), and then the input signal pattern is as follows.

よく知られたテストデータ生成法であるDアルゴリズム
などを用いて生成し5人カイδ号パターンA(1,0,
0,0,0)が得られ(104)、メモリに格納する(
105)、同様にして、NANDゲート18の出力の1
縮退故障を仮定しく102)、入力信号パターンB (
1,l、1,1.1)を得(104)、メモリに格納す
る(105)、同様にして、NANDゲート20の出力
の1縮退故障を仮定しく102)、入力信号パターンC
(1゜0.0,1.1) を得(1,04)、メモリに
格納する(105)。
The 5-person chi δ pattern A (1, 0,
0,0,0) is obtained (104) and stored in memory (
105), similarly, 1 of the output of the NAND gate 18
Assuming a stuck-at fault (102), input signal pattern B (
1, l, 1, 1.1) (104) and store it in the memory (105).Similarly, assuming a stuck-at-1 fault at the output of the NAND gate 20, the input signal pattern C
(1°0.0, 1.1) is obtained (1,04) and stored in memory (105).

次に、メモリに格納された入力信号パターンを。Next, the input signal pattern stored in memory.

格納された順(第4図のテスト順序1)にLSIに入力
すると、同時出力変化数が4となり(106)、禁止条
件(この場合、4に設定しである)を満足し、テストデ
ータとして不適である(107)。
If input to the LSI in the stored order (test order 1 in Figure 4), the number of simultaneous output changes will be 4 (106), satisfying the prohibition condition (in this case, set to 4), and input it as test data. Not suitable (107).

そこで、入力信号パターンBと入力信号パターンCとを
入れ替え(第4図のテスト順序2)(108)LSIに
入力すると、同時出力変化数が2となり。
Therefore, when input signal pattern B and input signal pattern C are exchanged (test order 2 in FIG. 4) (108) and input to the LSI, the number of simultaneous output changes becomes two.

禁止条件を満足せず、テストデータとして有効となる(
109)。
Does not satisfy the prohibition conditions and is valid as test data (
109).

上述の実施例は、4つのNΔNDゲートからなる論理回
路について適用したものであったが、大規模論理回路で
出力端子数が100を越えるものにも適用できることは
言うまでもない。
Although the above-described embodiment was applied to a logic circuit consisting of four NΔAND gates, it goes without saying that it can also be applied to a large-scale logic circuit having more than 100 output terminals.

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

以上述べたように、本発明によれば、従来LSIの特性
試験に悪影響を与えるテストデータの生成を回避するこ
とができるようになる。この結果、LSIの特性試験の
精度が向上し、LSIの正しい評価ができる。
As described above, according to the present invention, it is possible to avoid generation of test data that adversely affects conventional LSI characteristic tests. As a result, the accuracy of the LSI characteristic test is improved and the LSI can be evaluated correctly.

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

第1図は本発明の一実施例のテストデータ生成のフロー
チャート、第2図は従来の診断方式の一例を示す説明図
、第3図は禁止条件の一例を示す説明図、第4図はテス
トデータの一例を示す説明図である。 1・・・情報処理装置、2・・・診断制御部、:3−・
・被診断部、7・・テストデータ生成部、8・・・デー
タ比較器 g・・・テストデータ記憶部、10・・・グ
ー1−人出力接続データ記憶部、11・・・期待出力デ
ータ記憶部、12〜13・・クロック信号。 第 名 ネ 図 纂 図 集 ヰ
Fig. 1 is a flowchart of test data generation according to an embodiment of the present invention, Fig. 2 is an explanatory diagram showing an example of a conventional diagnosis method, Fig. 3 is an explanatory diagram showing an example of prohibition conditions, and Fig. 4 is a test data generation flowchart. It is an explanatory diagram showing an example of data. 1... Information processing device, 2... Diagnosis control unit, :3-.
・Diagnosed unit, 7: Test data generation unit, 8: Data comparator g: Test data storage unit, 10: Goo 1-human output connection data storage unit, 11: Expected output data Storage section, 12-13...clock signal. Nominal illustrated collection

Claims (1)

【特許請求の範囲】[Claims] 1、被診断部に複数の診断用の入力パターンを与え、現
に該被診断部から得られる出力パターンと予め設定され
た期待値パターンとを夫々比較しながら複数テストに亘
って該被診断部の診断を行なう診断方式において、該被
診断部のある故障を検出するためのパターン生成を行な
う際、多数の出力端子を同時に変化させ、論理回路の特
性に悪影響を与えるパターンの生成を自動的に避けるこ
とを特徴とするテストデータ生成方式。
1. Apply multiple input patterns for diagnosis to the part to be diagnosed, and compare the output pattern actually obtained from the part to be diagnosed with the expected value pattern set in advance, and evaluate the part to be diagnosed over multiple tests. In a diagnostic method that performs diagnosis, when generating a pattern to detect a certain fault in the part to be diagnosed, a large number of output terminals are changed simultaneously to automatically avoid generating patterns that adversely affect the characteristics of the logic circuit. A test data generation method characterized by:
JP63241087A 1988-09-28 1988-09-28 Test data generation method Pending JPH0290077A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63241087A JPH0290077A (en) 1988-09-28 1988-09-28 Test data generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63241087A JPH0290077A (en) 1988-09-28 1988-09-28 Test data generation method

Publications (1)

Publication Number Publication Date
JPH0290077A true JPH0290077A (en) 1990-03-29

Family

ID=17069094

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63241087A Pending JPH0290077A (en) 1988-09-28 1988-09-28 Test data generation method

Country Status (1)

Country Link
JP (1) JPH0290077A (en)

Similar Documents

Publication Publication Date Title
KR19980086574A (en) Pattern generator for memory burn-in and testing
JP3811528B2 (en) Memory test system for multi-bit test
JPH11142484A (en) Parallel signature compression circuit and its design method
JPH04178580A (en) Self diagnostic device for semiconductor memory
US6041426A (en) Built in self test BIST for RAMS using a Johnson counter as a source of data
JP3537087B2 (en) Semiconductor device and method of inspecting semiconductor device
US4682331A (en) Logic circuit with self-test
US7747912B2 (en) Semiconductor memory device capable of arbitrarily setting the number of memory cells to be tested and related test method
JPH0290077A (en) Test data generation method
US5471484A (en) Method and apparatus for testing digital signals
JP2937811B2 (en) Semiconductor integrated circuit test circuit and test method thereof
JPH05119122A (en) Method for generating test pattern of scan circuit
KR100480561B1 (en) Micro-rom having check sum part
JP2001176300A (en) Memory inspection device
JPH08203299A (en) Content addressable memory
CN118366507A (en) Input buffer voltage calibration function test circuit inspection method and device
JP2744266B2 (en) Semiconductor memory
JPH02122500A (en) semiconductor memory
JP3289364B2 (en) Failure analysis memory device with fail sorting function
JPH0198199A (en) Memory check circuit
JPH0746123B2 (en) Integrated circuit test method
JPH04318400A (en) memory circuit
JPH01112180A (en) Self-test circuit
JPS63182759A (en) Memory monitor system
JPS63222400A (en) Storage circuit diagnosing system