JP2005222692A - Inspection device for semiconductor memory - Google Patents

Inspection device for semiconductor memory Download PDF

Info

Publication number
JP2005222692A
JP2005222692A JP2005062254A JP2005062254A JP2005222692A JP 2005222692 A JP2005222692 A JP 2005222692A JP 2005062254 A JP2005062254 A JP 2005062254A JP 2005062254 A JP2005062254 A JP 2005062254A JP 2005222692 A JP2005222692 A JP 2005222692A
Authority
JP
Japan
Prior art keywords
circuit
signal
data
test
ram
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
JP2005062254A
Other languages
Japanese (ja)
Other versions
JP2005222692A6 (en
Inventor
Hideshi Maeno
秀史 前野
Tokuya Oosawa
徳哉 大澤
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.)
Renesas Technology Corp
Original Assignee
Renesas Technology Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Renesas Technology Corp filed Critical Renesas Technology Corp
Priority to JP2005062254A priority Critical patent/JP2005222692A/en
Publication of JP2005222692A publication Critical patent/JP2005222692A/en
Publication of JP2005222692A6 publication Critical patent/JP2005222692A6/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an inspection device of a semiconductor memory, which readily compensates for errors produced in data when failures generate in the semiconductor memory 703, and operates as a desired RAM, even if the failures are present in data input/output. <P>SOLUTION: The semiconductor memory 703 is tested by a test circuit 702, each test result of plurality of digits is held by a data-holding means 706 in the test circuit 702, and the digit of the defective data, concerning the failures in the semiconductor memory 703, is designated. Based on the designation, the errors produced in the data are compensated by a redundant circuit 704. Errors produced in the data, when the failures generated in semiconductor memory 703, are compensated readily, and operation as a desired RAM, even if the failures are present in the data input/output, is performed. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、複数のRAM、ROM等を含んで構成された論理集積回路としての半導体メモリについて機能テストを行う検査装置に関する。   The present invention relates to an inspection apparatus that performs a function test on a semiconductor memory as a logic integrated circuit including a plurality of RAMs, ROMs, and the like.

{第1の従来例}
図22は例えばU.S.Patent:4,926,424に示された二相クロック方式の第1の従来例の半導体メモリの検査装置のスキャンレジスタ414aを示す回路図である。図22において、401aと401bはラッチ回路、402はセレクタ回路、408はセレクタ制御端子、409はシリアル入力端子、410はパラレル入力端子、411はパラレル出力端子、412はシリアル出力端子である。415と416は二相クロック方式のクロック端子、419はイクスクルーシブNOR回路(以下、ex.NOR回路という)、420はNOR回路、421はOR回路、422はテストクロック端子である。
{First Conventional Example}
FIG. S. It is a circuit diagram showing a scan register 414a of a semiconductor memory inspection device of a first conventional example of a two-phase clock method shown in Patent: 4,926,424. In FIG. 22, 401a and 401b are latch circuits, 402 is a selector circuit, 408 is a selector control terminal, 409 is a serial input terminal, 410 is a parallel input terminal, 411 is a parallel output terminal, and 412 is a serial output terminal. Reference numerals 415 and 416 denote two-phase clock terminals, 419 denotes an exclusive NOR circuit (hereinafter referred to as ex.NOR circuit), 420 denotes a NOR circuit, 421 denotes an OR circuit, and 422 denotes a test clock terminal.

次に動作について説明する。テストクロック端子422を‘H’レベルに固定すると、NOR回路420の出力は‘L’レベルになるのでOR回路421は一方のクロック端子415のレベルをそのままラッチ回路401aのイネーブル端子ENに伝える。従って、この場合には両クロック端子415,416に2相のクロック信号を与えることにより、シリアル入力端子409あるいはパラレル入力端子410に供給されたデータをシリアル出力端子412とパラレル出力端子411に伝えることができる。   Next, the operation will be described. When the test clock terminal 422 is fixed to the “H” level, the output of the NOR circuit 420 becomes the “L” level, so that the OR circuit 421 transmits the level of one clock terminal 415 to the enable terminal EN of the latch circuit 401 a as it is. Therefore, in this case, by supplying a two-phase clock signal to both clock terminals 415 and 416, the data supplied to the serial input terminal 409 or the parallel input terminal 410 is transmitted to the serial output terminal 412 and the parallel output terminal 411. Can do.

一方、RAMなどの被テスト回路の読出しテスト時には、ラッチ回路401aとラッチ回路401bに期待データをセットしておき、この状態でテストクロック端子422にクロック信号を与えることで、パラレル入力端子410のデータが期待データと異なるときのみラッチ回路401aにパラレル入力端子のデータがラッチされ、ラッチ回路401aの内容が反転する。   On the other hand, in a read test of a circuit under test such as a RAM, expected data is set in the latch circuit 401a and the latch circuit 401b, and a clock signal is supplied to the test clock terminal 422 in this state, whereby the data at the parallel input terminal 410 is stored. Only when the data is different from the expected data, the data of the parallel input terminal is latched in the latch circuit 401a, and the contents of the latch circuit 401a are inverted.

すなわち、期待データと異なったデータがRAMなどの被テスト回路から読み出されパラレル入力端子410に加えられると、ラッチ回路401aには期待データと異なったデータがラッチされるので、このラッチ回路401aにラッチされたデータからRAMなどの被テスト回路に異常があることを知ることが出来る。   That is, when data different from the expected data is read from the test circuit such as the RAM and applied to the parallel input terminal 410, the data different from the expected data is latched in the latch circuit 401a. It can be known from the latched data that there is an abnormality in the circuit under test such as RAM.

図23は、図22に示したスキャンレジスタ414aにより構成したスキャンパスを示すブロック図である。   FIG. 23 is a block diagram showing a scan path configured by the scan register 414a shown in FIG.

{第2の従来例}
第2の従来例(特開昭62−195572号公報、U.S.Patent:4,813,043を参照)の半導体メモリの検査装置を図57に示す。第2の従来例では、かかる検査装置として、疑似乱数(疑似ランダム系列)発生用アルゴリズミックパターン発生回路(リニアフィードバックシフトレジスタ回路:以下、LFSR回路と称す)が使用される。図57中の501は基準となるデータを格納するベースデータレジスタ、502は定数演算を行う際の定数を供給する定数レジスタ、503はシフトイン機能が付与され種々の算術論理演算を行う算術論理演算ユニット(ALU)、504はALU503の入力を選択するセレクタ、505はALU503の演算結果を保持するためのALU出力レジスタ、506はビット選択レジスタ、507はAND演算回路、508はパリティ検出回路である。
{Second Conventional Example}
FIG. 57 shows a semiconductor memory inspection device of a second conventional example (see Japanese Patent Laid-Open No. 62-195572, US Patent: 4,813,043). In the second conventional example, a pseudorandom number (pseudorandom sequence) generating algorithmic pattern generating circuit (linear feedback shift register circuit: hereinafter referred to as LFSR circuit) is used as such an inspection apparatus. In FIG. 57, 501 is a base data register for storing reference data, 502 is a constant register for supplying constants when performing constant operations, and 503 is an arithmetic logic operation for performing various arithmetic logic operations with a shift-in function. A unit (ALU) 504 is a selector for selecting the input of the ALU 503, 505 is an ALU output register for holding the operation result of the ALU 503, 506 is a bit selection register, 507 is an AND operation circuit, and 508 is a parity detection circuit.

図58は4ビットのLFSR回路の一例を示す論理回路図である。図58中の509は排他的論理和(Ex.OR)回路、510,511,512,513はフリップフロップ回路、CLKはクリック信号入力端子を夫々示している。排他的論理和回路509は図57中のパリティ検出回路508に対応し、フリップフロップ回路510,511,512,513は図57中のALU出力レジスタ505に対応している。図58では排他的論理和回路509に対して二個のフリップフロップ回路510,513から入力が行われているが、これは、図57中のビット選択レジスタ506に対し1001(二進法)が選択されていることに対応している。   FIG. 58 is a logic circuit diagram showing an example of a 4-bit LFSR circuit. In FIG. 58, reference numeral 509 denotes an exclusive OR (Ex.OR) circuit, 510, 511, 512, and 513 denote flip-flop circuits, and CLK denotes a click signal input terminal. The exclusive OR circuit 509 corresponds to the parity detection circuit 508 in FIG. 57, and the flip-flop circuits 510, 511, 512, and 513 correspond to the ALU output register 505 in FIG. 58, the exclusive OR circuit 509 is input from two flip-flop circuits 510 and 513. This is because 1001 (binary system) is selected for the bit selection register 506 in FIG. It corresponds to that.

かかる構成の第2の従来例のLFSR回路では、ALU出力レジスタ505の任意のビット郡に対してパリティ検出が行われ、その検出結果がALU503における演算動作と同時にALU503にシフトインされてALU出力レジスタ505が更新され、複雑な疑似乱数のパターンが高速に発生される。ここで、第2の従来例のLFSR回路では、機能テスト用アルゴリズミックパターンとして2n個の疑似乱数(疑似ランダム系列)を発生していた。 In the LFSR circuit of the second conventional example having such a configuration, parity detection is performed on an arbitrary bit group of the ALU output register 505, and the detection result is shifted into the ALU 503 at the same time as the arithmetic operation in the ALU 503. 505 is updated, and a complicated pseudo random number pattern is generated at high speed. Here, in the LFSR circuit of the second conventional example, 2 n pseudorandom numbers (pseudorandom series) are generated as an algorithmic pattern for function test.

かかる第2の従来例のLFSR回路をアドレス発生回路として用いて、全周期系列のテストデータを複数のRAMのアドレス設定に用いた場合の動作を、図59に基づいて説明する。図59はアドレス入力系を示す図である。図59中の521a〜521cはRAM、522a〜522cはRAM521a〜521cの機能テスト時に各RAM521a〜521cのアドレスを選択するシフトレジスタ、523は第2の従来例のLFSR回路(アドレス発生回路)を含むテストパターン発生回路、SIAは全シフトレジスタ522a〜522cに対してアドレス指定データを送信する共通配線である。そして、図59の如く、一つのテストパターン発生回路523に複数のRAM521a〜521cが接続されている。なお、A0〜A4はRAM521a〜521cのアドレス入力端子であり、RAM521aは四端子入力、RAM521bは五端子入力、RAM521cは四端子入力とされている。   The operation in the case where the LFSR circuit of the second conventional example is used as the address generation circuit and the test data of the whole period series is used for address setting of a plurality of RAMs will be described with reference to FIG. FIG. 59 shows an address input system. 59, 521a to 521c are RAMs, 522a to 522c are shift registers for selecting the addresses of the RAMs 521a to 521c at the time of a function test of the RAMs 521a to 521c, and 523 includes an LFSR circuit (address generation circuit) of the second conventional example. The test pattern generation circuit, SIA, is a common wiring for transmitting addressing data to all the shift registers 522a to 522c. As shown in FIG. 59, a plurality of RAMs 521a to 521c are connected to one test pattern generation circuit 523. A0 to A4 are address input terminals of the RAMs 521a to 521c. The RAM 521a is a four-terminal input, the RAM 521b is a five-terminal input, and the RAM 521c is a four-terminal input.

RAM521a〜521cの機能テスト時には、まず、テストパターン発生回路523にてアドレス指定データを共通配線SIAに出力する。共通配線SIAに共通に接続されたシフトレジスタ522a〜522cは、送信されるアドレス指定データにてシフトインされ、RAM521a〜521cのアドレスを選択する。   In the function test of the RAMs 521a to 521c, the test pattern generation circuit 523 first outputs address designation data to the common wiring SIA. The shift registers 522a to 522c connected in common to the common wiring SIA are shifted in by the addressing data to be transmitted, and select the addresses of the RAMs 521a to 521c.

ここで、四個のアドレス入力端子A0〜A3をもつRAM521a,521cに対しては、テストパターン発生回路523にて四次の全周期系列を発生させ、これに基づいてRAM521a,521cのアドレス設定を行う。同様に、五個のアドレス入力端子A0〜A4を持つRAM521bについては、テストパターン発生回路523にて五次の全周期系列を発生させ、これに基づいてRAM521bのアドレス設定を行う。   Here, for the RAMs 521a and 521c having the four address input terminals A0 to A3, the test pattern generation circuit 523 generates a quaternary full cycle sequence, and based on this, the addresses of the RAMs 521a and 521c are set. Do. Similarly, for the RAM 521b having five address input terminals A0 to A4, the test pattern generation circuit 523 generates a fifth-order full cycle sequence, and the address setting of the RAM 521b is performed based on this.

{第3の従来例}
第3の従来例の半導体メモリの検査装置は、アドレス発生回路にてアドレスのインクリメントまたはディクリメントを行うものである。すなわち、図59の如く、第2の従来例と同様のテストパターン発生回路(LFSR回路)523に、別部材としての一般的なカウンタを接続し、かかるカウンタとLFSR回路523の連携動作にて冗長ビットのキャンセルを行う。
{Third conventional example}
The third conventional semiconductor memory testing apparatus increments or decrements addresses by an address generation circuit. That is, as shown in FIG. 59, a common counter as a separate member is connected to the same test pattern generation circuit (LFSR circuit) 523 as in the second conventional example, and redundant operation is achieved by the cooperative operation of the counter and the LFSR circuit 523. Cancel bit.

{第4の従来例}
第4の従来例の半導体メモリの検査装置を図132に示す。図132中の半導体メモリ(RAM1、RAM2およびRAM3)は、夫々データ出力用スキャンパスDO(データ圧縮機能付スキャンFF)を有しており、先行する半導体メモリのスキャンパスDOからの出力は、後続する半導体メモリに入力される。テスト時のテスト結果は、各スキャンパスのシフト動作にて行う。かかる半導体メモリの夫々について、テストに当たってデータの圧縮を行いたい場合には、SINH信号(シフト禁止信号)を入力してスキャンパスDOのシフト動作を禁止していた。
{Fourth conventional example}
FIG. 132 shows a fourth conventional semiconductor memory inspection apparatus. The semiconductor memories (RAM1, RAM2, and RAM3) in FIG. 132 each have a data output scan path DO (scan FF with a data compression function), and the output from the scan path DO of the preceding semiconductor memory is subsequent. Input to the semiconductor memory. The test result at the time of the test is performed by the shift operation of each scan path. For each of such semiconductor memories, when it is desired to compress data in the test, an SINH signal (shift prohibition signal) is input to prohibit the shift operation of the scan path DO.

{第5の従来例}
図157および図158は第5の従来例の冗長回路を示す図である。該冗長回路は、複数のメモリセルCが接続された複数の信号線L1〜L4と、該複数の信号線L1〜L4に接続されたデコーダ(図示せず)とを有するものであって、複数のメモリセルCが接続された少なくと1本の予備信号線L5を具備している。また、図157および図158中のD1〜D4はデコーダに接続される駆動回路である。
{Fifth conventional example}
FIGS. 157 and 158 are diagrams showing a redundant circuit of a fifth conventional example. The redundant circuit includes a plurality of signal lines L1 to L4 to which a plurality of memory cells C are connected, and a decoder (not shown) connected to the plurality of signal lines L1 to L4. Are provided with at least one spare signal line L5 connected thereto. In addition, D1 to D4 in FIGS. 157 and 158 are drive circuits connected to the decoder.

そして、図157および図158中のSはスイッチ部、S1〜S4はスイッチ部S内の個々のスイッチング素子である。なお、スイッチング素子S1〜S4としてはトランジスタが用いられることが多かった。このうち、第1のスイッチング素子S1は、上記複数の信号線L1〜L4の中の第1の信号線L1に欠陥がある場合に、上記駆動回路D1と上記第1の信号線L1との間の接続を外し、かつ、上記デコーダの上記第1の信号線L1への上記駆動回路D1を上記第1の信号線L1と隣接した第2の信号線L2に接続する。また、第2のスイッチング素子S2は、上記複数の信号線L1〜L4の中の第2の信号線L2に欠陥がある場合に、上記駆動回路D2と上記第2の信号線L2との間の接続を外し、かつ、上記デコーダの上記第2の信号線L2への上記駆動回路D2を上記第2の信号線L2と隣接した第3の信号線L3に接続する。同様に、第3のスイッチング素子S3は、上記複数の信号線L1〜L4の中の第3の信号線L3に欠陥がある場合に、上記駆動回路D3と上記第3の信号線L3との間の接続を外し、かつ、上記デコーダの上記第3の信号線L3への上記駆動回路D3を上記第3の信号線L3と隣接した第4の信号線L4に接続する。さらに、第4のスイッチング素子は、上記デコーダの残りの上記駆動回路D4を上記予備信号線L5に接続する。   In FIG. 157 and FIG. 158, S denotes a switch unit, and S1 to S4 denote individual switching elements in the switch unit S. Transistors are often used as the switching elements S1 to S4. Among these, the first switching element S1 is provided between the drive circuit D1 and the first signal line L1 when the first signal line L1 among the plurality of signal lines L1 to L4 is defective. And the driving circuit D1 to the first signal line L1 of the decoder is connected to the second signal line L2 adjacent to the first signal line L1. The second switching element S2 is provided between the drive circuit D2 and the second signal line L2 when the second signal line L2 among the plurality of signal lines L1 to L4 is defective. The connection is disconnected, and the driving circuit D2 to the second signal line L2 of the decoder is connected to the third signal line L3 adjacent to the second signal line L2. Similarly, the third switching element S3 is provided between the drive circuit D3 and the third signal line L3 when the third signal line L3 among the plurality of signal lines L1 to L4 is defective. And the drive circuit D3 to the third signal line L3 of the decoder is connected to the fourth signal line L4 adjacent to the third signal line L3. Further, the fourth switching element connects the remaining drive circuit D4 of the decoder to the spare signal line L5.

かかる構成では、欠陥の発生した複数の信号線L1〜L4を、順次予備の予備信号線L5から隣の複数の信号線へと接続してゆくことにより、欠陥のあるいずれかの信号線L1〜L4を外すことができる。   In such a configuration, a plurality of defective signal lines L1 to L4 are sequentially connected from a spare spare signal line L5 to a plurality of adjacent signal lines, whereby any defective signal lines L1 to L1 are connected. L4 can be removed.

{第1の従来例の課題}
第1の従来例の二相クロック方式の半導体メモリの検査装置は、上記のように構成されているので、一対のクロック端子415,416に二相のクロック信号を与えることが必要であり、RAMなどの被テスト回路を高速でテストするときには、一対のクロック端子415,416に高速の二相クロック信号を与えるための複雑な駆動が可能なクロックドライバ回路が必要となる問題点があった。
{Problems of the first conventional example}
Since the two-phase clock type semiconductor memory inspection device of the first conventional example is configured as described above, it is necessary to supply a two-phase clock signal to the pair of clock terminals 415 and 416. When a circuit under test such as the above is tested at a high speed, there has been a problem that a clock driver circuit capable of complicated driving for supplying a high-speed two-phase clock signal to the pair of clock terminals 415 and 416 is required.

この発明は上記課題に鑑み、二相クロック信号を与えるための複雑なクロックドライバ回路を不要にできる、すなわち、一相のクロック信号で駆動し得る半導体メモリの検査装置を提供することを目的とする。   SUMMARY OF THE INVENTION In view of the above problems, an object of the present invention is to provide a semiconductor memory inspection apparatus that can eliminate the need for a complicated clock driver circuit for supplying a two-phase clock signal, that is, can be driven by a one-phase clock signal. .

{第2の従来例の課題}
通常、RAM等のテストに用いられる機能テストとして、例えばマーチテストがある。このテストは、全てのRAMの全てのアドレス指定データについて、初期状態である初期格納データ(例えば、“0”)から新規の格納データ(“1”)に更新するものである。かかるマーチテストの場合、データ更新の対象となるRAMのアドレスを指定する必要がある。第2の従来例では、RAMのアドレス指定のために、上述の如くテストパターン発生回路523のLFSR回路にて疑似乱数の全周期系列を2n個分発生させていたが、実際のRAMのアドレス数nは、例えば図59中のRAM521aの場合は四個、RAM521bの場合は五個というように、RAMの種類によって未定である。したがって、アドレス数nの二進(「0」、「1」)の組み合わせによって決まるワード数2nも未定である。このため、仮にLFSR回路で発生する2n次の全周期系列が実際のRAMのワード数より少なければ、機能テストを実行できないワードが生じてしまうことになる。逆にLFSR回路で発生する2n次の全周期系列が実際のRAMのワード数より多ければ、全周期系列を発生しても、一部のデータがシフトレジスタからはみ出てしまい誤ったアドレスが認識されるおそれがあった。すなわち、第2の従来例の場合、LFSR回路で発生する全周期系列の個数2nとRAMのワード数とが完全に一致していなければならず、機能テストするRAMの自由度が制限されるという欠点があった。
{Problem of the second conventional example}
Usually, for example, there is a march test as a function test used for testing a RAM or the like. In this test, all address designation data in all RAMs are updated from initial storage data (for example, “0”) which is an initial state to new storage data (“1”). In the case of such a march test, it is necessary to specify an address of a RAM to be updated. In the second conventional example, in order to specify the RAM address, the LFSR circuit of the test pattern generation circuit 523 generates 2 n total periodic sequences of pseudo-random numbers as described above. The number n is undetermined depending on the type of RAM, for example, four in the case of the RAM 521a in FIG. 59 and five in the case of the RAM 521b. Therefore, the number of words 2 n determined by the combination of the binary number (“0”, “1”) of the address number n is also undetermined. For this reason, if the 2 n -th complete periodic sequence generated in the LFSR circuit is smaller than the actual number of words in the RAM, a word that cannot be subjected to the function test will be generated. On the other hand, if the 2 n -th complete cycle sequence generated by the LFSR circuit is larger than the actual number of words in the RAM, even if the full cycle sequence is generated, a part of the data protrudes from the shift register and the wrong address is recognized. There was a risk of being. That is, in the case of the second conventional example, the number 2n of all periodic sequences generated in the LFSR circuit must completely match the number of words in the RAM, and the degree of freedom of the RAM for function testing is limited. There was a drawback.

本発明は、上記課題に鑑み、複数個のRAMの機能テストを行うにあたって任意のワード数のRAMをテストし得る半導体メモリの検査装置を提供することを目的とする。   In view of the above problems, an object of the present invention is to provide a semiconductor memory inspection apparatus capable of testing a RAM having an arbitrary number of words when performing a function test of a plurality of RAMs.

また、RAMの機能テストを実施する場合、全アドレス、ビット等を動かしながらバーインをする必要がある(ダイナミックバーイン)。しかしながら、機能テストを行うRAMの接続数が多い場合、一般にバーイン用のテスタは複雑な制御信号を発生できないものが多く、テストパターン生成の前に必要なビット線選択レジスタ等の初期設定ができない。   Also, when performing a RAM functional test, it is necessary to burn in while moving all addresses, bits, etc. (dynamic burn-in). However, when there are a large number of connected RAMs for performing functional tests, generally, burn-in testers often cannot generate complex control signals, and initial setting of bit line selection registers and the like necessary before test pattern generation cannot be performed.

本発明は、上記課題に鑑み、テストパターン生成の前に必要なビット線選択レジスタ等の初期設定が可能な半導体メモリの検査装置を提供することをも目的とする。   An object of the present invention is to provide a semiconductor memory inspection device capable of initial setting of a bit line selection register or the like necessary before test pattern generation.

{第3の従来例の課題}
第2の従来例で問題となっていたビット数の不整合は、第3の従来例のように構成すれば、カウンタとLFSR回路523の連携動作にて冗長ビットのキャンセルを行うことで解決できる。しかしながら一般にカウンタはLFSR回路523に比べて面積規模が大きく、単一の集積回路内に集積するのは困難で、アドレスバスを外側に出して外部にカウンタを外付けしていた。したがって、カウンタ分の面積が余分に必要なだけでなく、アドレスバス等の配線機構をも必要とし、面積効率を大幅に低下させる要因となる。
{Problem of the third conventional example}
The mismatch in the number of bits, which has been a problem in the second conventional example, can be solved by canceling redundant bits by the cooperative operation of the counter and the LFSR circuit 523 if configured as in the third conventional example. . However, in general, the counter has a larger area size than the LFSR circuit 523, and it is difficult to integrate the counter in a single integrated circuit, and the counter is externally provided with the address bus outside. Therefore, not only an area for the counter is required, but also a wiring mechanism such as an address bus is required, which is a factor of greatly reducing the area efficiency.

本発明は、上記課題に鑑み、小面積の半導体メモリの検査装置を提供することをも目的とする。   The present invention has been made in view of the above problems, and it is another object of the present invention to provide an inspection apparatus for a semiconductor memory having a small area.

{第4の従来例の課題}
上記第4の従来例において、複数個のスキャンパスDOについて同一のSINH信号を供給するよう配線していたので、常に複数個の半導体メモリに対してSINH信号を供給することになる。そうすると、不可容量により高速動作を行うことができず、テスト効率の向上の限界となっていた。
{Problem of Fourth Conventional Example}
In the fourth conventional example, since the same SINH signal is supplied to a plurality of scan paths DO, the SINH signal is always supplied to a plurality of semiconductor memories. As a result, high speed operation cannot be performed due to the impossibility of capacity, which has been the limit for improving test efficiency.

本発明は、上記課題に鑑み、内蔵するRAMコアのテストを高速で行い得る半導体メモリの検査装置を提供することをも目的とする。   SUMMARY OF THE INVENTION In view of the above problems, an object of the present invention is to provide a semiconductor memory inspection apparatus capable of testing a built-in RAM core at high speed.

{第5の従来例の課題}
第5の従来例では、欠陥の発生した信号線L1〜L4を発見した後、レーザ装置等を用いてスイッチング素子S1〜S4を切断し、書き込み等のドライバーの接続を外していた。しかしながら、かかる切断のための装置が大型化し、それに伴ってコストも上昇する。
{Problem of the fifth conventional example}
In the fifth conventional example, after the signal lines L1 to L4 in which defects are generated are found, the switching elements S1 to S4 are disconnected using a laser device or the like, and the connection of a driver such as writing is disconnected. However, the apparatus for cutting becomes larger, and the cost increases accordingly.

本発明は、上記課題に鑑み、装置を小型化でき、かつコストを低減し得る半導体メモリの検査装置を提供することをも目的とする。   An object of the present invention is to provide an inspection apparatus for a semiconductor memory that can reduce the size of the apparatus and reduce the cost.

本発明の請求項1に係る課題解決手段は、半導体メモリのテストを実施し、当該半導体メモリの複数桁のテスト結果を保持するデータ保持手段を有するテスト回路と、前記テスト回路での前記テストの結果に基づいて前記半導体メモリに故障が発生した際にデータに生じる誤りを補償する冗長回路と
を備え、前記冗長回路は、前記半導体メモリの複数桁のデータの夫々に対応して接続される複数の信号線と、前記信号線に隣接される予備線と、前記複数の信号線のうち、前記テスト回路の前記データ保持手段で保持されたテスト結果に応じて不良ビットであると指定された桁に対応する信号線を境とする一方向側の信号線に関して二値のうちの一方の値を出力し、他方向側の信号線に関して二値のうちの他方の値を出力する二値信号指定部と、前記二値信号指定部からの二値信号に基づいて、不良ビットであると指定された桁に対応する信号線の接続を外し、端部の信号線を前記予備線に切換接続するとともに他の信号線を当該他の信号線に隣接する信号線に順次切換接続するセレクタ群と
を備える。
According to a first aspect of the present invention, there is provided a problem solving means comprising: a test circuit having a data holding means for carrying out a test of a semiconductor memory and holding a test result of a plurality of digits of the semiconductor memory; and And a redundant circuit that compensates for an error that occurs in the data when a failure occurs in the semiconductor memory based on a result, and the redundant circuit is connected to each of a plurality of digits of data in the semiconductor memory. Among the plurality of signal lines, a digit designated as a defective bit according to a test result held by the data holding means of the test circuit, among the plurality of signal lines. Binary signal specification that outputs one of the two values for the signal line on one side of the signal line corresponding to the signal line and outputs the other value of the two values for the signal line on the other direction side Department and Based on the binary signal from the binary signal designating unit, disconnect the signal line corresponding to the digit designated to be a defective bit, and switch and connect the signal line at the end to the spare line. And a selector group for sequentially switching and connecting the signal lines to the signal lines adjacent to the other signal lines.

本発明の請求項2に係る課題解決手段は、前記データ保持手段が、前記テストの結果をスキャンして出力する。   In the problem solving means according to claim 2 of the present invention, the data holding means scans and outputs the result of the test.

本発明の請求項3に係る課題解決手段は、前記冗長回路が、データビット毎に書き込みを制御する信号を前記半導体メモリに出力するためのビットライト制御信号出力端子を有し、前記半導体メモリが、前記冗長回路の前記ビットライト制御信号出力端子から与えられた信号に応じて、不良ビットであると指定された桁の書き込みを抑制する。   According to a third aspect of the present invention, there is provided the problem solving means, wherein the redundant circuit has a bit write control signal output terminal for outputting a signal for controlling writing for each data bit to the semiconductor memory. In response to a signal given from the bit write control signal output terminal of the redundant circuit, writing of a digit designated as a defective bit is suppressed.

本発明の請求項4に係る課題解決手段は、前記データ保持手段は、前記不良データの桁に対応して二値のうちの一方の値を保持し、かつ他の桁に対応して二値のうちの他方の値を保持することで前記半導体メモリ内の故障にかかる不良データの桁を指定する二値データ保持手段であり、前記二値信号指定部は、前記半導体メモリの複数桁のデータに対応する複数の論理積回路を有し、前記複数の論理積回路の一の入力端子は、前記二値データ保持手段の対応する桁に夫々接続され、前記複数の論理積回路の他の入力端子は、当該論理積回路の大桁側および小桁側の一方に隣接する論理積回路の出力端子に順次接続される。   According to a fourth aspect of the present invention, there is provided the problem solving means, wherein the data holding means holds one of the two values corresponding to the digit of the defective data and the binary corresponding to the other digit. Is a binary data holding means for designating a digit of defective data related to a failure in the semiconductor memory by holding the other value, and the binary signal designating unit is a plurality of digits of data in the semiconductor memory. And one input terminal of the plurality of AND circuits is connected to a corresponding digit of the binary data holding means, respectively, and the other inputs of the plurality of AND circuits The terminals are sequentially connected to the output terminal of the AND circuit adjacent to one of the large digit side and the small digit side of the AND circuit.

本発明の請求項5に係る課題解決手段は、前記冗長回路が、不良ビットに対応する桁のビットライト制御信号出力端子を不活性状態にする。   In the problem solving means according to claim 5 of the present invention, the redundant circuit inactivates the bit write control signal output terminal of the digit corresponding to the defective bit.

本発明に係る半導体メモリの検査装置では、テスト回路により半導体メモリのテストを行い、保持手段に、複数桁の各々のテストの結果を保持して半導体メモリ内の故障にかかる不良データの桁を指定し、これにより冗長回路によってデータに生じる誤りを補償するようになっているので、半導体メモリに故障が発生した際にデータに生じる誤りを容易に補償することができ、またデータ入出力に故障が存在しても所望のRAMとして動作できる。   In the semiconductor memory inspection apparatus according to the present invention, the test of the semiconductor memory is performed by the test circuit, and the result of each test of a plurality of digits is held in the holding unit, and the digit of the defective data related to the failure in the semiconductor memory is designated. As a result, an error occurring in the data is compensated by the redundant circuit, so that an error occurring in the data when the failure occurs in the semiconductor memory can be easily compensated, and a failure occurs in the data input / output. Even if it exists, it can operate as a desired RAM.

{実施の形態1}
<構成>
図1は本発明の実施の形態1の半導体メモリ(RAM)の検査装置(テスト補助回路)を示す論理回路図である。図1中の231はスキャンレジスタであり、図23に示した第1の従来例と同様、複数の該スキャンレジスタ231を直列に接続してスキャンパスを構成するもので、通常動作時には図示しない半導体集積回路装置から入力されるデータを外部回路へ出力する一方、データ比較時には、前記半導体集積回路装置から入力されるデータと期待データとを比較し、これらが不一致のときには前記半導体集積回路装置からのデータが故障している旨を外部回路へ出力するものである。図1中の232は比較回路、233はセレクタ回路(セレクタ手段)、234はリセット機能付きフリップフロップ回路、235はOR回路である。
{Embodiment 1}
<Configuration>
FIG. 1 is a logic circuit diagram showing a semiconductor memory (RAM) inspection device (test auxiliary circuit) according to the first embodiment of the present invention. In FIG. 1, reference numeral 231 denotes a scan register, which, like the first conventional example shown in FIG. 23, forms a scan path by connecting a plurality of scan registers 231 in series. While the data input from the integrated circuit device is output to an external circuit, at the time of data comparison, the data input from the semiconductor integrated circuit device is compared with the expected data, and when they do not match, the data from the semiconductor integrated circuit device is compared. The fact that the data has failed is output to an external circuit. In FIG. 1, 232 is a comparison circuit, 233 is a selector circuit (selector means), 234 is a flip-flop circuit with a reset function, and 235 is an OR circuit.

前記比較回路232は、一個のイクスクルーシブOR回路(以下、Ex.OR回路と称す)241と、一個のNOT回路242と、一個のNAND回路243とから構成される。前記Ex.OR回路241は一対の入力端子を有し、一方の入力端子には前記半導体集積回路装置(図示せず)からのデータ入力信号(D)が入力され、他方の入力端子には、前記データ入力信号(D)が正常であるか否かを比較検査するための外部からの期待データ信号(EXP)が入力される。前記NOT回路242の入力端子には外部からのクロック信号(T)が入力される。前記NAND回路243は、三個の入力端子を有し、一の入力端子には外部からの比較イネーブル信号(CMPEN)が入力され、他の一の入力端子は前記Ex.OR回路241の出力端子に接続され、さらに他の出力端子は前記NOT回路242の出力端子に接続されている。これにより、該比較回路232は、外部からの比較イネーブル信号(CMPEN)がHighでかつ前記クロック信号(T)がLowのときに限り、外部からの期待データ信号(EXP)と外部からのデータ入力信号(D)とを比較し、これらが異なるときにLowを出力するよう設定される。   The comparison circuit 232 includes one exclusive OR circuit (hereinafter referred to as “Ex.OR circuit”) 241, one NOT circuit 242, and one NAND circuit 243. Ex. The OR circuit 241 has a pair of input terminals. A data input signal (D) from the semiconductor integrated circuit device (not shown) is input to one input terminal, and the data input is input to the other input terminal. An expected data signal (EXP) from the outside for comparing and checking whether the signal (D) is normal is input. An external clock signal (T) is input to the input terminal of the NOT circuit 242. The NAND circuit 243 has three input terminals. One input terminal receives an external comparison enable signal (CMPEN), and the other input terminal receives the Ex. The other output terminal is connected to the output terminal of the NOT circuit 242, and is connected to the output terminal of the OR circuit 241. As a result, the comparison circuit 232 inputs the expected data signal (EXP) from the outside and the data input from the outside only when the comparison enable signal (CMPEN) from the outside is High and the clock signal (T) is Low. The signal (D) is compared and set to output Low when they are different.

前記セレクタ回路233は、前記半導体集積回路装置からの前記データ入力信号(D)および外部からのシリアル入力信号(SI)が夫々入力される一対の信号入力端子“0”,“1”と、外部からのシフトモード制御信号(SM)が入力される一個の制御入力端子を有しており、通常動作時およびテストモード時に外部からのシフトモード制御信号(SM)に基づいて一方の前記信号入力端子“0”(データ入力信号(D))を選択し、シフトモード時に前記シフトモード制御信号(SM)に基づいて他方の前記信号入力端子“1”(シリアル入力信号(SI))側を選択するように設定される。   The selector circuit 233 includes a pair of signal input terminals “0” and “1” to which the data input signal (D) from the semiconductor integrated circuit device and a serial input signal (SI) from the outside are input, and an external One of the signal input terminals based on the shift mode control signal (SM) from the outside during normal operation and test mode. “0” (data input signal (D)) is selected, and the other signal input terminal “1” (serial input signal (SI)) side is selected based on the shift mode control signal (SM) in the shift mode. Is set as follows.

前記フリップフロップ回路234は、データ入力端子D1、データ出力端子O1、タイミング信号入力端子T1およびリセット入力端子R1を有しており、前記タイミング信号入力端子T1にタイミング信号が入力された際に前記データ入力端子D1からデータを取り込みかつ当該データ(SO.Q)を前記データ出力端子O1に伝え、また前記リセット入力端子R1にLowレベルのリセット信号が入力された際に取り込んだデータがリセットされるよう設定される。ここで、該フリップフロップ回路234は、前記タイミング信号入力端子T1に入力される前記タイミング信号の立ち上がりでデータを取り込むタイプ(ポジティブエッジトリガータイプ)とされている。なお、本実施の形態では、リセット動作によってデータが“0”になるものを使用しているが、逆に“1”になるものを用いてもよい。ここで、前記データ出力端子O1は次段のスキャンレジスタのフリップフロップ回路の信号入力端子に接続され、シリアル入力信号(SO.Q=SI)として伝送される。   The flip-flop circuit 234 has a data input terminal D1, a data output terminal O1, a timing signal input terminal T1, and a reset input terminal R1, and when the timing signal is input to the timing signal input terminal T1, the data Data is fetched from the input terminal D1, the data (SO.Q) is transmitted to the data output terminal O1, and the fetched data is reset when a low level reset signal is inputted to the reset input terminal R1. Is set. Here, the flip-flop circuit 234 is of a type that captures data at the rising edge of the timing signal input to the timing signal input terminal T1 (positive edge trigger type). In this embodiment, the data whose data becomes “0” by the reset operation is used, but the data whose data becomes “1” may be used. Here, the data output terminal O1 is connected to the signal input terminal of the flip-flop circuit of the next-stage scan register, and is transmitted as a serial input signal (SO.Q = SI).

前記OR回路235は、前記フリップフロップ回路234にシフト動作の所定のタイミングを規定するためのタイミング信号を出力するもので、一対の入力端子および一個の出力端子を有しており、一方の前記入力端子には前記クロック信号(T)が入力され、他方の前記入力端子に外部からのシフト禁止信号(SINH)が入力され、前記一個の出力端子は前記フリップフロップ回路234のタイミング信号入力端子T1に接続されている。これにより、該OR回路235は、外部からシフト禁止信号(SINH)が入力されないときは外部からの周期的なクロック信号(T)にしたがって前記フリップフロップ回路234のデータ取り込みを許容する一方、前記シフト禁止信号(SINH)が入力されたときは前記クロック信号(T)の入力の如何にかかわらず前記所定のタイミングを規定するタイミング信号を停止して前記フリップフロップ回路234のデータを保持するタイミング停止回路(データ保持手段)として機能する。   The OR circuit 235 outputs a timing signal for defining a predetermined timing of the shift operation to the flip-flop circuit 234, and has a pair of input terminals and one output terminal. The clock signal (T) is input to the terminal, an external shift inhibition signal (SINH) is input to the other input terminal, and the one output terminal is connected to the timing signal input terminal T1 of the flip-flop circuit 234. It is connected. Thus, the OR circuit 235 allows the flip-flop circuit 234 to capture data in accordance with a periodic clock signal (T) from the outside when the shift prohibit signal (SINH) is not input from the outside, while the shift circuit A timing stop circuit that holds the data of the flip-flop circuit 234 by stopping the timing signal that defines the predetermined timing regardless of the input of the clock signal (T) when the inhibition signal (SINH) is input. It functions as (data holding means).

<動作>
上記構成のスキャンレジスタ231の動作を説明する。図2は、通常動作時において該スキャンレジスタ231を半導体集積回路装置(RAM)の出力用フリップフロップとして用いる際にデータ入力端子Dのデータを取り込む動作を示すタイミングチャートである。図2の如く、シフト禁止信号(SINH)がLowの場合、クロック信号(T)はOR回路235を経てフリップフロップ回路234のタイミング信号入力端子T1にそのまま伝わる。また、図2のように比較イネーブル信号(CMPEN)がLowの場合、比較回路232のNAND回路243の出力は常にHighとなりリセット信号(Low信号)は発生しない。そして、クロック信号(T)の立ち上がり時にシフトモード制御信号(SM)がLowであれば、セレクタ回路233は信号入力端子“0”を選択し、半導体集積回路装置(RAM)からのデータ入力信号(D)がフリップフロップ回路234に取り込まれる。
<Operation>
The operation of the scan register 231 having the above configuration will be described. FIG. 2 is a timing chart showing an operation for taking in data at the data input terminal D when the scan register 231 is used as an output flip-flop of a semiconductor integrated circuit device (RAM) during normal operation. As shown in FIG. 2, when the shift inhibition signal (SINH) is Low, the clock signal (T) is directly transmitted to the timing signal input terminal T1 of the flip-flop circuit 234 via the OR circuit 235. When the comparison enable signal (CMPEN) is Low as shown in FIG. 2, the output of the NAND circuit 243 of the comparison circuit 232 is always High and no reset signal (Low signal) is generated. If the shift mode control signal (SM) is Low at the rising edge of the clock signal (T), the selector circuit 233 selects the signal input terminal “0” and the data input signal (RAM) from the semiconductor integrated circuit device (RAM). D) is taken into the flip-flop circuit 234.

図3は、半導体集積回路装置(RAM)のテストを開始する前の初期設定(“1”を設定する)やRAMテストが完了した後のテスト結果の読み出し時おけるフリップフロップ回路234のシフト動作を示すタイミングチャートである。図3の如く、シフト禁止信号(SINH)がLowの場合、クロック信号(T)はOR回路235を経てフリップフロップ回路234のタイミング信号入力端子T1にそのまま伝わる。また、比較イネーブル信号(CMPEN)がLowの場合、比較回路232からリセット信号(Low信号)は発生しない。そして、クロック信号(T)の立ち上がり時にシフトモード制御信号(SM)がHighであればセレクタ回路233は信号入力端子“1”を選択し、シリアル入力信号(SI)がフリップフロップ回路234に取り込まれ、データ出力端子O1(シリアル出力端子)に出力される。データ出力端子O1は次段のスキャンレジスタの信号入力端子(“1”)に接続され(図23参照)、シリアル入力信号(SO.Q=SI)としてデータ伝送が行われてシフト動作が行われる。   FIG. 3 shows the shift operation of the flip-flop circuit 234 at the time of initial setting (setting “1”) before starting the test of the semiconductor integrated circuit device (RAM) and reading of the test result after the RAM test is completed. It is a timing chart which shows. As shown in FIG. 3, when the shift inhibition signal (SINH) is Low, the clock signal (T) is transmitted through the OR circuit 235 to the timing signal input terminal T1 of the flip-flop circuit 234 as it is. Further, when the comparison enable signal (CMPEN) is Low, the reset signal (Low signal) is not generated from the comparison circuit 232. If the shift mode control signal (SM) is High when the clock signal (T) rises, the selector circuit 233 selects the signal input terminal “1”, and the serial input signal (SI) is taken into the flip-flop circuit 234. And output to the data output terminal O1 (serial output terminal). The data output terminal O1 is connected to the signal input terminal (“1”) of the next-stage scan register (see FIG. 23), and data transmission is performed as a serial input signal (SO.Q = SI) to perform a shift operation. .

図4は、RAMの出力データが不定である場合など比較動作を行なってはいけない場合にフリップフロップ回路234のシフト動作を禁止する動作を示すタイミングチャートである。図4の如く、シフト禁止信号(SINH)がHighの場合、OR回路235は常にHigh出力となり、故にクロック信号(T)はフリップフロップ回路234のタイミング信号入力端子T1に伝わらない。従って、フリップフロップ回路234はクロック信号(T)の立ち上がりを検出できず、故にシフト動作は行われない。また、図4のように比較イネーブル信号(CMPEN)がLowの場合、比較回路232からリセット信号(Low信号)は発生しない。なお、クロック信号(T)の立ち上がり時のシフトモード制御信号(SM)はHigh/Lowどちらでも差し支えない。   FIG. 4 is a timing chart showing an operation of prohibiting the shift operation of the flip-flop circuit 234 when the comparison operation should not be performed, for example, when the output data of the RAM is indefinite. As shown in FIG. 4, when the shift inhibition signal (SINH) is High, the OR circuit 235 always outputs High, and therefore the clock signal (T) is not transmitted to the timing signal input terminal T1 of the flip-flop circuit 234. Therefore, the flip-flop circuit 234 cannot detect the rising edge of the clock signal (T), and therefore the shift operation is not performed. Also, as shown in FIG. 4, when the comparison enable signal (CMPEN) is Low, the reset signal (Low signal) is not generated from the comparison circuit 232. The shift mode control signal (SM) at the rising edge of the clock signal (T) may be either High / Low.

図5は比較回路232の比較動作を示すタイミングチャートである。図5の如く、シフト禁止信号(SINH)がHighの場合、OR回路235は常にHigh出力となり、故にクロック信号(T)はフリップフロップ回路234のタイミング信号入力端子T1に伝わらない。従って、フリップフロップ回路234はクロック信号(T)の立ち上がりを検出できず、故にシフト動作は行われない。また、クロック信号(T)がLowで比較イネーブル信号(CMPEN)がHighのとき、データ入力端子Dと期待データ端子(EXP)のデータが異なれば、比較回路232からはリセット信号(Low信号)が発生し、フリップフロップ回路234は“0”にリセットされる。フリップフロップ回路234は初期設定のシフト動作によって“1”にセットされているので、これが“0”に変化することにより故障の存在が記憶される。スキャンレジスタ231に保持されている故障の有無のデータはRAMのテスト完了後にシフト動作により読み出される。   FIG. 5 is a timing chart showing the comparison operation of the comparison circuit 232. As shown in FIG. 5, when the shift inhibition signal (SINH) is High, the OR circuit 235 always outputs High, and therefore the clock signal (T) is not transmitted to the timing signal input terminal T1 of the flip-flop circuit 234. Therefore, the flip-flop circuit 234 cannot detect the rising edge of the clock signal (T), and therefore the shift operation is not performed. When the clock signal (T) is Low and the comparison enable signal (CMPEN) is High, if the data at the data input terminal D and the expected data terminal (EXP) are different, the comparison circuit 232 outputs a reset signal (Low signal). Occurs, and the flip-flop circuit 234 is reset to "0". Since the flip-flop circuit 234 is set to “1” by the initial shift operation, the presence of a failure is stored by changing this to “0”. Data indicating the presence or absence of a failure held in the scan register 231 is read out by a shift operation after the RAM test is completed.

本実施の形態によれば、一相のクロック信号を用いるだけで、テストモードに設定されたときに期待値データと入力データとの比較結果に応じてフリップフロップ回路234内のデータを書き換えるように構成したので、第1の従来例に比べて、テスト用のクロック信号を省略でき、しかも複雑な二相クロック信号が不要となり、このクロック信号を供給するための複雑なクロックドライバ回路が不要になる。   According to the present embodiment, the data in the flip-flop circuit 234 is rewritten according to the comparison result between the expected value data and the input data when the test mode is set only by using a one-phase clock signal. Since it is configured, a test clock signal can be omitted as compared with the first conventional example, and a complicated two-phase clock signal is unnecessary, and a complicated clock driver circuit for supplying this clock signal is not required. .

{実施の形態2}
<構成>
図6は本発明の実施の形態2の半導体メモリの検査装置を示す論理回路図である。図6中の251はスキャンレジスタであり、実施の形態1と同様、クロック信号(T)の立ち上がりでデータを取り込むタイプ(ポジティブエッジトリガータイプ)であり、通常動作時には図示しない半導体集積回路装置から入力されるデータを外部回路へ出力する一方、データ比較時には、前記半導体集積回路装置から入力されるデータと期待データとを比較し、これらが不一致のときには前記半導体集積回路装置からのデータが故障している旨を外部回路へ出力するものである。図6中の232は比較回路、234はリセット機能付きフリップフロップ回路であり、これらの構成は実施の形態1と同様であるためその説明を省略する。また、図6中の252,253は、実施の形態1におけるセレクタ回路233(図1参照)と同様の構造とされたセレクタ回路であるが、一方のセレクタ回路(以下、第1のセレクタ回路と称す)252の一対の信号入力端子“0”,“1”のうち、信号入力端子“1”は前記第2のセレクタ回路253の出力端子に接続されている。また、他方のセレクタ回路(以下、第2のセレクタ回路と称す)253の一対の信号入力端子“0”,“1”のうち、一対の信号入力端子“0”には外部からのシリアル入力信号(SI)が入力され、他方の信号入力端子“1”は前記フリップフロップ回路234のデータ出力端子O1に接続されている。さらに、該第2のセレクタ回路253の制御入力端子には、外部からのシフト禁止信号(SINH)が入力され、該シフト禁止信号(SINH)がLowのときにはシリアル入力信号(SI)を、シフト禁止信号(SINH)がHighのときには前記フリップフロップ回路234からの出力データSO.Qを、第1のセレクタ回路252へ出力する。
{Embodiment 2}
<Configuration>
FIG. 6 is a logic circuit diagram showing a semiconductor memory inspection apparatus according to the second embodiment of the present invention. Reference numeral 251 in FIG. 6 denotes a scan register, which is a type that takes in data at the rising edge of the clock signal (T) as in the first embodiment (positive edge trigger type), and is input from a semiconductor integrated circuit device (not shown) during normal operation. Output data to an external circuit, while comparing the data, the data input from the semiconductor integrated circuit device is compared with the expected data, and if they do not match, the data from the semiconductor integrated circuit device has failed. Is output to an external circuit. In FIG. 6, reference numeral 232 denotes a comparison circuit, and 234 denotes a flip-flop circuit with a reset function. Since these configurations are the same as those in the first embodiment, description thereof is omitted. Reference numerals 252 and 253 in FIG. 6 are selector circuits having the same structure as the selector circuit 233 (see FIG. 1) in the first embodiment, but one selector circuit (hereinafter referred to as the first selector circuit). Of the pair of signal input terminals “0” and “1” of 252, the signal input terminal “1” is connected to the output terminal of the second selector circuit 253. Of the pair of signal input terminals “0” and “1” of the other selector circuit (hereinafter referred to as the second selector circuit) 253, the pair of signal input terminals “0” has an external serial input signal. (SI) is input, and the other signal input terminal “1” is connected to the data output terminal O 1 of the flip-flop circuit 234. Further, an external shift inhibition signal (SINH) is input to the control input terminal of the second selector circuit 253. When the shift inhibition signal (SINH) is Low, the serial input signal (SI) is prohibited from shifting. When the signal (SINH) is High, the output data SO. Q is output to the first selector circuit 252.

ここで、フリップフロップ回路234のデータ出力端子O1と第2のセレクタ回路253の他方の信号入力端子“1”とが内部配線(ループ配線)にて接続されることで、フリップフロップ回路234のデータ出力端子O1から第2のセレクタ回路253および第1のセレクタ回路252を経て前記フリップフロップ回路234のデータ入力端子D1に至るまでの間にループ回路254が形成される。そして、かかるループ回路254は、前記シフト禁止信号(SINH)を受けたときにシリアル入力信号(SI)およびデータ入力信号(D)に代えて前記フリップフロップ回路234からの出力データSO.Qを該フリップフロップ回路へ帰還させて当該フリップフロップ回路234のデータを保持するデータ保持手段として機能する。   Here, the data output terminal O1 of the flip-flop circuit 234 and the other signal input terminal “1” of the second selector circuit 253 are connected by an internal wiring (loop wiring), whereby the data of the flip-flop circuit 234 is obtained. A loop circuit 254 is formed from the output terminal O 1 to the data input terminal D 1 of the flip-flop circuit 234 through the second selector circuit 253 and the first selector circuit 252. When the loop circuit 254 receives the shift inhibition signal (SINH), the loop circuit 254 replaces the serial input signal (SI) and the data input signal (D) with the output data SO. It functions as a data holding unit that feeds back Q to the flip-flop circuit and holds data of the flip-flop circuit 234.

ここで、前記第1のセレクタ回路252と、前記第2のセレクタ回路253と、前記シリアル入力信号(SI)が入力される端子(第1の入力端子)と、前記データ入力信号(D)が入力される端子(第2の入力端子)と、前記シフトモード制御信号(SM)が入力される端子(第3の入力端子)とで、前記シリアル入力信号(SI)および前記データ入力信号(D)を選択して出力するセレクタ手段が構成される。   Here, the first selector circuit 252, the second selector circuit 253, a terminal to which the serial input signal (SI) is input (first input terminal), and the data input signal (D) are An input terminal (second input terminal) and a terminal (third input terminal) to which the shift mode control signal (SM) is input include the serial input signal (SI) and the data input signal (D ) Is selected and output.

また、前記第1のセレクタ回路252と、前記第2のセレクタ回路253と、前記第2のセレクタ回路253の他方の信号入力端子“1”および前記フリップフロップ回路234のデータ出力端子O1を結ぶ前記ループ配線と、前記シフト禁止信号(SINH)が入力される端子(第3の入力端子)とから、前記フリップフロップ回路234のデータを保持するデータ保持手段が構成される。   The first selector circuit 252, the second selector circuit 253, the other signal input terminal “1” of the second selector circuit 253 and the data output terminal O1 of the flip-flop circuit 234 are connected. Data holding means for holding data of the flip-flop circuit 234 is configured by the loop wiring and a terminal (third input terminal) to which the shift inhibition signal (SINH) is input.

<動作>
上記構成のスキャンレジスタ251の動作を説明する。図7は、通常動作時において該スキャンレジスタ251を半導体集積回路装置(RAM)の出力用フリップフロップとして用いる際にデータ入力端子Dのデータを取り込む動作を示すタイミングチャートである。図7の如く、比較イネーブル信号(CMPEN)がLowの場合、比較回路232からリセット信号は発生しない。クロック信号(T)の立ち上がり時にシフトモード制御信号(SM)がLowであればセレクタ回路252は信号入力端子“0”を選択し、半導体集積回路装置(RAM)からのデータ入力信号(D)がフリップフロップ回路234に取り込まれる。RAMのデータ出力はこのデータ入力端子Dに接続されるので、通常動作時にこのスキャンレジスタをRAMの出力用フリップフロップとして用いることができる。
<Operation>
The operation of the scan register 251 configured as described above will be described. FIG. 7 is a timing chart showing an operation of taking in data at the data input terminal D when the scan register 251 is used as an output flip-flop of a semiconductor integrated circuit device (RAM) during normal operation. As shown in FIG. 7, when the comparison enable signal (CMPEN) is Low, no reset signal is generated from the comparison circuit 232. If the shift mode control signal (SM) is Low at the rising edge of the clock signal (T), the selector circuit 252 selects the signal input terminal “0” and the data input signal (D) from the semiconductor integrated circuit device (RAM) is received. The data is taken into the flip-flop circuit 234. Since the RAM data output is connected to the data input terminal D, the scan register can be used as a RAM output flip-flop during normal operation.

図8はシフト動作を示すタイミングチャートである。比較イネーブル信号(CMPEN)がLowの場合、比較回路232からリセット信号は発生しない。クロック信号(T)の立ち上がり時にシフトモード制御信号(SM)がHigh(“1”)、シフト禁止信号(SINH)がLow(“0”)であればシリアル入力信号(SI)が第2のセレクタ回路253および第1のセレクタ回路252を経由してフリップフロップ回路234に取り込まれ、シリアル出力端子O1に出力される。シリアル出力端子O1は次段のスキャンレジスタのシリアル入力信号(SI)側の信号入力端子に接続されるので、シフト動作が行われる。シフト動作はRAMのテストを開始する前の初期設定(“1”を設定する)やRAMテストが完了した後のテスト結果の読み出し時に行う。   FIG. 8 is a timing chart showing the shift operation. When the comparison enable signal (CMPEN) is Low, no reset signal is generated from the comparison circuit 232. If the shift mode control signal (SM) is High (“1”) and the shift inhibit signal (SINH) is Low (“0”) at the rising edge of the clock signal (T), the serial input signal (SI) is the second selector. The signal is taken into the flip-flop circuit 234 via the circuit 253 and the first selector circuit 252 and output to the serial output terminal O1. Since the serial output terminal O1 is connected to the signal input terminal on the serial input signal (SI) side of the next-stage scan register, a shift operation is performed. The shift operation is performed at the initial setting (setting “1”) before starting the RAM test or at the time of reading the test result after the RAM test is completed.

図9はシフト禁止動作を示すタイミングチャートである。比較イネーブル信号(CMPEN)がLowの場合、比較回路232からリセット信号は発生しない。クロック信号(T)の立ち上がり時にシフトモード制御信号(SM)がHigh(“1”)、シフト禁止信号(SINH)がHigh(“1”)であればフリップフロップ回路234の出力データSO.Qが両セレクタ回路253、252を経由してフリップフロップ回路234自身に取り込まれる。従って、データは保持され、シフト動作は行われない。シフト禁止動作はRAMの出力データが不定である場合などの比較動作を行なってはいけない場合に用いる。   FIG. 9 is a timing chart showing the shift prohibiting operation. When the comparison enable signal (CMPEN) is Low, no reset signal is generated from the comparison circuit 232. If the shift mode control signal (SM) is High (“1”) and the shift inhibit signal (SINH) is High (“1”) at the rising edge of the clock signal (T), the output data SO. Q is taken into the flip-flop circuit 234 itself via both selector circuits 253 and 252. Accordingly, data is retained and no shift operation is performed. The shift prohibiting operation is used when the comparison operation should not be performed such as when the output data of the RAM is indefinite.

図10は比較動作を示すタイミングチャートである。クロック信号(T)の立ち上がり時にシフト禁止信号(SINH)がHigh(“1”)、シフト禁止信号(SINH)がHigh(“1”)であればフリップフロップ回路234の出力データSO.Qがセレクタ回路253、252を経由してフリップフロップ回路234自身に取り込まれる。従って、データは保持される。クロック信号(T)がLowで比較イネーブル信号(CMPEN)がHighの時にデータ入力端子Dと期待データ端子(EXP)のデータが異なればリセット信号が発生し、フリップフロップ回路234は“0”にリセットされる。フリップフロップ回路234は初期設定のシフト動作によって“1”にセットされているので、これが“0”に変化するBSにより故障の存在が記憶される。スキャンレジスタに保持されている故障の有無のデータはRAMのテスト完了後にシフト動作により読み出される。   FIG. 10 is a timing chart showing the comparison operation. If the shift inhibition signal (SINH) is High (“1”) and the shift inhibition signal (SINH) is High (“1”) at the rising edge of the clock signal (T), the output data SO. Q is taken into the flip-flop circuit 234 itself via the selector circuits 253 and 252. Therefore, the data is retained. When the clock signal (T) is Low and the comparison enable signal (CMPEN) is High, if the data at the data input terminal D and the expected data terminal (EXP) are different, a reset signal is generated, and the flip-flop circuit 234 is reset to “0”. Is done. Since the flip-flop circuit 234 is set to “1” by the initial shift operation, the presence of a failure is stored by the BS that changes to “0”. Data indicating the presence or absence of a failure held in the scan register is read out by a shift operation after the RAM test is completed.

本実施の形態によっても、実施の形態1と同様、一相のクロック信号を用いるだけで、テストモードに設定されたときに期待値データと入力データとの比較結果に応じてフリップフロップ回路234内のデータを書き換えるように構成したので、第1の従来例に比べて、テスト用のクロック信号を省略でき、しかも複雑な二相クロック信号が不要となり、このクロック信号を供給するための複雑なクロックドライバ回路が不要になる。   Also in the present embodiment, as in the first embodiment, only the one-phase clock signal is used, and the internal state of the flip-flop circuit 234 is set according to the comparison result between the expected value data and the input data when the test mode is set. In comparison with the first conventional example, the test clock signal can be omitted, and a complicated two-phase clock signal is not required, and a complicated clock for supplying this clock signal is provided. No driver circuit is required.

{実施の形態3}
<構成>
図11は本発明の実施の形態3の半導体メモリの検査装置を示す論理回路図である。図11中の261はスキャンレジスタであり、実施の形態1および実施の形態2と同様、クロック信号(T)の立ち上がりでデータを取り込むタイプ(ポジティブエッジトリガータイプ)であり、通常動作時には図示しない半導体集積回路装置(RAM)から入力されるデータを外部回路へ出力する一方、データ比較時には、前記半導体集積回路装置から入力されるデータと期待データとを比較し、これらが不一致のときには前記半導体集積回路装置からのデータが故障している旨を外部回路へ出力するものである。図11中の234はフリップフロップ回路である。また、図11中の254は実施の形態2で説明したのと同様のループ回路である。
{Third embodiment}
<Configuration>
FIG. 11 is a logic circuit diagram showing a semiconductor memory inspection apparatus according to the third embodiment of the present invention. In FIG. 11, reference numeral 261 denotes a scan register, which is a type that captures data at the rising edge of the clock signal (T) as in the first and second embodiments (positive edge trigger type). Data input from an integrated circuit device (RAM) is output to an external circuit, while data comparison is performed by comparing data input from the semiconductor integrated circuit device with expected data, and when they do not match, the semiconductor integrated circuit The fact that the data from the device is faulty is output to an external circuit. In FIG. 11, reference numeral 234 denotes a flip-flop circuit. Further, reference numeral 254 in FIG. 11 denotes a loop circuit similar to that described in the second embodiment.

図11中の232aは、外部からの比較イネーブル信号(CMPEN)に基づいて外部からの期待データ信号(EXP)と外部からのデータ入力信号(D)とを比較する比較回路である。該比較回路232aは、一個のEx.OR回路241aと、一個のNAND回路243aとから構成される。前記Ex.OR回路241aは一対の入力端子を有し、一方の入力端子には前記半導体集積回路装置(図示せず)からのデータ入力信号(D)が入力され、他方の入力端子には、前記データ入力信号(D)が正常であるか否かを比較検査するための外部からの期待データ信号(EXP)が入力される。前記NAND回路243aは、二個の入力端子を有し、一方の入力端子には外部からの比較イネーブル信号(CMPEN)が入力され、他方の入力端子は前記Ex.OR回路241aの出力端子に接続されている。これにより、該比較回路232aは、外部からの比較イネーブル信号(CMPEN)がHighのときに外部からの期待データ信号(EXP)と外部からのデータ入力信号(D)とを比較し、これらが異なるときにLowを出力するよう設定される。   Reference numeral 232a in FIG. 11 is a comparison circuit that compares an external expected data signal (EXP) with an external data input signal (D) based on an external comparison enable signal (CMPEN). The comparison circuit 232a includes one Ex. The circuit includes an OR circuit 241a and one NAND circuit 243a. Ex. The OR circuit 241a has a pair of input terminals. A data input signal (D) from the semiconductor integrated circuit device (not shown) is input to one input terminal, and the data input is input to the other input terminal. An expected data signal (EXP) from the outside for comparing and checking whether the signal (D) is normal is input. The NAND circuit 243a has two input terminals. One input terminal receives an external comparison enable signal (CMPEN), and the other input terminal receives the Ex. It is connected to the output terminal of the OR circuit 241a. Thus, the comparison circuit 232a compares the expected data signal (EXP) from the outside with the data input signal (D) from the outside when the comparison enable signal (CMPEN) from the outside is High, and these are different. Sometimes set to output Low.

また、図11中の264は前記比較回路232aのNAND回路243aからリセット信号が出力されたときに、前記フリップフロップ回路234の出力の帰還を禁止する帰還禁止素子(AND回路)であって、二個の入力端子を有し、一方の入力端子は前記比較回路232aのNAND回路243aの出力端子が接続され、他方の入力端子は前記フリップフロップ回路234のデータ出力端子O1に接続されている。   Reference numeral 264 in FIG. 11 denotes a feedback inhibition element (AND circuit) that inhibits feedback of the output of the flip-flop circuit 234 when a reset signal is output from the NAND circuit 243a of the comparison circuit 232a. The input terminal is connected to the output terminal of the NAND circuit 243a of the comparison circuit 232a, and the other input terminal is connected to the data output terminal O1 of the flip-flop circuit 234.

さらに、図11中の262は、実施の形態2における第1のセレクタ回路252(図6参照)と同様の構造とされた第1のセレクタ回路、263は、実施の形態2における第2のセレクタ回路253(図6参照)と同様の構造とされた第2のセレクタ回路であるが、第2のセレクタ回路263の一対の信号入力端子“0”,“1”のうち、信号入力端子“1”は前記帰還禁止素子264の出力端子に接続されている。   Further, reference numeral 262 in FIG. 11 denotes a first selector circuit having a structure similar to that of the first selector circuit 252 (see FIG. 6) in the second embodiment, and reference numeral 263 denotes a second selector in the second embodiment. A second selector circuit having a structure similar to that of the circuit 253 (see FIG. 6), but of the pair of signal input terminals “0” and “1” of the second selector circuit 263, the signal input terminal “1” "Is connected to the output terminal of the feedback inhibition element 264.

そして、前記第1のセレクタ回路262と、前記第2のセレクタ回路263と、前記シリアル入力信号(SI)が入力される端子(第1の入力端子)と、前記データ入力信号(D)が入力される端子(第2の入力端子)と、前記シフトモード制御信号(SM)が入力される端子(第3の入力端子)とで、前記シリアル入力信号(SI)、前記データ入力信号(D)および前記比較回路232aからのリセット信号を選択して出力するセレクタ手段が構成される。   The first selector circuit 262, the second selector circuit 263, a terminal to which the serial input signal (SI) is input (first input terminal), and the data input signal (D) are input. Terminal (second input terminal) and the terminal (third input terminal) to which the shift mode control signal (SM) is input, the serial input signal (SI) and the data input signal (D) And selector means for selecting and outputting a reset signal from the comparison circuit 232a.

また、前記第1のセレクタ回路262と、前記第2のセレクタ回路263と、前記第2のセレクタ回路263の他方の信号入力端子“1”および前記フリップフロップ回路234のデータ出力端子O1を結ぶ前記ループ配線と、前記シフト禁止信号(SINH)が入力される端子(第3の入力端子)とから、前記比較回路232aからリセット信号が入力されない間に前記フリップフロップ回路234のデータを保持するためのデータ保持手段が構成される。なお、本実施の形態中のその他の構成は実施の形態2と同様であるためその説明を省略する。   Further, the first selector circuit 262, the second selector circuit 263, the other signal input terminal “1” of the second selector circuit 263 and the data output terminal O1 of the flip-flop circuit 234 are connected. For holding data of the flip-flop circuit 234 from a loop wiring and a terminal (third input terminal) to which the shift inhibition signal (SINH) is input while no reset signal is input from the comparison circuit 232a. Data holding means is configured. Since other configurations in the present embodiment are the same as those in the second embodiment, description thereof is omitted.

<動作>
上記構成のスキャンレジスタ261の動作を説明する。図12は、通常動作時において該スキャンレジスタ261を半導体集積回路装置(RAM)の出力用フリップフロップとして用いる際にデータ入力端子Dのデータを取り込む動作を示すタイミングチャートである。図12の如く、クロック信号(T)の立ち上がり時にシフトモード制御信号(SM)がLowであればセレクタ回路262は信号入力端子“0”側を選択しているので、RAMからのデータ入力信号(D)がフリップフロップ回路234に取り込まれる。このように動作させると、通常動作時にはスキャンレジスタをRAMの出力用フリップフロップとして用いることができる。
<Operation>
The operation of the scan register 261 having the above configuration will be described. FIG. 12 is a timing chart showing an operation of taking in data at the data input terminal D when the scan register 261 is used as an output flip-flop of a semiconductor integrated circuit device (RAM) during normal operation. As shown in FIG. 12, if the shift mode control signal (SM) is Low at the rising edge of the clock signal (T), the selector circuit 262 selects the signal input terminal “0” side. D) is taken into the flip-flop circuit 234. When operated in this way, the scan register can be used as a RAM output flip-flop during normal operation.

図13はシフト動作を示すタイミングチャートである。図13の如く、クロック信号(T)の立ち上がり時にシフトモード制御信号(SM)がHigh(“1”)、シフト禁止信号(SINH)がLow(“0”)であればシリアル入力信号(SI)が両セレクタ回路263、262を経由してフリップフロップ回路234に取り込まれ、かつシリアル出力端子O1に出力される。シリアル出力端子O1は次段のスキャンレジスタのシリアル入力信号(SI)側の信号入力端子に接続されるので、シフト動作が行われる。シフト動作はRAMのテストを開始する前の初期設定(“1”を設定する)やRAMテストが完了した後のテスト結果の読み出し時に行う。   FIG. 13 is a timing chart showing the shift operation. As shown in FIG. 13, when the shift mode control signal (SM) is High (“1”) and the shift inhibition signal (SINH) is Low (“0”) at the rising edge of the clock signal (T), the serial input signal (SI). Is taken into the flip-flop circuit 234 via both selector circuits 263 and 262 and output to the serial output terminal O1. Since the serial output terminal O1 is connected to the signal input terminal on the serial input signal (SI) side of the next-stage scan register, a shift operation is performed. The shift operation is performed at the initial setting (setting “1”) before starting the RAM test or at the time of reading the test result after the RAM test is completed.

図14はシフト禁止動作を示すタイミングチャートである。図14の如く、比較イネーブル信号(CMPEN)がLowの場合、NAND回路243aの出力はHighとなる。したがって、帰還禁止素子264はフリップフロップ回路234の保持データをそのまま出力する。また、クロック信号(T)の立ち上がり時にシフトモード制御信号(SM)がHigh(“1”)、シフト禁止信号(SINH)がHigh(“1”)であればフリップフロップ回路234の出力データSO.Qが帰還禁止素子264、セレクタ回路263、262を経由してフリップフロップ回路234自身に取り込まれる。従って、データは保持され、シフト動作は行われない。シフト禁止動作はRAMの出力データが不定である場合など比較動作を行なってはいけない場合に用いる。   FIG. 14 is a timing chart showing the shift prohibiting operation. As shown in FIG. 14, when the comparison enable signal (CMPEN) is Low, the output of the NAND circuit 243a is High. Therefore, the feedback inhibition element 264 outputs the data held in the flip-flop circuit 234 as it is. If the shift mode control signal (SM) is High (“1”) and the shift inhibit signal (SINH) is High (“1”) at the rising edge of the clock signal (T), the output data SO. Q is taken into the flip-flop circuit 234 itself via the feedback inhibition element 264 and the selector circuits 263 and 262. Accordingly, data is retained and no shift operation is performed. The shift prohibiting operation is used when the comparison operation should not be performed, for example, when the output data of the RAM is indefinite.

図15は比較動作を示すタイミングチャートである。図15の如く、比較イネーブル信号(CMPEN)がHighであれば、比較回路232aからのデータ入力信号(D)と期待データ信号(EXP)とを比較し、これらが異なれば比較回路232aの出力はLowレベルになる。したがって、帰還禁止素子264の出力はLowレベルになる。そして、クロック信号(T)の立ち上がり時にシフトモード制御信号(SM)がHigh(“1”)、シフト禁止信号(SINH)がHigh(“1”)となると、フリップフロップ回路234は“0”にリセットされる。   FIG. 15 is a timing chart showing the comparison operation. As shown in FIG. 15, if the comparison enable signal (CMPEN) is High, the data input signal (D) from the comparison circuit 232a is compared with the expected data signal (EXP), and if they are different, the output of the comparison circuit 232a is Becomes Low level. Therefore, the output of the feedback inhibition element 264 is at a low level. When the shift mode control signal (SM) becomes High (“1”) and the shift inhibition signal (SINH) becomes High (“1”) at the rising edge of the clock signal (T), the flip-flop circuit 234 is set to “0”. Reset.

一方、クロック信号(T)の立ち上がり時に、データ入力端子Dと期待データ端子(EXP)のデータが同じであれば、NAND回路243aの出力はHighであり、フリップフロップ回路234の出力データSO.Q、帰還禁止素子264、セレクタ回路263、262を経由してフリップフロップ回路234自身に取り込まれる。したがって、データは保持される。フリップフロップ回路234は初期設定のシフト動作によって“1”にセットされているので、これが“0”に変化することにより故障の存在が記憶される。スキャンレジスタに保持されている故障の有無のデータはRAMのテスト完了後にシフト動作により読み出される。   On the other hand, if the data at the data input terminal D and the expected data terminal (EXP) are the same at the rising edge of the clock signal (T), the output of the NAND circuit 243a is High, and the output data SO. Q is taken into the flip-flop circuit 234 itself via the feedback inhibition element 264 and the selector circuits 263 and 262. Therefore, the data is retained. Since the flip-flop circuit 234 is set to “1” by the initial shift operation, the presence of a failure is stored by changing this to “0”. Data indicating the presence or absence of a failure held in the scan register is read out by a shift operation after the RAM test is completed.

本実施の形態によっても、実施の形態1および実施の形態2と同様、一相のクロック信号を用いるだけで、テストモードに設定されたときに期待値データと入力データとの比較結果に応じてフリップフロップ回路234内のデータを書き換えるように構成したので、第1の従来例に比べて、テスト用のクロック信号を省略でき、しかも複雑な二相クロック信号が不要となり、このクロック信号を供給するための複雑なクロックドライバ回路が不要になる。   Also according to the present embodiment, as in the first and second embodiments, only a one-phase clock signal is used, and according to the comparison result between the expected value data and the input data when the test mode is set. Since the data in the flip-flop circuit 234 is rewritten, the test clock signal can be omitted as compared with the first conventional example, and a complicated two-phase clock signal is not required, and this clock signal is supplied. This eliminates the need for a complicated clock driver circuit.

{実施の形態4}
<構成>
図24は本発明の実施の形態4の概略を示すブロック図である。本実施の形態の検査装置は、複数のRAMおよびROM等の半導体メモリ(被テスト回路)について機能テストを行うものである。図24中の30は本実施の形態のテストパターン(アルゴリズミックパターン)発生回路を有する検査装置、31a〜31cは被テスト回路としてのRAM、32a〜32cはRAM31a〜31cの機能テスト時に各RAM31a〜31cのアドレスを選択するシフトレジスタ、SIAは全シフトレジスタ32a〜32cに対してアドレス指定データを送信する共通配線、33a〜33cはライトイネーブル(書き込み制御)データ入力用レジスタ、SIWはデータ入力用配線、34a〜34cは被テスト回路31a〜31cのデータの出力値と期待値との比較を行う比較回路、CMPENは比較回路34a〜34cでの出力正誤判断(比較動作)を制御(禁止)するための比較イネーブル信号入力端子(比較禁止手段)である。なお、データ入力用配線(SIW)に流れるSIW信号は、比較イネーブル信号入力端子(CMPEN)に流れる比較イネーブル信号(CMPEN)を反転したものである。本実施の形態の半導体メモリの検査装置は、アドレス発生回路にてアドレスのインクリメントまたはディクリメントを行う点で第2の従来例および第3の従来例のものと目的を同一とするが、一定の順序でアドレスをシフト(インクリメントまたはディクリメント)する必要があるため、アドレス発生回路にてアドレスのインクリメントまたはディクリメントを行うために、同一の回路でLFSR機能とカウンタ機能とを切り換えるものである。図24中のWECは被テスト回路31としてのRAMのライトイネーブル(書き込み制御)端子である。図24の如く、比較回路34a〜34cは、内部に比較禁止部34Zを備え、CMPEN端子が“1”のとき被テスト回路31a〜31cの出力値と期待値との比較を行い、CMPEN端子が“0”のとき前記比較禁止部34Zにて上記比較を行わないよう構成される。また34Fはデータ入力用シフトレジスタ33へのデータ入力と比較回路34からのデータ出力の間に1クロック分の時間差が生じるためにその補正を行うフリップフロップである。
{Embodiment 4}
<Configuration>
FIG. 24 is a block diagram showing an outline of the fourth embodiment of the present invention. The inspection apparatus according to the present embodiment performs a function test on a plurality of semiconductor memories (circuits to be tested) such as RAM and ROM. In FIG. 24, reference numeral 30 denotes an inspection apparatus having a test pattern (algorithmic pattern) generating circuit according to the present embodiment, 31a to 31c are RAMs as circuits to be tested, and 32a to 32c are RAMs 31a to 31c during a function test of the RAMs 31a to 31c. 31c is a shift register for selecting an address, SIA is a common wiring for transmitting addressing data to all the shift registers 32a to 32c, 33a to 33c are write enable (write control) data input registers, and SIW is a data input wiring. , 34a to 34c are comparison circuits for comparing the output values of the data of the circuits under test 31a to 31c with the expected values, and CMPEN is for controlling (prohibiting) output correctness judgment (comparison operation) in the comparison circuits 34a to 34c. The comparison enable signal input terminal (comparison prohibition means). The SIW signal flowing through the data input wiring (SIW) is an inverted version of the comparison enable signal (CMPEN) flowing through the comparison enable signal input terminal (CMPEN). The semiconductor memory inspection apparatus of the present embodiment has the same purpose as that of the second conventional example and the third conventional example in that the address is incremented or decremented by the address generation circuit. Since it is necessary to shift (increment or decrement) the address in order, the LFSR function and the counter function are switched in the same circuit in order to increment or decrement the address in the address generation circuit. In FIG. 24, WEC is a write enable (write control) terminal of the RAM as the circuit under test 31. As shown in FIG. 24, each of the comparison circuits 34a to 34c includes a comparison prohibition unit 34Z. When the CMPEN terminal is “1”, the output values of the circuits under test 31a to 31c are compared with the expected values. When “0”, the comparison prohibition unit 34Z is configured not to perform the comparison. Reference numeral 34F denotes a flip-flop for correcting a time difference of one clock between the data input to the data input shift register 33 and the data output from the comparison circuit 34.

図25は本発明の実施の形態4の半導体メモリの検査装置を示す図である。本実施の形態の半導体メモリの検査装置は、5ビット以内の疑似ランダム系列を発生しかつカウントアップ・ダウンを可能とする5ビットのアドレス発生回路であって、疑似乱数としての5ビットのアドレス指定データを発生させながら複数のRAMおよびROM等の半導体メモリ(被テスト回路)について機能テストを行うものである。図25中の31はワード数(アドレス入力端子数)が任意の値(例えば、24)に設定されたRAM等の被テスト回路(半導体メモリ)、32は前記被テスト回路31のアドレス入力端子A0〜A3にアドレス入力を行う4ビットのアドレス入力用シフトレジスタ、33はライトイネーブル(書き込み制御)指令部としてのデータ入力用レジスタ、34はRAMのデータ出力値と期待値とを比較する2ビットの比較回路(データ出力用シフトレジスタ)、35はRAMアドレスの初期値を格納する5ビットのアドレス発生用シフトレジスタ(アドレス発生部:ADDR)、α−0(最下位ビット:LSB)〜α−4(最上位ビット:MSB)は前記アドレス発生用シフトレジスタ(ADDR)を構成するフリップフロップ(1ビットレジスタ)、36は5ビットの制御レジスタ(CARRY)、β−0(最下位ビット:LSB)〜β−4(最上位ビット:MSB)は前記制御レジスタ(CARRY)を構成するフリップフロップ(1ビットレジスタ)、37はアドレス設定時に全周期系列の生成多項式が初期値として与えられかつカウント時に有効アドレス数が格納される5ビットのフリップフロップ選択レジスタ(有効アドレス数格納部:MASKA)、γ−0(最下位ビット:LSB)〜γ−4(最上位ビット:MSB)は前記フリップフロップ選択レジスタ(MASKA)を構成するフリップフロップ、38は前記アドレス発生用シフトレジスタ(ADDR)の各フリップフロップα−0〜α−4とこれらに夫々対応する前記フリップフロップ選択レジスタ(MASKA)の各フリップフロップγ−0〜γ−4との間で論理積(AND)をとる第1のAND(論理積)回路群、39は前記制御レジスタ(CARRY)のフリップフロップβ−0〜β−4とこれらに夫々対応する前記フリップフロップ選択レジスタ(MASKA)の各フリップフロップγ−0〜γ−4との間で論理積(AND)をとる第2のAND(論理積)回路群、41は期待値発生回路、42は39の出力に対して論理和(OR)をとるOR(論理和)回路群、43はカウンタ、44は排他的論理和(Ex.OR)回路である。なお、前記アドレス発生用シフトレジスタ(ADDR)35、前記制御レジスタ(CARRY)36、前記フリップフロップ選択レジスタ(MASKA)37、前記第1のAND回路群38、前記第2のAND回路群39、前記期待値発生回路41、および前記OR回路群42は、テストパターン発生時に機能テストを行う複数種類の半導体メモリのアドレス数のうち最大アドレス値に対応するビット数のテストパターンを発生し、カウント時に前記半導体メモリの有効アドレス数を設定する算術論理演算部を構成する。 FIG. 25 is a diagram showing a semiconductor memory inspection apparatus according to the fourth embodiment of the present invention. The semiconductor memory inspection apparatus according to the present embodiment is a 5-bit address generation circuit that generates a pseudo-random sequence within 5 bits and enables count-up / down, and includes 5-bit addressing as a pseudo-random number. A function test is performed on a plurality of semiconductor memories (circuits to be tested) such as RAM and ROM while generating data. In FIG. 25, reference numeral 31 denotes a circuit under test (semiconductor memory) such as a RAM in which the number of words (number of address input terminals) is set to an arbitrary value (for example, 2 4 ), and 32 denotes an address input terminal of the circuit under test 31. A 4-bit address input shift register for inputting addresses to A0 to A3, 33 is a data input register as a write enable (write control) command section, and 34 is a 2-bit comparison between the data output value of the RAM and the expected value. Comparison circuit (data output shift register) 35 is a 5-bit address generation shift register (address generation unit: ADDR) for storing the initial value of the RAM address, α-0 (least significant bit: LSB) to α- 4 (most significant bit: MSB) is a flip-flop (1-bit register) constituting the address generation shift register (ADDR) , 36 is a 5-bit control register (CARRY), and β-0 (least significant bit: LSB) to β-4 (most significant bit: MSB) are flip-flops (1-bit register) constituting the control register (CARRY) , 37 is a 5-bit flip-flop selection register (effective address number storage unit: MASKA) in which a generating polynomial for all periodic sequences is given as an initial value at the time of address setting and the effective address number is stored at the time of counting, γ-0 (maximum Lower bits: LSB) to γ-4 (most significant bit: MSB) are flip-flops constituting the flip-flop selection register (MASKA), and 38 is each flip-flop α-0 to the address generation shift register (ADDR). α-4 and each flip-flop selection register (MASKA) corresponding to each of them A first AND (logical product) circuit group that takes a logical product (AND) with the flops γ-0 to γ-4, 39 is the flip-flops β-0 to β-4 of the control register (CARRY) and these , A second AND (logical product) circuit group that takes a logical product (AND) with each of the flip-flops γ-0 to γ-4 of the flip-flop selection register (MASKA), 41 is an expected value generator A circuit 42 is an OR (logical sum) circuit group that takes a logical sum (OR) with respect to 39 outputs, 43 is a counter, and 44 is an exclusive OR (Ex.OR) circuit. The address generation shift register (ADDR) 35, the control register (CARRY) 36, the flip-flop selection register (MASKA) 37, the first AND circuit group 38, the second AND circuit group 39, The expected value generation circuit 41 and the OR circuit group 42 generate a test pattern having the number of bits corresponding to the maximum address value among the number of addresses of a plurality of types of semiconductor memories that perform a function test when the test pattern is generated. An arithmetic logic unit that sets the number of effective addresses of the semiconductor memory is configured.

前記アドレス発生用シフトレジスタ(ADDR)35および制御レジスタ(CARRY)36には、各レジスタ35,36のシフト禁止制御用の外部信号(Sinh−LX)を入力する端子が接続されている。前記フリップフロップ選択レジスタ(MASKA)37は、カウント時に有効アドレス数情報を格納する有効アドレス数情報格納部として機能する。   The address generation shift register (ADDR) 35 and the control register (CARRY) 36 are connected to terminals for inputting an external signal (Sinh-LX) for shift prohibition control of the registers 35 and 36. The flip-flop selection register (MASKA) 37 functions as an effective address number information storage unit that stores effective address number information at the time of counting.

前記第1のAND回路群38は、図26の如く、前記アドレス発生用シフトレジスタ(ADDR)35および前記フリップフロップ選択レジスタ(MASKA)37のビット数に対応して5個のAND回路51〜55から構成される。該各AND回路51〜55には、対応するアドレス発生用シフトレジスタ(ADDR)35の各フリップフロップα−0〜α−4およびフリップフロップ選択レジスタ(MASKA)37の各フリップフロップγ−0〜γ−4からの信号が入力される。そして、例えばAND回路51は“α−0 AND γ−0”を演算し、また例えばAND回路54は“α−4 AND γ−4”を演算する。   As shown in FIG. 26, the first AND circuit group 38 includes five AND circuits 51 to 55 corresponding to the number of bits of the address generation shift register (ADDR) 35 and the flip-flop selection register (MASKA) 37. Consists of The AND circuits 51 to 55 include flip-flops α-0 to α-4 of a corresponding address generation shift register (ADDR) 35 and flip-flops γ-0 to γ of a flip-flop selection register (MASKA) 37. -4 is input. For example, the AND circuit 51 calculates “α-0 AND γ-0”, and for example, the AND circuit 54 calculates “α-4 AND γ-4”.

前記第2のAND回路群39は前記制御レジスタ(CARRY)36および前記フリップフロップ選択レジスタ(MASKA)37のビット数に対応して5個のAND回路56〜60から構成される。該各AND回路56〜60には、対応する前記制御レジスタ(CARRY)36の各フリップフロップβ−0〜β−4および前記フリップフロップ選択レジスタ(MASKA)37の各フリップフロップγ−0〜γ−4からの信号が入力される。そして、例えばAND回路56は“β−0 AND γ−0”を演算し、また例えばAND回路60は“β−4 AND γ−4”を演算する。   The second AND circuit group 39 is composed of five AND circuits 56 to 60 corresponding to the number of bits of the control register (CARRY) 36 and the flip-flop selection register (MASKA) 37. The AND circuits 56 to 60 include respective flip-flops β-0 to β-4 of the corresponding control register (CARRY) 36 and flip-flops γ-0 to γ- of the flip-flop selection register (MASKA) 37. 4 is input. For example, the AND circuit 56 calculates “β-0 AND γ-0”, and the AND circuit 60 calculates “β-4 AND γ-4”, for example.

前記期待値発生回路41は、四個の排他的論理和(Ex.OR)回路61〜64を備える。このうち、Ex.OR回路61はAND回路54,55からの信号が入力される。Ex.OR回路62はAND回路52,53からの信号が入力される。Ex.OR回路63はEx.OR回路62およびAND回路51からの信号が入力される。Ex.OR回路64はEx.OR回路61,63からの信号が入力される。   The expected value generation circuit 41 includes four exclusive OR (Ex.OR) circuits 61 to 64. Of these, Ex. The OR circuit 61 receives signals from the AND circuits 54 and 55. Ex. The OR circuit 62 receives signals from the AND circuits 52 and 53. Ex. OR circuit 63 is connected to Ex. Signals from the OR circuit 62 and the AND circuit 51 are input. Ex. OR circuit 64 is connected to Ex. Signals from the OR circuits 61 and 63 are input.

前記OR回路群42は、四個の論理和(OR)回路65〜68を備える。このうち、OR回路65はAND回路59,60からの信号が入力される。OR回路66はAND回路57,58からの信号が入力される。OR回路67はOR回路66およびAND回路56からの信号が入力される。OR回路68はOR回路65,67からの信号が入力される。   The OR circuit group 42 includes four OR circuits 65-68. Among these, the OR circuit 65 receives signals from the AND circuits 59 and 60. The OR circuit 66 receives signals from the AND circuits 57 and 58. The OR circuit 67 receives signals from the OR circuit 66 and the AND circuit 56. The OR circuit 68 receives signals from the OR circuits 65 and 67.

前記カウンタ43は、一個のAND回路71と、一個のOR回路72と、一個の半加算器(ハーフアダー回路)73と、一個のスイッチ74と、一個のフリップフロップ(以下、FFと略す)75とを備える。   The counter 43 includes one AND circuit 71, one OR circuit 72, one half adder (half adder circuit) 73, one switch 74, and one flip-flop (hereinafter abbreviated as FF) 75. Is provided.

前記AND回路71は二個の入力端子を有し、一方の入力端子にはリセット信号(RSET)が入力され、他方の入力端子には前記FF75からの信号が入力される。これにより、カウンタ43は、前記FF75から信号が入力されかつリセット信号(RSET)が入力された際によりリセットされる。前記OR回路72は、前記算術論理演算部からの有効アドレス数情報に基づいて前記半導体メモリの有効アドレス数に対応する回数をカウントしてアドレスをインクリメントまたはディクリメントした直後であるか否かを検知しこの時点で1を加算する加算素子として機能するもので、二個の入力端子を有し、一方の入力端子には前記AND回路71からの信号(incarry)が入力され、他方の入力端子には前記OR回路群42の前記OR回路68からの信号(set)が入力される。前記半加算器73は、図27の如く、SUM(以下、Sと略す)およびCarry(以下、Cと略す)の二個の出力とAおよびBの二個の入力を持つ組み合わせ論理要素であって、Sは桁上りなしの合計(和出力)、Cは桁上り(キャリー出力)を示すものであり、各入力端子A,Bと各出力端子S,Cとは、
S=A Ex.OR B
C=A AND B
といった関係がある。そして、入力端子Aには前記期待値発生回路41の前記Ex.OR回路64からの信号(coin)が入力され、入力端子Bには前記OR回路72からの信号(cain)が入力される。前記スイッチ74は、外部からの選択信号(Counter/LFSR)に基づいて疑似ランダム系列を発生させるかまたはカウンタとして機能するかを選択するものであり、二個の入力端子を有し、一方の入力端子には前記期待値発生回路41の前記Ex.OR回路64からの信号が入力され、他方の入力端子には前記半加算器73の出力S(Data Out)が入力される。前記FF75は、前記半加算器73のキャリー出力Cに基づいて前記OR回路72によるアドレスのインクリメントまたはディクリメント動作直前のアドレス内容を記憶して前記OR回路72に伝達する記憶素子として機能する。
The AND circuit 71 has two input terminals. A reset signal (RSET) is input to one input terminal, and a signal from the FF 75 is input to the other input terminal. Thus, the counter 43 is reset when a signal is input from the FF 75 and a reset signal (RSET) is input. The OR circuit 72 counts the number of times corresponding to the number of effective addresses of the semiconductor memory based on information on the number of effective addresses from the arithmetic logic unit, and detects whether the address is immediately after incrementing or decrementing the address. At this time, it functions as an adding element for adding 1 and has two input terminals. One input terminal receives a signal (inarry) from the AND circuit 71 and the other input terminal. The signal (set) from the OR circuit 68 of the OR circuit group 42 is input. As shown in FIG. 27, the half adder 73 is a combinational logic element having two outputs of SUM (hereinafter abbreviated as S) and Carry (hereinafter abbreviated as C) and two inputs of A and B. S represents a sum without carry (sum output), C represents a carry (carry output), and the input terminals A and B and the output terminals S and C are
S = A Ex.OR B
C = A AND B
There is a relationship. The input terminal A has the Ex. A signal (coin) from the OR circuit 64 is input, and a signal (cain) from the OR circuit 72 is input to the input terminal B. The switch 74 selects whether to generate a pseudo-random sequence or to function as a counter based on a selection signal (Counter / LFSR) from the outside, has two input terminals, and has one input. The terminal of the expected value generating circuit 41 is connected to the Ex. A signal from the OR circuit 64 is input, and the output S (Data Out) of the half adder 73 is input to the other input terminal. The FF 75 functions as a storage element that stores the address contents immediately before the increment or decrement operation of the address by the OR circuit 72 based on the carry output C of the half adder 73 and transmits it to the OR circuit 72.

前記Ex.OR回路44は、発生したパターンを外部からのUP/DOWN信号に基づいて反転させるためのものであり、二個の入力端子を有し、一方の入力端子には前記スイッチ74からの信号が入力され、他方の入力端子にはUP/DOWN信号が入力される。そして、該Ex.OR回路44の出力は前記アドレス入力用シフトレジスタ32のシリアル入力端子へ送信される。ここで、図25ではアドレス入力用シフトレジスタ32を単一のものとして省略的に図示しているが、実際には図24のように複数個の被テスト回路31a〜31cを機能テストするために複数個のアドレス入力用シフトレジスタ32a〜32cが並列に接続されている。図25中のSIAは複数個の前記アドレス入力用シフトレジスタ32に対してアドレス指定データを送信する共通配線である。   Ex. The OR circuit 44 is for inverting the generated pattern based on the UP / DOWN signal from the outside, and has two input terminals. The signal from the switch 74 is input to one input terminal. The UP / DOWN signal is input to the other input terminal. And the Ex. The output of the OR circuit 44 is transmitted to the serial input terminal of the address input shift register 32. Here, in FIG. 25, the address input shift register 32 is omitted as a single unit, but actually, in order to functionally test a plurality of circuits under test 31a to 31c as shown in FIG. A plurality of address input shift registers 32a to 32c are connected in parallel. SIA in FIG. 25 is a common wiring for transmitting address designation data to the plurality of address input shift registers 32.

<使用方法>
上記構成の半導体メモリの検査装置の使用方法を説明する。まず、被テスト回路31の機能テスト時には、共通配線SIAを通じてアドレス入力用シフトレジスタ32のシリアル入力端子にテストデータを入力し、アドレスとして被テスト回路31(RAM)に入力される。ここで、被テスト回路31(半導体メモリ)がmビット(例えば本実施の形態の場合、5ビット)のアドレス端子まで対応している場合、テストしたい被テスト回路31がnビット(例えば図25乃至図30では4ビット)のとき、アドレス発生用シフトレジスタ(ADDR)35、制御レジスタ(CARRY)36、およびフリップフロップ選択レジスタ(MASKA)37の各レジスタのm−n(本実施の形態の場合、5−4=1)ビットが冗長になる。すなわち、図25乃至図30に示した本実施の形態では最大5ビットのアドレス端子を持つRAMに対応している回路で、テストしたいRAMが4ビットとしているため、冗長なビットが1ビットだけ存在することになる。かかる冗長なビットはレジスタの最下位ビット(Least Significant Bit:LSB)側になるように設定しておく。
<How to use>
A method of using the semiconductor memory inspection apparatus having the above configuration will be described. First, at the time of a function test of the circuit under test 31, test data is input to the serial input terminal of the address input shift register 32 through the common wiring SIA and input to the circuit under test 31 (RAM) as an address. Here, when the circuit under test 31 (semiconductor memory) supports up to m bits (for example, 5 bits in the case of the present embodiment), the circuit under test 31 to be tested has n bits (for example, FIG. 25 to FIG. 25). In the case of 4 bits in FIG. 30, mn (in the case of this embodiment) of each register of the address generation shift register (ADDR) 35, the control register (CARRY) 36, and the flip-flop selection register (MASKA) 37 5-4 = 1) Bits are redundant. That is, in the present embodiment shown in FIGS. 25 to 30, a circuit corresponding to a RAM having an address terminal of 5 bits at the maximum, and the RAM to be tested has 4 bits, so there is only 1 redundant bit. Will do. Such redundant bits are set so as to be on the least significant bit (LSB) side of the register.

図28は本実施の形態の検査装置が四次の全周期系列(テストパターン)を発生する例を示す。まずはじめに、アドレス発生用シフトレジスタ(ADDR)35のフリップフロップα−0〜α−4に“00000”を、制御レジスタ(CARRY)36のフリップフロップβ−0〜β−4に“11111”を、フリップフロップ選択レジスタ(MASKA)37のフリップフロップγ−0〜γ−4に“00110”を、アドレス入力用シフトレジスタ32のフリップフロップに“0000”を予め入力しておく。ここで、フリップフロップ選択レジスタ(MASKA)37に設定したデータは、全周期系列を発生するLFSRの生成多項式である。本実施の形態で用いる生成多項式は、例として、
1+X3+X4
=1+0×X1+0×X2+1×X3+1×X4+0×X5
とする。このため、フリップフロップ選択レジスタ(MASKA)37には上述の通り“00110”を設定しておく。なお、四次の生成多項式の他の例としては1+X2+X4があり、この場合にはフリップフロップ選択レジスタ(MASKA)37に“01010”を設定することで異なるテストパターンを発生させることができる。
FIG. 28 shows an example in which the inspection apparatus of the present embodiment generates a quaternary full cycle sequence (test pattern). First, “00000” is set in the flip-flops α-0 to α-4 of the address generation shift register (ADDR) 35, and “11111” is set in the flip-flops β-0 to β-4 of the control register (CARRY) 36. “00110” is input to the flip-flops γ-0 to γ-4 of the flip-flop selection register (MASKA) 37 and “0000” is input to the flip-flop of the address input shift register 32 in advance. Here, the data set in the flip-flop selection register (MASKA) 37 is a generator polynomial of LFSR that generates a full-period sequence. The generator polynomial used in this embodiment is, for example,
1 + X 3 + X 4
= 1 + 0 × X 1 + 0 × X 2 + 1 × X 3 + 1 × X 4 + 0 × X 5
And Therefore, “00110” is set in the flip-flop selection register (MASKA) 37 as described above. Another example of the fourth-order generator polynomial is 1 + X 2 + X 4 , and in this case, different test patterns can be generated by setting “01010” in the flip-flop selection register (MASKA) 37. .

アドレス発生用シフトレジスタ(ADDR)35に設定したデータ“00000”は、24ワードのアドレスを有する被テスト回路31(RAM)にあたえるアドレスの初期値“0000”である。ただし図28に示した本実施の形態の場合はアドレス発生用シフトレジスタ(ADDR)35の最下位ビットα−0(最下位ビット:LSB)は冗長なビットとされる。 Address generation shift register (ADDR) data is set to 35 "00000" is a 2 4 tested circuit having an address word 31 the initial value of the address to be supplied to the (RAM) "0000". However, in the case of the present embodiment shown in FIG. 28, the least significant bit α-0 (the least significant bit: LSB) of the address generation shift register (ADDR) 35 is a redundant bit.

また、制御レジスタ(CARRY)36には上述のように“11111”を設定する。テスト実行時、比較回路34の出力(CMPEN)は常に“1”、ライトイネーブル(書き込み制御)データ入力用レジスタ33への入力(SIW)は常に“0”とされるので、常に被テスト回路31(RAM)への書き込み、期待値と被テスト回路31の出力データの比較が行われる。   Also, “11111” is set in the control register (CARRY) 36 as described above. During the test execution, the output (CMPEN) of the comparison circuit 34 is always “1” and the input (SIW) to the write enable (write control) data input register 33 is always “0”. Writing to (RAM) and comparison of the expected value and the output data of the circuit under test 31 are performed.

またアドレス入力用シフトレジスタ32には上述のように予め“0000”を入力しておく。そして、選択信号端子Counter/LFSRは本実施の形態の検査装置がLFSRとして機能するように“0”(LFSR指定)に設定しておく。さらに選択信号UP/DOWNは“0”(UP指定)とする。   Further, “0000” is input in advance to the address input shift register 32 as described above. The selection signal terminal Counter / LFSR is set to “0” (LFSR designation) so that the inspection apparatus of the present embodiment functions as an LFSR. Further, the selection signal UP / DOWN is set to “0” (UP designation).

図29は図28のように各レジスタの初期値を設定した場合の等価回路である。図29中の符号は夫々図25と対応している。すなわち、本実施の形態の検査装置はフリップフロップα−1〜α−4を持つアドレス発生用シフトレジスタ(ADDR)35を備える4ビットのLFSRであり、Sinh−LX端子を“0”にすると、四次の全周期系列を発生する。全てのパターンを発生した後、UP/DOWN端子を反転させてDOWN指定とすることで、先に発生したアドレスパターンとは逆の順序で発生することができる。   FIG. 29 is an equivalent circuit when initial values of the respective registers are set as shown in FIG. The symbols in FIG. 29 correspond to FIG. 25, respectively. That is, the inspection apparatus according to the present embodiment is a 4-bit LFSR including an address generation shift register (ADDR) 35 having flip-flops α-1 to α-4. When the Sinh-LX terminal is set to “0”, Generate a quaternary full-period sequence. After all patterns have been generated, the UP / DOWN terminal is inverted to designate DOWN so that the addresses can be generated in the reverse order to the previously generated address pattern.

次に、本実施の形態の半導体メモリの検査装置をカウンタとして動作させる場合について説明する。図30は本回路が四次のカウンタを発生する例を示す。アドレス発生用シフトレジスタ(ADDR)35には“00000”を予め入力しておく。また、制御レジスタ(CARRY)36には“00010”を予め入力しておく。さらに、フリップフロップ選択レジスタ(MASKA)37にはアドレス入力用シフトレジスタ32のビット数(=4)を示す“00010”を予め入力しておく。一般にフリップフロップ選択レジスタ(MASKA)37がmビット(本実施の形態の場合、5ビット)、アドレス入力用シフトレジスタ32がnビット(図30では4ビット)の場合、フリップフロップ選択レジスタ(MASKA)37の有効データ列の一桁目のみを“1”に設定し、残りのレジスタは“0”に設定する。ここでは、フリップフロップγ−1のみ“1”に設定する。   Next, a case where the semiconductor memory inspection device of this embodiment is operated as a counter will be described. FIG. 30 shows an example in which the circuit generates a quaternary counter. “00000” is input in advance to the address generation shift register (ADDR) 35. Further, “00010” is previously input to the control register (CARRY) 36. Further, “00010” indicating the number of bits (= 4) of the address input shift register 32 is previously input to the flip-flop selection register (MASKA) 37. Generally, when the flip-flop selection register (MASKA) 37 is m bits (5 bits in this embodiment) and the address input shift register 32 is n bits (4 bits in FIG. 30), the flip-flop selection register (MASKA) Only the first digit of the valid data string of 37 is set to “1”, and the remaining registers are set to “0”. Here, only flip-flop γ-1 is set to “1”.

アドレス発生用シフトレジスタ(ADDR)35に入力したデータ“00000”は、24ワードのアドレスを有する被テスト回路31(RAM)の初期値である。ただし最下位ビットα−0は冗長なビットである。制御レジスタ(CARRY)36に入力したデータ“00010”は、フリップフロップ選択レジスタ(MASKA)37に入力したデータと同じである。アドレス入力用シフトレジスタ32にはアドレス発生用シフトレジスタ(ADDR)35と同じ(ただし最下位ビットα−0を省略したデータと同じ)アドレスの初期値“0000”を設定しておく。このように設定した場合、図30に示した回路は図31に示した回路と等価になる。すなわち、かかる条件設定において検査装置はアドレス変更手段としての1ビットカウンタとなり、4サイクルごとにインクリメントする。 Address generation shift register (ADDR) data entered in 35 "00000" is the initial value of the test circuit 31 (RAM) having addresses 2 4 words. However, the least significant bit α-0 is a redundant bit. The data “00010” input to the control register (CARRY) 36 is the same as the data input to the flip-flop selection register (MASKA) 37. The address input shift register 32 is set with an initial address “0000” which is the same as the address generation shift register (ADDR) 35 (but the same as the data in which the least significant bit α-0 is omitted). In such a setting, the circuit shown in FIG. 30 is equivalent to the circuit shown in FIG. That is, in such a condition setting, the inspection apparatus becomes a 1-bit counter as an address changing means and increments every four cycles.

図31に基づいて本実施の形態の検査装置の動作について説明する。まず、リセット(RSET)信号を“0”にし、FF75の内部を“0”にする。この時Sinh−LXは“1”にし、アドレス発生用シフトレジスタ(ADDR)35内のデータがシフトしないようにする。   The operation of the inspection apparatus of the present embodiment will be described based on FIG. First, the reset (RSET) signal is set to “0”, and the inside of the FF 75 is set to “0”. At this time, Sinh-LX is set to “1” so that the data in the address generation shift register (ADDR) 35 is not shifted.

次に、リセット(RSET)信号を“1”にし、同時にSinh−LXを“0”にする。このとき、アドレス発生用シフトレジスタ(ADDR)35およびアドレス入力用シフトレジスタ32は“0000”、制御レジスタ(CARRY)36が“0001”である。   Next, the reset (RSET) signal is set to “1”, and Sinh-LX is set to “0” at the same time. At this time, the address generation shift register (ADDR) 35 and the address input shift register 32 are “0000”, and the control register (CARRY) 36 is “0001”.

また、図30中のSIW(ライトイネーブル)は“0”、CMPEN(データ出力)は“1”で、被テスト回路31(RAM)の0番地へのデータ書き込み、もしくは、被テスト回路31(RAM)のデータ出力と期待値との比較を行う。そして、半加算器73にて「α−1」AND「β−1」が実行され、S=1、C=0となる。したがって次のクロックでアドレス発生用シフトレジスタ(ADDR)35とアドレス入力用シフトレジスタ32は“1000”、制御レジスタ(CARRY)36は“1000”となる。このとき、SIWは“1”、CMPENは“0”となり、故に被テスト回路31(RAM)のデータ書き込み、およびデータ出力値と期待値との比較は禁止される。また、アドレス入力用シフトレジスタ32は“0000”である。   In FIG. 30, SIW (write enable) is “0”, CMPEN (data output) is “1”, data is written to address 0 of the circuit under test 31 (RAM), or circuit under test 31 (RAM ) Compare the data output with the expected value. Then, “α-1” AND “β-1” is executed by the half adder 73, and S = 1 and C = 0. Therefore, at the next clock, the address generation shift register (ADDR) 35 and the address input shift register 32 become “1000”, and the control register (CARRY) 36 becomes “1000”. At this time, SIW becomes “1” and CMPEN becomes “0”, and therefore, data writing in the circuit under test 31 (RAM) and comparison between the data output value and the expected value are prohibited. The address input shift register 32 is “0000”.

4回目のクロックサイクルではアドレス発生用シフトレジスタ(ADDR)35は“0001”となり、アドレス入力用シフトレジスタ32は“0010”である。SIWは“0”、CMPENは“1”で、被テスト回路31の1番地へのデータ書き込み、もしくはデータ出力と期待値との比較を行う。   In the fourth clock cycle, the address generation shift register (ADDR) 35 is “0001” and the address input shift register 32 is “0010”. SIW is “0” and CMPEN is “1”, and data is written to address 1 of the circuit under test 31 or the data output is compared with the expected value.

そして、5回目のクロックサイクルではアドレス発生用シフトレジスタ(ADDR)35は“0000”となり、アドレス入力用シフトレジスタ32は“0001”である。SIWは“1”、CMPENは“0”で、被テスト回路31(RAM)のデータ書き込み、およびデータ出力値と期待値との比較は禁止される。   In the fifth clock cycle, the address generation shift register (ADDR) 35 is “0000” and the address input shift register 32 is “0001”. SIW is "1" and CMPEN is "0", and data writing to the circuit under test 31 (RAM) and comparison between the data output value and the expected value are prohibited.

次に、半加算器73で「α−1」AND「β−1」が実行され、S=0、C=1となる。したがって、次のクロックでアドレス発生用シフトレジスタ(ADDR)35とアドレス入力用シフトレジスタ32は“0000”、制御レジスタ(CARRY)36は“1000”となる。このとき、SIWは“1”、CMPENは“0”で、被テスト回路31へのデータ書き込み、およびデータ出力と期待値との比較は禁止される。   Next, “α−1” AND “β−1” is executed by the half adder 73, and S = 0 and C = 1. Therefore, at the next clock, the address generation shift register (ADDR) 35 and the address input shift register 32 become “0000”, and the control register (CARRY) 36 becomes “1000”. At this time, SIW is “1” and CMPEN is “0”, and data writing to the circuit under test 31 and comparison between the data output and the expected value are prohibited.

8回目のクロックサイクルではアドレス発生用シフトレジスタ(ADDR)35とアドレス入力用シフトレジスタ32は“0010”、CARRYは“0001”である。SIWは“0”、CMPENは“1”で、RAMの2番値へのデータ書き込み、もしくはRAMのデータ出力と期待値との比較を行う。   In the eighth clock cycle, the address generation shift register (ADDR) 35 and the address input shift register 32 are “0010”, and CARRY is “0001”. SIW is “0” and CMPEN is “1”, and data is written to the second value of the RAM, or the data output of the RAM is compared with the expected value.

このように本回路は、4回のシフト動作毎でアドレスをインクリメントに設定する。CMPENは、CARRYのシフトに同期して信号を出力し、アドレス設定時は“0”、テスト時は“1”を発生し、また、SIWはこれらの反転された値が入力される。   As described above, the circuit sets the address to increment every four shift operations. CMPEN outputs a signal in synchronization with the shift of CARRY, generates “0” at the time of address setting, “1” at the time of test, and SIW receives these inverted values.

以上の如く、本発明による回路はnビットのシフトレジスタを設定した場合、n回のシフト動作毎でアドレスをインクリメントすることができる。さらにUP/DOWN端子を“1”にしてSIAを反転させることでアドレスをデクリメントすることができる。   As described above, the circuit according to the present invention can increment the address every n shift operations when an n-bit shift register is set. Further, the address can be decremented by setting the UP / DOWN terminal to “1” and inverting the SIA.

なお、前述の第1の課題を解決するために、一定の順序でアドレスをシフト(インクリメントまたはディクリメント)する必要があり、アドレス発生回路にてアドレスのインクリメントまたはディクリメントを行うために、本実施の形態では同一の回路でLFSR機能とカウンタ機能とを切り換えている。ところで、アドレス発生回路にてアドレスのインクリメントまたはディクリメントを行うためには、他の提案例として、図59および図24に示した第2の従来例と同一の構成のLFSR回路523に、別部材としての一般的なカウンタを接続し、かかるカウンタとLFSR回路523の連携動作にてアドレスのインクリメントまたはディクリメントを行う方法も考えられる。しかしながら一般にカウンタはLFSR回路523に比べて面積規模が大きく、単一の集積回路内に集積するのは困難で、アドレスバスを外側に出して外部にカウンタを外付けしなければならない。したがって、カウンタ分の面積が余分に必要なだけでなく、アドレスバス等の配線機構をも必要とし、面積効率を大幅に低下させる要因となる。このことを考慮し、本実施の形態では、半加算器73およびFF75等から構成される1ビットレジスタを用いて小さな面積の検査装置を実現している。   In order to solve the first problem described above, it is necessary to shift (increment or decrement) the address in a certain order. In order to increment or decrement the address in the address generation circuit, this embodiment is implemented. In the embodiment, the LFSR function and the counter function are switched by the same circuit. By the way, in order to increment or decrement the address by the address generation circuit, as another proposal example, another member is added to the LFSR circuit 523 having the same configuration as the second conventional example shown in FIGS. It is also conceivable to connect a general counter as described above, and increment or decrement the address by the cooperative operation of the counter and the LFSR circuit 523. However, in general, the counter has a larger area than the LFSR circuit 523, and it is difficult to integrate the counter in a single integrated circuit, and the counter must be externally provided outside the address bus. Therefore, not only an extra area for the counter is required, but also a wiring mechanism such as an address bus is required, which causes a significant reduction in area efficiency. In consideration of this, in the present embodiment, a small-area inspection apparatus is realized using a 1-bit register including a half adder 73, an FF 75, and the like.

{実施の形態5}
<構成>
図32は本発明の実施の形態5の半導体メモリの検査装置を示す図である。実施の形態の半導体メモリの検査装置は、5ビット、すなわち25のワード数以下のアドレス発生回路である点で実施の形態4と同様であるが、本実施の形態の検査装置は内部にマグネチュードコンパレータ(Magnitude Comparator)を備える点で実施の形態4と異なる。図32中の35はRAMアドレスの初期値を格納する5ビットのアドレス発生用シフトレジスタ(ADDR)、37は全周期系列の生成多項式が初期値として与えられる5ビットのフリップフロップ選択レジスタ(MASKA)、38は第1のAND(論理積)回路群、41は期待値発生回路であり、夫々、実施の形態4で説明したものと同様の構成とされている。また、図32中の81はOR(論理和)回路群(MASK)、82は第2のAND(論理積)回路群、83はRAMのアドレスの最大値が初期値として与えられる5ビットの最大アドレス値格納レジスタ(MAXA)、84はマグネチュードコンパレータである。なお、前記アドレス発生用シフトレジスタ(ADDR)35、前記フリップフロップ選択レジスタ(MASKA)37、前記第1のAND回路群38、前記期待値発生回路41、前記OR回路群(MASK)81、および前記第2のAND回路群82は、テストパターン発生時に機能テストを行う複数種類の半導体メモリのアドレス数のうち最大アドレス値に対応するビット数のテストパターンを発生する算術論理演算部を構成する。
{Embodiment 5}
<Configuration>
FIG. 32 shows a semiconductor memory inspection apparatus according to the fifth embodiment of the present invention. Inspection apparatus of the semiconductor memory of the embodiment, five bits, i.e. 2 but at 5 points a number of words following the address generating circuit is similar to that of the fourth embodiment, the inspection apparatus of this embodiment Magunechudo inside The present embodiment is different from Embodiment 4 in that a comparator (Magnitude Comparator) is provided. 32 in FIG. 32 is a 5-bit address generation shift register (ADDR) for storing an initial value of a RAM address, and 37 is a 5-bit flip-flop selection register (MASKA) in which a generator polynomial of all period series is given as an initial value. , 38 are a first AND (logical product) circuit group, and 41 is an expected value generating circuit, each having the same configuration as that described in the fourth embodiment. Also, in FIG. 32, 81 is an OR (logical sum) circuit group (MASK), 82 is a second AND (logical product) circuit group, and 83 is a 5-bit maximum in which the maximum value of the RAM address is given as an initial value. Address value storage registers (MAXA) 84 are magnitude comparators. The address generation shift register (ADDR) 35, the flip-flop selection register (MASKA) 37, the first AND circuit group 38, the expected value generation circuit 41, the OR circuit group (MASK) 81, and the The second AND circuit group 82 constitutes an arithmetic logic unit that generates a test pattern having the number of bits corresponding to the maximum address value among the number of addresses of the plurality of types of semiconductor memories that perform the function test when the test pattern is generated.

前記OR回路群(MASK)81は、前記フリップフロップ選択レジスタ(MASKA)37について、最下位ビットγ−0(LSB)から順に最上位ビットγ−4(MSB)まで読み、もし、この間のビットγ−nが“1”のときにその上位のビット(γ−n+1)から最上位ビットγ−4(MSB)をすべて“1”に変換する機能を有する。該OR回路群(MASK)81は四個のOR回路91,92,93,94を有し、該各OR回路91,92,93,94は二個の入力端子を有している。前記OR回路91の一方の端子は前記フリップフロップ選択レジスタ(MASKA)37のフリップフロップγ−0に接続され、他方の端子は前記フリップフロップγ−1に接続されている。前記OR回路92の一方の端子は前記OR回路91の出力端子に接続され、他方の端子は前記フリップフロップγ−2に接続されている。前記OR回路93の一方の端子は前記OR回路92の出力端子に接続され、他方の端子は前記フリップフロップγ−3に接続されている。前記OR回路94の一方の端子は前記OR回路93の出力端子に接続され、他方の端子は前記フリップフロップγ−4に接続されている。ここで、前記OR回路群81の各OR回路91〜94をMASKADDR(1)〜MASKADDR(4)とし、前記フリップフロップ選択レジスタ(MASKA)37の最下位ビットγ−0とOR回路91の接続点をMASKADDR(0)としておく。   The OR circuit group (MASK) 81 reads the flip-flop selection register (MASKA) 37 sequentially from the least significant bit γ-0 (LSB) to the most significant bit γ-4 (MSB). When -n is “1”, the most significant bit γ−4 (MSB) is converted to “1” from the most significant bit (γ−n + 1). The OR circuit group (MASK) 81 has four OR circuits 91, 92, 93, 94, and each of the OR circuits 91, 92, 93, 94 has two input terminals. One terminal of the OR circuit 91 is connected to the flip-flop γ-0 of the flip-flop selection register (MASKA) 37, and the other terminal is connected to the flip-flop γ-1. One terminal of the OR circuit 92 is connected to the output terminal of the OR circuit 91, and the other terminal is connected to the flip-flop γ-2. One terminal of the OR circuit 93 is connected to the output terminal of the OR circuit 92, and the other terminal is connected to the flip-flop γ-3. One terminal of the OR circuit 94 is connected to the output terminal of the OR circuit 93, and the other terminal is connected to the flip-flop γ-4. Here, the OR circuits 91 to 94 of the OR circuit group 81 are designated as MASKADDR (1) to MASKADDR (4), and the connection point between the least significant bit γ-0 of the flip-flop selection register (MASKA) 37 and the OR circuit 91. Is set to MASKADDR (0).

前記第2のAND回路群82は、前記アドレス発生用シフトレジスタ(ADDR)35と前記OR回路群81のMASKADDR(0)〜MASKADDR(4)について各ビットのANDをとって出力する。該第2のAND回路群82は前記アドレス発生用シフトレジスタ(ADDR)35および前記フリップフロップ選択レジスタ(MASKA)37のビット数に対応して5個のAND回路95〜99から構成される。該各AND回路95〜99には、対応する前記アドレス発生用シフトレジスタ(ADDR)35の各フリップフロップα−0〜α−4および前記フリップフロップ選択レジスタ(MASKA)37の各フリップフロップγ−0〜γ−4からの信号が入力される。そして、例えばAND回路95は“α−0 AND γ−0”を演算し、また例えばAND回路99は“α−4 AND γ−4”を演算する。   The second AND circuit group 82 takes an AND of each bit for the address generation shift register (ADDR) 35 and the MASKADDR (0) to MASKADDR (4) of the OR circuit group 81 and outputs the result. The second AND circuit group 82 includes five AND circuits 95 to 99 corresponding to the number of bits of the address generation shift register (ADDR) 35 and the flip-flop selection register (MASKA) 37. The AND circuits 95 to 99 include respective flip-flops α-0 to α-4 of the corresponding address generation shift register (ADDR) 35 and flip-flops γ-0 of the flip-flop selection register (MASKA) 37. The signals from γ-4 are input. For example, the AND circuit 95 calculates “α-0 AND γ-0”, and the AND circuit 99 calculates “α-4 AND γ-4”, for example.

前記最大アドレス値格納レジスタ(MAXA)83は被テスト回路31の最大ワード数が格納されるレジスタであって、前記アドレス発生用シフトレジスタ(ADDR)35および前記フリップフロップ選択レジスタ(MASKA)37と同様、五個のフリップフロップδ−0〜δ−4を備える。   The maximum address value storage register (MAXA) 83 is a register for storing the maximum number of words of the circuit under test 31, and is the same as the address generation shift register (ADDR) 35 and the flip-flop selection register (MASKA) 37. And five flip-flops δ-0 to δ-4.

前記マグネチュードコンパレータ84は、デジタルデータの大小比較回路であり、発生する全周期系列がRAMのアドレス値以上の値を出したときSIWに“1”、CMPENに“0”を出力する。   The magnitude comparator 84 is a digital data magnitude comparison circuit, and outputs “1” to SIW and “0” to CMPEN when the generated entire period series outputs a value equal to or greater than the RAM address value.

また、図32中のデータ入力用レジスタ33および比較回路34は、実施の形態4で説明したものと同様のものが用いられる。そして、前記マグネチュードコンパレータ84、データ入力用レジスタ33、および比較回路34は、前記被テスト回路31(ROM)のアドレスに対応しない前記算術論理演算部の冗長ビットのデータが前記半導体メモリに書き込まれるのを禁止する書き込み制御指令部を構成する。   Also, the data input register 33 and the comparison circuit 34 in FIG. 32 are the same as those described in the fourth embodiment. In the magnitude comparator 84, the data input register 33, and the comparison circuit 34, the redundant bit data of the arithmetic logic unit not corresponding to the address of the circuit under test 31 (ROM) is written into the semiconductor memory. A write control command unit for prohibiting the above is configured.

<使用方法>
上記構成の半導体メモリの検査装置の使用方法を説明する。まず、実施の形態4と同様、初期段階として、アドレス発生用シフトレジスタ(ADDR)35にRAMアドレスの初期値を、フリップフロップ選択レジスタ(MASKA)37に全周期系列の生成多項式(=“00110”)を、最大アドレス値格納レジスタ(MAXA)83にRAMのアドレスの最大値(=“1011”)を夫々格納する。ここで、本実施の形態では冗長ビットを最下位ビット(LSB)側に設定しており、実施の形態4と同様、α−0、δ−0は冗長ビットである。
<How to use>
A method of using the semiconductor memory inspection apparatus having the above configuration will be described. First, as in the fourth embodiment, as an initial stage, the initial value of the RAM address is stored in the address generation shift register (ADDR) 35, and the generator polynomial (= “00110”) of the full-period sequence is stored in the flip-flop selection register (MASKA) 37. ) Is stored in the maximum address value storage register (MAXA) 83, the maximum value of the RAM address (= “1011”). In this embodiment, redundant bits are set on the least significant bit (LSB) side, and α-0 and δ-0 are redundant bits as in the fourth embodiment.

ここで、図33のように、あるクロックサイクルの時点、例えばアドレス発生用シフトレジスタ(ADDR)35が“1001”の時点を考える。図34は図33の等価回路である。図34中のSIAには、「1+X3+X4」のLFSRの生成多項式にしたがって生成された疑似ランダムなアドレスパターンが出力される。ここで、アドレス入力用シフトレジスタ32の値とアドレス発生用シフトレジスタ(ADDR)35の値α−4〜α−1は等しい。このため、RAMへのデータ書き込みおよびRAMデータ出力値と期待値との比較を禁止する必要がある。そこで、アドレス発生用シフトレジスタ(ADDR)35の値と最大アドレス値格納レジスタ(MAXA)83の値とをマグネチュードコンパレータ84で比較することでSIWおよびCMPENを発生する。具体的には、RAMアドレス値が最大アドレス値格納レジスタ(MAXA)83に事前に設定された値(=“1011”)よりも大きくなると、SIWには“1”、CMPENには“0”を発生して、RAMへのデータ書き込みおよびRAMデータ出力値と期待値との比較を禁止する。 Here, as shown in FIG. 33, a time point of a certain clock cycle, for example, a time point when the address generation shift register (ADDR) 35 is “1001” is considered. FIG. 34 is an equivalent circuit of FIG. A pseudo-random address pattern generated according to the LFSR generator polynomial of “1 + X 3 + X 4 ” is output to SIA in FIG. Here, the value of the address input shift register 32 and the value α-4 to α-1 of the address generation shift register (ADDR) 35 are equal. For this reason, it is necessary to prohibit data writing to the RAM and comparison between the RAM data output value and the expected value. Therefore, SIW and CMPEN are generated by comparing the value of the address generation shift register (ADDR) 35 with the value of the maximum address value storage register (MAXA) 83 by the magnitude comparator 84. Specifically, when the RAM address value becomes larger than the value (= “1011”) set in advance in the maximum address value storage register (MAXA) 83, “1” is set to SIW and “0” is set to CMPEN. Occurs and prohibits data writing to the RAM and comparison between the RAM data output value and the expected value.

このように、機能テストする被テスト回路31のアドレス数がいくつであっても、アドレス値の基準の値に対する大小を比較することで、冗長ビットの除却処理を確実に行うことができる。   In this way, regardless of the number of addresses of the circuit under test 31 to be functionally tested, the redundant bit elimination process can be performed reliably by comparing the magnitude of the address value with respect to the reference value.

{実施の形態6}
<構成>
上記実施の形態5において、テストパターンとして“00000”を発生しようとすると、第1のAND回路群38および第2のAND回路群82を経たデータは全て“0”になってしまい、アドレス発生用シフトレジスタ(ADDR)35を何回シフトしても、以後、これらのアドレス入力用シフトレジスタ32への入力(SIA)は“0”のまま永遠に“1”に変換されなくなってしまう。したがって、実施の形態5ではテストパターンとして“00000”の発生が不可能であり、その意味でテストパターンが限定されるという問題点がある。本発明の実施の形態6の半導体メモリの検査装置は、実施の形態5では発生できなかった“00000”の発生を可能とするものである。
{Sixth embodiment}
<Configuration>
In the fifth embodiment, if “00000” is to be generated as a test pattern, all the data that has passed through the first AND circuit group 38 and the second AND circuit group 82 become “0”. No matter how many times the shift register (ADDR) 35 is shifted, the inputs (SIA) to the address input shift register 32 remain “0” and are not converted to “1” forever. Therefore, in the fifth embodiment, “00000” cannot be generated as a test pattern, and there is a problem that the test pattern is limited in that sense. The semiconductor memory inspection apparatus according to the sixth embodiment of the present invention can generate “00000” that could not be generated in the fifth embodiment.

図35は本発明の実施の形態6の半導体メモリの検査装置を示す図である。図35中の101は、実施の形態5で説明した第1のAND回路群38および第2のAND回路群82と同様の構成の第3のAND回路群である。具体的には、該第3のAND(論理積)回路群101は、四個のAND回路101a〜101dを有し、各AND回路101a〜101dの一方の入力端子は前記アドレス発生用シフトレジスタ(ADDR)35の最下位ビットを除く各フリップフロップα−1〜α−4に接続され、他方の入力端子は前記OR回路群81のMASKADDR(0)〜MASKADDR(4)(実施の形態5参照)に接続されている。該第3のAND回路群101は、図35では、{1,0,0,1}AND{1,1,1,0}となる。また、図35中の102は四ビットのNOR回路102で、第3のAND回路群101の全出力のNORをとる。   FIG. 35 shows a semiconductor memory inspection apparatus according to the sixth embodiment of the present invention. Reference numeral 101 in FIG. 35 denotes a third AND circuit group having the same configuration as that of the first AND circuit group 38 and the second AND circuit group 82 described in the fifth embodiment. Specifically, the third AND (logical product) circuit group 101 includes four AND circuits 101a to 101d, and one input terminal of each of the AND circuits 101a to 101d is connected to the address generation shift register ( ADDR) 35 is connected to each of the flip-flops α-1 to α-4 except the least significant bit, and the other input terminals are MASKADDR (0) to MASKADDR (4) of the OR circuit group 81 (see the fifth embodiment). It is connected to the. In FIG. 35, the third AND circuit group 101 is {1, 0, 0, 1} AND {1, 1, 1, 0}. In FIG. 35, reference numeral 102 denotes a 4-bit NOR circuit 102 which takes the NOR of all outputs of the third AND circuit group 101.

なお前記第2のAND回路群82は、Mビットのアドレス発生回路では、
“ADDR(1) AND MASKA(0)”
“ADDR(2) AND MASKA(1)”

“ADDR(M) AND MASKA(M−1)”
を出力する。
The second AND circuit group 82 is an M-bit address generating circuit.
“ADDR (1) AND MASKA (0)”
“ADDR (2) AND MASKA (1)”
~
"ADDR (M) AND MASKA (M-1)"
Is output.

また、図35中の103はEx.OR回路103であり、前記NOR回路102からの出力信号と前記期待値発生回路41からの出力信号が入力される。そして、前記NOR回路102および前記Ex.OR回路103は、直前に発生された半導体メモリのアドレスの全てのビットデータが“0001”であった場合に該ビットデータの値と異なる値のビットデータを発生して後続の半導体メモリのアドレスに“0000”を与える回路を構成する。   Also, 103 in FIG. An OR circuit 103 to which an output signal from the NOR circuit 102 and an output signal from the expected value generation circuit 41 are input. The NOR circuit 102 and the Ex. The OR circuit 103 generates bit data having a value different from the value of the bit data when all the bit data of the address of the semiconductor memory generated immediately before is “0001”, and sets the bit data to the address of the subsequent semiconductor memory. A circuit for providing “0000” is configured.

<使用方法>
図36は図35と等価な回路である。上記構成の半導体メモリの検査装置SIAは疑似ランダムなアドレスパターンを生成する際の使用方法を説明する。まず、アドレス発生用シフトレジスタ(ADDR)35からの信号に基づいて期待値発生回路41は疑似ランダムなアドレスパターンを生成する。ただし、RAMアドレス値が最大アドレス値格納レジスタ(MAXA)83に格納された値よりも大きくなると、マグネチュードコンパレータ84にてその旨を判断し、SIWへ“1”、CMPENへ“0”を出力し、被テスト回路(RAM)にライトイネーブル信号および比較イネーブル信号入力信号を送信して、RAMへのデータ書き込みおよび正誤判断(検査)を禁止する。ここで、α−2〜α−4が全て“0001”のとき、次のクロックのタイミングでEx.OR回路103はアドレス入力用シフトレジスタに至る配線SIAへ“0”を出力し、RAMの0番地を発生する。本実施の形態によっても、実施の形態5と同様の効果を得ることができる。
<How to use>
FIG. 36 is a circuit equivalent to FIG. The semiconductor memory inspection apparatus SIA having the above-described configuration will be described with respect to a method of use when generating a pseudo-random address pattern. First, the expected value generation circuit 41 generates a pseudo-random address pattern based on a signal from the address generation shift register (ADDR) 35. However, if the RAM address value becomes larger than the value stored in the maximum address value storage register (MAXA) 83, the magnitude comparator 84 determines that and outputs “1” to SIW and “0” to CMPEN. Then, a write enable signal and a comparison enable signal input signal are transmitted to the circuit under test (RAM), and data writing to the RAM and correctness judgment (inspection) are prohibited. Here, when α-2 to α-4 are all “0001”, Ex. The OR circuit 103 outputs “0” to the wiring SIA leading to the address input shift register, and generates the RAM address 0. Also in the present embodiment, the same effect as in the fifth embodiment can be obtained.

{実施の形態7}
実施の形態5および実施の形態6に示したマグネチュードコンパレータ84は、回路規模が大きくまた遅延時間も大きい。したがって、面積効率および処理効率のいずれをも劣化させる原因となっていた。ところで、ワード数によっては比較的下位のビットについて常にマグネチュードコンパレータ84で比較しなくてもよい場合がある。例えば最下位ビットα−0(LSB)を冗長ビットとし、かつ最大ワード(二進数)が“1001(十進数で10ワード)”の場合(すなわち、「α−4」=“1”,「α−3」=“0”,「α−2」=“0”,「α−1」=“1”の場合)、このうちの最も下位のビット「α−1」は、“0”でも“1”でも許容できるため、大小比較をしてもしなくても同じである。したがって、この場合、「α−4」、「α−3」、「α−2」の上位3ビットのみ大小比較しても結果は同じである。さらに、最大ワード(二進数)が“1011(十進数で12ワード)”の場合(すなわち、「α−4」=“1”、「α−3」=“0”、「α−2」=“1”、「α−1」=“1”の場合)、このうちの下位の2ビット「α−2」、「α−1」は、“0”でも“1”でも許容できるため、「α−4」、「α−3」の上位2ビットのみ大小比較しても結果は同じである。このことを利用して、本発明の実施の形態7では、マグネチュードコンパレータ84は、必要でない下位ビットの比較を省略して特定の上位ビットのみで比較を行うように構成されている。そうすると、実施の形態5に比べてマグネチュードコンパレータ84の回路規模を小さくでき、面積効率を向上し得るとともに、遅延時間を軽減することで処理効率を向上し得る。例えば図37のように、最大10ワード(10進数)の場合、上述のように「α−4」、「α−3」、「α−2」の上位3ビットのみ大小比較で済むため、上述のようにマグネチュードコンパレータ84の面積が3ビットのデータ比較に必要な回路面積で足りるだけでなく、最大アドレス値格納レジスタ(MAXA)83とマグネチュードコンパレータ84の間の配線、および第2のAND回路群82とマグネチュードコンパレータ84との間の配線は3本ずつで済み、配線上での省面積化を図り得る。
{Embodiment 7}
The magnitude comparator 84 shown in the fifth and sixth embodiments has a large circuit scale and a large delay time. Therefore, both the area efficiency and the processing efficiency have been degraded. By the way, depending on the number of words, there is a case where it is not always necessary to compare the relatively lower bits by the magnitude comparator 84. For example, when the least significant bit α-0 (LSB) is a redundant bit and the maximum word (binary number) is “1001 (10 words in decimal)” (that is, “α-4” = “1”, “α -3 ”=“ 0 ”,“ α-2 ”=“ 0 ”, and“ α-1 ”=“ 1 ”), the least significant bit“ α-1 ”of these is“ 0 ”or“ Since 1 "is acceptable, it is the same whether or not the size is compared. Therefore, in this case, the result is the same even if only the upper 3 bits of “α-4”, “α-3”, and “α-2” are compared in size. Further, when the maximum word (binary number) is “1011 (12 words in decimal number)” (that is, “α-4” = “1”, “α-3” = “0”, “α-2” = “1”, “α-1” = “1”), the lower two bits “α-2” and “α-1” of these can be allowed to be “0” or “1”. Even if only the upper 2 bits of “α-4” and “α-3” are compared in size, the result is the same. Utilizing this fact, in the seventh embodiment of the present invention, the magnitude comparator 84 is configured to omit the comparison of unnecessary lower bits and perform the comparison only with specific upper bits. Then, the circuit scale of the magnitude comparator 84 can be reduced as compared with the fifth embodiment, the area efficiency can be improved, and the processing efficiency can be improved by reducing the delay time. For example, as shown in FIG. 37, in the case of a maximum of 10 words (decimal number), only the upper 3 bits of “α-4”, “α-3”, and “α-2” can be compared in size as described above. As described above, the area of the magnitude comparator 84 is not limited to the circuit area required for 3-bit data comparison, but also the wiring between the maximum address value storage register (MAXA) 83 and the magnitude comparator 84, and the second AND circuit group. The number of wirings between the terminal 82 and the magnitude comparator 84 is three, and the area on the wiring can be reduced.

{実施の形態8}
アドレッシング中にRAMのデータ入力(DI)の周期が変化するテストパターンでは、アドレスパターンに同期してデータ入力パターンを変化して発生する回路を用意する必要がある。例えば、図39に示すチェッカーボードパターンの場合、ROMアドレスを“0000”から“1111”まで順にインクリメントするとすれば、各ビットに対応するパターンは「0」「1」「0」「1」「1」「0」「1」「0」「0」「1」「0」「1」「1」「0」「1」「0」の順に格納しなければならないが、単純な「0」「1」の繰り返しではなく、1段ごとに反転するという複雑な順番になる。本発明の実施の形態8はかかる複雑な順番のテストパターンを発生するデータ入力パターン発生回路を有するものである。
{Embodiment 8}
In a test pattern in which the cycle of RAM data input (DI) changes during addressing, it is necessary to prepare a circuit that generates data by changing the data input pattern in synchronization with the address pattern. For example, in the case of the checkerboard pattern shown in FIG. 39, if the ROM address is incremented sequentially from “0000” to “1111”, the pattern corresponding to each bit is “0” “1” “0” “1” “1”. “0” “1” “0” “0” “1” “0” “1” “1” “0” “1” “0” in this order, but simple “0” “1” "Is not a repetition of"", but it is a complicated order of inversion for each stage. The eighth embodiment of the present invention has a data input pattern generation circuit for generating such a complicated order of test patterns.

図38は本発明の実施の形態8の半導体メモリの検査装置を示す図である。本実施の形態の半導体メモリの検査装置は、メモリ回路のテストでよく用いられるチェッカーボードパターン、カラムバーパターン、ローバーパターンの発生方法について説明する。図38中、35はアドレス発生用シフトレジスタ(ADDR)、37はフリップフロップ選択レジスタ(MASKA)、38は第1のAND回路群、41は期待値発生回路であって、これらは実施の形態4で説明したものと同様である。また、111は二次元パターン記憶部としての5ビットのシフトレジスタ(以下、MASKDと略す)、113は前記期待値発生回路41と同様の期待値発生回路、114は内部構成が前記第1のAND回路群38と同様とされ「{ADDR} AND {MASKD}」を実行する第2のAND回路群、115は被テスト回路31にライトイネーブル信号およびEx.OR回路115である。前記期待値発生回路113でアドレス発生用シフトレジスタ(ADDR)35とMASKD111の期待値を発生する。期待値発生回路113の出力はEx.OR回路115に伝達されてSIWおよびCMPENを制御する。   FIG. 38 shows a semiconductor memory inspection device according to the eighth embodiment of the present invention. The semiconductor memory inspection apparatus according to the present embodiment will be described with reference to a method for generating a checkerboard pattern, a column bar pattern, and a row bar pattern, which are often used for testing a memory circuit. In FIG. 38, 35 is an address generation shift register (ADDR), 37 is a flip-flop selection register (MASKA), 38 is a first AND circuit group, 41 is an expected value generation circuit, and these are the fourth embodiment. This is the same as that described in. Reference numeral 111 denotes a 5-bit shift register (hereinafter abbreviated as MASKD) as a two-dimensional pattern storage unit, 113 denotes an expected value generation circuit similar to the expected value generation circuit 41, and 114 denotes an internal configuration of the first AND. The second AND circuit group 115, which is similar to the circuit group 38 and executes “{ADDR} AND {MASKD}”, sends a write enable signal and Ex. This is an OR circuit 115. The expected value generation circuit 113 generates expected values for the address generation shift register (ADDR) 35 and the MASKD 111. The output of the expected value generation circuit 113 is Ex. It is transmitted to the OR circuit 115 to control SIW and CMPEN.

ここで、RAMのアドレスは、図40の如く、仮想縦軸アドレスとしての上位アドレス(以下、Xアドレスと略す)と、仮想横軸アドレスとしての下位アドレス(以下、Yアドレスと略す)に分けて考えることができる。図40および図41はチェッカーボードパターンを発生するようにMASKD111を設定した例である。すなわち、MASKD111は、2ビットの仮想縦軸(X)アドレス記憶ビット群と2ビットの仮想横軸(Y)アドレス記憶ビット群と1ビットの冗長ビットが連なって構成される。図40のようにXアドレスの最下位ビット(以下、X(lsb)と略す)を“1”、Yアドレスの最下位ビット(以下、Y(lsb)と略す)を“1”にし、他のビットを“0”に設定する。ここで、前記Ex.OR回路115の一方の端子に入力するDATAを“0”にする。期待値発生回路113は、アドレス発生用シフトレジスタ(ADDR)35とMASKD111の値が等しいとき“0”を出力する。このとき、Ex.OR回路115から出力されるSIWは“1”、CMPENは“0”となり、RAM出力と期待値との比較および書き込みを禁止する。逆にX(lsb)とY(lsb)が異なるときは、RAM出力と期待値との比較もしくは書き込みを行う。また、DATAを“1”にすることでSIWおよびCMPENを反転することができる。なお、図41はこのときの等価回路である。   Here, as shown in FIG. 40, the RAM address is divided into an upper address as a virtual vertical axis address (hereinafter abbreviated as X address) and a lower address as a virtual horizontal axis address (hereinafter abbreviated as Y address). Can think. 40 and 41 show an example in which MASKD 111 is set so as to generate a checkerboard pattern. That is, the MASKD 111 is formed by connecting a 2-bit virtual vertical axis (X) address storage bit group, a 2-bit virtual horizontal axis (Y) address storage bit group, and 1 redundant bit. As shown in FIG. 40, the least significant bit of the X address (hereinafter abbreviated as X (lsb)) is set to “1”, the least significant bit of the Y address (hereinafter abbreviated as Y (lsb)) is set to “1”, Set the bit to “0”. Here, the Ex. DATA input to one terminal of the OR circuit 115 is set to “0”. The expected value generation circuit 113 outputs “0” when the values of the address generation shift register (ADDR) 35 and the MASKD 111 are equal. At this time, Ex. The SIW output from the OR circuit 115 is “1” and the CMPEN is “0”, and comparison and writing between the RAM output and the expected value are prohibited. Conversely, when X (lsb) and Y (lsb) are different, the RAM output is compared with the expected value or written. Also, SIW and CMPEN can be inverted by setting DATA to “1”. FIG. 41 is an equivalent circuit at this time.

次に、上記したチェッカーボードパターンの発生手順を簡単にまとめて記載する。   Next, a procedure for generating the checkerboard pattern described above will be briefly described.

1.MASKDを“01010”に設定する。ここで、ADDRアドレス発生用シフトレジスタ(ADDR)35およびアドレス入力用シフトレジスタ32を、テストを開始する番地に初期設定する。また、DATAを“0”に、被テスト回路31(RAM)の全てのDIを“0”に設定する。       1. Set MASKD to “01010”. Here, the ADDR address generation shift register (ADDR) 35 and the address input shift register 32 are initialized to the addresses where the test is started. Further, DATA is set to “0”, and all DIs of the circuit under test 31 (RAM) are set to “0”.

2.LFSRを実行して全アドレスを発生する。       2. LFSR is executed to generate all addresses.

3.DATAを“1”に設定する。また、RAMの全てのDIを“0”に設定する。       3. Set DATA to “1”. Also, all DIs in the RAM are set to “0”.

4.LFSRを実行して全アドレスを発生する。このような手順で図39に示したパターンが発生する。       4). LFSR is executed to generate all addresses. The pattern shown in FIG. 39 is generated by such a procedure.

図42および図43はカラムバーパターンを発生するようにMASKDを設定した例である。Yアドレスの最下位ビット(以下、Y(lsb)と略す)を“1”にし、他のビットを“0”に設定する。DATAを“0”にする。期待値発生回路113は、Y(lsb)の値を出力するので、Y(lsb)が“0”の時、SIWは“1”、CMPENは“0”を発生し、Y(lsb)が“1”の時、SIWは“0”、CMPENは“1”となる。また、DATAを“1”にすることでSIWおよびCMPENを反転することができる。なお、図44はこのときの等価回路である。   42 and 43 are examples in which MASKD is set so as to generate a column bar pattern. The least significant bit (hereinafter abbreviated as Y (lsb)) of the Y address is set to “1”, and the other bits are set to “0”. Set DATA to “0”. Since the expected value generation circuit 113 outputs the value of Y (lsb), when Y (lsb) is “0”, SIW is “1”, CMPEN is “0”, and Y (lsb) is “0”. When it is “1”, SIW is “0” and CMPEN is “1”. Also, SIW and CMPEN can be inverted by setting DATA to “1”. FIG. 44 is an equivalent circuit at this time.

この場合のカラムバーパターンの発生手順は次の通りである。   The procedure for generating the column bar pattern in this case is as follows.

1.MASKDを上記のように初期設定する。ここでは、MASKDを“000010”に設定する。また、アドレス発生用シフトレジスタ(ADDR)35およびアドレス入力用シフトレジスタ32を、テストを開始する番地に初期設定する。さらに、Ex.OR回路115の一方の端子に入力するDATAを“0”に設定する。そして、被テスト回路31(RAM)の全てのDIを“0”に設定する。     1. Initialize MASKD as described above. Here, MASKD is set to “000010”. Further, the address generation shift register (ADDR) 35 and the address input shift register 32 are initialized to the addresses at which the test is started. Furthermore, Ex. DATA input to one terminal of the OR circuit 115 is set to “0”. Then, all DIs of the circuit under test 31 (RAM) are set to “0”.

2.LFSRを実行して全アドレスを発生する。     2. LFSR is executed to generate all addresses.

3.DATAを“1”に設定する。そして、被テスト回路31(RAM)の全てのDIを“0”に設定する。     3. Set DATA to “1”. Then, all DIs of the circuit under test 31 (RAM) are set to “0”.

4.LFSRを実行して全アドレスを発生する。このような手順で図42に示したパターンが発生する。     4). LFSR is executed to generate all addresses. The pattern shown in FIG. 42 is generated by such a procedure.

図45および図46はローバーパターンを発生するようにMASKDを設定した例である。Xアドレスの最下位ビット(以下、X(lsb)と略す)を“1”にし、他のビットを“0”に設定する。DATAを“0”にする。113は、X(lsb)の値を出力するので、X(lsb)が“0“の時、SIWは“1”、CMPENは“0”を発生し、X(lsb)が“1”の時、SIWは“0”、CMPENは“1”を発生する。また、DATAを“1”にすることでSIW/CMPENを反転することができる。なお、図47はこのときの等価回路である。   45 and 46 are examples in which MASKD is set so as to generate a rover pattern. The least significant bit (hereinafter abbreviated as X (lsb)) of the X address is set to “1”, and the other bits are set to “0”. Set DATA to “0”. 113 outputs the value of X (lsb), so when X (lsb) is “0”, SIW is “1”, CMPEN is “0”, and X (lsb) is “1”. , SIW generates “0” and CMPEN generates “1”. Further, SIW / CMPEN can be inverted by setting DATA to “1”. FIG. 47 is an equivalent circuit at this time.

この場合のローバーパターンを発生する手順は次の通りである。   The procedure for generating the rover pattern in this case is as follows.

1.MASKDを上記のように初期設定する。ここでは、MASKDを“01000”に設定する。ADDRおよびRAMのアドレス用シフトレジスタを、テストを開始する番地に初期設定する。DATAを“0”に設定する。RAMの全てのDIを“1”に設定する。       1. Initialize MASKD as described above. Here, MASKD is set to “01000”. The ADDR and RAM address shift registers are initialized to the address at which the test is started. Set DATA to “0”. All DIs in the RAM are set to “1”.

2.LFSRを実行して全アドレスを発生する。       2. LFSR is executed to generate all addresses.

3.DATAを“1”に設定する。RAMの全てのDIを“0”に設定する。       3. Set DATA to “1”. All DIs in the RAM are set to “0”.

4.LFSRを実行して全アドレスを発生する。       4). LFSR is executed to generate all addresses.

{実施の形態9}
<構成>
図48は本発明の実施の形態9の半導体メモリの検査装置を示す図である。被テスト回路(RAM)の機能テストを実施する場合、全アドレス、ビット等を動かしながらバーインをする必要がある(ダイナミックバーイン)。本実施の形態の半導体メモリの検査装置は、1ピンのみでダイナミックバーイン用テストパターンを発生するものである。図48中の121はダイナミックバーイン用パターン発生回路121、122はLFSR回路、123は1ビットカウンタ、124,125,126は信号線、127はシフトレジスタ、128は1ビットカウンタとしてのフリップフロップ(以下、FFと略す)、129はNOT回路、130はEx.OR回路、SI−Dはデータ出力、SI−W0およびSI−W1は反転出力、SI−Cはチップイネーブル信号またはリードイネーブル信号の出力、SI−Aはアドレス出力である。また、図49はダイナミックバーイン用パターン発生回路121で複数個の被テスト回路31a〜31cのRAMアドレス設定を行う際の接続状態を示す図である。図49中の32a〜32dはアドレス入力用シフトレジスタ、33a〜33dはライトイネーブル(書き込み制御)データ入力用レジスタ、34a〜34dは被テスト回路31a〜31cのデータ出力値と期待値の比較を行う比較回路、131a,131bはチップイネーブル端子CEにチップイネーブル信号を送るレジスタ、132a,132bはリードイネーブル端子RE0,RE1にリードイネーブル信号を送るレジスタである。さらに、DI0〜DI2はデータ入力端子である。
{Embodiment 9}
<Configuration>
FIG. 48 shows a semiconductor memory inspection device according to the ninth embodiment of the present invention. When performing a function test of a circuit under test (RAM), it is necessary to burn in while moving all addresses and bits (dynamic burn-in). The semiconductor memory inspection apparatus of the present embodiment generates a dynamic burn-in test pattern with only one pin. In FIG. 48, 121 is a dynamic burn-in pattern generation circuit 121, 122 is an LFSR circuit, 123 is a 1-bit counter, 124, 125, and 126 are signal lines, 127 is a shift register, and 128 is a flip-flop (hereinafter referred to as a 1-bit counter). , FF), 129 is a NOT circuit, 130 is Ex. OR circuit, SI-D is a data output, SI-W0 and SI-W1 are inverted outputs, SI-C is an output of a chip enable signal or a read enable signal, and SI-A is an address output. FIG. 49 is a diagram showing a connection state when the dynamic burn-in pattern generation circuit 121 sets the RAM addresses of the plurality of circuits under test 31a to 31c. 49, 32a to 32d are address input shift registers, 33a to 33d are write enable (write control) data input registers, and 34a to 34d compare data output values of the circuits under test 31a to 31c with expected values. The comparison circuits 131a and 131b are registers for sending a chip enable signal to the chip enable terminal CE, and 132a and 132b are registers for sending a read enable signal to the read enable terminals RE0 and RE1. Further, DI0 to DI2 are data input terminals.

前記LFSR回路122は、図48の如く、生成多項式に基づいて複数個のFFを有するシフトレジスタ127とEx.OR回路130とを組み合わせることで構成できる。図48のLFSR回路122では生成多項式が1+X+X22とされる。生成多項式はダイナミックバーイン用パターン発生回路121とテストすべき複数の被テスト回路31a〜31c(RAM)のアドレス端子数と制御端子数の和よりも大きくなるビット数になるように設定される。ただし、図49中の被テスト回路31aのようなマルチポートRAMでは、アドレスのシフトレジスタのシフト入力とリードイネーブル(RE)信号を共通にしても発明の効果は変わらない。また、WEC端子が2つ(WEC0,WEC1)ある場合は、WEC1端子にWEC0信号を反転して入力し同アドレスの同時書き込みを防ぐよう構成される。例えば図49ではRAM31aとRAM31bは端子数が6、RAM31aは端子数が7なので7次以上の全周期系列を発生する生成多項式が設定される。 As shown in FIG. 48, the LFSR circuit 122 includes a shift register 127 having a plurality of FFs and an Ex. A combination with the OR circuit 130 is possible. In the LFSR circuit 122 of FIG. 48, the generator polynomial is 1 + X + X 22 . The generator polynomial is set so that the number of bits becomes larger than the sum of the number of address terminals and the number of control terminals of the dynamic burn-in pattern generation circuit 121 and the plurality of circuits under test 31a to 31c (RAM) to be tested. However, in the multi-port RAM such as the circuit under test 31a in FIG. 49, even if the shift input of the address shift register and the read enable (RE) signal are shared, the effect of the invention does not change. When there are two WEC terminals (WEC0, WEC1), the WEC0 signal is inverted and input to the WEC1 terminal to prevent simultaneous writing of the same address. For example, in FIG. 49, the RAM 31a and the RAM 31b have 6 terminals and the RAM 31a has 7 terminals, so a generator polynomial for generating a full-period sequence of 7th order or higher is set.

なお、図48中でダイナミックバーイン用パターン発生回路121が発生するデータ出力SI−Dは被テスト回路31へのアドレス入力用シフトレジスタ32に接続される。BURNINは本回路の1ビットカウンタとLFSR回路のリセット端子である。また、CLKはクロック端子で、1ビットカウンタ123やLFSR回路122に与えられる。   In FIG. 48, the data output SI-D generated by the dynamic burn-in pattern generation circuit 121 is connected to the address input shift register 32 to the circuit under test 31. BURNIN is a 1-bit counter of this circuit and a reset terminal of the LFSR circuit. CLK is a clock terminal and is supplied to the 1-bit counter 123 and the LFSR circuit 122.

<使用方法>
上記構成の半導体メモリの検査装置の使用方法を次に示す。
<How to use>
A method of using the semiconductor memory inspection apparatus having the above configuration will be described below.

1.RSET端子を“0”にし、LFSRと1ビットカウンタをRSETする。     1. The RSET terminal is set to “0”, and the LFSR and 1-bit counter are RSET.

2.リセット端子BURNINを“1”にすると、LFSR回路122が22次の全周期系列を発生し、1ビットカウンタ123が“1”,“0”,“1”,“0”,“1”...を発生する。     2. When the reset terminal BURNIN is set to “1”, the LFSR circuit 122 generates a 22nd-order full cycle sequence, and the 1-bit counter 123 sets “1”, “0”, “1”, “0”, “1”. . . Is generated.

3.n次のLFSR回路122は奇数ビット(2n−1)の全周期系列を発生する。これに対し1ビットカウンタ123は2ビットのデータを発生する。従って、LFSRが全周期系列を発生した後、2周期目になるとき、1ビットカウンタ123は前段階(上記の2.)とは反転したデータを発生する。すなわちアドレス番地A0〜A4,A00〜A13およびすべてのCE,RE0,RE1,WEC0,WEC1の組み合わせに対し、DI0,DI1,DI00〜DI11は奇数周期目と偶数周期目で反転したデータが入力される。 3. The nth-order LFSR circuit 122 generates an entire period sequence of odd bits (2 n −1). On the other hand, the 1-bit counter 123 generates 2-bit data. Therefore, when the LFSR is in the second period after generating the entire period series, the 1-bit counter 123 generates data inverted from the previous stage (2. above). That is, DI0, DI1, DI00 to DI11 are input with inverted data in odd cycles and even cycles for the combinations of address addresses A0 to A4, A00 to A13 and all CEs, RE0, RE1, WEC0, and WEC1. .

かかる動作(1.〜3.)を一定時間繰り返す。   Such an operation (1. to 3.) is repeated for a predetermined time.

{実施の形態10}
<構成>
図50は本発明の実施の形態10の半導体メモリの検査装置を示す図である。本実施の形態の半導体メモリの検査装置は、実施の形態4乃至実施の形態9の各要素を一個の回路に組み込んだものである。図50中において、実施の形態4乃至実施の形態9と同様の機能を有する要素については同一符号を付している。また、図50中の141,142,143はFF、144,145はOR回路、146はAND回路、147は片側入力端子が負入力とされたAND回路、148はスイッチング素子、149はインバータである。また、SIはシフト入力信号、SOはシフト出力信号、LFSRXはセレクタの選択信号、Sinh−LXはアドレス発生用シフトレジスタ(ADDR)35のシフト禁止信号である。また、Sinh−MXはBURNINを反転した信号に対してANDをとったもので、制御レジスタ(CARRY)36、フリップフロップ選択レジスタ(MASKA)37、フリップフロップ選択レジスタ(MASKA)37、MASKD111、制御レジスタ(MAXA)83、フリップフロップUP/DOWN、Counter、およびDATAのシフト禁止信号である。Sinh−LXおよびSinh−MXは夫々“1”のとき、各シフトレジスタおよびフリップフロップのシフト動作を禁止する。
{Embodiment 10}
<Configuration>
FIG. 50 is a diagram showing a semiconductor memory inspection apparatus according to the tenth embodiment of the present invention. The semiconductor memory inspection apparatus according to the present embodiment incorporates the elements of the fourth to ninth embodiments into one circuit. In FIG. 50, elements having the same functions as those in the fourth to ninth embodiments are denoted by the same reference numerals. In FIG. 50, 141, 142, and 143 are FFs, 144 and 145 are OR circuits, 146 is an AND circuit, 147 is an AND circuit in which one side input terminal is a negative input, 148 is a switching element, and 149 is an inverter. . Further, SI is a shift input signal, SO is a shift output signal, LFSRX is a selector selection signal, and Sinh-LX is a shift inhibition signal of the address generation shift register (ADDR) 35. Further, Sinh-MX is an AND of a signal obtained by inverting BURNIN, and includes a control register (CARRY) 36, a flip-flop selection register (MASKA) 37, a flip-flop selection register (MASKA) 37, a MASKD 111, and a control register. (MAXA) 83, flip-flop UP / DOWN, Counter, and DATA shift inhibit signal. When Sinh-LX and Sinh-MX are “1”, the shift operation of each shift register and flip-flop is prohibited.

図52は図50のダイナミックバーイン用パターン発生回路121を詳細に記述したものである。ここでは、MASKA、MASKD、MAXAを、バーイン用テストパターンを発生するLFSR回路を構成するシフトレジスタ(LFSR/Counter)38,39,41,42,43と共通に利用している。なお図52に示したダイナミックバーイン用パターン発生回路121は図48で示した生成多項式のLFSR回路122と同様の構成とされている。141はLFSR回路38,39,41,42,43のリセットを行う。すなわち、FF141は図25に示した実施の形態4におけるCounter/LFSR端子に相当する。124,125,126は夫々図48の同符号の信号線に対応している。FF143は図38のDATA端子に相当する。   FIG. 52 describes the dynamic burn-in pattern generation circuit 121 of FIG. 50 in detail. Here, MASKA, MASKD, and MAXA are used in common with shift registers (LFSR / Counters) 38, 39, 41, 42, and 43 that constitute an LFSR circuit that generates a burn-in test pattern. The dynamic burn-in pattern generation circuit 121 shown in FIG. 52 has the same configuration as the generator polynomial LFSR circuit 122 shown in FIG. 141 resets the LFSR circuits 38, 39, 41, 42, and 43. That is, FF 141 corresponds to the Counter / LFSR terminal in the fourth embodiment shown in FIG. Reference numerals 124, 125, and 126 correspond to the signal lines having the same symbols in FIG. The FF 143 corresponds to the DATA terminal in FIG.

ここで、図53はダイナミックバーイン用パターン発生回路121と被テスト回路31との接続の詳細を示すものである。図53中のSIA、SID、SIC、およびSIWはダイナミックバーイン用パターン発生回路121の出力であり、SIAはアドレス入力用シフトレジスタ32へ、SIWはデータ入力用シフトレジスタ140へ、SICはCEC(REC)へ、SIWはWECへ伝送される。また、SIXはダイナミックバーイン用パターン発生回路121xへのSI入力、SICXはSICを出力するための信号、SIWXはSIWを出力するための信号、SIDXはSIDを出力するための信号、CMPENXは34FへCMPENを出力するための信号である。また、ダイナミックバーイン用パターン発生回路121xからのCMPENおよびSIWXは一のAND回路に入力されSIWが被テスト回路31に入力される。さらに、ダイナミックバーイン用パターン発生回路121xからのCMPENおよびCMPENXは他のAND回路に入力され34FにCMPENが入力される。   Here, FIG. 53 shows details of the connection between the dynamic burn-in pattern generation circuit 121 and the circuit under test 31. 53, SIA, SID, SIC, and SIW are outputs of the dynamic burn-in pattern generation circuit 121, SIA is to the address input shift register 32, SIW is to the data input shift register 140, and SIC is CEC (REC ), The SIW is transmitted to the WEC. SIX is an SI input to the dynamic burn-in pattern generation circuit 121x, SICX is a signal for outputting SIC, SIWX is a signal for outputting SIW, SIDX is a signal for outputting SID, and CMPENX is 34F. This is a signal for outputting CMPEN. Further, CMPEN and SIWX from the dynamic burn-in pattern generation circuit 121 x are input to one AND circuit, and SIW is input to the circuit under test 31. Further, CMPEN and CMPENX from the dynamic burn-in pattern generation circuit 121x are input to another AND circuit, and CMPEN is input to 34F.

<使用方法>
上記構成の半導体メモリの検査装置の使用方法を説明する。図51は入力端子の設定について表にまとめたものである。本実施の形態の半導体メモリの検査装置では、実施の形態4乃至実施の形態8で示した制御レジスタMASKA,MASKD,MAXAをシフトレジスタにしている。各初期設定時にはこれらのシフトレジスタが1本のスキャンパスを構成する。テストパターン発生時にはシフト禁止信号Sinh−MXで制御レジスタとして動作する。
<How to use>
A method of using the semiconductor memory inspection apparatus having the above configuration will be described. FIG. 51 summarizes the input terminal settings in a table. In the semiconductor memory inspection apparatus of the present embodiment, the control registers MASKA, MASKD, and MAXA described in the fourth to eighth embodiments are used as shift registers. At each initial setting, these shift registers constitute one scan path. When the test pattern is generated, the shift inhibit signal Sinh-MX operates as a control register.

{1}ダイナミックバーンイン用テストパターン生成時の動作
まず、本実施の形態の半導体メモリの検査装置を通常のテスト時におけるアドレスパターンを発生する回路として用いる場合について説明する。
{1} Operation at the Time of Generating Dynamic Burn-In Test Pattern First, a case will be described in which the semiconductor memory inspection apparatus of the present embodiment is used as a circuit for generating an address pattern during a normal test.

(初期設定時)
BURNIN端子を“0”にし、LFSR回路38,39,41,42,43と1ビットカウンタとしてのダイナミックバーイン用パターン発生回路121をRSETする。
(Initial setting)
The BURNIN terminal is set to “0”, and the LFSR circuits 38, 39, 41, 42, 43 and the dynamic burn-in pattern generation circuit 121 as a 1-bit counter are RSET.

(ダイナミックバーンイン用パターン生成時)
BURNIN端子を“1”にすると、LFSR回路38,39,41,42,43が22次の全周期系列を発生し、ダイナミックバーイン用パターン発生回路121が“1”,“0”,“1”,“0”,“1”...を発生する。そして、n次のLFSR回路38,39,41,42,43は奇数ビット(2n−1)の全周期系列を発生する。これに対し1ビットカウンタ121は2ビットのデータを発生する。従って、LFSRが全周期系列を発生した後、2周期目になるとき、1ビットカウンタ121は前段階とは反転したデータを発生する。
(During dynamic burn-in pattern generation)
When the BURNIN terminal is set to “1”, the LFSR circuits 38, 39, 41, 42, and 43 generate 22nd order periodic sequences, and the dynamic burn-in pattern generation circuit 121 sets “1”, “0”, and “1”. , “0”, “1”. . . Is generated. Then, the nth-order LFSR circuits 38, 39, 41, 42, and 43 generate an entire period sequence of odd bits (2 n −1). In contrast, the 1-bit counter 121 generates 2-bit data. Therefore, when the LFSR is in the second period after generating the entire period series, the 1-bit counter 121 generates data inverted from the previous stage.

かかる動作(1.〜3.)を一定時間繰り返す。このとき他の入力端子は検査装置には影響しない。   Such an operation (1. to 3.) is repeated for a predetermined time. At this time, the other input terminals do not affect the inspection apparatus.

{2}アドレスパターン生成時の動作
(初期設定時)
まず、各シフトレジスタに初期値を設定する。各シフトレジスタの初期値については、Sinh−LXおよびSinh−MXを“0”にして、シフト動作を可能にする。これ以外は実施の形態4乃至実施の形態9で説明した通りである。なお、FF142は図25に示した実施の形態4における制御信号端子UP/DOWNに相当し、“1”を設定することでアドレスパターンを反転することができる。
{2} Operation during address pattern generation (initial setting)
First, initial values are set in each shift register. For the initial value of each shift register, Sinh-LX and Sinh-MX are set to “0” to enable the shift operation. The rest is the same as described in the fourth to ninth embodiments. The FF 142 corresponds to the control signal terminal UP / DOWN in the fourth embodiment shown in FIG. 25, and the address pattern can be inverted by setting “1”.

(テスト用パターン生成時)
各シフトレジスタ35,36,37,111,83および各FF141〜143の初期設定にしたがってテストパターンを生成する。テスト実行時間はアドレス線がn本のRAM31a〜31cに対し2nサイクルである。この間、Sinh−LXは“0”に設定し、アドレス発生用シフトレジスタ(ADDR)35をシフト動作可能とする。Sinh−MXは“1”に設定し、フリップフロップ選択レジスタ(MASKA)37、MASKD111、制御レジスタ(MAXA)83、フリップフロップUP/DOWN、Counter、およびDATAのシフト動作を禁止する。なお、各部の動作は実施の形態4乃至実施の形態9で説明した通りである。
(When generating test pattern)
A test pattern is generated according to the initial settings of the shift registers 35, 36, 37, 111, 83 and the FFs 141 to 143. The test execution time is 2 n cycles for the RAMs 31a to 31c having n address lines. During this time, Sinh-LX is set to “0” to enable the address generation shift register (ADDR) 35 to perform a shift operation. Sinh-MX is set to “1”, and the flip-flop selection register (MASKA) 37, MASKD111, control register (MAXA) 83, flip-flop UP / DOWN, Counter, and DATA are prohibited from shifting. The operation of each part is as described in the fourth to ninth embodiments.

このように、本実施の形態の半導体メモリの検査装置では、複雑なテストパターンに対しテストベクタ数を大幅に減少させることができる。   As described above, in the semiconductor memory inspection apparatus according to the present embodiment, the number of test vectors can be significantly reduced for a complicated test pattern.

{実施の形態11}
<構成>
図54は本発明の実施の形態11の半導体メモリの検査装置を示す図である。本実施の形態の半導体メモリの検査装置は、RAMの特定のアドレスの故障を検出し得るものである。該半導体メモリの検査装置は、実施の形態5、実施の形態6、および実施の形態7と類似した回路構成とされているが、ただし、実施の形態5、実施の形態6、および実施の形態7では単一のマグネチュードコンパレータ84を備えていたのに対し、本実施の形態では一対のマグネチュードコンパレータ84a,84b(マグネチュードコンパレータ)を備えている。ここで、一方のマグネチュードコンパレータ84aは実施の形態5、実施の形態6、および実施の形態7で説明したマグネチュードコンパレータ84と同様の機能、すなわち制御レジスタ(MAXA)83に格納された最大アドレス値と算術論理演算部で新たに発生されたアドレスとの大小比較を行う機能を有する。他方のマグネチュードコンパレータ84b(検出回路)は、制御レジスタ(MAXA)83に格納された最大アドレス値と算術論理演算部で新たに発生されたアドレスとが等しいか否かを検出する機能を有する。該マグネチュードコンパレータ84bにて新たに発生したRAMアドレスとMAXAの値とを比較し、RAMアドレスがMAXAの値と一致したときのみCMPEN=“1”を発生しRAMのデータの期待値との比較を行う。したがって、MAXAに被テスト回路31の特定のアドレスを設定することによって、被テスト回路31の特定のアドレスに対し故障を検出できる。
{Embodiment 11}
<Configuration>
FIG. 54 shows a semiconductor memory inspection apparatus according to the eleventh embodiment of the present invention. The semiconductor memory inspection apparatus according to the present embodiment can detect a failure at a specific address of a RAM. The semiconductor memory inspection apparatus has a circuit configuration similar to that of the fifth embodiment, the sixth embodiment, and the seventh embodiment, except that the fifth embodiment, the sixth embodiment, and the fifth embodiment. 7 includes a single magnitude comparator 84, whereas the present embodiment includes a pair of magnitude comparators 84a and 84b (magnet comparators). Here, one magnitude comparator 84a has the same function as the magnitude comparator 84 described in the fifth, sixth, and seventh embodiments, that is, the maximum address value stored in the control register (MAXA) 83. The arithmetic logic unit has a function of comparing the size with a newly generated address. The other magnitude comparator 84b (detection circuit) has a function of detecting whether the maximum address value stored in the control register (MAXA) 83 is equal to the address newly generated by the arithmetic logic unit. The newly generated RAM address is compared with the MAXA value by the magnitude comparator 84b, and CMPEN = "1" is generated only when the RAM address matches the MAXA value and compared with the expected value of the RAM data. Do. Therefore, by setting a specific address of the circuit under test 31 in MAXA, a failure can be detected for the specific address of the circuit under test 31.

本実施の形態の半導体メモリの検査装置は、図54の如く、図32に示した実施の形態5の回路中に特定アドレスの故障検出用のマグネチュードコンパレータ84bを加えたものである。制御レジスタ(MAXA)83は、被テスト回路31の最終アドレスまたは故障検出を行いたいアドレスを設定する。なお、実施の形態7と同様に、回路規模を小さくし、遅延を小さくするために、RAMのアドレスをMAXAの比較は上位ビットのみで比較するとよい。図54中のEQは一対のマグネチュードコンパレータ84a,84bの両出力の切換信号である。EQ=0のときマグネチュードコンパレータ84aを選択し、EQ=1のときマグネチュードコンパレータ84bを選択するよう構成される。   As shown in FIG. 54, the semiconductor memory inspection apparatus of the present embodiment is obtained by adding a magnitude comparator 84b for detecting a failure at a specific address to the circuit of the fifth embodiment shown in FIG. The control register (MAXA) 83 sets the final address of the circuit under test 31 or the address where failure detection is to be performed. As in the seventh embodiment, in order to reduce the circuit scale and delay, it is preferable to compare the RAM addresses with MAXA only by using the upper bits. In FIG. 54, EQ is a switching signal for both outputs of the pair of magnitude comparators 84a and 84b. When EQ = 0, the magnitude comparator 84a is selected, and when EQ = 1, the magnitude comparator 84b is selected.

<使用方法>
上記構成の半導体メモリの検査装置において、特定のアドレスに対する故障を検出する際には、マグネチュードコンパレータ84bにて、新たに発生したRAMアドレスとMAXAの値とを比較し、RAMアドレスがMAXAの値と一致したときのみCMPENが“1”を発生しRAMのデータの期待値との比較を行う。したがって、MAXAに被テスト回路31の特定のアドレスを設定することによって、被テスト回路31の特定のアドレスに対し故障を検出できる。
<How to use>
In the semiconductor memory inspection apparatus having the above-described configuration, when detecting a failure at a specific address, the magnitude comparator 84b compares the newly generated RAM address with the value of MAXA, and the RAM address is compared with the value of MAXA. Only when they match, CMPEN generates “1” and a comparison with the expected value of the RAM data is performed. Therefore, by setting a specific address of the circuit under test 31 in MAXA, a failure can be detected for the specific address of the circuit under test 31.

一方、通常の機能テストの際には、実施の形態5で説明したのと同様の方法で機能テストを実施すればよい。   On the other hand, in the normal function test, the function test may be performed by the same method as described in the fifth embodiment.

{実施の形態12}
<背景>
図60に半導体メモリの検査装置の回路例を示す。図60中、301はテストパターン生成回路(例えばLFSR:乱数発生回路)、302は周辺回路としてのテスト回路、303はRAMコア(メモリコア)である。ここで、前記テスト回路302は、通常動作時に前記RAMコア303に対して種々のデータ授受を行うデータ入出力回路(周辺回路)としての機能を兼ね備えている。そして、前記テストパターン生成回路301は、所定のビット数のシフトレジスタ312,313で構成され、RAMコア303のテストを行うテストパターンを生成する。なお、一方のシフトレジスタ312は、前記した実施の形態4乃至実施の形態11の例えば有効アドレス数格納部(MASKA)37や二次元パターン記憶部(MASKD)111に相当し、他方のシフトレジスタ313は、実施の形態4乃至実施の形態11の例えばアドレス発生部(ADDR)35や制御レジスタ(CARRY)36に相当するものである。また、BISTは周辺回路(テスト回路)302について通常動作モードとテストモードとを切り換えるためのモード切換信号(BIST信号)の入力ピンである。SIはテストパターン生成回路301のロジックデータ(第1の入力データ)入力ピンで、データをシフトインする。SINH0およびSINH1(シフト禁止信号)は、アドレス等を確定したいとき等において、夫々「1」を出力することで各シフトレジスタ312,313のシフト動作を禁止するための制御信号を入力する入力ピンである。すなわち、各シフトレジスタ312,313は、SINH1,SINH0が「0」のときにシフトし、「1」のときにシフトが禁止される。ここで、図60中のテストパターン生成回路301は、前記した実施の形態10の回路に対応しており、かつ図53中の回路121Xに対応している。また、図60中のテスト回路302は、前記した実施の形態1乃至実施の形態3、および後述する第1の変形例乃至第第6の変形例の回路に対応しており、図60中のBIST信号は前記した実施の形態1乃至実施の形態3、および後述する第1の変形例乃至第6の変形例中のSM信号に対応している。
{Embodiment 12}
<Background>
FIG. 60 shows a circuit example of a semiconductor memory inspection apparatus. In FIG. 60, 301 is a test pattern generation circuit (for example, LFSR: random number generation circuit), 302 is a test circuit as a peripheral circuit, and 303 is a RAM core (memory core). Here, the test circuit 302 also has a function as a data input / output circuit (peripheral circuit) that exchanges various data with the RAM core 303 during normal operation. The test pattern generation circuit 301 includes shift registers 312 and 313 having a predetermined number of bits, and generates a test pattern for testing the RAM core 303. Note that one shift register 312 corresponds to, for example, the effective address number storage unit (MASKA) 37 or the two-dimensional pattern storage unit (MASKD) 111 of the fourth to eleventh embodiments, and the other shift register 313. Corresponds to, for example, the address generation unit (ADDR) 35 and the control register (CARRY) 36 of the fourth to eleventh embodiments. BIST is an input pin for a mode switching signal (BIST signal) for switching between the normal operation mode and the test mode for the peripheral circuit (test circuit) 302. SI is a logic data (first input data) input pin of the test pattern generation circuit 301 to shift in data. SINH0 and SINH1 (shift prohibition signals) are input pins for inputting a control signal for prohibiting the shift operation of each of the shift registers 312 and 313 by outputting “1”, respectively, when an address or the like is to be determined. is there. That is, the shift registers 312 and 313 shift when SINH1 and SINH0 are “0”, and shift is prohibited when “1”. Here, the test pattern generation circuit 301 in FIG. 60 corresponds to the circuit of the tenth embodiment described above and corresponds to the circuit 121X in FIG. The test circuit 302 in FIG. 60 corresponds to the circuits in the first to third embodiments and the first to sixth modifications described later, and The BIST signal corresponds to the SM signal in the first to third embodiments and the first to sixth modifications described later.

図60の回路の動作について説明する。まず、通常の動作時には、BIST信号を「0」にする。このとき、テスト回路302は動作しないため、RAMコア303は通常動作をする。一方、テスト回路動作時は、BIST信号を「1」にする。このとき、図60中のSINH0は図50中のSINH−LXに、図60中のSINH1は同じくSINH−MXに夫々対応している。   The operation of the circuit of FIG. 60 will be described. First, during normal operation, the BIST signal is set to “0”. At this time, since the test circuit 302 does not operate, the RAM core 303 operates normally. On the other hand, when the test circuit operates, the BIST signal is set to “1”. At this time, SINH0 in FIG. 60 corresponds to SINH-LX in FIG. 50, and SINH1 in FIG. 60 also corresponds to SINH-MX.

図61に動作を示す。通常の動作時(Normal状態)には、BIST信号を「0」に維持する。このとき、SI信号(ロジックデータ:第1の入力データ)、SINH0信号およびSINH1信号の如何に拘らず、RAMコア303は通常の動作を行う。   FIG. 61 shows the operation. During normal operation (normal state), the BIST signal is maintained at “0”. At this time, the RAM core 303 performs a normal operation regardless of the SI signal (logic data: first input data), the SINH0 signal, and the SINH1 signal.

一方、図60および図61において、初期設定時(INIT.状態)には、BIST信号を「1」に維持し、SI信号を入力する。このとき、SINH0およびSINH1は「0」に保つ。すなわち、図50の回路において、SINH−LXおよびSINH−MXを夫々「0」にし、SI信号(ロジックデータ)をシフトイン(DATA SHIFT IN状態)する。そして、テスト実行時(RUN状態)、BIST信号を「1」に維持したまま、SINH0を「0」に、SINH1を「1」に保つ。すなわち、図50の回路においてSINH−LXを「0」に、SINH−MXを「1」に夫々設定する。この場合、SI信号はどのような状態でも無視される(Don’t Care状態)。そうすると、実施の形態10で説明した通りに動作する。   On the other hand, in FIG. 60 and FIG. 61, at the time of initial setting (INIT. State), the BIST signal is maintained at “1” and the SI signal is input. At this time, SINH0 and SINH1 are kept at “0”. That is, in the circuit of FIG. 50, SINH-LX and SINH-MX are set to “0”, and the SI signal (logic data) is shifted in (DATA SHIFT IN state). When the test is executed (RUN state), the SINH0 is maintained at “0” and the SINH1 is maintained at “1” while the BIST signal is maintained at “1”. That is, in the circuit of FIG. 50, SINH-LX is set to “0”, and SINH-MX is set to “1”. In this case, the SI signal is ignored in any state (Don't Care state). Then, it operates as described in the tenth embodiment.

ところで、かかる機能を有するテスト回路において、テスト信号用ピンは、SI、SINH1およびSINH0の3個のピンを必要とする。ここで、ピンの個数を減らしたいといった要請があり、特に、テスト回路時に動作させるピンを1ピンにしたい場合がある。この場合に有効なのが本発明実施の形態12の半導体メモリの検査装置である。   By the way, in the test circuit having such a function, the test signal pins require three pins, SI, SINH1, and SINH0. Here, there is a request to reduce the number of pins, and in particular, there is a case where one pin is to be operated in a test circuit. In this case, the semiconductor memory inspection apparatus according to the twelfth embodiment of the present invention is effective.

<構成>
図62は本発明実施の形態12の半導体メモリおよびその検査装置を示すブロック図である。本実施の形態の半導体メモリの検査装置は、上記各実施の形態および前記提案例で説明した各回路を複数個連結(MULTIPLE LOGIC SCAN CHAIN)して用いるもので、後述するように細部の構成回路については上記各実施の形態と同様または類似の回路が用いられる。図62中の315は、図60において互いに接続されたテスト回路302およびRAMコア303を1まとまりの回路として想定したメモリ(以下、単にRAMと略称する。)である。該各RAM315は、ロジックデータテスト時にロジックデータ(SI信号)を入力するためのロジックデータ入力(SI)端子(第1の入力端子)と、RAMテストデータ時にSIM信号(RAMテストデータ:第2の入力データ)を入力するためのRAMテストデータ入力(SIM)端子(第2の入力端子)と、読み出し信号としてのSOM信号の出力を行う読み出し(SOM)端子とを備える。一のRAM(以下、先行RAMと称す)315のSOM端子は、これに隣接する他のRAM(以下、後続RAMと称す)315のSIM端子(第2の入力端子)に接続される。また、前記後続RAM315のSI端子(第1の入力端子)は、複数個のフリップフロップ(FF)を有するシフトレジスタとしてのスキャンパス316(SCAN FFs)を介して、前記先行RAM315のSOM端子または前記テストパターン生成回路301(SI1,SI2)に接続される。
<Configuration>
FIG. 62 is a block diagram showing a semiconductor memory and an inspection apparatus thereof according to Embodiment 12 of the present invention. The semiconductor memory inspection apparatus according to the present embodiment uses a plurality of circuits described in each of the above embodiments and the above-described proposal examples (MULTIPLE LOGIC SCAN CHAIN). For the above, a circuit similar to or similar to each of the above embodiments is used. Reference numeral 315 in FIG. 62 denotes a memory (hereinafter simply referred to as a RAM) assuming that the test circuit 302 and the RAM core 303 connected to each other in FIG. Each RAM 315 includes a logic data input (SI) terminal (first input terminal) for inputting logic data (SI signal) during a logic data test, and a SIM signal (RAM test data: second input) during RAM test data. RAM test data input (SIM) terminal (second input terminal) for inputting input data) and a read (SOM) terminal for outputting an SOM signal as a read signal. The SOM terminal of one RAM (hereinafter referred to as preceding RAM) 315 is connected to the SIM terminal (second input terminal) of another RAM (hereinafter referred to as subsequent RAM) 315 adjacent thereto. Further, the SI terminal (first input terminal) of the subsequent RAM 315 is connected to the SOM terminal of the preceding RAM 315 or the above via a scan path 316 (SCAN FFs) as a shift register having a plurality of flip-flops (FF). Connected to the test pattern generation circuit 301 (SI1, SI2).

そして、RAMテスト時の各種テスト用信号(TEST)、すなわち、後述するEXP信号、比較イネーブル信号(CMPEN)、SIA信号、SID信号、SIC信号、SIW信号、SINH信号、EXXY信号、CHDIR(チェンジディレクション)信号、WINH信号、INSFF信号およびMEMTST信号は、複数個のFF317を有するパイプライン319を介して各RAM315に与えられる。前記FF317は所定の個数の前記RAM315について1個づづ対応して設けられる。前記パイプライン319には、図62の如く、各種テストデータを入力するためのテストデータ入力端子(TEST)が接続され、該テストデータ入力端子(TEST)には、シフト禁止信号(SINH)を入力するためのシフト禁止信号入力端子が含まれる。そして、該シフト禁止信号入力端子(図62中のTEST参照)および前記パイプライン319は、前記直列接続体内のデータを圧縮するデータ圧縮手段を構成している。各RAM315に所定のタイミングで前記SINH信号を供給することによって、前記SI信号のデータ圧縮を行うもので、複数個の前記FF317が直列に接続されたFF直列接続体として構成される。該FF直列接続体としてのパイプライン319は、前記RAM315が直列に接続された回路(RAM直列接続体)に平行に形成され、パイプライン319の各FF317からの出力信号は、対応する前記各RAM315に入力される。そして、前記パイプライン319へSINH等の各種テスト用信号(TEST)を入力する信号入力端子は、RAM315の最も出力(SOM)側に形成されている。かかる構成により、特にSINH信号をパイプライン319およびFF317で供給する場合、SINH信号をFF317にて1クロックずつ自動的にデータを遅延させることができ、FF317ごとにグループ化された複数個のRAM315のうち出力側のグループのRAM315から順に後述のスキャンパス332(特にデータ出力用スキャンパス(DO−SCAN))のシフト動作を禁止させることで、容易にデータ圧縮を行うことができる。ここで、例えばFF317を用いずに各RAM315に直接SINH信号を入力する場合、多数のRAMのSINH信号を駆動する必要があるため、故に処理速度が遅くなる要因となるが、本実施の形態では、FF317にて1クロックずつ自動的にデータを遅延させることで、極めて高速にデータ圧縮を行うことができる。   Various test signals (TEST) at the time of the RAM test, that is, an EXP signal, a comparison enable signal (CMPEN), an SIA signal, an SID signal, an SIC signal, an SIW signal, an SINH signal, an EXXY signal, and CHDIR (change direction), which will be described later. ) Signal, WINH signal, INSFF signal, and MEMST signal are provided to each RAM 315 through a pipeline 319 having a plurality of FFs 317. One FF 317 is provided for each of a predetermined number of RAMs 315. As shown in FIG. 62, a test data input terminal (TEST) for inputting various test data is connected to the pipeline 319, and a shift inhibition signal (SINH) is input to the test data input terminal (TEST). A shift prohibiting signal input terminal is included. The shift prohibiting signal input terminal (see TEST in FIG. 62) and the pipeline 319 constitute data compression means for compressing data in the serial connection body. By supplying the SINH signal to each RAM 315 at a predetermined timing, data compression of the SI signal is performed, and a plurality of the FFs 317 are connected in series to form an FF series connection body. The pipeline 319 as the FF series connection body is formed in parallel to a circuit (RAM series connection body) in which the RAM 315 is connected in series, and an output signal from each FF 317 of the pipeline 319 is the corresponding RAM 315. Is input. A signal input terminal for inputting various test signals (TEST) such as SINH to the pipeline 319 is formed on the most output (SOM) side of the RAM 315. With this configuration, particularly when the SINH signal is supplied through the pipeline 319 and the FF 317, the data can be automatically delayed by one clock at the FF 317, and the plurality of RAMs 315 grouped for each FF 317 can be stored. Of these, data compression can be easily performed by prohibiting a shift operation of a scan path 332 (particularly, a data output scan path (DO-SCAN)) described later in order from the RAM 315 of the output side group. Here, for example, when the SINH signal is directly input to each RAM 315 without using the FF 317, it is necessary to drive the SINH signals of a large number of RAMs. Therefore, the processing speed may be reduced. By automatically delaying data by one clock at FF 317, data compression can be performed at a very high speed.

また、これらのテスト用信号とは別に、各RAM315にSM(シフトモード)信号、すなわちBIST信号が与えられる。該半導体メモリの検査装置からは、SO1およびSOM(SO2)として外部へ出力される。なお、図62中の318は、与えられたSI3信号を前記RAM315を通さずにそのままSO3として外部へ出力したい場合に用いられるスキャンパス(シフトレジスタ)である。   In addition to these test signals, each RAM 315 is provided with an SM (shift mode) signal, that is, a BIST signal. From the semiconductor memory inspection apparatus, SO1 and SOM (SO2) are output to the outside. Note that reference numeral 318 in FIG. 62 denotes a scan path (shift register) used when it is desired to directly output the supplied SI3 signal as SO3 without passing through the RAM 315.

図63は本実施の形態の半導体メモリの検査装置を示す図であって、図60に示した提案例と同様の機能を有する要素等については同一符号を付している。また、321,322はフリップフロップ(FF)、323はセレクタ、324はAND回路、325はNOT回路、326は片側の入力が反転されたOR回路、327はNOR回路である。これらのFF321,322、セレクタ323、AND回路324、NOT回路325、OR回路326およびNOR回路327は、前記SINH0信号および前記SINH1信号を生成する制御信号生成手段を構成している。前記AND回路324の一方の入力端子はBIST端子に接続される。ここで、該BIST端子は、前記制御信号生成手段におけるSINH0,SINH1(シフト禁止信号)の生成を指示する指示信号(BIST信号)の入力用の指示端子である。また、前記FF322の入力端子は前記AND回路324の出力端子(SHINH−FF)に接続される。前記NOT回路325の入力端子は前記FF322の出力端子に接続される。前記AND回路324の他方の入力端子は前記NOT回路325の出力端子に接続される。ロジックデータ(SI信号)は、前記シフトレジスタ312および前記セレクタ323の「0」側入力端子に入力される。前記セレクタ323の出力端子は前記FF321に接続され、また、該セレクタ323の「1」側入力端子には前記FF321の出力が帰還入力される。また、前記OR回路326の正入力端子は前記FF321の出力端子(RUNBIST)に接続され、反転入力端子は前記FF322の出力端子(SHINH−FF)が接続される。前記各シフトレジスタ312,313のシフト動作を禁止する制御信号、SINH0およびSINH1は、前記OR回路326および前記NOR回路327から出力される。かかる構成により、前記FF321および前記セレクタ323は、常に前記SI信号の奇数番目の値を検出するよう動作し、前記テストパターン生成回路301が動作すべき動作モードを判断する(モード判断部)。なお、SI信号の奇数番目の値が「0」の場合は初期設定動作モード、「1」の場合はテスト実行動作モードを表すものとする。また、前記FF322、AND回路324、NOT回路325、OR回路326およびNOR回路327は、モード判断部(321,323)での判断に基づいて前記テストパターン生成回路301の前記各シフトレジスタ312,313に対応するシフト禁止信号SINH0,SINH1を生成する禁止信号生成部を構成する。そして、前記モード判断部と前記禁止信号生成部とから、各シフト禁止信号SINH0,SINH1を前記データ入力信号に基づいて生成し前記テストパターン生成回路301に送信する禁止信号生成手段が構成される。   FIG. 63 is a diagram showing a semiconductor memory inspection apparatus according to the present embodiment. Elements having the same functions as those of the proposed example shown in FIG. 60 are denoted by the same reference numerals. Further, reference numerals 321 and 322 are flip-flops (FF), 323 is a selector, 324 is an AND circuit, 325 is a NOT circuit, 326 is an OR circuit in which an input on one side is inverted, and 327 is a NOR circuit. The FFs 321 and 322, the selector 323, the AND circuit 324, the NOT circuit 325, the OR circuit 326, and the NOR circuit 327 constitute control signal generation means for generating the SINH0 signal and the SINH1 signal. One input terminal of the AND circuit 324 is connected to the BIST terminal. Here, the BIST terminal is an instruction terminal for inputting an instruction signal (BIST signal) for instructing generation of SINH0 and SINH1 (shift inhibition signal) in the control signal generating means. The input terminal of the FF 322 is connected to the output terminal (SHINH-FF) of the AND circuit 324. The input terminal of the NOT circuit 325 is connected to the output terminal of the FF 322. The other input terminal of the AND circuit 324 is connected to the output terminal of the NOT circuit 325. Logic data (SI signal) is input to the “0” side input terminals of the shift register 312 and the selector 323. The output terminal of the selector 323 is connected to the FF 321, and the output of the FF 321 is fed back to the “1” side input terminal of the selector 323. The positive input terminal of the OR circuit 326 is connected to the output terminal (RUNBIST) of the FF 321, and the inverting input terminal is connected to the output terminal (SHINH-FF) of the FF 322. Control signals SINH0 and SINH1 for prohibiting the shift operation of the shift registers 312 and 313 are output from the OR circuit 326 and the NOR circuit 327, respectively. With this configuration, the FF 321 and the selector 323 always operate to detect an odd-numbered value of the SI signal, and determine an operation mode in which the test pattern generation circuit 301 should operate (mode determination unit). When the odd value of the SI signal is “0”, it represents the initial setting operation mode, and when it is “1”, it represents the test execution operation mode. The FF 322, the AND circuit 324, the NOT circuit 325, the OR circuit 326, and the NOR circuit 327 are based on the determination by the mode determination unit (321, 323) and the shift registers 312 and 313 of the test pattern generation circuit 301. The prohibition signal generation unit for generating the shift prohibition signals SINH0 and SINH1 corresponding to. The mode determination unit and the prohibition signal generation unit constitute prohibition signal generation means for generating the shift prohibition signals SINH0 and SINH1 based on the data input signal and transmitting them to the test pattern generation circuit 301.

図64および図65は本発明の実施の形態12の半導体メモリおよびその検査装置(シングルポートRAM)を示す図である。図64および図65はA−A線にて破断されている。図65該シングルポートRAMは、半導体メモリとしてのRAMコア(Core)および該RAMコアへの各種信号の入出力を司る周辺回路を称するものであって、読み込み(READ)および書き込み(WRITE)の両動作が可能でかつアドレスが一系統(シングルポート)とされており、同期型RAMコア(メモリコア)331(上述のRAMコア303に相当する)の周りに複数個のシフトレジスタとしてのスキャンパス332(A−SCAN,DI−SCAN,DO−SCAN)および単一のライトパルス発生器(Wright Pulse Generator)333等を付加して成る。図64中のTEST BUSは、RAMテスト時に使用する端子で、EXP(期待データ)信号、CMPEN(比較イネーブル)信号、SID(テストデータ)信号、SIA(アドレス)信号、SIC信号、SM(シフトモード)信号、SIW0信号、MEMTST(メモリテスト)信号、SINHA0X信号、SINHA0Y信号、EXXY(XY変換)信号、CHDIR(チェンジディレクション)信号、SINHDI信号、SINHDO信号、INSFF信号、WINH信号を含む。   64 and 65 show a semiconductor memory and an inspection apparatus (single port RAM) thereof according to the twelfth embodiment of the present invention. 64 and 65 are broken along the line AA. 65. The single port RAM refers to a RAM core (Core) as a semiconductor memory and a peripheral circuit that controls input / output of various signals to / from the RAM core. Both read (READ) and write (WRITE) are used. The scan path 332 as a plurality of shift registers is provided around the synchronous RAM core (memory core) 331 (corresponding to the above-mentioned RAM core 303). (A-SCAN, DI-SCAN, DO-SCAN) and a single write pulse generator (Wright Pulse Generator) 333 and the like. TEST BUS in FIG. 64 is a terminal used in the RAM test, and is an EXP (expected data) signal, a CMPEN (comparison enable) signal, an SID (test data) signal, an SIA (address) signal, an SIC signal, and an SM (shift mode). ) Signal, SIW0 signal, MEMST (memory test) signal, SINHA0X signal, SINHA0Y signal, EXXY (XY conversion) signal, CHDIR (change direction) signal, SINHDI signal, SINHDO signal, INSFF signal, and WINH signal.

ここで、図66にデータ入力用スキャンパス332(DI−SCAN)を示す。図66中の「A」は、各シングルポートRAMのデータ入力用スキャンパス332(DI−SCAN)の個別のアドレスに対応するスキャンFFであり、複数個のスキャンFF(「A」)が直列(シリアル)に接続される。該データ入力用スキャンパス332(DI−SCAN)は、シフト動作抑制機能を有しており、SM信号を「1」、SINHDIを「1」に設定することによってシフト動作を抑制できる。該シフト動作抑制機能により書き込みデータの全部を「0」または「1」に固定することも可能であり、また、「0101…」または「1010…」のパターンを1クロックで切り換えることも可能である。RAMのテストではデータI/Oの各ビットに対して同一の論理値を用いることができる。つまり、テストアルゴリズム上はデータI/Oのビット数を気にする必要がほとんどない。したがって、入出力データのパターンとしては、全データを「0」または「1」のいずれかに設定してもよい。しかし、シフト動作を用いると、「0000」を「1111」に切り換え、あるいは「1111」を「0000」に切り換える動作を1クロック(すなわちシフト回数が1回のみ)で行うことはできない(この例では4クロック必要)。今回のテスト回路では、1クロックデータでデータの切り換えを行ってデータ入力速度を大幅に向上させるため、各スキャンFF(「A」)を、図67のように構成している。すなわち、該各スキャンFF(「A」)は、データを格納および出力するレジスタ332aと、該レジスタ332aの出力とSI信号とを切り換える第1のセレクタ332bと、該第1のセレクタ332bからの出力と外部のロジック回路からのデータ(D)信号とを切り換える第2のセレクタ332cとから構成されている。   FIG. 66 shows a data input scan path 332 (DI-SCAN). “A” in FIG. 66 is a scan FF corresponding to an individual address of the data input scan path 332 (DI-SCAN) of each single-port RAM, and a plurality of scan FFs (“A”) are connected in series ( Serial). The data input scan path 332 (DI-SCAN) has a shift operation suppression function, and the shift operation can be suppressed by setting the SM signal to “1” and the SINHDI to “1”. It is possible to fix all of the write data to “0” or “1” by the shift operation suppression function, and it is also possible to switch the pattern of “0101...” Or “1010. . In the RAM test, the same logical value can be used for each bit of data I / O. That is, there is almost no need to worry about the number of bits of data I / O in the test algorithm. Therefore, as the input / output data pattern, all data may be set to either “0” or “1”. However, if the shift operation is used, the operation of switching “0000” to “1111” or “1111” to “0000” cannot be performed in one clock (that is, the number of shifts is only one) (in this example, 4 clocks required). In the present test circuit, each scan FF (“A”) is configured as shown in FIG. 67 in order to greatly improve the data input speed by switching data with one clock data. That is, each of the scan FFs (“A”) includes a register 332a that stores and outputs data, a first selector 332b that switches between an output of the register 332a and an SI signal, and an output from the first selector 332b. And a second selector 332c for switching between a data (D) signal from an external logic circuit.

また、データ出力用スキャンパス332(DO−SCAN)は、図68のように構成される。該データ出力用スキャンパス332(DO−SCAN)は、実施の形態4等で説明したように比較回路(34,34a〜34c)および比較禁止部(34Z)が設けられている(図25、図26、図28および図31参照)。図68中の「B」はデータ出力用スキャンパス332(DO−SCAN)のスキャンFFである。該データ出力用スキャンパス332(DO−SCAN)はシフト動作抑制機能を有しており、前記各スキャンFF(「B」)は、図69の如く、データを格納および出力するレジスタ332aと、該レジスタ332aの出力信号とSI信号とを切り換える第1のセレクタ332bと、該第1のセレクタ332bからの出力と外部のロジック回路からのデータ(D)信号とを切り換える第2のセレクタ332cと、前記データ(D)信号とEXP信号との排他的論理和をとるEx.OR回路332dと、該Ex.OR回路332dの出力信号と比較イネーブル信号(CMPEN)との負論理積をとるNAND回路332eと、該NAND回路332eの出力信号と前記レジスタ332aの出力信号との論理積をとるAND回路332fとから構成されている。該データ出力用スキャンパス332(DO−SCAN)は、SM信号を「1」、SINHDIを「1」に設定することによってシフト動作を抑制できる。また、シフト動作抑制状態においてCMPENを「1」に設定することにより、クロックの立ち上がり時にEXPの値とDの比較が行われる。EXPとDが異なっていれば、スキャンFF(「B」)は「0」にリセットされる。したがって、RAMをテストする前にはシフト動作により前記スキャンFF(「B」)に「1」をセットしておく必要がある。RAMテスト後にデータ出力部のスキャンFF(「B」)の値をシフトアウトすればどのビットに故障があるかを判定できる。なお、期待データ(EXP)信号はデータ出力の全ビットに対して共通に与えられているので、書き込みデータに「0101」または「1010」のパターンを用いた場合は偶数番目のビットまたは奇数番目のビットは必ず無視される。したがって、偶数番目のビットのみを対象とするテストパターンと、奇数番目のビットのみを対象とするテストパターンとの両方を用いて二回のテストを行う必要がある。   Further, the data output scan path 332 (DO-SCAN) is configured as shown in FIG. The data output scan path 332 (DO-SCAN) is provided with the comparison circuits (34, 34a to 34c) and the comparison prohibition unit (34Z) as described in the fourth embodiment (FIG. 25, FIG. 25). 26, FIG. 28 and FIG. 31). “B” in FIG. 68 is a scan FF of the data output scan path 332 (DO-SCAN). The data output scan path 332 (DO-SCAN) has a shift operation suppression function, and each scan FF ("B") includes a register 332a for storing and outputting data, as shown in FIG. A first selector 332b that switches between an output signal of the register 332a and an SI signal, a second selector 332c that switches between an output from the first selector 332b and a data (D) signal from an external logic circuit, Ex. For taking exclusive OR of data (D) signal and EXP signal. OR circuit 332d, Ex. A NAND circuit 332e that takes a negative logical product of the output signal of the OR circuit 332d and the comparison enable signal (CMPEN), and an AND circuit 332f that takes a logical product of the output signal of the NAND circuit 332e and the output signal of the register 332a. It is configured. The data output scan path 332 (DO-SCAN) can suppress the shift operation by setting the SM signal to “1” and the SINHDI to “1”. Further, by setting CMPEN to “1” in the shift operation suppression state, the EXP value and D are compared at the rising edge of the clock. If EXP and D are different, the scan FF (“B”) is reset to “0”. Therefore, before testing the RAM, it is necessary to set “1” to the scan FF (“B”) by the shift operation. If the value of the scan FF (“B”) of the data output unit is shifted out after the RAM test, it is possible to determine which bit has a failure. Since the expected data (EXP) signal is commonly applied to all the bits of the data output, when the pattern “0101” or “1010” is used for the write data, the even-numbered bit or the odd-numbered bit is used. Bits are always ignored. Therefore, it is necessary to perform two tests using both a test pattern that targets only even-numbered bits and a test pattern that targets only odd-numbered bits.

前記スキャンFF(「B」)は、期待データ(EXP)信号を奇数ビットと偶数ビットとで交互に容易に変えるよう、偶数ビットと奇数ビットのいずれか一方のみのスキャンFFにNOT回路を接続している。このように構成することにより、シリアルなデータ入力(図66参照)を行ったときに、例えば「0101」または「1010」といったテストデータを容易に入力できる。なお、図68に示した該データ出力用スキャンパス332(DO−SCAN)は、前記した実施の形態1乃至実施の形態3、および後述する第1の変形例乃至第6の変形例の回路に対応している。   In the scan FF ("B"), a NOT circuit is connected to the scan FF of only one of the even bit and the odd bit so that the expected data (EXP) signal can be easily changed alternately between the odd bit and the even bit. ing. With this configuration, when serial data is input (see FIG. 66), test data such as “0101” or “1010” can be easily input. The data output scan path 332 (DO-SCAN) shown in FIG. 68 is connected to the circuits of the first to third embodiments and the first to sixth modifications described later. It corresponds.

図64に示したアドレス入力用スキャンパス332(A−SCAN)は、図70のように、例えばXA0〜XA6の七個のFF(「A」)が直列に接続されてなり、隣接する他のシングルポートRAMの同様のA−SCANに接続される。なお、図70は、Yアドレスがない場合にXアドレスのみを入力するよう構成されたものである。該アドレス入力用スキャンパス332(A−SCAN)は、アドレスを双方向にシフトできるよう構成されたもので、チェンジディレクション信号(切り換え信号:CHDIR)にて図70中に「A」で示した各FF(「A」:XA0〜XA6)に接続されたセレクタ341を切り換えることで、FF(「A」)のシフト方向を変更できる。例えばCHDIR=0にすると、SI信号は上位(BSM)側から入力され、逆にCHDIR=1にすると、SI信号は下位(LSB)側から入力される。前記各FF(「A」)は、図67の如く、データ入力用スキャンパス332(DI−SCAN)と同様、データを格納および出力するレジスタ332aと、該レジスタ332aの出力とSI信号とを切り換える第1のセレクタ332bと、該第1のセレクタ332bからの出力と外部のロジック回路からのデータ(D)信号とを切り換える第2のセレクタ332cとから構成されている。   In the address input scan path 332 (A-SCAN) shown in FIG. 64, for example, seven FFs (“A”) of XA0 to XA6 are connected in series as shown in FIG. Connected to a similar A-SCAN in a single port RAM. 70 is configured to input only the X address when there is no Y address. The address input scan path 332 (A-SCAN) is configured to be able to shift the address in both directions, and each of the change direction signals (switching signal: CHDIR) indicated by “A” in FIG. By switching the selector 341 connected to the FF (“A”: XA0 to XA6), the shift direction of the FF (“A”) can be changed. For example, when CHDIR = 0, the SI signal is input from the higher order (BSM) side. Conversely, when CHDIR = 1, the SI signal is input from the lower order (LSB) side. As shown in FIG. 67, each FF (“A”) switches between the register 332a for storing and outputting data, and the output of the register 332a and the SI signal, like the data input scan path 332 (DI-SCAN). The first selector 332b includes a second selector 332c that switches between an output from the first selector 332b and a data (D) signal from an external logic circuit.

また、図63に示したテスト回路302は、図64および図65中のRAMコア331を除く周辺回路に相当する。図64および図65中のA<0>…A<MSB>はマルチプレクサ(多重等配)方式のアドレス入力端子、DI<0>…DI<MSB>はマルチプレクサ方式のデータ入力端子、DO<0>…DO<MSB>はマルチプレクサ方式のデータ出力端子、BWC<0>…BWC<MSB>は1バイト(=8ビット)ごとの制御に代えて1ビットごとの制御を可能にするためのマルチプレクサ方式のローイネーブルのビットライト禁止信号入力端子である。なお、上記各端子における<0>は最下位ビットを、<MSB>は最上位ビットを夫々示している。各スキャンパス332は、例えば32ビットのフリップフロップ(FF)を有している(この場合、<MSB>=<32>)。また、CSC(チップセレクト端子)およびWEC(ライトイネーブル端子)にはローイネーブル信号が入力される。図64および図65中のCはスキャンFFである。さらに、MEMTSTは通常動作モードとメモリテストモードとを切り換えるための信号を入力するための端子であって、各スキャンFF(C)および各スキャンパス332(A−SCAN,DI−SCAN)に対応するセレクタ334に接続されるとともに、メモリテスト時(MEMTST=1)にBWC<0>…BWC<MSB>からの入力を禁止するため、単一のNOT回路335を介して例えば32個のビットライト禁止信号入力用AND回路336に接続されている。   The test circuit 302 shown in FIG. 63 corresponds to a peripheral circuit excluding the RAM core 331 in FIGS. 64 and 65. 64 and 65, A <0>... A <MSB> is an address input terminal of a multiplexer (multiple equal distribution) system, DI <0>... DI <MSB> is a data input terminal of a multiplexer system, and DO <0>. ... DO <MSB> is a multiplexer-type data output terminal, BWC <0> ... BWC <MSB> is a multiplexer-type control that enables control for each bit instead of control for each byte (= 8 bits) This is a low enable bit write inhibit signal input terminal. In the above terminals, <0> indicates the least significant bit and <MSB> indicates the most significant bit. Each scan path 332 has, for example, a 32-bit flip-flop (FF) (in this case, <MSB> = <32>). A low enable signal is input to CSC (chip select terminal) and WEC (write enable terminal). C in FIGS. 64 and 65 is a scan FF. Further, MEMST is a terminal for inputting a signal for switching between the normal operation mode and the memory test mode, and corresponds to each scan FF (C) and each scan path 332 (A-SCAN, DI-SCAN). In addition to being connected to the selector 334 and for prohibiting input from BWC <0>... BWC <MSB> during a memory test (MEMTST = 1), for example, 32 bit writes are prohibited via a single NOT circuit 335. The signal input AND circuit 336 is connected.

前記各スキャンパス332(A−SCAN,DI−SCAN,DO−SCAN)は、図64および図65の如く、モード切り換え信号(SM)が入力されないときには、A<0>…A<MSB>からのアドレス、DI<0>…DI<MSB>からの入力データ、BWC<0>…BWC<MSB>からの1ビットデータをマルチプレクサ方式で取り込んでRAMコア331に渡し、あるいはRAMコア331からの出力データを取り込んでデータ出力端子DO<0>…DO<MSB>に渡す。   Each of the scan paths 332 (A-SCAN, DI-SCAN, DO-SCAN) is sent from A <0>... A <MSB> when no mode switching signal (SM) is input as shown in FIGS. Address, DI <0>... Input data from DI <MSB>, BWC <0>... 1 bit data from BWC <MSB> is fetched in a multiplexer manner and passed to RAM core 331 or output data from RAM core 331 Are transferred to the data output terminals DO <0>... DO <MSB>.

一方、モード切り換え信号(シフトモード:SM)が入力されたときには、各セレクタ334は「0」側を選択するよう構成される。この場合、各セレクタ334、各スキャンFF(C)および各スキャンパス332(A−SCAN,DI−SCAN,DO−SCAN)は全て直列に接続されることになり、与えられたSI信号を各セレクタ334、各スキャンFF(C)、および各スキャンパス332を経てSOMに出力する構造となる。   On the other hand, when a mode switching signal (shift mode: SM) is input, each selector 334 is configured to select the “0” side. In this case, each selector 334, each scan FF (C), and each scan path 332 (A-SCAN, DI-SCAN, DO-SCAN) are all connected in series, and a given SI signal is applied to each selector. 334, each scan FF (C), and each scan path 332, the output to the SOM.

そして、図64および図65中の337は、RAMテスト用のSIM信号とロジックテスト用のSI信号とを切り換えるセレクタである。そして、前記EXP信号は、RAMテスト時には「0」または「1」の所望の期待データ信号を入力するが、それ以外は前記セレクタ337の切り換えを行うスイッチ信号として機能し、通常動作時(NORMAL)、SI信号入力時(SHIFT−SI)、およびデータ取り込み時(CAPTURE)には、前記セレクタ337に「0」を入力し、SIM信号入力時(SHIFT−SIM)には前記セレクタ337に「1」を入力する。また、前記ライトパルス発生器333は、例えば図71に示すように一対のディレイ(Delay1,Delay2)、三個のnot回路および一対のNAND回路を備えた一般的なものが用いられる。なお、図72は該ライトパルス発生器333の動作を示すタイミングチャートである。図72中のT、A、B、C、バーEN、WINHおよびWECは図71中の同符号に対応している。また、図72中のtchwはクロック信号(T)の半周期の長さ、Delay1は一方のディレイ(Delay1)の入力(T)と出力(A)との時間差、Delay2は他方のディレイ(Delay2)の入力(A)と出力(B)との時間差、td(WPG)はクロック信号(T)とWEC信号の出力との時間差、tw(WPG)はWEC信号の出力時間である。   Reference numeral 337 in FIGS. 64 and 65 denotes a selector that switches between a RAM test SIM signal and a logic test SI signal. The EXP signal is input as a desired expected data signal of “0” or “1” during the RAM test, but otherwise functions as a switch signal for switching the selector 337, and during normal operation (NORMAL) When the SI signal is input (SHIFT-SI) and when the data is captured (CAPTURE), “0” is input to the selector 337, and when the SIM signal is input (SHIFT-SIM), “1” is input to the selector 337. Enter. As the write pulse generator 333, for example, a general one having a pair of delays (Delay 1 and Delay 2), three not circuits and a pair of NAND circuits as shown in FIG. 71 is used. FIG. 72 is a timing chart showing the operation of the write pulse generator 333. 72, T, A, B, C, bar EN, WINH, and WEC correspond to the same symbols in FIG. In FIG. 72, tchw is the length of the half cycle of the clock signal (T), Delay 1 is the time difference between the input (T) and output (A) of one delay (Delay 1), and Delay 2 is the other delay (Delay 2). Is the time difference between the input (A) and the output (B), td (WPG) is the time difference between the clock signal (T) and the output of the WEC signal, and tw (WPG) is the output time of the WEC signal.

<動作>
本実施の形態の回路動作を図76に示す。図76中の各信号(CHDIR、等)は図63に対応するものであるが、ただし、SINHA1X、SINHA1Y、SINHA2X、SINHA2Y、SIW1は、隣合う他のRAMのテスト回路に関する信号を示している。また、図76中の「NORMAL」は通常時の動作、「SHIFT−SI」はSI信号入力時のシフト動作、「SHIFT−SIM」はSIM信号入力時のシフト動作、「CAPTURE」は外部の論理回路等で発生されたデータを取り込む際(SM信号=「0」)の動作、「RAMTEST」はRAMのテスト時の動作を夫々示している。
<Operation>
FIG. 76 shows the circuit operation of the present embodiment. Each signal (CHDIR, etc.) in FIG. 76 corresponds to FIG. 63, however, SINHA1X, SINHA1Y, SINHA2X, SINHA2Y, and SIW1 indicate signals related to test circuits of other adjacent RAMs. In FIG. 76, “NORMAL” is a normal operation, “SHIFT-SI” is a shift operation when an SI signal is input, “SHIFT-SIM” is a shift operation when a SIM signal is input, and “CAPTURE” is an external logic. An operation when capturing data generated by a circuit or the like (SM signal = “0”), and “RAMTEST” indicate an operation at the time of RAM test.

まず、通常の動作時(Normal状態)には、図73の如く、BIST信号を「0」にする。このとき、SI信号としていかなるデータを入力しようとも、RAMコア303は通常動作をする(Don’t Care状態)。すなわち、図76の如く、テストバスのほぼ全データを0にし、図77のようにA<>、DI<>、またはBWC<>からデータまたはアドレスをマルチプレクサ方式で入力し、あるいはDOからデータを出力する。ただし、図76中に「−」(すなわち、「Don’t Care」)で示した信号は0でなくてもよい。なお、図77および図78中、<Read cycle>、<Write cycle>および<Noop cycle>は、読み出し動作の状態、書き込み動作の状態および非操作の状態を夫々示している。このときのRAMコア331の読み出し(Read)動作および書き込み(Write)動作の夫々の状態は図78の通りである。なお、図77および図78中、tsus(C)、tsus(W)、tsus(A)、tsus(D)、tsu(D)、tsu(BW)、およびtsu(A)は外部からのBWC信号の入力からRAMコア331へのbwc信号の入力までの時間、ths(C)、ths(W)、ths(A)、ths(D)、th(D)、th(BW)、およびth(A)は各信号の有効時間、td(WPG)は書き込み動作開始後RAMコア331内へのwec(WEC)信号入力までの時間差、tw(WPG)およびtw(W)はwec(WEC)信号入力時間、tv(T)、tv2(T)およびtv(A)は読み出しまたは書き込み開始後データ出力の終了までの時間、ta(T)、ta2(T)およびta(A)は読み出しまたは書き込み開始後データ出力の終了までの時間、a(0)およびa(1)はアドレス、di(1)は入力データ、bwc(1)はBWC信号の入力時間、data(a(0))は出力データを夫々示している。また、図76の如く、SOMからは出力されない。   First, during normal operation (normal state), the BIST signal is set to “0” as shown in FIG. At this time, the RAM core 303 operates normally (Don't Care state) no matter what data is input as the SI signal. That is, almost all data on the test bus is set to 0 as shown in FIG. 76, and data or addresses are input in a multiplexer manner from A <>, DI <>, or BWC <> as shown in FIG. 77, or data is input from DO. Output. However, the signal indicated by “−” (that is, “Don't Care”) in FIG. 76 may not be zero. 77 and 78, <Read cycle>, <Write cycle>, and <Noop cycle> respectively indicate a read operation state, a write operation state, and a non-operation state. Each state of the read (Read) operation and the write (Write) operation of the RAM core 331 at this time is as shown in FIG. 77 and 78, tuss (C), tuss (W), tuss (A), tuss (D), tsu (D), tsu (BW), and tsu (A) are external BWC signals. To the input of the bwc signal to the RAM core 331, ths (C), ths (W), ths (A), ths (D), th (D), th (BW), and th (A ) Is the valid time of each signal, td (WPG) is the time difference from the start of the write operation to the wec (WEC) signal input into the RAM core 331, tw (WPG) and tw (W) are the wec (WEC) signal input time , Tv (T), tv2 (T) and tv (A) are the time from the start of reading or writing until the end of data output, ta (T), ta2 (T) and ta (A) are the data after starting reading or writing. Time until the end of output, a (0) and a (1) are addresses, di (1) is input data, bwc (1) is input time of BWC signal, and data (a (0)) is output data. Show. Further, as shown in FIG. 76, no output is made from the SOM.

一方、スキャンテストやRAMテストを行う場合、夫々図74および図75に示した手順で動作する。図74に示したスキャンテストにおいては、まず、SIM信号(RAMテストデータ)を入力しながらシフト動作(SHIFT−SIM)を行った後、RAMテスト(TEST)を行い、続いて再びシフト動作(SHIFT−SIM)を行う。これらの各動作は、必要に応じて繰り返される。また、図75に示したロジックのスキャンテストフローについては、まず、SI信号を入力しながらシフト動作(SHIFT−SI)を行った後、データ取り込み(CAPTURE)を行い、続いて再びシフト動作(SHIFT−SI)を行う。これらの各動作は、必要に応じて繰り返される。   On the other hand, when a scan test or a RAM test is performed, the operation is performed according to the procedures shown in FIGS. 74 and 75, respectively. In the scan test shown in FIG. 74, first, a shift operation (SHIFT-SIM) is performed while inputting a SIM signal (RAM test data), then a RAM test (TEST) is performed, and then a shift operation (SHIFT) is performed again. -Perform SIM). Each of these operations is repeated as necessary. In the logic scan test flow shown in FIG. 75, first, the shift operation (SHIFT-SI) is performed while the SI signal is input, then the data capture (CAPTURE) is performed, and then the shift operation (SHIFT) is performed again. -SI). Each of these operations is repeated as necessary.

ここで、SI信号(ロジックデータ)またはSIM信号(RAMテストデータ)の入力時においては、図76の如く、SM信号を「1」、INSFF信号およびWINH信号を夫々「1」にし、SI信号またはSIM信号(Test Date)を入力する。データ取り込み時(CAPTURE)には、SM信号を「0」にする。このとき、SOMからのデータ出力は行われない。そして、RAMテスト(TEST)時には、MEMTEST信号、SINHDO信号およびSM信号を夫々「1」にし、またWINH信号を「0」にして、その他の各端子から所望のデータ(0または1)を入力すればよい。   Here, when the SI signal (logic data) or the SIM signal (RAM test data) is input, the SM signal is set to “1”, the INSFF signal and the WINH signal are set to “1” as shown in FIG. A SIM signal (Test Date) is input. At the time of data capture (CAPTURE), the SM signal is set to “0”. At this time, no data is output from the SOM. In the RAM test (TEST), the MEMTEST signal, the SINHDO signal, and the SM signal are set to “1” and the WINH signal is set to “0”, and desired data (0 or 1) is input from other terminals. That's fine.

かかる動作における各部のデータの変遷について説明する。まず、図63の如く、テスト回路動作時(BIST状態)は、BIST信号を常に「1」(=“High”)にし、SI信号をシフトイン(DATA SHIFT IN状態)を行う。このとき、テスト回路302はテストモードになる。SINH−FF信号は、AND回路324からの信号に基づいて「0101010…」を発生する。そうすると、OR回路326はSINH−FF信号が「0」のときのみFF321に格納されたデータ(RUNBIST信号)を取り込み、これをシフトレジスタ312に与える。また、NOR回路327は、RUNBIST信号が「0」でかつSINH−FF信号が「0」のときにのみSINH0を「1」として出力する。   The transition of the data of each part in this operation will be described. First, as shown in FIG. 63, when the test circuit is operating (BIST state), the BIST signal is always set to “1” (= “High”), and the SI signal is shifted in (DATA SHIFT IN state). At this time, the test circuit 302 enters a test mode. The SINH-FF signal generates “0101010...” Based on the signal from the AND circuit 324. Then, the OR circuit 326 takes in the data (RUNBIST signal) stored in the FF 321 only when the SINH-FF signal is “0”, and supplies it to the shift register 312. The NOR circuit 327 outputs SINH0 as “1” only when the RUNBIST signal is “0” and the SINH-FF signal is “0”.

ここで、初期設定時(INIT.状態)には、本来的にテストパターン生成回路301に初期設定すべきデータのビット列に対し、1ビットごとに「0」を挿入する。例えば図60に示した回路中のデータ(SI信号)として
「1011」
といったビット列をシフトインするのと同様の動作を本実施の形態で実行させたいときは、本実施の形態におけるSI信号として
「01 00 01 01」
をシフトインする。このとき、SINH−FF信号は
「01 01 01 01」
となるので、RUNBIST信号はSI信号の奇数ビットが取り込まれ、故に「0」を保持する。この場合、OR回路326の出力(SINH1)は、SINH−FF信号をそのまま出力することになり、図79の如く、
「10 10 10 10」
となる。また、NOR回路327の出力(SINH0)も
「10 10 10 10」
となるので、シフトレジスタはSI信号のビット列の遇数ビットのタイミングのみシフトし、故にシフトレジスタにはSI信号のビット列の遇数ビットが取り込まれる。すなわち、
「1011」
が入力される。また、テスト実行時(RUN状態)には、SI信号として
「11 11 11 11」
をシフトインする。このときSINH−FFは
「01 01 01 01」
なので、RUNBISTには奇数ビットが取り込まれるため、「1」の状態を保持する。そうすると、OR回路326の出力(SINH1)は図79のように常に「1」となり、NOR回路327の出力(SINH0)は常に「0」となる。そうすると、一方のシフトレジスタ312は、前記した実施の形態4乃至実施の形態11の例えば有効アドレス数格納部(MASKA)37や二次元パターン記憶部(MASKD)111として機能し、他方のシフトレジスタ313は、前記した実施の形態4乃至実施の形態11の例えばアドレス発生部(ADDR)35や制御レジスタ(CARRY)36として機能することで、テスト回路302に所定の信号(前記した実施の形態4乃至実施の形態11におけるSIA、CMPEN、およびSIW等)を送信し、テストを実行する。
Here, at the time of initial setting (INIT. State), “0” is inserted for each bit in the bit string of data that should be originally initialized in the test pattern generation circuit 301. For example, “1011” as the data (SI signal) in the circuit shown in FIG.
When it is desired to execute an operation similar to that for shifting in a bit string such as “01 00 01 01” as an SI signal in this embodiment,
Shift in. At this time, the SINH-FF signal is “01 01 01 01”.
Therefore, the RUNBIST signal takes in the odd bits of the SI signal, and therefore holds “0”. In this case, the output (SINH1) of the OR circuit 326 outputs the SINH-FF signal as it is, as shown in FIG.
"10 10 10 10"
It becomes. The output (SINH0) of the NOR circuit 327 is also “10 10 10 10”.
Therefore, the shift register shifts only the timing of the divisor bit of the bit string of the SI signal, and therefore, the divisor bit of the bit string of the SI signal is taken into the shift register. That is,
“1011”
Is entered. When the test is executed (RUN state), the SI signal is “11 11 11 11”.
Shift in. At this time, SINH-FF is “01 01 01 01”.
Therefore, since odd bits are taken into RUNBIST, the state of “1” is held. Then, the output (SINH1) of the OR circuit 326 is always “1” as shown in FIG. 79, and the output (SINH0) of the NOR circuit 327 is always “0”. Then, one shift register 312 functions as, for example, the effective address number storage unit (MASKA) 37 or the two-dimensional pattern storage unit (MASKD) 111 in the fourth to eleventh embodiments, and the other shift register 313 is used. Functions as, for example, the address generation unit (ADDR) 35 and the control register (CARRY) 36 in the fourth to eleventh embodiments described above, thereby providing a predetermined signal (described in the fourth to fourth embodiments) to the test circuit 302. (SIA, CMPEN, SIW, etc. in the eleventh embodiment) are transmitted and the test is executed.

上記のようにして、テスト回路動作時(BIST状態)には、初期設定(INIT.状態)とテスト実行時(RUN状態)とを交互に繰り返す。図80はSI信号の入力例を、図81はSI信号に対するSINH−FF信号、RUNBIST信号、SINH0信号およびSINH1信号の推移例を夫々示している。このように動作することで、テスト実行時に1ピン(SIピン)のみからデータを与えることで、実施の形態4乃至実施の形態11で述べたような所定のテスト動作が可能となる。   As described above, when the test circuit operates (BIST state), the initial setting (INIT. State) and the test execution (RUN state) are alternately repeated. FIG. 80 shows an input example of the SI signal, and FIG. 81 shows transition examples of the SINH-FF signal, the RUNBIST signal, the SINH0 signal, and the SINH1 signal with respect to the SI signal. By operating in this way, a predetermined test operation as described in the fourth to eleventh embodiments is possible by providing data from only one pin (SI pin) at the time of test execution.

{実施の形態13}
<構成>
図82は本発明の実施の形態13の半導体メモリおよびその検査装置を示す図である。なお、実施の形態12と同様の機能を有する要素は同一符号を付している。実施の形態12では、SINH−FFのタイミングとSI信号のタイミングにズレが生じた場合に誤動作を起こす可能性があるため、SI信号のみでSINH−FF信号を生成するものである。図82中のテストパターン生成回路301、テスト回路302、RAMコア303、FF321,322、セレクタ323、NOT回路325、OR回路326、およびNOR回路327は実施の形態12で説明したのと同様に接続されるためここではその説明を省略する。本実施の形態では、図63に示した実施の形態12中の二端子入力のAND回路(324)に代えて、三端子入力のAND回路344を備える。該AND回路344の一の入力端子はBIST端子に接続され、他の一の入力端子はNOT回路325の出力端子に接続される点で、実施の形態12と同様であるが、さらに他の入力端子は、図82に示したように、前記SI信号中に含まれるマーク(「11」)を検出するマーク検出手段345に接続される。SINH−FFのタイミングとSI信号のタイミングにズレが生じた場合にも、SI信号中のマーク(「11」)を検出することでタイミングのズレを修正し誤動作を防止するためのもので、3ビットのシフトレジスタ346と、三端子入力でそのうちの一端子が反転入力端子とされたNAND回路347とから構成される。前記シフトレジスタ346には、その最上位ビット(MSB)側からSI信号が入力される。該シフトレジスタ346の最上位ビット(MSB)は、ここに格納されたSI信号をそのままテストパターン生成回路301のシフトレジスタ312の入力端子およびセレクタ323の「0」側入力端子に伝達するように接続される。前記NAND回路347の反転入力端子はシフトレジスタ346の最上位ビット(MSB)に接続され、他の入力端子はシフトレジスタ346の他のビットに夫々接続される。また、該NAND回路347の出力端子は前記AND回路344の前記他の入力端子に接続される。該AND回路344は、前記マーク検出手段345の検出結果に基づいてBIST信号(指示信号)の指示タイミングをSI信号のマーク終了後の時点に一致させるタイミング修正手段として機能する。
{Thirteenth embodiment}
<Configuration>
FIG. 82 shows a semiconductor memory and an inspection apparatus thereof according to the thirteenth embodiment of the present invention. Elements having the same functions as those in the twelfth embodiment are denoted by the same reference numerals. In the twelfth embodiment, since there is a possibility that malfunction occurs when the timing of the SINH-FF and the timing of the SI signal are shifted, the SINH-FF signal is generated only by the SI signal. The test pattern generation circuit 301, test circuit 302, RAM core 303, FFs 321 and 322, selector 323, NOT circuit 325, OR circuit 326, and NOR circuit 327 in FIG. 82 are connected in the same manner as described in the twelfth embodiment. Therefore, the description is omitted here. In the present embodiment, a three-terminal input AND circuit 344 is provided instead of the two-terminal input AND circuit (324) in the twelfth embodiment shown in FIG. Although one input terminal of the AND circuit 344 is connected to the BIST terminal and the other input terminal is connected to the output terminal of the NOT circuit 325, it is the same as in the twelfth embodiment. As shown in FIG. 82, the terminal is connected to mark detection means 345 for detecting a mark (“11”) included in the SI signal. Even when a deviation occurs between the timing of the SINH-FF and the timing of the SI signal, the timing deviation is corrected by detecting the mark (“11”) in the SI signal to prevent malfunction. A bit shift register 346 and a NAND circuit 347 having three terminal inputs, one of which is an inverting input terminal. The SI signal is input to the shift register 346 from the most significant bit (MSB) side. The most significant bit (MSB) of the shift register 346 is connected so that the SI signal stored here is transmitted as it is to the input terminal of the shift register 312 of the test pattern generation circuit 301 and the “0” side input terminal of the selector 323. Is done. The inverting input terminal of the NAND circuit 347 is connected to the most significant bit (MSB) of the shift register 346, and the other input terminals are connected to other bits of the shift register 346, respectively. The output terminal of the NAND circuit 347 is connected to the other input terminal of the AND circuit 344. The AND circuit 344 functions as a timing correction means for matching the instruction timing of the BIST signal (instruction signal) with the time point after the end of the mark of the SI signal based on the detection result of the mark detection means 345.

<動作>
通常動作時(Normal状態)は図83に示した通りであり、また実施の形態12と同様であるため説明を省略する。
<Operation>
The normal operation (normal state) is as shown in FIG. 83 and is the same as in the twelfth embodiment.

テストパターン生成回路301の初期設定時(BIST−INIT.状態)には、図83の如く、BIST信号を「1」(=“High”)にし、SI信号のらシフトイン(DATA SHIFT IN状態)を行う。このとき、テスト回路302はテストモードになる。図80に示した実施の形態12と同様のSI信号のデータの先頭にマークとして「11」を挿入したデータをSI信号のデータとして入力する。すなわち、図84および図85の如く、まずSI信号としてシフトレジスタ346に
「11 01 01 00」
をシフトインする。このとき、NAND回路347からの出力は
「11 01 11 11」
となり、以後、「1」を出力し続ける。そうすると、AND回路344の前記他の入力端子には、3ビット目にはNAND回路347から必ず「0」が入力されることになる。したがって、これに伴ってAND回路344は3ビット目に必ず「0」を出力する。以後、それより前のNOT回路325からの出力に拘らず、以後のFF322およびNOT回路325による反転データの帰還により、AND回路344は、必ずSI信号の3ビット目を基準として
「01 01 01 01」
となるSINH−FFを出力する。しかる後、実施の形態12と同様、RUNBIST信号はSI信号の奇数ビットが取り込まれ、故に「0」を保持する。この場合、OR回路326の出力(SINH1)は、SINH−FF信号をそのまま出力することになり、図86の如く、
「10 10 10 10」
となる。また、NOR回路327の出力(SINH0)も
「10 10 10 10」
となるので、シフトレジスタはSI信号のビット列の遇数ビットのタイミングのみシフトし、故にシフトレジスタにはSI信号のビット列の遇数ビットが取り込まれる。すなわち、SI信号のうち、「11」データの終了後のデータについて偶数番目のデータのみが抽出される。また、テスト実行時(RUN状態)には、SI信号より
「11 11 11 11」
をシフトインする。このときSINH−FFは
「01 01 01 01」
なので、RUNBISTには奇数ビットが取り込まれるため、「1」の状態を保持する。そうすると、OR回路326の出力(SINH1)は図79のように常に「1」となり、NOR回路327の出力(SINH0)は常に「0」となる。
When the test pattern generation circuit 301 is initially set (BIST-INIT. State), as shown in FIG. 83, the BIST signal is set to “1” (= “High”), and the SI signal is shifted in (DATA SHIFT IN state). I do. At this time, the test circuit 302 enters a test mode. Data in which “11” is inserted as a mark at the head of SI signal data similar to that of the twelfth embodiment shown in FIG. 80 is input as SI signal data. That is, as shown in FIG. 84 and FIG. 85, first, “11 01 01 00” is input to the shift register 346 as an SI signal.
Shift in. At this time, the output from the NAND circuit 347 is “11 01 11 11”.
Thereafter, “1” is continuously output. Then, the other input terminal of the AND circuit 344 always receives “0” from the NAND circuit 347 in the third bit. Accordingly, the AND circuit 344 always outputs “0” at the third bit. Thereafter, regardless of the output from the NOT circuit 325 before that, the AND circuit 344 always makes the third bit of the SI signal “01 01 01 01” based on the feedback of the inverted data by the FF 322 and the NOT circuit 325 thereafter. "
SINH-FF is output. Thereafter, as in the twelfth embodiment, the odd bits of the SI signal are taken into the RUNBIST signal, and therefore hold “0”. In this case, the output (SINH1) of the OR circuit 326 outputs the SINH-FF signal as it is, as shown in FIG.
"10 10 10 10"
It becomes. The output (SINH0) of the NOR circuit 327 is also “10 10 10 10”.
Therefore, the shift register shifts only the timing of the divisor bit of the bit string of the SI signal, and therefore, the divisor bit of the bit string of the SI signal is taken into the shift register. That is, only the even-numbered data is extracted from the SI signal after the end of the “11” data. At the time of test execution (RUN state), the SI signal indicates “11 11 11 11”.
Shift in. At this time, SINH-FF is “01 01 01 01”.
Therefore, since odd bits are taken into RUNBIST, the state of “1” is held. Then, the output (SINH1) of the OR circuit 326 is always “1” as shown in FIG. 79, and the output (SINH0) of the NOR circuit 327 is always “0”.

このように、本実施の形態によると、図85の如く、SINH−FF信号の如何に拘らず、SI信号として「011」信号が与えられると、回路内部で自動的にリセットがかかり、この時点を基準として正常な動作を確保できるので、テスト動作時がSI信号の奇数サイクルであっても、誤動作することはない。その他の効果については実施の形態12と同様である。   As described above, according to the present embodiment, as shown in FIG. 85, when the “011” signal is given as the SI signal regardless of the SINH-FF signal, the circuit is automatically reset. Therefore, even if the test operation is an odd number cycle of the SI signal, no malfunction occurs. Other effects are the same as those of the twelfth embodiment.

{実施の形態14}
<構成>
図87および図88は本発明の実施の形態14の半導体メモリおよびその検査装置(DFT−RAM)を示すブロック図である。図87および図88はB−B線にて破断されている。なお、実施の形態12と同様の機能を有する要素は同一符号を付している。該DFT−RAMは、RAMコア(Core)および該RAMコアへの各種信号の入出力を司る周辺回路であって、非同期RAMコア331の周りに複数個のシフトレジスタとしてのスキャンパス332および単一のライトパルス発生器333を付加して構成されている。そして、図63に示したテスト回路302は、図87および図88中のRAMコア331を除く周辺回路に相当する。図87および図88の如く、アドレス部のスキャンパス332(A−SCAN−0,A−SCAN−1)はシフト禁止信号(SINHAX0,SINHAX1)によりシフト動作を抑制することができる。データ入力部のスキャンパス332(DI−SCAN−0)はシフト禁止信号(SINHDI)によりシフト動作を抑制することができる。データ出力部のスキャンパス332(DO−SCAN−1)はシフト禁止信号(SINHDO)によりシフト動作を抑制することができる。アドレス部のスキャンパス332(A−SCAN−0,A−SCAN−1)には双方向シフト機能があり、双方向疑似乱数アドレッシングを用いたテストを高速で行える。この場合、複数個のRAMは図70で示した接続方式にて連結される。また、データ出力部のスキャンパス332(DI−SCAN−0)には、データ圧縮機能が有せしめられている。該データ圧縮機能は、前記各RAM315に前記SINH信号が入力され、所望のRAM315についてシフト動作を禁止することで達成されるが、ただし、図62の如く、RAM315にSINH信号を与えるパスの途中に前記フリップフロップ317を設けることで、該フリップフロップ317の前後でデータを1ビットでけ圧縮できる。これにより、図132に示した第4の従来例のように全RAM(RAM1,RAM2,RAM3)について同時にSINH信号を与えてテストアドレスごとにシフトアウト動作を行うことを防止している。これら疑似乱数アドレッシング手法とデータ圧縮手法を用いることにより、テストパターン増大の抑制と高速テストを実現できる。
{Embodiment 14}
<Configuration>
87 and 88 are block diagrams showing a semiconductor memory and an inspection apparatus (DFT-RAM) thereof according to the fourteenth embodiment of the present invention. 87 and 88 are broken along the line BB. Elements having the same functions as those in the twelfth embodiment are denoted by the same reference numerals. The DFT-RAM is a peripheral circuit that controls input / output of various signals to and from the RAM core (Core), and includes a scan path 332 as a plurality of shift registers around the asynchronous RAM core 331 and a single unit. The write pulse generator 333 is added. 63 corresponds to a peripheral circuit excluding the RAM core 331 in FIGS. 87 and 88. As shown in FIGS. 87 and 88, the scan path 332 (A-SCAN-0, A-SCAN-1) in the address portion can suppress the shift operation by the shift prohibition signal (SINHAX0, SINHAX1). The scan path 332 (DI-SCAN-0) of the data input unit can suppress the shift operation by the shift prohibit signal (SINHDI). The scan path 332 (DO-SCAN-1) of the data output unit can suppress the shift operation by the shift inhibition signal (SINHDO). The scan path 332 (A-SCAN-0, A-SCAN-1) in the address part has a bidirectional shift function, and a test using bidirectional pseudorandom addressing can be performed at high speed. In this case, the plurality of RAMs are connected by the connection method shown in FIG. The scan path 332 (DI-SCAN-0) of the data output unit is provided with a data compression function. The data compression function is achieved by inputting the SINH signal to each RAM 315 and prohibiting the shift operation for the desired RAM 315. However, as shown in FIG. By providing the flip-flop 317, data can be compressed by 1 bit before and after the flip-flop 317. Thus, as in the fourth conventional example shown in FIG. 132, the SINH signal is simultaneously applied to all the RAMs (RAM1, RAM2, RAM3) to prevent the shift-out operation for each test address. By using these pseudo-random addressing method and data compression method, it is possible to suppress the increase in test patterns and realize a high-speed test.

図87および図88の回路は、テストモード時に、MEMTST0=1に設定することによって、図89および図90に示した等価回路のように機能する。図89および図90はC−C線にて破断されている。すなわち、MEMTST0(=1)が入力されると、アドレス部のスキャンパス332(A−SCAN−0,A−SCAN−1)についてのアドレスはSIAから、データ入力部のスキャンパス332(DI−SCAN−0)についての書き込みデータはSIDからシフトインできる状態になる。なお、前記SIAに入力されるアドレスは、前述の各実施の形態で説明されたアドレス生成方法にて生成される。このとき、ライトイネーブル信号(Low Enable)はSIW0から、リードイネーブル信号(Low Enable)はSICから供給される。さらに、データ出力部のスキャンパス332(DI−SCAN−0)への読み出し期待データ(EXP)信号は期待データ入力(EXP)端子から、同じく比較イネーブル信号(CMPEN)はCMPEN端子から供給される。これらの信号はテストバス(TEST BUS)として複数個のRAMに対して共通に接続できるので、ワード数が同じであれば同時に複数個のRAMをテストできる。なお、各ポートに対して同一のアドレスをSIAからシフトインできるように設計されており、マルチポートRAMをシングルポートRAMのようにテストできる。   The circuits of FIGS. 87 and 88 function like the equivalent circuits shown in FIGS. 89 and 90 by setting MEMTST0 = 1 in the test mode. 89 and 90 are broken along the line CC. That is, when MEMSTST0 (= 1) is input, the address for the scan path 332 (A-SCAN-0, A-SCAN-1) in the address part is from SIA, and the scan path 332 (DI-SCAN in the data input part). The write data for (−0) can be shifted in from the SID. The address input to the SIA is generated by the address generation method described in each of the above embodiments. At this time, the write enable signal (Low Enable) is supplied from SIW0, and the read enable signal (Low Enable) is supplied from the SIC. Further, an expected read data (EXP) signal to the scan path 332 (DI-SCAN-0) of the data output unit is supplied from an expected data input (EXP) terminal, and a comparison enable signal (CMPEN) is also supplied from a CMPEN terminal. Since these signals can be commonly connected to a plurality of RAMs as a test bus (TEST BUS), a plurality of RAMs can be tested simultaneously if the number of words is the same. It is designed so that the same address can be shifted in from the SIA for each port, and the multi-port RAM can be tested like a single-port RAM.

なお、SINHA0,SINHA1,SINHDIを1に設定すれば、シフト動作は停止できる。   If SINHA0, SINHA1, and SINHDI are set to 1, the shift operation can be stopped.

{実施の形態15}
図91および図92は本発明の実施の形態15の半導体メモリおよびその検査装置(1Write 1Readの2ポートRAM)を示すブロック図である。図91および図92はD−D線にて破断されている。なお、実施の形態12と同様の機能を有する要素は同一符号を付している。本実施の形態の半導体メモリの検査装置は、実施の形態12と同様に、通常動作時にはシフトレジスタとしての各スキャンパス332に個別にアドレスやデータを与え、かつRAMテスト時にはスキャンパス332を直列に接続してデータを順次シフトするよう構成される。ただし、本実施の形態の半導体メモリの検査装置では、アドレス指定系統が、書き込み専用アドレス(A0<MSB:0>)と読み出し専用アドレス(A1<MSB:0>)の二系統に分かれており、同一サイクル内で、一のアドレス(A0<n>)に書き込みを行いながら、同時に一のアドレス(A1<n>)を指定してデータ出力(DO1<n>を行うことも可能となる点で、実施の形態12と異なる。
{Embodiment 15}
FIGS. 91 and 92 are block diagrams showing a semiconductor memory and an inspection apparatus thereof (1 Write 1 Read 2-port RAM) according to Embodiment 15 of the present invention. 91 and 92 are broken along the line DD. Elements having the same functions as those in the twelfth embodiment are denoted by the same reference numerals. As in the twelfth embodiment, the semiconductor memory inspection apparatus according to the present embodiment gives addresses and data individually to each scan path 332 as a shift register during normal operation, and the scan paths 332 in series during a RAM test. Connected and configured to sequentially shift data. However, in the semiconductor memory inspection apparatus of the present embodiment, the addressing system is divided into two systems: a write-only address (A0 <MSB: 0>) and a read-only address (A1 <MSB: 0>). In the same cycle, while writing to one address (A0 <n>), it is possible to simultaneously specify one address (A1 <n>) and perform data output (DO1 <n>). This is different from the twelfth embodiment.

図91および図92中のT0は書き込み用クロック、T1は読み出し用クロックである。このように、二種類のクロック入力端子を設定するのは、通常動作時(NORMAL)において、前記した二系統(書き込み/読み出し)の各アドレス(A0<MSB:0>,A1<MSB:0>)に互いに異なった周波数の別々の回路を接続して同時にアクセスをしなければならない場合を考慮したものである。これにより、例えば書き込みを10MHで行い、読み出しを20MHで行うことも可能となる。ただし、RAMテストを行う場合は、各スキャンパス332(A−SCAN−0,A−SCAN−1,DI−SCAN−0,DO−SCAN−1)が直列接続された回路として動作するため、全スキャンパス332に同一周波数のクロックを与える必要がある。そこで、図91および図92の如く、隣接する各スキャンパス332の間には、書き込み用クロックT0のタイミングと読み出し用クロックT1のタイミングとの間のずれを吸収して各スキャンパス332のシフト動作を同期させるためのラッチ回路(図91および図92中の「L」)を介在させている。該ラッチ回路(「L」)は、T0,T1が負(ネガティブ)入力され、T0,T1=「Low」のときに信号を出力するよう構成されている。本実施の形態によっても、上記各実施の形態と同様の効果を得ることができる。   91 and 92, T0 is a write clock, and T1 is a read clock. As described above, the two types of clock input terminals are set in the normal operation (NORMAL) in the above-described two systems (write / read) addresses (A0 <MSB: 0>, A1 <MSB: 0>). ) In which separate circuits having different frequencies must be connected and accessed simultaneously. Thereby, for example, writing can be performed at 10 MH and reading can be performed at 20 MH. However, when the RAM test is performed, each scan path 332 (A-SCAN-0, A-SCAN-1, DI-SCAN-0, DO-SCAN-1) operates as a circuit connected in series. It is necessary to supply the same frequency clock to the scan path 332. Therefore, as shown in FIGS. 91 and 92, the shift operation of each scan path 332 is absorbed between the adjacent scan paths 332 by absorbing the shift between the timing of the write clock T0 and the timing of the read clock T1. Latch circuit (“L” in FIGS. 91 and 92) is interposed. The latch circuit (“L”) is configured to output a signal when T0 and T1 are negatively input and T0 and T1 = “Low”. Also according to the present embodiment, the same effects as those of the above embodiments can be obtained.

{実施の形態16}
図121および図122は、本発明の実施の形態16の半導体メモリおよびその検査装置を示す図であって、本実施の形態の半導体メモリの検査装置は、図63に示した実施の形態12に類似している。図121および図122はG−G線にて破断されている。本実施の形態のアドレス入力用スキャンパス332は、実施の形態12(図63)中のアドレス入力用スキャンパス332(A−SCAN)に代えてB−SCANが用いられる。B−SCANの内部構成を、図123に示す。該B−SCANは、Yアドレスがない場合にXアドレスのみを入力するよう構成されたもので、実施の形態12(図70)の回路に類似している。すなわち、XA0〜XA6の七個のFF(「A」)が直列に接続されてなり、隣接する他のシングルポートRAMの同様のB−SCANに接続される。ただし、本実施の形態では、図70に示された回路と異なり、CHDIR信号が「1」に設定された場合にテストアドレス端子TA(TA0,TA1,TA2,…)側が選択される。図121に示すように、テストアドレス端子TAはRAMのピンとして設けられる。したがって、任意の順序でアドレスを設定しテストを行うことができる。つまり、B−SCANはCHDIR信号が「0」の状態ではシリアルシフト動作によるアドレス設定が可能である。また、CHDIR信号が「1」の状態では、テストアドレス端子TAによりパラレルにアドレス設定が可能である。なお、テストアドレス端子TAに対するアドレス信号はLSIの外部ピンから与えてもよいし、LSI内部に搭載したテスト用アドレス発生回路(図60の301に相当)により与えてもよい。このテスト用アドレス発生回路は、メモリLSIテスト装置に備えられているようなアルゴリズミックパターン発生器を用いればよい。
{Embodiment 16}
121 and 122 are diagrams showing a semiconductor memory and an inspection apparatus thereof according to the sixteenth embodiment of the present invention. The semiconductor memory inspection apparatus of the present embodiment is the same as that of the twelfth embodiment shown in FIG. It is similar. 121 and 122 are broken along the line GG. As the address input scan path 332 of the present embodiment, B-SCAN is used instead of the address input scan path 332 (A-SCAN) in the twelfth embodiment (FIG. 63). FIG. 123 shows the internal configuration of the B-SCAN. The B-SCAN is configured to input only the X address when there is no Y address, and is similar to the circuit of the twelfth embodiment (FIG. 70). That is, seven FFs (“A”) of XA0 to XA6 are connected in series and connected to the same B-SCAN of another adjacent single port RAM. However, in this embodiment, unlike the circuit shown in FIG. 70, when the CHDIR signal is set to “1”, the test address terminal TA (TA0, TA1, TA2,...) Side is selected. As shown in FIG. 121, the test address terminal TA is provided as a RAM pin. Therefore, the address can be set and tested in an arbitrary order. That is, B-SCAN can set addresses by serial shift operation when the CHDIR signal is “0”. When the CHDIR signal is “1”, addresses can be set in parallel by the test address terminal TA. An address signal for the test address terminal TA may be supplied from an external pin of the LSI, or may be supplied from a test address generation circuit (corresponding to 301 in FIG. 60) mounted in the LSI. As the test address generation circuit, an algorithmic pattern generator as provided in a memory LSI test apparatus may be used.

{実施の形態17}
<構成>
本発明の実施の形態17はDFT−RAM形式の半導体メモリの検査装置であって、図133はその制御信号発生回路610の概略を示す回路図である。一般に、テストピンは通常動作時には使用しないため、テスト実行時に使用しないピンとセレクタで切り替えられることが多い。しかしながら、ピンによってはタイミングがずれるといった問題でセレクタを挿入できないものがある。また、内部周波数と同じ周波数で動作できないピンだと、テストピンとして使用できない。本実施の形態の半導体メモリの検査装置は、外部からの信号がシフトレジスタのシフトタイミングより遅い場合等において、かかるタイミングのずれを修正するため等に適用されるものであって、具体的には、メモリコアに接続されたテスト回路に制御信号を送信するための複数個のシフトレジスタについて、内部のデータを巡回させることで実質的にデータのシフトを遅延させ、上述のタイミング修正を行うものである。すなわち、本実施の形態では、制御信号発生回路610内のシフトレジスタとして内部にループが形成された巡回性のシフトレジスタ(以下、巡回シフトレジスタと称す)600を適用したものである。該巡回シフトレジスタ600は制御信号発生回路610内で図133のように接続されている。図133中の各巡回シフトレジスタ600中のSIはシフト禁止信号(SI)を入力するピン、SOは後続する巡回シフトレジスタ600へ出力データ(SO)を出力するための出力ピン、DOは出力データ(DO)を出力するためのデータ出力ピンである。また、RUNBISTは図63に示したのと同様のRUNBIST信号を入力するための端子、SINH−CはSINH信号(シフト禁止信号)を入力するための端子、SR SINHDO,SR SINHDI,SR SINHA1,SR SINHA0はテスト回路に禁止信号を送信する端子である。
{Embodiment 17}
<Configuration>
Embodiment 17 of the present invention is a DFT-RAM type semiconductor memory inspection device, and FIG. 133 is a circuit diagram showing an outline of its control signal generation circuit 610. In general, since test pins are not used during normal operation, they are often switched between pins and selectors that are not used during test execution. However, there are some pins that cannot be inserted due to a problem that timing is shifted. Also, if the pin cannot operate at the same frequency as the internal frequency, it cannot be used as a test pin. The semiconductor memory inspection apparatus according to the present embodiment is applied to correct such a timing shift when an external signal is later than the shift timing of the shift register. A plurality of shift registers for transmitting a control signal to a test circuit connected to a memory core substantially delays the data shift by circulating the internal data, and corrects the timing described above. is there. That is, in this embodiment, a cyclic shift register 600 (hereinafter referred to as a cyclic shift register) 600 in which a loop is formed is applied as a shift register in the control signal generation circuit 610. The cyclic shift register 600 is connected in the control signal generation circuit 610 as shown in FIG. In FIG. 133, SI in each cyclic shift register 600 is a pin for inputting a shift inhibition signal (SI), SO is an output pin for outputting output data (SO) to the subsequent cyclic shift register 600, and DO is output data. This is a data output pin for outputting (DO). RUNBIST is a terminal for inputting a RUNBIST signal similar to that shown in FIG. 63, SINH-C is a terminal for inputting a SINH signal (shift prohibition signal), SR SINHDO, SR SINHDI, SR SINHA1, SR SINHA0 is a terminal for transmitting a prohibition signal to the test circuit.

一の巡回シフトレジスタ600の内部構成を図134に示す。該巡回シフトレジスタ600は、シフトインするデータ信号としてピンSIからのSI信号とピンSOへのSO信号とを選択するシフトインセレクタ601と、データ出力(DO)用の第1のレジスタ部603と、後続する巡回シフトレジスタ600へSO信号を出力する第2のレジスタ部604とを備える。そして、第1のレジスタ部603および第2のレジスタ部604は夫々フリップフロップ606a,606bおよびセレクタ607a,607bを備えている。   An internal configuration of one cyclic shift register 600 is shown in FIG. The cyclic shift register 600 includes a shift-in selector 601 that selects an SI signal from the pin SI and an SO signal to the pin SO as a data signal to be shifted in, and a first register unit 603 for data output (DO). And a second register unit 604 that outputs an SO signal to the subsequent cyclic shift register 600. The first register unit 603 and the second register unit 604 include flip-flops 606a and 606b and selectors 607a and 607b, respectively.

前記シフトインセレクタ601の「0」側入力端子はピンSIに接続され、「1」側入力端子は前記第2のレジスタ部604の第2のフリップフロップ606bの出力端子(すなわちSO端子)に接続される。前記第1のレジスタ部603の第1のセレクタ607aの「0」側入力端子は前記シフトインセレクタ601の出力端子に接続され、「1」側入力端子は第1のフリップフロップ606aの出力端子に接続される。前記第1のレジスタ部603の第1のフリップフロップ606aの入力端子は前記第1のセレクタ607aの出力端子に接続され、該第1のフリップフロップ606aの出力端子はDO端子に接続される。前記第2のレジスタ部604の第2のセレクタ607bの「0」側入力端子は前記第1のレジスタ部603の第1のフリップフロップ606aの出力端子に接続され、「1」側入力端子は前記第2のフリップフロップ606bの出力端子に接続される。前記第2のレジスタ部604の第2のフリップフロップ606bの入力端子は前記第2のセレクタ607bの出力端子に接続され、該第2のフリップフロップ606bの出力端子はSO端子に接続される。   The “0” side input terminal of the shift-in selector 601 is connected to the pin SI, and the “1” side input terminal is connected to the output terminal (that is, the SO terminal) of the second flip-flop 606b of the second register unit 604. Is done. The “0” side input terminal of the first selector 607a of the first register unit 603 is connected to the output terminal of the shift-in selector 601 and the “1” side input terminal is connected to the output terminal of the first flip-flop 606a. Connected. The input terminal of the first flip-flop 606a of the first register unit 603 is connected to the output terminal of the first selector 607a, and the output terminal of the first flip-flop 606a is connected to the DO terminal. The “0” side input terminal of the second selector 607b of the second register unit 604 is connected to the output terminal of the first flip-flop 606a of the first register unit 603, and the “1” side input terminal is Connected to the output terminal of the second flip-flop 606b. The input terminal of the second flip-flop 606b of the second register unit 604 is connected to the output terminal of the second selector 607b, and the output terminal of the second flip-flop 606b is connected to the SO terminal.

このように、各レジスタ部603,604に、一個のフリップフロップ606a,606bと、該フリップフロップ606a,606bへの入力信号を選択するセレクタ607a,607bとを有せしめることで、各フリップフロップ606a,606bからの出力を帰還させて再びフリップフロップ606a,606bに再入力することを可能としている。また、シフトインセレクタ601の一方の入力端子に第2のレジスタ部604のフリップフロップの出力端子を接続することで、RUNBIST信号の切り換えにより、SO信号を第1のレジスタ部603へ再入力することを可能としている。   In this manner, each of the register units 603 and 604 is provided with one flip-flop 606a and 606b and selectors 607a and 607b that select an input signal to the flip-flop 606a and 606b. It is possible to feed back the output from 606b and input it again to the flip-flops 606a and 606b. Further, by connecting the output terminal of the flip-flop of the second register unit 604 to one input terminal of the shift-in selector 601, the SO signal is re-input to the first register unit 603 by switching the RUNBIST signal. Is possible.

かかる制御信号発生回路610は、図135および図136のようにテスト回路611に接続される。なお、図135および図136はK−K線にて破断されている。図135および図136中のSR SINHA1およびSR SINHA0はアドレス入力用スキャンパス(A−SCAN−1,A−SCAN−0)を制御するためのシフト禁止信号(SINHA1,SINHA0)を発生する巡回シフトレジスタ、SR SINHDOはデータ出力用スキャンパス(DO−SCAN−1)を制御するためのシフト禁止信号(SINHDO)を発生する巡回シフトレジスタ、SR SINHDIはデータ入力用スキャンパス(DI−SCAN−0)を制御するためのシフト禁止信号(SINHDI)を発生する巡回シフトレジスタ、SR SIWは書き込み信号(WEC)入力用レジスタを制御するためのSIW信号を発生する巡回シフトレジスタ、SR SICは読み出し信号(REC)入力用レジスタを制御するための巡回シフトレジスタ、SR SIDはデータ入力用の巡回シフトレジスタ、SR CMPENはデータ出力用スキャンパスに比較イネーブル信号(CMPEN)を送信するための巡回シフトレジスタ、SR EXPはデータ出力用スキャンパスに期待値信号(EXP)を送信するための巡回シフトレジスタである。また、図135および図136中の613はテストパターン生成回路、614はアドレスパターン発生回路、615はRAMコア、A00〜A03はRAMコア615の書き込み用アドレスピン、A10〜A13は読み出し用アドレスピン、DI0〜DI3はデータ入力用ピン、DO0〜DO3はデータ出力用ピンである。そして、前記テストパターン生成回路613は、前記アドレスパターン発生回路614と、複数個の2ビットの前記巡回シフトレジスタ600(SR SINHA1,SR SINHA0,SR SINHDO,SR SINHDI,SR SIW,SR SIC,SR SID,SR CMPEN,SR EXP)から構成される。   The control signal generation circuit 610 is connected to the test circuit 611 as shown in FIGS. 135 and 136. 135 and 136 are broken along the line KK. SR SINHA1 and SR SINHA0 in FIGS. 135 and 136 are cyclic shift registers for generating a shift inhibition signal (SINHA1, SINHA0) for controlling the address input scan path (A-SCAN-1, A-SCAN-0). SR SINHDO is a cyclic shift register that generates a shift inhibition signal (SINHDO) for controlling the data output scan path (DO-SCAN-1), and SR SINHDI is a data input scan path (DI-SCAN-0). SR SIW is a cyclic shift register for generating a SIW signal for controlling a write signal (WEC) input register, and SR SIC is a read signal (REC). Control input registers SR SID is a cyclic shift register for data input, SR CMPEN is a cyclic shift register for transmitting a comparison enable signal (CMPEN) to the data output scan path, and SR EXP is a data output scan path Is a cyclic shift register for transmitting an expected value signal (EXP). 135 and 136, 613 is a test pattern generation circuit, 614 is an address pattern generation circuit, 615 is a RAM core, A00 to A03 are write address pins of the RAM core 615, A10 to A13 are read address pins, DI0 to DI3 are data input pins, and DO0 to DO3 are data output pins. The test pattern generation circuit 613 includes the address pattern generation circuit 614 and a plurality of 2-bit cyclic shift registers 600 (SR SINHA1, SR SINHA0, SR SINHDO, SR SINHDI, SR SIW, SR SIC, SR SID. , SR CMPEN, SR EXP).

<動作>
上記構成の半導体メモリの検査装置の動作を説明する。まず、シフトレジスタの初期値を設定する。この場合、SINH−C=0、RUNBIST=0に設定し、シフトレジスタをシフト可能にする。そして、入力端子SIより初期値データを入力する。次に、シフトレジスタの値を保持する。ここでは、SINH−C=1に設定し、シフトレジスタのシフト動作を禁止し、データを保持する。そして、テスト信号を発生する。この際、SINH−C=0、RUNBIST=1に設定する。例えばシフトレジスタに“10”が設定されておればDO信号として“1010…”を発生する。
<Operation>
The operation of the semiconductor memory inspection apparatus having the above configuration will be described. First, the initial value of the shift register is set. In this case, SINH-C = 0 and RUNBIST = 0 are set so that the shift register can be shifted. Then, initial value data is input from the input terminal SI. Next, the value of the shift register is held. Here, SINH-C = 1 is set, the shift operation of the shift register is prohibited, and data is held. Then, a test signal is generated. At this time, SINH-C = 0 and RUNBIST = 1 are set. For example, if “10” is set in the shift register, “1010...” Is generated as the DO signal.

そして、REC=“0”のときRAMコア615の読み出しが行われる。また、WECが“0”のときRAMコア615にデータが書き込まれる。データ出力用スキャンパス(DO−SCAN−1)はCMPEN=“1”のときRAMコア615のデータ出力と期待値(EXP)との比較を行い、これらの値が異なる場合はデータ出力用スキャンパス(DO−SCAN−1)の値が“0”になる。   When REC = “0”, the RAM core 615 is read. Further, when WEC is “0”, data is written to the RAM core 615. The data output scan path (DO-SCAN-1) compares the data output of the RAM core 615 with the expected value (EXP) when CMPEN = “1”, and if these values are different, the data output scan path The value of (DO-SCAN-1) becomes “0”.

次に、データ出力用スキャンパス(DO−SCAN)に“111…”を設定する。RAMコア615のテストを実行するためには、データ出力用スキャンパス(DO−SCAN)のすべてを“1”に設定する必要がある。また、SR SINHDIおよびSR SINHDOを“00”に設定し、シフト禁止信号(SINHDI,SINHDO)として“000…”を出力し、データ入力用スキャンパス(DI−SCAN)およびデータ出力用スキャンパス(DO−SCAN)が通常動作周波数でシフト動作が可能であるようにする。また、SIDを“1”に設定し、データ入力用スキャンパス(DI−SCAN)を“1”に初期設定する。   Next, “111...” Is set in the data output scan path (DO-SCAN). In order to execute the test of the RAM core 615, it is necessary to set all of the data output scan paths (DO-SCAN) to “1”. In addition, SR SINHDI and SR SINHDO are set to “00”, “000...” Is output as a shift inhibition signal (SINHDI, SINHDO), a data input scan path (DI-SCAN) and a data output scan path (DO -SCAN) allows shift operation at normal operating frequency. Further, the SID is set to “1”, and the data input scan path (DI-SCAN) is initialized to “1”.

1.ALL−0のWRITE/READ動作
ここで、テスト実行時の動作例として、ALL−0のWRITE/READ動作を説明する。該ALL−0のWRITE/READテストは、すべてのデータとして“0”を入力した後、かかる全“0”のデータを読み出す方法である。
1. ALL-0 WRITE / READ Operation Here, the ALL-0 WRITE / READ operation will be described as an example of an operation during test execution. The ALL-0 WRITE / READ test is a method of reading all “0” data after inputting “0” as all data.

まず、データ入力用スキャンパス(DI−SCAN)を全て“0”(ALL−0)に設定する。この場合、SR SINHDOを“11”に設定し、データ出力用スキャンパス(DO−SCAN)がシフト動作を禁止し全てのデータについて“1”(ALL−1)の状態を保持する。このとき、RAMコア615への書き込みは行わないのでSR SIWは“11”に設定する。また、RAMコア615への読み出しは行わないので、SR SICは“11”に設定する。さらに、RAMコア615のデータ出力と期待値(EXP)の比較は行わないのでSR CMPENは“00”に設定する。   First, all the data input scan paths (DI-SCAN) are set to “0” (ALL-0). In this case, SR SINHDO is set to “11”, the data output scan path (DO-SCAN) prohibits the shift operation, and holds the state of “1” (ALL-1) for all data. At this time, since writing to the RAM core 615 is not performed, SR SIW is set to “11”. Since reading to the RAM core 615 is not performed, SR SIC is set to “11”. Further, since the comparison between the data output of the RAM core 615 and the expected value (EXP) is not performed, SR CMPEN is set to “00”.

次に、アドレス入力用スキャンパス(A−SCAN−0,A−SCAN−1)にアドレスの初期値を設定する。この場合、SR SINHA0,SR SINHA1に夫々“00”を設定する。アドレスパターン発生回路614からSIA信号を送信してRAMコア615のアドレスの初期値を設定する。このとき、SR SINHDI,SR SINHDOは夫々“1”に設定し、データ入力用スキャンパス(DI−SCAN)およびデータ出力用スキャンパス(DO−SCAN)のシフト動作を禁止しておく。このときRAMコア615への書き込みは行わないので、SR SIWは“11”に設定する。RAMコア615への読み出しは行わないのでSR SICは“11”に設定する。RAMコア615のデータ出力と期待値(EXP)との比較は行わないのでSR CMPENは“00”に設定する。   Next, an initial value of the address is set in the address input scan path (A-SCAN-0, A-SCAN-1). In this case, “00” is set to SR SINHA0 and SR SINHA1, respectively. The SIA signal is transmitted from the address pattern generation circuit 614 to set the initial value of the RAM core 615 address. At this time, SR SINHDI and SR SINHDO are respectively set to “1”, and the shift operation of the data input scan path (DI-SCAN) and the data output scan path (DO-SCAN) is prohibited. At this time, since writing to the RAM core 615 is not performed, SR SIW is set to “11”. Since reading to the RAM core 615 is not performed, SR SIC is set to “11”. Since the data output of the RAM core 615 is not compared with the expected value (EXP), SR CMPEN is set to “00”.

続いて、ALL−0の書き込みを実行する。この場合、SR SINHA0,SR SINHA1に夫々“00”を設定する。アドレスパターン発生回路614からSIA信号を出力してアドレッシングを行う。このとき、SR SINHDI,SR SINHDOは夫々“11”に設定し、データ入力用スキャンパス(DI−SCAN)およびデータ出力用スキャンパス(DO−SCAN)のシフト動作を禁止しておく。RAMコア615への書き込みを行うためSR SIWは“00”にする。RAMコア615の読み出しは行わないのでSR SICは“11”に設定する。RAMコア615のデータ出力と期待値(EXP)との比較は行わないのでSR CMPENは“00”にする。   Subsequently, ALL-0 writing is executed. In this case, “00” is set to SR SINHA0 and SR SINHA1, respectively. Address pattern generation circuit 614 outputs a SIA signal to perform addressing. At this time, SR SINHDI and SR SINHDO are respectively set to “11”, and the shift operation of the data input scan path (DI-SCAN) and the data output scan path (DO-SCAN) is prohibited. SR SIW is set to “00” in order to write to the RAM core 615. Since the RAM core 615 is not read, SR SIC is set to “11”. Since the data output of the RAM core 615 and the expected value (EXP) are not compared, SR CMPEN is set to “00”.

次に、アドレス入力用スキャンパス(A−SCAN−0,A−SCAN−1)にアドレスの初期値を設定する。この場合、SR SINHA0,SR SINHA1に夫々“00”を設定する。アドレスパターン発生回路614からのSIA信号によってアドレスの初期値を設定する。このときSR SINHDIおよびSR SINHDOは夫々“11”に設定し、データ入力用スキャンパス(DI−SCAN)およびデータ出力用スキャンパス(DO−SCAN)のシフト動作を禁止しておく。このとき、RAMコア615への書き込みを行わないのでSR SIWは“11”にする。また、RAMコア615の読み出しは行わないのでSR SICは“11”に設定する。また、RAMコア615のデータ出力と期待値(EXP)の比較は行わないのでSR CMPENは“00”にする。   Next, an initial value of the address is set in the address input scan path (A-SCAN-0, A-SCAN-1). In this case, “00” is set to SR SINHA0 and SR SINHA1, respectively. The initial value of the address is set by the SIA signal from the address pattern generation circuit 614. At this time, SR SINHDI and SR SINHDO are respectively set to “11”, and the shift operation of the data input scan path (DI-SCAN) and the data output scan path (DO-SCAN) is prohibited. At this time, since writing to the RAM core 615 is not performed, SR SIW is set to “11”. Since the RAM core 615 is not read, the SR SIC is set to “11”. Since the comparison between the data output of the RAM core 615 and the expected value (EXP) is not performed, SR CMPEN is set to “00”.

そして、ALL−0の読み出しを実行する。この場合、SR SINHA0,SR SINHA1に夫々“00”を設定する。アドレスパターン発生回路614からのSIA信号により通常動作でアドレッシングを行う。このとき、SR SINHDIおよびSR SINHDOは夫々“11”に設定し、データ入力用スキャンパス(DI−SCAN)およびデータ出力用スキャンパス(DO−SCAN)のシフト動作を禁止しておく。また、RAMコア615の書き込み信号SR SIWを“11”に設定し、RAMコア615への書き込みを禁止する。さらに、読み出し信号SR SICを“11”に設定し、RAMコア615の読み出しを行う。SR CMPENを“11”に、SR EXPを“00”に設定し、RAMコア615のデータ出力と期待値(EXP)との比較を行う。このとき、RAMコア615に故障があれば、データ出力用スキャンパス(DO−SCAN)の対応するビットに“0”が格納される。   Then, reading of ALL-0 is executed. In this case, “00” is set to SR SINHA0 and SR SINHA1, respectively. Addressing is performed in a normal operation by the SIA signal from the address pattern generation circuit 614. At this time, SR SINHDI and SR SINHDO are respectively set to “11”, and the shift operation of the data input scan path (DI-SCAN) and the data output scan path (DO-SCAN) is prohibited. Further, the write signal SR SIW of the RAM core 615 is set to “11”, and writing to the RAM core 615 is prohibited. Further, the read signal SR SIC is set to “11”, and the RAM core 615 is read. SR CMPEN is set to “11” and SR EXP is set to “00”, and the data output of the RAM core 615 is compared with the expected value (EXP). At this time, if there is a failure in the RAM core 615, “0” is stored in the corresponding bit of the data output scan path (DO-SCAN).

2.マーチテスト
次に、マーチテストを例に説明する。このテストは、第2の従来例で説明した通り、全てのRAMの全てのアドレス指定データについて、初期状態である初期格納データ(例えば、“0”)から新規の格納データ(“1”)に更新するものである。
2. March test Next, the March test will be described as an example. In this test, as described in the second conventional example, the initial storage data (for example, “0”) in the initial state is changed from the initial storage data (for example, “0”) to the new storage data (“1”). It is to be updated.

まず、ALL−0のWRITE/READ動作と同様、データ入力用スキャンパス(DI−SCAN)をALL−0に設定する。次に、アドレス入力用スキャンパス(A−SCAN−0,A−SCAN−1)にアドレスの初期値を設定する。そして、ALL−0の書き込みを実行する。   First, similarly to the ALL-0 WRITE / READ operation, the data input scan path (DI-SCAN) is set to ALL-0. Next, an initial value of the address is set in the address input scan path (A-SCAN-0, A-SCAN-1). Then, ALL-0 writing is executed.

次に、アドレス入力用スキャンパス(A−SCAN−0,A−SCAN−1)にアドレスの初期値を設定する。そして、データ入力用スキャンパス(DI−SCAN)に“1”を設定する。SR SINHA0、SR SINHA1、SR SINHDOに夫々“11”を設定する。SR SINHDIを“00”に、SIDを“1”に設定し、データ入力用スキャンパス(DI−SCAN)にAL−1を設定する。そして、アドレス入力用スキャンパス(A−SCAN−0,A−SCAN−1)にアドレスの初期値を設定する。   Next, an initial value of the address is set in the address input scan path (A-SCAN-0, A-SCAN-1). Then, “1” is set in the data input scan path (DI-SCAN). “11” is set in SR SINHA0, SR SINHA1, and SR SINHDO, respectively. SR SINHDI is set to "00", SID is set to "1", and AL-1 is set to the data input scan path (DI-SCAN). Then, an initial address value is set in the address input scan path (A-SCAN-0, A-SCAN-1).

しかる後、“0”の読み出しおよび“1”の書き込みを行う。この場合、SR SINHA0およびSR SINHA1に夫々“01”を設定する。アドレスパターン発生回路614からのSIA信号により通常動作の半分(1/2)の周波数でアドレッシングを行う。このとき、SR SINHDIおよびSR SINHDOは夫々“11”に設定し、データ入力用スキャンパス(DI−SCAN)およびデータ出力用スキャンパス(DO−SCAN)のシフト動作を禁止しておく。また、RAMコア615のSR SIWを“10”に、SR SICを“01”に夫々設定し、交互に“0”の読み出しおよび“1”の書き込みを行う。SR CMPENを“01”に、SR EXPを“00”に夫々設定し、RAMコア615のデータ出力と期待値(EXP)との比較を行う。このとき、RAMコア615に故障があればデータ出力用スキャンパス(DO−SCAN)の対応するビットに“0”が格納される。   Thereafter, “0” reading and “1” writing are performed. In this case, “01” is set in SR SINHA0 and SR SINHA1, respectively. Addressing is performed at half the frequency (1/2) of the normal operation by the SIA signal from the address pattern generation circuit 614. At this time, SR SINHDI and SR SINHDO are respectively set to “11”, and the shift operation of the data input scan path (DI-SCAN) and the data output scan path (DO-SCAN) is prohibited. Further, the SR SIW of the RAM core 615 is set to “10” and the SR SIC is set to “01”, and “0” reading and “1” writing are alternately performed. SR CMPEN is set to “01” and SR EXP is set to “00”, respectively, and the data output of the RAM core 615 is compared with the expected value (EXP). At this time, if there is a failure in the RAM core 615, “0” is stored in the corresponding bit of the data output scan path (DO-SCAN).

そして、テスト結果の出力時に、2ビットの巡回シフトレジスタ600(SR SINHA1,SR SINHA0,SR SINHDO,SR SINHDI)に“01”を設定する。このときシフト動作信号SINHA0,SINHA1,SINHDI,SINHDOは“010101…”を発生する。したがって、RAMコア615のテスト回路中のスキャンパスは、通常動作の半分(1/2)の動作周波数でシフトアウトを行うので、テスト用データ出力ピンに低周波数対応の出力ピンに割り当てることができる。   Then, when the test result is output, “01” is set in the 2-bit cyclic shift register 600 (SR SINHA1, SR SINHA0, SR SINHDO, SR SINHDI). At this time, the shift operation signals SINHA0, SINHA1, SINHDI, and SINHDO generate "010101 ...". Therefore, the scan path in the test circuit of the RAM core 615 shifts out at an operating frequency that is half the normal operation (1/2), so that it can be assigned to an output pin corresponding to a low frequency as a test data output pin. .

このように、第1のセレクタおよび第2のセレクタをいずれも他方の入力端子に切り換え、各レジスタ部のフリップフロップに再びその出力データを入力しているので、各レジスタ部がシフトしても、データは各レジスタ部の内部で巡回し、夫々再び元のフリップフロップ内に取り込まれ、実質的にシフト動作を停止させるのと同様の作用を得ることができ、上述したタイミングのずれを修正することができる。したがって、テスト用のピンを減らすことができるとともに、テスト結果の出力ピンに、内部周波数と同じ周波数で動作できないピンを用いることができる。   In this way, since both the first selector and the second selector are switched to the other input terminal and the output data is input again to the flip-flops of the register units, even if each register unit shifts, The data circulates in each register section and is again taken into the original flip-flop, so that the same action as that of substantially stopping the shift operation can be obtained, and the above-described timing shift is corrected. Can do. Accordingly, the number of test pins can be reduced, and a pin that cannot operate at the same frequency as the internal frequency can be used as the output pin of the test result.

{実施の形態18}
<構成>
図137は本発明の実施の形態18の半導体メモリの検査装置(DFT−RAM)を示す図である。本実施の形態のDFT−RAMは、図137の如く、2ビットの巡回シフトレジスタ600をDFT−RAMのテスト回路の他の制御信号の発生回路にも拡張して適用したもので、制御信号発生回路621と、アドレス発生回路622と、バーインパターン発生回路623と、データ入力回路624とを組み合わせたテストパターン発生回路625と、図82で示したのと同様の回路タイミング修正手段(321,322,323,325,326,327,344,345)とを備える。そして、該制御信号発生回路621、アドレス発生回路622、バーインパターン発生回路623、およびデータ入力回路624は直列に接続されている。なお、図50または図52に示した通りバーンインパターン発生回路はアドレス発生回路または制御信号発生回路と簡単に組み合わせることができるが、ここでは他の回路から独立に構成している。
{Embodiment 18}
<Configuration>
FIG. 137 shows a semiconductor memory inspection device (DFT-RAM) according to the eighteenth embodiment of the present invention. As shown in FIG. 137, the DFT-RAM according to the present embodiment is an application in which the 2-bit cyclic shift register 600 is applied to other control signal generation circuits of the DFT-RAM test circuit. A test pattern generation circuit 625 in which a circuit 621, an address generation circuit 622, a burn-in pattern generation circuit 623, and a data input circuit 624 are combined, and circuit timing correction means (321, 322, similar to that shown in FIG. 323, 325, 326, 327, 344, 345). The control signal generation circuit 621, the address generation circuit 622, the burn-in pattern generation circuit 623, and the data input circuit 624 are connected in series. As shown in FIG. 50 or FIG. 52, the burn-in pattern generation circuit can be easily combined with the address generation circuit or the control signal generation circuit, but here it is configured independently from other circuits.

かかるテストパターン発生回路625をさらに詳しく図示すると図138および図139のようになる。なお、図138および図139はL−L線にて破断されている。また、図138および図139では簡便のため、MEMTST0およびMEMTST1を一本の信号にまとめてMEMTSTとし、INSFFA0およびINSFFA1,INSFFI0,INSFFO1を一本の信号にまとめてMEMTSTとし、SELSIMとEXPを一本の信号にまとめてEXPとする。また、本実施の形態ではビットライトの機能のテストは仮定していない。なお、図138および図139中の制御信号発生回路621、アドレス発生回路622、バーインパターン発生回路623、およびデータ入力回路624は、図82の実施の形態13中のテストパターン生成回路301に相当している。   The test pattern generation circuit 625 is shown in more detail in FIGS. 138 and 139. Note that FIG. 138 and FIG. 139 are broken at line LL. In FIGS. 138 and 139, for simplicity, MEMST0 and MEMSTST1 are combined into one signal to be MEMST, INSFFA0 and INSFFA1, INSFFFI0, and INSFOFO1 are combined into one signal to be MEMSTT, and SELLSIM and EXP are combined into one signal. The signals are collectively expressed as EXP. In this embodiment, the bit write function test is not assumed. Note that the control signal generation circuit 621, the address generation circuit 622, the burn-in pattern generation circuit 623, and the data input circuit 624 in FIGS. 138 and 139 correspond to the test pattern generation circuit 301 in the thirteenth embodiment of FIG. ing.

図138および図139中の各制御信号の機能について説明する。SM信号は各シフトレジスタのシフトモードの切り替え信号である。SINHA1Xは読み出し用Xアドレス部シフトレジスタのシフト禁止信号である。SINHA1Yは読み出し用Yアドレス部シフトレジスタのシフト禁止信号である。SINHA0Xは書き込み用Xアドレス部シフトレジスタのシフト禁止信号である。SINHA0Yは書き込み用Yアドレス部シフトレジスタのシフト禁止信号である。SINHDOはデータ入力部シフトレジスタのシフト禁止信号である。SINHDIはデータ出力部シフトレジスタのシフト禁止信号である。これらSINHA1X,SINHA1Y,SINHA0X,SINHA0Y,SINHDO,SINHDIは夫々“1”を出力することで、図140および図141に示したテスト回路631中の各スキャンパスのシフト動作を禁止する。ここで、図140および図141は本実施の形態の半導体メモリの検査装置のRAMコアおよびテスト回路を示す図であり、これらはM−M線にて破断されている。   The function of each control signal in FIGS. 138 and 139 will be described. The SM signal is a shift mode switching signal for each shift register. SINHA1X is a shift inhibit signal for the read X address part shift register. SINHA1Y is a shift inhibit signal for the read Y address part shift register. SINHA0X is a shift inhibit signal for the write X address part shift register. SINHA0Y is a shift inhibit signal for the write Y address part shift register. SINHDO is a shift inhibition signal for the data input unit shift register. SINHDI is a shift inhibition signal for the data output unit shift register. These SINHA1X, SINHA1Y, SINHA0X, SINHA0Y, SINHDO, and SINHDI output “1” to inhibit the shift operation of each scan path in the test circuit 631 shown in FIGS. 140 and 141. 140 and 141 are diagrams showing a RAM core and a test circuit of the semiconductor memory inspection apparatus according to the present embodiment, which are broken along line MM.

また、MEMTSTは、MEMTST=“1”のときにテスト回路631中の各スキャン(A−SCAN−0,A−SCAN−1,DI−SCAN−0,DI−SCAN−1)をパラレルにし、MEMTST=“0”にてテストパターン生成回路613の各スキャン(A−SCAN−0,A−SCAN−1,DI−SCAN−0,DI−SCAN−1)を直列に接続する。   In addition, MEMTST makes each scan (A-SCAN-0, A-SCAN-1, DI-SCAN-0, DI-SCAN-1) in the test circuit 631 in parallel when MEMSTST = “1”. = “0”, the scans (A-SCAN-0, A-SCAN-1, DI-SCAN-0, DI-SCAN-1) of the test pattern generation circuit 613 are connected in series.

SIW0は書き込み信号であり、SIW=“0”のときRAMへの書き込みが行われる。SICは読み出し信号であり、SIC=“0”のときRAMへの読み出しがおこなわれる。   SIW0 is a write signal, and when SIW = "0", writing to the RAM is performed. SIC is a read signal. When SIC = “0”, reading to the RAM is performed.

SIDはデータ入力部シフトレジスタおよびデータ出力部のシフトレジスタの入力データである。また、CMPENは比較イネーブル信号、EXPは期待値であり、データ出力部シフトレジスタはCMPEN=“1”のとき、RAMコア632のデータ出力と期待値(EXP)との比較をおこない、もし、異なれば、シフトレジスタの値が“0”になる。   The SID is input data of the data input unit shift register and the data output unit shift register. CMPEN is a comparison enable signal, EXP is an expected value, and the data output unit shift register compares the data output of the RAM core 632 with the expected value (EXP) when CMPEN = “1”. In this case, the value of the shift register becomes “0”.

CHDIRはアドレス部シフトレジスタのシフト動作の方向を示し、CHDIR=“0”のときはシフトレジスタは順方向にシフトし、CHDIR=“1”のときはシフトレジスタは逆方向にシフトする。   CHDIR indicates the direction of the shift operation of the address shift register. When CHDIR = “0”, the shift register shifts in the forward direction, and when CHDIR = “1”, the shift register shifts in the reverse direction.

WINH信号はRAMのライトパルスジェネレータの制御信号であり、WINH信号が“1”のときRAMへの書き込みを禁止する。   The WINH signal is a control signal for the write pulse generator of the RAM. When the WINH signal is “1”, writing to the RAM is prohibited.

そして、図138および図139に示したテストパターン発生回路625中、SINHAX1c,EXXYc,SINHAX0c,SINHDOc,SINHDIc,MEMTSTc,SIW0c,SICc,SIDc,CMPENc,EXPc,CHDIRc,SINH−LXcといった制御信号を発生する制御信号発生回路621は、実施の形態17における図133中の制御信号発生回路610および図134に示したように、2ビットの巡回シフトレジスタ600を全て直列に接続したものである。なお、SINH−LXcはアドレス発生回路622のシフトレジスタ禁止信号である。   In the test pattern generation circuit 625 shown in FIGS. 138 and 139, control signals such as SINHAX1c, EXXYc, SINHAX0c, SINHDOc, SINHDIc, MEMSTc, SIW0c, SICc, SIDc, CMPENc, EXPc, CHDIRc, and SINH-LXc are generated. The control signal generation circuit 621 is formed by connecting all the 2-bit cyclic shift registers 600 in series as shown in the control signal generation circuit 610 in FIG. 133 and the FIG. 134 in the seventeenth embodiment. SINH-LXc is a shift register inhibition signal of the address generation circuit 622.

<動作>
1)通常動作時
まず、RAMの通常動作時には、BURNIN=0、RAMBIST=0、SMX=0、WINHX=0、INSFFX=0に設定する。このとき、SID,SIC,SIW0,SIAを除くテストバスは夫々“0”にし、RAMのテスト回路を動作不能状態(ディセーブル)にする。また、SID,SIC,SIW0,SIAの各信号についてはこれらがいずれの値であっても、MEMTST信号が“0”のときRAMに影響を及ぼさない。これは、図139および図140より、RAMのテスト回路用のシフトレジスタA−SCAN−0,A−SCAN−1,DI−SCAN−0,DO−SCAN−1は直列に接続され、SID,SIC,SIW0,SIAの各信号は各シフトレジスタには入力されないことに起因する。
<Operation>
1) During normal operation First, during normal operation of the RAM, BURNIN = 0, RAMBIST = 0, SMX = 0, WINHX = 0, and INSFFX = 0. At this time, test buses other than SID, SIC, SIW0, and SIA are set to “0”, and the RAM test circuit is disabled (disabled). In addition, the SID, SIC, SIW0, and SIA signals do not affect the RAM when the MEMSTST signal is “0”, regardless of which value they are. 139 and 140, the shift registers A-SCAN-0, A-SCAN-1, DI-SCAN-0, and DO-SCAN-1 for the RAM test circuit are connected in series, and the SID, SIC , SIW0, SIA signals are not input to the shift registers.

2)スキャンテスト時
LOGIC部のスキャンテスト時には、BURNIN=0、RAMBIST=0、SMX=1/0、WINHX=0/1、INSFFX=1に設定する。ここで、RAMとロジック部のスキャンパスは図62に示したように接続されているとする。このときRAMのテスト回路はMEMTESTを“0”にすると、RAM内の各シフトレジスタを1本のスキャンパスにし、さらにSM信号をLOGICのテストに用いるSM信号と同じ信号を発生するように制御信号発生回路を構成する。このことでDFT−RAM内のスキャンパスをロジック部のスキャンパスと同等に扱うことができる。なお、他のテスト信号はスキャンテストに影響を及ぼさないように“0”にする。
2) At the time of a scan test At the time of a scan test of the LOGIC section, BURNIN = 0, RAMBIST = 0, SMX = 1/0, WINHX = 0/1, and INSFFX = 1. Here, it is assumed that the scan path between the RAM and the logic unit is connected as shown in FIG. At this time, when the MEMTEST is set to “0”, the RAM test circuit sets each shift register in the RAM to one scan path, and the SM signal is used to generate the same signal as the SM signal used for the LOGIC test. A generation circuit is configured. As a result, the scan path in the DFT-RAM can be handled in the same way as the scan path of the logic unit. The other test signals are set to “0” so as not to affect the scan test.

なお、スキャンテストでRAMのテストを行うときはWINHX信号を“0”にしてRAMの書き込みを許可する。RAMのテストを行わないときはWINH信号を“1”にRAMの書き込みを禁止する。   Note that when the RAM test is performed in the scan test, the WINHX signal is set to “0” to permit writing to the RAM. When the RAM test is not performed, writing to the RAM is prohibited by setting the WINH signal to “1”.

3)バーインテスト実行時
バーインテスト実行時には、BURNIN=“1”に設定する。ここでは、ダイナミックバーインパターンがBURNIN信号のみで発生される。SIA信号、SID信号、SIC信号、およびSIW0信号は、バーインパターン発生回路623にて生成され、テスト回路631に供給される。本実施の形態では、BURNIN信号が“1”のときにセレクタがSIA信号、SID信号、SIC信号、およびSIW0信号を選択するように構成される。SINHA1X,SINHA1Y,SINHA0X,SINH0Y,SINHDO,SINHDIは夫々“0”にし、各スキャンパスのシフト動作を行う。本実施の形態では、BURNIN信号はバーイン実行時に“1”となっているので、制御信号発生回路621の出力SINHAX1c,SINHAY1c,SINHAX0c,SINHDOc,SINHDIcとBURNIN信号の反転信号とのANDを夫々とることにより“0”の設定を行って各スキャンパスのシフト動作を行っている。
3) When performing the burn-in test When executing the burn-in test, set BURNIN = "1". Here, the dynamic burn-in pattern is generated only by the BURNIN signal. The SIA signal, the SID signal, the SIC signal, and the SIW0 signal are generated by the burn-in pattern generation circuit 623 and supplied to the test circuit 631. In the present embodiment, the selector is configured to select the SIA signal, the SID signal, the SIC signal, and the SIW0 signal when the BURNIN signal is “1”. SINHA1X, SINHA1Y, SINHA0X, SINH0Y, SINHDO, and SINHDI are set to “0”, and the shift operation of each scan path is performed. In the present embodiment, since the BURNIN signal is “1” at the time of burn-in execution, the outputs SINHAX1c, SINHAY1c, SINHAX0c, SINHDOc, SINHDIc of the control signal generation circuit 621 and the inverted signal of the BURNIN signal are each taken. Thus, “0” is set and the shift operation of each scan path is performed.

そして、MEMTSTは“1”にし、各スキャンパスをパラレル状態にする。本実施の形態ではMEMTSTc信号とBURNIN信号のORをとることで“1”を生成して各スキャンパスをパラレル状態にする。SM信号は“1”にしシフトモードにする。ここではSM信号とBURNIN信号のORをとることでSM信号を“1”にしている。比較イネーブル信号(CMPEN)、EXP信号はBURNIN時にはRAMのテスト回路631に対して動作に影響を及ぼさない。BURNIN時は“0”に固定するように、夫々の信号とBURNIN信号の反転信号とのANDを取っている。CHDIER信号およびEXXY信号はBURNIN時には“0”もしくは“1”に固定する必要がある。本実施の形態ではBURNIN時はCHDIER信号およびEXXY信号を“0”に固定するように、夫々の信号とBURNIN信号の反転信号とのANDをとっている。WINH信号はBURNIN時は、RAMの書き込みはSIWで制御するため“1”に固定する必要がある。ここではWINH信号とBURNIN信号の反転信号とのANDを取ることで“1”への固定を実現している。   Then, MEMST is set to “1”, and each scan path is set in a parallel state. In the present embodiment, OR is performed between the MEMSTCc signal and the BURNIN signal, thereby generating “1” and setting each scan path in a parallel state. The SM signal is set to “1” to enter the shift mode. Here, the SM signal is set to “1” by ORing the SM signal and the BURNIN signal. The comparison enable signal (CMPEN) and EXP signal do not affect the operation of the RAM test circuit 631 during BURNIN. In BURNIN, each signal and an inverted signal of the BURNIN signal are ANDed so as to be fixed to “0”. The CHDIER signal and the EXXY signal need to be fixed to “0” or “1” at BURNIN. In the present embodiment, at the time of BURNIN, each signal and an inverted signal of the BURNIN signal are ANDed so that the CHDIER signal and the EXXY signal are fixed to “0”. When the WINH signal is BURNIN, writing to the RAM is controlled by SIW, so it is necessary to fix it to “1”. Here, fixing to “1” is realized by ANDing the WINH signal and the inverted signal of the BURNIN signal.

4)RAMテスト時
RAMテストモードに設定されたときには、BURNIN=0、RAMBIST=1、SMX=1、WINHX=0、INSFFX=1に設定する。SINHAX1,SINHAX0,SINHDI,SINHD0は“1”を発生しRAM内のテスト回路631の各シフトレジスタのシフト動作を禁止し、シフトレジスタの値を保持する。SIW0信号は“1”を発生して、RAMコア632への書き込みを禁止する。WINH信号は“1”を発生し、RAMコア632への書き込みを禁止する。比較イネーブル信号(CMPEN)は“0”を発生し、RAMコア632からの出力と期待値(EXP)との比較を禁止する。
4) During RAM test When the RAM test mode is set, BURNIN = 0, RAMBIST = 1, SMX = 1, WINHX = 0, and INSFFX = 1. SINHAX1, SINHAX0, SINHDI, and SINHD0 generate “1”, inhibit the shift operation of each shift register of the test circuit 631 in the RAM, and hold the value of the shift register. The SIW0 signal generates “1” and prohibits writing to the RAM core 632. The WINH signal generates “1” and prohibits writing to the RAM core 632. The comparison enable signal (CMPEN) generates “0” and prohibits the comparison between the output from the RAM core 632 and the expected value (EXP).

実際に制御信号発生回路621およびアドレス発生回路622がテストパターン発生しているとき(RUNBIST=“1”)、アドレス発生回路622にてSIA信号を発生する。   When the control signal generation circuit 621 and the address generation circuit 622 actually generate a test pattern (RUNBIST = “1”), the address generation circuit 622 generates a SIA signal.

SM,INSFF,WINH信号は夫々SMX,INSFFX,WINHX信号がそのままDFT−RAMに与えられる。   The SM, INSFF, and WINH signals are supplied to the DFT-RAM as they are, respectively.

SIW0は制御信号が発生するSIWcとアドレス発生回路622から発生されるSIW0aのORをとったものである。   SIW0 is the OR of SIWc generated by the control signal and SIW0a generated from the address generation circuit 622.

比較イネーブル信号(CMPEN)は制御信号として発生されたCMPENcとアドレス発生回路622から発生されるCMPENaのANDをとったものである。   The comparison enable signal (CMPEN) is an AND of CMPENc generated as a control signal and CMPENa generated from the address generation circuit 622.

他の信号は制御信号発生回路621が出力するデータをDFT−RAMに入力する。   As other signals, data output from the control signal generation circuit 621 is input to the DFT-RAM.

5)テストパターンの説明
次に制御信号発生回路621が生成するテストパターンについて具体的に説明する。
5) Description of Test Pattern Next, the test pattern generated by the control signal generation circuit 621 will be specifically described.

(ALL“1”/“0”テスト)
ALL“1”/“0”テストは次の手順で実施する。
(ALL “1” / “0” test)
The ALL “1” / “0” test is performed in the following procedure.

1.DO−SCANを“111...1”に設定する。   1. Set DO-SCAN to "111 ... 1".

2.DI−SCANを“111...1”に設定する。   2. Set DI-SCAN to "111 ... 1".

3.A−SCAN−0,A−SCAN−1の初期設定する。   3. A-SCAN-0 and A-SCAN-1 are initialized.

4.順方向アドレッシングでDI−SCANのデータをRAMに書き込む、DI−SCANのすべてのシフトレジスタには1が書き込まれているので、結果的にはall“1”書き込みを行う事になる。   4). Since 1 is written in all the shift registers of DI-SCAN, in which data of DI-SCAN is written into RAM by forward addressing, all “1” is written as a result.

5.A−SCAN−0,A−SCAN−1の初期設定する。   5). A-SCAN-0 and A-SCAN-1 are initialized.

6.RAMのデータを読み出し期待値との比較を行う。   6). The RAM data is read and compared with the expected value.

すなわち、ALL“1”読み出しを行う。   That is, ALL “1” reading is performed.

7.上記2.〜6.に対し裏(反転)パターンを行う。すなわちALL“0”書き込み/ALL“0”読み出しを行う。   7). 2. ~ 6. A reverse (reverse) pattern is applied to the pattern. That is, ALL “0” writing / ALL “0” reading is performed.

8.2.〜7.に対し逆アドレッシングで同様のテストを行う。   8.2. ~ 7. The same test is performed with reverse addressing.

9.テスト結果を出力する。   9. Output test results.

(マーチテスト)
マーチテストテストは次の手順で実施する。
(March test)
The march test is conducted according to the following procedure.

1.DO−SCANを“111...1”に設定する。   1. Set DO-SCAN to "111 ... 1".

2.DI−SCANを“111...1”に設定する。   2. Set DI-SCAN to "111 ... 1".

3.A−SCAN−0,A−SCAN−1の初期設定する。   3. A-SCAN-0 and A-SCAN-1 are initialized.

4.順方向アドレッシングでDIのデータをRAMに書き込む。   4). Write DI data to RAM with forward addressing.

5.順方向アドレッシングで、1read/0writeを行う。   5). 1 read / 0 write is performed by forward addressing.

6.DI−SCANを“000...0”に設定する。   6). Set DI-SCAN to "000 ... 0".

7.A−SCAN−0,A−SCAN−1の初期設定する。   7). A-SCAN-0 and A-SCAN-1 are initialized.

8.逆方向アドレッシングで、0read/1writeを行う。   8). 0 read / 1 write is performed by reverse addressing.

9.2.〜8.に対し裏(反転)パターンを行う。   9.2. ~ 8. A reverse (reverse) pattern is applied to the pattern.

10.テスト結果出力する。   10. Output test results.

(ローバー/カラムバー/チェッカーボードパターンテスト)
1.DO−SCANを“111...1”に設定する。
(Rover / Column bar / Checkerboard pattern test)
1. Set DO-SCAN to "111 ... 1".

2.DI−SCANを“111...1”に設定する。   2. Set DI-SCAN to "111 ... 1".

3.A−SCAN−0,A−SCAN−1の初期設定する。   3. A-SCAN-0 and A-SCAN-1 are initialized.

4.アドレス発生回路622で順方向アドレッシング行いながら、特定のアドレスのみDI−SCANのデータをRAMに書き込む。   4). While performing addressing in the forward direction by the address generation circuit 622, the data of DI-SCAN is written into the RAM only at a specific address.

(特定のアドレスに対しのみ、ALL“1”writeを行う。)
5.DI−SCANを“000...0”に設定する。
(ALL “1” write is performed only for a specific address.)
5). Set DI-SCAN to "000 ... 0".

6.A−SCAN−0,A−SCAN−1の初期設定する。   6). A-SCAN-0 and A-SCAN-1 are initialized.

7.アドレス発生回路622で順方向アドレッシング行いながら、4.で書き込まれなかったアドレスに対してDI−SCANのデータをRAMに書き込む。   7). 3. performing forward addressing by the address generation circuit 622; The DI-SCAN data is written into the RAM for the address that was not written in (1).

(ALL“0”writeを行う。)
8.A−SCAN−0,A−SCAN−1の初期設定する。
(ALL “0” write is performed.)
8). A-SCAN-0 and A-SCAN-1 are initialized.

9.アドレス発生回路622で順方向アドレッシング行いながら、4で“1”書き込みを行ったアドレスに対して“1”readを行う。   9. While the address generation circuit 622 performs forward addressing, “1” read is performed on the address where “1” is written in 4.

10.A−SCAN−0,A−SCAN−1の初期設定する。   10. A-SCAN-0 and A-SCAN-1 are initialized.

11.アドレス発生回路622で順方向アドレッシング行いながら、7で“0”書き込みを行ったアドレスに対して“0”readを行う。   11. While performing forward addressing by the address generation circuit 622, “0” read is performed on the address where “0” is written in 7.

12.2.〜11.に対し裏(反転)パターンを行う。   12.2. ~ 11. A reverse (reverse) pattern is applied to the pattern.

13.2.〜12.に対し逆アドレッシングを行う。   13.2. -12. Reverse addressing is performed.

14.テスト結果を出力する。   14 Output test results.

以上のようなテストパターンを実行するためには時は以下のように制御信号生成回路を設定するとよい。   In order to execute the test pattern as described above, the control signal generation circuit may be set as follows.

SM=“1”(これにより、DFT部分をスキャンモードにする。)
MEMTST=“1”(これにより、DFTの各スキャンをパラレルにする。)
WINH=“0”(これにより、RAMのWrite Pulse Generatorをイネーブル状態にする。)
(DO−SCANを“111...1”に設定)
テストを始めるまえにDO−SCANに故障判定用にデータとしてあらかじめDO−SCANに“111...1”を設定する。テスト実行時にフェイルしたデータのbitが“0”になり故障ビットのがわかる。DO−SCANの入力データとしてSID=“1”にするので、制御信号発生回路の巡回シフトレジスタSIDには“11”を設定する。
SM = “1” (this sets the DFT part to the scan mode)
MEMTST = “1” (This makes each scan of DFT parallel)
WINH = "0" (This enables the Write Pulse Generator of the RAM to be enabled)
(Set DO-SCAN to "111 ... 1")
Before starting the test, “111... 1” is set in advance in DO-SCAN as data for failure determination in DO-SCAN. The bit of the data that failed during the test execution becomes “0”, and the failure bit is known. Since SID = "1" is set as DO-SCAN input data, "11" is set in the cyclic shift register SID of the control signal generation circuit.

(DO−SCANを“111...1”に設定)
RAMに書き込みたいデータをSIDより設定する。本実施の形態のBISTコントローラはDI−SCANを以下のようなパターンに設定する。
(Set DO-SCAN to "111 ... 1")
Data to be written to the RAM is set from the SID. The BIST controller of the present embodiment sets DI-SCAN in the following pattern.

“111...”
“000...”
“0101..”
“1010..”
このとき、CMPEN=“0”,SINH−DO=“1”にして、DO−SCANのデータが変化しないようにする。また、SINH−AX0,SINH−AX1=“1”にしてA−SCAN−0,A−SCAN−1が変化しないようにする。
“111 ...”
“000 ...”
“0101 ...”
"1010 ..."
At this time, CMPEN = “0” and SINH-DO = “1” are set so that the DO-SCAN data does not change. Also, SINH-AX0 and SINH-AX1 = "1" so that A-SCAN-0 and A-SCAN-1 do not change.

(A−SCAN−0,A−SCAN−1の初期設定)
RAMの初期アドレス値の設定を行う。
(A-SCAN-0, A-SCAN-1 initial setting)
The initial address value of the RAM is set.

このときCMPEN=“0”,SINH−DO=“1”にして、DO−SCANのデータが変化しないようにする。また、SINH−DI=“1”にして、SI−SCANのデータが変化しないようにする。   At this time, CMPEN = "0" and SINH-DO = "1" are set so that the DO-SCAN data does not change. Also, SINH-DI = "1" is set so that SI-SCAN data does not change.

(アドレッシング)
RAMのアドレスはアドレス発生回路622が生成するSIA信号をアドレス用スキャンレジスタより入力することで与えられる。
(addressing)
The RAM address is given by inputting the SIA signal generated by the address generation circuit 622 from the address scan register.

制御信号発生回路621で生成される書き込み信号SIW0cおよび比較イネーブル信号CMPENcについて、ALL“0”/“1”テスト、ローバー/カラムバー/チェッカーボードパターンテストを行う場合のRAMの書き込み動作時には、SIW=“0”,CMPEN=“0”にするとよいので、制御信号を発生回路のSIW0=“00”、CMPEN=“00”、RAMの読み出し時はSIW=“11”、CMPEN=“11”を設定する。   With respect to the write signal SIW0c and the comparison enable signal CMPENc generated by the control signal generation circuit 621, SIW = "" during the write operation of the RAM when performing the ALL "0" / "1" test and the row bar / column bar / checkerboard pattern test. Since 0 and CMPEN are preferably set to “0”, the control signals are set to SIW0 = “00” and CMPEN = “00” of the generation circuit, and SIW = “11” and CMPEN = “11” are set when reading the RAM. .

通常のアドレッシングは、SINHA0X,SINHA0Y,SINHA1X,SINHA1Yを夫々“0”にし、シフト動作可能にする。   In normal addressing, SINHA0X, SINHA0Y, SINHA1X, SINHA1Y are set to “0”, respectively, so that a shift operation is possible.

マーチテストはアドレスを2サイクルで1回シフトする。そこでSINHLX=“01”に設定することでアドレス発生回路622を2サイクルでアドレスを発生するようにする。同様にA−SCAN−0,A−SCAN−1は2サイクルで1回シフトするためSINHA0X,SINHA0Y,SINHA1X,SINHA1Yは夫々“010101...”を発生する。   The March test shifts the address once every two cycles. Therefore, by setting SINHLX = “01”, the address generation circuit 622 generates an address in two cycles. Similarly, since A-SCAN-0 and A-SCAN-1 shift once in two cycles, SINHA0X, SINHA0Y, SINHA1X, and SINHA1Y generate “010101.

ローバー/カラムバー/チェッカーボードパターンテストにおいては、(アドレス発生回路622の明細書に記述されているように)アドレス発生回路622が、各パターンに対して、書き込み信号SIW0aおよび比較イネーブル信号CMPENaを発生する。またRAMのアドレスが2nでないときはRAMのアドレス部のシフトレジスタが存在しないアドレスのとき書き込み禁止、比較禁止を行うため、SIW0a信号と比較イネーブル信号(CMPEN)を発生する。   In the row bar / column bar / checkerboard pattern test, the address generation circuit 622 generates a write signal SIW0a and a comparison enable signal CMPENa for each pattern (as described in the specification of the address generation circuit 622). . When the RAM address is not 2n, the SIW0a signal and the comparison enable signal (CMPEN) are generated to prohibit writing and comparison when the shift register in the RAM address portion is not present.

テストパターン発生回路625から生成される比較イネーブル信号(CMPEN)は、アドレス発生回路622からのCMPENa信号と制御信号発生回路621からのCMPENc信号とのANDをとる。SIW0信号はアドレス発生回路622が生成するSIWa信号と制御信号発生回路621からのSIWc信号とのORをとる。   The comparison enable signal (CMPEN) generated from the test pattern generation circuit 625 takes an AND of the CMPENa signal from the address generation circuit 622 and the CMPENc signal from the control signal generation circuit 621. The SIW0 signal is ORed between the SIWa signal generated by the address generation circuit 622 and the SIWc signal from the control signal generation circuit 621.

SINH−A0=“0”,SINH−A1=“0”に設定してシングルボードRAMのようにアドレッシングしたり、SINH−A0=“0”,SINH−A1=“1”にしてライトボードのみアドレッシングできる。   Set as SINH-A0 = "0", SINH-A1 = "0" for addressing like a single board RAM, or address only the write board with SINH-A0 = "0" and SINH-A1 = "1" it can.

CHDIR=“1”にすることで逆方向アドレッシングが可能である。   Reverse addressing is possible by setting CHDIR = “1”.

EXXYを“1”に設定して下位アドレスと上位アドレスを入れ換えてアドレッシングを行う。   EXXY is set to “1” and the lower address and the upper address are exchanged to perform addressing.

(RAMに書き込みを行う)
SI−SCANの設定値をRAMに書き込む。例えばSI−SCANには“111...1”に設定するとRAMにはALL“1”writeが行われる。SIW=“0”に設定する。このとき、CMPEN=“0”,SINH−DO=“1”にし、DO−SCANのデータが変化しないようにする。また、SINH−DI=“1”にし、SI−SCANのデータ変化しないようにする。
(Write to RAM)
Write the set value of SI-SCAN to RAM. For example, when “111... 1” is set in SI-SCAN, ALL “1” write is performed in the RAM. Set SIW = "0". At this time, CMPEN = "0" and SINH-DO = "1" are set so that the DO-SCAN data does not change. Also, SINH-DI = "1" is set so that SI-SCAN data does not change.

(RAMの読み出しを行う)
RAMの出力データを読みだし期待値(EXP)との比較を行う。出力データと期待値が異なるときDO−SCANの故障しているビットのFFが“0”にリセットされる。WRITE命令同様シングルボードRAMと同様のアドレッシングやリードポートのみのアドレッシングが可能である。またCHDIR=“1”にすることで逆方向のアドレッシングが可能である。
(Reads out RAM)
The RAM output data is read and compared with the expected value (EXP). When the output data and the expected value are different, the FF of the failed bit of the DO-SCAN is reset to “0”. Similar to the WRITE instruction, the same addressing as the single board RAM and the addressing of only the read port are possible. Further, by setting CHDIR = “1”, reverse addressing is possible.

このとき、SINH−DO=“1”に設定して、DO−SCANのデータがシフトしないようにする。   At this time, SINH-DO = "1" is set so that DO-SCAN data does not shift.

(“1”write/“0”readを行う)
本命令ではSI−SCANの設定値をRAMに書き込み、RAMの出力データを読みだし期待値(EXP)との比較を行う。例えばSI−SCANに“1111..1”を設定し、EXP=“0”にすると、“1”write/“0”readになる。制御信号発生回路の巡回シフトレジスタにSIC=“01”,SIW=“10”、CMPEN=“10”を設定することで、
SIC=“010101...”
SIW=“101010...”
CMPEN=“101010...”
SINH−A0/SINH−A1=“010101...”にする。CHDIR=“1”にすることで逆方向にアドレッシングが可能である。
(“1” write / “0” read is performed)
In this command, the set value of SI-SCAN is written to the RAM, the output data of the RAM is read and compared with the expected value (EXP). For example, when “1111 ... 1” is set in SI-SCAN and EXP = “0”, “1” write / “0” read is obtained. By setting SIC = “01”, SIW = “10”, and CMPEN = “10” in the cyclic shift register of the control signal generation circuit,
SIC = “010101 ...”
SIW = “101010 ...”
CMPEN = "101010 ..."
Set SINH-A0 / SINH-A1 = “010101. By setting CHDIR = “1”, addressing in the reverse direction is possible.

(テスト結果出力)
SINHA0X,SINHA1X,SINHA1X,SINHA1Y,SINHDI,SINHDOの設定については実施の形態17に示したのと同様にして行う。他の信号についてはテスト回路631に影響を及ぼさないように各巡回シフトレジスタ600に“00”を設定する。
(Test result output)
Setting of SINHA0X, SINHA1X, SINHA1X, SINHA1Y, SINHDI, and SINHDO is performed in the same manner as described in the seventeenth embodiment. For other signals, “00” is set in each cyclic shift register 600 so that the test circuit 631 is not affected.

以上のように、2ビットの巡回シフトレジスタ600により構成した簡単な回路でDFT−RAMに適したテスト信号を発生することができる。   As described above, a test signal suitable for the DFT-RAM can be generated with a simple circuit constituted by the 2-bit cyclic shift register 600.

また、同じ回路を直列に接続し構成しているので、RAMのテストピンに対し簡単に機能拡張/縮小ができる。   Further, since the same circuits are connected in series, the function can be easily expanded / reduced with respect to the test pins of the RAM.

さらに、シフト禁止信号を発生する回路を巡回シフトレジスタ600で発生することにより、シフト動作速度を自由に変更する。特にテスト実行時は通常動作テストを行い、テスト結果出力時は通常動作よりも周波数を下げて、高速動作に対応していない出力ピンからも出力できる。   Further, the shift operation speed is freely changed by generating a circuit for generating the shift prohibition signal in the cyclic shift register 600. In particular, the normal operation test is performed during the test execution, and when the test result is output, the frequency is lower than that in the normal operation, and the output can be output from the output pin that does not support the high speed operation.

{実施の形態19}
<構成>
図142は本発明の実施の形態19における自己修正機能付き半導体メモリの検査装置の全体の概要を示すブロック図である。該自己修復機能付き半導体メモリの検査装置は、RAMに故障があった場合でも、冗長回路によりシステム動作することを目的として構成されたもので、701は電源の投入を検出しリセット信号を出力する公知のパワーオンリセット回路(Power On Reset Circuit)、702はパワーオンリセット回路701からのリセット信号に基づいてRAMテストを行うセルフテスト回路(Self Test Circuit)、703はテスト回路付きRAM(RAM with Test Circuit)、704はデータに生じる誤りを補償する冗長回路(Redundancy Circuit)、705は所定の論理構成が施された論理回路(Logic Circuit)、706はデータに誤りが生じたか否かを二値データで表示するレジスタ回路(Register Circuit:保持手段:二値データ保持手段)である。該半導体メモリの検査装置は、1チップのLSI上に構成されてもよいし、複数のチップや個別部品により構成されてもよい。なお、テスト回路付きRAM703内にレジスタ機能(保持手段)を持つ場合は(例えば、図1、または、図6,図11,図17,図18,図19,図20,図21のように、データ帰還用のループ配線が設けられた複数のフリップフロップが設けられている場合)、レジスタ回路706を省略することができる。
{Embodiment 19}
<Configuration>
FIG. 142 is a block diagram showing an overview of the entire semiconductor memory inspection device with a self-correcting function according to the nineteenth embodiment of the present invention. The semiconductor memory inspection device with a self-repair function is configured to operate the system with a redundant circuit even when a failure occurs in the RAM. Reference numeral 701 detects power-on and outputs a reset signal. A known power-on reset circuit (Power On Reset Circuit), 702 is a self-test circuit (Self Test Circuit) that performs a RAM test based on a reset signal from the power-on reset circuit 701, and 703 is a RAM with a test circuit (RAM with Test). Circuit), 704 is a redundancy circuit that compensates for errors occurring in the data, 705 is a logic circuit (Logic Circuit) that has been subjected to a predetermined logic configuration, and 706 is binary data that indicates whether or not an error has occurred in the data. Is a register circuit (Register Circuit: holding means: binary data holding means). The semiconductor memory inspection apparatus may be configured on a one-chip LSI, or may be configured by a plurality of chips or individual components. When the RAM 703 with a test circuit has a register function (holding means) (for example, as shown in FIG. 1 or FIGS. 6, 11, 17, 18, 19, 20, and 21) In the case where a plurality of flip-flops provided with loop wiring for data feedback are provided), the register circuit 706 can be omitted.

前記セルフテスト回路702は、図143の如く、マイクロコンピュータ(Microcomputer)702aを用いるものである。マイクロコンピュータ702a内のROMやRAM(図示せず)に格納されたプログラムによりセルフテスト動作が制御される。なお、テスト結果(Test Result)をマイクロコンピュータ702aに取り込み、マイクロコンピュータ702aの入出力ポートからシステム外部(例えば上位階層のシステム)に伝達することも可能である。これにより、上位階層のシステムによる故障の認識が可能になり、上位階層のシステムの保守が容易になる。例えば、冗長回路704では救済できない程度の多数の故障が発生した場合に、上位階層のシステムがこれを認識し、システム動作を停止することができる。なお、図143中のReset Signalは前記パワーオンリセット回路701からのリセット信号、Test Patternは前記テスト回路付きRAM703へ出力するテストパターン信号、Register Controlは前記レジスタ回路706へ出力するレジスタ制御信号である。   The self-test circuit 702 uses a microcomputer 702a as shown in FIG. The self-test operation is controlled by a program stored in a ROM or RAM (not shown) in the microcomputer 702a. It is also possible to take a test result (Test Result) into the microcomputer 702a and transmit it from the input / output port of the microcomputer 702a to the outside of the system (for example, an upper layer system). As a result, the failure can be recognized by the upper layer system, and the maintenance of the upper layer system becomes easy. For example, when a number of failures that cannot be remedied by the redundant circuit 704 occur, the higher-layer system can recognize this and stop the system operation. In FIG. 143, Reset Signal is a reset signal from the power-on reset circuit 701, Test Pattern is a test pattern signal output to the RAM 703 with a test circuit, and Register Control is a register control signal output to the register circuit 706. .

先ず、前記冗長回路704として、1ビットだけ救済可能に構成されているものを説明する。ここで、図144は図142のテスト回路付きRAM703と冗長回路704の詳細な接続例を示す図である。テスト回路付きRAM703としては例えば図64および図65の構成のものを用いればよい。図144において、SO<0>〜SO<5>(以下、SO<>と略記する)の信号はテスト結果の信号であり、例えば図95の構成部品である各スキャンFF(例えば図69)のシリアル出力信号SOである。また、図144中のテスト回路付きRAM703において、A<0>〜A<3>(以下、A<>と略記する)はアドレス信号、DI<0>〜DI<5>(以下、DI<>と略記する)はデータ入力端子、WEはライトイネーブル端子、DO<0>〜DO<5>(以下、DO<>と略記する)はデータ出力端子、BWC<0>〜BWC<5>(以下、BWC<>と略記する)はビットライト制御端子である。この例ではアドレス信号数が4、データビット数が6のRAMを示している。なお、BWC<>はデータビット毎に書き込みを制御する信号である。例えば、BWC<3>=“1”,BWC<0>=“0”,BWC<1>=“0”,BWC<2>=“0”,BWC<4>=“0”,BWC<5>=“0”に設定しWE信号をアクティブにした場合、DI<3>のデータは書き込まれない。   First, a description will be given of the redundant circuit 704 configured so that only one bit can be relieved. 144 is a diagram showing a detailed connection example of the RAM 703 with a test circuit and the redundant circuit 704 in FIG. As the RAM 703 with a test circuit, for example, the configuration shown in FIGS. 64 and 65 may be used. In FIG. 144, signals SO <0> to SO <5> (hereinafter abbreviated as SO <>) are test result signals. This is the serial output signal SO. In addition, in the RAM 703 with a test circuit in FIG. 144, A <0> to A <3> (hereinafter abbreviated as A <>) are address signals, and DI <0> to DI <5> (hereinafter DI <>). Is a data input terminal, WE is a write enable terminal, DO <0> to DO <5> (hereinafter abbreviated as DO <>) is a data output terminal, and BWC <0> to BWC <5> (hereinafter, abbreviated). , And abbreviated as BWC <>) are bit write control terminals. In this example, a RAM having four address signals and six data bits is shown. BWC <> is a signal for controlling writing for each data bit. For example, BWC <3> = “1”, BWC <0> = “0”, BWC <1> = “0”, BWC <2> = “0”, BWC <4> = “0”, BWC <5 When> = “0” is set and the WE signal is activated, the data of DI <3> is not written.

該冗長回路704は、図145および図146に示したような回路構成とされる。該冗長回路704において、DI<0>〜DI<4>(以下、DI<>と略記する)はデータ入力信号出力端子、DO<0>〜DO<4>(以下、DO<>と略記する)はデータ出力信号入力端子、G<0>〜G<5>(以下、G<>と略記する)はテスト結果入力端子、BWC<0>〜BWC<5>(以下、BWC<>と略記する)はビットライト制御信号出力端子、XDI<0>〜XDI<4>(以下、XDI<>と略記する)はデータ入力端子、XDO<0>〜XDO<4>(以下、XDO<>と略記する)はデータ出力端子、XBWC<0>〜XBWC<4>(以下、XBWC<>と略記する)はビットライト制御端子である。   The redundant circuit 704 has a circuit configuration as shown in FIGS. 145 and 146. In the redundant circuit 704, DI <0> to DI <4> (hereinafter abbreviated as DI <>) are data input signal output terminals, and DO <0> to DO <4> (hereinafter abbreviated as DO <>). ) Is a data output signal input terminal, G <0> to G <5> (hereinafter abbreviated as G <>) are test result input terminals, and BWC <0> to BWC <5> (hereinafter abbreviated as BWC <>). Is a bit write control signal output terminal, XDI <0> to XDI <4> (hereinafter abbreviated as XDI <>) are data input terminals, and XDO <0> to XDO <4> (hereinafter referred to as XDO <>). (Abbreviated) is a data output terminal and XBWC <0> to XBWC <4> (hereinafter abbreviated as XBWC <>) are bit write control terminals.

また、該冗長回路704中の711〜715は、DI<>とXDI<>の間を接続する信号線Ldi0〜Ldi4中に配され、いずれかの信号線に不良ビットデータが与えられた際に、当該信号線(“1”側)を切断するとともに当該信号線を境にして順次隣接する信号線(“0”側)に切換接続するセレクタである。721〜725は、BWC<>とXBWC<>の間を接続する信号線Lbw0〜Lbw4中に配され、いずれかの信号線Lbw0〜Lbw4に不良ビットが与えられた際に、当該信号線(“1”側)を切断するとともに当該信号線を境にして順次隣接する信号線(“0”側)に切換接続するセレクタである。731〜735は、DO<>とXDO<>の間を接続する信号線Ldo0〜Ldo5中に配され、いずれかの信号線Ldo0〜Ldo5に不良ビットが与えられた際に、当該信号線(“1”側)を切断するとともに当該信号線を境にして順次隣接する信号線(“0”側)に切換接続するセレクタである。   Further, 711 to 715 in the redundant circuit 704 are arranged in signal lines Ldi0 to Ldi4 that connect between DI <> and XDI <>, and when defective bit data is given to any of the signal lines. The selector disconnects the signal line (“1” side) and sequentially connects to the adjacent signal line (“0” side) with the signal line as a boundary. 721 to 725 are arranged in signal lines Lbw0 to Lbw4 that connect between BWC <> and XBWC <>. When a defective bit is given to any of the signal lines Lbw0 to Lbw4, the signal lines (" 1 "side), and a selector that sequentially switches and connects to adjacent signal lines (" 0 "side) with the signal line as a boundary. Reference numerals 731 to 735 are arranged in the signal lines Ldo0 to Ldo5 that connect between DO <> and XDO <>. When a defective bit is given to any of the signal lines Ldo0 to Ldo5, the signal lines (" 1 "side), and a selector that sequentially switches and connects to adjacent signal lines (" 0 "side) with the signal line as a boundary.

そして、740は、前記セレクタ711〜715,721〜725を切り換え制御するものであって、複数の信号線Ldi0〜Ldi4,Lbw0〜Lbw4,Ldo0〜Ldo5のうち、不良ビットであると指定された信号線を境とする一方向側(LSB側)の信号線のセレクタに“1”を出力し、他方向側(MSB側)の信号線に“0”を出力する二値信号指定部である。   Reference numeral 740 controls switching of the selectors 711 to 715 and 721 to 725, and is a signal designated as a defective bit among the plurality of signal lines Ldi0 to Ldi4, Lbw0 to Lbw4, Ldo0 to Ldo5. This is a binary signal designating unit that outputs “1” to the selector of the signal line on one direction side (LSB side) with the line as the boundary, and outputs “0” to the signal line on the other direction side (MSB side).

具体的には、該二値信号指定部740は、5個のAND回路(論理積回路)741〜745から構成されている。最もLSB側の第1のAND回路741の一方の入力端子は前記レジスタ回路706のG<0>端子に接続され、他方の入力端子は前記レジスタ回路706のG<1>端子に接続される。前記第1のAND回路741に隣接する第2のAND回路742の一方の入力端子は、前記第1のAND回路741の出力端子に接続され、他方の入力端子は前記レジスタ回路706のG<2>端子に接続される。前記第2のAND回路742に隣接する第3のAND回路743の一方の入力端子は、前記第2のAND回路742の出力端子に接続され、他方の入力端子は前記レジスタ回路706のG<3>端子に接続される。前記第3のAND回路743に隣接する第4のAND回路744の一方の入力端子は、前記第3のAND回路743の出力端子に接続され、他方の入力端子は前記レジスタ回路706のG<4>端子に接続される。前記第4のAND回路744に隣接する第5のAND回路745の一方の入力端子は、前記第4のAND回路744の出力端子に接続され、他方の入力端子は前記レジスタ回路706のG<5>端子に接続される。   Specifically, the binary signal designating unit 740 includes five AND circuits (logical product circuits) 741 to 745. One input terminal of the first AND circuit 741 on the most LSB side is connected to the G <0> terminal of the register circuit 706, and the other input terminal is connected to the G <1> terminal of the register circuit 706. One input terminal of the second AND circuit 742 adjacent to the first AND circuit 741 is connected to the output terminal of the first AND circuit 741, and the other input terminal is G <2 of the register circuit 706. > Connected to the terminal. One input terminal of the third AND circuit 743 adjacent to the second AND circuit 742 is connected to the output terminal of the second AND circuit 742, and the other input terminal is G <3 of the register circuit 706. > Connected to the terminal. One input terminal of the fourth AND circuit 744 adjacent to the third AND circuit 743 is connected to the output terminal of the third AND circuit 743, and the other input terminal is G <4 of the register circuit 706. > Connected to the terminal. One input terminal of the fifth AND circuit 745 adjacent to the fourth AND circuit 744 is connected to the output terminal of the fourth AND circuit 744, and the other input terminal is G <5 of the register circuit 706. > Connected to the terminal.

また、前記第1のAND回路741の出力端子は、前記セレクタ711,721,732の切換制御端子に接続される。前記第2のAND回路742の出力端子は、前記セレクタ712,722,733の切換制御端子に接続される。前記第3のAND回路743の出力端子は、前記セレクタ713,723,734の切換制御端子に接続される。前記第4のAND回路744の出力端子は、前記セレクタ714,724,735の切換制御端子に接続される。前記第5のAND回路745の出力端子は、前記セレクタ715,725の切換制御端子に接続される。そして、前記セレクタ731の切換制御端子は前記レジスタ回路706のG<0>端子に接続される。   The output terminal of the first AND circuit 741 is connected to the switching control terminals of the selectors 711, 721, and 732. The output terminal of the second AND circuit 742 is connected to the switching control terminals of the selectors 712, 722 and 733. The output terminal of the third AND circuit 743 is connected to the switching control terminals of the selectors 713, 723, and 734. The output terminal of the fourth AND circuit 744 is connected to the switching control terminal of the selectors 714, 724, 735. The output terminal of the fifth AND circuit 745 is connected to the switching control terminals of the selectors 715 and 725. The switching control terminal of the selector 731 is connected to the G <0> terminal of the register circuit 706.

さらに、図145中の750は、前記レジスタ回路706からのG<>信号に基づいてBWC<>へ書き込み抑制信号(“1”)を送信するための制御素子群であって、G<>についての各信号線について信号を反転させるインバータ回路751と、一方の端子に前記インバータ回路751からの信号を入力し他方の端子に前記セレクタ721〜725からの信号を入力するOR回路752とから構成される。なお、BWC<>端子が存在しないRAMに対しては該制御素子群750は省略できる。   Further, reference numeral 750 in FIG. 145 denotes a control element group for transmitting a write suppression signal (“1”) to the BWC <> based on the G <> signal from the register circuit 706. And an OR circuit 752 for inputting a signal from the inverter circuit 751 to one terminal and inputting a signal from the selectors 721 to 725 to the other terminal. The Note that the control element group 750 can be omitted for a RAM having no BWC <> terminal.

<動作>
上記構成の半導体メモリの検査装置の動作を説明する。まず、パワーオンリセット回路701により電源の投入を検出し、セルフテスト回路702にリセット信号を与える。これにより、セルフテスト回路702はRAMのテストを自動的に開始する。セルフテスト回路702はテスト回路付きRAM703内のRAMコアがテストされ、そのテスト結果がテスト回路付きRAM703から出力される。
<Operation>
The operation of the semiconductor memory inspection apparatus having the above configuration will be described. First, the power-on reset circuit 701 detects power-on, and gives a reset signal to the self-test circuit 702. As a result, the self-test circuit 702 automatically starts a RAM test. The self-test circuit 702 tests the RAM core in the RAM 703 with a test circuit, and the test result is output from the RAM 703 with a test circuit.

レジスタ回路706はセルフテスト回路702がRAMテストを終了した後でテスト結果を取り込むようにセルフテスト回路702により制御される。レジスタ回路706はパラレルのレジスタ回路706でもよいし、直列シフトレジスタでもよい。冗長回路704はテスト結果に応じてRAMの入力/出力データやビットライト制御信号と論理回路705間の接続の切り換えを行う。RAMに故障があっても、その故障ビットを使用しないように接続の切り換えが行われ、システムの通常の機能を維持することができる。   The register circuit 706 is controlled by the self test circuit 702 so that the test result is captured after the self test circuit 702 finishes the RAM test. The register circuit 706 may be a parallel register circuit 706 or a serial shift register. The redundancy circuit 704 switches the connection between the RAM input / output data and the bit write control signal and the logic circuit 705 according to the test result. Even if there is a failure in the RAM, the connection is switched so that the failure bit is not used, and the normal function of the system can be maintained.

アドレス信号や制御信号は論理回路705からテスト回路付きRAM703に与えられる。   Address signals and control signals are given from the logic circuit 705 to the RAM 703 with a test circuit.

XDI<>,XBWC<>,XDO<>がLSI上の他の論理回路705と接続されて、LSIとしての所望の動作を実現する。   XDI <>, XBWC <>, and XDO <> are connected to another logic circuit 705 on the LSI to realize a desired operation as an LSI.

G<>端子にはRAMテスト結果に応じて、故障ビットに対しては“0”、故障のないビットに対しては“1”が設定されると仮定して説明を行う。   The description will be made assuming that the G <> terminal is set to “0” for a failure bit and “1” for a bit without a failure according to the RAM test result.

RAMに故障が全くない場合、G<5>からG<0>は全て“1”になる。この結果、F<5>からF<1>は全て“1”になる。   When there is no failure in the RAM, G <5> to G <0> are all “1”. As a result, F <5> to F <1> are all “1”.

このとき、以下に示すような信号経路が構成される。   At this time, the following signal path is configured.

(1) DI<4>〜DI<0>(信号線)に対してはXDI<4>からXDI<0>の信号が供給され、DI<5>(予備線)に対しては固定の“0”又は“1”が供給される。   (1) A signal of XDI <0> is supplied from XDI <4> to DI <4> to DI <0> (signal line), and a fixed “ 0 "or" 1 "is supplied.

(2) BWC<4>〜BWC<0>(信号線)に対してはXBWC<4>からXBWC<0>の信号が供給され、BWC<5>(予備線)に対しては固定の“1”が供給される(“1”は書き込み抑制状態であり、ビット番号5に対しては書き込みは行われない)。   (2) The signals XBWC <4> to XBWC <0> are supplied to BWC <4> to BWC <0> (signal line) and fixed to BWC <5> (spare line). 1 "is supplied (" 1 "is a write-inhibited state, and writing is not performed for bit number 5).

(3) XDO<4>からXDO<0>に対してはDO<4>〜DO<0>(信号線)の信号が供給される。つまり、ビット番号5が未使用状態になり、データ入出力が5ビットのRAMとして動作する。なお、DO<5>は予備線である。   (3) Signals of DO <4> to DO <0> (signal lines) are supplied from XDO <4> to XDO <0>. That is, bit number 5 becomes unused and data input / output operates as a 5-bit RAM. DO <5> is a spare line.

例えば、ビット番号3に故障がある場合、G<5>,G<4>,G<2>,G<1>,G<0>は“1”になり、G<3>は“0”になる。この結果、F<5>,F<4>,F<3>は“0”になり、F<2>,F<1>は“1”になる。このとき、以下に示すような信号経路が構成される。   For example, when bit number 3 has a failure, G <5>, G <4>, G <2>, G <1>, G <0> are “1”, and G <3> is “0”. become. As a result, F <5>, F <4>, and F <3> are “0”, and F <2> and F <1> are “1”. At this time, the following signal path is configured.

(1) DI<5>に対してはXDI<4>信号が、
DI<4>に対してはXDI<3>信号が、
DI<3>に対してはXDI<2>信号が、
DI<2>に対してはXDI<2>信号が、
DI<1>に対してはXDI<1>信号が、
DI<0>に対してはXDI<0>信号が、
夫々供給される。
(1) For DI <5>, the XDI <4> signal is
For DI <4>, the XDI <3> signal is
For DI <3>, the XDI <2> signal is
For DI <2>, the XDI <2> signal is
For DI <1>, the XDI <1> signal is
For DI <0>, the XDI <0> signal is
Each is supplied.

(2) BWC<5>に対してはXBWC<4>信号が、
BWC<4>に対してはXBWC<3>信号が、
BWC<3>に対してはインバータ回路751とOR回路752により“1”が、
BWC<2>に対してはXBWC<2>信号が、
BWC<1>に対してはXBWC<1>信号が、
BWC<0>に対してはXBWC<0>信号が、
夫々供給される(“1”は書き込み抑制状態であり、不良となっているビット番号3に対しては書き込みは行われない)。
(2) For BWC <5>, the XBWC <4> signal is
For BWC <4>, the XBWC <3> signal is
For BWC <3>, “1” is set by the inverter circuit 751 and the OR circuit 752.
For BWC <2>, the XBWC <2> signal is
For BWC <1>, the XBWC <1> signal is
For BWC <0>, the XBWC <0> signal is
Each is supplied ("1" is a write suppression state, and no write is performed for bit number 3 which is defective).

(3) XDO<4>に対してはDO<5>信号が、
XDO<3>に対してはDO<4>信号が、
XDO<2>に対してはDO<2>信号が、
XDO<1>に対してはDO<1>信号が、
XDO<0>に対してはDO<0>信号が、
夫々供給される。
(3) For XDO <4>, the DO <5> signal is
For XDO <3>, the DO <4> signal is
For XDO <2>, the DO <2> signal is
For XDO <1>, the DO <1> signal is
For XDO <0>, the DO <0> signal is
Each is supplied.

つまり、ビット番号3が未使用状態になり、データ入出力が5ビットのRAMとして動作する。   That is, bit number 3 becomes unused, and data input / output operates as a 5-bit RAM.

以上のように、データ入出力に1ビットの故障が存在しても所望(5ビット)のRAMとして動作できる。   As described above, even if there is a 1-bit failure in data input / output, it can operate as a desired (5-bit) RAM.

{実施の形態20}
図147に本発明の実施の形態20のセルフテスト回路702を示す。図147の回路は実施の形態19において図143に示した回路と同等の機能を持つものであるが、専用のテストパターン発生回路(Pattern Generator)702bを付加している。これは、マイクロコンピュータの動作速度がRAMの動作速度に比べて遅い場合に有効である。専用のテストパターン発生回路により、高速なテストパターン発生が可能になり、RAMのアクセスタイム不良などの故障を検出できるようになる。テストパターン発生回路としては、例えば図138および図139に示した回路を用いればよい。その他の構成は、図142乃至図146に示したものと同様であるため説明を省略する。かかるその他の構成については、本実施の形態によっても実施の形態19と同様の効果を得ることができる。
{Embodiment 20}
FIG. 147 shows a self-test circuit 702 according to the twentieth embodiment of the present invention. The circuit of FIG. 147 has the same function as that of the circuit shown in FIG. 143 in the nineteenth embodiment, but a dedicated test pattern generation circuit (Pattern Generator) 702b is added. This is effective when the operation speed of the microcomputer is slower than the operation speed of the RAM. The dedicated test pattern generation circuit enables high-speed test pattern generation, and can detect failures such as RAM access time defects. As the test pattern generating circuit, for example, the circuits shown in FIGS. 138 and 139 may be used. Other configurations are the same as those shown in FIGS. 142 to 146, and thus description thereof is omitted. With respect to such other configurations, the same effects as in the nineteenth embodiment can be obtained also in the present embodiment.

{実施の形態21}
<構成>
図148および図149は本発明の実施の形態21の半導体メモリの検査装置の冗長回路704a(704)を示す図であり、図中のDI<>−XDI<>およびBWC<>−XBWC<>に関して、上端(MSB)のビットに対してはセレクタ(実施の形態19におけるセレクタ715,725)で固定値を入力する代わりにゲート回路(OR回路)761,762で固定値を入力している。また、故障のビットに対する入力データやビットライト制御信号は、隣接するどちらのビットの値を用いてもよいことに着目して、二値信号指定部740からの制御信号をF<1>〜F<5>からG<0>およびF<1>〜F<4>に変更している。この結果、F<5>信号を作成するためのAND回路(実施の形態19におけるAND回路745)が不要になっている。
{Embodiment 21}
<Configuration>
FIGS. 148 and 149 show redundant circuit 704a (704) of the semiconductor memory inspection device according to the twenty-first embodiment of the present invention. With respect to the bit at the upper end (MSB), instead of inputting a fixed value by the selector (selectors 715 and 725 in the nineteenth embodiment), a fixed value is input by the gate circuits (OR circuits) 761 and 762. Further, paying attention to the fact that the value of any adjacent bit may be used as the input data or the bit write control signal for the failed bit, the control signal from the binary signal designating unit 740 is represented by F <1> to F. <5> is changed to G <0> and F <1> to F <4>. As a result, an AND circuit (AND circuit 745 in the nineteenth embodiment) for generating the F <5> signal is not necessary.

<動作>
上記構成の半導体メモリの検査装置の動作を説明する。RAMに故障が全くない場合、G<5>からG<0>は全て“1”になる。この結果、F<4>からF<1>は全て“1”になる。
<Operation>
The operation of the semiconductor memory inspection apparatus having the above configuration will be described. When there is no failure in the RAM, G <5> to G <0> are all “1”. As a result, F <4> to F <1> are all “1”.

このとき、以下に示すような信号経路が構成される。   At this time, the following signal path is configured.

(1) DI<4>からDI<0>に対してXDI<4>からXDI<0>の信号が供給され、DI<5>に対しては固定の“1”が供給される。   (1) Signals XDI <4> to XDI <0> are supplied to DI <4> to DI <0>, and a fixed “1” is supplied to DI <5>.

(2) BWC<4>からBWC<0>に対してはXBWC<4>からXBWC<0>の信号が供給され、BWC<5>に対しては固定の“1”が供給される(“1”は書き込み抑制状態であり、ビット番号5に対しては書き込みは行われない)。   (2) The signals XBWC <4> to XBWC <0> are supplied from BWC <4> to BWC <0>, and a fixed “1” is supplied to BWC <5> (“ 1 ″ is a write suppression state, and no write is performed for bit number 5).

(3) XDO<4>からXDO<0>に対してはDO<4>からDO<1>の信号が供給される。つまり、ビット番号5が未使用状態になり、データ入出力が5ビットのRAMとして動作する。   (3) The signals DO <4> to DO <1> are supplied to XDO <4> to XDO <0>. That is, bit number 5 becomes unused and data input / output operates as a 5-bit RAM.

例えば、ビット番号3に故障がある場合、G<5>,G<4>,G<2>,G<1>,G<0>は“1”になり、G<3>は“0”になる。この結果、F<4>,F<3>は“0”になり、F<2>,F<1>は“1”になる。   For example, when bit number 3 has a failure, G <5>, G <4>, G <2>, G <1>, G <0> are “1”, and G <3> is “0”. become. As a result, F <4> and F <3> become “0”, and F <2> and F <1> become “1”.

このとき、以下に示すような信号経路が構成される。   At this time, the following signal path is configured.

(1) DI<5>に対してはXDI<4>信号が、
DI<4>に対してはXDI<3>信号が、
DI<3>に対してはXDI<3>信号が、
DI<2>に対してはXDI<2>信号が、
DI<1>に対してはXDI<1>信号が、
DI<0>に対してはXDI<0>信号が、
夫々供給される。
(1) For DI <5>, the XDI <4> signal is
For DI <4>, the XDI <3> signal is
For DI <3>, the XDI <3> signal is
For DI <2>, the XDI <2> signal is
For DI <1>, the XDI <1> signal is
For DI <0>, the XDI <0> signal is
Each is supplied.

(2) BWC<5>に対してはXBWC<4>信号が、
BWC<4>に対してはXBWC<3>信号が、
BWC<3>に対してはインバータ回路751とOR回路752により“1”が、
BWC<2>に対してはXBWC<2>信号が、
BWC<1>に対してはXBWC<1>信号が、
BWC<0>に対してはXBWC<0>信号が、
夫々供給される(“1”は書き込み抑制状態であり、ビット番号3に対しては書き込みは行われない)。
(2) For BWC <5>, the XBWC <4> signal is
For BWC <4>, the XBWC <3> signal is
For BWC <3>, “1” is set by the inverter circuit 751 and the OR circuit 752.
For BWC <2>, the XBWC <2> signal is
For BWC <1>, the XBWC <1> signal is
For BWC <0>, the XBWC <0> signal is
Each is supplied ("1" is a write suppression state, and no write is performed for bit number 3).

XDO<4>に対してはDO<5>信号が、
XDO<3>に対してはDO<4>信号が、
XDO<2>に対してはDO<2>信号が、
XDO<1>に対してはDO<1>信号が、
XDO<0>に対してはDO<0>信号が、
夫々供給される。
For XDO <4>, the DO <5> signal is
For XDO <3>, the DO <4> signal is
For XDO <2>, the DO <2> signal is
For XDO <1>, the DO <1> signal is
For XDO <0>, the DO <0> signal is
Each is supplied.

つまり、ビット番号3が未使用状態になり、データ入出力が5ビットのRAMとして動作する。   That is, bit number 3 becomes unused, and data input / output operates as a 5-bit RAM.

以上のように、データ入出力に1ビットの故障が存在しても所望(5ビット)のRAMとして動作できる。   As described above, even if there is a 1-bit failure in data input / output, it can operate as a desired (5-bit) RAM.

図145および図146の回路と図148および図149の回路では故障ビットのDI<>端子に接続される信号が異なる。例えば、ビット番号3に故障がある場合、図145および図146の回路ではDI<3>に対してはXDI<2>信号が接続されていたが、図148および図149の回路ではDI<3>に対してはXDI<3>信号が接続される。ビット番号3は使用されないので、システム動作上は差異はない。   The signals connected to the DI <> terminal of the failure bit are different between the circuits of FIGS. 145 and 146 and the circuits of FIGS. 148 and 149. For example, when there is a failure in bit number 3, the XDI <2> signal is connected to DI <3> in the circuits of FIGS. 145 and 146, whereas DI <3 in the circuits of FIGS. 148 and 149. Is connected to the XDI <3> signal. Since bit number 3 is not used, there is no difference in system operation.

{実施の形態22}
<構成>
図150は本発明の実施の形態22において、図142のテスト回路付きRAM703と冗長回路704bの詳細な接続例を示す他の実施の形態の図である。図150では、2ビットの不良を救済する冗長回路704bを用いている。
{Twenty-second embodiment}
<Configuration>
FIG. 150 is a diagram of another embodiment showing a detailed connection example of the RAM 703 with a test circuit and the redundant circuit 704b of FIG. 142 in the twenty-second embodiment of the present invention. In FIG. 150, a redundant circuit 704b for remedying a 2-bit defect is used.

図151および図152は図150で用いられる2ビットの冗長回路704bの回路図である。該冗長回路704bは、データ入出力に2ビットの故障が存在しても、所望のRAMとして動作できるものである。すなわち、本実施の形態では、一方向に沿って不良ビットを検出した後、さらに逆方向に沿って不良ビットを検出することで、合計2ビットの不良データを帆しょぅするものである。図151および図152は、6ビットデータ入出力のRAMを用意して4ビットデータ入出力のRAMとして用いる場合の冗長回路704bを示している。図151および図152中のYDI<>はデータ入力端子、YBWC<>はビットライト制御端子、YDO<>はデータ出力端子である。   151 and 152 are circuit diagrams of the 2-bit redundant circuit 704b used in FIG. The redundant circuit 704b can operate as a desired RAM even if a 2-bit failure exists in data input / output. That is, in this embodiment, after detecting a defective bit along one direction, a defective bit is further detected along the opposite direction, so that a total of two bits of defective data are taken out. 151 and 152 show a redundant circuit 704b when a 6-bit data input / output RAM is prepared and used as a 4-bit data input / output RAM. 151 and 152, YDI <> is a data input terminal, YBWC <> is a bit write control terminal, and YDO <> is a data output terminal.

具体的には、図148および図149で示した実施の形態21と同様の構成に付加して、前記YDI<>からの信号切り換え用のセレクタ771〜773およびゲート回路(OR回路)774、前記YBWC<>からの信号切り換え用のセレクタ781〜783およびゲート回路(OR回路)784、および前記YDI<>への信号切り換え用のセレクタ791〜794が設けられている。   Specifically, in addition to the same configuration as that of the embodiment 21 shown in FIGS. 148 and 149, selectors 771 to 773 for switching signals from YDI <> and a gate circuit (OR circuit) 774, Selectors 781 to 783 and gate circuits (OR circuits) 784 for switching signals from YBWC <> and selectors 791 to 794 for switching signals to YDI <> are provided.

このうち、771〜773は、セレクタ711〜714(一次セレクタ部)とYDI<>の間を接続する信号線Lydi0〜Lydi3中に配され、いずれかの信号線に不良ビットデータが与えられた際に、当該信号線(“1”側)を切断するとともに当該信号線を境にして順次隣接する信号線(“0”側)に切換接続するセレクタ(二次セレクタ部)である。また、ゲート回路(OR回路)774は下端(LSB)のビット(すなわち、DI<0>)に対して固定値を入力するためのもので、一方の端子にはYDI<0>端子が接続され、他方の端子には後述する第2の二値信号指定部800のAND回路(論理積回路)803の出力端子が接続される。   Among these, 771 to 773 are arranged in the signal lines Lydi0 to Lydi3 that connect between the selectors 711 to 714 (primary selector unit) and YDI <>, and when defective bit data is given to any of the signal lines And a selector (secondary selector section) that cuts off the signal line (“1” side) and sequentially switches and connects to the adjacent signal line (“0” side) with the signal line as a boundary. The gate circuit (OR circuit) 774 is used to input a fixed value to the lower end (LSB) bit (ie, DI <0>), and one terminal is connected to the YDI <0> terminal. The other terminal is connected to an output terminal of an AND circuit (logical product circuit) 803 of a second binary signal designating unit 800 described later.

また、781〜783は、セレクタ721〜724(一次セレクタ部)とYBWC<>の間を接続する信号線Lybw0〜Lybw3中に配され、いずれかの信号線Lybw0〜Lybw3に不良ビットが与えられた際に、当該信号線(“1”側)を切断するとともに当該信号線を境にして順次隣接する信号線(“0”側)に切換接続するセレクタ(二次セレクタ部)である。791〜794は、セレクタ731〜735(一次セレクタ部)とYDO<>の間を接続する信号線Lxdo0〜Lxdo4中に配され、いずれかの信号線Lxdo0〜Lxdo4に不良ビットが与えられた際に、当該信号線(“1”側)を切断するとともに当該信号線を境にして順次隣接する信号線(“0”側)に切換接続するセレクタ(二次セレクタ部)である。また、ゲート回路(OR回路)784は下端(LSB)のビット(すなわち、制御素子群750のBWC<0>に接続されたOR回路752)に対して固定値を入力するためのもので、一方の端子にはYBWC<0>端子が接続され、他方の端子には後述する第2の二値信号指定部800のAND回路803の出力端子が接続される。   Reference numerals 781 to 783 are arranged in signal lines Lybw0 to Lybw3 that connect between the selectors 721 to 724 (primary selector section) and YBWC <>, and a defective bit is given to any one of the signal lines Lybw0 to Lybw3. In this case, the selector (secondary selector unit) disconnects the signal line (“1” side) and sequentially switches and connects to the adjacent signal line (“0” side) with the signal line as a boundary. 791 to 794 are arranged in signal lines Lxdo0 to Lxdo4 that connect between the selectors 731 to 735 (primary selector unit) and YDO <>, and when any one of the signal lines Lxdo0 to Lxdo4 is given a defective bit. A selector (secondary selector unit) that cuts off the signal line (“1” side) and switches and connects to the adjacent signal line (“0” side) sequentially with the signal line as a boundary. The gate circuit (OR circuit) 784 is for inputting a fixed value to the bit at the lower end (LSB) (that is, the OR circuit 752 connected to BWC <0> of the control element group 750). Is connected to the YBWC <0> terminal, and the other terminal is connected to the output terminal of the AND circuit 803 of the second binary signal designating unit 800 described later.

そして、800は、前記セレクタ771〜773,781〜783を切り換え制御するものであって、複数の信号線Lydi0〜Lydi3,Lybw0〜Lybw3,Lxdo0〜Lxdo4のうち、不良ビットであると指定された信号線を境とする一方向側(LSB側)の信号線のセレクタ771,772,781,782,791〜793およびOR回路774,784に“0”を出力し、他方向側(MSB側)の信号線のセレクタ771,772,781,782,791〜793およびOR回路774,784に“1”を出力する第2の二値信号指定部(二次制御回路)である。なお、前記した第1の二値信号指定部740(一次制御回路)とは、LSB側とMSB側とでは、不良ビットが逆方向から検出される。これは、両二値信号指定部740,800とでLSB側とMSB側の両方から不良ビットを検出することで、合計2ビットの故障を検出するためである。   800 designates switching control of the selectors 771 to 773, 781 to 783, and a signal designated as a defective bit among the plurality of signal lines Lydi0 to Lydi3, Lybw0 to Lybw3, Lxdo0 to Lxdo4. “0” is output to the selectors 771, 772, 781, 782, 791 to 793 and the OR circuits 774 and 784 of the signal lines on one direction side (LSB side) with the line as the boundary, and on the other direction side (MSB side) A second binary signal designating unit (secondary control circuit) that outputs “1” to the signal line selectors 771, 772, 781, 782, 791 to 793 and the OR circuits 774 and 784. The first binary signal designating unit 740 (primary control circuit) detects a defective bit from the opposite direction on the LSB side and the MSB side. This is because the two-bit signal specifying units 740 and 800 detect defective bits from both the LSB side and the MSB side, thereby detecting a total failure of 2 bits.

具体的には、該二値信号指定部800は、3個のAND回路(二次論理積回路)801〜803から構成されている。この場合、第1の二値信号指定部740の4個のAND回路741〜744は、AND回路801〜805に対して一次論理積回路として機能する。最もMSB側の第5のAND回路801の一方の入力端子は前記レジスタ回路706のG<5>端子に接続され、他方の入力端子は前記レジスタ回路706のG<4>端子に接続される。前記第5のAND回路801に隣接する第6のAND回路802の一方の入力端子は、前記第1のAND回路801の出力端子に接続され、他方の入力端子は前記レジスタ回路706のG<3>端子に接続される。前記第6のAND回路802に隣接する第7のAND回路803の一方の入力端子は、前記第6のAND回路802の出力端子に接続され、他方の入力端子は前記レジスタ回路706のG<2>端子に接続される。   Specifically, the binary signal designating unit 800 includes three AND circuits (secondary AND circuits) 801 to 803. In this case, the four AND circuits 741 to 744 of the first binary signal designating unit 740 function as primary AND circuits for the AND circuits 801 to 805. One input terminal of the fifth AND circuit 801 on the most MSB side is connected to the G <5> terminal of the register circuit 706, and the other input terminal is connected to the G <4> terminal of the register circuit 706. One input terminal of the sixth AND circuit 802 adjacent to the fifth AND circuit 801 is connected to the output terminal of the first AND circuit 801, and the other input terminal is G <3 of the register circuit 706. > Connected to the terminal. One input terminal of the seventh AND circuit 803 adjacent to the sixth AND circuit 802 is connected to the output terminal of the sixth AND circuit 802, and the other input terminal is G <2 of the register circuit 706. > Connected to the terminal.

また、前記第5のAND回路801の出力端子H<4>は、前記セレクタ772,782,793の切換制御端子に接続される。前記第6のAND回路802の出力端子H<3>は、前記セレクタ771,781,792の切換制御端子に接続される。前記第7のAND回路803の出力端子は、前記OR回路774,784の一方の端子およびセレクタ791の切換制御端子に接続される。   The output terminal H <4> of the fifth AND circuit 801 is connected to the switching control terminals of the selectors 772, 782, and 793. The output terminal H <3> of the sixth AND circuit 802 is connected to the switching control terminals of the selectors 771, 781, 792. The output terminal of the seventh AND circuit 803 is connected to one terminal of the OR circuits 774 and 784 and the switching control terminal of the selector 791.

その他の構成は、実施の形態21と同様であるため説明を省略する。   Other configurations are the same as those in the twenty-first embodiment, and thus description thereof is omitted.

<動作>
図151および図152の回路動作について説明する。RAMに故障が全くない場合、レジスタ回路706のG<5>からG<0>は全て“1”になる。この結果、第1の二値信号指定部740の出力端子F<4>〜F<1>は全て“1”になり、さらに第2の二値信号指定部800の出力端子H<2>〜H<4>も全て“1”になる。このとき、以下に示すような信号経路が構成される。
<Operation>
The circuit operation of FIGS. 151 and 152 will be described. When there is no failure in the RAM, G <5> to G <0> of the register circuit 706 are all “1”. As a result, the output terminals F <4> to F <1> of the first binary signal specifying unit 740 are all “1”, and the output terminals H <2> to F <2> of the second binary signal specifying unit 800 are further set. H <4> is all “1”. At this time, the following signal path is configured.

(1) DI<4>からDI<1>に対してYDI<3>からYDI<0>の信号が供給され、DI<5>およびDI<0>に対しては固定の“1”が供給される。   (1) Signals YDI <3> to YDI <0> are supplied to DI <4> to DI <1>, and a fixed “1” is supplied to DI <5> and DI <0>. Is done.

(2) BWC<4>からBWC<1>についてのOR回路752(制御素子群750)に対しては、YBWC<3>からYBWC<0>の信号が供給され、BWC<5>およびBWC<0>についてのOR回路752(制御素子群750)に対しては固定の“1”が供給される(“1”は書き込み抑制状態であり、ビット番号5に対しては書き込みは行われない)。したがって、全てのBWC<>に対して“1”が供給される。   (2) The signals YBWC <3> to YBWC <0> are supplied to the OR circuit 752 (control element group 750) for BWC <4> to BWC <1>, and BWC <5> and BWC < A fixed “1” is supplied to the OR circuit 752 (control element group 750) for 0> (“1” is in a write-inhibited state, and no write is performed for bit number 5). . Therefore, “1” is supplied to all BWC <>.

(3) YDO<3>からYDO<0>に対してはDO<4>からDO<1>の信号が供給される。つまり、ビット番号5および0が未使用状態になり、データ入出力が4ビットのRAMとして動作する。   (3) The signals DO <4> to DO <1> are supplied to YDO <3> to YDO <0>. That is, bit numbers 5 and 0 are unused, and data input / output operates as a 4-bit RAM.

ここで、例えば、ビット番号2および4に故障がある場合、レジスタ回路706の出力端子のうちG<5>,G<3>,G<1>,G<0>は“1”になり、G<4>およびG<2>は“0”になる。この結果、第1の二値信号指定部740の出力端子のうちF<4>,F<3>,F<2>は“0”になり、F<1>は“1”になる。また、第2の二値信号指定部800の出力端子H<4>,H<3>,H<2>は“0”になる。   Here, for example, when there is a failure in bit numbers 2 and 4, G <5>, G <3>, G <1>, and G <0> among the output terminals of the register circuit 706 are “1”. G <4> and G <2> are “0”. As a result, among the output terminals of the first binary signal designating unit 740, F <4>, F <3>, F <2> are “0”, and F <1> is “1”. Further, the output terminals H <4>, H <3>, and H <2> of the second binary signal designating unit 800 are “0”.

このとき、以下に示すような信号経路が構成される。   At this time, the following signal path is configured.

(1) DI<5>に対してはYDI<3>信号が、
DI<4>に対してはYDI<3>信号が、
DI<3>に対してはYDI<2>信号が、
DI<2>に対してはYDI<2>信号が、
DI<1>に対してはYDI<1>信号が、
DI<0>に対してはYDI<0>信号が、
夫々供給される。
(1) For DI <5>, the YDI <3> signal is
For DI <4>, the YDI <3> signal is
For DI <3>, the YDI <2> signal is
For DI <2>, the YDI <2> signal is
For DI <1>, the YDI <1> signal is
For DI <0>, the YDI <0> signal is
Each is supplied.

(2) BWC<5>に対してはYBWC<3>信号が、
BWC<4>に対してはインバータ回路751とOR回路752により“1”が、
BWC<3>に対してはYBWC<2>信号が、
BWC<2>に対してはインバータ回路751とOR回路752により“1”が、
BWC<1>に対してはYBWC<1>信号が、
BWC<0>に対してはYBWC<0>信号が、
夫々供給される(“1”は書き込み抑制状態であり、ビット番号4および2に対しては書き込みは行われない)。また、
YDO<3>に対してはDO<5>信号が、
YDO<2>に対してはDO<3>信号が、
YDO<1>に対してはDO<1>信号が、
YDO<0>に対してはDO<0>信号が、
夫々出力される。
(2) For BWC <5>, the YBWC <3> signal is
For BWC <4>, “1” is set by the inverter circuit 751 and the OR circuit 752.
For BWC <3>, the YBWC <2> signal is
For BWC <2>, “1” is set by the inverter circuit 751 and the OR circuit 752.
For BWC <1>, the YBWC <1> signal is
For BWC <0>, the YBWC <0> signal is
Each is supplied ("1" is a write-inhibited state, and writing is not performed for bit numbers 4 and 2). Also,
For YDO <3>, the DO <5> signal is
For YDO <2>, the DO <3> signal is
For YDO <1>, the DO <1> signal is
For YDO <0>, the DO <0> signal is
Each is output.

つまり、ビット番号4および2が未使用状態になり、データ入出力が4ビットのRAMとして動作する。   That is, bit numbers 4 and 2 are unused, and data input / output operates as a 4-bit RAM.

このように、図151および図152の回路構成によると、
(1) F<>信号を発生するAND回路の働きによりLSB側から不良ビットの検索を行う。
Thus, according to the circuit configurations of FIGS. 151 and 152,
(1) The defective bit is searched from the LSB side by the action of the AND circuit that generates the F <> signal.

(2) H<>信号を発生するAND回路の働きによりMSB側から不良ビットの検索を行う。   (2) The defective bit is searched from the MSB side by the action of the AND circuit that generates the H <> signal.

(3) (1)および(2)の検索結果をもとに不良ビットを選択しないようにセレクタ711〜714,721〜724,731〜735,771〜773,781〜783,791〜794を切り替える。   (3) The selectors 711 to 714, 721 to 724, 731 to 735, 771 to 773, 781 to 783, 791 to 794 are switched so as not to select a defective bit based on the search results of (1) and (2). .

以上のように、データ入出力に2ビットの故障が存在しても、図151および図152の回路は2種類の検索方向を用いることにより、所望(4ビット)のRAMとして動作できる。すなわち、2ビットまでの不良を救済できる。   As described above, even if a 2-bit failure exists in data input / output, the circuits of FIGS. 151 and 152 can operate as a desired (4-bit) RAM by using two types of search directions. That is, defects up to 2 bits can be remedied.

{実施の形態23}
<構成>
図153および図154は本発明の実施の形態23の半導体メモリの検査装置の冗長回路を示す図である。なお、図153および図154中、上記各実施の形態と同様の機能を有する要素については同一符号を付している。
{Embodiment 23}
<Configuration>
153 and 154 are diagrams showing a redundant circuit of the semiconductor memory inspection device according to the twenty-third embodiment of the present invention. In FIG. 153 and FIG. 154, elements having the same functions as those in the above embodiments are given the same reference numerals.

本実施の形態の半導体メモリの検査装置の冗長回路704a,704cは、第1の階層において1ビットの不良データ補償を行った後、かかる不良情報を除去し、さらに第2の階層において1ビットの不良データ補償を行うものである。実施の形態22における図151および図152の回路に代えて使用される2ビットの冗長回路であって、特に冗長回路704aは図148および図149に示したものと同様のものであり、また冗長回路704c(破線で囲まれた部分:以下、2段目冗長回路と称する)は前記冗長回路704aに足対してさらに2段階目の冗長回路を付加(階層化)するものである。   The redundancy circuits 704a and 704c of the semiconductor memory inspection device according to the present embodiment perform the 1-bit defect data compensation in the first layer, and then remove such defect information, and further, the 1-bit in the second layer. Defective data compensation is performed. A 2-bit redundant circuit used in place of the circuits of FIGS. 151 and 152 in the twenty-second embodiment, in particular, redundant circuit 704a is similar to that shown in FIGS. 148 and 149, and is redundant. The circuit 704c (portion surrounded by a broken line: hereinafter referred to as a second-stage redundant circuit) adds (hierarchizes) a second-stage redundant circuit to the redundant circuit 704a.

前記2段目冗長回路704cにおいて、811〜813は、セレクタ711〜714(第1層セレクタ部)とYDI<>との間を接続する信号線Lydi0〜Lydi3中に配され、いずれかの信号線に不良ビットデータが与えられた際に、当該信号線(“1”側)を切断するとともに当該信号線を境にして順次隣接する信号線(“0”側)に切換接続するセレクタ(第2層セレクタ部)である。821〜823は、セレクタ721〜724(第1層セレクタ部)とYBWC<>との間を接続する信号線Lybw0〜Lybw3中に配され、いずれかの信号線に不良ビットが与えられた際に、当該信号線(“1”側)を切断するとともに当該信号線を境にして順次隣接する信号線(“0”側)に切換接続するセレクタ(第2層セレクタ部)である。831〜833は、第1の二値信号指定部740(一次制御回路)と後述する第2の二値信号指定部840との間を接続する信号線中に配され、いずれかの信号線に不良ビットデータが与えられた際に、当該信号線(“1”側)を切断するとともに当該信号線を境にして順次隣接する信号線(“0”側)に切換接続する制御用セレクタである。該制御用セレクタ831〜833および前記第2の二値信号指定部840から、セレクタ811〜813,821〜823,791〜794(第2層セレクタ部)を切り換える二次制御回路が構成される。なお、前記YDI<>への信号切り換え用のセレクタ731〜735(第1層セレクタ部),791〜794(第2層セレクタ部)は図151および図152で示した実施の形態22のものと同様である。   In the second-stage redundancy circuit 704c, 811 to 813 are arranged in signal lines Lydi0 to Lydi3 that connect between the selectors 711 to 714 (first layer selector unit) and YDI <>, and any one of the signal lines When defective bit data is given to the selector, the signal line ("1" side) is disconnected and the selector (second circuit) is switched and connected to the adjacent signal line ("0" side) sequentially with the signal line as a boundary. Layer selector). 821 to 823 are arranged in signal lines Lybw0 to Lybw3 that connect between the selectors 721 to 724 (first layer selector unit) and YBWC <>, and when a defective bit is given to any one of the signal lines A selector (second-layer selector unit) that cuts off the signal line (“1” side) and sequentially switches and connects to the adjacent signal line (“0” side) with the signal line as a boundary. 831 to 833 are arranged in a signal line that connects between the first binary signal designating unit 740 (primary control circuit) and a second binary signal designating unit 840 described later. When defective bit data is given, the control selector cuts the signal line (“1” side) and sequentially switches and connects to the adjacent signal line (“0” side) with the signal line as a boundary. . The control selectors 831 to 833 and the second binary signal designating unit 840 constitute a secondary control circuit for switching the selectors 811 to 813, 821 to 823, 791 to 794 (second layer selector unit). The selectors 731 to 735 (first layer selector unit) and 791 to 794 (second layer selector unit) for switching signals to YDI <> are the same as those of the twenty-second embodiment shown in FIGS. 151 and 152. It is the same.

また、図中のDI<>とYDI<>とを結ぶ信号線およびBWC<>とYBWC<>とを結ぶ信号線に関して、上端(MSB)のビットに対してゲート回路(OR回路)861,862で固定値を入力している。また、863はレジスタ回路706からのG<0>,G<1>の論理和をとるOR回路である。   Further, regarding the signal line connecting DI <> and YDI <> and the signal line connecting BWC <> and YBWC <> in the figure, gate circuits (OR circuits) 861, 862 with respect to the bit at the upper end (MSB). A fixed value is entered in. Reference numeral 863 denotes an OR circuit that takes a logical sum of G <0> and G <1> from the register circuit 706.

そして、840は、前記セレクタ811〜813,821〜823,791〜794を切り換え制御するものであって、複数の信号線のうち、不良ビットであると指定された信号線を境とする一方向側(LSB側)の信号線のセレクタに“1”を出力し、他方向側(MSB側)の信号線に“0”を出力する第2の二値信号指定部である。   Reference numeral 840 controls switching of the selectors 811 to 813, 821 to 823, 791 to 794, and is one-way with a signal line designated as a defective bit among a plurality of signal lines as a boundary. This is a second binary signal designating unit that outputs “1” to the selector of the signal line on the side (LSB side) and outputs “0” to the signal line on the other direction side (MSB side).

具体的には、該第2の二値信号指定部840は、4個のAND回路(二次論理積回路)841〜843から構成されている。最もLSB側の第5のAND回路841の一方の入力端子は前記OR回路863の出力端子に接続され、他方の入力端子は前記セレクタ831の出力端子に接続される。前記第5のAND回路841に隣接する第6のAND回路842の一方の入力端子は前記第5のAND回路841の出力端子に接続され、他方の入力端子は前記セレクタ832の出力端子に接続される。前記第6のAND回路842に隣接する第7のAND回路843の一方の入力端子は前記第6のAND回路842の出力端子に接続され、他方の入力端子は前記セレクタ833の出力端子に接続される。   Specifically, the second binary signal specifying unit 840 includes four AND circuits (secondary AND circuits) 841 to 843. One input terminal of the fifth AND circuit 841 closest to the LSB side is connected to the output terminal of the OR circuit 863, and the other input terminal is connected to the output terminal of the selector 831. One input terminal of the sixth AND circuit 842 adjacent to the fifth AND circuit 841 is connected to the output terminal of the fifth AND circuit 841, and the other input terminal is connected to the output terminal of the selector 832. The One input terminal of the seventh AND circuit 843 adjacent to the sixth AND circuit 842 is connected to the output terminal of the sixth AND circuit 842, and the other input terminal is connected to the output terminal of the selector 833. The

また、前記第5のAND回路841の出力端子XF<1>は、前記セレクタ812,822,792の切換制御端子に接続される。前記第6のAND回路842の出力端子は、前記セレクタ813,823,793の切換制御端子に接続される。前記第7のAND回路843の出力端子は、前記らOR回路861,862およびセレクタ794の切換制御端子に接続される。なお、前記OR回路863の出力端子は前記セレクタ811,821,791の切換制御端子に接続される。   The output terminal XF <1> of the fifth AND circuit 841 is connected to the switching control terminals of the selectors 812, 822, and 792. The output terminal of the sixth AND circuit 842 is connected to the switching control terminals of the selectors 813, 823 and 793. The output terminal of the seventh AND circuit 843 is connected to the OR circuits 861 and 862 and the switching control terminal of the selector 794. The output terminal of the OR circuit 863 is connected to the switching control terminals of the selectors 811, 821, 791.

なお、本実施の形態では、1段階目の不良情報としてはレジスタ回路706からのG<>信号が用いられ、2段階目では前記OR回路863およびセレクタ831〜833からのXG<>信号が用いられている。   In the present embodiment, the G <> signal from the register circuit 706 is used as the defect information at the first stage, and the XG <> signal from the OR circuit 863 and the selectors 831 to 833 is used at the second stage. It has been.

<動作>
上記構成において、まず、F<>信号を発生する第1の二値信号指定部740の各AND回路741〜744の働きにより、G<>信号に対してLSB側から順にMSB側へ向けて不良ビットの検索を行い、6ビットデータの内の5ビットを選択して2段目冗長回路704cに供給している。
<Operation>
In the above configuration, first, due to the operation of the AND circuits 741 to 744 of the first binary signal designating unit 740 that generates the F <> signal, the G <> signal is defective toward the MSB side sequentially from the LSB side. Bit search is performed, and 5 bits of 6-bit data are selected and supplied to the second-stage redundancy circuit 704c.

次に、2段目冗長回路704c内では、上記のG<>信号の内、1段目の冗長回路704aで不良と判定されたビットを除去したものをXG<>信号として内部で信号処理し、さらに、XF信号を発生する第2の二値信号指定部840の各AND回路841〜843の働きによりXG<>信号に対してLSB側から順にMSB側へ向けて不良ビットの検索を行い、5ビットデータの内の4ビットを選択してYDI<>,YBWC<>,XDO<>の選択的接続を行う。このように、容易に2ビットの不良データに対して動作を補償することができる。   Next, in the second-stage redundancy circuit 704c, the G <> signal is subjected to internal signal processing as an XG <> signal obtained by removing the bit determined to be defective in the first-stage redundancy circuit 704a. Further, by the operation of the AND circuits 841 to 843 of the second binary signal designating unit 840 that generates the XF signal, the XG <> signal is searched for defective bits sequentially from the LSB side to the MSB side, 4 bits of 5 bit data are selected and YDI <>, YBWC <>, XDO <> are selectively connected. In this way, the operation can be easily compensated for 2-bit defective data.

{実施の形態24}
<構成>
次に、3ポートRAM等の多ポートRAMに対する冗長回路の例について説明する。図155は本発明の実施の形態24において、冗長回路704とテスト回路付き3ポートRAM703dの接続を示す回路図である。テスト回路付き3ポートRAM703dとしては例えば図113および図114に示すものを用いればよい。
{Embodiment 24}
<Configuration>
Next, an example of a redundant circuit for a multi-port RAM such as a 3-port RAM will be described. FIG. 155 is a circuit diagram showing the connection between the redundancy circuit 704 and the 3-port RAM 703d with test circuit in the twenty-fourth embodiment of the present invention. As the 3-port RAM 703d with a test circuit, for example, the one shown in FIGS. 113 and 114 may be used.

ここで、SO1<0>〜SO1<5>(以下、SO1<>と略記する)およびSO2<0>〜SO2<5>(以下、SO2<>と略記する)の信号は夫々ポート1およびポート2のテスト結果の信号であり、例えば図95の構成部品である各スキャンFF(例えば図69)のシリアル出力信号SOである。   Here, signals of SO1 <0> to SO1 <5> (hereinafter abbreviated as SO1 <>) and SO2 <0> to SO2 <5> (hereinafter abbreviated as SO2 <>) are respectively represented by port 1 and port 1 2 is a serial output signal SO of each scan FF (for example, FIG. 69) which is a component of FIG. 95, for example.

ここで、説明する3ポートRAMは次に示す機能を有するRAMを想定している。   Here, the described 3-port RAM is assumed to be a RAM having the following functions.

(1) WE端子がアクティブの時、BWC<>がアクティブなビットに対してのみ、A<>端子で指定されるアドレスに対してDI<>端子のデータを書き込む。   (1) When the WE terminal is active, the data of the DI <> terminal is written to the address specified by the A <> terminal only for the bit in which BWC <> is active.

(2) A1<0>〜A1<3>(以下、A1<>と略記する)端子で指定されるアドレスに対して読み出しを行い、DO1<>端子に出力する。   (2) Read the address specified by the terminals A1 <0> to A1 <3> (hereinafter abbreviated as A1 <>), and output to the DO1 <> terminal.

(3) A2<0>〜A2<3>(以下、A2<>と略記する)端子で指定されるアドレスに対して読み出しを行い、DO2<>端子に出力する。   (3) Read the address specified by the terminals A2 <0> to A2 <3> (hereinafter abbreviated as A2 <>), and output to the DO2 <> terminal.

これらの(1)から(3)の動作は同時に行うことが可能である。なお、BWC<>端子のないRAMの場合は、この信号に関する回路は省略できる。図155中の706aは、3ポートRAMのように読み出しポートが複数ある場合に、この不良情報をポート(SO1<>,SO2<>)間でAND演算し、RAM全体の不良情報を作成するAND回路(論理積回路)である。   These operations (1) to (3) can be performed simultaneously. In the case of a RAM without a BWC <> terminal, a circuit related to this signal can be omitted. 706a in FIG. 155 performs AND operation on this failure information between the ports (SO1 <>, SO2 <>) when there are a plurality of read ports as in the case of a 3-port RAM, and generates AND information for the entire RAM. Circuit (logical product circuit).

図156は冗長回路704dのうち、XDO1<0>〜XDO1<4>(以下、XDO1<>と略記する)、DO1<0>〜DO1<5>(以下、DO1<>と略記する)、XDO2<0>〜XDO2<4>(以下、XDO2<>と略記する)、およびDO2<0>〜DO2<5>(以下、DO2<>と略記する)に関連する部分のみを示した回路図である。なお、図155の冗長回路704dのDI<>およびBWC<>,XBC<>,XDI<>端子に関しては図148および図149と同じ回路を用いればよいので図156では省略している。   In FIG. 156, among the redundant circuits 704d, XDO1 <0> to XDO1 <4> (hereinafter abbreviated as XDO1 <>), DO1 <0> to DO1 <5> (hereinafter abbreviated as DO1 <>), XDO2 <0> to XDO2 <4> (hereinafter abbreviated as XDO2 <>) and DO2 <0> to DO2 <5> (hereinafter abbreviated as DO2 <>) is there. Note that the DI <> and BWC <>, XBC <>, and XDI <> terminals of the redundant circuit 704d in FIG. 155 may be the same as those in FIGS. 148 and 149, and thus are omitted in FIG.

図156中の871〜875は、DO1<>とXDO1<>の間を接続する信号線中に配され、いずれかの信号線に不良ビットが与えられた際に、当該信号線(“1”側)を切断するとともに当該信号線を境にして順次隣接する信号線(“0”側)に切換接続するセレクタである。また、881〜885は、DO2<>とXDO2<>の間を接続する信号線中に配され、いずれかの信号線に不良ビットが与えられた際に、当該信号線(“1”側)を切断するとともに当該信号線を境にして順次隣接する信号線(“0”側)に切換接続するセレクタである。   In FIG. 156, 871 to 875 are arranged in a signal line connecting between DO1 <> and XDO1 <>, and when a defective bit is given to any one of the signal lines, the signal line (“1”) And a selector that sequentially switches and connects to adjacent signal lines (“0” side) with the signal line as a boundary. Reference numerals 881 to 885 are arranged in a signal line connecting between DO2 <> and XDO2 <>. When a defective bit is given to any one of the signal lines, the corresponding signal line ("1" side) Is a selector for switching and connecting to adjacent signal lines ("0" side) sequentially with the signal line as a boundary.

そして、890は、前記セレクタ871〜875,881〜885を切り換え制御するものであって、複数の信号線のうち、不良ビットであると指定された信号線を境とする一方向側(LSB側)の信号線のセレクタに“1”を出力し、他方向側(MSB側)の信号線に“0”を出力する二値信号指定部である。   Reference numeral 890 controls switching of the selectors 871 to 875, 881 to 885, and is one-way side (LSB side) with a signal line designated as a defective bit among a plurality of signal lines as a boundary. ) Is a binary signal designating unit that outputs “1” to the selector of the signal line and outputs “0” to the signal line on the other direction side (MSB side).

具体的には、該二値信号指定部890は、4個のAND回路(論理積回路)891〜894から構成されている。最もLSB側の第1のAND回路891の一方の入力端子は前記レジスタ回路706のG<0>端子に接続され、他方の入力端子は前記レジスタ回路706のG<1>端子に接続される。前記第1のAND回路891に隣接する第2のAND回路892の一方の入力端子は、前記第1のAND回路891の出力端子に接続され、他方の入力端子は前記レジスタ回路706のG<2>端子に接続される。前記第2のAND回路892に隣接する第3のAND回路893の一方の入力端子は、前記第2のAND回路892の出力端子に接続され、他方の入力端子は前記レジスタ回路706のG<3>端子に接続される。前記第3のAND回路893に隣接する第4のAND回路894の一方の入力端子は、前記第3のAND回路893の出力端子に接続され、他方の入力端子は前記レジスタ回路706のG<4>端子に接続される。   Specifically, the binary signal designating unit 890 is composed of four AND circuits (logical product circuits) 891 to 894. One input terminal of the first AND circuit 891 on the most LSB side is connected to the G <0> terminal of the register circuit 706, and the other input terminal is connected to the G <1> terminal of the register circuit 706. One input terminal of the second AND circuit 892 adjacent to the first AND circuit 891 is connected to the output terminal of the first AND circuit 891, and the other input terminal is G <2 of the register circuit 706. > Connected to the terminal. One input terminal of the third AND circuit 893 adjacent to the second AND circuit 892 is connected to the output terminal of the second AND circuit 892, and the other input terminal is G <3 of the register circuit 706. > Connected to the terminal. One input terminal of the fourth AND circuit 894 adjacent to the third AND circuit 893 is connected to the output terminal of the third AND circuit 893, and the other input terminal is G <4 of the register circuit 706. > Connected to the terminal.

また、前記第1のAND回路891の出力端子は、前記セレクタ872,882の切換制御端子に接続される。前記第2のAND回路892の出力端子は、前記セレクタ873,883の切換制御端子に接続される。前記第3のAND回路893の出力端子は、前記セレクタ874,884の切換制御端子に接続される。前記第4のAND回路894の出力端子は、前記セレクタ875,885の切換制御端子に接続される。そして、前記セレクタ871,881の切換制御端子は前記レジスタ回路706のG<0>端子に接続される。   The output terminal of the first AND circuit 891 is connected to the switching control terminals of the selectors 872 and 882. The output terminal of the second AND circuit 892 is connected to the switching control terminal of the selectors 873 and 883. The output terminal of the third AND circuit 893 is connected to the switching control terminal of the selectors 874 and 884. The output terminal of the fourth AND circuit 894 is connected to the switching control terminal of the selectors 875 and 885. The switching control terminals of the selectors 871 and 881 are connected to the G <0> terminal of the register circuit 706.

<動作>
上記構成において、図156の如く、2つの読み出しポートの出力端子DO1<>,DO2<>に関するセレクタ871〜875,881〜885は同一の制御信号、すなわち、レジスタ回路706からのG<0>信号および二値信号指定部890からのF<1>〜F<4>信号により制御される。
<Operation>
In the above configuration, as shown in FIG. 156, the selectors 871 to 875 and 881 to 885 related to the output terminals DO1 <> and DO2 <> of the two read ports have the same control signal, that is, the G <0> signal from the register circuit 706. And it is controlled by F <1> to F <4> signals from the binary signal designating unit 890.

図155では、夫々のポートのテスト結果であるSO1<>およびSO2<>の信号は不良ビットが“0”、不良のないビットが“1”に設定されると仮定している。本実施の形態の場合、読み出しポートが複数(3ポート)あるため、AND回路(論理積回路)706aにて不良情報をポート(SO1<>,SO2<>)間でAND演算し、RAM全体の不良情報を作成する。例えば、ポート1でSO1<2>=“0”になる不良が存在し、ポート2に不良が存在しないと仮定すると、RAM全体ではビット番号2が不良であり、ポート2に関しても冗長回路704d内のセレクタの切り替えが必要である。AND回路706aの働きによりG<2>=“0”,G<0>=G<1>=G<3>=G<4>=G<5>=“1”,になるのでビット番号2を使用しないようにセレクタが切り替えられる。逆にポート番号2に不良が存在したとしても、同様のセレクタ切り替えが行われる。   In FIG. 155, it is assumed that the SO1 <> and SO2 <> signals, which are the test results of the respective ports, are set to “0” for the defective bit and “1” for the non-defective bit. In the present embodiment, since there are a plurality of read ports (3 ports), the AND circuit (logical product circuit) 706a performs AND operation on the defect information between the ports (SO1 <>, SO2 <>), and the entire RAM. Create defect information. For example, if it is assumed that SO1 <2> = “0” exists in port 1 and there is no failure in port 2, bit number 2 is defective in the entire RAM, and port 2 also includes redundancy circuit 704d. It is necessary to switch the selector. Bit number 2 because G <2> = “0” and G <0> = G <1> = G <3> = G <4> = G <5> = “1” by the operation of the AND circuit 706a. The selector is switched so as not to use. Conversely, even if there is a defect in port number 2, the same selector switching is performed.

なお、図151および図152や図153および図154に示したような多ビット冗長回路704a〜704cのような階層構造を図155の回路に適用すれば、当然マルチポートRAMに対しても多ビット不良の救済が行える。   If a hierarchical structure such as the multi-bit redundant circuits 704a to 704c as shown in FIGS. 151 and 152, 153 and 154 is applied to the circuit of FIG. Defects can be remedied.

{変形例}
(1)図16は第1の変形例を示す論理回路図、図17は第2の変形例を示す論理回路図、図18は第3の変形例を示す論理回路図、図19は第4の変形例を示す論理回路図である。これらの変形例は、データ入力信号(D)を必要に応じてパススルーさせることを可能とするものであって、図16、図17、図18および図19中のQはデータ出力端子、271はセレクタ回路である。該セレクタ回路271は、図示しないRAMからのデータ入力信号(D)が入力される信号入力端子“0と、フリップフロップ回路234のデータ出力端子O1に接続される信号入力端子“1”と、外部からの制御信号(INSFF)が入力される一個の制御入力端子とを有している。そして、制御信号(INSFF)がHighのときは信号入力端子“1”に接続されたフリップフロップ回路234のデータ出力端子O1からのデータがデータ出力端子Qに出力される。この場合、実施の形態1乃至実施の形態3と同様の効果を奏し得ることは言うまでもない。一方、制御信号(INSFF)がLowのときは信号入力端子“0”に入力されたデータ入力信号(D)がそのままデータ出力端子Qに出力される。なお、図19に示した第4の変形例中の272はNOT回路、273はOR回路であって、データ入力信号(D)をパススルーさせている間にフリップフロップ回路234のシフト動作を停止させるために設けられている。すなわち、制御信号(INSFF)がLowのとき、データ入力信号(D)はセレクタ回路271を介してデータ出力端子Qに出力されるが、この間、NOT回路272の出力はHighとなり、故にOR回路273の出力は常にHighとなって、クロック信号(T)の立ち上がりの検出を不能とする。これにより、フリップフロップ回路234のシフト禁止を確実に行い、消費電力を低減し得る。
{Modification}
(1) FIG. 16 is a logic circuit diagram showing a first modification, FIG. 17 is a logic circuit diagram showing a second modification, FIG. 18 is a logic circuit diagram showing a third modification, and FIG. FIG. These modifications enable the data input signal (D) to pass through as necessary. In FIG. 16, FIG. 17, FIG. 18 and FIG. 19, Q is a data output terminal, 271 is It is a selector circuit. The selector circuit 271 includes a signal input terminal “0” to which a data input signal (D) from a RAM (not shown) is input, a signal input terminal “1” connected to the data output terminal O 1 of the flip-flop circuit 234, When the control signal (INSFF) is high, the flip-flop circuit 234 connected to the signal input terminal “1” has a control input terminal to which the control signal (INSFF) is input. Data from the data output terminal O1 is output to the data output terminal Q. In this case, it goes without saying that the same effects as those of the first to third embodiments can be obtained, while the control signal (INSFF) is low. In this case, the data input signal (D) inputted to the signal input terminal “0” is outputted as it is to the data output terminal Q. Note that the fourth example shown in FIG. In the example, 272 is a NOT circuit, and 273 is an OR circuit, which is provided to stop the shift operation of the flip-flop circuit 234 while the data input signal (D) is being passed through. When the signal (INSFF) is Low, the data input signal (D) is output to the data output terminal Q via the selector circuit 271. During this time, the output of the NOT circuit 272 is High, and therefore the output of the OR circuit 273 is It always becomes High and disables detection of the rising edge of the clock signal (T), so that the flip-flop circuit 234 can be surely prohibited from shifting and power consumption can be reduced.

(2)また、図20は本発明の第5の変形例を示す論理回路図、図21は本発明の第6の変形例を示す論理回路図である。図20および図21中の253a,253aは、外部からのシフトモード制御信号(SM)に基づいて、シリアル入力信号(SI)とデータ入力信号(D)とを選択して出力するセレクタ回路(セレクタ手段)、254a,264aは、外部からシフト禁止信号(SINH)が入力されたときにフリップフロップ回路234の出力データを帰還させてデータ保持するセレクタ回路(データ保持手段)である。第5の変形例によって実施の形態2と同様の効果を奏し得、また、第6の変形例によって実施の形態3と同様の効果を奏し得る。   (2) FIG. 20 is a logic circuit diagram showing a fifth modification of the present invention, and FIG. 21 is a logic circuit diagram showing a sixth modification of the present invention. 253a and 253a in FIGS. 20 and 21 are selector circuits (selectors) that select and output a serial input signal (SI) and a data input signal (D) based on an external shift mode control signal (SM). Means) 254a and 264a are selector circuits (data holding means) that feed back the output data of the flip-flop circuit 234 and hold the data when a shift inhibition signal (SINH) is inputted from the outside. The fifth modification can provide the same effects as in the second embodiment, and the sixth modification can provide the same effects as in the third embodiment.

(3)図6に示す実施の形態2、図11に示す実施の形態3、図17に示す第2の変形例、図18に示す第3の変形例、および図19に示す第4の変形例において、第1のセレクタ回路252,262の信号入力端子にデータ入力信号(D)を入力し、第2のセレクタ回路253の信号入力端子にシリアル入力信号(SI)を入力していたが、第1のセレクタ回路252,262の信号入力端子にシリアル入力信号(SI)を入力し、第2のセレクタ回路253の信号入力端子にデータ入力信号(D)を入力するよう構成してもよい。この場合でも、上記各実施の形態および各変形例と同様の効果が得られることは言うまでもない。   (3) Embodiment 2 shown in FIG. 6, Embodiment 3 shown in FIG. 11, the second modification shown in FIG. 17, the third modification shown in FIG. 18, and the fourth modification shown in FIG. In the example, the data input signal (D) is input to the signal input terminals of the first selector circuits 252 and 262, and the serial input signal (SI) is input to the signal input terminal of the second selector circuit 253. A serial input signal (SI) may be input to the signal input terminals of the first selector circuits 252 and 262, and a data input signal (D) may be input to the signal input terminal of the second selector circuit 253. Even in this case, it is needless to say that the same effects as those of the above embodiments and modifications can be obtained.

(4)実施の形態4では、カウンタ43を図26に示したように構成していたが、例えば図55(第7の変形例)または図56(第8の変形例)に示すように構成してもよい。図55および図56では、アドレスをインクリメントまたはディクリメントした直後であるか否かを検知しこの時点で1を加算するOR回路(加算素子)と、該OR回路からの信号およびアドレス発生用シフトレジスタ(ADDR)35のフリップフロップα−1が入力されるAND回路と、該AND回路からの信号に基づいてアドレスのインクリメントまたはディクリメント動作直前のアドレス内容を記憶してOR回路に入力するFF(記憶素子)とを備えている。   (4) In the fourth embodiment, the counter 43 is configured as shown in FIG. 26. For example, the counter 43 is configured as shown in FIG. 55 (seventh modified example) or FIG. 56 (eighth modified example). May be. 55 and 56, an OR circuit (adding element) that detects whether or not the address has just been incremented or decremented and adds 1 at this time, and a signal from the OR circuit and an address generation shift register An AND circuit to which the flip-flop α-1 of (ADDR) 35 is input, and an FF (memory that stores the address contents immediately before the address increment or decrement operation based on a signal from the AND circuit and inputs the address contents to the OR circuit. Element).

(5)実施の形態12では、図70のようにYアドレスがない場合の接続方式を適用していたが、図93の如く、4個のXアドレスおよび1個のYアドレスが設定されている場合に、Xアドレスのデータを先頭にするかYアドレスのデータを先頭にするかを、XY切り換え信号(EXXY)にてセレクタ351を切り換えることで選択し得るように構成(第9の変形例)してもよい。さらに、4個のXアドレスおよび3個のYアドレスが設定されている場合には、セレクタ351の接続を図94(第10の変形例)のようにしてもよい。   (5) In the twelfth embodiment, the connection method when there is no Y address as shown in FIG. 70 is applied, but as shown in FIG. 93, four X addresses and one Y address are set. In this case, the configuration is such that the X address data or the Y address data can be selected by switching the selector 351 with the XY switching signal (EXXY) (Ninth Modification). May be. Further, when four X addresses and three Y addresses are set, the connection of the selector 351 may be as shown in FIG. 94 (tenth modification).

(6)実施の形態12では、「0101」または「1010」といったテストデータに容易に対応し得るように、データ出力用スキャンパス332(DO−SCAN)として図68のような構成を採用していたが、テストデータを「0000」または「1111」に限定するような場合等においては、図95に示したような構成(第11の変形例)であってもよい。   (6) In the twelfth embodiment, the configuration as shown in FIG. 68 is adopted as the data output scan path 332 (DO-SCAN) so that the test data such as “0101” or “1010” can be easily handled. However, when the test data is limited to “0000” or “1111”, the configuration shown in FIG. 95 (the eleventh modification) may be used.

さらに、テストデータを「0000」または「1111」に限定するような場合等においては、図96に示した構成(第12の変形例)であってもよい。この場合、期待データ(EXP)信号および比較イネーブル信号(CMPEN)を各スキャンFF(「D」)に直接入力するのではなく、NOT回路、NAND回路およびNOR回路を有する論理回路部352を介して変換期待データ(EXP0,EXP1C)信号に変換してテストデータを与える。   Furthermore, when the test data is limited to “0000” or “1111”, the configuration shown in FIG. 96 (a twelfth modification) may be used. In this case, the expected data (EXP) signal and the comparison enable signal (CMPEN) are not directly input to each scan FF (“D”), but via the logic circuit unit 352 having a NOT circuit, a NAND circuit, and a NOR circuit. Test data is provided after conversion into conversion expected data (EXP0, EXP1C) signals.

さらにまた、実施の形態12と同様にテストデータを「0101」または「1010」とする場合、図97に示した構成(第13の変形例)または図98に示した構成(第14の変形例)であってもよい。この場合、期待データ(EXP)信号および比較イネーブル信号(CMPEN)は、NOT回路、NAND回路およびNOR回路等を有する論理回路部353,354を介して変換期待データ(EXP0,EXP1C)信号に変換してテストデータを与える。そうすると、図68と同様、「0101」または「1010」といったテストデータに容易に対応し得る。   Furthermore, when the test data is “0101” or “1010” as in the twelfth embodiment, the configuration shown in FIG. 97 (the thirteenth modification) or the configuration shown in FIG. 98 (the fourteenth modification) ). In this case, the expected data (EXP) signal and the comparison enable signal (CMPEN) are converted into converted expected data (EXP0, EXP1C) signals via logic circuit units 353 and 354 having NOT circuits, NAND circuits, NOR circuits, and the like. Give test data. Then, like FIG. 68, test data such as “0101” or “1010” can be easily handled.

(7)実施の形態12においては、スキャンFFとして、前記した実施の形態1乃至実施の形態3、および第1の変形例乃至第6の変形例の回路を適用していたが、期待データ信号との比較をする必要がない場合は、例えば図99に示すような構造(第15の変形例)を適用してもよい。この場合のデータ取り込み時の動作タイミングチャートは図100のように、シフト動作を示すタイミングチャートは図101のように、シフト禁止動作を示すタイミングチャートは図102のようになる。   (7) In the twelfth embodiment, the circuits of the first to third embodiments and the first to sixth modifications described above are applied as scan FFs. For example, a structure (fifteenth modification) as shown in FIG. 99 may be applied. The operation timing chart at the time of data acquisition in this case is as shown in FIG. 100, the timing chart showing the shift operation is as shown in FIG. 101, and the timing chart showing the shift prohibition operation is as shown in FIG.

あるいは、図103に示すような構造(第16の変形例)であってもよい。この場合のデータ取り込み時の動作タイミングチャートは図104のように、シフト動作を示すタイミングチャートは図105のように、シフト禁止動作を示すタイミングチャートは図106のようになる。   Alternatively, a structure as shown in FIG. 103 (sixteenth modification) may be used. The operation timing chart at the time of data acquisition in this case is as shown in FIG. 104, the timing chart showing the shift operation is as shown in FIG. 105, and the timing chart showing the shift prohibition operation is as shown in FIG.

さらに、制御信号(SINH)を省略できる場合は、図107に示すような構造(第17の変形例)であってもよい。この場合のデータ取り込み時の動作タイミングチャートは図108のように、シフト動作を示すタイミングチャートは図109のようになる。   Further, when the control signal (SINH) can be omitted, a structure as shown in FIG. 107 (a seventeenth modified example) may be used. The operation timing chart at the time of data acquisition in this case is as shown in FIG. 108, and the timing chart showing the shift operation is as shown in FIG.

さらに、制御信号(SINH)を省略できる場合は、図110に示すような構造(第18の変形例)であってもよい。この場合のデータ取り込み時の動作タイミングチャートは図111のように、シフト動作を示すタイミングチャートは図112のようになる。   Furthermore, when the control signal (SINH) can be omitted, a structure as shown in FIG. 110 (an eighteenth modification) may be used. In this case, the operation timing chart at the time of data acquisition is as shown in FIG. 111, and the timing chart showing the shift operation is as shown in FIG.

(8)実施の形態12における図64および図65、実施の形態14における図87および図88、実施の形態15における図91および図92の回路に代えて、図113および図114に示す回路(第19の変形例)を適用してもよい。図113および図114はE−E線にて破断されている。ここで、図91および図92に示した実施の形態15が1Write 1Readの2ポートRAMであったのに対して、図113および図114に示す第19の変形例は1Write 2Readの3ポートRAMである。A0<MSB:0>はマルチプレクサ方式の書き込み用(Write)アドレス、A1<MSB:0>およびA2<MSB:0>はマルチプレクサ方式の読み出し用(Read)アドレスである。なお、図115に第19の変形例の半導体メモリの検査装置のRAMコア331の書き込み用ポートの状態を示すタイミングチャートを、図116に同じくRAMコア331の読み出し用ポートの状態を示すタイミングチャートを図117に3ポートRAM全体の書き込み用ポートの状態を示すタイミングチャートを、図118に3ポートRAM全体の読み出し用ポートの状態を示すタイミングチャートを示しておく。なお、図113および図114におけるT0,T1,T2はクロック信号であり、これらは互いに異なる周波数を設定することが可能である。   (8) Circuits shown in FIGS. 113 and 114 in place of the circuits of FIGS. 64 and 65 in the twelfth embodiment, FIGS. 87 and 88 in the fourteenth embodiment, and FIGS. 91 and 92 in the fifteenth embodiment (FIG. The nineteenth modification) may be applied. 113 and 114 are broken along the line EE. Here, the fifteenth embodiment shown in FIGS. 91 and 92 is a 1-write 1-read 2-port RAM, whereas the 19th modification shown in FIGS. 113 and 114 is a 1-write 2-read 3-port RAM. is there. A0 <MSB: 0> is a multiplexer-type write address, and A1 <MSB: 0> and A2 <MSB: 0> are multiplexer-type read addresses. FIG. 115 is a timing chart showing the state of the write port of the RAM core 331 of the semiconductor memory inspection device of the nineteenth modification, and FIG. 116 is a timing chart showing the state of the read port of the RAM core 331 as well. 117 shows a timing chart showing the state of the write port of the entire 3-port RAM, and FIG. 118 shows a timing chart showing the state of the read port of the entire 3-port RAM. Note that T0, T1, and T2 in FIGS. 113 and 114 are clock signals, and these can set different frequencies.

(9)また、図113および図114に示す第19の変形例の回路に代えて、図119および図120に示す回路(第20の変形例)を適用してもよい。図119および図120はF−F線にて破断されている。第20の変形例の回路は2個のポートを書き込み(Write)および読み出し(Read)のいずれにも兼用しようというものである(2ポートRAM)。   (9) Instead of the circuit of the nineteenth modification shown in FIGS. 113 and 114, the circuit shown in FIGS. 119 and 120 (the twentieth modification) may be applied. 119 and 120 are broken at the line FF. The circuit of the twentieth modification is one in which two ports are used for both writing (Write) and reading (Read) (2-port RAM).

(10)実施の形態16におけるB−SCANとして、図123に示す構造のものを適用していたが、図124(第21の変形例)および図125(第22の変形例)に示したもののうちいずれかを用いればよい。図124に示した回路は、4個のXアドレスおよび1個のYアドレスが設定されている場合に、図123に示した回路に代えて、Xアドレスのデータを先頭にするかYアドレスのデータを先頭にするかを、XY切り換え信号(EXXY)にてセレクタ351を切り換えることで選択し得るように構成したものであり、第9の変形例(図93)に類似した構成とされている。また、図125に示した回路は、4個のXアドレスおよび3個のYアドレスが設定されている場合に、図123および図124に示した回路に代えて用いられるもので、第10の変形例(図94)に類似して構成されている。   (10) Although the structure shown in FIG. 123 is applied as the B-SCAN in the sixteenth embodiment, it is shown in FIG. 124 (21st modification) and FIG. 125 (22nd modification). Any one of them may be used. 124, when four X addresses and one Y address are set, instead of the circuit shown in FIG. 123, the data of the X address is set to the head or the data of the Y address. Can be selected by switching the selector 351 with an XY switching signal (EXXY), which is similar to the ninth modification (FIG. 93). The circuit shown in FIG. 125 is used in place of the circuits shown in FIGS. 123 and 124 when four X addresses and three Y addresses are set. The configuration is similar to the example (FIG. 94).

ただし、図124乃至図125の回路は、図93および図94に示された回路と異なり、CHDIR信号が「1」に設定された場合にテストアドレス端子TA(TA0,TA1,TA2,…)側が選択される。図121に示すように、テストアドレス端子TAはRAMKピンとして設けられる。したがって、任意の順序でアドレスを設定しテストを行うことができる。つまり、B−SCANはCHDIR信号が「0」の状態ではシリアルシフト動作によるアドレス設定が可能である。また、CHDIR信号が「1」の状態では、テストアドレス端子TAによりパラレルにアドレス設定が可能である。なお、テストアドレス端子TAに対するアドレス信号はLSIの外部ピンから与えてもよいし、LSI内部に搭載したテスト用アドレス発生回路(図60の301に相当)により与えてもよい。このテスト用アドレス発生回路は、メモリLSIテスト装置に備えられているようなアルゴリズミックパターン発生器を用いればよい。   However, unlike the circuits shown in FIGS. 93 and 94, the circuits shown in FIGS. 124 to 125 have the test address terminals TA (TA0, TA1, TA2,...) Side when the CHDIR signal is set to “1”. Selected. As shown in FIG. 121, the test address terminal TA is provided as a RAMK pin. Therefore, the address can be set and tested in an arbitrary order. That is, B-SCAN can set an address by a serial shift operation when the CHDIR signal is “0”. When the CHDIR signal is “1”, addresses can be set in parallel by the test address terminal TA. An address signal for the test address terminal TA may be supplied from an external pin of the LSI, or may be supplied from a test address generation circuit (corresponding to 301 in FIG. 60) mounted in the LSI. As the test address generation circuit, an algorithmic pattern generator as provided in a memory LSI test apparatus may be used.

(11)図126および図127に示した回路は、図91および図92に示した実施の形態15(1Write 1Readの2ポートRAM)の変形例(第23の変形例)である。図126および図127はH−H線にて破断されている。第23の変形例では、B−SCAN−0とB−SCAN−1のテストアドレス端子TAを共通に接続してRAMのピンとして設けている。別々のアドレスを与えるテストを行う必要がある場合は、B−SCAN−0とB−SCAN−1で独立した2系統のテストアドレス端子TAをRAMピンとして設けてもよい。   (11) The circuit shown in FIGS. 126 and 127 is a modification (a twenty-third modification) of the fifteenth embodiment (2-write RAM of 1 Write 1 Read) shown in FIGS. 91 and 92. 126 and 127 are broken along the line HH. In the twenty-third modification, the test address terminals TA of B-SCAN-0 and B-SCAN-1 are connected in common and are provided as RAM pins. When it is necessary to perform a test that gives different addresses, two independent test address terminals TA for B-SCAN-0 and B-SCAN-1 may be provided as RAM pins.

(12)図128および図129に示した回路は、図113および図114に示した第19の変形例の回路のさらなる変形例(第24の変形例)である。図128および図129はI−I線にて破断されている。第24の変形例では、第19の変形例(図113および図114)のアドレス入力用スキャンパス332(A−SCAN)に代えてB−SCANが用いられている。図128および図129では、B−SCAN−0、B−SCAN−1およびB−SCAN−2のテストアドレス端子TAを共通に接続してRAMのピンとして設けている。なお、別々のアドレスを与えるテストを行う場合は、独立のテストアドレス端子TAをRAMピンとして設けても良い。   (12) The circuits shown in FIGS. 128 and 129 are further modified examples (24th modified example) of the circuit of the 19th modified example shown in FIGS. 113 and 114. 128 and 129 are cut away along the line II. In the twenty-fourth modification, B-SCAN is used instead of the address input scan path 332 (A-SCAN) in the nineteenth modification (FIGS. 113 and 114). 128 and 129, the test address terminals TA of B-SCAN-0, B-SCAN-1 and B-SCAN-2 are connected in common and provided as RAM pins. In the case of performing a test that gives different addresses, an independent test address terminal TA may be provided as a RAM pin.

(13)図130および図131に示した回路は、図119および図120に示した第20の変形例のさらなる変形例(第25の変形例)である。図130および図131はJ−J線にて破断されている。第25の変形例では、第20の変形例(図119および図120)中のアドレス入力用スキャンパス332(A−SCAN)に代えてB−SCANが用いられている。図130および図131では、B−SCAN−0とB−SCAN−1のテストアドレス端子TAを共通に接続してRAMのピンとして設けている。別々のアドレスを与えるテストを行う必要がある場合には、B−SCAN−0とB−SCAN−1で独立した2系統のテストアドレス端子TAをRAM用のピンとして設けてもよい。   (13) The circuits shown in FIGS. 130 and 131 are further modified examples (25th modified example) of the twentieth modified example shown in FIGS. 119 and 120. 130 and 131 are broken along the line JJ. In the twenty-fifth modification, B-SCAN is used instead of the address input scan path 332 (A-SCAN) in the twentieth modification (FIGS. 119 and 120). 130 and 131, the test address terminals TA of B-SCAN-0 and B-SCAN-1 are connected in common and provided as RAM pins. When it is necessary to perform a test that gives different addresses, two independent test address terminals TA for B-SCAN-0 and B-SCAN-1 may be provided as pins for RAM.

(14)実施の形態19および実施の形態20で説明したセルフテスト回路702は、図143および図147に限定するものではない。例えば、セルフテスト回路702は通常のランダムロジック回路で構成してもよい。   (14) The self-test circuit 702 described in the nineteenth and twentieth embodiments is not limited to FIGS. 143 and 147. For example, the self test circuit 702 may be configured by a normal random logic circuit.

(15)上記各実施の形態では、前記テスト回路付きRAM703からのテスト結果がシステムの通常動作時に変化してしまうため、図142、図144、図150、および図155のようにレジスタ回路706を設け、これにデータを記憶させて保持していたが、テスト回路付きRAM703からのテスト結果がシステムの通常動作時に変化しない場合(例えば、図1、または、図6,図11,図17,図18,図19,図20,図21のように、データ帰還用のループ配線が設けられた複数のフリップフロップが設けられている場合)は、レジスタ回路706を省略しても差し支えない。   (15) In each of the above embodiments, the test result from the RAM 703 with a test circuit changes during the normal operation of the system. Therefore, the register circuit 706 is changed as shown in FIGS. 142, 144, 150, and 155. When the test result from the RAM 703 with the test circuit does not change during the normal operation of the system (for example, FIG. 1, or FIG. 6, FIG. 11, FIG. 17, FIG. 18, 19, 20, and 21, the register circuit 706 may be omitted in the case where a plurality of flip-flops provided with a loop wiring for data feedback are provided.

(16)図153および図154に示した実施の形態23の回路は2段階の階層的な冗長回路を構成していたが、かかる階層を増やすことにより更に多ビットの不良救済が行える。例えば、3ビット救済を行うには、破線で囲まれた部分を1ビット分減らした回路をさらに追加すればよい。なお、図153および図154は不良ビットの検索はLSB(最小桁ビット)側からに限定して示したが、どのような検索順序でもよい(MSB(最大桁ビット)側からでもよいし、ランダムな順序でもよい)。   (16) Although the circuit of the twenty-third embodiment shown in FIGS. 153 and 154 constitutes a two-stage hierarchical redundancy circuit, multi-bit defect relief can be performed by increasing the number of such layers. For example, in order to perform 3-bit relief, a circuit in which a portion surrounded by a broken line is reduced by 1 bit may be added. In FIG. 153 and FIG. 154, the search for defective bits is limited to the LSB (minimum digit bit) side. However, any search order may be used (MSB (maximum digit bit) side or random). Order).

(17)上記各実施の形態では、二値信号指定部740について下位ビット側から不良ビットを検出していたが、上位ビット側から不良ビットを検出してもよい。この場合、実施の形態22の第2の二値信号指定部800は下位ビット側から不良ビットを検出し、また、実施の形態23の第2の二値信号指定部840は上位ビット側から不良ビットを検出しても、下位ビット側から不良ビットを検出してもよい。   (17) In each of the above embodiments, the defective bit is detected from the lower bit side of the binary signal specifying unit 740, but the defective bit may be detected from the upper bit side. In this case, the second binary signal designating unit 800 of the twenty-second embodiment detects a defective bit from the lower bit side, and the second binary signal designating unit 840 of the twenty-third embodiment is defective from the upper bit side. Even if a bit is detected, a defective bit may be detected from the lower bit side.

本発明の実施の形態1の半導体メモリの検査装置を示す論理回路図である。1 is a logic circuit diagram showing a semiconductor memory inspection device according to a first embodiment of the present invention. 本発明の実施の形態1の半導体メモリの検査装置のフリップフロップ回路のデータ取り込み時の動作を示すタイミングチャートである。6 is a timing chart showing an operation at the time of data fetching of the flip-flop circuit of the semiconductor memory inspection device according to the first embodiment of the present invention; 本発明の実施の形態1の半導体メモリの検査装置のフリップフロップ回路のシフト動作を示すタイミングチャートである。6 is a timing chart showing a shift operation of the flip-flop circuit of the semiconductor memory inspection device according to the first embodiment of the present invention; 本発明の実施の形態1の半導体メモリの検査装置のフリップフロップ回路のシフト禁止動作を示すタイミングチャートである。6 is a timing chart showing a shift prohibiting operation of the flip-flop circuit of the semiconductor memory inspection device according to the first embodiment of the present invention; 本発明の実施の形態1の半導体メモリの検査装置の比較回路の比較動作を示すタイミングチャートである。6 is a timing chart showing a comparison operation of the comparison circuit of the semiconductor memory inspection device according to the first embodiment of the present invention; 本発明の実施の形態2の半導体メモリの検査装置を示す論理回路図である。It is a logic circuit diagram which shows the test | inspection apparatus of the semiconductor memory of Embodiment 2 of this invention. 本発明の実施の形態2の半導体メモリの検査装置のフリップフロップ回路のデータ取り込み時の動作を示すタイミングチャートである。It is a timing chart which shows the operation | movement at the time of the data capture of the flip-flop circuit of the inspection apparatus of the semiconductor memory of Embodiment 2 of this invention. 本発明の実施の形態2の半導体メモリの検査装置のフリップフロップ回路のシフト動作を示すタイミングチャートである。It is a timing chart which shows the shift operation | movement of the flip-flop circuit of the test | inspection apparatus of the semiconductor memory of Embodiment 2 of this invention. 本発明の実施の形態2の半導体メモリの検査装置のフリップフロップ回路のシフト禁止動作を示すタイミングチャートである。It is a timing chart which shows the shift prohibition operation | movement of the flip-flop circuit of the test | inspection apparatus of the semiconductor memory of Embodiment 2 of this invention. 本発明の実施の形態2の半導体メモリの検査装置の比較回路の比較動作を示すタイミングチャートである。It is a timing chart which shows the comparison operation | movement of the comparison circuit of the test | inspection apparatus of the semiconductor memory of Embodiment 2 of this invention. 本発明の実施の形態3の半導体メモリの検査装置を示す論理回路図である。It is a logic circuit diagram which shows the test | inspection apparatus of the semiconductor memory of Embodiment 3 of this invention. 本発明の実施の形態3の半導体メモリの検査装置のフリップフロップ回路のデータ取り込み時の動作を示すタイミングチャートである。It is a timing chart which shows the operation | movement at the time of the data capture of the flip-flop circuit of the inspection apparatus of the semiconductor memory of Embodiment 3 of this invention. 本発明の実施の形態3の半導体メモリの検査装置のフリップフロップ回路のシフト動作を示すタイミングチャートである。It is a timing chart which shows the shift operation | movement of the flip-flop circuit of the test | inspection apparatus of the semiconductor memory of Embodiment 3 of this invention. 本発明の実施の形態3の半導体メモリの検査装置のフリップフロップ回路のシフト禁止動作を示すタイミングチャートである。It is a timing chart which shows the shift prohibition operation | movement of the flip-flop circuit of the test | inspection apparatus of the semiconductor memory of Embodiment 3 of this invention. 本発明の実施の形態3の半導体メモリの検査装置の比較回路の比較動作を示すタイミングチャートである。It is a timing chart which shows the comparison operation | movement of the comparison circuit of the test | inspection apparatus of the semiconductor memory of Embodiment 3 of this invention. 本発明の第1の変形例を示す論理回路図である。It is a logic circuit diagram which shows the 1st modification of this invention. 本発明の第2の変形例を示す論理回路図である。It is a logic circuit diagram which shows the 2nd modification of this invention. 本発明の第3の変形例を示す論理回路図である。It is a logic circuit diagram which shows the 3rd modification of this invention. 本発明の第4の変形例を示す論理回路図である。It is a logic circuit diagram which shows the 4th modification of this invention. 本発明の第5の変形例を示す論理回路図である。It is a logic circuit diagram which shows the 5th modification of this invention. 本発明の第6の変形例を示す論理回路図である。It is a logic circuit diagram which shows the 6th modification of this invention. 第1の従来例の半導体メモリの検査装置のスキャンレジスタを示す回路図である。It is a circuit diagram which shows the scan register of the test | inspection apparatus of the semiconductor memory of the 1st prior art example. 図22に示した第1の従来例のスキャンレジスタにより構成したスキャンレジスタを示すブロック図である。It is a block diagram which shows the scan register comprised by the scan register of the 1st prior art example shown in FIG. 本発明の実施の形態4の検査装置に複数個の半導体メモリを接続した状態を示すブロック図である。It is a block diagram which shows the state which connected the several semiconductor memory to the test | inspection apparatus of Embodiment 4 of this invention. 本発明の実施の形態4の半導体メモリの検査装置を示す回路ブロック図である。It is a circuit block diagram which shows the test | inspection apparatus of the semiconductor memory of Embodiment 4 of this invention. 本発明の実施の形態4の半導体メモリの検査装置における算術論理演算部の論理構成等を示す回路ブロック図である。It is a circuit block diagram which shows the logic structure etc. of the arithmetic logic operation part in the test | inspection apparatus of the semiconductor memory of Embodiment 4 of this invention. 本発明の実施の形態4の半導体メモリの検査装置の半加算器の内部構成を示す回路図である。It is a circuit diagram which shows the internal structure of the half adder of the test | inspection apparatus of the semiconductor memory of Embodiment 4 of this invention. 本発明の実施の形態4の半導体メモリの検査装置において四次のテストパターンの発生動作を示す回路ブロック図である。It is a circuit block diagram which shows the generation | occurrence | production operation | movement of a quaternary test pattern in the semiconductor memory test | inspection apparatus of Embodiment 4 of this invention. 本発明の実施の形態4の半導体メモリの検査装置において四次のテストパターンり発生時の等価回路を示す回路ブロック図である。It is a circuit block diagram which shows the equivalent circuit at the time of quaternary test pattern generation | occurrence | production in the inspection apparatus of the semiconductor memory of Embodiment 4 of this invention. 本発明の実施の形態4の半導体メモリの検査装置におけるカウント動作を示す回路ブロック図である。It is a circuit block diagram which shows the count operation | movement in the semiconductor memory test | inspection apparatus of Embodiment 4 of this invention. 本発明の実施の形態4の半導体メモリの検査装置におけるカウント時の等価回路を示す回路ブロック図である。It is a circuit block diagram which shows the equivalent circuit at the time of the count in the semiconductor memory test | inspection apparatus of Embodiment 4 of this invention. 本発明の実施の形態5の半導体メモリの検査装置を示す回路ブロック図である。It is a circuit block diagram which shows the test | inspection apparatus of the semiconductor memory of Embodiment 5 of this invention. 本発明の実施の形態5の半導体メモリの検査装置における算術論理演算部の論理構成を示す回路ブロック図である。It is a circuit block diagram which shows the logic structure of the arithmetic logic operation part in the test | inspection apparatus of the semiconductor memory of Embodiment 5 of this invention. 本発明の実施の形態5の半導体メモリの検査装置の動作時の回路ブロック図である。It is a circuit block diagram at the time of operation | movement of the test | inspection apparatus of the semiconductor memory of Embodiment 5 of this invention. 本発明の実施の形態6の半導体メモリの検査装置を示す回路ブロック図である。It is a circuit block diagram which shows the test | inspection apparatus of the semiconductor memory of Embodiment 6 of this invention. 本発明の実施の形態6の半導体メモリの検査装置の動作時の等価回路を示す回路ブロック図である。It is a circuit block diagram which shows the equivalent circuit at the time of operation | movement of the test | inspection apparatus of the semiconductor memory of Embodiment 6 of this invention. 本発明の実施の形態7の半導体メモリの検査装置を示す回路ブロック図である。It is a circuit block diagram which shows the test | inspection apparatus of the semiconductor memory of Embodiment 7 of this invention. 本発明の実施の形態7の半導体メモリの検査装置の動作時の状態を示す回路ブロック図である。It is a circuit block diagram which shows the state at the time of operation | movement of the test | inspection apparatus of the semiconductor memory of Embodiment 7 of this invention. 本発明の実施の形態8の半導体メモリの機能テスト時のチェッカーボードパターンを示す図である。It is a figure which shows the checkerboard pattern at the time of the function test of the semiconductor memory of Embodiment 8 of this invention. 本発明の実施の形態8の半導体メモリの検査装置のチェッカーボードパターンが記憶された二次元パターン記憶部を示す図である。It is a figure which shows the two-dimensional pattern memory | storage part in which the checkerboard pattern of the semiconductor memory test | inspection apparatus of Embodiment 8 of this invention was memorize | stored. 本発明の実施の形態8の半導体メモリの検査装置のチェッカーボードパターン生成時の等価回路を示す図である。It is a figure which shows the equivalent circuit at the time of the checkerboard pattern production | generation of the test | inspection apparatus of the semiconductor memory of Embodiment 8 of this invention. 本発明の実施の形態8の半導体メモリの機能テスト時のカラムバーパターンを示す図である。It is a figure which shows the column bar pattern at the time of the function test of the semiconductor memory of Embodiment 8 of this invention. 本発明の実施の形態8の半導体メモリの検査装置のカラムバーパターンが記憶された二次元パターン記憶部を示す図である。It is a figure which shows the two-dimensional pattern memory | storage part by which the column bar pattern of the semiconductor memory test | inspection apparatus of Embodiment 8 of this invention was memorize | stored. 本発明の実施の形態8の半導体メモリの検査装置のカラムバーパターン生成時の等価回路を示す図である。It is a figure which shows the equivalent circuit at the time of the column bar pattern production | generation of the semiconductor memory test | inspection apparatus of Embodiment 8 of this invention. 本発明の実施の形態8の半導体メモリの機能テスト時のローバーパターンを示す図である。It is a figure which shows the rover pattern at the time of the function test of the semiconductor memory of Embodiment 8 of this invention. 本発明の実施の形態8の半導体メモリの検査装置のローバーパターンが記憶された二次元パターン記憶部を示す図である。It is a figure which shows the two-dimensional pattern memory | storage part by which the rover pattern of the inspection apparatus of the semiconductor memory of Embodiment 8 of this invention was memorize | stored. 本発明の実施の形態8の半導体メモリの検査装置のローバーパターン生成時の等価回路を示す図である。It is a figure which shows the equivalent circuit at the time of the rover pattern production | generation of the semiconductor memory test | inspection apparatus of Embodiment 8 of this invention. 本発明の実施の形態9の半導体メモリの検査装置を示す回路ブロック図である。It is a circuit block diagram which shows the test | inspection apparatus of the semiconductor memory of Embodiment 9 of this invention. 本発明の実施の形態9の検査装置に複数個の半導体メモリを接続した状態を示すブロック図である。It is a block diagram which shows the state which connected the some semiconductor memory to the test | inspection apparatus of Embodiment 9 of this invention. 本発明の実施の形態10の半導体メモリの検査装置を示す回路ブロック図である。It is a circuit block diagram which shows the test | inspection apparatus of the semiconductor memory of Embodiment 10 of this invention. 本発明の実施の形態10の半導体メモリの検査装置における各入力端子の設定を示す図である。It is a figure which shows the setting of each input terminal in the test | inspection apparatus of the semiconductor memory of Embodiment 10 of this invention. 本発明の実施の形態10の半導体メモリの検査装置のダイナミックバーイン用パターン発生回路の論理構成等を示す回路ブロック図である。It is a circuit block diagram which shows the logic structure etc. of the pattern generation circuit for dynamic burn-ins of the test | inspection apparatus of the semiconductor memory of Embodiment 10 of this invention. 本発明の実施の形態10の半導体メモリと検査装置との接続状態を示す回路ブロック図である。It is a circuit block diagram which shows the connection state of the semiconductor memory of Embodiment 10 of this invention, and a test | inspection apparatus. 本発明の実施の形態11の半導体メモリの検査装置の論理構成を示す回路ブロック図である。It is a circuit block diagram which shows the logic structure of the test | inspection apparatus of the semiconductor memory of Embodiment 11 of this invention. 本発明の第7の変形例の半導体メモリの検査装置の半加算器の内部構成を示す回路図である。It is a circuit diagram which shows the internal structure of the half adder of the test | inspection apparatus of the semiconductor memory of the 7th modification of this invention. 本発明の第8の変形例の半導体メモリの検査装置の半加算器の内部構成を示す回路図である。It is a circuit diagram which shows the internal structure of the half adder of the test | inspection apparatus of the semiconductor memory of the 8th modification of this invention. 第2の従来例の半導体メモリの検査装置を示す回路ブロック図である。It is a circuit block diagram which shows the test | inspection apparatus of the semiconductor memory of the 2nd prior art example. 第2の従来例の半導体メモリの検査装置の一部を示す回路ブロック図である。It is a circuit block diagram which shows a part of test | inspection apparatus of the semiconductor memory of the 2nd prior art example. 第3の従来例の半導体メモリの検査装置に複数個の半導体メモリを接続した状態を示すブロック図である。It is a block diagram which shows the state which connected the several semiconductor memory to the test | inspection apparatus of the semiconductor memory of the 3rd prior art example. 提案例の半導体メモリの検査装置を示すブロック図である。It is a block diagram which shows the test | inspection apparatus of the semiconductor memory of a proposal example. 提案例の半導体メモリの検査装置の動作を示す図である。It is a figure which shows operation | movement of the test | inspection apparatus of the semiconductor memory of a proposal example. 本発明の実施の形態12の半導体メモリの検査装置のRAMの接続状態を示す図である。It is a figure which shows the connection state of RAM of the test | inspection apparatus of the semiconductor memory of Embodiment 12 of this invention. 本発明の実施の形態12の半導体メモリの検査装置のRAMコアおよびテスト回路を示すブロック図である。It is a block diagram which shows the RAM core and test circuit of the test | inspection apparatus of the semiconductor memory of Embodiment 12 of this invention. 本発明の実施の形態12の半導体メモリの検査装置のRAMコアおよびテスト回路を示すブロック図である。It is a block diagram which shows the RAM core and test circuit of the test | inspection apparatus of the semiconductor memory of Embodiment 12 of this invention. 本発明の実施の形態12の半導体メモリの検査装置のRAMコアおよびテスト回路を示すブロック図である。It is a block diagram which shows the RAM core and test circuit of the test | inspection apparatus of the semiconductor memory of Embodiment 12 of this invention. 本発明の実施の形態12の半導体メモリの検査装置のデータ入力用スキャンパスを示すブロック図である。It is a block diagram which shows the scan path for data inputs of the test | inspection apparatus of the semiconductor memory of Embodiment 12 of this invention. 本発明の実施の形態12のアドレス入力用スキャンパスおよびデータ入力用スキャンパスの内部回路を示すブロック図である。It is a block diagram which shows the internal circuit of the scan path for address input and the scan path for data input of Embodiment 12 of this invention. 本発明の実施の形態12の半導体メモリの検査装置のデータ出力用スキャンパスを示すブロック図である。It is a block diagram which shows the scan path for data output of the inspection apparatus of the semiconductor memory of Embodiment 12 of this invention. 本発明の実施の形態12のデータ出力用スキャンパスの内部回路を示すブロック図である。It is a block diagram which shows the internal circuit of the scan path for data output of Embodiment 12 of this invention. 本発明の実施の形態12の半導体メモリの検査装置について複数個のRAMを連結した状態を示す図である。It is a figure which shows the state which connected several RAM about the inspection apparatus of the semiconductor memory of Embodiment 12 of this invention. 一般的なライトパルス発生器を示す図である。It is a figure which shows a general write pulse generator. ライトパルス発生器の動作を示すタイミングチャートである。It is a timing chart which shows operation | movement of a write pulse generator. 本発明の実施の形態12の半導体メモリの検査装置におけるBIST信号およびSI信号の状態を示す図である。It is a figure which shows the state of the BIST signal and SI signal in the inspection apparatus of the semiconductor memory of Embodiment 12 of this invention. 本発明の実施の形態12のスキャンテスト動作を示すフローチャートである。It is a flowchart which shows the scan test operation | movement of Embodiment 12 of this invention. 本発明の実施の形態12のRAMテスト動作を示すフローチャートである。It is a flowchart which shows RAM test operation | movement of Embodiment 12 of this invention. 本発明の実施の形態12の半導体メモリの検査装置の動作を示す図である。It is a figure which shows operation | movement of the test | inspection apparatus of the semiconductor memory of Embodiment 12 of this invention. 本発明の実施の形態12のシングルポートRAMの各端子の状態を示すタイミングチャートである。It is a timing chart which shows the state of each terminal of the single port RAM of Embodiment 12 of this invention. 本発明の実施の形態12のRAMコアの状態を示すタイミングチャートである。It is a timing chart which shows the state of the RAM core of Embodiment 12 of this invention. 本発明の実施の形態12の半導体メモリの検査装置におけるSINH1信号の状態を示す図である。It is a figure which shows the state of SINH1 signal in the test | inspection apparatus of the semiconductor memory of Embodiment 12 of this invention. 本発明の実施の形態12の半導体メモリの検査装置におけるSI信号の入力例を示す図である。It is a figure which shows the example of input of the SI signal in the test | inspection apparatus of the semiconductor memory of Embodiment 12 of this invention. 本発明の実施の形態12の半導体メモリの検査装置におけるSI信号に対するSINH−FF信号、RUNBIST信号、SINH0信号およびSINH1信号の状態を示す図である。It is a figure which shows the state of the SINH-FF signal with respect to SI signal, the RUNBIST signal, the SINH0 signal, and the SINH1 signal in the inspection apparatus of the semiconductor memory of Embodiment 12 of this invention. 本発明の実施の形態13の半導体メモリの検査装置を示すブロック図である。It is a block diagram which shows the test | inspection apparatus of the semiconductor memory of Embodiment 13 of this invention. 本発明の実施の形態13の半導体メモリの検査装置におけるBIST信号およびSI信号の状態を示す図である。It is a figure which shows the state of the BIST signal and SI signal in the inspection apparatus of the semiconductor memory of Embodiment 13 of this invention. 本発明の実施の形態13の半導体メモリの検査装置におけるSI信号の入力例を示す図である。It is a figure which shows the example of input of the SI signal in the test | inspection apparatus of the semiconductor memory of Embodiment 13 of this invention. 本発明の実施の形態13の半導体メモリの検査装置におけるSI信号に対するSINH−FF信号、RUNBIST信号、SINH0信号およびSINH1信号の状態を示す図である。It is a figure which shows the state of the SINH-FF signal with respect to SI signal, the RUNBIST signal, the SINH0 signal, and the SINH1 signal in the semiconductor memory test | inspection apparatus of Embodiment 13 of this invention. 本発明の実施の形態13の半導体メモリの検査装置におけるSINH1信号の状態を示す図である。It is a figure which shows the state of SINH1 signal in the test | inspection apparatus of the semiconductor memory of Embodiment 13 of this invention. 本発明の実施の形態14の半導体メモリの検査装置のRAMコアおよびテスト回路を示すブロック図である。It is a block diagram which shows the RAM core and test circuit of the test | inspection apparatus of the semiconductor memory of Embodiment 14 of this invention. 本発明の実施の形態14の半導体メモリの検査装置のRAMコアおよびテスト回路を示すブロック図である。It is a block diagram which shows the RAM core and test circuit of the test | inspection apparatus of the semiconductor memory of Embodiment 14 of this invention. 本発明の実施の形態14の半導体メモリの検査装置を示す図である。It is a figure which shows the test | inspection apparatus of the semiconductor memory of Embodiment 14 of this invention. 本発明の実施の形態14の半導体メモリの検査装置を示す図である。It is a figure which shows the test | inspection apparatus of the semiconductor memory of Embodiment 14 of this invention. 本発明の実施の形態15の半導体メモリの検査装置のRAMコアおよびテスト回路を示すブロック図である。It is a block diagram which shows the RAM core and test circuit of the semiconductor memory test | inspection apparatus of Embodiment 15 of this invention. 本発明の実施の形態15の半導体メモリの検査装置のRAMコアおよびテスト回路を示すブロック図である。It is a block diagram which shows the RAM core and test circuit of the semiconductor memory test | inspection apparatus of Embodiment 15 of this invention. 第9の変形例の半導体メモリの検査装置において複数個のアドレスが連結された状態を示すブロック図である。It is a block diagram which shows the state with which the several address was connected in the test | inspection apparatus of the semiconductor memory of a 9th modification. 第10の変形例の半導体メモリの検査装置において複数個のアドレスが連結された状態を示すブロック図である。It is a block diagram which shows the state with which the several address was connected in the test | inspection apparatus of the semiconductor memory of a 10th modification. 第11の変形例の半導体メモリの検査装置のデータ出力用スキャンパスを示すブロック図である。It is a block diagram which shows the scan path for data output of the test | inspection apparatus of the semiconductor memory of an 11th modification. 第12の変形例の半導体メモリの検査装置のデータ出力用スキャンパスを示すブロック図である。It is a block diagram which shows the scan path for data output of the test | inspection apparatus of the semiconductor memory of a 12th modification. 第13の変形例の半導体メモリの検査装置のデータ出力用スキャンパスを示すブロック図である。It is a block diagram which shows the scan path for data output of the test | inspection apparatus of the semiconductor memory of a 13th modification. 第14の変形例の半導体メモリの検査装置のデータ出力用スキャンパスを示すブロック図である。It is a block diagram which shows the scan path for data output of the test | inspection apparatus of the semiconductor memory of a 14th modification. 第15の変形例のスキャンFFを示す図である。It is a figure which shows scan FF of the 15th modification. 第15の変形例のスキャンFFのデータ取り込み時の動作を示すタイミングチャートである。It is a timing chart which shows the operation | movement at the time of the data capture of the scan FF of a 15th modification. 第15の変形例のスキャンFFのシフト動作を示すタイミングチャートである。It is a timing chart which shows the shift operation | movement of the scan FF of a 15th modification. 第15の変形例のスキャンFFのシフト禁止動作を示すタイミングチャートである。It is a timing chart which shows the shift prohibition operation | movement of the scan FF of a 15th modification. 第16の変形例のスキャンFFを示す図である。It is a figure which shows scan FF of the 16th modification. 第16の変形例のスキャンFFのデータ取り込み時の動作を示すタイミングチャートである。It is a timing chart which shows the operation | movement at the time of the data capture of the scan FF of a 16th modification. 第16の変形例のスキャンFFのシフト動作を示すタイミングチャートである。It is a timing chart which shows the shift operation of scan FF of the 16th modification. 第16の変形例のスキャンFFのシフト禁止動作を示すタイミングチャートである。It is a timing chart which shows the shift prohibition operation | movement of the scan FF of a 16th modification. 第17の変形例のスキャンFFを示す図である。It is a figure which shows scan FF of the 17th modification. 第17の変形例のスキャンFFのデータ取り込み時の動作を示すタイミングチャートである。It is a timing chart which shows the operation | movement at the time of the data capture of the scan FF of a 17th modification. 第17の変形例のスキャンFFのシフト動作を示すタイミングチャートである。It is a timing chart which shows the shift operation | movement of the scan FF of a 17th modification. 第18の変形例のスキャンFFを示す図である。It is a figure which shows scan FF of the 18th modification. 第18の変形例のスキャンFFのデータ取り込み時の動作を示すタイミングチャートである。It is a timing chart which shows the operation | movement at the time of the data capture of the scan FF of the 18th modification. 第18の変形例のスキャンFFのシフト動作を示すタイミングチャートである。It is a timing chart which shows the shift operation of scan FF of the 18th modification. 第19の変形例の半導体メモリの検査装置のRAMコアおよびテスト回路を示すブロック図である。It is a block diagram which shows the RAM core and test circuit of the test | inspection apparatus of the semiconductor memory of a 19th modification. 第19の変形例の半導体メモリの検査装置のRAMコアおよびテスト回路を示すブロック図である。It is a block diagram which shows the RAM core and test circuit of the test | inspection apparatus of the semiconductor memory of a 19th modification. 第19の変形例の半導体メモリの検査装置の書き込み用ポートの状態を示すタイミングチャートである。It is a timing chart which shows the state of the port for writing of the inspection apparatus of the semiconductor memory of a 19th modification. 第19の変形例の半導体メモリの検査装置の読み出し用ポートの状態を示すタイミングチャートである。It is a timing chart which shows the state of the read-out port of the test | inspection apparatus of the semiconductor memory of a 19th modification. 第19の変形例の半導体メモリの検査装置の書き込み用ポートの状態を示すタイミングチャートである。It is a timing chart which shows the state of the port for writing of the inspection apparatus of the semiconductor memory of a 19th modification. 第19の変形例の半導体メモリの検査装置の読み出し用ポートの状態を示すタイミングチャートである。It is a timing chart which shows the state of the read-out port of the test | inspection apparatus of the semiconductor memory of a 19th modification. 第20の変形例の半導体メモリの検査装置のRAMコアおよびテスト回路を示すブロック図である。It is a block diagram which shows the RAM core and test circuit of the test | inspection apparatus of the semiconductor memory of a 20th modification. 第20の変形例の半導体メモリの検査装置のRAMコアおよびテスト回路を示すブロック図である。It is a block diagram which shows the RAM core and test circuit of the test | inspection apparatus of the semiconductor memory of a 20th modification. 実施の形態16の半導体メモリの検査装置のRAMコアおよびテスト回路を示すブロック図である。FIG. 38 is a block diagram showing a RAM core and a test circuit of a semiconductor memory inspection device according to a sixteenth embodiment. 実施の形態16の半導体メモリの検査装置のRAMコアおよびテスト回路を示すブロック図である。FIG. 38 is a block diagram showing a RAM core and a test circuit of a semiconductor memory inspection device according to a sixteenth embodiment. 実施の形態16の半導体メモリの検査装置のB−SCANの構成を示すブロック図である。FIG. 38 is a block diagram showing a B-SCAN configuration of a semiconductor memory inspection device according to a sixteenth embodiment; 第21の変形例の半導体メモリの検査装置のB−SCANの構成を示すブロック図である。It is a block diagram which shows the structure of B-SCAN of the test | inspection apparatus of the semiconductor memory of a 21st modification. 第22の変形例の半導体メモリの検査装置のB−SCANの構成を示すブロック図である。It is a block diagram which shows the structure of B-SCAN of the test | inspection apparatus of the semiconductor memory of a 22nd modification. 第23の変形例の半導体メモリの検査装置のRAMコアおよびテスト回路を示すブロック図である。It is a block diagram which shows the RAM core and test circuit of the test | inspection apparatus of the semiconductor memory of a 23rd modification. 第23の変形例の半導体メモリの検査装置のRAMコアおよびテスト回路を示すブロック図である。It is a block diagram which shows the RAM core and test circuit of the test | inspection apparatus of the semiconductor memory of a 23rd modification. 第24の変形例の半導体メモリの検査装置のRAMコアおよびテスト回路を示すブロック図である。It is a block diagram which shows the RAM core and test circuit of the test | inspection apparatus of the semiconductor memory of a 24th modification. 第24の変形例の半導体メモリの検査装置のRAMコアおよびテスト回路を示すブロック図である。It is a block diagram which shows the RAM core and test circuit of the test | inspection apparatus of the semiconductor memory of a 24th modification. 第25の変形例の半導体メモリの検査装置のRAMコアおよびテスト回路を示すブロック図である。It is a block diagram which shows the RAM core and test circuit of the test | inspection apparatus of the semiconductor memory of a 25th modification. 第25の変形例の半導体メモリの検査装置のRAMコアおよびテスト回路を示すブロック図である。It is a block diagram which shows the RAM core and test circuit of the test | inspection apparatus of the semiconductor memory of a 25th modification. 第4の従来例の半導体メモリの検査装置のRAMの接続状態を示す図である。It is a figure which shows the connection state of RAM of the test | inspection apparatus of the semiconductor memory of the 4th prior art example. 本発明の実施の形態17の半導体メモリの検査装置の制御信号発生回路を示す図である。It is a figure which shows the control signal generation circuit of the test | inspection apparatus of the semiconductor memory of Embodiment 17 of this invention. 本発明の実施の形態17の半導体メモリの検査装置の巡回性のシフトレジスタを示す図である。It is a figure which shows the cyclic shift register of the test | inspection apparatus of the semiconductor memory of Embodiment 17 of this invention. 本発明の実施の形態17の半導体メモリの検査装置のRAMコア、テスト回路および制御信号発生回路を示す図である。It is a figure which shows the RAM core of the test | inspection apparatus of the semiconductor memory of Embodiment 17 of this invention, a test circuit, and a control signal generation circuit. 本発明の実施の形態17の半導体メモリの検査装置のRAMコア、テスト回路および制御信号発生回路を示す図である。It is a figure which shows the RAM core of the test | inspection apparatus of the semiconductor memory of Embodiment 17 of this invention, a test circuit, and a control signal generation circuit. 本発明の実施の形態18の半導体メモリの検査装置のRAMコア、テスト回路およびテストパターン発生回路を示す図である。It is a figure which shows the RAM core of the test | inspection apparatus of the semiconductor memory of Embodiment 18 of this invention, a test circuit, and a test pattern generation circuit. 本発明の実施の形態18の半導体メモリの検査装置のテストパターン発生回路を示す図である。It is a figure which shows the test pattern generation circuit of the test | inspection apparatus of the semiconductor memory of Embodiment 18 of this invention. 本発明の実施の形態18の半導体メモリの検査装置のテストパターン発生回路を示す図である。It is a figure which shows the test pattern generation circuit of the test | inspection apparatus of the semiconductor memory of Embodiment 18 of this invention. 本発明の実施の形態18の半導体メモリの検査装置のRAMコアおよびテスト回路を示す図である。It is a figure which shows the RAM core and test circuit of the test | inspection apparatus of the semiconductor memory of Embodiment 18 of this invention. 本発明の実施の形態18の半導体メモリの検査装置のRAMコアおよびテスト回路を示す図である。It is a figure which shows the RAM core and test circuit of the test | inspection apparatus of the semiconductor memory of Embodiment 18 of this invention. 本発明の実施の形態19における自己修正機能付き半導体メモリの検査装置のブロック図である。It is a block diagram of the test | inspection apparatus of the semiconductor memory with a self-correction function in Embodiment 19 of this invention. 本発明の実施の形態19の半導体メモリの検査装置のセルフテスト回路の構成例を示す図である。It is a figure which shows the structural example of the self-test circuit of the test | inspection apparatus of the semiconductor memory of Embodiment 19 of this invention. 本発明の実施の形態19の半導体メモリの検査装置におけるテスト回路付きRAMと冗長回路の詳細な接続例を示す図である。It is a figure which shows the detailed connection example of RAM with a test circuit, and a redundant circuit in the test | inspection apparatus of the semiconductor memory of Embodiment 19 of this invention. 本発明の実施の形態19の半導体メモリの検査装置における1ビット救済可能な冗長回路を示す図である。It is a figure which shows the redundancy circuit which can relieve 1 bit in the inspection apparatus of the semiconductor memory of Embodiment 19 of this invention. 本発明の実施の形態19の半導体メモリの検査装置における1ビット救済可能な冗長回路を示す図である。It is a figure which shows the redundancy circuit which can relieve 1 bit in the inspection apparatus of the semiconductor memory of Embodiment 19 of this invention. 本発明の実施の形態20の半導体メモリの検査装置のセルフテスト回路の構成例を示す図である。It is a figure which shows the structural example of the self-test circuit of the test | inspection apparatus of the semiconductor memory of Embodiment 20 of this invention. 本発明の実施の形態21の半導体メモリの検査装置における1ビット救済可能な冗長回路を示す図である。It is a figure which shows the redundancy circuit which can be relieved by 1 bit in the semiconductor memory test | inspection apparatus of Embodiment 21 of this invention. 本発明の実施の形態21の半導体メモリの検査装置における1ビット救済可能な冗長回路を示す図である。It is a figure which shows the redundancy circuit which can be relieved by 1 bit in the semiconductor memory test | inspection apparatus of Embodiment 21 of this invention. 本発明の実施の形態22の半導体メモリの検査装置におけるテスト回路付きRAMと冗長回路の詳細な接続例を示す図である。It is a figure which shows the detailed connection example of RAM with a test circuit, and a redundant circuit in the test | inspection apparatus of the semiconductor memory of Embodiment 22 of this invention. 本発明の実施の形態22の半導体メモリの検査装置における2ビットの冗長回路の回路図である。FIG. 38 is a circuit diagram of a 2-bit redundant circuit in a semiconductor memory inspection device according to a twenty-second embodiment of the present invention. 本発明の実施の形態22の半導体メモリの検査装置における2ビットの冗長回路の回路図である。FIG. 38 is a circuit diagram of a 2-bit redundant circuit in a semiconductor memory inspection device according to a twenty-second embodiment of the present invention. 本発明の実施の形態23の半導体メモリの検査装置における2ビットの冗長回路の回路図である。FIG. 38 is a circuit diagram of a 2-bit redundant circuit in a semiconductor memory inspection device according to a twenty-third embodiment of the present invention. 本発明の実施の形態23の半導体メモリの検査装置における2ビットの冗長回路の回路図である。FIG. 38 is a circuit diagram of a 2-bit redundant circuit in a semiconductor memory inspection device according to a twenty-third embodiment of the present invention. 本発明の実施の形態24の半導体メモリの検査装置におけるテスト回路付きRAMと冗長回路の詳細な接続例を示す図である。It is a figure which shows the detailed example of connection of RAM with a test circuit, and a redundant circuit in the test | inspection apparatus of the semiconductor memory of Embodiment 24 of this invention. 本発明の実施の形態24の半導体メモリの検査装置における冗長回路の一部を示す図である。It is a figure which shows a part of redundant circuit in the test | inspection apparatus of the semiconductor memory of Embodiment 24 of this invention. 第5の従来例の半導体メモリの検査装置を示す図である。It is a figure which shows the test | inspection apparatus of the semiconductor memory of the 5th prior art example. 第5の従来例の半導体メモリの検査装置を示す図である。It is a figure which shows the test | inspection apparatus of the semiconductor memory of the 5th prior art example.

符号の説明Explanation of symbols

231 スキャンレジスタ、232 比較回路、233 セレクタ回路、234 フリップフロップ回路、235 OR回路、241 Ex.OR回路、242 NOT回路、243 NAND回路、251 スキャンレジスタ、252 第1のセレクタ回路、253 第2のセレクタ回路、254 ループ回路、261 スキャンレジスタ、262 第1のセレクタ回路、263 第2のセレクタ回路、264 帰還禁止素子、232a 比較回路、241a Ex.OR回路、243a NAND回路、252a,253a セレクタ回路、262a,263a セレクタ回路、30 検査装置、31 半導体メモリ、31a〜31c 半導体メモリ、32 アドレス入力用シフトレジスタ、32a〜32c アドレス入力用シフトレジスタ、33 データ入力用レジスタ、34 比較回路、34a〜34c 比較回路、34Z 比較禁止部、35 アドレス発生部、37 有効アドレス数格納部、38 第1のAND回路群、39 第2のAND回路群、41 期待値発生回路、42 OR回路群、43 カウンタ、44 OR回路、51〜60 論理積回路、61〜64 排他的論理和回路、65〜68 論理和回路、71 論理和回路、72 論理積回路、73 半加算器、74 スイッチ、81 OR回路群、82 第2のAND回路群、84 比較回路、84a,84b 比較回路、91〜94 論理和回路、95〜99 論理積回路、101 論理積回路群、111 二次元パターン記憶部、113 期待値発生回路、115 論理和回路、121 ダイナミックバーイン用パターン発生回路、121x ダイナミックバーイン用パターン発生回路、122 LFSR回路、127 シフトレジスタ、130 論理和回路、140 データ入力用シフトレジスタ、141〜143 FF、301 テストパターン生成回路、302 テスト回路、303 RAMコア、312,313 シフトレジスタ、315 RAM、316 スキャンパス、317 フリップフロップ、319 パイプライン、321,322 フリップフロップ、323 セレクタ、324 AND回路、325 NOT回路、326 OR回路、327 NOR回路、331 RAMコア、331 非同期RAMコア、332 スキャンパス、332a レジスタ、332b 第1のセレクタ、332c 第2のセレクタ、332d OR回路、332e NAND回路、332f AND回路、333 ライトパルス発生器、334 セレクタ、335 NOT回路、336 ビットライト禁止信号入力用AND回路、337 セレクタ、341 セレクタ、344 AND回路、345 マーク検出手段、346 シフトレジスタ、347 NAND回路、351 セレクタ、352 論理回路部、353,354 論理回路部、600 巡回性のシフトレジスタ、601 シフトインセレクタ、603 第1のレジスタ部、604 第2のレジスタ部、606a 第1のフリップフロップ、606b 第2のフリップフロップ、607a 第1のセレクタ、607b 第2のセレクタ、610 制御信号発生回路、611 テスト回路、613 テストパターン生成回路、614 アドレスパターン発生回路、615 RAMコア、615 メモリコア、621 制御信号発生回路、622 アドレス発生回路、623 バーインパターン発生回路、624 データ入力回路、625 テストパターン発生回路、631 テスト回路、632 RAMコア、701 パワーオンリセット回路、702 セルフテスト回路、702a マイクロコンピュータ、703 RAM、704 冗長回路、704a 冗長回路、704b 冗長回路、704c 冗長回路、704d 冗長回路、705 論理回路、706 レジスタ回路、706a AND回路、711〜715 セレクタ、721〜725 セレクタ、731〜735 セレクタ、740 信号指定部、741〜745 AND回路、750 制御素子群、751 インバータ回路、752 OR回路、771〜773 セレクタ、774 OR回路、781〜783 セレクタ、784 OR回路、791〜794 セレクタ、800 信号指定部、801〜803 AND回路、811〜813 セレクタ、821〜823 セレクタ、831〜833 セレクタ、840 信号指定部、841〜843 AND回路、861,862 OR回路、863 OR回路、871〜875 セレクタ、881〜885 セレクタ、890 信号指定部、891〜894 AND回路。
231 scan register, 232 comparison circuit, 233 selector circuit, 234 flip-flop circuit, 235 OR circuit, 241 Ex. OR circuit, 242 NOT circuit, 243 NAND circuit, 251 scan register, 252 first selector circuit, 253 second selector circuit, 254 loop circuit, 261 scan register, 262 first selector circuit, 263 second selector circuit 264 feedback inhibition element, 232a comparison circuit, 241a Ex. OR circuit, 243a NAND circuit, 252a, 253a selector circuit, 262a, 263a selector circuit, 30 inspection device, 31 semiconductor memory, 31a-31c semiconductor memory, 32 address input shift register, 32a-32c address input shift register, 33 Data input register, 34 comparison circuit, 34a to 34c comparison circuit, 34Z comparison prohibition unit, 35 address generation unit, 37 effective address number storage unit, 38 first AND circuit group, 39 second AND circuit group, 41 expectation Value generation circuit, 42 OR circuit group, 43 counter, 44 OR circuit, 51-60 logical product circuit, 61-64 exclusive OR circuit, 65-68 logical sum circuit, 71 logical sum circuit, 72 logical product circuit, 73 Half adder, 74 switch, 81 OR circuit group, 82 second AND circuit group, 4 comparison circuit, 84a, 84b comparison circuit, 91-94 logical sum circuit, 95-99 logical product circuit, 101 logical product circuit group, 111 two-dimensional pattern storage unit, 113 expected value generation circuit, 115 logical sum circuit, 121 dynamic Burn-in pattern generation circuit, 121x dynamic burn-in pattern generation circuit, 122 LFSR circuit, 127 shift register, 130 OR circuit, 140 data input shift register, 141 to 143 FF, 301 test pattern generation circuit, 302 test circuit, 303 RAM core, 312, 313 shift register, 315 RAM, 316 scan campus, 317 flip-flop, 319 pipeline, 321, 322 flip-flop, 323 selector, 324 AND circuit, 325 NOT circuit, 326 OR times 327 NOR circuit, 331 RAM core, 331 asynchronous RAM core, 332 scan path, 332a register, 332b first selector, 332c second selector, 332d OR circuit, 332e NAND circuit, 332f AND circuit, 333 write pulse generator 334 selector, 335 NOT circuit, 336 bit write inhibit signal input AND circuit, 337 selector, 341 selector, 344 AND circuit, 345 mark detection means, 346 shift register, 347 NAND circuit, 351 selector, 352 logic circuit unit, 353 354, logic circuit section, 600 cyclic shift register, 601 shift-in selector, 603 first register section, 604 second register section, 606a first flip-flop, 606b second flip-flop 607a first selector, 607b second selector, 610 control signal generation circuit, 611 test circuit, 613 test pattern generation circuit, 614 address pattern generation circuit, 615 RAM core, 615 memory core, 621 control signal generation circuit , 622 Address generation circuit, 623 Burn-in pattern generation circuit, 624 Data input circuit, 625 Test pattern generation circuit, 631 Test circuit, 632 RAM core, 701 Power-on reset circuit, 702 Self-test circuit, 702a Microcomputer, 703 RAM, 704 Redundant circuit, 704a Redundant circuit, 704b Redundant circuit, 704c Redundant circuit, 704d Redundant circuit, 705 Logic circuit, 706 Register circuit, 706a AND circuit, 711-715 selector, 721-725 selector Kuta, 731 to 735 selector, 740 signal designation unit, 741 to 745 AND circuit, 750 control element group, 751 inverter circuit, 752 OR circuit, 771 to 773 selector, 774 OR circuit, 781 to 783 selector, 784 OR circuit, 791 794 selector, 800 signal designation unit, 801-803 AND circuit, 811-813 selector, 821-823 selector, 831-833 selector, 840 signal designation unit, 841-843 AND circuit, 861, 862 OR circuit, 863 OR circuit , 871 to 875 selector, 881 to 885 selector, 890 signal designation unit, 891 to 894 AND circuit.

Claims (5)

半導体メモリのテストを実施し、当該半導体メモリの複数桁のテスト結果を保持するデータ保持手段を有するテスト回路と、
前記テスト回路での前記テストの結果に基づいて前記半導体メモリに故障が発生した際にデータに生じる誤りを補償する冗長回路と
を備え、
前記冗長回路は、
前記半導体メモリの複数桁のデータの夫々に対応して接続される複数の信号線と、
前記信号線に隣接される予備線と、
前記複数の信号線のうち、前記テスト回路の前記データ保持手段で保持されたテスト結果に応じて不良ビットであると指定された桁に対応する信号線を境とする一方向側の信号線に関して二値のうちの一方の値を出力し、他方向側の信号線に関して二値のうちの他方の値を出力する二値信号指定部と、
前記二値信号指定部からの二値信号に基づいて、不良ビットであると指定された桁に対応する信号線の接続を外し、端部の信号線を前記予備線に切換接続するとともに他の信号線を当該他の信号線に隣接する信号線に順次切換接続するセレクタ群と
を備えることを特徴とする半導体メモリの検査装置。
A test circuit having a data holding means for performing a test of the semiconductor memory and holding a test result of a plurality of digits of the semiconductor memory;
A redundant circuit that compensates for an error that occurs in data when a failure occurs in the semiconductor memory based on a result of the test in the test circuit;
The redundant circuit is:
A plurality of signal lines connected corresponding to each of a plurality of digits of data of the semiconductor memory;
A spare line adjacent to the signal line;
Among the plurality of signal lines, a signal line on one side with respect to a signal line corresponding to a digit designated as a defective bit according to a test result held by the data holding unit of the test circuit A binary signal designating unit that outputs one of the two values and outputs the other of the two values for the signal line on the other direction side;
Based on the binary signal from the binary signal designating unit, disconnect the signal line corresponding to the digit designated to be a defective bit, switch the signal line at the end to the spare line, and connect other signals. And a selector group for sequentially switching and connecting the signal line to a signal line adjacent to the other signal line.
前記データ保持手段が、前記テストの結果をスキャンして出力することを特徴とする、請求項1記載の半導体メモリの検査装置。   2. The semiconductor memory inspection apparatus according to claim 1, wherein the data holding means scans and outputs the test result. 前記冗長回路が、データビット毎に書き込みを制御する信号を前記半導体メモリに出力するためのビットライト制御信号出力端子を有し、
前記半導体メモリが、前記冗長回路の前記ビットライト制御信号出力端子から与えられた信号に応じて、不良ビットであると指定された桁の書き込みを抑制することを特徴とする、請求項1記載の半導体メモリの検査装置。
The redundant circuit has a bit write control signal output terminal for outputting a signal for controlling writing for each data bit to the semiconductor memory,
2. The semiconductor memory according to claim 1, wherein writing of a digit designated as a defective bit is suppressed according to a signal given from the bit write control signal output terminal of the redundancy circuit. Inspection device for semiconductor memory.
前記データ保持手段は、前記不良データの桁に対応して二値のうちの一方の値を保持し、かつ他の桁に対応して二値のうちの他方の値を保持することで前記半導体メモリ内の故障にかかる不良データの桁を指定する二値データ保持手段であり、
前記二値信号指定部は、前記半導体メモリの複数桁のデータに対応する複数の論理積回路を有し、
前記複数の論理積回路の一の入力端子は、前記二値データ保持手段の対応する桁に夫々接続され、
前記複数の論理積回路の他の入力端子は、当該論理積回路の大桁側および小桁側の一方に隣接する論理積回路の出力端子に順次接続される、請求項1記載の半導体メモリの検査装置。
The data holding means holds one value of the binary values corresponding to the digits of the defective data and holds the other value of the binary values corresponding to the other digits. It is a binary data holding means that specifies the digit of defective data related to a failure in the memory,
The binary signal designating unit has a plurality of AND circuits corresponding to a plurality of digits of data in the semiconductor memory,
One input terminal of the plurality of AND circuits is connected to corresponding digits of the binary data holding unit, respectively.
2. The semiconductor memory according to claim 1, wherein another input terminal of the plurality of AND circuits is sequentially connected to an output terminal of the AND circuit adjacent to one of the large digit side and the small digit side of the AND circuit. Inspection device.
前記冗長回路が、不良ビットに対応する桁のビットライト制御信号出力端子を不活性状態にすることを特徴とする、請求項3記載の半導体メモリの検査装置。
4. The semiconductor memory inspection apparatus according to claim 3, wherein the redundancy circuit inactivates a bit write control signal output terminal of a digit corresponding to a defective bit.
JP2005062254A 2005-03-07 2005-03-07 Inspection device for semiconductor memory Pending JP2005222692A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005062254A JP2005222692A (en) 2005-03-07 2005-03-07 Inspection device for semiconductor memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005062254A JP2005222692A (en) 2005-03-07 2005-03-07 Inspection device for semiconductor memory

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2001289092A Division JP3688613B2 (en) 1994-05-26 2001-09-21 Semiconductor memory inspection equipment

Publications (2)

Publication Number Publication Date
JP2005222692A true JP2005222692A (en) 2005-08-18
JP2005222692A6 JP2005222692A6 (en) 2006-04-27

Family

ID=34998178

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005062254A Pending JP2005222692A (en) 2005-03-07 2005-03-07 Inspection device for semiconductor memory

Country Status (1)

Country Link
JP (1) JP2005222692A (en)

Similar Documents

Publication Publication Date Title
US5946247A (en) Semiconductor memory testing device
KR100328357B1 (en) Improved redundancy analyzer for automatic memory tester
US7814385B2 (en) Self programmable shared bist for testing multiple memories
KR100303618B1 (en) Fully testable chip with self-timed memory array
JP4751216B2 (en) Semiconductor integrated circuit and design apparatus therefor
US9401223B2 (en) At-speed test of memory arrays using scan
JP2008117372A (en) Semiconductor integrated circuit and control method thereof
JP3325727B2 (en) Semiconductor memory inspection equipment
US20100275076A1 (en) Semiconductor integrated circuit and testing method for the same
CN107450003B (en) Semiconductor device, electronic control system, and method of evaluating electronic control system
US7139946B2 (en) Method and test circuit for testing memory internal write enable
US7380183B2 (en) Semiconductor circuit apparatus and scan test method for semiconductor circuit
US7149944B2 (en) Semiconductor integrated circuit device equipped with read sequencer and write sequencer
TWI419170B (en) Integrated circuit and method for testing the circuit
JP2004110265A (en) Test facilitating method for semiconductor integrated circuit
JP2017010273A (en) Semiconductor failure detection apparatus
JP3586229B2 (en) Semiconductor memory inspection equipment
JP3688613B2 (en) Semiconductor memory inspection equipment
JP4315775B2 (en) Semiconductor integrated circuit device
JP2005222692A (en) Inspection device for semiconductor memory
JP2005222692A6 (en) Semiconductor memory inspection equipment
JP6143646B2 (en) Semiconductor device
JP4176944B2 (en) Semiconductor integrated circuit and recording medium
JP4869911B2 (en) Logic BIST circuit and modulo circuit
JP3570944B2 (en) Semiconductor integrated circuit

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070508

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20070705

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080603

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080730

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081118

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090317