JP2013088400A - Method for inspecting semiconductor integrated circuit, and the semiconductor integrated circuit - Google Patents

Method for inspecting semiconductor integrated circuit, and the semiconductor integrated circuit Download PDF

Info

Publication number
JP2013088400A
JP2013088400A JP2011232016A JP2011232016A JP2013088400A JP 2013088400 A JP2013088400 A JP 2013088400A JP 2011232016 A JP2011232016 A JP 2011232016A JP 2011232016 A JP2011232016 A JP 2011232016A JP 2013088400 A JP2013088400 A JP 2013088400A
Authority
JP
Japan
Prior art keywords
clock
scan
semiconductor integrated
integrated circuit
input
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
JP2011232016A
Other languages
Japanese (ja)
Inventor
Hideki Shoyama
英樹 庄山
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2011232016A priority Critical patent/JP2013088400A/en
Publication of JP2013088400A publication Critical patent/JP2013088400A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Testing Or Measuring Of Semiconductors Or The Like (AREA)

Abstract

PROBLEM TO BE SOLVED: To inspect random logic of a semiconductor integrated circuit by dynamically changing an inner clock of the semiconductor integrated circuit while supplying only a clock of a fixed frequency to the clock of the semiconductor integrated circuit.SOLUTION: An inspection method of a semiconductor integrated circuit including a plurality of combination circuits and a plurality of scan flip-flops composing a scan chain for performing scan tests of the plurality of combination circuits includes: an input step for inputting a first clock of a fixed frequency from a clock generation device to the semiconductor integrated circuit; a frequency division step for generating a second clock by dividing the frequency of the first clock by a frequency divider included in the semiconductor integrated circuit; and an inspection step for inspecting the semiconductor integrated circuit while dynamically switching a clock to be inputted to the plurality of scan flip-flops between the first clock and the second clock.

Description

本技術は半導体集積回路の検査方法と半導体集積回路に関し、特に、論理回路と、当該複数の論理回路のスキャンテストを行うスキャンフリップフロップと、を有する半導体集積回路の検査方法および当該半導体集積回路に関する。   The present technology relates to a semiconductor integrated circuit inspection method and a semiconductor integrated circuit, and more particularly to a semiconductor integrated circuit inspection method including a logic circuit and a scan flip-flop that performs a scan test of the plurality of logic circuits, and the semiconductor integrated circuit. .

近年、システムLSI(Large Scale Integration)の回路規模は増大の一途を辿っており、回路規模の増大に伴いシステムLSIのテスト時間も増加している。そこで、テスト時間を短縮するため、DFT(Design For Testability)等の各種工夫がなされている。DFTとは、システムLSIのテストを容易化する設計手法であり、その1つがランダム・ロジックをテスト対象とするスキャンテストである。   In recent years, the circuit scale of a system LSI (Large Scale Integration) has been steadily increasing, and the test time of the system LSI has also increased with the increase in circuit scale. Therefore, various ideas such as DFT (Design For Testability) have been made to shorten the test time. DFT is a design method that facilitates testing of a system LSI, and one of them is a scan test that uses random logic as a test target.

ただし、システムLSIには、複数の動作周波数の異なる複数のクロックドメインを有する場合が多く、スキャンテストでは、LSIの各クロックドメインの動作周波数に合わせた動作周波数でテストを行うことが望ましい。そこで、たとえば特許文献1には、システムLSIのテストを行うテスタに複数のディレイテスト回路を備えさせ、異なる動作周波数のクロックを選択的に入力できるようにする技術が開示されている。   However, the system LSI often has a plurality of clock domains having a plurality of different operating frequencies, and in the scan test, it is desirable to perform a test at an operating frequency that matches the operating frequency of each clock domain of the LSI. Thus, for example, Patent Document 1 discloses a technique in which a tester for testing a system LSI is provided with a plurality of delay test circuits so that clocks having different operating frequencies can be selectively input.

特開2011−89914号公報JP2011-89914A

しかしながら、各種のテスタの中には複数のクロックを切り替えて出力できないものもあり、また、上述した特許文献1に記載されたテスタであっても、特定のスキャンFFに入力するクロックは一定であり、特定のスキャンFFに入力するクロックを動的に変更するものではなかった。   However, some types of testers cannot switch and output a plurality of clocks, and even in the tester described in Patent Document 1 described above, a clock input to a specific scan FF is constant. The clock input to a specific scan FF was not dynamically changed.

本技術は、上記課題に鑑みてなされたもので、半導体集積回路のクロックに一定周波数のクロックのみを供給しつつ半導体集積回路の内部クロックを動的に変化させて半導体集積回路のランダム・ロジックを検査することができる検査方法の提供を目的とする。   The present technology has been made in view of the above-described problems. The random logic of the semiconductor integrated circuit is changed by dynamically changing the internal clock of the semiconductor integrated circuit while supplying only a clock having a constant frequency to the clock of the semiconductor integrated circuit. It aims at providing the inspection method which can be inspected.

上記課題を解決するために、本技術にかかる半導体集積回路の検査方法は、複数の組み合わせ回路と、当該複数の組み合わせ回路のスキャンテストを行うためのスキャンチェーンを構成する複数のスキャンフリップフロップと、を有する半導体集積回路、の検査方法であって、クロック生成装置から前記半導体集積回路に一定周波数の第1クロックを入力する入力工程と、前記半導体集積回路の内蔵する分周器が前記第1クロックを分周して第2クロックを生成する分周工程と、前記複数のスキャンフリップフロップに入力するクロックを、前記第1クロックと前記第2クロックとの間で動的に切り替えつつ前記半導体集積回路を検査する検査工程と、を備える構成としてある。   In order to solve the above problems, a method for inspecting a semiconductor integrated circuit according to the present technology includes a plurality of combinational circuits, a plurality of scan flip-flops constituting a scan chain for performing a scan test of the plurality of combinational circuits, And an input step of inputting a first clock having a constant frequency from a clock generator to the semiconductor integrated circuit, and a frequency divider built in the semiconductor integrated circuit includes the first clock. Frequency dividing step of generating a second clock by dividing the clock and a clock input to the plurality of scan flip-flops while dynamically switching between the first clock and the second clock, the semiconductor integrated circuit And an inspection process for inspecting.

なお、前述した半導体集積回路の検査方法は、他の方法の一環として実施されたり各工程に対応する手段を備える半導体集積回路の検査装置として実現されたり、前述した検査方法によって検査される半導体集積回路として実現されたりする等の各種の態様を含む。また、本技術は前記検査装置と半導体集積回路とを備える検査システム、前述した方法の構成に対応した機能をコンピュータに実現させるプログラム、該プログラムを記録したコンピュータ読み取り可能な記録媒体、等としても実現可能である。   The semiconductor integrated circuit inspection method described above is implemented as part of another method, realized as a semiconductor integrated circuit inspection apparatus having means corresponding to each process, or a semiconductor integrated circuit inspected by the inspection method described above. Various aspects such as being realized as a circuit are included. The present technology can also be realized as an inspection system including the inspection apparatus and a semiconductor integrated circuit, a program that causes a computer to realize functions corresponding to the configuration of the method described above, a computer-readable recording medium that records the program, and the like. Is possible.

本技術によれば、半導体集積回路のクロックに一定周波数のクロックのみを供給しつつ半導体集積回路の内部クロックを動的に変化させて半導体集積回路のランダム・ロジックを検査することができる。   According to the present technology, it is possible to inspect the random logic of the semiconductor integrated circuit by dynamically changing the internal clock of the semiconductor integrated circuit while supplying only the clock of the constant frequency to the clock of the semiconductor integrated circuit.

スキャンテストを実行可能な半導体集積回路を説明する図である。It is a figure explaining the semiconductor integrated circuit which can perform a scan test. スキャンフリップフロップの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of a scan flip-flop. 第1実施例において試験対象となるLSIの構成を示す要部回路図である。FIG. 3 is a main part circuit diagram showing a configuration of an LSI to be tested in the first embodiment. 第1実施例に係るLSIの動作を説明するタイミングチャートである。3 is a timing chart for explaining the operation of the LSI according to the first embodiment. 第1実施例に係るLSIの動作を説明するタイミングチャートである。3 is a timing chart for explaining the operation of the LSI according to the first embodiment. 第2実施例において試験対象となるLSIの構成を示す要部回路図である。It is a principal part circuit diagram which shows the structure of LSI used as the test object in 2nd Example. 第2実施例に係るLSIの動作を説明するタイミングチャートである。6 is a timing chart for explaining the operation of an LSI according to a second embodiment. 第2実施例に係るLSIの動作を説明するタイミングチャートである。6 is a timing chart for explaining the operation of an LSI according to a second embodiment.

以下、下記の順序に従って本技術の実施形態を説明する。
(1)本実施形態の構成:
(2)半導体集積回路の試験方法の第1実施例:
(3)半導体集積回路の試験方法の第2実施例:
(4)まとめ:
Hereinafter, embodiments of the present technology will be described in the following order.
(1) Configuration of the present embodiment:
(2) First embodiment of test method for semiconductor integrated circuit:
(3) Second embodiment of test method for semiconductor integrated circuit:
(4) Summary:

(1)本実施形態の構成:
図1は、スキャンテストを実行可能な半導体集積回路(LSI)を説明する図である。同図に示すLSI100は、入力端子In1〜In3と、出力端子Out1〜Out3と、動作切替信号入力端子In4と、スキャンイン端子In5と、スキャンアウト端子Out4と、内部回路10と、スキャンチェーン20と、を備えている。
(1) Configuration of the present embodiment:
FIG. 1 is a diagram for explaining a semiconductor integrated circuit (LSI) capable of executing a scan test. The LSI 100 shown in the figure includes input terminals In1 to In3, output terminals Out1 to Out3, an operation switching signal input terminal In4, a scan-in terminal In5, a scan-out terminal Out4, an internal circuit 10, and a scan chain 20. It is equipped with.

なお、LSIは半導体集積回路の一例である。また、図1に示したLSI100の構成は一例であり、各種端子の数、内部回路10に含まれる組み合わせ回路の数やフリップフロップの数、後述するスキャンチェーンの数、等は適宜に変更可能である。   An LSI is an example of a semiconductor integrated circuit. The configuration of the LSI 100 shown in FIG. 1 is an example, and the number of various terminals, the number of combinational circuits included in the internal circuit 10, the number of flip-flops, the number of scan chains described later, and the like can be changed as appropriate. is there.

内部回路10は各種の論理回路にて構築され、LSI100の入力端子In1〜In3から入力される入力データに基づいて所定の演算を行い、その演算結果である出力データを出力端子Out1〜Out3に出力する。   The internal circuit 10 is constructed by various logic circuits, performs a predetermined calculation based on input data input from the input terminals In1 to In3 of the LSI 100, and outputs the output data as the calculation result to the output terminals Out1 to Out3. To do.

本実施形態において、内部回路10の論理回路は複数のフリップフロップ(以下、FFと略す。)と複数の組み合わせ回路とを備えている。なお、組み合わせ回路とは、出力が入力に直ちに反応する回路のことであり、このような回路の出力は、入力の加えられる順序には無関係で、また、入力が加えられる以前の回路の状態とも無関係である。   In the present embodiment, the logic circuit of the internal circuit 10 includes a plurality of flip-flops (hereinafter abbreviated as FF) and a plurality of combinational circuits. A combinational circuit is a circuit in which the output reacts immediately to the input. The output of such a circuit is independent of the order in which the inputs are added, and is not related to the state of the circuit before the inputs are added. Unrelated.

ここで、複数のFFの少なくとも一部はスキャンフリップフロップ(以下、スキャンFFと略す。)の構成とされている。たとえば、パーシャル・スキャン方式でLSIをテストする場合は複数のFFの一部をスキャンFFとし、フル・スキャン方式でLSIをテストする場合は複数のFFの全部をスキャンFFとする。スキャンFFは、内部(コア・ロジック)のデータ線にマルチプレクサが追加されたFFであり、マルチプレクサ機能を備える。なお、図1に示すFF20a〜20fは、全てスキャンFFの構成としてある。   Here, at least some of the plurality of FFs are configured as scan flip-flops (hereinafter abbreviated as scan FFs). For example, when testing an LSI by the partial scan method, a part of the plurality of FFs is a scan FF, and when testing the LSI by the full scan method, all of the plurality of FFs are scan FFs. The scan FF is an FF in which a multiplexer is added to an internal (core logic) data line, and has a multiplexer function. Note that the FFs 20a to 20f shown in FIG. 1 are all configured as scan FFs.

図1に示すFF20a〜20fはシリアル接続されており、このシリアル接続された一連のFFはスキャンチェーン20を構成する。スキャンチェーン20はスキャンイン端子In5とスキャンアウト端子Out4との間を接続している。   The FFs 20 a to 20 f shown in FIG. 1 are serially connected, and a series of serially connected FFs constitutes a scan chain 20. The scan chain 20 connects the scan-in terminal In5 and the scan-out terminal Out4.

スキャンチェーン20を構成するFF20a〜20fにはクロック信号が供給されており、このクロックに同期して動作するシフトレジスタとして機能する。すなわち、FF20a〜20fは、スキャンイン端子In5に入力されたデータScan_inをスキャンチェーン20の接続順に順次にシフトさせていき、スキャンアウト端子Out4からデータScan_outを出力する。なお、FFに対するクロック信号の供給に関しては、後述の第1実施例や第2実施例の中で詳細に説明するため、ここでは説明を省略する。   A clock signal is supplied to the FFs 20a to 20f constituting the scan chain 20, and functions as a shift register that operates in synchronization with the clock. That is, the FFs 20a to 20f sequentially shift the data Scan_in input to the scan-in terminal In5 in the connection order of the scan chain 20, and output the data Scan_out from the scan-out terminal Out4. Note that the supply of the clock signal to the FF will be described in detail in a first embodiment and a second embodiment to be described later, and the description is omitted here.

内部回路10が備える複数の組み合わせ回路は、スキャンチェーン20を基準として、たとえば、組み合わせ回路群10a,10b,10cの3つにグループ分け可能である。本実施形態では、スキャンチェーン20にて囲まれる複数の組み合わせを組み合わせ回路群10bと呼び、スキャンチェーン20よりも入力端子In1〜In3に近い側に位置する複数の組み合わせを組み合わせ回路群10aと呼び、スキャンチェーン20よりも出力端子Out1〜Out3に近い側に位置する複数の組み合わせを組み合わせ回路群10cと呼ぶことにする。すなわち、組み合わせ回路群10bが、本実施形態においてスキャンチェーン20を用いた検査対象となる。   The plurality of combinational circuits included in the internal circuit 10 can be grouped into, for example, three combinational circuit groups 10a, 10b, and 10c with the scan chain 20 as a reference. In the present embodiment, a plurality of combinations surrounded by the scan chain 20 is referred to as a combination circuit group 10b, and a plurality of combinations located closer to the input terminals In1 to In3 than the scan chain 20 is referred to as a combination circuit group 10a. A plurality of combinations located closer to the output terminals Out1 to Out3 than the scan chain 20 will be referred to as a combinational circuit group 10c. That is, the combinational circuit group 10b is an inspection target using the scan chain 20 in the present embodiment.

言い換えると、スキャンチェーン20を構成するFF20a〜20fのうち、FF20a〜20cは組み合わせ回路群10bの入力側に配置されていることになり、組み合わせ回路群10bにデータを入力するFFである。一方、FF20d〜20fは組み合わせ回路群10bの出力側に配置されていることになり、組み合わせ回路群10bからデータを入力されるFFである。従って、FF20a〜20cにセットされたデータを組み合わせ回路群10bに入力すると、このデータに基づく演算を組み合わせ回路群10bが実行して結果データを出力し、この結果データがFF20d〜20fに記憶されることになる。   In other words, among the FFs 20a to 20f constituting the scan chain 20, the FFs 20a to 20c are arranged on the input side of the combinational circuit group 10b, and are FFs that input data to the combinational circuit group 10b. On the other hand, the FFs 20d to 20f are arranged on the output side of the combinational circuit group 10b, and are FFs to which data is input from the combinational circuit group 10b. Therefore, when the data set in the FFs 20a to 20c is input to the combinational circuit group 10b, the combinational circuit group 10b executes an operation based on the data and outputs the result data, and the result data is stored in the FFs 20d to 20f. It will be.

ここで、スキャンFFの構成の一例について説明する。
図2は、スキャンFFの概略構成を示すブロック図である。スキャンFFは、内部に、いわゆる通常のFFと同様の構成と、セレクタと、を備えた構成であり、2つのデータ入力端子と、データ入力端子の切替をセレクタに指示する信号を入力するための動作切替端子と、クロック信号を入力するためのクロック端子と、1つのデータ出力端子と、を備えている。同図に示すスキャンFFは、D端子T1ならびにSI端子T2が入力端子を構成し、TEN端子T3が動作切替端子を構成し、Q端子T4がデータ出力端子を構成し、CK端子T5がクロック端子を構成する。
Here, an example of the configuration of the scan FF will be described.
FIG. 2 is a block diagram showing a schematic configuration of the scan FF. The scan FF has a configuration similar to that of a so-called normal FF and a selector therein, and inputs two data input terminals and a signal for instructing the selector to switch the data input terminals. An operation switching terminal, a clock terminal for inputting a clock signal, and one data output terminal are provided. In the scan FF shown in the figure, the D terminal T1 and the SI terminal T2 constitute an input terminal, the TEN terminal T3 constitutes an operation switching terminal, the Q terminal T4 constitutes a data output terminal, and the CK terminal T5 constitutes a clock terminal. Configure.

D端子T1は、スキャンFFが図1のFF20a〜20cの場合は、組み合わせ回路群10aに接続され、スキャンFFが図1のFF20d〜20fの場合は、組み合わせ回路群10bに接続される。すなわち、D端子T1には、組み合わせ回路群の出力する演算結果データが入力されるようになっている。スキャンFFの内部にあるセレクタがD端子T1に切り替えられると、スキャンFFはD端子に対する組み合わせ回路群10aからの入力に応じたデータをQ端子T4から出力する。   The D terminal T1 is connected to the combinational circuit group 10a when the scan FFs are the FFs 20a to 20c in FIG. 1, and is connected to the combinational circuit group 10b when the scan FFs are the FFs 20d to 20f in FIG. That is, operation result data output from the combinational circuit group is input to the D terminal T1. When the selector in the scan FF is switched to the D terminal T1, the scan FF outputs data corresponding to the input from the combinational circuit group 10a to the D terminal from the Q terminal T4.

Q端子T4はスキャンFFのデータ出力端子であり、スキャンチェーン20において当該スキャンFFの次段に配置されたスキャンFFに接続され、さらに、組み合わせ回路にも接続されている。なお、図1の構成例では、組み合わせ回路群10bの入力側に配置されるFF20a〜20cのQ端子T4は、組み合わせ回路群10bに接続され、組み合わせ回路群10bの出力側に配置されるFF20d〜20fのQ端子T4は、組み合わせ回路群10cに接続される。   The Q terminal T4 is a data output terminal of the scan FF, and is connected to the scan FF arranged in the next stage of the scan FF in the scan chain 20 and further connected to the combinational circuit. In the configuration example of FIG. 1, the Q terminals T4 of the FFs 20a to 20c arranged on the input side of the combinational circuit group 10b are connected to the combinational circuit group 10b and arranged on the output side of the combinational circuit group 10b. The 20f Q terminal T4 is connected to the combinational circuit group 10c.

SI端子T2は、スキャンFFが図1のFF20a〜20fの場合は、スキャンチェーン20において前段に配置されたスキャンFFのQ端子T4に接続される。ただし、スキャンチェーン20の始端に配置されたスキャンFFでは、SI端子T2はスキャンイン端子In5に接続される。   The SI terminal T2 is connected to the Q terminal T4 of the scan FF arranged in the preceding stage in the scan chain 20 when the scan FF is the FFs 20a to 20f in FIG. However, in the scan FF arranged at the start end of the scan chain 20, the SI terminal T2 is connected to the scan-in terminal In5.

スキャンFFの内部にあるセレクタがSI端子T2を選択するように切り替えられると、スキャンFFはシフトレジスタとして機能し、スキャンチェーン20において当該スキャンFFの前段に配置されたスキャンFFのQ端子T4から出力されるデータをラッチするとともに、それまで内部にラッチしていたデータをQ端子T4から出力する。その結果、Q端子T4から出力されたデータは、スキャンチェーン20において当該スキャンFFの次段に配置されたスキャンFFのSI端子に入力される。   When the selector inside the scan FF is switched so as to select the SI terminal T2, the scan FF functions as a shift register and is output from the Q terminal T4 of the scan FF arranged in the preceding stage of the scan FF in the scan chain 20. The latched data is latched and the data latched inside is output from the Q terminal T4. As a result, the data output from the Q terminal T4 is input to the SI terminal of the scan FF arranged in the next stage of the scan FF in the scan chain 20.

TEN端子T3は、動作切替信号T_Scan_enの入力端子であり、後述の第1実施例や第2実施例に示すテスタ200のTEN端子260に接続される。テスタ200は、動作切替信号として、シフト動作を指令するシフト信号とキャプチャ動作を指示するキャプチャ信号とを切り替えて出力可能である。スキャンFFは、TEN端子T3にシフト信号が入力されると、クロックに同期しつつSI端子T2から入力されたデータをQ端子T4に出力し、TEN端子T3にキャプチャ信号が入力されると、クロックに同期しつつD端子T1から入力されたデータに所定の演算を行ってQ端子T4に出力する。   The TEN terminal T3 is an input terminal for the operation switching signal T_Scan_en, and is connected to the TEN terminal 260 of the tester 200 shown in the first and second embodiments described later. The tester 200 can switch and output a shift signal for instructing a shift operation and a capture signal for instructing a capture operation as an operation switching signal. When the shift signal is input to the TEN terminal T3, the scan FF outputs the data input from the SI terminal T2 to the Q terminal T4 in synchronization with the clock, and when the capture signal is input to the TEN terminal T3, The data inputted from the D terminal T1 is subjected to a predetermined calculation and outputted to the Q terminal T4 in synchronization with the data.

すなわち、スキャンチェーン20を構成する各スキャンFFのTEN端子T3にシフト信号が入力されるとスキャンチェーン20はシフトレジスタとして機能し、CK端子T5に供給されるクロック信号の立ち上がりもしくは立ち下がりの都度、SI端子T2に対する入力をラッチするとともに、それまでラッチしていたデータをスキャンチェーン20において当該スキャンFFの次段に配置されたスキャンFFへ出力する。その結果、CK端子T5に入力されるクロックに同期してスキャンチェーン20の中でデータを順次シフトさせる。   That is, when a shift signal is input to the TEN terminal T3 of each scan FF constituting the scan chain 20, the scan chain 20 functions as a shift register, and every time the clock signal supplied to the CK terminal T5 rises or falls, The input to the SI terminal T2 is latched, and the data latched so far is output to the scan FF arranged in the next stage of the scan FF in the scan chain 20. As a result, data is sequentially shifted in the scan chain 20 in synchronization with the clock input to the CK terminal T5.

一方、スキャンチェーン20を構成する各スキャンFFのTEN端子T3にキャプチャ信号が入力されるとスキャンチェーン20は内部回路10の一部として所定の動作を実行する。すなわち、スキャンFFがシフトレジスタとして機能しない場合、Q端子T4から出力されるデータは組み合わせ回路群10bもしくは組み合わせ回路群10cに入力される。   On the other hand, when a capture signal is input to the TEN terminal T3 of each scan FF constituting the scan chain 20, the scan chain 20 performs a predetermined operation as a part of the internal circuit 10. That is, when the scan FF does not function as a shift register, data output from the Q terminal T4 is input to the combinational circuit group 10b or the combinational circuit group 10c.

次に、LSI100の各部に供給されるクロック信号について適宜に説明しつつ、LSI100の動作試験(いわゆる、スキャンテスト)におけるクロックとのタイミング関係について説明する。   Next, the timing relationship with the clock in the operation test (so-called scan test) of the LSI 100 will be described while appropriately explaining the clock signal supplied to each part of the LSI 100.

(2)半導体集積回路の試験方法の第1実施例:
図3は、本第1実施例において試験対象となるLSIの構成を示す要部回路図であり、図4,5は、本第1実施形態に係るLSIの動作を説明するタイミングチャートである。なお、図3には、LSIをテストするテスタも示してある。図3において、LSI300は、スキャンチェーン320、分周器330、セレクタ回路340、クロックマスク回路350、CK端子360、TEN端子370、スキャンイン端子380、スキャンアウト端子390、を備えている。
(2) First embodiment of test method for semiconductor integrated circuit:
FIG. 3 is a principal circuit diagram showing the configuration of the LSI to be tested in the first embodiment, and FIGS. 4 and 5 are timing charts for explaining the operation of the LSI according to the first embodiment. FIG. 3 also shows a tester for testing the LSI. In FIG. 3, the LSI 300 includes a scan chain 320, a frequency divider 330, a selector circuit 340, a clock mask circuit 350, a CK terminal 360, a TEN terminal 370, a scan-in terminal 380, and a scan-out terminal 390.

分周器330とセレクタ回路340とクロックマスク回路350は、スキャンチェーン320を構成する各スキャンFFに供給するクロック切替を制御するクロック制御部として機能する。   The frequency divider 330, the selector circuit 340, and the clock mask circuit 350 function as a clock control unit that controls switching of the clock supplied to each scan FF constituting the scan chain 320.

CK端子360とTEN端子370とスキャンイン端子380は入力端子であり、スキャンアウト端子390は出力端子である。なお、その他、各種の組み合わせ回路を備えてもよく、図3ではいくつかの組み合わせ回路を例示してある。   The CK terminal 360, the TEN terminal 370, and the scan-in terminal 380 are input terminals, and the scan-out terminal 390 is an output terminal. In addition, various combinational circuits may be provided, and some combinational circuits are illustrated in FIG.

スキャンチェーン320は、上述したように、一連のスキャンFFを接続して構築されており、一方の組み合わせ回路群から入力された入力信号に所定の演算を行って他方の組み合わせ回路群に出力する機能と、スキャンイン端子380とスキャンアウト端子390との間を接続するシフトレジスタとしての機能と、を備える。   As described above, the scan chain 320 is constructed by connecting a series of scan FFs, and performs a predetermined operation on an input signal input from one combinational circuit group and outputs it to the other combinational circuit group. And a function as a shift register that connects between the scan-in terminal 380 and the scan-out terminal 390.

スキャンイン端子380にはテスタ200の端子270からデータScan_inが入力され、スキャンアウト端子390が出力するデータScan_outは、テスタ200の端子280に入力されている。テスタ200は、端子270から出力したデータScan_inに基づいて出力されたデータScan_outを解析することにより、スキャンチェーン320のテスト対象となる組み合わせ回路群が正しく動作するかテストすることができる。   Data Scan_in is input to the scan-in terminal 380 from the terminal 270 of the tester 200, and data Scan_out output from the scan-out terminal 390 is input to the terminal 280 of the tester 200. The tester 200 can test whether the combinational circuit group to be tested of the scan chain 320 operates correctly by analyzing the data Scan_out output based on the data Scan_in output from the terminal 270.

CK端子360は、一定速度のクロック信号CLK_inをLSI300に入力するための端子である。本実施形態においては、CK端子360は、テスタ200の端子250から単一のクロック信号(以下、入力クロックCLK_inとも呼ぶ。)の入力を受ける。CK端子360に入力された入力クロックCLK_inは、分周器330とセレクタ回路340とに入力される。   The CK terminal 360 is a terminal for inputting a constant speed clock signal CLK_in to the LSI 300. In the present embodiment, the CK terminal 360 receives a single clock signal (hereinafter also referred to as an input clock CLK_in) from the terminal 250 of the tester 200. The input clock CLK_in input to the CK terminal 360 is input to the frequency divider 330 and the selector circuit 340.

ここで、入力クロックCLK_inは、LSI300に含まれる回路の動作周波数の中で最高周波数(最大クロック)であることが望ましい。最大最高周波数のクロックを入力すれば、入力クロックCLK_inをLSI300の内部で分周することにより、LSI300において必要とされる全ての周波数のクロック信号をLSI300の内部で生成し、単一周波数の入力クロックCLK_inに基づいて、各内部回路に適したクロックを使い分けて供給可能となる。   Here, the input clock CLK_in is desirably the highest frequency (maximum clock) among the operating frequencies of the circuits included in the LSI 300. When a clock with the maximum maximum frequency is input, the input clock CLK_in is divided in the LSI 300, thereby generating clock signals of all frequencies required in the LSI 300 within the LSI 300, and a single frequency input clock. Based on CLK_in, a clock suitable for each internal circuit can be selectively used.

たとえば、分周器330にて適宜に入力クロックCLK_inを分周し、高速動作が前提の内部回路には高速のクロック信号を供給して高速動作させ、低速動作が前提の内部回路には低速のクロック信号を供給して低速動作させる、というクロックの使い分けが可能となる。   For example, the frequency divider 330 appropriately divides the input clock CLK_in, supplies a high-speed clock signal to an internal circuit premised on high-speed operation, and operates at a high speed on an internal circuit premised on low-speed operation. It is possible to selectively use clocks by supplying a clock signal and operating at a low speed.

ただし、テスタ200の性能次第では、LSI300に含まれる回路の動作周波数の中で最高周波数以上を出力できない場合もある。このような場合には、入力クロックCLK_inは、テスタ200が出力可能な最高周波数と、LSI300に含まれる回路の動作周波数の中で最高周波数とを総合的に考慮し、LSI300に入力できる上限の周波数を選択する。   However, depending on the performance of the tester 200, it may not be possible to output more than the highest frequency among the operating frequencies of the circuits included in the LSI 300. In such a case, the input clock CLK_in is an upper limit frequency that can be input to the LSI 300 by comprehensively considering the highest frequency that the tester 200 can output and the highest frequency among the operating frequencies of the circuits included in the LSI 300. Select.

可能な限り高周波の入力クロックCLK_inを供給すれば、入力クロックCLK_inをLSI300の内部で分周したときに生成可能な周波数のレンジを可能な限り広くとることができるからである。従って、LSI300において必要とされるほぼ全ての周波数のクロック信号をLSI300の内部で生成できる。   This is because if the input clock CLK_in having the highest possible frequency is supplied, the frequency range that can be generated when the input clock CLK_in is divided in the LSI 300 can be as wide as possible. Accordingly, clock signals having almost all the frequencies required in the LSI 300 can be generated inside the LSI 300.

すなわち、分周器330にて適宜に入力クロックCLK_inを分周し、高速動作が前提の内部回路には高速のクロック信号を供給して高速動作させ、低速動作が前提の内部回路には低速のクロック信号を供給して低速動作させる、というクロックの使い分けが可能となる。   That is, the frequency divider 330 appropriately divides the input clock CLK_in, supplies a high-speed clock signal to the internal circuit premised on the high-speed operation, and operates the high-speed operation on the internal circuit premised on the low-speed operation. It is possible to selectively use clocks by supplying a clock signal and operating at a low speed.

分周器330は、たとえばFFを用いたカウンタ回路にて構成され、CK端子360に入力される入力クロックCLK_inに基づいてダウンカウントすることにより入力クロックCLK_inよりも低速なクロック信号を生成できる。生成されたクロック信号は、セレクタ回路340に入力される。   The frequency divider 330 is configured by a counter circuit using, for example, an FF, and can generate a clock signal slower than the input clock CLK_in by down-counting based on the input clock CLK_in input to the CK terminal 360. The generated clock signal is input to the selector circuit 340.

本実施形態では、分周器330が入力クロックCLK_inを2分周したクロック信号を出力する場合を例にとり説明するが、むろん、分周器330は、3分周以上の適宜の分周クロックを出力できるように構成することができる。なお、以下では、分周器330が入力クロックCLK_inに基づいて生成出力するクロック信号を、分周クロックCLK_divと呼ぶことにする。   In the present embodiment, the case where the frequency divider 330 outputs a clock signal obtained by dividing the input clock CLK_in by 2 will be described as an example. However, the frequency divider 330 of course has an appropriate frequency divided clock of 3 or more divided. It can be configured to output. Hereinafter, a clock signal generated and output by the frequency divider 330 based on the input clock CLK_in will be referred to as a frequency-divided clock CLK_div.

以上のように、単一周波数を入力しつつLSI300の側で適宜に入力クロックCLK_inを分周して分周クロックCLK_divを生成してLSI300の試験に利用するため、スキャンチェーン320の動作周波数に制限されることなく、外部クロック周波数を上げることができる。   As described above, the input clock CLK_in is appropriately divided on the LSI 300 side while a single frequency is input, and the divided clock CLK_div is generated and used for the test of the LSI 300. Therefore, the operating frequency of the scan chain 320 is limited. Thus, the external clock frequency can be increased.

また、内部クロックの生成を、安定待ち時間が必要なPLLではなく、安定待ち時間が不要な分周器330にて行うため、テスタの占有時間が短縮され、試験コストを低下できる。   Also, since the internal clock is generated not by the PLL that requires a stable waiting time but by the frequency divider 330 that does not require a stable waiting time, the tester occupation time can be shortened and the test cost can be reduced.

また、キャプチャ動作とシフト動作とでクロック周波数を使い分けることができるため、より適切なクロック周波数で各動作を実行可能となり、キャプチャ動作を高速化したり、異なるキャプチャ動作周波数の回路を同時に試験することができるようになる。その結果、遅延故障の検出率が向上する。   In addition, since the clock frequency can be properly used for the capture operation and shift operation, each operation can be executed at a more appropriate clock frequency, and the capture operation can be speeded up or circuits with different capture operation frequencies can be tested simultaneously. become able to. As a result, the delay fault detection rate is improved.

TEN端子370は、スキャンチェーン320におけるシフト動作とキャプチャ動作の切替を制御する動作切替信号T_Scan_enを入力するための端子である。本実施形態では、テスタ200がTEN端子260から動作切替信号T_Scan_enをTEN端子370に入力する。   The TEN terminal 370 is a terminal for inputting an operation switching signal T_Scan_en that controls switching between the shift operation and the capture operation in the scan chain 320. In the present embodiment, the tester 200 inputs an operation switching signal T_Scan_en from the TEN terminal 260 to the TEN terminal 370.

TEN端子370に入力された動作切替信号T_Scan_enは、スキャンチェーン320を構成する各スキャンFFのTEN端子に入力されるよう配線されている。従って、テスタ200は、スキャンチェーン320を構成する各スキャンFFの動作をシフト動作とキャプチャ動作とで切り替え制御することができる。なお、TEN端子370は本実施例1においてクロック切替制御端子を構成し、動作切替信号T_Scan_enはクロック切替制御信号の一例である。   The operation switching signal T_Scan_en input to the TEN terminal 370 is wired to be input to the TEN terminal of each scan FF constituting the scan chain 320. Therefore, the tester 200 can switch and control the operation of each scan FF constituting the scan chain 320 between the shift operation and the capture operation. The TEN terminal 370 constitutes a clock switching control terminal in the first embodiment, and the operation switching signal T_Scan_en is an example of a clock switching control signal.

本実施形態では、スキャンチェーン320は、動作切替信号T_Scan_enがHigh(1)のときシフト動作を行い、動作切替信号T_Scan_enがLow(0)のときキャプチャ動作を行う。   In the present embodiment, the scan chain 320 performs a shift operation when the operation switching signal T_Scan_en is High (1), and performs a capture operation when the operation switching signal T_Scan_en is Low (0).

ここで、シフト動作とは、スキャンチェーン320がシフトレジスタとして機能する状態を指す。すなわち、シフト動作では、スキャンイン端子380から所定のデータを順次入力することにより所望のスキャンFFに任意の値をセットしたり、内部回路(組み合わせ回路)からスキャンFFに入力されたデータを順次シフトさせてスキャンアウト端子390から順次出力させたりすることができる。   Here, the shift operation refers to a state in which the scan chain 320 functions as a shift register. That is, in the shift operation, an arbitrary value is set to a desired scan FF by sequentially inputting predetermined data from the scan-in terminal 380, or data input to the scan FF from the internal circuit (combination circuit) is sequentially shifted. Thus, the data can be sequentially output from the scan-out terminal 390.

一方、キャプチャ動作とは、スキャンチェーン320を構成する各スキャンFFが、内部回路の中で所定の動作を実行する状態を指す。キャプチャ動作では、スキャンチェーン320を構成するスキャンFFのうち、内部回路を構成する所定の組み合わせ回路の入力側に配置されたスキャンFFにセットされた値を当該所定の組み合わせ回路に入力して処理させ、その結果データを、当該所定の組み合わせ回路の出力側に配置されたスキャンFFが受け取って保持する。   On the other hand, the capture operation refers to a state in which each scan FF constituting the scan chain 320 executes a predetermined operation in the internal circuit. In the capture operation, among the scan FFs constituting the scan chain 320, the value set in the scan FF arranged on the input side of the predetermined combination circuit constituting the internal circuit is input to the predetermined combination circuit for processing. The result data is received and held by the scan FF arranged on the output side of the predetermined combinational circuit.

すなわち、キャプチャ動作を行うと、所定のデータ入力に対して検査対象の組み合わせ回路群が出力する結果データを取得することができる。この結果データを解析すれば、組み合わせ回路群の動作が正常か異常か判断することができる。   That is, when the capture operation is performed, the result data output from the combinational circuit group to be inspected with respect to predetermined data input can be acquired. By analyzing the result data, it is possible to determine whether the operation of the combinational circuit group is normal or abnormal.

セレクタ回路340は、上述したように、入力クロックCLK_inと分周クロックCLK_divとクロック選択信号CLK_selとを入力されており、クロック選択信号CLK_selによって指定されるいずれか一方のクロック信号を選択的に出力する。   As described above, the selector circuit 340 receives the input clock CLK_in, the divided clock CLK_div, and the clock selection signal CLK_sel, and selectively outputs any one of the clock signals specified by the clock selection signal CLK_sel. .

セレクタ回路340は、上述した動作切替信号T_Scan_enをクロック選択信号CLK_selに利用しており、動作切替信号T_Scan_enの切り替わりに対応してクロック選択信号CLK_selも切り替わるようになっている。   The selector circuit 340 uses the operation switching signal T_Scan_en described above as the clock selection signal CLK_sel, and the clock selection signal CLK_sel is also switched in response to the switching of the operation switching signal T_Scan_en.

図4に示す例では、動作切替信号T_Scan_enがシフト動作を指示しているときは(High(1))、分周クロックCLK_divを出力し、動作切替信号T_Scan_enがキャプチャ動作を指示しているときは(Low(0))、入力クロックCLK_inを出力する。   In the example shown in FIG. 4, when the operation switching signal T_Scan_en instructs a shift operation (High (1)), the divided clock CLK_div is output, and when the operation switching signal T_Scan_en instructs a capture operation. (Low (0)), the input clock CLK_in is output.

その結果、セレクタ回路340は、シフト動作時には分周クロックCLK_divの周期でエッジが発生し、キャプチャ動作時には入力クロックCLK_inの周期でエッジが発生する、合成クロックCLK_plsを出力する。   As a result, the selector circuit 340 outputs the composite clock CLK_pls in which an edge is generated at the period of the divided clock CLK_div during the shift operation and an edge is generated at the period of the input clock CLK_in during the capture operation.

また、図5に示す例では、動作切替信号T_Scan_enがシフト動作を指示しているときは(High(1))、入力クロックCLK_inを出力し、動作切替信号T_Scan_enがキャプチャ動作を指示しているときは(Low(0))、分周クロックCLK_divを出力する。   In the example shown in FIG. 5, when the operation switching signal T_Scan_en instructs a shift operation (High (1)), the input clock CLK_in is output, and when the operation switching signal T_Scan_en instructs a capture operation. (Low (0)) outputs the divided clock CLK_div.

その結果、セレクタ回路340は、シフト動作時には入力クロックCLK_inの周期でエッジが発生し、キャプチャ動作時には分周クロックCLK_divの周期でエッジが発生する、合成クロックCLK_plsを出力する。なお、合成クロックCLK_plsは過渡的なクロック信号なので、図4や図5には示していない。   As a result, the selector circuit 340 outputs the composite clock CLK_pls in which an edge is generated at the cycle of the input clock CLK_in during the shift operation and an edge is generated at the cycle of the divided clock CLK_div during the capture operation. Note that the synthesized clock CLK_pls is a transient clock signal and is not shown in FIGS.

クロックマスク回路350は、クロックマスク信号CLK_mskを生成し、この合成クロック信号CLK_plsにクロックマスク信号CLK_mskを重畳する。クロックマスク信号CLK_mskは、シフト動作とキャプチャ動作との切り替わり時に合成クロック信号CLK_plsの所定箇所をマスクするための信号である。   The clock mask circuit 350 generates a clock mask signal CLK_msk and superimposes the clock mask signal CLK_msk on the combined clock signal CLK_pls. The clock mask signal CLK_msk is a signal for masking a predetermined portion of the synthesized clock signal CLK_pls when switching between the shift operation and the capture operation.

クロックマスク回路350は、たとえば、フリップフロップ351と排他的論理和回路352と論理和回路353とで構成することができる。   The clock mask circuit 350 can be composed of, for example, a flip-flop 351, an exclusive OR circuit 352, and an OR circuit 353.

フリップフロップ351は、動作切替信号T_Scan_enを入力されており、この動作切替信号T_Scan_enを所定時間遅延させた遅延信号T_Scan_en’を出力する。   The flip-flop 351 receives the operation switching signal T_Scan_en, and outputs a delay signal T_Scan_en ′ obtained by delaying the operation switching signal T_Scan_en for a predetermined time.

排他的論理和回路352は、動作切替信号T_Scan_enと遅延信号T_Scan_en’との入力を受け、これら信号に基づいてクロックマスク信号CLK_mskを生成する。   The exclusive OR circuit 352 receives the operation switching signal T_Scan_en and the delay signal T_Scan_en ′ and generates a clock mask signal CLK_msk based on these signals.

論理和回路353は、セレクタ回路340から出力される合成クロック信号CLK_plsとクロックマスク信号CLK_mskとの入力を受けており、合成クロック信号CLK_plsにクロックマスク信号CLK_mskを重畳させたスキャンクロック信号CLK_scを出力する。   The OR circuit 353 receives the combined clock signal CLK_pls and the clock mask signal CLK_msk output from the selector circuit 340, and outputs the scan clock signal CLK_sc obtained by superimposing the clock mask signal CLK_msk on the combined clock signal CLK_pls. .

このようにして生成されるスキャンクロック信号CLK_scは、シフト動作とキャプチャ動作とが切り替わった直後の所定期間のみがHighとなり、この所定期間において合成クロック信号CLK_plsのエッジをマスクする信号となる。   The scan clock signal CLK_sc generated in this way is High only for a predetermined period immediately after the shift operation and the capture operation are switched, and becomes a signal for masking the edge of the combined clock signal CLK_pls in this predetermined period.

スキャンクロック信号CLK_scは、スキャンチェーン320を構成する各スキャンFFのCK端子に入力され、各スキャンFFは、スキャンクロック信号CLK_scのクロックで動作する。   The scan clock signal CLK_sc is input to the CK terminal of each scan FF constituting the scan chain 320, and each scan FF operates with the clock of the scan clock signal CLK_sc.

その結果、スキャンチェーン320により構築されたシフトレジスタは、シフト動作が選択されているときは分周クロックCLK_divと同じ動作周波数でデータをシフトし、キャプチャ動作が選択されているときは入力クロックCLK_inと同じ動作周波数でデータをシフトする。すなわち、テスタ200から単一の入力クロックCLK_inのみを入力しているにも関わらず、複数の動作周波数でLSI300を動作させることができる。   As a result, the shift register constructed by the scan chain 320 shifts data at the same operating frequency as the divided clock CLK_div when the shift operation is selected, and the input clock CLK_in when the capture operation is selected. Shift data at the same operating frequency. That is, although only a single input clock CLK_in is input from the tester 200, the LSI 300 can be operated at a plurality of operating frequencies.

さらに、シフト動作とキャプチャ動作とが切り替わった直後の所定期間は、スキャンクロックにエッジが無いマスク期間が設けられるため、データのシフトが行われず、キャプチャ動作とシフト動作の切り替わり時のグリッチを防止することができる。   Further, since a mask period without an edge in the scan clock is provided for a predetermined period immediately after the shift operation and the capture operation are switched, data is not shifted, and glitches are prevented when the capture operation and the shift operation are switched. be able to.

[キャプチャ動作がスキャン動作よりも高速な場合]
次に、図4を参照しつつ、スキャンイン端子380に入力されるデータと、クロック信号や制御信号と、の関係について説明する。なお、図4には、LSI300において、キャプチャ動作がスキャン動作に比べて高速クロックで動作可能である場合を例示してある。
[When the capture operation is faster than the scan operation]
Next, the relationship between the data input to the scan-in terminal 380 and the clock signal or control signal will be described with reference to FIG. FIG. 4 illustrates a case where the capture operation can be performed with a high-speed clock in the LSI 300 as compared with the scan operation.

図4では、スキャンイン端子380にデータAが入力されているとき、テスタ200からシフト動作が指示されている。すなわち、テスタ200からHigh(1)の動作切替信号T_Scan_enが入力されている。このとき、クロック選択信号CLK_selもHigh(1)であり、スキャンクロックCLK_scには分周クロックCLK_divと同じ周期でエッジが発生する。   In FIG. 4, when data A is input to the scan-in terminal 380, a shift operation is instructed from the tester 200. That is, a high (1) operation switching signal T_Scan_en is input from the tester 200. At this time, the clock selection signal CLK_sel is also High (1), and an edge is generated in the scan clock CLK_sc in the same cycle as the divided clock CLK_div.

このとき、分周クロックCLK_divに同期してシフトチェーン320のデータをシフトし、分周クロックCLK_divに同期してスキャンアウト端子390からデータを出力するシフト動作が実行される。本実施形態においてはクロックの立ち上がりでデータを出力するため、図4では、F,Gのタイミングでスキャンアウト端子390からデータを出力する。   At this time, a shift operation is performed in which data of the shift chain 320 is shifted in synchronization with the divided clock CLK_div, and data is output from the scan-out terminal 390 in synchronization with the divided clock CLK_div. In this embodiment, since data is output at the rising edge of the clock, in FIG. 4, data is output from the scan-out terminal 390 at the timing of F and G.

次に、スキャンイン端子380に対するデータAの入力が終了すると、シフト動作からキャプチャ動作に切り替わる。すなわち、動作切替信号T_Scan_enがHigh(1)からLow(0)に変化する。このとき、クロック選択信号CLK_selもLow(0)となり、スキャンクロックCLK_scには入力クロックCLK_inと同じ周期でエッジが発生する。キャプチャ動作はスキャン動作よりも高速で実行可能であるからである。   Next, when the input of the data A to the scan-in terminal 380 is completed, the shift operation is switched to the capture operation. That is, the operation switching signal T_Scan_en changes from High (1) to Low (0). At this time, the clock selection signal CLK_sel is also Low (0), and an edge occurs in the scan clock CLK_sc in the same cycle as the input clock CLK_in. This is because the capture operation can be performed at a higher speed than the scan operation.

ここで、クロック選択信号CLK_selがHigh(1)からLow(0)に変化した直後は、スキャンクロックCLK_scにクロックマスク信号CLK_mskが重畳される。従って、その間はスキャンクロック信号CLK_scにはエッジが発生せず、FFはマスク期間の間、組み合わせ回路群10bに対するデータ出力を待機することになり、キャプチャ動作とシフト動作の切り替わり時に発生するグリッチを防止できる。なお、スキャンクロックCLK_scがマスクされている間は、スキャンイン端子380は、テスタ200から、ダミーデータが入力されている。   Here, immediately after the clock selection signal CLK_sel changes from High (1) to Low (0), the clock mask signal CLK_msk is superimposed on the scan clock CLK_sc. Accordingly, no edge occurs in the scan clock signal CLK_sc during that time, and the FF waits for data output to the combinational circuit group 10b during the mask period, thereby preventing a glitch that occurs when the capture operation and the shift operation are switched. it can. Note that dummy data is input from the tester 200 to the scan-in terminal 380 while the scan clock CLK_sc is masked.

また、クロックマスク信号CLK_mskは、図3には図示していない入力経路を介して分周器330にも入力されており、分周器330はクロックマスク信号CLK_mskによってエッジをリセットされる。すなわち、クロックマスク信号CLK_mskの立ち下がりのタイミングで分周器330のカウントがリセットされ、新たなカウントを開始する。   The clock mask signal CLK_msk is also input to the frequency divider 330 via an input path (not shown in FIG. 3), and the frequency divider 330 has its edge reset by the clock mask signal CLK_msk. That is, the count of the frequency divider 330 is reset at the falling timing of the clock mask signal CLK_msk, and a new count is started.

従って、分周器330の出力する分周クロックCLK_divは、その直前まで出力していた分周クロックCLK_divの論理値に関わらず、その後、改めてHigh→Low→High→・・・の順に分周クロックCLK_divを出力するようになる。   Therefore, the frequency-divided clock CLK_div output from the frequency divider 330 does not depend on the logical value of the frequency-divided clock CLK_div that has been output until just before that, and then the frequency-divided clock CLK_div again in the order of High → Low → High →. CLK_div is output.

ダミーデータに続いて、スキャンイン端子380にはデータB,C,Dが順次に入力される。ただし、LSI300は、このときキャプチャ動作を行っているためスキャンチェーン320は無効になり、スキャンイン端子380も通常のデータ端子として動作している。従って、スキャンイン端子380に入力されるデータB,C,Dはスキャンチェーン320には入力されず、例えば、組み合わせ回路群10bに入力される。   Following the dummy data, data B, C, and D are sequentially input to the scan-in terminal 380. However, since the LSI 300 is performing a capture operation at this time, the scan chain 320 is invalid, and the scan-in terminal 380 is also operating as a normal data terminal. Accordingly, the data B, C, and D input to the scan-in terminal 380 are not input to the scan chain 320 but are input to the combinational circuit group 10b, for example.

このとき、キャプチャ動作によって組み合わせ回路群10bから出力されるデータは、入力クロックCLK_inに同期してスキャンアウト端子390から出力される。図4では、H,I,Jのタイミングでスキャンアウト端子390からデータを出力する。   At this time, data output from the combinational circuit group 10b by the capture operation is output from the scan-out terminal 390 in synchronization with the input clock CLK_in. In FIG. 4, data is output from the scan-out terminal 390 at the timing of H, I, and J.

データB,C,Dの入力が完了すると、キャプチャ動作からシフト動作に切り替わる。すなわち、動作切替信号T_Scan_enがLow(0)からHigh(1)に変化する。このとき、クロック選択信号CLK_selもHihg(1)となり、スキャンクロックCLK_scには分周クロックCLK_divと同じ周期でエッジが発生する。   When the input of data B, C, and D is completed, the capture operation is switched to the shift operation. That is, the operation switching signal T_Scan_en changes from Low (0) to High (1). At this time, the clock selection signal CLK_sel also becomes Hihg (1), and an edge is generated in the scan clock CLK_sc in the same cycle as the divided clock CLK_div.

そして、クロック選択信号CLK_selがLow(0)からHigh(1)に変化した直後は、スキャンクロックCLK_scにクロックマスク信号CLK_mskが重畳される。従って、その間はスキャンクロック信号CLK_scにはエッジが発生せず、FFはマスク期間の間、組み合わせ回路群10bに対するデータ出力を待機することになり、キャプチャ動作とシフト動作の切り替わり時に発生するグリッチを防止できる。なお、スキャンクロックCLK_scがマスクされている間は、スキャンイン端子380は、テスタ200から、ダミーデータが入力されている。   Immediately after the clock selection signal CLK_sel changes from Low (0) to High (1), the clock mask signal CLK_msk is superimposed on the scan clock CLK_sc. Accordingly, no edge occurs in the scan clock signal CLK_sc during that time, and the FF waits for data output to the combinational circuit group 10b during the mask period, thereby preventing a glitch that occurs when the capture operation and the shift operation are switched. it can. Note that dummy data is input from the tester 200 to the scan-in terminal 380 while the scan clock CLK_sc is masked.

また、クロックマスク信号CLK_mskは、上述したように分周器330にも入力されており、分周器330はクロックマスク信号CLK_mskによってエッジをリセットされる。すなわち、分周器330は、クロックマスク信号CLK_mskの立ち下がりのタイミングから、新たなカウントを開始する。   The clock mask signal CLK_msk is also input to the frequency divider 330 as described above, and the frequency divider 330 has its edge reset by the clock mask signal CLK_msk. That is, the frequency divider 330 starts a new count from the falling timing of the clock mask signal CLK_msk.

そして、ダミーデータに続いて、スキャンイン端子380にはデータEが入力される。このとき、スキャンチェーン320は、分周クロックCLK_divに同期してデータをシフトし、分周クロックCLK_divに同期してスキャンアウト端子390からデータを出力するシフト動作を実行する。図4では、Kのタイミングでスキャンアウト端子390からデータを出力する。   Subsequently to the dummy data, data E is input to the scan-in terminal 380. At this time, the scan chain 320 shifts data in synchronization with the divided clock CLK_div, and executes a shift operation of outputting data from the scan-out terminal 390 in synchronization with the divided clock CLK_div. In FIG. 4, data is output from the scan-out terminal 390 at the timing K.

以上説明したように、LSI300に外部から入力された入力クロックCLK_inと、LSI300の内部で発生させた分周クロックCLK_divとを利用して、スキャンクロックCLK_scを生成するため、キャプチャ動作とシフト動作のそれぞれに最適なクロックを用いてLSI300の内部検査を行うことができる。また、キャプチャ動作とシフト動作の切り替わり時にマスク信号をスキャンクロックCLK_scに重畳しているため、キャプチャ動作とシフト動作の切り替わり時に発生するグリッチを防止できる。さらに、クロックマスク信号CLK_mskによってLSI300の内部で生成される分周クロックCLK_divをリセットするため、キャプチャ動作とシフト動作の切り替わり時に分周クロックのHighとLowの発生タイミングをリセットすることができる。   As described above, since the scan clock CLK_sc is generated using the input clock CLK_in input from the outside to the LSI 300 and the divided clock CLK_div generated inside the LSI 300, each of the capture operation and the shift operation is performed. It is possible to perform an internal inspection of the LSI 300 using an optimal clock. Further, since the mask signal is superimposed on the scan clock CLK_sc when the capture operation and the shift operation are switched, a glitch that occurs when the capture operation and the shift operation are switched can be prevented. Further, since the divided clock CLK_div generated inside the LSI 300 by the clock mask signal CLK_msk is reset, the generation timing of the divided clock High and Low can be reset when the capture operation and the shift operation are switched.

[スキャン動作がキャプチャ動作よりも高速な場合]
次に図5を参照しつつ、スキャンイン端子380に入力されるデータと、クロック信号や制御信号と、の関係についての他の例について説明する。図5には、LSI300において、スキャン動作がキャプチャ動作に比べて高速クロックで動作可能である場合を例示してある。
[When scan operation is faster than capture operation]
Next, another example of the relationship between the data input to the scan-in terminal 380, the clock signal, and the control signal will be described with reference to FIG. FIG. 5 illustrates a case where the scan operation can be performed with a high-speed clock in the LSI 300 as compared with the capture operation.

図5では、スキャンイン端子380にデータAが入力されているとき、テスタ200からシフト動作が指示されている。すなわち、テスタ200からHigh(1)の動作切替信号T_Scan_enが入力されている。このとき、クロック選択信号CLK_selはLow(0)であり、スキャンクロックCLK_scには入力クロックCLK_inと同じ周期でエッジが発生する。   In FIG. 5, when data A is input to the scan-in terminal 380, a shift operation is instructed from the tester 200. That is, a high (1) operation switching signal T_Scan_en is input from the tester 200. At this time, the clock selection signal CLK_sel is Low (0), and an edge is generated in the scan clock CLK_sc in the same cycle as the input clock CLK_in.

このとき、入力クロックCLK_inに同期してシフトチェーン320のデータをシフトし、入力クロックCLK_inに同期してスキャンアウト端子390からデータを出力するシフト動作が実行される。本実施形態においてはクロックの立ち上がりでデータを出力するため、図5では、K,Lのタイミングでスキャンアウト端子390からデータを出力する。   At this time, the shift operation of shifting the data of the shift chain 320 in synchronization with the input clock CLK_in and outputting the data from the scan-out terminal 390 in synchronization with the input clock CLK_in is executed. In this embodiment, since data is output at the rising edge of the clock, data is output from the scan-out terminal 390 at the timings of K and L in FIG.

次に、スキャンイン端子380に対するデータAの入力が終了すると、シフト動作からキャプチャ動作に切り替わる。すなわち、動作切替信号T_Scan_enがHigh(1)からLow(0)に変化する。このとき、クロック選択信号CLK_selはHihg(1)に変化し、スキャンクロックCLK_scには分周クロックCLK_divと同じ周期でエッジが発生する。キャプチャ動作はスキャン動作よりも低速で実行されるからである。   Next, when the input of the data A to the scan-in terminal 380 is completed, the shift operation is switched to the capture operation. That is, the operation switching signal T_Scan_en changes from High (1) to Low (0). At this time, the clock selection signal CLK_sel changes to Hihg (1), and an edge is generated in the scan clock CLK_sc in the same cycle as the divided clock CLK_div. This is because the capture operation is executed at a lower speed than the scan operation.

ここで、クロック選択信号CLK_selがLow(0)からHigh(1)に変化した直後は、スキャンクロックCLK_scにクロックマスク信号CLK_mskが重畳される。従って、その間はスキャンクロック信号CLK_scにはエッジが発生せず、FFはマスク期間の間、組み合わせ回路群10bに対するデータ出力を待機することになり、キャプチャ動作とシフト動作の切り替わり時に発生するグリッチを防止できる。なお、スキャンクロックCLK_scがマスクされている間は、スキャンイン端子380は、テスタ200から、ダミーデータが入力されている。   Here, immediately after the clock selection signal CLK_sel changes from Low (0) to High (1), the clock mask signal CLK_msk is superimposed on the scan clock CLK_sc. Accordingly, no edge occurs in the scan clock signal CLK_sc during that time, and the FF waits for data output to the combinational circuit group 10b during the mask period, thereby preventing a glitch that occurs when the capture operation and the shift operation are switched. it can. Note that dummy data is input from the tester 200 to the scan-in terminal 380 while the scan clock CLK_sc is masked.

また、分周器330はクロックマスク信号CLK_mskによってエッジをリセットされるため、クロックマスク信号CLK_mskの立ち下がりのタイミングで分周器330のカウントがリセットされ、新たなカウントを開始する。   Further, since the edge of the frequency divider 330 is reset by the clock mask signal CLK_msk, the count of the frequency divider 330 is reset at the falling timing of the clock mask signal CLK_msk, and a new count is started.

ダミーデータに続いて、スキャンイン端子380にはデータB,Cが順次に入力される。ただし、LSI300は、このときキャプチャ動作を行っているためスキャンチェーン320は無効になり、スキャンイン端子380も通常のデータ端子として動作している。従って、スキャンイン端子380に入力されるデータB,Cはスキャンチェーン320には入力されず、例えば、組み合わせ回路群10bに入力される。   Following the dummy data, data B and C are sequentially input to the scan-in terminal 380. However, since the LSI 300 is performing a capture operation at this time, the scan chain 320 is invalid, and the scan-in terminal 380 is also operating as a normal data terminal. Therefore, the data B and C input to the scan-in terminal 380 are not input to the scan chain 320 but are input to the combinational circuit group 10b, for example.

このとき、キャプチャ動作によって組み合わせ回路群10bから出力されるデータは、入力クロックCLK_inに同期してスキャンアウト端子390から出力される。図5では、M,Nのタイミングでスキャンアウト端子390からデータを出力する。   At this time, data output from the combinational circuit group 10b by the capture operation is output from the scan-out terminal 390 in synchronization with the input clock CLK_in. In FIG. 5, data is output from the scan-out terminal 390 at the timing of M and N.

データB,Cの入力が完了すると、キャプチャ動作からシフト動作に切り替わる。すなわち、動作切替信号T_Scan_enがLow(0)からHigh(1)に変化する。このとき、クロック選択信号CLK_selはLow(0)となり、スキャンクロックCLK_scには入力クロックCLK_inと同じ周期でエッジが発生する。   When the input of data B and C is completed, the capture operation is switched to the shift operation. That is, the operation switching signal T_Scan_en changes from Low (0) to High (1). At this time, the clock selection signal CLK_sel becomes Low (0), and an edge is generated in the scan clock CLK_sc in the same cycle as the input clock CLK_in.

そして、クロック選択信号CLK_selがHigh(1)からLow(0)に変化した直後は、スキャンクロックCLK_scにクロックマスク信号CLK_mskが重畳される。従って、その間はスキャンクロック信号CLK_scにはエッジが発生せず、FFはマスク期間の間、組み合わせ回路群10bに対するデータ出力を待機することになり、キャプチャ動作とシフト動作の切り替わり時に発生するグリッチを防止できる。なお、スキャンクロックCLK_scがマスクされている間は、スキャンイン端子380は、テスタ200から、ダミーデータが入力されている。   Immediately after the clock selection signal CLK_sel changes from High (1) to Low (0), the clock mask signal CLK_msk is superimposed on the scan clock CLK_sc. Accordingly, no edge occurs in the scan clock signal CLK_sc during that time, and the FF waits for data output to the combinational circuit group 10b during the mask period, thereby preventing a glitch that occurs when the capture operation and the shift operation are switched. it can. Note that dummy data is input from the tester 200 to the scan-in terminal 380 while the scan clock CLK_sc is masked.

また、クロックマスク信号CLK_mskは、上述したように分周器330にも入力されており、分周器330はクロックマスク信号CLK_mskによってエッジをリセットされる。すなわち、分周器330は、クロックマスク信号CLK_mskの立ち下がりのタイミングから、新たなカウントを開始する。   The clock mask signal CLK_msk is also input to the frequency divider 330 as described above, and the frequency divider 330 has its edge reset by the clock mask signal CLK_msk. That is, the frequency divider 330 starts a new count from the falling timing of the clock mask signal CLK_msk.

そして、ダミーデータに続いて、スキャンイン端子380にはデータEが入力される。このとき、シフトチェーン320は、入力クロックCLK_inに同期してデータをシフトし、入力クロックCLK_inに同期してスキャンアウト端子390からデータを出力するシフト動作を実行する。図5では、Oのタイミングでスキャンアウト端子390からデータを出力する。   Subsequently to the dummy data, data E is input to the scan-in terminal 380. At this time, the shift chain 320 performs a shift operation of shifting data in synchronization with the input clock CLK_in and outputting data from the scan-out terminal 390 in synchronization with the input clock CLK_in. In FIG. 5, data is output from the scan-out terminal 390 at the timing O.

以上説明したように、LSI300に外部から入力された入力クロックCLK_inと、LSI300の内部で発生させた分周クロックCLK_divとを利用して、スキャンクロックCLK_scを生成するため、キャプチャ動作とシフト動作のそれぞれに最適なクロックを用いてLSIの内部検査を行うことができる。また、キャプチャ動作とシフト動作の切り替わり時にマスク信号をスキャンクロックCLK_scに重畳しているため、キャプチャ動作とシフト動作の切り替わり時に発生するグリッチを防止できる。さらに、クロックマスク信号CLK_mskによってLSI300の内部で生成される分周クロックCLK_divをリセットするため、キャプチャ動作とシフト動作の切り替わり時に分周クロックのHighとLowの発生タイミングをリセットすることができる。   As described above, since the scan clock CLK_sc is generated using the input clock CLK_in input from the outside to the LSI 300 and the divided clock CLK_div generated inside the LSI 300, each of the capture operation and the shift operation is performed. It is possible to perform an internal inspection of the LSI using an optimal clock. Further, since the mask signal is superimposed on the scan clock CLK_sc when the capture operation and the shift operation are switched, a glitch that occurs when the capture operation and the shift operation are switched can be prevented. Further, since the divided clock CLK_div generated inside the LSI 300 by the clock mask signal CLK_msk is reset, the generation timing of the divided clock High and Low can be reset when the capture operation and the shift operation are switched.

(3)半導体集積回路の試験方法の第2実施例:
図6は、本第2実施例において試験対象となるLSIの構成を示す要部回路図であり、図7,8は、第2実施例に係るLSIの動作を説明するタイミングチャートである。
図6において、LSI400は、スキャンチェーン420、分周器430、セレクタ回路440、クロックマスク回路450、CK端子460、TEN端子470、スキャンイン端子480、スキャンアウト端子490、PLL(Phase Locked Loop)回路500、を備えている。
(3) Second embodiment of test method for semiconductor integrated circuit:
FIG. 6 is a principal circuit diagram showing the configuration of the LSI to be tested in the second embodiment, and FIGS. 7 and 8 are timing charts for explaining the operation of the LSI according to the second embodiment.
In FIG. 6, an LSI 400 includes a scan chain 420, a frequency divider 430, a selector circuit 440, a clock mask circuit 450, a CK terminal 460, a TEN terminal 470, a scan-in terminal 480, a scan-out terminal 490, and a PLL (Phase Locked Loop) circuit. 500.

なお、LSI400を構成する各部420,430,450〜490は上述した第1実施例のLSI300における各部320,330,350〜390とそれぞれ同様の構成であるため、以下では、詳細な説明を省略する。また、テスタ200も上述した第1実施例と同様であるため、第1実施例と同じ符号を付し、説明を省略する   The units 420, 430, and 450 to 490 constituting the LSI 400 have the same configuration as the units 320, 330, and 350 to 390 in the LSI 300 of the first embodiment described above. . Further, since the tester 200 is the same as that of the first embodiment described above, the same reference numerals as those of the first embodiment are given and the description thereof is omitted.

PLL回路500は、入力クロックCLK_inの入力を受けており、この入力クロックCLK_inを元に所定周波数のPLLクロック信号CLK_pllを発振する。ただし、PLL回路500は、安定発振するまでに数百ミリ秒を要するため、半導体集積回路の試験の開始初期には利用できない。   The PLL circuit 500 receives an input clock CLK_in, and oscillates a PLL clock signal CLK_pll having a predetermined frequency based on the input clock CLK_in. However, since the PLL circuit 500 requires several hundred milliseconds for stable oscillation, it cannot be used at the beginning of the test of the semiconductor integrated circuit.

そこで、本第2実施例においては、後述するセレクタ回路440を用いることにより、試験の初期は入力クロックCLK_inと分周クロックCLK_divとを使い分けて試験を行い、PLL回路500が安定発振可能な状態になるとPLLクロックCLK_pllも利用してクロックの切替を行いつつ試験を行う。   Therefore, in the second embodiment, by using the selector circuit 440 described later, the test is performed using the input clock CLK_in and the divided clock CLK_div separately at the initial stage of the test, so that the PLL circuit 500 can stably oscillate. Then, the test is performed while switching the clock using the PLL clock CLK_pll.

セレクタ回路440は、入力クロックCLK_inと分周クロックCLK_divとPLLクロックCLK_pllとクロック選択信号CLK_selとを入力されており、クロック選択信号CLK_selによって指定されるいずれか1つのクロック信号を選択的に出力する。   The selector circuit 440 receives the input clock CLK_in, the divided clock CLK_div, the PLL clock CLK_pll, and the clock selection signal CLK_sel, and selectively outputs any one clock signal specified by the clock selection signal CLK_sel.

本実施例2に示すセレクタ回路440に入力されるクロック選択信号CLK_selは、クロック切り替わり時に立ち上がりもしくは立ち下がり(以下、まとめてエッジと呼ぶことがある。)が発生する信号である。   The clock selection signal CLK_sel input to the selector circuit 440 according to the second embodiment is a signal that rises or falls (hereinafter sometimes referred to as an edge) when the clock is switched.

セレクタ回路440は、クロック選択信号CLK_selのエッジ検出回路と、カウンタ回路とを内蔵している。セレクタ回路440は、クロック選択信号CLK_selのエッジを検出すると、出力するクロックを入力クロックCLK_inと分周クロックCLK_divとPLLクロックCLK_pllの間で切り替える。   The selector circuit 440 includes an edge detection circuit for the clock selection signal CLK_sel and a counter circuit. When the selector circuit 440 detects an edge of the clock selection signal CLK_sel, the selector circuit 440 switches the output clock among the input clock CLK_in, the divided clock CLK_div, and the PLL clock CLK_pll.

すなわち、セレクタ回路440は、クロック選択信号CLK_selの1つ目のエッジを検出すると分周クロックCLK_divを出力し、2つ目のエッジを検出すると入力クロックCLK_inを出力し、3つ目のエッジを検出するとPLLクロックCLK_pllを出力する。   That is, the selector circuit 440 outputs the divided clock CLK_div when detecting the first edge of the clock selection signal CLK_sel, outputs the input clock CLK_in when detecting the second edge, and detects the third edge. Then, the PLL clock CLK_pll is output.

その後は、エッジを検出する度に出力するクロックを、入力クロックCLK_inと分周クロックCLK_divとPLLクロックCLK_pllとを順次切り替えて出力する。なお、これら3種類のクロックは外部から選択可能であり、図6では、PLLクロックを0、入力クロックを2、分周クロックを1で指定できるようになっている。   Thereafter, the clock output every time an edge is detected is output by switching the input clock CLK_in, the divided clock CLK_div, and the PLL clock CLK_pll in order. These three types of clocks can be selected from the outside. In FIG. 6, the PLL clock can be designated by 0, the input clock by 2, and the divided clock by 1.

図7に示す例では、動作切替信号T_Scan_enがシフト動作を指示しているときは(High(1))、分周クロックCLK_divを出力し、動作切替信号T_Scan_enがキャプチャ動作を指示しているときは(Low(0))、入力クロックCLK_in又はPLLクロックCLK_pllを出力する。   In the example shown in FIG. 7, when the operation switching signal T_Scan_en instructs a shift operation (High (1)), the frequency-divided clock CLK_div is output, and when the operation switching signal T_Scan_en instructs a capture operation. (Low (0)), the input clock CLK_in or the PLL clock CLK_pll is output.

その結果、セレクタ回路440は、シフト動作時には分周クロックCLK_divの周期でエッジが発生し、キャプチャ動作時には入力クロックCLK_inもしくはPLLクロックCLK_pllの周期でエッジが発生する、合成クロックCLK_plsを出力する。   As a result, the selector circuit 440 outputs the composite clock CLK_pls in which an edge is generated at the period of the divided clock CLK_div during the shift operation and an edge is generated at the period of the input clock CLK_in or the PLL clock CLK_pll during the capture operation.

また、図8に示す例では、動作切替信号T_Scan_enがシフト動作を指示しているときは(Hihg(1))、入力クロックCLK_inを出力し、動作切替信号T_Scan_enがキャプチャ動作を指示しているときは(Low(0))、分周クロックCLK_divまたはPLLクロックCLK_pllを出力する。   In the example shown in FIG. 8, when the operation switching signal T_Scan_en instructs the shift operation (Hihg (1)), the input clock CLK_in is output, and the operation switching signal T_Scan_en instructs the capture operation. (Low (0)) outputs the divided clock CLK_div or the PLL clock CLK_pll.

その結果、セレクタ回路440は、シフト動作時には入力クロックの周期でエッジが発生し、キャプチャ動作時には分周クロックCLK_divまたはPLLクロックCLK_pllの周期でエッジが発生する、合成クロックCLK_plsを出力する。   As a result, the selector circuit 440 outputs a composite clock CLK_pls in which an edge is generated at the cycle of the input clock during the shift operation and an edge is generated at the cycle of the divided clock CLK_div or the PLL clock CLK_pll during the capture operation.

なお、合成クロックCLK_plsは過渡的なクロック信号なので、図7や図8には示していない。また、本第2実施例においては、キャプチャ動作におけるクロックを動的に変更してLSIの試験を行う場合について説明するが、むろん、シフト動作におけるクロックを動的に変更してLSIの試験を行ってもよい。   The synthesized clock CLK_pls is a transient clock signal and is not shown in FIGS. In the second embodiment, the case where the LSI is tested by dynamically changing the clock in the capture operation will be described. Of course, the LSI is tested by dynamically changing the clock in the shift operation. May be.

クロックマスク回路450は、クロックマスク信号CLK_mskを合成クロック信号CLK_plsに重畳し、スキャンクロック信号CLK_scを生成する。従って、スキャンクロック信号CLK_scは、シフト動作とキャプチャ動作とが切り替わった直後の所定期間において、合成クロック信号CLK_plsのエッジをマスクした信号となる。   The clock mask circuit 450 superimposes the clock mask signal CLK_msk on the synthesized clock signal CLK_pls to generate a scan clock signal CLK_sc. Therefore, the scan clock signal CLK_sc is a signal in which the edge of the combined clock signal CLK_pls is masked in a predetermined period immediately after the shift operation and the capture operation are switched.

スキャンクロック信号CLK_scは、スキャンチェーン420を構成する各スキャンFFのCK端子に入力され、各スキャンFFは、スキャンクロック信号CLK_scのクロックにて動作する。   The scan clock signal CLK_sc is input to the CK terminal of each scan FF constituting the scan chain 420, and each scan FF operates with the clock of the scan clock signal CLK_sc.

その結果、スキャンチェーン420により構築されたシフトレジスタは、シフト動作が選択されているときは分周クロックCLK_divと同じ動作周波数でデータをシフトし、キャプチャ動作が選択されているときは入力クロックCLK_inもしくはPLLクロックCLK_pllと同じ動作周波数でデータをシフトする。すなわち、テスタ200から単一の入力クロックCLK_inのみを入力しているにも関わらず、複数の動作周波数でLSI400を動作させることができる。   As a result, the shift register constructed by the scan chain 420 shifts data at the same operating frequency as the divided clock CLK_div when the shift operation is selected, and the input clock CLK_in or when the capture operation is selected. Data is shifted at the same operating frequency as the PLL clock CLK_pll. That is, although only a single input clock CLK_in is input from the tester 200, the LSI 400 can be operated at a plurality of operating frequencies.

さらに、シフト動作とキャプチャ動作とが切り替わった直後の所定期間は、スキャンクロックにエッジが無いマスク期間が設けられるため、データのシフトが行われず、キャプチャ動作とシフト動作の切り替わり時のグリッチを防止することができる。   Further, since a mask period without an edge in the scan clock is provided for a predetermined period immediately after the shift operation and the capture operation are switched, data is not shifted, and glitches are prevented when the capture operation and the shift operation are switched. be able to.

[キャプチャ動作がスキャン動作よりも高速な場合]
次に、スキャンイン端子480に入力されるデータとクロック信号や制御信号との関係について、図7を参照しつつ説明する。なお、図7には、LSI400において、キャプチャ動作がスキャン動作に比べて高速クロックで動作可能である場合を例示してある。
[When the capture operation is faster than the scan operation]
Next, the relationship between the data input to the scan-in terminal 480 and the clock signal or control signal will be described with reference to FIG. FIG. 7 illustrates the case where the capture operation can be performed with a high-speed clock in the LSI 400 as compared with the scan operation.

図7では、スキャンイン端子480にデータAが入力されているとき、テスタ200からシフト動作が指示されている。すなわち、テスタ200からHigh(1)の動作切替信号T_Scan_enが入力されている。このとき、クロック選択信号CLK_selは1であり、スキャンクロックCLK_scには分周クロックCLK_divと同じ周期でエッジが発生する。   In FIG. 7, when data A is input to the scan-in terminal 480, a shift operation is instructed from the tester 200. That is, a high (1) operation switching signal T_Scan_en is input from the tester 200. At this time, the clock selection signal CLK_sel is 1, and an edge is generated in the scan clock CLK_sc in the same cycle as the divided clock CLK_div.

このとき、分周クロックCLK_divに同期してシフトチェーン420のデータをシフトし、分周クロックCLK_divに同期してスキャンアウト端子490からデータを出力するシフト動作が実行される。本実施形態においてはクロックの立ち上がりでデータを出力するため、図7では、H,Iのタイミングでスキャンアウト端子390からデータを出力する。   At this time, the shift operation of shifting the data of the shift chain 420 in synchronization with the divided clock CLK_div and outputting the data from the scan-out terminal 490 in synchronization with the divided clock CLK_div is executed. In this embodiment, since data is output at the rising edge of the clock, data is output from the scan-out terminal 390 at the timing of H and I in FIG.

次に、スキャンイン端子480に対するデータAの入力が終了すると、シフト動作からキャプチャ動作に切り替わる。すなわち、動作切替信号T_Scan_enがHigh(1)からLow(0)に変化する。このとき、クロック選択信号CLK_selは、1から2に変化し、スキャンクロックCLK_scには入力クロックCLK_inと同じ周期でエッジが発生する。キャプチャ動作はスキャン動作よりも高速で実行可能であるからである。   Next, when the input of data A to the scan-in terminal 480 is completed, the shift operation is switched to the capture operation. That is, the operation switching signal T_Scan_en changes from High (1) to Low (0). At this time, the clock selection signal CLK_sel changes from 1 to 2, and an edge occurs in the scan clock CLK_sc in the same cycle as the input clock CLK_in. This is because the capture operation can be performed at a higher speed than the scan operation.

ここで、クロック選択信号CLK_selが1から2に変化した直後は、スキャンクロックCLK_scにクロックマスク信号CLK_mskが重畳される。従って、その間はスキャンクロック信号CLK_scにはエッジが発生せず、FFはマスク期間の間、組み合わせ回路群10bに対するデータ出力を待機することになり、キャプチャ動作とシフト動作の切り替わり時に発生するグリッチを防止できる。なお、スキャンクロックCLK_scがマスクされている間は、スキャンイン端子480は、テスタ200から、ダミーデータが入力されている。   Here, immediately after the clock selection signal CLK_sel changes from 1 to 2, the clock mask signal CLK_msk is superimposed on the scan clock CLK_sc. Accordingly, no edge occurs in the scan clock signal CLK_sc during that time, and the FF waits for data output to the combinational circuit group 10b during the mask period, thereby preventing a glitch that occurs when the capture operation and the shift operation are switched. it can. Note that dummy data is input from the tester 200 to the scan-in terminal 480 while the scan clock CLK_sc is masked.

また、クロックマスク信号CLK_mskは、図6には図示していない入力経路を介して分周器430にも入力されており、分周器430はクロックマスク信号CLK_mskによってエッジをリセットされる。すなわち、クロックマスク信号CLK_mskの立ち下がりのタイミングで分周器430のカウントがリセットされ、新たなカウントを開始する。   The clock mask signal CLK_msk is also input to the frequency divider 430 via an input path (not shown in FIG. 6), and the frequency divider 430 is reset by the clock mask signal CLK_msk. That is, the count of the frequency divider 430 is reset at the falling timing of the clock mask signal CLK_msk, and a new count is started.

ダミーデータに続いて、スキャンイン端子480にはデータB,C,Dが順次に入力される。ただし、LSI400は、このときキャプチャ動作を行っているためスキャンチェーン420は無効になり、スキャンイン端子480も通常のデータ端子として動作している。従って、スキャンイン端子480に入力されるデータB,C,Dはスキャンチェーン420には入力されず、例えば、組み合わせ回路群10bに入力される。   Following the dummy data, data B, C, and D are sequentially input to the scan-in terminal 480. However, since the LSI 400 is performing a capture operation at this time, the scan chain 420 is disabled, and the scan-in terminal 480 is also operating as a normal data terminal. Accordingly, the data B, C, and D input to the scan-in terminal 480 are not input to the scan chain 420 but are input to the combinational circuit group 10b, for example.

このとき、キャプチャ動作によって組み合わせ回路群10bから出力されるデータは、入力クロックCLK_inに同期してスキャンアウト端子490から出力される。図7では、J,K,Lのタイミングでスキャンアウト端子490からデータを出力する。   At this time, data output from the combinational circuit group 10b by the capture operation is output from the scan-out terminal 490 in synchronization with the input clock CLK_in. In FIG. 7, data is output from the scan-out terminal 490 at the timing of J, K, and L.

データB,C,Dの入力が完了すると、これまでキャプチャ動作において使用していた入力クロックCLK_inの代わりにPLLクロックCLK_pllを利用するように変更する。すなわち、クロック選択信号CLK_selを2から0に変化させる。これにより、スキャンクロックCLK_scには、PLLクロックCLK_pllと同じ周期でエッジが発生する。   When the input of data B, C, and D is completed, the PLL clock CLK_pll is changed to be used instead of the input clock CLK_in that has been used in the capture operation so far. That is, the clock selection signal CLK_sel is changed from 2 to 0. As a result, an edge is generated in the scan clock CLK_sc at the same cycle as that of the PLL clock CLK_pll.

なお、図7においては、図示の都合上、PLLクロックCLK_pllを入力クロックCLK_inと同じクロック速度としてあるが、むろん、入力クロックCLK_inよりも更にキャプチャ動作に適したクロックがある場合は、PLLクロックCLK_pllのクロック速度を、キャプチャ動作に適した速度に適宜に設定可能である。   In FIG. 7, for the sake of illustration, the PLL clock CLK_pll has the same clock speed as the input clock CLK_in. Of course, if there is a clock more suitable for the capture operation than the input clock CLK_in, the PLL clock CLK_pll The clock speed can be appropriately set to a speed suitable for the capture operation.

このように、クロック選択信号CLK_selが2から0に変化した直後は、スキャンクロックCLK_scにクロックマスク信号CLK_mskが重畳される。従って、その間はスキャンクロック信号CLK_scにはエッジが発生せず、FFはマスク期間の間、組み合わせ回路群10bに対するデータ出力を待機することになり、入力クロックの切り替わり時に発生するグリッチを防止できる。なお、スキャンクロックCLK_scがマスクされている間は、スキャンイン端子480は、テスタ200から、ダミーデータが入力されている。   Thus, immediately after the clock selection signal CLK_sel changes from 2 to 0, the clock mask signal CLK_msk is superimposed on the scan clock CLK_sc. Accordingly, no edge is generated in the scan clock signal CLK_sc during that period, and the FF waits for data output to the combinational circuit group 10b during the mask period, thereby preventing a glitch that occurs when the input clock is switched. Note that dummy data is input from the tester 200 to the scan-in terminal 480 while the scan clock CLK_sc is masked.

また、クロックマスク信号CLK_mskは、上述したように分周器430にも入力されており、分周器430はクロックマスク信号CLK_mskによってエッジをリセットされる。すなわち、分周器430は、クロックマスク信号CLK_mskの立ち下がりのタイミングから、新たなカウントを開始する。   The clock mask signal CLK_msk is also input to the frequency divider 430 as described above, and the frequency divider 430 has its edge reset by the clock mask signal CLK_msk. That is, the frequency divider 430 starts a new count from the falling timing of the clock mask signal CLK_msk.

そして、ダミーデータに続いて、スキャンイン端子480にはデータE,F,Gが順次に入力される。このときも、LSI400は、キャプチャ動作を行っているためスキャンチェーン420は無効であり、スキャンイン端子480も通常のデータ端子として動作している。従って、スキャンイン端子480に入力されるデータE,F,Gはスキャンチェーン420には入力されず、例えば、組み合わせ回路10bに入力され、キャプチャ動作によって組み合わせ回路10bから出力されるデータは、入力クロックCLK_pllに同期してスキャンアウト端子490から出力される。図7では、M,N,Oのタイミングでスキャンアウト端子490からデータを出力する。   Subsequently to the dummy data, data E, F, and G are sequentially input to the scan-in terminal 480. Also at this time, since the LSI 400 is performing the capture operation, the scan chain 420 is invalid, and the scan-in terminal 480 is also operating as a normal data terminal. Accordingly, the data E, F, and G input to the scan-in terminal 480 are not input to the scan chain 420. For example, the data E, F, and G input to the combination circuit 10b and output from the combination circuit 10b by the capture operation are input clocks. The signal is output from the scan-out terminal 490 in synchronization with CLK_pll. In FIG. 7, data is output from the scan-out terminal 490 at the timing of M, N, and O.

以上説明したように、LSI400に外部から入力された入力クロックCLK_in、LSI300の内部で発生させた分周クロックCLK_divやPLLクロックCLK_pll、を利用して、スキャンクロックCLK_scを生成するため、キャプチャ動作とシフト動作のそれぞれに最適なクロックを用いてLSIの内部検査を行うことができる。また、キャプチャ動作とシフト動作の切り替わり時にマスク信号をスキャンクロックCLK_scに重畳しているため、キャプチャ動作とシフト動作の切り替わり時に発生するグリッチを防止できる。さらに、クロックマスク信号CLK_mskによってLSI400の内部で生成される分周クロックCLK_divをリセットするため、キャプチャ動作とシフト動作の切り替わり時に分周クロックのHighとLowの発生タイミングをリセットすることができる。   As described above, since the scan clock CLK_sc is generated using the input clock CLK_in input from the outside to the LSI 400 and the divided clock CLK_div and the PLL clock CLK_pll generated inside the LSI 300, the capture operation and the shift are performed. An internal inspection of the LSI can be performed using a clock that is optimal for each operation. Further, since the mask signal is superimposed on the scan clock CLK_sc when the capture operation and the shift operation are switched, a glitch that occurs when the capture operation and the shift operation are switched can be prevented. Further, since the divided clock CLK_div generated inside the LSI 400 by the clock mask signal CLK_msk is reset, the generation timing of the divided clock High and Low can be reset when the capture operation and the shift operation are switched.

[スキャン動作がキャプチャ動作よりも高速な場合]
次に図8を参照しつつ、スキャンイン端子480に入力されるデータとクロック信号や制御信号との関係についての他の例について説明する。図8には、LSI400において、スキャン動作がキャプチャ動作に比べて高速クロックで動作可能である場合を例示してある。
[When scan operation is faster than capture operation]
Next, another example of the relationship between data input to the scan-in terminal 480 and a clock signal or control signal will be described with reference to FIG. FIG. 8 illustrates a case where the scan operation can be performed with a high-speed clock in the LSI 400 as compared with the capture operation.

図8では、スキャンイン端子480にデータA,Bが順次に入力されているとき、テスタ200からシフト動作が指示されている。すなわち、テスタ200からHigh(1)の動作切替信号T_Scan_enが入力されている。このとき、クロック選択信号CLK_selは1であり、スキャンクロックCLK_scには入力クロックCLK_inと同じ周期でエッジが発生する。   In FIG. 8, when data A and B are sequentially input to the scan-in terminal 480, a shift operation is instructed from the tester 200. That is, a high (1) operation switching signal T_Scan_en is input from the tester 200. At this time, the clock selection signal CLK_sel is 1, and an edge occurs in the scan clock CLK_sc in the same cycle as the input clock CLK_in.

従って、入力クロックCLK_inに同期してシフトチェーン420のデータをシフトし、入力クロックCLK_inに同期してスキャンアウト端子490からデータを出力するシフト動作が実行される。本実施形態においてはクロックの立ち上がりでデータを出力するため、図8では、E,F,Gのタイミングでスキャンアウト端子490からデータを出力する。   Therefore, a shift operation is performed in which data in the shift chain 420 is shifted in synchronization with the input clock CLK_in, and data is output from the scan-out terminal 490 in synchronization with the input clock CLK_in. In this embodiment, since data is output at the rising edge of the clock, in FIG. 8, data is output from the scan-out terminal 490 at the timings E, F, and G.

次に、スキャンイン端子480に対するデータA,Bの入力が終了すると、シフト動作からキャプチャ動作に切り替わる。すなわち、動作切替信号T_Scan_enがHigh(1)からLow(0)に変化する。このとき、クロック選択信号CLK_selは2から1に変化し、スキャンクロックCLK_scには分周クロックCLK_divと同じ周期でエッジが発生する。キャプチャ動作はスキャン動作よりも低速で実行されるからである。   Next, when the input of the data A and B to the scan-in terminal 480 is completed, the shift operation is switched to the capture operation. That is, the operation switching signal T_Scan_en changes from High (1) to Low (0). At this time, the clock selection signal CLK_sel changes from 2 to 1, and an edge is generated in the scan clock CLK_sc in the same cycle as the divided clock CLK_div. This is because the capture operation is executed at a lower speed than the scan operation.

ここで、クロック選択信号CLK_selが2から1に変化した直後は、スキャンクロックCLK_scにクロックマスク信号CLK_mskが重畳される。従って、その間はスキャンクロック信号CLK_scにはエッジが発生せず、FFはマスク期間の間、組み合わせ回路群10bに対するデータ出力を待機することになり、キャプチャ動作とシフト動作の切り替わり時に発生するグリッチを防止できる。なお、スキャンクロックCLK_scがマスクされている間は、スキャンイン端子480は、テスタ200から、ダミーデータが入力されている。   Here, immediately after the clock selection signal CLK_sel changes from 2 to 1, the clock mask signal CLK_msk is superimposed on the scan clock CLK_sc. Accordingly, no edge occurs in the scan clock signal CLK_sc during that time, and the FF waits for data output to the combinational circuit group 10b during the mask period, thereby preventing a glitch that occurs when the capture operation and the shift operation are switched. it can. Note that dummy data is input from the tester 200 to the scan-in terminal 480 while the scan clock CLK_sc is masked.

また、分周器430はクロックマスク信号CLK_mskによってエッジをリセットされるため、クロックマスク信号CLK_mskの立ち下がりのタイミングで分周器430のカウントがリセットされ、新たなカウントを開始する。   Further, since the edge of frequency divider 430 is reset by clock mask signal CLK_msk, the count of frequency divider 430 is reset at the falling timing of clock mask signal CLK_msk, and a new count is started.

ダミーデータに続いて、スキャンイン端子480にはデータCが入力される。ただし、LSI400は、このときキャプチャ動作を行っているためスキャンチェーン420は無効になり、スキャンイン端子480も通常のデータ端子として動作している。従って、スキャンイン端子480に入力されるデータCはスキャンチェーン420には入力されず、例えば、組み合わせ回路群10bに入力される。   Following the dummy data, data C is input to the scan-in terminal 480. However, since the LSI 400 is performing a capture operation at this time, the scan chain 420 is disabled, and the scan-in terminal 480 is also operating as a normal data terminal. Therefore, the data C input to the scan-in terminal 480 is not input to the scan chain 420 but is input to the combinational circuit group 10b, for example.

このとき、キャプチャ動作によって組み合わせ回路群10bから出力されるデータは、分周クロックCLK_divに同期してスキャンアウト端子490から出力される。図8では、Hのタイミングでスキャンアウト端子490からデータを出力する。   At this time, data output from the combinational circuit group 10b by the capture operation is output from the scan-out terminal 490 in synchronization with the divided clock CLK_div. In FIG. 8, data is output from the scan-out terminal 490 at the H timing.

データCの入力が完了すると、これまでキャプチャ動作において使用していた分周クロックCLK_divの代わりにPLLクロックCLK_pllを利用するように変更する。すなわち、クロック選択信号CLK_selを1から0に変化させる。これにより、スキャンクロックCLK_scには、PLLクロックCLK_pllと同じ周期でエッジが発生する。   When the input of the data C is completed, the PLL clock CLK_pll is changed to be used instead of the divided clock CLK_div used so far in the capture operation. That is, the clock selection signal CLK_sel is changed from 1 to 0. As a result, an edge is generated in the scan clock CLK_sc at the same cycle as that of the PLL clock CLK_pll.

なお、図8においては、図示する都合上、PLLクロックCLK_pllを分周クロックCLK_divと同じクロック速度として示してあるが、むろん、分周クロックCLK_divよりも更にキャプチャ動作に適したクロックがある場合は、PLLクロックCLK_pllのクロック速度は、キャプチャ動作に適した速度に適宜に設定可能である。   In FIG. 8, for convenience of illustration, the PLL clock CLK_pll is shown as the same clock speed as the divided clock CLK_div. However, of course, if there is a clock more suitable for the capture operation than the divided clock CLK_div, The clock speed of the PLL clock CLK_pll can be appropriately set to a speed suitable for the capture operation.

このように、クロック選択信号CLK_selが1から0に変化した直後は、スキャンクロックCLK_scにクロックマスク信号CLK_mskが重畳される。従って、その間はスキャンクロック信号CLK_scにはエッジが発生せず、FFはマスク期間の間、組み合わせ回路群10bに対するデータ出力を待機することになり、キャプチャ動作とシフト動作の切り替わり時に発生するグリッチを防止できる。なお、スキャンクロックCLK_scがマスクされている間は、スキャンイン端子480は、テスタ200から、ダミーデータが入力されている。   Thus, immediately after the clock selection signal CLK_sel changes from 1 to 0, the clock mask signal CLK_msk is superimposed on the scan clock CLK_sc. Accordingly, no edge occurs in the scan clock signal CLK_sc during that time, and the FF waits for data output to the combinational circuit group 10b during the mask period, thereby preventing a glitch that occurs when the capture operation and the shift operation are switched. it can. Note that dummy data is input from the tester 200 to the scan-in terminal 480 while the scan clock CLK_sc is masked.

また、クロックマスク信号CLK_mskは、上述したように分周器430にも入力されており、分周器430はクロックマスク信号CLK_mskによってエッジをリセットされる。すなわち、分周器430は、クロックマスク信号CLK_mskの立ち下がりのタイミングで、新たなカウントを開始する。   The clock mask signal CLK_msk is also input to the frequency divider 430 as described above, and the frequency divider 430 has its edge reset by the clock mask signal CLK_msk. That is, the frequency divider 430 starts a new count at the falling timing of the clock mask signal CLK_msk.

そして、ダミーデータに続いて、スキャンイン端子480にはデータDが入力される。このときも、LSI400は、キャプチャ動作を行っているためスキャンチェーン420は無効であり、スキャンイン端子480も通常のデータ端子として動作している。従って、スキャンイン端子480に入力されるデータDはスキャンチェーン420には入力されず、例えば、組み合わせ回路群10bに入力される。そして、キャプチャ動作によって組み合わせ回路群10bから出力されるデータは、PLLクロックCLK_pllに同期してスキャンアウト端子490から出力される。図8では、Iのタイミングでスキャンアウト端子490からデータを出力する。   Subsequently to the dummy data, data D is input to the scan-in terminal 480. Also at this time, since the LSI 400 is performing the capture operation, the scan chain 420 is invalid, and the scan-in terminal 480 is also operating as a normal data terminal. Accordingly, the data D input to the scan-in terminal 480 is not input to the scan chain 420 but is input to the combinational circuit group 10b, for example. Data output from the combinational circuit group 10b by the capture operation is output from the scan-out terminal 490 in synchronization with the PLL clock CLK_pll. In FIG. 8, data is output from the scan-out terminal 490 at the timing I.

以上説明したように、LSI400に外部から入力された入力クロックCLK_in、LSI400の内部で発生させた分周クロックCLK_divやPLLクロックCLK_pll、を利用して、スキャンクロックCLK_scを生成するため、キャプチャ動作とシフト動作のそれぞれに最適なクロックを用いてLSI400の内部検査を行うことができる。また、キャプチャ動作とシフト動作の切り替わり時にマスク信号をスキャンクロックCLK_scに重畳しているため、キャプチャ動作とシフト動作の切り替わり時に発生するグリッチを防止できる。さらに、クロックマスク信号CLK_mskによってLSI400の内部で生成される分周クロックCLK_divをリセットするため、キャプチャ動作とシフト動作の切り替わり時に分周クロックのHighとLowの発生タイミングをリセットすることができる。   As described above, since the scan clock CLK_sc is generated using the input clock CLK_in input from the outside to the LSI 400 and the divided clock CLK_div and the PLL clock CLK_pll generated inside the LSI 400, the capture operation and the shift are performed. An internal inspection of the LSI 400 can be performed using a clock that is optimal for each operation. Further, since the mask signal is superimposed on the scan clock CLK_sc when the capture operation and the shift operation are switched, a glitch that occurs when the capture operation and the shift operation are switched can be prevented. Further, since the divided clock CLK_div generated inside the LSI 400 by the clock mask signal CLK_msk is reset, the generation timing of the divided clock High and Low can be reset when the capture operation and the shift operation are switched.

(4)まとめ:
以上説明した本実施形態から、少なくとも以下の技術的思想が把握される。
(4) Summary:
From this embodiment described above, at least the following technical ideas can be grasped.

(a)複数の組み合わせ回路と、当該複数の組み合わせ回路のスキャンテストを行うためのスキャンチェーンを構成する複数のスキャンフリップフロップと、を有する半導体集積回路、の検査方法であって、
クロック生成装置から前記半導体集積回路に一定周波数の第1クロックを入力する入力工程と、
前記半導体集積回路の内蔵する分周器が前記第1クロックを分周して第2クロックを生成する分周工程と、
前記複数のスキャンフリップフロップに入力するクロックを、前記第1クロックと前記第2クロックとの間で動的に切り替えつつ前記半導体集積回路を検査する検査工程と、
を備える半導体集積回路の検査方法。
(A) An inspection method of a semiconductor integrated circuit having a plurality of combinational circuits and a plurality of scan flip-flops constituting a scan chain for performing a scan test of the plurality of combinational circuits,
An input step of inputting a first clock having a constant frequency from a clock generator to the semiconductor integrated circuit;
A frequency dividing step in which a frequency divider incorporated in the semiconductor integrated circuit divides the first clock to generate a second clock;
An inspection step of inspecting the semiconductor integrated circuit while dynamically switching a clock input to the plurality of scan flip-flops between the first clock and the second clock;
A method for inspecting a semiconductor integrated circuit comprising:

(b)前記分周器は、前記スキャンチェーンに含まれないフリップフロップにて構成される(a)に記載の半導体集積回路の検査方法。 (B) The semiconductor integrated circuit inspection method according to (a), wherein the frequency divider includes a flip-flop that is not included in the scan chain.

(c)前記第1クロックは、前記クロック生成装置が出力可能な最大クロック、または、前記半導体集積回路が含む回路の動作周波数の中で最大クロック、のいずれか大きい方である(a)または(b)に記載の半導体集積回路の検査方法。 (C) The first clock is the larger of the maximum clock that can be output by the clock generation device or the maximum clock among the operating frequencies of the circuits included in the semiconductor integrated circuit (a) or ( The inspection method of the semiconductor integrated circuit as described in b).

(d)前記スキャンテストにおけるキャプチャ動作には、前記第1クロックを用い、
前記スキャンテストにおけるシフト動作には、前記第2クロックを用いる(a)〜(c)のいずれか1項に記載の半導体集積回路の検査方法。
(D) The capture operation in the scan test uses the first clock,
The inspection method for a semiconductor integrated circuit according to any one of (a) to (c), wherein the second clock is used for the shift operation in the scan test.

(e)前記キャプチャ動作と前記シフト動作の切り替わり直後であって、前記第1クロックと前記第2クロックが切り替わった直後には、前記複数のスキャンフリップフロップに入力するクロックのエッジをマスクする(d)に記載の半導体集積回路の検査方法。 (E) Immediately after the capture operation and the shift operation are switched, and immediately after the first clock and the second clock are switched, the edges of the clocks input to the plurality of scan flip-flops are masked (d The method for inspecting a semiconductor integrated circuit according to (1).

(f)前記半導体集積回路は、外部からの制御に応じて前記第2クロックの周波数を変更するクロック制御部を備え、
前記分周工程においては、前記半導体集積回路の外部からの制御に応じて、前記クロック制御部が前記第2クロックの周波数を制御する(a)〜(e)のいずれか1項に記載の半導体集積回路の検査方法。
(F) The semiconductor integrated circuit includes a clock control unit that changes the frequency of the second clock according to control from the outside,
The semiconductor device according to any one of (a) to (e), wherein in the frequency dividing step, the clock control unit controls the frequency of the second clock in accordance with control from the outside of the semiconductor integrated circuit. Integrated circuit inspection method.

(g)前記半導体集積回路は、PLL(Phase Looped Lock)回路を備え、
前記分周工程においては、前記PLL回路が安定するまでは前記分周器が前記第1クロックを分周して前記第2クロックを生成し、前記PLL回路が安定した後は前記PLL回路が前記第1クロックから前記第2クロックを生成する(a)〜(f)のいずれか1項に記載の半導体集積回路の検査方法。
(G) The semiconductor integrated circuit includes a PLL (Phase Looped Lock) circuit,
In the dividing step, the frequency divider divides the first clock to generate the second clock until the PLL circuit is stabilized, and after the PLL circuit is stabilized, the PLL circuit is The method for inspecting a semiconductor integrated circuit according to any one of (a) to (f), wherein the second clock is generated from a first clock.

(h)複数の組み合わせ回路と当該複数の組み合わせ回路のスキャンテストを行うためのスキャンチェーンを構成する複数のスキャンフリップフロップとを有する半導体集積回路であって、
クロック生成装置から前記半導体集積回路に一定周波数の第1クロックを入力する入力端子と、
前記第1クロックを分周して第2クロックを生成する分周器と、
クロック切替制御信号の入力を外部から受けるクロック切替制御端子と、
前記複数のスキャンフリップフロップに入力するクロックを、前記クロック切替制御信号に基づいて前記第1クロックと前記第2クロックとの間で動的に切り替えるクロック切替制御部と、
を備える半導体集積回路。
(H) a semiconductor integrated circuit having a plurality of combinational circuits and a plurality of scan flip-flops constituting a scan chain for performing a scan test of the plurality of combinational circuits,
An input terminal for inputting a first clock having a constant frequency from a clock generator to the semiconductor integrated circuit;
A frequency divider that divides the first clock to generate a second clock;
A clock switching control terminal for receiving an input of the clock switching control signal from the outside;
A clock switching control unit that dynamically switches a clock input to the plurality of scan flip-flops between the first clock and the second clock based on the clock switching control signal;
A semiconductor integrated circuit comprising:

(i) 複数の組み合わせ回路と、当該複数の組み合わせ回路のスキャンテストを行うためのスキャンチェーンを構成する複数のスキャンフリップフロップと、を有する半導体集積回路の検査装置であって、
一定周波数の第1クロックを前記半導体集積回路の入力端子に入力するためのクロック出力端子と、
前記半導体集積回路が前記スキャンテストを行う際に前記複数のスキャンフリップフロップに入力するクロックを、少なくとも、前記第1クロックと、前記半導体集積回路の内部に備えられている分周器が前記第1クロックに基づいて生成する第2クロックと、の間で動的に切り替えさせる切替制御信号を出力するためのクロック切替制御信号出力端子と、
を備える半導体集積回路の検査装置。
(I) A semiconductor integrated circuit inspection device having a plurality of combinational circuits and a plurality of scan flip-flops constituting a scan chain for performing a scan test of the plurality of combinational circuits,
A clock output terminal for inputting a first clock having a constant frequency to an input terminal of the semiconductor integrated circuit;
A clock input to the plurality of scan flip-flops when the semiconductor integrated circuit performs the scan test includes at least the first clock and a frequency divider provided in the semiconductor integrated circuit. A clock switching control signal output terminal for outputting a switching control signal for dynamically switching between a second clock generated based on the clock;
Semiconductor integrated circuit inspection apparatus comprising:

なお、本技術の範囲は上述した実施形態や変形例に限定されず、上述した実施形態および変形例の中で開示した各構成を相互に置換したり組み合わせを変更したりした構成、公知技術並びに上述した実施形態および変形例の中で開示した各構成を相互に置換したり組み合わせを変更したりした構成、等も含まれる。また、言うまでもなく、本技術の範囲は、特許請求の範囲に記載された事項とその均等物まで及ぶものである。   Note that the scope of the present technology is not limited to the above-described embodiments and modification examples, and the configurations disclosed in the above-described embodiment and modification examples are replaced with each other or the combination is changed, known techniques, and Configurations in which the configurations disclosed in the above-described embodiments and modifications are mutually replaced or combinations thereof are also included. Needless to say, the scope of the present technology extends to the matters described in the claims and equivalents thereof.

10…内部回路、10a〜10c…組み合わせ回路群、20…スキャンチェーン、20a〜20f…フリップフロップ(FF)、100・・・半導体集積回路(LSI)、In1〜In3…入力端子、In5…スキャンイン端子、In4…動作切替信号入力端子、Out1〜Out3…出力端子、Out4…スキャンアウト端子、T1…D端子、T2…SI端子、T3…TEN端子、T4…Q端子、T5…CK端子、200…テスタ、250…端子、260…TEN端子、270…端子、280…端子、300…LSI、320…スキャンチェーン、330…分周器、340…セレクタ回路、350…クロックマスク回路、351…フリップフロップ、352…排他的論理和回路、353…論理和回路、360…CK端子、370…TEN端子、380…スキャンイン端子、390…スキャンアウト端子、400…LSI、420…スキャンチェーン、430…分周器、440…セレクタ回路、450…クロックマスク回路、451…フリップフロップ、452…排他的論理和回路、453…論理和回路、460…CK端子、470…TEN端子、480…スキャンイン端子、490…スキャンアウト端子、500…PLL回路、 DESCRIPTION OF SYMBOLS 10 ... Internal circuit, 10a-10c ... Combination circuit group, 20 ... Scan chain, 20a-20f ... Flip-flop (FF), 100 ... Semiconductor integrated circuit (LSI), In1-In3 ... Input terminal, In5 ... Scan-in Terminal, In4 ... operation switching signal input terminal, Out1 to Out3 ... output terminal, Out4 ... scan-out terminal, T1 ... D terminal, T2 ... SI terminal, T3 ... TEN terminal, T4 ... Q terminal, T5 ... CK terminal, 200 ... Tester, 250 ... terminal, 260 ... TEN terminal, 270 ... terminal, 280 ... terminal, 300 ... LSI, 320 ... scan chain, 330 ... frequency divider, 340 ... selector circuit, 350 ... clock mask circuit, 351 ... flip-flop, 352 ... Exclusive OR circuit, 353 ... OR circuit, 360 ... CK terminal, 370 ... TEN terminal 380 ... Scan-in terminal, 390 ... Scan-out terminal, 400 ... LSI, 420 ... Scan chain, 430 ... Frequency divider, 440 ... Selector circuit, 450 ... Clock mask circuit, 451 ... Flip-flop, 452 ... Exclusive OR Circuit, 453 ... logical sum circuit, 460 ... CK terminal, 470 ... TEN terminal, 480 ... scan-in terminal, 490 ... scan-out terminal, 500 ... PLL circuit,

Claims (9)

複数の組み合わせ回路と、当該複数の組み合わせ回路のスキャンテストを行うためのスキャンチェーンを構成する複数のスキャンフリップフロップと、を有する半導体集積回路の検査方法であって、
クロック生成装置から前記半導体集積回路に一定周波数の第1クロックを入力する入力工程と、
前記半導体集積回路の内蔵する分周器が前記第1クロックを分周して第2クロックを生成する分周工程と、
前記複数のスキャンフリップフロップに入力するクロックを、前記第1クロックと前記第2クロックとの間で動的に切り替えつつ前記半導体集積回路を検査する検査工程と、
を備える半導体集積回路の検査方法。
A method for inspecting a semiconductor integrated circuit having a plurality of combinational circuits and a plurality of scan flip-flops constituting a scan chain for performing a scan test of the plurality of combinational circuits,
An input step of inputting a first clock having a constant frequency from a clock generator to the semiconductor integrated circuit;
A frequency dividing step in which a frequency divider incorporated in the semiconductor integrated circuit divides the first clock to generate a second clock;
An inspection step of inspecting the semiconductor integrated circuit while dynamically switching a clock input to the plurality of scan flip-flops between the first clock and the second clock;
A method for inspecting a semiconductor integrated circuit comprising:
前記分周器は、前記スキャンチェーンに含まれないフリップフロップにて構成される請求項1に記載の半導体集積回路の検査方法。   The semiconductor integrated circuit inspection method according to claim 1, wherein the frequency divider includes a flip-flop that is not included in the scan chain. 前記第1クロックは、前記クロック生成装置が出力可能な最大クロック、または、前記半導体集積回路が含む回路の動作周波数の中で最大クロック、のいずれか大きい方である請求項1に記載の半導体集積回路の検査方法。   2. The semiconductor integrated circuit according to claim 1, wherein the first clock is a larger one of a maximum clock that can be output by the clock generation device or a maximum clock among operating frequencies of circuits included in the semiconductor integrated circuit. Circuit inspection method. 前記スキャンテストにおけるキャプチャ動作には、前記第1クロックを用い、
前記スキャンテストにおけるシフト動作には、前記第2クロックを用いる請求項1に記載の半導体集積回路の検査方法。
The capture operation in the scan test uses the first clock,
The semiconductor integrated circuit inspection method according to claim 1, wherein the second clock is used for the shift operation in the scan test.
前記キャプチャ動作と前記シフト動作の切り替わり直後であって、前記第1クロックと前記第2クロックが切り替わった直後には、前記複数のスキャンフリップフロップに入力するクロックのエッジをマスクする請求項4に記載の半導体集積回路の検査方法。   5. The edge of a clock input to the plurality of scan flip-flops is masked immediately after switching between the capture operation and the shift operation and immediately after the first clock and the second clock are switched. Inspection method for semiconductor integrated circuit. 前記半導体集積回路は、外部からの制御に応じて前記第2クロックの周波数を変更するクロック制御部を備え、
前記分周工程においては、前記半導体集積回路の外部からの制御に応じて、前記クロック制御部が前記第2クロックの周波数を制御する請求項1に記載の半導体集積回路の検査方法。
The semiconductor integrated circuit includes a clock control unit that changes the frequency of the second clock according to control from the outside,
2. The semiconductor integrated circuit inspection method according to claim 1, wherein, in the frequency dividing step, the clock control unit controls the frequency of the second clock in accordance with control from the outside of the semiconductor integrated circuit.
前記半導体集積回路は、PLL(Phase Locked Loop)回路を備え、
前記分周工程においては、前記PLL回路が安定するまでは前記分周器が前記第1クロックを分周して前記第2クロックを生成し、前記PLL回路が安定した後は前記PLL回路が前記第1クロックから前記第2クロックを生成する請求項1に記載の半導体集積回路の検査方法。
The semiconductor integrated circuit includes a PLL (Phase Locked Loop) circuit,
In the dividing step, the frequency divider divides the first clock to generate the second clock until the PLL circuit is stabilized, and after the PLL circuit is stabilized, the PLL circuit is The semiconductor integrated circuit inspection method according to claim 1, wherein the second clock is generated from a first clock.
複数の組み合わせ回路と、当該複数の組み合わせ回路のスキャンテストを行うためのスキャンチェーンを構成する複数のスキャンフリップフロップと、を有する半導体集積回路であって、
クロック生成装置から前記半導体集積回路に一定周波数の第1クロックを入力する入力端子と、
前記第1クロックを分周して第2クロックを生成する分周器と、
クロック切替制御信号の入力を外部から受けるクロック切替制御端子と、
前記複数のスキャンフリップフロップに入力するクロックを、前記クロック切替制御信号に基づいて前記第1クロックと前記第2クロックとの間で動的に切り替えるクロック切替制御部と、
を備える半導体集積回路。
A semiconductor integrated circuit having a plurality of combinational circuits and a plurality of scan flip-flops constituting a scan chain for performing a scan test of the plurality of combinational circuits,
An input terminal for inputting a first clock having a constant frequency from a clock generator to the semiconductor integrated circuit;
A frequency divider that divides the first clock to generate a second clock;
A clock switching control terminal for receiving an input of the clock switching control signal from the outside;
A clock switching control unit that dynamically switches a clock input to the plurality of scan flip-flops between the first clock and the second clock based on the clock switching control signal;
A semiconductor integrated circuit comprising:
複数の組み合わせ回路と、当該複数の組み合わせ回路のスキャンテストを行うためのスキャンチェーンを構成する複数のスキャンフリップフロップと、を有する半導体集積回路の検査装置であって、
一定周波数の第1クロックを前記半導体集積回路の入力端子に入力するためのクロック出力端子と、
前記半導体集積回路が前記スキャンテストを行う際に前記複数のスキャンフリップフロップに入力するクロックを、少なくとも、前記第1クロックと、前記半導体集積回路の内部に備えられている分周器が前記第1クロックに基づいて生成する第2クロックと、の間で動的に切り替えさせる切替制御信号を出力するためのクロック切替制御信号出力端子と、
を備える半導体集積回路の検査装置。
An inspection apparatus for a semiconductor integrated circuit having a plurality of combinational circuits and a plurality of scan flip-flops constituting a scan chain for performing a scan test of the plurality of combinational circuits,
A clock output terminal for inputting a first clock having a constant frequency to an input terminal of the semiconductor integrated circuit;
A clock input to the plurality of scan flip-flops when the semiconductor integrated circuit performs the scan test includes at least the first clock and a frequency divider provided in the semiconductor integrated circuit. A clock switching control signal output terminal for outputting a switching control signal for dynamically switching between a second clock generated based on the clock;
Semiconductor integrated circuit inspection apparatus comprising:
JP2011232016A 2011-10-21 2011-10-21 Method for inspecting semiconductor integrated circuit, and the semiconductor integrated circuit Pending JP2013088400A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011232016A JP2013088400A (en) 2011-10-21 2011-10-21 Method for inspecting semiconductor integrated circuit, and the semiconductor integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011232016A JP2013088400A (en) 2011-10-21 2011-10-21 Method for inspecting semiconductor integrated circuit, and the semiconductor integrated circuit

Publications (1)

Publication Number Publication Date
JP2013088400A true JP2013088400A (en) 2013-05-13

Family

ID=48532426

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011232016A Pending JP2013088400A (en) 2011-10-21 2011-10-21 Method for inspecting semiconductor integrated circuit, and the semiconductor integrated circuit

Country Status (1)

Country Link
JP (1) JP2013088400A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10545188B2 (en) 2017-09-28 2020-01-28 International Business Machines Corporation Functional diagnostics based on dynamic selection of alternate clocking
US10613142B2 (en) 2017-02-22 2020-04-07 International Business Machines Corporation Non-destructive recirculation test support for integrated circuits

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10613142B2 (en) 2017-02-22 2020-04-07 International Business Machines Corporation Non-destructive recirculation test support for integrated circuits
US10545188B2 (en) 2017-09-28 2020-01-28 International Business Machines Corporation Functional diagnostics based on dynamic selection of alternate clocking
US10585142B2 (en) 2017-09-28 2020-03-10 International Business Machines Corporation Functional diagnostics based on dynamic selection of alternate clocking

Similar Documents

Publication Publication Date Title
US8065549B2 (en) Scan-based integrated circuit having clock frequency divider
KR100870037B1 (en) Easily testable semiconductor device, method and apparatus for testing semiconductor device, method and apparatus for generating internall testing clock
US8381051B2 (en) Testing of multi-clock domains
US9264049B2 (en) Synchronous on-chip clock controllers
JP6054597B2 (en) Semiconductor integrated circuit
JP2004233084A (en) Semiconductor integrated circuit and scan testing method
US8412993B2 (en) Self-adjusting critical path timing of multi-core VLSI chip
JP2009512874A (en) IC test method and apparatus
US20160349318A1 (en) Dynamic Clock Chain Bypass
US7380189B2 (en) Circuit for PLL-based at-speed scan testing
JP2014185981A (en) Semiconductor integrated circuit and self-test method of semiconductor integrated circuit
US20110175638A1 (en) Semiconductor integrated circuit and core test circuit
US20090240996A1 (en) Semiconductor integrated circuit device
JP2023095914A (en) semiconductor integrated circuit
JP2012181138A (en) Semiconductor integrated circuit, design device and design method
US7380183B2 (en) Semiconductor circuit apparatus and scan test method for semiconductor circuit
JP4356942B2 (en) Integrated circuit and test method thereof
JP7204697B2 (en) semiconductor integrated circuit
JP2013088400A (en) Method for inspecting semiconductor integrated circuit, and the semiconductor integrated circuit
US11493553B2 (en) Extended JTAG controller and method for functional reset using the extended JTAG controller
CN106896317B (en) Circuit debugging method and circuit debugging system executed by scan chain of scan test
JP2005308500A (en) Semiconductor integrated circuit device and test method
US7155649B2 (en) Scan test control method and scan test circuit
JP2006058152A (en) Testing method for semiconductor device and testing circuit of semiconductor device
JP4662520B2 (en) Scan test circuit, scan test method, and semiconductor integrated circuit