JP2011203079A - Clock control circuit, control method of the same, semiconductor device, and clock generation method of the semiconductor device - Google Patents
Clock control circuit, control method of the same, semiconductor device, and clock generation method of the semiconductor device Download PDFInfo
- Publication number
- JP2011203079A JP2011203079A JP2010070003A JP2010070003A JP2011203079A JP 2011203079 A JP2011203079 A JP 2011203079A JP 2010070003 A JP2010070003 A JP 2010070003A JP 2010070003 A JP2010070003 A JP 2010070003A JP 2011203079 A JP2011203079 A JP 2011203079A
- Authority
- JP
- Japan
- Prior art keywords
- clock
- scan
- storage unit
- set value
- clock generation
- 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
Links
Images
Abstract
Description
本発明は、スキャンテスト用のスキャンクロックを生成するクロック制御回路、その制御方法、半導体装置及びそのクロック生成方法に関し、特に、スキャンテスト時に所定の設定が必要なクロック制御回路、その制御方法、半導体装置及びそのクロック生成方法に関する。 The present invention relates to a clock control circuit that generates a scan clock for a scan test, a control method thereof, a semiconductor device, and a clock generation method thereof, and more particularly, a clock control circuit that requires a predetermined setting during a scan test, a control method thereof, and a semiconductor The present invention relates to an apparatus and a clock generation method thereof.
従来、内部回路(組み合わせ回路)等のテストを行う方法として、スキャンパステストが知られている。このスキャンパステストは、被テスト対象となる組合せ回路と接続されたフリップフロップをスキャンチェーンと呼ばれるシフトレジスタで構成し、シリアル入力SCAN−IN用端子、シリアル出力SCAN−OUT用端子、テストモード入力SCAN−ENABLE用端子、テストクロック入力SCAN−CLOCK用端子を設け、これら端子を介してスキャンチェーンにテスト用データを入力する。そして、スキャンチェーンからのデータをSCAN−OUT用端子から観測することによって、被テスト対象回路のテストを行うようになっている。 Conventionally, a scan path test is known as a method for testing an internal circuit (combination circuit) and the like. In this scan path test, a flip-flop connected to a combinational circuit to be tested is composed of a shift register called a scan chain, a serial input SCAN-IN terminal, a serial output SCAN-OUT terminal, and a test mode input SCAN. A terminal for ENABLE and a terminal for test clock input SCAN-CLOCK are provided, and test data is input to the scan chain via these terminals. The circuit under test is tested by observing data from the scan chain from the SCAN-OUT terminal.
特許文献1には、複数のテスト方式に対応するテスト回路を一つの被テスト対象回路に組み込み、テスト用端子の増加を伴うことなく複数のテスト方式によるテストを可能とすることを目的としたテスト回路が開示されている。このテスト回路は、モードを切り替えるレジスタを有し、レジスタに設定値を保存しテスト設定を切り替えることにより、端子削減を実現している。
しかしながら、スキャンテストとバウンダリスキャンテストの2つのテストモードを有する場合には有効ではあるものの、スキャンテストとバウンダリスキャンテストの両方のモード及び回路を有しない構成には適用することができないという問題点がある。 However, although it is effective when it has two test modes of the scan test and the boundary scan test, it cannot be applied to a configuration having neither the scan test mode nor the boundary scan test mode and circuit. is there.
例えば、半導体集積回路(LSI)が、スキャンテスト時のスキャンクロックを生成するクロック制御回路と、スキャンテストを実施される被テスト回路の内部回路とを有する場合を考える。クロック制御回路は、複数のブロックA〜Cと、各ブロックに対応して設定値を設定するブロック設定保存回路とを有する。 For example, consider a case where a semiconductor integrated circuit (LSI) has a clock control circuit that generates a scan clock at the time of a scan test and an internal circuit of a circuit under test on which the scan test is performed. The clock control circuit includes a plurality of blocks A to C and a block setting storage circuit that sets a setting value corresponding to each block.
このようなLSIにおいて、スキャンテストの際、クロック制御回路は、スキャンクロックを生成し、内部回路のスキャンチェーンに当該スキャンクロックを供給する。この際、クロック制御回路は、外部から入力されるクロックを分周するなどして内部回路に出力する。このため、ブロックA〜ブロックCは、例えばPLL(Phase Locked Loop)、分周回路、又はセレクタ等から構成される。そして、出力するスキャンクロックに応じて、これらの各ブロックA〜Cには、分周率等の決定するための設定値が設定される。ブロック設定保存回路は、上記設定値をブロックA〜Cに設定するための回路である。 In such an LSI, at the time of a scan test, the clock control circuit generates a scan clock and supplies the scan clock to the scan chain of the internal circuit. At this time, the clock control circuit divides the clock input from the outside and outputs it to the internal circuit. For this reason, the block A to the block C are configured by, for example, a PLL (Phase Locked Loop), a frequency dividing circuit, a selector, or the like. Then, in accordance with the scan clock to be output, a set value for determining a frequency division ratio or the like is set in each of the blocks A to C. The block setting storage circuit is a circuit for setting the set values in the blocks A to C.
ここで、スキャンテスト時には、このブロック設定保存回路もスキャンテストする必要がある。しかしながら、このブロック設定保存回路をスキャンテストすると、ブロック設定保存回路は上記設定値を保持し続けることができなくなり、したがって、ブロックA〜Cに設定値を設定することができなくなる。設定値を設定すると、今度は、ブロック設定保存回路をスキャンテストすることができない。 Here, at the time of the scan test, the block setting storage circuit also needs to be scan-tested. However, when this block setting storage circuit is subjected to a scan test, the block setting storage circuit cannot continue to hold the set value, and therefore, the set value cannot be set in the blocks A to C. Once the set value is set, the block setting storage circuit cannot be scan-tested this time.
本発明に係るクロック制御回路は、スキャンテスト時にスキャンチェーンにクロックを供給するクロック制御回路であって、前記クロックを生成するクロック発生回路と、前記クロック発生回路の動作を指定する設定値を記憶する第1の記憶部と、前記クロック発生回路と前記第1の記憶部との間に結合され、前記第1の記憶部に記憶された前記設定値をスキャンテスト用の設定値として記憶する第2記憶部と、を有し、前記クロック発生回路は、スキャンテスト時に前記第2の記憶部に記憶された前記スキャンテスト用の設定値に基づいて前記クロックを生成するものである。 A clock control circuit according to the present invention is a clock control circuit that supplies a clock to a scan chain during a scan test, and stores a clock generation circuit that generates the clock and a setting value that specifies an operation of the clock generation circuit A second storage unit is coupled between the clock generation circuit and the first storage unit, and stores the setting value stored in the first storage unit as a setting value for a scan test. And the clock generation circuit generates the clock based on the setting value for the scan test stored in the second storage unit during a scan test.
本発明に係る半導体装置は、クロック発生回路を有し、所定の機能を実現する半導体装置であって、スキャンチェーンを構成するスキャンフリップフロップで構成され前記クロック発生回路の動作を決定する第1の設定値を記憶する第1の記憶部と、前記クロック発生回路と前記第1の記憶部との間に配置され前記第1の設定値を所定のタイミングで取得し第2の設定値として記憶する前記スキャンフリップフロップを含まない第2の記憶部と、を有し、前記クロック発生回路は、前記半導体装置が前記スキャンチェーンによるスキャンテストを行なう場合には前記第2の設定値に基づいてクロック信号を生成し、前記半導体装置が前記所定の機能を実現する通常動作を行なう場合には前記第1の設定値または前記第2の設定値に基づいて前記クロック信号を生成するものである。 A semiconductor device according to the present invention includes a clock generation circuit and realizes a predetermined function. The semiconductor device includes a scan flip-flop that forms a scan chain, and determines the operation of the clock generation circuit. A first storage unit that stores a set value, and is arranged between the clock generation circuit and the first storage unit, acquires the first set value at a predetermined timing, and stores it as a second set value. A clock signal based on the second set value when the semiconductor device performs a scan test using the scan chain. And when the semiconductor device performs a normal operation for realizing the predetermined function, the previous setting value is generated based on the first setting value or the second setting value. And it generates a clock signal.
本発明においては、第2の記憶部を有するため、スキャンテスト時には、第1の記憶部の設定値を使用する必要がない。よって、スキャンテスト時に、第1の記憶部のスキャンテストを実施することが可能となる。 In the present invention, since the second storage unit is provided, it is not necessary to use the setting value of the first storage unit during the scan test. Therefore, the scan test of the first storage unit can be performed at the time of the scan test.
本発明に係るクロック制御回路の制御方法は、スキャンテスト時にスキャンチェーンにクロックを供給するクロック制御回路の制御方法であって、通常モードにおいては、クロックを生成するクロック発生回路の動作を指定する設定値を記憶する第1の記憶部から当該設定値を受け取り、クロックを生成し、スキャンテスト時には、前記クロック発生回路と前記第1の記憶部との間に配置され、第1の記憶部に記憶された前記設定値をスキャンテスト用の設定値として記憶する第2の記憶部から当該設定値を受け取り、クロックを生成するものである。 The control method of the clock control circuit according to the present invention is a control method of the clock control circuit that supplies a clock to the scan chain during a scan test, and in the normal mode, a setting that specifies the operation of the clock generation circuit that generates the clock The set value is received from a first storage unit that stores a value, a clock is generated, and is arranged between the clock generation circuit and the first storage unit and stored in the first storage unit during a scan test. The set value is received from a second storage unit that stores the set value as a set value for a scan test, and a clock is generated.
本発明に係る半導体装置のクロック生成方法は、クロック発生回路を有し、所定の機能を実現する半導体装置のクロック生成方法であって、前記クロック発生回路は、前記半導体装置が前記スキャンチェーンによるスキャンテストを行なう場合には、前記クロック発生回路と、スキャンチェーンを構成するスキャンフリップフロップで構成され前記クロック発生回路の動作を決定する第1の記憶部との間に配置され前記第1の設定値を所定のタイミングで取得し第2の設定値として記憶する前記スキャンフリップフロップを含まない第2の記憶部の当該第2の設定値に基づいてクロック信号を生成し、前記半導体装置が前記所定の機能を実現する通常動作を行なう場合には前記第1の設定値または前記第2の設定値に基づいて前記クロック信号を生成するものである。 A clock generation method for a semiconductor device according to the present invention is a clock generation method for a semiconductor device that has a clock generation circuit and realizes a predetermined function. The clock generation circuit is configured to scan the semiconductor device using the scan chain. When performing a test, the first set value is arranged between the clock generation circuit and a first storage unit configured by a scan flip-flop constituting a scan chain and determining the operation of the clock generation circuit. Is generated at a predetermined timing and stored as a second setting value, a clock signal is generated based on the second setting value of the second storage unit not including the scan flip-flop, and the semiconductor device When performing a normal operation for realizing the function, the clock signal is based on the first set value or the second set value. It is intended to generate a.
本発明においては、スキャンテストを行う場合には、クロック発生回路は、クロック発生回路と、スキャンチェーンを構成するスキャンフリップフロップで構成されクロック発生回路の動作を決定する第1の記憶部との間に配置され第1の設定値を所定のタイミングで取得し第2の設定値として記憶するスキャンフリップフロップを含まない第2の記憶部から第2の設定値を受け取りクロックを生成するため、第1の記憶部をスキャンテストすることができる。 In the present invention, when a scan test is performed, the clock generation circuit is between the clock generation circuit and a first storage unit that is configured by a scan flip-flop that forms a scan chain and determines the operation of the clock generation circuit. In order to generate a clock by receiving the second setting value from the second storage unit that does not include the scan flip-flop that is arranged at the predetermined timing and acquires the first setting value at a predetermined timing and stores it as the second setting value. Can be scan-tested.
本発明に係る他のクロック制御回路は、スキャンテスト時にスキャンチェーンにクロックを供給するクロック制御回路であって、前記クロックを生成するクロック発生回路と、 Another clock control circuit according to the present invention is a clock control circuit that supplies a clock to a scan chain during a scan test, the clock generation circuit generating the clock, and
前記クロック発生回路の動作を指定する設定値を記憶する第1の記憶部と、スキャンテスト時に前記クロック発生回路の動作を指定する設定値を記憶する第2の記憶部とを有し、 A first storage unit that stores a setting value that specifies the operation of the clock generation circuit; and a second storage unit that stores a setting value that specifies the operation of the clock generation circuit during a scan test;
前記第1の記憶部は、前記スキャンテスト時にはスキャンチェーンに接続されスキャンテストが実施される、ものである。 The first storage unit is connected to a scan chain during the scan test, and a scan test is performed.
本発明によれば、クロック発生回路に設定値を設定する記憶部のスキャンテストを実施することができるクロック制御回路、その制御方法、半導体装置及びそのクロック生成方法を提供することができる。 ADVANTAGE OF THE INVENTION According to this invention, the clock control circuit which can perform the scan test of the memory | storage part which sets a setting value to a clock generation circuit, its control method, a semiconductor device, and its clock generation method can be provided.
以下、本発明を適用した具体的な実施の形態について、図面を参照しながら詳細に説明する。この実施の形態は、本発明を、スキャンテスト用のスキャンクロックを生成するスキャンクロック制御回路に適用したものである。 Hereinafter, specific embodiments to which the present invention is applied will be described in detail with reference to the drawings. In this embodiment, the present invention is applied to a scan clock control circuit that generates a scan clock for a scan test.
本発明の実施の形態1.
図1は、本実施の形態にかかるクロック制御回路とその周辺回路を示す図である。図1に示すように、半導体集積回路は、クロック制御回路10、スキャンテスト対象回路20及びバス40を有する。スキャンテスト対象回路20は、スキャンテストを実施される組合せ論理回路22と、スキャンテストを行うためのスキャンチェーンを構成する複数のフリップフロップ(FF)21とを有している。
FIG. 1 is a diagram illustrating a clock control circuit and its peripheral circuits according to the present embodiment. As shown in FIG. 1, the semiconductor integrated circuit includes a
クロック制御回路10は、クロック発生回路としてのクロック制御ブロックA11〜C11と、第2の記憶部としてのスキャン用設定保存回路A12〜C12と、第1の記憶部としてのブロック設定保存回路13とを有する。クロック制御ブロックA11〜C11は、例えば外部から入力されるクロックを分周するなどしてスキャンクロックを生成する。このため、クロック制御ブロックA11〜C11は、例えば、PLL(Phase Locked Loop)、分周回路、又は選択器などからなる。これらのクロック制御ブロックA11〜C11には、クロック生成時に、所定の周波数等のクロックを生成するために、分周値等を設定するための設定値が設定される。スキャン用設定保存回路A12は、クロック制御ブロックA11〜C11とブロック設定保存回路13との間に結合され、ブロック設定保存回路13に記憶された設定値をスキャンテスト用の設定値として記憶する回路である。
The
このスキャン用設定保存回路A12〜C12(以下、特に区別する必要がない場合はスキャン用設定保存回路12という。)は、バス40に接続されておらず、ブロック設定保存回路13から設定値を設定されるよう構成されている。バス40に直接接続されていないため、すなわち、バス40からデータを取り込む必要がないため、スキャン用設定保存回路12には、バスインターフェース回路等が不要である、また、スキャンテスト中は、スキャン用設定保存回路12がバス40から分離されるため、ノイズ等により誤って設定値が書き換えられる恐れがない。更に、スキャン用設定保存回路12は、後述するように、通常モード時に、ブロック設定保存回路13から設定値を取り込み設定しておくことができるため、スキャンテスト時にスキャン用設定保存回路12の設定を改めて行う必要がない。このスキャン用設定保存回路12は、スキャンチェーンを構成しない。
The scan setting storage circuits A12 to C12 (hereinafter referred to as the scan setting
ブロック設定保存回路13は、テストモード時ではなく、通常モード時に、クロック制御ブロックA11〜C11に設定値を設定する回路であり、クロック制御ブロックA11〜C11の動作を指定する設定値を記憶する。ブロック設定保存回路13は、バス40から設定値を受け取り、これを、スキャン用設定保存回路A12を介してクロック制御ブロックA11〜C11(以下、特に区別する必要がない場合はクロック制御ブロック11という。)に設定する。なお、本実施の形態においては、ブロック設定保存回路13は、スキャン用設定保存回路12を介して設定値をクロック制御ブロック11に設定するものとして説明するが、スキャン用設定保存回路12を介することなく設定してもよいことは勿論である。ブロック設定保存回路13は、スキャンチェーンを構成するフリップフロップで構成され、スキャンテスト時には、スキャンテストされるため、クロック制御ブロック11に設定値を設定することができない。このために、上記のスキャン用設定保存回路12が設けられている。
The block
したがって、上述のスキャンチェーンは、クロック制御回路10のブロック設定保存回路13に接続され、ブロック設定保存回路13のFF21と共にスキャンチェーンを構成している。つまり、本実施の形態にかかるクロック制御回路10は、ブロック設定保存回路13がスキャンテストの対象となっている。
Therefore, the above-described scan chain is connected to the block setting
これにより、ブロック設定保存回路13は、スキャンテスト時にスキャンテストを実施することができる。なお、通常モード時に、スキャン用設定保存回路12の設定値を使用することも可能である。
As a result, the block setting
図2は、本実施の形態にかかるクロック制御回路10の詳細を示すブロック図である。図2に示すように、スキャン用設定保存回路12は、4ビットの設定値をクロック制御ブロック11に設定するものとして説明する。スキャン用設定保存回路12は、4ビットの値をクロック制御ブロック11に設定するため、4つのセレクタ121、4つのFF122及び4つのセレクタ123を有している。
FIG. 2 is a block diagram showing details of the
また、ブロック設定保存回路13は、4ビットの設定値を出力するため、4つのセレクタ131及び4つのFF132を有している。
The block
通常モードにおいては、ブロック設定保存回路13は、バス40からデータを取り込み、セレクタ131によりこれを選択して、FF132に値を取り込む。これをスキャン用設定保存回路12のセレクタ121を介してクロック制御ブロック11に出力することでクロック制御ブロック11に設定値を設定している。
In the normal mode, the block setting
また、通常モード時においてFF122にスキャンテスト用の設定値を保存することができる。先ず、セレクタ123の選択元を0側に設定する。次に、スキャンテスト時に設定する設定値をFF132に保存する。セレクタ123が0側を設定しているため、リセット無し通常FF122に、FF132の値が保存される。
Further, the setting value for the scan test can be stored in the
この後、スキャンテスト時において、セレクタ123の選択元を1側に設定し、FF122の設定が変更されないようにする。そして、セレクタ121の選択元を1に設定することで、設定値が設定ポートを介して、クロック制御ブロック11に設定される。これにより、スキャンテストを実施することができる。
Thereafter, during the scan test, the selection source of the
本実施の形態によれば、PLLや分周器を用いてスキャン用クロックをチップ全体に分配する場合に、クロック制御ブロック11とブロック設定保存回路13との間にスキャン用設定保存回路12を挿入することにより、スキャンテストの自由度を保ちつつ、ノーマルパスの故障検出率を下げずにテストに必要な端子数を削減することができる。ノーマルパスであるブロック設定保存回路13はスキャンテスト対象となっているため従来回路と比較して通常時に使用する回路の故障検出率を下げることがない回路となる。すなわち、本実施の形態によれば、スキャンテスト開始前にテスト用設定を実施し、スキャン用設定保存回路12によって設定を保存したままスキャンテストが実施可能なため、スキャンテストの自由度を保ったままテスト用端子の削減が可能となる。
According to the present embodiment, the scan setting
本発明の実施の形態1の変形例
図3は、本発明の実施の形態にかかる変形例を示す図である。本変形例においては、セレクタ121を3入力セレクタとし、その1つの端子に固定値保持部124を設ける。上述のように、バス40からブロック設定保存回路13がデータを取り込み、FF122に値を設定して、クロック制御ブロック11に設定値を設定することも可能であるが、固定値保持部124を設けることにより、固定値をクロック制御ブロック11に設定することが可能となる。固定値保持部124により、バス40からわざわざブロック設定保存回路13を使用して設定値を取り込む必要がなくなる。スキャン用設定保存回路12を固定値保持部124のみからなるものとすることも可能である。
FIG. 3 is a diagram illustrating a modification according to the embodiment of the present invention. In this modification, the
本発明の実施の形態2.
図4は、本発明の実施の形態2にかかるスキャン用設定保存回路12を示す図である。図4に示すように、本実施の形態においては、スキャン用設定保存回路12は、更に、FF125及びセレクタ126を有する。また、セレクタ121、123、126を制御するため、論理回路127〜129を有する。これにより、スキャン用設定保存回路12は、設定値を2つ保持することができ、スキャンテスト中に設定値を変更することができる。なお、スキャン用設定保存回路12に設けるFFを本例では、2つとしているが、2以上とし、設定値を2以上保持できるよう構成することも可能である。
FIG. 4 is a diagram illustrating the scan setting
次に、本実施の形態にかかるスキャン用設定保存回路12の動作について説明する。図5乃至図9は、スキャン用設定保存回路12の動作を説明するための図である。先ず、スキャンテスト時ではなく通常動作について説明する。通常動作では、図5に示すように、テスト端子TEST1=0(TEST0=0又は1)とし、ブロック設定保存回路13の値がクロック制御ブロック11に設定可能とする。ブロック設定保存回路13は、バス40から値を取り込み、セレクタ121を介して各設定ポートからクロック制御ブロック11に値を設定する。
Next, the operation of the scan setting
次に、スキャン用設定保存回路12にスキャンテスト用の設定値を保存する動作について説明する。スキャン用設定保存回路12のFF122、125には、通常動作中に、スキャンテスト用の設定値を保存することができる。先ず、図6に示すように、テスト端子TEST0=0、TEST1=0とする。これを通常動作(設定1)とすることとする。セレクタ126は選択元を1としセレクタ123は選択元を0とする。FF125の値はそのまま保持しておき、FF132の値をセレクタ123を介してFF122に設定する。なお、この間も、ブロック設定保存回路13のFF132の値は、セレクタ121を介してクロック制御ブロック11に設定されている。
Next, an operation of storing the scan test setting value in the scan setting
次に、もう一方のFF125に値を設定する。図7に示すように、TEST0=1、TEST1=0とする。これを通常動作(設定2)とする。この場合は、FF132の値がセレクタ126を介してFF125に設定される。この場合、FF122の値は上記のまま保持される。FF125の値をFF122の値とは異ならせたい場合は、FF132がバス40から異なる値を取り込み、これをFF125に設定することとなる。なお、この間もブロック設定保存回路13のFF132の値は、セレクタ121を介してクロック制御ブロック11に設定され続ける。スキャン用設定保存回路12の2つのFF122、125に、通常モード時において設定値を保存することができる。
Next, a value is set in the
次に、スキャンテスト時の動作について説明する。図8に示すように、TEST0=0、TEST1=1とし、セレクタ121の選択元を2、セレクタ123の選択元を1、セレクタ126の選択元を1とする。これにより、FF122の値がクロック制御ブロック11に各設定ポートを介して設定される。
Next, the operation during the scan test will be described. As shown in FIG. 8, TEST0 = 0 and TEST1 = 1, the selection source of the
次に、図9に示すように、TEST0=1、TEST1=1とし、セレクタ121の選択元を3、セレクタ123の選択元を1、セレクタ126の選択元を1とする。これにより、FF125の値が各設定ポートを介してクロック制御ブロック11に設定される。
Next, as shown in FIG. 9, TEST0 = 1 and TEST1 = 1 are set, the selection source of the
以上のようにして、スキャン用設定保存回路12に2以上のFFを有する場合、スキャンテスト時に、クロック制御ブロック11に対して異なる値を設定することができる。
As described above, when the scan setting
ここで、クロック制御ブロック11の設定値を変更したくない場合は、通常モードにおいてもFF132の値ではなく、FF122の値をクロック制御ブロック11に出力するようにすればよい。図10乃至図16は、スキャン設定保存回路の詳細を示す他の例である。図10に示すように、本例にかかるスキャン用設定保存回路12は、2つのOR回路127a、128a及びインバータ129aを有し、更に、TEST2信号を入力する端子を有する。その他の構成は、図4に示すスキャン用設定保存回路12と同様である。
Here, if the setting value of the
先ず、ノーマル動作において、図11に示すように、TEST1=0とし、ブロック設定保存回路13の値がクロック制御ブロック11に届くようにする。次に、ノーマル動作(設定1)において、図12に示すように、TEST0=1、TEST1=0とする。すると、FF122に、ブロック設定保存回路13に保存されている設定値を保存する。一方、FF125の値は変化しない。
First, in the normal operation, as shown in FIG. 11, TEST1 = 0 is set so that the value of the block setting
ここで、図13に示すように、TEST0=1、TEST1=0→TEST0=0、TEST1=0→TEST0=0、TEST1=1の順番で端子を変更してから、2つ目の値を設定する。これは、クロック制御ブロック11の設定ポートにグリッジが載らないようにするためである。TEST0=1、TEST1=0→TEST0=1、TEST1=1→TEST0=0、TEST1=1の順番で端子を変更すると、セレクタ(4入力MUX)121が一瞬、3を選択して一瞬不正なレジスタ値を設定してしまう。
Here, as shown in FIG. 13, the second value is set after changing the terminals in the order of TEST0 = 1, TEST1 = 0 → TEST0 = 0, TEST1 = 0 → TEST0 = 0, TEST1 = 1. To do. This is to prevent glitches from being placed on the setting port of the
次に、図14に示すように、ノーマル動作(設定2)において、TEST0=0、TEST1=1とする。スキャン用設定保存回路12のFF122に保存されている設定値がクロック制御ブロック11に到達する。FF125は、ブロック設定保存回路13に保存されている値を保存する。このとき、FF122の値は変更しない。
Next, as shown in FIG. 14, TEST0 = 0 and TEST1 = 1 are set in the normal operation (setting 2). The setting value stored in the
次に、図15に示すように、TEST2=1とする。これにより、FF122及びFF125のレジスタ値が変更されなくなる(スキャンテストモードになる)。このとき、スキャン用設定保存回路12のFF122の値がクロック制御ブロック11に到達する。
Next, as shown in FIG. 15, TEST2 = 1. As a result, the register values of the
また、図16に示すように、FF125の値をクロック制御ブロック11に出力したい場合は、TEST0=1、TEST1=1とする。TEST2=1なので、FF122及びFF125の値は変更されない。
Also, as shown in FIG. 16, when it is desired to output the value of the
なお、本発明は上述した実施の形態のみに限定されるものではなく、本発明の要旨を逸脱しない範囲において種々の変更が可能であることは勿論である。 It should be noted that the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the present invention.
10 クロック制御回路
11 クロック制御ブロック
12 スキャン用設定保存回路
13 ブロック設定保存回路
21,122,125,132 FF
20 スキャンテスト対象回路
22 組合せ論理回路
40 バス
121,123,126,131 セレクタ
124 固定値保持部
127,128,127a,128a OR回路
129,129a インバータ回路
10
20 Scan
Claims (11)
前記クロックを生成するクロック発生回路と、
前記クロック発生回路の動作を指定する設定値を記憶する第1の記憶部と、
前記クロック発生回路と前記第1の記憶部との間に結合され、前記第1の記憶部に記憶された前記設定値をスキャンテスト用の設定値として記憶する第2記憶部と、を有し、
前記クロック発生回路は、スキャンテスト時に前記第2の記憶部に記憶された前記スキャンテスト用の設定値に基づいて前記クロックを生成することを特徴とするクロック制御回路。 A clock control circuit for supplying a clock to the scan chain during a scan test,
A clock generation circuit for generating the clock;
A first storage unit for storing a setting value for designating the operation of the clock generation circuit;
A second storage unit coupled between the clock generation circuit and the first storage unit and storing the set value stored in the first storage unit as a set value for a scan test; ,
The clock generation circuit, wherein the clock generation circuit generates the clock based on the setting value for the scan test stored in the second storage unit during a scan test.
スキャンチェーンを構成するスキャンフリップフロップで構成され前記クロック発生回路の動作を決定する第1の設定値を記憶する第1の記憶部と、
前記クロック発生回路と前記第1の記憶部との間に配置され前記第1の設定値を所定のタイミングで取得し第2の設定値として記憶する前記スキャンフリップフロップを含まない第2の記憶部と、
を有し、
前記クロック発生回路は、前記半導体装置が前記スキャンチェーンによるスキャンテストを行なう場合には前記第2の設定値に基づいてクロック信号を生成し、前記半導体装置が前記所定の機能を実現する通常動作を行なう場合には前記第1の設定値または前記第2の設定値に基づいて前記クロック信号を生成する半導体装置。 A semiconductor device having a clock generation circuit and realizing a predetermined function,
A first storage unit configured to store a first set value that is configured by a scan flip-flop constituting a scan chain and determines the operation of the clock generation circuit;
A second storage unit that is arranged between the clock generation circuit and the first storage unit and does not include the scan flip-flop that acquires the first set value at a predetermined timing and stores it as a second set value When,
Have
The clock generation circuit generates a clock signal based on the second set value when the semiconductor device performs a scan test using the scan chain, and performs a normal operation in which the semiconductor device realizes the predetermined function. A semiconductor device that generates the clock signal based on the first set value or the second set value when performing.
通常モードにおいては、クロックを生成するクロック発生回路の動作を指定する設定値を記憶する第1の記憶部から当該設定値を受け取り、クロックを生成し、
スキャンテスト時には、前記クロック発生回路と前記第1の記憶部との間に配置され、第1の記憶部に記憶された前記設定値をスキャンテスト用の設定値として記憶する第2の記憶部から当該設定値を受け取り、クロックを生成する、クロック制御回路の制御方法。 A control method of a clock control circuit for supplying a clock to a scan chain during a scan test,
In the normal mode, the setting value is received from the first storage unit that stores the setting value that specifies the operation of the clock generation circuit that generates the clock, the clock is generated,
During a scan test, a second storage unit is disposed between the clock generation circuit and the first storage unit, and stores the setting value stored in the first storage unit as a setting value for a scan test. A control method for a clock control circuit, which receives the set value and generates a clock.
前記クロック発生回路は、前記半導体装置が前記スキャンチェーンによるスキャンテストを行なう場合には、前記クロック発生回路と、スキャンチェーンを構成するスキャンフリップフロップで構成され前記クロック発生回路の動作を決定する第1の記憶部との間に配置され前記第1の設定値を所定のタイミングで取得し第2の設定値として記憶する前記スキャンフリップフロップを含まない第2の記憶部の当該第2の設定値に基づいてクロック信号を生成し、
前記半導体装置が前記所定の機能を実現する通常動作を行なう場合には前記第1の設定値または前記第2の設定値に基づいて前記クロック信号を生成する半導体装置のクロック生成方法。 A clock generation method for a semiconductor device having a clock generation circuit and realizing a predetermined function,
When the semiconductor device performs a scan test using the scan chain, the clock generation circuit is configured by the clock generation circuit and a scan flip-flop constituting the scan chain, and determines the operation of the clock generation circuit. The second set value of the second storage unit that does not include the scan flip-flop that is arranged between the storage unit and the first set value is acquired at a predetermined timing and stored as the second set value. Based on the clock signal,
A semiconductor device clock generation method for generating the clock signal based on the first set value or the second set value when the semiconductor device performs a normal operation for realizing the predetermined function.
前記クロックを生成するクロック発生回路と、
前記クロック発生回路の動作を指定する設定値を記憶する第1の記憶部と、
スキャンテスト時に前記クロック発生回路の動作を指定する設定値を記憶する第2の記憶部とを有し、
前記第1の記憶部は、前記スキャンテスト時にはスキャンチェーンに接続されスキャンテストが実施される、クロック制御回路。 A clock control circuit for supplying a clock to the scan chain during a scan test,
A clock generation circuit for generating the clock;
A first storage unit for storing a setting value for designating the operation of the clock generation circuit;
A second storage unit that stores a setting value that specifies the operation of the clock generation circuit during a scan test;
The first storage unit is a clock control circuit that is connected to a scan chain and performs a scan test during the scan test.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010070003A JP2011203079A (en) | 2010-03-25 | 2010-03-25 | Clock control circuit, control method of the same, semiconductor device, and clock generation method of the semiconductor device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010070003A JP2011203079A (en) | 2010-03-25 | 2010-03-25 | Clock control circuit, control method of the same, semiconductor device, and clock generation method of the semiconductor device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011203079A true JP2011203079A (en) | 2011-10-13 |
Family
ID=44879890
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010070003A Pending JP2011203079A (en) | 2010-03-25 | 2010-03-25 | Clock control circuit, control method of the same, semiconductor device, and clock generation method of the semiconductor device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011203079A (en) |
-
2010
- 2010-03-25 JP JP2010070003A patent/JP2011203079A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2009222644A (en) | Semiconductor integrated circuit, and design automating system | |
JP2009270832A (en) | Logic circuit | |
US20160349318A1 (en) | Dynamic Clock Chain Bypass | |
US20110175638A1 (en) | Semiconductor integrated circuit and core test circuit | |
JP2010159989A (en) | Test circuit | |
US8510616B2 (en) | Scalable scan-based test architecture with reduced test time and test power | |
JP2009216619A (en) | Semiconductor integrated circuit device | |
CN106896317B (en) | Circuit debugging method and circuit debugging system executed by scan chain of scan test | |
JP5167975B2 (en) | Semiconductor device | |
JP2014164784A (en) | Semiconductor integrated circuit device | |
JP2004158144A (en) | Semiconductor integrated circuit | |
JP2011203079A (en) | Clock control circuit, control method of the same, semiconductor device, and clock generation method of the semiconductor device | |
JP4179884B2 (en) | Semiconductor integrated circuit including operation test circuit, and operation test method thereof | |
JP2013088400A (en) | Method for inspecting semiconductor integrated circuit, and the semiconductor integrated circuit | |
JP4724774B2 (en) | Semiconductor circuit device, memory test circuit, and test method for semiconductor circuit device | |
JP2010066019A (en) | Test circuit and test method | |
JP2006058152A (en) | Testing method for semiconductor device and testing circuit of semiconductor device | |
JP2007107964A (en) | Semiconductor integrated circuit and testing method thereof | |
JP2014224725A (en) | Semiconductor integrated circuit | |
US11275114B2 (en) | Semiconductor device for controlling supply of clock signal | |
JP2008135117A (en) | Semiconductor device | |
WO2023132825A1 (en) | High-throughput scan architecture | |
JP2004361098A (en) | Semiconductor integrated circuit, and semiconductor integrated circuit device | |
JP5453981B2 (en) | LSI and test data setting method thereof | |
JP2005115578A (en) | Semiconductor integrated circuit and its design method |