JP5442522B2 - Test circuit for semiconductor integrated circuit - Google Patents

Test circuit for semiconductor integrated circuit Download PDF

Info

Publication number
JP5442522B2
JP5442522B2 JP2010091250A JP2010091250A JP5442522B2 JP 5442522 B2 JP5442522 B2 JP 5442522B2 JP 2010091250 A JP2010091250 A JP 2010091250A JP 2010091250 A JP2010091250 A JP 2010091250A JP 5442522 B2 JP5442522 B2 JP 5442522B2
Authority
JP
Japan
Prior art keywords
circuit
test
output control
shift register
flip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010091250A
Other languages
Japanese (ja)
Other versions
JP2011220881A (en
Inventor
章浩 垂水
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
MegaChips Corp
Original Assignee
MegaChips Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by MegaChips Corp filed Critical MegaChips Corp
Priority to JP2010091250A priority Critical patent/JP5442522B2/en
Publication of JP2011220881A publication Critical patent/JP2011220881A/en
Application granted granted Critical
Publication of JP5442522B2 publication Critical patent/JP5442522B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)

Description

本発明は、半導体集積回路の外部から入力されるテスト用のシリアルデータをパラレルデータに変換し、テスト対象のマクロ等に供給してテストを行うテスト回路に関するものである。 The present invention converts the serial test data input from the outside of the semiconductor integrated circuit into parallel data, and relates to test circuitry for testing is supplied to the macro or the like of the test subject.

一般的に、半導体集積回路(半導体チップ)に搭載されたマクロをテストする際には、テスト時に、マクロへの入力信号を外部から独立に制御できるように、シフトレジスタを用意しておき、半導体集積回路の外部から、リセット信号、クロック信号およびシリアルデータを外部接続ピンを介して入力して、クロック信号が入力される毎に、入力されるシリアルデータをシフトレジスタに順次シフトして保持させた後、シフトレジスタの出力信号をテスト用のパラレルデータとしてマクロに入力する。   Generally, when testing a macro mounted on a semiconductor integrated circuit (semiconductor chip), a shift register is prepared so that the input signal to the macro can be controlled independently from the outside during the test. The reset signal, clock signal, and serial data are input from the outside of the integrated circuit via the external connection pins, and each time the clock signal is input, the input serial data is sequentially shifted and held in the shift register. Thereafter, the output signal of the shift register is input to the macro as parallel data for testing.

しかし、単にシフトレジスタのフリップフロップ(以下、FFともいう)の出力信号をマクロに直接入力すると、各FFへのシリアルデータの書き込み中に、マクロへの入力信号が頻繁にトグルし、マクロの種類によっては動作に悪影響を与えることが予想される。   However, if the output signal of the flip-flop (hereinafter also referred to as FF) of the shift register is directly input to the macro, the input signal to the macro is frequently toggled during the writing of the serial data to each FF. It is expected that some operations will be adversely affected.

これを防ぐため、シフト信号を別の外部接続ピンを介して入力し、シフト信号とシフトレジスタの各FFの出力信号とのANDやMUX(マルチプレクサ)をとってマクロに入力する方法(例えば、特許文献1参照)や、シフト信号をクロックとして用いて、シフトレジスタのFFの出力信号をさらに別のFFでラッチしてマクロに入力することにより、上記マクロの入力信号のトグルを抑えてテストを実施する方法等が考えられている。   In order to prevent this, a shift signal is input via another external connection pin, and an AND or MUX (multiplexer) of the shift signal and the output signal of each FF of the shift register is input to a macro (for example, a patent) Using the shift signal as a clock, the output signal of the FF of the shift register is latched by another FF and input to the macro, and the macro input signal toggle is suppressed to perform the test. The method of doing is considered.

以下、従来のテスト回路について、特許文献1によって提案されたテスト回路を例に挙げて説明する。   Hereinafter, a conventional test circuit will be described using the test circuit proposed in Patent Document 1 as an example.

図13は、従来の半導体集積回路のテスト回路の構成を表す一例の回路図である。同図に示すテスト回路44は、シフトレジスタ12と、出力制御回路16とによって構成されている。   FIG. 13 is an example circuit diagram showing a configuration of a test circuit of a conventional semiconductor integrated circuit. The test circuit 44 shown in the figure is constituted by the shift register 12 and the output control circuit 16.

シフトレジスタ12は、n+1個のFFを直列に接続して構成されている。シフトレジスタ12の全てのFFのリセット端子およびクロック端子には、それぞれ、リセット信号RESETおよびクロック信号CLKが入力され、初段のFFのデータ入力端子DにはシリアルデータDINが入力される。各FFのデータ出力端子Qからの出力信号は、順次次段のFFのデータ入力端子Dに入力されるとともに、出力制御回路16に入力される。   The shift register 12 is configured by connecting n + 1 FFs in series. The reset signal RESET and the clock signal CLK are input to the reset terminals and clock terminals of all the FFs of the shift register 12, respectively, and the serial data DIN is input to the data input terminal D of the first stage FF. The output signal from the data output terminal Q of each FF is sequentially input to the data input terminal D of the next stage FF and also to the output control circuit 16.

出力制御回路16は、シフト信号SHIFTを用いて、シフトレジスタ12のFFの出力信号の出力制御を行うものであり、シフトレジスタ12の各FFに対応するn+1個のANDゲートによって構成されている。各ANDゲートの一方の入力端子には、各々対応するFFの出力信号が入力され、他方の入力端子にはシフト信号SHIFTが入力されている。各ANDゲートからは、テスト用のパラレルデータD[n:0]が出力される。   The output control circuit 16 performs output control of the output signal of the FF of the shift register 12 using the shift signal SHIFT, and is configured by n + 1 AND gates corresponding to each FF of the shift register 12. A corresponding FF output signal is input to one input terminal of each AND gate, and a shift signal SHIFT is input to the other input terminal. Each AND gate outputs test parallel data D [n: 0].

次に、テスト回路44を用いて、テスト対象のマクロ等をテストする場合の動作を説明する。   Next, an operation when testing a test target macro or the like using the test circuit 44 will be described.

テスト時には、半導体集積回路の外部から、リセット信号RESET、クロック信号CLK、シリアルデータDINおよびシフト信号SHIFTが、半導体集積回路のリセット端子、クロック端子、シリアルデータ端子およびシフト端子の各外部接続ピンを介してテスト回路44に入力される。   During the test, the reset signal RESET, the clock signal CLK, the serial data DIN, and the shift signal SHIFT are supplied from the outside of the semiconductor integrated circuit through the external connection pins of the reset terminal, the clock terminal, the serial data terminal, and the shift terminal of the semiconductor integrated circuit. Are input to the test circuit 44.

まず、リセット信号RESETとしてローレベルを入力すると、シフトレジスタ12の全てのFFの出力信号がローレベルに初期化される。また、シフト信号SHIFTとしてローレベルを入力すると、出力制御回路16の出力信号がローレベルに初期化される。   First, when a low level is input as the reset signal RESET, the output signals of all the FFs of the shift register 12 are initialized to a low level. When a low level is input as the shift signal SHIFT, the output signal of the output control circuit 16 is initialized to a low level.

続いて、リセット信号RESETとしてハイレベルを入力した後(リセット解除後)、クロック信号CLKおよびシリアルデータDINを順次入力する。シフトレジスタ12では、クロック信号CLKが入力される毎に、同時に入力されたシリアルデータDINが初段のFFに保持されるとともに、各々前段のFFの出力信号が順次後段のFFにシフトされる。このようにして、n+1個のシリアルデータDINを順次シフトすることにより、シフトレジスタ12の全てのFFにシリアルデータDINが保持される。   Subsequently, after inputting a high level as the reset signal RESET (after reset release), the clock signal CLK and the serial data DIN are sequentially input. In the shift register 12, every time the clock signal CLK is inputted, the serial data DIN inputted at the same time is held in the first stage FF, and the output signal of the preceding stage FF is sequentially shifted to the succeeding stage FF. In this way, the serial data DIN is held in all the FFs of the shift register 12 by sequentially shifting the n + 1 serial data DIN.

シフトレジスタ12へのシリアルデータの書き込みが完了すると、つまり、n+1個のシリアルデータを入力した後、クロック信号CLKの入力を停止する。これにより、シフトレジスタ12に保持されたシリアルデータの値が固定される。   When the writing of the serial data to the shift register 12 is completed, that is, after inputting n + 1 pieces of serial data, the input of the clock signal CLK is stopped. As a result, the value of the serial data held in the shift register 12 is fixed.

その後、シフト信号SHIFTをハイレベルにすると、出力制御回路16の各ANDゲートから、シフトレジスタ12の各々対応するFFの出力信号が出力される。出力制御回路16の出力信号、つまり、テスト用のパラレルデータD[n:0]は、テスト対象のマクロ等に入力される。   Thereafter, when the shift signal SHIFT is set to the high level, output signals of the corresponding FFs of the shift register 12 are output from the AND gates of the output control circuit 16. The output signal of the output control circuit 16, that is, test parallel data D [n: 0] is input to a test target macro or the like.

なお、図13の例は、出力制御回路16としてANDゲートを使用しているが、前述のように、これがMUXや、シフト信号SHIFTをクロックとするFFとなっている場合も同様である。   In the example of FIG. 13, an AND gate is used as the output control circuit 16, but as described above, the same applies to the case where this is a MUX or an FF using the shift signal SHIFT as a clock.

特開平1−320545号公報JP-A-1-320545

上記のように、シフト信号SHIFT、つまり、半導体集積回路にシフト端子を追加して、シフトレジスタ12の出力信号の出力制御を行うことにより、シフトレジスタ12の各FFへのシリアルデータの書き込み中に、マクロへの入力信号が頻繁にトグルすることを防止することができる。しかし、テスト用の外部接続ピンの増大は大きな問題となっており、たとえ1ピンであっても増えてしまうことは望ましくない。   As described above, the shift signal SHIFT, that is, the shift terminal is added to the semiconductor integrated circuit and the output signal of the shift register 12 is controlled, so that the serial data is being written to each FF of the shift register 12. Therefore, it is possible to prevent the input signal to the macro from toggling frequently. However, an increase in the number of external connection pins for testing is a big problem, and it is not desirable to increase even if there is only one pin.

従って、本発明の目的は、テスト時に必要となるテスト用の外部接続ピンを追加することなく、テスト対象のマクロ等をテストすることができる半導体集積回路のテスト回路を提供することにある。 Accordingly, an object of the present invention is to provide a testing circuitry of a semiconductor integrated circuit which can test without a test target macro like adding an external connection pins for testing required for the test.

上記目的を達成するために、本発明は、データ設定用フリップフロップを含む複数のフリップフロップを直列に接続して構成され、クロック信号が入力される毎に、テスト対象をテストするためのテスト用のシリアルデータを順次シフトするシフトレジスタと、あらかじめ決定された所定パターンのシリアルデータが、前記シフトレジスタの、あらかじめ決定された少なくとも1つのフリップフロップに設定されたことを検出すると、アクティブ状態の出力制御信号を出力する設定検出回路と、該設定検出回路から入力された出力制御信号を用いて、前記シフトレジスタの複数のデータ設定用フリップフロップから出力されるパラレルデータの前記テスト対象への出力制御を行う出力制御回路とを備えることを特徴とする半導体集積回路のテスト回路を提供するものである。 In order to achieve the above object, the present invention is configured by connecting a plurality of flip-flops including a data setting flip-flop in series, and for testing each time a test signal is input, the test target is tested. When the shift register for sequentially shifting the serial data and the serial data of the predetermined pattern determined in advance are set in at least one predetermined flip-flop of the shift register, the output control in the active state is performed Using a setting detection circuit that outputs a signal and an output control signal input from the setting detection circuit, output control of the parallel data output from the plurality of data setting flip-flops of the shift register to the test target is performed. And an output control circuit for performing the operation of the semiconductor integrated circuit. There is provided a preparative circuit.

ここで、前記設定検出回路は、前記所定パターンのシリアルデータが、前記シフトレジスタの最終段のデータ設定用フリップフロップに設定されたことを検出すると、前記アクティブ状態の出力制御信号を出力することが好ましい。   Here, when the setting detection circuit detects that the serial data of the predetermined pattern is set in the data setting flip-flop at the final stage of the shift register, the setting detection circuit may output the output control signal in the active state. preferable.

また、前記シフトレジスタは、さらに、前記複数のフリップフロップの最終段のデータ設定用フリップフロップの後段に接続されたテスト用のフリップフロップを備え、
前記設定検出回路は、前記所定パターンのシリアルデータが、前記テスト用のフリップフロップに設定されたことを検出すると、前記アクティブ状態の出力制御信号を出力することが好ましい。
The shift register further includes a test flip-flop connected to a subsequent stage of the data setting flip-flop of the final stage of the plurality of flip-flops,
The setting detection circuit preferably outputs the output control signal in the active state when detecting that the serial data of the predetermined pattern is set in the test flip-flop.

また、前記設定検出回路は、前記出力制御信号を遅延する遅延回路を備え、前記出力制御回路は、前記遅延回路によって遅延された出力制御信号を用いて、前記シフトレジスタの複数のデータ設定用フリップフロップの出力信号の出力制御を行うことが好ましい。   The setting detection circuit includes a delay circuit that delays the output control signal, and the output control circuit uses the output control signal delayed by the delay circuit to set a plurality of data setting flip-flops of the shift register. It is preferable to perform output control of the output signal.

本発明のテスト回路は、シフトレジスタのデータ設定用フリップフロップの出力信号に基づいて、シフトレジスタにシリアルデータの書き込みが完了したことを検出し、シフトレジスタの出力信号をテスト用のパラレルデータとして出力する。そのため、従来のテスト回路のように、シフト信号を半導体集積回路の外部から入力するための外部接続ピンは不要であり、テスト時に必要な外部接続ピンを削減することができる。   The test circuit of the present invention detects the completion of the writing of serial data to the shift register based on the output signal of the data setting flip-flop of the shift register, and outputs the output signal of the shift register as test parallel data To do. Therefore, unlike the conventional test circuit, an external connection pin for inputting the shift signal from the outside of the semiconductor integrated circuit is not necessary, and the external connection pins necessary for the test can be reduced.

本発明の半導体集積回路のテスト回路の構成を表す一実施形態の回路概念図である。It is a circuit conceptual diagram of one Embodiment showing the structure of the test circuit of the semiconductor integrated circuit of this invention. 本発明のテスト回路の構成を表す第1の具体例の回路図である。It is a circuit diagram of the 1st example showing the composition of the test circuit of the present invention. 図2に示すテスト回路の動作を表すタイミングチャートである。3 is a timing chart showing the operation of the test circuit shown in FIG. 本発明のテスト回路の構成を表す第2の具体例の回路図である。It is a circuit diagram of the 2nd example showing the structure of the test circuit of this invention. 図4に示すテスト回路の動作を表すタイミングチャートである。5 is a timing chart showing the operation of the test circuit shown in FIG. 本発明のテスト回路の構成を表す第3の具体例の回路図である。It is a circuit diagram of the 3rd example showing the composition of the test circuit of the present invention. 図6に示すテスト回路の動作を表すタイミングチャートである。7 is a timing chart showing the operation of the test circuit shown in FIG. 図6に示すテスト回路の変形例の構成を表す回路図である。FIG. 7 is a circuit diagram illustrating a configuration of a modified example of the test circuit illustrated in FIG. 6. 図6に示すテスト回路の変形例の構成を表す回路図である。FIG. 7 is a circuit diagram illustrating a configuration of a modified example of the test circuit illustrated in FIG. 6. 本発明のテスト回路の構成を表す第4の具体例の回路図である。It is a circuit diagram of the 4th example showing the composition of the test circuit of the present invention. 図10に示すテスト回路の動作を表すタイミングチャートである。It is a timing chart showing operation | movement of the test circuit shown in FIG. クロック信号の停止回路の構成を表す一実施形態の回路図である。It is a circuit diagram of one Embodiment showing the composition of the stop circuit of a clock signal. 従来のテスト回路の構成を表す一例の回路図である。It is an example circuit diagram showing the structure of the conventional test circuit.

以下に、添付の図面に示す好適実施形態に基づいて、本発明の半導体集積回路のテスト回路およびテスト方法を詳細に説明する。   Hereinafter, a test circuit and a test method for a semiconductor integrated circuit according to the present invention will be described in detail based on preferred embodiments shown in the accompanying drawings.

図1は、本発明の半導体集積回路のテスト回路の構成を表す一実施形態の回路概念図である。同図に示すテスト回路10は、半導体集積回路に搭載され、テスト時に、半導体集積回路の外部から入力されるテスト用のシリアルデータDINをパラレルデータD[n:0]に変換して、テスト対象のマクロ等に供給するものであり、シフトレジスタ12と、設定検出回路14と、出力制御回路16とによって構成されている。   FIG. 1 is a circuit conceptual diagram of an embodiment showing a configuration of a test circuit of a semiconductor integrated circuit according to the present invention. A test circuit 10 shown in FIG. 1 is mounted on a semiconductor integrated circuit, and converts test serial data DIN input from the outside of the semiconductor integrated circuit into parallel data D [n: 0] at the time of testing. And includes a shift register 12, a setting detection circuit 14, and an output control circuit 16.

シフトレジスタ12は、テスト用のデータを設定するためのデータ設定用FFとして、n+1個のFFを直列に接続して構成されている。シフトレジスタ12の全てのFFのリセット端子およびクロック端子には、それぞれ、リセット信号RESETおよびクロック信号CLKが入力され、初段のFFのデータ入力端子DにはシリアルデータDINが入力される。各FFのデータ出力端子Qから出力される出力信号は、順次次段のFFのデータ入力端子Dに入力されるとともに、設定検出回路14および出力制御回路16に入力される。   The shift register 12 is configured by connecting n + 1 FFs in series as data setting FFs for setting test data. The reset signal RESET and the clock signal CLK are input to the reset terminals and clock terminals of all the FFs of the shift register 12, respectively, and the serial data DIN is input to the data input terminal D of the first stage FF. The output signal output from the data output terminal Q of each FF is sequentially input to the data input terminal D of the next-stage FF and also input to the setting detection circuit 14 and the output control circuit 16.

設定検出回路14は、シフトレジスタ12のFFの出力信号に基づいて、あらかじめ決定された所定パターンのシリアルデータが、シフトレジスタ12の、あらかじめ決定された少なくとも1つのFFに設定されたことを検出すると、シフトレジスタ12へのテスト用のシリアルデータの書き込みが完了したものと認識し、アクティブ状態であるハイレベルの出力制御信号を出力する。出力制御信号は、従来のシフト信号SHIFTに相当するものであり、出力制御回路16に入力される。   When the setting detection circuit 14 detects that the predetermined serial data of the predetermined pattern is set in at least one predetermined FF of the shift register 12 based on the output signal of the FF of the shift register 12. Then, it recognizes that the writing of the test serial data to the shift register 12 is completed, and outputs a high-level output control signal in an active state. The output control signal corresponds to a conventional shift signal SHIFT and is input to the output control circuit 16.

出力制御回路16は、設定検出回路14の出力信号である出力制御信号を用いて、テスト対象のマクロ等への、シフトレジスタ12のFFの出力信号の出力制御を行うものであり、シフトレジスタ12の各FFに対応するn+1個のANDゲートによって構成されている。各ANDゲートの一方の入力端子には、各々対応するFFの出力信号が入力され、他方の入力端子には出力制御信号が入力されている。各ANDゲートからは、テスト用のパラレルデータD[n:0]が出力される。   The output control circuit 16 performs output control of the output signal of the FF of the shift register 12 to the test target macro or the like using the output control signal that is the output signal of the setting detection circuit 14. N + 1 AND gates corresponding to each FF. An output signal of the corresponding FF is input to one input terminal of each AND gate, and an output control signal is input to the other input terminal. Each AND gate outputs test parallel data D [n: 0].

次に、テスト回路10を用いて、テスト対象のマクロ等をテストする場合の動作を説明する。   Next, an operation when testing a test target macro or the like using the test circuit 10 will be described.

テスト時には、半導体集積回路の外部、例えば半導体テスタ等から、テストパターンとして、リセット信号RESET、クロック信号CLKおよびシリアルデータDINが、半導体集積回路のリセット端子、クロック端子およびシリアルデータ端子の外部接続ピンを介してテスト回路10に入力される。   During the test, the reset signal RESET, the clock signal CLK, and the serial data DIN are provided as test patterns from the outside of the semiconductor integrated circuit, such as a semiconductor tester, and the external connection pins of the reset terminal, the clock terminal, and the serial data terminal of the semiconductor integrated circuit. To the test circuit 10.

まず、リセット信号RESETとしてローレベルを入力すると、シフトレジスタ12の全てのFFの出力信号がローレベルに初期化される。これにより、設定検出回路14から出力される出力制御信号および出力制御回路16から出力されるパラレルデータD[n:0]もローレベルに初期化される。これ以後、n+1個のシリアルデータをシフトレジスタ12に順次シフトして保持し、クロック信号CLKを停止するまでの動作は、従来のテスト回路44の場合と同様である。   First, when a low level is input as the reset signal RESET, the output signals of all the FFs of the shift register 12 are initialized to a low level. As a result, the output control signal output from the setting detection circuit 14 and the parallel data D [n: 0] output from the output control circuit 16 are also initialized to a low level. Thereafter, the operations until the n + 1 serial data are sequentially shifted and held in the shift register 12 and the clock signal CLK is stopped are the same as those of the conventional test circuit 44.

設定検出回路14は、あらかじめ決定された所定パターンのシリアルデータが、あらかじめ決定された少なくとも1つのFFに設定されたことを検出すると、アクティブ状態であるハイレベルの出力制御信号を出力する。これ以後、出力制御回路16からテスト用のパラレルデータD[n:0]が出力されるまでの動作は、従来のテスト回路44の場合と同様である。   When the setting detection circuit 14 detects that serial data of a predetermined pattern determined in advance is set in at least one predetermined FF, the setting detection circuit 14 outputs a high-level output control signal in an active state. Thereafter, the operation until the test parallel data D [n: 0] is output from the output control circuit 16 is the same as that of the conventional test circuit 44.

また、テスト対象のマクロ等に次のテスト用のパラレルデータD[n:0]を入力する場合には、上記の動作を最初から繰り返し行う。   Further, when the next test parallel data D [n: 0] is input to the test target macro or the like, the above operation is repeated from the beginning.

テスト回路10は、シフトレジスタ12のFFの出力信号に基づいて、シフトレジスタ12にシリアルデータの書き込みが完了したことを検出し、シフトレジスタ12の出力信号をテスト用のパラレルデータD[n:0]として出力する。そのため、従来のテスト回路44のように、シフト信号SHIFTを半導体集積回路の外部から入力するための外部接続ピンは不要であり、テスト時に必要な外部接続ピンを削減することができる。   The test circuit 10 detects that the writing of serial data to the shift register 12 is completed based on the output signal of the FF of the shift register 12, and uses the output signal of the shift register 12 as parallel data D [n: 0 for testing. ] Is output. Therefore, unlike the conventional test circuit 44, there is no need for an external connection pin for inputting the shift signal SHIFT from the outside of the semiconductor integrated circuit, and the number of external connection pins required for testing can be reduced.

なお、設定検出回路14は、上記機能を実現するものであれば、その具体的な回路構成は何ら限定されない。例えば、設定検出回路14が検出に使用するFFは、シフトレジスタ12の最終段のFFでもよいし、最終段のFFを含む2以上のFFであってもよい。またテスト用のデータを設定するためのデータ設定用フリップフロップに加えて、データ設定用フリップフロップの後段に直列に接続される、1以上のテスト用のフリップフロップを追加して、シフトレジスタ12を構成することも可能である。そして、所定のパターンがテスト用のフリップフロップに設定されたことを検出して、データ設定用フリップフロップからのデータ出力を制御する構成としてもよい。   Note that the specific circuit configuration of the setting detection circuit 14 is not limited as long as the setting detection circuit 14 realizes the above function. For example, the FF used for detection by the setting detection circuit 14 may be the last stage FF of the shift register 12 or may be two or more FFs including the last stage FF. In addition to the data setting flip-flop for setting the test data, one or more test flip-flops connected in series at the subsequent stage of the data setting flip-flop are added, and the shift register 12 is It is also possible to configure. Then, it may be configured that the data output from the data setting flip-flop is controlled by detecting that the predetermined pattern is set in the test flip-flop.

また、出力制御信号のアクティブ状態をローレベルとしてもよい。さらに、出力制御回路16は、ANDゲートに限定されず、各種のゲート回路、MUX、FF等を使用することもできる。   Further, the active state of the output control signal may be set to a low level. Furthermore, the output control circuit 16 is not limited to an AND gate, and various gate circuits, MUX, FF, and the like can be used.

以下、本発明のテスト回路の具体例を挙げて説明を続ける。   Hereinafter, the description will be continued with specific examples of the test circuit of the present invention.

図2は、本発明のテスト回路の構成を表す第1の具体例の回路図である。同図に示すテスト回路18は、図1に示すテスト回路10において、設定検出回路14を、シフトレジスタ12の最終段のFFの出力信号を出力制御信号として出力する配線によって構成したものである。   FIG. 2 is a circuit diagram of a first specific example showing the configuration of the test circuit of the present invention. The test circuit 18 shown in the figure is configured by configuring the setting detection circuit 14 in the test circuit 10 shown in FIG. 1 with wiring that outputs the output signal of the last stage FF of the shift register 12 as an output control signal.

つまり、テスト回路18の設定検出回路14は、ハイレベルが、シフトレジスタ12の最終段のFFに設定されたことを検出すると、アクティブ状態であるハイレベルの出力制御信号を出力する。   That is, when the setting detection circuit 14 of the test circuit 18 detects that the high level is set in the FF at the final stage of the shift register 12, the setting detection circuit 14 outputs a high-level output control signal in an active state.

テスト回路18では、図3のタイミングチャートに示すように、リセット解除後の最初のシリアルデータDIN(=D[0])としてハイレベル(=‘1’)が入力され、続いてD[1:n]に対応するシリアルデータDINが順次入力される。つまり、リセット解除後に、n+1個のシリアルデータDINをシフトすることにより、シフトレジスタ12へのシリアルデータDINの書き込みが完了する。   In the test circuit 18, as shown in the timing chart of FIG. 3, a high level (= '1') is input as the first serial data DIN (= D [0]) after reset release, and then D [1: n] corresponding to serial data DIN is sequentially input. That is, after the reset is released, the n + 1 serial data DIN is shifted to complete the writing of the serial data DIN to the shift register 12.

なお、シリアルデータDINは、リセット信号RESETが解除されてハイレベルとなるまではドントケアである。また、パラレルデータD[n:0]は、リセット信号RESETがローレベルになるまでは不定である。これ以後のタイミングチャートにおいても同様である。   The serial data DIN is don't care until the reset signal RESET is released and becomes high level. The parallel data D [n: 0] is undefined until the reset signal RESET becomes low level. The same applies to the subsequent timing charts.

シフトレジスタ12の最終段のFFの出力信号、つまり、出力制御信号がアクティブ状態のハイレベルになると、出力制御回路16の各ANDゲートから、シフトレジスタ12の各FFの出力信号がテスト用のパラレルデータD[n:0]として出力される。   When the output signal of the FF in the final stage of the shift register 12, that is, the output control signal becomes active high level, the output signal of each FF of the shift register 12 is output from each AND gate of the output control circuit 16 to the test parallel. Data D [n: 0] is output.

前述のように、テスト回路18では、テスト時に、リセット解除後の最初のシリアルデータDINとしてハイレベルを入力する必要があり、そのためパラレルデータD[n:0]のうちのデータD[0]がハイレベルに固定される。従って、テスト回路18は、テスト対象のマクロ等へのテスト用のパラレルデータD[n:0]として、データD[0]がハイレベル固定でよい場合に適している。   As described above, in the test circuit 18, it is necessary to input a high level as the first serial data DIN after reset release at the time of the test. Therefore, the data D [0] of the parallel data D [n: 0] Fixed to high level. Therefore, the test circuit 18 is suitable when the data D [0] may be fixed at a high level as the test parallel data D [n: 0] for the test target macro or the like.

テスト回路18は、上記のような制約はあるが、設定検出回路14を配線のみで構成することができるため、回路規模の増大は全くない。   Although the test circuit 18 is limited as described above, since the setting detection circuit 14 can be configured only by wiring, there is no increase in the circuit scale.

なお、テスト回路18において、設定検出回路14は、ローレベルが、最終段のFFに設定されたことを検出すると、アクティブ状態の出力制御信号を出力するようにしてもよい。この場合、出力制御回路16の構成を適宜変更する必要がある。   In the test circuit 18, the setting detection circuit 14 may output an output control signal in an active state when detecting that the low level is set in the final stage FF. In this case, the configuration of the output control circuit 16 needs to be changed as appropriate.

また、テスト回路18では、テスト時に、リセット解除後の最初のシリアルデータDINとしてハイレベルを入力し、最終段のFFにはハイレベルが設定される。そのため、図12に示すように、シフトレジスタ12へのシリアルデータの書き込みが完了した後、最終段のFFの出力信号(ハイレベル)を用いてクロック信号CLKとのOR論理をとることにより、クロック信号CLKの入力を停止することなく、シフトレジスタ12へのクロック信号CLKの入力を停止させることもできる。   The test circuit 18 inputs a high level as the first serial data DIN after reset release at the time of the test, and sets the high level to the final stage FF. Therefore, as shown in FIG. 12, after writing serial data to the shift register 12, the clock signal CLK is ORed with the output signal (high level) of the FF at the final stage to obtain the clock. The input of the clock signal CLK to the shift register 12 can be stopped without stopping the input of the signal CLK.

次に、図4は、本発明のテスト回路の構成を表す第2の具体例の回路図である。同図に示すテスト回路20は、図1に示すテスト回路10において、設定検出回路14を、ANDゲート22で構成したものである。テスト回路20の設定検出回路14のANDゲート22には、シフトレジスタ12の初段のFFの出力信号と最終段のFFの出力信号が入力され、ANDゲート22の出力信号が出力制御信号として出力される。   Next, FIG. 4 is a circuit diagram of a second specific example showing the configuration of the test circuit of the present invention. The test circuit 20 shown in FIG. 1 is obtained by configuring the setting detection circuit 14 with an AND gate 22 in the test circuit 10 shown in FIG. The output signal of the first stage FF and the output signal of the last stage FF of the shift register 12 are input to the AND gate 22 of the setting detection circuit 14 of the test circuit 20, and the output signal of the AND gate 22 is output as an output control signal. The

つまり、テスト回路20の設定検出回路14のANDゲート22は、ハイレベルが、初段のFFおよび最終段のFFの両方に設定されたことを検出すると、アクティブ状態であるハイレベルの出力制御信号を出力する。   That is, when the AND gate 22 of the setting detection circuit 14 of the test circuit 20 detects that the high level is set to both the first-stage FF and the final-stage FF, the AND-level output control signal in the active state is output. Output.

テスト回路20では、図5のタイミングチャートに示すように、リセット解除後の最初のシリアルデータDIN(=D[0])としてハイレベルが入力され、続いてD[1:n−1]に対応するシリアルデータDINが順次入力され、最後のシリアルデータDIN(=D[n])としてハイレベルが入力される。つまり、リセット解除後に、n+1個のシリアルデータDINをシフトすることにより、シフトレジスタ12へのシリアルデータDINの書き込みが完了する。   In the test circuit 20, as shown in the timing chart of FIG. 5, a high level is input as the first serial data DIN (= D [0]) after the reset is released, and subsequently corresponds to D [1: n−1]. Serial data DIN to be input is sequentially input, and a high level is input as the last serial data DIN (= D [n]). That is, after the reset is released, the n + 1 serial data DIN is shifted to complete the writing of the serial data DIN to the shift register 12.

シフトレジスタ12の初段のFFの出力信号および最終段のFFの出力信号がハイレベルになると、設定検出回路14のANDゲート22の出力信号、つまり、出力制御信号がアクティブ状態であるハイレベルとなり、出力制御回路16の各ANDゲートから、シフトレジスタ12の各FFの出力信号がテスト用のパラレルデータD[n:0]として出力される。   When the output signal of the first stage FF and the output signal of the last stage FF of the shift register 12 become high level, the output signal of the AND gate 22 of the setting detection circuit 14, that is, the output control signal becomes high level, which is in an active state, From each AND gate of the output control circuit 16, an output signal of each FF of the shift register 12 is output as test parallel data D [n: 0].

上記のように、テスト回路20では、テスト時に、リセット解除後の最初および最後のシリアルデータDINとしてハイレベルを入力する必要があり、そのためパラレルデータD[n:0]のうちのデータD[0]およびデータD[n]がハイレベルに固定される。従って、テスト回路20は、これらのデータD[0]およびD[n]がハイレベル固定でよい場合に適している。しかし、最終段のフリップフロップに所定のデータが設定されたことのみによってテスト用のパラレルデータを出力するテスト回路18に比較して、2つのフリップフロップの両方に所定のデータが設定されたときにテスト用のパラレルデータを出力することにより、ノイズによって誤ったテスト用データが出力されテスト開始となることを防止する。   As described above, in the test circuit 20, it is necessary to input a high level as the first and last serial data DIN after reset release at the time of the test. Therefore, the data D [0 of the parallel data D [n: 0] is required. ] And data D [n] are fixed at a high level. Therefore, the test circuit 20 is suitable when the data D [0] and D [n] may be fixed at a high level. However, when predetermined data is set in both of the two flip-flops as compared with the test circuit 18 that outputs test parallel data only by setting predetermined data in the final flip-flop. By outputting test parallel data, it is possible to prevent erroneous test data from being output due to noise and starting a test.

テスト回路20は、上記のような制約はあるが、設定検出回路14をANDゲート22のみで構成することができるため、回路規模の増大はほとんどない。   Although the test circuit 20 is limited as described above, since the setting detection circuit 14 can be configured by only the AND gate 22, the circuit scale is hardly increased.

なお、テスト回路20において、設定検出回路14は、所定のパターンが、少なくとも2つのFFに設定されたことを検出するようにしているが、この少なくとも2つのフリップフロップが、初段と最終段のフリップフロップを含むことは必須ではない。   In the test circuit 20, the setting detection circuit 14 detects that a predetermined pattern is set in at least two FFs. The at least two flip-flops are the first-stage and final-stage flip-flops. It is not essential to include

次に、図6は、本発明のテスト回路の構成を表す第3の具体例の回路図である。同図に示すテスト回路24は、図1に示すテスト回路10において、シフトレジスタ12を構成するデータ設定用フリップフロップの後段にテスト用のフリップフロップ26を追加して接続し、設定検出回路14を、テスト用のFF26の出力信号を出力制御信号として出力する配線によって構成したものである。   Next, FIG. 6 is a circuit diagram of a third specific example showing the configuration of the test circuit of the present invention. The test circuit 24 shown in FIG. 1 is connected to the test circuit 10 shown in FIG. 1 by adding a test flip-flop 26 after the data setting flip-flop constituting the shift register 12 and connecting the setting detection circuit 14. The wiring is configured to output the output signal of the test FF 26 as an output control signal.

つまり、テスト回路24の設定検出回路14は、ハイレベルが、テスト用のFF26に設定されたことを検出すると、アクティブ状態であるハイレベルの出力制御信号を出力する。   That is, when the setting detection circuit 14 of the test circuit 24 detects that the high level is set in the test FF 26, the setting detection circuit 14 outputs a high-level output control signal in an active state.

テスト回路24では、図7のタイミングチャートに示すように、リセット解除後の最初のシリアルデータDIN(=テスト用のFF26のシリアルデータ)としてハイレベルが入力され、続いてD[n:0]に対応するシリアルデータDINが順次入力される。つまり、リセット解除後に、n+2個のシリアルデータDINをシフトすることにより、シフトレジスタ12へのシリアルデータDINの書き込みが完了する。   In the test circuit 24, as shown in the timing chart of FIG. 7, the high level is input as the first serial data DIN after the reset is released (= the serial data of the test FF 26), and subsequently to D [n: 0]. Corresponding serial data DIN is sequentially input. That is, by shifting n + 2 pieces of serial data DIN after reset release, writing of the serial data DIN to the shift register 12 is completed.

テスト用のFF26の出力信号、つまり、出力制御信号がアクティブ状態であるハイレベルになると、出力制御回路16の各ANDゲートから、シフトレジスタ12の各FFの出力信号がテスト用のパラレルデータD[n:0]として出力される。   When the output signal of the test FF 26, that is, the output control signal becomes the active high level, the output signal of each FF of the shift register 12 is output from each AND gate of the output control circuit 16 to the test parallel data D [ n: 0].

上記のように、テスト回路24では、テスト時に、リセット解除後の最初のシリアルデータDINとしてハイレベルを入力し、かつ、従来よりも1つだけ多い、n+2個のシリアルデータを入力する必要がある。   As described above, in the test circuit 24, it is necessary to input a high level as the first serial data DIN after the reset is released and to input n + 2 serial data, which is one more than in the past, at the time of the test. .

テスト回路24は、シリアルデータの入力数が増加するが、シフトレジスタ12の後段に1個のテスト用のFF26を追加するのみで構成することができるため、回路規模の増大はほとんどない。また、テスト回路24は、図2のテスト回路18や図4のテスト回路20のように、パラレルデータD[n:0]のうちの所定ビットのデータが所定値に固定されるということがなく、任意のテスト対象のマクロ等に適用することができる。   Although the number of serial data inputs increases, the test circuit 24 can be configured only by adding one test FF 26 to the subsequent stage of the shift register 12, so that the circuit scale hardly increases. Further, unlike the test circuit 18 in FIG. 2 and the test circuit 20 in FIG. 4, the test circuit 24 does not fix the data of a predetermined bit of the parallel data D [n: 0] to a predetermined value. It can be applied to any test target macro.

なお、テスト回路24の設定検出回路14は、ローレベルが、テスト用のFF26に設定されたことを検出すると、アクティブ状態の出力制御信号を出力するようにしてもよい。   Note that the setting detection circuit 14 of the test circuit 24 may output an output control signal in the active state when detecting that the low level is set in the test FF 26.

また、テスト用のFF26の出力信号、つまり、出力制御信号は、パラレルデータD[n:0]用のFFの出力信号よりも配線長が長く、その変化タイミングは、通常、他のFFの出力信号よりも遅くなると考えられる。従って、テスト用のFF26の出力信号を出力制御信号として出力制御回路16のANDゲートに直接入力しても、出力制御回路16の各ANDゲートの出力信号にグリッチが発生することはない。   Further, the output signal of the test FF 26, that is, the output control signal has a wiring length longer than that of the FF output signal for the parallel data D [n: 0], and the change timing is usually the output of the other FF. It will be slower than the signal. Therefore, even if the output signal of the test FF 26 is directly input to the AND gate of the output control circuit 16 as an output control signal, no glitch is generated in the output signal of each AND gate of the output control circuit 16.

ただし、図8のテスト回路28に示すように、設定検出回路14において、出力制御信号、つまり、テスト用のFF26の出力信号を遅延する遅延回路30を備え、遅延回路30によって遅延された出力制御信号を出力制御回路16のANDゲートに入力することが望ましい。これにより、出力制御信号の変化タイミングを他のFFの出力信号よりも確実に遅くすることができ、出力制御回路16の各ANDゲートの出力信号にグリッチが発生することを確実に防止できる。   However, as shown in the test circuit 28 of FIG. 8, the setting detection circuit 14 includes a delay circuit 30 that delays the output control signal, that is, the output signal of the test FF 26, and the output control delayed by the delay circuit 30. It is desirable to input the signal to the AND gate of the output control circuit 16. Thereby, the change timing of the output control signal can be surely delayed as compared with the output signals of the other FFs, and the occurrence of glitches in the output signals of the AND gates of the output control circuit 16 can be reliably prevented.

また、図9のテスト回路32に示すように、出力制御信号が非アクティブ状態であるローレベルのときに、テスト対象のマクロ等の入力信号として要求される論理レベルに応じて、出力制御信号がローレベルのときの出力制御回路16の出力信号、つまり、パラレルデータD[n:0]をオール0とするか、オール1とするかを選択できるように、その両方の出力信号を出力することができるように構成することが望ましい。   Further, as shown in the test circuit 32 of FIG. 9, when the output control signal is in the inactive state of low level, the output control signal is changed according to the logic level required as the input signal of the test target macro or the like. Output both output signals so that the output signal of the output control circuit 16 at the low level, that is, the parallel data D [n: 0] can be selected as all 0 or all 1 can be selected. It is desirable to configure so that

図9に示す出力制御回路16は、シフトレジスタ12の各FFに対応するANDゲートおよびNANDゲートを備えている。各ANDゲートの構成は、図6に示すテスト回路24の場合と同じである。また、各NANDゲートの一方の反転入力端子には、各々対応するFFの反転データ出力端子QBからの出力信号(反転出力信号)が入力され、他方の入力端子には、テスト用のFF26の出力信号、つまり、出力制御信号が入力される。   The output control circuit 16 shown in FIG. 9 includes an AND gate and a NAND gate corresponding to each FF of the shift register 12. The configuration of each AND gate is the same as that of the test circuit 24 shown in FIG. Further, an output signal (inverted output signal) from the inverted data output terminal QB of the corresponding FF is input to one inverting input terminal of each NAND gate, and the output of the test FF 26 is input to the other input terminal. A signal, that is, an output control signal is input.

図9に示す出力制御回路16では、出力制御信号がローレベルのとき、各ANDゲートから出力されるテスト用のパラレルデータD[n:0]はオール0となり、各NANDゲートから出力されるテスト用のパラレルデータDB[n:0]はオール1となる。一方、出力制御信号がハイレベルになると、パラレルデータD[n:0]およびDB[n:0]として、ともにシフトレジスタ12の複数のFFの出力信号が出力される。   In the output control circuit 16 shown in FIG. 9, when the output control signal is at a low level, the test parallel data D [n: 0] output from each AND gate is all 0, and the test output from each NAND gate. The parallel data DB [n: 0] for use is all ones. On the other hand, when the output control signal becomes high level, the output signals of the plurality of FFs of the shift register 12 are output as parallel data D [n: 0] and DB [n: 0].

半導体集積回路の設計者は、図9に示すテスト回路32を用いることにより、出力制御信号が非アクティブ状態のときにテスト対象のマクロ等に入力される信号の論理レベルを適宜選択することができる。   By using the test circuit 32 shown in FIG. 9, a semiconductor integrated circuit designer can appropriately select a logic level of a signal input to a test target macro or the like when the output control signal is in an inactive state. .

次に、図10は、本発明のテスト回路の構成を表す第4の具体例の回路図である。同図に示すテスト回路34は、図1に示すテスト回路10において、シフトレジスタ12の初段のFFの前段、シフトレジスタ12のi段目のFFとi+1段目のFFの間(1≦i≦n−1)、および、最終段のFFの後段に各々テスト用のFF(同図中、四角点線で示す)36,38,40を接続し、設定検出回路14を、ANDゲート42で構成したものである。テスト回路34の設定検出回路14のANDゲート42には、テスト用の3つのFF36,38,40の出力信号が入力され、ANDゲート42の出力信号が出力制御信号として出力される。   Next, FIG. 10 is a circuit diagram of a fourth specific example showing the configuration of the test circuit of the present invention. The test circuit 34 shown in the figure is the same as the test circuit 10 shown in FIG. 1 except that the first stage FF of the shift register 12 is located between the i-th stage FF and the i + 1-th stage FF (1 ≦ i ≦ 1). n-1) and test FFs (indicated by square dotted lines in the figure) 36, 38, and 40 are connected to the subsequent stage of the final stage FF, and the setting detection circuit 14 is configured by an AND gate 42. Is. The output signals of the three test FFs 36, 38, and 40 are input to the AND gate 42 of the setting detection circuit 14 of the test circuit 34, and the output signal of the AND gate 42 is output as an output control signal.

つまり、テスト回路34の設定検出回路14のANDゲート42は、ハイレベルが、テスト用の3つのFF36,38,40に設定されたことを検出すると、アクティブ状態であるハイレベルの出力制御信号を出力する。   That is, when the AND gate 42 of the setting detection circuit 14 of the test circuit 34 detects that the high level is set to the three test FFs 36, 38, and 40, the high level output control signal in the active state is output. Output.

テスト回路34では、図11のタイミングチャートに示すように、リセット解除後の最初のシリアルデータDIN(=テスト用のFF40のシリアルデータ)としてハイレベルが入力され、続いてD[n−i:0]に対応するシリアルデータDINが順次入力され、n−i+2番目のシリアルデータDIN(=テスト用のFF38のシリアルデータ)としてハイレベルが入力され、さらに続いてD[n:n−i+1]に対応するシリアルデータDINが順次入力され、最後のシリアルデータDIN(=テスト用のFF36のシリアルデータ)としてハイレベルが入力される。つまり、リセット解除後に、n+4個のシリアルデータをシフトすることにより、シフトレジスタ12へのシリアルデータの書き込みが完了する。   In the test circuit 34, as shown in the timing chart of FIG. 11, a high level is input as the first serial data DIN (= test serial data of the test FF 40) after reset release, and then D [n−i: 0. ] Is sequentially input, and a high level is input as n−i + 2nd serial data DIN (= serial data of FF 38 for test), and subsequently corresponds to D [n: n−i + 1]. Serial data DIN to be input is sequentially input, and high level is input as the last serial data DIN (= serial data of the test FF 36). That is, after n + 4 pieces of serial data are shifted after reset is released, writing of serial data to the shift register 12 is completed.

シフトレジスタ12のテスト用の3つのFF36,38,40の出力信号がハイレベルになると、設定検出回路14のANDゲート42の出力信号、つまり、出力制御信号がアクティブ状態のハイレベルとなり、出力制御回路16の各ANDゲートから、シフトレジスタ12の各FFの出力信号がテスト用のパラレルデータD[n:0]として出力される。   When the output signals of the three FFs 36, 38, 40 for testing of the shift register 12 become high level, the output signal of the AND gate 42 of the setting detection circuit 14, that is, the output control signal becomes active high level, and output control is performed. The output signal of each FF of the shift register 12 is output from each AND gate of the circuit 16 as test parallel data D [n: 0].

上記のように、テスト回路34では、テスト時に、リセット解除後の最初、n−i+2番目および最後のシリアルデータDINとしてハイレベルを入力し、かつ、従来よりも3つだけ多い、n+4個のシリアルデータを入力する必要がある。しかし、最終段のテスト用フリップフロップに所定のデータが設定されたことのみによってテスト用のパラレルデータを出力するテスト回路24に比較して、データ設定用フリップフロップの前後、ならびに中間位置に配置したテスト用フリップフロップに所定のデータが設定されたときに、テスト用のパラレルデータを出力することにより、ノイズによって誤ったテスト用データが出力されテスト開始となることを防止する。   As described above, in the test circuit 34, at the time of the test, the high level is inputted as the first, n−i + 2nd and last serial data DIN after the reset release, and n + 4 serials which are three more than the conventional ones. You need to enter data. However, compared to the test circuit 24 that outputs test parallel data only when predetermined data is set in the final-stage test flip-flop, it is arranged before and after the data setting flip-flop and in an intermediate position. When predetermined data is set in the test flip-flop, the test parallel data is output, thereby preventing erroneous test data from being output due to noise and starting the test.

テスト回路34は、シリアルデータの入力数は増えるが、シフトレジスタ12に3個のFF36,38,40を追加し、設定検出回路14として1つのANDゲート42のみで構成することができるため、回路規模の増大はほとんどない。   Although the test circuit 34 increases the number of serial data inputs, it can be configured by adding only three FFs 36, 38, and 40 to the shift register 12 and forming only one AND gate 42 as the setting detection circuit 14. There is almost no increase in scale.

なお、テスト回路34のシフトレジスタ12は、初段のFFの前段、初段のFFから最終段のFFまでのFFの間、および、最終段のFFの後段のうちの少なくとも2箇所に、シフトレジスタの他のFFに対して直列に接続された少なくとも2つのテスト用のFFを備えていればよい。この場合、設定検出回路14は、所定パターンのシリアルデータが、少なくとも2つのテスト用のFFに設定されたことを検出すると、アクティブ状態の前記出力制御信号を出力するようにすればよい。また、テスト用のFFの個数、配置位置に制限はない。   Note that the shift register 12 of the test circuit 34 includes shift register 12 at least in two stages, the first stage FF, the first stage FF to the last stage FF, and the last stage FF. It suffices to have at least two test FFs connected in series to other FFs. In this case, the setting detection circuit 14 may output the output control signal in the active state when detecting that the serial data of the predetermined pattern is set in at least two test FFs. There are no restrictions on the number of test FFs and the arrangement position.

本発明は、基本的に以上のようなものである。
以上、本発明について詳細に説明したが、本発明は上記実施形態に限定されず、本発明の主旨を逸脱しない範囲において、種々の改良や変更をしてもよいのはもちろんである。
The present invention is basically as described above.
Although the present invention has been described in detail above, the present invention is not limited to the above-described embodiment, and it is needless to say that various improvements and modifications may be made without departing from the gist of the present invention.

10,18,20,24,28,32,34 テスト回路
12 シフトレジスタ
14 設定検出回路
16 出力制御回路
22,42 ANDゲート
26,36,38,40 FF
30 遅延回路
10, 18, 20, 24, 28, 32, 34 Test circuit 12 Shift register 14 Setting detection circuit 16 Output control circuit 22, 42 AND gate 26, 36, 38, 40 FF
30 delay circuit

Claims (3)

データ設定用フリップフロップを含む複数のフリップフロップを直列に接続して構成され、クロック信号が入力される毎に、テスト対象をテストするためのテスト用のシリアルデータを順次シフトするシフトレジスタと、あらかじめ決定された所定パターンのシリアルデータが、前記シフトレジスタの、あらかじめ決定された少なくとも1つのフリップフロップに設定されたことを検出すると、アクティブ状態の出力制御信号を出力する設定検出回路と、該設定検出回路から入力された出力制御信号を用いて、前記シフトレジスタの複数のデータ設定用フリップフロップから出力されるパラレルデータの前記テスト対象への出力制御を行う出力制御回路とを備え
前記設定検出回路は、前記所定パターンのシリアルデータが、前記シフトレジスタの最終段のデータ設定用フリップフロップに設定されたことを検出すると、前記アクティブ状態の出力制御信号を出力することを特徴とする半導体集積回路のテスト回路。
A plurality of flip-flops including data setting flip-flops connected in series, and each time a clock signal is input, a shift register that sequentially shifts test serial data for testing a test object; and A setting detection circuit that outputs an output control signal in an active state upon detecting that the determined serial data of a predetermined pattern is set in at least one flip-flop of the shift register, and the setting detection An output control circuit that performs output control of the parallel data output from the plurality of data setting flip-flops of the shift register to the test target, using an output control signal input from the circuit ;
The setting detection circuit outputs the output control signal in the active state when detecting that the serial data of the predetermined pattern is set in the data setting flip-flop in the final stage of the shift register. Test circuit for semiconductor integrated circuits.
データ設定用フリップフロップを含む複数のフリップフロップを直列に接続して構成され、クロック信号が入力される毎に、テスト対象をテストするためのテスト用のシリアルデータを順次シフトするシフトレジスタと、あらかじめ決定された所定パターンのシリアルデータが、前記シフトレジスタの、あらかじめ決定された少なくとも1つのフリップフロップに設定されたことを検出すると、アクティブ状態の出力制御信号を出力する設定検出回路と、該設定検出回路から入力された出力制御信号を用いて、前記シフトレジスタの複数のデータ設定用フリップフロップから出力されるパラレルデータの前記テスト対象への出力制御を行う出力制御回路とを備え、
前記シフトレジスタは、さらに、前記複数のフリップフロップの最終段のデータ設定用フリップフロップの後段に接続されたテスト用のフリップフロップを備え、
前記設定検出回路は、前記所定パターンのシリアルデータが、前記テスト用のフリップフロップに設定されたことを検出すると、前記アクティブ状態の出力制御信号を出力することを特徴とする半導体集積回路のテスト回路。
A plurality of flip-flops including data setting flip-flops connected in series, and each time a clock signal is input, a shift register that sequentially shifts test serial data for testing a test object; and A setting detection circuit that outputs an output control signal in an active state upon detecting that the determined serial data of a predetermined pattern is set in at least one flip-flop of the shift register, and the setting detection An output control circuit that performs output control of the parallel data output from the plurality of data setting flip-flops of the shift register to the test target, using an output control signal input from the circuit;
The shift register further includes a test flip-flop connected to a subsequent stage of the data setting flip-flop of the final stage of the plurality of flip-flops,
Said setting detection circuit, the serial data of said predetermined pattern, detects that it is set in the flip-flop for the test, you and outputs an output control signal of the active state of the semi-conductor integrated circuit Test circuit.
前記設定検出回路は、前記出力制御信号を遅延する遅延回路を備え、前記出力制御回路は、前記遅延回路によって遅延された出力制御信号を用いて、前記シフトレジスタの複数のデータ設定用フリップフロップの出力信号の出力制御を行うことを特徴とする請求項記載の半導体集積回路のテスト回路。 The setting detection circuit includes a delay circuit that delays the output control signal, and the output control circuit uses a plurality of data setting flip-flops of the shift register by using the output control signal delayed by the delay circuit. 3. The semiconductor integrated circuit test circuit according to claim 2 , wherein output control of the output signal is performed .
JP2010091250A 2010-04-12 2010-04-12 Test circuit for semiconductor integrated circuit Expired - Fee Related JP5442522B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010091250A JP5442522B2 (en) 2010-04-12 2010-04-12 Test circuit for semiconductor integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010091250A JP5442522B2 (en) 2010-04-12 2010-04-12 Test circuit for semiconductor integrated circuit

Publications (2)

Publication Number Publication Date
JP2011220881A JP2011220881A (en) 2011-11-04
JP5442522B2 true JP5442522B2 (en) 2014-03-12

Family

ID=45038047

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010091250A Expired - Fee Related JP5442522B2 (en) 2010-04-12 2010-04-12 Test circuit for semiconductor integrated circuit

Country Status (1)

Country Link
JP (1) JP5442522B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5935367B2 (en) * 2012-02-09 2016-06-15 セイコーエプソン株式会社 Semiconductor integrated circuit device and electronic apparatus using the same

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH056669Y2 (en) * 1985-09-24 1993-02-19
JPS63148179A (en) * 1986-12-10 1988-06-21 Nec Corp Scan-path circuit
JPH01265174A (en) * 1988-04-18 1989-10-23 Matsushita Electric Ind Co Ltd Inspecting method for scan path shift register and scan path shift register
JPH04132976A (en) * 1990-09-26 1992-05-07 Yamaha Corp Test mode generating circuit
JPH07159483A (en) * 1993-12-09 1995-06-23 Toshiba Corp Integrated circuit device and its testing method
JP3430231B2 (en) * 1994-09-21 2003-07-28 富士通株式会社 Logic cell and semiconductor integrated circuit using the same
JP4214610B2 (en) * 1999-04-19 2009-01-28 パナソニック株式会社 Test circuit

Also Published As

Publication number Publication date
JP2011220881A (en) 2011-11-04

Similar Documents

Publication Publication Date Title
US10338136B2 (en) Integrated circuit with low power scan system
JP3878236B2 (en) Flip-flop controller
CN110390968B (en) Latch circuit for memory applications
EP1971871B1 (en) Reduced pin count scan chain implementation
JPWO2007119300A1 (en) Reconfigurable device test system and method, and reconfigurable device used therefor
US9964596B2 (en) Integrated circuit with low power scan system
US7890826B2 (en) Method and apparatus for test of asynchronous pipelines
JPS59105571A (en) Digital electronic circuit
US8536918B2 (en) Flip-flop circuit, scan test circuit, and method of controlling scan test circuit
JP2010223672A (en) Scan test circuit
US20100125431A1 (en) Compact test circuit and integrated circuit having the same
US8291363B2 (en) Method of measuring setup time with consideration of characteristic of absorbing clock skew in a pulse-based flip-flop
JP4999632B2 (en) Semiconductor integrated circuit
US20110181331A1 (en) Integrated circuit with leakage reduction in static nets
JP5442522B2 (en) Test circuit for semiconductor integrated circuit
JP4136451B2 (en) BIST circuit
KR20030006543A (en) Semiconductor integrated circuit including circuit for selecting embeded TAP'ed cores
JP3469294B2 (en) Linear feedback shift register and semiconductor integrated circuit device
US7760847B2 (en) Counting circuit and address counter using the same
JP4610919B2 (en) Semiconductor integrated circuit device
JP4703398B2 (en) Semiconductor integrated circuit and test method thereof
US7365574B2 (en) General purpose delay logic
JP3275952B2 (en) Test circuits for digital logic circuits
JP2009181647A (en) Semiconductor memory device
KR20010108796A (en) System-on-chip having shift register chain for test embedded core

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130219

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20130430

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20130605

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20130605

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130802

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130813

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131007

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20131210

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131218

R150 Certificate of patent or registration of utility model

Ref document number: 5442522

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees