JPH01240939A - Fault simulation system - Google Patents

Fault simulation system

Info

Publication number
JPH01240939A
JPH01240939A JP63068648A JP6864888A JPH01240939A JP H01240939 A JPH01240939 A JP H01240939A JP 63068648 A JP63068648 A JP 63068648A JP 6864888 A JP6864888 A JP 6864888A JP H01240939 A JPH01240939 A JP H01240939A
Authority
JP
Japan
Prior art keywords
fault
flag
input
output
logic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63068648A
Other languages
Japanese (ja)
Inventor
Yoshihiro Kitamura
北村 美宏
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP63068648A priority Critical patent/JPH01240939A/en
Publication of JPH01240939A publication Critical patent/JPH01240939A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To process fault simulation at high speed by setting fault information flags on the input/output pins of all logic gates in a logic circuit, and finding a faulty part on a path through which a fault is propagated to the output pin of the logic circuit. CONSTITUTION:A fault detecting part decision processing 16 is performed in such a way that a fault propagation type set on each logic in a fault input processing 17 and the fault information flag set on the output pin of the logic circuit by a fault information propagation rule in a fault information propagation rule file 15 are propagated from an output side to an input side and converted. And the fault information flags are set on the input/output pins of all of the logic gates in the logic circuit, and the processing to find the fault detecting part on the path through which the fault is propagated to the output pin of the logic circuit is performed. The processing to find the fault detecting part on the path through which the fault is propagated to the output pin of the logic circuit is performed only in such a way that the fault information flag is decided advancing from the output pin to the input pin according to the fault information propagation rule. In such a way, a processing procedure required for the judgement of fault detection can be simplified, and the parts where all of the faults are detected for given input patterns can be found at high speed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、故障シミュレーション方式に関し、特に、論
理回路を検査するための入力信号系列の入カバターンを
生成し、生成した入カバターンにより論理回路中のどの
ような故障を検査することができるかを評価し、また、
論理回路の故障時の動作解析を行うための故障シミュレ
ーション方式%式% 〔従来の技術〕 従来、論理回路の故障シミュレーションに関しては、対
象とする論理回路に単一縮退故障を仮定し、考えられる
全ての故障に対応して、故障の数の回数の故障シミュレ
ーションと正常論理回路シミュレーションを効率よく処
理するためのいくつかの手法が提案されている。例えば
、このような故障シミュレーションの手法として、パラ
レル法、コンカレント法、ディダクティブ法などがある
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a fault simulation method, and in particular, generates an input cover pattern of an input signal sequence for testing a logic circuit, and uses the generated input cover pattern to simulate a fault simulation method in a logic circuit. Evaluate what kind of failures can be inspected, and
Fault simulation method% formula% for analyzing the behavior of logic circuits when they fail [Prior technology] Traditionally, when simulating faults in logic circuits, a single stuck-at fault is assumed in the target logic circuit, and all possible Several methods have been proposed to efficiently process fault simulations and normal logic circuit simulations as many times as the number of faults. For example, such failure simulation methods include a parallel method, a concurrent method, and a destructive method.

しかしながら、上記のいずれの手法を用いても、対象と
する論理回路の論理ゲート数が数千ゲートを越える場合
には、シミュレーションの処理時間は飛躍的に増大し、
実用にならない。
However, no matter which method is used, if the number of logic gates in the target logic circuit exceeds several thousand gates, the simulation processing time will increase dramatically.
It's not practical.

これに対しては、故障が検出される場所を一回の探索で
ダイレクトに求めるようにしたクリティカル・パス・ト
レース法と呼ばれるシミュレーションの手法がある。こ
の手法は、故障を予め仮定せず、そのかわり、正常論理
回路シミュレーション結果の情報から、各論理ゲートの
出力ピンに故障が伝搬される場合は、当該論理ゲートの
入力ピンにどのような故障が伝搬された場合であるかの
情報を予め求めておき、この情報を用いて、故障が出力
ピンまで伝搬される経路を、論理回路の出力側から入力
側へ逆に探索して、故障が検出される場所を一回の探索
でダイレクトに求めるようにした手法である。(M、 
Abramoviei et al、、 ”Cr1−t
ical  Path  Tracing  :  A
n  Alternative  to  Fault
Simulation”、  IEEE Design
 and Te5t of Compu−ters、V
ol、1.No、1.Feb、1984.pp83〜9
3.)  。
To deal with this, there is a simulation method called the critical path tracing method, which directly finds the location where a fault is detected in a single search. This method does not assume failures in advance, but instead uses information from normal logic circuit simulation results to determine what kind of failures will occur at the input pins of each logic gate when the failures are propagated to the output pins of the logic gates. Information on whether the fault has been propagated is obtained in advance, and this information is used to search the path by which the fault is propagated to the output pin, from the output side of the logic circuit to the input side, and the fault is detected. This is a method that directly determines the location where the search will occur in a single search. (M,
Abramoviei et al., “Cr1-t
ical Path Tracing: A
n Alternative to Fault
"Simulation", IEEE Design
and Te5t of Computers, V
ol, 1. No, 1. Feb. 1984. pp83-9
3. ).

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

ところで、クリティカル・パス・トレース法では、設定
した故障が最終的に出力ピンに到達しない場合のシミュ
レーションのかかわる処理を行わないため、上記の他の
手法よりは効率的なシミュレーション処理が行え、高速
に処理を行うことができるような手法となっている。し
かし、その半面、クリティカル・パス・トレース法は、
各論理ゲートにおいて故障が出力に伝搬される故障入力
が単一である場合のみを仮定して、故障が出力さ −れ
るまで伝搬する経路を決定する処理を行っている。すな
わち、各論理ゲートにおいて複数の故障入力は仮定しな
いで、故障が出力されるまで伝搬する経路を決定してい
る。そのため、例えば、第7図に示すように、論理回路
において信号が複数に分かれる回路部分(この回路部分
をファンアウトブランチと呼ぶ)70における故障検出
の有無の判断は、検出不可能の場合があり、また、検出
の判断に要する処理の手順が長いという問題点があった
By the way, the critical path tracing method does not perform processing related to simulation in the case that the set fault does not ultimately reach the output pin, so simulation processing is more efficient and faster than the other methods mentioned above. The method is such that it can be processed. However, on the other hand, the critical path tracing method
Assuming only the case where there is a single fault input through which a fault is propagated to the output in each logic gate, processing is performed to determine the path through which the fault propagates until it is output. That is, multiple fault inputs are not assumed in each logic gate, and the path through which the fault propagates until it is output is determined. Therefore, for example, as shown in FIG. 7, it may be impossible to detect a fault in a circuit section 70 (this circuit section is called a fan-out branch) where a signal is divided into multiple parts in a logic circuit. In addition, there was a problem that the processing procedure required for determining detection was long.

本発明は、前記問題点を解決するためになされたもので
ある。
The present invention has been made to solve the above problems.

本発明の目的は、故障検出の判断に要する処理の手順が
短く、高精度で高速な処理が可能な故障シミュレーショ
ン方式を提供することにある。
An object of the present invention is to provide a fault simulation method that requires short processing steps to determine whether to detect a fault and is capable of high-accuracy and high-speed processing.

本発明の前記ならびにその他の目的と新規な特徴は、本
明細書の記述及び添付図面によって明らかになるであろ
う。
The above and other objects and novel features of the present invention will become apparent from the description of this specification and the accompanying drawings.

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

上記目的を達成するため1本発明においては、論理接続
記述ファイルと、入力パターンファイルとを備え、論理
回路の正常論理シミュレーションおよび故障シミュレー
ションを行うシステムにおいて、正常論理シミュレーシ
ョンの結果情報を用いて論理ゲートの出力ピンに故障信
号が伝搬される場合の論理ゲートの入力ピンに印加され
る故障信号および正常信号の組合せから複数種の故障伝
搬タイプの1つを論理回路の各論理ゲートに対して設定
する故障入力処理手段と、故障を出力に伝搬するかしな
いかを表わす複数種の故障情報フラグを規定し、各々の
故障伝搬タイプに対応して出力ピン側の故障情報フラグ
を入力ピン側の故障情報フラグへ変換する規則を規定し
た故障情報伝搬規則を備えた故障情報伝搬規則ファイル
と、各論理ゲートに対して設定した故障伝搬タイプと故
障情報伝搬規則により、論理回路の出力ピンに設定した
故障情報フラグを出力側から入力側へ伝搬させて変換し
、故障情報フラグを論理回路中の全ての論理ゲートの入
出力ピンに設定し、故障が論理回路の出力ピンに伝搬さ
れる経路上の故障検出湯所を求める処理手段とを備える
ことを特徴とする。
In order to achieve the above object, the present invention provides a system that includes a logic connection description file and an input pattern file and performs normal logic simulation and failure simulation of logic circuits. One of multiple types of fault propagation types is set for each logic gate of the logic circuit from the combination of the fault signal and normal signal applied to the input pin of the logic gate when the fault signal is propagated to the output pin of the logic gate. A fault input processing means and multiple types of fault information flags indicating whether or not to propagate a fault to the output are specified, and the fault information flag on the output pin side is changed to the fault information flag on the input pin side in correspondence with each fault propagation type. Fault information set to output pins of logic circuits using a fault information propagation rule file with fault information propagation rules that define rules for converting to flags, and the fault propagation type and fault information propagation rules set for each logic gate. Converts the flag by propagating it from the output side to the input side, sets the fault information flag to the input/output pins of all logic gates in the logic circuit, and detects faults on the path where the fault is propagated to the output pin of the logic circuit. The method is characterized by comprising a processing means for determining a hot water place.

〔作用〕[Effect]

前記手段によれば、故障入力処理手段と、故障情報伝搬
規則ファイルと、故障検出湯所を求める処理手段とが備
えられる。故障入力処理手段は。
According to the means, a fault input processing means, a fault information propagation rule file, and a processing means for determining a fault detection hot spot are provided. Fault input processing means.

正常論理シミュレーションの結果情報を用いて論環ゲー
トの出力ピンに故障信号が伝搬される場合の論理ゲート
の入力ピンに印加される故障信号および正常信号の組合
せから複数種の故障伝搬タイプの1つを論理回路の各論
理ゲートに対して設定する。故障情報伝搬規則ファイル
には、故障を出力に伝搬するかしないかを表わす複数種
の故障情報フラグを規定し、各々の故障伝搬タイプに対
応して出力ピン側の故障情報フラグを入力ピン側の故障
情報フラグへ変換する規則を規定した故障情報伝搬規則
が設けである。故障検出場所を求める処理手段は、各論
理ゲートに対して設定した故障伝搬タイプと故障情報伝
搬規則により、論理回路の出力ピンに設定した故障情報
フラグを出力側から入力側へ伝搬させて変換し、故障情
報フラグを論理回路中の全ての論理ゲートの入出力ピン
に設定し、故障が論理回路の出力ピンに伝搬される経路
上の故障検出場所を求める。
One of multiple fault propagation types based on the combination of the fault signal and normal signal applied to the input pin of the logic gate when the fault signal is propagated to the output pin of the logic gate using the result information of the normal logic simulation. is set for each logic gate in the logic circuit. The fault information propagation rule file defines multiple types of fault information flags that indicate whether or not to propagate a fault to the output. Corresponding to each fault propagation type, the fault information flag on the output pin side is changed to the fault information flag on the input pin side. Failure information propagation rules are provided that define the rules for converting into failure information flags. The processing means for determining the fault detection location propagates and converts the fault information flag set to the output pin of the logic circuit from the output side to the input side according to the fault propagation type and fault information propagation rule set for each logic gate. , a fault information flag is set to the input/output pins of all logic gates in the logic circuit, and the fault detection location on the path where the fault is propagated to the output pin of the logic circuit is determined.

このように、故障が論理回路の出力ピンに伝搬される経
路上の故障検出場所を求める処理は、出力ピンから入力
ピンに向って故障情報フラグを故障情報伝搬規則にした
がって決定して行くだけなので、故障検出の判断に要す
る処理手順が短くなり、与えられた入力バタンに対して
、全ての故障検出される場所を高速に発見することがで
きる。
In this way, the process of determining the fault detection location on the path where the fault is propagated to the output pin of the logic circuit is simply to determine the fault information flag from the output pin to the input pin according to the fault information propagation rule. , the processing procedure required for determining fault detection is shortened, and all locations where faults are detected can be quickly discovered for a given input button.

また、故障情報伝搬規則においてファンアウトブランチ
における伝搬規則も規定しておくので、ファンアウトブ
ランチにおいて故障検出が不可能な場合が存在せず、ど
のような論理回路の構成でも、与えられた入力バタンに
対して全ての故障検出される場所を高速に求めることが
できる。
In addition, since the fault information propagation rules also specify the propagation rules for the fan-out branch, there is no case where fault detection is impossible in the fan-out branch, and no matter what logic circuit configuration, given input It is possible to quickly find the locations where all faults are detected.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面を用いて具体的に説明す
る。
Hereinafter, one embodiment of the present invention will be specifically described using the drawings.

第1a図および第1、b図は、本発明の一実施例にかか
る故障シミュレーションシステムにおける処理の流れを
示すブロック図である。第1a図において、1は論理接
続記述ファイル、2は入力パターンファイル、3はリコ
ンバージェント回路の出力論理ゲートの検出処理、4は
正常論理回路シミュレーション処理、5は故障入カバタ
ーン設定処理、6は故障伝搬の可能性のないゲートの検
出処理である。第1b図において、7は未探索の出力ピ
ンがあるか否かの判定処理、8は故障情報フラグ伝搬を
開始する出力ピンの指定処理、9は入力ピンに到達して
いない故、障情報フラグがあるか否かの判定処理、10
は論理ゲートの出力ピンから入力ピンへの故障情報フラ
グの伝搬処理、11は論理ゲートの入力ピンから該入力
ピンに接続されている前段の論理ゲートの出力ピンへの
故障情報フラグの伝搬処理、12はファンアウトブラン
チの故障の判定処理、13は論理回路の各点の0/1縮
退故障の検出処理、14は故障シミュレーション結果の
故障リストファイルである。また、15は故障情報伝搬
規則ファイル、16は故障検出場所判定処理、17は故
障入力処理である。
FIG. 1a and FIGS. 1 and 1b are block diagrams showing the flow of processing in a failure simulation system according to an embodiment of the present invention. In FIG. 1a, 1 is a logical connection description file, 2 is an input pattern file, 3 is a detection process for the output logic gate of a reconvergent circuit, 4 is a normal logic circuit simulation process, 5 is a fault input cover turn setting process, and 6 is a process for setting a fault input cover pattern. This is a process for detecting gates with no possibility of fault propagation. In FIG. 1b, 7 is a process for determining whether or not there is an unsearched output pin, 8 is a process for specifying an output pin to start propagating a failure information flag, and 9 is a failure information flag that has not reached an input pin. Judgment process of whether or not there is, 10
11 is a process for propagating a failure information flag from an output pin of a logic gate to an input pin; 11 is a process for propagating a failure information flag from an input pin of a logic gate to an output pin of a preceding logic gate connected to the input pin; 12 is a process for determining a fan-out branch failure; 13 is a process for detecting a 0/1 stuck-at fault at each point of the logic circuit; and 14 is a failure list file of the failure simulation results. Further, 15 is a failure information propagation rule file, 16 is a failure detection location determination process, and 17 is a failure input process.

故障入力処理17は、故障入カバターン設定処理5、故
障伝搬の可能性のないゲートの検出処理6の各処理を要
部の構成要素とし、正常論理シミュレーションの結果情
報を用いて論理ゲートの出力ピンに故障信号が伝搬され
る場合の論理ゲートの入力ピンに印加される故障信号お
よび正常信号の組合せから複数種の故障伝搬タイプの1
つを論理回路の各論理ゲートに対して設定する処理を行
う。
The fault input processing 17 has the fault input cover turn setting processing 5 and the detection processing 6 of gates with no possibility of fault propagation as main components, and uses the result information of the normal logic simulation to determine the output pin of the logic gate. One of multiple fault propagation types is determined from the combination of the fault signal and normal signal applied to the input pin of the logic gate when the fault signal is propagated to the logic gate.
A process is performed to set one for each logic gate of the logic circuit.

また、故障検出場所判定処理16は、参照番号7〜13
の各処理を要部の構成要素とし、故障入力処理17で各
論理ゲートに対して設定した故障伝搬タイプと、故障情
報伝搬規則ファイル15の故障情報伝搬規則により、論
理回路の出力ピンに設定した故障情報フラグを出力側か
ら入力側へ伝搬させて変換し、故障情報フラグを論理回
路中の全ての論理ゲートの入出力ピンに設定し、故障が
論理回路の出力ピンに伝搬される経路上の故障検出場所
を求める処理を行う。
Further, the failure detection location determination process 16 includes reference numbers 7 to 13.
Each process is the main component, and the fault propagation type set for each logic gate in the fault input processing 17 and the fault information propagation rule in the fault information propagation rule file 15 are set for the output pin of the logic circuit. Propagate and convert the fault information flag from the output side to the input side, set the fault information flag to the input/output pins of all logic gates in the logic circuit, and set the fault information flag to the input/output pins of all logic gates in the logic circuit. Performs processing to find the failure detection location.

次に、第1a図および第1b図に示した故障シミュレー
ションシステムにおける処理要素の各処理について説明
する。
Next, each process of the processing elements in the failure simulation system shown in FIGS. 1a and 1b will be explained.

リコンバージェント回路の出力論理ゲートの検出処理3
においては、論理接続記述ファイル1の論理接続記述デ
ータから、例えば、第2a図に示すような処理対象の論
理回路20において、リコンバージエンド回路を含んだ
論理回路の出力論理ゲート25を検出する処理を行う。
Detection processing of output logic gate of reconvergent circuit 3
, a process of detecting an output logic gate 25 of a logic circuit including a reconvergence end circuit from the logic connection description data of the logic connection description file 1, for example, in the logic circuit 20 to be processed as shown in FIG. 2a. I do.

この処理は次のステップ1〜ステツプ6の手順の処理を
行うことにより実行される。以下に処理手順を示す。
This process is executed by performing the following steps 1 to 6. The processing procedure is shown below.

ステップ1:出力ピンがファンアラ1−ブランチ21に
つながっている論理ゲート22にFOBフラグ23を設
定する(第2a図)。
Step 1: Set the FOB flag 23 on the logic gate 22 whose output pin is connected to the fan array 1-branch 21 (FIG. 2a).

ステップ2 : FOBフラグの設定された論理ゲート
22のうち一個を選択し、FOBフラグをSELフラグ
24に変更する(第2b図)。
Step 2: Select one of the logic gates 22 with the FOB flag set and change the FOB flag to the SEL flag 24 (FIG. 2b).

ステップ3:、SELフラグの設定された論理ゲートの
出力ピン26から外部出力ピン27まで、フラグを可能
な経路を伝搬させ、通過した各論理ゲートの入力ピンに
R Oフラグを設定する(第2c図)。
Step 3: Propagate the flag along possible paths from the output pin 26 of the logic gate with the SEL flag set to the external output pin 27, and set the R O flag on the input pin of each logic gate passed through (Second c. figure).

ステップ4 : FOBフラグの設定された論理ゲート
が存在するか否かを判定し、存在 する場合にはステップ2へ戻り、存在 しない場合には次のステップ5へ進む。
Step 4: Determine whether or not a logic gate with the FOB flag set exists. If so, return to step 2; if not, proceed to step 5.

ステップ5:ROフラグが2つ以上の入力ピンに設定さ
れている論理ゲートを検出し、リコンバージェント回路
の出力論理ゲ ート25として登録し、次のステップ6へ進む(第2d
図)。
Step 5: Detect the logic gate with the RO flag set to two or more input pins, register it as the output logic gate 25 of the reconvergent circuit, and proceed to the next step 6 (2nd d
figure).

ステップ6:処理の対象となった論理ゲートのFORフ
ラグをクリアして、他にFO Bフラグがまだ残っているかチエツク する。FOBフラグが残っている場合 ステップ2に戻り、残っていない場合 には、処理を終了する。
Step 6: Clear the FOR flag of the logic gate targeted for processing, and check whether any other FOB flags remain. If the FOB flag remains, the process returns to step 2; if no FOB flag remains, the process ends.

正常論理回路シミュレーション処理4においては、論理
接続記述ファイル1の論理接続記述データによる論理回
路の構成に対して、入力パターンファイル2の入カバタ
ーンに応じて、論理シミュレーションを行い、各論理ゲ
ートの入出力ピン上の信号値を決定する。
In the normal logic circuit simulation process 4, logic simulation is performed on the configuration of the logic circuit based on the logic connection description data of the logic connection description file 1 according to the input cover pattern of the input pattern file 2, and the input/output of each logic gate is calculated. Determine the signal value on the pin.

故障入カバターン設定処理5においては、正常論理回路
シミュレーション処理4で求めた各論理ゲートの入出力
ピン上の信号値から、各論理ゲートに対して、第3図に
示すような故障伝搬タイプの故障入カバターンを設定す
る処理を行う。
In the fault input cover turn setting process 5, from the signal values on the input/output pins of each logic gate obtained in the normal logic circuit simulation process 4, a fault propagation type fault as shown in FIG. Performs processing to set input cover pattern.

論理ゲートの出力ピンに故障信号が伝搬される場合に論
理ゲートの入力ピンに印加される故障信号と正常信号の
組合せから、ANDゲート、NANDゲート、ORゲー
ト、NORゲート、NOTゲート、2人力X0R(排他
的論理和)ゲートの各基本論理ゲートがとり得る故障入
カバターンを分類することができ、その故障伝搬タイプ
から、第3図に示ような4つのタイプの論理ゲートに分
類することができる。第3図において、タイプ1とタイ
プ2の・印は、この論理ゲートの出力ピンに故障信号が
伝搬するために必要な故障信号が入力される入力ピンを
識別する印であり、これをfフラグとする。4つの故障
伝搬タイプの各タイプの意味を次に示す。
When a fault signal is propagated to the output pin of the logic gate, from the combination of the fault signal and normal signal applied to the input pin of the logic gate, there are AND gates, NAND gates, OR gates, NOR gates, NOT gates, and two-man power X0R. (Exclusive OR) It is possible to classify the fault input cover patterns that each basic logic gate can take, and based on the fault propagation type, it can be classified into four types of logic gates as shown in Figure 3. . In Fig. 3, the type 1 and type 2 marks identify the input pins into which the fault signal necessary for propagating the fault signal to the output pin of this logic gate is used as the f flag. shall be. The meaning of each of the four fault propagation types is shown below.

タイプ1:fフラグの設定された任意の1本の入力ピン
にのみ故障が伝搬された時 のみ出力に故障が伝搬される。この タイプの論理ゲートをタイプ1ゲー トと称する。
Type 1: A fault is propagated to the output only when the fault is propagated to any one input pin for which the f flag is set. This type of logic gate is called a type 1 gate.

タイプ2:fフラグの設定された任意の2本以上の入力
ピン全てに同時に故障が伝 搬されたときのみ出力に故障が伝搬 される。このタイプの論理ゲー1〜を タイプ2ゲートと称する。
Type 2: A fault is propagated to the output only when a fault is simultaneously propagated to all two or more arbitrary input pins with the f flag set. Logic games 1 to 1 of this type are called type 2 gates.

タイプ3:どのようなパタンで故障が入力されても、必
ず出力に故障が伝搬される。
Type 3: No matter what pattern the fault is input, the fault is always propagated to the output.

このタイプの論理ゲートをタイプ3 ゲートと称する。This type of logic gate is type 3 It is called a gate.

タイプ4:2人力のどちらか一方に故障が入力した時の
み出力に故障が伝搬される。
Type 4: A fault is propagated to the output only when a fault is input to one of the two human operators.

このタイプの論理ゲートをタイプ4 ゲートと称する。This type of logic gate is type 4 It is called a gate.

ANDゲート、NANDゲート、ORゲート。AND gate, NAND gate, OR gate.

NORゲート、NoTゲート、2人力XORゲートの各
基本論理ゲートに対して、故障人カッくターンを設定し
、各論理ゲートの故障伝搬タイプを設定する処理におい
ては、次の故障入カッ(ターン設定規則に従う。
In the process of setting a failure cut turn for each basic logic gate such as a NOR gate, a NoT gate, and a two-man XOR gate, and setting the fault propagation type for each logic gate, the next fault input cut (turn setting Follow the rules.

[設定規則コ (i−1) A N Dゲートの場合、入力が全て1の
とき、タイプ3ゲートとする。入力がそれ以外のときは
、入力がOのピンにfフラグを設定する。
[Setting rules (i-1) In the case of an A N gate, when all inputs are 1, it is a type 3 gate. When the input is other than that, the f flag is set to the pin whose input is O.

(i〜2)ORゲートの場合、入力全てが0のとき。(i~2) In the case of an OR gate, when all inputs are 0.

タイプ3ゲートとする。入力がそれ以外のときは、入力
が1のピンにfフラグを設定する。
It will be a type 3 gate. When the input is other than that, the f flag is set to the pin whose input is 1.

(i−3) N OTゲートの場合、タイプ1ゲートと
する。
(i-3) In the case of N OT gate, it is a type 1 gate.

(i−4) 2人力XORゲートの場合、タイプ4ゲー
トとする。
(i-4) In the case of a two-man powered XOR gate, it shall be a type 4 gate.

また、論理回路の各々の論理ゲートには1回路構成上か
ら故障信号の伝搬の可能性のない論理ゲートが存在する
。したがって、故障入カバターンを設定し、各論理ゲー
トの故障伝搬タイプを設定する処理の一連の処理におい
て、故障信号の伝搬の可能性のない論理ゲートをタイプ
Oゲートとして設定する処理を行う。この処理は、故障
伝搬の可能性のない論理ゲー1−の検出処理6が行う。
Further, each logic gate in the logic circuit includes a logic gate in which there is no possibility of propagation of a fault signal due to the circuit configuration. Therefore, in a series of processes of setting the fault input cover turn and setting the fault propagation type of each logic gate, processing is performed to set logic gates with no possibility of fault signal propagation as type O gates. This process is performed by the detection process 6 of the logic game 1-, which has no possibility of fault propagation.

故障伝搬の可能性のない論理ゲートの検出処理6では、
故障入カバターン処理5で求めた故障伝搬タイプの情報
と、リコンバージェント回路の出力論理ゲートの検出処
理3で求めた情報を用いることにより、また、次に示す
伝搬規則1により各々のフラグを伝搬させる処理を行う
ことにより、各々のフラグの状態を判定して、故障伝搬
の可能性のない論理ゲートであるタイプOゲートを検出
する処理を行う。この処理は次のステップ7およびステ
ップ8の処理手順により実行される。
In the logic gate detection process 6 where there is no possibility of fault propagation,
By using the information on the fault propagation type obtained in the fault input cover turn processing 5 and the information obtained in the detection processing 3 of the output logic gate of the reconvergent circuit, each flag is propagated according to the propagation rule 1 shown below. By performing the processing to determine the state of each flag, processing is performed to detect a type O gate, which is a logic gate with no possibility of fault propagation. This process is executed by the following process procedure of step 7 and step 8.

ステップ7:第4a図に示すように、リコンバージエン
ト回路の出力論理ゲートの検 出処理3設定した各論理ゲートのR○ フラグの情報と、故障入カバターン設 定処理5で求めた故障伝搬タイプの情 報により、タイプ2の故障伝搬タイプ を持つ論理ゲートにおいて、fフラグ の設定されている入力ピンのうち、R Oフラグが設定されていない入力ピン が少なくとも一つある論理ゲート41をタイプOゲート
とする。
Step 7: As shown in FIG. 4a, information on the R○ flag of each logic gate set in the output logic gate detection process 3 of the reconvergent circuit and information on the fault propagation type obtained in the fault input cover turn setting process 5. Accordingly, in a logic gate having a type 2 fault propagation type, a logic gate 41 that has at least one input pin for which the RO flag is not set among the input pins for which the f flag is set is defined as a type O gate. .

ステップ8:第4b図に示すように、入力端子から、次
の伝搬規則1にしたがって2 種類のフラグ(Tフラグ、Bフラグ) を伝搬させ、全ての出力ピンにどちら かのフラグが伝搬した時点で伝搬の処 理を終え、fフラグが一つも設定され ていない論理ゲート42を新たにタイプ0ゲートとし、
処理を終了する。
Step 8: As shown in Figure 4b, two types of flags (T flag, B flag) are propagated from the input terminal according to the following propagation rule 1, and when either flag is propagated to all output pins. After completing the propagation process, the logic gate 42 for which no f flag is set is newly set as a type 0 gate,
Finish the process.

[伝搬規則1] (p−1)入力端子からはTフラグを出力する。[Propagation rule 1] (p-1) A T flag is output from the input terminal.

(p−2)ファンアウトブランチでは各ブランチ先へB
フラグを出力する。
(p-2) In the fan-out branch, go to each branch destination B
Output flags.

(p−3)タイプ0ゲートからはTフラグを出力する。(p-3) A T flag is output from the type 0 gate.

(P〜4)タイプ1ゲートのfフラグの設定された入力
ピンにTフラグが入るとTフラグを出力し、Bフラグが
入るとBフラグを出力する。
(P~4) When the T flag enters the input pin to which the f flag of the type 1 gate is set, the T flag is output, and when the B flag enters, the B flag is output.

(p−5)タイプ2ゲートのfフラグの設定された入力
ピンのうち少なくとも1本にTフラグが入ると、そのゲ
ートのfフラグを全て消去しTフラグを出力する。それ
以外は、Bフラグを出力する。
(p-5) When the T flag enters at least one of the input pins of the type 2 gate to which the f flag is set, all the f flags of that gate are erased and the T flag is output. Otherwise, the B flag is output.

(p−6)タイプ3ゲートの入力ピンのうち少なくとも
一本にBフラグが入ると、Bフラグを出力する。それ以
外は、Tフラグを出力する。
(p-6) When the B flag is input to at least one of the input pins of the type 3 gate, the B flag is output. Otherwise, the T flag is output.

(p−7)タイプ4ゲートの入力ピンのうち少なくとも
一本にBフラグが入ると、Bフラグを出力する。それ以
外は、Tフラグを出力する。
(p-7) When the B flag is input to at least one of the input pins of the type 4 gate, the B flag is output. Otherwise, the T flag is output.

このような処理(故障入力処理17)により、複数種の
故障伝搬タイプの1つを論理回路の各論理ゲートに対し
て設定する処理が行われたので、次に故障検出場所判定
処理16(第1b図)を行う。
Through such processing (fault input processing 17), processing for setting one of the plurality of fault propagation types for each logic gate of the logic circuit has been performed. Next, fault detection location determination processing 16 (fault detection location determination processing 16) Figure 1b).

まず、故障検出場所判定処理16においては、未探索の
出力ピンがあるか否かの判定処理7を行う。
First, in the failure detection location determination process 16, a determination process 7 is performed to determine whether there is an unsearched output pin.

この判定処理で未探索の出力ピンがある場合、故障情報
フラグ伝搬の開始出力ピンの指定処理8を行う。この故
障情報フラグ伝搬の開始出力ピンの指定処理8では、故
障情報フラグ伝搬を開始する出力ピンを任意に指定する
。次に、入力ピンに到達していない故障情報フラグがあ
るか否かの判定処理9を行い、入力ピンに到達していな
い故障情報フラグがない場合には未探索の出力ピンがあ
るか否かの判定処理7に戻る。また、入力ピンに到達し
ていない故障情報フラグがある場合には、次に、論理ゲ
ートの出力ピンから入力ピンへの故障情報フラグの伝搬
処理10を行う。
If there is an unsearched output pin in this determination process, a process 8 for specifying a start output pin for failure information flag propagation is performed. In this failure information flag propagation start output pin designation process 8, an output pin to start failure information flag propagation is arbitrarily designated. Next, a determination process 9 is performed to determine whether there is a failure information flag that has not reached the input pin, and if there is no failure information flag that has not reached the input pin, it is determined whether or not there is an unsearched output pin. The process returns to determination process 7. Furthermore, if there is a failure information flag that has not reached the input pin, then a process 10 for propagating the failure information flag from the output pin to the input pin of the logic gate is performed.

論理ゲートの出力ピンから入力ピンへの故障情報フラグ
の伝搬処理10では、故障入力処理17で設定した各論
理ゲートの故障伝搬タイプの情報により1次に示す6種
類の故障情報フラグと、この故障情報フラグの伝搬規則
を規定した伝搬規則2により故障情報フラグを、開始出
力ピンの指定処理8で決定した出力ピンから、各論理ゲ
ートの出力側から入力側へ伝搬させる処理を行う。その
とき、出力ピンには最初にDフラグを設定しておく。な
お、この出力ピンに対して、出力ピンから全ての入力ピ
ンに故障情報フラグが伝搬すると、開始出力ピンの指定
処理8により次の出力ピンを指定して、次の出力ピンに
対する故障情報フラグの伝搬処理を行う。6種類の故障
情報フラグは、故障を出力に伝搬するかしないかを表わ
すフラグであり、次に示すとおりである。各フラグには
次のようにプライオリティが設定されている。
In the process 10 of propagating the fault information flag from the output pin to the input pin of the logic gate, the following six types of fault information flags and the fault Processing is performed to propagate the failure information flag from the output pin determined in the start output pin designation process 8 from the output side to the input side of each logic gate according to propagation rule 2 that defines the propagation rule for the information flag. At this time, the D flag is first set on the output pin. Note that when the failure information flag is propagated from the output pin to all input pins for this output pin, the next output pin is specified by the start output pin specification process 8, and the failure information flag for the next output pin is transmitted. Perform propagation processing. The six types of failure information flags are flags indicating whether or not to propagate a failure to the output, and are as shown below. A priority is set for each flag as follows.

Xフラグ:プライオリティ1を設定する。X flag: Set priority 1.

Dフラグ:プライオリティ2を設定する。D flag: Set priority 2.

Mフラグ:プライオリティ3を設定する。M flag: Set priority 3.

Rフラグ:プライオリティ4を設定する。R flag: Set priority 4.

Eフラグ:プライオリティ4を設定する。E flag: Set priority 4.

Pフラグ:プライオリティ5を設定する。P flag: Set priority 5.

この故障情報フラグの伝搬規則を規定した伝搬規則2は
、故障情報伝搬規則ファイル15に備えられている。
A propagation rule 2 that defines the propagation rule for this failure information flag is provided in the failure information propagation rule file 15.

[伝搬規則2] (g−1)タイプ1ゲートの出力ピンにDフラグが入る
場合、fフラグの設定された入力ピンからDフラグを出
力し、それ以外の入力ピンからは、リコンバージェント
回路の出力の論理ゲートではEフラグを出力し、他の論
理ゲートではPフラグを出力する。
[Propagation rule 2] (g-1) When the D flag is input to the output pin of a type 1 gate, the D flag is output from the input pin where the f flag is set, and the reconvergent circuit is output from the other input pins. The logic gate outputs the E flag, and the other logic gates output the P flag.

(g−2)タイプ2ゲートの出力ピンにDフラグが入る
場合、fフラグの設定された入力ピンからRフラグを出
力し、それ以外の入力ピンからはEフラグを出力する。
(g-2) When the D flag is input to the output pin of the type 2 gate, the R flag is output from the input pin where the f flag is set, and the E flag is output from the other input pins.

(g−3)タイプ3ゲートの出力ピンにDフラグが入る
場合、全ての入力ピンからDフラグを出力する。
(g-3) When the D flag is input to the output pin of a type 3 gate, the D flag is output from all input pins.

(g−4)タイプ4ゲートの出力ピンにDフラグが入る
場合、リコンバージェント回路の出力の論理ゲートでは
全ての入力ピンからXフラグを出力し、他の論理ゲート
では全ての入力ピンからDフラグを出力する。
(g-4) When the D flag is input to the output pin of a type 4 gate, the output logic gate of the reconvergent circuit outputs the X flag from all input pins, and the other logic gate outputs the D flag from all input pins. Output flags.

(g−5)タイプ1ゲートの出力ピンにRフラグが入る
場合、fフラグの設定された入力ピンからRフラグを出
力し、それ以外の入力ピンからは、リコンバージェント
回路の出力の論理ゲートではEフラグを出力し、他の論
理ゲートではPフラグを出力する。
(g-5) When the R flag is input to the output pin of the type 1 gate, the R flag is output from the input pin where the f flag is set, and from the other input pins, the logic gate of the output of the reconvergent circuit is output. outputs the E flag, and other logic gates output the P flag.

(g−6)タイプ2ゲートの出力ピンにRフラグが入る
場合、fフラグの設定された入力ピンがらRフラグを出
力し、それ以外の入力ピンからはEフラグを出力する。
(g-6) When the R flag is input to the output pin of the type 2 gate, the R flag is output from the input pin where the f flag is set, and the E flag is output from the other input pins.

(g−7)タイプ3ゲートの出力ピンにRフラグが入る
場合、全ての入力ピンからRフラグを出力する。
(g-7) When the R flag is input to the output pin of a type 3 gate, the R flag is output from all input pins.

(g−8)タイプ4ゲートの出力ピンにRフラグが入る
場合、全ての入力ピンからRフラグを出力する。
(g-8) When the R flag is input to the output pin of a type 4 gate, the R flag is output from all input pins.

(g−9)タイプ1ゲートの出力ピンにEフラグが入る
場合、fフラグの設定された入力ピンがらEフラグを出
力し、それ以外の入力ピンからはPフラグを出力する。
(g-9) When the E flag is input to the output pin of the type 1 gate, the E flag is output from the input pin to which the f flag is set, and the P flag is output from the other input pins.

(g−10)タイプ2ゲートの出力ピンにEフラグが入
る場合、fフラグの設定された入力ピンがらEフラグを
出力し、それ以外の入力ピンからはPフラグを出力する
(g-10) When the E flag is input to the output pin of the type 2 gate, the E flag is output from the input pin to which the f flag is set, and the P flag is output from the other input pins.

(g−11)タイプ3ゲートの出力ピンにEフラグが入
る場合、全ての入力ピンからEフラグを出力する。
(g-11) When the E flag is input to the output pin of a type 3 gate, the E flag is output from all input pins.

(g−12)タイプ4ゲートの出力ピンにEフラグが入
る場合、全ての入力ピンからEフラグを出力する。
(g-12) When the E flag is input to the output pin of a type 4 gate, the E flag is output from all input pins.

(g−13)タイプ1ゲートの出力ピンにMフラグが入
る場合、fフラグの設定された入力ピンからMフラグを
出力し、それ以外の入力ピンからは、リコンバージエン
ト回路の出力の論理ゲートではEフラグを出力し、他の
論理ゲートではPフラグを出力する。
(g-13) When the M flag is input to the output pin of the type 1 gate, the M flag is output from the input pin where the f flag is set, and from the other input pins, the logic gate of the output of the reconvergent circuit outputs the E flag, and other logic gates output the P flag.

(g−14)タイプ2ゲートの出力ピンにMフラグが入
る場合、fフラグの設定された入力ピンからMフラグを
出力し、それ以外の入力ピンからはEフラグを出力する
(g-14) When the M flag is input to the output pin of the type 2 gate, the M flag is output from the input pin where the f flag is set, and the E flag is output from the other input pins.

(g−15)タイプ3ゲートの出力ピンにMフラグが入
る場合、全ての入力ピンからMフラグを出力する。
(g-15) When the M flag is input to the output pin of a type 3 gate, the M flag is output from all input pins.

(g−16)タイプ4ゲートの出力ピンにMフラグが入
る場合、全ての入力ピンからMフラグを出力する。
(g-16) When the M flag is input to the output pin of a type 4 gate, the M flag is output from all input pins.

(g−17)タイプ1ゲートの出力ピンにPフラグが入
る場合、全ての入力ピンからPフラグを出力する。
(g-17) When a P flag is input to the output pin of a type 1 gate, the P flag is output from all input pins.

(g−18)タイプ2ゲートの出力ピンにPフラグが入
る場合、全ての入力ピンからPフラグを出力する。
(g-18) When a P flag is input to the output pin of a type 2 gate, the P flag is output from all input pins.

(g−19)タイプ3ゲートの出力ピンにPフラグが入
る場合、全ての入力ピンからPフラグを出力する。
(g-19) When a P flag is input to the output pin of a type 3 gate, the P flag is output from all input pins.

(g−20)タイプ4ゲートの出力ピンにPフラグが入
る場合、全ての入力ピンからPフラグを出力する。
(g-20) When a P flag is input to the output pin of a type 4 gate, the P flag is output from all input pins.

(g−21)タイプ1ゲートの出力ピンにXフラグが入
る場合、fフラグの設定された入力ピンからXフラグを
出力し、それ以外の入力ピンからは、リコンバージェン
ト回路の出力の論理ゲートでばEフラグを出力し、他の
論理ゲートではPフラグを出力する。
(g-21) When the X flag is input to the output pin of the type 1 gate, the X flag is output from the input pin where the f flag is set, and from the other input pins, the For other logic gates, the E flag is output, and for other logic gates, the P flag is output.

(g−22)タイプ2ゲー1−の出力ピンにXフラグが
入る場合、fフラグの設定された入力ピンからXフラグ
を出力し、それ以外の入力ピンからはEフラグを出力す
る。
(g-22) When the X flag is input to the output pin of the type 2 game 1-, the X flag is output from the input pin where the f flag is set, and the E flag is output from the other input pins.

(g〜23)タイプ3ゲートの出力ピンにXフラグが入
る場合、全ての入力ピンからXフラグを出力する。
(g-23) When the X flag is input to the output pin of the type 3 gate, the X flag is output from all input pins.

(g−24)タイプ4ゲートの出力ピンにXフラグが入
る場合、全ての入力ピンからXフラグを出力する。
(g-24) When the X flag is input to the output pin of a type 4 gate, the X flag is output from all input pins.

(g−25)タイプ1ゲートは出力ピンに入るフラグの
種類にかかわらず、全ての入力ピンからPフラグを出力
する。
(g-25) Type 1 gates output P flags from all input pins, regardless of the type of flags input to the output pins.

このように伝搬規則により故障情報フラグを伝搬して、
各々の論理ゲートの入出力ピンに各々の故障情報フラグ
を設定する。後の処理において、結果として、ここで求
めたXフラグ、Dフラグが伝搬している経路上に故障が
検出されるとして故障シミュレーションが行ねねれる。
In this way, the failure information flag is propagated using the propagation rules,
Each failure information flag is set to the input/output pin of each logic gate. In the subsequent processing, as a result, a fault is detected on the path along which the X flag and D flag obtained here are propagated, and the fault simulation cannot be performed.

次に、論理ゲートの入力ピンから該入力ピンに接続され
ている論理ゲートの出力ピンへの故障情報フラグの伝搬
処理11を行う。この伝搬処理11では、入力ピンから
前段の論理ゲートの出力ピンへの接続がファンアウトブ
ランチになっている場合、ファンアラ1−ブランチにお
ける故障情報フラグの伝搬規則は、次に示す伝搬規則3
にしたがって決定される。それ以外の場合は、入力ピン
のフラグ情報は、そのまま出力ピンに伝わるとして故障
情報フラグの伝搬処理を行う。なお、伝搬規則3に示さ
れているファンアウトブランチの伝搬規則により故障検
出を行う場合は、次のファンアウトブランチの故障判定
処理12において、故障情報フラグが決定される。
Next, a process 11 of propagating the failure information flag from the input pin of the logic gate to the output pin of the logic gate connected to the input pin is performed. In this propagation process 11, if the connection from the input pin to the output pin of the previous stage logic gate is a fan-out branch, the propagation rule for the failure information flag in the fan-out branch is the following propagation rule 3.
Determined according to. In other cases, the failure information flag propagation process is performed assuming that the flag information of the input pin is transmitted to the output pin as is. Note that when failure detection is performed according to the fan-out branch propagation rule shown in propagation rule 3, a failure information flag is determined in the next fan-out branch failure determination process 12.

[伝搬規則3] (s−0)各ファンアウトブランチに伝搬されるフラグ
が1個のRフラグと1個または複数のEフラグの場合、
ファンアウトブランチにはMフラグが出力される。
[Propagation Rule 3] (s-0) If the flags propagated to each fan-out branch are one R flag and one or more E flags,
The M flag is output to the fan-out branch.

(s−1)各ファンアウトブランチに伝搬されるフラグ
が次の場合には、ファンアウトブランチの故障が検出さ
れるかどうかの判断を行う。
(s-1) If the flags propagated to each fan-out branch are as follows, it is determined whether a failure of the fan-out branch is detected.

判断は、ファンアラ1〜ブランチの故障判定処理12で
行う。
The determination is made in the fan error 1 to branch failure determination processing 12.

(s−1a)複数のXフラグが存在し、Dフラグが存在
しない場合。
(s-1a) A case where multiple X flags exist and no D flag exists.

(s−1b)複数のMフラグが存在し、Dフラグが存在
しない場合。
(s-1b) When there are multiple M flags and no D flag.

(s−1c)複数のRフラグが存在し、Dフラグが存在
しない場合。
(s-1c) A case where there are multiple R flags and no D flag.

(s−1d)XフラグとEフラグの組あるいはXフラグ
とMフラグの組が存在する場合。
(s-1d) When a set of X flag and E flag or a set of X flag and M flag exists.

(s−1e)DフラグとEフラグの組あるいはDフラグ
とMフラグの組が存在する場合。
(s-1e) When a set of D flag and E flag or a set of D flag and M flag exists.

(s−2)判断の結果、故障が検出される場合には、(
s−1b)の場合および(s−1e)の場合を除いて、
各ファンアウトブランチに伝搬された故障検出フラグの
うち、プライオリティの高いほうのフラグを出力する。
(s-2) If a failure is detected as a result of the judgment, (
Except for cases s-1b) and (s-1e),
Among the failure detection flags propagated to each fan-out branch, the flag with a higher priority is output.

(s−1b)の場合はDフラグを出力する。(s−1e
)の場合は、Xフラグを出力する。
In the case of (s-1b), the D flag is output. (s-1e
), the X flag is output.

(s−3)判断の結果、故障が検出されない場合は。(s-3) If no failure is detected as a result of the determination.

各ファンアウトブランチに伝搬された故障非検出フラグ
のうち、プライオリティの一番高いフラグを出力する。
Among the failure non-detection flags propagated to each fan-out branch, the flag with the highest priority is output.

(s−4) (s−i)以外の場合は、各ファンアウト
ブランチに伝搬された故障情報フラグのうち、プライオ
リティの一番高いフラグを出力する。ただし、(s−0
)で定義したように、RフラグとEフラグが一番高いフ
ラグとして存在する場合には、Mフラグを出力する。
(s-4) In cases other than (s-i), the flag with the highest priority among the failure information flags propagated to each fan-out branch is output. However, (s-0
), when the R flag and the E flag exist as the highest flags, the M flag is output.

次にファンアウトブランチの故障判定処理12を行う。Next, a fan-out branch failure determination process 12 is performed.

この故障判定処理12を、故障情報フラグの伝搬処理1
1で判断できなかったファンアウトブランチに対して1
次に示すようなステップ9〜ステツプ12の手順で故障
情報フラグを決定する。
This failure determination process 12 is performed as failure information flag propagation process 1.
1 for fan-out branches that could not be determined in 1.
A failure information flag is determined by following steps 9 to 12 as shown below.

ステップ9:判定すべきファンアウトブランチに故障を
設定する。
Step 9: Set a failure in the fan-out branch to be determined.

ステップ10ニステツプ9で設定した故障の設定点から
同一ネットワークの入力へ故障 を伝搬させる。
Step 10 Propagate the fault from the fault set point set in step 9 to the input of the same network.

ステップ11:次の故障検出規則にしたがって故障検出
の有無を判定する。この故障検 出規則で判定されない場合、次のステ ップ12に進む。
Step 11: Determine whether or not a fault has been detected according to the following fault detection rule. If no determination is made according to this failure detection rule, the process proceeds to the next step 12.

ステップ12:故障を1段出力側のネットワークに伝搬
して、ステップ10に戻る。
Step 12: Propagate the fault to the first stage output side network and return to step 10.

[故障検出フラグ (j−1) Dフラグの乗った経路のみに故障が伝搬し
ている場合、故障は出力まで伝搬し処理を終了する。
[Fault Detection Flag (j-1) If the fault is propagating only to the route marked with the D flag, the fault propagates to the output and the process ends.

(j−2)故障検出の有無を判定するファンアウトブラ
ンチから出力ピンまでの経路において。
(j-2) In the path from the fan-out branch to the output pin where it is determined whether or not a failure has been detected.

Xフラグが存在しなければ、Rフラグの乗った全ての経
路上に故障が伝搬し、かつそれ以外の経路に故障が伝搬
しない場合、故障は出力まで伝搬し処理を終了する。
If the X flag does not exist, the fault will propagate on all routes marked with the R flag, and if the fault does not propagate to other routes, the fault will propagate to the output and the process will end.

(j−3)故障が出力ピンに達して、(j−1)の場合
および(j−2)以外の場合、故障は出力まで伝搬しな
い。
(j-3) The fault reaches the output pin, and in cases other than (j-1) and (j-2), the fault does not propagate to the output.

このような処理を行い、1つの出力ピンを指定して(開
始出力ピンの指定処理8)、出力ピンから全ての入力ピ
ンに故障情報フラグを伝搬させると、次の出力ピンを指
定して、当該出力ピンから全ての入力ピンに故障情報フ
ラグを伝搬させる処理を行い、全ての出力ピンに対する
処理が終了すると、これを判定処理7で判定して、0/
1縮退故障の検出処理13を行う。すなわち、論理回路
の各論理ゲートの入出力ピンに対して故障情報フラグを
設定して、次のO/1縮退故障の検出処理13を行う。
After performing such processing, specifying one output pin (start output pin specification process 8), and propagating the failure information flag from the output pin to all input pins, specify the next output pin, A process is performed to propagate the failure information flag from the output pin to all input pins, and when the process for all output pins is completed, this is judged in judgment process 7 and 0/
1. A stuck-at fault detection process 13 is performed. That is, a failure information flag is set for the input/output pin of each logic gate of the logic circuit, and the next O/1 stuck-at fault detection process 13 is performed.

0/1縮退故障の検出処理13では、与えられた論理回
路の各点における0/1縮退故障の有無を次のように決
定する。すなわち、XフラグとDフラグの乗った経路上
の故障に対して、正常シミユレーション値がII OI
Tの場所には1縮退故障が、また、正常シミユレーショ
ン値がパ1′″の場所にはO縮退故障が検出されるとし
て、故障故障シミュレーションが実行される。
In the 0/1 stuck-at fault detection process 13, the presence or absence of a 0/1 stuck-at fault at each point of a given logic circuit is determined as follows. In other words, the normal simulation value is II OI for the fault on the route with the
The fault simulation is performed assuming that a stuck-at-1 fault is detected at the location T, and a stuck-at-O fault is detected at the location where the normal simulation value is PA1'''.

このようにして得られた故障シミュレーションの結果は
、故障リストファイル14に出力される。
The results of the fault simulation obtained in this way are output to the fault list file 14.

こりにより、故障リストとして、与えられた入カバター
ンに対して、与えられた論理回路の各点における0/1
縮退故障の検出の有無の情報が得られる。
Due to this, the fault list is 0/1 at each point of a given logic circuit for a given input cover turn.
Information on whether a stuck-at fault has been detected can be obtained.

次に、このような一連の処理による故障シミュレーショ
ンの処理の具体例を概略的に説明する。
Next, a specific example of failure simulation processing using such a series of processing will be schematically explained.

第5a図および第5b図は、故障シミュレーションの処
理の具体例を説明する図である。第5a図に示すように
、論理回路を構成する各々の論理ゲート51.52.5
3に対して、与えらた入カバターンのデータにより、各
論理ゲートの入出力ピンに論理値が設定される。次に、
この論理値のデータを用いて、故障入カバターン設定規
則により、各々の入力ピンにfフラグ(・印)が設定さ
れる。
FIGS. 5a and 5b are diagrams illustrating a specific example of failure simulation processing. As shown in FIG. 5a, each logic gate 51, 52, 5 forming a logic circuit
3, a logic value is set to the input/output pin of each logic gate according to the data of the given input pattern. next,
Using this logical value data, an f flag (mark) is set for each input pin according to the failure cover turn setting rule.

fフラグの設定により、各々の論理ゲートの故障伝搬タ
イプが設定される。この例では、全てタイプ1のゲート
となっている。次に、故障情報フラグの伝搬処理10に
したがって、出力端子側からDフラグを伝搬規則2によ
り伝搬させて、各々の入出力ピンに、各々のフラグを伝
搬させる。すなわち、第5a図の矢印に示すように、論
理ゲート53では伝搬規則2の規則(g−1)により、
論理ゲート52では伝搬規則2の規則(g(7)により
、また、論理ゲート51では同じく伝搬規則2の規則(
g−1)により、各々の故障情報フラグ(Dフラグ、P
フラグ)を伝搬させる。これにより、各々の論理ゲート
の入出力ピンに各々の故障情報フラグが設定され、故障
が伝搬される経路が判定される。この場合、Dフラグが
乗っている経路のみに故障が伝搬するとして、第5b図
に示すように、Dフラグの乗った経路上の故障に対して
、正常シミユレーション値がLL O11の場所には1
縮退故障5−a−1が、また、正常シミユレーション値
が“1”の場所にはO縮退故障5−a−0が検出される
として、故障故障シミュレーションが実行される。
Setting the f flag sets the fault propagation type of each logic gate. In this example, all gates are type 1 gates. Next, according to failure information flag propagation processing 10, the D flag is propagated from the output terminal side according to propagation rule 2, and each flag is propagated to each input/output pin. That is, as shown by the arrow in FIG. 5a, in the logic gate 53, according to rule (g-1) of propagation rule 2,
The logic gate 52 follows the rule of propagation rule 2 (g(7)), and the logic gate 51 also follows the rule of propagation rule 2 (g(7)).
g-1), each failure information flag (D flag, P
flag). As a result, each fault information flag is set to the input/output pin of each logic gate, and the path through which the fault is propagated is determined. In this case, assuming that the fault propagates only to the route with the D flag on it, as shown in Figure 5b, the normal simulation value is at the location of LL O11 for the fault on the route on which the D flag is on. is 1
A fault simulation is performed assuming that a stuck-at fault 5-a-1 is detected and an O stuck-at fault 5-a-0 is detected at a location where the normal simulation value is "1".

第6a図、第6b図および第6c図は、故障シミュレー
ションの処理の他の具体例を説明する図である。上述の
具体例と同様にして、第6a図に示すように、各論理ゲ
ートの入出力ピンに対して、伝搬規則2の各の規則(g
−1)、(g−3)、 (g−9)によって、各々の論
理ゲートで故障情報フラグ(Dフラグ、Eフラグ、Pフ
ラグ)を伝搬させて、各々の論理ゲートの入出力ピンに
各々の故障情報フラグを設定する。この具体例の論理回
路の場合には、ファンアウトブランチ65.66、67
があるので、このファンアウトブランチ65.66、6
7に対する故障情報フラグの伝搬処理を、伝搬規則3の
各々の規則によって処理される。この結果、第6a図に
示すように故障情報フラグが各論理ゲートの入出力ピン
に設定される。第6b図に示すように、Dフラグが乗っ
ている経路のみに故障(×印)が伝搬されるので、ファ
ンアウトブランチの故障も検出されて、第6c図に示す
ように、Dフラグの乗った経路上の故障に対して、正常
シミユレーション値が0”の場所には1縮退故障5−a
−1が、また、正常シミユレーション値が1111+の
場所にはO縮退故障5−a−0が検出されるとして、故
障故障シミュレーションが実行される。
FIGS. 6a, 6b, and 6c are diagrams illustrating other specific examples of failure simulation processing. In the same manner as in the above-mentioned example, each rule (g
-1), (g-3), and (g-9), the failure information flags (D flag, E flag, P flag) are propagated in each logic gate and sent to the input/output pins of each logic gate. Set the failure information flag. For this example logic circuit, fanout branches 65, 66, 67
So this fanout branch 65.66,6
The propagation process of the failure information flag for 7 is processed according to each of the propagation rules 3. As a result, a failure information flag is set on the input/output pin of each logic gate as shown in FIG. 6a. As shown in Fig. 6b, the fault (x mark) is propagated only to the path on which the D flag is placed, so a fault in the fan-out branch is also detected, and as shown in Fig. 6c, the fault (x mark) is propagated only to the path on which the D flag is placed. 1 stuck-at fault 5-a occurs at a location where the normal simulation value is 0'' for a fault on the route.
-1, and a stuck-at-O fault 5-a-0 is detected at a location where the normal simulation value is 1111+, and a fault simulation is executed.

以上、本発明を実施例にもとづき具体的に説明したが、
本発明は、前記実施例に限定されるものではなく、その
要旨を逸脱しない範囲において種々変更可能であること
は言うまでもない。
The present invention has been specifically explained above based on examples, but
It goes without saying that the present invention is not limited to the embodiments described above, and can be modified in various ways without departing from the spirit thereof.

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

以」二、説明したように、本発明によれば、与えられた
論理回路は入力バタンに対して、与えられた論理回路の
各点におけるO/1縮退故障の検出の有無の情報を正確
に、しかも、論理回路中の局所的な情報に基づいた単純
な規則で処理することにより、故障シミュレーションを
高速に処理するることかできる。
As described in Section 2, according to the present invention, a given logic circuit can accurately provide information on whether or not an O/1 stuck-at fault has been detected at each point of the given logic circuit in response to an input button. Moreover, by processing with simple rules based on local information in the logic circuit, fault simulation can be processed at high speed.

【図面の簡単な説明】 第1a図および第1b図は、本発明の一実施例にかかる
故障シミュレーションシステムにおける処理の流れを示
すブロック図、 第2a図、第2b図、第2c図および第2d図は、リコ
ンバージェント回路の出力論理ゲートの検出処理を説明
する図、 第3図は、論理ゲートの4つの故障伝搬タイプのシンボ
ルを示す図、 第4a図および第4b図は、故障伝搬の可能性のない論
理ゲートの検出処理を説明する図、第5a図および第5
b図は、故障シミュレーションの処理の具体例を説明す
る図、 第6a図、第6b図および第6c図は、故障シミュレー
ションの処理の他の具体例を説明する図、第7図は、論
理回路のファンアウトブランチを有する回路部分の一例
を示す図である。 図中、1・・・論理接続記述ファイル、2・・・入力パ
ターンファイル、14・・・故障リストファイル、15
・・・故障情報伝搬規則ファイル、16・・・故障検出
場所判定処理、17・・・故障入力処理。
[Brief Description of the Drawings] Figures 1a and 1b are block diagrams showing the flow of processing in a failure simulation system according to an embodiment of the present invention; Figures 2a, 2b, 2c, and 2d; 3 is a diagram illustrating the detection process of the output logic gate of a reconvergent circuit. FIG. 3 is a diagram showing symbols of four types of fault propagation of logic gates. FIGS. Figures 5a and 5 illustrating the process of detecting unlikely logic gates
Figure b is a diagram for explaining a specific example of failure simulation processing. Figures 6a, 6b, and 6c are diagrams for explaining other specific examples of failure simulation processing. Figure 7 is a diagram for explaining a specific example of failure simulation processing. FIG. 2 is a diagram illustrating an example of a circuit portion having a fan-out branch of FIG. In the figure, 1...Logical connection description file, 2...Input pattern file, 14...Fault list file, 15
. . . Fault information propagation rule file, 16. Fault detection location determination processing, 17. Fault input processing.

Claims (1)

【特許請求の範囲】[Claims] (1)論理接続記述ファイルと、入力パターンファイル
とを備え、論理回路の正常論理シミュレーションおよび
故障シミュレーションを行うシステムにおいて、正常論
理シミュレーションの結果情報を用いて論理ゲートの出
力ピンに故障信号が伝搬される場合の論理ゲートの入力
ピンに印加される故障信号および正常信号の組合せから
複数種の故障伝搬タイプの1つを論理回路の各論理ゲー
トに対して設定する故障入力処理手段と、故障を出力に
伝搬するかしないかを表わす複数種の故障情報フラグを
規定し、各々の故障伝搬タイプに対応して出力ピン側の
故障情報フラグを入力ピン側の故障情報フラグへ変換す
る規則を規定した故障情報伝搬規則を備えた故障情報伝
搬規則ファイルと、各論理ゲートに対して設定した故障
伝搬タイプと故障情報伝搬規則により、論理回路の出力
ピンに設定した故障情報フラグを出力側から入力側へ伝
搬させて変換し、故障情報フラグを論理回路中の全ての
論理ゲートの入出力ピンに設定し、故障が論理回路の出
力ピンに伝搬される経路上の故障検出場所を求める処理
手段とを備えることを特徴とする故障シミュレーション
方式。
(1) In a system that includes a logic connection description file and an input pattern file and performs normal logic simulation and fault simulation of a logic circuit, a fault signal is propagated to the output pin of a logic gate using the result information of the normal logic simulation. a fault input processing means for setting one of a plurality of types of fault propagation types to each logic gate of a logic circuit from a combination of a fault signal and a normal signal applied to an input pin of the logic gate when A fault that defines multiple types of fault information flags that indicate whether or not the fault propagation occurs, and rules for converting the fault information flag on the output pin side to the fault information flag on the input pin side corresponding to each fault propagation type. Using the fault information propagation rule file with information propagation rules, the fault propagation type and fault information propagation rules set for each logic gate, the fault information flag set on the output pin of the logic circuit is propagated from the output side to the input side. processing means for determining the fault detection location on a path through which the fault is propagated to the output pin of the logic circuit; A failure simulation method featuring:
JP63068648A 1988-03-22 1988-03-22 Fault simulation system Pending JPH01240939A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63068648A JPH01240939A (en) 1988-03-22 1988-03-22 Fault simulation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63068648A JPH01240939A (en) 1988-03-22 1988-03-22 Fault simulation system

Publications (1)

Publication Number Publication Date
JPH01240939A true JPH01240939A (en) 1989-09-26

Family

ID=13379735

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63068648A Pending JPH01240939A (en) 1988-03-22 1988-03-22 Fault simulation system

Country Status (1)

Country Link
JP (1) JPH01240939A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH052620A (en) * 1990-11-30 1993-01-08 Fujitsu Ltd Device and method for circuit fault simulation test

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH052620A (en) * 1990-11-30 1993-01-08 Fujitsu Ltd Device and method for circuit fault simulation test
JP2669968B2 (en) * 1990-11-30 1997-10-29 富士通株式会社 Circuit failure pseudo test apparatus and circuit failure pseudo test method

Similar Documents

Publication Publication Date Title
Fujiwara et al. On the acceleration of test generation algorithms
Schulz et al. Advanced automatic test pattern generation techniques for path delay faults
Cheng et al. Delay testing for non-robust untestable circuits
Ke et al. Synthesis of delay-verifiable combinational circuits
EP0663092B1 (en) Robust delay fault built-in self-testing method and apparatus
US5640403A (en) Fault diagnosis method for a sequential circuit
JPH04148882A (en) Indicating fault position of logic integrated circuit
Majhi et al. On test coverage of path delay faults
Iyer et al. Low-cost redundancy identification for combinational circuits
Guo et al. An algorithmic technique for diagnosis of faulty scan chains
Abramovici et al. Dynamic redundancy identification in automatic test generation
Li et al. Robust test generation for precise crosstalk-induced path delay faults
JPH01240939A (en) Fault simulation system
Krstic et al. Generation of high quality tests for functional sensitizable paths
WO2008010648A1 (en) Matching method for multiple stuck-at faults diagnosis
Krstić et al. Resynthesis of combinational circuits for path count reduction and for path delay fault testability
Takeuchi et al. A Controller Augmentation Method to Improve Transition Fault Coverage for RTL Data-Paths
Gharaybeh et al. False-path removal using delay fault simulation
Pomeranz et al. $ z $-Diagnosis: A Framework for Diagnostic Fault Simulation and Test Generation Utilizing Subsets of Outputs
Kim et al. Sequential test generators: past, present and future
Aikyo et al. Timing-aware diagnosis for small delay defects
Lioy On the equivalence of fanout-point faults
Gharaybeh et al. A parallel-vector concurrent-fault simulator and generation of single-input-change tests for path-delay faults
JP2785901B2 (en) Test sequence generation method and test sequence generation device
Chang et al. Who are the alternative wires in your neighborhood?(alternative wires identification without search)