JP2005332555A - Test circuit, test method and semiconductor integrated circuit device - Google Patents

Test circuit, test method and semiconductor integrated circuit device Download PDF

Info

Publication number
JP2005332555A
JP2005332555A JP2005043314A JP2005043314A JP2005332555A JP 2005332555 A JP2005332555 A JP 2005332555A JP 2005043314 A JP2005043314 A JP 2005043314A JP 2005043314 A JP2005043314 A JP 2005043314A JP 2005332555 A JP2005332555 A JP 2005332555A
Authority
JP
Japan
Prior art keywords
circuit
test
data
clock
signal
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
JP2005043314A
Other languages
Japanese (ja)
Inventor
Jiyou Senaga
丈 世永
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 JP2005043314A priority Critical patent/JP2005332555A/en
Publication of JP2005332555A publication Critical patent/JP2005332555A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Dram (AREA)
  • Tests Of Electronic Circuits (AREA)
  • Semiconductor Integrated Circuits (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a test circuit and a test method in which a test is completed without interruption even though input signals are interrupted or changed, and to provide a semiconductor integrated circuit including the test circuit. <P>SOLUTION: A BIST circuit 1 has a control register 12 which continuously holds written data until a subsequent reset instruction is inputted, a TAP controller 11 which receives signals tms and tdi to select a test mode and writes data ctrl to the control register 12 based on the signals tms and tdi in synchronism with a clock tck, a pattern generating circuit 20 which generates a test pattern based on the data ctrl held by the control register 12 and outputs the test pattern to a SDRAM50 in synchronism with an external clock exck, a data comparator 30 which receives data dout outputted from the SDRAM50 in synchronism with the external clock exck and evaluates the performance of the SDRAM50 and an output control circuit 40 which is operated in synchronism with the external clock exck. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、高速半導体メモリ等の被テスト回路のテストを行う内蔵自己テスト(Built−In Self Test(BIST))回路のようなテスト回路、被テスト回路のテスト方法、及び、同じ半導体基板にテスト回路とロジック回路(例えば、CPU)を備えた半導体集積回路装置に関するものである。   The present invention relates to a test circuit such as a built-in self test (BIST) circuit for testing a circuit under test such as a high-speed semiconductor memory, a test method for the circuit under test, and a test on the same semiconductor substrate. The present invention relates to a semiconductor integrated circuit device including a circuit and a logic circuit (for example, a CPU).

半導体メモリ等の半導体集積回路の性能をテストするテスト回路が種々提案されている。例えば、特許文献1には、同期型ダイナミック・ランダム・アクセス・メモリ(Synchronous Dynamic Random Access Memory(SDRAM))をテストするBIST回路が提案されている。このBIST回路は、例えば、JTAG規格に準拠した標準シリアルインタフェース信号であるテスト用入力パターン(テストクロックtck、テストモード信号tms、及びテストデータ入力信号tdi)を受け取り、テストモード信号tms及びテストデータ入力信号tdiに基づき決定されたテストモード選択結果ctrlに応じた内容のテストパターンを生成し、生成されたテストパターンを用いたテストを被テスト回路であるSDRAMに対して行う。   Various test circuits for testing the performance of a semiconductor integrated circuit such as a semiconductor memory have been proposed. For example, Patent Document 1 proposes a BIST circuit that tests a synchronous dynamic random access memory (SDRAM). The BIST circuit receives, for example, a test input pattern (a test clock tck, a test mode signal tms, and a test data input signal tdi) that is a standard serial interface signal compliant with the JTAG standard, and receives a test mode signal tms and a test data input. A test pattern having contents corresponding to the test mode selection result ctrl determined based on the signal tdi is generated, and a test using the generated test pattern is performed on the SDRAM which is a circuit under test.

特開2004−93421号公報(段落0034−0063、図1、図2、図4)Japanese Patent Laying-Open No. 2004-93421 (paragraphs 0034-0063, FIGS. 1, 2, and 4)

しかしながら、上記した従来のBIST回路は、テスト用入力パターン(テストクロックtck、テストモード信号tms、及びテストデータ入力信号tdi)が与えられている期間にSDRAMに対するテストを行うように構成されている。このため、SDRAMのテストの途中で、テスト用入力パターンの入力が中断したり、又は、変更されたりした場合に、所定のテストが中断したり、又は、所定のテストを行うことができないことがある。   However, the above-described conventional BIST circuit is configured to perform a test on the SDRAM during a period in which a test input pattern (test clock tck, test mode signal tms, and test data input signal tdi) is given. For this reason, when the input of the test input pattern is interrupted or changed during the test of the SDRAM, the predetermined test may be interrupted or the predetermined test cannot be performed. is there.

本発明の目的は、テストの途中でテスト用入力パターンの入力が中断したり、又は、変更されたりした場合であっても、所定のテストを中断させずに完了させることができるテスト回路及びテスト方法を提供することである。   An object of the present invention is to provide a test circuit and a test capable of completing a predetermined test without interruption even when input of a test input pattern is interrupted or changed during the test. Is to provide a method.

また、本発明の他の目的は、上記テスト回路を用いることによってレイアウト面積の削減及びテスト時間を短縮することができる半導体集積回路装置を提供することである。   Another object of the present invention is to provide a semiconductor integrated circuit device capable of reducing the layout area and the test time by using the test circuit.

本発明のテスト回路は、リセット信号によってリセットが指示されてデータがクリアされた後にデータが書込まれ、次のリセット信号によってリセットが指示されるまで前記書込まれたデータを保持し続けるレジスタ回路と、被テスト回路のテストに用いられるテストモードを選択するための信号が入力され、第1のクロックに同期して前記レジスタ回路に前記テストモードを選択するための信号に基づくデータを書込む第1の回路と、前記レジスタ回路に保持されているデータに基づくテストパターンを生成し、第2のクロックに同期して前記被テスト回路に対して前記テストパターンに基づくデータを出力する第2の回路と、前記第2のクロックに同期して前記被テスト回路から出力されたデータが入力され、前記テストパターン及び前記被テスト回路から出力されたデータに基づいて前記被テスト回路の性能の評価を行う第3の回路とを有するものである。   A test circuit according to the present invention is a register circuit in which data is written after reset is instructed by a reset signal and data is cleared, and continues to hold the written data until reset is instructed by the next reset signal And a signal for selecting a test mode used for testing the circuit under test, and data based on the signal for selecting the test mode is written into the register circuit in synchronization with a first clock. 1 circuit and a second circuit for generating a test pattern based on the data held in the register circuit and outputting data based on the test pattern to the circuit under test in synchronization with a second clock And data outputted from the circuit under test in synchronization with the second clock are inputted, and the test pattern and the previous In which a third circuit for evaluating a performance of the circuit under test on the basis of the data output from the test circuit.

また、本発明の半導体集積回路装置は、半導体基板に形成された前記テスト回路と、
前記半導体基板に形成されたロジック回路と、前記半導体基板に形成され、前記テスト回路の前記第1の回路と前記ロジック回路の両方に接続された第1の共通配線と、前記半導体基板に形成され、前記第1の共通配線に接続された第1の共通端子とを有するものである。
The semiconductor integrated circuit device of the present invention includes the test circuit formed on the semiconductor substrate,
A logic circuit formed on the semiconductor substrate; a first common wiring formed on the semiconductor substrate and connected to both the first circuit and the logic circuit of the test circuit; and formed on the semiconductor substrate. And a first common terminal connected to the first common wiring.

また、本発明のテスト方法は、リセット信号によってリセットが指示されてデータがクリアされた後にデータが書込まれ、次のリセット信号によってリセットが指示されるまで前記書込まれたデータを保持し続けるレジスタ回路を含むテスト回路を用いるテスト方法であって、被テスト回路のテストに用いられるテストモードを選択するための信号が前記テスト回路に入力され、第1のクロックに同期して、前記レジスタ回路に前記テストモードを選択するための信号に基づくデータを書込むステップと、前記レジスタ回路に保持されているデータに基づくテストパターンを生成し、第2のクロックに同期して前記被テスト回路に対して前記テストパターンに基づくデータを出力するステップと、前記第2のクロックに同期して前記被テスト回路から出力されたデータが前記テスト回路に入力され、前記テストパターン及び前記被テスト回路から出力されたデータに基づいて前記被テスト回路の性能の評価を行うステップとを有するものである。   In the test method of the present invention, data is written after the reset is instructed by the reset signal and the data is cleared, and the written data is held until the reset is instructed by the next reset signal. A test method using a test circuit including a register circuit, wherein a signal for selecting a test mode used for testing a circuit under test is input to the test circuit, and the register circuit is synchronized with a first clock. Writing data based on a signal for selecting the test mode to the test circuit, generating a test pattern based on the data held in the register circuit, and synchronizing the second clock with respect to the circuit under test Outputting data based on the test pattern and synchronizing with the second clock Data output from the road are input to the test circuit, wherein the test pattern and the based on the data output from the test circuit in which a step of evaluating the performance of the circuit under test.

本発明のテスト回路又はテスト方法においては、リセット信号によってリセットが指示された後にデータが書込まれ、次のリセット信号によってリセットが指示されるまで書込まれたデータを保持し続けるレジスタ回路を用いる。このレジスタ回路は、リセット信号によってリセットが指示されるまで書込まれたデータを保持し続けるので、レジスタ回路への入力データが変更されても、リセット信号によってリセットが指示されない限り、レジスタ回路が保持しているデータは変更されない。このため、レジスタ回路に保持されているデータに基づいてテストパターンを生成し、被テスト回路に対してテストパターンに基づくデータを出力し、被テスト回路から出力されたデータに基づいて被テスト回路の性能の評価を行う被テスト回路のテスト中においては、テスト回路への入力データは、テスト動作に影響を与えることはない。よって、本発明のテスト回路又はテスト方法によれば、テストの途中でテスト回路への入力であるテスト用入力パターンの入力が中断したり、又は、変更されたりした場合であっても、所定のテストを中断させずに完了させることができるという効果がある。   In the test circuit or test method of the present invention, a register circuit is used in which data is written after a reset is instructed by a reset signal and continues to hold the written data until a reset is instructed by the next reset signal. . Since this register circuit keeps the written data until reset is instructed by the reset signal, even if the input data to the register circuit is changed, the register circuit retains unless reset is instructed by the reset signal Data is not changed. Therefore, a test pattern is generated based on the data held in the register circuit, data based on the test pattern is output to the circuit under test, and the circuit under test is output based on the data output from the circuit under test. During the test of the circuit under test for evaluating the performance, the input data to the test circuit does not affect the test operation. Therefore, according to the test circuit or the test method of the present invention, even when the input of the test input pattern, which is an input to the test circuit, is interrupted or changed during the test, the predetermined circuit The effect is that the test can be completed without interruption.

また、本発明の半導体集積回路装置は、同じ半導体基板に、ロジック回路と、被テスト回路のテストの途中でレジスタ回路への入力であるテスト用入力パターンの入力が中断したり、又は、変更されたりした場合であっても、所定のテストを中断させずに完了させることができるテスト回路とを備えている。このため、テスト回路による被テスト回路のテストの途中においては、共通端子と共通配線を通してロジック回路への入力信号を供給することができる。よって、本発明の半導体集積回路装置によれば、入力信号用のセレクタ回路を備えなくても、テスト回路への信号の供給及びロジック回路への信号の供給が可能であり、セレクタ回路を備えないことによるレイアウト面積の削減、及び、セレクタ回路の切り替え動作に伴う信号遅延の排除によるテスト時間の短縮を実現できるという効果がある。   In the semiconductor integrated circuit device of the present invention, the input of the logic circuit and the test input pattern, which is the input to the register circuit, is interrupted or changed on the same semiconductor substrate during the test of the circuit under test. A test circuit that can complete a predetermined test without interrupting the test. Therefore, during the test of the circuit under test by the test circuit, an input signal to the logic circuit can be supplied through the common terminal and the common wiring. Therefore, according to the semiconductor integrated circuit device of the present invention, the signal can be supplied to the test circuit and the signal can be supplied to the logic circuit without the input signal selector circuit, and the selector circuit is not provided. Thus, the layout area can be reduced, and the test time can be shortened by eliminating the signal delay associated with the selector circuit switching operation.

<第1の実施形態>
図1は、本発明の第1の実施形態に係るテスト回路であるBIST回路1の概略的な構成と、このBIST回路1に接続されたテスタ65及び被テスト回路であるSDRAM50を示すブロック図である。また、図2は、図1のBIST回路1の概略的な構成を示すブロック図である。
<First Embodiment>
FIG. 1 is a block diagram showing a schematic configuration of a BIST circuit 1 which is a test circuit according to the first embodiment of the present invention, a tester 65 connected to the BIST circuit 1, and an SDRAM 50 which is a circuit under test. is there. FIG. 2 is a block diagram showing a schematic configuration of the BIST circuit 1 of FIG.

BIST回路1は、被テスト回路であるSDRAM50(半導体メモリの1つである)をテストするためにSDRAM50のコマンドを生成する回路である。図1には、BIST回路1をテスタ65に接続して使用する場合を示す。BIST回路1は、テスタ65から出力された信号が入力されるBIST制御回路10と、パターン生成回路20、データ比較器30、及び出力制御回路40を有している。BIST制御回路10の出力ctrlは、パターン生成回路20及びデータ比較器30に供給される。また、データ比較器30の出力compoutは、出力制御回路40に供給される。BIST制御回路10、パターン生成回路20、データ比較器30、及び出力制御回路40は、例えば、同一の半導体基板に形成されている。   The BIST circuit 1 is a circuit that generates a command of the SDRAM 50 in order to test the SDRAM 50 (which is one of semiconductor memories) that is a circuit under test. FIG. 1 shows a case where the BIST circuit 1 is used by being connected to a tester 65. The BIST circuit 1 includes a BIST control circuit 10 to which a signal output from the tester 65 is input, a pattern generation circuit 20, a data comparator 30, and an output control circuit 40. The output ctrl of the BIST control circuit 10 is supplied to the pattern generation circuit 20 and the data comparator 30. Further, the output compout of the data comparator 30 is supplied to the output control circuit 40. The BIST control circuit 10, the pattern generation circuit 20, the data comparator 30, and the output control circuit 40 are formed on the same semiconductor substrate, for example.

BIST制御回路10には、例えば、テスタ65から、SDRAM50に対するテストモードを選択するためのデータ等が入力される。第1の実施形態においては、BIST制御回路10には、JTAG規格に準拠した標準シリアルインタフェース用のデータである、40MHz程度の第1のクロックであるテストクロックtck、テストモード信号tms、テストデータ入力信号tdi、及びテストリセット信号trstnが入力される。BIST制御回路10は、入力されたテストクロックtckに同期して、テストモード選択結果を示す複数ビットのBIST制御信号ctrlをパターン生成回路20へ出力する。第1の実施形態においては、BIST制御回路10は、テストモード選択結果であるBIST制御信号ctrlを保持する保持回路であるデータレジスタ12Aを有している。   For example, data for selecting a test mode for the SDRAM 50 is input from the tester 65 to the BIST control circuit 10. In the first embodiment, the BIST control circuit 10 has a test clock tck, which is a first clock of about 40 MHz, which is data for a standard serial interface compliant with the JTAG standard, a test mode signal tms, and test data input. A signal tdi and a test reset signal trstn are input. The BIST control circuit 10 outputs a multi-bit BIST control signal ctrl indicating the test mode selection result to the pattern generation circuit 20 in synchronization with the input test clock tck. In the first embodiment, the BIST control circuit 10 includes a data register 12A that is a holding circuit that holds a BIST control signal ctrl that is a test mode selection result.

パターン生成回路20には、BIST制御信号ctrl、及びテスタ65から供給される外部クロック(例えば、100MHz以上の外部クロック)exckが入力される。パターン生成回路20は、入力されたBIST制御信号ctrlに応答し、外部クロックexckに同期してテストパターンを生成する。このテストパターンには、例えば、SDRAM50の入力信号であるクロックsck(外部クロックexckに同期したクロック)、複数ビットのコマンド(制御信号)csb,rasb,casb,web、複数ビットのアドレスadr、及び複数ビットの入力データdinが含まれる。クロックsck、コマンドcsb,rasb,casb,web、アドレスadr、及び入力データdinは、SDRAM50へ出力される。また、パターン生成回路20は、入力データdinを、期待値としてデータ比較器30にも出力する。   The pattern generation circuit 20 receives the BIST control signal ctrl and an external clock (for example, an external clock of 100 MHz or more) supplied from the tester 65. The pattern generation circuit 20 generates a test pattern in synchronization with the external clock exck in response to the input BIST control signal ctrl. The test pattern includes, for example, a clock sck (a clock synchronized with the external clock exck) that is an input signal of the SDRAM 50, a plurality of commands (control signals) csb, rasb, casb, web, a plurality of addresses adr, and a plurality of bits. Bit input data din is included. The clock sck, commands csb, rasb, casb, web, address adr, and input data din are output to the SDRAM 50. The pattern generation circuit 20 also outputs the input data din as an expected value to the data comparator 30.

パターン生成回路20から出力された制御信号csbは、SDRAM50内に設けられた複数のメモリセルアレイの中の1つを選択する反転チップセレクト(chip select)信号である。パターン生成回路20から出力された制御信号rasbは、行アドレスのラッチ及びその行アドレスに基づき、ワード線の選択やメモリセルのリフレッシュを行う反転ロウアドレスストローブ(row address strobe)信号である。パターン生成回路20から出力された制御信号casbは、列アドレスのラッチ及びその列アドレスに基づき、ビット線の選択を行い、書き込み又は読み出し動作を行う反転カラムアドレスストローブ(column addresss strobe)信号である。また、パターン生成回路20から出力された制御信号webは、行アドレス、列アドレスで選択されたメモリセルに対する書き込み又は読み出しモードを決める反転ライトイネーブル(write enable)信号である。   The control signal csb output from the pattern generation circuit 20 is an inverted chip select (chip select) signal for selecting one of a plurality of memory cell arrays provided in the SDRAM 50. The control signal rasb output from the pattern generation circuit 20 is an inverted row address strobe signal for selecting a word line and refreshing a memory cell based on the row address latch and the row address. The control signal casb output from the pattern generation circuit 20 is a column address strobe signal that selects a bit line based on a column address latch and the column address and performs a write or read operation. The control signal web output from the pattern generation circuit 20 is an inverted write enable signal that determines a write or read mode for a memory cell selected by a row address and a column address.

データ比較器30には、外部クロックexckに同期してSDRAM50のテスト結果である出力データdoutと、BIST制御信号ctrlと、SDRAM50に与えられたテストパターン(例えば、期待値である複数ビットからなる入力データdin)とが入力される。データ比較器30は、期待値である入力データdinとSDRAM50からの出力データdoutとを比較し、入力データdinと出力データdoutとの一致又は不一致を示す比較結果compoutを出力制御回路40へ出力する。   The data comparator 30 receives output data dout that is a test result of the SDRAM 50 in synchronization with the external clock exck, a BIST control signal ctrl, and a test pattern (for example, an input consisting of a plurality of bits that are expected values). Data din). The data comparator 30 compares the input data din, which is an expected value, with the output data dout from the SDRAM 50, and outputs a comparison result compout indicating whether the input data din and the output data dout match or does not match to the output control circuit 40. .

出力制御回路40には、比較結果compoutが入力され保持される。出力制御回路40は、テスタ65から入力された外部クロックexckに同期して、保持された比較結果compoutに対応するテストデータ出力信号tdoをテスタ65へ出力する。   The output control circuit 40 receives and holds the comparison result compout. The output control circuit 40 outputs a test data output signal tdo corresponding to the held comparison result compout to the tester 65 in synchronization with the external clock exck input from the tester 65.

図3は、図1に示されるSDRAM50の概略的な構成を示すブロック図である。   FIG. 3 is a block diagram showing a schematic configuration of the SDRAM 50 shown in FIG.

SDRAM50においては、図1のパターン生成回路20から出力されたコマンドcsb,rasb,casb,webが、コマンドコントローラ51に与えられると、このコマンドコントローラ51から、クロックsckに同期したSDRAM全体を制御するための複数の制御信号が出力される。コマンドコントローラ51の出力制御信号が、入/出力(I/O)コントローラ52とI/Oバッファ53に入力されると、I/Oコントローラ52の制御により、I/Oバッファ53に対してデータdinの入力又はデータdoutの出力が行われる。   In the SDRAM 50, when the commands csb, rasb, casb, and web output from the pattern generation circuit 20 of FIG. 1 are given to the command controller 51, the command controller 51 controls the entire SDRAM synchronized with the clock sck. A plurality of control signals are output. When the output control signal of the command controller 51 is input to the input / output (I / O) controller 52 and the I / O buffer 53, the data din is sent to the I / O buffer 53 by the control of the I / O controller 52. Are input or data dout is output.

SDRAM50にパターン生成回路20から出力されたアドレスadrが入力されると、内部行アドレスカウンタ54の出力アドレスで指定された行アドレスバッファ55内に、入力されたアドレスadrが保持される。保持されたアドレスadrは、行デコーダ58−1,58−2により解読(デコード)され、ワードドライバ59−1,59−2により駆動されてメモリセルアレイ61−1,61−2内のワード線が選択される。また、入力されたアドレスadrは、内部列アドレスカウンタ56の出力アドレスで指定された列アドレスバッファ57内にそのアドレスadrが保持される。保持されたアドレスadrは、列デコーダ60−1,60−2によりデコードされ、メモリセルアレイ61−1,61−2中のビット線が選択される。選択されたワード線及びビット線に接続されたメモリセルに対して、I/Oバッファ53から入力された入力データdinの書き込み、又は記憶されたデータの読み出しが行われる。読み出されたデータは、センスアンプ62−1,62−2で増幅された後、I/Oバッファ53から出力データdoutとして出力される。   When the address adr output from the pattern generation circuit 20 is input to the SDRAM 50, the input address adr is held in the row address buffer 55 designated by the output address of the internal row address counter 54. The held address adr is decoded (decoded) by the row decoders 58-1 and 58-2 and driven by the word drivers 59-1 and 59-2 so that the word lines in the memory cell arrays 61-1 and 61-2 are connected. Selected. The input address adr is held in the column address buffer 57 designated by the output address of the internal column address counter 56. The held address adr is decoded by the column decoders 60-1 and 60-2, and the bit lines in the memory cell arrays 61-1 and 61-2 are selected. The input data din input from the I / O buffer 53 is written to or read from the memory cells connected to the selected word line and bit line. The read data is amplified by the sense amplifiers 62-1 and 62-2, and then output from the I / O buffer 53 as output data dout.

次に、図2を参照しながら、第1の実施形態におけるBIST回路1の構成をより詳細に説明する。   Next, the configuration of the BIST circuit 1 in the first embodiment will be described in more detail with reference to FIG.

BIST制御回路10は、TAPコントローラ11と、制御レジスタ12とを有する。TAPコントローラ11の出力側は、制御レジスタ12に接続されている。TAPコントローラ11には、シリアルなテストクロックtck、テストモード信号tms、及びシリアルなテストデータ入力信号tdiが入力され、レジスタ制御信号S11を制御レジスタ12へ出力する。制御レジスタ12には、レジスタ制御信号S11、シリアルなテストデータ入力信号tdi、及びテストリセット信号trstnが入力される。制御レジスタ12は、起動信号である論理値1(ハイレベル‘H’)の複数ビットのBIST制御信号ctrlを生成して内部のデータレジスタ12Aに保持し、この保持したBIST制御信号ctrl(ctrl0,ctrl1,ctrl2)をパターン生成回路20及びデータ比較器30へ出力する。   The BIST control circuit 10 includes a TAP controller 11 and a control register 12. The output side of the TAP controller 11 is connected to the control register 12. The TAP controller 11 receives a serial test clock tck, a test mode signal tms, and a serial test data input signal tdi, and outputs a register control signal S11 to the control register 12. The control register 12 receives a register control signal S11, a serial test data input signal tdi, and a test reset signal trstn. The control register 12 generates a multi-bit BIST control signal ctrl having a logical value 1 (high level “H”) as an activation signal and holds it in the internal data register 12A. The held BIST control signal ctrl (ctrl0, ctrl1, ctrl2) are output to the pattern generation circuit 20 and the data comparator 30.

パターン生成回路20は、ステートマシン21、コマンド生成回路22、アドレス生成回路23、データ生成回路24、及びバッファ25を有する。コマンド生成回路22、アドレス生成回路23、及びデータ生成回路24は、ステートマシン21の出力側に接続され、バッファ25は、ステートマシン21の入力側に接続されている。ステートマシン21は、制御レジスタ12から与えられるBIST制御信号ctrlが‘H’になると動作し、入力される外部クロックexckに同期して複数種類のステートを生成し、コマンド生成回路22、アドレス生成回路23及びデータ生成回路24を制御するための制御信号を出力する。バッファ25は、外部クロックexckにより駆動され、クロックsckをSDRAM50へ与える。   The pattern generation circuit 20 includes a state machine 21, a command generation circuit 22, an address generation circuit 23, a data generation circuit 24, and a buffer 25. The command generation circuit 22, the address generation circuit 23, and the data generation circuit 24 are connected to the output side of the state machine 21, and the buffer 25 is connected to the input side of the state machine 21. The state machine 21 operates when the BIST control signal ctrl supplied from the control register 12 becomes “H”, generates a plurality of types of states in synchronization with the input external clock exck, and generates a command generation circuit 22 and an address generation circuit. 23 and a control signal for controlling the data generation circuit 24 are output. The buffer 25 is driven by the external clock exck and supplies the clock sck to the SDRAM 50.

ステートマシン21の制御により、コマンド生成回路22で複数ビットのコマンドcsb,rasb,casb,webが生成され、アドレス生成回路23で複数ビットのアドレスadrが生成され、データ生成回路24で複数ビットの入力データdinが生成され、これらの信号がテストパターンとしてSDRAM50に供給される。   Under the control of the state machine 21, the command generation circuit 22 generates a plurality of bits csb, rasb, casb, and web, the address generation circuit 23 generates a plurality of bits adr, and the data generation circuit 24 inputs a plurality of bits. Data din is generated, and these signals are supplied to the SDRAM 50 as a test pattern.

データ比較器30は、BIST制御信号ctrlにより動作し、外部クロックexckに同期してSDRAM50の複数ビットの出力データdoutを取り込むフリッブフロッブ(FF)回路31を有している。FF回路31の出力側には、データ比較用の2入力の排他的論理和ゲート(EXOR回路)32、及びデータ比較用の多入力のEXOR回路33が縦続接続されている。EXOR回路32は、FF回路31で取り込んだSDRAM50の複数ビットの出力データdoutと、データ生成回路24から与えられる期待値の複数ビットの入力データdinとを比較し、両入力が不一致の時には出力がハイレベル‘H’となり、両入力が一致するときには出力がローレベル‘L’となる回路である。EXOR回路32の出力側に接続されたEXOR回路33は、EXOR回路32の複数の出力信号の各々を比較して比較結果compoutを出力制御回路40へ出力する。   The data comparator 30 operates in response to the BIST control signal ctrl, and has a flip flop (FF) circuit 31 that takes in a plurality of bits of output data dout of the SDRAM 50 in synchronization with the external clock exck. On the output side of the FF circuit 31, a two-input exclusive OR gate (EXOR circuit) 32 for data comparison and a multi-input EXOR circuit 33 for data comparison are connected in cascade. The EXOR circuit 32 compares the multi-bit output data dout of the SDRAM 50 fetched by the FF circuit 31 with the multi-bit input data din of the expected value given from the data generation circuit 24. When both inputs do not match, the output is The circuit is a high level 'H', and when both inputs match, the output is a low level 'L'. The EXOR circuit 33 connected to the output side of the EXOR circuit 32 compares each of the plurality of output signals of the EXOR circuit 32 and outputs a comparison result compout to the output control circuit 40.

出力制御回路40は、比較結果compoutとシリアルなテストデータ出力信号tdoとを入力する2入力の論理和ゲート(OR回路)41と、この出力側に接続された出力信号保持用のFF回路42とを有する。FF回路42は、外部クロックexckに同期してOR回路41の出力信号を保持し、この保持結果をOR回路41の入力側に帰還する。FF回路42は、テストリセット信号trstnによりクリアされる。比較結果compoutのハイレベル‘H’は、この出力制御回路40により保持され、この保持内容に対応するシリアルなテストデータ出力信号tdoが、外部クロックexckに同期してテスタ65へ出力される。ここで、保持内容のハイレベル‘H’は、テストリセット信号trstnによってクリアされる。   The output control circuit 40 includes a 2-input OR gate (OR circuit) 41 for inputting the comparison result compout and the serial test data output signal tdo, and an output signal holding FF circuit 42 connected to the output side. Have The FF circuit 42 holds the output signal of the OR circuit 41 in synchronization with the external clock exck, and feeds back this holding result to the input side of the OR circuit 41. The FF circuit 42 is cleared by the test reset signal trstn. The high level 'H' of the comparison result compout is held by the output control circuit 40, and a serial test data output signal tdo corresponding to the held contents is output to the tester 65 in synchronization with the external clock exck. Here, the high level “H” of the stored content is cleared by the test reset signal trstn.

図4は、図1及び図2に示されるBIST制御回路10の概略的な構成を示すブロック図である。   FIG. 4 is a block diagram showing a schematic configuration of the BIST control circuit 10 shown in FIGS. 1 and 2.

BIST回路10を構成するTAPコントローラ11は、ステートマシン11A、命令レジスタ11B、及び命令デコーダ11Cを有している。また、BIST回路10を構成する制御レジスタ12は、データ保持手段である複数ビットのデータレジスタ12A、複数ビットのデータデコーダ12B、及び3入力のOR回路12Cを有している。   The TAP controller 11 constituting the BIST circuit 10 includes a state machine 11A, an instruction register 11B, and an instruction decoder 11C. The control register 12 constituting the BIST circuit 10 has a multi-bit data register 12A, a multi-bit data decoder 12B, and a 3-input OR circuit 12C, which are data holding means.

TAPコントローラ11のステートマシン11Aは、命令レジスタ11Bと制御レジスタ12内のデータレジスタ12Aとを制御するために、入力されたテストクロックtcK及びテストモード信号tmsに基づいて、命令レジスタ(Instruction Register(IR))11Bに与える制御信号(クロック信号clock−IR、シフト信号shift−IR、及びアップデート信号update−IR)と、データレジスタ(Data Register(DR))12Aに与える制御信号(クロック信号clock−DR、シフト信号shift−DR、及びアップデート信号update−DR)とを出力する。命令レジスタ11Bは、テストデータ入力信号tdiとステートマシン11Aから与えられる制御信号(クロック信号clock−IR、シフト信号shift−IR、及びアップデート信号update−IR)に基づき、テスト命令を保持する。命令レジスタ11Bの出力側には、命令デコーダ11Cが接続されている。命令デコーダ11Cは、テスト命令をデコードしてレジスタ制御信号S11を制御レジスタ12へ出力する。   The state machine 11A of the TAP controller 11 controls the instruction register 11B and the data register 12A in the control register 12 based on the input test clock tcK and the test mode signal tms. )) Control signals (clock signal clock-IR, shift signal shift-IR, and update signal update-IR) to be supplied to 11B, and control signals (clock signal clock-DR, DR) to data register (Data Register (DR)) 12A Shift signal shift-DR and update signal update-DR). The instruction register 11B holds a test instruction based on the test data input signal tdi and control signals (clock signal clock-IR, shift signal shift-IR, and update signal update-IR) supplied from the state machine 11A. An instruction decoder 11C is connected to the output side of the instruction register 11B. The instruction decoder 11C decodes the test instruction and outputs a register control signal S11 to the control register 12.

制御レジスタ12において、データレジスタ12Aは、テストデータ入力信号tdi、ステートマシン11Aから与えられる制御信号(クロック信号clock−IR、シフト信号shift−IR、及びアップデート信号update−IR)、及びOR回路12Cで求めた論理和の制御信号ctrl_orに基づき、テストモード選択結果である制御データを保持する。データレジスタ12Aの出力側には、データデコーダ12Bが接続されている。データデコーダ12Bは、制御データをデコードして、例えば、3ビットのBIST制御信号ctrl(ctrl0,ctrl1,ctrl2)をパターン生成回路20及びデータ比較器30へ出力する回路であり、この出力側にOR回路12Cが接続されている。OR回路12Cは、3ビットのBIST制御信号ctrl(ctrl0,ctrl1、ctrl2)を入力し、この諭路和を求めて制御信号ctrl_orをデータレジスタ12Aへ出力する。   In the control register 12, the data register 12A includes a test data input signal tdi, control signals (clock signal clock-IR, shift signal shift-IR, and update signal update-IR) given from the state machine 11A, and an OR circuit 12C. Based on the obtained logical OR control signal ctrl_or, control data as a test mode selection result is held. A data decoder 12B is connected to the output side of the data register 12A. The data decoder 12B is a circuit that decodes the control data and outputs, for example, a 3-bit BIST control signal ctrl (ctrl0, ctrl1, ctrl2) to the pattern generation circuit 20 and the data comparator 30. A circuit 12C is connected. The OR circuit 12C receives the 3-bit BIST control signal ctrl (ctrl0, ctrl1, ctrl2), obtains this bottleneck sum, and outputs the control signal ctrl_or to the data register 12A.

図5は、図4に示される複数ビットのデータレジスタ12Aを構成する1ビットの単位データレジスタ12A−nの概略的な構成を示すブロック図である。   FIG. 5 is a block diagram showing a schematic configuration of a 1-bit unit data register 12A-n constituting the multi-bit data register 12A shown in FIG.

複数ビットのデータレジスタ12Aは、複数個の1ビット単位データレジスタ12A−n(nは正の整数であり、縦続接続されたレジスタの中のn段目であることを示す。)を有し、これらがシフトデータ出力側に縦続接続されている。各単位データレジスタ12A−nは、マルチプレクサ(MUX)回路71、このMUX回路71の出力側に接続されたFF回路72、このFF回路72の出力側に接続されたMUX回路73、及びこのMUX回路73の出力側に接続されたFF回路74を有している。MUX回路71は、ステートマシン11Aからのシフト信号shift−DRに基づき、入力されたデータDn−1と、前段の単位データレジスタ12A−nから入力されたシフトデータSDn−1との、いずれかー方を選択する。FF回路72は、クロック信号clock−DRに基づき、MUX回路71の出力データをシフトして、このシフトデータSDを次段の単位データレジスタ12A−(n+1)へ出力する。FF回路72は、テストリセット信号trstnの反転信号(図6に示される期間t5〜t6のローレベル‘L’)によりリセットされる。MUX回路73は、制御信号ctrl_orに基づき、FF回路72からのシフトデータSD又はFF回路74からのデータDのいずれか一方を選択して出力する。FF回路74は、アップデート信号update−DRに基づき、MUX回路73の出力データを保持して、このデータ出力をMUX回路73の入力側に帰還する。FF回路74は、テストリセット信号trstnの反転信号(図6に示される期間t5〜t6のローレベル‘L’)によりリセットされる。 The multi-bit data register 12A has a plurality of 1-bit unit data registers 12A-n (n is a positive integer, indicating the nth stage in the cascade-connected registers). These are cascaded on the shift data output side. Each unit data register 12A-n includes a multiplexer (MUX) circuit 71, an FF circuit 72 connected to the output side of the MUX circuit 71, a MUX circuit 73 connected to the output side of the FF circuit 72, and the MUX circuit. 73 has an FF circuit 74 connected to the output side of 73. The MUX circuit 71, based on the shift signal shift-DR from the state machine 11A, either the input data D n-1 or the shift data SD n-1 input from the previous unit data register 12A-n. Select the way. FF circuit 72, based on the clock signal clock-DR, and shifts the output data of the MUX circuit 71, and outputs the shift data SD n next stage unit data register 12A- into (n + 1). The FF circuit 72 is reset by an inverted signal of the test reset signal trstn (low level “L” in the period t5 to t6 shown in FIG. 6). MUX circuit 73 based on the control signal Ctrl_or, selects and outputs one of the data D n from the shift data SD n or FF circuit 74 from the FF circuit 72. The FF circuit 74 holds the output data of the MUX circuit 73 based on the update signal update-DR, and feeds back this data output to the input side of the MUX circuit 73. The FF circuit 74 is reset by an inverted signal of the test reset signal trstn (low level “L” in the period t5 to t6 shown in FIG. 6).

この単位データレジスタ12A−nにおいて、MUX回路71は、シフト信号shift−DRが‘0’のときに、入力されたデータDn−1を選択してFF回路72へ出力し、シフト信号shift−DRが‘1’のとき、前段の単位データレジスタ12A−nからのシフトデータSDn−1を選択してFF回路72へ出力する。FF回路72は、クロック信号clock−DRに基づき、MUX回路71の出力データをシフトし、このシフトデータSDを次段の単位データレジスタ12A−(n+1)へ出力すると共に、MUX回路73へ出力する。MUX回路73は、制御信号ctrl_orが‘0’のとき、シフトデータSDを選択してFF回路74へ出力し、制御信号ctrl_orが‘1’のとき、FF回路74のデータ出力Dを選択してこのFF回路74へ出力する。FF回路74は、アップデート信号update−DRに基づき、MUX回路73からのデータを保持する。これらのMUX回路73及びFF回路74により、データラッチ回路が構成されている。 In the unit data register 12A-n, when the shift signal shift-DR is “0”, the MUX circuit 71 selects the input data D n−1 and outputs it to the FF circuit 72, and the shift signal shift− When DR is “1”, the shift data SD n−1 from the previous unit data register 12A-n is selected and output to the FF circuit 72. FF circuit 72, based on the clock signal clock-DR, and shifts the output data of the MUX circuit 71, and outputs the shift data SD n next stage unit data register 12A- into (n + 1), the output to the MUX circuit 73 To do. The MUX circuit 73 selects the shift data SD n and outputs it to the FF circuit 74 when the control signal ctrl_or is “0”, and selects the data output D n of the FF circuit 74 when the control signal ctrl_or is “1”. And output to the FF circuit 74. The FF circuit 74 holds data from the MUX circuit 73 based on the update signal update-DR. These MUX circuit 73 and FF circuit 74 constitute a data latch circuit.

このように、単位データレジスタ12A−nは、制御信号shift−DR,clock−DRに基づき、前段の単位データレジスタ12A−(n−1)からのシフトデータ入力をシフトし、次段の単位データレジスタ12A−(n+1)へ順次送ったり、アップデート信号update−DRに基づき、MUX回路73及びFF回路74からなるデータラッチ回路に保持されたデータ出力をデータデコーダ12Bへ出力したりすることができる。ここで、制御信号ctrl_orが‘1’のときには、FF回路72の出力データを受け付けず、MUX回路73及びFF回路74からなるデータラッチ回路によりデータを保持し、この保持したデータは、テストリセット信号trstnの‘L’によってクリアされ、この条件以外で書き換わることがなく、MUX回路73及びFF回路74からなるデータラッチ回路により常にデータを保持し、出力し続ける。   Thus, the unit data register 12A-n shifts the shift data input from the previous unit data register 12A- (n-1) based on the control signals shift-DR and clock-DR, and the next unit data Data can be sequentially sent to the register 12A- (n + 1), or the data output held in the data latch circuit including the MUX circuit 73 and the FF circuit 74 can be output to the data decoder 12B based on the update signal update-DR. Here, when the control signal ctrl_or is “1”, the output data of the FF circuit 72 is not accepted, the data is held by the data latch circuit including the MUX circuit 73 and the FF circuit 74, and the held data is stored in the test reset signal. Cleared by 'L' of trstn, it is not rewritten except under this condition, and the data is always held and output by the data latch circuit composed of the MUX circuit 73 and the FF circuit 74.

図6は、第1の実施形態に係るBIST回路1の動作(即ち、第1の実施形態に係るテスト方法)を示す動作波形図である。この動作波形図では、SDRAM50の読み出し動作の例が示されている。   FIG. 6 is an operation waveform diagram showing the operation of the BIST circuit 1 according to the first embodiment (that is, the test method according to the first embodiment). In this operation waveform diagram, an example of the read operation of the SDRAM 50 is shown.

先ず、SDRAM50をテスタするための書き込み動作を簡単に説明する。テスタ65からシリアルなテストクロックtck、テストモード信号tms、テストデータ入力信号tdi、及び外部クロックexckを出力して、BIST回路1へ供給する。すると、BIST回路1内において、テストクロックtckに同期して、BIST制御回路10から複数ビットのBIST制御信号ctrlが出力される。この複数ビットのBIST制御信号ctrlをトリガにして、パターン生成回路20が動作し、外部クロックexckに同期してクロックsck、複数ビットのコマンドcsb,rasb,casb,web、複数ビットのアドレスadr、及び複数ビットの入力データdinが生成され、SDRAM50に供給される。SDRAM50に供給された複数ビットの入力データdinは、図3のメモリセルアレイ61−1,61−2内のメモリセルに順次書き込まれる。   First, a write operation for testing the SDRAM 50 will be briefly described. A serial test clock tck, a test mode signal tms, a test data input signal tdi, and an external clock exck are output from the tester 65 and supplied to the BIST circuit 1. Then, in the BIST circuit 1, the BIST control circuit 10 outputs a multi-bit BIST control signal ctrl in synchronization with the test clock tck. Using this multi-bit BIST control signal ctrl as a trigger, the pattern generation circuit 20 operates, in synchronization with the external clock exck, a clock sck, a multi-bit command csb, rasb, casb, web, a multi-bit address adr, Multiple bits of input data din are generated and supplied to the SDRAM 50. The multi-bit input data din supplied to the SDRAM 50 is sequentially written into the memory cells in the memory cell arrays 61-1 and 61-2 in FIG.

次に、図6を参照して、SDRAM50の読み出し動作を説明する。   Next, the read operation of the SDRAM 50 will be described with reference to FIG.

図6の時刻t0において、テスタ65からBIST回路1へ、テストクロックtck、テストモード信号tms、及びテストデータ入力信号tdiを供給することにより、テストパターン、アドレススキャン法等のテストモードを決定するためのデータが、BIST制御回路10に入力される。テスタ65から供給された外部クロックexckは、パターン生成回路20内のバッファ25に供給され、その外部クロックexckに同期したクロックsckがバッファ25から出力されてSDRAM50に与えられる。   In order to determine a test mode such as a test pattern and an address scan method by supplying a test clock tck, a test mode signal tms, and a test data input signal tdi from the tester 65 to the BIST circuit 1 at time t0 in FIG. Is input to the BIST control circuit 10. The external clock exck supplied from the tester 65 is supplied to the buffer 25 in the pattern generation circuit 20, and a clock sck synchronized with the external clock exck is output from the buffer 25 and applied to the SDRAM 50.

時刻t1において、BIST制御回路10にてテストモードが選択され、この選択結果に対応した複数ビットのBIST制御信号ctrlのハイレベル‘H’が、テストクロックtckに同期して制御レジスタ12から出力され、パターン生成回路20及びデータ比較器30へ供給される。さらに、制御レジスタ12では、制御信号ctrlのハイレベル‘H’を受けてOR回路12Cから出力される制御信号ctrl_orがハイレベル‘H’になり、データレジスタ12Aに入力する。これより以降、データレジスタ12Aでは、BIST制御信号ctrlがローレベル‘L’になるまでの間、テストクロックtck、テストモード信号tms、及びテストデータ入力信号tdiに依存せず(即ち、これらの入力パターンが中断されたり、又は、パターン内容が変更されたりしたとしても)、FF回路74にデータが保持され続け、出力され続ける。   At time t1, the test mode is selected by the BIST control circuit 10, and the high level “H” of the multi-bit BIST control signal ctrl corresponding to the selection result is output from the control register 12 in synchronization with the test clock tck. , Supplied to the pattern generation circuit 20 and the data comparator 30. Further, in the control register 12, the control signal ctrl_or outputted from the OR circuit 12C in response to the high level ‘H’ of the control signal ctrl becomes the high level ‘H’ and is input to the data register 12A. Thereafter, the data register 12A does not depend on the test clock tck, the test mode signal tms, and the test data input signal tdi until the BIST control signal ctrl becomes low level “L” (that is, these inputs). Even if the pattern is interrupted or the pattern content is changed), the data is continuously held and output in the FF circuit 74.

時刻t2において、パターン生成回路20は、BIST制御信号ctrlのハイレベル‘H’をトリガとしてステートマシン11Aが外部クロックexckに同期して動作し、コマンド生成回路22がコマンドcsb,rasb,casb,webを生成すると共に、アドレス生成回路23がアドレスadrを生成する。これらのコマンドcsb,rasb,casb,web及びアドレスadrのテストパターンは、SDRAM50に与えられる。さらに、データ生成回路24は、入力データdinを生成し、SDRAM50及びデータ比較器30に与える。   At time t2, in the pattern generation circuit 20, the state machine 11A operates in synchronization with the external clock exck using the high level “H” of the BIST control signal ctrl as a trigger, and the command generation circuit 22 executes the commands csb, rasb, casb, web. And the address generation circuit 23 generates an address adr. Test patterns of these commands csb, rasb, casb, web and address adr are given to the SDRAM 50. Further, the data generation circuit 24 generates input data din and supplies it to the SDRAM 50 and the data comparator 30.

制御信号csbがローレベル‘L’、制御信号rasbがローレベル‘L’になり、その後、制御信号casbがローレベル‘L’になると、図3のメモリセルアレイ61−1,61−2に書き込まれていたテスト用のデータQ1,Q2,Q3,Q4,…が順次読み出され、この出力データdoutがデータ比較器30に与えられる。   When the control signal csb becomes low level “L”, the control signal rasb becomes low level “L”, and then the control signal casb becomes low level “L”, the data is written into the memory cell arrays 61-1 and 61-2 in FIG. The test data Q 1, Q 2, Q 3, Q 4,... That have been read are sequentially read out, and this output data dout is given to the data comparator 30.

データ比較器30では、BIST制御信号ctrlによってFF回路31が動作し、このFF回路31により、外部クロックexckに同期して出力データdoutが取り込まれる。取り込まれた出力データdoutは、EXOR回路32,33により、期待値の入力データdinと比較される。出力データdoutと期待値の入力データdinとが一致するときには、EXOR回路33の比較結果compoutがローレベル‘L’、不一致のときには比較結果compoutがハイレベル‘H’となる。   In the data comparator 30, the FF circuit 31 is operated by the BIST control signal ctrl. The FF circuit 31 takes in the output data dout in synchronization with the external clock exck. The fetched output data dout is compared with the expected input data din by the EXOR circuits 32 and 33. When the output data dout and the input data din of the expected value match, the comparison result compout of the EXOR circuit 33 is low level ‘L’, and when they do not match, the comparison result compout becomes high level ‘H’.

時刻t3において、例えば、SDRAM50の出力データdoutのデータQ3が不良を示すものである場合、データ比較器30によって比較結果compoutがハイレベル‘H’となる。   At time t3, for example, when the data Q3 of the output data dout of the SDRAM 50 indicates a failure, the data comparator 30 sets the comparison result compout to the high level 'H'.

時刻t4において、出力制御回路40では、比較結果compoutをOR回路41を介して入力し、外部クロックexckに同期してFF回路42に取り込み、以降、この状態を保持する。さらに、外部クロックexckに同期して出力されたテストデータ出力信号tdoをテスタ65に与える。テスタ65では、テストデータ出力信号tdoにてSDRAM50のパス・フェイル判定を行うことができる。   At time t4, the output control circuit 40 inputs the comparison result compout via the OR circuit 41, loads it into the FF circuit 42 in synchronization with the external clock exck, and holds this state thereafter. Further, the test data output signal tdo outputted in synchronization with the external clock exck is given to the tester 65. The tester 65 can make a pass / fail judgment of the SDRAM 50 using the test data output signal tdo.

時刻t5において、テスタ65にてテストリセット信号trstnをローレベル‘L’にすることにより、データレジスタ12A内のFF回路72,74がリセットされ、BIST制御信号ctrlがローレベル‘L’になる。また、出力制御回路40内のFF回路42がリセットされ、テストデータ出力信号tdoがローレベル‘L’になる。   At time t5, the test reset signal trstn is set to low level “L” by the tester 65, so that the FF circuits 72 and 74 in the data register 12A are reset, and the BIST control signal ctrl becomes low level “L”. Further, the FF circuit 42 in the output control circuit 40 is reset, and the test data output signal tdo becomes the low level ‘L’.

時刻t6において、テスタ65にてテストリセット信号trstnをハイレベル‘H’にすることによって、時刻t0からの動作を繰り返すことができる。ここで、時刻t1からt6までの間(図6において、テストクロックtck、テストモード信号tms、及びテストデータ入力信号tdiについてクロスハッチングで示す期間)、データレジスタ12A内のFF回路74にてデータ出力が保持されているため、テストクロックtck、テストモード信号tms、及びテストデータ入力信号tdiは、どのような入力状態となってもBIST動作に影響を与えることはない。   At time t6, the tester 65 sets the test reset signal trstn to high level “H”, so that the operation from time t0 can be repeated. Here, during the period from time t1 to t6 (in FIG. 6, the period indicated by cross-hatching for the test clock tck, the test mode signal tms, and the test data input signal tdi), the FF circuit 74 in the data register 12A outputs the data Therefore, the test clock tck, the test mode signal tms, and the test data input signal tdi do not affect the BIST operation in any input state.

以上に説明したように、第1の実施形態においては、リセット信号によってリセットが指示された後にデータが書込まれ、次のリセット信号trstnによってリセットが指示されるまで(即ち、図6における時刻t1からt6まで)、書込まれたデータを保持し続ける制御レジスタ12を用いる。この制御レジスタ12は、リセット信号trstnによってリセットが指示されるまで書込まれたデータを保持し続けるので、BIST回路1への入力データが変更されても、リセット信号trstnによってリセットが指示されない限り、制御レジスタ12が保持しているデータは変更されない。このため、制御レジスタ12に保持されているデータに基づいてテストパターンを生成し、SDRAM50に対してテストパターンに基づくデータを出力し、SDRAM50から出力されたデータdoutに基づいてSDRAM50の性能の評価を行うSDRAM50のテスト中においては、制御レジスタ12への入力データであるテストクロックtck,テストモード信号tms,テストデータ信号tdiは、テスト動作に影響を与えることはない。よって、第1の実施形態のBIST回路1又はテスト方法によれば、テストの途中でBIST回路1への入力であるテスト用入力パターン(テストクロックtck,テストモード信号tms,テストデータ信号tdi)の入力が中断したり、又は、変更されたりした場合であっても、所定のテストを中断させずに完了させることができる。   As described above, in the first embodiment, data is written after a reset instruction is given by a reset signal, and until a reset instruction is given by the next reset signal trstn (that is, time t1 in FIG. 6). To t6), the control register 12 that continues to hold the written data is used. Since the control register 12 continues to hold the written data until the reset is instructed by the reset signal trstn, even if the input data to the BIST circuit 1 is changed, unless the reset is instructed by the reset signal trstn, The data held in the control register 12 is not changed. Therefore, a test pattern is generated based on the data held in the control register 12, data based on the test pattern is output to the SDRAM 50, and the performance of the SDRAM 50 is evaluated based on the data dout output from the SDRAM 50. During the test of the SDRAM 50 to be performed, the test clock tck, the test mode signal tms, and the test data signal tdi that are input data to the control register 12 do not affect the test operation. Therefore, according to the BIST circuit 1 or the test method of the first embodiment, the test input patterns (test clock tck, test mode signal tms, test data signal tdi) that are inputs to the BIST circuit 1 during the test are displayed. Even if the input is interrupted or changed, the predetermined test can be completed without being interrupted.

なお、上記説明においては、テストクロックtckがテスタ65から供給される場合を説明したが、BIST回路1が、テストクロックtckを生成するオシレータを備えてもよい。   In the above description, the case where the test clock tck is supplied from the tester 65 has been described. However, the BIST circuit 1 may include an oscillator that generates the test clock tck.

また、上記説明においては、外部クロックexckがテスタ65から供給される場合を説明したが、BIST回路1が、外部クロックexckを生成するオシレータを備えてもよい。   In the above description, the case where the external clock exck is supplied from the tester 65 has been described. However, the BIST circuit 1 may include an oscillator that generates the external clock exck.

<第2の実施形態>
図7は、本発明の第2の実施形態に係る半導体集積回路装置であるシステムLSI100の概略的な構成、及びシステムLSI100に接続されたテスタ65を示すブロック図である。また、図8は、第2の実施形態の比較例の概略的な構成を示すブロック図である。
<Second Embodiment>
FIG. 7 is a block diagram showing a schematic configuration of a system LSI 100 that is a semiconductor integrated circuit device according to the second embodiment of the present invention, and a tester 65 connected to the system LSI 100. FIG. 8 is a block diagram showing a schematic configuration of a comparative example of the second embodiment.

図8に示されるような比較例のシステムLSI100aでは、複数の共通端子pi1〜pi3,po1に信号選択用のセレクタ111aを接続し、複数の共通端子をセレクタ111aにより切り換えて、コントロールチップ110a内のBIST回路1a又はロジック回路130に接続する。このような構成を採用した場合には、システムLSI100aの外部端子の数を削減できるものの、以下のような問題が生じる。例えば、BIST回路1aを用いたSDRAM50のテスト中は、BIST回路1aに与えるテスト用入力パターンの供給を中断できなので、SDRAM50のテストとロジック回路130のテストを並行して行うことができない。また、入力信号をBIST回路1a又はロジック回路130のいずれかに切替えて入力させるセレクタ111aを備えているので、セレクタ111aを構成する素子による信号遅延によってテスト動作が遅くなったり、セレクタ111aが複数の切換スイッチ部(図8においては4個)を有するのでシステムLSIを形成するためのレイアウト面積が増大したりする。   In the system LSI 100a of the comparative example as shown in FIG. 8, the selector 111a for signal selection is connected to the plurality of common terminals pi1 to pi3, po1, and the plurality of common terminals are switched by the selector 111a, and the control chip 110a Connected to the BIST circuit 1a or the logic circuit 130. When such a configuration is adopted, the number of external terminals of the system LSI 100a can be reduced, but the following problems arise. For example, during the test of the SDRAM 50 using the BIST circuit 1a, the supply of the test input pattern supplied to the BIST circuit 1a can be interrupted, so the test of the SDRAM 50 and the test of the logic circuit 130 cannot be performed in parallel. Further, since the selector 111a for switching and inputting the input signal to either the BIST circuit 1a or the logic circuit 130 is provided, the test operation is delayed due to a signal delay caused by an element constituting the selector 111a, or the selector 111a includes a plurality of selectors 111a. Since there are changeover switches (four in FIG. 8), the layout area for forming the system LSI increases.

第2の実施形態においては、上記第1の実施形態で説明したBIST回路1を用いることにより、SDRAM50のテストとロジック回路130のテストを並行して行うことができ、テスト動作の遅延やレイアウト面積の増大を回避できる半導体集積回路装置を提案する。   In the second embodiment, by using the BIST circuit 1 described in the first embodiment, the test of the SDRAM 50 and the test of the logic circuit 130 can be performed in parallel, the delay of the test operation and the layout area. A semiconductor integrated circuit device capable of avoiding an increase in the frequency is proposed.

図7に示される第2の実施形態のシステムLSI100は、システム全体を制御するコントロールチップ110と、SDRAM50とを、同一のパッケージ内に収容した装置である。システムLSI100のパッケージには、テスタ65と電気的に接続するためのテスト端子部pi1〜pi5,po1が備えられている。また、用途上必要に応じてパッケージに他の外部端子(図示せず)も備えられている。図7には、テスト端子部として、入力端子pi1〜pi5と、出力端子po1とが示されている。   A system LSI 100 of the second embodiment shown in FIG. 7 is a device in which a control chip 110 for controlling the entire system and an SDRAM 50 are accommodated in the same package. The package of the system LSI 100 is provided with test terminal portions pi1 to pi5 and po1 for electrical connection with the tester 65. In addition, other external terminals (not shown) are also provided in the package as necessary for use. FIG. 7 shows input terminals pi1 to pi5 and an output terminal po1 as test terminal portions.

入力端子pi1は、第1のクロックであるテストクロックtck及びロジック回路130テスト用の第3のクロックclkを、共通配線101を通して、BIST回路1とロジック回路130の両方に入力するための共通端子(第1のクロック端子)である。入力端子pi2は、テストモード信号tms及び第1の入力信号in1を、共通配線102を通して、BIST回路1とロジック回路130の両方に入力するための共通端子(第1の入力端子)である。入力端子pi3は、テストデータ入力信号tdi及び第2の入力信号in2を、共通配線103を通して、BIST回路1とロジック回路130の両方に入力するための共通端子(第2の入力端子)である。入力端子pi4は、テストリセット信号trstnを、BIST回路1に入力するための端子である。入力端子pi5は、モード信号modeを、セレクタ111に入力するための端子である。出力端子po1は、BIST回路1からのテストデータ出力信号tdo又はロジック回路130からの出力信号outを外部へ出力するための共通端子である。   The input terminal pi1 is a common terminal for inputting the test clock tck as the first clock and the third clock clk for testing the logic circuit 130 to both the BIST circuit 1 and the logic circuit 130 through the common wiring 101 ( First clock terminal). The input terminal pi2 is a common terminal (first input terminal) for inputting the test mode signal tms and the first input signal in1 to both the BIST circuit 1 and the logic circuit 130 through the common wiring 102. The input terminal pi3 is a common terminal (second input terminal) for inputting the test data input signal tdi and the second input signal in2 to both the BIST circuit 1 and the logic circuit 130 through the common wiring 103. The input terminal pi4 is a terminal for inputting the test reset signal trstn to the BIST circuit 1. The input terminal pi5 is a terminal for inputting the mode signal mode to the selector 111. The output terminal po1 is a common terminal for outputting the test data output signal tdo from the BIST circuit 1 or the output signal out from the logic circuit 130 to the outside.

コントロールチップ110は、内部のテストデータ出力信号tdo又は出力信号outのいずれか一方を選択して外部へ出力するためのセレクタ111と、図1及び図2(第1の実施形態)に示されるBIST回路1と、外部クロックexckを発生するクロック発生手段(例えば、オシレータ120)と、システムLSI全体を制御するために論理処理を行うCPU等のロジック回路130とを有し、これらが同一の半導体基板上に形成されている。   The control chip 110 selects one of the internal test data output signal tdo and the output signal out and outputs it to the outside, and the BIST shown in FIGS. 1 and 2 (first embodiment). The circuit 1 includes clock generation means (for example, an oscillator 120) that generates an external clock exck, and a logic circuit 130 such as a CPU that performs logic processing to control the entire system LSI, and these are the same semiconductor substrate Formed on top.

セレクタ111は、出力側が出力端子po1に接続され、入力側から与えられるテストデータ出力信号tdoと出力信号outとのいずれか一方をモード信号modeに基づいて選択して出力端子po1へ出力する回路であり、ゲート回路等で構成されている。   The selector 111 is a circuit whose output side is connected to the output terminal po1, selects either the test data output signal tdo or the output signal out given from the input side based on the mode signal mode, and outputs the selected signal to the output terminal po1. Yes, it consists of a gate circuit.

BIST回路1は、入力端子pi1に共通配線101により接続されたテストクロックtck端子、入力端子pi2に共通配線102により接続されたテストモード信号tms端子、入力端子pi3に共通配線103により接続されたテストデータ入力信号tdi端子、入力端子pi4に接続されたテストリセット信号trstn端子、セレクタ111に接続されたテストデータ出力信号tdo端子、及び外部クロックexcKの入力端子を有すると。また、BIST回路1は、SDRAM50の出力データdoutを入力する入力端子、及びSDRAM50の入力信号(クロックsck、コマンドcsb,rasb,casb,web、アドレスadr、及び入力データdin)を出力する端子群を有している。   The BIST circuit 1 includes a test clock tck terminal connected to the input terminal pi1 by the common wiring 101, a test mode signal tms terminal connected to the input terminal pi2 by the common wiring 102, and a test connected to the input terminal pi3 by the common wiring 103. It has a data input signal tdi terminal, a test reset signal trstn terminal connected to the input terminal pi4, a test data output signal tdo terminal connected to the selector 111, and an input terminal for the external clock excK. The BIST circuit 1 has an input terminal for inputting the output data dout of the SDRAM 50 and a terminal group for outputting the input signals (clock sck, commands csb, rasb, casb, web, address adr, and input data din) of the SDRAM 50. Have.

ロジック回路130は、入力端子pi1に共通配線101により接続されたクロックclk端子、入力端子pi2に共通配線102により接続された入力信号in1端子、入力端子pi3に共通配線103により接続された入力信号in2端子、及びセレクタ111に接続された出力信号out端子等を有している。このロジック回路130は、テスタ65から供給されるテスト用クロックclkに同期してテスト用入力信号in1,in2の論理動作を行い、テスト結果である出力信号outをテスタ65へ出力する機能等を有している。   The logic circuit 130 has a clock clk terminal connected to the input terminal pi1 by the common wiring 101, an input signal in1 terminal connected to the input terminal pi2 by the common wiring 102, and an input signal in2 connected to the input terminal pi3 by the common wiring 103. And an output signal out terminal connected to the selector 111. The logic circuit 130 has a function of performing a logical operation of the test input signals in1 and in2 in synchronization with the test clock clk supplied from the tester 65, and outputting an output signal out as a test result to the tester 65. doing.

図9は、図7のシステムLSI100のテスト時の動作(テスト方法)の一例を示す動作波形図である。   FIG. 9 is an operation waveform diagram showing an example of an operation (test method) during the test of the system LSI 100 of FIG.

テストがスタートし、ステップST1において、テスタ65からシステムLSI100の入力端子pi1〜pi3に対して、入力信号を与える。この入力信号は、ロジック回路130及びBIST回路1の両方に対して供給されることになるが、ステップST1では、例えば、BIST回路1にて意味を持つ入力パターンを与える。即ち、テストクロックtckに同期して、テストモード信号tms及びテストデータ入力信号tdi(テストパターン、アドレススキャン方法等のテストモードを決定するためのデータ)がBIST回路1に入力され、BIST回路1が活性化する。   The test starts, and in step ST1, an input signal is given from the tester 65 to the input terminals pi1 to pi3 of the system LSI 100. This input signal is supplied to both the logic circuit 130 and the BIST circuit 1. In step ST1, for example, an input pattern having meaning in the BIST circuit 1 is given. That is, in synchronization with the test clock tck, a test mode signal tms and a test data input signal tdi (data for determining a test mode such as a test pattern and an address scan method) are input to the BIST circuit 1, and the BIST circuit 1 Activate.

ステップST2において、活性化されたBIST回路1は、ステップST1で決定されたテストモードに従い、オシレータ120から供給される外部クロックexckに同期して、SDRAM50に供給するためのクロックsck、コマンドcsb,rasb,casb,web、及びアドレスadrを生成し、SDRAM50のテストを行う。このステップST2の期間(図6又は図9において、テストクロックtck、テストモード信号tms、及びテストデータ入力信号tdiについてクロスハッチングで示す期間)中は、BIST回路1は、外部クロックexckに同期して動作し、他の入力信号には依存しない。言い換えれば、ロジック回路130を動作させるための入力信号が共通端子pi1,pi2,pi3から共通配線101,102,103を通して与えられても、BIST回路1の動作は、影響を受けない。   In step ST2, the activated BIST circuit 1 synchronizes with the external clock exck supplied from the oscillator 120 in accordance with the test mode determined in step ST1, and supplies the clock sck, commands csb, rasb to be supplied to the SDRAM 50. , Casb, web, and address adr are generated, and the SDRAM 50 is tested. During this step ST2 (in FIG. 6 or FIG. 9, the test clock tck, the test mode signal tms, and the test data input signal tdi are indicated by cross-hatching), the BIST circuit 1 is synchronized with the external clock exck. Operates and does not depend on other input signals. In other words, even if an input signal for operating the logic circuit 130 is given from the common terminals pi1, pi2, pi3 through the common wirings 101, 102, 103, the operation of the BIST circuit 1 is not affected.

そこで、例えば、BIST回路1と並行してロジック回路130のテストを行うために、ステップST2において同時に、テスタ65からシステムLSI1O0の入力端子pi1〜pi3に対して入力信号を与える。このステップST2では、ロジック回路130にて意味を持つ入力パターンを与え、セレクタ111は、モード信号modeによりロジック回路130の出力信号out側を選択する。ロジック回路130のテストを行い、このテスト結果である出力信号outを外部端子po1を介してテスタ65に取り込んで、ロジック回路130のパス・フェイル判定を行う。   Therefore, for example, in order to test the logic circuit 130 in parallel with the BIST circuit 1, an input signal is given from the tester 65 to the input terminals pi1 to pi3 of the system LSI 1O0 at the same time in step ST2. In this step ST2, a meaningful input pattern is given in the logic circuit 130, and the selector 111 selects the output signal out side of the logic circuit 130 by the mode signal mode. The logic circuit 130 is tested, and the output signal out, which is the test result, is taken into the tester 65 via the external terminal po1, and the pass / fail judgment of the logic circuit 130 is performed.

ステップST3において、セレクタ111は、モード信号modeによりBIST回路1のテストデータ出力信号do側を選択する。SDRAM50のテスト結果であるテストデータ出力信号tdoを出力端子po1を介してテスタ65に取り込んで、SDRAM50のパス・フェイル判定を行う。その後、テスタ65より入力端子pi4を介してBIST回路1のテストリセット信号trstnを与え、このBIST回路1をリセットし、テストを終了する。   In step ST3, the selector 111 selects the test data output signal do side of the BIST circuit 1 by the mode signal mode. The test data output signal tdo, which is the test result of the SDRAM 50, is taken into the tester 65 via the output terminal po1, and the pass / fail judgment of the SDRAM 50 is performed. Thereafter, the test reset signal trstn of the BIST circuit 1 is given from the tester 65 through the input terminal pi4, the BIST circuit 1 is reset, and the test is finished.

以上に説明したように、第2の実施形態の半導体集積回路装置であるシステムLSI100は、ロジック回路130に加えて、被テスト回路のテストの途中でレジスタ回路への入力であるテスト用入力パターンの入力が中断したり、又は、変更されたりした場合であっても、所定のテストを中断させずに完了させることができるBIST回路1(第1の実施形態におけるBIST回路)を備えている。このため、BIST回路1によるSDRAM50のテストの途中(ステップST2)においては、共通端子pi1,pi2,pi3と共通配線101,102,103を通してロジック回路130へ入力信号を供給することができる。よって、第2の実施形態の半導体集積回路装置によれば、入力信号用のセレクタ回路(例えば、比較例を示す図9のような大規模なセレクタ111a)を備えなくても、テスト回路への信号の供給及びロジック回路への信号の供給が可能であり、レイアウト面積の削減ができるという効果がある。また、従来のような入力側セレクタによる信号遅延がないことから、高速でのテストが実現できる。   As described above, in addition to the logic circuit 130, the system LSI 100 that is the semiconductor integrated circuit device of the second embodiment includes a test input pattern that is an input to the register circuit during the test of the circuit under test. Even when the input is interrupted or changed, a BIST circuit 1 (BIST circuit in the first embodiment) that can complete a predetermined test without interruption is provided. Therefore, during the test of the SDRAM 50 by the BIST circuit 1 (step ST2), an input signal can be supplied to the logic circuit 130 through the common terminals pi1, pi2, pi3 and the common wirings 101, 102, 103. Therefore, according to the semiconductor integrated circuit device of the second embodiment, even if the selector circuit for input signals (for example, a large-scale selector 111a as shown in FIG. 9 showing a comparative example) is not provided, Signals can be supplied and signals can be supplied to the logic circuit, and the layout area can be reduced. Further, since there is no signal delay due to the input side selector as in the prior art, a high-speed test can be realized.

<変形例>
本発明は、上記第1及び第2の実施形態において説明された構成には限定されず、以下に示すような種々の変形が可能である。
<Modification>
The present invention is not limited to the configurations described in the first and second embodiments, and various modifications as described below are possible.

例えば、上記第1の実施形態においては、図5に示されるように、単位データレジスタ12A−n内に設けられたデータラッチ回路は、MUX回路73及びFF回路74により構成されている。しかし、例えば、図10に単位データレジスタ12A−naとして示されるように、図5におけるMUX回路73を省略し、制御信号ctrl_orとアップデート信号update_DRを2入力の論理積ゲート(AND回路)75に入力し、このAND回路75の出力信号をFF回路74のクロック入力端子に入力すると共に、FF回路74のデータ入力端子をFF回路72のデータ出力端子に接続する構成としてもよい。この構成は、アップデート信号update_DRをAND論理にてゲーティッドクロックとする方法である。図10に示される構成によっても、図5の場合と同様に、データを保持することができる。   For example, in the first embodiment, as shown in FIG. 5, the data latch circuit provided in the unit data register 12 </ b> A-n includes a MUX circuit 73 and an FF circuit 74. However, for example, as shown as the unit data register 12A-na in FIG. 10, the MUX circuit 73 in FIG. 5 is omitted, and the control signal ctrl_or and the update signal update_DR are input to the 2-input AND gate (AND circuit) 75. The output signal of the AND circuit 75 may be input to the clock input terminal of the FF circuit 74, and the data input terminal of the FF circuit 74 may be connected to the data output terminal of the FF circuit 72. This configuration is a method of using the update signal update_DR as a gated clock with AND logic. Also with the configuration shown in FIG. 10, data can be retained as in the case of FIG.

また、上記第2の実施形態においては、図7に示されるように、BIST回路1と1個のロジック回路130とが並列接続された半導体集積回路装置を説明したが、本発明は、BIST回路1と複数個のロジック回路とを並列接続した半導体集積回路装置にも適用できる。   In the second embodiment, as shown in FIG. 7, the semiconductor integrated circuit device in which the BIST circuit 1 and one logic circuit 130 are connected in parallel has been described. However, the present invention is not limited to the BIST circuit. The present invention can also be applied to a semiconductor integrated circuit device in which one and a plurality of logic circuits are connected in parallel.

さらに、上記第1及び第2の実施形態においては、被テスト回路としてSDRAM50を用いた場合を説明したが、本発明は、SRAM(Static RAM)、FlashROM、P2ROM(Production Programmed ROM)等の他の半導体メモリ、又は、ロジック回路等の半導体集積回路のような種々の被テスト回路に対して適用できる。   Furthermore, in the first and second embodiments, the case where the SDRAM 50 is used as the circuit under test has been described. However, the present invention is not limited to the SRAM (Static RAM), FlashROM, P2ROM (Production Programmed ROM) and the like. The present invention can be applied to various circuits under test such as a semiconductor integrated circuit such as a semiconductor memory or a logic circuit.

本発明の第1の実施形態に係るテスト回路であるBIST回路の概略的な構成と、テスタ及びSDRAMを示すブロック図である。1 is a block diagram illustrating a schematic configuration of a BIST circuit, which is a test circuit according to a first embodiment of the present invention, a tester, and an SDRAM. FIG. 図1に示されるBIST回路の概略的な構成を示すブロック図である。FIG. 2 is a block diagram illustrating a schematic configuration of a BIST circuit illustrated in FIG. 1. 図1に示されるSDRAMの概略的な構成を示すブロック図である。FIG. 2 is a block diagram showing a schematic configuration of the SDRAM shown in FIG. 1. 図2に示されるBIST制御回路の概略的な構成を示すブロック図である。FIG. 3 is a block diagram showing a schematic configuration of a BIST control circuit shown in FIG. 2. 図4に示される複数ビットのデータレジスタにおける1ビットの単位データレジスタの概略的な構成を示すブロック図である。FIG. 5 is a block diagram showing a schematic configuration of a 1-bit unit data register in the multi-bit data register shown in FIG. 4. 第1の実施形態に係るBIST回路の動作を説明するための動作波形図である。FIG. 5 is an operation waveform diagram for explaining the operation of the BIST circuit according to the first embodiment. 本発明の第2の実施形態に係る半導体集積回路装置であるシステムLSIの概略的な構成と、テスタを示すブロック図である。It is a block diagram which shows the schematic structure of the system LSI which is a semiconductor integrated circuit device concerning the 2nd Embodiment of this invention, and a tester. 第2の実施形態の比較例の概略的な構成を示すブロック図である。It is a block diagram which shows the schematic structure of the comparative example of 2nd Embodiment. 第2の実施形態に係る半導体集積回路装置の動作を説明するための動作波形図である。FIG. 10 is an operation waveform diagram for explaining an operation of the semiconductor integrated circuit device according to the second embodiment. 他の単位データレジスタの概略的な構成を示すブロック図である。It is a block diagram which shows the schematic structure of another unit data register.

符号の説明Explanation of symbols

1 BIST回路(テスト回路)、
10 BIST制御回路、
11 TAPコントローラ、
12 制御レジスタ、
12A データレジスタ、
12A−n,12A−na 単位データレジスタ、
12B データデコーダ、
12C OR回路、
20 パターン生成回路、
30 データ比較器、
40 出力制御回路、
50 SDRAM(被テスト回路)、
65 テスタ、
100 システムLSI(半導体集積回路装置)、
101〜103 共通配線、
110 コントロールチップ、
111 セレクタ、
120 オシレータ、
130 ロジック回路、
pi1〜pi3 共通入力端子、
pi4,pi5 入力端子、
po1 出力端子。
1 BIST circuit (test circuit),
10 BIST control circuit,
11 TAP controller,
12 control registers,
12A data register,
12A-n, 12A-na unit data register,
12B data decoder,
12C OR circuit,
20 pattern generation circuit,
30 data comparator,
40 output control circuit,
50 SDRAM (circuit under test),
65 testers,
100 system LSI (semiconductor integrated circuit device),
101-103 common wiring,
110 control chip,
111 selector,
120 oscillator,
130 logic circuit,
pi1-pi3 common input terminal,
pi4, pi5 input terminals,
po1 Output terminal.

Claims (13)

リセット信号によってリセットが指示されてデータがクリアされた後にデータが書込まれ、次のリセット信号によってリセットが指示されるまで前記書込まれたデータを保持し続けるレジスタ回路と、
被テスト回路のテストに用いられるテストモードを選択するための信号が入力され、第1のクロックに同期して前記レジスタ回路に前記テストモードを選択するための信号に基づくデータを書込む第1の回路と、
前記レジスタ回路に保持されているデータに基づくテストパターンを生成し、第2のクロックに同期して前記被テスト回路に対して前記テストパターンに基づくデータを出力する第2の回路と、
前記第2のクロックに同期して前記被テスト回路から出力されたデータが入力され、前記テストパターン及び前記被テスト回路から出力されたデータに基づいて前記被テスト回路の性能の評価を行う第3の回路と
を有することを特徴とするテスト回路。
A register circuit in which data is written after reset is instructed by a reset signal and data is cleared, and continues to hold the written data until reset is instructed by the next reset signal;
A signal for selecting a test mode used for testing the circuit under test is input, and data based on the signal for selecting the test mode is written in the register circuit in synchronization with a first clock. Circuit,
A second circuit for generating a test pattern based on data held in the register circuit and outputting data based on the test pattern to the circuit under test in synchronization with a second clock;
Data output from the circuit under test is input in synchronization with the second clock, and the performance of the circuit under test is evaluated based on the test pattern and data output from the circuit under test. A test circuit characterized by comprising:
前記第3の回路による前記評価の結果を、前記第2のクロックに同期して外部に出力する第4の回路をさらに有することを特徴とする請求項1に記載のテスト回路。   The test circuit according to claim 1, further comprising a fourth circuit that outputs the result of the evaluation by the third circuit to the outside in synchronization with the second clock. 前記第3の回路による前記評価が、前記テストパターンと前記被テスト回路から出力されたデータとの一致又は不一致の判定に基づいて行われることを特徴とする請求項1又は2のいずれかに記載のテスト回路。   3. The evaluation according to claim 1, wherein the evaluation by the third circuit is performed based on determination of coincidence or disagreement between the test pattern and data output from the circuit under test. Test circuit. 前記第1のクロックは、前記第1の回路の外部から前記第1の回路に入力されたクロックであり、
前記第2のクロックは、前記第2及び第3の回路の外部から前記第2及び第3の回路に入力されたクロックである
ことを特徴とする請求項1から3までのいずれかに記載のテスト回路。
The first clock is a clock input to the first circuit from the outside of the first circuit,
The said 2nd clock is a clock input into the said 2nd and 3rd circuit from the outside of the said 2nd and 3rd circuit. The one in any one of Claim 1 to 3 characterized by the above-mentioned. Test circuit.
前記第2のクロックを生成するオシレータをさらに有することを特徴とする請求項1から3までのいずれかに記載のテスト回路。   4. The test circuit according to claim 1, further comprising an oscillator that generates the second clock. 前記第2のクロックが、前記被テスト回路の実動作周波数に等しい周波数を持つことを特徴とする請求項1から5までのいずれかに記載のテスト回路。   6. The test circuit according to claim 1, wherein the second clock has a frequency equal to an actual operating frequency of the circuit under test. 半導体基板に形成された請求項1から6までのいずれかに記載のテスト回路と、
前記半導体基板に形成されたロジック回路と、
前記半導体基板に形成され、前記テスト回路の前記第1の回路と前記ロジック回路の両方に接続された第1の共通配線と、
前記半導体基板に形成され、前記第1の共通配線に接続された第1の共通端子と
を有することを特徴とする半導体集積回路装置。
A test circuit according to any one of claims 1 to 6, formed on a semiconductor substrate;
A logic circuit formed on the semiconductor substrate;
A first common wiring formed on the semiconductor substrate and connected to both the first circuit and the logic circuit of the test circuit;
A semiconductor integrated circuit device comprising: a first common terminal formed on the semiconductor substrate and connected to the first common wiring.
前記第1の共通端子に、前記第1のクロック又は前記ロジック回路の動作タイミングを与える第3のクロックが入力されることを特徴とする請求項7に記載の半導体集積回路装置。   8. The semiconductor integrated circuit device according to claim 7, wherein the first common terminal is supplied with the first clock or a third clock that gives an operation timing of the logic circuit. 前記第1の共通端子に、前記テストモードを選択するための信号又は前記ロジック回路を動作させるためのデータが入力されることを特徴とする請求項7に記載の半導体集積回路装置。   8. The semiconductor integrated circuit device according to claim 7, wherein a signal for selecting the test mode or data for operating the logic circuit is input to the first common terminal. 前記半導体基板に形成され、前記テスト回路の前記第1の回路と前記ロジック回路の両方に接続された第2の共通配線と、
前記半導体基板に形成され、前記第2の共通配線に接続された第2の共通端子と
をさらに有し、
前記第2の共通端子に、前記テスト回路から出力された信号又は前記ロジック回路から出力された信号が入力される
ことを特徴とする請求項8に記載の半導体集積回路装置。
A second common wiring formed on the semiconductor substrate and connected to both the first circuit and the logic circuit of the test circuit;
A second common terminal formed on the semiconductor substrate and connected to the second common wiring; and
The semiconductor integrated circuit device according to claim 8, wherein a signal output from the test circuit or a signal output from the logic circuit is input to the second common terminal.
リセット信号によってリセットが指示されてデータがクリアされた後にデータが書込まれ、次のリセット信号によってリセットが指示されるまで前記書込まれたデータを保持し続けるレジスタ回路を含むテスト回路を用いるテスト方法であって、
被テスト回路のテストに用いられるテストモードを選択するための信号が前記テスト回路に入力され、第1のクロックに同期して、前記レジスタ回路に前記テストモードを選択するための信号に基づくデータを書込むステップと、
前記レジスタ回路に保持されているデータに基づくテストパターンを生成し、第2のクロックに同期して前記被テスト回路に対して前記テストパターンに基づくデータを出力するステップと、
前記第2のクロックに同期して前記被テスト回路から出力されたデータが前記テスト回路に入力され、前記テストパターン及び前記被テスト回路から出力されたデータに基づいて前記被テスト回路の性能の評価を行うステップと
を有することを特徴とするテスト方法。
A test using a test circuit including a register circuit in which data is written after reset is instructed by a reset signal and data is cleared, and continues to be held until reset is instructed by the next reset signal A method,
A signal for selecting a test mode used for testing the circuit under test is input to the test circuit, and data based on the signal for selecting the test mode is input to the register circuit in synchronization with a first clock. Writing step,
Generating a test pattern based on data held in the register circuit and outputting data based on the test pattern to the circuit under test in synchronization with a second clock;
Data output from the circuit under test in synchronization with the second clock is input to the test circuit, and the performance of the circuit under test is evaluated based on the test pattern and data output from the circuit under test. And a step for performing the test.
前記被テスト回路の評価を行うステップにおける評価結果を、前記第2のクロックに同期して外部に出力するステップをさらに有することを特徴とする請求項11に記載のテスト方法。   12. The test method according to claim 11, further comprising a step of outputting an evaluation result in the step of evaluating the circuit under test to the outside in synchronization with the second clock. 前記被テスト回路の評価を行うステップにおける前記評価が、前記テストパターンと前記被テスト回路から出力されたデータとの一致又は不一致の判定に基づいて行われることを特徴とする請求項11又は12のいずれかに記載のテスト方法。   13. The evaluation according to claim 11 or 12, wherein the evaluation in the step of evaluating the circuit under test is performed based on determination of coincidence or mismatch between the test pattern and data output from the circuit under test. The test method described in any one.
JP2005043314A 2004-04-23 2005-02-21 Test circuit, test method and semiconductor integrated circuit device Pending JP2005332555A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005043314A JP2005332555A (en) 2004-04-23 2005-02-21 Test circuit, test method and semiconductor integrated circuit device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004128651 2004-04-23
JP2005043314A JP2005332555A (en) 2004-04-23 2005-02-21 Test circuit, test method and semiconductor integrated circuit device

Publications (1)

Publication Number Publication Date
JP2005332555A true JP2005332555A (en) 2005-12-02

Family

ID=35487069

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005043314A Pending JP2005332555A (en) 2004-04-23 2005-02-21 Test circuit, test method and semiconductor integrated circuit device

Country Status (1)

Country Link
JP (1) JP2005332555A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008059725A (en) * 2006-09-01 2008-03-13 Fujitsu Ltd Semiconductor device
JP2008269669A (en) * 2007-04-17 2008-11-06 Renesas Technology Corp Semiconductor device and data processing system
WO2012035651A1 (en) * 2010-09-17 2012-03-22 富士通株式会社 Circuit device, frequency altering circuit, method for testing circuit device, and method for controlling frequency altering circuit
US8661293B2 (en) 2011-06-30 2014-02-25 International Business Machines Corporation Test architecture based on intelligent test sequence
JP2014215178A (en) * 2013-04-25 2014-11-17 セイコーインスツル株式会社 Semiconductor device
JP2017502386A (en) * 2013-12-26 2017-01-19 インテル・コーポレーション Integrated circuit defect detection and repair
CN112614534A (en) * 2020-12-17 2021-04-06 珠海市一微半导体有限公司 MBIST circuit system
KR20210042854A (en) * 2020-07-24 2021-04-20 베이징 바이두 넷컴 사이언스 앤 테크놀로지 코., 엘티디. Method for testing chip, electronic device, storage medium, program and chip thereof
JP2021535488A (en) * 2018-08-31 2021-12-16 エヌビディア コーポレーション A test system for performing built-in self-tests during deployment for automotive applications

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02128266A (en) * 1988-11-09 1990-05-16 Ascii Corp Register with protective function
JPH05298187A (en) * 1991-12-18 1993-11-12 Nippon Telegr & Teleph Corp <Ntt> Protection system of initialization information in function circuit
WO1998025213A1 (en) * 1996-12-04 1998-06-11 Hitachi, Ltd. Semiconductor integrated circuit device
JP2003208331A (en) * 2001-10-12 2003-07-25 Sun Microsyst Inc Dual mode asic (application specific integrated circuit) bist (built-in self-test) controller
JP2003346499A (en) * 2002-05-28 2003-12-05 Oki Electric Ind Co Ltd Semiconductor device and its test method
JP2004093421A (en) * 2002-08-30 2004-03-25 Oki Electric Ind Co Ltd Testing circuit, semiconductor integrated circuit device with testing circuit built in, and testing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02128266A (en) * 1988-11-09 1990-05-16 Ascii Corp Register with protective function
JPH05298187A (en) * 1991-12-18 1993-11-12 Nippon Telegr & Teleph Corp <Ntt> Protection system of initialization information in function circuit
WO1998025213A1 (en) * 1996-12-04 1998-06-11 Hitachi, Ltd. Semiconductor integrated circuit device
JP2003208331A (en) * 2001-10-12 2003-07-25 Sun Microsyst Inc Dual mode asic (application specific integrated circuit) bist (built-in self-test) controller
JP2003346499A (en) * 2002-05-28 2003-12-05 Oki Electric Ind Co Ltd Semiconductor device and its test method
JP2004093421A (en) * 2002-08-30 2004-03-25 Oki Electric Ind Co Ltd Testing circuit, semiconductor integrated circuit device with testing circuit built in, and testing method

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008059725A (en) * 2006-09-01 2008-03-13 Fujitsu Ltd Semiconductor device
JP2008269669A (en) * 2007-04-17 2008-11-06 Renesas Technology Corp Semiconductor device and data processing system
US7774667B2 (en) 2007-04-17 2010-08-10 Renesas Technology Corp. Semiconductor device and data processing system
WO2012035651A1 (en) * 2010-09-17 2012-03-22 富士通株式会社 Circuit device, frequency altering circuit, method for testing circuit device, and method for controlling frequency altering circuit
JPWO2012035651A1 (en) * 2010-09-17 2014-01-20 富士通株式会社 Circuit device, frequency change circuit, circuit device test method, and frequency change circuit control method
US8810297B2 (en) 2010-09-17 2014-08-19 Fujitsu Limited Circuit device, frequency changing circuit, method of testing circuit device, and method of controlling frequency changing circuit
US8661293B2 (en) 2011-06-30 2014-02-25 International Business Machines Corporation Test architecture based on intelligent test sequence
JP2014215178A (en) * 2013-04-25 2014-11-17 セイコーインスツル株式会社 Semiconductor device
JP2017502386A (en) * 2013-12-26 2017-01-19 インテル・コーポレーション Integrated circuit defect detection and repair
US9922725B2 (en) 2013-12-26 2018-03-20 Intel Corporation Integrated circuit defect detection and repair
JP2021535488A (en) * 2018-08-31 2021-12-16 エヌビディア コーポレーション A test system for performing built-in self-tests during deployment for automotive applications
JP7385651B2 (en) 2018-08-31 2023-11-22 エヌビディア コーポレーション Test system for performing built-in self-tests during deployment for automotive applications
KR20210042854A (en) * 2020-07-24 2021-04-20 베이징 바이두 넷컴 사이언스 앤 테크놀로지 코., 엘티디. Method for testing chip, electronic device, storage medium, program and chip thereof
JP2021193366A (en) * 2020-07-24 2021-12-23 ベイジン バイドゥ ネットコム サイエンス テクノロジー カンパニー リミテッド Method for testing chip, electronic device, computer readable storage medium, corresponding chip and computer program
US11639964B2 (en) 2020-07-24 2023-05-02 Beijing Baidu Netcom Science And Technology Co., Ltd. Method, apparatus and storage medium for testing chip, and chip thereof
JP7339976B2 (en) 2020-07-24 2023-09-06 クンルンシン テクノロジー (ベイジン) カンパニー リミテッド Methods, electronic devices, computer readable storage media, corresponding chips and computer programs for testing chips
KR102583044B1 (en) * 2020-07-24 2023-09-25 베이징 바이두 넷컴 사이언스 앤 테크놀로지 코., 엘티디. Method for testing chip, electronic device, storage medium, program and chip thereof
CN112614534A (en) * 2020-12-17 2021-04-06 珠海市一微半导体有限公司 MBIST circuit system
CN112614534B (en) * 2020-12-17 2023-09-05 珠海一微半导体股份有限公司 MBIST circuit system

Similar Documents

Publication Publication Date Title
US7225379B2 (en) Circuit and method for testing semiconductor device
US7721174B2 (en) Full-speed BIST controller for testing embedded synchronous memories
EP1377981B1 (en) Method and system to optimize test cost and disable defects for scan and bist memories
US7603603B2 (en) Configurable memory architecture with built-in testing mechanism
JP2005332555A (en) Test circuit, test method and semiconductor integrated circuit device
US20040128596A1 (en) Method and apparatus for testing embedded cores
US8780648B2 (en) Latch based memory device
US7533309B2 (en) Testing memories using algorithm selection
US7729185B2 (en) Apparatus and method for detection of address decoder open faults
US20080059850A1 (en) Self programmable shared bist for testing multiple memories
US6510530B1 (en) At-speed built-in self testing of multi-port compact sRAMs
US20130275824A1 (en) Scan-based capture and shift of interface functional signal values in conjunction with built-in self-test
US7231563B2 (en) Method and apparatus for high speed testing of latch based random access memory
US7249295B2 (en) Test circuit for semiconductor device
US7484154B2 (en) Semiconductor integrated circuit, method for testing semiconductor integrated circuit, and computer readable medium for the same
US20130311843A1 (en) Scan controller configured to control signal values applied to signal lines of circuit core input interface
US20040153806A1 (en) Technique for testability of semiconductor integrated circuit
US7315971B2 (en) Systems and methods for improved memory scan testability
US7134058B2 (en) Memory circuit scan arrangement
JP2007272982A (en) Semiconductor storage device and its inspection method
US6341092B1 (en) Designing memory for testability to support scan capability in an asic design
US7117406B2 (en) Semiconductor memory device and method of testing same
US11984178B2 (en) Methods and devices for flexible RAM loading
JP2004512630A (en) Built-in self-test of multi-port CsRAM at-speed
US7047468B2 (en) Method and apparatus for low overhead circuit scan

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070808

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20081203

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20090129

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20090129

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100218

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100223

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100622