JPH11219385A - Delay fault detection method for integrated circuit - Google Patents

Delay fault detection method for integrated circuit

Info

Publication number
JPH11219385A
JPH11219385A JP10021984A JP2198498A JPH11219385A JP H11219385 A JPH11219385 A JP H11219385A JP 10021984 A JP10021984 A JP 10021984A JP 2198498 A JP2198498 A JP 2198498A JP H11219385 A JPH11219385 A JP H11219385A
Authority
JP
Japan
Prior art keywords
flip
scan
flop
signal
delay fault
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10021984A
Other languages
Japanese (ja)
Inventor
Takayuki Minemaru
貴行 峯丸
Tadashi Fukumoto
義 福本
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP10021984A priority Critical patent/JPH11219385A/en
Publication of JPH11219385A publication Critical patent/JPH11219385A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a delay fault detection method capable of suppressing the increase of inspection time even in a large-scale LSI and being realized by a relatively small-scale circuit for detection. SOLUTION: By selecting a route to be inspected from the result of a static actual wiring capacity simulation step 105, the scale of an additional means required for an inspection is suppressed. Further, by setting the initial state of the route to be inspected from a scanning route in an inversion means and control means insertion step 111, an initial value is optionally set without increasing a circuit scale. Delay fault detection is parallelly performed by inverting the state of the start point of the route by using the inversion means of simple constitution and the inspection time for the delay fault detection in a large-scale integrated circuit is reduced.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、LSI(大規模集
積回路)の内部遅延故障を検出する方法に関し、詳しく
は、スキャン化したフリップフロップを縦列接続してな
るスキャン経路を利用した遅延故障検出方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for detecting an internal delay fault in an LSI (Large Scale Integrated Circuit), and more particularly, to a method for detecting a delay fault using a scan path formed by cascading scanned flip-flops. About the method.

【0002】[0002]

【従来の技術】従来のスキャン経路を利用した遅延故障
検出方法として、例えば特公昭52−2863号公報に
記載された方法がある。この方法では、シフト動作で初
期状態を設定し、フリップフロップのデータ入力として
変化信号の変化後の信号値が設定されるようにテストパ
ターンとその取り込みのためのクロック信号を与え、フ
リップフロップの状態を変化させることによって遅延故
障を検出する。また、特公昭64−43773号公報に
開示されている別の方法では、外部から制御信号を与え
ることによりスキャンによらない遅延故障検出を行う。
また、より一般的には、機能検証用のテストパターンを
代用して遅延故障を検出する方法が行われている。
2. Description of the Related Art As a conventional delay fault detection method using a scan path, there is a method described in, for example, Japanese Patent Publication No. 52-2863. In this method, an initial state is set by a shift operation, and a test pattern and a clock signal for taking in the test pattern are provided so that a signal value after the change signal is set as a data input of the flip-flop, and a state of the flip-flop is provided. To detect a delay fault. In another method disclosed in Japanese Patent Publication No. 64-43773, detection of a delay failure without scanning is performed by externally applying a control signal.
More generally, a method of detecting a delay fault by using a test pattern for function verification has been used.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、機能検
証用のテストパターンを代用して遅延故障を検出する方
法では、真のクリティカル経路がテストされているか否
か不明である。
However, in the method of detecting a delay fault by substituting a test pattern for function verification, it is unclear whether or not a true critical path has been tested.

【0004】また、スキャン経路のみで遅延故障を検出
する方法は、初期状態の設定は容易であるが、変化信号
の変化後の信号値が設定されるようなテストパターンを
生成することが非常に困難である。更に、変化させる必
要のないフリップフロップの状態変化を引き起こすこと
があり、真のクリティカル経路がテストされているか否
かはやはり不明である。
In the method of detecting a delay fault using only a scan path, it is easy to set an initial state, but it is very difficult to generate a test pattern in which a signal value after a change signal changes is set. Have difficulty. Furthermore, it can cause a flip-flop state change that does not need to be changed, and it is still unclear whether the true critical path is being tested.

【0005】また、外部から制御信号を与えスキャン経
路によらない遅延故障検出を行う方法では、任意の場所
での遅延故障検出を行うことができるが、制御回路が大
きくなりやすく、外部信号を与えることから複数の遅延
故障の並列検出が困難であり、LSIの大規模化に適応
できないという問題がある。
In the method of detecting a delay fault independent of a scan path by applying a control signal from the outside, a delay fault can be detected at an arbitrary location. However, a control circuit is liable to be large and an external signal is applied. Therefore, it is difficult to detect a plurality of delay faults in parallel, and there is a problem that it is not possible to adapt to large-scale LSI.

【0006】本発明は上記のような従来の課題を解決
し、大規模LSIにおいても検査時間の増加を抑え、比
較的小規模の検出用回路で実現することができる遅延故
障検出方法を提供することを目的とする。
The present invention solves the above-mentioned conventional problems, and provides a delay fault detection method which can suppress an increase in test time even in a large-scale LSI and can be realized by a relatively small-scale detection circuit. The purpose is to:

【0007】[0007]

【課題を解決するための手段】本発明による集積回路の
遅延故障検出方法は、フリップフロップをスキャン化し
たネットリストを生成する第1のステップと、ネットリ
ストに対して静的遅延シミュレーションを実施して遅延
故障を発生させやすい経路を抽出する第2のステップ
と、その経路の始点となるフリップフロップ又は外部入
力信号の情報と、その経路が遅延故障を発生させやすい
場合の初期値情報とを抽出する第3のステップと、始点
となるフリップフロップの状態を反転させる反転手段と
その制御手段、及び初期値保持手段を挿入する第4のス
テップと、外部入力信号情報と初期値情報とに基づい
て、初期値をスキャン経路を通じて設定した後、制御手
段を制御する信号を与え、被検出経路の状態変化を発生
させて遅延故障検出を行う第5のステップとを備えてい
る。
A method for detecting a delay fault in an integrated circuit according to the present invention includes a first step of generating a netlist obtained by scanning flip-flops, and performing a static delay simulation on the netlist. A second step of extracting a path in which a delay fault is likely to occur, extracting information of a flip-flop or an external input signal serving as a starting point of the path, and initial value information in a case where the path is likely to cause a delay fault. Based on the external input signal information and the initial value information, a fourth step of inserting the inverting means for inverting the state of the flip-flop serving as the starting point, its control means, and the initial value holding means. After setting an initial value through the scan path, a signal for controlling the control means is given, and a state change of the detected path is generated to detect the delay fault. Cormorant and a fifth step.

【0008】上記の構成によれば、静的遅延シミュレー
ションの結果から真のクリティカル経路を選択すると共
に、状態変化の始点情報及び初期値情報を抽出する。つ
ぎに、それらの値を論理故障検出に用いられるスキャン
経路を利用して与え、遅延故障を検出するための状態変
化、すなわち信号反転を発生させるフリップフロップに
対して反転手段を付加することにより、真のクリティカ
ル経路を集積回路の各部において並列にテストすること
ができる。更に、静的遅延シミュレーションにより、遅
延故障の起こりやすい経路を抽出して重点的に検査する
ことにより、検出用回路の規模及びテストパターンの増
大が抑えられる。
According to the above configuration, the true critical path is selected from the result of the static delay simulation, and the start point information of the state change and the initial value information are extracted. Next, these values are given using a scan path used for logical fault detection, and a state change for detecting a delay fault, that is, by adding inversion means to a flip-flop that generates signal inversion, The true critical path can be tested in parallel on each part of the integrated circuit. Further, by extracting a path in which a delay fault is likely to occur by the static delay simulation and performing the inspection intensively, an increase in the size of the detection circuit and an increase in the test pattern can be suppressed.

【0009】好ましくは、第2ステップにおいて、レイ
アウトから得られる実配線容量を利用して、真のクリテ
ィカル経路を判別することが好ましい。また、静的遅延
シミュレーションの結果から、演算時間の余裕度のリス
トを生成し、余裕度が少ない経路を、遅延故障を発生さ
せやすい経路として選択することも好ましく、これによ
り回路規模及びテストパターンの増大が抑えられる。
Preferably, in the second step, a true critical path is determined by using an actual wiring capacitance obtained from a layout. It is also preferable to generate a list of the margin of operation time from the result of the static delay simulation, and select a path with a small margin as a path that easily causes a delay fault. The increase is suppressed.

【0010】また、制御手段をスキャン化し、制御する
信号をスキャン経路を通じて与えることが好ましい。こ
れにより、任意のフリップフロップの状態反転の並列制
御を実現することができる。
[0010] It is preferable that the control means is scanned and a control signal is given through a scan path. Thereby, parallel control of the state inversion of an arbitrary flip-flop can be realized.

【0011】更に、前記反転手段が、スキャン化フリッ
プフロップの出力信号の反転信号又は非スキャン入力信
号を選択信号にしたがって選択するように構成されてい
ることが好ましい。あるいは、スキャン化フリップフロ
ップの出力信号の反転信号又はスキャン入力信号を選択
信号にしたがって選択するように構成されていてもよ
い。これによって、反転手段の構成が最小化され、回路
規模の増加が抑えられる。また、反転手段及び初期値保
持手段が、スキャン経路上の前段のスキャン化フリップ
フロップの出力信号又はその反転信号を選択信号にした
がって選択するように構成されていてもよい。この構成
によれば、スキャン経路に処理を施すのみであり、通常
経路に与える遅延等の発生を防ぐことができる。
Further, it is preferable that the inverting means is configured to select an inverted signal of the output signal of the scan flip-flop or a non-scan input signal according to a selection signal. Alternatively, the configuration may be such that the inverted signal of the output signal of the scan flip-flop or the scan input signal is selected according to the selection signal. As a result, the configuration of the inversion means is minimized, and an increase in the circuit scale is suppressed. Further, the inverting means and the initial value holding means may be configured to select the output signal of the preceding scanning flip-flop on the scan path or the inverted signal thereof according to the selection signal. According to this configuration, only processing is performed on the scan path, and it is possible to prevent a delay or the like from being applied to the normal path.

【0012】[0012]

【発明の実施の形態】本発明の実施形態に係る遅延故障
検出方法のフローチャートを図1に示す。ステップ10
1で生成したネットリストに対してステップ102でス
キャン挿入を行い、ステップ103でレイアウトCAD
等を用いてレイアウトを行う。レイアウト結果に基づい
て、ステップ104で各信号線の実配線容量を抽出し、
ステップ105で静的実配線容量遅延シミュレーション
を行う。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a flowchart of a delay fault detecting method according to an embodiment of the present invention. Step 10
In step 102, scan insertion is performed on the netlist generated in step 1, and layout CAD is performed in step 103.
And so on. Based on the layout result, the actual wiring capacitance of each signal line is extracted in step 104,
In step 105, a static actual wiring capacitance delay simulation is performed.

【0013】シミュレーション結果から、ステップ10
6において遅延余裕度リストを生成する。ステップ10
8では、しきい値107を基準として、遅延余裕度リス
トからしきい値以下の余裕度をもつ経路を選択する。ス
テップ109では、選択された経路における状態反転を
させる入力フリップフロップ又は外部入力信号の情報を
始点情報として抽出する。あるいは、ステップ110に
おいて、状態反転操作を施す前の選択された経路の初期
値情報を抽出する。
From the simulation results, step 10
In step 6, a delay margin list is generated. Step 10
In step 8, based on the threshold 107, a route having a margin equal to or smaller than the threshold is selected from the delay margin list. In step 109, information of an input flip-flop or an external input signal for inverting the state in the selected path is extracted as start point information. Alternatively, in step 110, the initial value information of the selected route before performing the state inversion operation is extracted.

【0014】ステップ111では、始点情報抽出ステッ
プ109で得られた始点情報がフリップフロップであっ
た場合に、そのフリップフロップに対して反転手段及び
制御手段をネットリストに挿入し、更にステップ110
で抽出された初期値情報を保持する手段を挿入する。ス
テップ112では、ステップ111で変更されたネット
リストに従ったレイアウトを実行する。
In step 111, when the start point information obtained in the start point information extraction step 109 is a flip-flop, inverting means and control means are inserted into the netlist for the flip-flop.
A means for holding the initial value information extracted in step (1) is inserted. In step 112, the layout according to the netlist changed in step 111 is executed.

【0015】ステップ113では、ステップ111で変
更されたネットリストに対して、初期値情報に基づいた
初期値情報パターンを生成する。始点情報抽出ステップ
109で得られた情報がフリップフロップであれば、制
御手段を通じて入力フリップフロップを反転させるため
の制御信号パターンを生成し、始点情報抽出ステップ1
09で得られた情報が外部入力信号であればそれを反転
させるパターンを生成する。
In step 113, an initial value information pattern is generated based on the initial value information for the netlist changed in step 111. If the information obtained in the starting point information extracting step 109 is a flip-flop, a control signal pattern for inverting the input flip-flop is generated through the control means, and the starting point information extracting step 1 is performed.
If the information obtained in step 09 is an external input signal, a pattern for inverting the signal is generated.

【0016】テストパターン合成ステップ114では、
各経路ごとにステップ113で生成された経路テストパ
ターンをスキャン経路を通じて与えられるように合成す
ると共に、遅延故障検出のためのLSI制御信号パター
ンを付加して、遅延故障検出用パターン115を生成す
る。
In the test pattern synthesizing step 114,
The path test pattern generated in step 113 for each path is synthesized so as to be given through a scan path, and an LSI control signal pattern for delay fault detection is added to generate a delay fault detection pattern 115.

【0017】図2は、上記のステップ102でスキャン
挿入された被検出回路の具体例を示した回路図である。
また、図3は図2の被検出回路に対して本発明の遅延故
障検出方法に基づく反転手段と制御手段を実現する回路
を挿入した例を示している。この2つの図を用いて本発
明に基づく遅延故障検出の動作例を説明する。
FIG. 2 is a circuit diagram showing a specific example of the circuit to be detected that has been scanned and inserted in step 102 described above.
FIG. 3 shows an example in which a circuit for realizing inversion means and control means based on the delay fault detection method of the present invention is inserted in the detected circuit of FIG. An operation example of the delay fault detection based on the present invention will be described with reference to these two figures.

【0018】図2において、スキャン付きフリップフロ
ップ201〜205のクロック入力端子CKにクロック
信号206が入力され、スキャンシフト制御端子SCに
はスキャンシフト制御信号207が入力されている。そ
れぞれのスキャン付きフリップフロップ201〜205
は、スキャンシフト制御信号が”H”(高レベル)の場
合にスキャン入力端子DTからのデータを選択し、”
L”(低レベル)の場合に通常信号入力端子Dからのデ
ータを選択する。
In FIG. 2, a clock signal 206 is input to clock input terminals CK of flip-flops 201 to 205 with scan, and a scan shift control signal 207 is input to scan shift control terminal SC. Flip-flops with scans 201 to 205
Selects data from the scan input terminal DT when the scan shift control signal is “H” (high level),
In the case of L "(low level), the data from the normal signal input terminal D is selected.

【0019】信号入力208はスキャン付きフリップフ
ロップ201の通常信号入力端子Dに接続され、スキャ
ン入力209はスキャン付きフリップフロップ201の
スキャン入力端子DTに接続されている。スキャン付き
フリップフロップ201の出力信号端子Qはネット21
0を介してNANDゲート218の一方の入力端子とス
キャン付きフリップフロップ202のスキャン入力端子
DTに接続されている。
The signal input 208 is connected to the normal signal input terminal D of the flip-flop with scan 201, and the scan input 209 is connected to the scan input terminal DT of the flip-flop with scan 201. The output signal terminal Q of the flip-flop 201 with scan is the net 21
0, it is connected to one input terminal of the NAND gate 218 and the scan input terminal DT of the flip-flop 202 with scan.

【0020】スキャン付きフリップフロップ202の通
常信号入力端子Dは信号入力211に接続され、出力端
子Qはネット212を介してNANDゲート218の他
方の入力端子とスキャン付きフリップフロップ203の
スキャン入力端子DTに接続されている。スキャン付き
フリップフロップ203の通常信号入力端子Dは信号入
力213に接続され、出力端子Qはネット214を介し
てNANDゲート219の一方の入力端子とスキャン付
きフリップフロップ204のスキャン入力端子DTに接
続されている。スキャン付きフリップフロップ204の
通常信号入力端子Dは信号入力215に接続され、出力
端子Qはネット216を介してNANDゲート219の
他方の入力とスキャン付きフリップフロップ205のス
キャン入力端子DTに接続されている。
The normal signal input terminal D of the flip-flop with scan 202 is connected to the signal input 211, and the output terminal Q is connected via the net 212 to the other input terminal of the NAND gate 218 and the scan input terminal DT of the flip-flop with scan 203. It is connected to the. The normal signal input terminal D of the flip-flop with scan 203 is connected to the signal input 213, and the output terminal Q is connected via the net 214 to one input terminal of the NAND gate 219 and the scan input terminal DT of the flip-flop with scan 204. ing. The normal signal input terminal D of the flip-flop with scan 204 is connected to the signal input 215, and the output terminal Q is connected via the net 216 to the other input of the NAND gate 219 and the scan input terminal DT of the flip-flop with scan 205. I have.

【0021】NANDゲート218の出力はネット22
0を介してNORゲート222の一方の入力に接続さ
れ、NANDゲート219の出力はネット221を介し
てNORゲート222の他方の入力に接続されている。
NORゲート222の出力はネット223を介してスキ
ャン付きフリップフロップ205の通常信号入力端子D
に接続されている。スキャン付きフリップフロップ20
5の出力端子Qは信号出力217に接続されている。以
上の様な回路により、スキャン入力209からネット2
10、212、214、216を経由して信号出力21
7に至るスキャン経路が構成されている。
The output of NAND gate 218 is
The output of the NAND gate 219 is connected to one input of the NOR gate 222 via a net 221.
The output of the NOR gate 222 is supplied via a net 223 to the normal signal input terminal D of the flip-flop 205 with a scan.
It is connected to the. Flip-flop with scan 20
5 is connected to the signal output 217. With the circuit as described above, the scan input 209 and the net 2
Signal output 21 via 10, 212, 214, 216
7 is configured.

【0022】この被検出回路に対して、図1のレイアウ
トステップ103から被検出経路選択ステップ108ま
でを実行すると、最も余裕度の少ない経路として、スキ
ャン付きフリップフロップ204の出力の”H”から”
L”への変化が、ネット216、NANDゲート21
9、ネット221、NORゲート222、ネット223
を経由してスキャン付きフリップフロップ205の通常
信号入力端子Dに伝達される経路が選択される。
When the steps from the layout step 103 to the detected path selection step 108 in FIG. 1 are executed on the detected circuit, the path having the least allowance is changed from “H” of the output of the flip-flop with scan 204 to “H”.
The change to L ″ is caused by the net 216 and the NAND gate 21.
9, net 221, NOR gate 222, net 223
, A path to be transmitted to the normal signal input terminal D of the flip-flop with scan 205 is selected.

【0023】このとき、図1の始点情報抽出ステップ1
09において、スキャン付きフリップフロップ204が
状態反転させるべき始点として抽出される。また、初期
値情報抽出ステップ110において、スキャン付きフリ
ップフロップ204の出力の”H”から”L”への変化
が選択経路の終点まで伝播するように、NORゲート2
22のネット220側を”L”、すなわちNANDゲー
ト218の出力を”L”にする。このために、スキャン
付きフリップフロップ201及び202の出力の両方
を”H”とする。更に、NANDゲート219の出力が
ネット216の値で変化するように、スキャン付きフリ
ップフロップ203の出力を”H”にする。このような
初期情報が抽出される。
At this time, starting point information extraction step 1 in FIG.
At 09, the flip-flop with scan 204 is extracted as the starting point to be inverted. Further, in the initial value information extraction step 110, the NOR gate 2 is controlled so that the change from “H” to “L” of the output of the flip-flop with scan 204 propagates to the end point of the selected path.
22 is set to “L”, that is, the output of the NAND gate 218 is set to “L”. Therefore, both the outputs of the flip-flops with scan 201 and 202 are set to “H”. Further, the output of the flip-flop with scan 203 is set to “H” so that the output of the NAND gate 219 changes with the value of the net 216. Such initial information is extracted.

【0024】つぎに、反転手段及び制御手段挿入ステッ
プ111において、始点であるスキャン付きフリップフ
ロップ204に反転手段と制御手段を付加する。また、
初期値を保持するために、スキャン付きフリップフロッ
プ201〜203に保持手段を付加する。その結果生成
されたネットリストに基づく回路を図3に示す。
Next, in the inversion means and control means insertion step 111, the inversion means and the control means are added to the flip-flop with scan 204 which is the starting point. Also,
In order to hold the initial value, holding means is added to the flip-flops with scans 201 to 203. FIG. 3 shows a circuit based on the netlist generated as a result.

【0025】図3において、図2の回路から変化してい
ない部分は図2と同じ符号を付している。図2のスキャ
ン付きフリップフロップ204は、始点であるので、図
3において反転手段付きフリップフロップ301に置き
換えられている。反転手段付きフリップフロップ301
は、反転制御入力端子RVにネット302が接続され、
ネット302の値が”H”であり、かつ、スキャンシフ
ト制御信号207が”L”のときに出力反転する。
In FIG. 3, portions which are not changed from the circuit of FIG. 2 are denoted by the same reference numerals as in FIG. Since the flip-flop with scan 204 in FIG. 2 is the starting point, it is replaced with the flip-flop with inversion means 301 in FIG. Flip-flop 301 with inversion means
Has a net 302 connected to the inversion control input terminal RV,
The output is inverted when the value of the net 302 is “H” and the scan shift control signal 207 is “L”.

【0026】同様に、図2のスキャン付きフリップフロ
ップ201〜203は、図3ではそれぞれ保持手段付き
フリップフロップ303〜305に置き換えられ、それ
らの保持制御信号端子HLDにネット302が接続され
ている。保持手段付きフリップフロップ303〜305
は、ネット302が”H”であり、かつ、スキャンシフ
ト制御信号207が”L”の場合に出力保持される。ス
キャン付きフリップフロップ306は、反転手段及び初
期値保持手段の制御を行う制御手段であり、その出力端
子Qがネット302に接続されている。
Similarly, the flip-flops 201-203 with scan in FIG. 2 are replaced by flip-flops 303-305 with holding means in FIG. 3, respectively, and the net 302 is connected to their holding control signal terminals HLD. Flip-flops with holding means 303 to 305
Is held when the net 302 is “H” and the scan shift control signal 207 is “L”. The flip-flop with scan 306 is control means for controlling the inverting means and the initial value holding means, and its output terminal Q is connected to the net 302.

【0027】また、スキャン付きフリップフロップ30
6に制御信号を与えるために、クロック信号206をク
ロック端子CKに、スキャンシフト制御信号207をス
キャン制御端子SCに、信号出力217をスキャン入力
端子DTに、それぞれ接続し、フリップフロップ306
の通常信号入力端子Dをグランドに接続してスキャン経
路に組み込んでいる。
The flip-flop with scan 30
6, the clock signal 206 is connected to the clock terminal CK, the scan shift control signal 207 is connected to the scan control terminal SC, and the signal output 217 is connected to the scan input terminal DT.
Is connected to the ground and incorporated in the scan path.

【0028】このように変化したネットリストを図1の
再レイアウトステップ112で再レイアウトすると共
に、経路テストパターン生成ステップ113においてテ
ストパターンを発生させる。
The changed netlist is laid out again in the relayout step 112 of FIG. 1 and a test pattern is generated in the path test pattern generation step 113.

【0029】図3の回路で遅延故障を検出する場合のパ
ターン例を図4に示す。図4において、クロック信号2
06の1サイクル目にスキャンシフト制御信号207と
スキャン入力209を”H”とする。その結果、次の2
サイクル目にネット210の値は”H”となる。更に2
サイクル目もスキャンシフト制御信号207とスキャン
入力209を”H”とすると、次の3サイクル目にネッ
ト210と212の値が”H”となる。続けて3サイク
ル目もスキャンシフト制御信号207とスキャン入力2
09を”H”とすると、次の4サイクル目にネット21
0、212、214の値は”H”となる。4サイクル目
もスキャンシフト制御信号207とスキャン入力209
を”H”とすると、次の5サイクル目にネット210、
212、214、216の値は”H”となる。更に、5
サイクル目もスキャンシフト制御信号207とスキャン
入力209を”H”とすると、次の6サイクル目にネッ
ト210、212、214、216及び信号出力217
の値は”H”となり、被検出経路の初期化が完了する。
制御手段であるスキャン付きフリップフロップ306に
制御信号が与えられるため、6サイクル目もスキャンシ
フト制御信号207とスキャン入力209を”H”とす
ると、7サイクル目には初期状態を保持した状態でネッ
ト302が”H”となる。
FIG. 4 shows an example of a pattern when a delay fault is detected by the circuit of FIG. In FIG. 4, clock signal 2
In the first cycle of 06, the scan shift control signal 207 and the scan input 209 are set to “H”. As a result, the following 2
At the cycle, the value of the net 210 becomes “H”. 2 more
When the scan shift control signal 207 and the scan input 209 are set to “H” also in the cycle, the values of the nets 210 and 212 become “H” in the next third cycle. Then, in the third cycle, the scan shift control signal 207 and the scan input 2
09 to “H”, the net 21 in the next fourth cycle
The values of 0, 212 and 214 are "H". Also in the fourth cycle, the scan shift control signal 207 and the scan input 209
Is set to “H”, the net 210,
The values of 212, 214, and 216 become "H". Furthermore, 5
When the scan shift control signal 207 and the scan input 209 are also set to “H” in the cycle, the nets 210, 212, 214, 216 and the signal output 217 in the next sixth cycle.
Becomes "H", and the initialization of the detected path is completed.
Since the control signal is supplied to the flip-flop with scan 306 which is the control means, if the scan shift control signal 207 and the scan input 209 are set to “H” in the sixth cycle, the net is held in the initial state in the seventh cycle. 302 becomes “H”.

【0030】遅延故障を検出するため、7サイクル目に
は、スキャンシフト制御信号207とスキャン入力20
9を”L”とする。これにより、クロック信号206の
次の8サイクル目の立ち上がりエッジで、反転手段付き
フリップフロップ301の出力の状態反転が起こり、ネ
ット216の状態が反転して”L”となる。この時、保
持手段付きフリップフロップ303〜305はネット3
02が”H”の場合であるので、出力の”H”状態が保
持される。被検出経路の最終出力はネット223を通じ
てスキャン付きフリップフロップ205の通常信号入力
端子Dに到達し、クロック信号206の次の9サイクル
目の立ち上がりエッジで取り込まれ、信号出力217と
して出力される。その値が”L”であれば遅延故障が無
いことが分かり、”H”であれば、遅延故障が発生して
いることが分かる。つまり、クロック信号206の8サ
イクル目の立ち上がりエッジと9サイクル目の立ち上が
りエッジとの時間差を目標とする遅延時間に設定するこ
とにより、被検出経路に目標遅延時間を超える遅延故障
が発生しているか否かを判別することができる。
In order to detect a delay fault, the scan shift control signal 207 and the scan input 20
9 is set to “L”. Thus, at the rising edge of the next eighth cycle of the clock signal 206, the output of the flip-flop 301 with the inversion means is inverted, and the state of the net 216 is inverted to "L". At this time, the flip-flops 303 to 305 with holding means are connected to the net 3
Since 02 is “H”, the “H” state of the output is held. The final output of the detected path reaches the normal signal input terminal D of the flip-flop with scan 205 through the net 223, is taken in at the rising edge of the next ninth cycle of the clock signal 206, and is output as the signal output 217. If the value is "L", it is understood that there is no delay fault, and if "H", it is understood that a delay fault has occurred. That is, by setting the time difference between the rising edge of the eighth cycle and the rising edge of the ninth cycle of the clock signal 206 to the target delay time, whether a delay fault exceeding the target delay time occurs in the detected path. Can be determined.

【0031】図3の反転手段付きフリップフロップ30
1を実現する回路の具体例を図5に示す。図5におい
て、フリップフロップ400のクロック端子CKはクロ
ック入力401に、出力端子Qは信号出力402に、入
力端子Dはセレクタ403の出力に、それぞれ接続され
ている。セレクタ403はスキャンシフト制御信号入力
406が”H”の場合にスキャンシフト入力404を選
択して出力し、スキャンシフト制御信号入力406が”
L”の場合にネット405の値を選択して出力する。ネ
ット405はセレクタ407の出力に接続されている。
セレクタ407は反転制御信号入力410が”L”の場
合に信号入力408の値を選択して出力し、反転制御信
号入力410が”H”の場合にネット409の値を選択
して出力する。ネット409はインバータ411の出力
に接続され、インバータ411の入力は信号出力402
に接続されている。
The flip-flop 30 with inversion means shown in FIG.
FIG. 5 shows a specific example of a circuit for realizing No. 1. In FIG. 5, the clock terminal CK of the flip-flop 400 is connected to the clock input 401, the output terminal Q is connected to the signal output 402, and the input terminal D is connected to the output of the selector 403. When the scan shift control signal input 406 is “H”, the selector 403 selects and outputs the scan shift input 404, and when the scan shift control signal input 406 is “H”,
In the case of L ", the value of the net 405 is selected and output. The net 405 is connected to the output of the selector 407.
The selector 407 selects and outputs the value of the signal input 408 when the inverted control signal input 410 is “L”, and selects and outputs the value of the net 409 when the inverted control signal input 410 is “H”. The net 409 is connected to the output of the inverter 411, and the input of the inverter 411 is the signal output 402.
It is connected to the.

【0032】以上の構成により、スキャンシフト制御信
号入力406が”H”の場合にスキャンシフト入力40
4の値がクロック入力401の立ち上がりでフリップフ
ロップ400に取り込まれ、スキャンシフト制御信号入
力406が”L”であり、かつ、反転制御信号入力41
0が”L”である場合に信号入力408の値がクロック
入力401の立ち上がりでフリップフロップ400に取
り込まれる。また、スキャンシフト制御信号入力406
が”L”であり、かつ、反転制御信号入力410が”
H”である場合に信号出力402の反転値がクロック入
力401の立ち上がりでフリップフロップ400に取り
込まれる。このようにして、所望の反転手段付きフリッ
プフロップが実現される。
With the above arrangement, when the scan shift control signal input 406 is "H", the scan shift input 40
The value of 4 is taken into the flip-flop 400 at the rise of the clock input 401, the scan shift control signal input 406 is "L", and the inversion control signal input 41
When “0” is “L”, the value of the signal input 408 is taken into the flip-flop 400 at the rising edge of the clock input 401. Also, a scan shift control signal input 406
Is “L” and the inversion control signal input 410 is “L”.
In the case of “H”, the inverted value of the signal output 402 is taken into the flip-flop 400 at the rise of the clock input 401. In this way, a desired flip-flop with inverting means is realized.

【0033】図3の保持手段付きフリップフロップ30
3〜305を実現する回路例を図6に示す。図6におい
て、フリップフロップ500のクロック端子CKはクロ
ック入力501に、出力端子Qは信号出力502に、入
力端子Dはセレクタ503の出力に、それぞれ接続され
ている。セレクタ503はスキャンシフト制御信号入力
506が”H”の場合にスキャンシフト入力504の値
を選択して出力し、スキャンシフト制御信号入力506
が”L”の場合にネット505の値を選択して出力す
る。
The flip-flop 30 with holding means of FIG.
FIG. 6 shows an example of a circuit that realizes steps 3 to 305. 6, the clock terminal CK of the flip-flop 500 is connected to the clock input 501, the output terminal Q is connected to the signal output 502, and the input terminal D is connected to the output of the selector 503. The selector 503 selects and outputs the value of the scan shift input 504 when the scan shift control signal input 506 is “H”, and outputs the selected value.
Is "L", the value of the net 505 is selected and output.

【0034】ネット505はセレクタ507の出力に接
続されている。セレクタ507は保持制御信号入力51
0が”L”の場合に信号入力508の値を選択して出力
し、保持制御信号入力510が”H”の場合にネット5
09の値を選択して出力する。ネット509は信号出力
502に接続されている。
The net 505 is connected to the output of the selector 507. The selector 507 receives the hold control signal input 51
When 0 is “L”, the value of the signal input 508 is selected and output, and when the hold control signal input 510 is “H”,
09 is selected and output. Net 509 is connected to signal output 502.

【0035】以上の構成により、スキャンシフト制御信
号入力506が”H”の場合にスキャンシフト入力50
4の値がクロック入力501の立ち上がりでフリップフ
ロップ500に取り込まれ、スキャンシフト制御信号入
力506が”L”であり、かつ、保持制御信号入力51
0が”L”である場合に信号入力508の値がクロック
入力501の立ち上がりでフリップフロップ500に取
り込まれる。また、スキャンシフト制御信号入力506
が”L”であり、かつ、保持制御信号入力510が”
H”である場合に信号出力502の値がクロック入力5
01の立ち上がりでフリップフロップ500に取り込ま
れる。このようにして、所望の保持手段付きフリップフ
ロップが実現される。
With the above configuration, when the scan shift control signal input 506 is "H", the scan shift input 50
4 is taken into the flip-flop 500 at the rise of the clock input 501, the scan shift control signal input 506 is "L", and the hold control signal input 51
When “0” is “L”, the value of the signal input 508 is taken into the flip-flop 500 at the rise of the clock input 501. Also, a scan shift control signal input 506
Is “L” and the holding control signal input 510 is “L”.
H ”, the value of the signal output 502 is the clock input 5
At the rise of 01, it is taken into the flip-flop 500. Thus, a desired flip-flop with holding means is realized.

【0036】図3の反転手段付きフリップフロップ30
1を実現する回路例を図7に示す。図7において、フリ
ップフロップ600のクロック端子CKはクロック入力
601に、出力端子Qは信号出力602に、入力端子D
はセレクタ603の出力に、それぞれ接続されている。
セレクタ603はORゲート612の出力が”L”の場
合にスキャンシフト入力608の値を選択して出力
し、”H”の場合にネット605の値を選択して出力す
る。ネット605はセレクタ607の出力に接続されて
いる。セレクタ607は反転制御信号入力610が”
L”の場合に信号入力604の値を選択して出力し、反
転制御信号入力610が”H”の場合にネット609の
値を選択して出力する。ネット609はインバータ61
1の出力に接続され、インバータ611の入力は信号出
力602に接続されている。ORゲート612には反転
制御信号610とスキャンシフト制御信号入力606が
入力されている。
The flip-flop 30 with inversion means shown in FIG.
1 is shown in FIG. 7, the clock terminal CK of the flip-flop 600 is connected to the clock input 601, the output terminal Q is connected to the signal output 602, and the input terminal D
Are connected to the output of the selector 603, respectively.
The selector 603 selects and outputs the value of the scan shift input 608 when the output of the OR gate 612 is “L”, and selects and outputs the value of the net 605 when it is “H”. The net 605 is connected to the output of the selector 607. The selector 607 sets the inversion control signal input 610 to “
When L is "L", the value of the signal input 604 is selected and output, and when the inversion control signal input 610 is "H", the value of the net 609 is selected and output.
1 and the input of the inverter 611 is connected to the signal output 602. The inversion control signal 610 and the scan shift control signal input 606 are input to the OR gate 612.

【0037】以上の構成により、スキャンシフト制御信
号入力606が”L”であり、かつ、反転制御信号61
0が”L”である場合は、ORゲート612の出力が”
L”となり、信号入力608の値がクロック入力601
の立ち上がりでフリップフロップ600に取り込まれ
る。スキャンシフト制御信号入力606が”H”であ
り、かつ、反転制御信号入力610が”L”の場合はス
キャンシフト入力604の値がクロック入力601の立
ち上がりでフリップフロップ600に取り込まれる。ス
キャンシフト制御信号入力606が”L”であり、か
つ、反転制御信号入力610が”H”である場合は信号
出力602の反転値がクロック入力601の立ち上がり
でフリップフロップ600に取り込まれる。このように
して、所望の反転手段付きフリップフロップが実現され
る。
With the above configuration, the scan shift control signal input 606 is "L" and the inversion control signal 61
When 0 is “L”, the output of the OR gate 612 becomes “L”.
L ”, and the value of the signal input 608 becomes the clock input 601.
At the rising edge of the flip-flop 600. When the scan shift control signal input 606 is “H” and the inversion control signal input 610 is “L”, the value of the scan shift input 604 is taken into the flip-flop 600 at the rise of the clock input 601. When the scan shift control signal input 606 is “L” and the inversion control signal input 610 is “H”, the inverted value of the signal output 602 is taken into the flip-flop 600 at the rise of the clock input 601. Thus, a desired flip-flop with inversion means is realized.

【0038】図8は、本発明の遅延故障検出方法におけ
る反転手段及び初期値保持手段を実現する回路の例を示
している。図8において、フリップフロップ700のク
ロック端子CKはクロック入力701に、出力端子Qは
信号出力702に、入力端子Dはセレクタ703の出力
に、それぞれ接続されている。セレクタ703はスキャ
ンシフト制御信号入力706が”L”である場合に信号
入力入力704の値を選択して出力し、”H”である場
合にネット705の値を選択して出力する。
FIG. 8 shows an example of a circuit for realizing the inverting means and the initial value holding means in the delay fault detecting method according to the present invention. 8, the clock terminal CK of the flip-flop 700 is connected to the clock input 701, the output terminal Q is connected to the signal output 702, and the input terminal D is connected to the output of the selector 703. The selector 703 selects and outputs the value of the signal input 704 when the scan shift control signal input 706 is “L”, and selects and outputs the value of the net 705 when it is “H”.

【0039】ネット705はセレクタ707の出力に接
続されている。セレクタ707は反転制御信号入力71
0が”L”である場合にスキャンシフト入力708の値
を出力し、反転制御信号入力710が”H”である場合
にインバータ709の出力値を出力する。インバータ7
09の入力にはスキャンシフト入力708が接続されて
いる。
The net 705 is connected to the output of the selector 707. The selector 707 has an inversion control signal input 71.
When 0 is “L”, the value of the scan shift input 708 is output, and when the inversion control signal input 710 is “H”, the output value of the inverter 709 is output. Inverter 7
The scan shift input 708 is connected to the input of 09.

【0040】以上の構成により、スキャンシフト制御信
号入力706が”L”である場合に信号入力704の値
がクロック入力701の立ち上がりでフリップフロップ
700に取り込まれる。スキャンシフト制御信号入力7
06が”H”であり、かつ、反転制御信号入力710
が”L”である場合にスキャンシフト入力708の値が
クロック入力701の立ち上がりでフリップフロップ7
00に取り込まれる。スキャンシフト制御信号入力70
6が”H”であり、かつ、反転制御信号入力710が”
H”である場合はスキャンシフト入力708の反転値が
クロック入力701の立ち上がりでフリップフロップ7
00に取り込まれる。
With the above configuration, when the scan shift control signal input 706 is "L", the value of the signal input 704 is taken into the flip-flop 700 at the rising edge of the clock input 701. Scan shift control signal input 7
06 is “H” and the inversion control signal input 710
Is "L", the value of the scan shift input 708 rises at the rising edge of the clock input 701.
00 is taken in. Scan shift control signal input 70
6 is “H”, and the inversion control signal input 710 is “H”.
H ”, the inverted value of the scan shift input 708 becomes the flip-flop 7 at the rising edge of the clock input 701.
00 is taken in.

【0041】このとき、スキャンシフト入力708の値
はスキャン経路上の前段のフリップフロップの出力又は
外部入力となるので、スキャンシフト制御信号入力70
6や反転制御信号710を入力する前にその値が分かっ
ている。つまり、被遅延故障検出経路において、その経
路の入力となるフリップフロップを図8の構成の回路に
置換し、故障を検出するのに必要な反転及び初期値の保
持をスキャンシフト制御信号入力706と反転制御信号
710との組合せで実現することが可能となる。
At this time, since the value of the scan shift input 708 is the output of the preceding flip-flop on the scan path or the external input, the value of the scan shift control signal
The value is known before inputting 6 or the inversion control signal 710. In other words, in the delayed fault detection path, the flip-flop input to the path is replaced with the circuit having the configuration shown in FIG. 8, and the inversion necessary for detecting the fault and holding of the initial value are performed by the scan shift control signal input 706 and This can be realized in combination with the inversion control signal 710.

【0042】図2の被遅延故障検出回路に対して、図8
の反転手段及び初期値保持手段を用いた例を図9に示
す。図9において、図2及び図3と同じ構成要素につい
ては同じ符号を付している。
FIG. 8 shows the delay fault detection circuit of FIG.
FIG. 9 shows an example using the inversion means and the initial value holding means. 9, the same components as those in FIGS. 2 and 3 are denoted by the same reference numerals.

【0043】図2のスキャン付きフリップフロップ20
1〜204は、図9ではそれぞれ保持・反転手段付きフ
リップフロップ803、804、805、801に置き
換えられる。保持・反転手段付きフリップフロップ80
3〜805の反転制御入力端子RVはネット809に接
続されている。保持・反転手段付きフリップフロップ8
01の反転制御入力端子RVはネット812に接続され
ている。また、保持・反転手段付きフリップフロップ8
01、803〜805のスキャンシフト制御端子SC
は、ネット807に接続されている。
The flip-flop with scan 20 shown in FIG.
9 are replaced by flip-flops 803, 804, 805, and 801 with holding / inversion means in FIG. Flip-flop 80 with holding / inverting means
The inversion control input terminals RV of 3 to 805 are connected to the net 809. Flip-flop with holding / inversion means 8
The inversion control input terminal RV of 01 is connected to the net 812. Also, a flip-flop 8 with holding / inversion means
01, scan shift control terminals SC of 803 to 805
Is connected to the net 807.

【0044】上記の構成により、保持・反転手段付きフ
リップフロップ801はネット807の値が”L”であ
る場合に信号入力215を取り込む。ネット807の値
が”H”の場合は、ネット812の値が”L”であれば
ネット214の値を取り込み、”H”であれがネット2
14の反転値を取り込む。また、保持・反転手段付きフ
リップフロップ803〜805はネット807の状態
が”L”である場合に、それぞれの信号入力208、2
11、又は213の値を取り込み、ネット807の状態
が”H”であり、かつ、ネット809の値が”L”であ
る場合は、ネット210、212、又は214の値を取
り込み、ネット807の状態が”H”であり、かつ、ネ
ット809の値が”H”である場合は、ネット210、
212、又は214の反転値を取り込む。
With the above configuration, the flip-flop 801 with holding / inverting means takes in the signal input 215 when the value of the net 807 is "L". When the value of the net 807 is “H”, if the value of the net 812 is “L”, the value of the net 214 is fetched.
The inverted value of 14 is fetched. When the state of the net 807 is “L”, the flip-flops 803 to 805 with holding / inverting means have respective signal inputs 208 and 2.
11 or 213, and if the state of the net 807 is “H” and the value of the net 809 is “L”, the value of the net 210, 212 or 214 is fetched and the value of the net 807 is read. If the state is “H” and the value of the net 809 is “H”, the net 210,
The inverted value of 212 or 214 is fetched.

【0045】スキャン付きフリップフロップ306の出
力端子Qはネット802に接続され、ネット802はN
ORゲート808の一方の入力端子、インバータ810
の入力端子、及びORゲート806の一方の入力端子に
接続されている。NORゲート808の他方の入力端子
及びORゲート806の他方の入力端子はスキャンシフ
ト制御信号207に接続されている。インバータ810
の出力はNORゲート811の一方の入力端子に接続さ
れ、NORゲート811の他方の入力端子もスキャンシ
フト制御信号207に接続されている。ORゲート80
6の出力はネット807に、NORゲート808の出力
はネット809に、NORゲート811の出力はネット
812に、それぞれ接続されている。
The output terminal Q of the flip-flop with scan 306 is connected to the net 802, and the net 802 is connected to the N
One input terminal of OR gate 808, inverter 810
And one input terminal of the OR gate 806. The other input terminal of the NOR gate 808 and the other input terminal of the OR gate 806 are connected to the scan shift control signal 207. Inverter 810
Is connected to one input terminal of a NOR gate 811, and the other input terminal of the NOR gate 811 is also connected to the scan shift control signal 207. OR gate 80
6 is connected to net 807, the output of NOR gate 808 is connected to net 809, and the output of NOR gate 811 is connected to net 812.

【0046】以上のような構成により、スキャンシフト
制御信号207と制御手段であるスキャン付きフリップ
フロップ306の出力値とにより、保持・反転手段付き
フリップフロップ801、803〜805に取り込まれ
る値を制御することができる。
With the above configuration, the values taken in the flip-flops 801 and 803 to 805 with holding / inversion means are controlled by the scan shift control signal 207 and the output value of the flip-flop with scanning 306 as the control means. be able to.

【0047】図9の回路で遅延故障を検出する場合のパ
ターン例を図10に示す。図10において、クロック信
号206の1サイクル目にスキャンシフト制御信号20
7とスキャン入力209を”H”にする。その結果、ネ
ット807の値が”H”、ネット809とネット812
の値が”L”となり、スキャンシフト経路が活性化さ
れ、かつ非反転状態となるので、次の2サイクル目にネ
ット210の値が”H”となる。更に2サイクル目もス
キャンシフト制御信号207とスキャン入力209を”
H”とすると、次の3サイクル目にネット210と21
2の値は”H”となる。続けて3サイクル目もスキャン
シフト制御信号207とスキャン入力209を”H”と
すると、次の4サイクル目にネット210、212、2
14の値は”H”となる。4サイクル目もスキャンシフ
ト制御信号207とスキャン入力209を”H”とする
と、次の5サイクル目にネット210、212、21
4、216の値は”H”となる。
FIG. 10 shows an example of a pattern when a delay fault is detected by the circuit of FIG. In FIG. 10, the scan shift control signal 20
7 and the scan input 209 are set to “H”. As a result, the value of the net 807 is “H”, and the nets 809 and 812
Becomes "L", the scan shift path is activated, and the state is in the non-inverted state, so that the value of the net 210 becomes "H" in the next second cycle. In the second cycle, the scan shift control signal 207 and the scan input 209 are changed to "
H ", the nets 210 and 21 in the next third cycle
The value of 2 becomes "H". Subsequently, when the scan shift control signal 207 and the scan input 209 are set to “H” in the third cycle, the nets 210, 212, and 2 are set in the next fourth cycle.
The value of 14 becomes "H". If the scan shift control signal 207 and the scan input 209 are also set to “H” in the fourth cycle, the nets 210, 212, and 21 are set in the next fifth cycle.
The values of 4, 216 become “H”.

【0048】更に、5サイクル目もスキャンシフト制御
信号207とスキャン入力209を”H”とすると、次
の6サイクル目にネット210、212、214、21
6、及び信号出力217の値は”H”となり、被検出経
路の初期化が完了する。更に、制御手段であるスキャン
付きフリップフロップ306に制御信号を与えるため、
6サイクル目もスキャンシフト制御信号207とスキャ
ン入力209を”H”とすると、7サイクル目には初期
状態を保持した状態でネット802が”H”となる。
Further, when the scan shift control signal 207 and the scan input 209 are set to “H” in the fifth cycle, the nets 210, 212, 214, 21 in the next sixth cycle are set.
6 and the value of the signal output 217 become "H", and the initialization of the detected path is completed. Further, in order to supply a control signal to the flip-flop with scan 306 which is a control means,
When the scan shift control signal 207 and the scan input 209 are set to “H” in the sixth cycle, the net 802 is set to “H” in the seventh cycle while maintaining the initial state.

【0049】遅延故障を検出するため、7サイクル目に
は、スキャンシフト制御信号207とスキャン入力20
9を”L”とする。ネット802が”H”であり、か
つ、スキャンシフト制御信号207が”L”となると、
NORゲート808の2つの入力が”H”及び”L”と
なるので、NORゲート808のネット809の値が”
L”となる。また、NORゲート811の2つの入力が
共に”L”となるので、ネット812の値が”H”とな
る。
In order to detect a delay fault, the scan shift control signal 207 and the scan input 20
9 is set to “L”. When the net 802 is “H” and the scan shift control signal 207 is “L”,
Since the two inputs of the NOR gate 808 are “H” and “L”, the value of the net 809 of the NOR gate 808 is “
Since the two inputs of the NOR gate 811 are both "L", the value of the net 812 is "H".

【0050】これにより、クロック信号206の次の8
サイクル目の立ち上がりエッジで、ネット214の”
H”の反転値が保持・反転手段付きフリップフロップ8
01に取り込まれ、ネット216の状態反転が起こり”
L”となる。この時、保持・反転手段付きフリップフロ
ップ803〜805はネット807が”H”であり、か
つ、ネット809が”L”である場合であるので、出力
の”H”状態が保持される。被検出経路の最終出力はネ
ット223を通じてスキャン付きフリップフロップ20
5の通常信号入力端子Dに到達し、クロック信号206
の次の9サイクル目の立ち上がりエッジで取り込まれ、
信号出力217として出力される。その値が”L”であ
れば遅延故障が無いことが分かり、”H”であれば、遅
延故障が発生していることが分かる。つまり、クロック
信号206の8サイクル目の立ち上がりエッジと9サイ
クル目の立ち上がりエッジの時間差を目標とする遅延時
間に設定することにより、被検出経路に目標遅延時間を
超える遅延故障が発生しているか否かを判別することが
できる。
As a result, the next 8 of the clock signal 206
On the rising edge of the cycle,
Flip-flop 8 with holding / inversion means holding inverted value of H "
01, and the state of the net 216 is inverted. "
At this time, since the flip-flops 803 to 805 with holding / inverting means are in the case where the net 807 is “H” and the net 809 is “L”, the output “H” state is changed. The final output of the detected path is supplied to the flip-flop with scan 20 through the net 223.
5 arrives at the normal signal input terminal D, and the clock signal 206
At the rising edge of the next 9th cycle,
The signal is output as a signal output 217. If the value is "L", it is understood that there is no delay fault, and if "H", it is understood that a delay fault has occurred. That is, by setting the time difference between the rising edge of the eighth cycle and the rising edge of the ninth cycle of the clock signal 206 to the target delay time, it is determined whether or not a delay fault exceeding the target delay time has occurred in the detected path. Can be determined.

【0051】なお、説明の簡便化のため、本実施形態は
集積回路の一部分に本発明を適用した例であるが、他の
部分の遅延故障についても同様の方法で検査のための反
転手段、初期値保持手段、制御手段を付加することによ
り並列に検出することができる。
For the sake of simplicity, the present embodiment is an example in which the present invention is applied to a part of an integrated circuit. The detection can be performed in parallel by adding an initial value holding unit and a control unit.

【0052】[0052]

【発明の効果】以上のように、本発明は静的遅延シミュ
レーションの結果から、被遅延故障検出経路を選択する
と共に、その経路の初期値情報と状態反転させるべき始
点情報を抽出する。次に、論理故障検出に用いられるス
キャン経路を利用して初期状態を与え、遅延故障を検出
するために状態変化、すなわち信号反転を発生させるフ
リップフロップに対して反転手段を付加することによ
り、真のクリティカル経路における遅延故障をLSIの
各部において並列に判別することができる。更に、本発
明においては静的遅延シミュレーションにより、遅延故
障の起こりやすい経路を抽出し、重点的に検査すること
により、回路規模及びテストパターンの増大を抑えるこ
とができる。
As described above, according to the present invention, based on the result of the static delay simulation, the path for detecting the fault to be delayed is selected, and the initial value information of the path and the starting point information to be inverted are extracted. Next, an initial state is given using a scan path used for logical fault detection, and true state is provided by adding inversion means to a flip-flop that generates a state change, that is, signal inversion, in order to detect a delay fault. Of the critical path can be determined in parallel in each part of the LSI. Further, in the present invention, a path in which a delay fault is likely to occur is extracted by a static delay simulation, and the inspection is intensively performed, thereby suppressing an increase in a circuit scale and a test pattern.

【0053】また本発明の遅延故障検出方法によれば、
レイアウトから得られる実配線容量を利用して、真のク
リティカル経路を判別することができる。更に、静的遅
延シミュレーションの結果から、時間余裕度のリストを
作成し、その余裕度の少ないものを被検出経路として選
択することにより回路規模及びテストパターンの増大を
抑えることが可能である。
According to the delay fault detecting method of the present invention,
The true critical path can be determined using the actual wiring capacitance obtained from the layout. Furthermore, it is possible to suppress the increase in the circuit scale and the test pattern by creating a list of the time margin from the result of the static delay simulation and selecting a path with a small margin as the detected path.

【0054】また、反転手段を制御する制御信号をスキ
ャンシフトにより与えることによって、並列かつ任意の
フリップフロップの状態反転の制御を実現できる。更
に、反転手段の構成を最小とし、回路規模の増加を抑え
ることができる。また、本発明の反転手段及び初期値保
持手段はスキャン経路に処理を施すのみであり、通常経
路に与える遅延等の発生を防ぐことができる。
Also, by providing a control signal for controlling the inverting means by scan shift, it is possible to control the state inversion of any flip-flop in parallel. Further, it is possible to minimize the configuration of the inversion means and suppress an increase in the circuit scale. Further, the reversing means and the initial value holding means of the present invention only perform processing on the scan path, and can prevent the occurrence of delays and the like given to the normal path.

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

【図1】本発明の実施形態に係る遅延故障検出方法を示
すフローチャート
FIG. 1 is a flowchart illustrating a delay fault detection method according to an embodiment of the present invention.

【図2】被遅延故障検出経路を含む回路を示す図FIG. 2 is a diagram showing a circuit including a delayed fault detection path.

【図3】図2の回路に対して遅延故障検出用の手段を付
加した回路を示す図
FIG. 3 is a diagram showing a circuit obtained by adding means for detecting a delay fault to the circuit of FIG. 2;

【図4】図3の回路に対するテストパターンを示す図FIG. 4 is a view showing a test pattern for the circuit of FIG. 3;

【図5】反転制御手段の一例を示す図FIG. 5 is a diagram illustrating an example of an inversion control unit;

【図6】初期値保持手段の一例を示す図FIG. 6 is a diagram showing an example of an initial value holding unit.

【図7】反転制御手段の一例を示す図FIG. 7 is a diagram illustrating an example of an inversion control unit;

【図8】保持・反転手段の一例を示す図FIG. 8 is a diagram illustrating an example of a holding / inverting unit;

【図9】保持・反転手段を用いた場合の遅延故障検出用
の手段を付加した回路を示す図
FIG. 9 is a diagram showing a circuit to which a means for detecting a delay fault in the case of using a holding / inverting means is added.

【図10】図9の回路に対するテストパターンを示す図FIG. 10 is a diagram showing a test pattern for the circuit of FIG. 9;

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

101 ネットリスト 102 スキャン化ステップ 103 レイアウトステップ 104 実配線容量抽出ステップ 105 静的実配線容量シミュレーションステップ 106 余裕度リスト生成ステップ 107 しきい値 108 被検出経路選択ステップ 109 始点情報抽出ステップ 110 初期値情報抽出ステップ 111 反転手段及び制御手段挿入ステップ 112 再レイアウトステップ 113 経路テストパターン生成ステップ 114 テストパターン合成ステップ 115 遅延故障検出用パターン 201〜205 スキャン付きフリップフロップ 206 クロック信号 207 スキャンシフト制御信号 301 反転手段付きフリップフロップ 303〜305 保持手段付きフリップフロップ 306 スキャン付きフリップフロップ 400 フリップフロップ 403,407 セレクタ 411 インバータ 500 フリップフロップ 503,507 セレクタ 600 フリップフロップ 603,607 セレクタ 611 インバータ 612 ORゲート 700 フリップフロップ 703,707 セレクタ 709 インバータ 801,803,804,805 保持・反転手段付き
フリップフロップ 806 ORゲート 807 インバータ
101 Netlist 102 Scanning step 103 Layout step 104 Actual wiring capacity extraction step 105 Static real wiring capacity simulation step 106 Margin list generation step 107 Threshold 108 Detection path selection step 109 Start point information extraction step 110 Initial value information extraction Step 111 Inverting means and control means inserting step 112 Relayout step 113 Path test pattern generating step 114 Test pattern synthesizing step 115 Delay fault detecting pattern 201 to 205 Scanned flip-flop 206 Clock signal 207 Scan shift control signal 301 Flip with inverted means 303 to 305 flip-flop with holding means 306 flip-flop with scan 400 flip-flop Rop 403,407 selector 411 inverter 500 flip-flop 503,507 selector 600 flip-flop 603,607 selector 611 inverter 612 OR gate 700 flip-flop 703,707 selector 709 inverter 801,803,804,805 flip-flop with holding / inverting means 806 OR gate 807 Inverter

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 フリップフロップをスキャン化したネッ
トリストを生成する第1ステップと、 前記ネットリストに対して静的遅延シミュレーションを
実施して遅延故障を発生させやすい経路を抽出する第2
ステップと、 前記経路の始点となるフリップフロップ又は外部入力信
号の情報と、前記経路が遅延故障を発生させやすい場合
の前記経路の初期値情報とを抽出する第3ステップと、 前記始点となるフリップフロップの状態を反転させる反
転手段とその制御手段、及び初期値保持手段を挿入する
第4ステップと、 前記外部入力信号情報と前記初期値情報とに基づいて、
前記初期値をスキャン経路を通じて設定した後、前記制
御手段を制御する信号を与え、被検出経路の状態変化を
発生させて遅延故障検出を行う第5ステップとを備えて
いる集積回路の遅延故障検出方法。
1. A first step of generating a netlist in which flip-flops are scanned, and a second step of performing a static delay simulation on the netlist and extracting a path that easily causes a delay fault
A step of extracting information of a flip-flop or an external input signal serving as a starting point of the path and initial value information of the path when the path is likely to cause a delay fault; and a flip-flop serving as the starting point. A fourth step of inserting an inverting means for inverting the state of the loop and its control means, and an initial value holding means, based on the external input signal information and the initial value information,
Providing a signal for controlling the control means after setting the initial value through a scan path, and causing a state change of the detected path to perform a delay fault detection. Method.
【請求項2】 前記第2ステップにおいて、前記ネット
リストに基づくレイアウトを行った結果に基づいて静的
実配線遅延シミュレーションを行う請求項1記載の集積
回路の遅延故障検出方法。
2. The method according to claim 1, wherein in the second step, a static real wiring delay simulation is performed based on a result of the layout based on the netlist.
【請求項3】 前記遅延故障を発生させやすい経路を選
択する際に、演算時間の余裕度のリストを生成し、前記
余裕度が設定値より少ない経路を遅延故障を発生させや
すい経路として選択する請求項1又は2記載の集積回路
の遅延故障検出方法。
3. When selecting a route in which the delay fault is likely to occur, a list of a margin of operation time is generated, and a route in which the margin is less than a set value is selected as a route in which a delay fault is likely to occur. 3. The method for detecting a delay fault in an integrated circuit according to claim 1.
【請求項4】 前記制御手段をスキャン化し、その制御
信号をスキャン経路を通じて与える請求項1又は2記載
の集積回路の遅延故障検出方法。
4. The method according to claim 1, wherein the control unit is scanned and a control signal is supplied through a scan path.
【請求項5】 前記反転手段が、スキャン化フリップフ
ロップの出力信号の反転信号又は非スキャン入力信号を
選択信号にしたがって選択するように構成されている請
求項1又は2記載の集積回路の遅延故障検出方法。
5. The delay fault of an integrated circuit according to claim 1, wherein the inverting means is configured to select an inverted signal of an output signal of the scanning flip-flop or a non-scan input signal according to a selection signal. Detection method.
【請求項6】 前記反転手段が、スキャン化フリップフ
ロップの出力信号の反転信号又はスキャン入力信号を選
択信号にしたがって選択するように構成されている請求
項1又は2記載の集積回路の遅延故障検出方法。
6. The delay fault detection of an integrated circuit according to claim 1, wherein said inverting means is configured to select an inverted signal of an output signal of a scanning flip-flop or a scan input signal according to a selection signal. Method.
【請求項7】 前記反転手段及び初期値保持手段が、ス
キャン経路上の前段のスキャン化フリップフロップの出
力信号又はその反転信号を選択信号にしたがって選択す
るように構成されている請求項1又は2記載の集積回路
の遅延故障検出方法。
7. The inverting means and the initial value holding means are configured to select an output signal of a preceding scanning flip-flop on a scan path or an inverted signal thereof according to a selection signal. The method for detecting a delay fault of an integrated circuit according to the above.
JP10021984A 1998-02-03 1998-02-03 Delay fault detection method for integrated circuit Pending JPH11219385A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10021984A JPH11219385A (en) 1998-02-03 1998-02-03 Delay fault detection method for integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10021984A JPH11219385A (en) 1998-02-03 1998-02-03 Delay fault detection method for integrated circuit

Publications (1)

Publication Number Publication Date
JPH11219385A true JPH11219385A (en) 1999-08-10

Family

ID=12070301

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10021984A Pending JPH11219385A (en) 1998-02-03 1998-02-03 Delay fault detection method for integrated circuit

Country Status (1)

Country Link
JP (1) JPH11219385A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006084403A (en) * 2004-09-17 2006-03-30 Nec Electronics Corp Scanning flip-flop circuit, scanning test circuit using scanning flip-flop circuit, and test design method
JP2009205414A (en) * 2008-02-27 2009-09-10 Nec Electronics Corp Semiconductor integrated circuit, its design method and semiconductor integrated circuit design device
JP2009296548A (en) * 2008-06-09 2009-12-17 Toshiba Corp Semiconductor integrated circuit device
US7778790B2 (en) 2006-03-29 2010-08-17 Nec Electronics Corporation Semiconductor integrated circuit device and delay fault testing method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006084403A (en) * 2004-09-17 2006-03-30 Nec Electronics Corp Scanning flip-flop circuit, scanning test circuit using scanning flip-flop circuit, and test design method
JP4650928B2 (en) * 2004-09-17 2011-03-16 ルネサスエレクトロニクス株式会社 Scan flip-flop circuit, scan test circuit and test design method using the same
US7778790B2 (en) 2006-03-29 2010-08-17 Nec Electronics Corporation Semiconductor integrated circuit device and delay fault testing method
JP2009205414A (en) * 2008-02-27 2009-09-10 Nec Electronics Corp Semiconductor integrated circuit, its design method and semiconductor integrated circuit design device
JP2009296548A (en) * 2008-06-09 2009-12-17 Toshiba Corp Semiconductor integrated circuit device

Similar Documents

Publication Publication Date Title
JP3671948B2 (en) Semiconductor integrated circuit and its test method
US6065145A (en) Method for testing path delay faults in sequential logic circuits
Ghosh-Dastidar et al. Adaptive techniques for improving delay fault diagnosis
US7778790B2 (en) Semiconductor integrated circuit device and delay fault testing method
JP2007205933A (en) Semiconductor integrated circuit
US7461307B2 (en) System and method for improving transition delay fault coverage in delay fault tests through use of an enhanced scan flip-flop
US7213184B2 (en) Testing of modules operating with different characteristics of control signals using scan based techniques
JP2004110265A (en) Test facilitating method for semiconductor integrated circuit
JP2005300308A (en) Semiconductor integrated circuit
JPH11219385A (en) Delay fault detection method for integrated circuit
US6427218B2 (en) Method of generating test pattern for semiconductor integrated circuit and method of testing the same
JP2005308500A (en) Semiconductor integrated circuit device and test method
JP6534592B2 (en) Scan test circuit and scan test apparatus
JP2001141785A (en) Flip-flop circuit for scan path test and simulation method thereof
JP5793978B2 (en) Semiconductor device
TWI643205B (en) Memory storage device, memory device and method for operating memory storage device
JP5383588B2 (en) Scan test circuit, semiconductor integrated circuit
JP2001004710A (en) Scan test circuit, automatic test pattern generator, scan test method, method for designing scan test circuit, automatic test pattern generating method, method for executing scan test circuit design
Cheng Test generation for delay faults in non-scan and partial scan sequential circuits
JP2011094986A (en) Semiconductor integrated circuit, semiconductor integrated circuit design method, scanning test pattern generation method, and its program
US20100293425A1 (en) Parametric scan register, digital circuit and method for testing a digital circuit using such register
JPH11133120A (en) Semiconductor device test pattern generating method, and computer-readable recording medium recording semiconductor device test pattern generating program
JP2005180952A (en) Test circuit, semiconductor integrated circuit, and its manufacturing method
JP2006004509A (en) Semiconductor integrated circuit and hard macro-circuit
JP3033749B1 (en) ASIC with built-in RAM macro and verification method