[go: up one dir, main page]

JP2013036960A - Delay scan test method, semiconductor device, and semiconductor device design method - Google Patents

Delay scan test method, semiconductor device, and semiconductor device design method Download PDF

Info

Publication number
JP2013036960A
JP2013036960A JP2011175731A JP2011175731A JP2013036960A JP 2013036960 A JP2013036960 A JP 2013036960A JP 2011175731 A JP2011175731 A JP 2011175731A JP 2011175731 A JP2011175731 A JP 2011175731A JP 2013036960 A JP2013036960 A JP 2013036960A
Authority
JP
Japan
Prior art keywords
scan
flops
scan flip
test
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2011175731A
Other languages
Japanese (ja)
Inventor
Takayuki Kaneko
嵩之 金子
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.)
Renesas Electronics Corp
Original Assignee
Renesas Electronics 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 Renesas Electronics Corp filed Critical Renesas Electronics Corp
Priority to JP2011175731A priority Critical patent/JP2013036960A/en
Publication of JP2013036960A publication Critical patent/JP2013036960A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Semiconductor Integrated Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve the problem with a conventional scan test method, in which a semiconductor device having a high operation clock frequency cannot be tested with power supply voltage fluctuations suppressed.SOLUTION: The scan test method of the present invention includes the steps of: inputting a clock signal SCLK to scan flip-flops 21-2n to set a first test pattern to the scan flip-flops 21-2n; inputting a clock signal RCLK having a higher frequency than the clock signal SCLK to the scan flip-flops 21-2n and performing control so as to set the scan flip-flops 21-2n to a hold mode in which retained values are held regardless of the clock signal RCLK, and releasing the hold mode and performing control so as to set the scan flop-flops 21-2n to a test result acquisition mode in which the retained values are updated according to the output of a test target circuit; and updating the values, which are retained by the scan flip-flops 21-2n, by using two pulses of the clock signal RCLK in the test result acquisition mode.

Description

本発明は遅延スキャンテスト方法、半導体装置及び半導体装置の設計方法に関し、特に半導体装置内の回路の遅延時間をテストする遅延スキャンテスト方法、遅延スキャンテストを行うテスト回路を含む半導体装置及び半導体装置の設計方法に関する。   The present invention relates to a delay scan test method, a semiconductor device, and a semiconductor device design method, and more particularly to a delay scan test method for testing a delay time of a circuit in a semiconductor device, a semiconductor device including a test circuit for performing a delay scan test, and a semiconductor device. It relates to the design method.

近年、半導体装置では、回路動作の信頼性を高めるために、スキャンテストにより、外部から直接動作を観察できない回路の遅延故障をテストすることが行われている。このスキャンテストの一例が特許文献1に開示されている。   In recent years, in semiconductor devices, in order to increase the reliability of circuit operation, a delay failure of a circuit whose operation cannot be observed directly from the outside is tested by a scan test. An example of this scan test is disclosed in Patent Document 1.

特許文献1では、非同期の動作クロックで動作する複数のクロックドメインに対して遅延故障テストを行う場合に、複数のクロックドメインのそれぞれに対応して設けられるスキャンフリップフロップに対して1回のシフトモードを利用して一括してテストパターンを設定する。そして、特許文献1では、1回のラウンチ−キャプチャ期間に、クロックドメイン毎にラウンチクロックとキャプチャクロックとの組を順次入力する。これにより、特許文献1では、複数のクロックドメインに対する遅延故障テストのテスト時間を短縮する。   In Patent Document 1, when a delay fault test is performed on a plurality of clock domains operating with an asynchronous operation clock, one shift mode is performed for a scan flip-flop provided corresponding to each of the plurality of clock domains. Set test patterns in a batch using. In Patent Document 1, a set of a launch clock and a capture clock is sequentially input for each clock domain in one launch-capture period. Thus, in Patent Document 1, the test time of the delay fault test for a plurality of clock domains is shortened.

しかしながら、スキャンテストにおいては、ラウンチクロック及びキャプチャクロックは、シフトモードで利用されるシフトクロックよりも高速なクロック信号が用いられることが一般的である。そのため、ラウンチクロックとキャプチャクロックとを入力した場合、この高速なクロック信号によりテスト対象の半導体装置の電源電圧が降下する。このような電源電圧降下が生じた場合、電源電圧の降下の影響を受けてテスト対象回路の遅延時間が本来の遅延時間よりも長くなり、テスト結果の誤判定が生じる問題がある。   However, in the scan test, the launch clock and the capture clock are generally clock signals that are faster than the shift clock used in the shift mode. For this reason, when a launch clock and a capture clock are input, the power supply voltage of the semiconductor device to be tested drops due to the high-speed clock signal. When such a power supply voltage drop occurs, the delay time of the circuit under test becomes longer than the original delay time due to the influence of the power supply voltage drop, and there is a problem that erroneous determination of the test result occurs.

特許文献1では、クロックドメイン毎に異なるタイミングでラウンチクロックとキャプチャクロックとが入力されるが、このような場合であっても少なくとも最初に入力されるラウンチクロックとキャプチャクロックとにより電源電圧降下が生じる。   In Patent Document 1, the launch clock and the capture clock are input at different timings for each clock domain. Even in such a case, a power supply voltage drop occurs due to at least the launch clock and the capture clock that are input first. .

そこで、特許文献2では、クロック信号の周波数の上昇による電源電圧の降下を防止する技術が開示されている。特許文献2では、半導体装置にクロック信号を与える場合に、クロック信号の周波数を徐々に上昇又は下降させることで、クロック信号の周波数の急激な変化による電源電圧の変動を抑制する。   Therefore, Patent Document 2 discloses a technique for preventing a drop in power supply voltage due to an increase in the frequency of a clock signal. In Patent Document 2, when a clock signal is supplied to a semiconductor device, the frequency of the clock signal is gradually increased or decreased to suppress fluctuations in the power supply voltage due to a sudden change in the frequency of the clock signal.

特開2008−275480号公報JP 2008-275480 A 特開2005−249526号公報JP-A-2005-249526

しかしながら、特許文献2の技術をスキャンテストに適用した場合、シフトモードで利用するシフトクロック信号の周波数を、特許文献2の手法を利用して徐々に高め、その後ラウンチクロックとキャプチャクロックとを入力するキャプチャモードに移行する必要がある。この場合、キャプチャモードに移行する直前の状態におけるシフトクロック信号の周波数を、ラウンチクロックとキャプチャクロックとの周波数にほぼ等しくする必要がある。シフトクロック信号を上記のように制御した場合、スキャンチェーンを構成するスキャンフリップフロップ間のタイミング制約が厳しくなり、設計が困難になる問題がある。   However, when the technique of Patent Document 2 is applied to the scan test, the frequency of the shift clock signal used in the shift mode is gradually increased using the technique of Patent Document 2, and then the launch clock and the capture clock are input. Need to transition to capture mode. In this case, it is necessary to make the frequency of the shift clock signal in the state immediately before shifting to the capture mode substantially equal to the frequency of the launch clock and the capture clock. When the shift clock signal is controlled as described above, there is a problem that the timing constraint between the scan flip-flops constituting the scan chain becomes severe and the design becomes difficult.

ここで、ラウンチクロックとキャプチャクロックは、半導体装置の動作クロックの周波数と等しいか、それ以上の周波数に設定される。そのため、半導体装置の動作クロックの周波数が向上するほど上記したスキャンフリップフロップ間のタイミング制約の問題は顕著になる。   Here, the launch clock and the capture clock are set to a frequency equal to or higher than the frequency of the operation clock of the semiconductor device. For this reason, the problem of the timing constraint between the scan flip-flops becomes more remarkable as the frequency of the operation clock of the semiconductor device is improved.

本発明にかかる半導体装置の遅延スキャンテスト方法は、テスト対象回路と、従属接続された複数のスキャンフリップフロップと、前記複数のスキャンフリップへのクロック分配経路に設けられたクロックバッファ群と、を有し、前記テスト対象回路を前記複数のスキャンフリップフロップによりテストする半導体装置の遅延スキャンテスト方法であって、第1のクロック信号を前記複数のスキャンフリップフロップに入力して前記テスト対象回路に入力する第1のテストパターンを前記複数のスキャンフリップフロップに設定し、前記第1のクロック信号よりも周波数の高い第2のクロック信号を前記複数のスキャンフリップフロップに入力すると共に、前記複数のスキャンフリップフロップを前記第2のクロック信号によらず保持する値を維持するホールドモードに制御し、前記ホールドモードを解除すると共に前記複数のスキャンフリップフロップを前記テスト対象回路の出力に応じて保持する値を更新するテスト結果取得モードに制御し、前記テスト結果取得モードにおいて前記第2のクロック信号を2パルス用いて前記複数のスキャンフリップフロップに保持されている値を更新し、前記テスト結果取得モードを解除した後に前記第1のクロック信号を前記複数のスキャンフリップフロップに入力して、前記複数のスキャンフリップフロップに保持されている値をテスト結果として外部出力する。   A delay scan test method for a semiconductor device according to the present invention includes a test target circuit, a plurality of cascade-connected scan flip-flops, and a clock buffer group provided in a clock distribution path to the plurality of scan flip-flops. A method for delay scan testing of a semiconductor device for testing the test target circuit with the plurality of scan flip-flops, wherein a first clock signal is input to the plurality of scan flip-flops and input to the test target circuit. A first test pattern is set in the plurality of scan flip-flops, a second clock signal having a higher frequency than the first clock signal is input to the plurality of scan flip-flops, and the plurality of scan flip-flops Is held regardless of the second clock signal Control to a hold mode to be maintained, release the hold mode, and control to a test result acquisition mode for updating a value to hold the plurality of scan flip-flops in accordance with the output of the test target circuit, the test result acquisition mode 2 to update values held in the plurality of scan flip-flops using two pulses of the second clock signal, and after releasing the test result acquisition mode, the first clock signal is changed to the plurality of scan flip-flops. And the values held in the plurality of scan flip-flops are externally output as test results.

本発明にかかる半導体装置の一態様は、テスト対象回路と、前記テスト対象回路をテストし、従属接続される複数のスキャンフリップフロップと、前記複数のスキャンフリップへのクロック分配経路に設けられたクロックバッファ群と、を有する半導体装置であって、前記複数のスキャンフリップフロップは、それぞれ入力されるクロック信号に応じて保持する値を更新すると共に、外部から入力されるテストモードにより保持する値を更新するシフトモードと、前記テスト対象回路の出力する値に応じて保持する値を更新するキャプチャモードと、がスキャンモード制御信号の論理レベルに応じて切り換えられる基本スキャンフリップフロップと、前記キャプチャモードにおいて、キャプチャイネーブル信号がイネーブル状態である場合には前記基本スキャンフリップフロップが保持する値を更新し、前記キャプチャイネーブル信号がディスイネーブル状態である場合には前記基本スキャンフリップフロップが保持する値を維持するホールド回路と、を有し、前記基本スキャンフリップフロップには、キャプチャイネーブル信号がイネーブル状態である期間に前記クロック信号に含まれる連続した2つのクロックパルスが入力される。   One aspect of a semiconductor device according to the present invention includes: a test target circuit; a plurality of scan flip-flops that test and test-connect the test target circuit; and a clock provided in a clock distribution path to the plurality of scan flips A plurality of scan flip-flops, each of which updates a value held in accordance with an input clock signal and updates a value held in an externally input test mode. A basic scan flip-flop that is switched according to a logic level of a scan mode control signal, and a capture mode that updates a value held in accordance with a value output from the test target circuit, When the capture enable signal is enabled A hold circuit that updates a value held by the basic scan flip-flop and maintains a value held by the basic scan flip-flop when the capture enable signal is in a disenable state, and the basic scan flip-flop Two continuous clock pulses included in the clock signal are input to the group during a period when the capture enable signal is in the enabled state.

本発明にかかる半導体装置の設計方法の一態様は、テスト対象回路と、前記テスト対象回路をテストし、従属接続される複数のスキャンフリップフロップと、を有する半導体装置の設計方法であって、前記テスト対象回路を含む回路を含む第1のネットリストを読み込み、前記テスト対象回路に対応する位置に、スキャンモード制御信号の値に応じて保持する値を前段のスキャンフリップフロップの出力により更新するか前記テスト対象回路の出力に応じて更新するかを切り換える前記複数の基本スキャンフリップフロップのネット情報を生成し、前記複数の基本スキャンフリップフロップのそれぞれに対して、キャプチャイネーブル信号に応じて前記複数の基本スキャンフリップフロップが保持する値を更新するか維持するかを切り換えるホールド回路のネット情報を生成し、前記複数の基本スキャンフリップフロップが保持する値を前段のスキャンフリップフロップの出力により更新するか前記テスト対象回路の出力に応じて更新するかを指示するスキャンモード制御信号と、前記複数のスキャンフリップフロップに与えられるクロック信号と、に応じて前記キャプチャイネーブル信号をイネーブル状態とするかディスイネーブル状態とするかを切り換えるスキャン制御回路のネット情報を生成し、前記第1のネットリストに、前記複数の基本スキャンフリップフロップのネット情報、前記ホールド回路のネット情報及び前記スキャン制御回路のネット情報を追加して、第2のネットリストを生成する。   One aspect of a semiconductor device design method according to the present invention is a semiconductor device design method comprising: a test target circuit; and a plurality of scan flip-flops that are cascade-connected to test the test target circuit. Whether the first netlist including the circuit including the test target circuit is read, and the value held in accordance with the value of the scan mode control signal is updated at the position corresponding to the test target circuit by the output of the preceding scan flip-flop Net information of the plurality of basic scan flip-flops that switches whether to update according to the output of the test target circuit is generated, and each of the plurality of basic scan flip-flops corresponds to the plurality of basic scan flip-flops according to a capture enable signal. Switch between updating or maintaining the value held by the basic scan flip-flop Scan mode control for generating net information of a yield circuit and instructing whether the values held by the plurality of basic scan flip-flops are updated by the output of the preceding scan flip-flop or according to the output of the circuit under test Net information of a scan control circuit that switches between enabling and disabling the capture enable signal according to a signal and a clock signal applied to the plurality of scan flip-flops; The second netlist is generated by adding the net information of the plurality of basic scan flip-flops, the net information of the hold circuit, and the net information of the scan control circuit.

本発明にかかる半導体装置の遅延スキャンテスト方法によれば、遅延テストに利用される高速な2パルスの第2のクロック信号(例えば、ラウンチクロックとキャプチャクロック)が入力される前にスキャンフリップフロップに保持された値を維持しながら、スキャンフリップフロップに第2のクロック信号を入力する。これにより、半導体装置の電源電圧を第2のクロック信号が入力された状態で適切な電圧とした上で遅延スキャンテストを行うことができる。また、本発明にかかる半導体装置及び半導体装置の設計方法によれば、上記遅延スキャンテスト方法を実行可能な半導体装置を提供できる。   According to the delay scan test method for a semiconductor device according to the present invention, before a high-speed two-pulse second clock signal (for example, a launch clock and a capture clock) used for a delay test is input to the scan flip-flop. The second clock signal is input to the scan flip-flop while maintaining the held value. Thus, the delay scan test can be performed after setting the power supply voltage of the semiconductor device to an appropriate voltage in a state where the second clock signal is input. Further, according to the semiconductor device and the semiconductor device design method according to the present invention, a semiconductor device capable of executing the delayed scan test method can be provided.

本発明にかかる遅延スキャンテスト方法、半導体装置及び半導体装置の設計方法によれば、遅延スキャンテスト時の電源電圧の変動を抑制することができる。   According to the delay scan test method, the semiconductor device, and the semiconductor device design method according to the present invention, it is possible to suppress fluctuations in the power supply voltage during the delay scan test.

実施の形態1にかかる半導体装置のブロック図である。1 is a block diagram of a semiconductor device according to a first embodiment; 実施の形態1にかかるスキャンフリップフロップ及びテスト制御回路のブロック図である。FIG. 2 is a block diagram of a scan flip-flop and a test control circuit according to the first exemplary embodiment. 実施の形態1にかかる半導体装置のテスト方法の手順を示すタイミングチャートである。3 is a timing chart showing a procedure of a test method for the semiconductor device according to the first embodiment; 実施の形態2にかかるスキャンフリップフロップ及びテスト制御回路のブロック図である。FIG. 6 is a block diagram of a scan flip-flop and a test control circuit according to a second embodiment. 実施の形態2にかかる半導体装置のテスト方法の手順を示すタイミングチャートである。6 is a timing chart illustrating a procedure of a test method for a semiconductor device according to a second embodiment; 実施の形態3にかかる半導体装置のブロック図である。FIG. 6 is a block diagram of a semiconductor device according to a third embodiment. 実施の形態4にかかる半導体装置の設計支援装置である。10 is a design support apparatus for a semiconductor device according to a fourth embodiment; 実施の形態4にかかる半導体装置の設計方法のフローチャートである。10 is a flowchart of a semiconductor device design method according to a fourth embodiment;

実施の形態1
以下、図面を参照して本発明の実施の形態について説明する。実施の形態1にかかる半導体装置1のブロック図を図1に示す。図1に示すように、半導体装置1は、組合せ回路11a〜11c、テスト制御回路12、テスト回路20、を有する。この組合せ回路11a〜11cは、テスト対象回路の一例である。
Embodiment 1
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a block diagram of the semiconductor device 1 according to the first embodiment. As shown in FIG. 1, the semiconductor device 1 includes combinational circuits 11a to 11c, a test control circuit 12, and a test circuit 20. The combinational circuits 11a to 11c are examples of test target circuits.

テスト制御回路12は、動作モードに応じてテスト回路20に与えるクロック信号CLKの周波数及びキャプチャイネーブル信号CENの状態を切り換える。テスト制御回路12は、クロック制御回路13、キャプチャ制御回路16を有する。クロック制御回路13、スキャンモード制御信号SMCに応じてテスト回路20に与えるクロック信号CLKを第1のクロック信号(例えば、シフトクロックSCLK)とするか、第2のクロック信号(リアルタイムクロックRCLK)とするかを切り換える。また、キャプチャ制御回路16は、スキャンモード制御信号SMCとクロック信号CLKとに基づきスキャンフリップフロップがキャプチャ動作を行うタイミングを制御するキャプチャイネーブル信号CENを生成する。このクロック制御回路13とキャプチャ制御回路16の詳細は後述する。   The test control circuit 12 switches the frequency of the clock signal CLK applied to the test circuit 20 and the state of the capture enable signal CEN according to the operation mode. The test control circuit 12 includes a clock control circuit 13 and a capture control circuit 16. The clock signal CLK supplied to the test circuit 20 in response to the clock control circuit 13 and the scan mode control signal SMC is the first clock signal (for example, the shift clock SCLK) or the second clock signal (real-time clock RCLK). Switch between. The capture control circuit 16 also generates a capture enable signal CEN that controls the timing at which the scan flip-flop performs a capture operation based on the scan mode control signal SMC and the clock signal CLK. Details of the clock control circuit 13 and the capture control circuit 16 will be described later.

テスト回路20は、スキャンモード制御信号SMCと、キャプチャイネーブル信号CENと、クロック信号CLKと、テストパターンSINとが入力され、テスト対象回路に対するテストを行う。より具体的には、テスト回路20は、スキャンモード制御信号SMCがシフトモードを示す場合(例えば、ハイレベル)には、外部から入力されるテストパターンSINをテスト回路内の複数のスキャンフリップフロップに設定する。また、テスト回路20は、スキャンモード制御信号SMCがキャプチャモードを示す場合(例えば、ローレベル)には、テスト回路20において保持されているテストパターンSINに基づくテスト値により遅延スキャンテストを実施する。ここで、実施の形態1にかかるテスト回路20は、スキャンモード制御信号SMCがキャプチャモード中の動作モードとして、ホールドモードとテスト結果取得モードとを有する。テスト回路20は、キャプチャ制御回路16が出力するキャプチャイネーブル信号CENがディスイネーブル状態であればホールドモードとなり、イネーブル状態であればテスト結果取得モードとなる。ホールドモードでは、スキャンフリップフロップに入力されるクロック信号CLKに関わらずスキャンフリップフロップで保持している値を維持する。また、テスト結果取得モードでは、スキャンフリップフロップに入力されるクロック信号CLKに応じてスキャンフリップフロップで保持している値を組合せ回路から出力される値で更新する。   The test circuit 20 receives the scan mode control signal SMC, the capture enable signal CEN, the clock signal CLK, and the test pattern SIN, and performs a test on the test target circuit. More specifically, when the scan mode control signal SMC indicates the shift mode (for example, high level), the test circuit 20 applies the test pattern SIN input from the outside to a plurality of scan flip-flops in the test circuit. Set. In addition, when the scan mode control signal SMC indicates the capture mode (for example, low level), the test circuit 20 performs a delayed scan test using a test value based on the test pattern SIN held in the test circuit 20. Here, the test circuit 20 according to the first embodiment has a hold mode and a test result acquisition mode as operation modes when the scan mode control signal SMC is in the capture mode. The test circuit 20 enters the hold mode if the capture enable signal CEN output from the capture control circuit 16 is disabled, and enters the test result acquisition mode if it is enabled. In the hold mode, the value held in the scan flip-flop is maintained regardless of the clock signal CLK input to the scan flip-flop. In the test result acquisition mode, the value held in the scan flip-flop is updated with the value output from the combinational circuit in accordance with the clock signal CLK input to the scan flip-flop.

ここで、テスト回路20の詳細な構成について説明する。図1に示すように、テスト回路20は、スキャンフリップフロップ21〜2n(nは整数、以下同じ)、クロックバッファ群31〜3nを有する。なお、クロックバッファ群31〜3nは、クロック信号CLKがスキャンフリップフロップ21〜2nに到達するタイミングを制御するために設けられるものであり、クロックバッファ群31〜3nに含まれるクロックバッファの数及びその配置は設計時に適宜設定されるものである。   Here, a detailed configuration of the test circuit 20 will be described. As shown in FIG. 1, the test circuit 20 includes scan flip-flops 21 to 2n (n is an integer, the same applies hereinafter) and clock buffer groups 31 to 3n. The clock buffer groups 31 to 3n are provided for controlling the timing at which the clock signal CLK reaches the scan flip-flops 21 to 2n. The number of clock buffers included in the clock buffer groups 31 to 3n and The arrangement is appropriately set at the time of design.

スキャンフリップフロップ21〜2nは、それぞれスキャンモード制御信号SMCと、キャプチャイネーブル信号CENと、クロック信号CLKと、テストパターンSINと、データ入力信号DINが入力され、出力信号Qを出力する。以下の説明では、スキャンモード制御信号SMCが入力される入力端子をスキャンモード制御信号入力端子SMC、キャプチャイネーブル信号CENが入力される入力端子をキャプチャイネーブル信号入力端子CEN、クロック信号CLKが入力される入力端子をクロック入力端子CLK、テストパターンSINが入力される入力端子をテストパターン入力端子SIN、データ入力信号DINが入力される入力端子をデータ入力端子DIN、出力信号Qが出力される出力端子を出力端子Qと称す。   The scan flip-flops 21 to 2n receive the scan mode control signal SMC, the capture enable signal CEN, the clock signal CLK, the test pattern SIN, and the data input signal DIN, respectively, and output the output signal Q. In the following description, the input terminal to which the scan mode control signal SMC is input is the scan mode control signal input terminal SMC, the input terminal to which the capture enable signal CEN is input is the capture enable signal input terminal CEN, and the clock signal CLK is input. The input terminal is the clock input terminal CLK, the input terminal to which the test pattern SIN is input is the test pattern input terminal SIN, the input terminal to which the data input signal DIN is input is the data input terminal DIN, and the output terminal to which the output signal Q is output It is called output terminal Q.

スキャンフリップフロップ21〜2nは、スキャンモード制御信号SMCが第1のモード(例えば、シフトモード)を示す状態(例えば、ハイレベル)である場合、テストパターンSINに基づくテスト値をクロック信号CLKに同期して保持し、出力端子Qから出力する。また、スキャンフリップフロップ21〜2nは、スキャンモード制御信号SMCが第2のモード(例えば、キャプチャモード)を示す状態(例えば、ローレベル)である場合、データ入力信号DINに基づくテスト値をクロック信号CLKに同期して保持するとともに出力信号Qとして出力する。さらに、スキャンフリップフロップ21〜2nは、キャプチャイネーブル信号CENがディスイネーブル状態(例えば、ローレベル)である場合、その時点で保持している値を維持する。   The scan flip-flops 21 to 2n synchronize the test value based on the test pattern SIN with the clock signal CLK when the scan mode control signal SMC is in a state (for example, high level) indicating the first mode (for example, shift mode). And output from the output terminal Q. Further, when the scan mode control signal SMC is in a state (for example, low level) indicating the second mode (for example, capture mode), the scan flip-flops 21 to 2n receive a test value based on the data input signal DIN as a clock signal. It is held in synchronization with CLK and output as an output signal Q. Furthermore, when the capture enable signal CEN is in a disable state (for example, low level), the scan flip-flops 21 to 2n maintain the value held at that time.

スキャンフリップフロップ21〜2nは、従属接続され、スキャンチェーン回路を構成する。より具体的には、スキャンフリップフロップは、テストパターン入力端子SINが前段に配置されるスキャンフリップフロップの出力端子Qと接続される入力される。スキャンフリップフロップ21〜2nのデータ入力端子DINは、組合せ回路11a、11bのいずれかに接続される。スキャンフリップフロップ21〜2nの出力端子Qは、後段に配置されるスキャンフリップフロップ21〜2nのテストパターン入力端子SINと、組合せ回路11b、11cと、に接続される。なお、スキャンチェーン回路の初段に配置されるスキャンフリップフロップ21のテストパターン入力端子SINは、外部からテストパターンSINの供給を受ける。また、スキャンチェーン回路の最後段に配置されるスキャンフリップフロップ2nの出力端子Qは、外部に対してテスト結果信号を出力端子SOUTから出力する。   The scan flip-flops 21 to 2n are cascade-connected to form a scan chain circuit. More specifically, the scan flip-flop is input such that the test pattern input terminal SIN is connected to the output terminal Q of the scan flip-flop disposed in the preceding stage. The data input terminals DIN of the scan flip-flops 21 to 2n are connected to one of the combinational circuits 11a and 11b. The output terminals Q of the scan flip-flops 21 to 2n are connected to the test pattern input terminals SIN and the combinational circuits 11b and 11c of the scan flip-flops 21 to 2n arranged in the subsequent stage. Note that the test pattern input terminal SIN of the scan flip-flop 21 arranged in the first stage of the scan chain circuit is supplied with the test pattern SIN from the outside. Further, the output terminal Q of the scan flip-flop 2n arranged at the last stage of the scan chain circuit outputs a test result signal from the output terminal SOUT to the outside.

実施の形態1にかかるスキャンフリップフロップ21〜2nは、一般的なスキャンフリップフロップとは異なる構成を有する。具体的には、スキャンフリップフロップ21〜2nは、特徴の1つとしてキャプチャイネーブル信号CENに応じて保持している値を更新するか維持するかを切り換えることができる構成を有する。そこで、スキャンフリップフロップ21〜2nの構成について詳細に説明する。スキャンフリップフロップ21〜2nは、同一の構成を有するため、以下の説明では、スキャンフリップフロップ21を例に実施の形態1にかかるスキャンフリップフロップについて説明する。また、スキャンフリップフロップ21〜2nを制御するテスト制御回路12の詳細な構成についてもスキャンフリップフロップ21と共に説明する。   The scan flip-flops 21 to 2n according to the first embodiment have a configuration different from that of a general scan flip-flop. Specifically, the scan flip-flops 21 to 2n have a configuration capable of switching whether to update or maintain the value held in accordance with the capture enable signal CEN as one of the features. Therefore, the configuration of the scan flip-flops 21 to 2n will be described in detail. Since the scan flip-flops 21 to 2n have the same configuration, in the following description, the scan flip-flop according to the first embodiment will be described using the scan flip-flop 21 as an example. The detailed configuration of the test control circuit 12 that controls the scan flip-flops 21 to 2n will also be described together with the scan flip-flop 21.

スキャンフリップフロップ21及びテスト制御回路12の詳細なブロック図を図2に示す。図2に示すように、スキャンフリップフロップ21は、基本スキャンフリップフロップ40にホールド回路50を有する。ホールド回路50は、キャプチャイネーブル信号CENがディスイネーブル状態(例えば、0)である場合に、基本スキャンフリップフロップ40で保持している値が入力されるクロック信号CLKに応じて更新されることを防止する。一方、ホールド回路50は、キャプチャイネーブル信号CENがイネーブル状態(例えば、1)である場合には、基本スキャンフリップフロップ40で保持している値が入力されるクロック信号CLKに応じて更新されることを許可する。   A detailed block diagram of the scan flip-flop 21 and the test control circuit 12 is shown in FIG. As shown in FIG. 2, the scan flip-flop 21 has a hold circuit 50 in the basic scan flip-flop 40. The hold circuit 50 prevents the value held in the basic scan flip-flop 40 from being updated according to the input clock signal CLK when the capture enable signal CEN is in a disable state (for example, 0). To do. On the other hand, when the capture enable signal CEN is in an enabled state (for example, 1), the hold circuit 50 is updated according to the clock signal CLK to which the value held in the basic scan flip-flop 40 is input. Allow.

基本スキャンフリップフロップ40は、フリップフロップ回路41及び第1のセレクタ42を有する。フリップフロップ回路41は、クロック入力端子、保持値入力端子D、出力端子Qを有する。フリップフロップ回路41は、クロック信号CLKに応じて保持値入力端子Dに与えられる信号に基づくテスト値を保持する。第1のセレクタ42は、テストパターンSINが第1の入力端子(スキャンモード制御信号SMCがシフトモード(例えば、1)を示すのときに選択される端子)に与えられ、ホールド回路50の第2のセレクタ51の出力値が第2の入力端子(スキャンモード制御信号SMCがキャプチャモード(例えば、0)を示すときに選択される)に与えられる。そして、第1のセレクタ42は、スキャンモード制御信号SMCの値に応じてフリップフロップ回路41の保持値入力端子Dに与える値を切り換える。   The basic scan flip-flop 40 includes a flip-flop circuit 41 and a first selector 42. The flip-flop circuit 41 has a clock input terminal, a hold value input terminal D, and an output terminal Q. The flip-flop circuit 41 holds a test value based on a signal applied to the hold value input terminal D in accordance with the clock signal CLK. In the first selector 42, the test pattern SIN is given to a first input terminal (a terminal selected when the scan mode control signal SMC indicates a shift mode (eg, 1)), and the second selector 42 of the hold circuit 50 is supplied. The output value of the selector 51 is supplied to the second input terminal (selected when the scan mode control signal SMC indicates the capture mode (eg, 0)). Then, the first selector 42 switches the value given to the hold value input terminal D of the flip-flop circuit 41 according to the value of the scan mode control signal SMC.

ホールド回路50は、第2のセレクタ51を有する。第2のセレクタ51は、テスト対象回路の出力値(例えば、データ入力信号DIN)と、フリップフロップ回路41の出力値と、が入力され、キャプチャイネーブル信号CENの状態に応じて第1のセレクタ42の第2の入力端子に与える信号を切り換える。より具体的には、キャプチャイネーブル信号CENがディスイネーブル状態(例えば、0)である場合、第2のセレクタ51は、フリップフロップ回路41の出力値を第1のセレクタ42の第2の入力端子に与える。また、キャプチャイネーブル信号CENがイネーブル状態(例えば、1)である場合、第2のセレクタ51は、データ入力信号DINを第1のセレクタ42の第2の入力端子に与える。   The hold circuit 50 includes a second selector 51. The second selector 51 receives the output value (for example, the data input signal DIN) of the circuit to be tested and the output value of the flip-flop circuit 41, and the first selector 42 according to the state of the capture enable signal CEN. The signal applied to the second input terminal is switched. More specifically, when the capture enable signal CEN is in a disabled state (for example, 0), the second selector 51 sends the output value of the flip-flop circuit 41 to the second input terminal of the first selector 42. give. When the capture enable signal CEN is in an enabled state (for example, 1), the second selector 51 supplies the data input signal DIN to the second input terminal of the first selector 42.

また、図2に示すように、テスト制御回路12は、クロック制御回路13、キャプチャ制御回路16を有する。クロック制御回路13は、PLL回路14と、セレクタ15とを有する。PLL回路14は、外部から入力される基準クロックREFCを逓倍して第2のクロック信号(例えば、リアルタイムクロックRCLK)を生成する。セレクタ15は、シフトクロックSCLKとリアルタイムクロックRCLKとのいずれか一方をスキャンモード制御信号SMCに応じて選択して、選択した信号をクロック信号CLKとして出力する。より具体的には、セレクタ15は、スキャンモード制御信号SMCがシフトモード(例えば、1)を示す場合にはシフトクロックSCLKをクロック信号CLKとして出力する。また、セレクタ15は、スキャンモード制御信号SMCがキャプチャモード(例えば、0)を示す場合にはリアルタイムクロックRCLKをクロック信号CLKとして出力するなお、リアルタイムクロックRCLKは、スキャンテストで利用されるラウンチクロックとキャプチャクロックの周波数と同じ周波数を有するクロック信号である。   As shown in FIG. 2, the test control circuit 12 includes a clock control circuit 13 and a capture control circuit 16. The clock control circuit 13 includes a PLL circuit 14 and a selector 15. The PLL circuit 14 multiplies a reference clock REFC input from the outside to generate a second clock signal (for example, a real time clock RCLK). The selector 15 selects one of the shift clock SCLK and the real time clock RCLK according to the scan mode control signal SMC, and outputs the selected signal as the clock signal CLK. More specifically, the selector 15 outputs the shift clock SCLK as the clock signal CLK when the scan mode control signal SMC indicates the shift mode (for example, 1). The selector 15 outputs the real-time clock RCLK as the clock signal CLK when the scan mode control signal SMC indicates the capture mode (for example, 0). The real-time clock RCLK is a launch clock used in the scan test. This is a clock signal having the same frequency as that of the capture clock.

キャプチャ制御回路16は、スキャンモード制御信号SMCとクロック信号CLKとに基づきスキャンフリップフロップがキャプチャ動作を行うタイミングを制御するキャプチャイネーブル信号CENを生成する。キャプチャ制御回路16は、ゲーティング回路(例えば、AND回路17)、カウンタ18を有する。AND回路17の一方の入力端子は、正転入力端子である。この正転入力端子には、クロック信号CLKが入力される。AND回路17の他方の入力端子は、反転入力端子である。この反転入力端子には、スキャンモード制御信号SMCが入力される。AND回路17は、スキャンモード制御信号SMCの反転論理とクロック信号CLKとの論理積演算結果を出力する。つまり、AND回路17は、スキャンモード制御信号SMCがシフトモード(例えば、1)を示す場合にはクロック信号CLKが後段の回路(例えば、カウンタ18)に伝達されることを防止する。一方、AND回路17は、スキャンモード制御信号SMCがキャプチャモード(例えば、0)を示す場合にはクロック信号CLKを後段の回路(例えば、カウンタ18)に伝達する。   The capture control circuit 16 generates a capture enable signal CEN that controls the timing at which the scan flip-flop performs a capture operation based on the scan mode control signal SMC and the clock signal CLK. The capture control circuit 16 includes a gating circuit (for example, an AND circuit 17) and a counter 18. One input terminal of the AND circuit 17 is a normal input terminal. The clock signal CLK is input to the normal input terminal. The other input terminal of the AND circuit 17 is an inverting input terminal. A scan mode control signal SMC is input to the inverting input terminal. The AND circuit 17 outputs a logical product operation result of the inverted logic of the scan mode control signal SMC and the clock signal CLK. That is, the AND circuit 17 prevents the clock signal CLK from being transmitted to the subsequent circuit (for example, the counter 18) when the scan mode control signal SMC indicates the shift mode (for example, 1). On the other hand, when the scan mode control signal SMC indicates the capture mode (for example, 0), the AND circuit 17 transmits the clock signal CLK to the subsequent circuit (for example, the counter 18).

カウンタ18は、AND回路17を介して入力されるクロック信号CLKのクロック数をカウントする。カウンタ18は、設定レジスタ(不図示)に所定の値(例えば、キャプチャ判定値)を有する。そして、カウンタ18は、クロック信号CLKのクロック数がキャプチャ判定値に達したことに応じて、キャプチャイネーブル信号CENをディスイネーブル状態からイネーブル状態に切り換える。そして、カウンタ18は、カウント値がさらに2つ進むとキャプチャイネーブル信号CENをイネーブル状態からディスイネーブル状態に切り換える。これは、実施の形態1にかかる半導体装置1では、キャプチャイネーブル信号CENがイネーブル状態である期間にラウンチクロックパルスとキャプチャクロックパルスの2クロックパルスを要するためである。なお、カウンタ18は、キャプチャイネーブル信号CENをイネーブル状態からディスイネーブル状態に切り換えたことに応じてカウント値をリセットすることが好ましい。   The counter 18 counts the number of clocks of the clock signal CLK input via the AND circuit 17. The counter 18 has a predetermined value (for example, a capture determination value) in a setting register (not shown). Then, the counter 18 switches the capture enable signal CEN from the disabled state to the enabled state in response to the number of clocks of the clock signal CLK reaching the capture determination value. Then, the counter 18 switches the capture enable signal CEN from the enabled state to the disabled state when the count value advances two more. This is because the semiconductor device 1 according to the first embodiment requires two clock pulses of the launch clock pulse and the capture clock pulse during the period when the capture enable signal CEN is enabled. The counter 18 preferably resets the count value in response to the capture enable signal CEN being switched from the enabled state to the disabled state.

続いて、実施の形態1にかかる半導体装置1のテスト方法について説明する。まず、実施の形態1にかかる半導体装置1のテスト方法の手順を示すタイミングチャートを図3に示す。半導体装置1のテスト方法は、遅延スキャンテストと呼ばれるものである。図3に示すように、半導体装置1のテストでは、まず、スキャンモード制御信号SMCをシフトモード(例えば、1)とする。そして、シフトモードにおいてテストパターンSINを第1のクロック信号(例えば、シフトクロックSCLK)に同期して内蔵されたスキャンフリップフロップ21〜2nに入力する。ここで、実施の形態1にかかる半導体装置1では、シフトモードにおいてスキャンフリップフロップ21〜2nに入力されたテストパターンSINを一度テスト対象回路に入力し、当該テスト対象回路がテストパターンSINに基づき出力した出力値に基づき遅延スキャンテストを実行する。そこで、シフトモードにおいてスキャンフリップフロップ21〜2nに入力されたテストパターンSINを以下では第1のテストパターンと称し、当該テスト対象回路が第1のテストパターンに基づき生成した出力値を第2のテストパターンと称す。また、シフトモードで利用されるシフトクロックSCLKは、キャプチャモードで利用されるリアルタイムクロックRCLKも周波数が低いクロック信号である。   Next, a test method for the semiconductor device 1 according to the first embodiment will be described. First, FIG. 3 shows a timing chart showing the procedure of the test method for the semiconductor device 1 according to the first embodiment. The test method for the semiconductor device 1 is called a delayed scan test. As shown in FIG. 3, in the test of the semiconductor device 1, first, the scan mode control signal SMC is set to the shift mode (for example, 1). In the shift mode, the test pattern SIN is input to the built-in scan flip-flops 21 to 2n in synchronization with the first clock signal (for example, the shift clock SCLK). Here, in the semiconductor device 1 according to the first embodiment, the test pattern SIN input to the scan flip-flops 21 to 2n is once input to the test target circuit in the shift mode, and the test target circuit is output based on the test pattern SIN. The delayed scan test is executed based on the output value. Therefore, the test pattern SIN input to the scan flip-flops 21 to 2n in the shift mode is hereinafter referred to as a first test pattern, and the output value generated by the circuit under test based on the first test pattern is the second test pattern. This is called a pattern. Further, the shift clock SCLK used in the shift mode is a clock signal having a low frequency as well as the real time clock RCLK used in the capture mode.

続いて、実施の形態1にかかる遅延スキャンテスト方法では、スキャンモード制御信号SMCをキャプチャモード(例えば、0)とする。そして、スキャンモード制御信号SMCをキャプチャモードとしたことに応じて、クロック制御回路13は、出力するクロック信号CLKをシフトクロックSCLKからリアルタイムクロックRCLKに切り換える。また、スキャンモード制御信号SMCをキャプチャモードとしたことに応じて、AND回路17を介してカウンタ18にリアルタイムクロックRCLKが入力される。そして、カウンタ18は、リアルタイムクロックRCLKのクロック数がキャプチャ判定値に達するまでの期間キャプチャイネーブル信号CENをディスイネーブル状態(例えば、0)とする。ここで、キャプチャイネーブル信号CENがディスイネーブル状態となる期間の半導体装置1の動作モードをホールドモードと称す。このホールドモードでは、スキャンフリップフロップ21〜2nの第1のセレクタ42は、スキャンモード制御信号SMCの値に応じて第2のセレクタ51の出力値を選択する。また、ホールドモードでは、スキャンフリップフロップ21〜2nの第2セレクタ51は、キャプチャイネーブル信号CENの値に応じてフリップフロップ回路41の出力値を出力する。そのため、スキャンフリップフロップ21〜2nは、ホールドモードでは、キャプチャモードに移行した時点で保持している値を維持すると共にテスト対象回路に第1のテストパターンを出力する。そして、テスト対象回路は、この第1のテストパターンに基づき第2のテストパターンを生成する。また、ホールドモードでは、リアルタイムクロックRCLKがクロックバッファ群31〜3nに入力される。そのため、ホールドモードでは、クロックバッファ群31〜3nは、動作状態であり、半導体装置1の消費電流が増加する。そして、半導体装置1に電源電圧を供給する電源回路(不図示)は、増加した消費電力に起因した電源電圧の変動を抑制するように電流供給能力を引き上げる。   Subsequently, in the delayed scan test method according to the first embodiment, the scan mode control signal SMC is set to the capture mode (for example, 0). Then, in response to setting the scan mode control signal SMC to the capture mode, the clock control circuit 13 switches the output clock signal CLK from the shift clock SCLK to the real time clock RCLK. Further, in response to the scan mode control signal SMC being set to the capture mode, the real time clock RCLK is input to the counter 18 via the AND circuit 17. The counter 18 disables the capture enable signal CEN for a period until the number of clocks of the real-time clock RCLK reaches the capture determination value (for example, 0). Here, the operation mode of the semiconductor device 1 during the period in which the capture enable signal CEN is in the disable state is referred to as a hold mode. In the hold mode, the first selector 42 of the scan flip-flops 21 to 2n selects the output value of the second selector 51 according to the value of the scan mode control signal SMC. In the hold mode, the second selectors 51 of the scan flip-flops 21 to 2n output the output value of the flip-flop circuit 41 according to the value of the capture enable signal CEN. Therefore, in the hold mode, the scan flip-flops 21 to 2n maintain the value held at the time of shifting to the capture mode and output the first test pattern to the test target circuit. Then, the test target circuit generates a second test pattern based on the first test pattern. In the hold mode, the real time clock RCLK is input to the clock buffer groups 31 to 3n. Therefore, in the hold mode, the clock buffer groups 31 to 3n are in an operating state, and the current consumption of the semiconductor device 1 increases. A power supply circuit (not shown) that supplies a power supply voltage to the semiconductor device 1 increases the current supply capability so as to suppress fluctuations in the power supply voltage due to the increased power consumption.

続いて、カウンタ18のカウント値がキャプチャ判定値に達すると、カウンタ18がキャプチャイネーブル信号CENをディスイネーブル状態からイネーブル状態(例えば、1)に切り換える。これにより、半導体装置1は、動作モードをテスト結果取得モードに切り換える。このテスト結果取得モードでは、スキャンフリップフロップ21〜2nの第1のセレクタ42は、スキャンモード制御信号SMCの値に応じて第2のセレクタ51の出力値を選択する。また、テスト結果取得モードでは、スキャンフリップフロップ21〜2nの第2セレクタ51は、キャプチャイネーブル信号CENの値に応じてテスト対象回路の出力値を出力する。これにより、テスト結果取得モードでは、スキャンフリップフロップ21〜2nは、リアルタイムクロックRCLKに同期して保持している値をテスト対象回路の出力値により更新する状態となる。テスト結果取得モードは、カウンタ18にさらにリアルタイムクロックRCLKが2クロックパルス入力されるまで継続される。このとき、2クロックパルスのうちホールドモード終了後に入力される1つ目のクロックパルスをラウンチクロックパルスと称し、2つ目のクロックパルスをキャプチャクロックパルスと称す。半導体装置1では、ラウンチクロックパルスをスキャンフリップフロップ21〜2nに入力することで、スキャンフリップフロップ21〜2nが保持している値をテスト対象回路が出力する第2のテストパターンで更新する。さらに、半導体装置1では、更新後のスキャンフリップフロップ21〜2nの保持値である第2のテストパターンをテスト対象回路に出力する。次いで、スキャンフリップフロップ21〜2nにキャプチャクロックパルスが入力されると、スキャンフリップフロップ21〜2nは、第2のテストパターンに基づきテスト対象回路が出力する出力値をテスト結果として取得する。   Subsequently, when the count value of the counter 18 reaches the capture determination value, the counter 18 switches the capture enable signal CEN from the disabled state to the enabled state (for example, 1). Thereby, the semiconductor device 1 switches the operation mode to the test result acquisition mode. In this test result acquisition mode, the first selectors 42 of the scan flip-flops 21 to 2n select the output value of the second selector 51 according to the value of the scan mode control signal SMC. In the test result acquisition mode, the second selectors 51 of the scan flip-flops 21 to 2n output the output value of the test target circuit according to the value of the capture enable signal CEN. Thus, in the test result acquisition mode, the scan flip-flops 21 to 2n are in a state of updating the value held in synchronization with the real-time clock RCLK with the output value of the test target circuit. The test result acquisition mode is continued until the real-time clock RCLK is further input to the counter 18 by two clock pulses. At this time, of the two clock pulses, the first clock pulse input after the end of the hold mode is referred to as a launch clock pulse, and the second clock pulse is referred to as a capture clock pulse. In the semiconductor device 1, the launch clock pulse is input to the scan flip-flops 21 to 2n, thereby updating the values held by the scan flip-flops 21 to 2n with the second test pattern output from the test target circuit. Further, the semiconductor device 1 outputs the second test pattern, which is the retained value of the updated scan flip-flops 21 to 2n, to the test target circuit. Next, when the capture clock pulse is input to the scan flip-flops 21 to 2n, the scan flip-flops 21 to 2n acquire the output value output from the test target circuit based on the second test pattern as a test result.

このとき、ラウンチクロックパルスとキャプチャクロックパルスの周期は、テスト対象回路に許容される最大遅延許容時間よりも短く設定する。つまり、キャプチャクロックパルスにより取得されたテスト結果が予め定められた値と異なる値であった場合、テスト対象回路の遅延時間が規定を満たしていないと判定することができる。   At this time, the period of the launch clock pulse and the capture clock pulse is set shorter than the maximum allowable delay time allowed for the circuit under test. That is, when the test result acquired by the capture clock pulse is a value different from a predetermined value, it can be determined that the delay time of the test target circuit does not satisfy the regulation.

続いて、キャプチャクロックパルスが入力されると、カウンタ18は、キャプチャイネーブル信号CENをイネーブル状態からディスイネーブル状態に切り換える。そして、スキャンモード制御信号SMCをシフトモードに切り換える。このシフトモードにおいて、シフトクロックSCLKを入力することで、スキャンフリップフロップに取り込まれたテスト結果を出力端子SOUTから取り出すことができる。   Subsequently, when a capture clock pulse is input, the counter 18 switches the capture enable signal CEN from the enabled state to the disabled state. Then, the scan mode control signal SMC is switched to the shift mode. In this shift mode, by inputting the shift clock SCLK, the test result taken in the scan flip-flop can be taken out from the output terminal SOUT.

上記説明より、実施の形態1にかかる半導体装置1は、テスト対象回路をテストするスキャンフリップフロップ21〜2nを有する。そして、スキャンフリップフロップ21〜2nは、それぞれ、基本スキャンフリップフロップ40と、ホールド回路50とを有する。基本スキャンフリップフロップ40は、入力されるクロック信号CLKに応じて保持する値を更新すると共に、外部から入力されるスキャンパターンにより保持する値を更新するシフトモードと、テスト対象回路の出力する値に応じて保持する値を更新するキャプチャモードと、がスキャンモード制御信号SMCの論理レベルに応じて切り換えられる。ホールド回路50は、キャプチャモードにおいて、キャプチャイネーブル信号がイネーブル状態である場合には基本スキャンフリップフロップが保持する値を更新し、キャプチャイネーブル信号がディスイネーブル状態である場合には前記基本スキャンフリップフロップが保持する値を維持する。そして、実施の形態1にかかる半導体装置1では、テスト制御回路により、基本スキャンフリップフロップにキャプチャイネーブル信号がイネーブル状態である期間にクロック信号に含まれる連続した2つのクロックパルスを入力する。   From the above description, the semiconductor device 1 according to the first embodiment includes the scan flip-flops 21 to 2n that test the test target circuit. Each of the scan flip-flops 21 to 2n includes a basic scan flip-flop 40 and a hold circuit 50. The basic scan flip-flop 40 updates the value held in accordance with the input clock signal CLK, and updates the value held by the scan pattern input from the outside, and the value output from the test target circuit. In response to this, the capture mode for updating the held value is switched according to the logic level of the scan mode control signal SMC. In the capture mode, the hold circuit 50 updates the value held by the basic scan flip-flop when the capture enable signal is enabled, and the basic scan flip-flop when the capture enable signal is disabled. Maintain the value to hold. In the semiconductor device 1 according to the first embodiment, the test control circuit inputs two consecutive clock pulses included in the clock signal during the period in which the capture enable signal is enabled to the basic scan flip-flop.

また、実施の形態1にかかる半導体装置1では、上記スキャンフリップフロップ21〜2nを用いて、遅延スキャンテストを行う。この遅延スキャンテストでは、まず、第1のクロック信号(例えば、シフトクロックSCLK)をスキャンフリップフロップ21〜2nに入力してテスト対象回路に入力する第1のテストパターンをスキャンフリップフロップ21〜2nに設定する。続いて、シフトクロックSCLKよりも周波数の高い第2のクロック信号(例えば、リアルタイムクロックRCLK)をスキャンフリップフロップ21〜2nに入力すると共に、スキャンフリップフロップ21〜2nをリアルタイムクロックRCLKによらず保持する値を維持するホールドモードに制御し、ホールドモードを解除すると共にスキャンフリップフロップ21〜2nをテスト対象回路の出力に応じて保持する値を更新するテスト結果取得モードに制御し、テスト結果取得モードにおいてリアルタイムクロックRCLKを2パルス用いてスキャンフリップフロップ21〜2nに保持されている値を更新する。続いて、テスト結果取得モードを解除した後にシフトクロックSCLKをスキャンフリップフロップ21〜2nに入力して、スキャンフリップフロップ21〜2nに保持されている値をテスト結果として外部出力する。   In the semiconductor device 1 according to the first embodiment, a delay scan test is performed using the scan flip-flops 21 to 2n. In this delayed scan test, first, a first clock pattern (for example, shift clock SCLK) is input to the scan flip-flops 21 to 2n and the first test pattern input to the test target circuit is input to the scan flip-flops 21 to 2n. Set. Subsequently, a second clock signal (for example, real-time clock RCLK) having a frequency higher than that of the shift clock SCLK is input to the scan flip-flops 21 to 2n, and the scan flip-flops 21 to 2n are held regardless of the real-time clock RCLK. Control is made to a hold mode that maintains the value, the hold mode is canceled, and the scan flip-flops 21 to 2n are controlled to a test result acquisition mode that updates the value held in accordance with the output of the circuit under test. The values held in the scan flip-flops 21 to 2n are updated using two pulses of the real-time clock RCLK. Subsequently, after canceling the test result acquisition mode, the shift clock SCLK is input to the scan flip-flops 21 to 2n, and the values held in the scan flip-flops 21 to 2n are externally output as test results.

実施の形態1にかかる半導体装置1では、スキャンフリップフロップ21〜2nを利用して、上記遅延スキャンテストを実行する。これにより、実施の形態1にかかる半導体装置1は、ホールドモードの期間中に、リアルタイムクロックに起因して大きな電流が流れたとしても、半導体装置に電源電圧を供給する電源回路が当該電源電圧を維持できる程度に電源供給能力を引き上げることができる。そして、テスト結果取得モードでは、電源回路が十分な電源供給能力を有する状態で、リアルタイムクロックとして与えられるラウンチクロックパルスとキャプチャクロックパルスを入力して遅延スキャンテストを行う。これにより、実施の形態1にかかる半導体装置1では、ラウンチクロックパルスとキャプチャクロックパルスとに起因した電源電圧の低下を防止して、遅延スキャンテストの精度を向上させることができる。   In the semiconductor device 1 according to the first embodiment, the delayed scan test is executed using the scan flip-flops 21 to 2n. Thereby, in the semiconductor device 1 according to the first embodiment, even if a large current flows due to the real-time clock during the hold mode, the power supply circuit that supplies the power supply voltage to the semiconductor device reduces the power supply voltage. The power supply capacity can be increased to the extent that it can be maintained. In the test result acquisition mode, a delayed scan test is performed by inputting a launch clock pulse and a capture clock pulse given as a real-time clock while the power supply circuit has a sufficient power supply capability. Thereby, in the semiconductor device 1 according to the first embodiment, it is possible to prevent the power supply voltage from being lowered due to the launch clock pulse and the capture clock pulse, and to improve the accuracy of the delay scan test.

また、遅延スキャンテストの別のテスト方法としては、本実施の形態におけるテスト結果取得モード中に入力されるキャプチャクロックパルスが入力される期間のみ半導体装置1をキャプチャモードに制御する方法がある。しかし、この別のテスト方法を利用した場合、リアルタイムクロックRCLKの周波数の上昇する(或いは、テスト対象回路の最大遅延許容時間が短くなる)と、スキャンモード制御信号SMCの周波数を高くする必要がある。しかし、スキャンモード制御信号SMCは、一般的には半導体テスタからケーブルを介してテスト対象の半導体装置1に伝達される。そのため、スキャンモード制御信号SMCの周波数の上限が、リアルタイムクロックRCLKの周波数よりも低くなる場合がある。このようなことから、別のテスト方法を利用した場合、リアルタイムクロックRCLKの周波数がスキャンモード制御信号SMCの周波数の上限により制限される問題が生じる。   As another test method of the delayed scan test, there is a method of controlling the semiconductor device 1 to the capture mode only during a period in which the capture clock pulse input during the test result acquisition mode in the present embodiment is input. However, when this other test method is used, the frequency of the scan mode control signal SMC must be increased when the frequency of the real-time clock RCLK increases (or when the maximum delay allowable time of the test target circuit decreases). . However, the scan mode control signal SMC is generally transmitted from the semiconductor tester to the test target semiconductor device 1 via a cable. Therefore, the upper limit of the frequency of the scan mode control signal SMC may be lower than the frequency of the real time clock RCLK. For this reason, when another test method is used, there arises a problem that the frequency of the real-time clock RCLK is limited by the upper limit of the frequency of the scan mode control signal SMC.

しかし、実施の形態1にかかる遅延スキャンテスト方法では、半導体装置1をキャプチャモードとしている期間中に、スキャンフリップフロップ21〜2nが保持する値を維持するホールドモードと、テスト対象回路に対するテストを実施するテスト結果取得モードとの2つの動作モードを有する。そして、実施の形態1にかかる半導体装置1では、ホールドモード中にリアルタイムクロックRCLKの複数のクロックパルスを入力し、テスト結果取得モード中にリアルタイムクロックRCLKを利用したラウンチクロックパルス及びキャプチャクロックパルスを入力する。つまり、実施の形態1にかかる遅延スキャンテスト方法では、スキャンモード制御信号SMCをキャプチャモードとしている期間にリアルタイムクロックRCLKの複数のクロックパルスが含まれる。これにより、実施の形態1にかかる遅延スキャンテスト方法では、スキャンモード制御信号SMCの周波数に制限を受けることなくリアルタイムクロックRCLKの周波数を高くすることができる。また、リアルタイムクロックRCLKの周波数を高くすることができることから、実施の形態1にかかる遅延スキャンテスト方法では、より動作速度が速い半導体装置1の遅延スキャンテストを実行することができる。   However, in the delayed scan test method according to the first embodiment, during the period in which the semiconductor device 1 is in the capture mode, the hold mode for maintaining the values held by the scan flip-flops 21 to 2n and the test for the test target circuit are performed. There are two operation modes: a test result acquisition mode. In the semiconductor device 1 according to the first embodiment, a plurality of clock pulses of the real time clock RCLK are input during the hold mode, and a launch clock pulse and a capture clock pulse using the real time clock RCLK are input during the test result acquisition mode. To do. That is, in the delayed scan test method according to the first embodiment, a plurality of clock pulses of the real-time clock RCLK are included in the period when the scan mode control signal SMC is in the capture mode. Thereby, in the delayed scan test method according to the first embodiment, the frequency of the real-time clock RCLK can be increased without being limited by the frequency of the scan mode control signal SMC. In addition, since the frequency of the real-time clock RCLK can be increased, the delay scan test of the semiconductor device 1 having a higher operating speed can be executed in the delay scan test method according to the first embodiment.

また、実施の形態1にかかる半導体装置1では、ホールドモードとテスト結果取得モードとを切り換えるキャプチャイネーブル信号CENの状態をリアルタイムクロックRCLKのクロック数をカウントする半導体装置1内のカウンタ18により切り換える。つまり、実施の形態1にかかる半導体装置1では、キャプチャイネーブル信号CENの状態の切り替わりタイミングを半導体装置1の設計段階で調整することができる。これにより、半導体装置1では、半導体装置1のテスタの性能等のテスト環境の影響を受けることなく、リアルタイムクロックRCLKの周波数の上昇に対応してキャプチャイネーブル信号CENの状態の切り替わりタイミングを容易に調整することができる。   In the semiconductor device 1 according to the first embodiment, the state of the capture enable signal CEN that switches between the hold mode and the test result acquisition mode is switched by the counter 18 in the semiconductor device 1 that counts the number of clocks of the real-time clock RCLK. That is, in the semiconductor device 1 according to the first embodiment, the switching timing of the state of the capture enable signal CEN can be adjusted at the design stage of the semiconductor device 1. As a result, the semiconductor device 1 can easily adjust the switching timing of the capture enable signal CEN in response to the increase in the frequency of the real-time clock RCLK without being affected by the test environment such as the performance of the tester of the semiconductor device 1. can do.

実施の形態2
実施の形態2では、スキャンフリップフロップ21〜2nの別の形態について説明する。そこで、スキャンフリップフロップ21〜2nの別の形態を示すスキャンフリップフロップ21a〜2naについて説明する。なお、以下では、スキャンフリップフロップ21a〜2naは同じ回路であるため、スキャンフリップフロップ21aを例にスキャンフリップフロップ21a〜2naの構成について説明する。
Embodiment 2
In the second embodiment, another form of the scan flip-flops 21 to 2n will be described. Therefore, the scan flip-flops 21a to 2na showing other forms of the scan flip-flops 21 to 2n will be described. In the following, since the scan flip-flops 21a to 2na are the same circuit, the configuration of the scan flip-flops 21a to 2na will be described by taking the scan flip-flop 21a as an example.

また、実施の形態2では、スキャンフリップフロップの構成の変更に応じてキャプチャ制御回路16の構成を変更する。そこで、実施の形態2では、キャプチャ制御回路16の別の形態を示すキャプチャ制御回路16aについて説明する。なお、実施の形態1と同じ構成要素については、実施の形態1と同じ符号を付して説明を省略する。   In the second embodiment, the configuration of the capture control circuit 16 is changed in accordance with the change in the configuration of the scan flip-flop. Therefore, in the second embodiment, a capture control circuit 16a showing another form of the capture control circuit 16 will be described. In addition, about the same component as Embodiment 1, the same code | symbol as Embodiment 1 is attached | subjected and description is abbreviate | omitted.

図4に実施の形態2にかかるスキャンフリップフロップ21a及びテスト制御回路12aのブロック図を示す。なお、テスト制御回路12aは、キャプチャ制御回路16に代えてキャプチャ制御回路16aを有する。   FIG. 4 is a block diagram of the scan flip-flop 21a and the test control circuit 12a according to the second embodiment. Note that the test control circuit 12 a includes a capture control circuit 16 a instead of the capture control circuit 16.

図4に示すように、スキャンフリップフロップ21aは、基本スキャンフリップフロップ60、ホールド回路70を有する。ホールド回路70は、キャプチャイネーブル信号CENがディスイネーブル状態(例えば、0)である場合に、基本スキャンフリップフロップ60で保持している値が入力されるクロック信号CLKに応じて更新されることを防止する。一方、ホールド回路70は、キャプチャイネーブル信号CENがイネーブル状態(例えば、1)である場合には、基本スキャンフリップフロップ60で保持している値が入力されるクロック信号CLKに応じて更新されることを許可する。   As shown in FIG. 4, the scan flip-flop 21 a includes a basic scan flip-flop 60 and a hold circuit 70. The hold circuit 70 prevents the value held in the basic scan flip-flop 60 from being updated according to the input clock signal CLK when the capture enable signal CEN is in a disable state (for example, 0). To do. On the other hand, when the capture enable signal CEN is in an enable state (for example, 1), the hold circuit 70 is updated according to the clock signal CLK to which the value held in the basic scan flip-flop 60 is input. Allow.

基本スキャンフリップフロップ60は、フリップフロップ回路61及び第1のセレクタ62を有する。フリップフロップ回路61は、クロック入力端子、保持値入力端子D、出力端子Qを有する。フリップフロップ回路61は、ホールド回路70を介してクロック信号CLKを受信する。そしてフリップフロップ回路61は、クロック信号CLKのエッジに応じて保持値入力端子Dに与えられる信号に基づくテスト値を保持する。第1のセレクタ62は、テストパターンSINが第1の入力端子(スキャンモード制御信号SMCがシフトモード(例えば、1)を示すのときに選択される端子)に与えられ、テスト対象回路の出力値(例えば、データ入力信号DIN)が第2の入力端子(スキャンモード制御信号SMCがキャプチャモード(例えば、0)を示すときに選択される)に与えられる。そして、第1のセレクタ62は、スキャンモード制御信号SMCの値に応じてフリップフロップ回路61の保持値入力端子Dに与える値を切り換える。   The basic scan flip-flop 60 includes a flip-flop circuit 61 and a first selector 62. The flip-flop circuit 61 has a clock input terminal, a hold value input terminal D, and an output terminal Q. The flip-flop circuit 61 receives the clock signal CLK via the hold circuit 70. The flip-flop circuit 61 holds a test value based on a signal applied to the hold value input terminal D in accordance with the edge of the clock signal CLK. In the first selector 62, the test pattern SIN is given to the first input terminal (the terminal selected when the scan mode control signal SMC indicates the shift mode (for example, 1)), and the output value of the test target circuit (For example, the data input signal DIN) is applied to the second input terminal (selected when the scan mode control signal SMC indicates the capture mode (eg, 0)). Then, the first selector 62 switches the value applied to the hold value input terminal D of the flip-flop circuit 61 according to the value of the scan mode control signal SMC.

ホールド回路70は、第2のセレクタ71を有する。第2のセレクタ71は、クロック信号CLKと、固定値(例えば、0)と、が入力される。第2のセレクタ71は、キャプチャイネーブル信号CENの状態に応じてフリップフロップ回路61のクロック入力端子にクロック信号CLKを供給するか停止するかを切り換える。より具体的には、キャプチャイネーブル信号CENがイネーブル状態(例えば、1)である場合、第2のセレクタ71は、フリップフロップ回路61のクロック入力端子にクロック信号CLKを与える。また、キャプチャイネーブル信号CENがディスイネーブル状態(例えば、0)である場合、第2のセレクタ71は、フリップフロップ回路61のクロック入力端子へのクロック信号CLKの供給を停止する。   The hold circuit 70 has a second selector 71. The second selector 71 receives the clock signal CLK and a fixed value (for example, 0). The second selector 71 switches between supplying and stopping the clock signal CLK to the clock input terminal of the flip-flop circuit 61 according to the state of the capture enable signal CEN. More specifically, when the capture enable signal CEN is in an enabled state (for example, 1), the second selector 71 provides the clock signal CLK to the clock input terminal of the flip-flop circuit 61. When the capture enable signal CEN is in a disable state (for example, 0), the second selector 71 stops supplying the clock signal CLK to the clock input terminal of the flip-flop circuit 61.

また、図4に示すように、テスト制御回路12aは、クロック制御回路13、キャプチャ制御回路16aを有する。ここで、クロック制御回路13は、実施の形態1と同じ構成であるため説明を省略する。キャプチャ制御回路16aは、実施の形態1にかかるキャプチャ制御回路16にOR回路19を追加したものである。OR回路19の一方の入力端子には、スキャンモード制御信号SMCが入力される。OR回路19の他方の入力端子には、カウンタ18の出力信号が入力される。そして、OR回路19は、2つの入力信号の論理和演算結果をキャプチャイネーブル信号CENとして出力する。つまり、実施の形態2にかかるキャプチャ制御回路16aは、スキャンモード制御信号SMCがシフトモード(例えば、1)を示す場合と、カウンタ18が出力する信号(実施の形態1におけるキャプチャイネーブル信号CEN)がイネーブル状態である場合と、のいずれか一方の場合にキャプチャイネーブル信号CENをイネーブル状態とする。   As shown in FIG. 4, the test control circuit 12a includes a clock control circuit 13 and a capture control circuit 16a. Here, since the clock control circuit 13 has the same configuration as that of the first embodiment, description thereof is omitted. The capture control circuit 16a is obtained by adding an OR circuit 19 to the capture control circuit 16 according to the first embodiment. The scan mode control signal SMC is input to one input terminal of the OR circuit 19. The output signal of the counter 18 is input to the other input terminal of the OR circuit 19. Then, the OR circuit 19 outputs the logical sum operation result of the two input signals as the capture enable signal CEN. That is, in the capture control circuit 16a according to the second embodiment, when the scan mode control signal SMC indicates the shift mode (for example, 1), the signal output from the counter 18 (capture enable signal CEN in the first embodiment) The capture enable signal CEN is enabled in either the enabled state or the enabled state.

続いて、スキャンフリップフロップ21a〜2naを用いた実施の形態2にかかる半導体装置の遅延スキャンテストの手順について説明する。図5に実施の形態2にかかる半導体装置の遅延スキャンテストの手順を示すタイミングチャートを示す。   Subsequently, a procedure of a delay scan test of the semiconductor device according to the second embodiment using the scan flip-flops 21a to 2na will be described. FIG. 5 is a timing chart showing the procedure of the delay scan test of the semiconductor device according to the second embodiment.

図5に示すように、実施の形態2にかかる半導体装置においても、キャプチャモード時に半導体装置をホールドモードとテスト結果取得モードとに制御する。このホールドモードとテスト結果取得モードにおけるキャプチャイネーブル信号CENの制御方法は、実施の形態1と同じである。一方、スキャンフリップフロップ21a〜2naは、フリップフロップ回路にシフトモード中おいてクロック信号CLKを供給するにはキャプチャイネーブル信号CENをイネーブル状態としなければならない。そのため、実施の形態2にかかるキャプチャ制御回路16aでは、スキャンモード制御信号SMCがシフトモードのときにもキャプチャイネーブル信号CENをイネーブル状態(例えば、1)とする。これにより、実施の形態2にかかる半導体装置では、シフトモードにおいてもフリップフロップ回路61にクロック信号CLK(或いはシフトクロックSCLK)を与える。   As shown in FIG. 5, also in the semiconductor device according to the second embodiment, the semiconductor device is controlled to the hold mode and the test result acquisition mode in the capture mode. The control method of the capture enable signal CEN in the hold mode and the test result acquisition mode is the same as that in the first embodiment. On the other hand, the scan flip-flops 21a to 2na must enable the capture enable signal CEN to supply the clock signal CLK while the flip-flop circuit is in the shift mode. Therefore, in the capture control circuit 16a according to the second embodiment, the capture enable signal CEN is enabled (for example, 1) even when the scan mode control signal SMC is in the shift mode. Thereby, in the semiconductor device according to the second embodiment, the clock signal CLK (or the shift clock SCLK) is supplied to the flip-flop circuit 61 even in the shift mode.

上記説明より、実施の形態2にかかる半導体装置では、スキャンフリップフロップとして図4で示したスキャンフリップフロップ21a〜21naを有する。しかし、このスキャンフリップフロップ21a〜21naを用いても、実施の形態1と同様の手順でキャプチャモード時の制御を行うことができる。また、シフトモードにおいてもキャプチャイネーブル信号CENをイネーブル状態とすることで、実施の形態1と同じ動作を行うことができる。このように、スキャンフリップフロップの形態を変更しても、スキャンフリップフロップをキャプチャモードにおいてホールドモードとテスト結果取得モードとに制御できれば実施の形態1と同様に、ラウンチクロックパルスとキャプチャクロックパルスとによる電源電圧の変動を抑制し、高精度な遅延スキャンテストを実行することができる。また、実施の形態2にかかる遅延キャプチャテストでは、キャプチャモード時の動作が実施の形態1と同じであるため、実施の形態1と同様にリアルタイムクロックRCLKの周波数をテスト環境に依存せずに高めることができる。   From the above description, the semiconductor device according to the second embodiment has the scan flip-flops 21a to 21na shown in FIG. 4 as the scan flip-flop. However, even when the scan flip-flops 21a to 21na are used, the control in the capture mode can be performed in the same procedure as in the first embodiment. In the shift mode, the same operation as in the first embodiment can be performed by enabling the capture enable signal CEN. In this way, even if the form of the scan flip-flop is changed, if the scan flip-flop can be controlled in the hold mode and the test result acquisition mode in the capture mode, the launch clock pulse and the capture clock pulse are used as in the first embodiment. A highly accurate delayed scan test can be executed by suppressing fluctuations in the power supply voltage. In the delay capture test according to the second embodiment, since the operation in the capture mode is the same as that in the first embodiment, the frequency of the real-time clock RCLK is increased without depending on the test environment as in the first embodiment. be able to.

実施の形態3
実施の形態3にかかる半導体装置3のブロック図を図6に示す。図6に示すように、実施の形態3にかかる半導体装置3では、テスト制御回路としてクロック制御回路13のみを有する。そして、実施の形態3にかかる半導体装置3では、キャプチャイネーブル信号CENを外部(例えば、テスタ)から供給する。
Embodiment 3
FIG. 6 shows a block diagram of the semiconductor device 3 according to the third embodiment. As shown in FIG. 6, the semiconductor device 3 according to the third embodiment has only the clock control circuit 13 as a test control circuit. In the semiconductor device 3 according to the third embodiment, the capture enable signal CEN is supplied from the outside (for example, a tester).

図3又は図5において示したように、本発明にかかる遅延スキャンテスト方法では、キャプチャイネーブル信号CENをラウンチクロックパルス及びキャプチャクロックパルスが入力される期間だけイネーブル状態とできればよい。つまり、本発明にかかる遅延スキャンテスト方法では、キャプチャイネーブル信号CENの周波数は、リアルタイムクロックRCLKの周波数よりも低い。このようなことから、テスタを含むテスト環境においてキャプチャイネーブル信号CENの周波数を十分な速度とすることができるのであれば、キャプチャ制御回路16を省略することも可能である。また、キャプチャ制御回路16を除くことで半導体装置3のチップ面積は、実施の形態1の半導体装置1のチップ面積よりも小さくすることができる。   As shown in FIG. 3 or FIG. 5, in the delayed scan test method according to the present invention, the capture enable signal CEN only needs to be enabled only during the period when the launch clock pulse and the capture clock pulse are input. That is, in the delayed scan test method according to the present invention, the frequency of the capture enable signal CEN is lower than the frequency of the real-time clock RCLK. For this reason, if the frequency of the capture enable signal CEN can be set to a sufficient speed in a test environment including a tester, the capture control circuit 16 can be omitted. Further, by removing the capture control circuit 16, the chip area of the semiconductor device 3 can be made smaller than the chip area of the semiconductor device 1 of the first embodiment.

実施の形態4
実施の形態4では、実施の形態1〜3において説明した半導体装置を設計する設計支援装置及び設計方法について説明する。図7に実施の形態4にかかる設計支援装置4のブロック図を示す。
Embodiment 4
In the fourth embodiment, a design support apparatus and a design method for designing the semiconductor device described in the first to third embodiments will be described. FIG. 7 is a block diagram of the design support apparatus 4 according to the fourth embodiment.

図7に示すように、実施の形態4にかかる設計支援装置4は、演算部80、記憶装置81、表示部82、操作指示入力部83を有する。演算部80は、半導体装置の設計を支援する設計支援プログラムを実行する。記憶装置81は、設計支援プログラム及び回路設計に利用する各種情報を格納する。以下の説明では、各種情報に回路設計情報、第1、第2のネットリスト回路ライブラリ、テストパターン情報が含まれる例について説明する。表示部82は、設計支援プログラムを操作するためのユーザーインタフェース画面を表示する。操作指示入力部83は、例えば、キーボードとマウスのような装置により設計支援プログラムへの操作指示を入力する装置である。   As illustrated in FIG. 7, the design support apparatus 4 according to the fourth embodiment includes a calculation unit 80, a storage device 81, a display unit 82, and an operation instruction input unit 83. The arithmetic unit 80 executes a design support program that supports the design of the semiconductor device. The storage device 81 stores various information used for the design support program and circuit design. In the following description, an example will be described in which various information includes circuit design information, first and second netlist circuit libraries, and test pattern information. The display unit 82 displays a user interface screen for operating the design support program. The operation instruction input unit 83 is an apparatus that inputs an operation instruction to the design support program using devices such as a keyboard and a mouse.

ここで、演算部80についてさらに詳細に説明する。演算部80は、記憶装置81に格納されている設計支援プログラムを読み出して実行する。そして、演算部80は、設計支援プログラムを実行することで、論理合成部84、テスト回路情報付加部85及びテスト回路情報検証部86の機能を実現する。論理合成部84は、論理合成処理部90、ネットリスト生成部91を有する。論理合成処理部90は、記憶装置81から回路設計情報を読み出して回路設計情報に記載される回路の動作を実現するゲートレベルの回路を生成する。なお、回路設計情報は、回路の動作を記述したものであって、HDL(Hardware Description Language)等の情報である。ネットリスト生成部91は、論理合成処理部90により生成されたゲートレベルの回路情報に含まれるゲート間の接続情報を記述した第1のネットリストを生成する。この第1のネットリストは、記憶装置81に格納される。また、回路設計情報には、テスト回路20(例えばDFT(Design For Test)回路)の情報は含まれていないため、第1のネットリストにはテスト回路20の情報が含まれない。   Here, the calculation unit 80 will be described in more detail. The computing unit 80 reads and executes the design support program stored in the storage device 81. Then, the arithmetic unit 80 implements the functions of the logic synthesis unit 84, the test circuit information addition unit 85, and the test circuit information verification unit 86 by executing the design support program. The logic synthesis unit 84 includes a logic synthesis processing unit 90 and a net list generation unit 91. The logic synthesis processing unit 90 reads circuit design information from the storage device 81 and generates a gate level circuit that realizes the operation of the circuit described in the circuit design information. The circuit design information describes the operation of the circuit and is information such as HDL (Hardware Description Language). The net list generation unit 91 generates a first net list describing connection information between gates included in the gate level circuit information generated by the logic synthesis processing unit 90. This first netlist is stored in the storage device 81. Further, since the circuit design information does not include information on the test circuit 20 (for example, DFT (Design For Test) circuit), the first netlist does not include information on the test circuit 20.

テスト回路情報付加部85は、DFT回路挿入処理部92、DFT回路修正処理部93を有する。DFT回路挿入処理部92は、第1のネットリストを記憶装置81から読み出す。また、DFT回路挿入処理部92は、回路ライブラリ群に含まれる基本フリップフロップの回路ライブラリを記憶装置81から読み出す。そして、DFT回路挿入処理部92は、第1のネットリストに含まれるテスト対象回路に対して基本フリップフロップのネットリスト情報を付加する。   The test circuit information adding unit 85 includes a DFT circuit insertion processing unit 92 and a DFT circuit correction processing unit 93. The DFT circuit insertion processing unit 92 reads the first netlist from the storage device 81. In addition, the DFT circuit insertion processing unit 92 reads out the basic flip-flop circuit library included in the circuit library group from the storage device 81. Then, the DFT circuit insertion processing unit 92 adds the net list information of the basic flip-flop to the test target circuit included in the first net list.

DFT回路修正処理部93は、回路ライブラリ群に含まれるセレクタ及びテスト制御回路の回路ライブラリを記憶装置81から読み出す。ここで、回路ライブラリ群から読み出したセレクタは、図2で示したホールド回路50又は図4で示したホールド回路70を構成するセレクタである。そして、DFT回路修正処理部93は、DFT回路挿入処理部92で追加された基本フリップフロップに対してセレクタを付加する。また、DFT回路修正処理部93は、テスト制御回路の回路ライブラリを第1のネットリストに追加する。   The DFT circuit correction processing unit 93 reads the circuit library of the selector and the test control circuit included in the circuit library group from the storage device 81. Here, the selector read from the circuit library group is a selector constituting the hold circuit 50 shown in FIG. 2 or the hold circuit 70 shown in FIG. The DFT circuit correction processing unit 93 adds a selector to the basic flip-flop added by the DFT circuit insertion processing unit 92. The DFT circuit correction processing unit 93 adds the circuit library of the test control circuit to the first netlist.

テスト回路情報検証部86は、テストパターン生成部94、故障検出率算出部95を有する。テストパターン生成部94は、DFT回路修正処理部93において生成されたネットリストにより生成される半導体装置に対するテストパターンを生成する。このテストパターンはテストパターン情報として記憶装置81に格納される。故障検出率算出部95は、記憶装置81からテストパターン情報を読み出して当該テストパターンによる故障検出率を算出する。そして、算出された故障検出率が基準を満たしていればDFT回路修正処理部93により生成された第2のネットリストとして出力する。この第2のネットリストには、図2或いは図4で示したスキャンフリップフロップと、図2、図4或いは図5で示したテスト制御回路と、が含まれる。一方、算出された故障検出率が基準を満たしていない場合、再度DFT回路挿入処理部92によるテスト回路の生成処理を行う。   The test circuit information verification unit 86 includes a test pattern generation unit 94 and a failure detection rate calculation unit 95. The test pattern generation unit 94 generates a test pattern for the semiconductor device generated by the net list generated by the DFT circuit correction processing unit 93. This test pattern is stored in the storage device 81 as test pattern information. The failure detection rate calculation unit 95 reads the test pattern information from the storage device 81 and calculates the failure detection rate based on the test pattern. If the calculated failure detection rate satisfies the standard, the second netlist generated by the DFT circuit correction processing unit 93 is output. This second netlist includes the scan flip-flop shown in FIG. 2 or FIG. 4 and the test control circuit shown in FIG. 2, FIG. 4 or FIG. On the other hand, when the calculated failure detection rate does not satisfy the standard, the DFT circuit insertion processing unit 92 performs test circuit generation processing again.

続いて、実施の形態4にかかる設計支援装置4を用いた半導体装置の設計方法について説明する。図8に実施の形態4にかかる半導体装置の設計方法のフローチャートを示す。   Next, a semiconductor device design method using the design support apparatus 4 according to the fourth embodiment will be described. FIG. 8 is a flowchart of a semiconductor device design method according to the fourth embodiment.

図8に示すように、実施の形態4にかかる設計方法では、まず、RTL(Register Transfer Level)設計により回路設計情報F1を生成する(ステップS1)。続いて、論理合成部84により回路設計情報F1に対して論理合成処理を施して第1のネットリストF2を生成する(ステップS2)。次いで、基本スキャンフリップフロップの回路ライブラリ群F3を読み出して、基本スキャンフリップフロップのネット情報を第1のネットリストF2に追加する。(ステップS3)。次いで、ステップS3で第1のネットリストF2に追加した基本スキャンフリップフロップにセレクタの回路ライブラリ情報を追加して、本基本スキャンフリップフロップを本発明にかかるスキャンフリップフロップ(例えば、スキャンフリップフロップ21、21a)に修正する。また、本発明にかかるスキャンフリップフロップを制御するためにテスト制御回路に関する回路ライブラリを第1のネットリストに追加する(ステップS4)。なお、ステップS3、S4で読み出される回路ライブラリは、回路ライブラリ群F3に含まれるものである。   As shown in FIG. 8, in the design method according to the fourth embodiment, first, circuit design information F1 is generated by RTL (Register Transfer Level) design (step S1). Subsequently, the logic synthesis unit 84 performs a logic synthesis process on the circuit design information F1 to generate a first netlist F2 (step S2). Next, the basic scan flip-flop circuit library group F3 is read, and the basic scan flip-flop net information is added to the first netlist F2. (Step S3). Next, the circuit library information of the selector is added to the basic scan flip-flop added to the first netlist F2 in step S3, and the basic scan flip-flop is changed to the scan flip-flop according to the present invention (for example, the scan flip-flop 21, To 21a). Further, a circuit library related to the test control circuit is added to the first netlist in order to control the scan flip-flop according to the present invention (step S4). The circuit library read in steps S3 and S4 is included in the circuit library group F3.

次いで、ステップS4で修正されたネットリストを用いて形成される半導体装置の故障検出率を確認する(ステップS5)。このステップS5において、故障検出率が基準を満たしていなければ、再度ステップS3に戻って、テスト回路の構成を見直す。一方、ステップS5において、故障検出率が基準を満たしていれば、ステップS4で生成されたネットリストを第2のネットリストF5として出力する。その後、この第2のネットリストF5を用いてレイアウト工程が行われる。また、レイアウト工程で生成されるレイアウト情報を用いて上記実施の形態にかかる半導体装置が形成される。   Next, the failure detection rate of the semiconductor device formed using the net list corrected in step S4 is confirmed (step S5). In step S5, if the failure detection rate does not satisfy the standard, the process returns to step S3 again to review the configuration of the test circuit. On the other hand, if the failure detection rate satisfies the standard in step S5, the net list generated in step S4 is output as the second net list F5. Thereafter, a layout process is performed using the second netlist F5. The semiconductor device according to the above embodiment is formed using the layout information generated in the layout process.

上記説明より、実施の形態4にかかる半導体装置の設計支援装置及び設計方法では、テスト対象回路を含む回路を含む第1のネットリストF2を読み込み、テスト対象回路に対応する位置に、スキャンモード制御信号の値に応じて保持する値を前段のスキャンフリップフロップの出力により更新するかテスト対象回路の出力に応じて更新するかを切り換える複数の基本スキャンフリップフロップ(例えば、基本スキャンフリップフロップ40)のネット情報を生成する。そして、複数の基本スキャンフリップフロップのそれぞれに対して、キャプチャイネーブル信号CENに応じて複数のスキャンフリップフロップが保持する値を更新するか維持するかを切り換えるホールド回路(例えば、セレクタ51)のネット情報を生成する。そして、複数の基本スキャンフリップフロップが保持する値を前段のスキャンフリップフロップの出力により更新するかテスト対象回路の出力に応じて更新するかを指示するスキャンモード制御信号SMCと、複数のスキャンフリップフロップに与えられるクロック信号CLKと、に応じてキャプチャイネーブル信号CENをイネーブル状態とするかディスイネーブル状態とするかを切り換えるスキャン制御回路のネット情報を生成する。このスキャン制御回路の情報は、テスト制御回路の回路ライブラリ中に含まれるものである。そして、第1のネットリストF2に、複数の基本スキャンフリップフロップのネット情報、ホールド回路のネット情報及びスキャン制御回路のネット情報を追加して、第2のネットリストを生成する。   From the above description, in the design support apparatus and design method for a semiconductor device according to the fourth embodiment, the first netlist F2 including the circuit including the test target circuit is read, and the scan mode control is performed at the position corresponding to the test target circuit. A plurality of basic scan flip-flops (for example, the basic scan flip-flop 40) that switches whether the value held according to the signal value is updated according to the output of the preceding scan flip-flop or according to the output of the circuit under test. Generate net information. Then, for each of the plurality of basic scan flip-flops, the net information of the hold circuit (for example, the selector 51) that switches whether the values held by the plurality of scan flip-flops are updated or maintained according to the capture enable signal CEN. Is generated. A scan mode control signal SMC for instructing whether the values held by the plurality of basic scan flip-flops are updated by the output of the preceding scan flip-flop or according to the output of the circuit under test; and the plurality of scan flip-flops The scan control circuit for switching the enable state or the disable state of the capture enable signal CEN in accordance with the clock signal CLK applied to the scan signal is generated. This information of the scan control circuit is included in the circuit library of the test control circuit. Then, the second netlist is generated by adding the net information of the plurality of basic scan flip-flops, the net information of the hold circuit, and the net information of the scan control circuit to the first netlist F2.

このような処理を行うことにより、実施の形態4にかかる半導体装置の設計支援装置及び設計方法では、実施の形態1〜3に記載の半導体装置を形成することができる。また、形成された半導体装置に対しては、実施の形態1〜3に記載の半導体装置に対する遅延スキャンテストを実施することができる。   By performing such a process, the semiconductor device design support apparatus and design method according to the fourth embodiment can form the semiconductor device described in the first to third embodiments. In addition, for the formed semiconductor device, a delayed scan test can be performed on the semiconductor device described in the first to third embodiments.

なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。   Note that the present invention is not limited to the above-described embodiment, and can be changed as appropriate without departing from the spirit of the present invention.

1、3 半導体装置
4 設計支援装置
11a〜11c 組合せ回路
12、12a テスト制御回路
13 クロック制御回路
14 PLL回路
15 セレクタ
16、16a キャプチャ制御回路
17 AND回路
18 カウンタ
19 OR回路
21〜2n、21a スキャンフリップフロップ
20 テスト回路
31〜3n クロックバッファ群
40、60 基本スキャンフリップフロップ
41、61 フリップフロップ回路
42、51、62、71 セレクタ
50、70 ホールド回路
80 演算部
81 記憶装置
82 表示部
83 操作指示入力部
84 論理合成部
85 テスト回路情報付加部
86 テスト回路情報検証部
90 論理合成処理部
91 ネットリスト生成部
92 DFT回路挿入処理部
93 DFT回路修正処理部
94 テストパターン生成部
95 故障検出率算出部
CEN キャプチャイネーブル信号
CLK クロック信号
RCLK リアルタイムクロック
REFC 基準クロック
SCLK シフトクロック
SIN テストパターン
SMC スキャンモード制御信号
DESCRIPTION OF SYMBOLS 1, 3 Semiconductor device 4 Design support apparatus 11a-11c Combination circuit 12, 12a Test control circuit 13 Clock control circuit 14 PLL circuit 15 Selector 16, 16a Capture control circuit 17 AND circuit 18 Counter 19 OR circuit 21-2n, 21a Scan flip-flop 20 Test circuits 31 to 3n Clock buffer group 40, 60 Basic scan flip-flop 41, 61 Flip-flop circuit 42, 51, 62, 71 Selector 50, 70 Hold circuit 80 Operation unit 81 Storage device 82 Display unit 83 Operation instruction input unit 84 logic synthesis unit 85 test circuit information addition unit 86 test circuit information verification unit 90 logic synthesis processing unit 91 net list generation unit 92 DFT circuit insertion processing unit 93 DFT circuit correction processing unit 94 test pattern generation unit 95 failure detection rate calculation unit CE N capture enable signal CLK clock signal RCLK real time clock REFC reference clock SCLK shift clock SIN test pattern SMC scan mode control signal

Claims (13)

テスト対象回路と、
従属接続された複数のスキャンフリップフロップと、
前記複数のスキャンフリップへのクロック分配経路に設けられたクロックバッファ群と、を有し、
前記テスト対象回路を前記複数のスキャンフリップフロップによりテストする半導体装置の遅延スキャンテスト方法であって、
第1のクロック信号を前記複数のスキャンフリップフロップに入力して前記テスト対象回路に入力する第1のテストパターンを前記複数のスキャンフリップフロップに設定し、
前記第1のクロック信号よりも周波数の高い第2のクロック信号を前記複数のスキャンフリップフロップに入力すると共に、前記複数のスキャンフリップフロップを前記第2のクロック信号によらず保持する値を維持するホールドモードに制御し、
前記ホールドモードを解除すると共に前記複数のスキャンフリップフロップを前記テスト対象回路の出力に応じて保持する値を更新するテスト結果取得モードに制御し、
前記テスト結果取得モードにおいて前記第2のクロック信号を2パルス用いて前記複数のスキャンフリップフロップに保持されている値を更新し、
前記テスト結果取得モードを解除した後に前記第1のクロック信号を前記複数のスキャンフリップフロップに入力して、前記複数のスキャンフリップフロップに保持されている値をテスト結果として外部出力する遅延スキャンテスト方法。
The circuit under test,
A plurality of scan flip-flops connected in cascade;
A clock buffer group provided in a clock distribution path to the plurality of scan flips,
A delay scan test method for a semiconductor device for testing the test target circuit by the plurality of scan flip-flops,
A first test pattern to be input to the test target circuit by inputting a first clock signal to the plurality of scan flip-flops is set in the plurality of scan flip-flops;
A second clock signal having a frequency higher than that of the first clock signal is input to the plurality of scan flip-flops, and a value that holds the plurality of scan flip-flops regardless of the second clock signal is maintained. Control to hold mode,
Controlling the test result acquisition mode to release the hold mode and update the values held in the plurality of scan flip-flops according to the output of the test target circuit;
Updating the values held in the plurality of scan flip-flops using two pulses of the second clock signal in the test result acquisition mode;
A delayed scan test method in which the first clock signal is input to the plurality of scan flip-flops after the test result acquisition mode is released, and values held in the plurality of scan flip-flops are externally output as test results .
前記複数のスキャンフリップフロップに、スキャンモード制御信号と、キャプチャイネーブル信号と、を入力し、
前記スキャンモード制御信号を第1の論理レベルとすることで、前記複数のスキャンフリップフロップを保持している値を次段に配置されるスキャンフリップフロップに遷移させるシフトモードに制御し、
前記スキャンモード制御信号を第2の論理レベルとすることで、前記複数のスキャンフリップフロップに保持されている値を前記テスト対象回路からの出力信号により更新するキャプチャモードに制御し、
前記キャプチャモード中において、前記キャプチャイネーブル信号をディスイネーブル状態とすることで、前記複数のスキャンフリップフロップを前記ホールドモードに制御し、
前記キャプチャモード中において、前記キャプチャイネーブル信号をイネーブル状態とすることで、前記複数のスキャンフリップフロップを前記テスト結果取得モードに制御する請求項1に記載の遅延スキャンテスト方法。
A scan mode control signal and a capture enable signal are input to the plurality of scan flip-flops,
By setting the scan mode control signal to the first logic level, the value held in the plurality of scan flip-flops is controlled to a shift mode for transitioning to a scan flip-flop arranged in the next stage,
By setting the scan mode control signal to the second logic level, the value held in the plurality of scan flip-flops is controlled to a capture mode that is updated by an output signal from the test target circuit,
During the capture mode, by disabling the capture enable signal, to control the plurality of scan flip-flops to the hold mode,
The delayed scan test method according to claim 1, wherein the plurality of scan flip-flops are controlled to the test result acquisition mode by setting the capture enable signal in an enable state during the capture mode.
前記ホールドモードと前記テスト結果取得モードとにおいて前記複数のスキャンフリップフロップには、前記第2のクロック信号が連続して与えられる請求項1又は2に記載の遅延スキャンテスト方法。   3. The delayed scan test method according to claim 1, wherein the second clock signal is continuously supplied to the plurality of scan flip-flops in the hold mode and the test result acquisition mode. 前記キャプチャイネーブル信号は、
前記スキャンモード制御信号が前記第2の論理レベルとなった後に入力される前記第2のクロック信号のクロック数が所定の値に達したことに応じてディスイネーブル状態からイネーブル状態に遷移し、
イネーブル状態となった後に前記ラウンチクロックと前記キャプチャクロックとが前記複数のスキャンフリップフロップに入力された後にディスイネーブル状態に遷移する請求項2に記載の遅延スキャンテスト方法。
The capture enable signal is
Transition from the disabled state to the enabled state in response to the number of clocks of the second clock signal input after the scan mode control signal reaches the second logic level reaching a predetermined value;
The delayed scan test method according to claim 2, wherein the launch clock and the capture clock are input to the plurality of scan flip-flops after the enable state is entered, and then transition to the disable state.
前記シフトモード中において前記キャプチャイネーブル信号がイネーブル状態であるかディスイネーブル状態であるかに関わらず、第1のテストパターンを前記複数のスキャンフリップフロップに設定する請求項2に記載の遅延スキャンテスト方法。   3. The delayed scan test method according to claim 2, wherein a first test pattern is set in the plurality of scan flip-flops regardless of whether the capture enable signal is enabled or disabled during the shift mode. . 前記キャプチャイネーブル信号を前記シフトモード中においてイネーブル状態として、第1のテストパターンを前記複数のスキャンフリップフロップに設定する請求項2に記載の遅延スキャンテスト方法。   3. The delayed scan test method according to claim 2, wherein the capture enable signal is enabled during the shift mode and a first test pattern is set in the plurality of scan flip-flops. テスト対象回路と、
前記テスト対象回路をテストし、従属接続される複数のスキャンフリップフロップと、
前記複数のスキャンフリップへのクロック分配経路に設けられたクロックバッファ群と、を有する半導体装置であって、
前記複数のスキャンフリップフロップは、それぞれ
入力されるクロック信号に応じて保持する値を更新すると共に、外部から入力されるスキャンパターンにより保持する値を更新するシフトモードと、前記テスト対象回路の出力する値に応じて保持する値を更新するキャプチャモードと、がスキャンモード制御信号の論理レベルに応じて切り換えられる基本スキャンフリップフロップと、
前記キャプチャモードにおいて、キャプチャイネーブル信号がイネーブル状態である場合には前記基本スキャンフリップフロップが保持する値を更新し、前記キャプチャイネーブル信号がディスイネーブル状態である場合には前記基本スキャンフリップフロップが保持する値を維持するホールド回路と、有し、
前記基本スキャンフリップフロップには、キャプチャイネーブル信号がイネーブル状態である期間に前記クロック信号に含まれる連続した2つのクロックパルスが入力される半導体装置。
The circuit under test,
A plurality of scan flip-flops that test the test target circuit and are connected in cascade;
A clock buffer group provided in a clock distribution path to the plurality of scan flips,
Each of the plurality of scan flip-flops updates a value to be held in accordance with an input clock signal, and also outputs a shift mode for updating a value to be held by an externally input scan pattern, and the test target circuit outputs A capture mode for updating a value to be held according to a value; a basic scan flip-flop that is switched according to a logic level of a scan mode control signal;
In the capture mode, when the capture enable signal is enabled, the value held by the basic scan flip-flop is updated, and when the capture enable signal is disabled, the basic scan flip-flop holds. A hold circuit for maintaining the value;
A semiconductor device in which two continuous clock pulses included in the clock signal are input to the basic scan flip-flop while the capture enable signal is in an enabled state.
前記ホールド回路は、前記キャプチャイネーブル信号のディスイネーブル状態である場合は前記基本スキャンフリップフロップの出力値を前記基本スキャンフリップフロップの入力に与え、前記キャプチャイネーブル信号のイネーブル状態である場合は前記テスト対象回路の出力値を前記基本スキャンフリップフロップの入力に与えるセレクタを有する請求項7に記載の半導体装置。   The hold circuit supplies an output value of the basic scan flip-flop to the input of the basic scan flip-flop when the capture enable signal is in a disenable state, and the test target when the capture enable signal is in an enable state. The semiconductor device according to claim 7, further comprising a selector that provides an output value of the circuit to an input of the basic scan flip-flop. 前記ホールド回路は、前記キャプチャイネーブル信号のディスイネーブル状態である場合は前記基本スキャンフリップフロップへの前記クロック信号の供給を停止し、前記キャプチャイネーブル信号のイネーブル状態である場合は前記基本スキャンフリップフロップに前記クロック信号を供給するセレクタを有する請求項7又は8に記載の半導体装置。   The hold circuit stops the supply of the clock signal to the basic scan flip-flop when the capture enable signal is in the disenable state, and holds the basic scan flip-flop when the capture enable signal is in the enabled state. The semiconductor device according to claim 7, further comprising a selector that supplies the clock signal. 前記スキャンモード制御信号が前記キャプチャモードを示す期間に入力される前記クロック信号のクロック数が所定の値に達したことに応じて前記キャプチャイネーブル信号をディスイネーブル状態からイネーブル状態に切り換えるキャプチャ制御回路を有する請求項7乃至9のいずれか1項に記載の半導体装置。   A capture control circuit for switching the capture enable signal from a disabled state to an enabled state in response to the number of clocks of the clock signal input during a period in which the scan mode control signal indicates the capture mode reaching a predetermined value; The semiconductor device according to claim 7, comprising: 前記キャプチャ制御回路は、前記シフトモード中は、前記キャプチャイネーブル信号をイネーブル状態とする請求項10に記載の半導体装置。   The semiconductor device according to claim 10, wherein the capture control circuit enables the capture enable signal during the shift mode. 外部から入力される第1のクロック信号と、前記第1のクロック信号より周波数が高い第2のクロック信号と、のいずれか一方を前記スキャンモード制御信号に応じて選択して前記クロック信号として出力するクロックセレクタを有し、
前記クロックセレクタは、前記スキャンモード制御信号が前記シフトモードを示す場合は前記第1のクロック信号を前記クロック信号として出力し、前記スキャンモード制御信号が前記キャプチャモードを示す場合は前記第2のクロック信号を前記クロック信号として出力する請求項7乃至11のいずれか1項に記載の半導体装置。
Either a first clock signal input from the outside or a second clock signal having a frequency higher than that of the first clock signal is selected according to the scan mode control signal and output as the clock signal. A clock selector to
The clock selector outputs the first clock signal as the clock signal when the scan mode control signal indicates the shift mode, and the second clock when the scan mode control signal indicates the capture mode. The semiconductor device according to claim 7, wherein a signal is output as the clock signal.
テスト対象回路と、
前記テスト対象回路をテストし、従属接続される複数のスキャンフリップフロップと、を有する半導体装置の設計方法であって、
前記テスト対象回路を含む回路を含む第1のネットリストを読み込み、前記テスト対象回路に対応する位置に、スキャンモード制御信号の値に応じて保持する値を前段のスキャンフリップフロップの出力により更新するか前記テスト対象回路の出力に応じて更新するかを切り換える前記複数の基本スキャンフリップフロップのネット情報を生成し、
前記複数の基本スキャンフリップフロップのそれぞれに対して、キャプチャイネーブル信号に応じて前記複数の基本スキャンフリップフロップが保持する値を更新するか維持するかを切り換えるホールド回路のネット情報を生成し、
前記複数の基本スキャンフリップフロップが保持する値を前段のスキャンフリップフロップの出力により更新するか前記テスト対象回路の出力に応じて更新するかを指示するスキャンモード制御信号と、前記複数のスキャンフリップフロップに与えられるクロック信号と、に応じて前記キャプチャイネーブル信号をイネーブル状態とするかディスイネーブル状態とするかを切り換えるスキャン制御回路のネット情報を生成し、
前記第1のネットリストに、前記複数の基本スキャンフリップフロップのネット情報、前記ホールド回路のネット情報及び前記スキャン制御回路のネット情報を追加して、第2のネットリストを生成する半導体装置の設計方法。
The circuit under test,
A test method of a semiconductor device having a plurality of scan flip-flops that test the test target circuit and are connected in cascade,
The first netlist including the circuit including the test target circuit is read, and the value held in accordance with the value of the scan mode control signal is updated at the position corresponding to the test target circuit by the output of the previous scan flip-flop. Or generating net information of the plurality of basic scan flip-flops for switching whether to update according to the output of the circuit under test,
For each of the plurality of basic scan flip-flops, generate net information of a hold circuit that switches whether to update or maintain a value held by the plurality of basic scan flip-flops according to a capture enable signal,
A scan mode control signal for instructing whether values held by the plurality of basic scan flip-flops are updated according to an output of a preceding scan flip-flop or according to an output of the test target circuit; and the plurality of scan flip-flops Generating the net information of the scan control circuit that switches between enabling the clock enable signal and disabling the capture enable signal according to the clock signal applied to
Designing a semiconductor device for generating a second netlist by adding net information of the plurality of basic scan flip-flops, net information of the hold circuit, and net information of the scan control circuit to the first netlist Method.
JP2011175731A 2011-08-11 2011-08-11 Delay scan test method, semiconductor device, and semiconductor device design method Withdrawn JP2013036960A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011175731A JP2013036960A (en) 2011-08-11 2011-08-11 Delay scan test method, semiconductor device, and semiconductor device design method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011175731A JP2013036960A (en) 2011-08-11 2011-08-11 Delay scan test method, semiconductor device, and semiconductor device design method

Publications (1)

Publication Number Publication Date
JP2013036960A true JP2013036960A (en) 2013-02-21

Family

ID=47886689

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011175731A Withdrawn JP2013036960A (en) 2011-08-11 2011-08-11 Delay scan test method, semiconductor device, and semiconductor device design method

Country Status (1)

Country Link
JP (1) JP2013036960A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015184265A (en) * 2014-03-26 2015-10-22 旭化成エレクトロニクス株式会社 semiconductor test circuit and IC chip
US10184984B2 (en) 2015-06-30 2019-01-22 Samsung Electronics Co., Ltd. Integrated circuit and electronic apparatus including integrated circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015184265A (en) * 2014-03-26 2015-10-22 旭化成エレクトロニクス株式会社 semiconductor test circuit and IC chip
US10184984B2 (en) 2015-06-30 2019-01-22 Samsung Electronics Co., Ltd. Integrated circuit and electronic apparatus including integrated circuit

Similar Documents

Publication Publication Date Title
EP3287799B1 (en) Semiconductor device and scan test method
US8775857B2 (en) Sequential on-chip clock controller with dynamic bypass for multi-clock domain testing
US8484523B2 (en) Sequential digital circuitry with test scan
JP2009222644A (en) Semiconductor integrated circuit, and design automating system
JP2008122159A (en) Semiconductor integrated circuit
JP2003307551A (en) Semiconductor integrated circuit and semiconductor integrated circuit design method
US20110181331A1 (en) Integrated circuit with leakage reduction in static nets
JP5107080B2 (en) Semiconductor device
US8135557B2 (en) Apparatus for testing semiconductor integrated circuit and method for testing semiconductor integrated circuit
JP2013036960A (en) Delay scan test method, semiconductor device, and semiconductor device design method
JP2008233071A (en) Logic circuit and recording medium
US20100033189A1 (en) Semiconductor integrated circuit and test method using the same
JP5942417B2 (en) Simulation device, simulation method, and simulation program
CN114519318B (en) NOC design methods, devices, related components and equipment
JP2008292368A (en) Scan-test point circuit and integrated circuit
JP5112792B2 (en) Synchronous processing system and semiconductor integrated circuit
JP6534592B2 (en) Scan test circuit and scan test apparatus
JP2011089914A (en) Testing device of semiconductor integrated circuit and testing method of the same
KR20180031151A (en) Glitch-free clock multiplexer and selecting method of clock signal using the multiplexer
US8850256B2 (en) Communication circuit and communication method
JP2013088400A (en) Method for inspecting semiconductor integrated circuit, and the semiconductor integrated circuit
KR20160058501A (en) Semiconductor Apparatus and Operation Method
JP5450973B2 (en) Circuit verification apparatus and circuit verification method
JP2009210544A (en) Semiconductor integrated circuit
JP2015028424A (en) Semiconductor integrated circuit, semiconductor integrated circuit design program, and semiconductor integrated circuit design method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20141104