JP2005201829A - Method of generating delay trouble test pattern for semiconductor integrated circuit, and method of inspecting delay trouble therefor - Google Patents

Method of generating delay trouble test pattern for semiconductor integrated circuit, and method of inspecting delay trouble therefor Download PDF

Info

Publication number
JP2005201829A
JP2005201829A JP2004009929A JP2004009929A JP2005201829A JP 2005201829 A JP2005201829 A JP 2005201829A JP 2004009929 A JP2004009929 A JP 2004009929A JP 2004009929 A JP2004009929 A JP 2004009929A JP 2005201829 A JP2005201829 A JP 2005201829A
Authority
JP
Japan
Prior art keywords
value
memory circuit
pattern
memory
address
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
JP2004009929A
Other languages
Japanese (ja)
Inventor
Shinichi Yoshimura
慎一 吉村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2004009929A priority Critical patent/JP2005201829A/en
Publication of JP2005201829A publication Critical patent/JP2005201829A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method of generating a test pattern capable of conducting a dynamic test for each path in a semiconductor integrated circuit including a memory circuit. <P>SOLUTION: An objective trouble is selected from a data line of the memory circuit (step 101), the longest test-allowable path corresponding to the selected objective trouble is selected (step 102), an initialization pattern (step 103) and a transition pattern (step 104) of the longest test-allowable path are found, an initialization pattern (step 105) and a transition pattern (step 106) of an address line are found, an initialization pattern (step 107) and a transition pattern (step 108) of a control signal group are found, a value provided by reading out a value written in the memory circuit into an output set value scanning FF group is found as an expected value (step 109), and the patterns found in the steps 103-109 are generated as a serial pattern (step 110). <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、メモリ回路を含む半導体集積回路の試験に用いられるテストパターン生成方法、特にメモリ周辺回路内のパス遅延故障を検出するためのテストパターン生成方法、および生成したテストパターンを使用した検査方法に関するものである。   The present invention relates to a test pattern generation method used for testing a semiconductor integrated circuit including a memory circuit, in particular, a test pattern generation method for detecting a path delay fault in a memory peripheral circuit, and an inspection method using the generated test pattern. It is about.

従来のメモリ回路の実動作テストは、図28に示すようにメモリMへの入力経路上およびメモリ回路Mからの出力経路上に、論理回路部CCの機能経路(通常動作経路)とテスト用経路(テスト用AD,テスト用DI,テスト用NCE,テスト用NRE,テスト用NWE)を切替えることが出来る付加回路(セレクタS)を設け、セレクタSによりテスト経路を選択し、メモリBISTまたは外部からのダイレクトアクセスによって前記テスト経路からメモリ回路Mへテスト用パターンを印加することで行われている。図28に示す半導体集積回路は、論理回路部の一部のフリップフロップをスキャン・フリップフロップに置き換え、これらスキャン・フリップフロップにより、メモリ回路Mに試験用の各値の設定を行うスキャン・フリップフロップ群(SFF群)と、メモリ回路Mの出力を受ける出力値設定スキャン・フリップフロップ群(出力値設定SFF群)を形成し、これらスキャン・フリップフロップ群のスキャン・フリップフロップをシリアルに接続して半導体集積回路の外部から回路内の制御・観測を可能としている。しかし、上記テストでは、SFF群からメモリ回路Mへの経路およびメモリ回路Mから出力値設定SFF群への経路は試験の対象外となっていた。   As shown in FIG. 28, the actual operation test of the conventional memory circuit is performed on the input path to the memory M and the output path from the memory circuit M, the functional path (normal operation path) and the test path of the logic circuit section CC. An additional circuit (selector S) capable of switching (test AD, test DI, test NCE, test NRE, test NWE) is provided, the test path is selected by the selector S, and the memory BIST or from the outside This is done by applying a test pattern from the test path to the memory circuit M by direct access. The semiconductor integrated circuit shown in FIG. 28 replaces some of the flip-flops in the logic circuit section with scan flip-flops, and these flip-flops set the test flip-flops in the memory circuit M. Group (SFF group) and an output value setting scan flip-flop group (output value setting SFF group) that receives the output of the memory circuit M, and the scan flip-flops of these scan flip-flop groups are connected in series The circuit can be controlled and observed from outside the semiconductor integrated circuit. However, in the above test, the path from the SFF group to the memory circuit M and the path from the memory circuit M to the output value setting SFF group are not subject to the test.

そこで、このような経路を含めたメモリ回路の試験を行うことを可能とした試験方法が開発されている。すなわち、検査対象となる回路の入力端子から検査対象回路に内蔵されたメモリ回路のアドレス入力端子に至る入力パスとメモリ回路のデータ出力端子から検査対象回路の出力ピンに至る出力パスを確保し、検査対象回路の入力端子から入力端子を介して内蔵のメモリ回路のアドレス入力端子に与えられるメモリ読出しアドレスを切替え、内蔵メモリの読出しアドレスが切替えられてから予め設定された時間が経過するまでに出力ピンの信号値が変化したか否かを調べることでメモリの試験(遅延故障テスト)を行っている(例えば、特許文献1参照)。
また集積回路内のパス遅延故障を試験するためには、テストパターンを形成する必要がある。このような集積回路内のパス遅延故障を試験するためのテストパターン系列(一般に、遅延故障を試験するためには2つのテストパターンv1とv2が必要であり、テストパターンv2は図29に示すように組合せ回路を2時刻展開した回路でのテストパターン生成が必要であり、これら2つのテストパターンはテストパターン系列と呼ばれる)は、図30に示す経路活性化表や図31に示す含意表や図32に示す5値論理にしたがって、被検査回路(図28,29の論理回路部CC)内の各信号線に上記論理値を割り当てることによって生成されている。図32に示すように、図30と図31に示すS0はパターンv1とv2の何でも“0”であり、S1はパターンv1とv2の何でも“1”であり、U0はパターンv1で“x”、パターンv2で“0”であり、U1はパターンv1で“x”、パターンv2で“1”であり、xxはv1とv2の何れも“x”であることを示す。
Therefore, a test method has been developed that makes it possible to test a memory circuit including such a path. That is, an input path from the input terminal of the circuit to be inspected to the address input terminal of the memory circuit incorporated in the circuit to be inspected and an output path from the data output terminal of the memory circuit to the output pin of the circuit to be inspected are secured. The memory read address given to the address input terminal of the built-in memory circuit is switched from the input terminal of the circuit to be inspected to the address input terminal of the built-in memory circuit, and output until a preset time elapses after the read address of the built-in memory is switched A memory test (delay fault test) is performed by examining whether or not the signal value of the pin has changed (see, for example, Patent Document 1).
In order to test a path delay fault in an integrated circuit, it is necessary to form a test pattern. A test pattern sequence for testing a path delay fault in such an integrated circuit (generally, two test patterns v1 and v2 are required to test a delay fault, and the test pattern v2 is as shown in FIG. The test circuit must be generated in a circuit in which the combinational circuit is expanded at two times, and these two test patterns are called test pattern series). The path activation table shown in FIG. 30 and the implication table and figure shown in FIG. The logic value is generated by assigning the logic value to each signal line in the circuit to be inspected (logic circuit portion CC in FIGS. 28 and 29) according to the five-value logic shown in FIG. As shown in FIG. 32, S0 shown in FIGS. 30 and 31 is “0” in any of the patterns v1 and v2, S1 is “1” in any of the patterns v1 and v2, and U0 is “x” in the pattern v1. The pattern v2 is “0”, the U1 is “x” in the pattern v1, the pattern v2 is “1”, and xx indicates that both v1 and v2 are “x”.

図30(a)はANDゲートの一方の入力が“0”から“1”に変化した時に、出力の状態が変化する、つまり回路を活性化するのに必要な他方の入力信号値を示しており、この場合は“U1”にすればよい。また、図30(b)に示すようにORゲートの一方の入力が“1”から“0”に変化する場合は、出力の状態を変化させる(回路を活性化する)ために他方の入力は “U0”にすればよい。図30(c)にANDゲートまたはNANDゲート、およびORゲートまたはNORゲートの各一方の入力が“0”から“1”に立上った場合と、“1”から“0”に立下った場合における、これらゲートを活性化するのに必要な他方の入力信号値をそれぞれ示す。   FIG. 30 (a) shows the other input signal value required to activate the circuit when the output state changes when one input of the AND gate changes from "0" to "1". In this case, “U1” may be set. Further, as shown in FIG. 30B, when one input of the OR gate changes from “1” to “0”, the other input is changed in order to change the output state (activate the circuit). “U0” may be set. In FIG. 30 (c), when one of the inputs of the AND gate or NAND gate and the OR gate or NOR gate rises from "0" to "1", it falls from "1" to "0". The other input signal values necessary to activate these gates in each case are shown.

図31(a)はANDゲートの二つの入力端子x1 ,x2 の各入力がそれぞれS0,U0,S1,U1,XXの何れかとなった場合の各組み合せにおける出力の状態を示している。例えばx1 がS0,x2 がU0のとき、パターンv1=<0,x>,パターンv2=<0,0>であるから出力は<0,0>=S0となることを示している。また図31(b)はNORゲートの二つの入力端子x1 ,x2 の各入力がそれぞれS0,U0,S1,U1,XXの何れかとなった場合の各組合せにおける出力の状態を示し、図31(c)はインバータの入力端子xの入力がS0,U0,S1,U1,XXである場合の出力端子zの出力がどのようになるかを示している。   FIG. 31 (a) shows the output state in each combination when the inputs of the two input terminals x1 and x2 of the AND gate are any of S0, U0, S1, U1 and XX, respectively. For example, when x1 is S0 and x2 is U0, the pattern v1 = <0, x> and the pattern v2 = <0, 0>, indicating that the output is <0, 0> = S0. FIG. 31B shows the output state in each combination when the inputs of the two input terminals x1 and x2 of the NOR gate are any one of S0, U0, S1, U1 and XX, respectively. c) shows what the output of the output terminal z becomes when the input of the input terminal x of the inverter is S0, U0, S1, U1, XX.

スキャンFF群を使用してパス遅延故障を試験する集積回路の一例を図33に示す。図33の集積回路は、スキャンFF1〜9により遷移値設定SFF群が形成され、スキャンFF11〜18により初期値設定SFF群が形成され、またこれらスキャンFF1〜9,11〜18はシリアルに接続され、スキャンイネーブル信号がスキャンモード時はスキャンシフト動作を行い、通常モード時は通常動作を行う構成になっている。   An example of an integrated circuit that tests for path delay faults using scan FFs is shown in FIG. In the integrated circuit of FIG. 33, the transition value setting SFF group is formed by the scan FFs 1 to 9, the initial value setting SFF group is formed by the scan FFs 11 to 18, and the scan FFs 1 to 9 and 11 to 18 are serially connected. The scan shift operation is performed when the scan enable signal is in the scan mode, and the normal operation is performed in the normal mode.

図33に示すように、スキャンFF1の出力とスキャンFF2の出力はANDゲートg1に供給され、入力端子X1とスキャンFF3の出力がANDゲートg2に供給され、スキャンFF4の出力とスキャンFF5の出力はANDゲートg4に供給され、入力端子X3とスキャンFF6の出力がANDゲートg6に供給され、スキャンFF7の出力と入力端子X4がANDゲートg7に供給され、入力端子X5とスキャンFF9の出力はANDゲートg9の供給され、ANDゲートg1の出力とANDゲートg2の出力はORゲートg3に供給され、ORゲートg3の出力はスキャンFF11の入力に供給され、ANDゲートg2の出力はスキャンFF12の入力に供給され、入力端子X2とANDゲートg4の出力はORゲートg5に供給され、ORゲートg5の出力はスキャンFF13の入力に供給され、ANDゲートg4の出力はスキャンFF14の入力に供給され、ANDゲートg6の出力とANDゲートg7の出力はORゲートg8に供給され、ANDゲートg7の出力はスキャンFF16の入力に供給され、ORゲートg8の出力はスキャンFF15の入力に供給され、スキャンFF8の出力とANDゲートg9の出力はORゲートg10に供給され、ORゲートg10の出力はスキャンFF17の入力に供給され、ADNゲートg9の出力はスキャンFF18の入力に供給される。   As shown in FIG. 33, the output of the scan FF1 and the output of the scan FF2 are supplied to the AND gate g1, the output of the input terminal X1 and the scan FF3 are supplied to the AND gate g2, and the output of the scan FF4 and the output of the scan FF5 are The output from the input terminal X3 and the scan FF6 is supplied to the AND gate g6, the output from the scan FF7 and the input terminal X4 are supplied to the AND gate g7, and the outputs from the input terminal X5 and the scan FF9 are AND gates. The output of the AND gate g1 and the output of the AND gate g2 are supplied to the OR gate g3, the output of the OR gate g3 is supplied to the input of the scan FF11, and the output of the AND gate g2 is supplied to the input of the scan FF12. The output of the input terminal X2 and the AND gate g4 is supplied to the OR gate g5. The output of the OR gate g5 is supplied to the input of the scan FF 13, the output of the AND gate g4 is supplied to the input of the scan FF 14, and the output of the AND gate g6 and the output of the AND gate g7 are supplied to the OR gate g8. The output of the gate g7 is supplied to the input of the scan FF 16, the output of the OR gate g8 is supplied to the input of the scan FF 15, the output of the scan FF 8 and the output of the AND gate g9 are supplied to the OR gate g10, and the output of the OR gate g10 Is supplied to the input of the scan FF 17, and the output of the ADN gate g 9 is supplied to the input of the scan FF 18.

さらに、スキャンFF13の出力はNOTゲートG2に供給され、スキャンFF12の出力とNOTゲートG2の出力はNANDゲートG1に供給され、NANDゲートG1とスキャンFF14の出力はNANDゲートG3に供給され、スキャンFF17の出力はNOTゲートG7に供給され、スキャンFF16の出力とNOTゲートG7の出力はNANDゲートG8に供給され、NANDゲートG8の出力とスキャンFF18の出力はNANDゲートG9に供給され、スキャンFF11の出力とNANDゲートG3の出力はNORゲートG4に供給され、スキャンFF15の出力とNANDゲートG3の出力はNANDゲートG5に供給され、NORゲートG4の出力とNANDゲートG5の出力はNORゲートG6に供給され、NORゲートG6の出力は外部端子X6に供給され、NANDゲートG5の出力は外部端子X7に供給され、NANDゲートG9の出力は外部端子X8に供給される。   Further, the output of the scan FF 13 is supplied to the NOT gate G2, the output of the scan FF 12 and the output of the NOT gate G2 are supplied to the NAND gate G1, the outputs of the NAND gate G1 and the scan FF 14 are supplied to the NAND gate G3, and the scan FF 17 Is supplied to the NOT gate G7, the output of the scan FF16 and the output of the NOT gate G7 are supplied to the NAND gate G8, the output of the NAND gate G8 and the output of the scan FF18 are supplied to the NAND gate G9, and the output of the scan FF11. The output of the NAND gate G3 is supplied to the NOR gate G4, the output of the scan FF 15 and the output of the NAND gate G3 are supplied to the NAND gate G5, and the output of the NOR gate G4 and the output of the NAND gate G5 are supplied to the NOR gate G6. , NOR The output of the bets G6 is supplied to the external terminal X6, the output of NAND gate G5 is supplied to the external terminal X7, the output of the NAND gate G9 is supplied to the external terminal X8.

このような回路において図中に太線で示すパス、つまりスキャンFF13−G2−G1−G3−G5−X7における“0”から“1”への立ちあがり遷移のパス遅延故障に対するテストパターンを生成するには、まず、図33に示すようにこの被試験パス上の各信号線に遷移信号を設定し、つぎに図34(a)に示すようにパス上の論理ゲートのパス上にない入力信号線(オフインプット;off-inputs)に図30(c)に示した経路活性化表を用いてパスの各ゲートを活性化する信号値を設定する。すなわち、スキャンFF11〜18に初期化パターンを形成する。初期化パターンは、<1,1,0,0,x,1,x,x,x>となる。次に、図34(b)に示すようにスキャンFF11〜18に遷移パターンを生成するためにスキャンSFF11〜18を疑似外部出力とする組合せ回路の各信号線の値を決定する。すなわち、スキャンFF1〜9,X1〜5に遷移パターンを形成する。遷移パターンは、<x,x,1,1,1,1,x,x,x,1,x,1,x,x>となる。よって図33の例では、図中に太線で示すパスの遅延故障を試験するテストパターン系列は、<スキャンFF1〜9,スキャンFF11〜18、X1〜5>=<x,x,1,1,1,1,x,x,x,1,1,0,0,x,1,x,x,x,1,x,1,x,x>と求められる。この場合は“x”は、“0”または“1”の任意の値を割り当てることが可能である(例えば、非特許文献1参照)。
特開平5−128015公報 Angela Krstic/Kwang-Ting (Tim) Cheng,“Delay Fault Testing for VLSI Circuits”,(出版社;Kluwer Academic Publishers),(出版日;1998年9月1日),(引用ページ;pp.101-130)
In such a circuit, to generate a test pattern for a path delay fault of a rising transition from “0” to “1” in a path indicated by a bold line in the drawing, that is, scan FF13-G2-G1-G3-G5-X7. First, a transition signal is set for each signal line on the path under test as shown in FIG. 33, and then an input signal line (not on the path of the logic gate on the path as shown in FIG. A signal value for activating each gate of the path is set in the off-inputs using the path activation table shown in FIG. That is, an initialization pattern is formed in the scan FFs 11 to 18. The initialization pattern is <1,1,0,0, x, 1, x, x, x>. Next, as shown in FIG. 34 (b), in order to generate a transition pattern in the scan FFs 11-18, the value of each signal line of the combinational circuit using the scan SFFs 11-18 as a pseudo external output is determined. That is, transition patterns are formed in the scan FFs 1 to 9 and X1 to 5. The transition pattern is <x, x, 1, 1, 1, 1, x, x, x, 1, x, 1, x, x>. Therefore, in the example of FIG. 33, the test pattern series for testing the path delay fault indicated by the bold line in the figure is <scan FF1-9, scan FF11-18, X1-5> = <x, x, 1, 1, 1,1, x, x, x, 1,1,0,0, x, 1, x, x, x, 1, x, 1, x, x>. In this case, “x” can be assigned an arbitrary value of “0” or “1” (see, for example, Non-Patent Document 1).
JP-A-5-128015 Angela Krstic / Kwang-Ting (Tim) Cheng, “Delay Fault Testing for VLSI Circuits”, (publisher: Kluwer Academic Publishers), (published date: September 1, 1998), (cited page; pp.101-130 )

従来の図28に示す機能経路(通常動作経路)とテスト経路を切替えてメモリ回路単体の試験を行う方法では、メモリ部分が試験対象の回路から切り出されるので、実際にそのメモリが使用されるパスが試験されず、しかも、テスト内容が縮退故障などの静的なものに限られるので、ディレイ故障などの動的な故障を検出できなかった。したがって、メモリのアドレス入力,データ入力,データ出力,制御入力のパスについて動的な試験を行って製品の動作を完全に保証することが不可能であった。   In the conventional method of testing the memory circuit alone by switching the function path (normal operation path) and the test path shown in FIG. 28, since the memory portion is cut out from the circuit to be tested, the path in which the memory is actually used However, since the test contents are limited to static ones such as stuck-at faults, dynamic faults such as delay faults could not be detected. Therefore, it has been impossible to completely guarantee the operation of the product by performing dynamic tests on the memory address input, data input, data output, and control input paths.

また特許文献1に記載された方法では、上記入力パスと出力パスを確保することが困難であり、さらに入力パス、メモリ、出力パスのいずれかに実際に遅延故障が発生しているのかを判定することが困難であった。   Further, in the method described in Patent Document 1, it is difficult to secure the input path and the output path, and it is further determined whether a delay fault has actually occurred in any of the input path, the memory, and the output path. It was difficult to do.

また、非特許文献1に記載された方法では、選択されたパスの遅延故障を検出できるが、このような検出方法だけでは、メモリ回路のすべてのアドレス入力やデータ入力やメモリ制御信号群の遅延故障を検査するためのテストパターンを生成することができず、すべての遅延故障を確実に検査することはできない。   The method described in Non-Patent Document 1 can detect a delay fault in a selected path. However, only such a detection method can delay all address inputs, data inputs, and memory control signal groups of a memory circuit. A test pattern for inspecting a failure cannot be generated, and not all delay failures can be reliably inspected.

本発明は、上記従来の課題を解決するものであり、メモリ回路を含む半導体集積回路の各パスの動的な試験を行うことが可能となるテストパターン生成方法およびこの生成したテストパターンを使用した検査方法を提供することを目的とする。   The present invention solves the above-described conventional problems, and uses a test pattern generation method capable of performing a dynamic test of each path of a semiconductor integrated circuit including a memory circuit, and the generated test pattern. The purpose is to provide an inspection method.

上記目的を達成するため、請求項1に記載の発明は、メモリ回路とこのメモリ回路に接続された論理回路部を備え、前記論理回路部の一部あるいは全てのフリップフロップをスキャン・フリップフロップに置き換え、これらスキャン・フリップフロップにより、前記メモリ回路に初期値の設定を行う初期値設定スキャン・フリップフロップ群と、この初期値設定スキャン・フリップフロップ群を介して前記メモリ回路に遷移値の設定を行う遷移値設定スキャン・フリップフロップ群と、前記メモリ回路の出力を受ける出力値設定スキャン・フリップフロップ群を形成し、これらスキャン・フリップフロップ群のスキャン・フリップフロップをシリアルに接続して半導体集積回路の外部から回路内の制御・観測を可能とした半導体集積回路において、前記論理回路部と前記メモリ回路のパスの遅延故障を検出するため、前記スキャン・フリップフロップ群のテストパターンを生成する方法であって、
前記テストパターンの生成をおこなう対象故障を前記メモリ回路のデータラインから選択する工程と、前記選択された対象故障に対応するテスト可能最長パスを選択する工程と、前記選択されたテスト可能最長パスの初期化を行うデータライン初期化パターンを求める工程と、前記選択されたテスト可能最長パスの活性化を行うデータライン遷移パターンを求める工程と、前記メモリ回路のアドレスラインを所定の値に設定するアドレスパターン系列を求める工程と、前記メモリ回路の制御信号群を前記メモリに書き込みができる値に設定する制御値パターン系列を求める工程と、前記求めたデータライン遷移パターンに対する前記メモリ回路のデータラインの値および前記求めたアドレスパターン系列に対する前記メモリ回路のアドレスラインの値および前記求めた制御値パターン系列に対する前記メモリ回路の制御値により、前記メモリ回路への書き込みを行った後に、前記アドレスパターン系列に対する前記メモリ回路のアドレスラインのアドレスの値を読み出すときに、前記メモリ回路より前記出力値設定スキャン・フリップフロップ群が受ける値を前記対象故障の期待値として求める工程と、求めた前記データライン初期化パターンと前記データライン遷移パターンと前記アドレスパターン系列と前記制御値パターン系列と前記期待値を、前記スキャン・フリップフロップ群のシリアルパターンとして生成する工程とを有することを特徴としている。
In order to achieve the above object, an invention according to claim 1 includes a memory circuit and a logic circuit portion connected to the memory circuit, and a part or all of the flip-flops of the logic circuit portion are formed as scan flip-flops. By using these scan flip-flops, an initial value setting scan flip-flop group for setting an initial value in the memory circuit and a transition value setting in the memory circuit via the initial value setting scan flip-flop group Forming a transition value setting scan flip-flop group to be performed and an output value setting scan flip-flop group receiving the output of the memory circuit, and connecting the scan flip-flops of the scan flip-flop group in series For semiconductor integrated circuits that enable control and observation inside the circuit from outside Te, wherein for detecting delay faults in the path memory circuit, a method of generating a test pattern of the scan flip-flop group and the logic circuit portion,
Selecting a target fault for generating the test pattern from a data line of the memory circuit; selecting a longest testable path corresponding to the selected target fault; and selecting the longest testable path selected. A step of obtaining a data line initialization pattern for initialization, a step of obtaining a data line transition pattern for activating the selected longest testable path, and an address for setting an address line of the memory circuit to a predetermined value Obtaining a pattern series; obtaining a control value pattern series for setting a control signal group of the memory circuit to a value writable to the memory; and a value of a data line of the memory circuit with respect to the obtained data line transition pattern And an address label of the memory circuit for the obtained address pattern series. When the address value of the address line of the memory circuit for the address pattern series is read after writing to the memory circuit with the control value of the memory circuit with respect to the value of the control pattern and the obtained control value pattern series A step of obtaining a value received by the output value setting scan flip-flop group from the memory circuit as an expected value of the target failure, the obtained data line initialization pattern, the data line transition pattern, the address pattern series, and the And a step of generating the control value pattern series and the expected value as a serial pattern of the scan flip-flop group.

これにより、メモリ回路のデータラインに接続されるパスの遅延故障を検出するためテストパターンを形成でき、遅延故障検査が可能になる。
また請求項2に記載の発明は、メモリ回路とこのメモリ回路に接続された論理回路部を備え、前記論理回路部の一部あるいは全てのフリップフロップをスキャン・フリップフロップに置き換え、これらスキャン・フリップフロップにより、前記メモリ回路に初期値の設定を行う初期値設定スキャン・フリップフロップ群と、この初期値設定スキャン・フリップフロップ群を介して前記メモリ回路に遷移値の設定を行う遷移値設定スキャン・フリップフロップ群と、前記メモリ回路の出力を受ける出力値設定スキャン・フリップフロップ群を形成し、これらスキャン・フリップフロップ群のスキャン・フリップフロップをシリアルに接続して半導体集積回路の外部から回路内の制御・観測を可能とした半導体集積回路において、前記論理回路部と前記メモリ回路のパスの遅延故障を検出するため、前記スキャン・フリップフロップ群のテストパターンを生成する方法であって、
前記テストパターンの生成をおこなう対象故障を前記メモリ回路のアドレスラインから選択する工程と、前記選択された対象故障に対応するテスト可能最長パスを選択する工程と、前記選択されたテスト可能最長パスの初期化を行うアドレスライン初期化パターンを求める工程と、前記選択されたテスト可能最長パスの活性化を行うアドレスライン遷移パターンを求める工程と、前記メモリ回路のデータラインを所定の値に設定するデータパターン系列を求める工程と、前記メモリ回路の制御信号群を前記メモリに書き込みができる値に設定する制御値パターン系列を求める工程と、前記求めたデータパターン系列に対する前記メモリ回路のデータラインの値および前記求めたアドレスライン遷移パターンに対する前記メモリ回路のアドレスラインの値および前記制御値パターン系列に対する前記メモリ回路の制御値により前記メモリ回路への書き込みを行った後に、前記アドレスライン遷移パターンに対する前記メモリ回路のアドレスラインの値を読み出すときに、前記メモリ回路より前記出力値設定スキャン・フリップフロップ群が受ける値を前記対象故障の期待値として求める工程と、求めた前記アドレスライン初期化パターンと前記アドレスライン遷移パターンと前記データパターン系列と前記制御値パターン系列と前記期待値を、前記スキャン・フリップフロップ群のシリアルパターンとして生成する工程と、前記アドレスライン遷移パターンに対する前記メモリ回路のアドレスラインの値と異なるアドレスを初期化アドレスとして求める工程と、前記データパターン系列に対する前記メモリ回路のデータラインの値と異なるデータを初期化データとして求める工程と、前記初期化アドレスに前記初期化データの書きこみができる前記メモリ回路の制御信号群の値を、初期化制御値として求める工程とを有することを特徴としている。
As a result, a test pattern can be formed to detect a delay fault in a path connected to the data line of the memory circuit, and a delay fault inspection becomes possible.
According to a second aspect of the present invention, a memory circuit and a logic circuit unit connected to the memory circuit are provided, and some or all of the flip-flops of the logic circuit unit are replaced with scan flip-flops, and these scan flip-flops The initial value setting scan flip-flop group for setting the initial value in the memory circuit, and the transition value setting scan flip-flop group for setting the transition value in the memory circuit via the initial value setting scan flip-flop group. A flip-flop group and an output value setting scan flip-flop group for receiving the output of the memory circuit are formed, and the scan flip-flops of the scan flip-flop group are serially connected to each other in the circuit from the outside of the semiconductor integrated circuit. In a semiconductor integrated circuit capable of controlling and observing, the logic circuit section Wherein for detecting delay faults path memory circuit, a method of generating a test pattern of the scan flip-flop group,
Selecting a target fault for generating the test pattern from an address line of the memory circuit; selecting a longest testable path corresponding to the selected target fault; and selecting the longest testable path selected. A step of obtaining an address line initialization pattern for initialization, a step of obtaining an address line transition pattern for activating the selected longest testable path, and data for setting a data line of the memory circuit to a predetermined value Obtaining a pattern series; obtaining a control value pattern series for setting a control signal group of the memory circuit to a value writable in the memory; a value of a data line of the memory circuit with respect to the obtained data pattern series; Address of the memory circuit for the obtained address line transition pattern The memory circuit when reading the value of the address line of the memory circuit with respect to the address line transition pattern after writing to the memory circuit with the value of in and the control value of the memory circuit with respect to the control value pattern series Obtaining the value received by the output value setting scan flip-flop group as the expected value of the target failure, the obtained address line initialization pattern, the address line transition pattern, the data pattern series, and the control value pattern series Generating the expected value as a serial pattern of the scan flip-flop group, obtaining an address different from the value of the address line of the memory circuit with respect to the address line transition pattern as an initialization address, and the data pattern system A step of obtaining data different from the value of the data line of the memory circuit as initialization data, and a value of the control signal group of the memory circuit capable of writing the initialization data to the initialization address. As a feature.

これにより、メモリ回路のアドレスラインに接続されるパスの遅延故障を検出するためテストパターンを形成でき、遅延故障検査が可能になる。
また請求項3に記載の発明は、メモリ回路とこのメモリ回路に接続された論理回路部を備え、前記論理回路部の一部あるいは全てのフリップフロップをスキャン・フリップフロップに置き換え、これらスキャン・フリップフロップにより、前記メモリ回路に初期値の設定を行う初期値設定スキャン・フリップフロップ群と、この初期値設定スキャン・フリップフロップ群を介して前記メモリ回路に遷移値の設定を行う遷移値設定スキャン・フリップフロップ群と、前記メモリ回路の出力を受ける出力値設定スキャン・フリップフロップ群を形成し、これらスキャン・フリップフロップ群のスキャン・フリップフロップをシリアルに接続して半導体集積回路の外部から回路内の制御・観測を可能とした半導体集積回路において、前記論理回路部と前記メモリ回路のパスの遅延故障を検出するため、前記スキャン・フリップフロップ群のテストパターンを生成する方法であって、
前記テストパターンの生成をおこなう対象故障を前記メモリ回路のデータアウトラインから対象故障を選択する工程と、前記選択された対象故障に対応するテスト可能最長パスを選択する工程と、前記選択されたテスト可能最長パスの初期化を行う第1のメモリ初期化データを求める工程と、前記選択されたテスト可能最長パスの活性化を行う第2のメモリ初期化データを求める工程と、前記メモリ回路に前記第1のメモリ初期化データを書き込む第1のメモリ初期化アドレスを求める工程と、前記メモリ回路に前記第2のメモリ初期化データを書き込むアドレスを、前記第1のメモリ初期化データを書き込むアドレスとは異なるアドレスとする第2のメモリ初期化アドレスを求める工程と、前記メモリ回路に前記第1のメモリ初期化データと前記第2のメモリ初期化データを前記メモリ回路に書き込みができる値に設定するメモリ初期化制御値を求める工程と、前記第1のメモリ初期化データを読み出すためのアドレスと前記メモリ回路の制御信号群の値からなるデータアウト初期化パターンを求める工程と、前記第2のメモリ初期化データを読み出すためのアドレスと前記メモリ回路の制御信号群の値からなるデータアウト遷移パターンを求める工程と、前記データアウト遷移パターンにより活性化されたテスト可能最長パスの終点となる前記出力値設定スキャン・フリップフロップ群が受ける値を期待値として求める工程と、前記データアウト初期化パターンと前記データアウト遷移パターンと前記期待値を、前記スキャン・フリップフロップ群のシリアルパターンとして生成する工程とを有することを特徴としている。
As a result, a test pattern can be formed to detect a delay fault in the path connected to the address line of the memory circuit, and a delay fault inspection becomes possible.
According to a third aspect of the present invention, there is provided a memory circuit and a logic circuit portion connected to the memory circuit, and a part or all of the flip-flops of the logic circuit portion are replaced with scan flip-flops. The initial value setting scan flip-flop group for setting the initial value in the memory circuit, and the transition value setting scan flip-flop group for setting the transition value in the memory circuit via the initial value setting scan flip-flop group. A flip-flop group and an output value setting scan flip-flop group for receiving the output of the memory circuit are formed, and the scan flip-flops of the scan flip-flop group are serially connected to each other in the circuit from the outside of the semiconductor integrated circuit. In a semiconductor integrated circuit capable of controlling and observing, the logic circuit section Wherein for detecting delay faults path memory circuit, a method of generating a test pattern of the scan flip-flop group,
Selecting a target fault for generating the test pattern from a data outline of the memory circuit; selecting a longest testable path corresponding to the selected target fault; and the selected testable Obtaining first memory initialization data for initializing the longest path; obtaining second memory initialization data for activating the selected longest testable path; and A step of obtaining a first memory initialization address for writing one memory initialization data, an address for writing the second memory initialization data in the memory circuit, and an address for writing the first memory initialization data Obtaining a second memory initialization address having a different address, and storing the first memory initialization data in the memory circuit; Obtaining a memory initialization control value for setting the second memory initialization data to a value writable to the memory circuit; an address for reading the first memory initialization data; and a control signal for the memory circuit Obtaining a data-out initialization pattern comprising a group value; obtaining a data-out transition pattern comprising an address for reading the second memory initialization data and a value of a control signal group of the memory circuit; A step of obtaining, as an expected value, a value received by the output value setting scan flip-flop group serving as an end point of the longest testable path activated by the data-out transition pattern, the data-out initialization pattern, and the data-out transition pattern; The expected value is generated as a serial pattern of the scan flip-flop group. It is characterized by a step of.

これにより、メモリ回路のデータアウトラインから接続されるパスの遅延故障を検出するためテストパターンを形成でき、遅延故障検査が可能になる。
また請求項4に記載の発明は、メモリ回路とこのメモリ回路に接続された論理回路部を備え、前記論理回路部の一部あるいは全てのフリップフロップをスキャン・フリップフロップに置き換え、これらスキャン・フリップフロップにより、前記メモリ回路に初期値の設定を行う初期値設定スキャン・フリップフロップ群と、この初期値設定スキャン・フリップフロップ群を介して前記メモリ回路に遷移値の設定を行う遷移値設定スキャン・フリップフロップ群と、前記メモリ回路の出力を受ける出力値設定スキャン・フリップフロップ群を形成し、これらスキャン・フリップフロップ群のスキャン・フリップフロップをシリアルに接続して半導体集積回路の外部から回路内の制御・観測を可能とした半導体集積回路において、前記論理回路部と前記メモリ回路のパスの遅延故障を検出するため、前記スキャン・フリップフロップ群のテストパターンを生成する方法であって、
前記テストパターンの生成をおこなう前記メモリ回路の書き込み制御信号の書き込み不可から書き込み可能に遷移する対象故障に対応するテスト可能最長パスを選択する工程と、前記選択されたテスト可能最長パスの初期化を行うライトイネーブル初期化パターンを求める工程と、前記選択されたテスト可能最長パスの活性化を行うライトイネーブル遷移パターンを求める工程と、前記メモリ回路のアドレスラインを所定の値に設定するアドレスパターン系列を求める工程と、前記メモリ回路のデータラインを所定の値に設定するデータパターン系列を求める工程と、前記メモリ回路の制御信号群を前記メモリ回路に書き込みができる値に設定する制御値パターン系列を求める工程と、前記求めたデータパターン系列に対する前記メモリ回路のデータラインの値および前記求めたアドレスパターン系列に対する前記メモリ回路のアドレスラインの値および前記求めたライトイネーブル遷移パターンにより前記メモリ回路への書き込みを行った後に、前記アドレスパターン系列に対する前記メモリ回路のアドレスラインのアドレスの値を読み出すときに、前記メモリ回路より前記出力値設定スキャン・フリップフロップ群が受ける値を期待値として求める工程と、求めた前記ライトイネーブル初期化パターン系列と前記ライトイネーブル遷移パターン系列と前記アドレスパターン系列と前記データパターン系列と前記期待値を、前記フリップフロップ群のシリアルパターンとして生成する工程と、前記アドレスパターン系列に対する前記メモリ回路のアドレスラインの値を初期化アドレスとして求める工程と、前記データパターン系列に対する前記メモリ回路のデータラインの値と異なるデータを初期化データとして求める工程と、前記初期化アドレスに前記初期化データを前記メモリ回路に書きこみができる前記メモリ回路の制御信号群の値を、メモリ初期化制御値として求める工程とを有することを特徴としている。
As a result, a test pattern can be formed to detect a delay fault of a path connected from the data outline of the memory circuit, and a delay fault inspection becomes possible.
According to a fourth aspect of the present invention, a memory circuit and a logic circuit unit connected to the memory circuit are provided, and a part or all of the flip-flops of the logic circuit unit are replaced with scan flip-flops. The initial value setting scan flip-flop group for setting the initial value in the memory circuit, and the transition value setting scan flip-flop group for setting the transition value in the memory circuit via the initial value setting scan flip-flop group. A flip-flop group and an output value setting scan flip-flop group for receiving the output of the memory circuit are formed, and the scan flip-flops of the scan flip-flop group are serially connected to each other in the circuit from the outside of the semiconductor integrated circuit. In a semiconductor integrated circuit capable of controlling and observing, the logic circuit section Wherein for detecting delay faults path memory circuit, a method of generating a test pattern of the scan flip-flop group,
The step of selecting the longest testable path corresponding to the target failure that transitions from write disable to write enable of the write control signal of the memory circuit that generates the test pattern, and initialization of the selected longest testable path A step of obtaining a write enable initialization pattern to be performed; a step of obtaining a write enable transition pattern for activating the selected longest testable path; and an address pattern series for setting an address line of the memory circuit to a predetermined value. Determining a data pattern sequence for setting a data line of the memory circuit to a predetermined value; and determining a control value pattern sequence for setting a control signal group of the memory circuit to a value that can be written to the memory circuit. And a memory circuit for the obtained data pattern sequence The address of the memory circuit with respect to the address pattern sequence after writing to the memory circuit with the value of the data line and the value of the address line of the memory circuit with respect to the determined address pattern sequence and the determined write enable transition pattern A step of obtaining, as an expected value, a value received by the output value setting scan flip-flop group from the memory circuit when reading an address value of a line; and the obtained write enable initialization pattern sequence and the write enable transition pattern sequence Generating the address pattern series, the data pattern series, and the expected value as a serial pattern of the flip-flop group, and initializing and adding the address line value of the memory circuit to the address pattern series Obtaining the initialization data as data different from the value of the data line of the memory circuit for the data pattern series, and writing the initialization data into the memory circuit at the initialization address. And a step of obtaining a value of a control signal group of the memory circuit as a memory initialization control value.

これにより、メモリ回路のライトイネーブルラインに接続されるパスの書き込み不可から書き込み可能に遷移するときの遅延故障を検出するためテストパターンを形成でき、遅延故障検査が可能になる。   As a result, a test pattern can be formed to detect a delay fault when the path connected to the write enable line of the memory circuit transitions from a write disabled state to a writable state, thereby enabling a delay fault inspection.

また請求項5に記載の発明は、メモリ回路とこのメモリ回路に接続された論理回路部を備え、前記論理回路部の一部あるいは全てのフリップフロップをスキャン・フリップフロップに置き換え、これらスキャン・フリップフロップにより、前記メモリ回路に初期値の設定を行う初期値設定スキャン・フリップフロップ群と、この初期値設定スキャン・フリップフロップ群を介して前記メモリ回路に遷移値の設定を行う遷移値設定スキャン・フリップフロップ群と、前記メモリ回路の出力を受ける出力値設定スキャン・フリップフロップ群を形成し、これらスキャン・フリップフロップ群のスキャン・フリップフロップをシリアルに接続して半導体集積回路の外部から回路内の制御・観測を可能とした半導体集積回路において、前記論理回路部と前記メモリ回路のパスの遅延故障を検出するため、前記スキャン・フリップフロップ群のテストパターンを生成する方法であって、
前記テストパターンの生成をおこなう前記メモリ回路の書き込み制御信号の書き込み可能から書き込み不可に遷移する対象故障に対応するテスト可能最長パスを選択する工程と、前記テスト可能最長パスの初期化を行うライトイネーブル初期化パターンを求める工程と、前記テスト可能最長パスの活性化を行うライトイネーブル遷移パターンを求める工程と、前記メモリ回路のアドレスラインを所定の値に設定するテストパターン系列を求める工程と、前記ライトイネーブル初期化パターンと前記アドレスパターン系列に対応する前記メモリ回路に所定の値に書きこむ第1のメモリ初期化データを求める工程と、前記ライトイネーブル遷移パターンと前記アドレスパターン系列に対応する前記メモリ回路に所定の値に書きこむ第2のメモリ初期化データを、前記第1のメモリ初期化データと異なる値で求める工程と、前記メモリ回路の制御信号群を前記メモリ回路に書き込みができる値に設定する制御値パターン系列を求める工程と、前記求めた第1のメモリ初期化データに対する前記メモリ回路のデータラインの値および前記求めたアドレスパターン系列に対する前記メモリ回路のアドレスラインの値および前記求めたライトイネーブル初期化パターンにより前記メモリ回路への書き込みを行った後に、前記アドレスパターン系列に対する前記メモリ回路のアドレスラインのアドレスの値を読み出すときに、前記メモリ回路より前記出力値設定スキャン・フリップフロップ群が受ける値を期待値として求める工程と、求めた前記ライトイネーブル初期化パターンと前記ライトイネーブル遷移パターンと前記アドレスパターン系列と前記第1のメモリ初期化データと前記第2のメモリ初期化データと前記制御値パターン系列と前記期待値を、前記フリップフロップ群のシリアルパターンとして生成する工程とを有することを特徴としている。
The invention according to claim 5 includes a memory circuit and a logic circuit portion connected to the memory circuit, and a part or all of the flip-flops of the logic circuit portion are replaced with scan flip-flops, and these scan flip-flops The initial value setting scan flip-flop group for setting the initial value in the memory circuit, and the transition value setting scan flip-flop group for setting the transition value in the memory circuit via the initial value setting scan flip-flop group. A flip-flop group and an output value setting scan flip-flop group that receives the output of the memory circuit are formed, and the scan flip-flops of the scan flip-flop group are serially connected to each other in the circuit from the outside of the semiconductor integrated circuit. In the semiconductor integrated circuit that enables control and observation, the logic circuit section Wherein for detecting delay faults path memory circuit, a method of generating a test pattern of the scan flip-flop group,
The step of selecting the longest testable path corresponding to the target failure that makes a transition from writable to non-writable of the write control signal of the memory circuit that generates the test pattern, and the write enable that initializes the longest testable path Obtaining an initialization pattern; obtaining a write enable transition pattern for activating the longest testable path; obtaining a test pattern sequence for setting an address line of the memory circuit to a predetermined value; Obtaining a first memory initialization data to be written to a predetermined value in the memory circuit corresponding to the enable initialization pattern and the address pattern series; and the memory circuit corresponding to the write enable transition pattern and the address pattern series The second memory that writes to the predetermined value in the first Obtaining a data having a value different from that of the first memory initialization data, obtaining a control value pattern series for setting a control signal group of the memory circuit to a value writable to the memory circuit, and obtaining the obtained data Write to the memory circuit based on the value of the data line of the memory circuit for the first memory initialization data, the value of the address line of the memory circuit for the obtained address pattern series, and the obtained write enable initialization pattern. A step of obtaining, as an expected value, a value received by the output value setting scan flip-flop group from the memory circuit when the address value of the address line of the memory circuit with respect to the address pattern series is read after performing The write enable initialization pattern and the write rice Generating a transition pattern, the address pattern series, the first memory initialization data, the second memory initialization data, the control value pattern series, and the expected value as a serial pattern of the flip-flop group; It is characterized by having.

これにより、メモリ回路のライトイネーブルラインに接続されるパスの書き込み可能から書き込み不可に遷移するときの遅延故障を検出するためテストパターンを形成でき、遅延故障検査が可能になる。   As a result, a test pattern can be formed to detect a delay fault when the path connected to the write enable line of the memory circuit transits from writable to non-writable, thereby enabling a delay fault inspection.

また請求項6に記載の発明は、メモリ回路とこのメモリ回路に接続された論理回路部を備え、前記論理回路部の一部あるいは全てのフリップフロップをスキャン・フリップフロップに置き換え、これらスキャン・フリップフロップにより、前記メモリ回路に初期値の設定を行う初期値設定スキャン・フリップフロップ群と、この初期値設定スキャン・フリップフロップ群を介して前記メモリ回路に遷移値の設定を行う遷移値設定スキャン・フリップフロップ群と、前記メモリ回路の出力を受ける出力値設定スキャン・フリップフロップ群を形成し、これらスキャン・フリップフロップ群のスキャン・フリップフロップをシリアルに接続して半導体集積回路の外部から回路内の制御・観測を可能とした半導体集積回路において、前記論理回路部と前記メモリ回路のパスの遅延故障を検出するため、前記スキャン・フリップフロップ群のテストパターンを生成する方法であって、
前記テストパターンの生成をおこなう前記メモリ回路の読出し制御信号の読出し不可から読出し可能に遷移する対象故障に対応するテスト可能最長パスを選択する工程と、前記選択されたテスト可能最長パスの初期化を行うリードイネーブル初期化パターンを求める工程と、前記選択されたテスト可能最長パスの活性化を行うリードイネーブル遷移パターンを求める工程と、前記メモリ回路のアドレスラインを所定の値に設定するアドレスパターン系列を求める工程と、前記メモリ回路のデータラインを所定の値に設定するデータパターン系列を求める工程と、前記メモリ回路の制御信号群を前記メモリ回路に前記アドレスパターン系列に対する前記メモリ回路のアドレスラインの値および前記データパターン系列に対する前記メモリ回路のデータラインの値による前記メモリ回路への書き込みができる値に設定する制御値初期化パターンを求める工程と、前記メモリ回路の制御信号群を前記メモリ回路に前記アドレスパターン系列に対する前記メモリ回路のアドレスラインの値および前記データパターン系列に対する前記メモリ回路のデータラインの値による前記メモリ回路からの読出しができる値に設定する制御値遷移パターンを求める工程と、前記データパターン系列に対する前記メモリ回路のデータラインの値および前記アドレスパターン系列に対する前記メモリ回路のアドレスラインの値および前記リードイネーブル初期化パターンにより前記メモリ回路への書き込みを行った後に、前記アドレスパターン系列に対する前記メモリ回路のアドレスラインのアドレスの値を読み出すときに、前記メモリ回路より前記出力値設定スキャン・フリップフロップ群が受ける値を期待値として求める工程と、前記期待値と異なる値を出力設定値パターンとして求める工程と、前記リードイネーブル初期化パターンと前記リードイネーブル遷移パターンと前記アドレスパターン系列と前記データパターン系列と前記制御値初期化パターンと前記制御値遷移パターンと前記出力設定値パターンと前記期待値を、前記スキャン・フリップフロップ群のシリアルパターンとして生成する工程とを有することを特徴としている。
According to a sixth aspect of the present invention, a memory circuit and a logic circuit unit connected to the memory circuit are provided, and some or all of the flip-flops of the logic circuit unit are replaced with scan flip-flops. The initial value setting scan flip-flop group for setting the initial value in the memory circuit, and the transition value setting scan flip-flop group for setting the transition value in the memory circuit via the initial value setting scan flip-flop group. A flip-flop group and an output value setting scan flip-flop group for receiving the output of the memory circuit are formed, and the scan flip-flops of the scan flip-flop group are serially connected to each other in the circuit from the outside of the semiconductor integrated circuit. In the semiconductor integrated circuit that enables control and observation, the logic circuit section Wherein for detecting delay faults path memory circuit, a method of generating a test pattern of the scan flip-flop group,
The step of selecting the longest testable path corresponding to the target fault that transitions to the readable state from the unreadable read control signal of the memory circuit that generates the test pattern, and the initialization of the selected longest testable path A step of obtaining a read enable initialization pattern to be performed; a step of obtaining a read enable transition pattern for activating the selected longest testable path; and an address pattern series for setting an address line of the memory circuit to a predetermined value. Obtaining a data pattern sequence for setting a data line of the memory circuit to a predetermined value; and determining a value of the address line of the memory circuit with respect to the address pattern sequence for a control signal group of the memory circuit. And the memory circuit for the data pattern series A control value initialization pattern that is set to a value that can be written to the memory circuit by a value of the data line; and a control signal group of the memory circuit is transferred to the memory circuit for the address line of the memory circuit for the address pattern series Determining a control value transition pattern that is set to a value that can be read from the memory circuit according to a value and a value of the data line of the memory circuit with respect to the data pattern series; and a value of the data line of the memory circuit with respect to the data pattern series And the address line value of the memory circuit for the address pattern series and the address line address value of the memory circuit for the address pattern series after writing to the memory circuit by the read enable initialization pattern. A step of obtaining, as an expected value, a value received from the memory circuit by the output value setting scan flip-flop group from the memory circuit, a step of obtaining a value different from the expected value as an output setting value pattern, and the read enable initialization Pattern, read enable transition pattern, address pattern series, data pattern series, control value initialization pattern, control value transition pattern, output set value pattern, and expected value, serial number of scan flip-flop group And a step of generating as a pattern.

これにより、メモリ回路のリードイネーブルラインに接続されるパスの読出し不可から読出し可能に遷移するときの遅延故障を検出するためテストパターンを形成でき、遅延故障検査が可能になる。   As a result, a test pattern can be formed to detect a delay fault when the path connected to the read enable line of the memory circuit makes a transition from unreadable to readable, thereby enabling a delay fault inspection.

また請求項7に記載の発明は、メモリ回路とこのメモリ回路に接続された論理回路部を備え、前記論理回路部の一部あるいは全てのフリップフロップをスキャン・フリップフロップに置き換え、これらスキャン・フリップフロップにより、前記メモリ回路に初期値の設定を行う初期値設定スキャン・フリップフロップ群と、この初期値設定スキャン・フリップフロップ群を介して前記メモリ回路に遷移値の設定を行う遷移値設定スキャン・フリップフロップ群と、前記メモリ回路の出力を受ける出力値設定スキャン・フリップフロップ群を形成し、これらスキャン・フリップフロップ群のスキャン・フリップフロップをシリアルに接続して半導体集積回路の外部から回路内の制御・観測を可能とした半導体集積回路において、前記論理回路部と前記メモリ回路のパスの遅延故障を検出するため、前記スキャン・フリップフロップ群のテストパターンを生成する方法であって、
前記テストパターンの生成をおこなう前記メモリ回路の読出し制御信号の読出し可能から読出し不可に遷移する対象故障に対応するテスト可能最長パスを選択する工程と、前記選択されたテスト可能最長パスの初期化を行うリードイネーブル初期化パターンを求める工程と、前記テスト可能最長パスの活性化を行うリードイネーブル遷移パターンを求める生成工程と、前記求めたリードイネーブル初期化パターンに対応する所定の第1のメモリ初期化アドレスを求める工程と、前記求めたリードイネーブル遷移パターンに対応する第2のメモリ初期化アドレスを、第1のメモリ初期化アドレスと異なる値で求める工程と、前記求めた第1のメモリ初期化アドレスにおいて前記メモリ回路へ所定のデータ書きこむための第1のメモリ初期化データを求める工程と、前記求めた第2のメモリ初期化アドレスにおいて前記メモリ回路へ書き込む第2のメモリ初期化データを、前記第1のメモリ初期化データとは異なる値で求める工程と、前記メモリ回路の制御信号群を前記メモリ回路に前記第1のメモリ初期化データおよび前記第2のメモリ初期化データを書き込みができる値に設定するメモリ初期化制御値パターン系列を求める工程と、前記メモリ回路に書き込んだ第1のメモリ初期化データを読み出すためのアドレスと前記メモリ回路の制御信号群を設定する初期値スキャン・フリップフロップ群の値を求める工程と、前記メモリ回路に書き込んだ第2のメモリ初期化データを読み出すためのアドレスと前記メモリ回路の制御信号群を設定する遷移値スキャン・フリップフロップ群の値を求める工程と、前記メモリ回路に書き込んだデータを前記初期値スキャン・フリップフロップ群の値により読み出すときに、前記メモリ回路より前記出力値設定スキャン・フリップフロップ群が受ける値を期待値として求める工程と、求めた前記リードイネーブル初期化パターンと前記リードイネーブル遷移パターンと前記初期値スキャン・フリップフロップ群の値と前記遷移値スキャン・フリップフロップ群の値と前記期待値を、前記スキャン・フリップフロップ群のシリアルパターンとして生成する工程とを有することを特徴としている。
The invention according to claim 7 includes a memory circuit and a logic circuit portion connected to the memory circuit, and a part or all of the flip-flops of the logic circuit portion are replaced with scan flip-flops. The initial value setting scan flip-flop group for setting the initial value in the memory circuit, and the transition value setting scan flip-flop group for setting the transition value in the memory circuit via the initial value setting scan flip-flop group. A flip-flop group and an output value setting scan flip-flop group for receiving the output of the memory circuit are formed, and the scan flip-flops of the scan flip-flop group are serially connected to each other in the circuit from the outside of the semiconductor integrated circuit. In a semiconductor integrated circuit capable of controlling and observing, the logic circuit section Wherein for detecting delay faults path memory circuit, a method of generating a test pattern of the scan flip-flop group,
The step of selecting the longest testable path corresponding to the target failure that transitions from readable to non-readable of the read control signal of the memory circuit that generates the test pattern, and initialization of the selected longest testable path Obtaining a read enable initialization pattern to be performed; generating a read enable transition pattern for activating the longest testable path; and predetermined first memory initialization corresponding to the obtained read enable initialization pattern A step of obtaining an address, a step of obtaining a second memory initialization address corresponding to the obtained read enable transition pattern with a value different from the first memory initialization address, and the obtained first memory initialization address First memory initialization data for writing predetermined data into the memory circuit in FIG. Determining the second memory initialization data to be written to the memory circuit at the determined second memory initialization address with a value different from the first memory initialization data, and the memory circuit Determining a memory initialization control value pattern sequence for setting the control signal group of the first memory initialization data and the second memory initialization data to values that can be written to the memory circuit; Obtaining an address for reading the written first memory initialization data and a value of an initial value scan flip-flop group for setting a control signal group of the memory circuit; and a second memory initial value written to the memory circuit Of the transition value scan flip-flop group for setting the address for reading the digitized data and the control signal group of the memory circuit And a step of obtaining, as an expected value, a value received by the output value setting scan flip-flop group from the memory circuit when the data written in the memory circuit is read based on the value of the initial value scan flip-flop group. The read enable initialization pattern, the read enable transition pattern, the value of the initial value scan flip-flop group, the value of the transition value scan flip-flop group, and the expected value, and the scan flip-flop group And a step of generating as a serial pattern.

これにより、メモリ回路のリードイネーブルラインに接続されるパスの読出し可能から読出し不可に遷移するときの遅延故障を検出するためテストパターンを形成でき、遅延故障検査が可能になる。   As a result, a test pattern can be formed to detect a delay fault when the path connected to the read enable line of the memory circuit transitions from readable to non-readable, thereby enabling a delay fault inspection.

また請求項8に記載の発明は、メモリ回路とメモリテスト回路とこれらメモリ回路およびメモリテスト回路に接続された論理回路部を備え、前記論理回路部の一部あるいは全てのフリップフロップをスキャン・フリップフロップに置き換え、これらスキャン・フリップフロップにより、前記メモリ回路に初期値の設定を行う初期値設定スキャン・フリップフロップ群と、この初期値設定スキャン・フリップフロップ群を介して前記メモリ回路に遷移値の設定を行う遷移値設定スキャン・フリップフロップ群と、前記メモリ回路の出力を受ける出力値設定スキャン・フリップフロップ群を形成し、これらスキャン・フリップフロップ群のスキャン・フリップフロップをシリアルに接続して半導体集積回路の外部から回路内の制御・観測を可能とした半導体集積回路において、前記論理回路部と前記メモリ回路のパスの遅延故障の有無を検査する検査方法であって、
メモリ初期化データを前記メモリテスト回路から前記メモリ回路へ印加する工程と、前記初期値設定スキャン・フリップフロップ群と遷移値設定スキャン・フリップフロップ群と出力値設定スキャン・フリップフロップ群に、テストパターンを設定する工程と、前記メモリ回路および前記スキャン・フリップフロップ群へ前記メモリ回路の実動作速度でクロックを印加する工程と、前記出力値設定スキャン・フリップフロップ群の値を読み出す工程とを有することを特徴としている。
The invention according to claim 8 further includes a memory circuit, a memory test circuit, and a logic circuit unit connected to the memory circuit and the memory test circuit, wherein a part or all of the flip-flops of the logic circuit unit is a scan flip-flop. The initial value setting scan flip-flop group for setting the initial value in the memory circuit by these scan flip-flops, and the transition value of the transition value in the memory circuit through the initial value setting scan flip-flop group. A transition value setting scan flip-flop group for setting and an output value setting scan flip-flop group for receiving the output of the memory circuit are formed, and the scan flip-flops of the scan flip-flop group are serially connected to form a semiconductor. Enables control and observation inside the integrated circuit And the semiconductor integrated circuit, there is provided an inspection method for inspecting the presence or absence of a delay fault of the path of said memory circuit and the logic circuit portion,
A step of applying memory initialization data from the memory test circuit to the memory circuit; and a test pattern in the initial value setting scan flip-flop group, transition value setting scan flip-flop group, and output value setting scan flip-flop group A step of applying a clock to the memory circuit and the scan flip-flop group at an actual operation speed of the memory circuit, and a step of reading a value of the output value setting scan flip-flop group It is characterized by.

これにより、上記請求項2に記載の発明または上記請求項3に記載の発明または上記請求項4に記載の発明または上記請求項7に記載の発明で生成したテストパターンを用いて遅延故障検査をすることが可能となる。   Accordingly, the delay fault inspection is performed using the test pattern generated in the invention according to the second aspect, the third aspect, the third aspect, the fourth aspect, or the seventh aspect. It becomes possible to do.

本発明は、回路内のパス上にメモリ回路が存在している場合であっても、このパスを試験してその遅延故障を検出でき、したがって回路内の動的な動作を保証でき、製品の信頼性を飛躍的に向上させることができる。   The present invention can test this path to detect its delay faults even when a memory circuit is present on the path in the circuit, thus ensuring dynamic operation in the circuit, and Reliability can be dramatically improved.

以下、本発明の実施の形態を図面に基づいて説明する。
まず、明細書で使用する用語の定義を行う。
「パス、パス遅延時間、パス遅延故障」
回路における信号遷移経路をパスと呼ぶ。パスの入力信号線から出力信号線まで信号が遷移する時間をパス遅延時間と呼び、パス遅延時間が所定の値より大きくなると回路は正常に動作しなくなる。これをパス遅延故障と呼ぶ。
「最長パス」
最長パスとは、信号遷移時間が最長であるパスを示す。例えば、メモリ回路MのデータラインDI[0]に対する最長パスは、スキャンFFの出力または外部入力からメモリ回路MのデータラインDI[0]までの信号遷移時間が最長であるパスを示す。同様に、メモリ回路MのデータアウトDO[0]に対する最長パスは、メモリ回路MのデータアウトDO[0]からスキャンFFの入力または外部出力までの信号遷移時間が最長であるパスを示す。
「テスト可能パス」
テスト可能パスとは、上記パス遅延故障に対するテストパターンが生成可能なパスを示す。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
First, terms used in the specification are defined.
"Path, path delay time, path delay failure"
A signal transition path in the circuit is called a path. The time when the signal transitions from the input signal line to the output signal line of the path is called a path delay time. When the path delay time becomes larger than a predetermined value, the circuit does not operate normally. This is called a path delay fault.
"Longest path"
The longest path is a path having the longest signal transition time. For example, the longest path for the data line DI [0] of the memory circuit M indicates a path having the longest signal transition time from the output or external input of the scan FF to the data line DI [0] of the memory circuit M. Similarly, the longest path for the data out DO [0] of the memory circuit M indicates a path having the longest signal transition time from the data out DO [0] of the memory circuit M to the input or external output of the scan FF.
Testable path
The testable path indicates a path where a test pattern for the path delay fault can be generated.

次に、本実施の形態における半導体集積回路の遅延故障テストパターン生成方法および遅延故障検査方法を使用するメモリ回路の一例を、図1に示す。
図1(a)に示すように、メモリ回路MのアドレスラインはAD[2:0]の3ビット、データラインはDI[2:0]の3ビット、データアウトラインはDO[2:0]の3ビットである。
Next, FIG. 1 shows an example of a memory circuit that uses the delay fault test pattern generation method and the delay fault inspection method for a semiconductor integrated circuit according to the present embodiment.
As shown in FIG. 1A, the address line of the memory circuit M is 3 bits of AD [2: 0], the data line is 3 bits of DI [2: 0], and the data outline is DO [2: 0]. 3 bits.

またチップイネーブル信号NCEが“0”のとき、メモリ回路Mへのアクセスが可能であり、チップイネーブル信号NCEが“1”のとき、メモリ回路Mへのアクセスは禁止となる。またライトイネーブル信号NWEが“0”のとき、メモリ回路Mへのライト動作が可能であり、ライトイネーブル信号NWEが“1”のとき、メモリ回路Mへのライト動作は禁止とする。さらに、リードイネーブル信号NREが“0”のとき、メモリ回路Mへのリード動作が可能であり、リードイネーブル信号NREが“1”のとき、メモリ回路Mへのリード動作は禁止とする。   When the chip enable signal NCE is “0”, access to the memory circuit M is possible. When the chip enable signal NCE is “1”, access to the memory circuit M is prohibited. Further, when the write enable signal NWE is “0”, the write operation to the memory circuit M is possible, and when the write enable signal NWE is “1”, the write operation to the memory circuit M is prohibited. Further, when the read enable signal NRE is “0”, the read operation to the memory circuit M is possible, and when the read enable signal NRE is “1”, the read operation to the memory circuit M is prohibited.

またライトイネーブル信号NWEが“0”であり、リードイネーブル信号NREが“0”の場合はメモリ回路Mへのライト動作もリード動作も正しく行うことができないものとし、さらにライトイネーブル信号NWEが“1”であり、リードイネーブル信号NREが“1”の場合は、メモリ回路Mへのライト動作もリード動作も行われずデータアウトラインDO[2:0]の出力は、以前の状態を保持するものとしている。   When the write enable signal NWE is “0” and the read enable signal NRE is “0”, it is assumed that neither the write operation nor the read operation to the memory circuit M can be performed correctly, and the write enable signal NWE is “1”. When the read enable signal NRE is “1”, neither the write operation nor the read operation is performed on the memory circuit M, and the output of the data outline DO [2: 0] holds the previous state. .

またアドレスラインAD[2:0]とデータラインDI[2:0]と制御信号群(NCE,NWE,NRE)とクロック信号入力ライン(CLK)にそれぞれ、通常動作経路とテスト経路を切替えることができるセレクタS1〜S10が設けられ、これらセレクタS1〜S10によりメモリテスト回路Tが形成されている。クロック信号入力ラインのセレクタS10を除く他のセレクタS1〜S9は、テストモード信号が“L(0)”のとき、テスト経路が選択される。   Further, the normal operation path and the test path can be switched to the address line AD [2: 0], the data line DI [2: 0], the control signal group (NCE, NWE, NRE), and the clock signal input line (CLK), respectively. Selectable selectors S1 to S10 are provided, and a memory test circuit T is formed by these selectors S1 to S10. For the other selectors S1 to S9 except the selector S10 of the clock signal input line, the test path is selected when the test mode signal is “L (0)”.

クロック信号入力ラインのセレクタS10の制御信号に対して選択されるクロックを図1(b)に示す。テストモード信号が“L(0)”の場合は、スキャンモード信号(スキャンイネーブル信号)の値に関係なくテスト用クロックが選択され、テストモード信号が“H(1)”で、かつスキャンモード信号が“L”の場合は、スキャンクロックが選択され、さらにテストモード信号が“H”でかつスキャンモード信号が“H”の場合は、通常動作用クロックが選択される。   The clock selected for the control signal of the selector S10 of the clock signal input line is shown in FIG. When the test mode signal is “L (0)”, the test clock is selected regardless of the value of the scan mode signal (scan enable signal), the test mode signal is “H (1)”, and the scan mode signal Is “L”, the scan clock is selected, and when the test mode signal is “H” and the scan mode signal is “H”, the normal operation clock is selected.

以下、本発明の半導体集積回路の遅延故障テストパターン生成方法および遅延故障検査方法について説明する。
[実施の形態1]
実施の形態1として、メモリ回路Mのデータライン(DI)を検査するテストパターン生成方法について説明する。
Hereinafter, a delay fault test pattern generation method and a delay fault inspection method for a semiconductor integrated circuit according to the present invention will be described.
[Embodiment 1]
As Embodiment 1, a test pattern generation method for inspecting a data line (DI) of a memory circuit M will be described.

図2は、実施の形態1におけるデータラインのテストパターン生成方法を示す回路図である。この図2に示す集積回路は、図1の通常動作経路を成す論理回路部の回路図であり、論理回路部の一部(あるいは全てでもよい)のフリップフロップFFをスキャン・フリップフロップ(スキャンFF)に置き換え、これらスキャンFFにより、メモリ回路Mに初期値の設定を行う初期値設定スキャン・フリップフロップ群(スキャンFF群)と、この初期値設定スキャンFF群を介してメモリ回路Mに遷移値の設定を行う遷移値設定スキャン・フリップフロップ群(スキャンFF群)と、メモリ回路Mの出力を受ける出力値設定スキャン・フリップフロップ群(スキャンFF群)を形成し、これらスキャンFF群のスキャンFFをシリアルに接続して半導体集積回路の外部から回路内の制御・観測を可能としている。   FIG. 2 is a circuit diagram showing a data line test pattern generation method according to the first embodiment. The integrated circuit shown in FIG. 2 is a circuit diagram of a logic circuit unit that forms the normal operation path of FIG. 1, and a part (or all) of the logic circuit unit may be replaced with a scan flip-flop (scan FF). ), And by these scan FFs, an initial value setting scan flip-flop group (scan FF group) for setting an initial value in the memory circuit M, and a transition value to the memory circuit M via the initial value setting scan FF group Are formed, and a transition value setting scan flip-flop group (scan FF group) and an output value setting scan flip-flop group (scan FF group) receiving the output of the memory circuit M are formed. Can be controlled and observed in the circuit from outside the semiconductor integrated circuit.

図2に示すように、スキャンFF1の出力とスキャンFF2の出力はANDゲートg1に供給され、入力端子X1とスキャンFF3の出力がANDゲートg2に供給され、スキャンFF4の出力とスキャンFF5の出力はANDゲートg4に供給され、入力端子X3とスキャンFF6の出力がANDゲートg6に供給され、スキャンFF8の出力と入力端子X4がANDゲートg7に供給され、入力端子X5とスキャンFF9の出力はANDゲートg9の供給される。   As shown in FIG. 2, the output of the scan FF1 and the output of the scan FF2 are supplied to the AND gate g1, the output of the input terminal X1 and the scan FF3 are supplied to the AND gate g2, and the output of the scan FF4 and the output of the scan FF5 are The output of the input terminal X3 and the scan FF6 is supplied to the AND gate g6, the output of the scan FF8 and the input terminal X4 are supplied to the AND gate g7, and the outputs of the input terminal X5 and the scan FF9 are AND gates. g9 is supplied.

さらに、ANDゲートg1の出力とANDゲートg2の出力はORゲートg3に供給され、ORゲートg3の出力はスキャンFF11に供給され、ANDゲートg2の出力はスキャンFF12に供給され、入力端子X2とANDゲートg4の出力はORゲートg5に供給され、ORゲートg5の出力はスキャンFF13に供給され、ANDゲートg4の出力はスキャンFF14に供給され、ANDゲートg6の出力とANDゲートg7の出力はORゲートg8に供給され、ANDゲートg7の出力はスキャンFF16に供給され、ORゲートg8の出力はスキャンFF15に供給され、スキャンFF8の出力とANDゲートg9の出力はORゲートg10に供給され、ORゲートg10の出力はスキャンFF17に供給され、ADNゲートg9の出力はスキャンFF18に供給される。   Further, the output of the AND gate g1 and the output of the AND gate g2 are supplied to the OR gate g3, the output of the OR gate g3 is supplied to the scan FF11, the output of the AND gate g2 is supplied to the scan FF12, and AND with the input terminal X2. The output of the gate g4 is supplied to the OR gate g5, the output of the OR gate g5 is supplied to the scan FF 13, the output of the AND gate g4 is supplied to the scan FF 14, and the output of the AND gate g6 and the output of the AND gate g7 are OR gates. The output of the AND gate g7 is supplied to the scan FF16, the output of the OR gate g8 is supplied to the scan FF15, the output of the scan FF8 and the output of the AND gate g9 are supplied to the OR gate g10, and the OR gate g10 Is supplied to the scan FF 17 and the ADN gate g The output of is supplied to the scan FF 18.

さらに、スキャンFF13の出力はNOTゲートG2に供給され、スキャンFF12の出力とNOTゲートG2の出力はNANDゲートG1に供給され、NANDゲートG1とスキャンFF14の出力はNANDゲートG3に供給され、またスキャンFF17の出力はNOTゲートG7に供給され、スキャンFF16の出力とNOTゲートG7の出力はNANDゲートG8に供給され、NANDゲートG8の出力とスキャンFF18の出力はNANDゲートG9に供給され、スキャンFF11の出力とNANDゲートG3の出力はNORゲートG4に供給され、スキャンFF15の出力とNANDゲートG3の出力はNANDゲートG5に供給され、NORゲートG4の出力とNANDゲートG5の出力はNORゲートG6に供給される。   Further, the output of the scan FF 13 is supplied to the NOT gate G2, the output of the scan FF 12 and the output of the NOT gate G2 are supplied to the NAND gate G1, the outputs of the NAND gate G1 and the scan FF 14 are supplied to the NAND gate G3, and the scan. The output of FF17 is supplied to NOT gate G7, the output of scan FF16 and the output of NOT gate G7 are supplied to NAND gate G8, the output of NAND gate G8 and the output of scan FF18 are supplied to NAND gate G9, and the output of scan FF11 The output and the output of the NAND gate G3 are supplied to the NOR gate G4, the output of the scan FF15 and the output of the NAND gate G3 are supplied to the NAND gate G5, and the output of the NOR gate G4 and the output of the NAND gate G5 are supplied to the NOR gate G6. Is done.

NORゲートG6の出力は、テスト用データラインDI[0](図1)とともにセレクタS4に供給され(入力され)、テストモード信号はセレクタS4の制御信号として供給され、セレクタS4の出力はメモリ回路MのデータラインDI[0]に供給される。またNANDゲートG5は、テスト用データラインDI[1](図1)はとともにセレクタS5に供給され、テストモード信号はセレクタS5の制御信号として供給され、セレクタS5の出力はメモリ回路MのデータラインDI[1]に供給される。さらにNANDゲートG9の出力は、テスト用データラインDI[2](図1)とともにセレクタS6に供給され、テストモード信号はセレクタS6の制御信号として供給され、セレクタS6の出力はメモリ回路MのデータラインDI[2]に供給される。   The output of the NOR gate G6 is supplied (inputted) to the selector S4 together with the test data line DI [0] (FIG. 1), the test mode signal is supplied as the control signal of the selector S4, and the output of the selector S4 is the memory circuit. M is supplied to the data line DI [0]. The NAND gate G5 is supplied with the test data line DI [1] (FIG. 1) to the selector S5, the test mode signal is supplied as a control signal for the selector S5, and the output of the selector S5 is the data line of the memory circuit M. DI [1] is supplied. Further, the output of the NAND gate G9 is supplied to the selector S6 together with the test data line DI [2] (FIG. 1), the test mode signal is supplied as the control signal of the selector S6, and the output of the selector S6 is the data of the memory circuit M. Supplied to line DI [2].

またスキャンFF20の出力はスキャンFF23に供給され、スキャンFF23の出力は、テスト用チップイネーブルNCE(図1)とともにセレクタS7に供給され、テストモード信号はセレクタS7の制御信号として供給され、セレクタS7の出力はメモリ回路MのチップイネーブルNCEに供給される。またスキャンFF21の出力はスキャンFF24に供給され、スキャンFF23の出力は、テスト用ライトイネーブルNWE(図1)とともにセレクタS8に供給され、テストモード信号はセレクタS8の制御信号として供給され、セレクタS8の出力はメモリ回路MのライトイネーブルNWEに供給される。さらにスキャンFF22の出力はスキャンFF25に供給され、スキャンFF25の出力は、テスト用リードイネーブルNRE(図1)とともにセレクタS9に供給され、テストモード信号はセレクタS9の制御信号として供給され、セレクタS9の出力はメモリ回路MのリードイネーブルNREに供給される。   The output of the scan FF 20 is supplied to the scan FF 23. The output of the scan FF 23 is supplied to the selector S7 together with the test chip enable NCE (FIG. 1). The test mode signal is supplied as a control signal for the selector S7. The output is supplied to the chip enable NCE of the memory circuit M. The output of the scan FF 21 is supplied to the scan FF 24, the output of the scan FF 23 is supplied to the selector S8 together with the test write enable NWE (FIG. 1), and the test mode signal is supplied as a control signal for the selector S8. The output is supplied to the write enable NWE of the memory circuit M. Further, the output of the scan FF 22 is supplied to the scan FF 25, the output of the scan FF 25 is supplied to the selector S9 together with the test read enable NRE (FIG. 1), and the test mode signal is supplied as a control signal of the selector S9. The output is supplied to the read enable NRE of the memory circuit M.

さらにスキャンFF26の出力はスキャンFF29に供給され、スキャンFF29の出力は、テスト用AD[0](図1)とともにセレクタS1の入力に供給され、テストモード信号はセレクタS1の制御信号として供給され、セレクタS1の出力はメモリ回路MのアドレスラインAD[0]に供給される。またスキャンFF27の出力はスキャンFF30に供給され、スキャンFF30の出力は、テスト用AD[1](図1)とともにセレクタS2に供給され、テストモード信号はセレクタS2の制御信号として供給され、セレクタS2の出力はメモリ回路MのアドレスラインAD[1]に供給される。さらにスキャンFF28の出力はスキャンFF31の入力に供給され、スキャンFF31の出力は、テスト用AD[2](図1)とともにセレクタS3に供給され、テストモード信号はセレクタS3の制御信号として供給され、セレクタS3の出力はメモリ回路MのアドレスラインAD[2]に供給される。   Further, the output of the scan FF 26 is supplied to the scan FF 29, the output of the scan FF 29 is supplied to the input of the selector S1 together with the test AD [0] (FIG. 1), and the test mode signal is supplied as a control signal of the selector S1, The output of the selector S1 is supplied to the address line AD [0] of the memory circuit M. The output of the scan FF 27 is supplied to the scan FF 30, the output of the scan FF 30 is supplied to the selector S2 together with the test AD [1] (FIG. 1), the test mode signal is supplied as a control signal for the selector S2, and the selector S2 Is supplied to the address line AD [1] of the memory circuit M. Further, the output of the scan FF 28 is supplied to the input of the scan FF 31, the output of the scan FF 31 is supplied to the selector S3 together with the test AD [2] (FIG. 1), and the test mode signal is supplied as a control signal of the selector S3. The output of the selector S3 is supplied to the address line AD [2] of the memory circuit M.

また、メモリ回路のデータアウトラインDO[0]はスキャンFF32の入力に接続され、メモリ回路MのデータアウトラインDO[1]はスキャンFF33の入力に接続され、メモリ回路MのデータアウトラインDO[2]はスキャンFF34の入力に接続される。   The data outline DO [0] of the memory circuit is connected to the input of the scan FF 32, the data outline DO [1] of the memory circuit M is connected to the input of the scan FF 33, and the data outline DO [2] of the memory circuit M is Connected to the input of the scan FF 34.

また、クロックCLKとテスト用クロックTCLKとスキャン用クロックSCLKはそれぞれセレクタ10の入力に接続され、テストモード信号はセレクタS10の制御信号S1として接続され、スキャンモード信号(スキャンイネーブル信号)はセレクタS10の制御信号S2として接続され、セレクタ10の出力はメモリ回路のCLKに供給される。これらテストモード信号(制御信号S1)とスキャンモード信号(制御信号S2)により、上述したように、クロックが選択されてメモリ回路のCLKへ供給される。   The clock CLK, the test clock TCLK, and the scan clock SCLK are connected to the input of the selector 10, the test mode signal is connected as the control signal S1 of the selector S10, and the scan mode signal (scan enable signal) is connected to the selector S10. Connected as the control signal S2, the output of the selector 10 is supplied to the CLK of the memory circuit. As described above, the clock is selected and supplied to the CLK of the memory circuit by the test mode signal (control signal S1) and the scan mode signal (control signal S2).

また、スキャンFF1〜9,11〜18,20〜34はスキャンイネーブル信号がスキャンモード時はスキャンシフト動作を行い、通常モード時は通常動作を行う構成になっている。またスキャンFF1〜9とスキャンFF20〜22とスキャンFF26〜28により遷移値設定SFF群が構成され、スキャンFF11〜18とスキャンFF23〜25とスキャンFF29〜31により初期値設定SFF群が構成され、スキャンFF32〜34により出力値設定SFF群が構成されている。   The scan FFs 1 to 9, 11 to 18, and 20 to 34 are configured to perform a scan shift operation when the scan enable signal is in the scan mode and perform a normal operation in the normal mode. The scan FFs 1 to 9, the scan FFs 20 to 22 and the scan FFs 26 to 28 constitute a transition value setting SFF group, and the scan FFs 11 to 18, the scan FFs 23 to 25, and the scan FFs 29 to 31 constitute an initial value setting SFF group. An output value setting SFF group is configured by the FFs 32 to 34.

次に、データライン(DI)を検査するテストパターン生成方法の処理手順を、図3に示すフローチャートを参照しながら説明する。
ステップ−101
まず、被検査半導体集積回路のメモリ回路Mに対するデータラインDI[2:0]から対象故障を選択する。この対象故障は、人手で選択してもよく、あるいは回路情報から電子計算機により自動的に取出して作成してもよい。例えば、対象故障として図2のデータラインのDI[1]の遷移rise(“0”から“1”への立ちあがり遅延故障)を選択する。
ステップ−102
次に、上記選択した対象故障に対応するテスト可能最長パスを選択する。例えば、図2の太線で示すテスト可能最長パス、スキャンFF13−G2−G1−G3−G5−DI[1]を選択する。テスト可能最長パスの選択方法は、文献「A.Murakami, S.Kajihara, T.Sasao, I.Pomeranz and S.M.Reddy, “Selection of Potenrially Testable Path Delay Faults for Test generation,”International Test Conf., pp.376-384, Oct.2000.」に示されている方法などを使用することで求められる。
ステップ−103
次に、テスト可能最長パスを初期化するための初期値をあたえるデータライン初期化パターン(テストパターン)を求める。すなわち、図2における初期値設定スキャンFF群11〜18の値を生成する。このときの初期値設定スキャンFF群11〜18の値は、それぞれ<1,1,0,x,1,x,x,x>となる。これが、データライン初期化パターンとなる。
ステップ−104
続いてテスト可能最長パスを活性化するためのデータライン遷移パターン(テストパターン)を求める。すなわち、図2における遷移値設定スキャンFF群1〜9、および入力端子X1〜X5の値を生成する。このときの遷移値設定スキャンFF群1〜9の値および入力端子X1〜X5の値はそれぞれ<x,x,1,1,1,1,x,x,x,1,x,1,x,x>となる。これが、データライン遷移パターンとなる。
ステップ−105
次に、アドレスライン[2:0]に任意の値を設定するための初期値設定スキャンFF群(アドレスライン初期化パターン)の値を求める。例えば、メモリ回路のアドレスを任意の値であるAD[2:0]=<0,0,0>になるように初期値設定スキャンFF29〜31の値を生成する。この時の初期値設定スキャンFF29〜31の値は<0,0,0>になる。
ステップ−106
続いて、アドレスラインの初期値設定スキャンFF群の値が変化しないように遷移値設定スキャンFF群(アドレスライン遷移パターン)の値を求める。すなわち、遷移値設定スキャンFF26〜28の値を生成する。このときの遷移値設定スキャンFFの値は<0,0,0>になる。ステップ−105,106で生成したパターンがアドレスパターン系列になる。
ステップ−107
次に、メモリ回路の制御信号群を前記メモリ回路への書き込みが許可される値を設定するための初期値設定スキャンFF群(制御信号群初期化パターン)の値を求める。すなわち、メモリ回路の制御信号群であるNCE,NWE,NREに書き込み動作を許可するための値<0,0,1>になるように初期値設定スキャンFF23〜25の値を生成する。この時の初期値設定スキャンFF23〜25の値は<0,0,1>になる。
ステップ−108
次に、制御信号群の初期値設定スキャンFF群の値が変化しないように遷移値設定スキャンFF群(制御信号群遷移パターン)の値を求める。すなわち、遷移値設定スキャンFF20〜22に値を生成する。この時の遷移値設定スキャンFF20〜22の値は<0,0,1>になる。ステップ−107,108で生成したパターンが制御値パターン系列になる。
ステップ−109
続いて、遷移値設定スキャンFFの値によりメモリ回路Mに書きこまれた値を、ステップ−105で設定したアドレスラインの任意の値で読み出した時の出力設定値スキャンFF群(出力設定値パターン)の値を期待値として求める。例えば、メモリ回路に書きこまれたアドレスAD[2:0]=<0,0,0>を読み出した値DO[2:0]=<0,1,0>を出力値設定スキャンFF32〜34に受けたときの値<0,1,0>を期待値とする。
ステップ−110
次に、データライン初期化パターンとデータライン遷移パターンとアドレスパターン系列と制御値パターン系列と期待値をシフトパターンとして生成する。すなわち、遷移値設定スキャンFF群の値および初期値設定スキャンFF群の値と期待値をシリアルパターンとして生成する。以上で対象故障に対するテストパターン生成を終了する。
Next, the processing procedure of the test pattern generation method for inspecting the data line (DI) will be described with reference to the flowchart shown in FIG.
Step-101
First, a target failure is selected from the data lines DI [2: 0] for the memory circuit M of the semiconductor integrated circuit to be inspected. This target failure may be selected manually, or may be created by automatically extracting from the circuit information by an electronic computer. For example, the transition rise of DI [1] in the data line in FIG. 2 (a delay fault rising from “0” to “1”) is selected as the target fault.
Step-102
Next, the longest testable path corresponding to the selected target failure is selected. For example, the longest testable path indicated by the bold line in FIG. 2, the scan FF 13 -G 2 -G 1 -G 3 -G 5 -DI [1] is selected. The method of selecting the longest testable path is described in the document “A. Murakami, S. Kajihara, T. Sasao, I. Pomeranz and SM Reddy,“ Selection of Potenrially Testable Path Delay Faults for Test generation, ”International Test Conf., Pp.376. -384, Oct.2000. "
Step-103
Next, a data line initialization pattern (test pattern) that provides an initial value for initializing the longest testable path is obtained. That is, the values of the initial value setting scan FF groups 11 to 18 in FIG. 2 are generated. The values of the initial value setting scan FF groups 11 to 18 at this time are <1, 1, 0, x, 1, x, x, x>, respectively. This is the data line initialization pattern.
Step-104
Subsequently, a data line transition pattern (test pattern) for activating the longest testable path is obtained. That is, the values of the transition value setting scan FF groups 1 to 9 and the input terminals X1 to X5 in FIG. 2 are generated. At this time, the values of the transition value setting scan FF groups 1 to 9 and the values of the input terminals X1 to X5 are <x, x, 1, 1, 1, 1, x, x, x, 1, x, 1, x, respectively. , X>. This is the data line transition pattern.
Step-105
Next, the value of the initial value setting scan FF group (address line initialization pattern) for setting an arbitrary value to the address line [2: 0] is obtained. For example, the values of the initial value setting scan FFs 29 to 31 are generated so that the address of the memory circuit becomes an arbitrary value AD [2: 0] = <0, 0, 0>. The values of the initial value setting scan FFs 29 to 31 at this time are <0, 0, 0>.
Step-106
Subsequently, the value of the transition value setting scan FF group (address line transition pattern) is obtained so that the value of the initial value setting scan FF group of the address line does not change. That is, the values of the transition value setting scan FFs 26 to 28 are generated. The value of the transition value setting scan FF at this time is <0, 0, 0>. The pattern generated in steps -105 and 106 becomes an address pattern series.
Step-107
Next, a value of an initial value setting scan FF group (control signal group initialization pattern) for setting a value in which the control signal group of the memory circuit is allowed to be written to the memory circuit is obtained. That is, the values of the initial value setting scan FFs 23 to 25 are generated so that the values <0, 0, 1> for permitting the write operation to NCE, NWE, and NRE, which are control signal groups of the memory circuit. The values of the initial value setting scan FFs 23 to 25 at this time are <0, 0, 1>.
Step-108
Next, the value of the transition value setting scan FF group (control signal group transition pattern) is obtained so that the value of the initial value setting scan FF group of the control signal group does not change. That is, a value is generated in the transition value setting scan FFs 20 to 22. The values of the transition value setting scan FFs 20 to 22 at this time are <0, 0, 1>. The pattern generated in steps 107 and 108 becomes a control value pattern series.
Step-109
Subsequently, an output set value scan FF group (output set value pattern) when the value written in the memory circuit M by the value of the transition value set scan FF is read as an arbitrary value of the address line set in step -105. ) As the expected value. For example, a value DO [2: 0] = <0,1,0> read from the address AD [2: 0] = <0,0,0> written in the memory circuit is output value setting scan FFs 32-34. The value <0, 1, 0> when received in the above is the expected value.
Step-110
Next, a data line initialization pattern, a data line transition pattern, an address pattern series, a control value pattern series, and an expected value are generated as shift patterns. That is, the value of the transition value setting scan FF group, the value of the initial value setting scan FF group, and the expected value are generated as a serial pattern. This completes the test pattern generation for the target failure.

このように生成したテストパターンを使用した検査方法について、図4のフローチャートと図5のメモリ回路の各端子における波形図を参照しながら説明する。
ステップ−201
まず上記生成したシリアルパターンをスキャンシフト動作で各スキャンFFに設定する。このスキャンシフト動作で各スキャンFFに値が設定されると、メモリ回路の各端子はNCE=0,NWE=0,NRE=1,AD[2:0]=<0,0,0>、DI[2:0]=<1,0,0>になる。
ステップ−202
次に、スキャンモード信号を通常動作モードに切替える。スキャンイネーブル信号が“0”に設定される。
ステップ−203
次に、テスト対象メモリ回路Mの実動作クロック速度でテスト対象メモリ回路MおよびスキャンFFにクロックを印加する(テスト可能最長パスの初期化)。このようにクロックが入力されると、メモリ回路Mのアドレス<0,0,0>にデータ<1,0,0>が書き込まれる。この時、DI[2:0]=<1,1,1>に変更される。
ステップ−204
次に、テスト対象メモリ回路Mの実動作クロック速度でテスト対象メモリ回路MおよびスキャンFFにクロックを印加する(テスト可能最長パスの遷移)。このようにクロックが入力されると、メモリ回路のアドレス<0,0,0>にデータ<1,1,1>が書きこまれる。
ステップ−205
次に、テスト対象メモリ回路Mへ書きこんだ同一アドレスの値を読み出す。NWE=1,NRE=0に変更しメモリ回路のアドレス<0,0,0>を読み出す。ここでデータラインDI[1]に遅延故障が発生していなければ、メモリ回路Mに書きこんだ値<1,1,1>が読み出される。しかし、遅延故障が発生していた場合は、DI[1]のみ初期化パターンで書きこんだ値<0>が読み出される。
ステップ−206
次に、スキャンモード信号をスキャンモードに切替える。スキャンイネーブル信号が“1”に設定される。
ステップ−207
続いて、スキャンシフト動作で外部端子に値をシフトアウトし期待値と比較する。スキャンシフト動作を行い、期待値比較が行われ、期待値比較において、期待値と異なる値が観測された場合は、テスト対象故障に遅延故障があると判定される。
An inspection method using the test pattern generated in this way will be described with reference to the flowchart of FIG. 4 and waveform diagrams at respective terminals of the memory circuit of FIG.
Step-201
First, the generated serial pattern is set in each scan FF by a scan shift operation. When a value is set in each scan FF in this scan shift operation, each terminal of the memory circuit has NCE = 0, NWE = 0, NRE = 1, AD [2: 0] = <0, 0, 0>, DI [2: 0] = <1, 0, 0>.
Step-202
Next, the scan mode signal is switched to the normal operation mode. The scan enable signal is set to “0”.
Step-203
Next, a clock is applied to the test target memory circuit M and the scan FF at the actual operation clock speed of the test target memory circuit M (initialization of the longest testable path). When the clock is input in this way, data <1, 0, 0> is written to the address <0, 0, 0> of the memory circuit M. At this time, DI [2: 0] = <1,1,1> is changed.
Step-204
Next, a clock is applied to the test target memory circuit M and the scan FF at the actual operation clock speed of the test target memory circuit M (the transition of the longest testable path). When the clock is input in this way, data <1, 1, 1> is written at address <0, 0, 0> of the memory circuit.
Step-205
Next, the value of the same address written to the test target memory circuit M is read. Change NWE = 1 and NRE = 0 and read the address <0, 0, 0> of the memory circuit. If no delay fault has occurred in the data line DI [1], the value <1, 1, 1> written in the memory circuit M is read out. However, if a delay fault has occurred, the value <0> written in the initialization pattern only for DI [1] is read.
Step-206
Next, the scan mode signal is switched to the scan mode. The scan enable signal is set to “1”.
Step-207
Subsequently, the value is shifted out to the external terminal by the scan shift operation and compared with the expected value. A scan shift operation is performed and an expected value comparison is performed. If a value different from the expected value is observed in the expected value comparison, it is determined that the test target failure has a delayed failure.

上記処理手順によれば、被検査半導体集積回路のメモリ回路に対するデータラインから対象故障を選択し、上記選択した対象故障に対応するテスト可能最長パスを選択し、このテスト可能最長パスを初期化するための初期値をあたえるデータライン初期化パターンを求め、続いてテスト可能最長パスを活性化するためのデータライン遷移パターンを求め、またアドレスパターン系列、制御値パターン系列を求め、遷移値設定スキャンFFの値によりメモリ回路Mに書きこまれた値を、アドレスラインの任意の値で読み出した時の出力設定値スキャンFF群の値を期待値として求め、これらデータライン初期化パターンとデータライン遷移パターンとアドレスパターン系列と制御値パターン系列と期待値を、スキャンFF群のシリアルパターンとして生成し(テストパターン生成を生成し)、その後、このシリアルパターンを遷移値設定スキャンFF群および初期値設定スキャンFF群に設定し、クロック信号をスキャンクロック信号へ切換えを行い、アドレスパターン系列に設定したアドレスにデータライン初期化パターンと遷移パターンのデータを書き込み、続いて出力値設定スキャンFF群の値を呼び出し、期待値と比較することによって、選択した対象故障に遅延故障があるかどうかを判定することができる。   According to the above processing procedure, the target fault is selected from the data line for the memory circuit of the semiconductor integrated circuit to be inspected, the longest testable path corresponding to the selected target fault is selected, and the longest testable path is initialized. A data line initialization pattern that provides an initial value for the data, then a data line transition pattern for activating the longest testable path, an address pattern series, a control value pattern series, and a transition value setting scan FF The value written in the memory circuit M by the value of the output line is obtained as the expected value of the output set value scan FF group when the value is read with an arbitrary value of the address line, and these data line initialization pattern and data line transition pattern , Address pattern series, control value pattern series and expected value, scan FF group serial pattern Then, this serial pattern is set in the transition value setting scan FF group and the initial value setting scan FF group, the clock signal is switched to the scan clock signal, and the address pattern series is generated. Whether the selected target fault has a delay fault by writing the data line initialization pattern and transition pattern data to the address set in, and then calling the value of the output value setting scan FF group and comparing it with the expected value Can be determined.

このように実施の形態1によれば、メモリ回路のデータラインに接続されるパスの遅延故障を検出するためテストパターンを形成でき、遅延故障検査を行うことができる。したがって、メモリ回路Mが存在している集積回路(LSI)内の動的な動作を保証でき、製品の信頼性を飛躍的に向上させることができる。
[実施の形態2]
実施の形態2として、メモリ回路Mのアドレスライン(AD)を検査するテストパターン生成方法について説明する。
As described above, according to the first embodiment, a test pattern can be formed to detect a delay fault in a path connected to the data line of the memory circuit, and a delay fault inspection can be performed. Therefore, the dynamic operation in the integrated circuit (LSI) in which the memory circuit M exists can be guaranteed, and the reliability of the product can be greatly improved.
[Embodiment 2]
As a second embodiment, a test pattern generation method for inspecting an address line (AD) of a memory circuit M will be described.

図6は、実施の形態2におけるアドレスラインのテストパターン生成方法を示す回路図である。この図6に示す集積回路は、図1の通常動作経路を成す論理回路部の回路図であり、実施の形態1と同様の遷移値設定SFF群と初期値設定SFF群と出力値設定SFF群を備えている。実施の形態1の図2との相違点について説明する。   FIG. 6 is a circuit diagram showing a test pattern generation method for address lines in the second embodiment. The integrated circuit shown in FIG. 6 is a circuit diagram of the logic circuit section forming the normal operation path of FIG. 1, and the same transition value setting SFF group, initial value setting SFF group, and output value setting SFF group as in the first embodiment. It has. Differences from the first embodiment shown in FIG. 2 will be described.

図6に示すように、NORゲートG6の出力は、テスト用データラインAD[0]とともにセレクタS1に供給され、テストモード信号はセレクタS1に制御信号として供給され、セレクタS1の出力はメモリ回路MのデータラインAD[0]に供給される。またNANDゲートG5は、テスト用データラインAD[1]とともにセレクタS2に供給され、テストモード信号はセレクタS2に制御信号として供給され、セレクタS2の出力はメモリ回路MのデータラインAD[1]に供給される。さらにNANDゲートG9の出力は、テスト用データラインAD[2]とともにセレクタS3に供給され、テストモード信号はセレクタS3の制御信号として供給され、セレクタS3の出力はメモリ回路MのデータラインAD[2]に供給される。   As shown in FIG. 6, the output of the NOR gate G6 is supplied to the selector S1 together with the test data line AD [0], the test mode signal is supplied as a control signal to the selector S1, and the output of the selector S1 is the memory circuit M Is supplied to the data line AD [0]. The NAND gate G5 is supplied to the selector S2 together with the test data line AD [1], the test mode signal is supplied as a control signal to the selector S2, and the output of the selector S2 is supplied to the data line AD [1] of the memory circuit M. Supplied. Further, the output of the NAND gate G9 is supplied to the selector S3 together with the test data line AD [2], the test mode signal is supplied as the control signal of the selector S3, and the output of the selector S3 is the data line AD [2 of the memory circuit M. ] Is supplied.

またスキャンFF29の出力は、テスト用DI[0]とともにセレクタS4に供給され、テストモード信号はセレクタS4の制御信号として供給され、セレクタS4の出力はメモリ回路MのアドレスラインDI[0]に供給される。またスキャンFF30の出力は、テスト用DI[1]ともにセレクタS5に供給され、テストモード信号はセレクタS5の制御信号として供給され、セレクタS5の出力はメモリ回路MのアドレスラインDI[1]に供給される。さらにスキャンFF31の出力は、テスト用DI[2]とともにセレクタS6に供給され、テストモード信号はセレクタS6の制御信号として供給され、セレクタS6の出力はメモリ回路MのアドレスラインDI[2]に供給される。   The output of the scan FF 29 is supplied to the selector S4 together with the test DI [0], the test mode signal is supplied as a control signal for the selector S4, and the output of the selector S4 is supplied to the address line DI [0] of the memory circuit M. Is done. The output of the scan FF 30 is supplied to the selector S5 together with the test DI [1], the test mode signal is supplied as a control signal of the selector S5, and the output of the selector S5 is supplied to the address line DI [1] of the memory circuit M. Is done. Further, the output of the scan FF 31 is supplied to the selector S6 together with the test DI [2], the test mode signal is supplied as a control signal of the selector S6, and the output of the selector S6 is supplied to the address line DI [2] of the memory circuit M. Is done.

次に、アドレスライン(AD)を検査するテストパターン生成方法の処理手順を、図7に示すフローチャートを参照しながら説明する。
ステップ−301
まず、被検査半導体集積回路のメモリ回路Mに対するアドレスラインから対象故障を選択する。この対象故障は、人手で選択してもよく、あるいは回路情報から電子計算機により自動的に取出して作成してもよい。例えば、対象故障として図6のアドレスラインのAD[1]の遷移rise(“0”から“1”への遅延故障)を選択する。
ステップ−302
次に、上記選択した対象故障に対応するテスト可能最長パスを選択する。アドレスラインのAD[1]が選択されていると、図6の太線で示すテスト可能最長パス、スキャンFF13−G2−G1−G3−G5−AD[1]を選択する。
ステップ−303
次に、テスト可能最長パスを初期化するための初期値をあたえるアドレスライン初期化パターンを求める。すなわち、初期値設定スキャンFF群11〜18の値を生成する。この時の初期値設定スキャンFF群11〜18の値はそれぞれ<1,1,0,x,1,x,x,x>となる。これが、アドレスライン初期化パターンとなる。
ステップ−304
続いて、テスト可能最長パスを活性化するためのアドレスライン遷移パターンを求める。すなわち、遷移値設定スキャンFF群1〜9および入力端子X1〜X5の値を生成する。この時の遷移値設定スキャンFF群1〜9の値および入力端子X1〜X5の値はそれぞれ<x,x,1,1,1,1,x,x,x,1,x,1,x,x>となる。これが、アドレスライン遷移パターンとなる。
ステップ−305
次に、データラインDI[2:0]に任意の値を設定するための初期値設定スキャンFF群(データライン初期化パターン)の値を求める。例えば、メモリ回路Mのデータを任意の値であるDI[2:0]=<0,0,0>になるように初期値設定スキャンFF29〜31の値を生成する。この時の初期値設定スキャンFF29〜31の値は<0,0,0>になる。
ステップ−306
次に、データラインの初期値設定スキャンFF群の値が変化しなように遷移値設定スキャンFF群(データライン遷移パターン)の値を求める。すなわち、遷移値設定スキャンFF26〜28の値を生成する。この時の遷移値設定スキャンFFの値は<0,0,0>になる。ステップ−305,306で生成したパターンが、データパターン系列になる。
ステップ−307
次に、メモリ回路の制御信号群を前記メモリ回路への書き込みが許可される値を設定するための初期値設定スキャンFF群(制御信号群初期化パターン)の値を求める。すなわち、メモリ回路の制御信号群であるNCE,NWE,NREに書き込み動作を許可するための値<0,0,1>になるように初期値設定スキャンFF23〜25の値を生成する。この時の初期値設定スキャンFF23〜25の値は<0,0,1>になる。
ステップ−308
続いて、制御信号群の初期値設定スキャンFF群の値が変化しないように遷移値設定スキャンFF群(制御信号群遷移パターン)の値を求める。すなわち、遷移値設定スキャンFF20〜22の値を生成する。この時の遷移値設定スキャンFF20〜22の値は<0,0,1>になる。ステップ−307,308で生成したパターンが、制御値パターン系列となる。
ステップ−309
次に遷移値設定スキャンFFの値によりメモリ回路Mに書きこまれた値をステップ−304で設定したアドレスライン値で読み出した時の出力設定値スキャンFF群(出力設定値パターン)の値を期待値として求める。上記メモリ回路Mに書きこまれたアドレスAD[2:0]=<1,1,1>で読み出した値DO[2:0]=<0,0,0>を出力値設定スキャンFF32〜34に受けたときの値を、期待値とする。
ステップ−310
次にアドレスライン初期化パターンとアドレスライン遷移パターンとデータパターン系列と制御値パターン系列と期待値を、スキャンFF群のシフトパターンとして生成する。すなわち、遷移値設定スキャンFF1〜9,20〜22,26〜28および初期値設定スキャンFF11〜18,23〜25,29〜30の値および期待値をシリアルパターンとして生成する。
ステップ−311
次に、アドレスライン遷移パターンに対するメモリ回路のアドレスの対象故障のアドレスビットが反転したアドレスをメモリ初期化アドレスとして求める。すなわち、メモリ回路を初期化するためのメモリ初期化アドレスを生成する。このときのメモリ初期化アドレスの値は、アドレスライン遷移パターンでの書き込みアドレスの検査対象アドレスAD[1]を“1”から故障した場合の値“0”にしたAD[2:0]=<1,0,1>になる。
ステップ−312
次に、データパターンに対するメモリ回路のデータと異なるデータをメモリ初期化データとして求める。このときのメモリ初期化データは遷移パターンでの書き込みデータDI[2:0]=<0,0,0>以外の任意の値にする。この実施の形態ではDI[2:0]=<1,1,1>にする。
ステップ−313
次に、メモリ回路に書きこみができる値をメモリ初期化制御値として求める。このときのメモリ初期化制御値は、メモリ回路への書き込みが許可される値に設定する。本実施の形態では、NCE=0,NWE=0、NRE=1となる。ステップ−311,312,312で生成したメモリ初期化アドレスとメモリ初期化データとメモリ初期化制御値が、テスト用経路の初期化パターンとなる。
Next, a processing procedure of a test pattern generation method for inspecting an address line (AD) will be described with reference to a flowchart shown in FIG.
Step-301
First, the target failure is selected from the address line for the memory circuit M of the semiconductor integrated circuit to be inspected. This target failure may be selected manually, or may be created by automatically extracting from the circuit information by an electronic computer. For example, the transition rise (the delay fault from “0” to “1”) of AD [1] of the address line in FIG. 6 is selected as the target fault.
Step-302
Next, the longest testable path corresponding to the selected target failure is selected. When the address line AD [1] is selected, the longest testable path indicated by the bold line in FIG. 6, the scan FF 13-G2-G1-G3-G5-AD [1] is selected.
Step-303
Next, an address line initialization pattern that provides an initial value for initializing the longest testable path is obtained. That is, the values of the initial value setting scan FF groups 11 to 18 are generated. At this time, the values of the initial value setting scan FF groups 11 to 18 are <1, 1, 0, x, 1, x, x, x>, respectively. This is an address line initialization pattern.
Step-304
Subsequently, an address line transition pattern for activating the longest testable path is obtained. That is, the values of the transition value setting scan FF groups 1 to 9 and the input terminals X1 to X5 are generated. At this time, the values of the transition value setting scan FF groups 1 to 9 and the values of the input terminals X1 to X5 are <x, x, 1, 1, 1, 1, x, x, x, 1, x, 1, x, respectively. , X>. This is an address line transition pattern.
Step-305
Next, the value of the initial value setting scan FF group (data line initialization pattern) for setting an arbitrary value to the data line DI [2: 0] is obtained. For example, the values of the initial value setting scan FFs 29 to 31 are generated so that the data in the memory circuit M becomes an arbitrary value DI [2: 0] = <0, 0, 0>. The values of the initial value setting scan FFs 29 to 31 at this time are <0, 0, 0>.
Step-306
Next, the value of the transition value setting scan FF group (data line transition pattern) is obtained so that the value of the initial value setting scan FF group of the data line does not change. That is, the values of the transition value setting scan FFs 26 to 28 are generated. The value of the transition value setting scan FF at this time is <0, 0, 0>. The pattern generated in steps -305 and 306 becomes a data pattern series.
Step-307
Next, a value of an initial value setting scan FF group (control signal group initialization pattern) for setting a value in which the control signal group of the memory circuit is allowed to be written to the memory circuit is obtained. That is, the values of the initial value setting scan FFs 23 to 25 are generated so that the values <0, 0, 1> for permitting the write operation to NCE, NWE, and NRE, which are control signal groups of the memory circuit. The values of the initial value setting scan FFs 23 to 25 at this time are <0, 0, 1>.
Step-308
Subsequently, the value of the transition value setting scan FF group (control signal group transition pattern) is obtained so that the value of the initial value setting scan FF group of the control signal group does not change. That is, the values of the transition value setting scan FFs 20 to 22 are generated. The values of the transition value setting scan FFs 20 to 22 at this time are <0, 0, 1>. The pattern generated in Steps 307 and 308 is a control value pattern series.
Step-309
Next, the value of the output set value scan FF group (output set value pattern) when the value written in the memory circuit M by the value of the transition value set scan FF is read with the address line value set in step -304 is expected. Calculate as a value. The value DO [2: 0] = <0, 0, 0> read at the address AD [2: 0] = <1, 1, 1> written in the memory circuit M is output value setting scan FFs 32-34. The expected value is the value when
Step-310
Next, an address line initialization pattern, an address line transition pattern, a data pattern series, a control value pattern series, and an expected value are generated as a shift pattern of the scan FF group. That is, the values and expected values of the transition value setting scans FF1-9, 20-22, 26-28 and the initial value setting scans FF11-18, 23-25, 29-30 are generated as serial patterns.
Step-311
Next, an address obtained by inverting the address bit of the target failure of the memory circuit address with respect to the address line transition pattern is obtained as a memory initialization address. That is, a memory initialization address for initializing the memory circuit is generated. The value of the memory initialization address at this time is AD [2: 0] = <0 when the address AD [1] of the write address in the address line transition pattern is changed from “1” to the value “0”. 1, 0, 1>.
Step-312
Next, data different from the data of the memory circuit for the data pattern is obtained as memory initialization data. The memory initialization data at this time is set to an arbitrary value other than the write data DI [2: 0] = <0, 0, 0> in the transition pattern. In this embodiment, DI [2: 0] = <1,1,1>.
Step-313
Next, a value that can be written to the memory circuit is obtained as a memory initialization control value. The memory initialization control value at this time is set to a value that permits writing to the memory circuit. In this embodiment, NCE = 0, NWE = 0, and NRE = 1. The memory initialization address, the memory initialization data, and the memory initialization control value generated in Steps 311, 312, and 312 are the test path initialization pattern.

以上で対象故障に対するテストパターン生成を終了する。
このように生成したテストパターンを使用した検査方法について、図8のフローチャートと図9のメモリ回路の各端子における波形図を参照しながら説明する。
ステップ−401
まず、テストモード信号をテストモードに設定する。テストモード信号をテストモードである“0”に設定する。
ステップ−402
次に、生成したテスト用経路の初期化パターンを印加し、メモリ回路Mの初期化を行う。すなわち、テスト用経路からメモリ回路Mへの書きこみを行う。このときのメモリ回路Mの各端子は、NCE=0,NWE=0,NRE=1,AD[2:0]=<1,0,1>、DI[2:0]=<1,1,1>になり、メモリ回路Mのアドレス<1,0,1>にデータ<1,1,1>が書きこまれる。
ステップ−403
次に、スキャンイネーブル信号(SE信号)をスキャンモードに設定する。すなわちスキャンイネーブル信号をスキャンモード“1”に設定する。
ステップ−404
次に、生成したシリアルパターンをスキャンシフト動作で各スキャンFFに設定する。スキャンシフト動作で各スキャンFFに値が設定されると、メモリ回路の各端子はNCE=0,NWE=0,NRE=1,AD[2:0]=<1,0,0>、DI[2:0]=<0,0,0>になる。
ステップ−405
次に、スキャンイネーブル信号(SE信号)とテストモード信号を通常モードに設定する。すなわち、スキャンイネーブル信号を通常モードである“0”に設定する。また、テストモード信号を通常モードである“1”に設定する。
ステップ−406
次に、テスト対象メモリ回路Mの実動作クロック速度でテスト対象メモリ回路Mおよび各スキャンFFにクロックを印加する(テスト可能最長パスに遷移を発生)。クロックが入力されると、メモリ回路のアドレス<1,0,0>にデータ<0,0,0>が書きこまれる。この時、AD[2:0]=<1,1,1>に変更される。
ステップ−407
次に、テスト対象メモリ回路Mの実動作クロック速度でテスト対象メモリ回路Mおよび各スキャンFFにクロックを印加する(テスト可能最長パスの遷移後の値をメモリ回路に書き込む)。クロックが入力されると、メモリ回路のアドレス<1,1,1>にデータ<0,0,0>が書きこまれる。
ステップ−408
次に、メモリ回路MのNRE=0、NWE=1に設定し、テスト対象メモリ回路Mへ書きこんだアドレスの値を読み出す。すなわち、NWE=1,NRE=0に変更しメモリ回路Mのアドレス<1,1,1>の値を読み出す。データラインAD[1]に遅延故障が発生していなければ、メモリ初期化パターンでメモリ回路に書きこんだアドレスAD[2:0]=<1,1,1>のデータDI[2:0]=<0,0,0>が読み出される。しかし、遅延故障が発生していた場合は、初期化パターンで書きこんだ値アドレスAD[2:0]=<1,0,1>のデータDI[2:0]=<1,1,1>が読み出される。
ステップ−409
次に、スキャンイネーブル信号SEをスキャンモードに設定する。すなわち、スキャンイネーブル信号を“1”に設定する。
ステップ−410
次に、スキャンシフト動作で外部端子に出力値設定スキャンFF群の値をシフトアウトし期待値と比較する。期待値比較において、期待値と異なる値が観測された場合は、テスト対象故障に遅延故障があると判定される。
This completes the test pattern generation for the target failure.
The inspection method using the test pattern generated in this way will be described with reference to the flowchart of FIG. 8 and waveform diagrams at each terminal of the memory circuit of FIG.
Step-401
First, the test mode signal is set to the test mode. The test mode signal is set to “0” which is the test mode.
Step-402
Next, the generated initialization pattern of the test path is applied to initialize the memory circuit M. That is, writing from the test path to the memory circuit M is performed. At this time, the terminals of the memory circuit M are NCE = 0, NWE = 0, NRE = 1, AD [2: 0] = <1, 0, 1>, DI [2: 0] = <1, 1, 1>, and data <1, 1, 1> is written to address <1, 0, 1> of memory circuit M.
Step-403
Next, the scan enable signal (SE signal) is set to the scan mode. That is, the scan enable signal is set to the scan mode “1”.
Step-404
Next, the generated serial pattern is set in each scan FF by a scan shift operation. When a value is set in each scan FF by the scan shift operation, each terminal of the memory circuit has NCE = 0, NWE = 0, NRE = 1, AD [2: 0] = <1, 0, 0>, DI [ 2: 0] = <0, 0, 0>.
Step-405
Next, the scan enable signal (SE signal) and the test mode signal are set to the normal mode. That is, the scan enable signal is set to “0” which is the normal mode. Further, the test mode signal is set to “1” which is the normal mode.
Step-406
Next, a clock is applied to the test target memory circuit M and each scan FF at the actual operation clock speed of the test target memory circuit M (transition occurs in the longest testable path). When a clock is input, data <0, 0, 0> is written at address <1, 0, 0> of the memory circuit. At this time, AD [2: 0] = <1,1,1>.
Step-407
Next, a clock is applied to the test target memory circuit M and each scan FF at the actual operation clock speed of the test target memory circuit M (a value after transition of the longest testable path is written to the memory circuit). When the clock is input, data <0, 0, 0> is written to the address <1, 1, 1> of the memory circuit.
Step-408
Next, NRE = 0 and NWE = 1 of the memory circuit M are set, and the value of the address written to the test target memory circuit M is read. That is, the value of the address <1, 1, 1> of the memory circuit M is read by changing NWE = 1 and NRE = 0. If no delay fault has occurred in the data line AD [1], the data DI [2: 0] of the address AD [2: 0] = <1,1,1> written in the memory circuit with the memory initialization pattern = <0, 0, 0> is read. However, if a delay fault has occurred, the data DI [2: 0] = <1,1,1 of the value address AD [2: 0] = <1,0,1> written in the initialization pattern > Is read out.
Step-409
Next, the scan enable signal SE is set to the scan mode. That is, the scan enable signal is set to “1”.
Step-410
Next, the value of the output value setting scan FF group is shifted out to the external terminal by the scan shift operation and compared with the expected value. In the expected value comparison, when a value different from the expected value is observed, it is determined that the test target failure has a delayed failure.

上記処理手順によれば、被検査半導体集積回路のメモリ回路に対するアドレスラインから対象故障を選択し、上記選択した対象故障に対応するテスト可能最長パスを選択し、このテスト可能最長パスを初期化するための初期値をあたえるアドレスライン初期化パターンを求め、続いてテスト可能最長パスを活性化するためのアドレスライン遷移パターンを求め、またデータパターン系列、制御値パターン系列を求め、遷移値設定スキャンFFの値によりメモリ回路Mに書きこまれた値をアドレスラインの値で読み出した時の出力設定値スキャンFF群の値を期待値として求め、アドレスライン初期化パターンとアドレスライン遷移パターンとデータパターン系列と制御値パターン系列と期待値を、スキャンFF群のシリアルパターンとして生成し(テストパターン生成を生成し)、続いて、アドレスの対象故障のアドレスビットが反転したアドレスをメモリ初期化アドレスとして求め、データパターン系列に対するメモリ回路Mのデータと異なるデータをメモリ初期化データとして求め、さらにメモリ回路Mに書きこみができる値をメモリ初期化制御値として求めてテスト用経路の初期化パターンを形成する。   According to the above processing procedure, the target fault is selected from the address line for the memory circuit of the semiconductor integrated circuit to be inspected, the longest testable path corresponding to the selected target fault is selected, and the longest testable path is initialized. An address line initialization pattern for providing an initial value is obtained, an address line transition pattern for activating the longest testable path is obtained, a data pattern series and a control value pattern series are obtained, and a transition value setting scan FF is obtained. The value of the output set value scan FF group when the value written in the memory circuit M by the value of the address is read as the value of the address line is obtained as an expected value, and the address line initialization pattern, address line transition pattern, and data pattern series are obtained. And the control value pattern series and the expected value are generated as a serial pattern of the scan FF group. Then, a test pattern generation is generated, and an address obtained by inverting the address bit of the target failure of the address is obtained as a memory initialization address, and data different from the data of the memory circuit M for the data pattern series is obtained as memory initialization data. Further, a value that can be written to the memory circuit M is obtained as a memory initialization control value, and an initialization pattern of the test path is formed.

そして、テストモードにより、テスト用経路の初期化パターンをメモリ回路Mに書き込み、続いてスキャンモードによりシリアルパターンを遷移値設定スキャンFF群および初期値設定スキャンFF群に設定し、スキャンクロック信号により、設定したアドレスにデータパターン系列のデータを書き込み、出力値設定スキャンFF群の値を取り出し、期待値と比較することによって、選択した対象故障に遅延故障があるかどうかを判定することができる。   Then, in the test mode, the initialization pattern of the test path is written to the memory circuit M, and then the serial pattern is set in the transition value setting scan FF group and the initial value setting scan FF group in the scan mode. By writing data pattern series data to the set address, taking out the value of the output value setting scan FF group, and comparing it with the expected value, it can be determined whether or not the selected target fault has a delay fault.

このように実施の形態2によれば、メモリ回路のアドレスラインに接続されるパスの遅延故障を検出するためテストパターンを形成でき、遅延故障検査を行うことができる。したがって、メモリ回路Mが存在している集積回路(LSI)内の動的な動作を保証でき、製品の信頼性を飛躍的に向上させることができる。   As described above, according to the second embodiment, a test pattern can be formed to detect a delay fault in a path connected to the address line of the memory circuit, and a delay fault inspection can be performed. Therefore, the dynamic operation in the integrated circuit (LSI) in which the memory circuit M exists can be guaranteed, and the reliability of the product can be greatly improved.

なお、実施の形態2では、アドレスAD[2:0]を特定しメモリ回路のメモリ初期化パターンを印加しているが、メモリ回路すべてを初期化することも同じである。この場合、複数の遅延故障が発生した場合でも遅延故障テストが可能になる。
[実施の形態3]
実施の形態3として、メモリ回路Mのデータアウトライン(DO)を検査するテストパターン生成方法について説明する。
In the second embodiment, the address AD [2: 0] is specified and the memory initialization pattern of the memory circuit is applied, but the initialization of all the memory circuits is the same. In this case, a delay fault test can be performed even when a plurality of delay faults occur.
[Embodiment 3]
As a third embodiment, a test pattern generation method for inspecting the data outline (DO) of the memory circuit M will be described.

図10は、実施の形態3におけるアドレスラインのテストパターン生成方法を示す回路図である。この図10に示す集積回路は、図1の通常動作経路を成す論理回路部の回路図であり、実施の形態1と同様の遷移値設定SFF群と初期値設定SFF群と出力値設定SFF群を備えている。   FIG. 10 is a circuit diagram showing a test pattern generation method for address lines in the third embodiment. The integrated circuit shown in FIG. 10 is a circuit diagram of the logic circuit section forming the normal operation path of FIG. 1, and the same transition value setting SFF group, initial value setting SFF group, and output value setting SFF group as in the first embodiment. It has.

図10に示すように、スキャンFF1の出力とスキャンFF2の出力はORゲートg3に供給され、入力端子X1とスキャンFF3の出力がORゲートg5に供給され、スキャンFF4の出力とスキャンFF5の出力はANDゲートg8に供給され、入力端子X2とスキャンFF6の出力がORゲートg10に供給される。   As shown in FIG. 10, the output of the scan FF1 and the output of the scan FF2 are supplied to the OR gate g3, the output of the input terminal X1 and the scan FF3 are supplied to the OR gate g5, and the output of the scan FF4 and the output of the scan FF5 are This is supplied to the AND gate g8, and the outputs of the input terminal X2 and the scan FF 6 are supplied to the OR gate g10.

またORゲートg3の出力はスキャンFF11に供給され、スキャンFF2の出力はスキャンFF12に供給され、ORゲートg5の出力はスキャンFF13に供給され、ORゲートg8の出力はスキャンFF14に供給され、スキャンFF5の出力はスキャンFF15に供給され、ORゲートg10の出力はスキャンFF16に供給され、スキャンFF6の出力はスキャンFF17に供給される。   The output of the OR gate g3 is supplied to the scan FF11, the output of the scan FF2 is supplied to the scan FF12, the output of the OR gate g5 is supplied to the scan FF13, the output of the OR gate g8 is supplied to the scan FF14, and the scan FF5 Is supplied to the scan FF 15, the output of the OR gate g 10 is supplied to the scan FF 16, and the output of the scan FF 6 is supplied to the scan FF 17.

さらにスキャンFF13の出力はNOTゲートG2に供給され、スキャンFF12の出力とNOTゲートG2の出力はNANDゲートG1に供給され、NANDゲートG1とスキャンFF11の出力はNORゲートG4に供給され、スキャンFF14の出力とNANDゲートG1の出力はNANDゲートG5に供給され、スキャンFF16の出力はNOTゲートG7に供給され、スキャンFF15の出力とNOTゲートG7の出力はNANDゲートG8に供給され、NANDゲートG8の出力とスキャンFF17の出力はNANDゲートG9に供給される。   Further, the output of the scan FF 13 is supplied to the NOT gate G2, the output of the scan FF 12 and the output of the NOT gate G2 are supplied to the NAND gate G1, the outputs of the NAND gate G1 and the scan FF 11 are supplied to the NOR gate G4, and the scan FF 14 The output and the output of the NAND gate G1 are supplied to the NAND gate G5, the output of the scan FF16 is supplied to the NOT gate G7, the output of the scan FF15 and the output of the NOT gate G7 are supplied to the NAND gate G8, and the output of the NAND gate G8 The output of the scan FF 17 is supplied to the NAND gate G9.

またNORゲートG4の出力は、テスト用データラインDI[0]とともにセレクタS4に供給され、テストモード信号はセレクタS4の制御信号として供給され、セレクタS4の出力はメモリ回路MのデータラインDI[0]に供給される。またNANDゲートG5は、テスト用データラインDI[1]とともにセレクタS5に供給され、テストモード信号はセレクタS5の制御信号として供給され、セレクタS5の出力はメモリ回路MのデータラインDI[1]に供給される。さらにNANDゲートG9の出力は、テスト用データラインDI[2]とともにセレクタS6に供給され、テストモード信号はセレクタS6の制御信号として供給され、セレクタS6の出力はメモリ回路MのデータラインDI[2]に供給される。   The output of the NOR gate G4 is supplied to the selector S4 together with the test data line DI [0], the test mode signal is supplied as the control signal of the selector S4, and the output of the selector S4 is the data line DI [0] of the memory circuit M. ] Is supplied. The NAND gate G5 is supplied to the selector S5 together with the test data line DI [1], the test mode signal is supplied as a control signal for the selector S5, and the output of the selector S5 is supplied to the data line DI [1] of the memory circuit M. Supplied. Further, the output of the NAND gate G9 is supplied to the selector S6 together with the test data line DI [2], the test mode signal is supplied as a control signal for the selector S6, and the output of the selector S6 is the data line DI [2] of the memory circuit M. ] Is supplied.

またスキャンFF20の出力はスキャンFF23に供給され、スキャンFF23の出力は、テスト用チップイネーブルNCEとともにセレクタS7に供給され、テストモード信号はセレクタS7の制御信号として供給され、セレクタS7の出力はメモリ回路MのチップイネーブルNCEに供給される。またスキャンFF21の出力はスキャンFF24に供給され、スキャンFF24の出力は、テスト用ライトイネーブルNWEとともにセレクタS8に供給され、テストモード信号はセレクタS8の制御信号として供給され、セレクタS8の出力はメモリ回路MのライトイネーブルNWEに供給される。さらにスキャンFF22の出力はスキャンFF25に供給され、スキャンFF25の出力は、テスト用リードイネーブルNREとともにセレクタS9に供給され、テストモード信号はセレクタS9の制御信号として供給され、セレクタS9の出力はメモリ回路MのリードイネーブルNREに供給される。   The output of the scan FF 20 is supplied to the scan FF 23, the output of the scan FF 23 is supplied to the selector S7 together with the test chip enable NCE, the test mode signal is supplied as a control signal of the selector S7, and the output of the selector S7 is a memory circuit. M is supplied to the chip enable NCE. The output of the scan FF 21 is supplied to the scan FF 24, the output of the scan FF 24 is supplied to the selector S8 together with the test write enable NWE, the test mode signal is supplied as a control signal of the selector S8, and the output of the selector S8 is a memory circuit. M is supplied to the write enable NWE. Further, the output of the scan FF 22 is supplied to the scan FF 25, the output of the scan FF 25 is supplied to the selector S9 together with the test read enable NRE, the test mode signal is supplied as a control signal of the selector S9, and the output of the selector S9 is a memory circuit. This is supplied to the M read enable NRE.

さらにスキャンFF26の出力はスキャンFF29に供給され、スキャンFF29の出力は、テスト用AD[0]とともにセレクタS1に供給され、テストモード信号はセレクタS1の制御信号として供給され、セレクタS1の出力はメモリ回路MのアドレスラインAD[0]に供給される。またスキャンFF27の出力はスキャンFF30に供給され、スキャンFF30の出力は、テスト用AD[1]とともにセレクタS2に供給され、テストモード信号はセレクタS2の制御信号として供給され、セレクタS2の出力はメモリ回路MのアドレスラインAD[1]に供給される。さらにスキャンFF28の出力はスキャンFF31の入力に供給され、スキャンFF31の出力は、テスト用AD[2]とともにはセレクタS3に供給され、テストモード信号はセレクタS3の制御信号として供給され、セレクタS3の出力はメモリ回路MのアドレスラインAD[2]に供給される。   Further, the output of the scan FF 26 is supplied to the scan FF 29, the output of the scan FF 29 is supplied to the selector S1 together with the test AD [0], the test mode signal is supplied as a control signal of the selector S1, and the output of the selector S1 is a memory. This is supplied to the address line AD [0] of the circuit M. The output of the scan FF 27 is supplied to the scan FF 30, the output of the scan FF 30 is supplied to the selector S 2 together with the test AD [1], the test mode signal is supplied as a control signal for the selector S 2, and the output of the selector S 2 is a memory It is supplied to the address line AD [1] of the circuit M. Further, the output of the scan FF 28 is supplied to the input of the scan FF 31, the output of the scan FF 31 is supplied to the selector S3 together with the test AD [2], and the test mode signal is supplied as a control signal of the selector S3. The output is supplied to the address line AD [2] of the memory circuit M.

またメモリ回路MのデータアウトラインDO[0]とメモリ回路MのデータアウトラインDO[1]はNANDゲートG10に供給され、メモリ回路MのデータアウトラインDO[1]とメモリ回路MのデータアウトラインDO[2]はANDゲートG11に供給され、NANDゲートG10の出力はスキャンFF32の入力に接続され、NANDゲートG10の出力はNOTゲートG12の入力に接続され、NOTゲートG12の出力はスキャンFF33の入力に接続され、NANDゲートG11の出力はスキャンFF34の入力に接続される。   The data outline DO [0] of the memory circuit M and the data outline DO [1] of the memory circuit M are supplied to the NAND gate G10, and the data outline DO [1] of the memory circuit M and the data outline DO [2] of the memory circuit M are supplied. ] Is supplied to the AND gate G11, the output of the NAND gate G10 is connected to the input of the scan FF 32, the output of the NAND gate G10 is connected to the input of the NOT gate G12, and the output of the NOT gate G12 is connected to the input of the scan FF 33 The output of the NAND gate G11 is connected to the input of the scan FF 34.

また、クロックCLKとテスト用クロックTCLKとスキャン用クロックSCLKはそれぞれセレクタ10の入力に接続され、テストモード信号はセレクタS10の制御信号S1として接続され、スキャンモード信号はセレクタS10の制御信号S2として接続され、セレクタ10の出力はメモリ回路のCLKに供給される。これらテストモード信号(制御信号S1)とスキャンモード信号(制御信号S2)により、上述したように、クロックが選択されてメモリ回路のCLKへ供給される。   The clock CLK, the test clock TCLK, and the scan clock SCLK are respectively connected to the input of the selector 10, the test mode signal is connected as the control signal S1 of the selector S10, and the scan mode signal is connected as the control signal S2 of the selector S10. The output of the selector 10 is supplied to the CLK of the memory circuit. As described above, the clock is selected and supplied to the CLK of the memory circuit by the test mode signal (control signal S1) and the scan mode signal (control signal S2).

次に、データアウトライン(DO)を検査するテストパターン生成方法の処理手順を、図11に示すフローチャートを参照しながら説明する。
ステップ−501
まず、被検査半導体集積回路のメモリ回路Mに対するデータアウトラインから対象故障を選択する。この対象故障は、人手で選択してもよく、あるいは回路情報から電子計算機により自動的に取出して作成してもよい。例えば、対象故障として図10に太線で示すデータアウトラインのDO[0]の遷移rise(“0”から“1”への遅延故障)を選択する。
ステップ−502
次に、上記選択した対象故障に対応するテスト可能最長パスを選択する。データアウトラインのDO[0]を選択したとき、テスト可能最長パスとして、DO[0]−G10−G12−スキャンFF33を選択する。
ステップ−503
次に、テスト可能最長パスを初期化するための第1のメモリ初期化データを求める。データDO[2:0]=<0,0,0>となる。
ステップ−504
次に、テスト最長パスの活性化をするための第2のメモリ初期化データを求める。このときデータDO[2:0]=<1,1,0>となる。
ステップ−505
次に、第1のメモリ初期化データを書き込むための第1のメモリ初期化アドレスを生成する。例えば、第1のメモリ初期値アドレスAD[2:0]=<0,0,0>とする。
ステップ−506
次に、第2のメモリ初期化データを書き込むための第2のメモリ初期化アドレスを生成する。例えば、第2のメモリ初期化アドレスAD[2:0]=<1,1,1>とする。
ステップ−507
次に、第1のメモリ初期化データと第2のメモリ初期化データを書きこむためのメモリ初期化制御値を生成する。すなわち、第1のメモリ初期化データおよび第2のメモリ初期化データを書き込める制御値は、NCE=0、NWE=0、NRE=1となる。
ステップ−508
次に、第1のメモリ初期化データを読み出すためのアドレスと制御信号群の値を初期値設定スキャンFFに生成する(データアウト初期化パターンを生成する)。すなわち、メモリ回路のアドレスを第1のメモリ初期化データを書き込んだアドレスであるAD[2:0]=<0,0,0>を読み出せるように初期値設定スキャンFF23〜25、29〜31の値を生成する。この時の初期値設定スキャンFF23〜25、29〜31の値は<0,1,0,0,0,0>になる。
ステップ−509
次に、第2のメモリ初期化データパターンを読み出すためのアドレスと制御信号群の値を遷移値設定スキャンFFに生成する(データアウト遷移パターンを生成する)。すなわち、第2のメモリ初期化データを書き込んだアドレスであるAD[2:0]=<1,1,1>を読み出せるように遷移値設定スキャンFF20〜22、26〜28の値を生成する。このときの遷移値設定スキャンFF20〜22、26〜28の値は<0,1,0,1,1,1>になる。
ステップ−510
次に、第2のメモリ初期化データを第2のメモリ初期化アドレスで読み出した時の出力設定値スキャンFF群(出力設定値パターン)が受ける値を期待値として求める。すなわち、遷移値設定スキャンFFで読み出したアドレスAD[2:0]=<1,1,1>の値DO[2:0]=<1,1,0>を出力設定する。このときのスキャンFF32〜34に読み出した値は<0,1,0>になる。この値を期待値とする。
ステップ−511
次に、データアウト初期化パターンとデータアウト遷移パターンと期待値を、シフトパターンとして生成する。すなわち、遷移値設定スキャンFF20〜22,26〜28の値および初期値設定スキャンFF23〜25の値,29〜31および期待値をシリアルパターンとして生成し、対象故障に対するテストパターン生成を終了する。
Next, the processing procedure of the test pattern generation method for inspecting the data outline (DO) will be described with reference to the flowchart shown in FIG.
Step-501
First, the target failure is selected from the data outline for the memory circuit M of the semiconductor integrated circuit to be inspected. This target failure may be selected manually, or may be created by automatically extracting from the circuit information by an electronic computer. For example, a transition rise (delay failure from “0” to “1”) of DO [0] in the data outline indicated by a bold line in FIG. 10 is selected as the target failure.
Step-502
Next, the longest testable path corresponding to the selected target failure is selected. When DO [0] in the data outline is selected, DO [0] -G10-G12-scan FF33 is selected as the longest testable path.
Step-503
Next, first memory initialization data for initializing the longest testable path is obtained. The data DO [2: 0] = <0, 0, 0>.
Step-504
Next, second memory initialization data for activating the longest test path is obtained. At this time, the data DO [2: 0] = <1, 1, 0>.
Step-505
Next, a first memory initialization address for writing the first memory initialization data is generated. For example, the first memory initial value address AD [2: 0] = <0, 0, 0>.
Step-506
Next, a second memory initialization address for writing the second memory initialization data is generated. For example, the second memory initialization address AD [2: 0] = <1,1,1>.
Step-507
Next, a memory initialization control value for writing the first memory initialization data and the second memory initialization data is generated. That is, the control values for writing the first memory initialization data and the second memory initialization data are NCE = 0, NWE = 0, and NRE = 1.
Step-508
Next, the address for reading the first memory initialization data and the value of the control signal group are generated in the initial value setting scan FF (data out initialization pattern is generated). That is, the initial value setting scan FFs 23 to 25 and 29 to 31 are readable so that AD [2: 0] = <0, 0, 0>, which is the address at which the first memory initialization data is written, can be read. Generate the value of. The values of the initial value setting scan FFs 23 to 25 and 29 to 31 at this time are <0, 1, 0, 0, 0, 0>.
Step-509
Next, an address for reading the second memory initialization data pattern and a value of the control signal group are generated in the transition value setting scan FF (data-out transition pattern is generated). That is, the values of the transition value setting scan FFs 20 to 22 and 26 to 28 are generated so that AD [2: 0] = <1,1,1>, which is the address at which the second memory initialization data is written, can be read. . The values of the transition value setting scan FFs 20 to 22 and 26 to 28 at this time are <0, 1, 0, 1, 1, 1>.
Step-510
Next, a value received by the output set value scan FF group (output set value pattern) when the second memory initialization data is read at the second memory initialization address is obtained as an expected value. That is, the value DO [2: 0] = <1, 1, 0> of the address AD [2: 0] = <1,1,1> read by the transition value setting scan FF is set to be output. The values read to the scan FFs 32 to 34 at this time are <0, 1, 0>. This value is the expected value.
Step-511
Next, a data-out initialization pattern, a data-out transition pattern, and an expected value are generated as shift patterns. That is, the values of the transition value setting scan FFs 20 to 22 and 26 to 28, the values of the initial value setting scan FFs 23 to 25, 29 to 31, and the expected value are generated as serial patterns, and the test pattern generation for the target failure is completed.

このように生成したテストパターンを使用した検査方法について、図12のフローチャートと図13のメモリ回路の各端子における波形図を参照しながら説明する。
ステップ−601
まず、テストモード信号をテストモードに設定する。テストモード信号をテストモードである“0”に設定する。
ステップ−602
次に、生成した第1のメモリ初期化アドレスに第1のメモリ初期化データを印加し、メモリ回路の初期化を行う。すなわち、テスト用経路からメモリ回路Mへ第1のメモリ初期化データの書きこみを行う。このときのメモリ回路Mの各端子は、NCE=0,NWE=0,NRE=1,AD[2:0]=<0,0,0>、DI[2:0]=<0,0,0>になり、メモリ回路Mのアドレス<0,0,0>にデータ<0,0,0>が書きこまれる。
ステップ−603
次に、生成した第2のメモリ初期化アドレスに第2のメモリ初期化データを印加し、メモリ回路の初期化を行う。すなわち、テスト用経路からメモリ回路Mへ第2のメモリ初期化データの書きこみを行う。このときのメモリ回路Mの各端子は、NCE=0,NWE=0,NRE=1,AD[2:0]=<1,1,1>、DI[2:0]=<1,1,0>になり、メモリ回路のアドレス<1,1,1>にデータ<1,1,0>が書きこまれる。
ステップ−604
次に、スキャンイネーブル信号をスキャンモードに設定する。すなわち、スキャンイネーブル信号をスキャンモード“1”に設定する。
ステップ−605
次に、生成したシリアルパターンをスキャンシフト動作で各スキャンFFに設定する。スキャンシフトで各スキャンFFに値が設定されると、メモリ回路Mの各端子はNCE=0,NWE=1,NRE=0,AD[2:0]=<0,0,0>、DI[2:0]=<X,X,X>になる。
ステップ−606
次に、スキャンイネーブル信号(SE信号)とテストモード信号を通常モードに設定する。すなわち、スキャンイネーブル信号を通常モードである“0”に設定する。また、テストモード信号を通常モードである“1”に設定する。
ステップ−607
次に、スキャンクロック速度でテスト対象メモリ回路Mおよび各スキャンFFにクロックを印加する(テスト可能最長パスの初期化)。クロックが入力されると、メモリ回路Mのアドレス<0,0,0>のデータが読み出されデータアウトは<0,0,0>が出力される。この時、AD[2:0]=<1,1,1>に変更される。
ステップ−608
次に、テスト対象メモリ回路Mの実動作クロック速度でテスト対象メモリ回路Mおよび各スキャンFFにクロックを印加する(テスト可能最長パスに遷移を発生)。クロックが入力されると、メモリ回路のアドレス<1,1,1>のデータが読み出されデータアウトは<1,1,0>が出力される。
ステップ−609
次に、テスト対象メモリ回路Mの実動作クロック速度でテスト対象メモリ回路Mおよび各スキャンFFにクロックを印加する(テスト可能最長パスの遷移後の値を出力値設定スキャンFF群に取りこむ)。データアウトDO[1]に遅延故障が発生していなければ、出力値設定スキャンFF32〜34は<0,1,0>になる。しかし、遅延故障が発生していた場合は、出力値設定スキャンFF33のみがアドレスAD[2:0]=<0,0,0>で書きこんだ値<0>になる。
ステップ−610
次に、スキャンイネーブル信号をスキャンモードに設定する。すなわち、スキャンイネーブル信号を“1”に設定する。
ステップ−611
次に、スキャンシフト動作で外部端子に値をシフトアウトし期待値と比較する。期待値比較において、期待値と異なる値が観測された場合は、テスト対象故障に遅延故障があると判定される。
An inspection method using the test pattern generated in this way will be described with reference to the flowchart of FIG. 12 and waveform diagrams at each terminal of the memory circuit of FIG.
Step-601
First, the test mode signal is set to the test mode. The test mode signal is set to “0” which is the test mode.
Step-602
Next, the first memory initialization data is applied to the generated first memory initialization address, and the memory circuit is initialized. That is, the first memory initialization data is written from the test path to the memory circuit M. The respective terminals of the memory circuit M at this time are NCE = 0, NWE = 0, NRE = 1, AD [2: 0] = <0,0,0>, DI [2: 0] = <0,0, 0>, and data <0, 0, 0> is written to the address <0, 0, 0> of the memory circuit M.
Step-603
Next, the second memory initialization data is applied to the generated second memory initialization address, and the memory circuit is initialized. That is, the second memory initialization data is written from the test path to the memory circuit M. At this time, the terminals of the memory circuit M are NCE = 0, NWE = 0, NRE = 1, AD [2: 0] = <1,1,1>, DI [2: 0] = <1,1, 0>, and data <1, 1, 0> is written at address <1, 1, 1> of the memory circuit.
Step-604
Next, the scan enable signal is set to the scan mode. That is, the scan enable signal is set to the scan mode “1”.
Step-605
Next, the generated serial pattern is set in each scan FF by a scan shift operation. When a value is set in each scan FF by scan shift, each terminal of the memory circuit M has NCE = 0, NWE = 1, NRE = 0, AD [2: 0] = <0, 0, 0>, DI [ 2: 0] = <X, X, X>.
Step-606
Next, the scan enable signal (SE signal) and the test mode signal are set to the normal mode. That is, the scan enable signal is set to “0” which is the normal mode. Further, the test mode signal is set to “1” which is the normal mode.
Step-607
Next, a clock is applied to the test target memory circuit M and each scan FF at the scan clock speed (initialization of the longest testable path). When the clock is input, the data at the address <0, 0, 0> of the memory circuit M is read and <0, 0, 0> is output as the data out. At this time, AD [2: 0] = <1,1,1>.
Step-608
Next, a clock is applied to the test target memory circuit M and each scan FF at the actual operation clock speed of the test target memory circuit M (transition occurs in the longest testable path). When the clock is input, the data at the address <1, 1, 1> of the memory circuit is read and <1, 1, 0> is output as the data out.
Step-609
Next, a clock is applied to the test target memory circuit M and each scan FF at the actual operation clock speed of the test target memory circuit M (the value after transition of the longest testable path is taken into the output value setting scan FF group). If no delay fault has occurred in the data-out DO [1], the output value setting scan FFs 32 to 34 are <0, 1, 0>. However, if a delay fault has occurred, only the output value setting scan FF 33 becomes the value <0> written at the address AD [2: 0] = <0, 0, 0>.
Step-610
Next, the scan enable signal is set to the scan mode. That is, the scan enable signal is set to “1”.
Step-611
Next, the value is shifted out to the external terminal by the scan shift operation and compared with the expected value. In the expected value comparison, when a value different from the expected value is observed, it is determined that the test target failure has a delayed failure.

上記処理手順によれば、被検査半導体集積回路のメモリ回路Mに対するデータアウトラインから対象故障を選択し、上記選択した対象故障に対応するテスト可能最長パスを選択し、テスト可能最長パスを初期化するための第1のメモリ初期化データを求め、続けてテスト最長パスの活性化をするための第2のメモリ初期化データを求める。そして、第1のメモリ初期化データを書き込むためのアドレスを求める第1のメモリ初期化アドレスを生成し、続けて第2のメモリ初期化データを書き込むためのアドレスを求める第2のメモリ初期化アドレスを生成する。   According to the above processing procedure, the target fault is selected from the data outline for the memory circuit M of the semiconductor integrated circuit to be tested, the longest testable path corresponding to the selected target fault is selected, and the longest testable path is initialized. First memory initialization data is obtained, and then second memory initialization data for activating the longest test path is obtained. Then, a first memory initialization address for obtaining an address for writing the first memory initialization data is generated, and then a second memory initialization address for obtaining an address for writing the second memory initialization data Is generated.

次に、第1のメモリ初期化データと第2のメモリ初期化データを書きこむためのメモリ初期化制御値を生成し、第1のメモリ初期化データを読み出すためにアドレスと制御信号群の値を初期値設定スキャンFF群に生成し(第1の初期化パターンを生成し)、続けて第2のメモリ初期化データを読み出すためのアドレスと制御信号群の値を遷移値設定スキャンFF群に生成する(第2の初期化パターンを生成する)。   Next, a memory initialization control value for writing the first memory initialization data and the second memory initialization data is generated, and an address and a value of the control signal group are used for reading the first memory initialization data. Is generated in the initial value setting scan FF group (the first initialization pattern is generated), and the address for reading the second memory initialization data and the value of the control signal group are subsequently stored in the transition value setting scan FF group. Generate (generate a second initialization pattern).

そして第2のメモリ初期化データを第2のメモリ初期化アドレスで読み出した時の出力設定値スキャンFF群の値を期待値として求める。
続いて第1の初期化パターンと第2の初期化パターンを、初期値設定スキャンFF群と遷移値設定スキャンFF群のシフトパターンとして生成する(テストパターン生成を生成する)。
Then, the value of the output set value scan FF group when the second memory initialization data is read at the second memory initialization address is obtained as an expected value.
Subsequently, the first initialization pattern and the second initialization pattern are generated as shift patterns of the initial value setting scan FF group and the transition value setting scan FF group (test pattern generation is generated).

そして、テストモードにより、第1のメモリ初期化データをメモリ回路Mに書き込み、続いて第2のメモリ初期化データをメモリ回路Mに書き込む。そして、スキャンモードによりシリアルパターンを遷移値設定スキャンFF群および初期値設定スキャンFF群に設定し、スキャンクロック信号により書き込んだ第1のメモリ初期化データと第2のメモリ初期化データを読み出し、遷移値設定スキャンFF群のアドレス設定によりテスト可能最長パスの遷移後の値を出力値設定スキャンFFに取りこみ、期待値と比較することによって、選択した対象故障に遅延故障があるかどうかを判定することができる。   Then, in the test mode, the first memory initialization data is written into the memory circuit M, and then the second memory initialization data is written into the memory circuit M. Then, the serial pattern is set in the transition value setting scan FF group and the initial value setting scan FF group according to the scan mode, and the first memory initialization data and the second memory initialization data written by the scan clock signal are read, and the transition is performed. The value after the transition of the longest path that can be tested by the address setting of the value setting scan FF group is taken into the output value setting scan FF and compared with the expected value to determine whether the selected target fault has a delay fault Can do.

このように実施の形態3によれば、メモリ回路のデータアウトラインに接続されるパスの遅延故障を検出するためテストパターンを形成でき、遅延故障検査を行うことができる。したがって、メモリ回路Mが存在している集積回路(LSI)内の動的な動作を保証でき、製品の信頼性を飛躍的に向上させることができる。
[実施の形態4]
実施の形態4として、メモリ回路MのライトイネーブルNWEの書き込み不可から書き込み可能への遷移時“nonWrite→Write”における、ライトイネーブルラインのテストパターン生成方法について説明する。
As described above, according to the third embodiment, a test pattern can be formed to detect a delay fault of a path connected to the data outline of the memory circuit, and a delay fault inspection can be performed. Therefore, the dynamic operation in the integrated circuit (LSI) in which the memory circuit M exists can be guaranteed, and the reliability of the product can be greatly improved.
[Embodiment 4]
As a fourth embodiment, a method for generating a test pattern of a write enable line at the time of “nonWrite → Write” at the time when the write enable NWE of the memory circuit M transitions from write disable to write enable will be described.

図14は、実施の形態4におけるライトイネーブルラインのテストパターン生成方法を示す回路図である。この図14に示す集積回路は、図1の通常動作経路を成す論理回路部の回路図であり、実施の形態1と同様の遷移値設定SFF群と初期値設定SFF群と出力値設定SFF群を備えている。   FIG. 14 is a circuit diagram showing a write enable line test pattern generation method according to the fourth embodiment. The integrated circuit shown in FIG. 14 is a circuit diagram of the logic circuit unit forming the normal operation path of FIG. 1, and the same transition value setting SFF group, initial value setting SFF group, and output value setting SFF group as in the first embodiment. It has.

スキャンFF1の出力とスキャンFF2の出力はANDゲートg3に供給され、スキャンFF2の出力はスキャンFF12に供給され、入力端子X1とスキャンFF3の出力がANDゲートg5に供給され、入力端子X2はスキャンFF14に供給され、入力端子X3はスキャンFF15に供給され、スキャンFF4の出力とスキャンFF5の出力はORゲートg8に供給され、入力端子X4とスキャンFF6の出力がORゲートg10に供給され、スキャンFF6の出力はスキャンFF18に供給され、ORゲートg3の出力はスキャンFF11に供給され、ORゲートg5の出力はスキャンFF13に供給され、ORゲートg8の出力はスキャンFF16に供給され、ORゲートg10の出力はスキャンFF17の入力に供給される。   The output of the scan FF1 and the output of the scan FF2 are supplied to the AND gate g3, the output of the scan FF2 is supplied to the scan FF12, the outputs of the input terminal X1 and the scan FF3 are supplied to the AND gate g5, and the input terminal X2 is supplied to the scan FF14. , The input terminal X3 is supplied to the scan FF15, the output of the scan FF4 and the output of the scan FF5 are supplied to the OR gate g8, the outputs of the input terminal X4 and the scan FF6 are supplied to the OR gate g10, The output is supplied to the scan FF 18, the output of the OR gate g3 is supplied to the scan FF 11, the output of the OR gate g5 is supplied to the scan FF 13, the output of the OR gate g8 is supplied to the scan FF 16, and the output of the OR gate g10 is This is supplied to the input of the scan FF 17.

またスキャンFF13の出力はNOTゲートG2に供給され、スキャンFF12の出力とNOTゲートG2の出力はNANDゲートG1に供給され、NANDゲートG1とスキャンFF11の出力はANDゲートG10に供給され、スキャンFF14の出力とスキャンFF15の出力はNANDゲートG5の入力に供給され、スキャンFF17の出力はNOTゲートG7に供給され、スキャンFF16の出力とNOTゲートG7の出力はNANDゲートG8に供給され、NANDゲートG8の出力とスキャンFF18の出力はNANDゲートG9に供給される。   The output of the scan FF 13 is supplied to the NOT gate G2, the output of the scan FF 12 and the output of the NOT gate G2 are supplied to the NAND gate G1, the outputs of the NAND gate G1 and the scan FF 11 are supplied to the AND gate G10, and the scan FF 14 The output and the output of the scan FF 15 are supplied to the input of the NAND gate G5, the output of the scan FF 17 is supplied to the NOT gate G7, the output of the scan FF 16 and the output of the NOT gate G7 are supplied to the NAND gate G8, The output and the output of the scan FF 18 are supplied to the NAND gate G9.

またスキャンANDゲートG10の出力は、テスト用ライトイネーブルNWEとともにセレクタS8に供給され、テストモード信号はセレクタS8の制御信号として供給され、セレクタS8の出力はメモリ回路MのライトイネーブルNWEに供給される。またNANDゲートG5は、テスト用チップイネーブルNCEとともにセレクタS7に供給され、テストモード信号はセレクタS7の制御信号として供給され、セレクタS7の出力はメモリ回路MのチップイネーブルNCEに供給される。さらにNANDゲートG9の出力は、テスト用リードイネーブルNREとともにセレクタS9に供給され、テストモード信号はセレクタS9の制御信号として供給され、セレクタS9の出力はメモリ回路MのリードイネーブルNREに供給される。   The output of the scan AND gate G10 is supplied to the selector S8 together with the test write enable NWE, the test mode signal is supplied as a control signal for the selector S8, and the output of the selector S8 is supplied to the write enable NWE of the memory circuit M. . The NAND gate G5 is supplied to the selector S7 together with the test chip enable NCE, the test mode signal is supplied as a control signal for the selector S7, and the output of the selector S7 is supplied to the chip enable NCE of the memory circuit M. Further, the output of the NAND gate G9 is supplied to the selector S9 together with the test read enable NRE, the test mode signal is supplied as a control signal of the selector S9, and the output of the selector S9 is supplied to the read enable NRE of the memory circuit M.

さらにスキャンFF20の出力はスキャンFF23に供給され、スキャンFF23の出力は、テスト用DI[0]とともにセレクタS4に供給され、テストモード信号はセレクタS4の制御信号として供給され、セレクタS4の出力はメモリ回路MのDI[0]に供給される。またスキャンFF21の出力はスキャンFF24の入力に供給され、スキャンFF24の出力は、テスト用DI[1]とともにセレクタS5に供給され、テストモード信号はセレクタS5の制御信号として供給され、セレクタS5の出力はメモリ回路MのDI[1]に供給される。またスキャンFF22の出力はスキャンFF25に供給され、スキャンFF25の出力は、テスト用DI[2]とともにセレクタS6に供給され、テストモード信号はセレクタS6の制御信号として供給され、セレクタS9の出力はメモリ回路MのDI[2]に供給される。   Further, the output of the scan FF 20 is supplied to the scan FF 23, the output of the scan FF 23 is supplied to the selector S4 together with the test DI [0], the test mode signal is supplied as the control signal of the selector S4, and the output of the selector S4 is the memory. It is supplied to DI [0] of the circuit M. The output of the scan FF 21 is supplied to the input of the scan FF 24, the output of the scan FF 24 is supplied to the selector S5 together with the test DI [1], the test mode signal is supplied as a control signal of the selector S5, and the output of the selector S5 Is supplied to DI [1] of the memory circuit M. The output of the scan FF 22 is supplied to the scan FF 25, the output of the scan FF 25 is supplied to the selector S6 together with the test DI [2], the test mode signal is supplied as a control signal of the selector S6, and the output of the selector S9 is the memory. It is supplied to DI [2] of the circuit M.

またスキャンFF26の出力はスキャンFF29に供給され、スキャンFF29の出力は、テスト用AD[0]とともにセレクタS1に供給され、テストモード信号はセレクタS1の制御信号として供給され、セレクタS1の出力はメモリ回路MのアドレスラインAD[0]に供給される。またスキャンFF27の出力はスキャンFF30に供給され、スキャンFF30の出力は、テスト用AD[1]とともにセレクタS2に供給され、テストモード信号はセレクタS2の制御信号として供給され、セレクタS2の出力はメモリ回路MのアドレスラインAD[1]に供給される。さらにスキャンFF28の出力はスキャンFF31に供給され、スキャンFF31の出力は、テスト用AD[2]とともにセレクタS3に供給され、テストモード信号はセレクタS3の制御信号として供給され、セレクタS3の出力はメモリ回路MのアドレスラインAD[2]に供給される。   The output of the scan FF 26 is supplied to the scan FF 29, the output of the scan FF 29 is supplied to the selector S1 together with the test AD [0], the test mode signal is supplied as a control signal of the selector S1, and the output of the selector S1 is a memory. This is supplied to the address line AD [0] of the circuit M. The output of the scan FF 27 is supplied to the scan FF 30, the output of the scan FF 30 is supplied to the selector S 2 together with the test AD [1], the test mode signal is supplied as a control signal for the selector S 2, and the output of the selector S 2 is a memory It is supplied to the address line AD [1] of the circuit M. Further, the output of the scan FF 28 is supplied to the scan FF 31, the output of the scan FF 31 is supplied to the selector S3 together with the test AD [2], the test mode signal is supplied as a control signal of the selector S3, and the output of the selector S3 is a memory. This is supplied to the address line AD [2] of the circuit M.

さらにメモリ回路MのデータアウトラインDO[0]はスキャンFF32の入力に接続され、メモリ回路MのデータアウトラインDO[1]はスキャンFF33の入力に接続され、メモリ回路MのデータアウトラインDO[2]はスキャンFF34の入力に接続される。   Further, the data outline DO [0] of the memory circuit M is connected to the input of the scan FF 32, the data outline DO [1] of the memory circuit M is connected to the input of the scan FF 33, and the data outline DO [2] of the memory circuit M is Connected to the input of the scan FF 34.

また、クロックCLKとテスト用クロックTCLKとスキャン用クロックSCLKはそれぞれセレクタ10の入力に接続され、テストモード信号はセレクタS10の制御信号S1として接続され、スキャンモード信号はセレクタS10の制御信号S2として接続され、セレクタ10の出力はメモリ回路のCLKに供給される。これらテストモード信号(制御信号S1)とスキャンモード信号(制御信号S2)により、上述したように、クロックが選択されてメモリ回路のCLKへ供給される。   The clock CLK, the test clock TCLK, and the scan clock SCLK are respectively connected to the input of the selector 10, the test mode signal is connected as the control signal S1 of the selector S10, and the scan mode signal is connected as the control signal S2 of the selector S10. The output of the selector 10 is supplied to the CLK of the memory circuit. As described above, the clock is selected and supplied to the CLK of the memory circuit by the test mode signal (control signal S1) and the scan mode signal (control signal S2).

次に、ライトイネーブルラインNWEのテストパターン生成方法“nonWrite→Write”の処理手順を、図15に示すフローチャートを参照しながら説明する。
ステップ−701
まず、被検査半導体集積回路のメモリ回路Mに対するライトイネーブルのメモリ回路への書き込み不可から書き込み可能へ遷移する故障を対応するテスト可能最長パスを選択する。例えば、対象故障として図14のライトイネーブルNWEの書き込み不可から書き込み可能への遷移fall(“1”から“0”への遅延故障)に対するテスト可能最長パスとして、スキャンFF13−G2−G1−G10−NWEを選択する。
ステップ−702
次に、テスト可能最長パスを初期化するための初期値をあたえるライトイネーブル初期化テストパターンを求める。すなわち、テスト可能最長パスに係る初期値設定スキャンFF11〜13に値を生成する。この時の初期値設定スキャンFF11〜13の値はそれぞれ<1,x,1>となる。
ステップ−703
続いて、テスト可能最長パスを活性化するためのライトイネーブル遷移テストパターンを求める。すなわち初期値設定スキャンFF11〜13に係る遷移値設定スキャンFF1〜3および入力端子X1に値を生成する。この時の遷移値設定スキャンFF1〜3に値および入力端子X1の値はそれぞれ<0,1,0,0>となる。
ステップ−704
次に、アドレスラインに任意の値を設定するアドレスパターン系列を求める。例えば、アドレスを任意の値であるAD[2:0]=<0,1,0>になるように初期値設定スキャンFF29〜31および遷移値設定スキャンFF26〜28に値を生成する。この時の値は<0,1,0,0,1,0>になる。
ステップ−705
続いてデータラインに任意の値を設定するためのデータパターン系列を求める。例えば、メモリ回路のデータを任意の値であるDI[2:0]=<0,1,0>になるように初期値設定スキャンFF23〜25および遷移値設定スキャンFF20〜22に値を生成する。この時の<0,1,0,0,1,0>になる。
ステップ−706
次に、メモリ回路Mの制御信号群をメモリ回路Mへ書き込みできる値を設定するための制御値パターン系列を求める。すなわち、メモリ回路の制御信号群であるNCE、NREに書き込み動作を許可するための値<0,1>になるように初期値設定スキャンFF14〜18および遷移値設定スキャンFF4〜6および入力端子X2〜X4に値を生成する。この時の値は<1,1,x,x,0、x,x,0,1,1,x>になる。
ステップ−707
次に、遷移値設定スキャンFF群の値によりメモリ回路に書きこまれた値をステップ−704で設定したアドレスライン値で読み出した時の出力設定値スキャンFF群(出力設定値パターン)の値を期待値として求める。すなわち、遷移値設定スキャンFF20〜22,26〜28に設定した値によりメモリ回路に書きこまれた値DI[2:0]=<0,1,0>をDO[2:0]から読み出した値を出力値設定スキャンFF32〜34に設定する。この時の出力値設定スキャンFF32〜34の値は<0,1,0>になる。このときの値を期待値とする。
ステップ−708
次に、ライトイネーブル初期化パターン系列とライトイネーブル遷移パターン系列とアドレスパターン系列とデータパターン系列と期待値を、スキャンFF群のシリアルパターンして生成する。すなわち、初期値設定スキャンFF群と遷移値設定スキャンFF群に設定された値と期待値をシフトパターンとして生成する。
ステップ−709
続いて、ステップ−704で生成したアドレスパターンに対するアドレスライン値を初期化アドレスとして求める。このときのメモリ初期化アドレスは、ステップ−704で生成したアドレスパターン系列でのメモリ回路への書き込みアドレスAD[2:0]=<0,1,0>になる。
ステップ−710
次に、ステップ−705で生成したデータパターンに対するデータラインの値と異なるデータを初期化データとして求める。このときのメモリ初期化データは、ステップ−705で生成したデータパターン系列でのメモリ回路への書き込みデータDI[2:0]=<0,1,0>以外の任意の値にする。この実施の形態ではDI[2:0]=<1,0,1>にする。
ステップ−711
続いて、ステップ−709,710で生成したパターンがメモリ回路に書き込みができるようにメモリ回路の制御信号群のメモリ初期化制御値を求める。ステップ−709で生成したメモリ初期化アドレスに対してステップ−710で生成したメモリ初期化データをメモリ回路に書き込むためのメモリ回路制御群の値を求める。本実施の形態では、NCE=0,NWE=0、NRE=1となる。ステップ−709,710,711によりメモリ回路のテスト用経路の初期化パターンが生成される。
Next, the processing procedure of the test pattern generation method “nonWrite → Write” for the write enable line NWE will be described with reference to the flowchart shown in FIG.
Step-701
First, the longest testable path corresponding to a failure that makes a transition from write disable to write enable to the write enabled memory circuit for the memory circuit M of the semiconductor integrated circuit under test is selected. For example, the scan FF 13 -G 2 -G 1 -G 10-is the longest testable path for the transition failure (delay failure from “1” to “0”) from write disable to write enable of the write enable NWE in FIG. Select NWE.
Step-702
Next, a write enable initialization test pattern that provides an initial value for initializing the longest testable path is obtained. That is, a value is generated in the initial value setting scan FFs 11 to 13 related to the longest testable path. The values of the initial value setting scan FFs 11 to 13 at this time are <1, x, 1>, respectively.
Step-703
Subsequently, a write enable transition test pattern for activating the longest testable path is obtained. That is, values are generated in the transition value setting scans FF1 to FF3 and the input terminal X1 related to the initial value setting scans FF11 to FF13. The values of the transition value setting scans FF1 to FF3 at this time and the value of the input terminal X1 are <0, 1, 0, 0>, respectively.
Step-704
Next, an address pattern series for setting an arbitrary value in the address line is obtained. For example, values are generated in the initial value setting scan FFs 29 to 31 and the transition value setting scan FFs 26 to 28 so that the address is an arbitrary value AD [2: 0] = <0, 1, 0>. The value at this time is <0, 1, 0, 0, 1, 0>.
Step-705
Subsequently, a data pattern series for setting an arbitrary value in the data line is obtained. For example, values are generated in the initial value setting scan FFs 23 to 25 and the transition value setting scan FFs 20 to 22 so that the data of the memory circuit becomes an arbitrary value DI [2: 0] = <0, 1, 0>. . <0, 1, 0, 0, 1, 0> at this time.
Step-706
Next, a control value pattern series for setting a value capable of writing the control signal group of the memory circuit M to the memory circuit M is obtained. That is, the initial value setting scan FFs 14 to 18 and the transition value setting scans FF4 to FF6 and the input terminal X2 are set so that the values <0, 1> for allowing the write operation to the control signals NCE and NRE of the memory circuit Generate a value for ~ X4. The values at this time are <1,1, x, x, 0, x, x, 0,1,1, x>.
Step-707
Next, the value of the output setting value scan FF group (output setting value pattern) when the value written in the memory circuit by the value of the transition value setting scan FF group is read with the address line value set in step -704 is obtained. Obtained as an expected value. That is, the value DI [2: 0] = <0, 1, 0> written in the memory circuit with the values set in the transition value setting scan FFs 20 to 22 and 26 to 28 is read from DO [2: 0]. The value is set in the output value setting scan FFs 32 to 34. The values of the output value setting scan FFs 32 to 34 at this time are <0, 1, 0>. The value at this time is assumed as the expected value.
Step-708
Next, a write enable initialization pattern series, a write enable transition pattern series, an address pattern series, a data pattern series, and an expected value are generated as serial patterns of the scan FF group. That is, the values set in the initial value setting scan FF group and the transition value setting scan FF group and the expected value are generated as a shift pattern.
Step-709
Subsequently, an address line value for the address pattern generated in step -704 is obtained as an initialization address. The memory initialization address at this time is the write address AD [2: 0] = <0, 1, 0> to the memory circuit in the address pattern series generated in step -704.
Step-710
Next, data different from the value of the data line for the data pattern generated in step -705 is obtained as initialization data. The memory initialization data at this time is set to an arbitrary value other than the write data DI [2: 0] = <0, 1, 0> to the memory circuit in the data pattern series generated in step -705. In this embodiment, DI [2: 0] = <1, 0, 1>.
Step-711
Subsequently, the memory initialization control value of the control signal group of the memory circuit is obtained so that the pattern generated in steps -709 and 710 can be written to the memory circuit. A value of a memory circuit control group for writing the memory initialization data generated in step -710 to the memory circuit with respect to the memory initialization address generated in step -709 is obtained. In this embodiment, NCE = 0, NWE = 0, and NRE = 1. In steps -709, 710, and 711, an initialization pattern of the test path of the memory circuit is generated.

以上で対象故障に対するテストパターン生成を終了する。
このように生成したテストパターンを使用した検査方法について、図16のフローチャートと図17のメモリ回路の各端子における波形図を参照しながら用いて説明する。
ステップ−801
まずテストモード信号をテストモードに設定する。すなわち、テストモード信号をテストモードである“0”に設定する。
ステップ−802
次に、生成したテスト用経路の初期化パターン(メモリ初期化アドレスおよびメモリ初期化データおよびメモリ初期化制御値)を印加し、メモリ回路の初期化を行う。すなわち、テスト用経路からメモリ回路Mのメモリ初期化アドレスにメモリ初期化データの書きこみを行う。このときのメモリ回路Mの各端子は、NCE=0,NWE=0,NRE=1,AD[2:0]=<0,1,0>、DI[2:0]=<1,0,1>になり、メモリ回路Mのアドレス<0,1,0>にデータ<1,0,1>が書きこまれる。
ステップ−803
次に、スキャンイネーブル信号(SE信号)をスキャンモードの設定する。すなわち、スキャンイネーブル信号をスキャンモードである“1”に設定する。
ステップ−804
次に、生成したシリアルパターンをスキャンシフト動作で各スキャンFFに設定する。スキャンシフト動作で各スキャンFFに値が設定されると、メモリ回路の各端子はNCE=0,NWE=1,NRE=1,AD[2:0]=<0,1,0>、DI[2:0]=<0,1,0>になる。
ステップ−805
次に、スキャンイネーブル信号とテストモード信号を通常モードに設定する。すなわち、スキャンイネーブル信号を通常モードである“0”に設定する。また、テストモード信号を通常モードである“1”に設定する。
ステップ−806
次に、テスト対象メモリ回路Mの実動作クロック速度でテスト対象メモリ回路およびスキャンFFにクロックを印加する(メモリ回路Mの非書き込み動作)。クロックが入力されると、ライトイネーブルNWE=0に設定される。
ステップ−807
次に、テスト対象メモリ回路の実動作クロック速度でテスト対象メモリ回路およびスキャンFFにクロックを印加する(メモリ回路Mの書き込み動作)。クロックが入力されると、メモリ回路Mのアドレス<0,1,0>のデータDI[2:0]=<0,1,0>がメモリ回路Mに書きこまれる。
ステップ−808
次に、メモリ回路MのNWE=1、NRE=0に設定し、テスト対象メモリ回路へ遷移パターンで書きこんだアドレスのデータの値を読み出す。アドレスAD[2:0]=<0,1,0>を読み出す。ライトイネーブルNWEに遅延故障が発生している場合、メモリ回路へのライト動作が正常に行われずメモリ初期化データDI[2:0]=<1,0,1>が読み出される。遅延故障が発生していない場合は、DI[2:0]=<0,1,0>が読み出される。
ステップ−809
次に、スキャンイネーブル信号をスキャンモードに設定する。すなわち、スキャンイネーブル信号を“1”に設定する。
ステップ−810
次に、スキャンシフト動作で外部端子に値をシフトアウトし期待値と比較する。期待値比較において、期待値と異なる値が観測された場合は、テスト対象故障に遅延故障があると判定される。
This completes the test pattern generation for the target failure.
An inspection method using the test pattern generated in this way will be described with reference to the flowchart of FIG. 16 and waveform diagrams at each terminal of the memory circuit of FIG.
Step-801
First, the test mode signal is set to the test mode. That is, the test mode signal is set to “0” which is the test mode.
Step-802
Next, the generated test path initialization pattern (memory initialization address, memory initialization data, and memory initialization control value) is applied to initialize the memory circuit. That is, the memory initialization data is written from the test path to the memory initialization address of the memory circuit M. The respective terminals of the memory circuit M at this time are NCE = 0, NWE = 0, NRE = 1, AD [2: 0] = <0,1,0>, DI [2: 0] = <1,0, 1>, and data <1, 0, 1> is written to address <0, 1, 0> of the memory circuit M.
Step-803
Next, the scan enable signal (SE signal) is set in the scan mode. That is, the scan enable signal is set to “1” which is the scan mode.
Step-804
Next, the generated serial pattern is set in each scan FF by a scan shift operation. When a value is set in each scan FF in the scan shift operation, each terminal of the memory circuit has NCE = 0, NWE = 1, NRE = 1, AD [2: 0] = <0, 1, 0>, DI [ 2: 0] = <0, 1, 0>.
Step-805
Next, the scan enable signal and the test mode signal are set to the normal mode. That is, the scan enable signal is set to “0” which is the normal mode. Further, the test mode signal is set to “1” which is the normal mode.
Step-806
Next, a clock is applied to the test target memory circuit and the scan FF at the actual operation clock speed of the test target memory circuit M (non-write operation of the memory circuit M). When the clock is input, the write enable NWE = 0 is set.
Step-807
Next, a clock is applied to the test target memory circuit and the scan FF at the actual operation clock speed of the test target memory circuit (write operation of the memory circuit M). When the clock is input, the data DI [2: 0] = <0,1,0> of the address <0,1,0> of the memory circuit M is written into the memory circuit M.
Step-808
Next, NWE = 1 and NRE = 0 of the memory circuit M are set, and the value of the data at the address written in the transition pattern to the test target memory circuit is read. Address AD [2: 0] = <0, 1, 0> is read. When a delay failure has occurred in the write enable NWE, the write operation to the memory circuit is not performed normally, and the memory initialization data DI [2: 0] = <1, 0, 1> is read. If no delay fault has occurred, DI [2: 0] = <0, 1, 0> is read.
Step-809
Next, the scan enable signal is set to the scan mode. That is, the scan enable signal is set to “1”.
Step-810
Next, the value is shifted out to the external terminal by the scan shift operation and compared with the expected value. In the expected value comparison, when a value different from the expected value is observed, it is determined that the test target failure has a delayed failure.

上記処理手順によれば、被検査半導体集積回路のメモリ回路Mに対するデータイネーブルラインから対象故障を選択し、上記選択した対象故障に対応するテスト可能最長パスを選択し、テスト可能最長パスを初期化するための初期値をあたえる初期化テストパターンを求め、テスト可能最長パスを活性化するための遷移テストパターンを求める。続いて、アドレスラインに任意の値を設定するアドレスパターン系列を求め、データラインに任意の値を設定するためのデータパターン系列を求め、さらにメモリ回路Mの制御信号群をメモリ回路Mへ書き込みできる値を設定するための制御値パターン系列を求める。次に、遷移値設定スキャンFFの値によりメモリ回路に書きこまれた値をアドレスパターン系列で生成したアドレスライン値で読み出した時の出力設定値スキャンFF群の値を期待値として求め、初期値設定スキャンFF群と遷移値設定スキャンFF群に設定された値と期待値によりシリアルパターンを生成する。   According to the above processing procedure, the target fault is selected from the data enable line for the memory circuit M of the semiconductor integrated circuit to be inspected, the longest testable path corresponding to the selected target fault is selected, and the longest testable path is initialized. An initialization test pattern that gives an initial value for the determination is obtained, and a transition test pattern for activating the longest testable path is obtained. Subsequently, an address pattern series for setting an arbitrary value on the address line is obtained, a data pattern series for setting an arbitrary value on the data line is obtained, and a control signal group of the memory circuit M can be written to the memory circuit M. A control value pattern series for setting a value is obtained. Next, the value of the output setting value scan FF group when the value written in the memory circuit by the value of the transition value setting scan FF is read by the address line value generated by the address pattern series is obtained as an expected value, and the initial value A serial pattern is generated based on the values set in the setting scan FF group and the transition value setting scan FF group and the expected value.

次に、アドレスパターン系列で生成したアドレスパターンに対するアドレスラインの値を初期化アドレスとして求め、データパターン系列で生成したデータパターンに対するデータラインの値と異なるデータを初期化データとして求め、続けて初期化データがメモリ回路Mに書き込みができるようにメモリ回路Mの制御信号群の値を求めるメモリ初期化制御値を求め、メモリ回路Mのテスト用経路の初期化パターンを生成する。   Next, the address line value for the address pattern generated in the address pattern series is obtained as an initialization address, the data different from the data line value for the data pattern generated in the data pattern series is obtained as initialization data, and subsequently initialized. A memory initialization control value for obtaining a value of a control signal group of the memory circuit M is obtained so that data can be written into the memory circuit M, and an initialization pattern of a test path of the memory circuit M is generated.

そして、テストモードにより、テスト用経路から初期化パターンをメモリ回路Mに書き込み、続いてスキャンモードによりシリアルパターンを遷移値設定スキャンFF群および初期値設定スキャンFF群に設定し、スキャンクロック信号によりデータの書き込みを行い、テスト対象メモリ回路Mへ遷移パターンで書きこんだアドレスのデータの値を読み出し、続いて出力値設定スキャンFFに取りこみ、期待値と比較することによって、選択した対象故障に遅延故障があるかどうかを判定することができる。   Then, in the test mode, the initialization pattern is written from the test path to the memory circuit M, and then the serial pattern is set in the transition value setting scan FF group and the initial value setting scan FF group in the scan mode. Is read out, and the data value at the address written in the transition pattern to the test target memory circuit M is read, and then it is taken into the output value setting scan FF and compared with the expected value, thereby delaying the selected target fault. It can be determined whether there is.

このように実施の形態4によれば、メモリ回路Mの“nonWrite→Write”時のライトイネーブルに接続されるパスの遅延故障を検出するためテストパターンを形成でき、遅延故障検査を行うことができる。したがって、メモリ回路Mが存在している集積回路(LSI)内の動的な動作を保証でき、製品の信頼性を飛躍的に向上させることができる。   As described above, according to the fourth embodiment, a test pattern can be formed to detect a delay fault of a path connected to a write enable in “nonWrite → Write” of the memory circuit M, and a delay fault inspection can be performed. . Therefore, the dynamic operation in the integrated circuit (LSI) in which the memory circuit M exists can be guaranteed, and the reliability of the product can be greatly improved.

なお、実施の形態4では、メモリ回路の初期化においてアドレスAD[2:0]を特定しメモリ回路のメモリ初期化データを印加しているが、メモリ回路すべてを遷移値パターンでメモリ回路Mに書き込むデータ以外の値に初期化してもよい。
[実施の形態5]
実施の形態5として、メモリ回路MのライトイネーブルNWEの書き込み可能から書き込み不可への遷移時“Write→nonWrite”における、ライトイネーブルラインのテストパターン生成方法について説明する。なお、実施の形態5におけるライトイネーブルラインのテストパターン生成方法を示す回路図は、実施の形態4(図14)と同一であり、説明を省略する。
In the fourth embodiment, the address AD [2: 0] is specified and the memory initialization data of the memory circuit is applied in the initialization of the memory circuit. It may be initialized to a value other than the data to be written.
[Embodiment 5]
As a fifth embodiment, a method for generating a test pattern for a write enable line in “Write → nonWrite” when the write enable NWE of the memory circuit M transitions from write enabled to write disabled will be described. The circuit diagram showing the test pattern generation method for the write enable line in the fifth embodiment is the same as that in the fourth embodiment (FIG. 14), and the description thereof is omitted.

ライトイネーブルラインのテストパターン生成方法“Write→nonWrite”の処理手順を、図18に示すフローチャートを参照しながら説明する。
ステップ−1101
まず、被検査半導体集積回路のメモリ回路Mに対するライトイネーブルのメモリ回路への書き込み可能から書き込み不可へ遷移する故障を対応するテスト可能最長パスを選択する。例えば、対象故障として図15のライトイネーブルNWEの書き込み可能から書き込み不可への遷移rise(“0”から“1”への遅延故障)に対するテスト可能最長パスとして、スキャンFF13−G2−G1−G10−NWEを選択する。
ステップ−1102
次に、テスト可能最長パスを初期化するための初期値(NWE=0)をあたえるライトイネーブル初期化テストパターンを求める。すなわち、選択したテスト可能最長パスに係る初期値設定スキャンFF11〜13に値を生成する。この時の初期値設定スキャンFF群11〜13の値はそれぞれ<1,1,1>となる。
ステップ−1103
続いてテスト可能最長パスを活性化するためのライトイネーブル遷移テストパターンを求める。すなわち、初期値設定スキャンFF11〜13に係る遷移値設定スキャンFF1〜3および入力端子X1に値を生成する。NWE=1を与える遷移値設定スキャンFF1〜3に値および入力端子X1の値はそれぞれ<1,0,1,x>となる。
ステップ−1104
次に、アドレスラインに任意の値を設定するアドレスパターン系列を求める。例えば、アドレスを任意の値であるAD[2:0]=<0,1,0>になるように初期値設定スキャンFF29〜31および遷移値設定スキャンFF26〜28に値を生成する。この時のアドレスパターン系列は<0,1,0,0,1,0>になる。
ステップ−1105
次に、ライトイネーブル初期化パターンとアドレスパターン系列に対応するメモリ回路Mに、所定の値に書きこむ第1のメモリ初期化データを求める。例えば、アドレスAD[2:0]=<0,1,0>に書き込む第1のメモリ初期化データDI[2:0]=<0,1,0>になるように初期値設定スキャンFF23〜25に値を生成する。
ステップ−1106
次に、ライトイネーブル遷移パターンとアドレスパターン系列に対応する前記メモリ回路Mに、所定の値に書きこむ第2のメモリ初期化データを、前記第1のメモリ初期化データと異なる値で求める。例えば、アドレスAD[2:0]=<0,1,0>に書き込む第1のメモリ初期化データと異なるデータDI[2:0]=<1,0,1>になるように遷移値設定スキャンFF20〜22に値を生成する。ステップ−1105とステップ−1106により生成されるデータパターン系列は<1,0,1,0,1,0>となる。
ステップ−1107
次に、メモリ回路の制御信号群をメモリ回路へ書き込みできる値を設定するための制御値パターン系列を求める。すなわち、メモリ回路の制御信号群であるNCE、NREに書き込み動作を許可するための値<0,1>になるように初期値設定スキャンFF14〜18および遷移値設定スキャンFF4〜6および入力端子X2〜X4に値を生成する。この時の値は<1,1,x,x,0、x,x,0,1,1,x>になる。
ステップ−1108
次に、初期化設定スキャンFF群の値によりメモリ回路Mに書きこまれた値をステップ−1104で設定したアドレスライン値で読み出した時の出力設定値スキャンFF群(出力設定値パターン)の値を期待値として求める。すなわち、初期値設定スキャンFF23〜25,29〜31に設定した値によりメモリ回路Mに書きこまれた値DI[2:0]=<0,1,0>をDO[2:0]から読み出した値を出力値設定スキャンFF32〜34に設定する。この時の出力値設定スキャンFF32〜34の値は<0,1,0>になる。このときの値を期待値とする。
ステップ−1109
次に、ライトイネーブル初期化パターンとライトイネーブル遷移パターンとアドレスパターン系列と第1のメモリ初期化データと第2のメモリ初期化データと制御値パターン系列と期待値を、スキャンFF群のシリアルパターンとして生成する。すなわち、初期値設定スキャンFF群と遷移値設定スキャンFF群に設定された値と、期待値をシリアルパターンとして生成する。
The processing procedure of the write enable line test pattern generation method “Write → nonWrite” will be described with reference to the flowchart shown in FIG.
Step-1101
First, the longest testable path corresponding to a failure that transitions from write enable to write disable to the write enable memory circuit for the memory circuit M of the semiconductor integrated circuit to be tested is selected. For example, the scan FF 13 -G 2 -G 1 -G 10-is the longest testable path for the transition enable (delay failure from “0” to “1”) from write enable to write disable of the write enable NWE in FIG. Select NWE.
Step-1102
Next, a write enable initialization test pattern that provides an initial value (NWE = 0) for initializing the longest testable path is obtained. That is, a value is generated in the initial value setting scan FFs 11 to 13 related to the selected longest testable path. At this time, the values of the initial value setting scan FF groups 11 to 13 are <1, 1, 1>, respectively.
Step-1103
Subsequently, a write enable transition test pattern for activating the longest testable path is obtained. That is, values are generated in the transition value setting scans FF1 to FF3 and the input terminal X1 related to the initial value setting scans FF11 to FF13. The values of the transition value setting scans FF1 to 3 that give NWE = 1 and the value of the input terminal X1 are <1, 0, 1, x>, respectively.
Step-1104
Next, an address pattern series for setting an arbitrary value in the address line is obtained. For example, values are generated in the initial value setting scan FFs 29 to 31 and the transition value setting scan FFs 26 to 28 so that the address is an arbitrary value AD [2: 0] = <0, 1, 0>. The address pattern series at this time is <0, 1, 0, 0, 1, 0>.
Step-1105
Next, first memory initialization data to be written to a predetermined value is obtained in the memory circuit M corresponding to the write enable initialization pattern and the address pattern series. For example, the initial value setting scan FF 23 to the first memory initialization data DI [2: 0] = <0, 1, 0> written to the address AD [2: 0] = <0, 1, 0>. A value is generated at 25.
Step-1106
Next, second memory initialization data to be written to a predetermined value in the memory circuit M corresponding to the write enable transition pattern and the address pattern series is obtained with a value different from the first memory initialization data. For example, the transition value is set so that the data DI [2: 0] = <1, 0, 1> is different from the first memory initialization data written to the address AD [2: 0] = <0, 1, 0>. Values are generated in the scan FFs 20-22. The data pattern sequence generated by Step-1105 and Step-1106 is <1,0,1,0,1,0,0>.
Step-1107
Next, a control value pattern series for setting values that can write the control signal group of the memory circuit to the memory circuit is obtained. That is, the initial value setting scan FFs 14 to 18 and the transition value setting scans FF4 to FF6 and the input terminal X2 are set so that the values <0, 1> for allowing the write operation to the control signals NCE and NRE of the memory circuit Generate a value for ~ X4. The values at this time are <1,1, x, x, 0, x, x, 0,1,1, x>.
Step-1108
Next, the value of the output setting value scan FF group (output setting value pattern) when the value written in the memory circuit M by the value of the initialization setting scan FF group is read with the address line value set in Step-1104. As the expected value. That is, the value DI [2: 0] = <0, 1, 0> written in the memory circuit M by the values set in the initial value setting scan FFs 23 to 25 and 29 to 31 is read from DO [2: 0]. Are set in the output value setting scan FFs 32 to 34. The values of the output value setting scan FFs 32 to 34 at this time are <0, 1, 0>. The value at this time is assumed as the expected value.
Step-1109
Next, the write enable initialization pattern, the write enable transition pattern, the address pattern series, the first memory initialization data, the second memory initialization data, the control value pattern series, and the expected value are used as the serial pattern of the scan FF group. Generate. That is, the values set in the initial value setting scan FF group and the transition value setting scan FF group and the expected value are generated as a serial pattern.

以上で対象故障に対するテストパターン生成を終了する。
このように生成したテストパターンを使用した検査方法について、図19のフローチャートと図20のメモリ回路の各端子における波形図を参照しながら説明する。
ステップ−1301
まず、スキャンイネーブル信号(SE信号)をスキャントモードに設定する。すなわち、スキャンモード信号をスキャンモードである“1”に設定する。
ステップ−1302
次に、上記生成したシリアルパターンをスキャンシフト動作で各スキャンFFに設定する。このスキャンシフト動作で各スキャンFFに値が設定されると、メモリ回路の各端子はNCE=0,NWE=0,NRE=1,AD[2:0]=<0,1,0>,DI[2:0]=<0,1,0>になる。
ステップ−1303
次に、スキャンイネーブル信号とテストモード信号を通常モードに設定する。すなわち、スキャンイネーブル信号を通常モードである“0”に設定する。また、テストモード信号を通常モードである“1”に設定する。
ステップ−1304
次に、テスト対象メモリ回路Mの実動作クロック速度でテスト対象メモリ回路Mおよび各スキャンFFにクロックを印加する(メモリ回路Mの書き込み動作)。クロックが入力されると、アドレス<0,1,0>にデータ<0,1,0>が書き込まれ、ライトイネーブルNWE=1に設定される。
ステップ−1305
次に、テスト対象メモリ回路Mの実動作クロック速度でテスト対象メモリ回路Mおよび各スキャンFFにクロックを印加する(メモリ回路Mの非書き込み動作)。クロックが入力されると、メモリ回路の端子は、AD[2:0]=<0,1,0>,DI[2:0]=<1,0,1>になり、アドレス<0,1,0>に第2のメモリ初期化パターンのデータ<1,0,1>がメモリ回路に書きこまれようとする。
ステップ−1306
次に、メモリ回路のNWE=1、NRE=0に設定し、テスト対象メモリ回路へ遷移パターンで書きこんだアドレスのデータの値を読み出す。アドレスAD[2:0]=<0,1,0>を読み出す。ライトイネーブルNWEに遅延故障が発生している場合、メモリ回路への非書き込み動作が正常に行われず、書き換えられたデータDI[2:0]=<1,0,1>が読み出される。遅延故障が発生していない場合は、DI[2:0]=<0,1,0>が読み出される。
ステップ−1307
次に、スキャンイネーブル信号SEをスキャンモードに設定する。スキャンイネーブル信号を“1”に設定する。
ステップ−1308
次に、スキャンシフト動作で外部端子に値をシフトアウトし期待値と比較する。期待値比較において、期待値と異なる値が観測された場合は、テスト対象故障に遅延故障があると判定される。
This completes the test pattern generation for the target failure.
An inspection method using the test pattern generated in this way will be described with reference to the flowchart of FIG. 19 and waveform diagrams at each terminal of the memory circuit of FIG.
Step-1301
First, the scan enable signal (SE signal) is set to the scanned mode. That is, the scan mode signal is set to “1” which is the scan mode.
Step-1302
Next, the generated serial pattern is set in each scan FF by a scan shift operation. When a value is set in each scan FF by this scan shift operation, each terminal of the memory circuit has NCE = 0, NWE = 0, NRE = 1, AD [2: 0] = <0, 1, 0>, DI [2: 0] = <0, 1, 0>.
Step-1303
Next, the scan enable signal and the test mode signal are set to the normal mode. That is, the scan enable signal is set to “0” which is the normal mode. Further, the test mode signal is set to “1” which is the normal mode.
Step-1304
Next, a clock is applied to the test target memory circuit M and each scan FF at the actual operation clock speed of the test target memory circuit M (write operation of the memory circuit M). When the clock is input, data <0, 1, 0> is written to address <0, 1, 0>, and write enable NWE = 1 is set.
Step-1305
Next, a clock is applied to the test target memory circuit M and each scan FF at the actual operation clock speed of the test target memory circuit M (non-write operation of the memory circuit M). When a clock is input, the terminals of the memory circuit are AD [2: 0] = <0,1,0>, DI [2: 0] = <1,0,1>, and the address <0,1 , 0>, the data <1, 0, 1> of the second memory initialization pattern is about to be written into the memory circuit.
Step-1306
Next, NWE = 1 and NRE = 0 of the memory circuit are set, and the data value of the address written in the transition pattern to the test target memory circuit is read. Address AD [2: 0] = <0, 1, 0> is read. When a delay failure has occurred in the write enable NWE, the non-write operation to the memory circuit is not performed normally, and the rewritten data DI [2: 0] = <1, 0, 1> is read. If no delay fault has occurred, DI [2: 0] = <0, 1, 0> is read.
Step-1307
Next, the scan enable signal SE is set to the scan mode. Set the scan enable signal to "1".
Step-1308
Next, the value is shifted out to the external terminal by the scan shift operation and compared with the expected value. In the expected value comparison, when a value different from the expected value is observed, it is determined that the test target failure has a delayed failure.

上記処理手順によれば、被検査半導体集積回路のメモリ回路に対するデータイネーブルラインNWEから対象故障を選択し、上記選択した対象故障に対応するテスト可能最長パスを選択し、テスト可能最長パスを初期化するための初期値をあたえる初期化テストパターンを求め、テスト可能最長パスを活性化するための遷移テストパターンを求める。   According to the above processing procedure, the target fault is selected from the data enable line NWE for the memory circuit of the semiconductor integrated circuit to be inspected, the longest testable path corresponding to the selected target fault is selected, and the longest testable path is initialized. An initialization test pattern that gives an initial value for the determination is obtained, and a transition test pattern for activating the longest testable path is obtained.

続いて、アドレスラインに任意の値を設定するアドレスパターン系列を求め、データラインに第1のメモリ初期化データと第2のメモリ初期化データを設定するためのデータパターン系列を求め、メモリ回路Mの制御信号群を、メモリ回路Mへ書き込み可能にできる値に設定する制御値パターン系列を求める。次に、初期値設定スキャンFF群の値によりメモリ回路Mに書きこまれた値をアドレスパターン系列で生成したアドレスライン値で読み出した時の出力設定値スキャンFF群の値を期待値として求め、初期値設定スキャンFF群と遷移値設定スキャンFF群に設定された値と、期待値によりシリアルパターンを生成する。   Subsequently, an address pattern series for setting an arbitrary value in the address line is obtained, a data pattern series for setting the first memory initialization data and the second memory initialization data in the data line is obtained, and the memory circuit M A control value pattern series for setting the control signal group to a value that can be written to the memory circuit M is obtained. Next, the value of the output setting value scan FF group when the value written in the memory circuit M by the value of the initial value setting scan FF group is read by the address line value generated by the address pattern series is obtained as an expected value, A serial pattern is generated based on the values set in the initial value setting scan FF group and the transition value setting scan FF group and the expected value.

そして、スキャンモードによりシリアルパターンを遷移値設定スキャンFF群および初期値設定スキャンFF群に設定し、スキャンクロック信号によりデータの書き込みを行い、続いてテスト対象メモリ回路Mへ遷移値パターンで書き込もうとしたデータの値を読み出し、出力値設定スキャンFFに取りこみ、期待値と比較することによって、すなわち遷移値パターンではデータが書き換えられないことを確認することによって、選択した対象故障に遅延故障があるかどうかを判定することができる。   Then, the serial pattern is set to the transition value setting scan FF group and the initial value setting scan FF group by the scan mode, data is written by the scan clock signal, and then, the test target memory circuit M is tried to be written by the transition value pattern. Whether the selected target fault has a delay fault by reading the data value, taking it into the output value setting scan FF, and comparing it with the expected value, that is, by confirming that the data is not rewritten in the transition value pattern Can be determined.

このように実施の形態5によれば、メモリ回路Mの“Write→nonWrite”時のライトイネーブルに接続されるパスの遅延故障を検出するためテストパターンを形成でき、遅延故障検査を行うことができる。したがって、メモリ回路Mが存在している集積回路(LSI)内の動的な動作を保証でき、製品の信頼性を飛躍的に向上させることができる。
[実施の形態6]
実施の形態4として、メモリ回路MのリードイネーブルNREの読み取り不可から読み取り可能への遷移時“nonRead→Read”における、リードネーブルラインのテストパターン生成方法について説明する。
As described above, according to the fifth embodiment, a test pattern can be formed to detect a delay fault of a path connected to a write enable in “Write → nonWrite” of the memory circuit M, and a delay fault inspection can be performed. . Therefore, the dynamic operation in the integrated circuit (LSI) in which the memory circuit M exists can be guaranteed, and the reliability of the product can be greatly improved.
[Embodiment 6]
As a fourth embodiment, a method for generating a test pattern for a read enable line in “nonRead → Read” when the read enable NRE of the memory circuit M transitions from unreadable to readable will be described.

図21は、実施の形態6におけるリードイネーブルラインのテストパターン生成方法を示す回路図である。この図21に示す集積回路は、図1の通常動作経路わ成す論理回路部の回路図であり、実施の形態1と同様の遷移値設定SFF群と初期値設定SFF群と出力値設定SFF群を備えている。   FIG. 21 is a circuit diagram showing a test pattern generation method for read enable lines in the sixth embodiment. The integrated circuit shown in FIG. 21 is a circuit diagram of the logic circuit section forming the normal operation path of FIG. 1, and the same transition value setting SFF group, initial value setting SFF group, and output value setting SFF group as in the first embodiment. It has.

スキャンFF1の出力とスキャンFF2の出力はANDゲートg3に供給され、スキャンFF2の出力はスキャンFF12に供給され、入力端子X1とスキャンFF3の出力がANDゲートg5に供給され、入力端子X2はスキャンFF14に供給され、入力端子X3はスキャンFF15に供給され、スキャンFF4の出力とスキャンFF5の出力はORゲートg8に供給され、入力端子X4とスキャンFF6の出力がORゲートg10に供給され、スキャンFF6の出力はスキャンFF18に供給され、ORゲートg3の出力はスキャンFF11の入力に供給され、ORゲートg5の出力はスキャンFF13に供給され、ORゲートg8の出力はスキャンFF16に供給され、ORゲートg10の出力はスキャンFF17に供給される。   The output of the scan FF1 and the output of the scan FF2 are supplied to the AND gate g3, the output of the scan FF2 is supplied to the scan FF12, the outputs of the input terminal X1 and the scan FF3 are supplied to the AND gate g5, and the input terminal X2 is supplied to the scan FF14. , The input terminal X3 is supplied to the scan FF15, the output of the scan FF4 and the output of the scan FF5 are supplied to the OR gate g8, the outputs of the input terminal X4 and the scan FF6 are supplied to the OR gate g10, The output is supplied to the scan FF 18, the output of the OR gate g3 is supplied to the input of the scan FF 11, the output of the OR gate g5 is supplied to the scan FF 13, the output of the OR gate g8 is supplied to the scan FF 16, and the OR gate g10 The output is supplied to the scan FF 17.

またスキャンFF13の出力はNOTゲートG2に供給され、スキャンFF12の出力とNOTゲートG2の出力はNANDゲートG1に供給され、NANDゲートG1とスキャンFF11の出力はANDゲートG10に供給され、スキャンFF14の出力とスキャンFF15の出力はNANDゲートG5の入力に供給され、スキャンFF17の出力はNOTゲートG7に供給され、スキャンFF16の出力とNOTゲートG7の出力はNANDゲートG8に供給され、スキャンFF18の出力はNOTゲートG11に供給され、NANDゲートG8の出力とNOTゲートG11の出力はNANDゲートG9に供給される。   The output of the scan FF 13 is supplied to the NOT gate G2, the output of the scan FF 12 and the output of the NOT gate G2 are supplied to the NAND gate G1, the outputs of the NAND gate G1 and the scan FF 11 are supplied to the AND gate G10, and the scan FF 14 The output and the output of the scan FF 15 are supplied to the input of the NAND gate G5, the output of the scan FF 17 is supplied to the NOT gate G7, the output of the scan FF 16 and the output of the NOT gate G7 are supplied to the NAND gate G8, and the output of the scan FF 18 Is supplied to the NOT gate G11, and the output of the NAND gate G8 and the output of the NOT gate G11 are supplied to the NAND gate G9.

またスキャンANDゲートG10の出力は、テスト用ライトイネーブルNWEとともにセレクタS8に供給され、テストモード信号はセレクタS8の制御信号として供給され、セレクタS8の出力はメモリ回路MのライトイネーブルNWEに供給される。またNANDゲートG5は、テスト用チップイネーブルNCEとともにセレクタS7に供給され、テストモード信号はセレクタS7の制御信号として供給され、セレクタS7の出力はメモリ回路MのチップイネーブルNCEに供給される。さらにNANDゲートG9の出力は、テスト用リードイネーブルNREとともにセレクタS9に供給され、テストモード信号はセレクタS9の制御信号として供給され、セレクタS9の出力はメモリ回路MのリードイネーブルNREに供給される。   The output of the scan AND gate G10 is supplied to the selector S8 together with the test write enable NWE, the test mode signal is supplied as a control signal for the selector S8, and the output of the selector S8 is supplied to the write enable NWE of the memory circuit M. . The NAND gate G5 is supplied to the selector S7 together with the test chip enable NCE, the test mode signal is supplied as a control signal for the selector S7, and the output of the selector S7 is supplied to the chip enable NCE of the memory circuit M. Further, the output of the NAND gate G9 is supplied to the selector S9 together with the test read enable NRE, the test mode signal is supplied as a control signal of the selector S9, and the output of the selector S9 is supplied to the read enable NRE of the memory circuit M.

またスキャンFF20の出力はスキャンFF23に供給され、スキャンFF23の出力は、テスト用DI[0]とともにセレクタS4に供給され、テストモード信号はセレクタS4の制御信号として供給され、セレクタS4の出力はメモリ回路MのDI[0]に供給される。またスキャンFF21の出力はスキャンFF24に供給され、スキャンFF24の出力は、テスト用DI[1]とともにセレクタS5に供給され、テストモード信号はセレクタS5の制御信号として供給され、セレクタS5の出力はメモリ回路MのDI[1]に供給されている。さらにスキャンFF22の出力はスキャンFF25に供給され、スキャンFF25の出力は、テスト用DI[2]とともにセレクタS6に供給され、テストモード信号はセレクタS6の制御信号として供給され、セレクタS9の出力はメモリ回路MのDI[2]に供給される。   The output of the scan FF 20 is supplied to the scan FF 23, the output of the scan FF 23 is supplied to the selector S4 together with the test DI [0], the test mode signal is supplied as the control signal of the selector S4, and the output of the selector S4 is the memory. It is supplied to DI [0] of the circuit M. The output of the scan FF 21 is supplied to the scan FF 24, the output of the scan FF 24 is supplied to the selector S5 together with the test DI [1], the test mode signal is supplied as the control signal of the selector S5, and the output of the selector S5 is the memory. It is supplied to DI [1] of the circuit M. Further, the output of the scan FF 22 is supplied to the scan FF 25, the output of the scan FF 25 is supplied to the selector S6 together with the test DI [2], the test mode signal is supplied as the control signal of the selector S6, and the output of the selector S9 is the memory. It is supplied to DI [2] of the circuit M.

またスキャンFF26の出力はスキャンFF29に供給され、スキャンFF29の出力は、テスト用AD[0]とともにセレクタS1に供給され、テストモード信号はセレクタS1の制御信号として供給され、セレクタS1の出力はメモリ回路MのアドレスラインAD[0]に供給される。またスキャンFF27の出力はスキャンFF30に供給され、スキャンFF30の出力は、テスト用AD[1]とともにセレクタS2に供給され、テストモード信号はセレクタS2の制御信号として供給され、セレクタS2の出力はメモリ回路MのアドレスラインAD[1]に供給される。さらにスキャンFF28の出力はスキャンFF31に供給され、スキャンFF31の出力は、テスト用AD[2]とともにセレクタS3に供給され、テストモード信号はセレクタS3の制御信号として供給され、セレクタS3の出力はメモリ回路MのアドレスラインAD[2]に供給される。   The output of the scan FF 26 is supplied to the scan FF 29, the output of the scan FF 29 is supplied to the selector S1 together with the test AD [0], the test mode signal is supplied as a control signal of the selector S1, and the output of the selector S1 is a memory. This is supplied to the address line AD [0] of the circuit M. The output of the scan FF 27 is supplied to the scan FF 30, the output of the scan FF 30 is supplied to the selector S 2 together with the test AD [1], the test mode signal is supplied as a control signal for the selector S 2, and the output of the selector S 2 is a memory It is supplied to the address line AD [1] of the circuit M. Further, the output of the scan FF 28 is supplied to the scan FF 31, the output of the scan FF 31 is supplied to the selector S3 together with the test AD [2], the test mode signal is supplied as a control signal of the selector S3, and the output of the selector S3 is a memory. This is supplied to the address line AD [2] of the circuit M.

またメモリ回路MのデータアウトラインDO[0]はスキャンFF32の入力に接続され、メモリ回路MのデータアウトラインDO[1]はスキャンFF33の入力に接続され、メモリ回路MのデータアウトラインDO[2]はスキャンFF34の入力に接続される。   The data outline DO [0] of the memory circuit M is connected to the input of the scan FF 32, the data outline DO [1] of the memory circuit M is connected to the input of the scan FF 33, and the data outline DO [2] of the memory circuit M is Connected to the input of the scan FF 34.

また、クロックCLKとテスト用クロックTCLKとスキャン用クロックSCLKはそれぞれセレクタ10の入力に接続され、テストモード信号はセレクタS10の制御信号S1として接続され、スキャンモード信号はセレクタS10の制御信号S2として接続され、セレクタ10の出力はメモリ回路のCLKに供給される。これらテストモード信号(制御信号S1)とスキャンモード信号(制御信号S2)により、上述したように、クロックが選択されてメモリ回路のCLKへ供給される。   The clock CLK, the test clock TCLK, and the scan clock SCLK are respectively connected to the input of the selector 10, the test mode signal is connected as the control signal S1 of the selector S10, and the scan mode signal is connected as the control signal S2 of the selector S10. The output of the selector 10 is supplied to the CLK of the memory circuit. As described above, the clock is selected and supplied to the CLK of the memory circuit by the test mode signal (control signal S1) and the scan mode signal (control signal S2).

次に、リードイネーブルラインNWEのテストパターン生成方法“nonRead→Read”の処理手順を、図22に示すフローチャートを参照しながら説明する。
ステップ−901
まず、被検査半導体集積回路のメモリ回路Mに対するリードイネーブルから読出し不可から読出し可能への遷移に対するテスト可能最長パスを選択する。例えば、対象故障として図21のライトイネーブルNREの読出し不可から読出し可能への遷移fall(“1”から“0”への遅延故障)に対するテスト可能最長パスとして、スキャンFF17−G7−G8−G9−NREを選択する。
ステップ−902
次に、テスト可能最長パスを初期化するための初期値をあたえるリードイネーブル初期化テストパターンを求める。すなわち、初期値設定スキャンFF群16〜18に値を生成する。この時の初期値設定スキャンFF群16〜18の値はそれぞれ<1,0,x>となる。
ステップ−903
次に、テスト可能最長パスを活性化するためのリードイネーブル遷移テストパターンを求める。すなわち、遷移値設定スキャンFF群4〜6および入力端子X4に値を生成する。この時の遷移値設定スキャンFF群4〜6の値および入力端子X4の値はそれぞれ<1,1,0,1>となる。
ステップ−904
次に、アドレスラインに任意の値を設定するアドレスパターン系列を求める。
アドレスを任意の値であるAD[2:0]=<0,1,0>になるように初期値設定スキャンFF29〜31および遷移値設定スキャンFF26〜28に値を生成する。この時の値は<0,1,0,0,1,0>になる。
ステップ−905
次に、データラインに任意の値を設定するためのデータパターン系列を求める。メモリ回路のデータを任意の値であるDI[2:0]=<0,1,0>になるように初期値設定スキャンFF23〜25及び遷移値設定スキャンFF20〜22に値を生成する。この時の<0,1,0,0,1,0>になる。
ステップ−906
次に、メモリ回路の制御信号群を前記メモリ回路へ書き込みできる値を初期値スキャンFFに設定するための制御値(制御信号群)初期化パターンを求める。すなわち、メモリ回路の制御信号群であるNCE、NWEに書き込み動作を許可するための値<0,0>になるように初期値設定スキャンFF11〜15に値を生成する。このときの値は、<0,x,x,1,1>になる。
ステップ−907
次に、メモリ回路の制御信号群を前記メモリ回路から読み出しができる値を遷移値スキャンFFに設定するための制御値(制御信号群)遷移パターンを求める。すなわち、メモリ回路の制御信号群であるNCE、NWEに読出し動作を許可するための値<0,1>になるように遷移値設定スキャンFF1〜3および入力端子X1〜X3に値を生成する。この時の値は<1,1,0,1,1,1>になる。
ステップ−908
次に、初期値設定スキャンFF群(リードイネーブル初期化パターン)の値によりメモリ回路に書きこまれた値をステップ−904で設定したアドレスライン値で読み出した時の出力設定値スキャンFF(出力設定値パターン)群の値を期待値として求める。すなわち、初期値設定スキャンFF23〜25,29〜30に設定した値によりメモリ回路Mに書きこまれた値DI[2:0]=<0,1,0>をDO[2:0]から読み出した値を出力値設定スキャンFF32〜34に設定する。この時の出力値設定スキャンFF32〜34の値は<0,1,0>になる。このときの値を期待値とする。
ステップ−909
次に、期待値の反転値をテスト時の出力設定値FF群(出力値設定パターン)の値とする。ステップ−908で生成した期待値と異なる値を求める。期待値は<0,1,0>であるので、ここでは値は<1,0,1>とする。
ステップ−910
次に、リードイネーブル初期化パターンとリードイネーブル遷移パターンとアドレスパターン系列とデータパターン系列と制御値初期化パターンと制御値遷移パターンと出力設定値パターンと期待値を、スキャンFF群のシリアルパターンとして生成する。すなわち、遷移値設定スキャンFFと初期値設定スキャンFFと出力値設定スキャンFFに設定された値と、期待値をシリアルパターンとして生成する。
Next, the processing procedure of the test pattern generation method “nonRead → Read” of the read enable line NWE will be described with reference to the flowchart shown in FIG.
Step-901
First, the longest testable path for the transition from read enable to non-readable to the memory circuit M of the semiconductor integrated circuit to be tested is selected. For example, the scan FF 17 -G 7 -G 8 -G 9-is the longest testable path for the transition failure (delay failure from “1” to “0”) from the unreadable to readable state of the write enable NRE in FIG. Select NRE.
Step-902
Next, a read enable initialization test pattern that provides an initial value for initializing the longest testable path is obtained. That is, values are generated in the initial value setting scan FF groups 16-18. The values of the initial value setting scan FF groups 16 to 18 at this time are <1, 0, x>, respectively.
Step-903
Next, a read enable transition test pattern for activating the longest testable path is obtained. That is, values are generated in the transition value setting scan FF groups 4 to 6 and the input terminal X4. At this time, the values of the transition value setting scan FF groups 4 to 6 and the value of the input terminal X4 are <1, 1, 0, 1>, respectively.
Step-904
Next, an address pattern series for setting an arbitrary value in the address line is obtained.
Values are generated in the initial value setting scan FFs 29 to 31 and the transition value setting scan FFs 26 to 28 so that the address becomes an arbitrary value AD [2: 0] = <0, 1, 0>. The value at this time is <0, 1, 0, 0, 1, 0>.
Step-905
Next, a data pattern series for setting an arbitrary value in the data line is obtained. Values are generated in the initial value setting scan FFs 23 to 25 and the transition value setting scan FFs 20 to 22 so that the data of the memory circuit becomes an arbitrary value DI [2: 0] = <0, 1, 0>. <0, 1, 0, 0, 1, 0> at this time.
Step-906
Next, a control value (control signal group) initialization pattern for setting a value that can write the control signal group of the memory circuit to the memory circuit in the initial value scan FF is obtained. That is, values are generated in the initial value setting scan FFs 11 to 15 so that the values <0, 0> for permitting a write operation to the control signals NCE and NWE of the memory circuit. The values at this time are <0, x, x, 1, 1>.
Step-907
Next, a control value (control signal group) transition pattern for setting a value capable of reading the control signal group of the memory circuit from the memory circuit in the transition value scan FF is obtained. That is, values are generated at the transition value setting scans FF1 to FF3 and the input terminals X1 to X3 so that the values <0, 1> for permitting the read operation to the control signals NCE and NWE of the memory circuit. The value at this time is <1,1,0,1,1,1>.
Step-908
Next, the output set value scan FF (output setting) when the value written in the memory circuit by the value of the initial value setting scan FF group (read enable initialization pattern) is read with the address line value set in step -904. Value pattern) group values are obtained as expected values. That is, the value DI [2: 0] = <0, 1, 0> written in the memory circuit M by the values set in the initial value setting scan FFs 23 to 25 and 29 to 30 is read from DO [2: 0]. Are set in the output value setting scan FFs 32 to 34. The values of the output value setting scan FFs 32 to 34 at this time are <0, 1, 0>. The value at this time is assumed as the expected value.
Step-909
Next, the inverted value of the expected value is set as the value of the output setting value FF group (output value setting pattern) at the time of the test. A value different from the expected value generated in step -908 is obtained. Since the expected value is <0,1,0>, here the value is <1,0,1>.
Step-910
Next, a read enable initialization pattern, a read enable transition pattern, an address pattern series, a data pattern series, a control value initialization pattern, a control value transition pattern, an output set value pattern, and an expected value are generated as scan FF group serial patterns. To do. That is, the values set in the transition value setting scan FF, the initial value setting scan FF, and the output value setting scan FF, and the expected value are generated as a serial pattern.

以上で対象故障に対するテストパターン生成を終了する。
このように生成したテストパターンを使用した検査方法について、図23のフローチャートと図24のメモリ回路の各端子における波形図を参照しながら用いて説明する。
ステップ−1001
まず、スキャンイネーブル信号(SE信号)をスキャンモードに設定する。すなわち、スキャンモード信号をスキャンモードである“1”に設定する。
ステップ−1002
次に、生成したシリアルパターンをスキャンシフト動作で各スキャンFFに設定する。スキャンシフト動作で各スキャンFFに値が設定されると、メモリ回路の各端子はNCE=0,NWE=0,NRE=1,AD[2:0]=<0,1,0>、DI[2:0]=<0,1,0>になる。
ステップ−1003
次に、スキャンイネーブル信号SEとテストモード信号を通常モードに設定する。すなわち、スキャンイネーブル信号を通常モードである“0”に設定する。また、テストモード信号を通常モードである“1”に設定する。
ステップ−1004
次に、テスト対象メモリ回路Mの実動作クロック速度でテスト対象メモリ回路Mおよび各スキャンFFにクロックを印加する(メモリ回路Mの書き込み動作)。クロックが入力されると、メモリ回路のアドレスAD[2:0]=<0,1,0>のデータDI[2:0]=<0,1,0>が書きこまれる。この時、NRE=0、NWE=1に設定される。
ステップ−1005
次に、テスト対象メモリ回路Mの実動作クロック速度でテスト対象メモリ回路Mおよび各スキャンFFにクロックを印加する(メモリ回路Mの読み出し動作)。クロックが入力されると、メモリ回路のアドレス<0,1,0>のデータがメモリ回路から読み出される。リードイネーブルNREに遅延故障が発生している場合、メモリ回路Mへのリード動作が正常に行われず出力設定値FF群32〜34は期待値と異なる値である<1,0,1>になっている。遅延故障が発生していない場合は、DI[2:0]=<0,1,0>が読み出される。
ステップ−1006
次に、スキャンイネーブル信号をスキャンモードに設定する。すなわち、スキャンイネーブル信号をスキャンモードである“1”に設定する。
ステップ−1007
次に、スキャンシフト動作で外部端子に値をシフトアウトし期待値と比較する。スキャンシフト動作を行い、期待値比較において、期待値と異なる値が観測された場合は、テスト対象故障に遅延故障があると判定される。
This completes the test pattern generation for the target failure.
The inspection method using the test pattern generated in this way will be described with reference to the flowchart of FIG. 23 and the waveform diagrams at each terminal of the memory circuit of FIG.
Step-1001
First, the scan enable signal (SE signal) is set to the scan mode. That is, the scan mode signal is set to “1” which is the scan mode.
Step-1002
Next, the generated serial pattern is set in each scan FF by a scan shift operation. When a value is set in each scan FF in the scan shift operation, each terminal of the memory circuit has NCE = 0, NWE = 0, NRE = 1, AD [2: 0] = <0, 1, 0>, DI [ 2: 0] = <0, 1, 0>.
Step-1003
Next, the scan enable signal SE and the test mode signal are set to the normal mode. That is, the scan enable signal is set to “0” which is the normal mode. Further, the test mode signal is set to “1” which is the normal mode.
Step-1004
Next, a clock is applied to the test target memory circuit M and each scan FF at the actual operation clock speed of the test target memory circuit M (write operation of the memory circuit M). When a clock is input, data DI [2: 0] = <0,1,0> of address AD [2: 0] = <0,1,0> of the memory circuit is written. At this time, NRE = 0 and NWE = 1 are set.
Step-1005
Next, a clock is applied to the test target memory circuit M and each scan FF at the actual operation clock speed of the test target memory circuit M (read operation of the memory circuit M). When the clock is input, data at the address <0, 1, 0> of the memory circuit is read from the memory circuit. When a delay fault has occurred in the read enable NRE, the read operation to the memory circuit M is not performed normally, and the output set value FF groups 32 to 34 are <1, 0, 1> which are different from the expected values. ing. If no delay fault has occurred, DI [2: 0] = <0, 1, 0> is read.
Step-1006
Next, the scan enable signal is set to the scan mode. That is, the scan enable signal is set to “1” which is the scan mode.
Step-1007
Next, the value is shifted out to the external terminal by the scan shift operation and compared with the expected value. When a scan shift operation is performed and a value different from the expected value is observed in the expected value comparison, it is determined that there is a delay fault in the test target fault.

上記処理手順によれば、被検査半導体集積回路のメモリ回路に対するリードイネーブルラインから対象故障を選択し、上記選択した対象故障に対応するテスト可能最長パスを選択し、テスト可能最長パスを初期化するための初期値をあたえるリードイネーブル初期化テストパターンを求め、テスト可能最長パスを活性化するためのリードイネーブル遷移テストパターンを求める。続いて、アドレスラインに任意の値を設定するアドレスパターン系列を求め、データラインに任意の値を設定するためのデータパターン系列を求め、メモリ回路の制御信号群を前記メモリ回路へ書き込みし、続いて読み出しできる値を設定するための制御値パターン系列(制御値初期化パターンと制御値遷移パターン)を求める。次に、初期値設定スキャンFF群の値によりメモリ回路に書きこまれた値をアドレスパターン系列で生成したアドレスライン値で読み出した時の出力設定値スキャンFF群の値を期待値として求め、期待値の反転値を求めて出力値スキャンFF群(出力設定値パターン)の値とし、またリードイネーブル初期化パターンとリードイネーブル遷移パターンとアドレスパターン系列とデータパターン系列と制御値初期化パターンと制御値遷移パターンと出力設定値パターンと期待値によりシリアルパターンを生成する。   According to the above processing procedure, the target fault is selected from the read enable line for the memory circuit of the semiconductor integrated circuit to be inspected, the longest testable path corresponding to the selected target fault is selected, and the longest testable path is initialized. A read enable initialization test pattern for obtaining an initial value for obtaining a read enable transition test pattern for activating the longest testable path is obtained. Subsequently, an address pattern series for setting an arbitrary value on the address line is obtained, a data pattern series for setting an arbitrary value on the data line is obtained, a control signal group of the memory circuit is written to the memory circuit, and then Then, a control value pattern series (control value initialization pattern and control value transition pattern) for setting values that can be read out is obtained. Next, the value of the output setting value scan FF group when the value written in the memory circuit by the value of the initial value setting scan FF group is read by the address line value generated by the address pattern series is obtained as an expected value. An inverted value of the value is obtained and set as a value of the output value scan FF group (output set value pattern), and a read enable initialization pattern, a read enable transition pattern, an address pattern series, a data pattern series, a control value initialization pattern, and a control value A serial pattern is generated based on the transition pattern, output set value pattern, and expected value.

そして、スキャンモードによりシリアルパターンを遷移値設定スキャンFF群および初期値設定スキャンFF群および出力設定値スキャンFF群に設定し、スキャンクロック信号により、テスト対象メモリ回路Mへ初期値パターンで書きこんだアドレスのデータの値を読み出し、出力値設定スキャンFFに取りこみ、期待値と比較することによって、選択した対象故障に遅延故障があるかどうかを判定することができる。   Then, the serial pattern is set in the transition value setting scan FF group, the initial value setting scan FF group, and the output setting value scan FF group in the scan mode, and the initial value pattern is written to the test target memory circuit M by the scan clock signal. It is possible to determine whether or not the selected target fault has a delay fault by reading the value of the address data, taking it into the output value setting scan FF, and comparing it with the expected value.

このように実施の形態6によれば、メモリ回路Mの“nonRead→Read”時のリードイネーブルに接続されるパスの遅延故障を検出するためテストパターンを形成でき、遅延故障検査を行うことができる。したがって、メモリ回路Mが存在している集積回路(LSI)内の動的な動作を保証でき、製品の信頼性を飛躍的に向上させることができる。
[実施の形態7]
実施の形態7として、メモリ回路MのリードイネーブルNREの読み取り可能から読み取り不可への遷移時“READ→nonREAD”における、ライトイネーブルラインのテストパターン生成方法について説明する。なお、実施の形態7におけるライトイネーブルラインのテストパターン生成方法を示す回路図は、実施の形態6(図21)と同一であり、説明を省略する。
As described above, according to the sixth embodiment, a test pattern can be formed to detect a delay fault of a path connected to a read enable in “nonRead → Read” of the memory circuit M, and a delay fault inspection can be performed. . Therefore, the dynamic operation in the integrated circuit (LSI) in which the memory circuit M exists can be guaranteed, and the reliability of the product can be greatly improved.
[Embodiment 7]
As a seventh embodiment, a method for generating a test pattern for a write enable line in “READ → nonREAD” when the read enable NRE of the memory circuit M transitions from readable to unreadable will be described. The circuit diagram showing the test pattern generation method for the write enable line in the seventh embodiment is the same as that in the sixth embodiment (FIG. 21), and the description is omitted.

リードイネーブルラインのテストパターン生成方法“READ→nonREAD”の処理手順を、図25に示すフローチャートを参照しながら説明する。
ステップ−1201
まず、被検査半導体集積回路のメモリ回路Mに対するリードイネーブルから読出し可能から読出し不可への遷移に対するテスト可能最長パスを選択する。例えば、対象故障として図21のライトイネーブルNREの読出し可能から読出し不可への遷移rise(“0”から“1”への遅延故障)に対するテスト可能最長パスとして、スキャンFF17−G7−G8−G9−NREを選択する。
ステップ−1202
次に、テスト可能最長パスを初期化するための初期値をあたえるリードイネーブル初期化テストパターンを求める。すなわち、NRE=0となる初期値設定スキャンFF群16〜18に値を生成する。この時の初期値設定スキャンFF群16〜18の値はそれぞれ<x,1,0>となる。
ステップ−1203
次に、テスト可能最長パスを活性化するためのリードイネーブル遷移テストパターンを求める。すなわち、NRE=1となる遷移値設定スキャンFF群4〜6および入力端子X4に値を生成する。この時の遷移値設定スキャンFF群4〜6の値および入力端子X4の値はそれぞれ<1,1,0,0>となる。
ステップ−1204
次に、初期化パターンでメモリ回路Mを読み出すための第1のメモリ初期化アドレスを求める。例えば、メモリ回路Mを初期化するための第1のメモリ初期化アドレスであるAD[2:0]=<0,1,0>を求める。
ステップ−1205
次に、遷移パターンでメモリ回路Mを読み出すための第1のメモリ初期化アドレスと異なる値である第2のメモリ初期化アドレスを求める。例えば、第1のメモリ初期化アドレスと異なる第2のメモリ初期化アドレスであるアドレスAD[2:0]=<1,0,1>を求める。
ステップ−1206
次に、第1のメモリ初期化アドレスでメモリ回路Mに書き込むためのデータである第1のメモリ初期化データを求める。例えば、第1のメモリ初期化アドレスであるAD[2:0]=<0,1,0>でメモリ回路Mに書き込む第1のメモリ初期化データであるDI[2:0]=<1,1,1>を求める。
ステップ−1207
次に、第2のメモリ初期化アドレスでメモリ回路Mに書き込むためのデータであり第1のメモリ初期化データと異なる値である第2のメモリ初期化データを求める。例えば、第2のメモリ初期化アドレスであるアドレスAD[2:0]=<1,0,1>でメモリ回路に書き込む第2のメモリ初期化データであるDI[2:0]=<0,0,0>を求める。
ステップ−1208
次に、メモリ回路の制御信号群を前記メモリ回路から読出しができる値を初期値スキャンFFに設定するためのメモリ初期化制御値を求める。すなわち、第1および第2のメモリ初期化アドレスに対してそれぞれ第1および第2のメモリ初期化データを書き込むために、メモリ回路の制御信号群であるNCE、NWEに書き込み動作を許可するためのNCE、NWE=<0,0>を求める。ステップ−1204〜1208によりテスト用経路の第1のメモリ初期化パターンと第2のメモリ初期化パターンが形成される。
ステップ−1209
次に、第1のメモリ初期化パターンのアドレスに書き込んだ第1のメモリ初期化データを読み出すために初期値設定スキャンFF群の値を設定する。第1のメモリ初期化アドレスのデータをメモリ回路Mから読出しが可能になるように、NCE、NWE=<0,1>とする初期値設定スキャンFF11〜15、29〜31に値を生成する。このときの各スキャンFFの値は<1,0、x、1,1,0,1,0>になる。
ステップ−1210
次に、第2メモリ初期化パターンのアドレスに書き込んだ第2のメモリ初期化データを読み出すために遷移値設定スキャンFF群の値を設定する。すなわち、第2のメモリ初期化アドレスのデータをメモリ回路から読出しが可能になるように、NCE、NWE=<0,1>とする遷移値設定スキャンFF1〜3、26〜28及び入力端子X1〜X3に値を生成する。このときの各スキャンFFの値および入力端子の値は<1,0,x,1,0,1,x,1,1>になる。
ステップ−1211
次に、第1のメモリ初期化パターンによりメモリ回路Mに書きこまれる値をステップ−1204で設定したアドレスライン値で読み出した時の出力設定値スキャンFF群(出力設定値パターン)の値を期待値として求める。すなわち、第1のメモリ初期化アドレスAD[2:0]=<0,1,0>でメモリ回路Mに書き込まれる値<1,1,1>をDO[2:0]から読み出した値を出力値設定スキャンFF32〜34に設定する。この時の出力値設定スキャンFF32〜34の値は<1,1,1>になる。このときの値を期待値とする。
ステップ−1212
次に、リードイネーブル初期化パターンとリードイネーブル遷移パターンと初期値設定スキャンFF群の値と遷移値設定スキャンFF群の値と期待値を、スキャンFF群のシリアルパターンとして生成する。
The processing procedure of the test pattern generation method “READ → nonREAD” of the read enable line will be described with reference to the flowchart shown in FIG.
Step-1201
First, the longest testable path for the transition from the read enable to the read impossible for the memory circuit M of the semiconductor integrated circuit to be inspected is selected. For example, the scan FF 17 -G 7 -G 8 -G 9-is the longest testable path for the transition enable (delay failure from “0” to “1”) from the readable to unreadable state of the write enable NRE in FIG. Select NRE.
Step-1202
Next, a read enable initialization test pattern that provides an initial value for initializing the longest testable path is obtained. That is, values are generated in the initial value setting scan FF groups 16 to 18 where NRE = 0. The values of the initial value setting scan FF groups 16 to 18 at this time are <x, 1, 0>, respectively.
Step-1203
Next, a read enable transition test pattern for activating the longest testable path is obtained. That is, values are generated in the transition value setting scan FF groups 4 to 6 and the input terminal X4 where NRE = 1. At this time, the values of the transition value setting scan FF groups 4 to 6 and the value of the input terminal X4 are <1, 1, 0, 0>, respectively.
Step-1204
Next, a first memory initialization address for reading the memory circuit M with the initialization pattern is obtained. For example, AD [2: 0] = <0, 1, 0>, which is a first memory initialization address for initializing the memory circuit M, is obtained.
Step-1205
Next, a second memory initialization address that is different from the first memory initialization address for reading out the memory circuit M with the transition pattern is obtained. For example, an address AD [2: 0] = <1, 0, 1> which is a second memory initialization address different from the first memory initialization address is obtained.
Step-1206
Next, first memory initialization data, which is data to be written to the memory circuit M at the first memory initialization address, is obtained. For example, the first memory initialization data DI [2: 0] = <1, written to the memory circuit M with the first memory initialization address AD [2: 0] = <0, 1, 0>. 1,1> is obtained.
Step-1207
Next, second memory initialization data, which is data to be written to the memory circuit M at the second memory initialization address and is different from the first memory initialization data, is obtained. For example, DI [2: 0] = <0, which is the second memory initialization data written to the memory circuit at the address AD [2: 0] = <1, 0, 1>, which is the second memory initialization address. Find 0,0>.
Step-1208
Next, a memory initialization control value for setting in the initial value scan FF a value capable of reading the control signal group of the memory circuit from the memory circuit is obtained. That is, in order to write the first and second memory initialization data to the first and second memory initialization addresses, respectively, to allow the write operation to the control signal group NCE and NWE of the memory circuit. NCE, NWE = <0,0> is obtained. Steps-1204 to 1208 form a first memory initialization pattern and a second memory initialization pattern for the test path.
Step-1209
Next, the value of the initial value setting scan FF group is set to read the first memory initialization data written to the address of the first memory initialization pattern. A value is generated in the initial value setting scan FFs 11 to 15 and 29 to 31 with NCE and NWE = <0, 1> so that the data of the first memory initialization address can be read from the memory circuit M. The values of the scan FFs at this time are <1, 0, x, 1, 1, 0, 1, 0>.
Step-1210
Next, the value of the transition value setting scan FF group is set in order to read the second memory initialization data written to the address of the second memory initialization pattern. That is, the transition value setting scans FF1 to FF3, 26 to 28 and the input terminals X1 to X1 are set to NCE, NWE = <0,1> so that the data of the second memory initialization address can be read from the memory circuit. Generate a value for X3. At this time, the value of each scan FF and the value of the input terminal are <1, 0, x, 1, 0, 1, x, 1, 1>.
Step-1211
Next, the value of the output set value scan FF group (output set value pattern) when the value written in the memory circuit M by the first memory initialization pattern is read by the address line value set in Step-1204 is expected. Calculate as a value. That is, the value <1, 1, 1> written to the memory circuit M at the first memory initialization address AD [2: 0] = <0, 1, 0> is read from DO [2: 0]. The output value setting scan FFs 32 to 34 are set. At this time, the values of the output value setting scan FFs 32 to 34 are <1, 1, 1>. The value at this time is assumed as the expected value.
Step-1212
Next, a read enable initialization pattern, a read enable transition pattern, an initial value setting scan FF group value, a transition value setting scan FF group value, and an expected value are generated as a serial pattern of the scan FF group.

このように生成したテストパターンを使用した検査方法について、図25のフローチャートと図26のメモリ回路の各端子における波形図を参照しながら説明する。
ステップ−1401
テストモード信号をテストモードに設定する。テストモード信号をテストモードである“0”に設定する。
ステップ−1402
次に、上記ステップ−1204〜ステップ−1207で生成した第1のメモリ初期化パターンおよび第2のメモリ初期化パターンを印加し、メモリ回路の初期化を行う。
An inspection method using the test pattern generated in this way will be described with reference to the flowchart of FIG. 25 and waveform diagrams at each terminal of the memory circuit of FIG.
Step 1401
Set the test mode signal to test mode. The test mode signal is set to “0” which is the test mode.
Step-1402
Next, the memory circuit is initialized by applying the first memory initialization pattern and the second memory initialization pattern generated in steps -1204 to -1207.

すなわち、まずテスト用経路からメモリ回路Mへ第1のメモリ初期化アドレスパターンおよび第1のメモリ初期化データパターンおよびメモリ初期化制御値によりメモリ回路Mに書きこみを行う。このときのメモリ回路Mの各端子は、NCE=0,NWE=0,NRE=1,AD[2:0]=<0,1,0>、DI[2:0]=<1,1,1>になり、メモリ回路のアドレス<0,1,0>にデータ<1,1,1>が書きこまれる。続いて、テスト用経路からメモリ回路へ第2のメモリ初期化アドレスパターンおよび第2のメモリ初期化データパターンおよびメモリ初期化制御値によりメモリ回路Mに書きこみを行う。このときのメモリ回路Mの各端子は、NCE=0,NWE=0,NRE=1,AD[2:0]=<1,0,1>、DI[2:0]=<0,0,0>になり、メモリ回路のアドレス<1,0,1>にデータ<0,0,0>が書きこまれる。
ステップ−1403
次に、スキャンイネーブル信号(SE信号)をスキャンモードの設定する。すなわち、スキャンイネーブル信号をスキャンモードである“1”に設定する。
ステップ−1404
次に、生成したシリアルパターンをスキャンシフト動作で各スキャンFFに設定する。スキャンシフト動作で各スキャンFFに値が設定されると、メモリ回路の各端子はNCE=0,NWE=1,NRE=0,AD[2:0]=<0,1,0>、DI[2:0]=<x,x,x>になる。
ステップ−1405
次に、スキャンイネーブル信号とテストモード信号を通常動作モードに設定する。スキャンイネーブル信号を通常モードである“0”に設定する。また、テストモード信号を通常モードである“1”に設定する。
ステップ−1406
次に、テスト対象メモリ回路Mの実動作クロック速度でテスト対象メモリ回路MおよびスキャンFFにクロックを印加する(メモリ回路Mの読み出し動作)。クロックが入力されると、アドレス<0,1,0>のDO[2:0]=<1,1,1>が出力され、続けてメモリ回路MのアドレスAD[2:0]=<1,0,1>、NRE=1、NWE=1に設定される。
ステップ−1407
次に、テスト対象メモリ回路Mの実動作クロック速度でテスト対象メモリ回路Mおよび各スキャンFFにクロックを印加する(メモリ回路Mへのアクセス動作「遅延故障発生時はリード動作が発生」)。クロックが入力されると、リードイネーブルNREに遅延故障が発生している場合、メモリ回路Mへのリード動作が行われ出力設定値FF群32〜34はアドレス<1,0,1>のDO[2:0]=<0,0,0>になる。遅延故障が発生していない場合は、メモリ回路Mへのリード動作は行われずステップ1406で読み出したD0[2:0]=<1,1,1>に対する出力設定値FF群32〜34=<1,1,1>を維持している。
ステップ−1408
次に、スキャンイネーブル信号をスキャンモードに設定する。スキャンイネーブル信号を“1”に設定する。
ステップ−1409
次に、スキャンシフト動作で外部端子に値をシフトアウトし期待値と比較する。スキャンシフト動作を行い、期待値比較において、期待値と異なる値が観測された場合は、テスト対象故障に遅延故障があると判定される。
That is, first, the memory circuit M is written from the test path to the memory circuit M using the first memory initialization address pattern, the first memory initialization data pattern, and the memory initialization control value. The respective terminals of the memory circuit M at this time are NCE = 0, NWE = 0, NRE = 1, AD [2: 0] = <0,1,0>, DI [2: 0] = <1,1, 1>, and data <1,1,1> is written at address <0,1,0> of the memory circuit. Subsequently, the memory circuit M is written from the test path to the memory circuit using the second memory initialization address pattern, the second memory initialization data pattern, and the memory initialization control value. The respective terminals of the memory circuit M at this time are NCE = 0, NWE = 0, NRE = 1, AD [2: 0] = <1,0,1>, DI [2: 0] = <0, 0, 0>, and data <0, 0, 0> is written at address <1, 0, 1> of the memory circuit.
Step-1403
Next, the scan enable signal (SE signal) is set in the scan mode. That is, the scan enable signal is set to “1” which is the scan mode.
Step-1404
Next, the generated serial pattern is set in each scan FF by a scan shift operation. When a value is set in each scan FF by the scan shift operation, each terminal of the memory circuit has NCE = 0, NWE = 1, NRE = 0, AD [2: 0] = <0, 1, 0>, DI [ 2: 0] = <x, x, x>.
Step-1405
Next, the scan enable signal and the test mode signal are set to the normal operation mode. The scan enable signal is set to “0” which is the normal mode. Further, the test mode signal is set to “1” which is the normal mode.
Step-1406
Next, a clock is applied to the test target memory circuit M and the scan FF at the actual operation clock speed of the test target memory circuit M (read operation of the memory circuit M). When the clock is input, DO [2: 0] = <1,1,1> of the address <0,1,0> is output, and then the address AD [2: 0] = <1 of the memory circuit M is output. , 0, 1>, NRE = 1, and NWE = 1.
Step-1407
Next, a clock is applied to the test target memory circuit M and each scan FF at the actual operation clock speed of the test target memory circuit M (access operation to the memory circuit M “read operation occurs when a delay fault occurs”). When a clock is input, if a delay fault has occurred in the read enable NRE, a read operation to the memory circuit M is performed, and the output set values FF groups 32 to 34 store the DO [ 2: 0] = <0, 0, 0>. If no delay fault has occurred, the read operation to the memory circuit M is not performed, and the output set value FF groups 32 to 34 = <D0 for D0 [2: 0] = <1,1,1> read in step 1406. 1,1,1> is maintained.
Step-1408
Next, the scan enable signal is set to the scan mode. Set the scan enable signal to "1".
Step-1409
Next, the value is shifted out to the external terminal by the scan shift operation and compared with the expected value. When a scan shift operation is performed and a value different from the expected value is observed in the expected value comparison, it is determined that there is a delay fault in the test target fault.

上記処理手順によれば、被検査半導体集積回路のメモリ回路に対するリードイネーブルラインから対象故障を選択し、上記選択した対象故障に対応するテスト可能最長パスを選択し、テスト可能最長パスを初期化するための初期値をあたえるリードイネーブル初期化テストパターンを求め、テスト可能最長パスを活性化するためのリードイネーブル遷移テストパターンを求める。続いて、第1のメモリ初期化パターンと第2のメモリ初期化パターンを形成する(アドレスラインに任意の値を設定するアドレスパターン系列を求め、データラインに任意の値を設定するためのデータパターン系列を求め、データパターン系列をメモリ回路Mへ書き込む制御信号群を求める)。次に、第1のメモリ初期化パターンによりメモリ回路Mに書きこまれた値をアドレスパターン系列で生成したアドレスライン値で読み出した時の出力設定値スキャンFF群の値を期待値として求める。続いて、第1のメモリ初期化パターンと第2のメモリ初期化パターンによりメモリ回路Mに書きこまれた値を読み出す制御信号群を求め、これら制御信号群を含む初期値設定スキャンFF群の値と遷移値設定スキャンFF群の値と、リードイネーブル初期化パターンとリードイネーブル遷移パターンと期待値によりシリアルパターンを生成する。   According to the above processing procedure, the target fault is selected from the read enable line for the memory circuit of the semiconductor integrated circuit to be inspected, the longest testable path corresponding to the selected target fault is selected, and the longest testable path is initialized. A read enable initialization test pattern for obtaining an initial value for obtaining a read enable transition test pattern for activating the longest testable path is obtained. Subsequently, a first memory initialization pattern and a second memory initialization pattern are formed (a data pattern for obtaining an address pattern series for setting an arbitrary value in the address line and setting an arbitrary value in the data line) A series is obtained, and a control signal group for writing the data pattern series to the memory circuit M is obtained). Next, the value of the output set value scan FF group when the value written in the memory circuit M by the first memory initialization pattern is read by the address line value generated by the address pattern series is obtained as an expected value. Subsequently, a control signal group for reading values written in the memory circuit M by the first memory initialization pattern and the second memory initialization pattern is obtained, and values of the initial value setting scan FF group including these control signal groups are obtained. A serial pattern is generated based on the value of the transition value setting scan FF group, the read enable initialization pattern, the read enable transition pattern, and the expected value.

そして、テストモードで、第1のメモリ初期化パターンと第2のメモリ初期化パターンをメモリ回路Mに書き込み、スキャンモードでシリアルパターンを遷移値設定スキャンFF群および初期値設定スキャンFF群に設定し、テスト対象メモリ回路Mへ第1のメモリ初期値パターンで書きこんだアドレスのデータの値を読み出し、続けて書き込んだデータを出力値設定スキャンFF群に取りこみ、期待値と比較することによって、選択した対象故障に遅延故障があるかどうかを判定することができる。   Then, the first memory initialization pattern and the second memory initialization pattern are written to the memory circuit M in the test mode, and the serial patterns are set in the transition value setting scan FF group and the initial value setting scan FF group in the scan mode. The data value at the address written in the first memory initial value pattern to the test target memory circuit M is read, and the written data is taken into the output value setting scan FF group and selected by comparing with the expected value. It can be determined whether there is a delay fault in the target fault.

このように実施の形態7によれば、メモリ回路Mの“Read→nonRead”時のリードイネーブルに接続されるパスの遅延故障を検出するためテストパターンを形成でき、遅延故障検査を行うことができる。したがって、メモリ回路Mが存在している集積回路(LSI)内の動的な動作を保証でき、製品の信頼性を飛躍的に向上させることができる。   As described above, according to the seventh embodiment, a test pattern can be formed to detect a delay fault in a path connected to a read enable at the time of “Read → nonRead” of the memory circuit M, and a delay fault inspection can be performed. . Therefore, the dynamic operation in the integrated circuit (LSI) in which the memory circuit M exists can be guaranteed, and the reliability of the product can be greatly improved.

なお、上記実施の形態1〜7において、データラインまたはアドレスラインまたは制御信号群の値は初期値設定スキャンFFおよび遷移値設定スキャンFFにシリアルパターンを用いてスキャンシフト動作で値を設定しているが、テスト用経路またはメモリテスト回路から設定することも可能である。   In the first to seventh embodiments, the values of the data line, the address line, or the control signal group are set by the scan shift operation using serial patterns for the initial value setting scan FF and the transition value setting scan FF. However, it is also possible to set from a test path or a memory test circuit.

また上記実施の形態1〜7において、制御信号群をNCE,NWE,NREとしているが、そのほかの制御端子に関してもメモリ回路の任意のアドレスに書きこめる、またはメモリ回路の任意のアドレスを読み出せる設定にすることで実現可能である。   In the first to seventh embodiments, the control signal group is set to NCE, NWE, and NRE. However, other control terminals can be written to any address of the memory circuit or can be read from any address of the memory circuit. This can be achieved.

また、上記実施の形態1〜7では、データアウトの値は、出力設定スキャンFF群にとりこみスキャンシフト動作で出力端子の値を観測し、期待値比較するようにしているが、メモリ回路Mの出力をテスト用経路から観測し期待値比較することまたはテスト回路で期待値比較することも可能である。   In the first to seventh embodiments, the data-out value is incorporated into the output setting scan FF group, the value of the output terminal is observed by the scan shift operation, and the expected value is compared. It is also possible to observe the output from the test path and compare the expected value, or compare the expected value with a test circuit.

また、上記実施の形態1〜7によれば、集積回路(LSI)内のパス上にメモリ回路Mが存在していても、そのパス上の遅延試験を行え、したがって、集積回路(LSI)の動的な動作を保証して製品の信頼性を著しく高めることが可能となるが、従来の技術で記述したような静的な機能テストも併用することにより、回路内の動的な動作保証と静的な動作保証の双方を同時に行って製品の信頼性を飛躍的に向上させることが可能となる。   Further, according to the first to seventh embodiments, even if the memory circuit M exists on the path in the integrated circuit (LSI), the delay test on the path can be performed. It is possible to guarantee the dynamic operation and improve the reliability of the product remarkably, but by using the static function test as described in the conventional technology together, it is possible to guarantee the dynamic operation in the circuit. It is possible to dramatically improve the reliability of the product by performing both static operation guarantees at the same time.

本発明にかかる半導体集積回路の遅延故障テストパターン生成方法および遅延故障検査方法は、回路内のパス上にメモリ回路が存在している場合であっても、このパスを試験してその遅延故障を検出でき、したがって回路内の動的な動作を保証でき、製品の信頼性を飛躍的に向上させることができるという効果を有し、半導体集積回路の新規開発あるいは改善等の用途にも適用できる。   According to the delay fault test pattern generation method and the delay fault inspection method of a semiconductor integrated circuit according to the present invention, even if a memory circuit exists on the path in the circuit, the path fault is tested and the delay fault is detected. Therefore, it is possible to guarantee the dynamic operation in the circuit, and to improve the reliability of the product drastically, and it can be applied to new development or improvement of the semiconductor integrated circuit.

本発明の実施の形態1における半導体集積回路の遅延故障テストパターン生成方法及び遅延故障検査方法を使用するメモリ回路とメモリテスト回路を示す図、およびメモリテスト回路のクロック制御図である。1 is a diagram showing a memory circuit and a memory test circuit that use a delay fault test pattern generation method and a delay fault test method for a semiconductor integrated circuit according to a first embodiment of the present invention, and a clock control diagram of the memory test circuit. 同メモリ回路のデータラインのテストパターン生成方法を示す回路図である。It is a circuit diagram which shows the test pattern generation method of the data line of the memory circuit. 同メモリ回路のデータラインのテストパターン生成方法を示す図である。It is a figure which shows the test pattern production | generation method of the data line of the memory circuit. 同メモリ回路のデータラインの検査方法を示す図である。It is a figure which shows the test | inspection method of the data line of the memory circuit. 同メモリ回路のデータライン検査方法を示すタイミング図である。It is a timing chart showing a data line inspection method of the memory circuit. 本発明の実施の形態2における半導体集積回路の遅延故障テストパターン生成方法及び遅延故障検査方法を使用するメモリ回路のアドレスラインのテストパターン生成方法を示す回路図である。FIG. 10 is a circuit diagram showing a test pattern generation method for an address line of a memory circuit using a delay fault test pattern generation method for a semiconductor integrated circuit and a delay fault inspection method in Embodiment 2 of the present invention; 同メモリ回路のアドレスラインのテストパターン生成方法を示す図である。It is a figure which shows the test pattern generation method of the address line of the memory circuit. 同メモリ回路のアドレスラインの検査方法を示す図である。It is a figure which shows the inspection method of the address line of the memory circuit. 同メモリ回路のアドレスライン検査方法を示すタイミング図である。4 is a timing chart showing an address line inspection method of the memory circuit. FIG. 本発明の実施の形態3における半導体集積回路の遅延故障テストパターン生成方法及び遅延故障検査方法を使用するメモリ回路のデータアウトラインのテストパターン生成方法を示す回路図である。It is a circuit diagram which shows the test pattern generation method of the data outline of the memory circuit which uses the delay fault test pattern generation method and delay fault inspection method of the semiconductor integrated circuit in Embodiment 3 of this invention. 同メモリ回路のデータアウトラインのテストパターン生成方法を示す図である。It is a figure which shows the test pattern generation method of the data outline of the memory circuit. 同メモリ回路のデータアウトラインの検査方法を示す図である。It is a figure which shows the test method of the data outline of the memory circuit. 同メモリ回路のデータアウトライン検査方法を示すタイミング図である。It is a timing chart showing a data outline inspection method of the memory circuit. 本発明の実施の形態4における半導体集積回路の遅延故障テストパターン生成方法及び遅延故障検査方法を使用するメモリ回路のライトイネーブルラインのテストパターン生成方法を示す回路図である。FIG. 10 is a circuit diagram showing a test pattern generation method for a write enable line of a memory circuit using a delay fault test pattern generation method for a semiconductor integrated circuit and a delay fault inspection method in Embodiment 4 of the present invention. 同メモリ回路のライトイネーブルラインのテストパターン生成方法を示す図である。It is a figure which shows the test pattern production | generation method of the write enable line of the memory circuit. 同メモリ回路のライトイネーブルラインの検査方法を示す図である。It is a figure showing the inspection method of the write enable line of the memory circuit. 同メモリ回路のライトイネーブルライン検査方法を示すタイミング図である。4 is a timing chart showing a write enable line inspection method for the memory circuit. FIG. 本発明の実施の形態5における半導体集積回路の遅延故障テストパターン生成方法及び遅延故障検査方法を使用するメモリ回路のライトイネーブルラインのテストパターン生成方法を示す図である。It is a figure which shows the test pattern generation method of the write enable line of the memory circuit which uses the delay fault test pattern generation method of a semiconductor integrated circuit in Embodiment 5 of this invention, and a delay fault inspection method. 同メモリ回路のライトイネーブルラインの検査方法を示す図である。It is a figure showing the inspection method of the write enable line of the memory circuit. 同メモリ回路のライトイネーブルライン検査方法を示すタイミング図である。4 is a timing chart showing a write enable line inspection method for the memory circuit. FIG. 本発明の実施の形態6における半導体集積回路の遅延故障テストパターン生成方法及び遅延故障検査方法を使用するメモリ回路のリードイネーブルラインのテストパターン生成方法を示す回路図である。It is a circuit diagram which shows the test pattern generation method of the read enable line of the memory circuit which uses the delay fault test pattern generation method and delay fault inspection method of the semiconductor integrated circuit in Embodiment 6 of this invention. 同メモリ回路のリードイネーブルラインのテストパターン生成方法を示す図である。It is a figure which shows the test pattern production | generation method of the read enable line of the memory circuit. 同メモリ回路のリードイネーブルラインの検査方法を示す図である。It is a figure which shows the test | inspection method of the read enable line of the memory circuit. 同メモリ回路のリードイネーブルライン検査方法を示すタイミング図である。FIG. 4 is a timing chart showing a read enable line inspection method for the same memory circuit. 本発明の実施の形態7における半導体集積回路の遅延故障テストパターン生成方法及び遅延故障検査方法を使用するメモリ回路のリードイネーブルラインのテストパターン生成方法を示す図である。It is a figure which shows the test pattern generation method of the read enable line of the memory circuit which uses the delay fault test pattern generation method of a semiconductor integrated circuit and the delay fault inspection method in Embodiment 7 of this invention. 同メモリ回路のリードイネーブルラインの検査方法を示す図である。It is a figure which shows the test | inspection method of the read enable line of the memory circuit. 同メモリ回路のリードイネーブルライン検査方法を示すタイミング図である。FIG. 4 is a timing chart showing a read enable line inspection method for the same memory circuit. メモリ周辺回路を示す回路図である。It is a circuit diagram which shows a memory peripheral circuit. メモリ周辺回路を2時刻展開した構成を示す回路図である。It is a circuit diagram which shows the structure which expanded the memory peripheral circuit for 2 time. テストパターン生成に用いられる経路活性化表を示す図である。It is a figure which shows the path | route activation table used for a test pattern production | generation. テストパターン生成に用いられる含意表を示す図である。It is a figure which shows the implication table used for a test pattern production | generation. テストパターン生成に用いられる5値論理を示す図である。It is a figure which shows the quinary logic used for a test pattern production | generation. パス遅延故障のテストパターン生成方法の一例を示す図である。It is a figure which shows an example of the test pattern generation method of a path delay fault. パス遅延故障のテストパターン生成方法の一例を示す図である。It is a figure which shows an example of the test pattern generation method of a path delay fault.

符号の説明Explanation of symbols

1〜9 スキャン・フリップフロップ
11〜18 スキャン・フリップフロップ
20〜34 スキャン・フリップフロップ
S1〜S10 セレクタ回路
X1〜X5 入力端子
X6〜X8 出力端子
1-9 Scan flip-flop 11-18 Scan flip-flop 20-34 Scan flip-flop S1-S10 Selector circuit X1-X5 Input terminal X6-X8 Output terminal

Claims (8)

メモリ回路とこのメモリ回路に接続された論理回路部を備え、前記論理回路部の一部あるいは全てのフリップフロップをスキャン・フリップフロップに置き換え、これらスキャン・フリップフロップにより、前記メモリ回路に初期値の設定を行う初期値設定スキャン・フリップフロップ群と、この初期値設定スキャン・フリップフロップ群を介して前記メモリ回路に遷移値の設定を行う遷移値設定スキャン・フリップフロップ群と、前記メモリ回路の出力を受ける出力値設定スキャン・フリップフロップ群を形成し、これらスキャン・フリップフロップ群のスキャン・フリップフロップをシリアルに接続して半導体集積回路の外部から回路内の制御・観測を可能とした半導体集積回路において、前記論理回路部と前記メモリ回路のパスの遅延故障を検出するため、前記スキャン・フリップフロップ群のテストパターンを生成する方法であって、
前記テストパターンの生成をおこなう対象故障を前記メモリ回路のデータラインから選択する工程と、
前記選択された対象故障に対応するテスト可能最長パスを選択する工程と、
前記選択されたテスト可能最長パスの初期化を行うデータライン初期化パターンを求める工程と、
前記選択されたテスト可能最長パスの活性化を行うデータライン遷移パターンを求める工程と、
前記メモリ回路のアドレスラインを所定の値に設定するアドレスパターン系列を求める工程と、
前記メモリ回路の制御信号群を前記メモリに書き込みができる値に設定する制御値パターン系列を求める工程と、
前記求めたデータライン遷移パターンに対する前記メモリ回路のデータラインの値および前記求めたアドレスパターン系列に対する前記メモリ回路のアドレスラインの値および前記求めた制御値パターン系列に対する前記メモリ回路の制御値により、前記メモリ回路への書き込みを行った後に、前記アドレスパターン系列に対する前記メモリ回路のアドレスラインのアドレスの値を読み出すときに、前記メモリ回路より前記出力値設定スキャン・フリップフロップ群が受ける値を前記対象故障の期待値として求める工程と、
求めた前記データライン初期化パターンと前記データライン遷移パターンと前記アドレスパターン系列と前記制御値パターン系列と前記期待値を、前記スキャン・フリップフロップ群のシリアルパターンとして生成する工程と、
を有することを特徴とする半導体集積回路の遅延故障テストパターン生成方法。
A memory circuit and a logic circuit unit connected to the memory circuit, and a part or all of the flip-flops of the logic circuit unit are replaced with scan flip-flops; An initial value setting scan flip-flop group for setting, a transition value setting scan flip-flop group for setting a transition value in the memory circuit via the initial value setting scan flip-flop group, and an output of the memory circuit Integrated circuit that forms an output value setting scan flip-flop group that receives power and connects the scan flip-flops of these scan flip-flops serially to enable control and observation inside the semiconductor integrated circuit In, the delay of the path between the logic circuit portion and the memory circuit To detect the disabled, a method of generating a test pattern of the scan flip-flop group,
Selecting a target fault for generating the test pattern from a data line of the memory circuit;
Selecting the longest testable path corresponding to the selected target fault;
Obtaining a data line initialization pattern to initialize the selected longest testable path;
Obtaining a data line transition pattern for activating the selected longest testable path;
Obtaining an address pattern series for setting an address line of the memory circuit to a predetermined value;
Obtaining a control value pattern series for setting a control signal group of the memory circuit to a value writable to the memory;
The value of the data line of the memory circuit with respect to the determined data line transition pattern, the value of the address line of the memory circuit with respect to the determined address pattern series, and the control value of the memory circuit with respect to the determined control value pattern series, When the address value of the address line of the memory circuit with respect to the address pattern series is read after writing to the memory circuit, the value that the output value setting scan flip-flop group receives from the memory circuit is the target failure. The process of obtaining the expected value of
Generating the obtained data line initialization pattern, the data line transition pattern, the address pattern series, the control value pattern series, and the expected value as a serial pattern of the scan flip-flop group;
A method for generating a delay fault test pattern for a semiconductor integrated circuit, comprising:
メモリ回路とこのメモリ回路に接続された論理回路部を備え、前記論理回路部の一部あるいは全てのフリップフロップをスキャン・フリップフロップに置き換え、これらスキャン・フリップフロップにより、前記メモリ回路に初期値の設定を行う初期値設定スキャン・フリップフロップ群と、この初期値設定スキャン・フリップフロップ群を介して前記メモリ回路に遷移値の設定を行う遷移値設定スキャン・フリップフロップ群と、前記メモリ回路の出力を受ける出力値設定スキャン・フリップフロップ群を形成し、これらスキャン・フリップフロップ群のスキャン・フリップフロップをシリアルに接続して半導体集積回路の外部から回路内の制御・観測を可能とした半導体集積回路において、前記論理回路部と前記メモリ回路のパスの遅延故障を検出するため、前記スキャン・フリップフロップ群のテストパターンを生成する方法であって、
前記テストパターンの生成をおこなう対象故障を前記メモリ回路のアドレスラインから選択する工程と、
前記選択された対象故障に対応するテスト可能最長パスを選択する工程と、
前記選択されたテスト可能最長パスの初期化を行うアドレスライン初期化パターンを求める工程と、
前記選択されたテスト可能最長パスの活性化を行うアドレスライン遷移パターンを求める工程と、
前記メモリ回路のデータラインを所定の値に設定するデータパターン系列を求める工程と、
前記メモリ回路の制御信号群を前記メモリに書き込みができる値に設定する制御値パターン系列を求める工程と、
前記求めたデータパターン系列に対する前記メモリ回路のデータラインの値および前記求めたアドレスライン遷移パターンに対する前記メモリ回路のアドレスラインの値および前記制御値パターン系列に対する前記メモリ回路の制御値により前記メモリ回路への書き込みを行った後に、前記アドレスライン遷移パターンに対する前記メモリ回路のアドレスラインの値を読み出すときに、前記メモリ回路より前記出力値設定スキャン・フリップフロップ群が受ける値を前記対象故障の期待値として求める工程と、
求めた前記アドレスライン初期化パターンと前記アドレスライン遷移パターンと前記データパターン系列と前記制御値パターン系列と前記期待値を、前記スキャン・フリップフロップ群のシリアルパターンとして生成する工程と、
前記アドレスライン遷移パターンに対する前記メモリ回路のアドレスラインの値と異なるアドレスを初期化アドレスとして求める工程と、
前記データパターン系列に対する前記メモリ回路のデータラインの値と異なるデータを初期化データとして求める工程と、
前記初期化アドレスに前記初期化データの書きこみができる前記メモリ回路の制御信号群の値を、初期化制御値として求める工程と、
を有することを特徴とする半導体集積回路の遅延故障テストパターン生成方法。
A memory circuit and a logic circuit unit connected to the memory circuit, and a part or all of the flip-flops of the logic circuit unit are replaced with scan flip-flops; An initial value setting scan flip-flop group for setting, a transition value setting scan flip-flop group for setting a transition value in the memory circuit via the initial value setting scan flip-flop group, and an output of the memory circuit Integrated circuit that forms an output value setting scan flip-flop group that receives power and connects the scan flip-flops of these scan flip-flops serially to enable control and observation inside the semiconductor integrated circuit In, the delay of the path between the logic circuit portion and the memory circuit To detect the disabled, a method of generating a test pattern of the scan flip-flop group,
Selecting a target failure for generating the test pattern from an address line of the memory circuit;
Selecting the longest testable path corresponding to the selected target fault;
Obtaining an address line initialization pattern for initializing the selected longest testable path;
Obtaining an address line transition pattern for activating the selected longest testable path;
Obtaining a data pattern series for setting a data line of the memory circuit to a predetermined value;
Obtaining a control value pattern series for setting a control signal group of the memory circuit to a value writable to the memory;
The value of the data line of the memory circuit for the determined data pattern series, the value of the address line of the memory circuit for the determined address line transition pattern, and the control value of the memory circuit for the control value pattern series are transferred to the memory circuit. When the value of the address line of the memory circuit with respect to the address line transition pattern is read after the writing of the output value, the value received by the output value setting scan flip-flop group from the memory circuit is set as the expected value of the target failure. The desired process;
Generating the obtained address line initialization pattern, the address line transition pattern, the data pattern series, the control value pattern series, and the expected value as a serial pattern of the scan flip-flop group;
Obtaining an address different from the value of the address line of the memory circuit for the address line transition pattern as an initialization address;
Obtaining data different from the value of the data line of the memory circuit for the data pattern series as initialization data;
Obtaining a value of a control signal group of the memory circuit capable of writing the initialization data to the initialization address as an initialization control value;
A method for generating a delay fault test pattern for a semiconductor integrated circuit, comprising:
メモリ回路とこのメモリ回路に接続された論理回路部を備え、前記論理回路部の一部あるいは全てのフリップフロップをスキャン・フリップフロップに置き換え、これらスキャン・フリップフロップにより、前記メモリ回路に初期値の設定を行う初期値設定スキャン・フリップフロップ群と、この初期値設定スキャン・フリップフロップ群を介して前記メモリ回路に遷移値の設定を行う遷移値設定スキャン・フリップフロップ群と、前記メモリ回路の出力を受ける出力値設定スキャン・フリップフロップ群を形成し、これらスキャン・フリップフロップ群のスキャン・フリップフロップをシリアルに接続して半導体集積回路の外部から回路内の制御・観測を可能とした半導体集積回路において、前記論理回路部と前記メモリ回路のパスの遅延故障を検出するため、前記スキャン・フリップフロップ群のテストパターンを生成する方法であって、
前記テストパターンの生成をおこなう対象故障を前記メモリ回路のデータアウトラインから対象故障を選択する工程と、
前記選択された対象故障に対応するテスト可能最長パスを選択する工程と、
前記選択されたテスト可能最長パスの初期化を行う第1のメモリ初期化データを求める工程と、
前記選択されたテスト可能最長パスの活性化を行う第2のメモリ初期化データを求める工程と、
前記メモリ回路に前記第1のメモリ初期化データを書き込む第1のメモリ初期化アドレスを求める工程と、
前記メモリ回路に前記第2のメモリ初期化データを書き込むアドレスを、前記第1のメモリ初期化データを書き込むアドレスとは異なるアドレスとする第2のメモリ初期化アドレスを求める工程と、
前記メモリ回路に前記第1のメモリ初期化データと前記第2のメモリ初期化データを前記メモリ回路に書き込みができる値に設定するメモリ初期化制御値を求める工程と、
前記第1のメモリ初期化データを読み出すためのアドレスと前記メモリ回路の制御信号群の値からなるデータアウト初期化パターンを求める工程と、
前記第2のメモリ初期化データを読み出すためのアドレスと前記メモリ回路の制御信号群の値からなるデータアウト遷移パターンを求める工程と、
前記データアウト遷移パターンにより活性化されたテスト可能最長パスの終点となる前記出力値設定スキャン・フリップフロップ群が受ける値を期待値として求める工程と、
前記データアウト初期化パターンと前記データアウト遷移パターンと前記期待値を、前記スキャン・フリップフロップ群のシリアルパターンとして生成する工程と、
を有することを特徴とする半導体集積回路の遅延故障テストパターン生成方法。
A memory circuit and a logic circuit unit connected to the memory circuit, and a part or all of the flip-flops of the logic circuit unit are replaced with scan flip-flops; An initial value setting scan flip-flop group for setting, a transition value setting scan flip-flop group for setting a transition value in the memory circuit via the initial value setting scan flip-flop group, and an output of the memory circuit Integrated circuit that forms an output value setting scan flip-flop group that receives power and connects the scan flip-flops of these scan flip-flops serially to enable control and observation inside the semiconductor integrated circuit In, the delay of the path between the logic circuit portion and the memory circuit To detect the disabled, a method of generating a test pattern of the scan flip-flop group,
Selecting a target fault for generating the test pattern from a data outline of the memory circuit; and
Selecting the longest testable path corresponding to the selected target fault;
Obtaining first memory initialization data for initializing the selected longest testable path;
Obtaining second memory initialization data for activating the selected longest testable path;
Obtaining a first memory initialization address for writing the first memory initialization data to the memory circuit;
Obtaining a second memory initialization address in which an address for writing the second memory initialization data to the memory circuit is different from an address for writing the first memory initialization data;
Obtaining a memory initialization control value for setting the first memory initialization data and the second memory initialization data in the memory circuit to values that can be written to the memory circuit;
Obtaining a data-out initialization pattern comprising an address for reading the first memory initialization data and a value of a control signal group of the memory circuit;
Obtaining a data-out transition pattern comprising an address for reading the second memory initialization data and a value of a control signal group of the memory circuit;
Obtaining as an expected value a value received by the output value setting scan flip-flop group serving as an end point of the longest testable path activated by the data-out transition pattern;
Generating the data-out initialization pattern, the data-out transition pattern, and the expected value as a serial pattern of the scan flip-flop group;
A method for generating a delay fault test pattern for a semiconductor integrated circuit, comprising:
メモリ回路とこのメモリ回路に接続された論理回路部を備え、前記論理回路部の一部あるいは全てのフリップフロップをスキャン・フリップフロップに置き換え、これらスキャン・フリップフロップにより、前記メモリ回路に初期値の設定を行う初期値設定スキャン・フリップフロップ群と、この初期値設定スキャン・フリップフロップ群を介して前記メモリ回路に遷移値の設定を行う遷移値設定スキャン・フリップフロップ群と、前記メモリ回路の出力を受ける出力値設定スキャン・フリップフロップ群を形成し、これらスキャン・フリップフロップ群のスキャン・フリップフロップをシリアルに接続して半導体集積回路の外部から回路内の制御・観測を可能とした半導体集積回路において、前記論理回路部と前記メモリ回路のパスの遅延故障を検出するため、前記スキャン・フリップフロップ群のテストパターンを生成する方法であって、
前記テストパターンの生成をおこなう前記メモリ回路の書き込み制御信号の書き込み不可から書き込み可能に遷移する対象故障に対応するテスト可能最長パスを選択する工程と、
前記選択されたテスト可能最長パスの初期化を行うライトイネーブル初期化パターンを求める工程と、
前記選択されたテスト可能最長パスの活性化を行うライトイネーブル遷移パターンを求める工程と、
前記メモリ回路のアドレスラインを所定の値に設定するアドレスパターン系列を求める工程と、
前記メモリ回路のデータラインを所定の値に設定するデータパターン系列を求める工程と、
前記メモリ回路の制御信号群を前記メモリ回路に書き込みができる値に設定する制御値パターン系列を求める工程と、
前記求めたデータパターン系列に対する前記メモリ回路のデータラインの値および前記求めたアドレスパターン系列に対する前記メモリ回路のアドレスラインの値および前記求めたライトイネーブル遷移パターンにより前記メモリ回路への書き込みを行った後に、前記アドレスパターン系列に対する前記メモリ回路のアドレスラインのアドレスの値を読み出すときに、前記メモリ回路より前記出力値設定スキャン・フリップフロップ群が受ける値を期待値として求める工程と、
求めた前記ライトイネーブル初期化パターン系列と前記ライトイネーブル遷移パターン系列と前記アドレスパターン系列と前記データパターン系列と前記期待値を、前記フリップフロップ群のシリアルパターンとして生成する工程と、
前記アドレスパターン系列に対する前記メモリ回路のアドレスラインの値を初期化アドレスとして求める工程と、
前記データパターン系列に対する前記メモリ回路のデータラインの値と異なるデータを初期化データとして求める工程と、
前記初期化アドレスに前記初期化データを前記メモリ回路に書きこみができる前記メモリ回路の制御信号群の値を、メモリ初期化制御値として求める工程と、
を有することを特徴とする半導体集積回路の遅延故障テストパターン生成方法。
A memory circuit and a logic circuit unit connected to the memory circuit, and a part or all of the flip-flops of the logic circuit unit are replaced with scan flip-flops; An initial value setting scan flip-flop group for setting, a transition value setting scan flip-flop group for setting a transition value in the memory circuit via the initial value setting scan flip-flop group, and an output of the memory circuit Integrated circuit that forms an output value setting scan flip-flop group that receives power and connects the scan flip-flops of these scan flip-flops serially to enable control and observation inside the semiconductor integrated circuit In, the delay of the path between the logic circuit portion and the memory circuit To detect the disabled, a method of generating a test pattern of the scan flip-flop group,
Selecting the longest testable path corresponding to a target failure that makes a transition to a writable state from a non-writable write control signal of the memory circuit that generates the test pattern;
Obtaining a write enable initialization pattern for initializing the selected longest testable path;
Obtaining a write enable transition pattern for activating the selected longest testable path;
Obtaining an address pattern series for setting an address line of the memory circuit to a predetermined value;
Obtaining a data pattern series for setting a data line of the memory circuit to a predetermined value;
Obtaining a control value pattern series for setting a control signal group of the memory circuit to a value writable to the memory circuit;
After writing to the memory circuit by the value of the data line of the memory circuit for the determined data pattern series and the value of the address line of the memory circuit for the determined address pattern series and the determined write enable transition pattern Obtaining a value received by the output value setting scan flip-flop group from the memory circuit as an expected value when reading the value of the address of the address line of the memory circuit for the address pattern series;
Generating the write enable initialization pattern series, the write enable transition pattern series, the address pattern series, the data pattern series, and the expected value as a serial pattern of the flip-flop group;
Obtaining an address line value of the memory circuit for the address pattern series as an initialization address;
Obtaining data different from the value of the data line of the memory circuit for the data pattern series as initialization data;
Obtaining a value of a control signal group of the memory circuit capable of writing the initialization data into the memory circuit at the initialization address as a memory initialization control value;
A method for generating a delay fault test pattern for a semiconductor integrated circuit, comprising:
メモリ回路とこのメモリ回路に接続された論理回路部を備え、前記論理回路部の一部あるいは全てのフリップフロップをスキャン・フリップフロップに置き換え、これらスキャン・フリップフロップにより、前記メモリ回路に初期値の設定を行う初期値設定スキャン・フリップフロップ群と、この初期値設定スキャン・フリップフロップ群を介して前記メモリ回路に遷移値の設定を行う遷移値設定スキャン・フリップフロップ群と、前記メモリ回路の出力を受ける出力値設定スキャン・フリップフロップ群を形成し、これらスキャン・フリップフロップ群のスキャン・フリップフロップをシリアルに接続して半導体集積回路の外部から回路内の制御・観測を可能とした半導体集積回路において、前記論理回路部と前記メモリ回路のパスの遅延故障を検出するため、前記スキャン・フリップフロップ群のテストパターンを生成する方法であって、
前記テストパターンの生成をおこなう前記メモリ回路の書き込み制御信号の書き込み可能から書き込み不可に遷移する対象故障に対応するテスト可能最長パスを選択する工程と、
前記テスト可能最長パスの初期化を行うライトイネーブル初期化パターンを求める工程と、
前記テスト可能最長パスの活性化を行うライトイネーブル遷移パターンを求める工程と、
前記メモリ回路のアドレスラインを所定の値に設定するテストパターン系列を求める工程と、
前記ライトイネーブル初期化パターンと前記アドレスパターン系列に対応する前記メモリ回路に所定の値に書きこむ第1のメモリ初期化データを求める工程と、
前記ライトイネーブル遷移パターンと前記アドレスパターン系列に対応する前記メモリ回路に所定の値に書きこむ第2のメモリ初期化データを、前記第1のメモリ初期化データと異なる値で求める工程と、
前記メモリ回路の制御信号群を前記メモリ回路に書き込みができる値に設定する制御値パターン系列を求める工程と、
前記求めた第1のメモリ初期化データに対する前記メモリ回路のデータラインの値および前記求めたアドレスパターン系列に対する前記メモリ回路のアドレスラインの値および前記求めたライトイネーブル初期化パターンにより前記メモリ回路への書き込みを行った後に、前記アドレスパターン系列に対する前記メモリ回路のアドレスラインのアドレスの値を読み出すときに、前記メモリ回路より前記出力値設定スキャン・フリップフロップ群が受ける値を期待値として求める工程と、
求めた前記ライトイネーブル初期化パターンと前記ライトイネーブル遷移パターンと前記アドレスパターン系列と前記第1のメモリ初期化データと前記第2のメモリ初期化データと前記制御値パターン系列と前記期待値を、前記フリップフロップ群のシリアルパターンとして生成する工程と、
を有することを特徴とする半導体集積回路の遅延故障テストパターン生成方法。
A memory circuit and a logic circuit unit connected to the memory circuit, and a part or all of the flip-flops of the logic circuit unit are replaced with scan flip-flops; An initial value setting scan flip-flop group for setting, a transition value setting scan flip-flop group for setting a transition value in the memory circuit via the initial value setting scan flip-flop group, and an output of the memory circuit Integrated circuit that forms an output value setting scan flip-flop group that receives power and connects the scan flip-flops of these scan flip-flops serially to enable control and observation inside the semiconductor integrated circuit In, the delay of the path between the logic circuit portion and the memory circuit To detect the disabled, a method of generating a test pattern of the scan flip-flop group,
Selecting the longest testable path corresponding to the target failure that transitions from writable to writable in the write control signal of the memory circuit that generates the test pattern;
Obtaining a write enable initialization pattern for initializing the longest testable path;
Obtaining a write enable transition pattern for activating the longest testable path;
Obtaining a test pattern sequence for setting an address line of the memory circuit to a predetermined value;
Obtaining first memory initialization data to be written to a predetermined value in the memory circuit corresponding to the write enable initialization pattern and the address pattern series;
Obtaining second memory initialization data to be written to a predetermined value in the memory circuit corresponding to the write enable transition pattern and the address pattern series, with a value different from the first memory initialization data;
Obtaining a control value pattern series for setting a control signal group of the memory circuit to a value writable to the memory circuit;
The value of the data line of the memory circuit with respect to the determined first memory initialization data, the value of the address line of the memory circuit with respect to the determined address pattern series, and the determined write enable initialization pattern A step of obtaining, as an expected value, the value received by the output value setting scan flip-flop group from the memory circuit when reading the value of the address of the address line of the memory circuit with respect to the address pattern series after writing;
The obtained write enable initialization pattern, the write enable transition pattern, the address pattern series, the first memory initialization data, the second memory initialization data, the control value pattern series, and the expected value, Generating as a serial pattern of flip-flop groups;
A method for generating a delay fault test pattern for a semiconductor integrated circuit, comprising:
メモリ回路とこのメモリ回路に接続された論理回路部を備え、前記論理回路部の一部あるいは全てのフリップフロップをスキャン・フリップフロップに置き換え、これらスキャン・フリップフロップにより、前記メモリ回路に初期値の設定を行う初期値設定スキャン・フリップフロップ群と、この初期値設定スキャン・フリップフロップ群を介して前記メモリ回路に遷移値の設定を行う遷移値設定スキャン・フリップフロップ群と、前記メモリ回路の出力を受ける出力値設定スキャン・フリップフロップ群を形成し、これらスキャン・フリップフロップ群のスキャン・フリップフロップをシリアルに接続して半導体集積回路の外部から回路内の制御・観測を可能とした半導体集積回路において、前記論理回路部と前記メモリ回路のパスの遅延故障を検出するため、前記スキャン・フリップフロップ群のテストパターンを生成する方法であって、
前記テストパターンの生成をおこなう前記メモリ回路の読出し制御信号の読出し不可から読出し可能に遷移する対象故障に対応するテスト可能最長パスを選択する工程と、
前記選択されたテスト可能最長パスの初期化を行うリードイネーブル初期化パターンを求める工程と、
前記選択されたテスト可能最長パスの活性化を行うリードイネーブル遷移パターンを求める工程と、
前記メモリ回路のアドレスラインを所定の値に設定するアドレスパターン系列を求める工程と、
前記メモリ回路のデータラインを所定の値に設定するデータパターン系列を求める工程と、
前記メモリ回路の制御信号群を前記メモリ回路に前記アドレスパターン系列に対する前記メモリ回路のアドレスラインの値および前記データパターン系列に対する前記メモリ回路のデータラインの値による前記メモリ回路への書き込みができる値に設定する制御値初期化パターンを求める工程と、
前記メモリ回路の制御信号群を前記メモリ回路に前記アドレスパターン系列に対する前記メモリ回路のアドレスラインの値および前記データパターン系列に対する前記メモリ回路のデータラインの値による前記メモリ回路からの読出しができる値に設定する制御値遷移パターンを求める工程と、
前記データパターン系列に対する前記メモリ回路のデータラインの値および前記アドレスパターン系列に対する前記メモリ回路のアドレスラインの値および前記リードイネーブル初期化パターンにより前記メモリ回路への書き込みを行った後に、前記アドレスパターン系列に対する前記メモリ回路のアドレスラインのアドレスの値を読み出すときに、前記メモリ回路より前記出力値設定スキャン・フリップフロップ群が受ける値を期待値として求める工程と、
前記期待値と異なる値を出力設定値パターンとして求める工程と、
前記リードイネーブル初期化パターンと前記リードイネーブル遷移パターンと前記アドレスパターン系列と前記データパターン系列と前記制御値初期化パターンと前記制御値遷移パターンと前記出力設定値パターンと前記期待値を、前記スキャン・フリップフロップ群のシリアルパターンとして生成する工程と、
を有することを特徴とする半導体集積回路の遅延故障テストパターン生成方法。
A memory circuit and a logic circuit unit connected to the memory circuit, and a part or all of the flip-flops of the logic circuit unit are replaced with scan flip-flops; An initial value setting scan flip-flop group for setting, a transition value setting scan flip-flop group for setting a transition value in the memory circuit via the initial value setting scan flip-flop group, and an output of the memory circuit Integrated circuit that forms an output value setting scan flip-flop group that receives power and connects the scan flip-flops of these scan flip-flops serially to enable control and observation inside the semiconductor integrated circuit In, the delay of the path between the logic circuit portion and the memory circuit To detect the disabled, a method of generating a test pattern of the scan flip-flop group,
Selecting the longest testable path corresponding to the target failure that transitions to readable from the unreadable read control signal of the memory circuit that generates the test pattern;
Obtaining a read enable initialization pattern for initializing the selected longest testable path;
Obtaining a read enable transition pattern for activating the selected longest testable path;
Obtaining an address pattern series for setting an address line of the memory circuit to a predetermined value;
Obtaining a data pattern series for setting a data line of the memory circuit to a predetermined value;
The control signal group of the memory circuit is set to a value that can be written to the memory circuit by the value of the address line of the memory circuit with respect to the address pattern series and the value of the data line of the memory circuit with respect to the data pattern series. Obtaining a control value initialization pattern to be set;
The control signal group of the memory circuit is set to a value that can be read from the memory circuit by the value of the address line of the memory circuit with respect to the address pattern series and the value of the data line of the memory circuit with respect to the data pattern series. Obtaining a control value transition pattern to be set;
After writing to the memory circuit by the value of the data line of the memory circuit for the data pattern series and the value of the address line of the memory circuit for the address pattern series and the read enable initialization pattern, the address pattern series Obtaining the value received by the output value setting scan flip-flop group from the memory circuit as an expected value when reading the value of the address of the address line of the memory circuit for
Obtaining a value different from the expected value as an output set value pattern;
The read enable initialization pattern, the read enable transition pattern, the address pattern series, the data pattern series, the control value initialization pattern, the control value transition pattern, the output set value pattern, and the expected value, Generating a flip-flop group as a serial pattern;
A method for generating a delay fault test pattern for a semiconductor integrated circuit, comprising:
メモリ回路とこのメモリ回路に接続された論理回路部を備え、前記論理回路部の一部あるいは全てのフリップフロップをスキャン・フリップフロップに置き換え、これらスキャン・フリップフロップにより、前記メモリ回路に初期値の設定を行う初期値設定スキャン・フリップフロップ群と、この初期値設定スキャン・フリップフロップ群を介して前記メモリ回路に遷移値の設定を行う遷移値設定スキャン・フリップフロップ群と、前記メモリ回路の出力を受ける出力値設定スキャン・フリップフロップ群を形成し、これらスキャン・フリップフロップ群のスキャン・フリップフロップをシリアルに接続して半導体集積回路の外部から回路内の制御・観測を可能とした半導体集積回路において、前記論理回路部と前記メモリ回路のパスの遅延故障を検出するため、前記スキャン・フリップフロップ群のテストパターンを生成する方法であって、
前記テストパターンの生成をおこなう前記メモリ回路の読出し制御信号の読出し可能から読出し不可に遷移する対象故障に対応するテスト可能最長パスを選択する工程と、
前記選択されたテスト可能最長パスの初期化を行うリードイネーブル初期化パターンを求める工程と、
前記テスト可能最長パスの活性化を行うリードイネーブル遷移パターンを求める生成工程と、
前記求めたリードイネーブル初期化パターンに対応する所定の第1のメモリ初期化アドレスを求める工程と、
前記求めたリードイネーブル遷移パターンに対応する第2のメモリ初期化アドレスを、第1のメモリ初期化アドレスと異なる値で求める工程と、
前記求めた第1のメモリ初期化アドレスにおいて前記メモリ回路へ所定のデータ書きこむための第1のメモリ初期化データを求める工程と、
前記求めた第2のメモリ初期化アドレスにおいて前記メモリ回路へ書き込む第2のメモリ初期化データを、前記第1のメモリ初期化データとは異なる値で求める工程と、
前記メモリ回路の制御信号群を前記メモリ回路に前記第1のメモリ初期化データおよび前記第2のメモリ初期化データを書き込みができる値に設定するメモリ初期化制御値パターン系列を求める工程と、
前記メモリ回路に書き込んだ第1のメモリ初期化データを読み出すためのアドレスと前記メモリ回路の制御信号群を設定する初期値スキャン・フリップフロップ群の値を求める工程と、
前記メモリ回路に書き込んだ第2のメモリ初期化データを読み出すためのアドレスと前記メモリ回路の制御信号群を設定する遷移値スキャン・フリップフロップ群の値を求める工程と、
前記メモリ回路に書き込んだデータを前記初期値スキャン・フリップフロップ群の値により読み出すときに、前記メモリ回路より前記出力値設定スキャン・フリップフロップ群が受ける値を期待値として求める工程と、
求めた前記リードイネーブル初期化パターンと前記リードイネーブル遷移パターンと前記初期値スキャン・フリップフロップ群の値と前記遷移値スキャン・フリップフロップ群の値と前記期待値を、前記スキャン・フリップフロップ群のシリアルパターンとして生成する工程と、
を有することを特徴とする半導体集積回路の遅延故障テストパターン生成方法。
A memory circuit and a logic circuit unit connected to the memory circuit, and a part or all of the flip-flops of the logic circuit unit are replaced with scan flip-flops; An initial value setting scan flip-flop group for setting, a transition value setting scan flip-flop group for setting a transition value in the memory circuit via the initial value setting scan flip-flop group, and an output of the memory circuit Integrated circuit that forms an output value setting scan flip-flop group that receives power and connects the scan flip-flops of these scan flip-flops serially to enable control and observation inside the semiconductor integrated circuit In, the delay of the path between the logic circuit portion and the memory circuit To detect the disabled, a method of generating a test pattern of the scan flip-flop group,
Selecting the longest testable path corresponding to the target failure that makes a transition from readable to unreadable from the read control signal of the memory circuit that generates the test pattern;
Obtaining a read enable initialization pattern for initializing the selected longest testable path;
Generating a read enable transition pattern for activating the longest testable path; and
Obtaining a predetermined first memory initialization address corresponding to the obtained read enable initialization pattern;
Obtaining a second memory initialization address corresponding to the obtained read enable transition pattern with a value different from the first memory initialization address;
Obtaining first memory initialization data for writing predetermined data to the memory circuit at the obtained first memory initialization address;
Obtaining second memory initialization data to be written to the memory circuit at the obtained second memory initialization address with a value different from the first memory initialization data;
Obtaining a memory initialization control value pattern series for setting the control signal group of the memory circuit to a value that allows the first memory initialization data and the second memory initialization data to be written to the memory circuit;
Obtaining an address for reading first memory initialization data written in the memory circuit and a value of an initial value scan flip-flop group for setting a control signal group of the memory circuit;
Obtaining an address for reading the second memory initialization data written in the memory circuit and a value of a transition value scan flip-flop group for setting a control signal group of the memory circuit;
A step of obtaining, as an expected value, a value received by the output value setting scan flip-flop group from the memory circuit when reading the data written in the memory circuit by a value of the initial value scan flip-flop group;
The read enable initialization pattern, the read enable transition pattern, the value of the initial value scan flip-flop group, the value of the transition value scan flip-flop group, and the expected value are obtained as a serial number of the scan flip-flop group. Generating as a pattern;
A method for generating a delay fault test pattern for a semiconductor integrated circuit, comprising:
メモリ回路とメモリテスト回路とこれらメモリ回路およびメモリテスト回路に接続された論理回路部を備え、前記論理回路部の一部あるいは全てのフリップフロップをスキャン・フリップフロップに置き換え、これらスキャン・フリップフロップにより、前記メモリ回路に初期値の設定を行う初期値設定スキャン・フリップフロップ群と、この初期値設定スキャン・フリップフロップ群を介して前記メモリ回路に遷移値の設定を行う遷移値設定スキャン・フリップフロップ群と、前記メモリ回路の出力を受ける出力値設定スキャン・フリップフロップ群を形成し、これらスキャン・フリップフロップ群のスキャン・フリップフロップをシリアルに接続して半導体集積回路の外部から回路内の制御・観測を可能とした半導体集積回路において、前記論理回路部と前記メモリ回路のパスの遅延故障の有無を検査する検査方法であって、
メモリ初期化データを前記メモリテスト回路から前記メモリ回路へ印加する工程と、
前記初期値設定スキャン・フリップフロップ群と遷移値設定スキャン・フリップフロップ群と出力値設定スキャン・フリップフロップ群に、テストパターンを設定する工程と、
前記メモリ回路および前記スキャン・フリップフロップ群へ前記メモリ回路の実動作速度でクロックを印加する工程と、
前記出力値設定スキャン・フリップフロップ群の値を読み出す工程と、
を有することを特徴とする半導体集積回路の遅延故障検査方法。
A memory circuit, a memory test circuit, and a logic circuit unit connected to the memory circuit and the memory test circuit, wherein a part or all of the flip-flops of the logic circuit unit are replaced with scan flip-flops; An initial value setting scan flip-flop group for setting an initial value in the memory circuit, and a transition value setting scan flip-flop group for setting a transition value in the memory circuit via the initial value setting scan flip-flop group And an output value setting scan flip-flop group that receives the output of the memory circuit, and the scan flip-flops of the scan flip-flop group are connected in series to control the circuit in the circuit from the outside of the semiconductor integrated circuit. In semiconductor integrated circuits that enable observation, Serial An inspection method for inspecting the presence or absence of a delay fault of the path of the logic circuit portion and the memory circuit,
Applying memory initialization data from the memory test circuit to the memory circuit;
A step of setting a test pattern in the initial value setting scan flip-flop group, the transition value setting scan flip-flop group, and the output value setting scan flip-flop group;
Applying a clock to the memory circuit and the scan flip-flop group at an actual operation speed of the memory circuit;
Reading the value of the output value setting scan flip-flop group;
A method for delay fault inspection of a semiconductor integrated circuit, comprising:
JP2004009929A 2004-01-19 2004-01-19 Method of generating delay trouble test pattern for semiconductor integrated circuit, and method of inspecting delay trouble therefor Pending JP2005201829A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004009929A JP2005201829A (en) 2004-01-19 2004-01-19 Method of generating delay trouble test pattern for semiconductor integrated circuit, and method of inspecting delay trouble therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004009929A JP2005201829A (en) 2004-01-19 2004-01-19 Method of generating delay trouble test pattern for semiconductor integrated circuit, and method of inspecting delay trouble therefor

Publications (1)

Publication Number Publication Date
JP2005201829A true JP2005201829A (en) 2005-07-28

Family

ID=34822801

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004009929A Pending JP2005201829A (en) 2004-01-19 2004-01-19 Method of generating delay trouble test pattern for semiconductor integrated circuit, and method of inspecting delay trouble therefor

Country Status (1)

Country Link
JP (1) JP2005201829A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008268185A (en) * 2007-03-22 2008-11-06 Nec Electronics Corp Test circuit, pattern generation system, and pattern generation method
KR20160116931A (en) * 2015-03-31 2016-10-10 (주)피델릭스 Semiconductor memory device improving test efficiency

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008268185A (en) * 2007-03-22 2008-11-06 Nec Electronics Corp Test circuit, pattern generation system, and pattern generation method
KR20160116931A (en) * 2015-03-31 2016-10-10 (주)피델릭스 Semiconductor memory device improving test efficiency
KR101705589B1 (en) 2015-03-31 2017-04-04 (주)피델릭스 Semiconductor memory device improving test efficiency

Similar Documents

Publication Publication Date Title
TW200424842A (en) Method and apparatus for testing embedded cores
US20070266278A1 (en) Method for at-speed testing of memory interface using scan
US8645778B2 (en) Scan test circuitry with delay defect bypass functionality
US20050204239A1 (en) Method for testing semiconductor integrated circuit
JP2006236551A (en) Semiconductor integrated circuit having test function and manufacturing method
US20030074616A1 (en) ASIC BIST controller employing multiple clock domains
US20130275824A1 (en) Scan-based capture and shift of interface functional signal values in conjunction with built-in self-test
US20030074619A1 (en) Memory bist employing a memory bist signature
EP1302777A2 (en) Dual mode ASIC BIST Controller
JP2010256130A (en) Semiconductor integrated circuit and method for testing the same
JP2005332555A (en) Test circuit, test method and semiconductor integrated circuit device
US7484154B2 (en) Semiconductor integrated circuit, method for testing semiconductor integrated circuit, and computer readable medium for the same
JP2010102791A (en) Semiconductor device and method of testing the same
US20030074617A1 (en) ASIC BIST employing stored indications of completion
US20030074620A1 (en) Configurable asic memory bist controller employing multiple state machines
JP2008505310A (en) CIRCUIT DEVICE AND METHOD FOR TESTING APPLICATION CIRCUIT PROVIDED IN THE CIRCUIT DEVICE
JP2006048754A (en) Semiconductor device
JP2011099835A (en) Scan test circuit and scan test method
JP2001297598A (en) Semiconductor integrated circuit device, and self-test method for semiconductor integrated circuit device
JP2007272982A (en) Semiconductor storage device and its inspection method
JP2005201829A (en) Method of generating delay trouble test pattern for semiconductor integrated circuit, and method of inspecting delay trouble therefor
JP4622443B2 (en) Semiconductor integrated circuit
JP2005309787A (en) Central processing unit and microcomputer
JP4176944B2 (en) Semiconductor integrated circuit and recording medium
JP2006277821A (en) Semiconductor integrated circuit