JP2011179860A - Test circuit - Google Patents
Test circuit Download PDFInfo
- Publication number
- JP2011179860A JP2011179860A JP2010042167A JP2010042167A JP2011179860A JP 2011179860 A JP2011179860 A JP 2011179860A JP 2010042167 A JP2010042167 A JP 2010042167A JP 2010042167 A JP2010042167 A JP 2010042167A JP 2011179860 A JP2011179860 A JP 2011179860A
- Authority
- JP
- Japan
- Prior art keywords
- register
- circuit
- test
- output
- registers
- 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
Landscapes
- Tests Of Electronic Circuits (AREA)
- Semiconductor Integrated Circuits (AREA)
Abstract
【課題】シリアルパス上のレジスタへの設定、レジスタ値のモニタに必要なシフト数を減らし、テスト時間の短縮が可能なテスト回路を提供する。
【解決手段】本発明のテスト回路は、複数のレジスタがシリアル接続されたシフトレジスタと、バイパス回路71a(71b)と、を備える。シフトレジスタは、回路ユニットに接続される。バイパス回路71a(71b)は、第1のレジスタ711a(711b)の出力が入力される第2のレジスタ712a(712b)と、連続する2つのレジスタ416と425b(415と424b)の間に設けられ、第2のレジスタの出力に応じて、連続する2つのレジスタのうち前段のレジスタの出力、あるいは第1のレジスタの出力、のいずれか一方を選択して、連続する2つのレジスタのうち後段のレジスタに出力する第1のセレクタ713a(713b)と、を備える。
【選択図】図1A test circuit capable of reducing the number of shifts necessary for setting a register on a serial path and monitoring a register value and shortening a test time.
A test circuit according to the present invention includes a shift register in which a plurality of registers are serially connected, and a bypass circuit 71a (71b). The shift register is connected to the circuit unit. The bypass circuit 71a (71b) is provided between the second register 712a (712b) to which the output of the first register 711a (711b) is input and the two consecutive registers 416 and 425b (415 and 424b). Depending on the output of the second register, one of the output of the previous register or the output of the first register is selected from the two consecutive registers, and the latter of the two consecutive registers is selected. A first selector 713a (713b) for outputting to the register.
[Selection] Figure 1
Description
本発明はテスト回路に関する。 The present invention relates to a test circuit.
半導体装置のテスト方法の一種であるIEEE1500は、図5に示すように、LSI内部ハードマクロ(以下マクロ)11のテストの一般的方法を規格化したものである。各マクロ11はインストラクションレジスタ(WIR:Wrapper instruction register)21を備える。当該インストラクションレジスタ21はシリアルに接続される。このシリアルパス(シリアルチェーン)経由にて設定されたインストラクションレジスタ21とシリアルテストコントローラ(図示省略)からの信号に基づいて、テスト対象のマクロ11のテスト状態、バイパスレジスタ(以下WBY:Wrapper bypass register)31、テスト対象のマクロ11の入出力端子へのテスト信号の挿入・モニタ用バウンダリレジスタ(以下WBR:Wrapper boundary register)41、42が制御される。つまり、当該テスト方法は、WBY31によってテスト対象でないマクロ11をスキップする。
As shown in FIG. 5, IEEE 1500, which is a type of semiconductor device test method, is a standardized test method for LSI internal hard macro (hereinafter referred to as macro) 11. Each
しかし、このようなテスト方法は、WBY31によってテスト対象でないマクロ11をスキップして、シリアルパスの総ビット数を短くできるものの、やはり総ビット数が依然として多い。つまり、シフト動作が多く、その分のテスト時間が長くなってしまう問題がある。
However, although such a test method can shorten the total number of bits of the serial path by skipping the
また、特許文献1には、図6に示すように当該シリアルパスを並列化した回路が開示されている。特許文献1に開示の回路は、各マクロ11のインストラクションレジスタをTAP(Test Mode Select)コントローラ51内に一つのインストラクションレジスタ(IR)511として装備している。各マクロ11のWBR41、42はシリアルパスで接続している。そして、特許文献1に開示の回路は、WBR41、42で構成されたシリアルパスを複数搭載し、テスト対象のマクロのWBR41、42が接続されているシリアルパスのみ有効とする。
ちなみに、特許文献2には、シリアルパスにおいてクリティカルパス評価が良好にできる回路が開示されている。すなわち、特許文献2に開示の回路は、シリアルパスを成す任意のスキャンフリップフロップの間に制御専用のスキャンフリップフロップを設けている。しかし、特許文献2に開示の回路は、シリアルパス内の任意のスキャンフリップフロップにテスト信号を送る際のシフト動作を減らすことを目的とするものでない。
Incidentally,
特許文献1に開示の回路は、並列化したシリアルパス上のWBRへテスト信号の設定制御及びテスト結果のモニタ制御をするために、シリアルパス上のWBR数のシフト動作が必要である。
The circuit disclosed in
以下に例として、図7を用いて説明する。図7に示す回路は、特許文献1に開示の回路における1本のシリアルパスを取り出し、具現化したものである。ちなみに、当該回路は、マクロのFIに1ビットのデータを入力し、FOから1ビットのテスト結果を得る。
この回路は、6つのマクロ111、112、113、114、115、116を備える。マクロ111のFI側のWBRはレジスタ411で構成し、マクロ111のFO側のWBRはセレクタ421aとレジスタ421bとで構成する。マクロ112のFI側のWBRはレジスタ412で構成し、マクロ112のFO側のWBRはセレクタ422aとレジスタ422bとで構成する。マクロ113のFI側のWBRはレジスタ413で構成し、マクロ113のFO側のWBRはセレクタ423aとレジスタ423bとで構成する。マクロ114のFI側のWBRはレジスタ414で構成し、マクロ114のFO側のWBRはセレクタ424aとレジスタ424bとで構成する。マクロ115のFI側のWBRはレジスタ415で構成し、マクロ115のFO側のWBRはセレクタ425aとレジスタ425bとで構成する。マクロ116のFI側のWBRはレジスタ416で構成し、マクロ116のFO側のWBRはセレクタ426aとレジスタ426bとで構成する。これらのレジスタ及びセレクタで1本のシリアルパスが構成されている。
An example will be described below with reference to FIG. The circuit shown in FIG. 7 is obtained by taking out one serial path in the circuit disclosed in
This circuit comprises six
IR(図示を省略)は、TAPコントローラ51に搭載している。シリアルパスは、TAPコントローラ51のInternal Serial Inputからレジスタ411、421b、412、422b、413、423b、414、424b、415、425b、416、426bと接続され、最終的にTAPコントローラ51のInternal Serial Outputに接続される。また、TAPコントローラ51から、シリアルテストコントロール信号としてTest Enableが出力される。当該シリアルテストコントロール信号は、各マクロ111、112、113、114、115、116のTest Enable端子に入力される。このとき、各マクロはテスト時にFIとして'1'が入力される。
The IR (not shown) is mounted on the
ここで、マクロ115のみテストを実施する場合を考える。タイミングチャートを図8に示す。TAPコントローラ51内のインストラクションレジスタを設定した後、Internal Serial Inputから'1'を挿入し(T1)、マクロ115のレジスタ415にテスト値'1'がセットされるまでシフト動作をする(T2)。
Here, consider a case where only the
マクロ115のレジスタ415にテスト値'1'をセット終了後に、Test Enableを'1'とする(T3)。各マクロは、Test Enableが'1'の間自分のテストを実施し、結果をFOに出力する。ただし、マクロ115以外にはFIに'0'が設定されているので、マクロ115以外の出力結果は0となる。
After setting the test value “1” in the
マクロ115のテスト終了後、internal TCKを1パルス挿入し、マクロ115のFO値を、セレクタ425aを介してレジスタ425bに格納する(T4)。その後Test Enableを'0'とし(T5)、シフト動作によりInternal Serial Outputからテスト結果(レジスタ425bのレジスト値)をモニタする(T6)。
After completion of the test of the
ここで、マクロ115のレジスタ415に値を設定し、マクロ115のFOのみをレジスタ425b経由でモニタしたい場合でもシリアルパス上のレジスタ数のシフト動作が必要となり、その分のテスト時間が長くなってしまう問題がある。
Here, even when a value is set in the
本発明に係るテスト回路は、第1の回路ユニットを含む複数の回路ユニットが搭載された半導体集積回路のテスト回路であって、第1のレジスタを含む複数のレジスタがシリアル接続されてシリアルパスを形成したシフトレジスタと、バイパス回路と、を備え、前記シフトレジスタは、複数の前記回路ユニットに接続され、前記バイパス回路は、前記第1のレジスタの出力が入力される第2のレジスタと、前記複数のレジスタのうち連続する2つのレジスタの間に設けられ、前記第2のレジスタの出力に応じて、前記連続する2つのレジスタのうち前段のレジスタの出力、あるいは前記第1のレジスタの出力、のいずれか一方を選択して、前記連続する2つのレジスタのうち後段のレジスタに出力する第1のセレクタと、を備える。
このような構成により、シリアルパス上のレジスタへの設定、レジスタ値のモニタに必要なシフト数を減らし、テスト時間の短縮が可能となる。
A test circuit according to the present invention is a test circuit for a semiconductor integrated circuit on which a plurality of circuit units including a first circuit unit are mounted, and the plurality of registers including the first register are serially connected to perform a serial path. A shift register formed, and a bypass circuit, wherein the shift register is connected to a plurality of the circuit units, and the bypass circuit includes a second register to which an output of the first register is input; Provided between two consecutive registers of the plurality of registers, and depending on the output of the second register, the output of the previous register of the two consecutive registers, or the output of the first register, And a first selector for selecting one of the two consecutive registers and outputting the selected register to a subsequent-stage register.
With such a configuration, it is possible to reduce the number of shifts required for setting the registers on the serial path and monitoring the register values, thereby shortening the test time.
本発明によれば、シリアルパス上のレジスタへの設定、レジスタ値のモニタに必要なシフト数を減らし、テスト時間の短縮が可能となる。 According to the present invention, it is possible to reduce the number of shifts required for setting a register on the serial path and monitoring the register value, thereby shortening the test time.
本発明に係るテスト回路の実施の形態について説明する。但し、本発明が以下の実施の形態に限定される訳ではない。また、説明を明確にするため、以下の記載及び図面は、適宜、簡略化されている。 An embodiment of a test circuit according to the present invention will be described. However, the present invention is not limited to the following embodiment. In addition, for clarity of explanation, the following description and drawings are simplified as appropriate.
<第1の実施の形態>
図1に示すテスト回路は、上述した図7に示す回路を基本としている。ちなみに、本実施の形態のテスト回路も、回路ユニットのFIに1ビットのデータを入力し、FOから1ビットのテスト結果を得る。
<First Embodiment>
The test circuit shown in FIG. 1 is based on the circuit shown in FIG. Incidentally, the test circuit of this embodiment also inputs 1-bit data to the FI of the circuit unit, and obtains a 1-bit test result from the FO.
テスト回路は、6つのラッパー61、62、63、64、65、66を備える。ラッパー61は、回路ユニット(マクロ)111、レジスタ411、421b、及びレジスタ411と421bとの間に設けられたセレクタ421aを備える。ラッパー62は、回路ユニット112、レジスタ412、422b、及びレジスタ412と422bとの間に設けられたセレクタ422aを備える。ラッパー63は、回路ユニット113、レジスタ413、423b、及びレジスタ413と423bとの間に設けられたセレクタ423aを備える。ラッパー64は、回路ユニット114、レジスタ414、424b、及びレジスタ414と424bとの間に設けられたセレクタ424aを備える。ラッパー65は、回路ユニット115、レジスタ415、425b、及びレジスタ415と425bとの間に設けられたセレクタ425aを備える。ラッパー66は、回路ユニット116、レジスタ416、426b、及びレジスタ416と426bとの間に設けられたセレクタ426aを備える。
The test circuit includes six
ラッパー61のレジスタ411、421b、ラッパー62のレジスタ412、422b、ラッパー63のレジスタ413、423b、ラッパー64のレジスタ414、424b、ラッパー65のレジスタ415、425b、ラッパー66のレジスタ416、426b、さらにレジスタ711a、711bがシフトレジスタを構成している。つまり、本実施の形態では、当該シフトレジスタでシリアルパスを構成している。
レジスタ411(412、413、414、415、416)のデータ入力端子には、データ信号が入力される。レジスタ411(412、413、414、415、416)のクロック入力端子には、クロック信号が入力される。レジスタ411(412、413、414、415、416)は、回路ユニット111(112、113、114、115、116)のFIに接続されると共に、セレクタ421a(422a、423a、424a、425a、426a)に接続されている。すなわち、レジスタ411(412、413、414、415、416)は、クロック信号に基づいてデータ信号を、回路ユニット111(112、113、114、115、116)のFIに入力すると共に、セレクタ421a(422a、423a、424a、425a、426a)に入力する。
Data signals are input to the data input terminals of the registers 411 (412, 413, 414, 415, 416). A clock signal is input to the clock input terminal of the register 411 (412, 413, 414, 415, 416). The register 411 (412, 413, 414, 415, 416) is connected to the FI of the circuit unit 111 (112, 113, 114, 115, 116) and is also a
セレクタ421a(422a、423a、424a、425a、426a)には、回路ユニット111(112、113、114、115、116)のFOからの出力信号とレジスタ411(412、413、414、415、416)からのデータ信号とが入力される。セレクタ421a(422a、423a、424a、425a、426a)は、入力される制御信号に基づいて、回路ユニット111(112、113、114、115、116)のFOからの出力信号、又はレジスタ411(412、413、414、415、416)からのデータ信号を、レジスタ421b(422b、423b、424b、425b、426b)に出力する。
The
レジスタ711a(711b)は、ラッパー61(62)のレジスタ421b(422b)とその次段のラッパー62(63)のレジスタ412(413)との間に設けられている。レジスタ711a(711b)は、シリアルパス上のスキップしたいラッパー62(63)のレジスタ412(413)の手前に設けられている。レジスタ711a(711b)には、レジスタ421b(422b)からの出力信号と、クロック信号とが入力され、当該出力信号がクロック動作によって出力される。当該出力信号は、次段のラッパー(即ちスキップしたいラッパー)62(63)のレジスタ412(413)に入力されると共に、後述するバイパス回路71a(71b)のレジスタ712a(712b)に入力される。したがって、レジスタ711a(711b)は、上述のシリアルパスをスキップ(バイパス)するか否かの設定値が格納されるスキップ設定レジスタである。
The
テスト回路は、さらにバイパス回路71a(71b)を備える。バイパス回路71a(71b)は、スキップしたいラッパー62(63)のレジスタ412(413)とレジスタ711a(711b)との間と、テスト対象のラッパー66(65)のレジスタ416(415)とその前段のラッパー65(64)のレジスタ425b(424b)との間と、を接続している。
The test circuit further includes a
バイパス回路71a(71b)は、レジスタ712a(712b)、セレクタ713a(713b)を備える。
レジスタ712a(712b)は、レジスタ711a(711b)からの出力信号と、トリガ端子91からのトリガ信号とが入力され、当該出力信号がトリガ信号に基づいてセレクタ713a(713b)に出力される。ここで、レジスタ712a(712b)は、レジスタ711a(711b)に設定された設定値を保持するスキップ情報保持レジスタである。
The
The
セレクタ713a(713b)は、スキップ後に接続したい、即ちテスト対象であるラッパー66(65)のレジスタ416(415)とその前段のラッパー65(64)のレジスタ425b(424b)との間に設けられている。セレクタ713a(713b)には、テスト対象であるラッパー66(65)の前段のラッパー65(64)のレジスタ425b(424b)からの出力信号と、レジスタ711a(711b)からの出力信号とが入力されると共に、セレクト信号としてレジスタ712a(712b)からの出力信号が入力される。セレクタ713a(713b)は、レジスタ712a(712b)からの出力信号に基づいて、ラッパー65(64)のレジスタ425b(424b)からの出力信号、又はレジスタ711a(711b)からの出力信号を、テスト対象であるラッパー66(65)のレジスタ416(415)に出力する。ちなみに、セレクタ713a(713b)は、セレクト信号が'0'で通常のシリアルパスを選択し、'1'でレジスタ711a(711b)の出力パスを選択する。また、各回路ユニットはテスト時にFIとして'1'を入力する必要がある。
The
テスト対象であるラッパー66(65)の回路ユニット116(115)は、入力される制御信号と、レジスタ416(415)から入力される出力信号とに基づいて所定のテストが行われる。 The circuit unit 116 (115) of the wrapper 66 (65) to be tested is subjected to a predetermined test based on the input control signal and the output signal input from the register 416 (415).
以上説明したように、本発明のテスト回路は、第1の回路ユニットを含む複数の回路ユニット(111、112、113、114、115、116)が搭載された半導体集積回路のテスト回路であって、第1のレジスタ(スキップ設定レジスタ、711a)を含む複数のレジスタ(411、421b、412、422b、413、423b、414、424b、415、425b、416、426b、711a、711b)がシリアル接続されてシリアルパスを形成したシフトレジスタと、バイパス回路(71a)とを備えている。そして、このシフトレジスタは、複数の回路ユニットに接続される。さらにバイパス回路(71a)は、第1のレジスタ(711a)の出力が入力される第2のレジスタ(スキップ情報保持レジスタ、712a)と、複数のレジスタ(411、421b、412、422b、413、423b、414、424b、415、425b、416、426b、711a、711b)のうち連続する2つのレジスタ(例えば、425bと416)の間に設けられ、第2のレジスタ(712a)の出力に応じて、この連続する2つのレジスタ(例えば、425bと416)のうち前段のレジスタ(425b)の出力、あるいは第1のレジスタ(711a)の出力、のいずれか一方を選択して、この連続する2つのレジスタのうち後段のレジスタ(416)に出力する第1のセレクタ(713a)とを備える。 As described above, the test circuit of the present invention is a test circuit for a semiconductor integrated circuit on which a plurality of circuit units (111, 112, 113, 114, 115, 116) including the first circuit unit are mounted. A plurality of registers (411, 421b, 412, 422b, 413, 423b, 414, 424b, 415, 425b, 416, 426b, 711a, 711b) including the first register (skip setting register, 711a) are serially connected. A shift register having a serial path and a bypass circuit (71a). The shift register is connected to a plurality of circuit units. Further, the bypass circuit (71a) includes a second register (skip information holding register, 712a) to which the output of the first register (711a) is input and a plurality of registers (411, 421b, 412, 422b, 413, 423b). 414, 424b, 415, 425b, 416, 426b, 711a, 711b) are provided between two consecutive registers (for example, 425b and 416), and according to the output of the second register (712a), Of the two consecutive registers (for example, 425b and 416), either the output of the previous register (425b) or the output of the first register (711a) is selected, and the two consecutive registers The first selector (713a) for outputting to the subsequent register (416).
なお、シフトレジスタを構成するレジスタのクロック入力端子にはクロック信号(不図示)が入力され、第2のレジスタ(712a)のクロック入力端子には別途トリガ信号(91)が入力される。なお、他のバイパス回路(例えば71b)も同様である。バイパス回路は、本実施の形態のように複数形成してもよいし、1つであってもよい。 Note that a clock signal (not shown) is input to the clock input terminal of the register constituting the shift register, and a separate trigger signal (91) is input to the clock input terminal of the second register (712a). The same applies to other bypass circuits (for example, 71b). A plurality of bypass circuits may be formed as in the present embodiment, or one bypass circuit may be provided.
さらに、本実施の形態では、スキップ設定レジスタ711a(711b)を独立して明示する構成で示したが、スキップ設定レジスタ711a(711b)はシリアルパス上の前段のレジスタ(421b、422b)と兼用してもよい。
Further, in the present embodiment, the configuration in which the
ちなみに、上述のシフトレジスタに制御信号などを入力することができれば、テスト対象であるラッパー66(65)の回路ユニット116(115)のテストを実行することができるが、テスト回路は、図1に示すようにTAPコントローラ51を備えていることが好ましい。
Incidentally, if a control signal or the like can be input to the above-described shift register, the test of the circuit unit 116 (115) of the wrapper 66 (65) to be tested can be executed. The test circuit is shown in FIG. As shown, a
TAPコントローラ51は、テスト対象の回路ユニットに対する命令やテスト信号、テスト結果などの入出力を行うためのシリアルインターフェースである。すなわち、TAPコントローラ51は、TDI(Test Date In)、TCK(Test Clock)、TRST(Test ReSeT)、TMS(Test Mode Select)、TDO(Test Data Out)の5本の信号線を備え、これらの信号線を外部のコンピュータ等で制御することによって、所謂JTAG(Joint Test Action Group)テストを行う。但し、TRSTは、適宜省略される。
The
このようなTAPコントローラ51のシリアルデータ入力端子(Internal Serial Input)にシフトレジスタのレジスタ411が接続される。一方、TAPコントローラ51のシリアルデータ出力端子(Internal Serial Output)にシフトレジスタのレジスタ426bが接続される。
A
このようなテスト回路は、図2に示すように動作する。本実施の形態では、回路ユニット115をテスト対象とする。
TAPコントローラ51内のインストラクションレジスタを設定した後、Internal Serial Inputから'1'を挿入し(T11)、順々にシフト動作する(T12)。レジスタ711bに'1'がセットされた時点(T13)で、トリガ端子91から1パルス挿入し(T14)、バイパス回路71bのレジスタ712bにレジスタ711bの値、つまり'1'をセットする(T15)。すなわち、クロック信号に基づいて、レジスタ711bにテスト信号の値'1'が保持されている間に、レジスタ712bにトリガ端子91からトリガ信号が入力され、レジスタ712bは出力信号の値を更新する。
Such a test circuit operates as shown in FIG. In the present embodiment, the
After setting the instruction register in the
セレクタ713bは、レジスタ712bの出力が'1'であることにより、レジスタ711bの出力を選択する。トリガ端子91への1パルス挿入後の次のクロック信号(T16)にて、テスト対象の回路ユニット115のレジスタ415に'1'がセットされる(T17)。
The
レジスタ415に'1'がセットされた後、Test Enable(制御信号)を'1'とする(T18)。回路ユニット115は、自身のFIに'1'が設定されているので正常にテストを実施し、結果をFOに出力する。
After “1” is set in the
十分時間が経過した後、クロック信号を1パルス挿入し、回路ユニット115のテスト結果をレジスタ425bに格納する(T19)。その後Test Enableを'0'とし(T20)、シフト動作によりInternal Serial Output経由で回路ユニット115のテスト結果をモニタする。
After a sufficient time has elapsed, one pulse of the clock signal is inserted, and the test result of the
レジスタ711bに'1'を設定した後、トリガ端子91からパルスを挿入することで、回路ユニット113のレジスタ413、423b、及び回路ユニット114のレジスタ414、424b分のシフト動作が不要になる。結果として、少ないシフト数でシリアルパス上のレジスタへの設定と回路ユニット115のテスト結果モニタが可能となる。つまり、テスト回路はパイパス回路を備えるので、シリアルパス上のレジスタへの設定、レジスタ値のモニタに必要なシフト数を減らし、テスト時間の短縮が可能となる。
After setting “1” in the
<第2の実施の形態>
本実施の形態のテスト回路は、図3に示すように、図5に示す回路と対応する構成でも同様に実施できる。なお、重複する説明は省略するものとする。
<Second Embodiment>
As shown in FIG. 3, the test circuit of the present embodiment can be similarly implemented even with a configuration corresponding to the circuit shown in FIG. Note that redundant description will be omitted.
テスト回路は、複数のラッパー67を備える。各々のラッパー67は、上述したように回路ユニット11、インストラクションレジスタ(WIR)21、WBY31、WBR41、42を備える。つまり、複数のWIR21、レジスタ711はシリアルに接続されており、当該複数のWIR21とレジスタ711とでシフトレジスタを構成している。また、複数のWBY31、レジスタ711もシリアルに接続されており、当該複数のWBY31とレジスタ711とでシフトレジスタを構成している。WBR41、42は、各回路ユニット11に対応して設けられ、入力端子と出力端子との間でシリアルに接続されている。
The test circuit includes a plurality of
すなわち、スキップしたいラッパー67のWIR21とその前段のラッパー67のWIR21との間にレジスタ711を設ける。そして、スキップしたいラッパー67のWIR21とレジスタ711との間と、テスト対象のラッパー67のWIR21とその前段のラッパー67のWIR21との間とを、バイパス回路71で接続する。バイパス回路71は、上述のように、レジスタ712、セレクタ713を備える。
That is, the
このようなテスト回路は、以下のように動作する。基本的な動作は、第1の実施の形態のテスト回路と同様である。
つまり、シリアルパスにて値をシフト動作する手順で、レジスタ711に値を設定する。レジスタ711に値が設定された後、トリガ端子91から1パルス挿入し、レジスタ712にレジスタ711の値をラッチする。シリアルパス上のセレクタ713は、セレクト信号であるレジスタ712の値に基づいて、本来のシリアルパスからのパスと、バイパス回路71経由のパスとを選択する。
Such a test circuit operates as follows. The basic operation is the same as that of the test circuit of the first embodiment.
That is, the value is set in the
よって、レジスタ711にスキップ設定となる値が設定され、トリガ端子91からパルスが入った時点でシリアルパス上のレジスタ711とセレクタ713との間の、WIR21がスキップされる。そのため、全体のシリアルパス上のWIR21の数が減り、必要なシフト時間が短縮される。解除する場合は、レジスタ711にスキップ解除設定となる値をセットし、トリガ端子91からパルスを挿入する。この時点でセレクタ713は通常のシリアルパスを選択する。
Therefore, a value for skip setting is set in the
これにより、シリアルパス上の任意のレジスタ(WIR21)のスキップが可能となる。結果として、必要に応じてシリアルパス上のレジスタへの設定、レジスタ値のモニタに必要なシフト数を減らし、テスト時間の短縮が可能となる。 Thereby, it is possible to skip an arbitrary register (WIR21) on the serial path. As a result, the number of shifts required for setting the registers on the serial path and monitoring the register values can be reduced as necessary, and the test time can be shortened.
<第3の実施の形態>
本実施の形態のテスト回路は、図4に示すように、回路ユニット(組み合わせ回路)101n(nは1以上の整数)、101n+1、101n+2、シリアルに接続されたレジスタ102を備えるスキャンテスト回路に用いている。ここで、本実施の形態では、レジスタ102がスキャンフリップフロップに相当する。図4に示すように、スキャンテスト対象のスキャンフリップフロップがシリアルパス上でまとまっている場合、もしくは、対象外のスキャンフリップフロップがまとまっている場合に、それらのスキャンフリップフロップをスキップすることで、シフト動作時間の短縮が可能となる。
<Third Embodiment>
As shown in FIG. 4, the test circuit of this embodiment includes a circuit unit (combination circuit) 101 n (n is an integer of 1 or more), 101 n + 1 , 101 n + 2 , and a serially connected
つまり、回路ユニット101n+2のみスキャンテストしたい場合、図4に示すように、レジスタ711及びバイパス回路71を構成するレジスタ712、セレクタ713を設ける。すなわち、レジスタ102aとその前段のレジスタ102bとの間にレジスタ711を設ける。そして、レジスタ102aとレジスタ711との間と、レジスタ102eとその次段のレジスタ102fとの間と、をバイパス回路71で接続する。これにより、破線Aで囲まれたレジスタ102a、及び破線Bで囲まれたレジスタ102c、102d、102e分のシフト時間を削減することが可能となる。
That is, when only the circuit unit 101 n + 2 is desired to be scanned, a
本実施の形態においても、本発明は、第1の回路ユニットを含む複数の回路ユニット(101n、101n+1、・・・)が搭載された半導体集積回路のテスト回路であって、第1のレジスタ(スキップ設定レジスタ、711)を含む複数のレジスタ102(102a、102b、・・・)がシリアル接続されてシリアルパスを形成したシフトレジスタと、バイパス回路(71)とを備えている。ここでこのシリアルパスはスキャンチェインパスである。そして、このシフトレジスタは、複数の回路ユニットに接続される。さらにバイパス回路(71)は、第1のレジスタ(711)の出力が入力される第2のレジスタ(スキップ情報保持レジスタ、712)と、複数のレジスタ102(102a、102b、・・・)のうち連続する2つレジスタ(102eと102f)の間に設けられ、第2のレジスタ(712)の出力に応じて、この連続する2つのレジスタ(102eと102f)のうち前段のレジスタ(102e)の出力、あるいは第1のレジスタ(711)の出力、のいずれか一方を選択して、この連続する2つのレジスタのうち後段のレジスタ(102f)に出力する第1のセレクタ(713)とを備える。 Also in the present embodiment, the present invention is a test circuit for a semiconductor integrated circuit in which a plurality of circuit units (101n, 101n + 1,...) Including the first circuit unit are mounted, and the first register ( A shift register in which a plurality of registers 102 (102a, 102b,...) Including a skip setting register (711) are serially connected to form a serial path, and a bypass circuit (71) are provided. Here, this serial path is a scan chain path. The shift register is connected to a plurality of circuit units. Further, the bypass circuit (71) includes a second register (skip information holding register, 712) to which the output of the first register (711) is input, and a plurality of registers 102 (102a, 102b,...). Provided between two consecutive registers (102e and 102f), and according to the output of the second register (712), the output of the previous register (102e) of the two consecutive registers (102e and 102f) Or a first selector (713) that selects one of the outputs of the first register (711) and outputs the selected register to the subsequent register (102f) of the two consecutive registers.
なお、前述の実施の形態と同様に、シフトレジスタを構成するレジスタのクロック入力端子にはクロック信号(不図示)が入力され、第2のレジスタ(712)のクロック入力端子には別途トリガ信号(91)が入力される構成である。 As in the above-described embodiment, a clock signal (not shown) is input to the clock input terminal of the register constituting the shift register, and a trigger signal (not shown) is input to the clock input terminal of the second register (712). 91) is input.
なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。 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.
11 マクロ
21 インストラクションレジスタ
51 TAPコントローラ
61、62、63、64、65、66、67 ラッパー
71a、71b バイパス回路、711 レジスタ、712 レジスタ、713 セレクタ
91 トリガ端子
101n、101n+1、101n+2 回路ユニット(組み合わせ回路)
102 レジスタ
111、112、113、114、115、116 回路ユニット(マクロ)
411、412、413、414、415、416 レジスタ
421a〜426a セレクタ
421b〜426b レジスタ
11
102
411, 412, 413, 414, 415, 416
Claims (10)
第1のレジスタを含む複数のレジスタがシリアル接続されてシリアルパスを形成したシフトレジスタと、
バイパス回路と、
を備え、
前記シフトレジスタは、複数の前記回路ユニットに接続され、
前記バイパス回路は、
前記第1のレジスタの出力が入力される第2のレジスタと、
前記複数のレジスタのうち連続する2つのレジスタの間に設けられ、前記第2のレジスタの出力に応じて、前記連続する2つのレジスタのうち前段のレジスタの出力、あるいは前記第1のレジスタの出力、のいずれか一方を選択して、前記連続する2つのレジスタのうち後段のレジスタに出力する第1のセレクタと、
を備えることを特徴とするテスト回路。 A test circuit for a semiconductor integrated circuit on which a plurality of circuit units including a first circuit unit are mounted,
A shift register in which a plurality of registers including a first register are serially connected to form a serial path;
A bypass circuit;
With
The shift register is connected to a plurality of the circuit units,
The bypass circuit is:
A second register to which the output of the first register is input;
Provided between two consecutive registers of the plurality of registers, and depending on the output of the second register, the output of the previous register of the two consecutive registers, or the output of the first register , And a first selector that outputs to a subsequent register of the two consecutive registers;
A test circuit comprising:
前記第2のレジスタのクロック入力端子にトリガ信号が入力されることを特徴とする請求項1に記載のテスト回路。 A clock signal is input to a clock input terminal of a register constituting the shift register,
The test circuit according to claim 1, wherein a trigger signal is input to a clock input terminal of the second register.
前記第3のレジスタが前記第1の回路ユニットの入力に接続され、
前記第4のレジスタが前記第1の回路ユニットの出力に接続され、
前記第3のレジスタにより、前記第1の回路ユニットに設定値を与え、前記第4のレジスタを介して、前記第1の回路ユニットのテスト結果を受けることを特徴とする請求項1又は2に記載のテスト回路。 The shift register includes third and fourth registers connected in series,
The third register is connected to an input of the first circuit unit;
The fourth register is connected to the output of the first circuit unit;
The setting value is given to the first circuit unit by the third register, and the test result of the first circuit unit is received through the fourth register. Test circuit described.
前記第2のセレクタは、制御信号に応じて、前記第3のレジスタの出力あるいは前記第1の回路ユニットの出力のいずれか一方を前記第4のレジスタに選択出力することを特徴とする請求項3に記載のテスト回路。 A second selector between the third register and the fourth register;
The second selector selectively outputs either the output of the third register or the output of the first circuit unit to the fourth register in accordance with a control signal. 3. The test circuit according to 3.
前記シフトレジスタの初段のレジスタに、前記TAPコントローラのシリアルデータ入力が接続され、
前記シフトレジスタの最終段のレジスタに、前記TAPコントローラのシリアルデータ出力が接続されることを特徴とする請求項1乃至4のいずれか1項に記載のテスト回路。 A TAP controller,
The serial data input of the TAP controller is connected to the first stage register of the shift register,
5. The test circuit according to claim 1, wherein a serial data output of the TAP controller is connected to a register at a final stage of the shift register.
前記シフトレジスタがスキャンパス回路であることを特徴とする請求項1乃至3のいずれか1項に記載のテスト回路。 Each of the plurality of circuit units is a combinational circuit,
4. The test circuit according to claim 1, wherein the shift register is a scan path circuit.
前記複数のレジスタ群の各々は、互いに隣接して接続されたレジスタより構成され、それぞれ対応する前記回路ユニットに接続されることを特徴とする請求項1乃至7のいずれか1項に記載のテスト回路。 The shift register has a plurality of register groups,
8. The test according to claim 1, wherein each of the plurality of register groups includes a register connected adjacent to each other, and is connected to the corresponding circuit unit. circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010042167A JP2011179860A (en) | 2010-02-26 | 2010-02-26 | Test circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010042167A JP2011179860A (en) | 2010-02-26 | 2010-02-26 | Test circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2011179860A true JP2011179860A (en) | 2011-09-15 |
Family
ID=44691534
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2010042167A Pending JP2011179860A (en) | 2010-02-26 | 2010-02-26 | Test circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2011179860A (en) |
-
2010
- 2010-02-26 JP JP2010042167A patent/JP2011179860A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3851782B2 (en) | Semiconductor integrated circuit and test method thereof | |
| US8555123B2 (en) | Test device and method for the SoC test architecture | |
| US20100023807A1 (en) | Test device and method for the soc test architecture | |
| JP4802139B2 (en) | Semiconductor integrated circuit module | |
| JP2009515160A (en) | Integrated circuit inspection method and apparatus | |
| JP2023067828A5 (en) | ||
| US20110175638A1 (en) | Semiconductor integrated circuit and core test circuit | |
| JP2007525684A (en) | Test circuit and method for hierarchical core | |
| JP2004110265A (en) | Method for facilitating test of semiconductor integrated circuit | |
| US7380183B2 (en) | Semiconductor circuit apparatus and scan test method for semiconductor circuit | |
| JP2006058273A (en) | Semiconductor integrated circuit | |
| JP5099869B2 (en) | Semiconductor integrated circuit and test method for semiconductor integrated circuit | |
| US6381720B1 (en) | Test circuit and method for system logic | |
| JP2011179860A (en) | Test circuit | |
| JP2008224238A (en) | Semiconductor integrated circuit, semiconductor integrated circuit design support apparatus, and semiconductor integrated circuit manufacturing method | |
| JP4610919B2 (en) | Semiconductor integrated circuit device | |
| JP4416469B2 (en) | Semiconductor integrated circuit and design method thereof | |
| KR100532747B1 (en) | Semiconductor intergrated circuit, method for designing the same, and storage medium where design program for semiconductor intergrated circuit is stored | |
| JP2009175154A (en) | Semiconductor integrated circuit and design method thereof | |
| JP2002005998A (en) | Test method and test circuit for integrated circuit | |
| KR20030027989A (en) | Chip testing apparatus | |
| JP2024138860A (en) | Semiconductor integrated circuit and method for testing semiconductor integrated circuit | |
| US20090044064A1 (en) | Scan path circuit and semiconductor integrated circuit | |
| JP2006004509A (en) | Semiconductor integrated circuit and hard macro circuit | |
| JPH1090362A (en) | Semiconductor integrated device |