JP2773148B2 - Circuit design method for testability - Google Patents

Circuit design method for testability

Info

Publication number
JP2773148B2
JP2773148B2 JP63213109A JP21310988A JP2773148B2 JP 2773148 B2 JP2773148 B2 JP 2773148B2 JP 63213109 A JP63213109 A JP 63213109A JP 21310988 A JP21310988 A JP 21310988A JP 2773148 B2 JP2773148 B2 JP 2773148B2
Authority
JP
Japan
Prior art keywords
circuit
logic
fault
gate
design method
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.)
Expired - Lifetime
Application number
JP63213109A
Other languages
Japanese (ja)
Other versions
JPH0259967A (en
Inventor
英司 原田
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP63213109A priority Critical patent/JP2773148B2/en
Publication of JPH0259967A publication Critical patent/JPH0259967A/en
Application granted granted Critical
Publication of JP2773148B2 publication Critical patent/JP2773148B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Logic Circuits (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、論理回路の設計方法に関し、特にテスト容
易化設計方法に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of designing a logic circuit, and more particularly to a design method for testability.

〔従来の技術〕[Conventional technology]

製造された集積回路化論理回路に於て、不良品を除く
ためには、入力端子にテストパタンを印加し出力端子上
のパタンを観測するテストを行う。特に、大規模な集積
回路に於いては、入力パタンの選択だけで回路内部の故
障を高い確率で出力パタンより検出するのは困難な場合
が多い。このために、テスト容易化設計方法が用いられ
る。
In order to eliminate defective products in the manufactured integrated circuit, a test pattern is applied to the input terminal and a test for observing the pattern on the output terminal is performed. In particular, in a large-scale integrated circuit, it is often difficult to detect a failure in the circuit from an output pattern with a high probability only by selecting an input pattern. For this purpose, a testability design method is used.

テスト容易化設計方法には、回路内部の出力を観測で
きるように回路を追加して出力端子に導く回路分割方式
や、フリップフロップ回路の出力を観測できる様な回路
を追加するスキャン構成方式がある。これらの設計方法
に於いては追加回路による回路規模の増加が問題とな
る。
The design method for testability includes a circuit division method in which a circuit is added so that the output inside the circuit can be observed and led to an output terminal, and a scan configuration method in which a circuit that can observe the output of the flip-flop circuit is added. . In these design methods, an increase in circuit scale due to an additional circuit poses a problem.

従って、できるだけ少ない回路で必要な故障検出率を
達成する設計方法が重要になる。このために、従来用い
られている設計方式は故障シミュレーションにより故障
検出率を調べながら試行錯誤で回路を追加するものであ
る。
Therefore, a design method that achieves the required fault coverage with as few circuits as possible becomes important. For this purpose, a conventionally used design method is to add a circuit by trial and error while checking a failure detection rate by a failure simulation.

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

上述した従来の設計方式では、 (1) 故障シミュレーションによって未検出となった
故障を調べる工程 (2) 該故障をもとに検出するための回路付加を行う
工程 とを高い故障検出率が得られるまで繰り返さなければな
らず、大きな手間がかかるという問題がある。
In the above-described conventional design method, a high fault detection rate can be obtained by (1) a step of examining a fault that has not been detected by the fault simulation and (2) a step of adding a circuit for detecting the fault based on the fault. And it takes a lot of trouble.

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

本発明によれば、1個または複数の基本論理素子から
なる論理ゲートから構成される論理回路設計方法に於い
て、該論理回路に対し故障シミュレーションを行い、全
ゲートまたは特定機能について該論理ゲートまで伝搬し
た故障であってかつ出力端子まで伝搬しないものの数を
記録し、その数が一定以上の論理ゲートの出力を外部よ
り観測可能にする回路を追加するテスト容易化回路設計
方法を得る。
According to the present invention, in a logic circuit design method including a logic gate composed of one or a plurality of basic logic elements, a failure simulation is performed on the logic circuit, and all the gates or a specific function is performed up to the logic gate. A method for designing a testable circuit is provided in which the number of propagated faults that do not propagate to an output terminal is recorded, and a circuit that makes it possible to externally observe the output of a logic gate having a certain number or more is obtained.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be described with reference to the drawings.

第1図は本発明の一実施例のフローチャートである。
回路1とテストパタン2を故障シミュレーション3に入
力して故障シミュレーションを行い、この際1つまたは
複数の基本論理素子からなる各論理ゲート毎にそこに伝
搬する故障を伝搬故障メモリ5に、また外部出力端子で
検出される故障を保持する検出故障メモリ4に出力す
る。
FIG. 1 is a flowchart of one embodiment of the present invention.
The circuit 1 and the test pattern 2 are input to the fault simulation 3 to perform a fault simulation. At this time, a fault propagated to each logic gate composed of one or a plurality of basic logic elements is transmitted to the propagation fault memory 5 and to an external fault memory. The detected fault is output to the detected fault memory 4 which holds the fault detected at the output terminal.

伝搬故障メモリ4と検出故障メモリ5の内容を入力し
て、分割ゲート選択手段6で各ゲート毎に伝搬故障メモ
リ5に含まれる検出故障メモリ4に含まれないものの数
を求め、判定値7を越えるゲートを抽出して、回路分割
手段8で回路1を入力して回路1内の該ゲートの出力を
外部より直接観測可能とする回路を追加した分割回路9
を出力する。
The contents of the propagation fault memory 4 and the detected fault memory 5 are input, and the number of the gate faults not included in the detected fault memory 4 included in the propagated fault memory 5 is determined for each gate by the divided gate selection means 6. A dividing circuit 9 in which a gate exceeding the gate is extracted, and a circuit for inputting the circuit 1 by the circuit dividing means 8 and enabling the output of the gate in the circuit 1 to be directly observed from outside is added.
Is output.

第2図は分割ゲート選択手段6の詳細を示すフローチ
ャートである。回路内の各ゲート毎に伝搬故障メモリ及
び検出故障メモリを参照し、伝搬故障メモリに含まれか
つ検出故障メモリに含まれない故障の数、すなわち該ゲ
ートまで伝搬して未検出となった故障の数を求め、判定
値と比較して判定値よりも大きければ回路分割手段の対
象ゲートとする。
FIG. 2 is a flowchart showing details of the division gate selection means 6. Refer to the propagation fault memory and the detected fault memory for each gate in the circuit, and count the number of faults included in the propagation fault memory and not included in the detected fault memory, that is, the number of faults that have propagated to the gate and have not been detected. The number is obtained and compared with the judgment value. If the number is larger than the judgment value, it is determined as the target gate of the circuit dividing means.

第3図は、本発明の一実施例を実施するための回路の
回路図である。
FIG. 3 is a circuit diagram of a circuit for implementing one embodiment of the present invention.

第3図に於いて部分回路20,21及び論理ゲート30〜32
は本発明の適用前の論理回路50を構成する。論理回路50
に入力端子15,16からテストパタンを入力して故障シミ
ュレーションを行う。その結果、30〜32にfn(n=1〜
9)で示す故障が伝搬し、これらの故障のうちf1,f2,f
4,f5,f8が出力端子40〜41で検出されたとする。
In FIG. 3, partial circuits 20, 21 and logic gates 30 to 32 are shown.
Constitutes a logic circuit 50 before application of the present invention. Logic circuit 50
A test pattern is input from input terminals 15 and 16 to perform a failure simulation. As a result, fn (n = 1 to 30)
The fault shown in 9) propagates, and among these faults, f1, f2, f
It is assumed that 4, f5 and f8 are detected at the output terminals 40 to 41.

さて、論理ゲート30〜32まで伝搬しかつ未検出となっ
た故障の数はそれぞれ1,1,2個であるが、ここでは適当
な判定値1と比較して論理ゲート32を選択する。次に、
出力端子43と論理ゲート32の出力から出力端子43へ導く
配線からなるテスト回路60を追加すれば未検出故障はf
3,f6のみとなる。このようにして簡単に、テスト回路を
追加すべき位置が判定できる。ここで、判定対象を一例
として論理ゲート30〜32としたが部分回路20,21内の論
理ゲートも判定対象として差し支えない。
The number of faults that have propagated to the logic gates 30 to 32 and have not been detected are 1, 1, and 2, respectively. Here, the logic gate 32 is selected by comparing with an appropriate judgment value 1. next,
If a test circuit 60 consisting of an output terminal 43 and a wiring leading from the output of the logic gate 32 to the output terminal 43 is added, the undetected fault is f
3, f6 only. In this way, the position where the test circuit should be added can be easily determined. Here, the logic gates 30 to 32 are described as an example of the determination target, but the logic gates in the partial circuits 20 and 21 may be determined.

第4図は、本発明の他の実施例のフローチャートであ
る。
FIG. 4 is a flowchart of another embodiment of the present invention.

本実施例は本発明の手法の対象とするゲートをフリッ
プフロップゲート(以下F/F)に限定するものであり、F
/Fの出力を観測可能にする回路としてスキャンパスなど
のスキャン構成(可児賢二著、超LSICADの基礎、オーム
社、1983年、181〜184頁)を実現する回路を使用するも
のである。回路1とテストパタン2を故障シミュレータ
3に入力して故障シミュレーションを行い、この際各F/
F毎にそこに伝搬する故障を伝搬故障メモリ5にまた外
部出力端子で検出される故障を検出故障メモリ4に出力
する。伝搬故障メモリ5と検出故障メモリ4の内容を入
力して、F/Fゲート選択手段10で各F/F毎に伝搬故障メモ
リ5に含まれ検出故障メモリ4に含まれないものの数を
求め、判定値7を越えるF/Fを抽出して、スキャン構成
手段11で回路1を入力して回路1内の該F/Fをスキャン
構成するのに必要な回路を追加したスキャン構成回路12
を出力する。
In the present embodiment, the target gate of the method of the present invention is limited to a flip-flop gate (hereinafter referred to as F / F).
As a circuit for observing the output of / F, a circuit that realizes a scan configuration such as a scan path (Kenji Kani, Basics of Ultra LSICAD, Ohmsha, 1983, pp. 181-184) is used. The circuit 1 and the test pattern 2 are input to the fault simulator 3 to perform a fault simulation.
For each F, a fault propagated there is output to the propagation fault memory 5 and a fault detected at the external output terminal is output to the detected fault memory 4. The contents of the propagation fault memory 5 and the detected fault memory 4 are inputted, and the number of the ones included in the propagation fault memory 5 and not included in the detected fault memory 4 for each F / F is obtained by the F / F gate selecting means 10. An F / F exceeding the judgment value 7 is extracted, and the circuit 1 is inputted to the scan configuration means 11 to add a circuit necessary for scan configuration of the F / F in the circuit 1.
Is output.

第5図はスキャンF/F選択手段6の詳細を示すフロー
チャートである。各F/F毎に伝搬故障メモリを参照し、
対応する伝搬故障に含まれかつ検出故障メモリに含まれ
ない故障数を求め、判定値と比較してスキャンF/Fとす
るか判定し、スキャン構成手段11の入力とする。
FIG. 5 is a flowchart showing details of the scan F / F selection means 6. Refer to the propagation fault memory for each F / F,
The number of faults included in the corresponding propagation fault and not included in the detected fault memory is obtained, and compared with a determination value to determine whether or not to use the scan F / F, and input the scan F / F.

第6図は、本発明のこの他の実施例を実施するための
回路の回路図である。第6図に於いて部分回路20,21及
び論理ゲート30〜32は本発明の適用前の論理回路50を構
成する。論理回路50に入力端子15,16からテストパタン
を入力して故障シミュレーションを行う。その結果、F/
F30〜32にfn(n=1〜9)で示す故障が伝搬し、これ
らの故障のうちf1,f2,f4,f5,f8は出力端子40〜41で検出
されたとする。さて、F/F30〜32まで伝搬しかつ未検出
となった故障の数はそれぞれ1,1,2個であるが、ここで
適当な判定値1と比較してF/F32を選択する。
FIG. 6 is a circuit diagram of a circuit for implementing another embodiment of the present invention. In FIG. 6, the partial circuits 20, 21 and the logic gates 30 to 32 constitute a logic circuit 50 before application of the present invention. A test pattern is input from the input terminals 15 and 16 to the logic circuit 50 to perform a fault simulation. As a result, F /
It is assumed that faults indicated by fn (n = 1 to 9) propagate to F30 to F32, and among these faults, f1, f2, f4, f5, and f8 are detected at the output terminals 40 to 41. The number of faults that have propagated to the F / Fs 30 to 32 and have not been detected are 1, 1, and 2, respectively. Here, the F / F 32 is selected by comparing with an appropriate determination value 1.

次に、F/F32をスキャン構成のための回路を追加した
スキャンF/F33に変更し入力端子17および出力端子43へ
つなぐためのテスト回路を追加しスキャン構成にすれば
未検出故障はf3,f6のみとなる。このようして簡単に、
テスト回路を追加すべき位置が決定できる。ここで、判
定対象を一例としてF/F30〜32としたが部分回路20,21内
のF/Fも判定対象として差し支えない。
Next, the F / F32 is changed to a scan F / F33 in which a circuit for a scan configuration is added, and a test circuit for connecting to the input terminal 17 and the output terminal 43 is added to the scan configuration. Only f6. So easily,
The position where the test circuit should be added can be determined. Here, the determination targets are F / Fs 30 to 32 as an example, but the F / Fs in the partial circuits 20 and 21 may be determined.

〔発明の効果〕 以上、説明したように本発明によれば、少ない手間で
高い故障検出率を持つ論理回路設計でき、特に、大規模
な集積論理回路の設計に於いて大きな効果がある。
[Effects of the Invention] As described above, according to the present invention, it is possible to design a logic circuit having a high fault detection rate with a small amount of trouble, and particularly, there is a great effect in designing a large-scale integrated logic circuit.

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

第1図は、本発明の一実施例のフローチャート、第2図
は、分割ゲート選択手段6の詳細を示すフーローチャー
ト、第3図は、本発明の一実施例に用いる回路の回路
図、第4図は、本発明の他の実施例のフローチャート、
第5図は、第4図のF/Fゲート選択手段10の詳細を示す
フローチャート、第6図は、本発明の他の実施例に用い
る回路の回路図である。 1……回路、2……テストパタン、3……故障シミュレ
ータ、4……検出故障メモリ、5……伝搬故障メモリ、
6……分割ゲート選択手段、7……判定数、8……回路
分割手段、9……分割回路、10……F/Fゲート選択手
段、11……スキャン構成手段、12……スキャン構成回
路、15〜17……入力端子、20〜21……部分回路、30〜32
……F/Fゲート、33……スキャンF/F、40〜43……出力端
子、50……論理回路、60……テスト回路。
FIG. 1 is a flowchart of one embodiment of the present invention, FIG. 2 is a flow chart showing details of the divided gate selecting means 6, FIG. 3 is a circuit diagram of a circuit used in one embodiment of the present invention, FIG. 4 is a flowchart of another embodiment of the present invention;
FIG. 5 is a flowchart showing details of the F / F gate selecting means 10 of FIG. 4, and FIG. 6 is a circuit diagram of a circuit used in another embodiment of the present invention. 1 ... circuit, 2 ... test pattern, 3 ... fault simulator, 4 ... detected fault memory, 5 ... propagation fault memory,
6 divided gate selection means, 7 judgment number, 8 circuit division means, 9 divided circuit, 10 F / F gate selection means, 11 scan configuration means, 12 scan configuration circuit , 15 to 17 Input terminals, 20 to 21 Partial circuits, 30 to 32
… F / F gate, 33… Scan F / F, 40 to 43… Output terminal, 50… Logic circuit, 60… Test circuit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】1個または複数の基本論理素子からなる論
理ゲートで構成される論理回路設計方法に於いて、該論
理回路に対し故障シミュレーションを行い、全ゲートま
たは特定機能ゲートについて該論理ゲートまで伝搬した
故障であってかつ出力端子まで伝搬しないものの数を記
録し、その数が一定以上の論理ゲートの出力を外部より
観測可能にする回路を追加することを特徴とするテスト
容易化回路設計方法
In a logic circuit design method comprising a logic gate composed of one or a plurality of basic logic elements, a fault simulation is performed for the logic circuit, and all the logic gates or specific function gates are processed up to the logic gate. A test facilitating circuit design method characterized in that the number of propagated faults that do not propagate to an output terminal is recorded, and a circuit for externally observing the output of a logic gate having a certain number or more is added.
JP63213109A 1988-08-26 1988-08-26 Circuit design method for testability Expired - Lifetime JP2773148B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63213109A JP2773148B2 (en) 1988-08-26 1988-08-26 Circuit design method for testability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63213109A JP2773148B2 (en) 1988-08-26 1988-08-26 Circuit design method for testability

Publications (2)

Publication Number Publication Date
JPH0259967A JPH0259967A (en) 1990-02-28
JP2773148B2 true JP2773148B2 (en) 1998-07-09

Family

ID=16633730

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63213109A Expired - Lifetime JP2773148B2 (en) 1988-08-26 1988-08-26 Circuit design method for testability

Country Status (1)

Country Link
JP (1) JP2773148B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7467362B2 (en) 2005-03-15 2008-12-16 Fujitsu Limited Failure detection improvement apparatus, failure detection improvement program, failure detection improvement method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01283207A (en) * 1988-05-11 1989-11-14 Q P Corp Cosmetic

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7467362B2 (en) 2005-03-15 2008-12-16 Fujitsu Limited Failure detection improvement apparatus, failure detection improvement program, failure detection improvement method

Also Published As

Publication number Publication date
JPH0259967A (en) 1990-02-28

Similar Documents

Publication Publication Date Title
Millman et al. Diagnosing CMOS bridging faults with stuck-at fault dictionaries
US7392449B2 (en) Method, apparatus, and computer program product for diagnosing a scan chain failure employing fuses coupled to the scan chain
KR980010844A (en) Methods and systems for identifying failure points
JPH09145800A (en) Test pattern generation system
US20050172188A1 (en) Diagnostic method for detection of multiple defects in a Level Sensitive Scan Design (LSSD)
JP2773148B2 (en) Circuit design method for testability
Huang et al. Using fault model relaxation to diagnose real scan chain defects
US6105156A (en) LSI tester for use in LSI fault analysis
Pomeranz et al. Location of stuck-at faults and bridging faults based on circuit partitioning
JP2000304829A (en) Semiconductor inspection method
JPH01156680A (en) Fault diagnosing method for logic circuit
JP2715989B2 (en) Method for narrowing down a failure portion of CMOS logic circuit using Iddq
JP3104739B2 (en) LSI tester used for LSI failure analysis
JP2008026074A (en) Ic test method and ic
JP2658857B2 (en) Equivalent fault extraction method and device
JP4644966B2 (en) Semiconductor test method
JP2715963B2 (en) How to narrow down faults in logic circuits
Shimino An efficient logical fault diagnosis for combinational circuits using stuck-at fault simulation
JPS6375576A (en) Fault detection system for integrated circuit
JPH0329870A (en) High speed test data forming apparatus of logical circuit
JPH08201487A (en) Inspecting method and inspecting circuit
JPH1183945A (en) Failure diagnostic system for logic circuit
JPH0718912B2 (en) Integrated circuit failure detection method
JPS62159246A (en) Trouble simulation system
JPH11125661A (en) Semiconductor integrated circuit