JPH03125980A - Trouble simulation system - Google Patents

Trouble simulation system

Info

Publication number
JPH03125980A
JPH03125980A JP1264053A JP26405389A JPH03125980A JP H03125980 A JPH03125980 A JP H03125980A JP 1264053 A JP1264053 A JP 1264053A JP 26405389 A JP26405389 A JP 26405389A JP H03125980 A JPH03125980 A JP H03125980A
Authority
JP
Japan
Prior art keywords
fault
input
trouble
value
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
JP1264053A
Other languages
Japanese (ja)
Inventor
Koichiro Takayama
高山 浩一郎
Fumiyasu Hirose
広瀬 文保
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1264053A priority Critical patent/JPH03125980A/en
Publication of JPH03125980A publication Critical patent/JPH03125980A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To achieve a higher speed in treatment of a troubled simulation (SM) by judging validity of a trouble yet to be detected from a logic value obtained by analyzing an input signal with a fixed language length and condition of a trouble to eliminate a waste simulation (SM) step. CONSTITUTION:A logic gate G for assuming a trouble is divided into partial sets with the number thereof reduced by two from a bit W of the length of one language and connected with a carry. Then, troubles are inserted sequentially and a code of the W bit is analyzed at each input line to determine a logic value. The carry is passed to the subsequent logic G when a trouble is being inserted presently. The logic G receiving the carry judges a trouble yet to be detected which is possibly transmitted to an output of the logic G from a normal value of the logical value and a trouble detecting condition and if a trouble is determined to be effective, the insertion thereof is reported to an output value generating section 4 by the subsequent trouble alteration clock and a normal value of the output is determined from a normal value of all input signals. If a trouble is determined to be invalid, the carry is passed to the subsequent logic G. Then, as a result of a trouble SM, when a trouble is detected from a trouble detection signal being inserted, a detecting condition managing section 2 eliminates the trouble from a set of troubles yet to be detected.

Description

【発明の詳細な説明】 〔目次〕 概要 産業上の利用分野 従来の技術(第10図) 発明が解決しようとする課題(第10図)課題を解決す
るための手段(第1図) 作用(第1図) 実施例(第2図〜第10図) 発明の効果 〔概要〕 LSIチップの動作を検査する工程で使用するテストパ
ターンに係り、当該テストパターンがどの程度の検出率
をもつかを調査する故障シミュレーション方式に関し、 当該故障シミュレーションの処理の高速化、故障シミュ
レーションのための回路変更処理の容易性を目的として
、 故障シミュレーションの対象回路に含まれる論理ゲート
に関し、各入力線毎に入力する故障を割り付けた一定語
長の入力信号を解析し論理値を得る入力値解析部と、故
障の検出信号により故障の検出状況を保持し、検出され
た故障を未検出故障の集合から削除する検出状況管理部
と、前記入力信号の論理値および、故障の検出状況から
未検出故障の有効性を判定し、通知されたキャリーと当
該判定結果に基づき、自己の故障状況を表わすキャリー
を生成通知し、かつ故障変更クロックで故障を挿入する
有効性判定・故障挿入部と、前記入力信号と故障の挿入
状況により当該論理ゲートの出力信号を生成する出力値
生成部を有する構成である。
[Detailed description of the invention] [Table of contents] Overview Industrial field of application Prior art (Figure 10) Problem to be solved by the invention (Figure 10) Means for solving the problem (Figure 1) Effect ( Fig. 1) Example (Fig. 2 to Fig. 10) Effects of the invention [Summary] Regarding the test pattern used in the process of inspecting the operation of an LSI chip, how much detection rate does the test pattern have? Regarding the fault simulation method to be investigated, for the purpose of speeding up the processing of the fault simulation and making it easier to change the circuit for the fault simulation, input for each input line regarding the logic gate included in the target circuit of the fault simulation is required. An input value analysis unit that analyzes an input signal with a fixed word length to which a fault has been assigned and obtains a logical value, and a detection unit that maintains the fault detection status using fault detection signals and deletes detected faults from the set of undetected faults. A status management unit determines the validity of the undetected fault from the logic value of the input signal and the fault detection status, and generates and reports a carry representing the own failure status based on the notified carry and the determination result. , and a validity determination/fault insertion unit that inserts a fault using a fault change clock, and an output value generation unit that generates an output signal of the logic gate based on the input signal and the fault insertion status.

(産業上の利用分野) 本発明は、LSIチップの動作を検査するための工程で
使用するテストパターンにおいて、当該テストパターン
がどの程度の検出率を持つかを調査する故障シミュレー
ション方式に係り、特に故障シミュレーションの対象回
路に入力パターンを順次入力し、対象回路に単一縮退故
障を挿入し、対象回路の出力値を検査して故障が検出さ
れると故障の検出信号および故障変更クロックを発行し
、入力パターンを順次更新して対象回路の故障検査を模
擬する故障シミュレーション方式に関する。
(Industrial Application Field) The present invention relates to a failure simulation method for investigating the detection rate of a test pattern used in a process for inspecting the operation of an LSI chip. Input patterns are sequentially input into the target circuit for fault simulation, a single stuck-at fault is inserted into the target circuit, the output value of the target circuit is inspected, and when a fault is detected, a fault detection signal and a fault change clock are issued. , relates to a fault simulation method that simulates fault testing of a target circuit by sequentially updating input patterns.

LSIを製造するとき、チップが設計通り製造されたか
どうかテストする工程が必要である。
When manufacturing an LSI, a test process is required to determine whether the chip has been manufactured as designed.

チップが正しく動作するか検査するための入力パターン
(テストパターン)の作成は、現在、自動化が進んでい
るが、回路によっては、それだけでは高い検出率が得ら
れず、一部人手によりパターンを作成する状況も少なく
ない。
Currently, the creation of input patterns (test patterns) to check whether the chip operates correctly is increasingly automated, but depending on the circuit, it is not possible to obtain a high detection rate with just that, and some patterns are created manually. There are many situations where this is the case.

作成されたテストパターンがどの程度の検出率を持つか
は故障シミュレーションにより確かめられる。近年の回
路の大規模化にともない、より大規模な回路に対する故
障シミュレーションをより高速に実行するシステムの要
求が高まってきている。
The detection rate of the created test pattern can be confirmed by fault simulation. As circuits have become larger in size in recent years, there has been an increasing demand for systems that can perform fault simulations on larger circuits at higher speeds.

(従来の技術) 従来、故障シミュレーションを行う場合第10図(a)
に示すように、シミュレーションの対象となる回路42
に入力するパターンをあらかじめ用意し、入力パターン
を発生する入力パターン発生部41により順次対象回路
42に適用する。故障挿入部43は、対象回路中に仮定
される故障モデルに応じて順次故障を挿入する。出力値
検査部44は、対象回路42の出力を観測して、入力パ
ターン発生部41の発生したパターンが故障挿入部43
の挿入した故障を検出したかどうか検査する。制御部4
5は出力値検査部44の結果を判断して、入力パターン
発生部41に対する入力パターンの取り替えの制御や、
故障挿入部43に対する故障の取り替えの制御を行う。
(Prior art) Conventionally, when performing failure simulation, Figure 10 (a)
As shown in the figure, the circuit 42 to be simulated
A pattern to be inputted to the input pattern is prepared in advance and sequentially applied to the target circuit 42 by an input pattern generating section 41 that generates an input pattern. The fault insertion unit 43 sequentially inserts faults into the target circuit according to the assumed fault model. The output value inspection unit 44 observes the output of the target circuit 42 and confirms that the pattern generated by the input pattern generation unit 41 is detected by the fault insertion unit 43.
Check whether the inserted fault has been detected. Control unit 4
5 judges the result of the output value inspection section 44 and controls the replacement of the input pattern to the input pattern generation section 41;
Controls replacement of a fault in the fault insertion unit 43.

ここで、対象回路42に関して従来第1O図(b)に示
すような故障挿入法があった。
Here, regarding the target circuit 42, there has conventionally been a fault insertion method as shown in FIG. 1O(b).

この方式では対象回路中の故障を仮定する信号線に故障
挿入モジュールVC(ValueConverter 
 51,52,53.54)を埋め込み、これをキャリ
ーで接続しVCチエイン55を構成し順次故障を取り替
えていた。
In this method, a fault insertion module VC (Value Converter) is inserted into a signal line that assumes a fault in the target circuit.
51, 52, 53, and 54) were embedded and connected with a carry to form a VC chain 55, and failures were successively replaced.

(発明が解決しようとする課題) 近年の対象回路の大規模化に伴ない、大規模な回路に対
する故障シミュレーションを実用時間内で実行できるシ
ステムの要求が強まっている。
(Problems to be Solved by the Invention) With the recent increase in the scale of target circuits, there is an increasing demand for a system that can execute failure simulation for large-scale circuits within practical time.

ところで、テストパターンを自動生成する際、得られた
パターンに対する等価故障を検出するために故障シミュ
レーションを行う。このテスト生成のアルゴリズムもソ
フトウェアにより実現され大形計算機上で運用されてい
るが、大規模な対象回路に対応できる高速なシステムが
強く望まれている。
By the way, when automatically generating a test pattern, a fault simulation is performed to detect equivalent faults for the obtained pattern. This test generation algorithm is also realized by software and operated on large-scale computers, but there is a strong desire for a high-speed system that can handle large-scale target circuits.

ここで、処理の高速化や大規模な対象回路に適用するた
めに、第10図(a)に示す各部を回路として構築し、
その回路全体の動作を論理シミュレーション専用マシン
で高速に模擬する方式が考案されている(特開昭62−
225972号公報参照)。当該方式においては第10
図(b)に示す故障挿入法があったが、一般に対象回路
中に仮定される故障は論理ゲート数の3倍程度であり、
この故障挿入法においては、その数に相当するVCを対
象回路中に追加設定する作業が必要であった。
Here, in order to speed up the processing and apply it to a large-scale target circuit, each part shown in FIG. 10(a) is constructed as a circuit,
A method has been devised to quickly simulate the operation of the entire circuit using a machine dedicated to logic simulation (Japanese Patent Application Laid-Open No. 1983-1999-1).
(See Publication No. 225972). In this method, the 10th
There was a fault insertion method shown in Figure (b), but the number of faults assumed in the target circuit is generally about three times the number of logic gates.
In this fault insertion method, it was necessary to additionally set VCs corresponding to the number of faults in the target circuit.

また、VCが実際に故障を挿入する際、各VCは自分の
担当する故障の検出状況と、故障を挿入する信号線の正
常値から、伝播する可能性のある故障のみを挿入する。
Further, when a VC actually inserts a fault, each VC inserts only faults that are likely to propagate based on the fault detection status for which it is responsible and the normal value of the signal line into which the fault is inserted.

これらの局所性は高々1本の信号線上でのみ成立するも
のであり、実際には、論理ゲートの入力信号線上で有効
であっても、そのゲートの出力にさえ伝播しない無駄な
故障を挿入する場合がある。
These localities only hold on one signal line at most, and in reality, even if they are valid on the input signal line of a logic gate, they may insert useless faults that do not even propagate to the output of that gate. There are cases.

以上の問題点を解決すべく本発明は、論理ゲートレベル
での故障挿入の有効性の判断を可能にし、無駄なシミュ
レーションのステップを除くことにより、故障シミュレ
ーションの処理を高速化し、また、故障シミュレーショ
ンのための回路変換処理は、単にモジュールの置き換え
処理のみとした故障シミュレーション方式を提供するこ
とを目的としてなされた。
In order to solve the above problems, the present invention makes it possible to judge the effectiveness of fault injection at the logic gate level, speeds up fault simulation processing by eliminating unnecessary simulation steps, and improves fault simulation. The purpose of the circuit conversion processing for this was to provide a failure simulation method that only involved module replacement processing.

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

以上の技術的課題を解決するため本発明は第1図に示す
ように、故障シミュレーションの対象回路に入力パター
ンを順次入力し、対象回路に単一縮退故障を挿入し、対
象回路の出力値を検査して故障が検出されると故障の検
出信号および故障変更クロックを発行し、入力パターン
を順次更新して対象回路の故障検査を模擬する故障シミ
ュレーション方式において、 当該対象回路に含まれる
論理ゲートに関し、各入力線毎に入力する故障を割り付
けた一定語長の入力信号を解析し論理値を得る入力値解
析部1と、故障の検出信号により故障の検出状況を保持
し、検出された故障を未検出故障の集合から削除する検
出状況管理部2と、前記入力信号の論理値および、故障
の検出状況から未検出故障の有効性を判定し、通知され
たキャリーと当該判定結果に基づき、自己の故障状況を
表わすキャリーを生成通知し、かつ故障変更クロックで
故障を挿入する有効性判定・故障挿入部3と、前記入力
信号と故障の挿入状況により当該論理ゲートの出力信号
を生成する出力値生成部4を有する。
In order to solve the above technical problems, the present invention, as shown in FIG. In the fault simulation method, when a fault is detected during inspection, a fault detection signal and a fault change clock are issued, and the input pattern is sequentially updated to simulate the fault test of the target circuit. , an input value analysis section 1 that analyzes an input signal of a fixed word length to which a fault is assigned to each input line and obtains a logical value; and an input value analysis section 1 that obtains a logical value by analyzing an input signal of a fixed word length to which a fault is input for each input line; The detection status management unit 2 deletes the undetected failures from the set of undetected failures, determines the validity of the undetected failures based on the logic value of the input signal and the detection status of the failure, and based on the notified carry and the determination result, detects the undetected failures. a validity determination/fault insertion unit 3 that generates and notifies a carry representing a fault situation and inserts a fault using a fault change clock; and an output value that generates an output signal of the logic gate based on the input signal and the fault insertion state. It has a generation section 4.

(作用) 本発明に係る故障シミュレーション方式の動作を第1図
で説明する。まず、1語長が例えばWビットの場合、故
障を仮定する論理ゲートを(w−2)個の部分集合に分
割し、各部分集合に属する論理ゲートをキャリーで接続
し、順次故障を挿入する。
(Operation) The operation of the failure simulation method according to the present invention will be explained with reference to FIG. First, if one word length is W bits, for example, divide the logic gate that assumes a fault into (w-2) subsets, connect the logic gates belonging to each subset with carries, and sequentially insert faults. .

入力値解析部1は各入力線毎に入力する故障を割り付け
たWビットの符号を解析し論理値を得る。現在故障を挿
入している論理ゲートはキャリーを立ち上げ、次に故障
を挿入する論理ゲートを求める。キャリーを受は取った
論理ゲートは有効性判定部3が前記入力値解析部1で求
めた論理値に係る正常値と故障の検出状況から、論理ゲ
ートの出力に伝播する可能性のある未検出故障があるか
どうか判定する。すなわち、正常値により論理演算を行
った結果(出力の正常値)と、故障を仮定した場合の演
算の結果が異なるとき、その故障は有効であると判定す
る。有効な故障が存在するときキャリーを取り込み、そ
うでないときキャリーを次の論理ゲートに渡す。次の故
障変更クロックで、当該論理ゲートの故障挿入部3は故
障を挿入することを出力値生成部4に知らせる。
The input value analysis unit 1 analyzes the sign of the W bit to which a fault is assigned, which is input for each input line, and obtains a logical value. The logic gate that is currently inserting a fault raises a carry, and the logic gate that will insert the fault next is sought. The logic gate that receives or receives a carry is determined by the validity determination unit 3 to determine whether the logic gate is undetected or not, which may be propagated to the output of the logic gate, based on the normal value and failure detection status related to the logic value obtained by the input value analysis unit 1. Determine whether there is a failure. That is, when the result of a logical operation using a normal value (normal value of the output) is different from the result of an operation assuming a fault, it is determined that the fault is valid. Takes a carry when a valid fault exists, otherwise passes the carry to the next logic gate. At the next fault change clock, the fault insertion section 3 of the logic gate in question notifies the output value generation section 4 that a fault will be inserted.

また、キャリーを立ち上げ、次の論理ゲートに渡す。出
力値生成部4は全入力信号の正常値から出力の正常値を
求めるとともに、故障を挿入する故障割り付けのフラグ
を立てる。出力のその他の故障に対するフラグは、入力
の正常値と故障値(正常値とフラグから求める)との演
算を行い、出力の正常値と異なるとき1、そうでないと
き0とする。
It also launches a carry and passes it to the next logic gate. The output value generation unit 4 determines the normal value of the output from the normal values of all input signals, and sets a flag for fault assignment to insert a fault. Flags for other failures in the output are set by calculating the normal value of the input and the fault value (obtained from the normal value and the flag), and set to 1 if different from the normal value of the output, and 0 otherwise.

故障シミュレーションの結果、出力値検査で故障の検出
の判定を行った後、故障変更クロックが発行され、検出
状況管理部2は、現在挿入中の故障の検出信号により故
障が検出されたとき、フォールトドロップ(検出された
故障を未検出故障の集合から削除)を行う。故障挿入部
3は故障の挿入を止めることを出力値生成部4に知らせ
、出力値生成部4は故障の挿入フラグを0にする。
As a result of the fault simulation, after determining whether a fault has been detected through output value inspection, a fault change clock is issued, and the detection status management unit 2 detects a fault when a fault is detected by the fault detection signal currently being inserted. Drop (delete detected faults from the set of undetected faults). The fault insertion unit 3 notifies the output value generation unit 4 that fault insertion will be stopped, and the output value generation unit 4 sets the fault insertion flag to 0.

〔実施例〕〔Example〕

続いて、本発明の実施例について説明する。 Next, examples of the present invention will be described.

まず第4図〜第7図の実施例に係る構成図を説明する。First, the configuration diagrams according to the embodiment shown in FIGS. 4 to 7 will be explained.

対象回路において故障を仮定する論理ゲートはG1、G
2である。出力値検査部25は、対象回路の出力を観測
して、入力パターン発生部15の発生したパターンがG
l、G2の挿入した故障を検出したかどうか検査する。
The logic gates assumed to be faulty in the target circuit are G1 and G.
It is 2. The output value inspection unit 25 observes the output of the target circuit and determines whether the pattern generated by the input pattern generation unit 15 is G
Check whether the inserted fault of G2 is detected.

当該検出結果に基づき制御部35より検出信号および故
障変更クロックを発行し、また入力パターン発生部15
に対する入力パターンの取り替えの制御を行なう。入力
パターン発生部15では順次大カバターンを発生させ対
象回路に適用する。
Based on the detection result, the control unit 35 issues a detection signal and a failure change clock, and the input pattern generation unit 15
Controls the replacement of input patterns for . The input pattern generating section 15 sequentially generates large cover turns and applies them to the target circuit.

ところで、本発明に係り1語長Wビットの場合(w−2
)個の故障割り付けを可能にした。例として1語長が4
ビツトの場合の故障割り付は法を第3図に示す。
By the way, according to the present invention, in the case of one word length W bits (w-2
) fault assignment is now possible. For example, one word length is 4
The fault assignment method for bits is shown in Figure 3.

続いて入力値解析部21では、例えば第3図の故障割り
付は法から全入力信号を解析し論理値に係る正常値を求
め有効性判定部23に伝える。
Next, in the input value analysis section 21, for example, in the fault assignment shown in FIG.

検出信号は2ビツト(Dtct)で与えられるため、そ
れに対応して、検出状況管理部22は論理ゲートの各入
出力信号線上の故障に対応した2ビツト(SA)のレジ
スタを持ち故障の検出状況を保持する。検出信号および
検出状況の仕様を第5図(b)に示す。
Since the detection signal is given in 2 bits (Dtct), the detection status management section 22 has a 2-bit (SA) register corresponding to the failure on each input/output signal line of the logic gate, and records the detection status of the failure. hold. The specifications of the detection signal and detection situation are shown in FIG. 5(b).

キャリーは2ビツト(Ca、C1)で構成される。また
、有効性判定・故障挿入部23は内部状態として2ビツ
ト(Ef、Df)を持つ、これらの信号の仕様を第5図
(C)に示す。
Carry consists of 2 bits (Ca, C1). Further, the validity determination/fault insertion section 23 has 2 bits (Ef, Df) as an internal state, and the specifications of these signals are shown in FIG. 5(C).

有効性判定部23は論理ゲートの機能に応じて出力に伝
達する可能性のある未検出故障を判定する。第5図(d
)に2人力AND、第6図(e)に2人力0R1(f)
に2人力XOR1(g)にNOTの有効性判定条件を示
す。図中A、Bは入力信号線、01は出力信号線を表す
。また、・は論理ゲートの出力に故障が伝播することを
示し、Oは論理値Xを持つ入力の値がOまたは1に決ま
れば故障が伝播する可能性があることを示し、故障出力
値はYとする。図中(*1)、(*2)はOの故障を挿
入すると故障出力値がXになり、・の故障を挿入すると
故障出力値は1または0になるため、故障の検出状況に
よって出力が変わる。
The validity determining unit 23 determines undetected faults that may be transmitted to the output depending on the function of the logic gate. Figure 5 (d
) is 2-man power AND, Figure 6 (e) is 2-man power 0R1 (f)
The conditions for determining the effectiveness of NOT are shown in 2-manpower XOR1(g). In the figure, A and B represent input signal lines, and 01 represents an output signal line. In addition, . indicates that the fault will propagate to the output of the logic gate, O indicates that there is a possibility that the fault will propagate if the value of the input with logic value X is set to O or 1, and the fault output value is Let it be Y. In the diagram (*1) and (*2), when the fault O is inserted, the fault output value becomes X, and when the fault is inserted, the fault output value becomes 1 or 0, so the output changes depending on the fault detection status. change.

ところで、ANDゲート(d)のA、B、およびOtの
0縮退故障、ORゲート(e)のA、B、およびOtの
1縮退故障、NOTゲート(g)のAの0縮退故障とO
tの1縮退故障、およびAの1縮退故障とOtのO縮退
故障はそれぞれ等価故障であるから、検出状況管理部2
2においてこれらの故障に対応するレジスタを共有する
ことができる。また、有効性判定部23においてもまと
めて判定することができる。
By the way, the AND gate (d) has a stuck-at-0 fault at A, B, and Ot, the OR gate (e) has a stuck-at-1 fault at A, B, and Ot, and the NOT gate (g) has a stuck-at-0 fault at A and O.
Since the stuck-at-1 fault at t, the stuck-at-1 fault at A, and the stuck-at O fault at Ot are equivalent faults, the detection status management unit 2
2, the registers corresponding to these faults can be shared. Further, the validity determination unit 23 can also perform the determination all at once.

さらに、有効性判定部23は、第6図(h)に示すよう
に、キャリーの入力が01=1で、かつ、各入力に対し
て、Oまたは・に示す故障が未検出のとき、有効な故障
が存在すると判断してEf=1とする。故障挿入部23
は、第6図(i)に示すように、故障変更クロックが発
行されたとき、有効な故障が存在する(Ef=1)なら
ば故障を挿入し1次のクロックで挿入を止める。キャリ
ーの出力は第7図(j)に示すように、現在故障を挿入
している論理ゲートがCI=1とし、次に有効な未検出
故障を持つ論理ゲートが01を取り込む。また、自分以
前の論理ゲートに未検出故障が無くなったときCa=1
とする。
Furthermore, as shown in FIG. 6(h), the validity determining unit 23 determines that the carry is valid when the carry input is 01=1 and the failure indicated by O or · is not detected for each input. It is determined that a failure exists and Ef=1. Failure insertion part 23
As shown in FIG. 6(i), when a fault change clock is issued, if a valid fault exists (Ef=1), a fault is inserted and the insertion is stopped at the primary clock. As shown in FIG. 7(j), the carry output is set to CI=1 by the logic gate into which a fault is currently inserted, and 01 by the logic gate having the next valid undetected fault. Also, when there are no undetected faults in the logic gates before it, Ca=1
shall be.

検出状況管理部22は、第7図(k)に示すように、故
障変更クロックが発行されたとき、検出信号に応じて挿
入していた故障に対応するレジスタの値を更新する。そ
れ以外の場合は前の状態を保持する。
As shown in FIG. 7(k), the detection status management unit 22 updates the value of the register corresponding to the inserted fault in response to the detection signal when the fault change clock is issued. Otherwise, the previous state is maintained.

出力値生成部24は、入力値と故障の挿入状況から出力
値を求める。当該論理ゲートの挿入する故障値は、その
ゲートの機能に応じて第5図(d)〜第6図(g)より
求め、故障を挿入するビット位置のフラグを立てる。そ
の他の故障値は、入力の正常値とフラグ入力から入力の
故障値を求め、それにより出力値を演算する。その結果
、正常出力値と異なる場合には出力信号のフラグを立て
る。
The output value generation unit 24 obtains an output value from the input value and the fault insertion status. The fault value to be inserted into the logic gate is determined from FIGS. 5(d) to 6(g) according to the function of the gate, and a flag is set at the bit position where the fault is inserted. For other failure values, input failure values are determined from the input normal values and flag inputs, and output values are calculated based on the input failure values. If the result is different from the normal output value, a flag is set for the output signal.

3人力以上の論理ゲートについては第4図〜第7図の拡
張により同様にモジュールを生成する。
For logic gates that require three or more manpower, modules are generated in the same manner by the expansion shown in FIGS. 4 to 7.

次に、本発明に係る故障割り付は法について説明する。Next, the fault allocation method according to the present invention will be explained.

ここで故障割り付けとは、1語長がWビットの場合1個
の正常回路と(w−2)個の故障回路をWビットの符号
で表すことをいう。つまり、正常回路の論理値(正常値
)を符号2ビツトで表現し、故障回路の論理値と正常回
路の論理値との差を1ビツトの符号を用いて正常値と異
なるかどうかのみを表すことにより、1語長Wビットの
場合(w−2)個の故障割り付けができるのである。第
2図(b)に1語長をWビットとしたときの符号への故
障割り付は法を示す。正常回路の論理値(正常値)に2
ビツトを割り当てOll、Xの3値を表す。並列に挿入
される故障に対してはフラグとして1ビツトのみ割り当
て、故障回路の論理値(故障値)が正常値と異なる場合
1、同じ場合Oとする。これにより従来第2図(a)の
2倍の故障を一語中に割り付けることができるようにな
った。
Here, fault assignment means that when one word length is W bits, one normal circuit and (w-2) faulty circuits are represented by a code of W bits. In other words, the logical value (normal value) of a normal circuit is expressed with a 2-bit sign, and the difference between the logical value of a faulty circuit and the logical value of a normal circuit is expressed using a 1-bit sign, only indicating whether it is different from the normal value. Therefore, in the case of one word length W bits, (w-2) fault assignments can be made. FIG. 2(b) shows the modulus of fault assignment to codes when the length of one word is W bits. 2 for the logic value (normal value) of a normal circuit
Assign bits to represent the three values Oll and X. Only one bit is assigned as a flag to a fault inserted in parallel, and it is set to 1 if the logic value (failure value) of the faulty circuit is different from the normal value, and O if it is the same. As a result, it is now possible to assign twice as many faults to one word as in the conventional method shown in FIG. 2(a).

ここで、第3図に示す1語長が4ビツトの場合の符号に
対する故障割り付は法を説明する。
Here, the method for assigning faults to codes in the case where one word length is 4 bits as shown in FIG. 3 will be explained.

第3図で[符号]は論理ゲートに入力される外部信号、
[論理値]は符号を入力値解析部で解析した値である。
In Figure 3, [symbol] is an external signal input to the logic gate,
[Logical value] is a value obtained by analyzing the sign by the input value analysis section.

この場合並列に2個の故障を挿入することができる。正
常値がOまたは1のとき、および、正常値がXで故障の
影響が伝播していないときの各符号は従来の方式におけ
る符号と1対1に対応する(■〜■)。正常値がXで故
障値のいずれかがXでないとき、および、正常値が0ま
たは1で故障値のいずれかがXのとき、故障の検出状況
は不明となる(■〜■)。第3図(a)は、正常値がX
で故障値がXでないとき、その故障を判別する故障割り
付は法を示す。この方法では、正常値が0または1で故
障値がXのとき、その正常値は判断できるが、どの故障
の影響が伝播する可能性があるかという情報は失われる
(Φ〜■)。また、故障値の少なくとも1つがXのとき
、それ以外の故障で正常値と異なる故障値が伝播してい
るものは、その区別が失われる(■[相]。
In this case, two faults can be inserted in parallel. When the normal value is O or 1, and when the normal value is X and the influence of the failure is not propagated, each code corresponds one-to-one with the code in the conventional system (■ to ■). When the normal value is X and one of the fault values is not X, or when the normal value is 0 or 1 and one of the fault values is X, the fault detection status is unknown (■ to ■). In Figure 3(a), the normal value is
When the fault value is not X, the fault assignment that determines the fault shows the modulus. In this method, when the normal value is 0 or 1 and the fault value is X, the normal value can be determined, but information regarding which fault influence may propagate is lost (Φ to ■). Furthermore, when at least one of the fault values is X, the distinction between other faults in which fault values different from normal values are propagated is lost (■[phase]).

■■)。第3図(b)は、正常値がOまたは1で故障値
がXのとき、その故障を判別する(■〜■)符号化法を
示す。この符号化法では、正常値がXで故障値がXでな
いとき、その正常値は判断できるが、どの故障の影響が
伝播する可能性があるかという情報は失われる(■〜■
)。第3図(a)、(b)いずれの方法も失われる情報
があるが、それにより意味を誤解することはない。
■■). FIG. 3(b) shows a coding method (■ to ■) for determining a failure when the normal value is O or 1 and the failure value is X. With this encoding method, when the normal value is X and the faulty value is not
). Although some information is lost in both methods shown in FIGS. 3(a) and 3(b), the meaning will not be misunderstood.

つぎに、具体例により故障シミュレーションの処理時間
を求め従来例との比較を行なう。第4図(a)の本発明
の実施例に係る故障シミュレーションの結果を第9図(
b)に、第10図(b)の従来法に係る結果を第8図(
a)に示す。簡素化のため故障は同時に一個のみの挿入
とする。
Next, we will calculate the processing time for failure simulation using a specific example and compare it with the conventional example. The results of the fault simulation according to the embodiment of the present invention shown in FIG. 4(a) are shown in FIG.
Figure 8 (b) shows the results of the conventional method in Figure 10 (b).
Shown in a). For simplicity, only one failure is inserted at a time.

図中、Fc1kは故障変更クロック、Pc1kは入力パ
ターン変更クロックを表す。出力値において、Dは正常
値=1、故障値=0を表し、Dbは正常値=O1故障値
=1を表す。各VCは、Df=1のとき故障を挿入する
。5aO11は1のとき検出済みを意味する。図中・は
値Oを意味する。理解しやすいように、挿入中の故障を
図中5aO11の欄に@で示す。第9図(b)において
は、故障数を第10図(b)とあわせるため、論理ゲー
トG1、G2の入力側にのみ故障を仮定するようにした
。すなわち、出力側の故障については、検出状況管理部
のレジスター値を初期的に検出済みにセットした。
In the figure, Fc1k represents a failure change clock, and Pc1k represents an input pattern change clock. In the output values, D represents normal value=1 and failure value=0, and Db represents normal value=O1 failure value=1. Each VC injects a fault when Df=1. When 5aO11 is 1, it means that it has been detected. In the figure, * means the value O. For easy understanding, failures during insertion are indicated by @ in the column 5aO11 in the figure. In FIG. 9(b), in order to match the number of failures with FIG. 10(b), failures are assumed only on the input sides of logic gates G1 and G2. That is, for a failure on the output side, the register value of the detection status management unit is initially set to detected.

入力パターンとしては、(S、A、B)=(0,O,O
)、(0,0,1)、・・・ (1゜1.1)を適用す
る。
The input pattern is (S, A, B) = (0, O, O
), (0,0,1),... (1°1.1) is applied.

従来法第8図(a)では、まず、時刻1にPc1kが発
行され最初のパターン(0,O,O)を入力する。時刻
2よりFc1kが発行され各VCが順次有効な故障を挿
入する。この入力パターンでは4回の故障挿入の結果、
VC54の1縮退故障のみが検出される。時刻5のFc
1kで最後のVCが故障を挿入したので、時刻6でPc
1kを発行し次のパターン(0,0,1)を入力する。
In the conventional method shown in FIG. 8(a), first, Pc1k is issued at time 1 and the first pattern (0, O, O) is input. From time 2, Fc1k is issued and each VC sequentially inserts a valid fault. With this input pattern, as a result of four fault insertions,
Only a stuck-at-1 fault in VC54 is detected. Fc at time 5
Since the last VC inserted a fault at 1k, Pc
Issue 1k and input the next pattern (0, 0, 1).

パター:/ (0,1,0) におイテは、vC53の
正常入力値は1であるが0縮退故障は検出済み、VC5
4の正常入力値は0であるが1縮退故障は検出済みのた
めこの2つのVCは故障を挿入しない。同様の処理を繰
り返し実行し、時刻27で全故障を検出したので処理を
終了する。一方、本発明による方式第9図(b)では、
時刻2で発行されるFc1kにより故障を挿入するのは
、G2である。これは、G1の入力が(0,0)であり
、第5図(d)により入力側の故障は有効でないので、
G1がキャリーC1をスルーするためである。次のパタ
ーンでは、G2の入力は、(1゜1)となり、時刻4で
、入力Cの0縮退故障と、入力dの0縮退故障を同時に
検出することができる。その後、同様の処理を繰り返し
、時刻16で全故障を検出して処理を終了する。このよ
うに、本発明による方式を用いると、より少ないクロッ
ク数で処理を終了することが可能である。
Putter: / (0,1,0) The normal input value of vC53 is 1, but a stuck-at-0 fault has been detected, VC5
The normal input value of 4 is 0, but the stuck-at-1 fault has already been detected, so no fault is inserted into these two VCs. The same process is repeated and all failures are detected at time 27, so the process ends. On the other hand, in the method according to the present invention FIG. 9(b),
It is G2 that inserts a fault by Fc1k issued at time 2. This is because the input of G1 is (0,0) and the failure on the input side is not valid according to Figure 5(d).
This is because G1 passes carry C1. In the next pattern, the input of G2 becomes (1°1), and at time 4, a stuck-at-0 fault at input C and a stuck-at-0 fault at input d can be detected simultaneously. Thereafter, the same process is repeated, and at time 16, all failures are detected and the process ends. In this way, by using the method according to the present invention, it is possible to complete processing with a smaller number of clocks.

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

以上説明したように、本発明では論理ゲートレベルで故
障挿入の有効性の判断を可能にし、その出力に影響する
故障のみを挿入する機能を持たせることにより、無駄な
シミュレーションのステップが除かれ、大規模な回路に
対する故障シミュレーションを高速に実行することが可
能となった。
As explained above, in the present invention, by making it possible to judge the effectiveness of fault insertion at the logic gate level and having the function of inserting only faults that affect the output, unnecessary simulation steps can be eliminated. It has become possible to perform fault simulations on large-scale circuits at high speed.

また回路の論理ゲート自身に故障を挿入する機能を持た
せたことにより、故障シミュレーションのための回路変
更処理は単にモジュールの置き換え処理のみで行なえ、
全体のモジュール数が少なくてすむようになった。
In addition, by providing a function to insert faults into the circuit's logic gate itself, circuit changes for fault simulation can be performed simply by replacing modules.
The overall number of modules can now be reduced.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の原理ブロック図、第2図、第3図は実
施例に係る説明図、第4図〜第7図は実施例に係る構成
図、第8図、第9図はシミュレーション結果、第10図
は従来例に係るブロック図である。 1.21.・・・入力値解析部 2.22.・・・検出状況管理部 3.23.・・・有効性判定・故障挿入部4.24.・
・・出力値生成部 15・・・入力パターン発生部 25・・・出力値検査部 35・・・制御部 「−−−−−−I   L  カ イム 挟11  )
原理110.77の 第 l 図 冥)琶AfJ +てイ叱ろftA7<その1) 第 図 <1) (b) ji’ 扼S += 4ろ5え明閉(vn2)検出信号
および検出状況の仕様 (C)、キャリー信号およびf2I性判定II/故11
11入SII!認状ツの仕様火啜り伊11C孫ろ鎮Aの
(ダハ2〕 ンミユレーシヨン秀名束(¥の2) 第 9  ぼ
Figure 1 is a principle block diagram of the present invention, Figures 2 and 3 are explanatory diagrams of an embodiment, Figures 4 to 7 are configuration diagrams of an embodiment, and Figures 8 and 9 are simulations. As a result, FIG. 10 is a block diagram of the conventional example. 1.21. ...Input value analysis section 2.22. ...Detection status management section 3.23. ...Efficacy determination/fault insertion section 4.24.・
...Output value generation section 15...Input pattern generation section 25...Output value inspection section 35...Control section
Principle 110.77, Fig. 1) 琶 AfJ + Tei scolding ftA7<Part 1) Fig. Specification (C), carry signal and f2I gender determination II/Failure 11
11th SII! Specifications of the certificate Fire sip Italian 11C Sunrochin A's (Dach 2) Luminescence Hidena bundle (¥2) No. 9

Claims (1)

【特許請求の範囲】 故障シミュレーションの対象回路に入力パターンを順次
入力し、対象回路に単一縮退故障を挿入し、対象回路の
出力値を検査して故障が検出されると故障の検出信号お
よび故障変更クロックを発行し、入力パターンを順次更
新して対象回路の故障検査を模擬する故障シミュレーシ
ョン方式において、 当該対象回路に含まれる論理ゲートに関し、各入力線毎
に入力する故障を割り付けた一定語長の入力信号を解析
し論理値を得る入力値解析部(1)と、 故障の検出信号により故障の検出状況を保持し、検出さ
れた故障を未検出故障の集合から削除する検出状況管理
部(2)と、 前記入力信号の論理値および、故障の検出状況から未検
出故障の有効性を判定し、通知されたキャリーと当該判
定結果に基づき、自己の故障状況を表わすキャリーを生
成通知し、かつ故障変更クロックで故障を挿入する有効
性判定・故障挿入部(3)と、 前記入力信号と故障の挿入状況により当該論理ゲートの
出力信号を生成する出力値生成部(4)を有することを
特徴とする故障シミュレーション方式。
[Claims] Input patterns are sequentially input to a target circuit for fault simulation, a single stuck-at fault is inserted into the target circuit, and the output value of the target circuit is inspected. When a fault is detected, a fault detection signal and In a fault simulation method that issues a fault change clock and sequentially updates the input pattern to simulate fault inspection of the target circuit, a fixed word that assigns a fault to be input to each input line regarding the logic gate included in the target circuit is used. an input value analysis unit (1) that analyzes a long input signal and obtains a logical value, and a detection status management unit that maintains the failure detection status based on the failure detection signal and deletes the detected failure from the set of undetected failures. (2) Determine the validity of the undetected fault from the logical value of the input signal and the fault detection status, and generate and notify a carry representing the self-failure status based on the notified carry and the determination result. , and includes a validity determination/fault insertion unit (3) that inserts a fault using a fault change clock, and an output value generation unit (4) that generates an output signal of the logic gate based on the input signal and the fault insertion status. A failure simulation method featuring:
JP1264053A 1989-10-12 1989-10-12 Trouble simulation system Pending JPH03125980A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1264053A JPH03125980A (en) 1989-10-12 1989-10-12 Trouble simulation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1264053A JPH03125980A (en) 1989-10-12 1989-10-12 Trouble simulation system

Publications (1)

Publication Number Publication Date
JPH03125980A true JPH03125980A (en) 1991-05-29

Family

ID=17397890

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1264053A Pending JPH03125980A (en) 1989-10-12 1989-10-12 Trouble simulation system

Country Status (1)

Country Link
JP (1) JPH03125980A (en)

Similar Documents

Publication Publication Date Title
US4897842A (en) Integrated circuit signature analyzer for testing digital circuitry
US4862399A (en) Method for generating efficient testsets for a class of digital circuits
KR100936855B1 (en) Manufacturing method and apparatus to avoid prototype-hold in asic/soc manufacturing
US6058493A (en) Logging and reproduction of automated test operations for computing systems
JP4266226B2 (en) Design verification system and method using checker validated selectively
US7831863B2 (en) Method for enhancing the diagnostic accuracy of a VLSI chip
US20030018461A1 (en) Simulation monitors based on temporal formulas
US20070180414A1 (en) Facilitating structural coverage of a design during design verification
CN101263498A (en) Development of assertions for integrated circuit design simulation
Wong Digital circuit testing: A Guide to DFT and Other Techniques
JPH05505271A (en) How to test and debug computer programs
Ahmad et al. Design of a realistic test simulator for a built-in self test environment
US6721914B2 (en) Diagnosis of combinational logic circuit failures
US6934656B2 (en) Auto-linking of function logic state with testcase regression list
US6810507B2 (en) Method and apparatus for isolating the root of indeterminate logic values in an HDL simulation
CN115421020A (en) Method for generating test signal of integrated circuit and test method
JPH03125980A (en) Trouble simulation system
Toth et al. Automated database-driven digital testing
Safarpour et al. Failure triage: The neglected debugging problem
US7277840B2 (en) Method for detecting bus contention from RTL description
US20190325090A1 (en) Automatic simulation failures analysis flow for functional verification
El-Kharashy et al. A novel assertions-based code coverage automatic cad tool
JP2672893B2 (en) Failure simulation processor
JPH08180095A (en) Delay fault simulation method and delay fault analyzing device
Deneux et al. Random testing of LSI self-checking circuits