JPH06102321A - Failure simulation method for logic circuit - Google Patents

Failure simulation method for logic circuit

Info

Publication number
JPH06102321A
JPH06102321A JP4253119A JP25311992A JPH06102321A JP H06102321 A JPH06102321 A JP H06102321A JP 4253119 A JP4253119 A JP 4253119A JP 25311992 A JP25311992 A JP 25311992A JP H06102321 A JPH06102321 A JP H06102321A
Authority
JP
Japan
Prior art keywords
logic
failure
logic gate
level
state
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
JP4253119A
Other languages
Japanese (ja)
Inventor
Masaaki Hasegawa
雅昭 長谷川
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.)
NEC IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
Priority to JP4253119A priority Critical patent/JPH06102321A/en
Publication of JPH06102321A publication Critical patent/JPH06102321A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

PURPOSE:To judge the effectiveness of a test pattern made for a functional test for a logic circuit in a short time by retrieving the content stored in a logic operation storage table sequentially from an output terminal and outputting the same to a logic storage table to collate and detect a failure. CONSTITUTION:A 0 1 change is displayed as (a), and 1 0 change is displayed as (b). Even if at the time t1, an input terminal 10 causes a change (a), a logic gate 14 is fixed to 0 level by an input terminal 11, and logic gates 15, 16 are respectively fixed to 0 level by all of input terminals 12, 13 and a logic gate 4. Whereas, output terminals 17, 18 are respectively fixed to 0 level. At this time, when failure detecting retrieval for the logic gate is performed from the output terminals 17, 18 side, the output terminal 17 enters 0 level as the logic gate 15 is 0 level to detect a failure that the logic gate 15 is fixed to 1. Further, a failure that the logic gate 14 and input terminals 11, 12 are fixed to 1 level can be detected at the time t1.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、論理回路の故障シミュ
レーション方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a failure simulation method for logic circuits.

【0002】[0002]

【従来の技術】従来の故障シミュレーション方法の一例
として、単一縮退故障モデルを用いた故障シミュレーシ
ョン方法について説明する。単一縮退故障モデルとは、
論理回路上の1箇所を0レベル、あるいは1レベルに固
定する故障モデルであり、1つの論理回路上に、同時に
は唯1つの故障のみが発生するものとしたものである。
2. Description of the Related Art A fault simulation method using a single stuck-at fault model will be described as an example of a conventional fault simulation method. What is a single stuck-at fault model?
This is a failure model in which one point on a logic circuit is fixed at 0 level or 1 level, and only one failure occurs simultaneously on one logic circuit.

【0003】この故障を定義された論理回路を用いて論
理シミュレーションを行い、故障を定義していない論理
回路を用いた論理シミュレーション結果との相違が生じ
れば故障を検出できると判断する。
A logic simulation is performed using a logic circuit in which this fault is defined, and it is determined that the fault can be detected if there is a difference from the result of the logic simulation using a logic circuit in which no fault is defined.

【0004】論理シミュレーション結果が同一のとき
は、このテストパターンでは故障を検出できないと判断
する。この故障定義と論理シミュレーションを、論理回
路上の全ての論理ゲート入力端子について順次繰り返し
て行い、テストパターンによる故障検出の有効性を診断
する。
When the logical simulation results are the same, it is judged that the failure cannot be detected by this test pattern. This fault definition and logic simulation are sequentially repeated for all logic gate input terminals on the logic circuit to diagnose the effectiveness of fault detection by the test pattern.

【0005】図1に示す論理回路において、入力端子と
各論理ゲートの出力のみに0レベル、あるいは1レベル
に固定する故障を順次定義の上で論理シミュレーション
を繰り返すと、少くとも14回の故障定義と、15回の
論理シミュレーションを繰り返すことで、1回の故障シ
ミュレーションとなり、テストパターンによる故障検出
の有効性の診断ができる。
In the logic circuit shown in FIG. 1, if a fault in which only the input terminal and the output of each logic gate are fixed to 0 level or 1 level is sequentially defined and the logic simulation is repeated, the fault definition is at least 14 times. By repeating the logic simulation 15 times, one failure simulation is performed, and the effectiveness of the failure detection by the test pattern can be diagnosed.

【0006】[0006]

【発明が解決しようとする課題】この従来の単一縮退故
障モデルを用いた故障シミュレーションは、同時には唯
一つの故障が発生するものとして故障定義と論理シミュ
レーションを論理回路上の全ての論理ゲート,入力端子
について、順次繰り返して行わなければならず、莫大な
論理シミュレーションの実行回数となり、結果を得るま
でに長時間を要するという欠点があった。
In the conventional fault simulation using the single stuck-at fault model, the fault definition and the logic simulation are performed assuming that only one fault occurs at the same time. The terminals have to be repeatedly and sequentially performed, which results in an enormous number of logic simulation executions, and it takes a long time to obtain the results.

【0007】本発明の目的は、論理回路の機能試験用に
作られたテストパターンの有効性を短時間に判定する論
理回路の故障シミュレーション方法を提供することにあ
る。
An object of the present invention is to provide a failure simulation method for a logic circuit, which determines the validity of a test pattern created for functional test of the logic circuit in a short time.

【0008】[0008]

【課題を解決するための手段】前記目的を達成するた
め、本発明に係る論理回路の故障シミュレーション方法
は、論理回路の機能試験用に作られたテストパターンの
有効性を診断する故障シミュレーション方法において、
前記テストパターンによって動作した論理ゲートの状態
と、その状態を維持するために必要な直前の論理ゲート
名とを論理動作記憶テーブルに記憶し、かつ論理ゲート
の故障状態を故障記憶テーブルに記憶しておき、前記論
理動作記憶テーブルに記憶された内容を出力端子から順
に検索し、前記論理記憶テーブルに出力して照合し故障
を検出するものである。
In order to achieve the above-mentioned object, a fault simulation method for a logic circuit according to the present invention is a fault simulation method for diagnosing the effectiveness of a test pattern created for a functional test of a logic circuit. ,
The state of the logic gate operated by the test pattern and the immediately preceding logic gate name necessary for maintaining the state are stored in the logic operation storage table, and the failure state of the logic gate is stored in the failure storage table. Every time, the contents stored in the logical operation storage table are searched in order from the output terminal, and are output to the logical storage table and collated to detect a failure.

【0009】また、前記論理動作記憶テーブルには、論
理ゲートがテストパターンにより動作した状態に至る直
前の論理ゲート名を付加して記憶させるものである。
Further, in the logical operation storage table, the logical gate name immediately before the logical gate is in the state of operating according to the test pattern is added and stored.

【0010】[0010]

【作用】1回の論理シミュレーションの実行と論理動作
記憶テーブルの検索によって、論理回路の機能試験用に
作られたテストパターンの有効性を診断する。
The effectiveness of the test pattern created for the functional test of the logic circuit is diagnosed by executing the logic simulation once and searching the logic operation storage table.

【0011】[0011]

【実施例】次に本発明について図面を参照して説明す
る。
The present invention will be described below with reference to the drawings.

【0012】図1に示す論理回路の入力端子10,1
1,12,13に図2のテストパターンP1 ,P2 ,P
3 ,P4 の入力によって、この論理回路を動作させ、そ
の出力端子17,18から図2に示す論理シミュレーシ
ョン結果のパターンP5 ,P6を得ている。
Input terminals 10 and 1 of the logic circuit shown in FIG.
1, 12 and 13 have the test patterns P1, P2 and P of FIG.
This logic circuit is operated by the inputs of 3 and P4, and the patterns P5 and P6 of the logic simulation result shown in FIG. 2 are obtained from the output terminals 17 and 18 thereof.

【0013】図3は、本発明の故障シミュレーションに
おいて使用する論理動作記憶テーブルであり、テーブル
の最上段横列の10〜13は図1の論理回路の入力端
子、14,15,16は論理ゲート、17,18は出力
端子、縦列のt1 〜t9 は時刻を示す。また、aは0→
1への変化を、bは1→0への変化を示す。
FIG. 3 is a logic operation storage table used in the failure simulation of the present invention. 10 to 13 in the uppermost row of the table are input terminals of the logic circuit of FIG. 1, 14 and 15 and 16 are logic gates. Reference numerals 17 and 18 denote output terminals, and columns t1 to t9 indicate time. Also, a is 0 →
The change b to 1 and the change b to 1 → 0.

【0014】:に続く文字は、テストパターンによって
動作した論理ゲートの状態を示し、:の前に記された文
字は、論理ゲートの状態に至る直前の論理ゲート名と、
()付きの論理ゲート名である。()付きの論理ゲート
名は、論理ゲートの状態変化が起こり、その状態を維持
するために必要な直前の論理ゲート名である。
The character following the: indicates the state of the logic gate operated by the test pattern, and the character preceding the: means the name of the logic gate immediately before reaching the state of the logic gate.
It is a logic gate name with (). The logic gate name with () is the name of the logic gate immediately before it is necessary to maintain the state when the state of the logic gate changes.

【0015】・と〆は直前の論理ゲートが複数存在する
ときに使用し、・は直前の論理ゲートの状態が同時に作
用し、一方の論理ゲートの状態が変れば、それによって
影響され、該論理ゲートの状態が変ることを示し、〆は
少くとも一方の論理ゲートの状態によって該論理ゲート
の状態が決定され、記憶された直前の論理ゲートの状態
が全て変化しなければ、該論理ゲートの状態が変られな
いことを示す。
And and 〆 are used when there is a plurality of immediately preceding logic gates, and · is influenced by the states of the immediately preceding logic gates acting at the same time, and if one of the logic gates changes, the Indicates that the state of the logic gate changes, and the state of the logic gate is determined by the state of at least one logic gate, and the state of the logic gate is changed unless all the states of the logic gate stored immediately before are changed. Indicates that is not changed.

【0016】ここで、()内に記してある=とそれに続
く0又は1の数字は、該論理ゲートの状態を維持するた
めに必要な直前の論理ゲートの状態であり、ここでの説
明を容易にするために記入してあり、論理動作記憶テー
ブルにおいて必須なものではない。
Here, the = and the following 0 or 1 shown in parentheses are the states of the logic gate immediately before necessary to maintain the state of the logic gate. It is filled in for simplicity and is not required in the logical operation storage table.

【0017】次に図3に示す論理動作記憶テーブルを用
い、故障検出方法について説明する。まず、全入力が0
レベル状態となっているものとする。時刻t1 におい
て、入力端子10が0→1へ変化している。なお、0→
1の変化をa,1→0の変化をbと表示する。
Next, a failure detection method will be described using the logical operation storage table shown in FIG. First, all inputs are 0
It is assumed to be in a level state. At time t1, the input terminal 10 changes from 0 to 1. In addition, 0 →
A change of 1 is indicated as a, and a change of 1 → 0 is indicated as b.

【0018】時刻t1 において入力端子10がaの変化
を起しても、論理ゲート14は入力端子11によって0
レベルへ固定され、論理ゲート15,16は入力端子1
2,13と論理ゲート14の全てによって、それぞれ0
レベルへ固定され、しかるに出力端子17,18はそれ
ぞれ0レベルへ固定される。
Even if the input terminal 10 changes a at the time t1, the logic gate 14 is set to 0 by the input terminal 11.
The logic gates 15 and 16 are fixed to the level and the input terminal 1
0 by each of 2 and 13 and the logic gate 14
The output terminals 17 and 18 are fixed to the 0 level, respectively.

【0019】このとき、出力端子17,18側から論理
ゲートの故障検出検索を行うと、まず出力端子17は論
理ゲート15が0レベルであることによって0レベルと
なっており、論理ゲート15が1に固定される故障を検
出できる。
At this time, when the failure detection and retrieval of the logic gate is performed from the output terminals 17 and 18, the output terminal 17 is at 0 level because the logic gate 15 is at 0 level, and the logic gate 15 is at 1 level. It is possible to detect a fault that is fixed to.

【0020】次に、論理ゲート15は入力端子12と論
理ゲート14が同時に0レベルとなっており、さらに論
理ゲート14は入力端子11が0レベルとなっている。
したがって、論理ゲート14と入力端子11,12が1
レベルに固定される故障についても、時刻t1 で検出で
きる。
Next, in the logic gate 15, the input terminal 12 and the logic gate 14 are simultaneously at 0 level, and further, the input terminal 11 of the logic gate 14 is at 0 level.
Therefore, the logic gate 14 and the input terminals 11 and 12 are 1
A level-fixed fault can also be detected at time t1.

【0021】前述の時刻t1 と同様に、t2 〜t9 まで
の時刻においても、出力端子から順に検索し、検出でき
る故障の内容を故障テーブルへ出力する。この故障テー
ブルを図4に示す。
Similar to the above-mentioned time t1, even at times t2 to t9, the contents of the detected faults are output in order from the output terminal and output to the fault table. This failure table is shown in FIG.

【0022】図4の故障テーブルでは、入力端子13の
出力が0に固定される故障が発生した場合、図2で示す
テストパターンでは検出できないことを示している。こ
れを図3の論理動作記憶テーブルによって確認すると、
入力端子13は出力端子18と論理ゲート16を経由し
て確認でき、その中でも入力端子13が1レベルの状態
は時刻t2 とt7 となる。時刻t2 とt7 において、論
理ゲート16をその状態にならしめるに至った論理ゲー
トは14と入力端子13である。
The failure table of FIG. 4 shows that if a failure occurs in which the output of the input terminal 13 is fixed at 0, the test pattern shown in FIG. 2 cannot detect it. When this is confirmed by the logical operation storage table of FIG. 3,
The input terminal 13 can be confirmed via the output terminal 18 and the logic gate 16, and among them, the state in which the input terminal 13 is at 1 level is at times t2 and t7. At the times t2 and t7, the logic gates 14 and the input terminal 13 have brought the logic gate 16 into the state.

【0023】ここで、論理ゲート14と入力端子13は
〆で記述されているように、少くとも一方の状態によっ
て論理ゲート16の状態が決定されるため、もう一方が
故障を生じても検出することはできない。しかし、論理
ゲート14は出力端子17と論理ゲート15によって故
障の発生を検出できるため、入力端子13の0故障のみ
検出できないことが分る。
Here, since the state of the logic gate 16 is determined by at least one state of the logic gate 14 and the input terminal 13 as described in 〆, even if the other side fails, it is detected. It is not possible. However, since it is possible for the logic gate 14 to detect the occurrence of a failure by the output terminal 17 and the logic gate 15, it can be seen that only the 0 failure at the input terminal 13 cannot be detected.

【0024】以上の説明では、図3に示す記号を用いて
論理動作記憶を行ったが、これに限られることはなく、
同様の論理動作内容を含む記憶内容であれば、同様に使
用することができ、本発明の目的を達成することは明ら
かである。
In the above description, the logical operation memory is performed using the symbols shown in FIG. 3, but the invention is not limited to this.
It is obvious that the stored contents including the same logical operation contents can be used in the same manner and achieve the object of the present invention.

【0025】[0025]

【発明の効果】以上説明したように本発明の故障シミュ
レーション方法によれば、1回の論理シミュレーション
の実行と論理動作記憶テーブルの検索によって論理回路
の機能試験用に作られたテストパターン有効性を診断す
る故障シミュレーションを得ることができる。
As described above, according to the fault simulation method of the present invention, the validity of the test pattern created for the functional test of the logic circuit is verified by executing the logic simulation once and searching the logic operation storage table. A fault simulation to diagnose can be obtained.

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

【図1】論理回路の一例を示す回路図である。FIG. 1 is a circuit diagram showing an example of a logic circuit.

【図2】テストパターンを示す図である。FIG. 2 is a diagram showing a test pattern.

【図3】本発明の故障シミュレーションにおいて使用す
る論理動作記憶テーブルを示す図である。
FIG. 3 is a diagram showing a logical operation storage table used in the failure simulation of the present invention.

【図4】故障記憶テーブルを示す図である。FIG. 4 is a diagram showing a failure storage table.

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

10,11,12,13 入力端子 14,15,16 論理ゲート 17,18 出力端子 t1 ,t2 〜t9 時刻 10, 11, 12, 13 Input terminals 14, 15, 16 Logic gates 17, 18 Output terminals t1, t2 to t9 Time

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 論理回路の機能試験用に作られたテスト
パターンの有効性を診断する故障シミュレーション方法
において、 前記テストパターンによって動作した論理ゲートの状態
と、その状態を維持するために必要な直前の論理ゲート
名とを論理動作記憶テーブルに記憶し、かつ論理ゲート
の故障状態を故障記憶テーブルに記憶しておき、 前記論理動作記憶テーブルに記憶された内容を出力端子
から順に検索し、前記論理記憶テーブルに出力して照合
し故障を検出することを特徴とする論理回路の故障シミ
ュレーション方法。
1. A failure simulation method for diagnosing the effectiveness of a test pattern created for a functional test of a logic circuit, comprising: a state of a logic gate operated by the test pattern; and a state immediately before it is necessary to maintain the state. And the logic gate name of the logic operation memory table, and the failure state of the logic gate is stored in the failure memory table, and the contents stored in the logic operation memory table are searched in order from the output terminal. A failure simulation method for a logic circuit, which is characterized in that the failure is detected by outputting the result to a storage table and comparing it.
【請求項2】 前記論理動作記憶テーブルには、論理ゲ
ートがテストパターンにより動作した状態に至る直前の
論理ゲート名を付加して記憶させることを特徴とする請
求項1に記載の論理回路の故障シミュレーション方法。
2. The failure of the logic circuit according to claim 1, wherein the logic operation storage table is added with a logic gate name immediately before the logic gate reaches a state in which it operates according to a test pattern and is stored. Simulation method.
JP4253119A 1992-09-22 1992-09-22 Failure simulation method for logic circuit Pending JPH06102321A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4253119A JPH06102321A (en) 1992-09-22 1992-09-22 Failure simulation method for logic circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4253119A JPH06102321A (en) 1992-09-22 1992-09-22 Failure simulation method for logic circuit

Publications (1)

Publication Number Publication Date
JPH06102321A true JPH06102321A (en) 1994-04-15

Family

ID=17246768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4253119A Pending JPH06102321A (en) 1992-09-22 1992-09-22 Failure simulation method for logic circuit

Country Status (1)

Country Link
JP (1) JPH06102321A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5996101A (en) * 1995-11-17 1999-11-30 Nec Corporation Test pattern generating method and test pattern generating system
CN111008310A (en) * 2019-12-11 2020-04-14 北京航空航天大学 Maintenance-free intermittent working logic gate and fault tree simulation method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5996101A (en) * 1995-11-17 1999-11-30 Nec Corporation Test pattern generating method and test pattern generating system
CN111008310A (en) * 2019-12-11 2020-04-14 北京航空航天大学 Maintenance-free intermittent working logic gate and fault tree simulation method thereof
CN111008310B (en) * 2019-12-11 2023-08-25 北京航空航天大学 Intermittent working logic gate without considering maintenance and fault tree simulation method thereof

Similar Documents

Publication Publication Date Title
Abramovici et al. Critical path tracing-an alternative to fault simulation
US3961250A (en) Logic network test system with simulator oriented fault test generator
US5390193A (en) Test pattern generation
JPH09145800A (en) Test pattern generation system
Sandireddy et al. Diagnostic and detection fault collapsing for multiple output circuits
JPS6022678A (en) Self-test equipment for logical device
Pomeranz et al. Functional test generation for delay faults in combinational circuits
Somenzi et al. Fault detection in programmable logic arrays
EP0586834A2 (en) Enhanced data analyzer for use in bist circuitry
JPH06102321A (en) Failure simulation method for logic circuit
US4682331A (en) Logic circuit with self-test
JPH0561931A (en) Simulation device
Jones et al. Automatic test generation methods for large scale integrated logic
Pomeranz et al. Location of stuck-at faults and bridging faults based on circuit partitioning
JPH0587885A (en) Generation of inspection series
JPS63140969A (en) Test facilitation system
Chakravarty et al. Diagnostic simulation of stuck-at faults in combinational circuits
JP2773148B2 (en) Circuit design method for testability
Spencer et al. Layout influences testability
Seshadri et al. Accelerating diagnostic fault simulation using z-diagnosis and concurrent equivalence identification
Wu et al. SEESIM: a fast synchronous sequential circuit fault simulator with single-event equivalence
JPH01156680A (en) Fault diagnosing method for logic circuit
JP3218294B2 (en) Logic integrated circuit
JPH0567168A (en) Fault simulation method for logic circuit
JPH06138183A (en) Method for creating test pattern for diagnosing lsi failure