JPH0611543A - Method and device for generating inspection sequence - Google Patents

Method and device for generating inspection sequence

Info

Publication number
JPH0611543A
JPH0611543A JP5068585A JP6858593A JPH0611543A JP H0611543 A JPH0611543 A JP H0611543A JP 5068585 A JP5068585 A JP 5068585A JP 6858593 A JP6858593 A JP 6858593A JP H0611543 A JPH0611543 A JP H0611543A
Authority
JP
Japan
Prior art keywords
fault
state
time frame
failure
propagation
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.)
Granted
Application number
JP5068585A
Other languages
Japanese (ja)
Other versions
JP2785901B2 (en
Inventor
Toshinori Hosokawa
利典 細川
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 JP5068585A priority Critical patent/JP2785901B2/en
Publication of JPH0611543A publication Critical patent/JPH0611543A/en
Application granted granted Critical
Publication of JP2785901B2 publication Critical patent/JP2785901B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

PURPOSE:To obtain a method for generating a sequence to inspect a sequential circuit for obtaining a highly fault detection rate. CONSTITUTION:In a step 104, it is judged whether the inspection sequence generation processing count for a non-detected fault exceeds the maximum inspection sequence generation processing count for the non-detected fault which is set in a step 102 or not. In a step 108, the fault propagation processing for an inspection sequence generation is performed so that a signal line existing inside a prohibition D frontier aggregate of a target fault which is registered in a step 112 is not selected as the D frontier within a time frame for propagating the target fault to an external output pin. When the fault propagation processing of the inspection sequence generation fails, the D frontier which is selected within a specific time frame is registered to the prohibition D frontier aggregate of the target fault in the step 112, thus modifying a fault propagation path dynamically, increasing probability for succeeding in the inspection sequence generation, and generating the inspection sequence for obtaining a high fault detection rate.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、デジタル回路の故障検
査に用いる検査系列を生成する検査系列生成方法および
検査系列生成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test sequence generation method and a test sequence generation device for generating a test sequence used for fault inspection of a digital circuit.

【0002】[0002]

【従来の技術】近年、ディジタル回路はLSI化が大き
く進み、あらゆる分野で利用されるようになっている。
LSIは直接内部の信号を観測できないことから、LS
Iの大規模化につれて、検査段階における故障検査に関
する技術が重要になってきている。
2. Description of the Related Art In recent years, digital circuits have been greatly developed into LSIs, and have come to be used in all fields.
Since the LSI cannot directly observe the internal signal, the LS
Along with the increase in the scale of I, the technology related to the failure inspection at the inspection stage has become important.

【0003】ディジタル回路の故障検査に関して、故障
を検出するための検査系列を予め自動的に生成する方法
が種々提案されている。一般に故障の有無は、被検査回
路の入力端子に適当な入力系列を加えて出力端子から得
られる結果と、予想される結果とを比べることによって
判定される。これに用いられる入力系列が検査系列であ
る。この検査系列は、予め仮定しておいた故障のそれぞ
れに対して、それを検査することができるように生成さ
れる。
Regarding the fault inspection of digital circuits, various methods have been proposed for automatically generating a test sequence for detecting a fault in advance. In general, the presence or absence of a failure is determined by adding an appropriate input sequence to the input terminal of the circuit under test and comparing the result obtained from the output terminal with the expected result. The input sequence used for this is the test sequence. This inspection sequence is generated so that it can be inspected for each fault assumed in advance.

【0004】従来の検査系列生成方法は、PRENTI
CE−HALL,Englewood Cliff,N
ew Jersey発行の「FAULT TOLERAN
T COMPUTING Theory and Tech
niques VolumeI」のChapter1の
1.4.2「Stuck at Fault Testi
ng」と、 1991年のヨーロピアン デザイン オ
ートメーション コンファレンスの資料[T.Nier
mann and J.H.Patel,”HITEC:
A TEST GENERATION PACKAGE
FOR SEQUENTIAL CIRCUIT
S,”1991]などの参考文献に記載されている。上
記の従来技術における検査系列生成方法について以下説
明する。
The conventional test sequence generation method is the PRENTI
CE-HALL, Anglewood Cliff, N
"FAULT TOLERAN" issued by ew Jersey
T COMPUTING Theory and Tech
1.4.2 "Stack at Fault Testi" of Chapter 1 of "niques Volume I"
ng "and materials from the 1991 European Design Automation Conference [T. Nier
mann and J.M. H. Patel, "HITEC:
A TEST GENERATION PACKAGE
FOR SEQUENTIAL CIRCUIT
S, “1991], etc. The above-mentioned conventional test sequence generation method will be described below.

【0005】検査系列生成の前提として、検査の対象と
なる故障は、被検査回路に基づいて仮定された故障であ
り、モデル化されたものである。具体的には、縮退故障
である。即ち、回路の信号線が論理0又は1に固定した
値となる故障であり、0縮退故障と1縮退故障とがあ
る。これらの縮退故障は、被検査回路となるLSIのネ
ットリストに基づいて各信号線毎に予めリストアップさ
れて故障表に登録されている。この故障表の一例を図1
1に示す。同図において、「信号線」は被検査回路に存
在する各信号線を、「故障」は0縮退故障(s-a-0)か
1縮退故障(s-a-1)かを、「検出」は”1”で検出済
み、即ち当該故障に対する検査系列の生成に成功したこ
と、または、他の故障を検出する検査系列により当該故
障の検出が可能なことを、「処理」は”1”で処理済
み、即ち検査系列の生成処理の対象として選択されて生
成処理(処理が成功したか失敗したかは関係ない)が実
行されたことを、「冗長故障」は”1”でその故障が冗
長故障、即ち検出不能な故障であることをそれぞれ示
す。例えば、同図における信号線aのs-a-0故障は、検
査系列の生成処理が実行され、その結果、冗長故障では
ないことがわかり、さらに検査系列の生成に成功したこ
とを示す。また信号線cのs-a-1故障は、検査系列の生
成処理が実行され、冗長故障ではないことがわかり、検
査系列の生成に失敗したことを示す。図12は従来の順
序回路の検査系列生成方法を示す図である。
As a premise of generation of a test sequence, a fault to be inspected is a fault assumed on the basis of a circuit to be inspected and is a modeled one. Specifically, it is a stuck-at fault. That is, it is a fault in which the signal line of the circuit has a value fixed to logic 0 or 1, and there are a stuck-at-0 fault and a stuck-at-1 fault. These stuck-at faults are listed in advance for each signal line based on the netlist of the LSI to be tested and registered in the fault table. An example of this failure table is shown in FIG.
Shown in 1. In the figure, “signal line” indicates each signal line existing in the circuit under test, “fault” indicates 0 stuck-at fault (sa-0) or 1 stuck-at fault (sa-1), and “detection” indicates “1”. “Processed” has been processed with “1”, that is, that the test sequence has been successfully generated for the fault, or that the fault can be detected by a test sequence that detects another fault. That is, the fact that the generation process (regardless of whether the process is successful or unsuccessful) is executed as a target of the inspection sequence generation process is executed and the "redundant fault" is "1" and the fault is a redundant fault, that is, Each indicates an undetectable failure. For example, for the sa-0 fault of the signal line a in the same figure, the test sequence generation processing is executed, and as a result, it is found that it is not a redundant fault, and it further indicates that the test sequence has been successfully generated. Further, the sa-1 fault of the signal line c indicates that the inspection sequence generation processing has been executed, and that it is not a redundant fault, indicating that the inspection sequence generation has failed. FIG. 12 is a diagram showing a conventional test sequence generation method for a sequential circuit.

【0006】同図においてステップ401は順序回路の
検査系列生成処理の開始を示す。ステップ402では、
故障表を参照して、冗長故障以外の検査系列が生成され
ていない故障(「検出」欄が0、以下、未検出故障と呼
ぶ。)、かつ、検査系列を生成する処理がまだ実行され
ていない故障(「処理」欄が0、以下、未処理故障と呼
ぶ。)が存在するか否かを判断し、存在すればステップ
403に進み、存在しなければステップ408に進む。
In the figure, step 401 shows the start of the test sequence generation process of the sequential circuit. In step 402,
Referring to the failure table, a test sequence other than the redundant fault has not been generated (“Detection” column is 0, hereinafter referred to as undetected fault), and the process of generating the test sequence is still being executed. It is determined whether or not there is a failure (the “processing” column is 0, which will be referred to as an unprocessed failure hereinafter). If there is, the procedure proceeds to step 403.

【0007】ステップ403では、未検出でかつ未処理
の故障群の中から検査系列生成の対象となる故障(以
下、目標故障と呼ぶ。)を1つ選択する。このとき、こ
の目標故障に対応する故障表の「処理」欄を”1”にす
る。ステップ404では、順序回路の検査系列生成の前
段階として、まず、組合せ回路部分のみを対象として、
目標故障に対する検査入力生成を行うことにより、論理
的に検出不能な故障(以下、冗長故障)であるかどうか
を判断する。その結果、目標故障が冗長故障であった場
合、故障表の対応する「冗長故障」を”1”にして、ス
テップ402へ進む。このステップにより、検査系列生
成前に、検出不能な故障を予めふるい落とすことができ
る。
In step 403, one fault (hereinafter, referred to as a target fault) to be the target of test sequence generation is selected from the undetected and unprocessed fault group. At this time, the "processing" column of the failure table corresponding to this target failure is set to "1". In step 404, as a pre-stage of generating a test sequence of a sequential circuit, first, only the combinational circuit portion is targeted,
By generating a test input for the target fault, it is determined whether or not the fault is a logically undetectable fault (hereinafter, redundant fault). As a result, when the target failure is a redundant failure, the corresponding “redundant failure” in the failure table is set to “1” and the process proceeds to step 402. By this step, undetectable faults can be filtered out in advance before generation of the inspection sequence.

【0008】ステップ405では、ステップ403で選
択した目標故障について、故障箇所から任意の外部出力
ピンまで目標故障の影響を伝搬する系列を生成する処理
(以下、故障伝搬処理)を行なう。故障伝搬処理に成功
すればステップ406に進み、失敗すればステップ40
2へ進み次の目標故障の処理を行なう。ステップ406
では、回路の初期状態から故障伝搬処理が終了した時点
の回路の状態へ遷移させる系列を生成する処理(以下、
状態初期化処理)を行なう。その系列の生成に成功すれ
ばステップ407に進み、失敗すればステップ402へ
進み次の目標故障の処理を行なう。ここで、初期状態は
任意の状態としてかまわないが、一般的には、被検査回
路の全てのFFsが、don't care または、unknowm
である状態とすれば、順序回路がどのような状態であっ
ても故障検査を実行可能な検査系列を得ることができ
る。実際上は、故障検査の実行時における1つ前の故障
検査が終了した時点における回路の状態とすれば、連続
して故障検査を実行する場合の検査時間を短縮できる。
In step 405, with respect to the target fault selected in step 403, a process for generating a sequence for propagating the effect of the target fault from the fault location to an arbitrary external output pin (hereinafter, fault propagation process) is performed. If the failure propagation process succeeds, the process proceeds to step 406, and if the failure propagation process fails, the process proceeds to step 40.
Proceed to 2 to process the next target failure. Step 406
Then, the process of generating a sequence that transitions from the initial state of the circuit to the state of the circuit at the time when the failure propagation processing ends (hereinafter,
State initialization processing). If the generation of the series is successful, the process proceeds to step 407, and if it fails, the process proceeds to step 402 to process the next target failure. Here, the initial state may be an arbitrary state, but generally, all FFs of the circuit under test are don't care or unknowm.
With such a state, it is possible to obtain a test series capable of executing a failure test regardless of the state of the sequential circuit. In practice, if the state of the circuit at the time of completion of the previous failure inspection at the time of execution of the failure inspection is set, the inspection time for continuously executing the failure inspection can be shortened.

【0009】ステップ407では、ステップ403で選
択した目標故障の検査系列で故障シミュレーションを実
行し、任意の外部出力ピンで検出された故障について、
「検出」欄を”1”にする。これにより検出される故障
は目標故障1つとは限らない。なぜなら、目標故障のシ
ミュレーションに付随して、目標故障と同一経路上の故
障など、他の故障についてもシミュレーションすること
になるからである。
In step 407, a fault simulation is executed with the target fault inspection sequence selected in step 403, and the fault detected at any external output pin is
Set the "Detection" column to "1". The failure detected by this is not limited to one target failure. This is because, along with the simulation of the target failure, other failures such as a failure on the same route as the target failure will be simulated.

【0010】ステップ408は順序回路の検査系列生成
処理の終了を示す。図13は、上記ステップ405にお
ける故障伝搬処理を示すフローである。このフローは、
RTP(Reverse Time Processing)法に基づく故障伝搬処
理を示す。RTP法では、順序回路を組み合わせ回路部分
とフリップフロップ回路(以下、FF回路)部分とに論
理的に分けて、組み合わせ回路部分の時間的なくり返し
として展開された回路と取り扱う。展開された回路にお
いて、故障伝搬処理は、目標故障の最終的な伝搬先とな
るべき外部出力から故障箇所までの経路を発見的に遡っ
て設定し、その経路を故障信号が伝搬するための入力系
列を求める。その際、ある回路単位(以下、タイムフレ
ーム)毎に、目標故障の故障信号が伝搬するための入力
を求める、すなわち、その経路を活性化していく手法で
ある。
Step 408 shows the end of the test sequence generation process of the sequential circuit. FIG. 13 is a flow chart showing the failure propagation processing in step 405. This flow is
The fault propagation processing based on RTP (Reverse Time Processing) method is shown. In the RTP method, a sequential circuit is logically divided into a combinational circuit portion and a flip-flop circuit (hereinafter referred to as FF circuit) portion, and is treated as a circuit developed as a temporal repetition of the combinational circuit portion. In the expanded circuit, the fault propagation processing heuristically sets a route from the external output that should be the final destination of the target fault to the fault location, and inputs the route for the fault signal to propagate. Find the series. At this time, this is a method of obtaining an input for propagating a fault signal of a target fault, that is, activating the path for each circuit unit (hereinafter, time frame).

【0011】具体的には、展開された順序回路におい
て、タイムフレーム毎に、以下のステップを実行する。
ステップ601は、故障伝搬処理の開始を示す。ステッ
プ602では、目標故障を含む経路が活性化されている
か否かを判断する。目標故障を含む経路が活性化されて
いれば、故障伝搬処理に成功したとしてステップ605
へ進み、活性化されていなければステップ603へ進
む。
Specifically, in the expanded sequential circuit, the following steps are executed for each time frame.
Step 601 indicates the start of failure propagation processing. In step 602, it is determined whether the route including the target failure is activated. If the route including the target fault is activated, it is determined that the fault propagation processing has succeeded and step 605 is performed.
Go to step 603. If not activated, go to step 603.

【0012】ステップ603では、対象となるタイムフ
レームにおいて、目標故障箇所、またはFFの出力(つ
まり、組み合わせ回路部分への入力)の中から1つDフ
ロンティアを選択する。さらに、そのDフロンティアに
故障信号を割り当て、任意の外部出力ピンまたは1つ前
に処理したタイムフレームで選択したDフロンティアの
入力(以後目標PPOと呼ぶ)までのその故障信号を伝
搬させる(すなわち故障伝搬経路を活性化する)ため
に、外部入力ピンとFFの出力に状態値を割り当て、故
障伝搬に成功したならばステップ604へ進み、失敗し
たならば故障伝搬処理に失敗したとしてステップ605
へ進む。
In step 603, one D frontier is selected from the target failure location or the output of the FF (that is, the input to the combinational circuit portion) in the target time frame. Further, a failure signal is assigned to the D frontier, and the failure signal is propagated to any external output pin or the input of the selected D frontier (hereinafter referred to as a target PPO) in the previously processed time frame (that is, the failure signal is transmitted). In order to activate the propagation path), a state value is assigned to the external input pin and the output of the FF, and if the failure propagation is successful, the process proceeds to step 604.
Go to.

【0013】ステップ604では、ステップ603で故
障伝搬経路を活性化するために外部入力ピンに割り当て
た状態値を検査系列として記憶し、Dフロンティアの入
力を新たに目標PPOとし、ステップ602へ進む。ス
テップ605では、故障伝搬処理の終了を示す。図14
は、上記ステップ406における状態初期化処理を示す
図である。
In step 604, the state value assigned to the external input pin for activating the fault propagation path in step 603 is stored as a test sequence, the input of the D frontier is newly set as the target PPO, and the process proceeds to step 602. In step 605, the end of the failure propagation processing is shown. 14
FIG. 8 is a diagram showing a state initialization process in step 406.

【0014】状態初期化処理は、実際の故障検査におけ
る状態遷移とは逆に、故障伝搬処理が終了した時点の回
路の状態(以下、故障励起状態)から初期状態に向かっ
て、状態遷移を生ずる状態値を割り当てて、初期状態に
至るまで状態遷移を遡っていき、その状態値に基づいて
入力系列を求める処理である。同図においてステップ5
01は、順序回路の検査系列生成の状態初期化処理の開
始を示す。
Contrary to the state transition in the actual fault inspection, the state initialization process causes a state transition from the state of the circuit at the time of completion of the fault propagation process (hereinafter, fault excited state) toward the initial state. In this process, state values are assigned, state transitions are traced back to the initial state, and an input sequence is obtained based on the state values. Step 5 in the figure
01 indicates the start of the state initialization process for generating the check sequence of the sequential circuit.

【0015】ステップ502では、回路の現在状態と初
期状態が一致しているか否かを判断し、現在状態と初期
状態が一致していれば状態初期化に成功したとしてステ
ップ505へ進み、一致していなければステップ503
へ進む。ステップ503では、現在の状態を正当化する
ために回路の外部入力ピンとフリップフロップの出力に
状態値を割り当てを行ない、現在の状態の正当化に成功
すればステップ504へ進み、失敗すれば状態初期化に
失敗したとしてステップ505へ進む。
In step 502, it is judged whether or not the current state and the initial state of the circuit match. If the current state and the initial state match, it is determined that the state initialization has succeeded, and the process proceeds to step 505, where they match. If not, step 503
Go to. In step 503, a state value is assigned to the external input pin of the circuit and the output of the flip-flop to justify the current state. If the current state is successfully justified, the process proceeds to step 504, and if it fails, the state is initialized. Since the conversion has failed, the process proceeds to step 505.

【0016】ステップ504では、ステップ503で現
在状態を正当化するために外部入力ピンに割り当てた状
態値を検査系列として記憶し、またフリップフロップの
出力に割り当てた状態値、すなわち現在状態を正当化し
た状態値を現在状態とし、ステップ502へ進む。ステ
ップ505は順序回路の検査系列生成の状態初期化処理
の終了を示す。以上のように構成された従来技術におけ
る順序回路の検査系列生成方法について、その動作を説
明する。
In step 504, the state value assigned to the external input pin in order to justify the current state in step 503 is stored as a check sequence, and the state value assigned to the output of the flip-flop, that is, the current state is justified. The set state value is set as the current state, and the process proceeds to step 502. Step 505 shows the end of the state initialization process of the test sequence generation of the sequential circuit. The operation of the conventional test sequence generation method of the sequential circuit configured as described above will be described.

【0017】まず、図11に示した故障表において、未
検出かつ未処理の故障郡の中から、検査系列生成の対象
となる目標故障を1つ選択する(図12のステップ40
1〜403)。次に、選択された目標故障が冗長故障ま
たは検査入力生成に長時間かかる故障であるかもしれな
いので、そのチェックをするため、被検査回路の組み合
わせ回路部分を対象として検査入力生成を実行する。被
検査回路の説明図を図15(a)に示す。その回路例を
図15(b)に示す。順序回路である被検査回路は、同
図に示すように組み合わせ回路部分とFF部分とに論理
的に分けて考えられる。そうすると、組み合わせ回路部
分への入力は、本来の入力である外部入力ピン(以下、
PIと略す。)とFFから出力される擬似的な入力(以
下、PPI)とからなり、組み合わせ回路の出力は、本
来の出力である外部出力ピン(以下、PO)とFFへ入
力される擬似的な出力(以下、PPO)とからなると見
られる。
First, in the failure table shown in FIG. 11, one target failure to be the target of test sequence generation is selected from undetected and unprocessed failure groups (step 40 in FIG. 12).
1-403). Next, since the selected target fault may be a redundant fault or a fault that takes a long time to generate the test input, in order to check it, the test input generation is executed for the combinational circuit portion of the circuit under test. An explanatory view of the circuit under test is shown in FIG. An example of the circuit is shown in FIG. The circuit to be inspected, which is a sequential circuit, can be logically divided into a combinational circuit portion and an FF portion as shown in FIG. Then, the input to the combinational circuit part is the external input pin (hereinafter,
Abbreviated as PI. ) And a pseudo input (hereinafter, PPI) output from the FF, and the output of the combinational circuit is an external output pin (hereinafter, PO) which is the original output and a pseudo output (hereinafter, PIO) input to the FF. Hereinafter, it is considered to consist of PPO).

【0018】この組み合わせ回路部分の入力(PI及び
PPI)と出力(PO及びPPO)に着目して、目標故
障の故障信号を出力のいずれかに伝搬するように適当な
各入力値を割り当てることによって、組み合わせ回路部
分に対する検査入力が生成される(ステップ404)。
その結果、検査入力生成に成功した場合はステップ40
5へ進み、目標故障が冗長故障である場合、故障表の
「冗長故障」欄に”1”をセットし、ステップ402へ
進み、次の目標故障を選択することになる。検査入力生
成に成功すると、当該目標故障に対して検査系列を生成
するため、故障伝搬処理を行う(ステップ405)。こ
の故障伝搬の説明図を図16に示す。
By paying attention to the inputs (PI and PPI) and outputs (PO and PPO) of this combinational circuit part, by assigning appropriate input values so that the fault signal of the target fault is propagated to either of the outputs. , A test input for the combinational circuit portion is generated (step 404).
As a result, if the inspection input generation is successful, step 40
If the target failure is a redundant failure, the process proceeds to step 5, and "1" is set in the "redundant failure" column of the failure table, and the process proceeds to step 402 to select the next target failure. If the test input generation is successful, a fault propagation process is performed to generate a test sequence for the target fault (step 405). An explanatory diagram of this fault propagation is shown in FIG.

【0019】同図において、701は最初に処理すべき
順序回路のタイムフレーム、702は2番目に処理すべ
き順序回路のタイムフレーム、703は3番目に処理す
るタイムフレームである。これらのタイムフレームは、
順序回路を組み合わせ回路部分とFF部分とに分けて、
FFの状態遷移に応じて時間展開した場合の、組み合わ
せ回路部分に相当する。(参考までに、図15(b)に
示した回路例の場合の、時間展開された結果を図17に
示す。)図16において、説明の便宜上3つのタイムフ
レームしか示さないが、実際のLSIにおいては、通
常、かなり多くのタイムフレームを故障伝搬させる必要
がある。故障伝搬において注意すべき点は、実際の回路
の動作は703から701の順に動作するが、伝搬処理
においては、701から703へ向かって時間を遡って
タイムフレーム毎に行われるということである。704
は順序回路の外部出力ピンである。705はタイムフレ
ーム701における故障信号の伝搬経路、706はタイ
ムフレーム702における故障伝搬経路である。707
〜709はタイムフレーム701の処理で用いるフリッ
プフロップである。710〜712はタイムフレーム7
02の処理で用いるフリップフロップである。713は
目標故障aの故障箇所とする。図16を用いて図13の
故障伝搬処理のフローに沿って説明する。
In the figure, 701 is a time frame of a sequential circuit to be processed first, 702 is a time frame of a sequential circuit to be processed second, and 703 is a time frame to be processed third. These timeframes are
The sequential circuit is divided into a combinational circuit part and an FF part,
It corresponds to the combinational circuit portion when the time expansion is performed according to the state transition of the FF. (For reference, the time-expanded result in the case of the circuit example shown in FIG. 15B is shown in FIG. 17.) In FIG. 16, only three time frames are shown for convenience of explanation, but an actual LSI is shown. In, it is usually necessary to fault propagate a considerable number of time frames. A point to be noted in failure propagation is that the actual operation of the circuit operates in the order of 703 to 701, but in the propagation processing, it is performed for each time frame by tracing back time from 701 to 703. 704
Is an external output pin of the sequential circuit. Reference numeral 705 is a failure signal propagation path in the time frame 701, and 706 is a failure propagation path in the time frame 702. 707
˜709 are flip-flops used in the processing of the time frame 701. 710 to 712 are time frames 7
This is a flip-flop used in the processing of 02. Reference numeral 713 is a failure point of the target failure a. This will be described with reference to FIG. 16 according to the flow of the failure propagation processing of FIG.

【0020】最初のタイムフレーム701において、目
標故障713を含む経路はまだ活性化できないので(図
13のステップ602)、DフロンティアとしてのFF
3(709)の出力を発見的に選択する。このFF3
(709)に故障信号を割り当て、それを外部出力ピン
704に伝搬するために、故障伝搬経路705を活性化
する。つまり、FF3(709)から外部出力ピン70
4に至る経路を活性化するよう、外部入力ピンとFFの
状態値を割り当てる(ステップ603)。割り当てに成
功した状態値を検査系列として記憶し、Dフロンティア
であるFF3の入力を新たな目標PPOとして設定し、
ステップ602に戻る(ステップ604)。この時点で
目標故障を含む経路はまだ活性化されていないので、ス
テップ603に進む(ステップ602)。
At the first time frame 701, the route including the target fault 713 cannot be activated yet (step 602 in FIG. 13), and therefore FF as the D frontier.
3 (709) output is heuristically selected. This FF3
Assign the fault signal to (709) and activate fault propagation path 705 to propagate it to external output pin 704. That is, from the FF3 (709) to the external output pin 70
The state values of the external input pin and FF are assigned so as to activate the path up to 4 (step 603). The state value that has been successfully assigned is stored as a test sequence, and the input of FF3, which is the D frontier, is set as a new target PPO,
The process returns to step 602 (step 604). At this point, the route including the target failure has not been activated yet, so the process proceeds to step 603 (step 602).

【0021】タイムフレーム702の処理にうつり、タ
イムフレーム701の処理でDフロンティアとして選択
したFF3(709)を目標PPOとし、発見的にFF
2(711)をDフロンティアとして選択し、FF2
(711)に故障信号を割り当て、それを目標PPOで
あるFF3(709)に伝搬するために、故障伝搬経路
706を活性化し(ステップ603)、割り当てに成功
した状態値を検査系列として記憶し、FF2を新たな目
標PPOとして設定する(ステップ604)。
Upon the processing of the time frame 702, the FF3 (709) selected as the D frontier in the processing of the time frame 701 is set as the target PPO and the FF is heuristically detected.
2 (711) is selected as D frontier, and FF2
In order to allocate the failure signal to (711) and propagate it to the FF3 (709) which is the target PPO, the failure propagation path 706 is activated (step 603), and the state value that has been successfully allocated is stored as a test sequence, FF2 is set as a new target PPO (step 604).

【0022】タイムフレーム703の処理において、タ
イムフレーム702でDフロンティアとして選択したF
F2(711)を目標PPOとするが、ここでは、いず
れのDフロンティアを選択しても目標PPOであるFF
2(711)に故障信号を伝搬することができなかった
とする(ステップ603)。そうすると故障713の故
障伝搬処理に失敗したので、故障伝搬処理を終わる(ス
テップ604)。
In the processing of the time frame 703, the F selected as the D frontier in the time frame 702
F2 (711) is the target PPO, but here, the target PPO is FF regardless of which D frontier is selected.
It is assumed that the failure signal could not be propagated to 2 (711) (step 603). Then, since the failure propagation processing of the failure 713 has failed, the failure propagation processing ends (step 604).

【0023】故障伝搬処理に失敗すると図12のステッ
プ402に進み(ステップ405)、次の新たな目標故
障を選択して、同様に処理を実行することになる(ステ
ップ402〜405)。上の動作例では、故障伝搬処理
に失敗した場合の例であるが、タイムフレーム703に
おけるステップ405にて、目標故障713に故障信号
を伝搬することに成功した場合は、次のようになる。
If the failure propagation processing fails, the process proceeds to step 402 in FIG. 12 (step 405), the next new target failure is selected, and the same processing is executed (steps 402 to 405). The above operation example is an example of a case where the failure propagation processing has failed, but when the failure signal is successfully propagated to the target failure 713 in step 405 in the time frame 703, the following is performed.

【0024】この場合、各タイムフレームで外部入力ピ
ンに割り当てられた状態値が検査系列として生成されて
いる。ところが、各FFの状態は、故障伝搬処理が終了
した時点での回路の状態(以下、故障励起状態)、上の
例ではタイムフレーム703において割り当てに成功し
た状態値になっているので、故障伝搬処理によって生成
された検査系列は、伝搬処理終了時の状態においてのみ
有効な検査系列である。そこで、所望の初期状態におい
て故障検査を実行しうるように、回路の状態を初期状態
から故障励起状態に変更するための系列を求める処理が
必要になる。この処理が状態初期化処理である。状態初
期化処理の動作を図18に示す被検査回路の状態遷移の
一例を用いて説明する。
In this case, the state value assigned to the external input pin is generated as a test sequence in each time frame. However, the state of each FF is the state of the circuit at the time when the fault propagation processing ends (hereinafter, the fault excited state), and in the above example, the state value that was successfully allocated in the time frame 703, so the fault propagation The test sequence generated by the process is a test sequence that is valid only in the state at the end of the propagation process. Therefore, it is necessary to obtain a sequence for changing the state of the circuit from the initial state to the fault excited state so that the fault inspection can be executed in the desired initial state. This process is the state initialization process. The operation of the state initialization process will be described using an example of the state transition of the circuit under test shown in FIG.

【0025】同図において、801〜804は回路の状
態、特に状態801は故障伝搬処理が終了した時点での
回路の状態、すなわち故障励起状態、また状態804は
初期状態とする。805は状態802から状態801へ
遷移可能であることを示す枝、806は状態803から
状態802へ遷移可能であることを示す枝、807は状
態801から状態803へ遷移可能であることを示す
枝、808は状態804から状態803へ遷移可能であ
ることを示す枝である。
In the figure, reference numerals 801 to 804 denote circuit states, particularly state 801 is a circuit state at the time when the fault propagation processing is completed, that is, a fault excited state, and state 804 is an initial state. 805 is a branch indicating that the state 802 can be transited to the state 801, 806 is a branch indicating that the state 803 can be transited to the state 802, and 807 is a branch indicating that the state 801 can be transited to the state 803. , 808 are branches indicating that the state 804 can transit to the state 803.

【0026】故障伝搬処理終了時において、現在状態は
状態801(S1)であり、初期状態と一致しないので
(図14のステップ502)、現在状態を正当化、すな
わち、現在状態に状態遷移させるように外部入力および
FFの状態を割り当てる。ここでは、FFに状態802
(S2)の状態を割り当てたところ正当化できたものと
する(ステップ503)。正当化した状態を新たに現在
状態(S2)とする(ステップ504)。
At the end of the failure propagation processing, the current state is the state 801 (S1) and does not match the initial state (step 502 in FIG. 14). Therefore, the current state is justified, that is, the state is changed to the current state. The external input and FF states are assigned to. Here, the state 802 is set to FF.
When the state of (S2) is assigned, it is assumed that it has been justified (step 503). The justified state is newly set as the current state (S2) (step 504).

【0027】同様にして、現在状態を正当化して、新た
に現在状態をS3とする(ステップ502〜504)。
さらに、同様に、現在状態S3を正当化することになる
が、図18の場合、現在状態S3への状態遷移は、S1
から遷移する場合と、S4から遷移する場合の2通りが
有り得る。正当化した状態がS4であれば、状態初期化
に成功することになる。この場合、先の故障伝搬処理に
おいて得た入力系列と、状態初期化処理において選られ
た入力系列とを合わせて、故障検査系列を得られる。
Similarly, the current state is justified and the current state is newly set to S3 (steps 502 to 504).
Further, similarly, the current state S3 is justified, but in the case of FIG. 18, the state transition to the current state S3 is S1.
There may be two cases, that is, a transition from S4 and a transition from S4. If the justified state is S4, the state initialization will be successful. In this case, the failure check series can be obtained by combining the input series obtained in the previous failure propagation processing and the input series selected in the state initialization processing.

【0028】逆に、正当化した状態がS1であれば、再
度上記と同じ処理をくり返して失敗し、状態遷移のルー
プに陥ることになるので、初期状態を得ることができな
いことになる。状態初期化処理の後、得られた検査系列
を用いて、目標故障に対して故障シミュレーションを実
行し、外部出力ピンで検出されることを確認して、故障
表における対応する「検出」欄を”1”にし(図12の
ステップ407)、ステップ402に進む。更に上記の
動作をくり返し、目標故障毎に検査系列生成処理が行わ
れていく。最後に、上記図17の回路例の場合の検査系
列生成処理を説明する。目標故障は、×印の信号線であ
る。
On the other hand, if the justified state is S1, the same process as described above is repeated again, and the process fails and falls into a state transition loop, so that the initial state cannot be obtained. After the state initialization process, using the test sequence obtained, execute a fault simulation for the target fault, confirm that it is detected at the external output pin, and check the corresponding "Detection" column in the fault table. It is set to "1" (step 407 in FIG. 12) and the process proceeds to step 402. Further, the above operation is repeated, and the inspection sequence generation processing is performed for each target failure. Finally, the test sequence generation processing in the case of the circuit example of FIG. 17 will be described. The target failure is the signal line marked with X.

【0029】(伝搬処理の最初のタイムフレーム)目標
故障(×印)を含む経路の活性化が終了していない(図
16のステップ602)ので、DフロンティアとしてF
F2の出力Y2を選択したとする(ステップ603の前
半)。組み合わせ回路部分において、入力信号y2から
外部出力ピンZまでの経路を活性化する状態値を次のよ
うにして割り当てる。すなわち、外部出力ピンZに故障
信号Dが出力されるためには、ANDゲートG2の2入
力(I、y2)=(1、D)でなければならない。この
とき、入力y1はdon't careでよい。従って、状態値
(I、y1、y2)=(1、X、D)が割り当てられる
(ステップ603の後半)。
(First time frame of propagation processing) Since the activation of the path including the target failure (marked by X) is not completed (step 602 in FIG. 16), the F frontier is F.
It is assumed that the output Y2 of F2 is selected (first half of step 603). In the combinational circuit portion, a state value that activates the path from the input signal y2 to the external output pin Z is assigned as follows. That is, in order for the failure signal D to be output to the external output pin Z, the two inputs of the AND gate G2 must be (I, y2) = (1, D). At this time, the input y1 may be don't care. Therefore, the state value (I, y1, y2) = (1, X, D) is assigned (the latter half of step 603).

【0030】この状態値(1、X、D)を検査系列の一
部として記憶し、新たな目標PPOをFF2の入力Y2
とする(ステップ604)。 (伝搬処理の2番目のタイムフレーム)Dフロンティア
として目標故障(×印)を選択したとする(ステップ6
02、603の前半)。
This state value (1, X, D) is stored as a part of the test sequence, and a new target PPO is input to the FF2 at the input Y2.
(Step 604). (Second time frame of propagation processing) Assume that the target failure (marked with X) is selected as the D frontier (step 6).
02, the first half of 603).

【0031】組み合わせ回路部分において、目標故障か
ら目標PPOのY2までの経路を活性化する状態値を次
のようにして割り当てる。すなわち、Y2に故障信号D
が出力されるためには、ORゲートG3の入力(G1の
出力、y1)=(D、0)でなければならない。加え
て、ANDゲートG1の2入力(I、目標故障)=
(1、D)でなければならない。従って、状態値(I、
y1、y2)=(1、0、0)が割り当てられる(ステ
ップ603の後半)。
In the combinational circuit portion, the state value for activating the path from the target failure to the target PPO Y2 is assigned as follows. That is, the failure signal D is applied to Y2.
Must be input to the OR gate G3 (output of G1, y1) = (D, 0). In addition, 2 inputs of the AND gate G1 (I, target failure) =
Must be (1, D). Therefore, the state value (I,
y1, y2) = (1, 0, 0) is assigned (the latter half of step 603).

【0032】この状態値(1、0、0)を検査系列の一
部として記憶し、新たな目標PPOをFF1の入力Y1
とする(ステップ604)が、目標故障を含む経路が活
性化された(ステップ602)ので、伝搬処理は終了す
る(ステップ605)。 (状態初期化処理)続いて、状態初期化処理を行う。仮
に、初期状態が(FF1、FF2)=(0、0)であれ
ば、状態初期化処理は即終了する(図14のステップ5
02、505)。
This state value (1, 0, 0) is stored as a part of the test sequence, and a new target PPO is input to the FF1 input Y1.
However, since the route including the target failure is activated (step 602), the propagation process ends (step 605). (State Initialization Processing) Subsequently, state initialization processing is performed. If the initial state is (FF1, FF2) = (0, 0), the state initialization process ends immediately (step 5 in FIG. 14).
02, 505).

【0033】ここでは、初期状態を(FF1、FF2)
=(X、X)つまり、don't careである場合を説明す
る。初期状態(X、X)と現在状態(0、0)とが一致
しないので(ステップ502)、現在状態を正当化する
状態値を割り当てる。すなわち、FF1(Y1=0)を
正当化するためには、ANDゲートG1の2入力(I、
y2)=(0、X)でよい。このとき、y2はXでよ
い。従って、I=0を入力値として割り当てれば、状態
(0、0)を正当化できる(ステップ503)。
Here, the initial state is (FF1, FF2)
= (X, X) That is, the case of don't care will be described. Since the initial state (X, X) and the current state (0, 0) do not match (step 502), a state value that justifies the current state is assigned. That is, in order to justify FF1 (Y1 = 0), the two inputs (I,
y2) = (0, X). At this time, y2 may be X. Therefore, if I = 0 is assigned as the input value, the state (0, 0) can be justified (step 503).

【0034】この入力値I=0を検査系列の一部として
記憶し、さらに正当化した状態(0、X)を現在状態と
し(ステップ504)、初期状態とは一致していないの
で(ステップ502)、現在状態を正当化する。すなわ
ち、FF1(Y1=0)を正当化するためには、AND
ゲートG1の2入力(I、y1)=(0、X)でよく、
FF2(Y2=X)を正当化するためには、ORゲート
G3の2入力(G1の出力、y1)=(0、X)とすれ
ばよく。このとき、y1はXでよい。従って、I=0を
入力値として割り当てれば、状態(0、X)を正当化で
きる(ステップ503)。
This input value I = 0 is stored as a part of the check sequence, and the justified state (0, X) is set as the current state (step 504), which does not match the initial state (step 502). ), Justify the current state. That is, in order to justify FF1 (Y1 = 0), AND
2 inputs of the gate G1 (I, y1) = (0, X) may be used,
In order to justify FF2 (Y2 = X), the two inputs of the OR gate G3 (output of G1, y1) = (0, X) may be set. At this time, y1 may be X. Therefore, by assigning I = 0 as an input value, the state (0, X) can be justified (step 503).

【0035】この入力値I=0を検査系列の一部として
記憶し、正当化した状態(X、X)を現在状態とするが
(ステップ504)、初期状態と一致知っているので
(ステップ502)、正当化処理を終了する(ステップ
505)。その結果、検査系列として、入力信号Iに入
力すべき系列として、{0011}が得られる。
This input value I = 0 is stored as a part of the test sequence, and the justified state (X, X) is set as the current state (step 504), but since it is known as coincident with the initial state (step 502). ), The justification process ends (step 505). As a result, {0011} is obtained as the test sequence to be input to the input signal I.

【0036】[0036]

【発明が解決しようとする課題】しかしながら上記の従
来技術における検査系列生成方法によれば、故障伝搬処
理、または状態初期化処理で失敗する場合が多く、検査
系列を生成できない場合が多いという問題があった。す
なわち、故障伝搬処理、又は状態初期化処理で失敗する
と、当該目標故障についての検査系列の生成をあきら
め、次の目標故障に進むなど、失敗した故障に対する手
当をどうするかが確立されていなかった。そのため、検
査系列生成の成功率つまり故障検出率の向上が図られて
いなかった。
However, according to the above-described test sequence generation method in the prior art, there is a problem that the failure propagation process or the state initialization process often fails, and the test sequence cannot be generated in many cases. there were. That is, if the failure propagation processing or the state initialization processing fails, the generation of the test series for the target failure is abandoned and the next target failure is proceeded to. Therefore, the success rate of test sequence generation, that is, the failure detection rate has not been improved.

【0037】上記の問題点に鑑み本発明は、高い故障検
出率が得られる故障検査系列生成方法及び検査系列生成
装置を提供することを目的とする。
In view of the above problems, it is an object of the present invention to provide a fault test sequence generation method and a test sequence generation device which can obtain a high fault coverage.

【0038】[0038]

【課題を解決するための手段】上記目的を達成するた
め、本発明の検査系列生成方法は、被検査回路である順
序回路をタイムフレームに展開して、順序回路中の仮定
された縮退故障について、タイムフレーム毎に当該故障
の故障信号の伝搬経路の活性化を試みる故障伝搬処理を
行い、当該故障を検査する系列を生成する検査系列生成
方法であって、1つのタイムフレームにおいて故障信号
が伝わるべき経路を選択し、その経路が活性化するよう
当該タイムフレームでの入力値を割り当て、この処理を
最終的な故障の伝搬先である出力ピンから故障箇所に至
るまでタイムフレームを遡って行う故障伝搬処理ステッ
プと、いずれかのタイムフレームにおいて、活性化の失
敗を検出した場合、最初のタイムフレームから当該失敗
したタイムフレームまでの各経路のうち少なくとも一部
の経路を禁止情報とする割当失敗検出ステップと、活性
化に失敗した場合に、禁止情報とされた経路を選択しな
いように、新たに、故障伝搬処理ステップを実行する再
故障伝搬処理ステップとからなることを特徴とする。
In order to achieve the above-mentioned object, the test sequence generation method of the present invention develops a sequential circuit, which is a circuit to be tested, in a time frame to detect an assumed stuck-at fault in the sequential circuit. , A test sequence generation method that performs a fault propagation process that attempts to activate a propagation path of a fault signal of the fault for each time frame and generates a sequence for testing the fault, in which the fault signal is transmitted in one time frame. Select a power path, assign an input value in the relevant time frame so that the path is activated, and perform this process retroactively through the time frame from the output pin, which is the final failure propagation destination, to the failure location. When the activation failure is detected in the propagation processing step and in any of the time frames, the failed time frame from the first time frame In the allocation failure detection step in which at least a part of the routes in step 1 is set as prohibition information, and in the case of failure in activation, a new fault propagation processing step is added so as not to select the path set as prohibition information. And a re-fault propagation processing step to be executed.

【0039】ここで、前記禁止情報情報は、所定のタイ
ムフレームにおいて選択された、1つ前の時刻のタイム
フレームからの故障伝搬先となるべき信号線を表すDフ
ロンティアであってもよい。前記所定のタイムフレーム
は、最初に故障伝搬経路を活性化するタイムフレームで
あってもよい。
Here, the prohibition information information may be a D frontier representing a signal line selected as a failure propagation destination from the time frame of the immediately preceding time frame selected in a predetermined time frame. The predetermined time frame may be a time frame that first activates the failure propagation path.

【0040】前記禁止情報は、所定のタイムフレームに
おける伝搬経路を表す、Dフロンティアと目標PPOと
の組であってもよい。前記禁止情報は、故障伝搬に失敗
したタイムフレームの1つ前に処理したタイムフレーム
における伝搬経路を表す、Dフロンティアと目標PPO
との組であってもよい。ことを特徴とする請求項1記載
の検査系列生成方法。
The prohibition information may be a set of a D frontier and a target PPO, which represents a propagation path in a predetermined time frame. The prohibition information is a D frontier and a target PPO indicating a propagation path in a time frame processed one time before a time frame in which failure propagation has failed.
It may be a pair with. The test sequence generation method according to claim 1, wherein:

【0041】また、被検査回路である順序回路をタイム
フレームに展開して、順序回路中の仮定された縮退故障
について、タイムフレーム毎に当該故障の故障信号の伝
搬経路を活性化を試みる故障伝搬処理を行い、当該故障
を検査する系列を生成する検査系列生成方法であって、
目標故障の全部に一通り故障伝搬処理が行われた回数を
カウントする第1のステップと、前記カウント値が、所
定の回数を越えているか否かを判断し、越えている場合
は検査系列生成を終了する第2のステップとからなり、
前記第1のステップは、故障伝搬処理が未処理か未処理
と擬制された故障で、かつ、検査系列が未生成の目標故
障のなかから1つを選択する第1のサブステップと、選
択された目標故障に関して、目標故障を外部出力ピンに
伝搬させるタイムフレームにおいて、活性化すべき経路
の入力側を示すDフロンティアが禁止Dフロンティアと
して登録されている場合にはその禁止Dフロンティア以
外から、Dフロンティアを選択して故障伝搬処理を行う
第2のサブステップと、第2のサブステップで故障伝搬
処理が成功したか失敗したかを判断する第3のサブステ
ップと、失敗と判断された場合に、前記目標故障の影響
を外部出力ピンに伝搬させるタイムフレームで選択され
たDフロンティアを前記目標故障の禁止Dフロンティア
として登録する第4のサブステップと、第1から第4の
サブステップが全ての目標故障について実行されたと
き、故障伝搬処理に失敗した故障を、故障伝搬処理が未
処理として擬制し、前記カウント値をカウントする第5
のサブステップとからなっていてもよい。
Further, the sequential circuit which is the circuit to be inspected is developed in the time frame, and for the assumed stuck-at fault in the sequential circuit, the fault propagation which attempts to activate the propagation path of the fault signal of the fault for each time frame is propagated. An inspection sequence generation method for performing processing to generate a sequence for inspecting the fault,
A first step of counting the number of times the failure propagation processing has been performed for all of the target failures, and determining whether or not the count value exceeds a predetermined number of times, and if it exceeds, a test sequence generation And a second step to end
The first step is selected as a first sub-step of selecting one of target faults whose fault propagation process is untreated or quasi-untreated and whose test sequence is ungenerated. Regarding the target fault, when the D frontier indicating the input side of the path to be activated is registered as the prohibited D frontier in the time frame for propagating the target fault to the external output pin, the D frontier is selected from other than the prohibited D frontier. A second sub-step in which the failure propagation processing is performed by selecting, a third sub-step that determines whether the failure propagation processing succeeded or failed in the second sub-step, and if it is determined that the failure propagation processing has failed, Registering the D frontier selected in the time frame for propagating the influence of the target failure to the external output pin as the prohibited D frontier of the target failure; And the first to fourth sub-steps are executed for all target faults, the fault which has failed the fault propagation process is assumed to be unprocessed by the fault propagation process, and the count value is counted. 5
Sub-steps of.

【0042】また、被検査回路である順序回路をタイム
フレームに展開して、順序回路中の仮定された縮退故障
について、タイムフレーム毎に当該故障の故障信号の伝
搬経路を活性化を試みる故障伝搬処理を行い、当該故障
を検査する系列を生成する検査系列生成方法であって、
ある目標故障に対して1つのタイムフレームに対して故
障伝搬処理を行う第1のステップと、第1のステップの
処理対象となっているタイムフレームの1つ前のタイム
フレームで選択された伝搬経路を、経路の出口側を示す
信号線(以後目標PPO)と入口側を示すDフロンティ
アとのペアとして記憶する第2のステップと、第1のス
テップでの故障伝搬処理が成功したか否かを判断し、成
功した場合は、次のタイムフレームについて第1のステ
ップを実行させ、失敗した場合は、第2のステップで記
憶した目標PPOとDフロンティアとの組合せを禁止経
路として登録する第3のステップと、第1のステップで
の故障伝搬処理に失敗したときに、すでに生成された検
査系列のうち、失敗したタイムフレームから少なくとも
1つ前のタイムフレーム以降に生成した部分をクリアす
る第4のステップと、前記禁止経路として登録されたD
フロンティアと目標PPOの組合せを選択しないよう
に、クリアされた部分の対応するタイムフレームから第
1のステップを実行させる第5のステップとからなって
いてもよい。
In addition, the sequential circuit which is the circuit to be inspected is developed in a time frame, and for the assumed stuck-at fault in the sequential circuit, the fault propagation which attempts to activate the propagation path of the fault signal of the fault for each time frame is propagated. An inspection sequence generation method for performing processing to generate a sequence for inspecting the fault,
A first step in which a failure propagation process is performed for one target frame with respect to a certain target failure, and a propagation path selected in a time frame immediately before the time frame that is the processing target of the first step. Is stored as a pair of a signal line indicating the exit side of the path (hereinafter, target PPO) and a D frontier indicating the entrance side, and whether or not the failure propagation processing in the first step is successful. If the determination is successful, the first step is executed for the next time frame, and if the determination is unsuccessful, the combination of the target PPO and the D frontier stored in the second step is registered as the prohibited route. When the step and the failure propagation processing in the first step fail, at least one time frame before the failed time frame in the already generated test sequence. A fourth step of clearing the generated partial after chromatography beam, D registered as the prohibited path
It may consist of a fifth step of executing the first step from the corresponding time frame of the cleared part so as not to select the combination of frontier and target PPO.

【0043】また、被検査回路である順序回路におい
て、初期状態からある縮退故障に対する故障伝搬処理の
終了時の状態まで状態を遷移させるため、順序回路の入
力ピンに時系列的に与えるべき入力信号を求める状態初
期かを行い、当該故障を検査する検査系列を生成する検
査系列を検査系列生成方法であって、順序回路におい
て、その時の状態を正当化するように順序回路の記憶素
子の状態と外部入力ピンに与える入力信号とを割り当
て、その処理を故障伝搬処理が終わったときにおける順
序回路の状態から順序回路の初期状態を得るべく実行す
る正当化ステップと、前記ステップにおいて割り当てた
順序回路の状態が、故障伝搬処理終了時の状態、または
既に一度割り当てられた状態と一致しているかどうかを
判定する一致検出ステップと、一致していると判定され
た場合に、一致した状態と外部入力ピンに与える信号と
の割り当てを取りやめて、その状態を避けて新たに正当
化ステップを実行する割り当て制御ステップとからなる
ことを特徴とする。
Further, in the sequential circuit which is the circuit to be inspected, in order to transit the state from the initial state to the state at the end of the fault propagation processing for a certain stuck-at fault, an input signal to be applied to the input pin of the sequential circuit in time series. Is a test sequence generating method for generating a test sequence for inspecting the fault, and in the sequential circuit, the state of the memory element of the sequential circuit is set so as to justify the state at that time. An input signal to be given to an external input pin is allocated, and a justification step for executing the processing to obtain the initial state of the sequential circuit from the state of the sequential circuit when the fault propagation processing is finished; A match detection step that determines whether the state matches the state at the end of the fault propagation process or the state that has already been assigned once. And, when it is determined that they match, the assignment control step of canceling the assignment of the matched state and the signal to be given to the external input pin and avoiding the state and newly executing the justification step. Is characterized by.

【0044】ここで、前記割当制御ステップは、故障伝
搬処理が終了した時点の状態から新たに正当化ステップ
を実行するようにしてもよい。また、前記割当制御ステ
ップは、一致した状態のいつ前の状態から新たに正当化
ステップを実行するようにしてもよい。また、被検査回
路である順序回路において、初期状態からある縮退故障
に対する故障伝搬処理の終了時の状態まで状態を遷移さ
せるため、順序回路の入力ピンに時系列的に与えるべき
入力信号を求める状態初期化処理を行い、当該故障を検
査する系列を生成する検査系列を検査系列生成方法であ
って、現在の状態が初期状態と一致しているか否かを判
定する第1のステップと、現在の状態を正当化する状態
値を割り当てる第2のステップと、正当化した状態を状
態遷移の履歴として記憶する第3のステップと、第3の
ステップで新たに記憶した状態が既に状態遷移の履歴中
に存在するか否かを判断する第4のステップと、第4の
ステップで存在すると判断された場合、その状態を禁止
情報として登録し、状態遷移の履歴から削除して第2の
ステップに戻る第5のステップと、第4のステップで存
在しないと判断された場合、正当化した状態を現在状態
として、第1の状態に戻る第6のステップとからなるよ
うにしてもよい。
Here, in the allocation control step, the justification step may be newly executed from the state at the time when the failure propagation processing is completed. In the allocation control step, the justification step may be newly executed from a state before the coincident state. Further, in the sequential circuit that is the circuit under test, in order to change the state from the initial state to the state at the end of the fault propagation processing for a certain stuck-at fault, the state in which the input signal to be applied to the input pin of the sequential circuit in time series is obtained. A first step of determining whether or not the current state is the same as the initial state by a method of generating an inspection sequence for performing an initialization process and generating a sequence for inspecting the fault. The second step of assigning a state value that justifies the state, the third step of storing the justified state as a history of state transitions, and the state newly stored in the third step is already in the history of state transitions. If it exists in the fourth step, the state is registered as prohibition information, and the state is deleted from the history of state transitions. It may be configured to include a fifth step of returning to the first step and a sixth step of returning to the first state with the justified state as the current state when it is determined not to exist in the fourth step. .

【0045】また、本発明の検査系列生成装置は、被検
査回路である順序回路をタイムフレームに展開して、順
序回路中の仮定された縮退故障について、タイムフレー
ム毎に当該故障の故障信号の伝搬経路を活性化を試みる
故障伝搬処理を行い、当該故障を検査する系列を生成す
る検査系列生成装置であって、1つのタイムフレームに
おいて故障信号が伝わるべき経路を選択し、その経路が
活性化するよう当該タイムフレームでの入力値を割り当
て、この処理を最終的な故障の伝搬先である出力ピンか
ら故障箇所に至るまでタイムフレームを遡って行う故障
伝搬処理手段と、いずれかのタイムフレームにおいて、
活性化の失敗を検出した場合、最初のタイムフレームか
ら当該失敗したタイムフレームまでの各経路のうち少な
くとも一部の経路を禁止情報とする失敗検出手段と、前
記禁止情報を当該故障と対応させて記憶する禁止情報記
憶手段と、活性化に失敗した場合に、禁止情報とされた
経路を選択することを禁止して、新たに当該故障に対し
て故障伝搬処理手段を起動する禁止手段とを備えたこと
を特徴とする。
Further, the test sequence generation device of the present invention expands the sequential circuit which is the circuit to be tested in the time frame, and regarding the assumed stuck-at fault in the sequential circuit, the fault signal of the fault is output for each time frame. A test sequence generation device that performs a fault propagation process that attempts to activate a propagation route and generates a sequence that tests the fault, selects a route through which a fault signal should be transmitted in one time frame, and activates the route. The fault propagation processing means that assigns an input value in the relevant time frame so as to trace back the time frame from the output pin, which is the final fault propagation destination, to the fault location, and in any time frame ,
When the activation failure is detected, a failure detection unit that makes at least a part of the routes from the first time frame to the failed time frame the prohibition information, and the prohibition information is associated with the failure. Providing prohibition information storage means for storing, and prohibition means for prohibiting the selection of the path for which the prohibition information is set when activation fails and newly activating the failure propagation processing means for the failure It is characterized by that.

【0046】ここで、前記禁止情報情報は、所定のタイ
ムフレームにおいて選択された、隣のタイムフレームか
らの故障伝搬先となるべき信号線を表すDフロンティア
であってもよい。前記所定のタイムフレームは、最初の
タイムフレームであってもよい。前記禁止情報は、所定
のタイムフレームにおける伝搬経路を表すDフロンティ
アと目標PPOとの組であってもよい。
Here, the prohibition information may be a D frontier representing a signal line selected in a predetermined time frame and to be a fault propagation destination from an adjacent time frame. The predetermined time frame may be the first time frame. The prohibition information may be a set of a D frontier representing a propagation route in a predetermined time frame and a target PPO.

【0047】前記禁止情報は、故障伝搬に失敗したタイ
ムフレームの1つ前に処理したタイムフレームにおける
伝搬経路を表すDフロンティアと目標PPOとの組であ
ってもよい。また、被検査回路である順序回路におい
て、初期状態からある縮退故障に対する故障伝搬処理の
終了時の状態まで状態を遷移させるため、順序回路の入
力ピンに時系列的に与えるべき入力信号を求める状態初
期化処理を行い、当該故障を検査する系列を生成する検
査系列を検査系列生成装置であって、順序回路におい
て、その時の状態を正当化するように順序回路の記憶素
子の状態と外部入力ピンに与える入力信号とを割り当
て、その処理を故障伝搬処理が終わったときにおける順
序回路の状態から順序回路の初期状態を得るべく実行す
る正当化手段と、前記手段において割り当てた順序回路
の状態が、故障伝搬処理終了時の状態、または既に一度
割り当てられた状態と一致しているかどうかを判定する
一致検出手段と、一致していると判定された場合に、一
致した状態と外部入力ピンに与える入力信号との割り当
てを取りやめて、その状態を避けて新たに正当化手段を
実行する割り当て制御手段とを備えることことを特徴と
する。
The prohibition information may be a set of a D frontier and a target PPO indicating a propagation path in a time frame processed one time before a time frame in which failure propagation has failed. Further, in the sequential circuit that is the circuit under test, in order to change the state from the initial state to the state at the end of the fault propagation processing for a certain stuck-at fault, the state in which the input signal to be applied to the input pin of the sequential circuit in time series is obtained. An inspection sequence generating device for performing an initialization process and generating a sequence for inspecting the fault is a test sequence generation device, and in a sequential circuit, a state of a storage element of a sequential circuit and an external input pin are set so as to justify the state at that time. Input signal given to the, and the justification means for executing the processing to obtain the initial state of the sequential circuit from the state of the sequential circuit when the fault propagation processing is finished, and the state of the sequential circuit assigned by the means, Match detection means that determines whether the state at the end of the fault propagation process or the state that has already been assigned matches, and determines that they match. If it and cancel the assignment of the input signal applied to the matched state and the external input pins, and wherein the providing the allocation control means for executing a new justification means to avoid the condition.

【0048】ここで、前記割当制御手段は、故障伝搬処
理が終了した時点の状態から新たに正当化手段を実行し
てもよい。前記割当制御手段は、一致した状態の1つ前
の状態から新たに正当化手段を実行してもよい。
Here, the allocation control means may newly execute the justification means from the state at the time when the failure propagation processing is completed. The allocation control means may newly execute the justification means from the state immediately before the matched state.

【0049】[0049]

【作用】上記の構成により本発明の検査系列生成方法
(装置)は、故障伝搬処理ステップ(手段)で目標故障
の故障伝搬処理に失敗したとき、割当失敗検出ステップ
(手段)はその目標故障の影響を伝搬させる経路の少な
くとも一部を禁止情報とする。再故障伝搬処理ステップ
(禁止手段)は、その目標故障に対する禁止情報を経路
として選択しないようにして、新たに、同じ目標故障に
対する検査系列生成の故障伝搬処理を行う。
In the test sequence generation method (apparatus) of the present invention having the above-described configuration, when the failure propagation processing of the target failure fails in the failure propagation processing step (means), the allocation failure detection step (means) detects the target failure. At least a part of the route for propagating the influence is prohibited information. The re-fault propagation processing step (prohibition means) does not select the prohibition information for the target fault as a route, and newly performs the fault propagation process of test sequence generation for the same target fault.

【0050】また、状態初期化処理において、一致検出
ステップ(手段)は、正当化ステップ(手段)におい
て、状態遷移がループに陥ったかどうか(同じ状態が2
つあるか)を検出する。割当制御ステップ(手段)は、
ループを形成する原因となった状態を禁止状態として、
再度やり直す。
In the state initialization process, the coincidence detection step (means) determines whether or not the state transition falls into a loop in the justification step (means).
If there is one). The allocation control step (means) is
The state that caused the formation of the loop is prohibited,
Please try again.

【0051】[0051]

【実施例】【Example】

(実施例1)図1は、本発明の実施例における順序回路
の検査系列生成方法の全体の流れ図である。検査系列に
より検査される対象となる故障は、従来技術の項で説明
したのと同じであり、予め被検査回路となるLSIのネ
ットリストに基づいて各信号線毎にリストアップされて
故障表に登録されている(図11の故障表の例参照)。
(Embodiment 1) FIG. 1 is an overall flow chart of a method for generating a test sequence of a sequential circuit in an embodiment of the present invention. The faults to be inspected by the inspection series are the same as those explained in the section of the prior art, and are listed up in advance for each signal line on the basis of the netlist of the LSI to be inspected circuit, and are listed in the fault table. It has been registered (see the example of the failure table in FIG. 11).

【0052】図1においてステップ101は、検査系列
生成方法の処理の開始を示す。ステップ102では、故
障表における未「検出」故障に対して実行すべき検査系
列生成処理の最大回数を設定する。この回数は、被検査
回路の複雑さや回路規模や、検査系列生成処理に許され
る時間などを考慮して決定されるべきものであるが、多
くの場合5回ぐらいが妥当である。
In FIG. 1, step 101 shows the start of processing of the test sequence generation method. In step 102, the maximum number of test sequence generation processes to be executed for undetected failures in the failure table is set. The number of times should be determined in consideration of the complexity of the circuit to be inspected, the circuit scale, the time allowed for the inspection sequence generation processing, etc., but in most cases, about 5 times is appropriate.

【0053】ステップ103では、検査系列生成処理の
回数を0に初期化する。ステップ104では、検査系列
生成処理の回数が、ステップ102で設定した未検出故
障に対する検査系列生成処理の最大回数を越えていない
かどうかを判断し、最大回数を越えていなければステッ
プ105へ進み、越えていればステップ115へ進む。
In step 103, the number of test sequence generation processes is initialized to zero. In step 104, it is judged whether or not the number of inspection sequence generation processes exceeds the maximum number of inspection sequence generation processes for the undetected fault set in step 102. If it does not exceed the maximum number, the process proceeds to step 105, If it exceeds, the process proceeds to step 115.

【0054】ステップ105では、故障表において、冗
長故障以外の未検出かつ未処理である故障が存在するか
否かを判断する。存在する場合、ステップ106へ進
み、存在しない場合、ステップ113へ進む。ステップ
106、107では、未検出かつ未処理である故障郡の
中から目標故障を1つ選択し、検査系列生成の前段階と
して、検出不能な故障かどうかを調べるため、組み合わ
せ回路部分についてのみ検査入力を生成する。これは従
来技術で述べた図12におけるステップ403、404
と同じである。
In step 105, it is judged whether or not there is any undetected and unprocessed fault other than the redundant fault in the fault table. If it exists, the process proceeds to step 106, and if it does not exist, the process proceeds to step 113. In steps 106 and 107, one target fault is selected from the undetected and unprocessed fault groups, and as a pre-stage of the test sequence generation, it is checked whether or not it is an undetectable fault. Therefore, only the combinational circuit portion is inspected. Generate input. This is the step 403, 404 in FIG. 12 described in the prior art.
Is the same as.

【0055】ステップ108では、選択された目標故障
に対して、故障伝搬処理を行う。ステップ109、11
0では、状態初期化処理、故障シミュレーションを行
う。これは従来技術の説明で述べた図12におけるステ
ップ406、407と同じである。ステップ111で
は、ステップ107で処理した検査系列生成の故障伝搬
処理が成功しているか否かを判断し、成功すればステッ
プ105へ、失敗すればステップ112へ進む。
In step 108, fault propagation processing is performed for the selected target fault. Steps 109 and 11
At 0, state initialization processing and failure simulation are performed. This is the same as steps 406 and 407 in FIG. 12 described in the description of the prior art. In step 111, it is judged whether or not the fault propagation processing of test sequence generation processed in step 107 is successful. If it is successful, the processing proceeds to step 105, and if it fails, the processing proceeds to step 112.

【0056】ステップ112では、目標故障の影響を任
意の外部出力ピンまで伝搬するタイムフレームで選択さ
れたDフロンティアをその目標故障の禁止Dフロンティ
ア集合に登録する。禁止Dフロンティア集合の登録例を
図2に示す。同図において、「信号線」は対象となって
いる故障箇所を、「故障」は故障の種別を、「Dフロン
ティア」は、選択することが禁止されるDフロンティア
を示す。同図のように、本実施例においては、禁止Dフ
ロンティアは、故障毎に登録される。
In step 112, the D frontier selected in the time frame for propagating the influence of the target failure to any external output pin is registered in the prohibited D frontier set of the target failure. FIG. 2 shows an example of registration of the prohibited D frontier set. In the figure, "signal line" indicates the target failure location, "failure" indicates the type of failure, and "D frontier" indicates the D frontier that is prohibited to be selected. As shown in the figure, in the present embodiment, the prohibited D frontier is registered for each failure.

【0057】ステップ113では、故障表において冗長
故障以外の未検出故障を未処理故障とする。すなわち、
「検出」欄が0であり、かつ「冗長故障」が1でない故
障の「処理」欄を0にする。これにより、検査系列生成
に失敗した故障が、ステップ106で再度選択されるこ
とになる。ステップ114では、未検出故障に対する検
査系列生成処理の回数を1つカウントアップする。
In step 113, undetected faults other than redundant faults in the fault table are treated as unprocessed faults. That is,
The "processing" column of a fault in which the "detection" column is 0 and the "redundant fault" is not 1 is set to 0. As a result, the failure for which the test sequence generation has failed is selected again in step 106. In step 114, the number of inspection sequence generation processes for undetected faults is incremented by one.

【0058】ステップ115は、検査系列生成方法の処
理の終了を示す。図3は、図1のステップ108におけ
る故障伝搬処理のより詳細なフローを示す図である。同
図は、従来技術で説明した図13の故障伝搬処理のフロ
ーに対して、ステップ1403〜1405のステップが
追加されている点のみ異なる。すなわち、k番目のタイ
ムフレームにおいて、Dフロンティアを選択するとき
に、禁止Dフロンティア集合に登録されているものは選
択しないようになっている。これにより、2回目以降の
故障伝搬処理のk番目のタイムフレームで、以前失敗し
たDフロンティア以外を選択することになる。
Step 115 shows the end of the processing of the test sequence generation method. FIG. 3 is a diagram showing a more detailed flow of the failure propagation processing in step 108 of FIG. The figure is different only in that steps 1403 to 1405 are added to the flow of the failure propagation processing of FIG. 13 described in the related art. That is, when selecting the D frontier in the k-th time frame, those registered in the prohibited D frontier set are not selected. As a result, in the k-th time frame of the failure propagation processing from the second time onward, a D-frontier other than the previously failed one is selected.

【0059】同図において、ステップ1402では、目
標故障を含む経路が活性化されているか否かを判断す
る。活性化されていれば、故障伝搬処理に成功したとし
てステップ1409へ進み、活性化されていなければス
テップ1403へ進む。ステップ1403では、処理対
象となるタイムフレームがk番目のタイムフレームであ
るかを判断し、k番目であれば、ステップ1404へ進
み、そうでなければ、ステップ1406に進む。ただ
し、本実施例ではk=1とする。
In the figure, in step 1402, it is judged whether or not the route including the target failure is activated. If it has been activated, it is determined that the failure propagation processing has succeeded, and the process proceeds to step 1409. If it has not been activated, the process proceeds to step 1403. In step 1403, it is determined whether or not the time frame to be processed is the k-th time frame. If it is the k-th time frame, the process proceeds to step 1404, and if not, the process proceeds to step 1406. However, in this embodiment, k = 1.

【0060】ステップ1404では、目標故障箇所、ま
たはFFの出力(つまり、組み合わせ回路部分の入力)
の中から1つDフロンティアとして選択する。その際、
禁止Dフロンティア集合を参照して、当該故障に対する
禁止Dフロンティアとして登録されていないものを選択
する。ステップ1405では、選択されたDフロンティ
アを一時的に記憶する。
At step 1404, the target failure point or the output of the FF (that is, the input of the combinational circuit portion).
Select one from among as D frontier. that time,
The forbidden D frontier set is referred to, and one not registered as the forbidden D frontier for the failure is selected. In step 1405, the selected D frontier is temporarily stored.

【0061】ステップ1406では、目標故障箇所、ま
たはFFの出力の中から1つDフロンティアを選択す
る。この選択方法は従来技術(図13のステップ603
の前半)と同様である。ステップ1407は、対象とな
るタイムフレームにおいて、選択されたDフロンティア
に故障信号を割り当て、任意の外部出力ピンまたは1つ
前に処理したタイムフレームで選択したDフロンティア
の入力(目標PPO)までのその故障信号を伝搬させる
(すなわち故障伝搬経路を活性化する)ために、外部入
力ピンとFFの出力に状態値を割り当て、故障伝搬に成
功したならばステップ1408へ進み、失敗したならば
故障伝搬処理に失敗したとしてステップ1409へ進
む。この経路活性化は、従来技術(図13のステップ6
02の後半)と同様である。
In step 1406, one D frontier is selected from the target failure location or the output of the FF. This selection method is a conventional technique (step 603 in FIG. 13).
The first half) is the same. Step 1407 assigns a fault signal to the selected D frontier in the time frame of interest, up to any external output pin or input of the selected D frontier (target PPO) in the previously processed time frame. In order to propagate the fault signal (that is, activate the fault propagation path), state values are assigned to the external input pin and the output of the FF. If the fault propagation is successful, the process proceeds to step 1408, and if it fails, the fault propagation process is performed. Since it has failed, the process proceeds to step 1409. This pathway activation is performed by the conventional technique (step 6 in FIG. 13).
The latter half of 02).

【0062】ステップ1408では、ステップ1407
で故障伝搬経路を活性化のために外部入力ピンに割り当
てた入力値を検査系列の一部として記憶し、Dフロンテ
ィアの入力を新たに目標PPOとし、ステップ1402
へ進む。ステップ1409では、故障伝搬処理の終了を
示す。以上のように構成された本発明の第1の実施例に
おける検査系列生成方法についてその動作を説明する。
この故障伝搬の動作例の説明図を図4に示す。
In step 1408, step 1407
In step 1402, the input value assigned to the external input pin for activation of the fault propagation path is stored as a part of the inspection sequence, and the input of D frontier is newly set as the target PPO.
Go to. In step 1409, the end of the failure propagation processing is shown. The operation of the test sequence generating method according to the first embodiment of the present invention configured as above will be described.
An explanatory diagram of an operation example of this fault propagation is shown in FIG.

【0063】図4において、従来技術の説明で用いた図
16と同じ番号を用いたものは、図16と同じである。
1001は目標故障713の禁止Dフロンティア集合で
ある。1002〜1004は、それぞれ2回目の伝搬処
理におけるタイムフレーム701、702、703の故
障伝搬経路である。まず、伝搬処理を失敗した場合にく
り返し行うべき最大回数を、本実施例では、5回と設定
し(図1のステップ102)、回数を制御する変数であ
るiを初期値0にする(ステップ103)。次に、変数
iが最大回数に達していないかを判断し、達していれば
ステップ112に進み、達していなければステップ10
5に進む(ステップ104)。
In FIG. 4, the same reference numerals as those in FIG. 16 used in the description of the prior art are the same as those in FIG.
Reference numeral 1001 denotes a prohibited D frontier set of the target failure 713. Reference numerals 1002 to 1004 denote failure propagation paths of the time frames 701, 702, and 703 in the second propagation processing, respectively. First, in the present embodiment, the maximum number of times to be repeated when the propagation process fails is set to 5 times (step 102 in FIG. 1), and the variable i for controlling the number is set to the initial value 0 (step). 103). Next, it is determined whether or not the variable i has reached the maximum number of times. If it has reached the maximum number, the process proceeds to step 112, and if not, the step 10
5 (step 104).

【0064】これに続くステップ105〜107は、従
来技術における図12のステップ402〜404と同様
であるので、説明を省略する。ステップ107にて検査
入力生成に成功すると、当該目標故障に対して検査系列
を生成するため、故障伝搬処理を行う(ステップ10
8)。一回目(i=0のとき)の故障伝搬処理におい
て、従来技術の項で図16を用いて説明したのと同様
に、目標故障713に対する故障伝搬処理を行うとす
る。この伝搬処理自体の動作は、従来技術とほぼ同様で
あるので、異なる点のみ説明する。すなわち、最初のタ
イムフレームにおいては(ステップ1403)、Dフロ
ンティアの選択に際して、禁止Dフロンティアとして登
録されているもの以外を選択する。ただし、一回目の故
障伝搬処理では禁止Dフロンティアとして何も登録され
ていないので、結果的には、従来技術と同様FF3がD
フロンティアとして選択されることになる(図3のステ
ップ1404)。さらに、選択されたDフロンティアを
一時的に記憶しておく(ステップ1405)。
Since the following steps 105 to 107 are the same as the steps 402 to 404 in FIG. 12 in the prior art, description thereof will be omitted. If the test input generation is successful in step 107, a fault propagation process is performed to generate a test sequence for the target fault (step 10).
8). In the first-time (when i = 0) failure propagation processing, it is assumed that the failure propagation processing for the target failure 713 is performed as described with reference to FIG. 16 in the section of the related art. Since the operation of the propagation process itself is almost the same as that of the conventional technique, only different points will be described. That is, in the first time frame (step 1403), when selecting the D frontier, the ones other than those registered as the prohibited D frontier are selected. However, since nothing is registered as the prohibited D frontier in the first failure propagation processing, as a result, FF3 is D
It will be selected as the frontier (step 1404 in FIG. 3). Further, the selected D frontier is temporarily stored (step 1405).

【0065】2番目、3番目のタイムフレームに進み、
従来技術と同様に3番目のタイムフレームにおいて、伝
搬経路の活性化に失敗したとする。さらに、故障伝搬処
理の成否が判断され(ステップ111)、故障伝搬処理
に失敗したときには、図3のステップ1405にて一時
的に記憶されたDフロンティア709を、目標故障71
3の禁止Dフロンティア集合1001に登録する(ステ
ップ112)。
Go to the second and third time frames,
It is assumed that the activation of the propagation path has failed in the third time frame as in the conventional technique. Furthermore, the success or failure of the failure propagation processing is judged (step 111), and when the failure propagation processing fails, the D frontier 709 temporarily stored in step 1405 of FIG.
It is registered in the prohibited D frontier set 1001 of No. 3 (step 112).

【0066】この後、故障表における未処理故障のそれ
ぞれについて上記の処理が実行され(ステップ105か
ら111または112までのくり返し)、その際、故障
伝搬処理に失敗した故障については、k番目(実施例で
はk=1)のタイムフレームにおけるDフロンティアが
その故障の禁止Dフロンティアとして登録される。各未
処理故障について、一通り検査系列生成処理を終える
と、未処理故障がないと判断され(ステップ105)、
故障表において「検出」欄が0であり、かつ「冗長故
障」が1でない故障の「処理」欄を0にする(ステップ
113)。これにより失敗した故障が再度選択されるよ
うになる。検査系列生成処理の繰り返し回数を示す変数
iを1つカウントアップし(ステップ114)、ステッ
プ105に進む。
After that, the above-mentioned processing is executed for each unprocessed failure in the failure table (repeat from step 105 to 111 or 112). At this time, the failure for which the failure propagation processing has failed is the k-th (implemented). In the example, the D frontier in the time frame of k = 1) is registered as the prohibited D frontier for the failure. When the inspection sequence generation processing is completed for each unprocessed failure, it is determined that there is no unprocessed failure (step 105),
In the failure table, the "detection" column is 0, and the "redundancy failure" is not 1, the "processing" column is set to 0 (step 113). This causes the failed fault to be selected again. The variable i indicating the number of repetitions of the test sequence generation process is incremented by 1 (step 114), and the process proceeds to step 105.

【0067】二回目(i=2のとき)の故障伝搬処理に
おいて、i=1のときに失敗した故障713は、目標故
障として再度選択され(ステップ106)、組み合わせ
回路の検査入力生成(ステップ107)の後次のように
故障伝搬処理が行われる。図4のタイムフレーム701
の処理において、最初のタイムフレームであるので(ス
テップ1403)、禁止Dフロンティア集合1001を
参照して、その要素FF3(709)をDフロンティア
として選択しないようにした結果、FF1(707)が
Dフロンティアとして発見的に選択され(ステップ14
04)、一時的に記憶され(ステップ1405)、外部
出力ピン704までの故障伝搬経路1002を活性化し
(ステップ1407)、FF1(707)を目標PPO
とする(ステップ1408)。
In the second failure propagation process (when i = 2), the failure 713 that failed when i = 1 is selected again as a target failure (step 106), and the test input generation of the combinational circuit (step 107). ), The fault propagation processing is performed as follows. Time frame 701 of FIG.
Since it is the first time frame in the processing of (1) (step 1403), the prohibited FF3 (709) is not selected as the D frontier by referring to the prohibited D frontier set 1001. As a result, FF1 (707) is the D frontier. Heuristically selected as (step 14
04), which is temporarily stored (step 1405), activates the fault propagation path 1002 to the external output pin 704 (step 1407), and sets FF1 (707) to the target PPO.
(Step 1408).

【0068】2番目のタイムフレーム702において、
DフロンティアとしてFF3(712)を選択し(ステ
ップ1403、1406)、故障の影響をFF3(71
2)から目標PPOであるFF1(707)に伝搬させ
るために、故障伝搬経路1003を活性化し(ステップ
1407)、FF3(712)を目標PPOとする(ス
テップ1408)。
In the second time frame 702,
FF3 (712) is selected as the D frontier (steps 1403 and 1406), and the influence of the failure is FF3 (71).
In order to propagate from 2) to FF1 (707) which is the target PPO, the fault propagation path 1003 is activated (step 1407) and FF3 (712) is set as the target PPO (step 1408).

【0069】3番目のタイムフレーム703において、
Dフロンティアとして故障箇所713を選択し(ステッ
プ1403、1406)、故障の影響を故障箇所713
から目標PPOであるFF3(712)に伝搬させるた
めに、故障伝搬経路1004を活性化する(ステップ1
407)。ここで目標故障が活性化されたので(ステッ
プ1402)、伝搬処理に成功した状態初期化処理に進
む。
In the third time frame 703,
The failure point 713 is selected as the D frontier (steps 1403 and 1406), and the influence of the failure is determined as the failure point 713.
Fault propagation path 1004 in order to propagate it from the target PPO to FF3 (712) (step 1
407). Since the target fault has been activated here (step 1402), the process proceeds to the state initialization process in which the propagation process has succeeded.

【0070】この以降の状態初期化処理は、従来技術で
説明したのと同様であるので省略する。以上のように、
本実施例によれば、ある目標故障の検査系列生成を行っ
た結果、故障伝搬処理に失敗した場合、k番目のタイム
フレーム(実施例では、k=1即ちその目標故障の影響
を外部出力ピンへ伝搬させるタイムフレーム)で選択し
たDフロンティアを禁止Dフロンティア集合に登録し、
また再度失敗した目標故障の検査系列生成を行うように
することによって、再びその目標故障の検査系列生成を
行なう時に、目標故障の影響を外部出力ピンへ伝搬させ
るタイムフレームで、その目標故障の禁止Dフロンティ
アに属する信号線をDフロンティアとして選択しないよ
うにし、故障伝搬経路を動的に変更することによって、
目標故障の検査系列生成が成功する確率が高くなるの
で、高い故障検出率を得ることのできる検査系列を生成
することができる。 (実施例2)図5は本発明の第2の実施例における順序
回路の検査系列生成方法の故障伝搬処理を示す図であ
る。検査系列生成方法の全体のフローは、従来技術の説
明で用いた図12とほぼ同じであるが、図12の故障伝
搬処理405の部分が図5のフローである点が異なる。
以下、故障伝搬処理の部分のみ説明する。
Since the subsequent state initialization processing is the same as that described in the prior art, the description thereof will be omitted. As mentioned above,
According to the present embodiment, when the fault propagation process fails as a result of the test sequence generation of a certain target fault, the k-th time frame (in the embodiment, k = 1, that is, the influence of the target fault is output to the external output pin). Register the D frontier selected in (Propagation time frame) to the prohibited D frontier set,
By generating the test sequence of the failed target fault again, when the test sequence of the target fault is generated again, the target fault is prohibited in the time frame for propagating the influence of the target fault to the external output pin. By not selecting a signal line belonging to the D frontier as the D frontier and dynamically changing the fault propagation path,
Since the probability of successful generation of the test sequence for the target fault is high, it is possible to generate a test sequence capable of obtaining a high fault coverage. (Embodiment 2) FIG. 5 is a diagram showing a fault propagation process of a test sequence generation method for a sequential circuit according to a second embodiment of the present invention. The overall flow of the test sequence generation method is almost the same as that of FIG. 12 used in the description of the conventional technique, except that the fault propagation processing 405 of FIG. 12 is the flow of FIG.
Hereinafter, only the fault propagation process will be described.

【0071】図5においてステップ301は本発明に係
る故障伝搬処理の開始を示す。ステップ302では、目
標故障が活性化されているか否かを判断し、目標故障が
活性化されていればステップ308へ進み、活性化され
ていなければステップ303へ進む。ステップ303で
はDフロンティアとして、目標故障またはフリップフロ
ップの出力の何れか一つを選択し、任意の外部出力ピン
または、1つ前のタイムフレームでDフロンティアとし
て選択したフリップフロップの入力(目標PPO)に故
障信号を伝搬させる検査入力を生成する。この処理に失
敗すれば、ステップ306へ進み、成功すればステップ
304へ進む。ただし、禁止組合せ集合に属するDフロ
ンティアと目標PPOの組合せを選択しない。
In FIG. 5, step 301 shows the start of the fault propagation processing according to the present invention. In step 302, it is determined whether or not the target fault is activated. If the target fault is activated, the process proceeds to step 308, and if it is not activated, the process proceeds to step 303. In step 303, one of the target failure and the output of the flip-flop is selected as the D frontier, and any external output pin or the input of the flip-flop selected as the D frontier in the immediately preceding time frame (target PPO). Generate a test input that propagates the fault signal to. If this process fails, the process proceeds to step 306, and if it succeeds, the process proceeds to step 304. However, the combination of the D frontier and the target PPO belonging to the prohibited combination set is not selected.

【0072】ステップ304では、目標PPOとDフロ
ンティアのペアを一時的に記憶する。ステップ305で
は、ステップ303で選択したDフロンティアがフリッ
プフロップならば、その入力を目標PPOとする。ステ
ップ306では、ステップ304で記憶したDフロンテ
ィアと目標PPOの組合せを禁止組合せ集合に追加す
る。禁止組み合わせ集合の例を図6に示す。同図におい
て、「信号線」は対象となっている故障箇所を、「故
障」は故障の種別を、「Dフロンティア」と「目標PP
O」の組みは、禁止される経路を示す。
At step 304, the pair of the target PPO and the D frontier is temporarily stored. In step 305, if the D frontier selected in step 303 is a flip-flop, its input is set as the target PPO. In step 306, the combination of the D frontier and the target PPO stored in step 304 is added to the prohibited combination set. An example of the prohibited combination set is shown in FIG. In the figure, "signal line" indicates the target failure location, "failure" indicates the failure type, "D frontier" and "target PP".
The set of "O" indicates a prohibited route.

【0073】ステップ307では、途中まで生成した検
査系列をすべてクリアし、ステップ302に進む。ステ
ップ308は、禁止組合せ集合をクリアし、故障伝搬処
理を終了する。以上のように構成された本発明の第3の
実施例における順序回路の検査系列生成方法の故障伝搬
処理の動作を説明する。
At step 307, all the inspection sequences generated halfway are cleared, and the routine proceeds to step 302. In step 308, the prohibited combination set is cleared, and the failure propagation processing ends. The operation of the fault propagation processing of the test sequence generation method of the sequential circuit according to the third embodiment of the present invention configured as above will be described.

【0074】図7は上記故障伝搬処理の動作を説明する
ために用いる図である。同図において従来技術の説明で
用いた図16の同じものは、同じ付号を用いている。1
201は図6に示した禁止組合せ集合である。1202
はタイムフレーム702の故障伝搬経路、1203はタ
イムフレーム703の故障伝搬経路である。目標故障7
13の検査系列生成において、従来技術の説明の項で図
16を用いて説明したように、タイムフレーム703の
故障伝搬に失敗したため、検査系列生成に失敗したもの
とする(図5のステップ303)。ここで図7に示すよ
うに、故障伝搬処理に失敗したときに、失敗したタイム
フレーム703の1つ前のタイムフレーム702のDフ
ロンティアであるFF2(711)の出力と、目標PP
OであるFF3(709)の入力との組合せを禁止組合
せ集合1201に登録する(ステップ306)。
FIG. 7 is a diagram used for explaining the operation of the fault propagation processing. 16 that are the same as those in FIG. 16 used in the description of the conventional technique have the same reference numerals. 1
201 is the prohibited combination set shown in FIG. 1202
Is a failure propagation path of the time frame 702, and 1203 is a failure propagation path of the time frame 703. Target failure 7
In the test sequence generation of No. 13, the test sequence generation is assumed to have failed because the failure propagation of the time frame 703 has failed as described with reference to FIG. 16 in the description of the prior art (step 303 of FIG. 5). . Here, as shown in FIG. 7, when failure propagation processing fails, the output of FF2 (711), which is the D frontier of the time frame 702 immediately before the failed time frame 703, and the target PP.
The combination with the input of FF3 (709) which is O is registered in the prohibited combination set 1201 (step 306).

【0075】次に目標故障713に対して生成した系列
を全てクリアして再度故障伝搬処理をするために最初の
タイムフレーム701に戻って(ステップ307)、タ
イムフレーム701でDフロンティア709を選択し、
目標故障b(713)の影響を外部出力ピンに伝搬する
ために、故障伝搬経路705を活性化し(ステップ30
2、303)、故障伝搬経路705を表す、Dフロンテ
ィア709と外部出力ピンPOとの組み合わせを一時的
に記憶し(ステップ304)、Dフロンティアの入力を
次の目標PPOとする(ステップ305)。
Next, to clear all the sequences generated for the target fault 713 and return to the first time frame 701 to perform fault propagation processing again (step 307), the D frontier 709 is selected in the time frame 701. ,
In order to propagate the influence of the target fault b (713) to the external output pin, the fault propagation path 705 is activated (step 30
2, 303), the combination of the D frontier 709 and the external output pin PO representing the failure propagation path 705 is temporarily stored (step 304), and the input of the D frontier is set as the next target PPO (step 305).

【0076】タイムフレーム702で、禁止組合せ集合
1201の要素(Dフロンティア711、目標PPO7
09)を参照して、いま目標PPOが709なので、F
F2(711)をDフロンティアとして選択しないよう
にした結果、FF1(710)がDフロンティアとして
選択され、目標PPOであるFF3(709)までの故
障伝搬経路1202を活性化する(ステップ302〜3
05)。
At time frame 702, the elements of the prohibited combination set 1201 (D frontier 711, target PPO 7
09), the target PPO is now 709, so F
As a result of not selecting F2 (711) as the D frontier, FF1 (710) is selected as the D frontier, and the fault propagation path 1202 up to FF3 (709) which is the target PPO is activated (steps 302 to 3).
05).

【0077】次にタイムフレーム703の処理を行な
い、Dフロンティアとして故障箇所713を選択し、故
障の影響を713から目標PPOであるFF1(71
0)に伝搬させるために、故障伝搬経路1203を活性
化する(ステップ302〜305)。ここで目標故障が
活性化されたので、故障伝搬処理に成功して、状態初期
化処理に進む(ステップ302)。
Next, the processing of the time frame 703 is performed, the failure location 713 is selected as the D frontier, and the effect of the failure is changed from 713 to the target PPO FF1 (71).
The fault propagation path 1203 is activated to propagate it to 0) (steps 302 to 305). Since the target fault is activated here, the fault propagation process succeeds and the process proceeds to the state initialization process (step 302).

【0078】なお、上記ステップ307では、それまで
生成してきた検査系列を全てクリアし、伝搬処理を最初
のタイムフレームから再度実行させるようにしている
が、これに限らず、失敗したタイムフレームの1つ前に
処理したタイムフレームの経路を禁止しているので、失
敗したタイムフレームの1つ前に処理したタイムフレー
ムの処理から再度実行するようにしてもよい。
In step 307, all the test sequences generated up to that point are cleared and the propagation process is executed again from the first time frame. However, the present invention is not limited to this. Since the path of the time frame processed immediately before is prohibited, the processing may be performed again from the processing of the time frame processed immediately before the failed time frame.

【0079】以上のように、本実施例によれば、ある目
標故障の検査系列生成を行った結果、故障伝搬処理に失
敗した場合、失敗したタイムフレームの1つ前のタイム
フレームのDフロンティアと目標PPOの組合せを禁止
組合せ集合に登録し、生成してきた系列の全部又は一部
をクリアし、また再度故障伝搬処理を行うようにするこ
とによって、あるタイムフレームの処理で、禁止組合せ
集合に属する組合せを選択しないようにし、故障伝搬経
路を動的に変更することによって、目標故障の検査系列
生成が成功する確率が高くなるので、高い故障検出率を
得ることのできる検査系列を生成することができる。 (実施例3)図8は本発明の第3の実施例における順序
回路の検査系列生成方法の状態初期化処理を示す図であ
る。検査系列生成方法の全体のフローは、従来技術で示
した図12とほぼ同じであるが、状態初期化処理の部分
のみが異なる。以下、状態初期化処理の部分のみを説明
する。
As described above, according to the present embodiment, when the failure propagation processing fails as a result of the test sequence generation of a certain target failure, the D frontier of the time frame immediately before the failed time frame is set. By registering the combination of the target PPOs into the prohibited combination set, clearing all or part of the generated sequence, and performing the fault propagation processing again, it belongs to the prohibited combination set in the processing of a certain time frame. By not selecting the combination and dynamically changing the fault propagation path, the probability of successful test sequence generation of the target fault increases, so it is possible to generate a test sequence that can obtain a high fault coverage. it can. (Third Embodiment) FIG. 8 is a diagram showing a state initialization process of a check sequence generating method for a sequential circuit according to a third embodiment of the present invention. The overall flow of the test sequence generation method is almost the same as that of FIG. 12 shown in the related art, but only the state initialization processing part is different. Only the state initialization process will be described below.

【0080】図8において、ステップ201は、本発明
に係る状態初期化処理の開始を示す。ステップ202で
は、回路の現在状態と初期状態が一致しているか否かを
判断し、現在状態と初期状態が一致していればステップ
208へ進み、一致していなければステップ203へ進
む。
In FIG. 8, step 201 shows the start of the state initialization process according to the present invention. In step 202, it is determined whether or not the current state and the initial state of the circuit match. If the current state and the initial state match, the process proceeds to step 208, and if they do not match, the process proceeds to step 203.

【0081】ステップ203では、ステップ206で登
録した禁止状態集合に属する状態にならないように、外
部入力ピンとフリップフロップに値を割り当てることに
より、現在状態の正当化を行なう。ステップ204で
は、状態遷移の履歴にステップ203で正当化した状態
を状態遷移の履歴に追加する。状態遷移の履歴は、例え
ば図9に示す履歴表のようになっている。同図に示すよ
うに、それぞれの状態は、状態を識別する状態名と、そ
の状態を構成する各FFの状態値とで表すことができ
る。
In step 203, the current state is justified by assigning values to the external input pin and the flip-flop so that the state does not belong to the prohibited state set registered in step 206. In step 204, the state justified in step 203 is added to the history of state transitions in the history of state transitions. The history of state transition is, for example, as shown in the history table shown in FIG. As shown in the figure, each state can be represented by a state name for identifying the state and a state value of each FF forming the state.

【0082】ステップ205では、状態遷移の履歴中に
ステップ203で正当化した状態が2つ存在するか否か
を判断し、2つ存在する場合はステップ206へ進み、
存在しない場合はステップ207へ進む。ステップ20
6では、状態遷移の履歴からステップ203で正当化し
た状態を削除し、その状態を禁止状態集合に登録する。
状態遷移の履歴中に2つの同じ状態が存在する場合は、
状態遷移のループを形成している場合だから、後で正当
化した状態を禁止状態とすることによって、状態初期化
処理がループに陥ることを避けることができる。
At step 205, it is judged whether or not there are two states justified at step 203 in the history of state transition. If there are two states, the routine proceeds to step 206,
If it does not exist, the process proceeds to step 207. Step 20
In step 6, the state justified in step 203 is deleted from the state transition history, and the state is registered in the prohibited state set.
If there are two same states in the history of state transitions,
Since the state transition loop is formed, the state initialization process can be prevented from falling into a loop by making the justified state a prohibited state later.

【0083】ステップ207では、ステップ203で正
当化した状態を新たに現在状態とする。ステップ208
では、禁止状態集合を削除する。ステップ209は、本
発明に係る状態初期化処理の終了を示す。以上のように
構成された本発明の第3の実施例における順序回路の検
査系列生成方法の状態初期化処理の動作を説明する。
In step 207, the state justified in step 203 is newly set as the current state. Step 208
Now, delete the prohibited state set. Step 209 indicates the end of the state initialization process according to the present invention. The operation of the state initialization process of the test sequence generation method for the sequential circuit according to the third embodiment of the present invention configured as above will be described.

【0084】図10は本発明の第2の実施例における順
序回路の検査系列生成の状態初期化処理の動作を説明す
るために用いる図である。同図において、図10(a)の
1101は図18で示した状態遷移を持つ被検査回路の
状態初期化処理中に、同一状態が2つ存在している時の
状態遷移の履歴を表す。図5(b)の1102は1101
から2つ存在している同一状態のうち、後で割り当てら
れたの状態を削除したときの状態遷移の履歴を表す。
FIG. 10 is a diagram used for explaining the operation of the state initialization process of the test sequence generation of the sequential circuit in the second embodiment of the present invention. In the figure, reference numeral 1101 in FIG. 10A represents a history of state transitions when two identical states exist during the state initialization process of the circuit under test having the state transitions shown in FIG. 1102 in FIG. 5B is 1101.
2 shows the history of state transitions when the state assigned later is deleted from the existing two states.

【0085】図5(c)の1103は図18で示した状態
遷移を持つ被検査回路の状態初期化処理が成功して終了
したときの状態遷移の履歴を表す。従来技術におけるの
状態初期化処理の動作を説明した図18において、初期
状態804から故障励起状態801まで遷移する系列を
次のようにして生成する。
Reference numeral 1103 in FIG. 5C represents a history of state transitions when the state initialization process of the circuit under test having the state transitions shown in FIG. 18 is completed successfully. In FIG. 18, which illustrates the operation of the state initialization process in the conventional technique, a sequence of transition from the initial state 804 to the fault excited state 801 is generated as follows.

【0086】まず故障励起状態801を状態遷移の履歴
に登録する(ステップ201)。次に故障励起状態80
1を正当化した結果、状態802を得て(ステップ20
3)、状態遷移の履歴に登録する(ステップ204)。
状態802は初期状態でなく、かつ状態遷移の履歴に同
一状態が2つ存在しないので(ステップ205)、正当
化した状態を現在状態とし(ステップ207)、状態8
02を正当化する(ステップ202、203)。同様
に、状態803、状態801を正当化し、状態遷移の履
歴に登録する。
First, the fault excited state 801 is registered in the history of state transition (step 201). Next, the fault excited state 80
As a result of justifying 1, the state 802 is obtained (step 20
3) Register in the history of state transition (step 204).
Since the state 802 is not the initial state and two identical states do not exist in the state transition history (step 205), the justified state is set as the current state (step 207), and the state 8
02 is justified (steps 202 and 203). Similarly, the states 803 and 801 are justified and registered in the state transition history.

【0087】この時の状態遷移の履歴1101中に状態
801が2つ存在しているので(ステップ205、図1
0(a))、状態遷移の履歴1101から状態801を
削除し、さらに状態801を禁止状態集合に登録する
(ステップ206、図10(b))。再び状態803を
禁止状態801にならないように正当化した結果(ステ
ップ203)、状態804を得て、状態遷移の履歴に登
録する(ステップ204、図5(c))。ここで、状態
遷移の履歴1103には同一状態が2つ存在しない(ス
テップ205)。また状態804は初期状態に等しいの
で(ステップ202)状態初期化に成功し、処理を終了
する。以上のように、本実施例によれば、ある目標故障
の検査系列生成の状態初期化処理を行う時に状態遷移の
履歴を記憶するようにし、状態遷移の履歴中に同一状態
が2つ以上存在した場合に、その状態を状態遷移の履歴
から削除し、禁止状態として登録して、再び禁止状態に
ならないように状態初期化処理を実行することにより、
状態初期化に成功する確率が上がり、検査系列生成に成
功することができるので、高い故障検出率を得ることの
できる検査系列を生成できる。
Since there are two states 801 in the state transition history 1101 at this time (step 205, FIG. 1).
0 (a)), the state 801 is deleted from the state transition history 1101, and the state 801 is registered in the prohibited state set (step 206, FIG. 10B). As a result of justifying the state 803 so as not to become the prohibited state 801 again (step 203), the state 804 is obtained and registered in the history of state transition (step 204, FIG. 5C). Here, two identical states do not exist in the state transition history 1103 (step 205). Further, since the state 804 is equal to the initial state (step 202), the state initialization is successful and the process ends. As described above, according to the present embodiment, the history of state transitions is stored when performing the state initialization process of generating a test sequence of a certain target fault, and two or more identical states exist in the history of state transitions. In that case, by deleting the state from the history of state transition, registering it as a prohibited state, and executing the state initialization process so that it will not become the prohibited state again,
Since the probability of successful state initialization increases and the test sequence generation can succeed, it is possible to generate a test sequence that can obtain a high fault coverage.

【0088】[0088]

【発明の効果】以上説明してきたように、本発明の検査
系列生成方法(装置)によれば、目標故障の故障伝搬処
理に失敗したとき、その目標故障の影響を伝搬させる経
路の少なくとも一部を禁止情報として記憶する。新た
に、その目標故障に対する禁止情報を経路として選択し
ないようにして、同じ目標故障に対する検査系列生成の
故障伝搬処理を行う。これにより、故障伝搬処理に成功
する確率、ひいては故障検出率を向上させるという効果
がある。
As described above, according to the test sequence generation method (apparatus) of the present invention, when the failure propagation processing of the target failure fails, at least a part of the route for propagating the influence of the target failure. Is stored as prohibition information. Newly, the prohibition information for the target fault is not selected as a route, and the fault propagation process of the test sequence generation for the same target fault is performed. This has the effect of improving the probability of successful failure propagation processing, and thus the failure detection rate.

【0089】また、状態初期化処理において、状態遷移
がループに陥ったかどうか(同じ状態が2つあるか)を
検出し、ループを形成の原因となった状態を禁止状態と
して、再度やり直す。これにより、状態初期化に成功す
る確率、ひいては故障検出率を向上させるという効果が
ある。
Further, in the state initialization processing, it is detected whether or not the state transition has fallen into a loop (whether there are two same states), and the state that caused the formation of the loop is set as the prohibited state and the processing is performed again. This has the effect of improving the probability of successful state initialization, and thus the failure detection rate.

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

【図1】本発明の第1の実施例における順序回路の検査
系列生成方法の流れ図である。
FIG. 1 is a flow chart of a test sequence generation method for a sequential circuit according to a first embodiment of the present invention.

【図2】本発明の第1の実施例における禁止Dフロンテ
ィア集合を示す表である。
FIG. 2 is a table showing a prohibited D frontier set in the first embodiment of the present invention.

【図3】本発明の第1の実施例における検査系列生成方
法の故障伝搬処理部分の流れ図である。
FIG. 3 is a flowchart of a fault propagation processing part of the test sequence generation method according to the first embodiment of the present invention.

【図4】本発明の第1の実施例における検査系列生成方
法の故障伝搬処理部分の動作説明図である。
FIG. 4 is an operation explanatory diagram of the fault propagation processing portion of the test sequence generation method in the first example of the present invention.

【図5】本発明の第2の実施例における順序回路の検査
系列生成方法の故障伝搬処理部分の流れ図である。
FIG. 5 is a flow chart of a fault propagation processing portion of a test sequence generation method for a sequential circuit according to a second embodiment of the present invention.

【図6】本発明の第2の実施例における禁止組み合わせ
集合を示す図である。
FIG. 6 is a diagram showing a prohibited combination set according to the second embodiment of the present invention.

【図7】本発明の第2の実施例における検査系列生成方
法の故障伝搬処理部分の動作説明図である。
FIG. 7 is an operation explanatory diagram of a fault propagation processing portion of the test sequence generation method according to the second embodiment of the present invention.

【図8】本発明の第3の実施例における順序回路の検査
系列生成方法の状態初期化部分の流れ図である。
FIG. 8 is a flowchart of a state initialization part of a check sequence generation method for a sequential circuit according to a third embodiment of the present invention.

【図9】本発明の第3の実施例における状態遷移の履歴
を示す図である。
FIG. 9 is a diagram showing a history of state transitions in the third example of the present invention.

【図10】本発明の第3の実施例における順序回路の検
査系列生成方法の状態初期化部分の動作説明図である。
FIG. 10 is an operation explanatory diagram of the state initialization part of the check sequence generation method for the sequential circuit in the third embodiment of the present invention.

【図11】被検査回路の一例における故障表。FIG. 11 is a failure table of an example of a circuit under test.

【図12】従来の順序回路の検査系列生成方法の流れ図
である。
FIG. 12 is a flowchart of a conventional test sequence generation method for a sequential circuit.

【図13】従来のRTP(Reverse Time Processing)法に
基づく順序回路の検査系列生成方法の故障伝搬部分の流
れ図である。
FIG. 13 is a flowchart of a fault propagation part of a conventional test sequence generation method for a sequential circuit based on the RTP (Reverse Time Processing) method.

【図14】従来の順序回路の検査系列生成方法の状態初
期化部分の流れ図である。
FIG. 14 is a flowchart of a state initialization part of a conventional test sequence generation method for a sequential circuit.

【図15】(a)順序回路における組み合わせ回路部分
とフリップフロップ部分の説明図 (b)(a)における簡単な回路例。
15A is an explanatory diagram of a combinational circuit portion and a flip-flop portion in a sequential circuit. FIG. 15B is a simple circuit example in FIG.

【図16】従来の順序回路の検査系列生成方法の故障伝
搬部分の動作説明図である。
FIG. 16 is an operation explanatory diagram of a fault propagation portion of a conventional sequential circuit check sequence generation method.

【図17】図15(b)の回路例における検査系列生成
例。
FIG. 17 is an example of test sequence generation in the circuit example of FIG.

【図18】状態初期化処理における状態遷移の一例の説
明図。
FIG. 18 is an explanatory diagram of an example of state transition in the state initialization process.

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

102 故障表における未「検出」故障に対して実行す
べき検査系列生成処理の最大回数を設定する処理。 103 検査系列生成処理の回数を0に初期化する処
理。 104 検査系列生成処理の回数が、最大回数を越えて
いないかどうかを判断する処理。 105 故障表において、未検出かつ未処理である故障
が存在するか否かを判断する処理。 106、107 未検出かつ未処理である故障郡の中か
ら目標故障を1つ選択し、検査系列生成の前段階とし
て、検出不能な故障かどうかを調べるため、組み合わせ
回路部分についてのみ検査入力を生成する処理。 108 選択された目標故障に対して、故障伝搬処理を
行う処理。 109、110 状態初期化処理、故障シミュレーショ
ンを行う処理。 111 ステップ107で処理した検査系列生成の故障
伝搬処理が成功しているか否かを判断する処理。 112 目標故障の影響を任意の外部出力ピンまで伝搬
するタイムフレームで選択されたDフロンティアをその
目標故障の禁止Dフロンティア集合に登録する処理。 113 故障表において冗長故障以外の未検出故障を未
処理故障とする処理。 114 未検出故障に対する検査系列生成処理の回数を
1つカウントアップする処理。 115 検査系列生成方法の処理の終了を示す処理。 1402 目標故障を含む経路が活性化されているか否
かを判断する処理。 1403 処理対象となるタイムフレームがk番目のタ
イムフレームであるかを判断する処理。 1404 禁止Dフロンティア以外で、目標故障箇所、
またはFFの出力(つまり、組み合わせ回路部分の入
力)の中から1つDフロンティアとして選択する処理。 1405 選択されたDフロンティアを一時的に記憶す
る処理。 1406 目標故障箇所、またはFFの出力の中から1
つDフロンティアを選択する処理。 1407 対象となるタイムフレームにおいて、故障伝
搬経路を活性化する処理。 1408 故障伝搬経路を活性化のために外部入力ピン
に割り当てた状態値を検査系列の一部として記憶し、D
フロンティアの入力を新たに目標PPOとする処理。 1409 故障伝搬処理の終了を示す処理。 203 禁止状態集合に属する状態にならないように、
外部入力ピンとフリップフロップに値を割り当てること
により、現在状態の正当化を行なう処理 204 状態遷移の履歴に現在状態を正当化した状態を
追加する処理 205 状態遷移の履歴中に現在状態を正当化した状態
が2つ存在するか否かを判断する処理 206 状態遷移の履歴中に同じ状態が2つ存在した時
に、その状態を削除し、禁止状態集合に登録する処理 208 禁止状態集合を削除する処理 302 目標故障が活性化されているか否かを判断する
処理。 303 Dフロンティアとして、目標故障またはフリッ
プフロップの出力の何れか一つを選択し、任意の外部出
力ピンまたは、1つ前のタイムフレームでDフロンティ
アとして選択したフリップフロップの入力(目標PP
O)に故障信号を伝搬させる検査入力を生成する処理。
ただし、禁止組合せ集合に属するDフロンティアと目標
PPOの組合せを選択しない処理。 304 目標PPOとDフロンティアのペアを一時的に
記憶する処理。 305 その出力側がDフロンティアであるフリップフ
ロップの入力側を目標PPOとする処理。 306 記憶したDフロンティアと目標PPOの組合せ
を禁止組合せ集合に追加する処理。 307 途中まで生成した検査系列をすべてクリアする
処理。 308 禁止組合せ集合をクリアし、故障伝搬処理を終
了する処理。
102 Process for setting the maximum number of test sequence generation processes to be executed for undetected failures in the failure table. 103 Process for initializing the number of test sequence generation processes to 0. 104 A process of determining whether or not the number of test sequence generation processes has exceeded the maximum number. 105 A process of determining whether or not there is an undetected and unprocessed fault in the fault table. 106, 107 A target fault is selected from a fault group that has not been detected and has not yet been processed, and a check input is generated only for the combinational circuit part in order to check whether it is an undetectable fault as a pre-stage of generating a check sequence. Processing. 108 A process of performing a fault propagation process for the selected target fault. 109, 110 State initialization processing, failure simulation processing. 111 Processing for determining whether or not the failure propagation processing of test sequence generation processed in step 107 is successful. 112 A process of registering the D frontier selected in the time frame for propagating the influence of the target failure to any external output pin, in the prohibited D frontier set of the target failure. 113 Processing of undetected failures other than redundant failures in the failure table as unprocessed failures. 114 A process of incrementing the number of inspection sequence generation processes for undetected faults by one. 115 Process indicating the end of the process of the test sequence generation method. 1402 Processing for determining whether or not a path including a target failure is activated. 1403 Processing for determining whether the time frame to be processed is the k-th time frame. 1404 Other than the prohibited D frontier, the target failure location,
Alternatively, a process of selecting one as a D frontier from the output of the FF (that is, the input of the combinational circuit portion). 1405 A process of temporarily storing the selected D frontier. 1406 1 out of target failure location or FF output
The process of selecting one D frontier. 1407 A process of activating a failure propagation path in a target time frame. 1408 stores the state value assigned to the external input pin for activation of the fault propagation path as a part of the inspection sequence, and D
A process of newly inputting the frontier as a target PPO. 1409 Processing indicating the end of the failure propagation processing. 203 Do not become a state that belongs to the prohibited state set
A process for justifying the current state by assigning values to external input pins and flip-flops 204 A process for adding a state justifying the current state to the history of state transitions 205 A current state justified in the history of state transitions Process 206 for determining whether or not there are two states 206 Process for deleting the same state and registering it in the prohibited state set when there are two same states in the history of state transitions 208 Process for deleting the prohibited state set 302 A process of determining whether or not the target failure is activated. 303 As the D frontier, either one of the target failure and the output of the flip-flop is selected, and any external output pin or the input of the flip-flop selected as the D frontier in the previous time frame (target PP
The process of generating a test input that propagates a fault signal to O).
However, the process of not selecting the combination of the D frontier and the target PPO belonging to the prohibited combination set. 304 A process of temporarily storing a pair of a target PPO and a D frontier. 305 Processing for setting the input side of the flip-flop whose output side is the D frontier as the target PPO. 306 A process of adding the stored combination of the D frontier and the target PPO to the prohibited combination set. 307 A process of clearing all the inspection sequences generated halfway. 308 A process of clearing the prohibited combination set and ending the failure propagation process.

Claims (19)

【特許請求の範囲】[Claims] 【請求項1】 被検査回路である順序回路をタイムフレ
ームに展開して、順序回路中の仮定された縮退故障につ
いて、タイムフレーム毎に当該故障の故障信号の伝搬経
路の活性化を試みる故障伝搬処理を行い、当該故障を検
査する系列を生成する検査系列生成方法であって、 1つのタイムフレームにおいて故障信号が伝わるべき経
路を選択し、その経路が活性化するよう当該タイムフレ
ームでの入力値を割り当て、 この処理を最終的な故障の伝搬先である出力ピンから故
障箇所に至るまでタイムフレームを遡って行う故障伝搬
処理ステップと、 いずれかのタイムフレームにおいて、活性化の失敗を検
出した場合、最初のタイムフレームから当該失敗したタ
イムフレームまでの各経路のうち少なくとも一部の経路
を禁止情報とする割当失敗検出ステップと、 活性化に失敗した場合に、禁止情報とされた経路を選択
しないように、新たに、故障伝搬処理ステップを実行す
る再故障伝搬処理ステップとからなることを特徴とする
検査系列生成方法。
1. A fault propagation method in which a sequential circuit, which is a circuit to be tested, is developed in a time frame, and an assumed stuck-at fault in the sequential circuit is attempted to activate a propagation path of a fault signal of the fault for each time frame. An inspection sequence generation method for performing processing to generate a sequence for inspecting the fault, wherein a route through which a fault signal should be transmitted is selected in one time frame, and an input value in the time frame is activated so that the route is activated. And a failure propagation processing step in which this processing is performed by tracing back the time frame from the output pin that is the final failure propagation destination to the failure location, and when activation failure is detected in any of the time frames. , Allocation failure detection with prohibition information of at least some of the routes from the first time frame to the failed time frame And a re-fault propagation processing step for newly executing a failure propagation processing step so as not to select a path that is prohibited information when activation fails, and a new test sequence generation method. .
【請求項2】 前記禁止情報情報は、所定のタイムフレ
ームにおいて選択された、1つ前の時刻のタイムフレー
ムからの故障伝搬先となるべき信号線を表すDフロンテ
ィアであることを特徴とする請求項1記載の検査系列生
成方法。
2. The prohibition information information is a D frontier that represents a signal line selected as a fault propagation destination from a time frame of a time immediately before, which is selected in a predetermined time frame. Item 1. The inspection sequence generation method according to Item 1.
【請求項3】 前記所定のタイムフレームは、最初に故
障伝搬経路を活性化するタイムフレームであることを特
徴とする請求項2記載の検査系列生成方法。
3. The test sequence generation method according to claim 2, wherein the predetermined time frame is a time frame which first activates a failure propagation path.
【請求項4】 前記禁止情報は、所定のタイムフレーム
における伝搬経路を表す、Dフロンティアと目標PPO
との組であることを特徴とする請求項1記載の検査系列
生成方法。
4. The prohibition information is a D frontier and a target PPO indicating a propagation path in a predetermined time frame.
2. The test sequence generation method according to claim 1, wherein
【請求項5】 前記禁止情報は、故障伝搬に失敗したタ
イムフレームの1つ前に処理したタイムフレームにおけ
る伝搬経路を表す、Dフロンティアと目標PPOとの組
であることを特徴とする請求項1記載の検査系列生成方
法。
5. The prohibition information is a set of a D frontier and a target PPO, which represents a propagation path in a time frame processed immediately before a time frame in which failure propagation has failed. The inspection sequence generation method described.
【請求項6】 被検査回路である順序回路をタイムフレ
ームに展開して、順序回路中の仮定された縮退故障につ
いて、タイムフレーム毎に当該故障の故障信号の伝搬経
路の活性化を試みる故障伝搬処理を行い、当該故障を検
査する系列を生成する検査系列生成方法であって、 目標故障の全部に一通り故障伝搬処理が行われた回数を
カウントする第1のステップと、 前記カウント値が、所定の回数を越えているか否かを判
断し、越えている場合は検査系列生成を終了する第2の
ステップとからなり、 前記第1のステップは、 故障伝搬処理が未処理か未処理と擬制された故障で、か
つ、検査系列が未生成の目標故障のなかから1つを選択
する第1のサブステップと、 選択された目標故障に関して、目標故障を外部出力ピン
に伝搬させるタイムフレームにおいて、活性化すべき経
路の入力側を示すDフロンティアが禁止Dフロンティア
として登録されている場合にはその禁止Dフロンティア
以外から、Dフロンティアを選択して故障伝搬処理を行
う第2のサブステップと、 第2のサブステップで故障伝搬処理が成功したか失敗し
たかを判断する第3のサブステップと、 失敗と判断された場合に、前記目標故障の影響を外部出
力ピンに伝搬させるタイムフレームで選択されたDフロ
ンティアを前記目標故障の禁止Dフロンティアとして登
録する第4のサブステップと、 第1から第4のサブステップが全ての目標故障について
実行されたとき、故障伝搬処理に失敗した故障を、故障
伝搬処理が未処理として擬制し、前記カウント値をカウ
ントする第5のサブステップとからなることを特徴とす
る検査系列生成方法。
6. A fault propagation method in which a sequential circuit, which is a circuit to be inspected, is developed in a time frame, and an assumed stuck-at fault in the sequential circuit attempts activation of a propagation path of a fault signal of the fault for each time frame. A test sequence generation method for performing a process to generate a sequence for inspecting the fault, the first step of counting the number of times the fault propagation process is performed through all target faults, and the count value is It comprises a second step of judging whether or not a predetermined number of times is exceeded, and ending the test sequence generation if the number of times is exceeded, wherein the first step is to assume that the fault propagation processing is unprocessed or unprocessed. A selected sub-step of selecting one of the selected faults for which a test sequence has not been generated, and a time step for propagating the target fault to an external output pin for the selected target fault. In the system, if the D frontier indicating the input side of the route to be activated is registered as the prohibited D frontier, the second substep of selecting the D frontier from other than the prohibited D frontier and performing the failure propagation processing And a third sub-step of judging whether the failure propagation processing succeeded or failed in the second sub-step, and a time frame for propagating the influence of the target failure to the external output pin when it is judged as failure. A fourth substep of registering the D frontier selected in step 1 as a prohibited D frontier for the target failure, and a failure for which failure propagation processing fails when the first to fourth substeps are executed for all the target failures. And a fifth sub-step of counting the count value by assuming that the failure propagation processing is unprocessed. Test sequence generation how to.
【請求項7】 被検査回路である順序回路をタイムフレ
ームに展開して、順序回路中の仮定された縮退故障につ
いて、タイムフレーム毎に当該故障の故障信号の伝搬経
路を活性化を試みる故障伝搬処理を行い、当該故障を検
査する系列を生成する検査系列生成方法であって、 ある目標故障に対して1つのタイムフレームに対して故
障伝搬処理を行う第1のステップと、 第1のステップの処理対象となっているタイムフレーム
の1つ前のタイムフレームで選択された伝搬経路を、経
路の出口側を示す信号線(以後目標PPO)と入口側を
示すDフロンティアとのペアとして記憶する第2のステ
ップと、 第1のステップでの故障伝搬処理が成功したか否かを判
断し、成功した場合は、次のタイムフレームについて第
1のステップを実行させ、失敗した場合は、第2のステ
ップで記憶した目標PPOとDフロンティアとの組合せ
を禁止経路として登録する第3のステップと、 第1のステップでの故障伝搬処理に失敗したときに、既
に生成された検査系列のうち、失敗したタイムフレーム
から少なくとも1つ前のタイムフレーム以降に生成した
部分をクリアする第4のステップと、 前記禁止経路として登録されたDフロンティアと目標P
POの組合せを選択しないように、クリアされた部分の
対応するタイムフレームから第1のステップを実行させ
る第5のステップとからなることを特徴とする検査系列
生成方法。
7. A fault propagation in which a sequential circuit which is a circuit under test is developed in a time frame and an assumed stuck-at fault in the sequential circuit is attempted to activate a propagation path of a fault signal of the fault for each time frame. A test sequence generation method for performing a process to generate a sequence for inspecting the fault, comprising: a first step of performing a fault propagation process for one target time frame for a certain target fault; The propagation path selected in the time frame immediately before the time frame to be processed is stored as a pair of a signal line (hereinafter, target PPO) indicating the exit side of the path and a D frontier indicating the entrance side. 2) and whether or not the failure propagation processing in the first step is successful, and if successful, execute the first step for the next time frame and fail. In this case, when the failure propagation processing in the third step of registering the combination of the target PPO and the D frontier stored in the second step as the forbidden path and the first step fails, it is already generated. A fourth step of clearing a portion of the inspection sequence generated at least one time frame before the failed time frame, a D frontier registered as the prohibited route, and a target P.
And a fifth step of executing the first step from the corresponding time frame of the cleared portion so as not to select the combination of POs.
【請求項8】 被検査回路である順序回路において、初
期状態からある縮退故障に対する故障伝搬処理の終了時
の状態まで状態を遷移させるため、順序回路の入力ピン
に時系列的に与えるべき入力信号を求める状態初期化処
理を行い、当該故障を検査する系列を生成する検査系列
を検査系列生成方法であって、 順序回路において、その時の状態を正当化するように順
序回路の記憶素子の状態と外部入力ピンに与える入力信
号とを割り当て、 その処理を故障伝搬処理が終わったときにおける順序回
路の状態から順序回路の初期状態を得るべく実行する正
当化ステップと、 前記ステップにおいて割り当てた順序回路の状態が、故
障伝搬処理終了時の状態、または既に一度割り当てられ
た状態と一致しているかどうかを判定する一致検出ステ
ップと、 一致していると判定された場合に、一致した状態と外部
入力ピンに与える入力信号との割り当てを取りやめて、
その状態を避けて新たに正当化ステップを実行する割り
当て制御ステップとからなることを特徴とする検査系列
生成方法。
8. An input signal to be applied to an input pin of a sequential circuit in time series in order to make a transition from an initial state to a state at the end of fault propagation processing for a certain stuck-at fault in a sequential circuit which is a circuit under test. Is a method for generating a test sequence for generating a sequence for inspecting the fault by performing a state initialization process to obtain a state of a memory element of the sequential circuit so as to justify the state at that time. An input signal to be given to an external input pin is assigned, and a justification step for executing the processing to obtain the initial state of the sequential circuit from the state of the sequential circuit when the fault propagation processing is finished; A match detection step of determining whether the state matches the state at the end of the fault propagation processing or the state already assigned once. , If it is determined that they match, cancel the assignment of the matched state and the input signal given to the external input pin,
A test sequence generation method, comprising: an allocation control step for avoiding the state and newly executing a justification step.
【請求項9】 前記割当制御ステップは、故障伝搬処理
が終了した時点の状態から新たに正当化ステップを実行
することを特徴とする請求項8記載の検査系列生成方
法。
9. The test sequence generation method according to claim 8, wherein the allocation control step newly executes the justification step from a state at the time when the failure propagation processing ends.
【請求項10】 前記割当制御ステップは、一致した状
態の1つ前の状態から新たに正当化ステップを実行する
ことを特徴とする請求項8記載の検査系列生成方法。
10. The method for generating a test sequence according to claim 8, wherein the allocation control step newly executes the justification step from a state immediately before the coincident state.
【請求項11】 被検査回路である順序回路において、
初期状態からある縮退故障に対する故障伝搬処理の終了
時の状態まで状態を遷移させるため、順序回路の入力ピ
ンに時系列的に与えるべき入力信号を求める状態初期化
処理を行い、当該故障を検査する系列を生成する検査系
列を検査系列生成方法であって、 現在の状態が初期状態と一致しているか否かを判定し、
一致していれば終了する第1のステップと、 一致していない場合に、現在の状態を正当化する状態値
と外部入力ピンに与える入力信号とを割り当てる第2の
ステップと、 正当化した状態を状態遷移の履歴として記憶する第3の
ステップと、 第3のステップで新たに記憶した状態が既に状態遷移の
履歴中に存在するか否かを判断する第4のステップと、 第4のステップで存在すると判断された場合、その状態
を禁止情報として登録し、状態遷移の履歴から削除して
第2のステップに戻る第5のステップと、 第4のステップで存在しないと判断された場合、正当化
した状態を現在状態として、第1の状態に戻る第6のス
テップとからなることを特徴とする検査系列生成方法。
11. A sequential circuit which is a circuit under test,
In order to transition the state from the initial state to the state at the end of the fault propagation process for a certain stuck-at fault, the state initialization process is performed to find the input signal to be applied to the input pins of the sequential circuit in time series, and the fault is inspected. The test sequence generating method is a test sequence generation method, and it is determined whether or not the current state matches the initial state,
The first step that ends if they match, the second step that, if they do not match, assigns the state value that justifies the current state and the input signal that is given to the external input pin, and the justified state Is stored as a history of state transitions, a fourth step of determining whether or not the state newly stored in the third step already exists in the history of state transitions, and a fourth step When it is determined that the state does not exist, the state is registered as prohibition information, the state transition history is deleted and the process returns to the second step, and the fourth step determines that the state does not exist. And a sixth step of returning to the first state with the justified state as the current state.
【請求項12】 被検査回路である順序回路をタイムフ
レームに展開して、順序回路中の仮定された縮退故障に
ついて、タイムフレーム毎に当該故障の故障信号の伝搬
経路を活性化を試みる故障伝搬処理を行い、当該故障を
検査する系列を生成する検査系列生成装置であって、 1つのタイムフレームにおいて故障信号が伝わるべき経
路を選択し、その経路が活性化するよう当該タイムフレ
ームでの入力値を割り当て、 この処理を最終的な故障の伝搬先である出力ピンから故
障箇所に至るまでタイムフレームを遡って行う故障伝搬
処理手段と、 いずれかのタイムフレームにおいて、活性化の失敗を検
出した場合、最初のタイムフレームから当該失敗したタ
イムフレームまでの各経路のうち少なくとも一部の経路
を禁止情報とする失敗検出手段と、 前記禁止情報を当該故障と対応させて記憶する禁止情報
記憶手段と、 活性化に失敗した場合に、禁止情報とされた経路を選択
することを禁止して、新たに当該故障に対して故障伝搬
処理手段を起動する禁止手段とを備えたことを特徴とす
る検査系列生成装置。
12. A fault propagation method in which a sequential circuit, which is a circuit to be inspected, is developed in a time frame, and for an assumed stuck-at fault in the sequential circuit, an attempt is made to activate a propagation path of a fault signal of the fault for each time frame. An inspection sequence generation device that performs processing and generates a sequence for inspecting the fault, selecting a route through which a fault signal should be transmitted in one time frame, and inputting value in the time frame so that the route is activated. And the failure propagation processing means that performs this processing by tracing back the time frame from the output pin which is the final destination of the failure propagation to the failure location, and when the activation failure is detected in any of the time frames. , Failure detection means that uses at least some of the routes from the first time frame to the failed time frame as prohibition information, , A prohibition information storage unit that stores the prohibition information in association with the failure, and prohibits the selection of the path designated as the prohibition information when activation fails, and newly fails the failure. A test sequence generation apparatus comprising: a prohibition unit that activates a propagation processing unit.
【請求項13】 前記禁止情報情報は、所定のタイムフ
レームにおいて選択された、隣のタイムフレームからの
故障伝搬先となるべき信号線を表すDフロンティアであ
ることを特徴とする請求項12記載の検査系列生成装
置。
13. The prohibition information information is a D frontier that represents a signal line selected in a predetermined time frame and to be a fault propagation destination from an adjacent time frame. Inspection sequence generator.
【請求項14】 前記所定のタイムフレームは、最初の
タイムフレームであることを特徴とする請求項13記載
の検査系列生成装置。
14. The test sequence generation device according to claim 13, wherein the predetermined time frame is a first time frame.
【請求項15】 前記禁止情報は、所定のタイムフレー
ムにおける伝搬経路を表すDフロンティアと目標PPO
との組であることを特徴とする請求項12記載の検査系
列生成装置。
15. The prohibition information is a D frontier indicating a propagation path in a predetermined time frame and a target PPO.
13. The test sequence generation device according to claim 12, which is a set of
【請求項16】 前記禁止情報は、故障伝搬に失敗した
タイムフレームの1つ前に処理したタイムフレームにお
ける伝搬経路を表すDフロンティアと目標PPOとの組
であることを特徴とする請求項12記載の検査系列生成
装置。
16. The method according to claim 12, wherein the prohibition information is a set of a D frontier and a target PPO which represent a propagation path in a time frame processed one time before a time frame in which failure propagation has failed. Inspection sequence generator.
【請求項17】 被検査回路である順序回路において、
初期状態からある縮退故障に対する故障伝搬処理の終了
時の状態まで状態を遷移させるため、順序回路の入力ピ
ンに時系列的に与えるべき入力信号を求める状態初期化
処理を行い、当該故障を検査する系列を生成する検査系
列を検査系列生成装置であって、 順序回路において、その時の状態を正当化するように順
序回路の記憶素子の状態と外部入力ピンに与える入力信
号とを割り当て、 その処理を故障伝搬処理が終わったときにおける順序回
路の状態から順序回路の初期状態を得るべく実行する正
当化手段と、 前記手段において割り当てた順序回路の状態が、故障伝
搬処理終了時の状態、または既に一度割り当てられた状
態と一致しているかどうかを判定する一致検出手段と、 一致していると判定された場合に、一致した状態と外部
入力ピンに与える入力信号との割り当てを取りやめて、
その状態を避けて新たに正当化手段を実行する割り当て
制御手段とを備えたことを特徴とする検査系列生成装
置。
17. A sequential circuit which is a circuit under test,
In order to transition the state from the initial state to the state at the end of the fault propagation process for a certain stuck-at fault, the state initialization process is performed to find the input signal to be applied to the input pins of the sequential circuit in time series, and the fault is checked. A test sequence generating device generates a test sequence, and in a sequential circuit, allocates a state of a memory element of the sequential circuit and an input signal given to an external input pin so as to justify the state at that time, and performs the processing. The justification means for executing the initial state of the sequential circuit from the state of the sequential circuit when the fault propagation processing is finished, and the state of the sequential circuit assigned by the means are the state at the end of the fault propagation processing, or already once. A match detection means for determining whether or not it matches the assigned state, and a match state and an external input pin when it is determined to match. Cancel the assignment of the input signal to the
A test sequence generation device comprising: an allocation control unit that newly executes a justification unit while avoiding the state.
【請求項18】 前記割当制御手段は、故障伝搬処理が
終了した時点の状態から新たに正当化手段を実行するこ
とを特徴とする請求項17記載の検査系列生成装置。
18. The test sequence generation device according to claim 17, wherein the allocation control means newly executes the justification means from a state at the time when the failure propagation processing is completed.
【請求項19】 前記割当制御手段は、一致した状態の
1つ前の状態から新たに正当化手段を実行することを特
徴とする請求項17記載の検査系列生成装置。
19. The test sequence generation device according to claim 17, wherein the allocation control means newly executes the justification means from a state immediately before the matched state.
JP5068585A 1992-03-27 1993-03-26 Test sequence generation method and test sequence generation device Expired - Fee Related JP2785901B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5068585A JP2785901B2 (en) 1992-03-27 1993-03-26 Test sequence generation method and test sequence generation device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP4-70757 1992-03-27
JP7075792 1992-03-27
JP5068585A JP2785901B2 (en) 1992-03-27 1993-03-26 Test sequence generation method and test sequence generation device

Publications (2)

Publication Number Publication Date
JPH0611543A true JPH0611543A (en) 1994-01-21
JP2785901B2 JP2785901B2 (en) 1998-08-13

Family

ID=26409793

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5068585A Expired - Fee Related JP2785901B2 (en) 1992-03-27 1993-03-26 Test sequence generation method and test sequence generation device

Country Status (1)

Country Link
JP (1) JP2785901B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6562457B1 (en) 2001-10-31 2003-05-13 E. I. Du Pont De Nemours And Company Polyether ester elastomer comprising polytrimethylene ether ester soft segment and tetramethylene ester hard segment
US6599625B2 (en) 2001-10-31 2003-07-29 E. I. Du Pont De Nemours And Company Polyether ester elastomer comprising polytrimethylene ether ester soft segment and trimethylene ester hard segment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6941497B2 (en) * 2002-01-15 2005-09-06 Agilent Technologies, Inc. N-squared algorithm for optimizing correlated events

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6562457B1 (en) 2001-10-31 2003-05-13 E. I. Du Pont De Nemours And Company Polyether ester elastomer comprising polytrimethylene ether ester soft segment and tetramethylene ester hard segment
US6599625B2 (en) 2001-10-31 2003-07-29 E. I. Du Pont De Nemours And Company Polyether ester elastomer comprising polytrimethylene ether ester soft segment and trimethylene ester hard segment

Also Published As

Publication number Publication date
JP2785901B2 (en) 1998-08-13

Similar Documents

Publication Publication Date Title
Fujiwara et al. On the acceleration of test generation algorithms
US3961250A (en) Logic network test system with simulator oriented fault test generator
US5377197A (en) Method for automatically generating test vectors for digital integrated circuits
US5640403A (en) Fault diagnosis method for a sequential circuit
US5390193A (en) Test pattern generation
EP1109162A2 (en) Optical head and optical information recording/reproducing device
JP2953975B2 (en) Test pattern generation device and test pattern generation method
CN114398848A (en) Test vector generation method and device and storage medium
US5410552A (en) Method and apparatus for generating test sequence
US5365528A (en) Method for testing delay faults in non-scan sequential circuits
JPH1062494A (en) Estimation of trouble place of sequence circuit
Min et al. Search strategy switching: An alternative to increased backtracking
JPH0611543A (en) Method and device for generating inspection sequence
JP2000250946A (en) Method and device for test facilitating design of lsi circuit and computer-readable recording medium where test facilitating design processing program is recorded
JPH0587885A (en) Generation of inspection series
JPH01156680A (en) Fault diagnosing method for logic circuit
JPH0894714A (en) Method for estimating failed part of lsi
US7395468B2 (en) Methods for debugging scan testing failures of integrated circuits
JP3253775B2 (en) Test sequence generation method
Aboulhamid et al. On the generation of test patterns for multiple faults
EP0139516B1 (en) Test generation system for digital circuits
JP2658857B2 (en) Equivalent fault extraction method and device
JPH0815388A (en) Method and apparatus for generating inspection series
JPH0926981A (en) Fault simulating method for circuit and device therefor
JPH0259967A (en) Method for designing test facilitating circuit

Legal Events

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