JP2008217880A - Built-in memory test circuit - Google Patents

Built-in memory test circuit Download PDF

Info

Publication number
JP2008217880A
JP2008217880A JP2007052368A JP2007052368A JP2008217880A JP 2008217880 A JP2008217880 A JP 2008217880A JP 2007052368 A JP2007052368 A JP 2007052368A JP 2007052368 A JP2007052368 A JP 2007052368A JP 2008217880 A JP2008217880 A JP 2008217880A
Authority
JP
Japan
Prior art keywords
test
information
output
failure
circuit under
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.)
Withdrawn
Application number
JP2007052368A
Other languages
Japanese (ja)
Inventor
Yasuhiro Nozaki
靖広 野崎
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2007052368A priority Critical patent/JP2008217880A/en
Publication of JP2008217880A publication Critical patent/JP2008217880A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a memory BIST circuit capable of performing testing at accurtate timing without extending test time. <P>SOLUTION: An expectation value EXP generated based on step information STP output from a test step count part 11A is compared with test data TDO output from a circuit to be tested 1 according to a test pattern generated based on the step information STP. If unmatched, a failure information output unit 15A fetches the step information STP or the like in a failure information storage register to output it as failure disgnostic information DIAG in parallel with a BIST operation. During use of the failure information storage register, the BIST operation is stopped to output the failure diagnostic information DIAG. When the output is completed, step information of one step before the failure step is provided as test resume information RST to the test step count part 11A. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、テストを行うためにメモリに組み込まれた組み込み型メモリテスト回路に関するものである。   The present invention relates to an embedded memory test circuit incorporated in a memory for performing a test.

図2は、従来のメモリBIST(Build In Self Test)回路の構成図である。
このメモリBIST回路は、メモリの製造時におけるテストのために半導体記憶装置に組み込まれるもので、テストステップカウント部11、テストパターン生成部12、期待値生成部13、比較部14、故障情報出力部15及びセレクタ16で構成されている。
FIG. 2 is a configuration diagram of a conventional memory BIST (Build In Self Test) circuit.
This memory BIST circuit is incorporated in a semiconductor memory device for testing at the time of memory manufacture, and includes a test step count unit 11, a test pattern generation unit 12, an expected value generation unit 13, a comparison unit 14, and a failure information output unit. 15 and a selector 16.

テストステップカウント部11は、被テスト回路1であるメモリの良否をテストするために、クロック信号CLKに基づいて所定の順番で、この被テスト回路1の記憶領域を指定するアドレス等のステップ情報STPを生成して出力するものである。また、テストステップカウント部11は、比較部14から与えられる比較結果信号RESに応じて、ステップ情報STPの停止や変更を行う機能を有している。更に、一連のテストステップが終了したときには、終了信号FINを出力するようになっている。   The test step count unit 11 tests step information STP such as an address for specifying the storage area of the circuit under test 1 in a predetermined order based on the clock signal CLK in order to test the quality of the memory as the circuit under test 1. Is generated and output. Further, the test step count unit 11 has a function of stopping or changing the step information STP according to the comparison result signal RES given from the comparison unit 14. Further, when a series of test steps is completed, an end signal FIN is output.

テストパターン生成部12は、テストステップカウント部11から与えられるステップ情報STPに従って、被テスト回路1に対するアドレス信号ADRや書き込み用のテストデータTDI及び読み書き等の動作を指定する制御信号CONを生成するものである。これらのアドレス信号ADR、テストデータTDI及び制御信号CONは、テストパターンとして故障情報出力部15に与えられると共に、セレクタ16を介して被テスト回路1に与えられるようになっている。   The test pattern generator 12 generates an address signal ADR, write test data TDI for the circuit under test 1 and a control signal CON designating operations such as reading and writing in accordance with the step information STP given from the test step count unit 11. It is. The address signal ADR, test data TDI, and control signal CON are supplied as a test pattern to the failure information output unit 15 and to the circuit under test 1 via the selector 16.

セレクタ16は、モード信号MODによってテストモードが指定されたときに、テストパターン生成部12から与えられるテストパターンを被テスト回路1に出力し、このモード信号MODによって通常動作モードが指定されたときには、図示しないシステムバスから与えられるアドレス信号ADR、書き込みデータDI及び制御信号CONを被テスト回路1に出力するものである。   When the test mode is designated by the mode signal MOD, the selector 16 outputs the test pattern given from the test pattern generation unit 12 to the circuit under test 1. When the normal operation mode is designated by the mode signal MOD, An address signal ADR, write data DI, and control signal CON given from a system bus (not shown) are output to the circuit under test 1.

期待値生成部13は、テストステップカウント部11から与えられるステップ情報STPに従って、被テスト回路1が正常なときに出力されるべき期待値EXPを生成するものである。また、比較部14は、期待値生成部13で生成された期待値EXPと被テスト回路1から実際に出力されるテストデータTDOを比較し、一致しているか否かの比較結果信号RESを出力するものである。比較結果信号RESは、テストステップカウント部11と故障情報出力部15に与えられている。   The expected value generator 13 generates an expected value EXP to be output when the circuit under test 1 is normal according to the step information STP given from the test step count unit 11. The comparison unit 14 compares the expected value EXP generated by the expected value generation unit 13 with the test data TDO actually output from the circuit under test 1 and outputs a comparison result signal RES as to whether or not they match. To do. The comparison result signal RES is given to the test step count unit 11 and the failure information output unit 15.

故障情報出力部15は、比較結果信号RESによって不一致であることが出力されたときに、そのときのステップ情報STP、アドレス信号ADR、書き込みデータDI及び制御信号CONと、被テスト回路1から出力されたテストデータTDOを、故障診断情報DIAGとしてシリアルに出力するものである。   The failure information output unit 15 outputs the step information STP, the address signal ADR, the write data DI, and the control signal CON at that time, and the circuit under test 1 when the comparison result signal RES outputs a mismatch. The test data TDO is serially output as failure diagnosis information DIAG.

図3(a)〜(c)は、図2のテスト時の動作例を示す説明図である。
図3(a)は、メモリBIST回路内の比較部14で不一致が検出された場合に、一旦BISTの動作(テスト)を止めて故障診断情報DIAGを出力する場合を示している。この場合、アドレスAD1で不一致が発生するとテストは中断され、故障診断情報DIAGの出力が開始される。そして、故障診断情報DIAGの出力が完了した時点で、不一致が発生したアドレスAD1の次のアドレスAD2からテストが再開される。
3A to 3C are explanatory diagrams illustrating an operation example during the test of FIG.
FIG. 3A shows a case where the BIST operation (test) is temporarily stopped and the failure diagnosis information DIAG is output when a mismatch is detected by the comparison unit 14 in the memory BIST circuit. In this case, when a mismatch occurs at the address AD1, the test is interrupted and output of the failure diagnosis information DIAG is started. When the output of the failure diagnosis information DIAG is completed, the test is restarted from the address AD2 next to the address AD1 where the mismatch has occurred.

図3(b),(c)は、BIST回路内の比較部14で不一致が検出された場合に、BISTの動作を止めずにテストを続行し、テストに並行して故障診断情報DIAGを出力する場合を示している。この場合、図3(b)に示すように、アドレスAD1で発生した不一致の故障診断情報DIAGを出力している間に、次の不一致が発生しなければ、テストの実行は何の支障もなく続行される。しかし、アドレスAD1で発生した故障診断情報DIAGを出力している間に、アドレスAD3で再び不一致が発生すると、このアドレスAD3における故障診断情報を故障情報出力部15に取り込むことができなくなる。このため、アドレスAD1で発生した故障診断情報DIAGの出力が完了した時点で、再び最初からテストをやり直す。但し、アドレスAD3に対応するステップまでの故障診断情報DIAGは、既に故障情報出力部15から出力されているので、アドレスAD3までの比較判定処理はスキップされる。そして、全テストステップが終了すると、テストステップカウント部11から終了信号FINが出力され、BISTは終了する。   3B and 3C, when a mismatch is detected by the comparison unit 14 in the BIST circuit, the test is continued without stopping the BIST operation, and the fault diagnosis information DIAG is output in parallel with the test. Shows when to do. In this case, as shown in FIG. 3B, if the next mismatch does not occur while the failure diagnosis information DIAG generated at the address AD1 is output, there is no problem in executing the test. Continued. However, if a mismatch occurs again at the address AD3 while the failure diagnosis information DIAG generated at the address AD1 is being output, the failure diagnosis information at the address AD3 cannot be taken into the failure information output unit 15. For this reason, when the output of the failure diagnosis information DIAG generated at the address AD1 is completed, the test is started again from the beginning. However, since the failure diagnosis information DIAG up to the step corresponding to the address AD3 has already been output from the failure information output unit 15, the comparison determination processing up to the address AD3 is skipped. When all the test steps are completed, an end signal FIN is output from the test step counting unit 11, and the BIST is terminated.

なお、通常動作モードでは、モード信号MODによってセレクタ16がシステムバス側に切り換えられ、このメモリBIST回路は、被テスト回路1であるメモリから切り離される。   In the normal operation mode, the selector 16 is switched to the system bus side by the mode signal MOD, and the memory BIST circuit is disconnected from the memory which is the circuit under test 1.

特開2001−266592号公報Japanese Patent Laid-Open No. 2001-266592 ”Set Controller Debug” MBISTArchitect Reference Manual,V8.2006-1,Feb 2006 p.2-169〜p.2-173“Set Controller Debug” MBISTArchitect Reference Manual, V8.2006-1, Feb 2006 p.2-169 to p.2-173

しかしながら、前記メモリBIST回路は、図3(a)に示すように、アドレスAD1で不一致が検出されたときにテストを一旦止めて故障診断情報DIAGを出力した後、次のアドレスAD2からテストを再開する場合、アドレスAD2に対するテストパターン生成部12から被テスト回路1に与える制御信号CON等のタイミングが、他のアドレスに対するものと異なってしまう。このため、故障診断情報DIAGを出力するためにテスト時間が延長されると共に、アドレスAD2に対する正確なタイミングでのテストができないという問題がある。   However, as shown in FIG. 3A, the memory BIST circuit temporarily stops the test when the mismatch is detected at the address AD1, outputs the fault diagnosis information DIAG, and then restarts the test from the next address AD2. In this case, the timing of the control signal CON or the like given from the test pattern generation unit 12 to the circuit under test 1 for the address AD2 is different from that for other addresses. For this reason, there is a problem that the test time is extended in order to output the failure diagnosis information DIAG, and the test for the address AD2 cannot be performed at an accurate timing.

一方、図3(c)に示すように、故障診断情報DIAGを出力した後に、最初に戻ってテストを繰り返す場合には、タイミングの相違による問題はなくなるが、故障箇所が増えるとテスト時間が極端に増大するという課題があった。   On the other hand, as shown in FIG. 3C, when the failure diagnosis information DIAG is output and then the test is repeated after returning to the beginning, there is no problem due to the difference in timing, but the test time becomes extreme as the number of failure points increases. There was a problem of increasing.

本発明は、テスト時間を増加させず、かつ正確なタイミングでテストを行うことができるメモリBIST回路を提供すること目的としている。   An object of the present invention is to provide a memory BIST circuit capable of performing a test at an accurate timing without increasing a test time.

本発明の組み込み型メモリテスト回路は、比較結果信号、テスト再開情報及び診断状態情報に応じてステップ情報を生成するテストステップカウント部と、前記ステップ情報に従って被テスト回路に与えるテストパターンを生成するテストパターン生成部と、前記ステップ情報に従って前記被テスト回路から出力されるべき期待値を生成する期待値生成部と、前記期待値と前記被テスト回路から出力される出力データとを比較して前記比較結果信号を出力する比較部と、前記ステップ情報、前記テストパターン、前記比較結果信号及び前記出力データに基づいて前記被テスト回路の故障情報を取り込んで故障診断情報として出力すると共に、その処理状態を前記診断状態情報として出力し、該故障診断情報の出力終了後に前記テスト再開情報を出力する故障情報出力部とを備えたことを特徴としている。   A built-in memory test circuit according to the present invention includes a test step count unit that generates step information according to a comparison result signal, test resumption information, and diagnostic state information, and a test that generates a test pattern to be applied to a circuit under test according to the step information. A pattern generator, an expected value generator for generating an expected value to be output from the circuit under test according to the step information, and comparing the expected value with output data output from the circuit under test. A comparison unit that outputs a result signal, and captures failure information of the circuit under test based on the step information, the test pattern, the comparison result signal, and the output data, and outputs the failure information as failure diagnosis information. Output as the diagnostic status information, and the test resumption information after the completion of the output of the fault diagnostic information Is characterized in that a failure information output unit for outputting.

本発明では、比較結果信号によって故障が発見されたときの状態を一旦保持して故障診断情報として出力すると共に、この故障診断情報の出力が完了した時点で、故障発見時点よりも前のアドレスに戻ってテストを再開させるためのテスト再開情報をテストステップカウント部に出力する故障情報出力部を有している。これにより、BISTの動作とこのテストで発見された故障診断情報の出力を同時に行うことができ、テスト時間の増加を抑制することができるという効果がある。   In the present invention, the state at the time when a failure is found by the comparison result signal is temporarily held and output as failure diagnosis information, and at the time when the output of the failure diagnosis information is completed, the address before the failure detection time is set. A failure information output unit is provided for outputting test resumption information for returning and restarting the test to the test step count unit. As a result, the operation of the BIST and the output of the fault diagnosis information discovered in this test can be performed at the same time, and an increase in test time can be suppressed.

更に、故障診断情報の出力中に故障が発見された場合でも、最初の状態に戻らず、故障発見の前のアドレスに戻ってテストを再開させることができるので、重複したテストを回避して、正確なタイミングでテストができるという効果がある。   Furthermore, even if a fault is found during the output of fault diagnosis information, the test can be resumed by returning to the address before the fault detection without returning to the initial state, thus avoiding a duplicate test, There is an effect that the test can be performed at an accurate timing.

この発明の前記並びにその他の目的と新規な特徴は、次の好ましい実施例の説明を添付図面と照らし合わせて読むと、より完全に明らかになるであろう。但し、図面は、もっぱら解説のためのものであって、この発明の範囲を限定するものではない。   The above and other objects and novel features of the present invention will become more fully apparent when the following description of the preferred embodiment is read in conjunction with the accompanying drawings. However, the drawings are for explanation only, and do not limit the scope of the present invention.

図1は、本発明の実施例1を示すメモリBIST回路の構成図であり、図2中の要素と共通の要素には共通の符号が付されている。   FIG. 1 is a configuration diagram of a memory BIST circuit showing Embodiment 1 of the present invention. Elements common to those in FIG. 2 are denoted by common reference numerals.

このメモリBIST回路は、テストステップカウント部11A、テストパターン生成部12、期待値生成部13、比較部14、故障情報出力部15A、セレクタ16及び診断状態フラグ17で構成されている。   The memory BIST circuit includes a test step count unit 11A, a test pattern generation unit 12, an expected value generation unit 13, a comparison unit 14, a failure information output unit 15A, a selector 16, and a diagnosis state flag 17.

テストステップカウント部11Aは、被テスト回路1であるメモリの良否をテストするために、クロック信号CLKに基づいて所定の順番で、この被テスト回路1の記憶領域を指定するアドレス等のステップ情報STPを生成して出力するものである。また、テストステップカウント部11Aは、比較部14から与えられる比較結果信号RES、故障情報出力部15Aから与えられるテスト再開情報RST及び診断状態フラグ17にセットされた診断状態フラグFLGに応じて、ステップ情報STPの停止や変更を行う機能を有している。更に、テストステップカウント部11Aは、一連のテストステップが終了したときに、終了信号FINを出力するようになっている。   The test step count section 11A tests step information STP such as an address for designating the storage area of the circuit under test 1 in a predetermined order based on the clock signal CLK in order to test the quality of the memory as the circuit under test 1. Is generated and output. Further, the test step count unit 11A performs a step in accordance with the comparison result signal RES given from the comparison unit 14, the test resumption information RST given from the failure information output unit 15A, and the diagnosis state flag FLG set in the diagnosis state flag 17. It has a function of stopping and changing information STP. Further, the test step counting unit 11A outputs an end signal FIN when a series of test steps is completed.

テストパターン生成部12は、テストステップカウント部11Aから与えられるステップ情報STPに従って、被テスト回路1に対するアドレス信号ADRや書き込み用とテストデータTDI及び読み書き動作を指定するための制御信号CONを生成するものである。これらのアドレス信号ADR、テストデータTDI及び制御信号CONは、テストパターンとして故障情報出力部15Aに与えられると共に、セレクタ16を介して被テスト回路1に与えられるようになっている。   The test pattern generator 12 generates an address signal ADR, write and test data TDI for the circuit under test 1 and a control signal CON for designating a read / write operation in accordance with step information STP given from the test step count unit 11A. It is. These address signal ADR, test data TDI, and control signal CON are given as a test pattern to the failure information output unit 15A, and also to the circuit under test 1 via the selector 16.

セレクタ16は、モード信号MODによってテストモードが指定されたときに、テストパターン生成部12から与えられるテストパタンを被テスト回路1に出力し、このモード信号MODによって通常動作モードが指定されたときには、図示しないシステムバスから与えられるアドレス信号ADR、書き込みデータDI及び制御信号CONを被テスト回路1に出力するものである。   When the test mode is designated by the mode signal MOD, the selector 16 outputs the test pattern given from the test pattern generation unit 12 to the circuit under test 1. When the normal operation mode is designated by the mode signal MOD, An address signal ADR, write data DI, and control signal CON given from a system bus (not shown) are output to the circuit under test 1.

期待値生成部13は、テストステップカウント部11Aから与えられるステップ情報STPに従って、被テスト回路1が正常なときに出力されるべき期待値EXPを生成するものである。また、比較部14は、期待値生成部13で生成された期待値EXPと被テスト回路1から実際に出力されるテストデータTDOを比較し、一致しているか否かの比較結果信号RESを出力するものである。比較結果信号RESは、テストステップカウント部11Aと故障情報出力部15Aに与えられている。   The expected value generator 13 generates an expected value EXP to be output when the circuit under test 1 is normal, in accordance with the step information STP given from the test step count unit 11A. The comparison unit 14 compares the expected value EXP generated by the expected value generation unit 13 with the test data TDO actually output from the circuit under test 1 and outputs a comparison result signal RES as to whether or not they match. To do. The comparison result signal RES is given to the test step count unit 11A and the failure information output unit 15A.

故障情報出力部15Aは、ステップ情報STP、アドレス信号ADR、書き込みデータDI及び制御信号CONと、被テスト回路1から出力されたテストデータTDOを保存するための故障情報保存レジスタを有している。そして、故障情報出力部15Aは、比較結果信号RESによって不一致であることが出力されたときに、故障情報保存レジスタに保存された情報を、故障診断情報DIAGとしてシリアルに出力するようになっている。また、故障情報出力部15Aは、テストステップカウント部11Aにテスト再開情報RSTを出力すると共に、診断状態フラグ17に診断状態更新情報STSを出力する機能を有している。なお、テスト再開情報RSTは、比較結果信号RESによって不一致と判定されたステップの1つ前のステップを示すものである。   The failure information output unit 15A has step information STP, an address signal ADR, write data DI, a control signal CON, and a failure information storage register for storing the test data TDO output from the circuit under test 1. The failure information output unit 15A is configured to serially output information stored in the failure information storage register as failure diagnosis information DIAG when it is output that there is a mismatch by the comparison result signal RES. . Further, the failure information output unit 15A has a function of outputting the test resumption information RST to the test step count unit 11A and outputting the diagnosis state update information STS to the diagnosis state flag 17. Note that the test resumption information RST indicates the step immediately before the step determined to be inconsistent by the comparison result signal RES.

診断状態フラグ17は、故障情報出力部15Aから与えられる診断状態更新情報STSに基づいてフラグFLGをセットし、このフラグFLGをテストステップカウント部11Aに出力するものである。   The diagnosis state flag 17 sets a flag FLG based on the diagnosis state update information STS given from the failure information output unit 15A, and outputs this flag FLG to the test step count unit 11A.

図4は、図1の処理フローを示すフローチャートである。以下、この図4を参照しつつ、図1によるメモリBISTの処理を説明する。   FIG. 4 is a flowchart showing the processing flow of FIG. The processing of the memory BIST shown in FIG. 1 will be described below with reference to FIG.

メモリBIST回路によるテスト動作が開始されると、処理P1において、テストステップカウント部11Aのテップ情報STPと、診断状態フラグ17の初期化が行われ、処理P2のステップ更新処理へ進む。   When the test operation by the memory BIST circuit is started, in the process P1, the step information STP of the test step count unit 11A and the diagnosis state flag 17 are initialized, and the process proceeds to the step update process of the process P2.

処理P2において、診断状態フラグ17にセットされたフラグFLGに従って、テストステップカウント部11Aは、次のようにステップ情報STPを更新する。即ち、診断状態フラグ17にセットされたフラグFLGが、初期化でセットされた診断状態1のときにはステップ情報STPを1つ進め、診断状態2のときは故障診断情報DIAGの出力が終了するまでステップ情報STPの更新を停止する。また、診断状態3のときは、故障情報保存レジスタに保存されたステップ情報STPの1つ前のステップの状態にステップ情報STPを戻す。処理P2の後、処理P3へ進む。   In the process P2, the test step count unit 11A updates the step information STP as follows according to the flag FLG set in the diagnosis state flag 17. That is, when the flag FLG set in the diagnosis state flag 17 is in the diagnosis state 1 set by initialization, the step information STP is advanced by one. When in the diagnosis state 2, the step is continued until the output of the failure diagnosis information DIAG is completed. Update of information STP is stopped. In the diagnosis state 3, the step information STP is returned to the state of the previous step of the step information STP stored in the failure information storage register. After process P2, the process proceeds to process P3.

処理P3において、比較部14は、期待値生成部13から出力される期待値EXPと被テスト回路1から実際に出力されるテストデータTDOを比較し、一致しているか否かの比較結果信号RESを出力する。比較結果信号RESによって一致していることが示されると処理P4へ進み、一致していなければ、処理P5へ進む。   In the process P3, the comparison unit 14 compares the expected value EXP output from the expected value generation unit 13 with the test data TDO actually output from the circuit under test 1, and compares the comparison result signal RES as to whether or not they match. Is output. If the comparison result signal RES indicates that they match, the process proceeds to process P4. If they do not match, the process proceeds to process P5.

処理P4において、テストステップカウント部11Aは、テストが終了したか否かを判定する。すべてのテストステップが終了していれば、このメモリBISTの動作は終了する。終了していなければ、処理2へ戻る。   In process P4, the test step count unit 11A determines whether or not the test is completed. If all the test steps are finished, the operation of the memory BIST is finished. If not completed, return to process 2.

一方、比較結果信号RESで不一致が示されたときには、処理P5において故障情報出力部15Aにより、出力中の故障診断情報DIAGが有るか否かが判定される。出力中の故障診断情報DIAGがなければ処理P6へ進み、故障診断情報DIAGを出力中であれば処理P7へ進む。   On the other hand, when the comparison result signal RES indicates a mismatch, the failure information output unit 15A determines whether or not the failure diagnosis information DIAG being output exists in the process P5. If there is no failure diagnosis information DIAG being output, the process proceeds to process P6. If the failure diagnosis information DIAG is being output, the process proceeds to process P7.

処理P6では、故障診断情報DIAGの出力を開始し、その出力完了を待たずに直ちに処理P4へ進む。一方、処理P7では、故障情報出力部15Aの故障情報保存レジスタに不一致のテストステップのステップ情報STPを追加し、処理P8へ進む。   In the process P6, output of the failure diagnosis information DIAG is started, and the process immediately proceeds to the process P4 without waiting for the completion of the output. On the other hand, in process P7, step information STP of the mismatched test step is added to the fault information storage register of the fault information output unit 15A, and the process proceeds to process P8.

処理P8では、診断状態フラグ17のフラグFLGに診断状態2をセットし、前の不一致の故障診断情報DIAGの出力が終了するまで待つ。そして、前の不一致の故障診断情報DIAGの出力が終了した時点で、フラグFLGに診断状態3をセットし、処理P2へ進む。このような処理をすべてのテストステップが終了するまで続ける。   In the process P8, the diagnosis state 2 is set in the flag FLG of the diagnosis state flag 17, and the process waits until the output of the previous mismatch diagnosis information DIAG is completed. Then, when the output of the previous mismatch diagnostic information DIAG is completed, the diagnosis state 3 is set in the flag FLG, and the process proceeds to process P2. Such a process is continued until all test steps are completed.

図5は、図1のテスト時の動作を示す説明図である。
テストの実行により、アドレスAD1で期待値EXPと被テスト回路1から出力されたテストデータTDOの不一致が発生すると、故障情報出力部15AからはアドレスAD1の故障診断情報DIAGのシリアル出力が開始される。一方、テストステップカウント部11Aでは、ステップ情報STPが引き続いてアドレスAD2に更新され、テストが続行される。
FIG. 5 is an explanatory diagram showing the operation during the test of FIG.
When the test execution causes a mismatch between the expected value EXP and the test data TDO output from the circuit under test 1 at the address AD1, the fault information output unit 15A starts serial output of the fault diagnosis information DIAG at the address AD1. . On the other hand, in the test step count unit 11A, the step information STP is continuously updated to the address AD2, and the test is continued.

アドレスAD1の故障診断情報DIAGを出力中に、今度はアドレスAD3で期待値EXPと被テスト回路1から出力されたテストデータTDOの不一致が発生すると、テストの実行は中断される。そして、アドレスAD1の故障診断情報DIAGの出力が完了した時点で、故障情報出力部15Aからテストステップカウント部11Aに、アドレスAD3を指定するテスト再開情報RSTが出力される。これにより、ステップ情報STPは、故障情報保存レジスタに保存されたテストステップの1つ前のテストステップとなり、テスト動作が再開される。   If the mismatch between the expected value EXP and the test data TDO output from the circuit under test 1 occurs at the address AD3 while the failure diagnosis information DIAG at the address AD1 is being output, the test execution is interrupted. Then, when the output of the failure diagnosis information DIAG at the address AD1 is completed, the test resumption information RST specifying the address AD3 is output from the failure information output unit 15A to the test step count unit 11A. Thereby, the step information STP becomes a test step immediately before the test step stored in the failure information storage register, and the test operation is resumed.

以上のように、この実施例1のメモリBIST回路は、故障が発見されたときの状態を一旦保持して故障診断情報DIAGとして出力するための故障情報保存レジスタを備えた故障情報出力部15Aを有している。更に、故障情報出力部15Aは、故障診断情報DIAGの出力中に次の故障が発見されたときに、故障診断情報DIAGの出力が完了した時点で1つ前のアドレスに戻ってテストを再開させるためのテスト再開情報RSTをテストステップカウント部11Aに出力するようにしている。これにより、BISTの動作とこのテストで発見された故障診断情報DIAGの出力を同時に行うことができ、故障診断情報DIAGの出力によるテスト時間の増加を抑制することができるという利点がある。   As described above, the memory BIST circuit according to the first embodiment includes the failure information output unit 15A including the failure information storage register for temporarily holding the state when the failure is found and outputting the failure diagnosis information DIAG. Have. Further, the failure information output unit 15A returns to the previous address and restarts the test when the output of the failure diagnosis information DIAG is completed when the next failure is found during the output of the failure diagnosis information DIAG. Test resumption information RST is output to the test step count unit 11A. As a result, the operation of the BIST and the output of the failure diagnosis information DIAG found in this test can be performed simultaneously, and there is an advantage that an increase in test time due to the output of the failure diagnosis information DIAG can be suppressed.

更に、故障診断情報DIAGの出力中に引き続いて故障が発見された場合でも、最初の状態に戻らず、故障発見の1つ前のアドレスに戻ってテストを再開させることができる。これにより、重複したテストが回避されると共に、正確なタイミングでのテストができるという利点がある。   Furthermore, even when a failure is detected during the output of the failure diagnosis information DIAG, the test can be resumed by returning to the address immediately before the failure detection without returning to the initial state. Thus, there are advantages that a duplicate test can be avoided and a test can be performed at an accurate timing.

図6は、本発明の実施例2を示すメモリBIST回路の構成図であり、図1中の要素と共通の要素には共通の符号が付されている。   FIG. 6 is a configuration diagram of a memory BIST circuit showing Embodiment 2 of the present invention. Elements common to those in FIG. 1 are denoted by common reference numerals.

このメモリBIST回路は、図1中の故障情報出力部15Aに代えて、故障情報保存用にFIFO(First In First Out)バッファを用いた故障情報出力部15Bを設けたもので、その他の構成は、図1と同様である。FIFOバッファは、先に書き込んだデータから順番に読み出されるように構成されたバッファメモリで、複数のデータ(この場合は、複数の故障箇所のデータ)を保存することができるという特徴がある。   This memory BIST circuit is provided with a failure information output unit 15B using a FIFO (First In First Out) buffer for storing failure information in place of the failure information output unit 15A in FIG. This is the same as FIG. The FIFO buffer is a buffer memory configured to be read in order from the previously written data, and has a feature that a plurality of data (in this case, data of a plurality of failure points) can be stored.

図7は、図6の処理フローを示すフローチャートであり、図4中の要素と共通の要素には共通の符号が付されている。   FIG. 7 is a flowchart showing the processing flow of FIG. 6. Elements common to those in FIG. 4 are denoted by common reference numerals.

処理P1〜P4は、図6と同様である。
処理P3において、期待値生成部13から出力される期待値EXPと被テスト回路1から実際に出力されるテストデータTDOが比較部14で不一致と判定されると、処理P10へ進み、故障情報出力部15B内のFIFOバッファに、不一致と判定されたテストステップのステップ情報STP等が追加して書き込まれる。処理P10の後、処理P11へ進む。
Processes P1 to P4 are the same as those in FIG.
In process P3, when the expected value EXP output from the expected value generating unit 13 and the test data TDO actually output from the circuit under test 1 are determined to be inconsistent by the comparing unit 14, the process proceeds to process P10, and failure information output is performed. Step information STP and the like of the test step determined to be inconsistent are written in the FIFO buffer in the unit 15B. After process P10, the process proceeds to process P11.

処理P11において、FIFOバッファの状態が調べられ、空き領域がなければ処理P12へ進み、空き領域があれば処理P14へ進む。   In process P11, the state of the FIFO buffer is checked. If there is no free area, the process proceeds to process P12, and if there is a free area, the process proceeds to process P14.

処理P12において、FIFOバッファに保存されたステップ情報STP等が読み出され、故障診断情報DIAGとしてシリアルに出力される。故障診断情報DIAGの出力は、処理P13のループにより、FIFOバッファが空になるまで繰り返される。そして、FIFOバッファが空になると、処理P2へ戻る。   In process P12, step information STP and the like stored in the FIFO buffer are read out and serially output as failure diagnosis information DIAG. The output of the failure diagnosis information DIAG is repeated until the FIFO buffer becomes empty by the loop of process P13. When the FIFO buffer becomes empty, the process returns to process P2.

一方、処理P11から処理P14へ進んだ場合、処理P14において、故障情報出力部15Bが起動され、直ちに処理P4へ進む。故障情報出力部15Bが起動されると、処理P15により、BISTによるテスト動作の実行と並行して、故障診断情報DIAGの出力が行われる。この故障診断情報DIAGの出力は、処理P16のループにより、FIFOバッファが空になるまで繰り返される。   On the other hand, when the process P11 proceeds to the process P14, the fault information output unit 15B is activated in the process P14, and the process immediately proceeds to the process P4. When the failure information output unit 15B is activated, the failure diagnosis information DIAG is output in parallel with the execution of the test operation by the BIST by the process P15. The output of the failure diagnosis information DIAG is repeated until the FIFO buffer becomes empty by the loop of process P16.

図8は、図6のテスト時の動作を示す説明図である。
テストの実行により、アドレスAD1で期待値EXPと被テスト回路1から出力されたテストデータTDOの不一致が発生すると、故障情報出力部15BのFIFOバッファにアドレスAD1のステップ情報STP等が書き込まれる。一方、テストステップカウント部11Aでは、ステップ情報STPが引き続いてアドレスAD2に更新され、テストが続行される。
FIG. 8 is an explanatory diagram showing the operation during the test of FIG.
When the test execution causes a mismatch between the expected value EXP and the test data TDO output from the circuit under test 1 at the address AD1, the step information STP and the like of the address AD1 is written in the FIFO buffer of the failure information output unit 15B. On the other hand, in the test step count unit 11A, the step information STP is continuously updated to the address AD2, and the test is continued.

故障情報出力部15Bでは、FIFOバッファにアドレスAD1のステップ情報STP等が書き込まれたことにより、このFIFOバッファに書き込まれたステップ情報STP等が読み出され、アドレスAD1の故障診断情報DIAGのシリアル出力が開始される。   The failure information output unit 15B reads the step information STP and the like written in the FIFO buffer by writing the step information STP and the like of the address AD1 in the FIFO buffer, and serially outputs the failure diagnosis information DIAG of the address AD1. Is started.

アドレスAD1の故障診断情報DIAGを出力中に、今度はアドレスAD3で期待値EXPと被テスト回路1から出力されたテストデータTDOの不一致が発生すると、FIFOバッファにアドレスAD3のステップ情報STP等が書き込まれる。ここで、FIFOバッファの空き領域がなくなると、テストの実行は中断される。そして、アドレスAD1の故障診断情報DIAGと、アドレスAD3の故障診断情報DIAGの出力が完了した時点で、故障情報出力部15Bからテストステップカウント部11Aに、アドレスAD3を指定するテスト再開情報RSTが出力される。これにより、ステップ情報STPは、故障情報保存レジスタに保存されたテストステップの1つ前のテストステップとなり、テスト動作が再開される。   If the mismatch between the expected value EXP and the test data TDO output from the circuit under test 1 occurs at the address AD3 while the failure diagnosis information DIAG at the address AD1 is being output, the step information STP and the like of the address AD3 is written to the FIFO buffer. It is. Here, the test execution is interrupted when there is no more free space in the FIFO buffer. When the failure diagnosis information DIAG at the address AD1 and the failure diagnosis information DIAG at the address AD3 are completely output, the test restart information RST specifying the address AD3 is output from the failure information output unit 15B to the test step count unit 11A. Is done. Thereby, the step information STP becomes a test step immediately before the test step stored in the failure information storage register, and the test operation is resumed.

以上のように、この実施例2のメモリBIST回路は、故障が発見されたときの状態を一旦保持して故障診断情報DIAGとして出力するために、複数のアドレスに対応するステップ情報STPを保存することができるFIFOバッファを備えた故障情報出力部15Bを有している。これにより、実施例1と同様の利点に加えて、複数のアドレスで故障が生じても、FIFOバッファに空き領域がある限り、テストを中断せずに続行することができ、故障診断情報DIAGの出力によるテスト時間の増加を更に抑制することができるという利点がある。   As described above, the memory BIST circuit of the second embodiment stores the step information STP corresponding to a plurality of addresses in order to temporarily hold the state when the failure is found and output it as the failure diagnosis information DIAG. It has a failure information output unit 15B having a FIFO buffer. As a result, in addition to the same advantages as in the first embodiment, even if a failure occurs at a plurality of addresses, as long as there is an empty area in the FIFO buffer, the test can be continued without interruption, and the failure diagnosis information DIAG There is an advantage that an increase in test time due to output can be further suppressed.

なお、本発明は、上記実施例に限定されず、種々の変形が可能である。この変形例としては、例えば、次のようなものがある。
(a) メモリBIST回路の構成は、図1や図6に例示したブロック構成に限定されない。
(b) メモリBIST回路による処理の流れは、図4や図7に例示したものに限定されない。例えば、図7において、処理P10でFIFOバッファにテストステップを追加した後、P11でバッファ状態を調べているが、FIFOバッファの状態を調べた後、空きがあればテストステップを追加するようにしても良い。
(c) 故障情報出力部15Aからテストステップカウント部11Aに出力するテスト再開情報RSTで、故障情報保存レジスタに保存されたテストステップの1つ前のテストステップを指定するようにしているが、1つ前のテストステップではなく、2つ前や3つ前のテストステップを指定するようにしても良い。即ち、テスト再開情報RSTは、故障検出アドレスよりも前のアドレスであれば良い。
In addition, this invention is not limited to the said Example, A various deformation | transformation is possible. Examples of this modification include the following.
(A) The configuration of the memory BIST circuit is not limited to the block configuration illustrated in FIGS. 1 and 6.
(B) The flow of processing by the memory BIST circuit is not limited to that illustrated in FIGS. For example, in FIG. 7, after adding a test step to the FIFO buffer in process P10, the buffer state is checked in P11. Also good.
(C) The test resumption information RST output from the failure information output unit 15A to the test step count unit 11A specifies the test step immediately before the test step stored in the failure information storage register. Instead of the previous test step, the second or third previous test step may be designated. That is, the test resumption information RST may be an address before the failure detection address.

本発明の実施例1を示すメモリBIST回路の構成図である。1 is a configuration diagram of a memory BIST circuit showing Embodiment 1 of the present invention. FIG. 従来のメモリBIST回路の構成図である。It is a block diagram of the conventional memory BIST circuit. 図2のテスト時の動作例を示す説明図である。FIG. 3 is an explanatory diagram illustrating an operation example during the test of FIG. 2. 図1の処理フローを示すフローチャートである。It is a flowchart which shows the processing flow of FIG. 図1のテスト時の動作を示す説明図である。It is explanatory drawing which shows the operation | movement at the time of the test of FIG. 本発明の実施例2を示すメモリBIST回路の構成図である。It is a block diagram of the memory BIST circuit which shows Example 2 of this invention. 図6の処理フローを示すフローチャートである。It is a flowchart which shows the processing flow of FIG. 図6のテスト時の動作を示す説明図である。It is explanatory drawing which shows the operation | movement at the time of the test of FIG.

符号の説明Explanation of symbols

1 被テスト回路
11A テストステップカウント部
12 テストパターン生成部
13 期待値生成部
14 比較部
15A,15B 故障情報出力部
16 セレクタ
17 診断状態フラグ
DESCRIPTION OF SYMBOLS 1 Circuit under test 11A Test step count part 12 Test pattern generation part 13 Expected value generation part 14 Comparison part 15A, 15B Failure information output part 16 Selector 17 Diagnosis state flag

Claims (3)

比較結果信号、テスト再開情報及び診断状態情報に応じてステップ情報を生成するテストステップカウント部と、
前記ステップ情報に従って被テスト回路に与えるテストパターンを生成するテストパターン生成部と、
前記ステップ情報に従って前記被テスト回路から出力されるべき期待値を生成する期待値生成部と、
前記期待値と前記被テスト回路から出力される出力データとを比較して前記比較結果信号を出力する比較部と、
前記ステップ情報、前記テストパターン、前記比較結果信号及び前記出力データに基づいて前記被テスト回路の故障情報を取り込んで故障診断情報として出力すると共に、その処理状態を前記診断状態情報として出力し、該故障診断情報の出力終了後に前記テスト再開情報を出力する故障情報出力部とを、
備えたことを特徴とする組み込み型メモリテスト回路。
A test step count unit that generates step information according to the comparison result signal, the test resumption information, and the diagnosis state information;
A test pattern generator for generating a test pattern to be applied to the circuit under test according to the step information;
An expected value generator for generating an expected value to be output from the circuit under test according to the step information;
A comparator for comparing the expected value with output data output from the circuit under test and outputting the comparison result signal;
Based on the step information, the test pattern, the comparison result signal, and the output data, the failure information of the circuit under test is captured and output as failure diagnosis information, and the processing state is output as the diagnosis state information, A failure information output unit for outputting the test resumption information after completion of the output of the failure diagnosis information;
A built-in memory test circuit characterized by comprising:
前記テスト再開情報は、前記故障情報出力部が取り込んだ前記被テスト回路の故障情報に対応するステップ情報の1つ前のステップを示す情報であることを特徴とする請求項1記載の組み込み型メモリテスト回路。   2. The embedded memory according to claim 1, wherein the test resumption information is information indicating a step preceding the step information corresponding to the failure information of the circuit under test taken in by the failure information output unit. Test circuit. 前記故障情報出力部は、前記被テスト回路の複数の故障情報を保存するための先入れ先出しバッファを有することを特徴とする請求項1または2記載の組み込み型メモリテスト回路。   3. The embedded memory test circuit according to claim 1, wherein the failure information output section has a first-in first-out buffer for storing a plurality of pieces of failure information of the circuit under test.
JP2007052368A 2007-03-02 2007-03-02 Built-in memory test circuit Withdrawn JP2008217880A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007052368A JP2008217880A (en) 2007-03-02 2007-03-02 Built-in memory test circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007052368A JP2008217880A (en) 2007-03-02 2007-03-02 Built-in memory test circuit

Publications (1)

Publication Number Publication Date
JP2008217880A true JP2008217880A (en) 2008-09-18

Family

ID=39837749

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007052368A Withdrawn JP2008217880A (en) 2007-03-02 2007-03-02 Built-in memory test circuit

Country Status (1)

Country Link
JP (1) JP2008217880A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010134979A (en) * 2008-12-03 2010-06-17 Fujitsu Ltd Processor and method for controlling storage-device test unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010134979A (en) * 2008-12-03 2010-06-17 Fujitsu Ltd Processor and method for controlling storage-device test unit

Similar Documents

Publication Publication Date Title
JP4455547B2 (en) Semiconductor integrated circuit
JP4044075B2 (en) Test circuit and test method for semiconductor integrated circuit
JP4455623B2 (en) Semiconductor integrated circuit and test system thereof
JP6071930B2 (en) Semiconductor integrated circuit
JP4312818B2 (en) Memory diagnostic device
JP2009059434A (en) Semiconductor integrated circuit
JP2010123159A (en) Semiconductor integrated circuit
JP2008009721A (en) Evaluation system and evaluation method thereof
KR970004077B1 (en) Method and apparatus for detecting retention faults in memory
US7149944B2 (en) Semiconductor integrated circuit device equipped with read sequencer and write sequencer
US20160372211A1 (en) Error detection apparatus for a semiconductor memory device
JP2011163842A (en) Semiconductor device and method of diagnosing the same
JP5986474B2 (en) Memory failure diagnosis device and memory failure diagnosis method
JP2008217880A (en) Built-in memory test circuit
JP2019164095A (en) Semiconductor integrated circuit
JP5982845B2 (en) Trace control apparatus and trace control method
JP2008082976A (en) Fbm generator, fbm generating method
JP2004086996A (en) Memory test circuit
JP5279817B2 (en) Test apparatus and test method
JPH07198782A (en) Diagnosis circuit
JP2014049165A (en) Semiconductor device, and memory test method
US20200300915A1 (en) Semiconductor device, method for diagnosing semiconductor device, and diagnosis program for semiconductor device
JP2017045090A (en) Semiconductor integrated circuit and electronic apparatus
JP2007133604A (en) Computer system, operational state determination program and operational state determination method
JP2001005689A (en) Trace sampling circuit

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20100511