JP2642265B2 - Inspection method of test pattern of logic circuit - Google Patents

Inspection method of test pattern of logic circuit

Info

Publication number
JP2642265B2
JP2642265B2 JP3276835A JP27683591A JP2642265B2 JP 2642265 B2 JP2642265 B2 JP 2642265B2 JP 3276835 A JP3276835 A JP 3276835A JP 27683591 A JP27683591 A JP 27683591A JP 2642265 B2 JP2642265 B2 JP 2642265B2
Authority
JP
Japan
Prior art keywords
logic circuit
logic
test pattern
toggles
net
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 - Fee Related
Application number
JP3276835A
Other languages
Japanese (ja)
Other versions
JPH0587887A (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.)
JFE Steel Corp
Original Assignee
Kawasaki Steel 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 Kawasaki Steel Corp filed Critical Kawasaki Steel Corp
Priority to JP3276835A priority Critical patent/JP2642265B2/en
Publication of JPH0587887A publication Critical patent/JPH0587887A/en
Application granted granted Critical
Publication of JP2642265B2 publication Critical patent/JP2642265B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、所定の論理回路の故障
検出のために、該論理回路の出力端子の出力状態を観測
しながら、該論理回路の入力端子に入力する論理回路の
テストパターンの検査方法に係り、特に、テストパター
ンの故障検出能力のより有効な評価のための論理回路の
テストパターンの検査方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test pattern of a logic circuit input to an input terminal of a logic circuit while observing an output state of an output terminal of the logic circuit in order to detect a failure of a predetermined logic circuit. In particular, the present invention relates to a method for inspecting a test pattern of a logic circuit for more effective evaluation of a fault detection capability of a test pattern.

【0002】[0002]

【従来の技術】集積回路等、所定の論理ゲートでなる論
理回路の故障検出方法には、論理回路の入力端子に予め
準備されたテストパターンを順次入力していき、このと
き論理回路の出力端子の出力状態を観測していくという
方法がある。
2. Description of the Related Art In a method of detecting a failure of a logic circuit such as an integrated circuit or the like consisting of predetermined logic gates, a test pattern prepared in advance is sequentially input to an input terminal of the logic circuit. There is a method of observing the output state of.

【0003】この方法は、例えば、入力端子に入力する
テストパターンと、これに対応した期待出力パターンと
を予め作成しておき、検査対象となる所定の論理回路の
入力端子にこのテストパターンを入力し、このときの出
力端子の出力状態をこの期待出力パターンと比較し、こ
れにより論理回路の故障検出を行うというものである。
In this method, for example, a test pattern to be input to an input terminal and an expected output pattern corresponding to the test pattern are created in advance, and the test pattern is input to an input terminal of a predetermined logic circuit to be inspected. Then, the output state of the output terminal at this time is compared with the expected output pattern, thereby detecting a failure of the logic circuit.

【0004】このような論理回路の故障検出方法によれ
ば、既に完成した論理回路、例えばパッケージに封止さ
れた集積回路の故障検出を、集積回路の外部から行うこ
とが可能である。
According to such a logic circuit failure detection method, it is possible to detect a failure of an already completed logic circuit, for example, an integrated circuit sealed in a package, from outside the integrated circuit.

【0005】更に、所定の論理回路の故障検出に用いら
れるテストパターンの検査方法としては、トグルチェッ
ク方法、あるいはこのトグルチェック方法を自動的に行
うトグルチェックツール等がある。
Further, as a test method of a test pattern used for detecting a failure of a predetermined logic circuit, there is a toggle check method or a toggle check tool for automatically performing the toggle check method.

【0006】テストパターンを用いた論理回路の故障検
出において、検査対象となる論理回路の入力端子数が増
加すると、この論理回路の検査のためのテストパターン
数は増大するものである。
In detecting a fault in a logic circuit using a test pattern, when the number of input terminals of the logic circuit to be tested increases, the number of test patterns for testing the logic circuit increases.

【0007】従って、テストパターンを用いた論理回路
の故障検査にあっては、入力端子に対する全てのパター
ンを含んだテストパターンを用いることは難しくなって
いる。
Therefore, it is difficult to use a test pattern including all patterns for input terminals in a fault test of a logic circuit using a test pattern.

【0008】又、入力端子に対する全てのパターンを網
羅したテストパターンであっても、論理回路の全ての故
障を検出することができない場合もある。
Further, even if the test pattern covers all the patterns for the input terminals, it may not be possible to detect all the faults of the logic circuit.

【0009】従って、このような論理回路の故障検出に
用いられるテストパターン自体も、検査が行われてい
る。
Therefore, a test pattern itself used for detecting a failure of such a logic circuit is also inspected.

【0010】前述のトグルチェックは、論理回路の故障
検査に用いられるテストパターンの検査方法の1つであ
る。
The above-described toggle check is one of the test methods of a test pattern used for a fault test of a logic circuit.

【0011】このトグルチェックは、検査対象となるテ
ストパターンの故障検出対象である論理回路がシミュレ
ーション可能な論理シミュレータを用いて、テストパタ
ーンの故障検出対象である論理回路をシミュレーション
しながら、このテストパターン自体を検査していく。こ
のとき、この論理回路内部の各ネットの論理状態の変化
を検出し、各ネット毎に論理状態の変化の回数、即ちト
グル数をカウントしていくというものである。
This toggle check is performed by simulating a logic circuit which is a failure detection target of a test pattern by using a logic simulator capable of simulating a logic circuit which is a failure detection target of the test pattern to be inspected. Inspect itself. At this time, a change in the logic state of each net in the logic circuit is detected, and the number of changes in the logic state, that is, the number of toggles is counted for each net.

【0012】このようなトグルチェックによれば、検査
結果として得られる各ネットのトグル数である検査結果
のレポートに従って、検査対象となるテストパターンの
故障検出能力の評価を行うことができる。
According to such a toggle check, it is possible to evaluate the fault detection capability of a test pattern to be inspected in accordance with a test result report which is the number of toggles of each net obtained as an inspection result.

【0013】[0013]

【発明が達成しようとする課題】しかしながら、前述の
トグルチェックによるテストパターンの検査において、
各ネットの論理状態の変化が検出されても、このネット
部分に関する故障を、論理回路の外部から必ずしも故障
検出可能ではないという問題を発明者は見出だしてい
る。
However, in the test pattern inspection by the toggle check described above,
The inventor has found that even if a change in the logical state of each net is detected, a fault relating to this net portion cannot always be detected from outside the logic circuit.

【0014】即ち、トグルチェックによるテストパター
ンの検査において、各ネットの論理状態の変化がカウン
トされたとしても、この論理状態の変化が、論理回路の
出力端子で観測できない場合があることを発明者は見出
だしている。
That is, in the test pattern inspection by the toggle check, even if a change in the logic state of each net is counted, the change in the logic state may not be observed at the output terminal of the logic circuit. Is found.

【0015】このような出力端子で観測できない場合に
は、このネット部分に関する故障があっても、このテス
トパターンを用いた故障検査では、この故障を発見する
ことができないという問題がある。
In the case where the failure cannot be observed at such an output terminal, there is a problem that even if there is a fault related to the net portion, the fault cannot be found by a fault test using this test pattern.

【0016】本発明は、前記従来の問題点を解決するべ
くなされたもので、所定の論理回路の故障検出のため
に、該論理回路の出力端子の出力状態を観測しながら、
該論理回路の入力端子に入力する論理回路のテストパタ
ーンの検査方法において、このテストパターンの故障検
出能力のより有効な評価をするための情報のレポートが
可能な論理回路のテストパターンの検査方法を提供する
ことを目的とする。
The present invention has been made to solve the above-mentioned conventional problem. In order to detect a failure of a predetermined logic circuit, the present invention observes the output state of an output terminal of the logic circuit while observing the output state of the logic circuit.
In the method for testing a test pattern of a logic circuit input to an input terminal of the logic circuit, a method for testing a test pattern of a logic circuit capable of reporting information for more effective evaluation of the fault detection capability of the test pattern is described. The purpose is to provide.

【0017】[0017]

【課題を達成するための手段】本発明は、所定の論理回
路の故障検出のために、該論理回路の出力端子の出力状
態を観測しながら、該論理回路の入力端子に入力する論
理回路のテストパターンの検査方法において、論理シミ
ュレーションにてテストパターンを1ステップ毎実行
し、該論理回路内部のネットの論理状態が変化した時、
該論理状態の変化が、該論理回路の出力端子で観測不可
能であるか判定し、観測不可能であると判定された場合
には、当該ネットの無効トグル数をカウントアップし、
該無効トグル数と総トグル数とから有効トグル数を求
め、これにより、当該テストパターンの故障検出能力を
評価することにより、前記課題を達成したものである。
SUMMARY OF THE INVENTION In order to detect a failure in a predetermined logic circuit, the present invention observes the output state of the output terminal of the logic circuit while monitoring the output state of the logic circuit. In the test pattern inspection method, the test pattern is executed step by step by logic simulation, and when the logic state of the net inside the logic circuit changes,
It is determined whether or not the change in the logic state is unobservable at the output terminal of the logic circuit. If it is determined that the change is not observable, the invalid toggle number of the net is counted up,
The above object has been achieved by obtaining the number of valid toggles from the number of invalid toggles and the total number of toggles and evaluating the fault detection capability of the test pattern.

【0018】又、前記観測不可能であることの判定が、
前記論理シミュレーション中の該当ステップでの出力端
子の論理状態の変化の有無に従った判定であることによ
り、同じく前記課題を達成したものである。
Further, the determination that the observation is impossible is performed by:
The above-described object is also achieved by performing the determination according to the presence or absence of a change in the logic state of the output terminal in the corresponding step during the logic simulation.

【0019】[0019]

【作用】本発明は、論理回路のテストパターンの検査方
法において、テストパターンの検査対象となる論理回路
の各ネットの論理状態がテストパターンの実行に従って
変化していなければならないことと共に、この論理状態
の変化が論理回路の外部から観測可能できなければなら
ないという第1着目点に着目したものである。
According to the present invention, in a method for inspecting a test pattern of a logic circuit, the logic state of each net of the logic circuit to be inspected must be changed in accordance with the execution of the test pattern. Is focused on a first point that the change of the data must be observable from outside the logic circuit.

【0020】即ち、この論理回路内部のネットの論理状
態の変化は、この論理回路の出力端子の論理状態の変化
として観測できなければならない。
That is, a change in the logic state of the net inside the logic circuit must be observable as a change in the logic state of the output terminal of the logic circuit.

【0021】この第1着目点に加え、本発明は、論理状
態の変化が検出されたとき、この論理状態の変化が論理
回路の出力端で観測可能であると判定することよりも、
この論理状態の変化が論理回路の出力端子で観測不可能
であると判定することが容易であるという第2着目点を
見出したものである。
In addition to the first point of interest, the present invention, when a change in the logical state is detected, determines that the change in the logical state is observable at the output terminal of the logic circuit.
A second point of interest has been found that it is easy to determine that this change in logic state is not observable at the output terminal of the logic circuit.

【0022】これは、論理シミュレーションにてテスト
パターンを1ステップ毎実行する際に、論理回路内部の
ネットの論理状態が変化(トグル)し、且つ、例えば該
論理回路の出力端子の論理状態の変化があったとして
も、この出力端子の論理状態の変化が該ネットの論理状
態の変化であると断定できないためである。何故なら、
例えば論理回路内部の複数のネットの論理状態が変化
し、且つ該論理回路の出力端子の論理状態の変化があっ
た場合には、この出力端子の論理状態の変化が前記複数
のネットのうちのどのネットの論理状態の変化によるも
のか判定することは直ちにできないからである。
This is because, when a test pattern is executed for each step in the logic simulation, the logic state of the net inside the logic circuit changes (toggles), and for example, the logic state of the output terminal of the logic circuit changes. This is because it cannot be determined that the change in the logic state of the output terminal is a change in the logic state of the net. Because,
For example, when the logic states of a plurality of nets inside the logic circuit change and the logic state of the output terminal of the logic circuit changes, the change of the logic state of the output terminal changes the logic state of the plurality of nets. This is because it is not immediately possible to determine which net is due to a change in the logical state.

【0023】一方、同様に論理シミュレーションにてテ
ストパターンを1ステップ毎実行する際に、論理回路内
部のネットの論理状態が変化したにも拘らず、例えば該
論理回路の出力端子の論理状態の変化がなかった場合に
は、該ネットの論理状態の変化を該論理回路の出力端子
で観測不可能であると判定できるからである。
On the other hand, when the test pattern is similarly executed for each step in the logic simulation, for example, even if the logic state of the net inside the logic circuit changes, for example, the change of the logic state of the output terminal of the logic circuit changes. This is because, if there is no, it is possible to determine that a change in the logic state of the net cannot be observed at the output terminal of the logic circuit.

【0024】又、このような観測不可能であると判定さ
れる毎にカウントアップされた各ネットの無効トグル数
から、総トグル数を用いて有効トグル数とすることによ
り、当該テストパターンの故障検出能力をより有効的な
評価を行うことができる。
Further, the number of invalid toggles of each net counted up each time it is determined that such a test pattern cannot be observed is used as the number of valid toggles by using the total number of toggles, so that the failure of the test pattern can be determined. The detection ability can be evaluated more effectively.

【0025】従って、本発明では、論理シミュレーショ
ンにてテストパターンを1ステップ毎実行する際、論理
回路内部のネットの論理状態が変化したとき、観測可能
であるか判定するのではなく、該論理状態の変化が該論
理回路の出力端子で観測不可能であるか判定し、観測不
可能であると判定された場合には、当該ネットの無効ト
グル数をカウントアップするようにしている。又、テス
トパターンを全て終了した後等、所定の時期に、前記カ
ウントアップしていった各ネットの前記無効トグル数と
総トルグ数とから有効トグル数を求め、このようにして
求められた各ネットの有効トグル数を主とした検査結果
とすることにより、テストパターンの故障検出能力の評
価を行うようにしている。
Therefore, according to the present invention, when a test pattern is executed for each step in a logic simulation, when the logic state of a net in a logic circuit changes, it is not determined whether or not the net can be observed, but the logic state is determined. Is determined at the output terminal of the logic circuit as to whether or not it is not observable, and when it is determined that the change is not observable, the invalid toggle number of the net is counted up. At a predetermined time, such as after all test patterns have been completed, the number of valid toggles is calculated from the number of invalid toggles and the total number of toggles of each of the counted up nets. The test results are mainly evaluated based on the number of effective toggles of the net, and the failure detection capability of the test pattern is evaluated.

【0026】なお、本発明の論理状態とは、論理値
“0”あるいは“1”の状態である。あるいは、論理値
“0”あるいは“1”の状態と共に、ハイインピーダン
ス状態を含む状態であってもよい。又、前記総トグル数
とは、論理シミュレーションにてテストパターンを1ス
テップ毎実行する際の、各ネットの論理状態が変化した
回数である。又、無効トグル数とは、論理シミュレーシ
ョンにてテストパターンを1ステップ毎実行する際の、
論理回路内部のあるネットの論理状態が変化(トグル)
したにも拘らず、該論理回路の出力端子でこの論理状態
の変化が観測不可能であるという場合の回数である。従
って、前記無効トグル数と有効トグル数との和は、前記
総トグル数となる。
Note that the logical state of the present invention is a state of a logical value "0" or "1". Alternatively, the state may include a state of a logical value “0” or “1” and a state including a high impedance state. The total number of toggles is the number of times the logic state of each net changes when a test pattern is executed for each step in a logic simulation. The number of invalid toggles means the number of times the test pattern is executed for each step in the logic simulation.
The logic state of a certain net inside the logic circuit changes (toggle)
Nevertheless, this is the number of times that a change in the logic state cannot be observed at the output terminal of the logic circuit. Therefore, the sum of the number of invalid toggles and the number of valid toggles is the total number of toggles.

【0027】又、本発明のトグルとは、これらの論理状
態間相互の変化のことである。又、本発明のトグル数、
無効トグル数や有効トグル数は、このような変化の回数
に対応してものであればよい。なお、ネットとは、論理
回路内部における各配線である。
The toggle according to the present invention refers to a mutual change between these logic states. Also, the number of toggles of the present invention,
The number of invalid toggles and the number of valid toggles need only correspond to the number of such changes. Note that a net is each wiring in a logic circuit.

【0028】図1は、本発明の要旨を示すフローチャー
トである。
FIG. 1 is a flowchart showing the gist of the present invention.

【0029】この図1のフローチャートに示される処理
は、本発明の論理回路のテストパターンの検査方法の検
査対象となるテストパターンを用いて故障の検出が行わ
れる論理回路の論理シミュレーションが可能な論理シミ
ュレータを主として用いて行われる。この論理シミュレ
ータは、検査対象であるテストパターンを1ステップ毎
に該テストパターンの対象とする論理回路の入力端子に
入力した場合の、該論理回路の出力端子の出力状態や出
力状態の変化を観測できるだけでなく、該論理回路内部
の各ネットの論理状態あるいは論理状態の変化をも把握
することができるものである。
The processing shown in the flowchart of FIG. 1 is a logic capable of performing a logic simulation of a logic circuit in which a failure is detected using a test pattern to be inspected by the test method of a test pattern of a logic circuit of the present invention. This is performed mainly using a simulator. This logic simulator observes the output state of the output terminal of the logic circuit and a change in the output state when the test pattern to be inspected is input to the input terminal of the logic circuit to be tested in each step. In addition to the above, it is possible to grasp the logical state or the change of the logical state of each net in the logic circuit.

【0030】この図1において、ステップ104では、
前記論理シミュレータを用いて、このフローチャートの
処理が対象とするテストパターンのテスト対象となる論
理回路のシミュレーションが行われ、該テストパターン
の該当ステップの1ステップが実行される。
In FIG. 1, in step 104,
Using the logic simulator, a simulation of a logic circuit as a test target of the test pattern targeted by the processing of this flowchart is performed, and one step of the corresponding step of the test pattern is executed.

【0031】ステップ106では、前記ステップ104
によるテストパターンの1ステップ実行のシミュレーシ
ョンにより、論理回路内部の各ネットの論理状態の変化
の検出を行う。なお、このステップ106では、論理状
態の変化が検出されたネットについて、この変化の回数
をカウントして、それぞれのネットの総トグル数とす
る。
In step 106, step 104
, The change of the logic state of each net in the logic circuit is detected. In step 106, the number of times of the change of the logical state of the net for which the change of the logical state is detected is counted, and the number is set as the total number of toggles of each net.

【0032】ステップ108では、前記ステップ106
で論理状態の変化が検出されたネットに関して、この論
理状態の変化が論理回路の出力端子で観測不可能である
かの判定を行う。
In step 108, the above-mentioned step 106
It is determined whether or not the change in the logic state is not observable at the output terminal of the logic circuit for the net in which the change in the logic state is detected.

【0033】ステップ110では、あるネットの論理状
態の変化があったにも拘らず、論理回路の出力端子でこ
の論理状態の変化が観測不可能であると判定された場合
には、当該論理状態の変化があったネットの無効トグル
数をカウントアップする。
In step 110, if it is determined that the change in the logic state is not observable at the output terminal of the logic circuit despite the change in the logic state of a certain net, The number of invalid toggles of the net that has changed is counted up.

【0034】ステップ114では、1ステップずつ行わ
れたテストパターンの実行が全て終了したか否かの判定
を行う。なお、このステップ114は、前記ステップ1
04から110の一連の処理を終了するか判定するもの
であり、対象となるテストパターンの全実行完了の判定
に限定されるものでないことはいうまでもない。
In step 114, it is determined whether or not the execution of the test patterns performed one by one has all been completed. Note that this step 114 is the same as step 1
It is needless to say that the determination is made as to whether a series of processes from 04 to 110 is completed, and the determination is not limited to the determination of completion of all executions of the target test pattern.

【0035】前記ステップ114で全てのテストパター
ンが終了した場合には、ステップ116に進む。一方、
実行されていないテストパターンがある場合には、前記
ステップ104の前方に分岐し、前記ステップ104か
ら114までの一連の処理を再び実行する。
If all test patterns have been completed in step 114, the process proceeds to step 116. on the other hand,
If there is a test pattern that has not been executed, the process branches before step 104, and the series of processes from steps 104 to 114 is executed again.

【0036】ステップ116では、前記ステップ106
でカウントアップされた各ネットの総トグル数、及び前
記ステップ110でカウントアップされた各ネットの無
効トグル数とを用いて、各ネットの有効トグル数を求め
る。
In step 116, step 106
The number of valid toggles of each net is obtained using the total number of toggles of each net counted up in the step and the number of invalid toggles of each net counted up in step 110.

【0037】以上説明した通り、このような一連の処理
によって得られた各ネットの有効トグル数は、それぞれ
のネットの、論理回路の出力端子で観測可能な論理状態
の変化の回数に対応したものであり、テスト対象となる
論理回路での当該テストパターンの故障検出能力にも対
応している。従って、このような論理回路のテストパタ
ーンの検査方法によれば、テストパターンの故障検出能
力のより有効な評価を行うための情報を得ることができ
る。
As described above, the number of effective toggles of each net obtained by such a series of processing corresponds to the number of changes in the logic state of each net which can be observed at the output terminal of the logic circuit. This also corresponds to the fault detection ability of the test pattern in the logic circuit to be tested. Therefore, according to such a test method of a test pattern of a logic circuit, it is possible to obtain information for performing a more effective evaluation of the fault detection capability of the test pattern.

【0038】なお、前記図1では、無効トグル数と総ト
グル数とから有効トグル数を求めることを前記ステップ
116で行っているが、これを前記ステップ110で実
行することもできる。しかしながら、前記ステップ10
4から114までのループ中で、未確定の前記無効トグ
ル数及び前記総トグル数とに従って有効トグル数を求め
ることは、全体の処理時間を延長させてしまう。
In FIG. 1, in step 116, the number of valid toggles is calculated from the number of invalid toggles and the total number of toggles. However, this may be performed in step 110. However, step 10
In the loop from 4 to 114, obtaining the number of valid toggles according to the number of invalid toggles and the total number of toggles that are not determined increases the overall processing time.

【0039】[0039]

【実施例】以下、図を用いて本発明の実施例を詳細に説
明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below in detail with reference to the drawings.

【0040】本発明の実施例は、前記図1のフローチャ
ートに従ってものであり、前記ステップ108での観測
不可能であることの判定を、論理シミュレーション中の
該当ステップでの出力端子の論理状態の変化の有無に従
って行っている。即ち、論理シミュレーションにてテス
トパターンを1ステップ毎実行する際に、論理回路内部
のネットの論理状態が変化したとき、該論理回路の出力
端子の論理状態の変化がなかった場合には、当該論理状
態が変化したネットの無効トグル数をカウントアップす
るというものである。
The embodiment of the present invention is in accordance with the flow chart of FIG. 1, and the determination that the observation is impossible at the step 108 is made by the change of the logic state of the output terminal at the corresponding step during the logic simulation. Go according to the presence or absence. That is, when a test pattern is executed for each step in a logic simulation, if the logic state of a net inside the logic circuit changes and if the logic state of the output terminal of the logic circuit does not change, the logic This is to count up the number of invalid toggles of the net whose state has changed.

【0041】図2は、前記実施例のテスト対象となるテ
ストパターンの故障検出対象となる論理回路の一例の論
理回路図である。
FIG. 2 is a logic circuit diagram of an example of a logic circuit as a failure detection target of a test pattern to be tested in the above embodiment.

【0042】この図2の論理回路10には、合計7個の
入力端子A〜F、Hと、合計2個の出力端子X、Yが設
けられている。又、該論理回路10は、合計5個の論理
ゲートG1〜G5が設けられている。
The logic circuit 10 shown in FIG. 2 is provided with a total of seven input terminals A to F and H and a total of two output terminals X and Y. The logic circuit 10 is provided with a total of five logic gates G1 to G5.

【0043】前記論理ゲートG1、G2は、入力a 、b
を有する2入力ANDゲートである。前記論理ゲートG
3、G5は、入力a 、b を有する2入力ORゲートであ
る。前記論理ゲートG4は、D型フリップフロップであ
る。
The logic gates G1, G2 are connected to the inputs a, b
Is a two-input AND gate. The logic gate G
3, G5 is a two-input OR gate having inputs a and b. The logic gate G4 is a D-type flip-flop.

【0044】これら入力端子A〜F、H、出力端子X、
Y、論理ゲートG1〜G5相互の間は、それぞれネット
n 1〜n 13により接続されている。なお、以降、これ
らネットn 1〜n 13の符号の数字部分を、ネット番号
と呼ぶ。
These input terminals AF, H, output terminal X,
Y, and between each of the logic gates G1 to G5,
They are connected by n1 to n13. Hereinafter, the numeral portions of the signs of the nets n1 to n13 are referred to as net numbers.

【0045】このような論理回路10は、該論理回路1
0の製造後には、該論理回路10の内部の各ネットn 1
〜n 13の論理状態の変化は、該論理回路10の外部か
らは観測できない。従って、これら各ネットn 1〜n 1
3の論理状態の変化は、製造後においては該論理回路1
0の出力端子X、Yの論理状態の変化から観測しなけれ
ばならない。
The logic circuit 10 has a logic circuit 1
0 after the manufacture of each of the nets n 1 inside the logic circuit 10.
The change in the logic state of .about.n13 cannot be observed from outside the logic circuit 10. Therefore, each of these nets n 1 to n 1
3 changes in the logic circuit 1
It must be observed from the change in the logic state of the output terminals X and Y of 0.

【0046】一方、論理回路シミュレータによるシミュ
レーション中には、この論理回路10の出力端子X、Y
の論理状態及び論理状態の変化のみならず、該論理回路
10内部の各ネットn 1〜n 13の論理状態及び論理状
態の変化をも観測することができる。
On the other hand, during the simulation by the logic circuit simulator, the output terminals X, Y
Of the nets n1 to n13 inside the logic circuit 10 can be observed.

【0047】なお、該論理ゲートG4の、符号D、C
K、CLは入力端子であり、符号Q、QNは出力端子で
ある。
The symbols D and C of the logic gate G4
K and CL are input terminals, and symbols Q and QN are output terminals.

【0048】又、本実施例の検査対象となるテストパタ
ーンは、この図2の論理回路10の各入力A〜F、Hに
入力される入力信号のパターンである。
The test pattern to be inspected in this embodiment is a pattern of an input signal inputted to each of the inputs A to F and H of the logic circuit 10 in FIG.

【0049】図3は、本実施例のネット毎トグル数テー
ブルを示す線図である。
FIG. 3 is a diagram showing a table for the number of toggles per net according to the present embodiment.

【0050】この図3のネット毎トグル数テーブルは、
この実施例で検査されるテストパターンの故障検出対象
である論理回路内部の各ネット毎の、総トグル数と、無
効トグル数と、有効トグル数とが書き込まれるテーブル
である。
The toggle number per net table in FIG.
5 is a table in which the total number of toggles, the number of invalid toggles, and the number of valid toggles are written for each net in a logic circuit which is a failure detection target of a test pattern to be inspected in this embodiment.

【0051】前記ネット毎トグル数テーブルのネット番
号毎の総トグル数及び無効トグル数及び有効トグル数全
ての値は、本実施例のテストパターンの検査開始時、即
ち、前記図1のフローチャートの処理の開始時に全て0
にリセットされる。
The values of the total number of toggles, the number of invalid toggles, and the number of valid toggles for each net number in the toggle number table for each net are determined at the start of the test pattern test of this embodiment, that is, the processing of the flowchart of FIG. All 0 at the start of
Is reset to

【0052】前記ネット毎トグル数テーブルの各ネット
番号の総トグル数において、前記図1のステップ106
で、それぞれのネットで論理状態の変化が有りと判定さ
れたものはカウントアップされる。
In the total number of toggles of each net number in the above-mentioned toggle number table for each net, step 106 in FIG.
In each of the nets, the net determined to have a change in the logical state is counted up.

【0053】ネット番号毎の前記無効トグル数におい
て、前記図1のステップ110で、観測不可能であると
判定されたネットの無効トグル数はカウントアップされ
る。
In the number of invalid toggles for each net number, the number of invalid toggles of the net determined to be unobservable in step 110 of FIG. 1 is counted up.

【0054】各ネット番号の有効トグル数は、前記図1
のステップ116で、それぞれのネットの総トグル数及
びそれぞれのネットの無効トグル数と次式から求める。
The number of effective toggles of each net number is shown in FIG.
In step 116, the total number of toggles of each net and the number of invalid toggles of each net are obtained from the following equation.

【0055】(有効トグル数)=(総トグル数)−(無
効トグル数) …(1)
(Number of valid toggles) = (total number of toggles) − (number of invalid toggles) (1)

【0056】なお、図3に書き込まれているネット毎ト
グル数テーブルの各数値は、前記図2の論理回路10で
の、本実施例が対象とするテストパターンの一例を検査
した際の検査結果である。
The numerical values of the toggle number table for each net written in FIG. 3 correspond to the test results of the test performed by the logic circuit 10 of FIG. It is.

【0057】図4は、本実施例で印字出力されるテスト
パターン検査レポートを示す線図である。
FIG. 4 is a diagram showing a test pattern inspection report printed out in this embodiment.

【0058】この図4において、各項目における下線が
付された印字部分は、それぞれ、求められた数値あるい
は名称の文字列等が印字される部分である。
In FIG. 4, the underlined print portion of each item is a portion on which the obtained numerical value or character string of the name is printed.

【0059】この図4において、項目1は、本実施例で
検査されたテストパターンの名称が印字される。
In FIG. 4, in item 1, the name of the test pattern inspected in the present embodiment is printed.

【0060】項目2には、前記項目1のテストパターン
名称のテストパターンの総ステップ数が印字される。
In item 2, the total number of steps of the test pattern having the test pattern name of item 1 is printed.

【0061】項目3から項目7までは、それぞれ、前述
の項目1のテストパータン名称のテストパターンにより
故障検出される論理回路の、総論理ゲート数、総入力
数、総出力数、総パス数、総ネット数が印字される。
Items 3 to 7 respectively include the total number of logic gates, the total number of inputs, the total number of outputs, the total number of paths, and the number of logic circuits whose failure is detected by the test pattern having the test pattern name of item 1 described above. The total number of nets is printed.

【0062】又、項目8及び項目9には、このテストパ
ターンの全てのステップの実行後の、トグル数“0”の
ネット数、項目7の総ネット数に対するこのトグル数
“0”のネット数の比率、有効トグル数“0”のネット
数、及び項目7の総ネット数に対するこの有効トグル数
“0”のネット数の比率がそれぞれ印字される。
Item 8 and Item 9 include the number of nets of the toggle number “0” after execution of all the steps of this test pattern, and the number of nets of the toggle number “0” with respect to the total number of nets of the item 7. , The number of nets with the effective toggle number “0”, and the ratio of the number of nets with the effective toggle number “0” to the total number of nets in item 7 are printed.

【0063】項目10には、有効トグル数“0”である
ネットの名称(ネット番号)が順番に印字される。
In item 10, the names (net numbers) of nets having the number of valid toggles “0” are printed in order.

【0064】以上説明したように本発明の実施例によれ
ば、論理回路中の各ネットの有効トグル数のデータに従
った情報をも含む、図4に示されるようなテストパター
ン検査レポートを得ることができ、従ってテストパター
ンの故障検出能力のより有効な評価を行うことが可能で
ある。
As described above, according to the embodiment of the present invention, the test pattern inspection report as shown in FIG. 4 including the information according to the data of the effective toggle number of each net in the logic circuit is obtained. Therefore, a more effective evaluation of the fault detection capability of the test pattern can be performed.

【0065】なお、前述の図3のネット毎トグル数テー
ブルは、前述の図1のフローチャートに示される処理が
実行される計算機システム中のメモリ上に記憶されてお
り、必要に応じて各項目の書き込み更新や読み出しが行
われるものである。又、図2に示される論理回路も、所
定の手段により、この計算機システム中に記憶されてい
る。
The above-described toggle number per net table in FIG. 3 is stored in a memory in the computer system in which the processing shown in the flowchart in FIG. 1 is executed. Write update and read are performed. The logic circuit shown in FIG. 2 is also stored in the computer system by a predetermined means.

【0066】[0066]

【発明の効果】以上説明した通り、本発明によれば、所
定の論理回路の故障検出のために、該論理回路の出力端
子の出力状態を観測しながら、該論理回路の入力端子に
入力する論理回路のテストパターンの検査方法におい
て、このテストパターンの故障検出能力のより有効な評
価をするための情報のレポートが可能な論理回路のテス
トパターンの検査方法を提供するができるという優れた
効果を有する。
As described above, according to the present invention, in order to detect a failure of a predetermined logic circuit, the input is input to the input terminal of the logic circuit while observing the output state of the output terminal of the logic circuit. In the test method of the test pattern of the logic circuit, an excellent effect of being able to provide the test method of the test pattern of the logic circuit capable of reporting information for more effective evaluation of the fault detection capability of the test pattern is provided. Have.

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

【図1】図1は、本発明の要旨を示すフローチャートで
ある。
FIG. 1 is a flowchart showing the gist of the present invention.

【図2】図2は、前記実施例の検査対象のテストパター
ンの故障検出対象となる論理回路の一例の論理回路図で
ある。
FIG. 2 is a logic circuit diagram of an example of a logic circuit as a failure detection target of a test pattern to be inspected in the embodiment.

【図3】図3は、前記実施例で用いられるネット毎トグ
ル数テーブルを示す線図である。
FIG. 3 is a diagram showing a toggle number per net table used in the embodiment.

【図4】図4は、前記実施例から印字出力されるテスト
パターン検査レポートを示す線図である。
FIG. 4 is a diagram showing a test pattern inspection report printed out from the embodiment.

【符号の説明】[Explanation of symbols]

10…論理回路、 A〜F、H…論理回路入力、 X、Y…論理回路出力、 G1 〜G5 …論理ゲート、 a 、b 、D、CK、CL…論理ゲート入力、 y 、Q、QN…論理ゲート出力、 n1〜n13 …ネット。 10: logic circuit, A to F, H: logic circuit input, X, Y: logic circuit output, G1 to G5: logic gate, a, b, D, CK, CL: logic gate input, y, Q, QN Logic gate output, n1 to n13 ... net.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】所定の論理回路の故障検出のために、該論
理回路の出力端子の出力状態を観測しながら、該論理回
路の入力端子に入力する論理回路のテストパターンの検
査方法において、 論理シミュレーションにてテストパターンを1ステップ
毎実行し、 該論理回路内部のネットの論理状態が変化した時、該論
理状態の変化が、該論理回路の出力端子で観測不可能で
あるか判定し、 観測不可能であると判定された場合には、当該ネットの
無効トグル数をカウントアップし、 該無効トグル数と総トグル数とから有効トグル数を求
め、これにより、当該テストパターンの故障検出能力を
評価することを特徴とする論理回路のテストパターンの
検査方法。
1. A method for inspecting a test pattern of a logic circuit input to an input terminal of a logic circuit while observing an output state of an output terminal of the logic circuit for detecting a failure of the logic circuit. The test pattern is executed for each step in the simulation, and when the logic state of the net inside the logic circuit changes, it is determined whether or not the change in the logic state cannot be observed at the output terminal of the logic circuit. If it is determined that it is impossible, the number of invalid toggles of the net is counted up, and the number of valid toggles is obtained from the number of invalid toggles and the total number of toggles. An inspection method of a test pattern of a logic circuit, characterized by evaluating.
【請求項2】請求項1において、前記観測不可能である
ことの判定が、前記論理シミュレーション中の該当ステ
ップでの出力端子の論理状態の変化の有無に従った判定
であることを特徴とする論理回路のテストパターンの検
査方法。
2. The method according to claim 1, wherein the determination that the observation is not possible is a determination in accordance with the presence or absence of a change in the logic state of the output terminal at a corresponding step in the logic simulation. An inspection method for a test pattern of a logic circuit.
JP3276835A 1991-09-27 1991-09-27 Inspection method of test pattern of logic circuit Expired - Fee Related JP2642265B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3276835A JP2642265B2 (en) 1991-09-27 1991-09-27 Inspection method of test pattern of logic circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3276835A JP2642265B2 (en) 1991-09-27 1991-09-27 Inspection method of test pattern of logic circuit

Publications (2)

Publication Number Publication Date
JPH0587887A JPH0587887A (en) 1993-04-06
JP2642265B2 true JP2642265B2 (en) 1997-08-20

Family

ID=17575070

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3276835A Expired - Fee Related JP2642265B2 (en) 1991-09-27 1991-09-27 Inspection method of test pattern of logic circuit

Country Status (1)

Country Link
JP (1) JP2642265B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110398795A (en) * 2018-04-17 2019-11-01 通快激光有限责任公司 Scanning mirror, scanning means and irradiation unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110398795A (en) * 2018-04-17 2019-11-01 通快激光有限责任公司 Scanning mirror, scanning means and irradiation unit

Also Published As

Publication number Publication date
JPH0587887A (en) 1993-04-06

Similar Documents

Publication Publication Date Title
JP2982741B2 (en) Fault diagnosis device for integrated circuit and recording medium therefor
KR100337696B1 (en) Method for automatically generating behavioral environment for model checking
US20080313517A1 (en) Debug circuit
US6721914B2 (en) Diagnosis of combinational logic circuit failures
JPH11149491A (en) Fault detection rate evaluation method
US11408938B2 (en) Bidirectional scan cells for single-path reversible scan chains
US20020188904A1 (en) Efficiency of fault simulation by logic backtracking
JP2642265B2 (en) Inspection method of test pattern of logic circuit
Guo et al. Detection and diagnosis of static scan cell internal defect
JP2642250B2 (en) Inspection method of test pattern of logic circuit
US6876934B2 (en) Method for determining fault coverage from RTL description
US20090077439A1 (en) Integrated circuit test method and test apparatus
US8001438B1 (en) Measuring bridge-fault coverage for test patterns within integrated circuits
JP2861861B2 (en) Failure diagnosis system
Huang et al. Diagnosis of defects on scan enable and clock trees
JPH10247208A (en) Method and device for testing integrated circuit
JPH01156680A (en) Fault diagnosing method for logic circuit
JPS63231279A (en) Estimating method for fault point of logic circuit
Shimino An efficient logical fault diagnosis for combinational circuits using stuck-at fault simulation
JPH0798365A (en) Fault detection factor calculating method for test pattern and device thereof
JPH0259967A (en) Method for designing test facilitating circuit
JPH0271175A (en) Method for troubleshooting logical circuit
JPH0815388A (en) Method and apparatus for generating inspection series
JPH0519022A (en) Method for generating test pattern
JPH06138183A (en) Method for creating test pattern for diagnosing lsi failure

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees