JPH0773211A - Delay inspecting system of logical circuit - Google Patents

Delay inspecting system of logical circuit

Info

Publication number
JPH0773211A
JPH0773211A JP5217313A JP21731393A JPH0773211A JP H0773211 A JPH0773211 A JP H0773211A JP 5217313 A JP5217313 A JP 5217313A JP 21731393 A JP21731393 A JP 21731393A JP H0773211 A JPH0773211 A JP H0773211A
Authority
JP
Japan
Prior art keywords
gate
circuit
signal
output
logic
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.)
Withdrawn
Application number
JP5217313A
Other languages
Japanese (ja)
Inventor
Fumiyasu Hirose
文保 広瀬
Keiji Hisama
啓司 久間
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.)
Fujitsu Ltd
Fujitsu Social Science Labs Ltd
Original Assignee
Fujitsu Ltd
Fujitsu Social Science Labs 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 Fujitsu Ltd, Fujitsu Social Science Labs Ltd filed Critical Fujitsu Ltd
Priority to JP5217313A priority Critical patent/JPH0773211A/en
Publication of JPH0773211A publication Critical patent/JPH0773211A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To perform a delay inspection by detecting a path generating a designated signal value to be an object on a logical circuit at high speed. CONSTITUTION:A circuit 1 to be inspected which is provided with an input gate 10, an output gate 12 and logical gate 11 being arranged between the input gate 10 and the output gate 12 and performing a logical operation is provided with an inverse circuit 2 composed of logical gates 20 to 22 corresponding to each gate. When the generation of a preliminarily designated signal value is detected from the output gate 12 when one of signal values having plural waveforms is selected, respectively, and is inputted in each input gate 10 by changing the combination of the signal values for the circuit 1 to be inspected, each logical gate 20 to 22 of the inverse circuit 2 is driven by the event from the poststage, generates an event when the corresponded gate of the circuit 1 to be inspected is the designated signal value and supplies the event to the logical gate of the preceding stage.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は論理回路のディレイ故障
検査方式に関する。近年,LSI,VLSIの大規模化
にともない論理シミュレーション,テスト生成,故障シ
ミュレーションの高速化が要求されている。このため,
ゲートの信号値に,本来の信号値以外の情報を持たせて
パス上を伝播させる手法が多く用いられているが,対象
となる回路上の全てのゲートが該当する信号値を持つこ
とを確認しなければならず,膨大な時間を必要とする。
システム全体の高速化のためには,この部分の高速化が
求められている。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a delay fault inspection system for logic circuits. In recent years, as LSIs and VLSIs have increased in size, there has been a demand for speeding up logic simulation, test generation, and failure simulation. For this reason,
The method of propagating on the path by giving information other than the original signal value to the signal value of the gate is often used, but it is confirmed that all the gates on the target circuit have the corresponding signal value. Must be done, and it takes a huge amount of time.
In order to speed up the entire system, it is necessary to speed up this part.

【0002】[0002]

【従来の技術】図12は論理回路の説明図である。LC
は論理回路であり,この論理回路LCには複数の入力I
1〜Inと出力O1〜Omが設けられ,その間に各種の
ゲート(OR論理,AND論理,NOT論理,バッファ
等)がG1,G2,G3・・・と多数設けられている。
このような論理回路LCを設計した場合,入力に信号が
与えられた時に出力側にその入力信号に応答する信号が
表れるまでのディレイ(遅延)時間を検査する必要があ
る。すなわち,各入力と出力の経路(パス)は個別に異
なっており,入力信号が出力に達するまでに多数のゲー
トを通過する場合や,短い経路を通る場合等がある。そ
のため,ディレイ時間が予め決められた範囲(長過ぎる
場合と短か過ぎる場合がある)を越えることが検出され
ると,ある決められたクロック信号の同期範囲内に入・
出力の信号が発生しなくなりその論理回路LCが正常に
動作できない可能性があるからである。
2. Description of the Related Art FIG. 12 is an explanatory diagram of a logic circuit. LC
Is a logic circuit, and this logic circuit LC has a plurality of inputs I
1 to In and outputs O1 to Om, and various gates (OR logic, AND logic, NOT logic, buffer, etc.) G1, G2, G3, ... Are provided between them.
When such a logic circuit LC is designed, it is necessary to inspect a delay time until a signal corresponding to the input signal appears on the output side when a signal is applied to the input. That is, the paths of the respective input and output are individually different, and there are cases in which the input signal passes through a large number of gates before it reaches the output, and cases in which it passes through a short path. Therefore, if it is detected that the delay time exceeds a predetermined range (which may be too long or too short), the delay time may fall within a certain sync range of the clock signal.
This is because the output signal is not generated and the logic circuit LC may not operate normally.

【0003】論理回路を駆動するクロック周波数(周
期)を変更するか,論理回路の構成を変更してパス(信
号の伝播経路)を短くする等の工夫をしなければならな
くなる。
It is necessary to change the clock frequency (cycle) for driving the logic circuit or change the configuration of the logic circuit to shorten the path (signal propagation path).

【0004】このため,論理回路のディレイ故障の検査
が従来から行われているが,通常,各入・出力間の信号
パスに含まれるゲート段数が分かれば信号伝播のディレ
イ時間が求められるので,基本的には,各出力毎に入力
端子からその出力端子までに通過するゲートの段数を求
めている。
For this reason, although a delay fault in a logic circuit has been conventionally tested, a signal propagation delay time is usually obtained if the number of gate stages included in a signal path between each input and output is known. Basically, the number of gate stages passing from the input terminal to the output terminal is calculated for each output.

【0005】ところが,多くのゲートの段数を通る出力
端子が存在しても,その出力端子に関係する入力信号
(複数の信号が関係する)の変化に対して出力信号が立
ち上がるか立ち下がる等の有意な出力信号の変化が生じ
ない場合がある。そのような出力信号には,論理的に冗
長な信号を伝達する,例えば一定期間出力状態が不定と
なる信号または,入力信号としてどのような信号を与え
ても出力が“L”(ロウレベル)または“H”(ハイレ
ベル)に固定された信号である。
However, even if there is an output terminal passing through a large number of gate stages, the output signal rises or falls in response to a change in an input signal (a plurality of signals are related) related to the output terminal. There may be no significant change in the output signal. A logically redundant signal is transmitted to such an output signal, for example, a signal in which the output state is indefinite for a certain period of time, or the output is "L" (low level) even if any signal is given as an input signal. The signal is fixed at "H" (high level).

【0006】このような出力信号を発生する出力端子と
接続する長いパスのディレイ時間は,実際の動作に影響
を与えない(クロック信号による影響を受けない)の
で,入力の信号の変化により関係する出力に対し有意な
影響を与えるかどうかを検出する必要がある。
The delay time of the long path connected to the output terminal for generating such an output signal does not affect the actual operation (not affected by the clock signal), and therefore is related to the change of the input signal. It is necessary to detect whether it has a significant effect on the output.

【0007】従来,論理回路のシミュレーション等の際
に有意な出力信号の変化が生じるゲート段数の多いパス
を検出するには,一つの入力ベクトル(並列に入力する
複数個の入力信号パターン)を入力に対して印加する度
に出力までの各ゲートの信号値を観測して有意な信号が
発生するか調べ,入力信号の全てのパターンについて検
証しなければならなかった。
Conventionally, in order to detect a path having a large number of gate stages in which a significant change in output signal occurs during simulation of a logic circuit, one input vector (a plurality of input signal patterns input in parallel) is input. Each time it was applied, the signal value of each gate up to the output was observed to check if a significant signal was generated, and it was necessary to verify all the patterns of the input signal.

【0008】そして,段数が多いパスを通る出力に関係
する多数の入力信号に対して,任意の値(本来の信号値
以外の情報を持たせてパス上を伝播させる方法)を取り
うる入力信号の組み合わせを変えて,あらゆる信号パタ
ーンによりシミュレーションを行って出力信号を識別す
る方法が用いられる。
An input signal that can take an arbitrary value (a method of propagating on a path by providing information other than the original signal value) with respect to a large number of input signals related to outputs passing through a path having a large number of stages A method is used in which the output signal is identified by changing the combination of the above and performing simulation with all signal patterns.

【0009】この識別の結果,出力端子に有意な信号が
発生しないことが分かると,そのパスのディレイ時間は
問題にせずクロック周期を変更する必要が無いが,その
パスにより有意な信号が出力に発生するとそのパスのデ
ィレイ時間はクロック周期を変更したり,回路を変更し
てディレイ時間を短くする等の改良の対象とするもので
ある。
As a result of this discrimination, when it is found that a significant signal does not occur at the output terminal, the delay time of that path does not matter and there is no need to change the clock cycle, but a significant signal is output by that path. When it occurs, the delay time of the path is to be improved by changing the clock cycle or changing the circuit to shorten the delay time.

【0010】[0010]

【発明が解決しようとする課題】上記の従来の方法によ
り条件に合うパスをサーチすると,LSIやVLSI等
の回路規模が大きい場合,回路上の全パス数は膨大にな
り,また一般的に回路規模が大きいと入力パターン数も
膨大になって,処理時間が過大になる。従って,対象と
なる論理回路について処理を比較的に短時間で終了させ
るためには,入力パターンを極端に少なくするか,対象
となる回路の規模を小さく分割する必要がある。
When a path satisfying the conditions is searched by the above conventional method, when the circuit scale of LSI, VLSI, etc. is large, the total number of paths on the circuit is enormous, and in general, the circuit is large. If the scale is large, the number of input patterns will be huge and the processing time will be too long. Therefore, in order to finish the processing for the target logic circuit in a relatively short time, it is necessary to extremely reduce the input pattern or divide the target circuit into smaller scales.

【0011】入力パターンを極端に少なくすると制限さ
れた条件内でのサーチになって十分な結果が得られず,
回路規模を分割するとそのための手間がかかるという問
題があった。
When the input pattern is extremely reduced, the search is performed within the limited conditions, and a sufficient result cannot be obtained.
If the circuit scale is divided, there is a problem that it takes time and effort.

【0012】本発明は論理回路上で対象とする特定の信
号値を発生するパスを高速に検出することができる論理
回路のディレイ検査方式を提供することを目的とする。
また,検出したパス上からその信号値を発生するゲート
を高速に検出できる論理回路のディレイ検査方式を提供
することを目的とする。
An object of the present invention is to provide a delay inspection method for a logic circuit, which can detect a path generating a specific signal value of interest on the logic circuit at high speed.
Another object of the present invention is to provide a delay inspection method for a logic circuit that can detect a gate that generates the signal value on the detected path at high speed.

【0013】[0013]

【課題を解決するための手段】図1は本発明の原理構成
図,図2は各種の信号値のパターンを表す図である。図
1において,1はそれぞれ複数の入力ピンと,複数のゲ
ート(論理回路)及び出力ピンとで構成する被検査回
路,2は被検査回路の各ゲートに対応して設けられたゲ
ートにより構成され,被検査回路とは逆方向に出力側か
ら入力側へ指定した信号の動きを追随し,任意に指定し
た信号値を持つゲートの集合からなるパスを検出する逆
回路,3はファンインゲートマーク回路であり逆回路2
で検出されたパス上で指定した信号の変化が発生したこ
とを信号の種別と共に保持する回路である。
FIG. 1 is a block diagram of the principle of the present invention, and FIG. 2 is a diagram showing patterns of various signal values. In FIG. 1, reference numeral 1 is a circuit under test composed of a plurality of input pins, a plurality of gates (logic circuits) and output pins, and reference numeral 2 is a gate provided corresponding to each gate of the circuit under test. An inverse circuit that follows the movement of a specified signal from the output side to the input side in the opposite direction to the inspection circuit, and detects a path consisting of a set of gates with arbitrarily specified signal values, 3 is a fan-in gate mark circuit Yes Reverse circuit 2
It is a circuit that holds the occurrence of a change in the designated signal on the path detected in step 1 along with the type of the signal.

【0014】被検査回路1の10はi〔n〕により代表
して表す入力信号が供給されるi1,i2・・・の入力
ゲート(入力ピンに対応),11はg〔n〕により代表
して表す論理動作を行うg1,g2・・・の論理ゲー
ト,12はo〔n〕により代表して表すそれぞれ出力信
号を発生するo1,o2・・・の出力ゲート(出力ピン
に対応)である。なお,i〔n〕,g〔n〕,o〔n〕
の各nは,1,2・・・の数を表し,各ゲート種別のn
の数は同じとは限らない。
The circuit 10 to be inspected 10 has input gates (corresponding to input pins) of i1, i2, ... To which an input signal represented by i [n] is supplied, and 11 represents by g [n]. Logic gates g1, g2 ... That perform the logic operation represented by 12, and 12 are output gates (corresponding to the output pins) o1, o2 ... That generate the output signals respectively represented by o [n]. . Note that i [n], g [n], o [n]
N of each gate type represents the number of 1, 2, ...
Are not necessarily the same.

【0015】逆回路2の20は被検査回路の入力ゲート
i〔n〕に対応して設けられたI〔n〕により代表して
表すI1,I2・・Im・・のゲート,21は被検査回
路の論理ゲートg〔n〕に対応して設けられたG〔n〕
により代表して表すG1,G2・・・Gm・・のゲー
ト,22は被検査回路の出力ゲートo〔n〕に対応して
設けられたO〔n〕により代表して表すO1,O2・・
Om・・のゲート,23は各出力ゲートO〔n〕の最終
段に供給されるクロック源である。
Inverter circuit 20 is represented by I [n] provided corresponding to input gate i [n] of the circuit to be inspected, I1, I2 ... Im. G [n] provided corresponding to the logic gate g [n] of the circuit
, Gm, ..., Gm ..., And 22 is represented by O [n] provided corresponding to the output gate o [n] of the circuit under test.
An Om gate 23 is a clock source supplied to the final stage of each output gate O [n].

【0016】逆回路2の各ゲートはファンインとして自
身の出力と,被検査回路1の対応するゲート出力の2つ
があり,そのファンアウトは自分に対応する被検査回路
上のゲートのファンインに対応する逆回路上の前段のゲ
ートへ接続され,同時にファンインゲートマーク回路3
の対応するゲートへ接続される。
Each gate of the inverse circuit 2 has its own output as a fan-in and the corresponding gate output of the circuit under test 1, and its fan-out is the fan-in of the gate on the circuit under test corresponding to itself. The fan-in gate mark circuit 3 is connected to the gate of the preceding stage on the corresponding reverse circuit, and at the same time.
Connected to the corresponding gate of.

【0017】また,ファンインゲートマーク回路3にお
いて,30は被検査回路1の各論理ゲートg〔n〕のフ
ァンイン(入力)に対応して設けられたG〔n〕f
〔n〕で表すゲートマーク回路,31は被検査回路1の
出力ゲートo〔n〕に対応して設けられたO〔n〕fで
表すゲートマーク回路であり,各回路は信号の変化が発
生したことを変化の種別と共に記憶する機能を備えてい
る。
In the fan-in gate mark circuit 3, reference numeral 30 denotes G [n] f provided corresponding to the fan-in (input) of each logic gate g [n] of the circuit under test 1.
A gate mark circuit represented by [n], 31 is a gate mark circuit represented by O [n] f provided corresponding to the output gate o [n] of the circuit under test 1, and each circuit generates a signal change. It has a function of storing what has been done together with the type of change.

【0018】本発明は被検査回路の各入力に対し複数の
波形信号の中の一つをそれぞれに組み合わせを変えて供
給して,出力ゲートから指定した波形信号が発生する
と,対応する逆回路により指定した信号を持つゲートの
集合からなるパスを検出する。
According to the present invention, one of a plurality of waveform signals is supplied to each input of the circuit under test in a different combination, and when a specified waveform signal is generated from the output gate, the corresponding inverse circuit is used. Detects a path consisting of a set of gates with a specified signal.

【0019】また,本発明は被検査回路への各種の信号
入力に対して,指定した波形信号が一度でも検出される
とファンインゲートマーク回路により各パスに対応する
ゲート(出力を含む)毎に,指定した信号値の種別を含
む検出出力を保持させるものである。
Further, according to the present invention, when a specified waveform signal is detected even once with respect to various signal inputs to the circuit under test, each gate (including output) corresponding to each path is detected by the fan-in gate mark circuit. To hold the detection output including the specified signal value type.

【0020】[0020]

【作用】図2は本発明により発生し得る信号(入力・出
力)のパターンの種別が示され,0s,0p,0−,1
s,1p,1−,xの7つのパターンに分けられ,各信
号値の意味及び波形は図2に示すとおりであり,各信号
は3ビットのコードにより表される。なお,この7つの
信号のパターンの中で,0pはフォール(1から0への
立ち下がり)信号,1pはライズ(0から1への立ち上
がり)信号であり,この2つの信号をパルス信号と称す
る場合がある。他の信号の場合,0s,1sは変化が表
れず,xは不定であり,初期値が不明で0−,1−は一
定時間内では不定の状態で最終的に0または1となり,
これらはパルス信号として取り扱わない。
FIG. 2 shows the types of signal (input / output) patterns that can be generated by the present invention. 0s, 0p, 0-, 1
It is divided into seven patterns of s, 1p, 1-, and x. The meaning and waveform of each signal value are as shown in FIG. 2, and each signal is represented by a 3-bit code. In the pattern of these seven signals, 0p is a fall (falling from 1 to 0) signal, 1p is a rise (rising from 0 to 1) signal, and these two signals are called pulse signals. There are cases. In the case of other signals, 0s and 1s show no change, x is indefinite, the initial value is unknown, and 0- and 1- are indefinite within a certain time and finally become 0 or 1.
These are not treated as pulse signals.

【0021】検査(シミュレーション)を行う場合,被
検査回路1の各ゲートi〔n〕の入力信号として図2に
示す各種の信号の組み合わせを順次変更して供給した時
に,出力側のゲートo〔n〕の出力として予め指定した
信号が発生するとその信号の経路を検出するために逆回
路2が駆動される。
When an inspection (simulation) is performed, when the combination of various signals shown in FIG. 2 is sequentially changed and supplied as the input signal of each gate i [n] of the circuit under test 1, the output side gate o [ When a signal designated in advance as the output of [n] is generated, the inverse circuit 2 is driven to detect the path of the signal.

【0022】0ディレイのシミュレーションをする場
合,時刻T(0)に被検査回路1に対し,入力ベクトル
IP(0)を与えると,時刻T(0)中に出力へ信号が
伝播する。次の時刻T(1)で逆回路2上で被検査回路
1上の出力ゲート12に対応するゲート22に対しクロ
ック源23を与えると,逆回路2上の出力ゲートに対応
するゲートは,対応する被検査回路1上のゲートの信号
値を参照し,その値が指定された値であれば,自分の値
を反転しファンアウト先へイベント(変化情報の発生)
を通知する。
In the 0 delay simulation, when the input vector IP (0) is given to the circuit under test 1 at time T (0), the signal propagates to the output during time T (0). At the next time T (1), when the clock source 23 is given to the gate 22 corresponding to the output gate 12 on the circuit under test 1 on the inverse circuit 2, the gate corresponding to the output gate on the inverse circuit 2 becomes Refer to the signal value of the gate on the inspected circuit 1, and if that value is the specified value, invert its own value and send an event to the fan-out destination (generation of change information)
To notify.

【0023】ファンアウト先のゲートの内,ファンイン
ゲートマーク回路3上のゲートマーク回路30または3
1はイベントを受け取ると,対応する被検査回路1上の
ゲートの信号値と自分自身の信号値を参照し,その信号
値が予め指定した信号値の内未だそれまでにとったこと
の無い信号値である時,自分の信号値を反転して出力す
る。
Among the gates of the fan-out destination, the gate mark circuit 30 or 3 on the fan-in gate mark circuit 3
When 1 receives an event, it refers to the signal value of the corresponding gate on the circuit under test 1 and its own signal value, and that signal value has not yet been taken among the previously specified signal values. When it is a value, it inverts its own signal value and outputs it.

【0024】別のファンアウト先である逆回路2上のゲ
ートは,対応する被検査回路1上のゲートの信号値及び
自分自身の信号値を参照し,もし対応する被検査回路上
のゲートの信号値が予め指定した値であれば,自分自身
の信号値を反転して出力する。以上の動作を時刻T
(1)の間に入力側へ向かって逐次実行することによ
り,予め指定した信号値を持つゲートの集合からなるパ
スを検出し,同時に検出したパス上のゲートの中から初
めて,検出パス上に乗ったゲートを抽出することができ
る。
The gate on the inverse circuit 2 which is another fan-out destination refers to the signal value of the gate on the corresponding circuit under test 1 and its own signal value, and if the gate on the corresponding circuit under test is checked, If the signal value is a value specified in advance, it inverts its own signal value and outputs it. The above operation is performed at time T
By sequentially executing toward the input side during (1), a path consisting of a set of gates having a pre-specified signal value is detected, and the gates on the detected paths are detected for the first time on the detection path. You can extract the gate you got on.

【0025】図1の構成について具体的に説明すると,
例えば,予め指定した信号値が被検査回路1の出力ゲー
トo〔n〕の中のomに発生すると,その変化信号(パ
ルス信号)は逆回路2の対応するゲートOmへ入力す
る。逆回路2の各ゲートは対応する被検査回路1のゲー
トからの出力信号と,自己の出力信号とが入力され,被
検査回路1のゲートomから予め指定した信号値(例え
ば,0pと1p)が発生すると,逆回路2上の対応する
ゲートOmはクロック源23のクロックに同期して状態
が変化(反転)する。被検査回路1上のゲートomから
指定された信号値が入力されないと出力信号は変化しな
い。逆回路2のゲートOmに反転信号が発生すると,こ
れがイベントとして逆回路2の前段のゲートGmへ供給
されて駆動する。また,このイベントはファンインゲー
トマーク回路3の対応するゲートマーク回路G〔n〕f
〔n〕へも供給される。
The configuration of FIG. 1 will be described in detail.
For example, when a signal value designated in advance occurs at om in the output gates o [n] of the circuit under test 1, the change signal (pulse signal) is input to the corresponding gate Om of the inverse circuit 2. The output signal from the corresponding gate of the circuit under test 1 and its own output signal are input to the respective gates of the inverse circuit 2, and the signal value specified in advance from the gate om of the circuit under test 1 (for example, 0p and 1p). Occurs, the state of the corresponding gate Om on the inverse circuit 2 changes (inverts) in synchronization with the clock of the clock source 23. The output signal does not change unless the specified signal value is input from the gate om on the circuit under test 1. When an inverted signal is generated in the gate Om of the inverse circuit 2, this is supplied as an event to the gate Gm in the preceding stage of the inverse circuit 2 to drive it. Further, this event corresponds to the corresponding gate mark circuit G [n] f of the fan-in gate mark circuit 3.
It is also supplied to [n].

【0026】従って,被検査回路1で検査を行って被検
査回路1のo〔n〕から変化信号が発生した場合,逆回
路2の各ゲートI〔n〕,G〔n〕,O〔n〕の出力信
号の状態を検出することにより,変化信号が伝達された
経路を出力側から入力側へ順次たどることができる。
Therefore, when the inspection circuit 1 performs inspection and a change signal is generated from o [n] of the inspection circuit 1, each gate I [n], G [n], O [n of the inverse circuit 2 is generated. ] By detecting the state of the output signal of [], it is possible to sequentially follow the path through which the change signal is transmitted from the output side to the input side.

【0027】また,図1のファンインゲートマーク回路
3は,被検査回路1の出力のゲートo〔n〕及び論理動
作のゲートg〔n〕のそれぞれの全てのファンインゲー
トに対応した個数のゲートマーク回路G〔n〕f〔n〕
及びO〔n〕fで構成され(入力のゲートi〔n〕に対
応する回路は設けない),各ゲートマーク回路は,ファ
ンインゲートからの信号として被検査回路1の対応する
ゲートのファンインゲート信号(図1中のゲートマーク
回路Gmf1の場合,ファンインf1)と,自己の出力
信号とが供給され,逆回路2の対応するゲートG〔n〕
またはO〔n〕からのイベント(出力信号の反転)が発
生した時に駆動され,対応する被検査回路のファンイン
ゲートに指定した信号値が発生するとその状態を記憶保
持する。この時,発生した指定した信号値についてその
種別も記憶保持することができる。
The fan-in gate mark circuit 3 of FIG. 1 has a number corresponding to all the fan-in gates of the output gate o [n] and the logic operation gate g [n] of the circuit under test 1. Gate mark circuit G [n] f [n]
And O [n] f (the circuit corresponding to the input gate i [n] is not provided), each gate mark circuit is a fan-in of the corresponding gate of the circuit under test 1 as a signal from the fan-in gate. The gate signal (fan-in f1 in the case of the gate mark circuit Gmf1 in FIG. 1) and its own output signal are supplied, and the corresponding gate G [n] of the inverse circuit 2 is supplied.
Alternatively, it is driven when an event (inversion of the output signal) from O [n] occurs, and when the specified signal value is generated in the fan-in gate of the corresponding circuit under test, the state is stored and held. At this time, the type of the generated designated signal value can also be stored and held.

【0028】このファンインゲートマーク回路3の各ゲ
ートマーク回路G〔n〕f〔n〕,O〔n〕fの内容
は,被検査回路のゲートのファンイン別に各ゲートを介
する経路上で変化信号が発生したか否か及び発生した場
合はその種別と共に保持するので,検査を行った後にそ
れぞれの内容チェックすることにより詳細な変化の経路
を知ることができる。
The contents of the respective gate mark circuits G [n] f [n] and O [n] f of the fan-in gate mark circuit 3 change on the route through each gate depending on the fan-in of the gate of the circuit under test. Whether or not a signal is generated and when it is generated are held together with the type thereof, so that the detailed change path can be known by checking the contents of each after the inspection.

【0029】[0029]

【実施例】図3は実施例の構成図である。この実施例
は,被検査回路1として図に示すような論理回路の構成
例に対する逆回路2及びファンインゲートマーク回路3
の構成が示され,出力ゲートは1つだけの例を示す。
FIG. 3 is a block diagram of the embodiment. In this embodiment, an inverse circuit 2 and a fan-in gate mark circuit 3 are provided for a configuration example of a logic circuit as shown as the circuit under test 1.
The configuration is shown and only one output gate is shown.

【0030】なお,これらの,被検査回路1,逆回路2
及びファンインゲートマーク回路3は全て,各回路を組
み合わせたハードウェアとして構成することができる
が,シミュレーション用のソフトウェアとして構成する
こともできる。
The circuit to be inspected 1 and the inverse circuit 2 are
The fan-in gate mark circuit 3 and the fan-in gate mark circuit 3 can all be configured as hardware by combining the circuits, but can also be configured as software for simulation.

【0031】被検査回路1において,10−1〜10−
3は入力ピンに対応する入力ゲート(in1〜in
3),11−1〜11−4は論理ゲート(g1〜g4)
であり,g1はバッファ,g2はアンド回路,g3はナ
ンド回路,g4はオア回路である。また,12は出力ピ
ンに対応する出力ゲート(out1)である。
In the circuit under test 1, 10-1 to 10-
3 is an input gate corresponding to an input pin (in1 to in
3), 11-1 to 11-4 are logic gates (g1 to g4)
G1 is a buffer, g2 is an AND circuit, g3 is a NAND circuit, and g4 is an OR circuit. Reference numeral 12 is an output gate (out1) corresponding to the output pin.

【0032】逆回路2において,20−1〜20−3は
被検査回路1の入力ゲートin1〜in3に対応する逆
入力ゲート(I1〜I3),21−1〜21−4は被検
査回路1の論理ゲートg1〜g4に対応する逆論理ゲー
ト(G1〜G4),22は被検査回路1のout1に対
応する逆出力ゲート(O1)である。
In the reverse circuit 2, 20-1 to 20-3 are reverse input gates (I1 to I3) corresponding to the input gates in1 to in3 of the circuit under test 1, and 21-1 to 21-4 are the circuit under test 1. Inverse logic gates (G1 to G4) and 22 corresponding to the logic gates g1 to g4 in FIG. 2 are inverse output gates (O1) corresponding to out1 of the circuit under test 1.

【0033】ファンインゲートマーク回路3において,
31は被検査回路1の論理ゲートg1のファンイン(i
n1)に対応するゲートマーク回路(G1f1),3
2,33は被検査回路1の論理ゲートg2への2つのフ
ァンインに対応する各ゲートマーク回路(G2f1,G
2f2),34,35は被検査回路1の論理ゲートg3
へのファンイン(論理ゲートg3の出力,入力ゲートi
n3の出力)に対応するゲートマーク回路(G3f1,
G3f2,36,37は被検査回路1の論理ゲートg4
への2つのファンイン(論理ゲートg2,g3の出力)
に対応する各ゲートマーク回路(G4f1,G4f
2),38は被検査回路の出力ゲート12のファンイン
(論理ゲートg4の出力)に対応するゲートマーク回路
(O1f1)である。
In the fan-in gate mark circuit 3,
31 is a fan-in (i) of the logic gate g1 of the circuit under test 1.
n1) gate mark circuits (G1f1), 3
2 and 33 are gate mark circuits (G2f1, G2) corresponding to two fan-ins to the logic gate g2 of the circuit under test 1.
2f2), 34, and 35 are logic gates g3 of the circuit under test 1.
Fan-in (output of logic gate g3, input gate i
n3 output) corresponding to the gate mark circuit (G3f1,
G3f2, 36, 37 are logic gates g4 of the circuit under test 1.
2 fan-ins (outputs of logic gates g2 and g3)
Corresponding to each gate mark circuit (G4f1, G4f
2) and 38 are gate mark circuits (O1f1) corresponding to the fan-in (output of the logic gate g4) of the output gate 12 of the circuit under test.

【0034】図4は各信号に対する論理ゲートの真理値
表を示す図であり,図3の被検査回路1の論理ゲートは
この真理値表により動作する。図4において,A.はア
ンド(AND)論理の真理値表であり,図3のゲートg
2,g3がこの論理動作を行う。A.の左端の列方向に
各波形の信号(図2に示すOs,Op・・・・X,の7
種の信号)が一方の入力信号として供給され,他の入力
信号としてA.の最上段の行方向に示す各波形の信号が
供給された時,アンド論理の出力信号はそれぞれが交叉
する位置に示す種別の信号となる。例えば,信号0p
(フォール)と1p(ライズ)が入力した時,アンド論
理の出力として信号0−が発生する。
FIG. 4 is a diagram showing a truth table of the logic gate for each signal, and the logic gate of the circuit under test 1 of FIG. 3 operates according to this truth table. In FIG. Is a truth table of AND logic, and the gate g of FIG.
2 and g3 perform this logical operation. A. The signal of each waveform in the column direction at the left end of (in FIG. 2, 7 of Os, Op ...
Seed signal) is supplied as one input signal and A. When the signals of the respective waveforms shown in the row direction at the top are supplied, the output signals of the AND logic become the signals of the types shown at the positions where they intersect. For example, signal 0p
When (fall) and 1p (rise) are input, a signal 0- is generated as an AND logic output.

【0035】図4のB.はオア(OR)論理の真理値表
であり,A.と同様に7つの信号の組み合わせに対応す
る各オア論理の出力が示されている。C.はインバータ
(INV)及びバッファ(BUF)の真理値表であっ
て,図のようにそれぞれの入力(input)に対して
出力(output)を発生する。なお,インバータは
図3の被検査回路1の例に示す回路に含まれていない
が,普通に使用される。また,NANDゲートの場合,
AND出力をインバータに通して得られる。
B. of FIG. Is a truth table of OR logic, and A. Similarly, the output of each OR logic corresponding to a combination of seven signals is shown. C. Is a truth table of the inverter (INV) and the buffer (BUF), and generates an output (output) for each input (input) as shown in the figure. Although the inverter is not included in the circuit shown in the example of the circuit under test 1 in FIG. 3, it is normally used. In the case of NAND gate,
It is obtained by passing the AND output through an inverter.

【0036】次に図5は逆回路のゲートの真理値表を示
す図である。図3の逆回路2の各ゲートG1〜G4,O
1は,基本的にはインバータと同様の動作をする。但
し,一般のインバータと異なる点は,出力を反転するの
は対応する被検査回路上のゲートが指定した信号値をと
った時だけであり,図5に示す真理値表の場合,指定値
として入力信号が0p(フォール)と1p(ライズ)が
指定された例である。この2つの信号の何れかが入力す
ると,逆回路上のこのゲート自身の現在の出力値(aと
する)を反転(−a)し,それ以外の信号が発生する
と,自身の現在の出力値(a)を変化させない。
Next, FIG. 5 is a diagram showing a truth table of the gate of the inverse circuit. Each gate G1 to G4, O of the inverse circuit 2 of FIG.
1 operates basically the same as an inverter. However, the difference from a general inverter is that the output is inverted only when the corresponding gate on the circuit under test takes the specified signal value, and in the case of the truth table shown in FIG. In this example, 0p (fall) and 1p (rise) are designated as the input signal. When either of these two signals is input, the current output value (as a) of this gate itself in the inverse circuit is inverted (-a), and when other signals are generated, the current output value of itself is Do not change (a).

【0037】このような論理動作を行う回路構成は,自
身の出力と被検査回路の対応するゲートの出力とを入力
とし,後段からの変化信号(出力aから−aへの反転信
号)により駆動(イネーブル状態になる)され,被検査
回路の対応するゲートの出力信号が0pまたは1pの
時,出力信号を反転させるよう論理回路を組み合わせる
ことにより構成することができる。また,各出力信号は
逆回路上の次の前段(入力側の段)を駆動する信号とし
て供給される。
The circuit configuration for performing such a logical operation receives the output of itself and the output of the corresponding gate of the circuit to be inspected as an input and is driven by a change signal (an inverted signal from output a to -a) from the subsequent stage. It can be configured by combining the logic circuits so as to invert the output signal when it is (enabled) and the output signal of the corresponding gate of the circuit under test is 0p or 1p. Each output signal is supplied as a signal for driving the next preceding stage (input side stage) on the reverse circuit.

【0038】なお,逆回路2の出力側のゲートO1だけ
は,図3に示すようにクロック(CLOCK)源23の
クロックにより駆動されて,被検査回路1の出力ゲート
の信号(out)について図5のような論理動作を行
う。
It should be noted that only the gate O1 on the output side of the inverse circuit 2 is driven by the clock of the clock (CLOCK) source 23 as shown in FIG. 3, and the signal (out) of the output gate of the circuit under test 1 is shown. A logical operation such as 5 is performed.

【0039】次に図6はファンインゲートマーク回路上
のゲートの真理値を示す図である。この図3のファンイ
ンゲートマーク回路3の各ゲートマーク回路31〜38
は,指定信号波形として,0p(フォール)と1p(ラ
イズ)の2つの信号が指定された場合の例を示す。
FIG. 6 is a diagram showing the truth value of the gate on the fan-in gate mark circuit. Each of the gate mark circuits 31 to 38 of the fan-in gate mark circuit 3 of FIG.
Shows an example in which two signals of 0p (fall) and 1p (rise) are designated as the designated signal waveform.

【0040】図3に示すようにファンインゲートマーク
回路3の各ゲートマーク回路31〜38は,それぞれ逆
回路2の対応するゲートG1〜O1から出力された信号
が入力されるが,変化信号が入力された時だけ駆動(イ
ネーブル)され,その時の被検査回路1の各ファンイン
の信号値が0p(フォール)か1p(ライズ)の何れか
が入力されると,その入力があったことを記憶保持し,
一連のシミュレーション動作において,信号0p,1p
が一度でも発生すると,最初にその状態が記憶される
と,同じ信号が発生しても記憶状態は変化しない。
As shown in FIG. 3, the gate mark circuits 31 to 38 of the fan-in gate mark circuit 3 receive the signals output from the corresponding gates G1 to O1 of the inverse circuit 2, respectively, but the change signals It is driven (enabled) only when it is input, and if the signal value of each fan-in of the circuit under test 1 at that time is 0p (fall) or 1p (rise), that Keep memory,
In a series of simulation operations, signals 0p, 1p
When occurs even once, when the state is stored for the first time, the stored state does not change even if the same signal occurs.

【0041】図3に示す実施例の各ゲートマーク回路3
1〜38は,ファンインの信号値が0p,1pの何れで
あるかその種別も記憶するするためにそれぞれ2ビット
が設けられているが,その種別を問題にしない場合には
0p,1pの何れか一つが発生したことを記憶する1ビ
ットだけで良い。
Each gate mark circuit 3 of the embodiment shown in FIG.
Each of 1 to 38 is provided with 2 bits to store whether the fan-in signal value is 0p or 1p and its type, but if the type does not matter, 0p and 1p are set. Only one bit is required to store that any one has occurred.

【0042】2ビットを設けたこの例では,先頭ビット
は信号1p(ライズ)の発生状態を表し,後のビットは
信号0p(フォール)の状態を表し,その2ビットの状
態は2つのフリップフロップ回路により構成することが
でき,その記憶状態は図6の真理値表に従って変化する
よう構成される。すなわち,現在のゲートマーク回路自
身の2ビットの出力が,「00」の時,対応する被検査
回路のゲートのファンインゲート信号が0pなら「0
1」に設定され,1pなら「10」に設定される。ま
た,現在の自身の出力が「10」の時ファンインゲート
信号が0pなら「11」に設定され,1pなら「10」
のまま変化しない。
In this example in which two bits are provided, the first bit represents the generation state of the signal 1p (rise), the latter bit represents the state of the signal 0p (fall), and the state of the two bits is two flip-flops. It can be configured by a circuit, and its storage state is configured to change according to the truth table of FIG. That is, when the 2-bit output of the current gate mark circuit itself is "00" and the fan-in gate signal of the gate of the corresponding circuit under test is 0p, "0" is output.
It is set to "1", and if it is 1p, it is set to "10". When the current output is “10”, the fan-in gate signal is set to “11” if it is 0p and “10” if it is 1p.
It remains unchanged.

【0043】従って,被検査回路に対する一連のシミュ
レーション動作において,各ファンインゲート信号とし
て0pまたは1pの信号が発生すると,その発生状態が
ゲートマーク回路に保持される。各ゲートマーク回路の
状態は他のゲートマーク回路に出力されることがなく,
検査後に各ゲートマーク回路の状態を読み取ることによ
り0pまたは1pの信号が伝播する経路を分析すること
ができる。
Therefore, when a signal of 0p or 1p is generated as each fan-in gate signal in a series of simulation operations for the circuit under test, the generated state is held in the gate mark circuit. The status of each gate mark circuit is not output to other gate mark circuits,
By reading the state of each gate mark circuit after the inspection, the path through which the 0p or 1p signal propagates can be analyzed.

【0044】上記図3の実施例の構成は被検査回路,逆
回路及びファンインゲートマーク回路をハードウェアに
より構成することができるが,各回路の構成をソフトウ
ェアにより構成して,論理的にシミュレーションを行う
ことができ,その場合の逆回路とファンインゲートマー
ク回路の動作フローを図7,図8により説明する。
In the configuration of the embodiment of FIG. 3 described above, the circuit to be inspected, the inverse circuit and the fan-in gate mark circuit can be configured by hardware, but the configuration of each circuit is configured by software and logically simulated. The operation flow of the reverse circuit and the fan-in gate mark circuit in that case will be described with reference to FIGS.

【0045】図7は論理的なシミュレーションにおける
逆回路の動作フローであり,これを説明すると,被検査
回路上で論理シミュレーションを行い(図7のS1),
被検査回路の出力に対応する逆回路のゲート全てについ
て処理が終了したか判別し(図7のS2),終了してな
い場合は,対象となる被検査回路上のゲートの信号値は
期待値(予め指定した信号値で,例えば0p,1p)と
等しいか否か判定し(同S3),等しい時は逆回路上の
ゲートの信号値を反転する(同S4)。
FIG. 7 shows the operation flow of the inverse circuit in the logical simulation. To explain this, the logical simulation is performed on the circuit under test (S1 in FIG. 7).
It is determined whether or not the processing has been completed for all the gates of the reverse circuit corresponding to the output of the circuit under test (S2 in FIG. 7). If not, the signal value of the gate on the target circuit under test is the expected value. (It is determined whether or not it is equal to, for example, 0p, 1p with a previously designated signal value) (at step S3), and if it is equal, the signal value of the gate on the reverse circuit is inverted (at step S4).

【0046】次にこの信号値が反転した逆回路のゲート
のファンアウトゲート(前段のゲート)が存在するか判
別し(図7のS5),存在しないとそのゲートに関する
追跡を終了しステップS2に戻って,他の被検査回路の
出力に対応する逆回路のゲートについて処理を開始す
る。ファンアウトゲートが存在する場合,その逆回路上
のゲートのファンアウトゲートを取り出し(図7のS
6),ステップS3に戻ってそのゲートに対応する被検
査回路上のゲートの信号値が期待値と等しいか判別し,
上記と同様の処理を継続する。
Next, it is judged whether or not there is a fan-out gate (previous stage gate) of the gate of the reverse circuit in which this signal value is inverted (S5 in FIG. 7), and if not, the tracking for that gate is ended and the process proceeds to step S2. Returning to this, the process is started for the gate of the reverse circuit corresponding to the output of another circuit under test. If there is a fan-out gate, take out the fan-out gate of the gate on the reverse circuit (S in FIG. 7).
6) Return to step S3, determine whether the signal value of the gate on the circuit under test corresponding to that gate is equal to the expected value,
The same processing as above is continued.

【0047】このように,被検査回路の出力に対応する
逆回路の各ゲートについて,順次期待値が発生した時そ
のゲートの信号値を反転してファンアウトゲートに逆上
る処理を行い,逆回路の全てのゲート(被検査回路の出
力に対応するゲート)について処理が終了すると,逆回
路の動作フローを終了する。
In this way, for each gate of the inverse circuit corresponding to the output of the circuit under test, when the expected value is sequentially generated, the signal value of the gate is inverted and the process of going up to the fan-out gate is performed, and the inverse circuit is executed. When the processing is completed for all the gates (gates corresponding to the output of the circuit under test), the operation flow of the reverse circuit ends.

【0048】次に図8はファンインゲートマーク回路の
動作フローである。このファンインゲートマーク回路は
逆回路の各ゲートの出力を受け取って論理動作を行うた
め,上記図7の動作フローと連携する内容になってお
り,太線の枠で示すS5〜S7の処理を行う点に特徴を
備える。
Next, FIG. 8 is an operation flow of the fan-in gate mark circuit. Since this fan-in gate mark circuit receives the output of each gate of the reverse circuit and performs a logical operation, it has a content that cooperates with the operation flow of FIG. 7, and performs the processing of S5 to S7 indicated by the bold frame. Features points.

【0049】図8のS1〜S4は,被検査回路及び逆回
路における動作であり,図7のS1〜S4と同じであ
る。ステップS4の逆回路上のゲートの信号値が判定し
た場合,この信号値か反転した逆回路上のゲートに対応
するファンインゲートマーク回路上のゲート(ゲートマ
ーク回路と同じ)を取り出す(図8のS5)。次に取り
出したファンインゲートマーク回路のゲートに対応する
被検査回路上のゲートの信号値を参照し(図8のS
6),参照結果によりファンインゲートマーク回路のゲ
ートのもつ信号値を更新する(図8のS7)。
S1 to S4 in FIG. 8 are the operations in the circuit under test and the reverse circuit, and are the same as S1 to S4 in FIG. When the signal value of the gate on the reverse circuit in step S4 is determined, the gate on the fan-in gate mark circuit (the same as the gate mark circuit) corresponding to this signal value or the inverted gate on the reverse circuit is extracted (FIG. 8). S5). Next, the signal value of the gate on the circuit under test corresponding to the gate of the extracted fan-in gate mark circuit is referred to (S in FIG. 8).
6), the signal value of the gate of the fan-in gate mark circuit is updated according to the reference result (S7 in FIG. 8).

【0050】このファンインゲートマーク回路のゲート
の信号値の更新は,上記図6についての説明した通りで
あり,0p,1pの発生に応じた信号値を発生して保持
する。この後,図8のS8,S9と逆回路のファンアウ
トゲートに関する上記の逆回路の動作(図7のS5,S
6)が実行されて,逆回路の各ファンアウトゲートに対
応するファンインゲートマーク回路上の各ゲートについ
てS3以下の処理が実行される。被検査回路の出力に対
応する逆回路のゲートの全てについて処理が終了する
と,このファンインゲートマーク回路の動作を終了す
る。
The update of the signal value of the gate of the fan-in gate mark circuit is as described with reference to FIG. 6, and the signal value corresponding to the occurrence of 0p and 1p is generated and held. Thereafter, the operation of the above-mentioned reverse circuit relating to the fan-out gate of S8 and S9 of FIG. 8 (S5 and S of FIG. 7) is performed.
6) is executed, and the processing from S3 onward is executed for each gate in the fan-in gate mark circuit corresponding to each fan-out gate in the reverse circuit. When the processing is completed for all the gates of the inverse circuit corresponding to the output of the circuit under test, the operation of the fan-in gate mark circuit is completed.

【0051】図9は被検査回路へ入力パターンを与えた
時の各ゲートの状態を表し,図10は図9のA.の入力
パターンを与えた時の逆回路とファンインゲートマーク
回路の状態を表し,図11は図9のB.の入力パターン
を与えた時の逆回路とファンインゲートマーク回路の状
態を表す。
FIG. 9 shows the state of each gate when an input pattern is given to the circuit under test, and FIG. 11 shows the states of the reverse circuit and the fan-in gate mark circuit when the input pattern of FIG. The state of the reverse circuit and the fan-in gate mark circuit when the input pattern is given is shown.

【0052】図9のA.のように,時刻1に入力パター
ンとしてin1,in2,in3に{1s,0p,0
s}を入力すると,上記図4に示す真理値表に従って,
各論理ゲートと出力ゲートにA.に示す信号が発生す
る。なお,入出力ピン及び各ゲートは時刻1に便宜的に
値Xに初期回路されているものとする。以下の説明で
は,パスを伝播する信号値の中で検出対象となる予め指
定した信号値として,パルス性の信号値である0p(フ
ォール)と1p(ライズ)が指定されているものとし,
論理回路上でこの2つの信号値が発生するゲートを含む
パスを知ることによりディレイ検査が行われる。
FIG. 9A. As shown in, the input pattern at time 1, in1, in2, in3 is {1s, 0p, 0
If you input s}, according to the truth table shown in FIG.
For each logic gate and output gate The signal shown in is generated. It is assumed that the input / output pin and each gate are initialized to the value X at time 1 for convenience. In the following description, it is assumed that 0p (fall) and 1p (rise), which are pulse-like signal values, are specified as the prespecified signal values to be detected among the signal values propagating through the path.
The delay check is performed by knowing the path including the gate where these two signal values are generated on the logic circuit.

【0053】時刻2において(時刻1で入力ピンに対す
るイベントは出力ピン側まで伝わっているものとす
る),図10に示すように逆回路O1に対してクロック
源23が供給されると,ゲートO1に対応する被検査回
路1上の出力ゲートo1が信号値0pを発生しているの
で,ゲートO1は自分の信号値を反転し,そのイベント
(信号値が変化したことを表す情報)を逆回路2上の前
段のゲートG4に伝える。ゲートG4に対応する被検査
回路1からの論理ゲートg4の信号値は0pであるか
ら,ゲートG4は自分の信号値を反転し,そのイベント
をゲートG2,G3に伝える。ゲートG2に対応する被
検査回路1上の論理ゲートg2の信号はこの時0pであ
るから,ゲートG2は自分の信号値を反転し,そのイベ
ントをゲートI1,I2に伝える。
At time 2 (the event for the input pin at time 1 is transmitted to the output pin side), when the clock source 23 is supplied to the inverse circuit O1 as shown in FIG. 10, the gate O1 is supplied. Since the output gate o1 on the inspected circuit 1 corresponding to 1 generates the signal value 0p, the gate O1 inverts its own signal value and reverses the event (information indicating that the signal value has changed). It is transmitted to the gate G4 in the previous stage above 2. Since the signal value of the logic gate g4 from the circuit under test 1 corresponding to the gate G4 is 0p, the gate G4 inverts its own signal value and transmits the event to the gates G2 and G3. Since the signal of the logic gate g2 on the circuit under test 1 corresponding to the gate G2 is 0p at this time, the gate G2 inverts its own signal value and transmits the event to the gates I1 and I2.

【0054】一方,ゲートG3に対応する被検査回路1
上の論理ゲートg3の信号値は0sであるため,ゲート
G3の信号値は変化しない。従って,論理ゲートg3の
ファンインである,論理ゲートg1の出力信号及び入力
ピンの信号in3に対応する逆回路3上のゲートG1,
I3に対応してイベントは伝わらない。ゲートG2から
イベントを受け取ったゲートI1,I2のうち,ゲート
I1は対応する被検査回路1上の入力ゲートin1の信
号値が1sであるから信号値を変化させない。
On the other hand, the circuit under test 1 corresponding to the gate G3
Since the signal value of the upper logic gate g3 is 0 s, the signal value of the gate G3 does not change. Therefore, the gate G1 on the inverse circuit 3 corresponding to the output signal of the logic gate g1 and the signal in3 of the input pin, which is the fan-in of the logic gate g3.
The event is not transmitted corresponding to I3. Of the gates I1 and I2 that have received the event from the gate G2, the gate I1 does not change the signal value because the signal value of the corresponding input gate in1 on the circuit under test 1 is 1s.

【0055】ゲートI2は対応する被検査回路1上の入
力ゲートin2の信号値が0pであるため信号値を反転
する。ここまでで,信号値の変化した逆回路上のゲート
に対応する被検査回路1上のゲートは,入力ゲートin
2から出力ゲートo1に到るパス上で信号値0p,1p
を持つゲートの集合となる。すなわち,図10に示す逆
回路2中に斜線が施された各ゲートI2,G2,G4,
O1の経路に対応する被検査回路1の入力ゲートin
2,論理ゲートg2,g4及び出力ゲートout1の経
路である。
The gate I2 inverts the signal value of the corresponding input gate in2 on the circuit under test 1 because the signal value is 0p. Up to this point, the gate on the circuit under test 1 corresponding to the gate on the reverse circuit whose signal value has changed is the input gate in
Signal values 0p, 1p on the path from 2 to the output gate o1
It is a set of gates with. That is, the gates I2, G2, G4, which are hatched in the inverse circuit 2 shown in FIG.
Input gate in of the circuit under test 1 corresponding to the path of O1
2, a path of the logic gates g2 and g4 and the output gate out1.

【0056】図9のA.のような入力パターンが供給さ
れた時に逆回路が上記のように動作した時のファンイン
ゲートマーク回路の動作を図10により説明する。逆回
路2の中で信号値が反転したゲートからは,そのゲート
に対応するファンインゲートマーク回路3上のゲートマ
ーク回路に対してイベント(信号値が変化したことを表
す情報)が送られる。イベントを送られたファンインゲ
ートマーク回路3の対応するゲートマーク回路は,自分
が一度も反転していなければ,この時初めて値を変化さ
せる。イベントを送られたファンインゲートマーク回路
上のゲートマーク回路が,もしも以前に値を変化させて
いた場合には,これ以上の変化が起きない。以前に信号
値が変化しているかいないかは,信号が初期値であるか
どうかを識別することにより分かる。
FIG. 9A. The operation of the fan-in gate mark circuit when the reverse circuit operates as described above when an input pattern such as the above is supplied will be described with reference to FIG. An event (information indicating that the signal value has changed) is sent from the gate whose signal value is inverted in the inverse circuit 2 to the gate mark circuit on the fan-in gate mark circuit 3 corresponding to the gate. The corresponding gate mark circuit of the fan-in gate mark circuit 3 to which the event is sent changes the value only at this time if it has not been inverted. If the gate mark circuit on the fan-in gate mark circuit to which the event was sent had previously changed the value, no further change occurs. Whether or not the signal value has changed before can be known by identifying whether or not the signal has an initial value.

【0057】図10の例では,ファンインゲートマーク
回路上のゲートの信号が全て初期値であったと仮定し
て,逆回路2上の信号値が変化したゲートと,それに対
応するゲートマーク回路上で信号値の変化したゲートを
斜線により示す。すなわち,ゲートマーク回路O1f
1,G4f1,G2f2の3つである。
In the example of FIG. 10, assuming that the signals of the gates on the fan-in gate mark circuit are all initial values, the gates on which the signal values on the inverse circuit 2 have changed and the corresponding gate mark circuits on the gate mark circuit are changed. The gates whose signal values have changed are indicated by diagonal lines. That is, the gate mark circuit O1f
1, G4f1, G2f2.

【0058】上記図10の例では,シングルパスを検出
しているが,マルチパスを検出することも可能である。
図11に図9のB.の入力パターンを与えた時の逆回路
とファンインゲートマーク回路の状態を表す。
In the example of FIG. 10, the single path is detected, but it is also possible to detect the multipath.
FIG. 11 shows B.C. of FIG. The state of the reverse circuit and the fan-in gate mark circuit when the input pattern is given is shown.

【0059】図11の例は,上記図9のA.の入力ベク
トルを与えた後を仮定し,ファンインゲートマーク回路
の動作を分かり易くしている。すなわち,入力パターン
として,図9のB.に示すように{0p,1s,0p}
を与えると,入力in1から出力out1に至るパスと
入力in3から出力out1に至るパスが信号値{0
p,1p}を持つゲートにより構成され,それぞれに対
応する逆回路上のゲートが値を反転する。値を反転する
逆回路上のゲートは図11の逆回路2上において斜線が
施されたO1,G4,G2,G3,I1,I3の各ゲー
トである。
The example of FIG. 11 corresponds to A. The operation of the fan-in gate mark circuit is made easier to understand by assuming that after the input vector of is given. That is, as the input pattern, B. As shown in {0p, 1s, 0p}
, The path from the input in1 to the output out1 and the path from the input in3 to the output out1 are signal values {0
p, 1p}, and the corresponding gates on the inverse circuit invert the values. The gates on the inverse circuit for inverting the values are the gates O1, G4, G2, G3, I1 and I3 that are shaded on the inverse circuit 2 in FIG.

【0060】逆回路上で信号値に変化のあったゲート
は,図11の対応するファンインゲートマーク回路上の
ゲートに対してイベントを送るが,上記図10の例で信
号値が変化したファンインゲートマーク回路上のゲート
は今回は値を変化させない(図11中,ファンインゲー
トマーク回路上で斜線が施されたO1f1,G4f1,
G2f2の各ゲート)。イベントを送られたゲートの中
でも今までに信号値を変化させていないゲートのみ値を
変化させる。この回路は,図11中,ファンインゲート
マーク回路上で太線の枠で囲ったG3f2,G4f2の
各ゲートである。
The gate whose signal value has changed on the reverse circuit sends an event to the gate on the corresponding fan-in gate mark circuit of FIG. 11, but the fan whose signal value has changed in the example of FIG. 10 above. The gate of the in-gate mark circuit does not change its value this time (in FIG. 11, O1f1, G4f1, shaded on the fan-in gate mark circuit).
Each gate of G2f2). Among the gates to which the event is sent, only the gates that have not changed the signal value so far are changed in value. This circuit is each gate of G3f2 and G4f2 surrounded by a bold frame on the fan-in gate mark circuit in FIG.

【0061】[0061]

【発明の効果】本発明によれば,パス上のゲート信号値
を検索することなくダイレクトにある信号値を持つゲー
トの集合からなるパスを検出することができる。また,
同時にパス上のゲートの中から初めに指定した信号値を
発生したゲートを検出することができ,論理回路のシミ
ュレーション装置やディレイ故障検査の性能向上を実現
することができる。
According to the present invention, a path consisting of a set of gates having a certain signal value can be directly detected without searching the gate signal value on the path. Also,
At the same time, the gate that first generates the specified signal value can be detected from the gates on the path, and the performance of the logic circuit simulation device and the delay fault inspection can be improved.

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

【図1】本発明の原理構成図である。FIG. 1 is a principle configuration diagram of the present invention.

【図2】各信号値のパターンの説明図である。FIG. 2 is an explanatory diagram of patterns of signal values.

【図3】実施例の構成図である。FIG. 3 is a configuration diagram of an embodiment.

【図4】論理ゲートの真理値表を示す図である。FIG. 4 is a diagram showing a truth table of a logic gate.

【図5】逆回路のゲートの真理値表を示す図である。FIG. 5 is a diagram showing a truth table of gates of an inverse circuit.

【図6】ファンインゲートマーク回路上のゲートの真理
値を示す図である。
FIG. 6 is a diagram showing a truth value of a gate on a fan-in gate mark circuit.

【図7】逆回路の動作フローを示す図である。FIG. 7 is a diagram showing an operation flow of an inverse circuit.

【図8】ファンインゲートマーク回路の動作フローを示
す図である。
FIG. 8 is a diagram showing an operation flow of a fan-in gate mark circuit.

【図9】被検査回路へ入力パターンを与えた時の各ゲー
トの状態を表す図である。
FIG. 9 is a diagram showing a state of each gate when an input pattern is given to a circuit under test.

【図10】図9のA.の入力パターンを与えた時の逆回
路とファンインゲートマーク回路の状態を表す図であ
る。
FIG. 10A. FIG. 3 is a diagram showing states of an inverse circuit and a fan-in gate mark circuit when the input pattern of FIG.

【図11】図9のB.の入力パターンを与えた時の逆回
路とファンインゲートマーク回路の状態を表す図であ
る。
FIG. 11B. FIG. 3 is a diagram showing states of an inverse circuit and a fan-in gate mark circuit when the input pattern of FIG.

【図12】論理回路の説明図である。FIG. 12 is an explanatory diagram of a logic circuit.

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

1 被検査回路 10 入力ゲート(i〔n〕) 11 論理ゲート(g〔n〕) 12 出力ゲート(o〔n〕) 2 逆回路 20 論理ゲート(I〔n〕) 21 論理ゲート(G〔n〕) 22 論理ゲート(O〔n〕) 23 クロック源 3 ファンインゲートマーク回路 30 ゲートマーク回路 1 circuit under test 10 input gate (i [n]) 11 logic gate (g [n]) 12 output gate (o [n]) 2 reverse circuit 20 logic gate (I [n]) 21 logic gate (G [n ] 22 logic gate (O [n]) 23 clock source 3 fan-in gate mark circuit 30 gate mark circuit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 久間 啓司 東京都品川区大崎1丁目6番4号 株式会 社富士通ソーシアルサイエンスラボラトリ 内 ─────────────────────────────────────────────────── --Continued front page (72) Inventor Keiji Kuma 1-6-4 Osaki, Shinagawa-ku, Tokyo Inside Fujitsu Social Science Laboratory, Inc.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 入力信号が供給される入力ゲート(10),
出力信号が発生する出力ゲート(12)及び前記入力ゲート
と出力ゲートの間に配置されて論理動作を行う論理ゲー
ト(11)とを備える被検査回路(1) のディレイ検査方式に
おいて,前記被検査回路上の入力ゲート,論理ゲート及
び出力ゲートに対応して設けられ, 少なくとも前記各ゲ
ートの出力信号をそれぞれ入力する論理ゲート(20 〜2
2) により構成され前記被検査回路の信号と逆方向にイ
ベントを伝播する逆回路(2) を設け,前記被検査回路に
対し,入力信号として複数の波形を持つ信号値の中の一
つを選択して複数の入力ゲートへ信号値の組合わせを変
えて入力した時出力ゲートから予め指定された信号値が
発生すると,前記逆回路において,前記被検査回路の出
力ゲートに対応する論理ゲートからイベントが発生して
前段の論理ゲートが駆動され,前段の論理ゲートは被検
査回路の対応する論理ゲートから予め指定された信号値
が発生するとイベントを発生し,順次前段の論理ゲート
を駆動して,逆回路の各論理ゲートの状態により指定さ
れた信号が通過する経路を識別することを特徴とする論
理回路のディレイ検査方式。
1. An input gate (10) to which an input signal is supplied,
In the delay test method of the circuit under test (1), which comprises an output gate (12) for generating an output signal and a logic gate (11) arranged between the input gate and the output gate to perform a logical operation, Logic gates (20 to 2) are provided corresponding to the input gates, logic gates and output gates on the circuit, and input at least the output signals of the respective gates.
An inverse circuit (2) that consists of 2) and propagates an event in the opposite direction to the signal of the circuit under test is provided, and one of the signal values having multiple waveforms as an input signal is input to the circuit under test. When a predetermined signal value is generated from the output gate when the combination of the signal values is input to the plurality of input gates by changing the combination of the signal values, in the reverse circuit, from the logic gate corresponding to the output gate of the circuit under test. When an event occurs and the preceding logic gate is driven, the preceding logic gate generates an event when a predetermined signal value is generated from the corresponding logic gate of the circuit under test, and sequentially drives the preceding logic gate. , A delay inspection method of a logic circuit characterized by identifying a path through which a signal specified by each logic gate of an inverse circuit passes.
【請求項2】 請求項1において,前記逆回路の各論理
ゲートは,被検査回路上の対応するゲートの出力信号が
指定された波形信号の時だけ自身の出力信号を反転して
前段へのイベントを発生し,該反転信号により前段の論
理ゲートを駆動することを特徴とする論理回路のディレ
イ検査方式。
2. The logic gate of claim 1, wherein each logic gate of the reverse circuit inverts its own output signal only when the output signal of the corresponding gate on the circuit under test is a designated waveform signal, A delay inspection method for a logic circuit, characterized in that an event is generated and a logic gate in a preceding stage is driven by the inverted signal.
【請求項3】 請求項2において,前記逆回路上の被検
査回路の出力ゲートに対応する論理ゲートは,クロック
信号により駆動されて論理動作を行うことを特徴とする
論理回路のディレイ検査方式。
3. The delay inspection method for a logic circuit according to claim 2, wherein the logic gate corresponding to the output gate of the circuit under test on the inverse circuit is driven by a clock signal to perform a logical operation.
【請求項4】 請求項1において,前記被検査回路の論
理ゲート及び出力ゲートの各ゲートの全ファンイン数の
ゲートマーク回路を備えるファンインゲートマーク回路
を設け,前記各ゲートマーク回路は被検査回路上のゲー
トの入力及び自身の出力をファンインとし,前記逆回路
上の対応する論理ゲートからの指定した波形信号の発生
により駆動され,指定した波形信号の発生したことを記
憶保持する手段を備えることを特徴とする論理回路のデ
ィレイ検査方式。
4. The fan-in gate mark circuit according to claim 1, further comprising a gate mark circuit having a total fan-in number of logic gates and output gates of the circuit to be inspected, wherein each gate mark circuit is to be inspected. A means for holding the occurrence of the designated waveform signal by being driven by the generation of the designated waveform signal from the corresponding logic gate on the inverse circuit, with the input of the gate on the circuit and the output of itself as fan-in. A delay inspection method for a logic circuit characterized by being provided.
【請求項5】 請求項4において,前記ゲートマーク回
路はそれぞれ,指定した波形信号の発生と共に波形信号
の種別を記憶保持する手段を備えることを特徴とする論
理回路のディレイ検査方式。
5. The delay inspection method for a logic circuit according to claim 4, wherein each of the gate mark circuits includes means for storing and holding a type of a waveform signal as well as generation of a designated waveform signal.
JP5217313A 1993-09-01 1993-09-01 Delay inspecting system of logical circuit Withdrawn JPH0773211A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5217313A JPH0773211A (en) 1993-09-01 1993-09-01 Delay inspecting system of logical circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5217313A JPH0773211A (en) 1993-09-01 1993-09-01 Delay inspecting system of logical circuit

Publications (1)

Publication Number Publication Date
JPH0773211A true JPH0773211A (en) 1995-03-17

Family

ID=16702208

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5217313A Withdrawn JPH0773211A (en) 1993-09-01 1993-09-01 Delay inspecting system of logical circuit

Country Status (1)

Country Link
JP (1) JPH0773211A (en)

Similar Documents

Publication Publication Date Title
US3961250A (en) Logic network test system with simulator oriented fault test generator
Hulgaard et al. Testing asynchronous circuits: A survey
US5377197A (en) Method for automatically generating test vectors for digital integrated circuits
US5513339A (en) Concurrent fault simulation of circuits with both logic elements and functional circuits
US4692921A (en) Method for generating verification tests
US5390193A (en) Test pattern generation
JPH04148882A (en) Indicating fault position of logic integrated circuit
US5491639A (en) Procedure for verifying data-processing systems
EP1132749B1 (en) Method and apparatus for generating test sequence
US20020178399A1 (en) Methods for characterizing, generating test sequences for, and/or simulating integrated circuit faults using fault tuples and related systems and computer program products
JPH10283394A (en) Fault simulation method
US5528604A (en) Test pattern generation for an electronic circuit using a transformed circuit description
US6018813A (en) Identification and test generation for primitive faults
JPH0773211A (en) Delay inspecting system of logical circuit
Krstic et al. Primitive delay faults: Identification, testing, and design for testability
Kim et al. Sequential test generators: past, present and future
JP2785901B2 (en) Test sequence generation method and test sequence generation device
JP2000214906A (en) System and method for solving test generation problem
JPH07296018A (en) Input space search system in inspection of logic circuit
JP2658857B2 (en) Equivalent fault extraction method and device
Cheng Test generation for delay faults in non-scan and partial scan sequential circuits
JPS61262856A (en) Testing circuit
JPH01156680A (en) Fault diagnosing method for logic circuit
JP2957016B2 (en) Delay failure simulation method
JPH1152023A (en) Method for estimating faulty location of lsi and storage medium storing program for estimating faulty location of lsi

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20001107