JP4417092B2 - Semiconductor integrated circuit - Google Patents

Semiconductor integrated circuit Download PDF

Info

Publication number
JP4417092B2
JP4417092B2 JP2003418632A JP2003418632A JP4417092B2 JP 4417092 B2 JP4417092 B2 JP 4417092B2 JP 2003418632 A JP2003418632 A JP 2003418632A JP 2003418632 A JP2003418632 A JP 2003418632A JP 4417092 B2 JP4417092 B2 JP 4417092B2
Authority
JP
Japan
Prior art keywords
macro
circuit
scan
hard
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2003418632A
Other languages
Japanese (ja)
Other versions
JP2005180975A (en
Inventor
裕一 金子
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Electronics Corp
Original Assignee
NEC 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 NEC Electronics Corp filed Critical NEC Electronics Corp
Priority to JP2003418632A priority Critical patent/JP4417092B2/en
Publication of JP2005180975A publication Critical patent/JP2005180975A/en
Application granted granted Critical
Publication of JP4417092B2 publication Critical patent/JP4417092B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、LSI製造時のテストに関し、特にスキャンを用いたハードマクロの内部と、ハードマクロとハードマクロに接続される回路の故障検出を可能とする半導体集積回路に関する。 The present invention relates to a test at the time of manufacturing an LSI, and more particularly to a semiconductor integrated circuit capable of detecting a failure of a hard macro using scan and a circuit connected to the hard macro and the hard macro.

近年のLSI開発では、LSIに内蔵するCPUコア等のハードマクロの開発と、LSIの開発を別々にする機会が増加してきている。このような開発により製作されたハードマクロを内蔵するLSIでは、ハードマクロのテストを行うマクロ内部スキャンと、LSIのハードマクロを除く回路のテストを行うマクロ外部スキャンとを別々に行う必要があるが、従来のLSIをそのままの構成で行うとハードマクロとLSIのハードマクロを除く回路との接続部分であるインターフェース部分のテストが出来ない為、ハードマクロに両テストで動作するバンダリスキャン回路を内蔵させることが知られている(特許文献1参照)。   In recent LSI development, there are increasing opportunities to separate development of a hard macro such as a CPU core incorporated in an LSI and development of an LSI. In an LSI incorporating a hard macro manufactured by such development, it is necessary to separately perform a macro internal scan for testing a hard macro and a macro external scan for testing a circuit other than the LSI hard macro. If the conventional LSI is used as it is, the interface part that is the connection part between the hard macro and the circuit excluding the LSI hard macro cannot be tested. It is known (see Patent Document 1).

特開平11−101859号公報 従来技術の組み合わせ回路の故障検出は、同じ方式のスキャンフリップフロップ(フリップフロップを「FF」という)により特定の組み合わせ回路を挟み込み、該組み合わせ回路の入力側に接続したスキャンFFに色々な値を設定し、設定した値を反映した該組み合わせ回路の出力を該組み合わせ回路の出力側に接続したスキャンFFで受け、その値が設計通りであるか否かを確認する事によって行うものである。[Patent Document 1] Japanese Patent Application Laid-Open No. 11-101859 The conventional combination circuit failure detection uses a scan flip-flop of the same type (a flip-flop is referred to as “FF”) to sandwich a specific combination circuit and connects to the input side of the combination circuit By setting various values in the FF, receiving the output of the combination circuit reflecting the set value in the scan FF connected to the output side of the combination circuit, and confirming whether the value is as designed Is what you do.

図5は、従来技術のハードマクロとハードマクロ周辺回路の構成例を示す図であり、図6は、図5のハードマクロのExScan部を示す拡大図である。   FIG. 5 is a diagram showing a configuration example of a conventional hard macro and a hard macro peripheral circuit, and FIG. 6 is an enlarged view showing an ExScan portion of the hard macro of FIG.

従来技術のハードマクロ10は、入出力端子であるマクロ入力端子とマクロ出力端子の間に、入出力部(IO部)20と、外部スキャン部(ExScan部)30と、IO部20とExScan部30を除くハードマクロ(マクロ部)40と、からなるハードマクロ10で構成される。   The conventional hard macro 10 includes an input / output unit (IO unit) 20, an external scan unit (ExScan unit) 30, an IO unit 20 and an ExScan unit between a macro input terminal and a macro output terminal which are input / output terminals. The hard macro 10 is composed of a hard macro (macro part) 40 excluding 30.

ハードマクロ10のマクロ入力端子は、組み合わせ回路A2等の出力に接続された複数のマクロ入力端子A3等と、ExScan部30及びマクロ部40を制御する制御入力端子SI〜SCANIN[14.0]と、からなり、マクロ出力端子は組み合わせ回路B2等の入力に接続された複数のマクロ出力端子B3等と、ExScan部30及びマクロ部40の出力である制御出力端子SO、SCANOUT[14.0]でなる。   The macro input terminal of the hard macro 10 includes a plurality of macro input terminals A3 and the like connected to outputs of the combinational circuit A2 and the like, and control input terminals SI to SCANIN [14.0] for controlling the ExScan unit 30 and the macro unit 40. The macro output terminals are a plurality of macro output terminals B3 and the like connected to inputs of the combinational circuit B2 and the like, and control output terminals SO and SCANOUT [14.0] which are outputs of the ExScan unit 30 and the macro unit 40. Become.

IO部20は前記マクロ入力端子A3等にそれぞれ接続された複数のバッファで構成され、ExScan部30は前記複数のバッファにそれぞれ接続され、通常動作時にはそれぞれ独立に動作し、テスト時に互いにシフトレジスタ構成に直列接続される複数のバンダリスキャンFF及び該バンダリスキャンFFで構成され、更にIO部20及びExScan部30は制御入力端子からの入力により前記バンダリスキャンFF回路及びマクロ部4を制御する論理回路等で構成される。また、ExScan部30は独立したフリップフロップ動作とシフトレジスタ動作を行うために、図6に示すようにそれぞれ1個のスキャンFFと1個のセレクタ回路で構成される。   The IO unit 20 includes a plurality of buffers respectively connected to the macro input terminal A3 and the like, and the ExScan unit 30 is connected to each of the plurality of buffers, operates independently during normal operation, and includes a shift register configuration during testing. A plurality of boundary scan FFs connected in series to each other, and the boundary scan FF, and the IO unit 20 and the ExScan unit 30 are a logic circuit that controls the boundary scan FF circuit and the macro unit 4 by an input from a control input terminal. Consists of. Further, the ExScan unit 30 includes one scan FF and one selector circuit as shown in FIG. 6 in order to perform independent flip-flop operation and shift register operation.

マクロ部40は入力側と出力側のバンダリスキャンFFの間に設けられ、所定機能を有する組み合わせ回路とスキャンFFを交互に接続した回路A6、A7…B7、B6等で構成され、該スキャンFF自体は同様にテスト時に互いにシフトレジスタ構成に直列接続される回路として構成される。   The macro unit 40 is provided between the input-side and output-side boundary scan FFs, and is composed of circuits A6, A7... B7, B6, etc. in which combination circuits having predetermined functions and scan FFs are alternately connected. Are similarly configured as circuits that are serially connected to each other in a shift register configuration during testing.

また、ハードマクロ10のマクロ入力端子A3及びマクロ出力端子B3等には、複数の組み合わせ回路A2…B2等とその組み合わせ回路A2…B2等に出力を与え、テスト時に同様に互いにシフトレジスタ構成に直列接続されるマクロ外部スキャンFFA1…FFB1等を備える。   Further, the macro input terminal A3 and the macro output terminal B3 of the hard macro 10 provide outputs to a plurality of combinational circuits A2,... B2, etc. and their combinational circuits A2,. Macro external scan FFA1... FFB1 etc. to be connected are provided.

以上の従来技術のハードマクロでは、シフト動作とキャプチャ動作の2つの動作により以下のようなスキャン故障検出方式が採用される。なお、バンダリスキャンFFの構成及びバンダリスキャンFFを制御する論理回路等の構成、動作は説明を省略する。
シフト動作では、故障を検出するマクロ内部組み合わせ回路A6に入力を与えているバンダリスキャンFFA5を含むマクロ内部のバンダリスキャンFFに検査用の任意の値を設定する動作であり、SCANEN端子にHIGHを、EXSCAN端子にLOWをSCANCLK端子からバンダリスキャンFFの数だけクロックを入力し、SI端子から各バンダリスキャンFFA5…FFB5に設定する値をシリアル入力する。
In the above-described conventional hard macro, the following scan failure detection method is adopted by two operations of a shift operation and a capture operation. The description of the configuration and operation of the configuration of the boundary scan FF and the logic circuit that controls the boundary scan FF will be omitted.
The shift operation is an operation in which an arbitrary value for inspection is set in the boundary scan FF inside the macro including the boundary scan FFA5 that gives an input to the macro internal combination circuit A6 that detects the failure, and HIGH is set in the SCANEN terminal. LOW is input to the EXSCAN terminal from the SCANCLK terminal as many clocks as the number of boundary scan FFs, and values to be set in the respective boundary scan FFA5... FFB5 are serially input from the SI terminal.

各バンダリスキャンFFA5…FFB5は、通常の機能とは別に、SI端子を先頭にSO端子を最後尾にしたスキャンチェーンが構成されており、SI端子からシリアル入力された値はスキャンチェーンを通して各バンダリスキャンFFA5…FFB5に設定される。また、この時後記するキャプチャ動作時に各バンダリスキャンFFに書き込まれた値を、スキャンチェーンを通してSO端子にシリアル出力する。   Each boundary scan FFA5... FFB5 is configured with a scan chain with the SI terminal at the top and the SO terminal at the end separately from the normal function. FFA5... Is set to FFB5. At this time, the value written in each boundary scan FF during the capture operation described later is serially output to the SO terminal through the scan chain.

キャプチャ動作では、故障を検出するマクロ内部組み合わせ回路A6等からの出力を受けているマクロ内部スキャンFFA7等を含むマクロ内部スキャンFFに組み合わせ回路の出力を書き込む動作であり、SCANEN端子にLOWを、EXSCAN端子にLOWを、SCANCLK端子からは、クロックを1回入力することにより実行される。   In the capture operation, the output of the combination circuit is written in the macro internal scan FF including the macro internal scan FFA 7 that receives the output from the macro internal combination circuit A 6 that detects the failure. This is executed by inputting LOW to the terminal and inputting a clock once from the SCANCLK terminal.

以上のスキャン故障検出方法のシフト動作とキャプチャ動作とにより各組み合わせ回路の動作が本来の機能を有しているか否かを判定することが可能である(以下、このスキャン故障検出方法の動作を「挟み込み故障検出」という。)。   It is possible to determine whether or not the operation of each combinational circuit has an original function by the shift operation and the capture operation of the scan failure detection method described above (hereinafter, the operation of this scan failure detection method is referred to as “ This is called “Pinch failure detection”).

次に、従来技術の挟み込み故障検出のより具体的動作を説明する。図5に示すハードマクロ10の挟み込み故障検出においてはマクロ外部スキャンテストとマクロ内部スキャンテストとが行われる。   Next, a more specific operation of the conventional pinch failure detection will be described. In the pinch failure detection of the hard macro 10 shown in FIG. 5, a macro external scan test and a macro internal scan test are performed.

マクロ外部スキャンテストは、マクロ入力端子側とマクロ出力端子側の故障を検出するテストであり、次のテスト動作を行うものである。
マクロ入力端子側のマクロ外部スキャンテスト時は、マクロ外部組み合わせ回路A2の故障を検出するために、マクロ入力端子A3のバッファA4から出力されている信号を入力するように接続されるバンダリスキャンFFA5と、マクロ外部組み合わせ回路A2に入力を与えているマクロ外部スキャンFFA1とマクロ外部組み合わせ回路A2で挟み込むことにより、その挟み込み故障検出を行う。また、マクロ出力端子側のマクロ外部スキャンテスト時には、マクロ外部組み合わせ回路B2の故障を検出するために、マクロ外部組み合わせ回路B2の出力を受けているマクロ外部スキャンFFB1とバンダリスキャンFFB5とでマクロ外部組み合わせ回路B2を挟み込むことにより、その挟み込み故障検出を行う。
The macro external scan test is a test for detecting a failure on the macro input terminal side and the macro output terminal side, and performs the following test operation.
At the time of the macro external scan test on the macro input terminal side, in order to detect a failure of the macro external combinational circuit A2, a boundary scan FFA5 connected to input a signal output from the buffer A4 of the macro input terminal A3; Then, pinching failure detection is performed by pinching between the macro external scan FFA1 and the macro external combination circuit A2 that are giving inputs to the macro external combination circuit A2. In the macro external scan test on the macro output terminal side, in order to detect a failure of the macro external combination circuit B2, the macro external combination is performed by the macro external scan FFB1 and the boundary scan FFB5 receiving the output of the macro external combination circuit B2. By sandwiching the circuit B2, the sandwiching failure is detected.

マクロ内部スキャンテストは、マクロ入力端子側とマクロ出力端子側のマクロ内部の故障を検出するテストであり、次のテスト動作を行うものである。
マクロ入力端子側のマクロ内部スキャンテスト時には、例えばマクロ内部組み合わせ回路A6の故障を検出するために、マクロ内部組み合わせ回路A6に入力を与えているバンダリスキャンFFA5とマクロ内部スキャンFFA7とでマクロ内部組み合わせ回路A6を挟み込むことにより、その挟み込み故障検出を行う。また、マクロ出力端子側のマクロ内部スキャンテスト時には、例えばマクロ内部組み合わせ回路B6の故障を検出するために、マクロ内部組み合わせ回路B6に入力を与えているマクロ内部スキャンFFB7とバンダリスキャンFFB5とでマクロ内部組み合わせ回路B6を挟み込むことにより、その挟み込み故障検出を行う。
The macro internal scan test is a test for detecting a fault inside the macro on the macro input terminal side and the macro output terminal side, and performs the following test operation.
At the time of the macro internal scan test on the macro input terminal side, for example, in order to detect a failure of the macro internal combination circuit A6, the macro internal combination circuit is composed of the boundary scan FFA5 and the macro internal scan FFA7 which are input to the macro internal combination circuit A6. By sandwiching A6, the sandwiching failure is detected. Further, during the macro internal scan test on the macro output terminal side, for example, in order to detect a failure of the macro internal combination circuit B6, the macro internal scan FFB7 and the boundary scan FFB5, which are input to the macro internal combination circuit B6, By sandwiching the combinational circuit B6, the sandwiching failure is detected.

LSI製造時等のテストにおいては、テスト時にハードマクロの端子を全てチップの端子に繋げれば良いが、多くの場合ハードマクロの端子全てをチップの端子に引き出すのは困難なので、インターフェース部分に十分な入力を与えられず、インターフェース部分の故障検出率を上げることができず、故障検出率を上げるために両方の回路(ハードマクロとハードマクロ以外のLSIの特にハードマクロに接続されている部分)を同時動作させる必要がある。   In tests such as LSI manufacturing, all the hard macro terminals should be connected to the chip terminals at the time of testing, but in many cases it is difficult to pull out all the hard macro terminals to the chip terminals. Both of the circuits (the part connected to the hard macro and the LSI other than the hard macro, especially the hard macro) to increase the fault detection rate. Must be operated simultaneously.

しかしハードマクロは複数のLSIで使用されるので、ハードマクロ設計者はそれぞれのLSIの回路情報をもたない。またハードマクロの回路はブラックボックス化されている場合もあり、また公開されている場合でもハードマクロの機能や回路を理解するのに多くの時間がかかることから、LSI設計者はハードマクロについての詳しい知識を持たない。よって両方の回路を同時に動作させてインターフェース部のテスト行うパターンを作成することができないため、LSIとハードマクロを同時にテストすることができない。   However, since a hard macro is used in a plurality of LSIs, a hard macro designer does not have circuit information for each LSI. In addition, hard macro circuits are sometimes black boxed, and even if they are open to the public, it takes a lot of time to understand the functions and circuits of the hard macro, so LSI designers have to learn about hard macros. Does not have detailed knowledge. Therefore, since it is not possible to create a pattern for testing the interface unit by operating both circuits at the same time, the LSI and the hard macro cannot be tested at the same time.

このように従来技術では、両テスト(LSIのテストとハードマクロのテスト)を同時に動作させる事が出来ないので、ハードマクロに両テストで動作するバンダリスキャン回路を内蔵させ、両テストそれぞれのテストパターンを作成し動作させる事によりインターフェース部分の故障検出を行っている。   In this way, in the conventional technology, both tests (LSI test and hard macro test) cannot be operated at the same time. Therefore, a hard macro has a built-in boundary scan circuit that operates in both tests, and each test pattern for both tests. The interface part failure is detected by creating and operating.

従来技術では、ハードマクロのインターフェース部分の故障検出率を上げる為には、バンダリスキャン回路をハードマクロに内蔵させ動作させる必要があるが、バンダリスキャン回路は、図6に示すようにハードマクロの端子1個当たりスキャンFF(スキャンフリップフロップ)1個とセレクト回路(MUX)1個が最低限必要なので、ハードマクロの端子数の増加に伴い、バンダリスキャン回路による無視できない回路の面積増加が生じる。つまり、バンダリスキャン回路の面積はハードマクロの入力及び出力の端子数に比例し、端子数が多いハードマクロではバンダリスキャン回路による面積の増加が無視できない。このようにバンダリスキャン回路を内蔵させて故障検出率を上げようとすると、テストにしか使用しない回路を内蔵することによりハードマクロのサイズを増加させるという問題がある。   In the prior art, in order to increase the failure detection rate of the interface portion of the hard macro, it is necessary to operate the built-in boundary scan circuit in the hard macro, but the boundary scan circuit is connected to the terminal of the hard macro as shown in FIG. Since one scan FF (scan flip-flop) and one select circuit (MUX) are required at a minimum, the increase in the number of hard macro terminals causes an increase in circuit area that cannot be ignored by the boundary scan circuit. That is, the area of the boundary scan circuit is proportional to the number of input and output terminals of the hard macro, and an increase in area due to the boundary scan circuit cannot be ignored in a hard macro having a large number of terminals. If an attempt is made to increase the failure detection rate by incorporating the boundary scan circuit in this way, there is a problem that the size of the hard macro is increased by incorporating a circuit that is used only for testing.

またマクロ外部スキャン、マクロ内部スキャンのそれぞれの場合で同時に動作させるスキャンFFが同一方式でないとテストパターンの作成等が困難である等により、バンダリスキャン回路のスキャンFFによるスキャン方式においては、ハードマクロのスキャンFFとLSIのスキャンFFのスキャン方式とは同じでなければならならず、それぞれ同じ方式のフリップフロップ回路構成にする必要があるという問題がある。   In addition, since it is difficult to create a test pattern unless the scan FFs that are operated simultaneously in each case of the macro external scan and the macro internal scan are the same method, in the scan method using the scan FF of the boundary scan circuit, the hard macro The scan method of the scan FF and the scan FF of the LSI must be the same, and there is a problem that the flip-flop circuit configuration of the same method is required.

(目的)
本発明の目的は、テストの故障検出率を上げ、バンダリスキャン回路部分の面積を小さくすることによりLSIの信頼性を上げコストを低減することにある。
(the purpose)
An object of the present invention is to increase the reliability of an LSI and reduce the cost by increasing the test failure detection rate and reducing the area of the boundary scan circuit portion.

本発明の他の目的は、ハードマクロ内部のスキャンフリップフロップとLSIのスキャンフリップフロップを同じスキャン方式のフリップフロップ回路とする必要をなくし、LSIの汎用性を上げることにある。   Another object of the present invention is to eliminate the need for the scan flip-flops in the hard macro and the LSI scan flip-flops to be the same scan flip-flop circuit, and to increase the versatility of the LSI.

従来技術は、マクロ外部スキャン時にはLSIの外部スキャンFF(ハードマクロを除く回路のスキャンFF)とバンダリスキャンFF(ハードマクロのバンダリスキャンFF)の間に一部の故障検出対象の組み合わせ回路が配置され、マクロ内部スキャン時には内部スキャンFF(ハードマクロのスキャンFF)とバンダリスキャンFFの間に一部の故障検出対象の組み合わせ回路が配置される。   In the conventional technique, some combinational circuits for fault detection are arranged between an external scan FF of LSI (scan FF of a circuit excluding a hard macro) and a boundary scan FF (hard scan of a macro macro) during macro external scan. In the macro internal scan, some combinational circuits for failure detection are arranged between the internal scan FF (hard macro scan FF) and the boundary scan FF.

これに対し本発明は、ハードマクロに新たな端子とセレクタを設ける事により、故障検出対象の組み合わせ回路を、マクロ外部スキャン時には外部スキャンFFと外部スキャンFFとの間に配置し、マクロ内部スキャン時には内部スキャンFFと内部スキャンFFとの間に配置する事により、テスト時にしか使用しないバンダリスキャンFFを排除し面積を削減し、また外部スキャンFFとバンダリスキャンFF、内部スキャンFFとバンダリスキャンFFのスキャン方式を合わせる必要を無くする。   In contrast, the present invention provides a new terminal and selector in the hard macro, so that the combinational circuit subject to failure detection is arranged between the external scan FF and the external scan FF during the macro external scan, and during the macro internal scan. By arranging it between the internal scan FF and internal scan FF, the area is reduced by eliminating the boundary scan FF that is used only during the test, and the scan of the external scan FF and the boundary scan FF, the internal scan FF and the boundary scan FF Eliminate the need for matching methods.

本発明の半導体集積回路は、機能内蔵ハードマクロと、当該機能内蔵ハードマクロ外の周辺回路とを備え、前記機能内蔵ハードマクロ外の組み合わせ回路の故障検出を行う第1のスキャンチェーンと、前記機能内蔵ハードマクロ内の組み合わせ回路の故障検出を行う第2のスキャンチェーンのそれぞれにより故障検出可能な半導体集積回路であって、前記機能内蔵ハードマクロは、入出力部と、前記第1のスキャンチェーンと前記第2のスキャンチェーンのいずれかを選択するセレクト回路を有する外部スキャン部と、当該機能内蔵ハードマクロより前記入出力部と前記外部スキャン部を除いたマクロ部とを備え、前記第1のスキャンチェーンは、前記周辺回路内の第1のフリップフロップと、前記セレクト回路と、前記周辺回路内の第2のフリップフロップにより形成され、前記第2のスキャンチェーンは、前記マクロ部内の第3のフリップフロップと、前記セレクト回路と、前記マクロ部内の第4のフリップフロップにより形成される。  A semiconductor integrated circuit according to the present invention includes a first scan chain that includes a function built-in hard macro and a peripheral circuit outside the function built-in hard macro, and detects a failure of a combinational circuit outside the function built-in hard macro; A semiconductor integrated circuit capable of detecting a failure by each of the second scan chains for detecting a failure of the combinational circuit in the built-in hard macro, wherein the function built-in hard macro includes an input / output unit, the first scan chain, An external scan unit having a select circuit for selecting any one of the second scan chains; and a macro unit obtained by removing the input / output unit and the external scan unit from the function built-in hard macro. The chain includes a first flip-flop in the peripheral circuit, the select circuit, and a second flip-flop in the peripheral circuit. It is formed by flip-flop, the second scan chain, a third flip-flop in the macro section, and the select circuit is formed by a fourth flip-flop in the macro section.


また、本発明の半導体集積回路は、機能内蔵ハードマクロと、当該機能内蔵ハードマクロ外の周辺回路とを備え、前記機能内蔵ハードマクロ外の組み合わせ回路の故障検出を行う第1のスキャンチェーンと、前記機能内蔵ハードマクロ内の組み合わせ回路の故障検出を行う第2のスキャンチェーンのそれぞれにより故障検出可能な半導体集積回路であって、前記機能内蔵ハードマクロは、入出力部と、前記第1のスキャンチェーンと前記第2のスキャンチェーンのいずれかを選択する第1のセレクト回路及び第2のセレクト回路を有する外部スキャン部と、当該機能内蔵ハードマクロより前記入出力部と前記外部スキャン部を除いたマクロ部とを備え、前記第1のスキャンチェーンは、前記周辺回路内の第1のフリップフロップと、前記第1のセレクト回路と、前記第2のセレクト回路と、前記周辺回路内の第2のフリップフロップにより形成され、前記第2のスキャンチェーンは、前記マクロ部内の第3のフリップフロップと、前記1のセレクト回路と、前記第2のセレクト回路と、前記マクロ部内の第4のフリップフロップにより形成される。  A semiconductor integrated circuit according to the present invention includes a first scan chain that includes a function built-in hard macro and a peripheral circuit outside the function built-in hard macro, and detects a failure of a combinational circuit outside the function built-in hard macro; A semiconductor integrated circuit capable of detecting a failure by each of the second scan chains for detecting a failure of a combinational circuit in the function built-in hard macro, wherein the function built-in hard macro includes an input / output unit and the first scan An external scan unit having a first select circuit and a second select circuit for selecting either a chain or the second scan chain, and the input / output unit and the external scan unit are excluded from the function built-in hard macro A macro unit, and the first scan chain includes a first flip-flop in the peripheral circuit and the first scan chain. The second scan chain is formed by a select circuit, the second select circuit, and a second flip-flop in the peripheral circuit, and the second scan chain includes a third flip-flop in the macro section and the first select circuit. And the second select circuit and the fourth flip-flop in the macro section.

本発明によれば、従来例のようにハードマクロのマクロ内部に1端子に付きバンダリスキャン用FF1個と選択回路(セレクタ回路)1個とを内蔵させる代わりに、ハードマクロの1端子につきセレクタ1個とバッファ1個を設ける構成としたことにより、従来技術に比べハードマクロの面積が下記の式だけ削減することが可能であり、このためハードマクロの面積の増加の問題を抑制することが可能である。
削減される面積=(スキャンFFの面積−バッファの面積)×端子数
According to the present invention, instead of incorporating one FF for a boundary scan and one selection circuit (selector circuit) per one terminal inside a macro of a hard macro as in the conventional example, a selector 1 per terminal of the hard macro is provided. By adopting a configuration in which one buffer and one buffer are provided, the area of the hard macro can be reduced by the following formula compared to the prior art, and thus the problem of an increase in the area of the hard macro can be suppressed. It is.
Reduced area = (area of scan FF−area of buffer) × number of terminals

また、マクロ外部スキャン時にバンダリスキャンFFを使用しない為、マクロ内部とマクロ外部のスキャンFFを同じものとしなければならないという制約をなくすることが可能である。   Further, since the boundary scan FF is not used during the macro external scan, it is possible to eliminate the restriction that the scan FF inside the macro and the macro external must be the same.

また、1出力端子に付き選択回路2個とバッファ1個を必要とし、1入力端子に付き選択回路1個が必要なだけなので下記の式の面積が従来技術に対して削減出来るのでハードマクロの面積が増加の問題が解決できる。
削減される面積=(スキャンFFの面積−バッファの面積−選択回路の面積)×出力端子数+スキャンFFの面積×入力端子数
In addition, two selection circuits and one buffer are required for each output terminal, and only one selection circuit is required for each input terminal. The problem of increased area can be solved.
Reduced area = (area of scan FF−area of buffer−area of selection circuit) × number of output terminals + area of scan FF × number of input terminals

また、マクロ外部スキャン時にバンダリスキャンFFを使用しない為、マクロ内部とマクロ外部のスキャンFFが同じスキャン方式のものでなければならないという問題が解決出来る。   In addition, since the boundary scan FF is not used at the time of macro external scan, the problem that the scan FF inside the macro and the scan FF outside the macro must have the same scan method can be solved.

更に、マクロの端子をA、Bの2グループに分け、それぞれの端子グループ毎にマクロ外部スキャンを行うように構成し、マクロ外部スキャンを2度行うようにする。つまり、マクロ入力端子とマクロ出力端子をそれぞれ2つのグループに分け、片方のグループの入力端子に接続された組み合わせ回路の故障を、他のグループのマクロ出力端子を追加出力端子として使用する事により検出することを可能とし、1入力端子につき1出力端子を追加する必要がない構成とすることにより、端子数の増加を抑制することが可能である。   Further, the macro terminals are divided into two groups A and B, and the macro external scan is performed for each terminal group, and the macro external scan is performed twice. In other words, the macro input terminal and the macro output terminal are divided into two groups, and the failure of the combinational circuit connected to the input terminal of one group is detected by using the macro output terminal of the other group as an additional output terminal. It is possible to suppress the increase in the number of terminals by adopting a configuration in which it is not necessary to add one output terminal per input terminal.

以上のように本発明のスキャン機能内蔵ハードマクロによれば、マクロインターフェース部分のテストを行う回路の面積を削減することができる為、ハードマクロの面積を削減することが可能である。また、マクロ内部とLSIのマクロを除く回路のスキャン方式を合わせる必要が無くなる為、マクロの汎用性を高めることが可能である。   As described above, according to the hard macro with a built-in scan function according to the present invention, the area of the circuit for testing the macro interface portion can be reduced, so that the area of the hard macro can be reduced. In addition, since it is not necessary to match the scanning system of the circuit excluding the inside of the macro and the LSI macro, the versatility of the macro can be improved.

図1は、本発明の第1の実施の形態のハードマクロとハードマクロ周辺回路との接続図であり、図2は、ハードマクロのExScan部を拡大した図である。   FIG. 1 is a connection diagram between a hard macro and a hard macro peripheral circuit according to the first embodiment of the present invention, and FIG. 2 is an enlarged view of an ExScan portion of the hard macro.

(第1の実施の形態の構成)
本実施の形態のスキャン機能内蔵ハードマクロ1は、入出力端子であるマクロ入力端子A3等とマクロ出力端子B3等の間に、入出力部(IO部)2と、外部スキャン部(ExScan部)3と、スキャン機能内蔵ハードマクロ1からIO部2とExScan部3を除いた部分(マクロ部)4とから構成される。図1ではハードマクロ1とハードマクロ周辺回路(ハードマクロ1の入出力側の外部回路)の構成について、2つのマクロ入力端子及びマクロ出力端子の間の構成により簡略化して示しており、符号を付した回路部分により以下詳細に説明する。
(Configuration of the first embodiment)
The scan function built-in hard macro 1 according to the present embodiment includes an input / output unit (IO unit) 2 and an external scan unit (ExScan unit) between the macro input terminal A3 and the like as input / output terminals and the macro output terminal B3. 3 and a part (macro part) 4 excluding the IO part 2 and the ExScan part 3 from the scan function built-in hard macro 1. In FIG. 1, the configuration of the hard macro 1 and the hard macro peripheral circuit (external circuit on the input / output side of the hard macro 1) is shown in a simplified manner by the configuration between the two macro input terminals and the macro output terminal. This will be described in detail below with reference to the attached circuit portion.

ハードマクロ1のマクロ入力端子は組み合わせ回路A2等の出力に接続された複数のマクロ入力端子A3等と、IO部2、ExScan部3及びマクロ部4を制御する制御入力端子(EXSCAN、〜SCANIN[14.0])と、新たに追加したマクロ出力端子A9等と、からなり、マクロ出力端子は組み合わせ回路B2等の入力に接続された複数のマクロ出力端子B3等と、マクロ部4の出力である制御出力端子(SCANOUT[14.0])と、新たに追加したマクロ入力端子B9等と、からなる。   The macro input terminal of the hard macro 1 includes a plurality of macro input terminals A3 and the like connected to the output of the combinational circuit A2 and the like, and control input terminals (EXSCAN, SCANIN [ 14.0]) and a newly added macro output terminal A9 and the like. The macro output terminal is a plurality of macro output terminals B3 connected to the input of the combinational circuit B2 and the like, and the output of the macro unit 4 It consists of a certain control output terminal (SCANOUT [14.0]), a newly added macro input terminal B9, and the like.

IO部2は前記マクロ入力端子A3等にそれぞれ接続された複数のバッファA4等と、前記マクロ出力端子A9に出力が接続されたバッファA8とでなり、ExScan部3は複数のバッファA4、B4等にそれぞれ接続された複数のセレクタA5、B5と、セレクタB5からセレクタA5へのセレクタ間のマクロ内部配線31と、該セレクタA5、B5及びマクロ部4を制御入力端子からの入力により制御される論理回路でなる。マクロ部4は入力側と出力側のセレクタの間に設けられ、所定機能を有する組み合わせ回路とマクロ部内部のスキャンFFとを交互に接続した回路A6、A7…B7、B6等で構成され、該マクロ部内部のスキャンFF自体は通常動作ではそれぞれ独立に動作し、テスト時に互いにシフトレジスタ構成に直列接続される回路として構成される。   The IO unit 2 includes a plurality of buffers A4 and the like connected to the macro input terminal A3 and the like, and a buffer A8 whose output is connected to the macro output terminal A9. The ExScan unit 3 includes a plurality of buffers A4 and B4 and the like. A plurality of selectors A5 and B5 connected to each other, a macro internal wiring 31 between the selectors B5 to the selector A5, and a logic in which the selectors A5, B5 and the macro unit 4 are controlled by an input from a control input terminal It consists of a circuit. The macro section 4 is provided between selectors on the input side and output side, and is composed of circuits A6, A7... B7, B6, etc. in which combination circuits having predetermined functions and scan FFs in the macro section are alternately connected, The scan FFs inside the macro unit operate independently in normal operation, and are configured as circuits that are connected in series to each other in a shift register configuration during testing.

また、ハードマクロ1のマクロ入力端子A3及びマクロ出力端子B3等には、複数の組み合わせ回路A2、B2等と、その組み合わせ回路A2、B2等に出力を与え、同様に互いにシフトレジスタ構成に直列接続されるマクロ外部スキャンFFA1…FFB1等を備える。   Further, the macro input terminal A3 and the macro output terminal B3 of the hard macro 1 provide outputs to a plurality of combinational circuits A2, B2, etc. and their combinational circuits A2, B2, etc., and are also connected in series to the shift register configuration. Macro external scan FFA1... FFB1 and the like.

図2は第1の実施の形態のExScan部の拡大図である。セレクタA5、B5は、SCANTEST端子とEXSCAN端子に入力される2つの論理回路C1、C2の互いに逆相関係の論理出力により制御され前述の選択動作が制御される。本実施の形態においては、ExScan部にはマクロ外部スキャンFFは設けられておらず、代わりにセレクタA5、B5のみにより構成される。   FIG. 2 is an enlarged view of the ExScan unit according to the first embodiment. The selectors A5 and B5 are controlled by the logic outputs of the two logic circuits C1 and C2 that are input to the SCANTEST terminal and the EXSCAN terminal and have the opposite phase relation to each other, and the above-described selection operation is controlled. In the present embodiment, the ExScan section is not provided with the macro external scan FF, and is composed only of selectors A5 and B5 instead.

図2において、セレクタA5は、SCANTEST端子のスキャンテスト信号とEXSCAN端子のEXスキャン信号を入力とする論理回路C1の論理出力である制御信号が「LOW」状態のとき、入力端子A3からの信号を追加出力端子A9及びコア内部(マクロ部)に供給する。セレクタB5は、同様に論理回路C2の論理出力である制御信号が「HIGH」状態のとき、追加入力端子B9からの信号を出力端子B3及びマクロ内部配線に供給する。制御信号の論理状態が上記と逆の場合には、セレクタA5はマクロ内部配線からの信号を追加出力端子A9及びマクロ部に供給し、同様にセレクタB5はマクロ部からの信号をマクロ内部配線及び出力端子B3に供給する。より詳細なセレクタを含む信号の切り替え構成及び動作は以下のとおりである。なお、マクロ部1内及び選択回路等を制御する論理回路等については詳細な説明は省略する。   In FIG. 2, the selector A5 receives the signal from the input terminal A3 when the control signal, which is the logic output of the logic circuit C1 that receives the scan test signal at the SCANTEST terminal and the EX scan signal at the EXSCAN terminal, is in the “LOW” state. This is supplied to the additional output terminal A9 and the inside of the core (macro part). Similarly, when the control signal, which is the logic output of the logic circuit C2, is in the “HIGH” state, the selector B5 supplies the signal from the additional input terminal B9 to the output terminal B3 and the macro internal wiring. When the logic state of the control signal is opposite to the above, the selector A5 supplies the signal from the macro internal wiring to the additional output terminal A9 and the macro unit, and similarly the selector B5 applies the signal from the macro unit to the macro internal wiring and Supply to output terminal B3. A signal switching configuration and operation including a more detailed selector are as follows. A detailed description of the logic circuit and the like that controls the macro unit 1 and the selection circuit will be omitted.

セレクタA5は、バッファA4からの信号をバッファA8を介してマクロ出力端子(追加出力端子)A9に出力するとともに、マクロ内部組み合わせ回路A6に分岐して出力する機能、又は、セレクタB5からの信号をバッファA8を介して追加出力端子A9に出力するとともに、マクロ内部組み合わせ回路A6に分岐して出力する機能、の何れかの機能を選択的に実行するように制御される。   The selector A5 outputs the signal from the buffer A4 to the macro output terminal (additional output terminal) A9 via the buffer A8, branches to the macro internal combination circuit A6, and outputs the signal from the selector B5. Control is performed to selectively execute one of the functions of outputting to the additional output terminal A9 via the buffer A8 and branching to the macro internal combinational circuit A6.

セレクタB5は、マクロ内部組み合わせ回路B6からの信号をバッファB4を介してマクロ出力端子B3に出力するとともに、セレクタA5に分岐して出力する機能、又はバッファB8からの信号をバッファB4を介してマクロ出力端子A3に出力するとともに、セレクタA5に分岐して出力する機能、の何れかの機能を選択的に実行するように制御される。   The selector B5 outputs the signal from the macro internal combinational circuit B6 to the macro output terminal B3 via the buffer B4 and branches to the selector A5 for output, or the signal from the buffer B8 via the buffer B4. Control is performed to selectively execute one of the functions of outputting to the output terminal A3 and branching to the selector A5.

より詳細な本実施の形態のIO部2及びExScan部3の構成は、
マクロ外部からの信号を入力するマクロ入力端子A3と、マクロ入力端子A3の信号を増幅するバッファA4と、
マクロ外部スキャン時と通常動作時にはバッファA4からの信号をマクロ内部組み合わせ回路A6に出力し、マクロ内部スキャン時にはセレクト回路B5からの信号をマクロ内部組み合わせ回路A6に出力するセレクト回路A5と、
通常動作の為の前記マクロ内部組み合わせ回路A6と、通常動作と内部スキャン動作の為のマクロ内部のスキャンFFA7と、
セレクト回路A5からの信号を増幅するバッファA8と、バッファA8からの信号をマクロ外部に出力する追加マクロ出力端子(追加出力端子)A9と、
通常動作と内部スキャン動作の為のマクロ内部のスキャンFFB7と、通常動作の為のマクロ内部組み合わせ回路B6と、
通常動作時と内部スキャン時には前記マクロ内部組み合わせ回路B6からの信号を出力し、マクロ外部スキャン時はバッファB8からの信号を出力するセレクト回路B5と、
セレクト回路B5からの信号を増幅するバッファB4と、バッファB4からの信号をマクロ外部に出力するマクロ出力端子B3と、
マクロ外部からの信号を入力する追加マクロ入力端子(追加入力端子)B9と、追加入力端子B9からの信号を増幅しセレクト回路B5に出力するバッファB8と、
を単位とする複数の回路から構成される。
More detailed configurations of the IO unit 2 and the ExScan unit 3 of the present embodiment are as follows:
A macro input terminal A3 for inputting a signal from the outside of the macro; a buffer A4 for amplifying the signal of the macro input terminal A3;
A select circuit A5 that outputs a signal from the buffer A4 to the macro internal combination circuit A6 during macro external scan and normal operation, and outputs a signal from the select circuit B5 to the macro internal combination circuit A6 during macro internal scan;
The macro internal combination circuit A6 for normal operation, the scan FFA 7 in the macro for normal operation and internal scan operation,
A buffer A8 for amplifying the signal from the select circuit A5, an additional macro output terminal (additional output terminal) A9 for outputting the signal from the buffer A8 to the outside of the macro,
A macro internal scan FFB7 for normal operation and internal scan operation, a macro internal combination circuit B6 for normal operation,
A select circuit B5 that outputs a signal from the macro internal combination circuit B6 during normal operation and internal scan, and outputs a signal from the buffer B8 during macro external scan;
A buffer B4 for amplifying the signal from the select circuit B5, a macro output terminal B3 for outputting the signal from the buffer B4 to the outside of the macro,
An additional macro input terminal (additional input terminal) B9 for inputting a signal from the outside of the macro; a buffer B8 for amplifying the signal from the additional input terminal B9 and outputting the amplified signal to the selection circuit B5;
Is composed of a plurality of circuits.

(第1の実施の形態の動作)
第1の実施の形態では、マクロ外部のスキャンのテスト時に、マクロ入力端子A3に入力されている信号を、新たに設けた追加出力端子A9に出力するセレクト回路A5を設け、また、新たに設けた追加入力端子B9に入力されている信号をマクロ出力端子B3に出力するセレクト回路B5を設けた構成としたことにより、マクロ外部スキャンテスト時に、追加出力端子A9と追加入力端子B9をマクロ外で接続する事により、マクロ入力端子A3に繋がっているマクロ外部組み合わせ回路A2の故障とマクロ出力端子B3に繋がっているマクロ外部組み合わせ回路B2の故障を、マクロ外部組み合わせ回路A2に入力を与えているマクロ外部スキャンFFA1とマクロ外部組み合わせ回路B2の出力を受けているマクロ外部スキャンFFB1とで挟み込むことにより、A1→A2→A5→A9→B9→B5→B3→B2→B1の経路で挟み込み故障検出を行うことを可能としている。
(Operation of the first embodiment)
In the first embodiment, a select circuit A5 for outputting a signal input to the macro input terminal A3 to the newly provided additional output terminal A9 is provided during the scan test outside the macro. Since the select circuit B5 for outputting the signal input to the additional input terminal B9 to the macro output terminal B3 is provided, the additional output terminal A9 and the additional input terminal B9 can be connected outside the macro during the macro external scan test. By connecting the macro external combination circuit A2 connected to the macro input terminal A3 and the macro external combination circuit B2 connected to the macro output terminal B3, the macro external combination circuit A2 is given an input. Macro external scan FFB receiving outputs from external scan FFA1 and macro external combinational circuit B2 By sandwiching between, it is made possible to perform the pinching failure detection in the path of A1 → A2 → A5 → A9 → B9 → B5 → B3 → B2 → B1.

更に、本実施の形態では、マクロ内部スキャンテスト時に、入力端子A3から入力された信号をバッファA4で増幅した信号を追加出力端子A9及び追加入力端子B9を介して、マクロ出力端子B3にバッファB4を通して出力する代わりに、マクロ部4へ出力するセレクト回路A5を設けた構成とすることにより、マクロ内部スキャンテスト時には、マクロ入力端子A3に繋がっているマクロ内部組み合わせ回路A6の故障とマクロ出力端子B3に繋がっているマクロ内部組み合わせ回路B6の故障を、マクロ内部組み合わせ回路B6に入力を与えているマクロ内部スキャンFFB7とマクロ内部組み合わせ回路A6の出力を受けているマクロ内部スキャンFFA7とで挟み込むことにより、挟み込み故障検出を行うことを可能としている。   Furthermore, in the present embodiment, during the macro internal scan test, the signal input from the input terminal A3 is amplified by the buffer A4, and the buffer B4 is added to the macro output terminal B3 via the additional output terminal A9 and the additional input terminal B9. In the macro internal scan test, the failure of the macro internal combination circuit A6 connected to the macro input terminal A3 and the macro output terminal B3 are provided. The failure of the macro internal combination circuit B6 connected to the macro internal combination circuit B6 is sandwiched between the macro internal scan FFB7 that inputs the macro internal combination circuit B6 and the macro internal scan FFA7 that receives the output of the macro internal combination circuit A6. It is possible to detect pinching failure

つまり、マクロ内部組み合わせ回路A6の故障とマクロ内部組み合わせ回路B6の故障を検出するマクロ内部スキャンのテストをマクロ内部スキャンFFB7とマクロ内部スキャンFFA7とで挟み込むことにより、B7→B6→B5→A5→A6→A7の経路で挟み込み故障検出を行うことを可能としている。   That is, by interposing a macro internal scan test for detecting a failure of the macro internal combination circuit A6 and a failure of the macro internal combination circuit B6 between the macro internal scan FFB7 and the macro internal scan FFA7, B7 → B6 → B5 → A5 → A6 → It is possible to detect pinching faults along the route A7.

以上の動作から分かるように本実施の形態では、新たなバンダリスキャン回路をハードマクロに追加する事無く、インターフェース部分の故障を検出することを可能としている。その為マクロ内部にバンダリスキャン用FFと選択回路を内蔵する従来技術と本実施の形態とを比較すると、従来技術では1端子に付きスキャン用FF1個と選択回路1個が必要であるが、本実施の形態では1端子につき選択回路1個とバッファ1個が必要なだけなので、従来技術に比べ下記の式の面積が削減でき、ハードマクロの面積が増加の問題を抑制することが可能である。   As can be seen from the above operation, in this embodiment, it is possible to detect a failure in the interface portion without adding a new boundary scan circuit to the hard macro. Therefore, when comparing the present embodiment with a conventional scan FF and a selection circuit built in a macro, the conventional technology requires one scan FF and one selection circuit per terminal. In the embodiment, since only one selection circuit and one buffer are required for each terminal, the area of the following equation can be reduced as compared with the prior art, and the problem of an increase in the area of the hard macro can be suppressed. .

削減される面積=(スキャンFFの面積−バッファの面積)×端子数
また、外部スキャン時にバンダリスキャンFFを使用しない為、マクロ内部とマクロ外部のスキャンFFが同じものでなければならないという問題を解決することが可能である。
Reduced area = (Scan FF area-Buffer area) x Number of terminals Also, since the boundary scan FF is not used during external scan, the problem that the scan FF inside and outside the macro must be the same is solved. Is possible.

(第2の実施の形態)
図3は、本発明の第2の実施の形態のハードマクロとハードマクロ周辺回路の構成を示す図であり、図4は、ハードマクロのExScan部を拡大した図である。
本実施の形態では、マクロの端子を2グループに分け、それぞれの端子グループ毎にマクロ外部スキャンを行うように構成したものである。特に、図3に示す構成例では、隣接するマクロ入力端子を互いにA、Bのグループに分け、また、隣接するマクロ出力端子を互いにB、Aのグループに分け、それぞれのグループの端子に接続されたマクロ外部組み合わせ回路A2、A12又はB2、B12の挟み込み故障検出を行うように構成し、それぞれの挟み込み故障検出(2度の挟み込み故障検出)を行うことによりマクロ入力端子及びマクロ出力端子の端子数の増加を抑制することを可能とする。
(Second Embodiment)
FIG. 3 is a diagram showing the configuration of the hard macro and the hard macro peripheral circuit according to the second embodiment of the present invention, and FIG. 4 is an enlarged view of the ExScan portion of the hard macro.
In this embodiment, the macro terminals are divided into two groups, and the macro external scan is performed for each terminal group. In particular, in the configuration example shown in FIG. 3, adjacent macro input terminals are divided into A and B groups, and adjacent macro output terminals are divided into B and A groups, and connected to the terminals of each group. The macro external combination circuit A2, A12 or B2, B12 is configured to detect pinching faults, and the number of macro input terminals and macro output terminals can be detected by performing pinching fault detection (twice pinching fault detection). It is possible to suppress the increase of

(第2の実施の形態の構成)
第2の実施の形態は、第1の実施の形態と比べると、追加出力端子A9、バッファA8等が省略され、隣接するマクロ入力端子A3、B13及びマクロ出力端子B3、A13と、それぞれに接続されたバッファA4、B14及びバッファB4、A14と、それぞれのバッファに接続されたセレクタA5、B5及びB15とA15とを備え、セレクタB5の追加入力端子B9及びバッファB8と、セレクタA15の追加入力端子A19及びバッファA18と、更にセレクタA5からセレクタB5、セレクタB15からセレクタA15へのマクロ内部配線(第1のマクロ内部配線)と、セレクタB15からセレクタA15、セレクタA15からセレクタB15へのマクロ内部配線(第2のマクロ内部配線)とを備える2つの回路を単位として複数構成する点で異なる。
(Configuration of Second Embodiment)
Compared with the first embodiment, the second embodiment omits the additional output terminal A9, the buffer A8, etc., and is connected to the adjacent macro input terminals A3, B13 and macro output terminals B3, A13, respectively. Buffers A4, B14 and buffers B4, A14, and selectors A5, B5, B15, and A15 connected to the respective buffers, an additional input terminal B9 and a buffer B8 of the selector B5, and an additional input terminal of the selector A15 A19 and buffer A18, macro internal wiring (first macro internal wiring) from selector A5 to selector B5, selector B15 to selector A15, macro internal wiring from selector B15 to selector A15, and selector A15 to selector B15 ( A plurality of two circuits each having a second macro internal wiring) Different in that it formed.

図4は第2の実施の形態のExScan部の拡大図である。セレクタA5、B5及びセレクタA15、B15は、SCANTEST端子とEXSCAN端子の制御信号を入力とする2つの論理回路C1、C2の出力及びSCANMODE端子のスキャンモード信号により選択動作が制御される機能を有する。特に、セレクタB5、A15は、図1のセレクタ内の選択回路と同様の選択回路S1、S1’に加えてスキャンモード信号により制御される入力側の選択回路S2、S2’(第2の選択回路)を有する。   FIG. 4 is an enlarged view of the ExScan unit according to the second embodiment. The selectors A5 and B5 and the selectors A15 and B15 have a function that the selection operation is controlled by the outputs of the two logic circuits C1 and C2 that receive the control signals of the SCANTEST terminal and the EXSCAN terminal and the scan mode signal of the SCANMODE terminal. In particular, the selectors B5 and A15 include selection circuits S2 and S2 ′ (second selection circuit) that are controlled by a scan mode signal in addition to the selection circuits S1 and S1 ′ similar to the selection circuit in the selector of FIG. ).

図4において、SCANMODE端子が「HIGH」状態の場合、入力端子A3からセレクタA5を介してセレクタB5の出力端子B3への信号経路を形成することが可能である。つまり、セレクタB5は第2の選択回路S2がセレクタA5からのマクロ内部配線からの信号の通過を可能とし、セレクタA15は第2の選択回路S2’が追加出力端子A19からの信号の通過を可能とする。そして、論理回路C1の論理出力が「LOW」状態のとき、セレクタA5は、入力端子A3からの信号をセレクタB5へのマクロ内部配線及びマクロ部に供給する。セレクタB5は、論理回路C2の論理出力が「HIGH」状態のとき、前記マクロ内部配線からの信号を出力端子B3及びマクロ内部配線に供給する。セレクタA15は追加入力端子A19からの信号を出力端子A13及びマクロ内部配線に供給する。   In FIG. 4, when the SCANMODE terminal is in a “HIGH” state, a signal path from the input terminal A3 to the output terminal B3 of the selector B5 can be formed via the selector A5. That is, the selector B5 allows the second selection circuit S2 to pass a signal from the macro internal wiring from the selector A5, and the selector A15 allows the second selection circuit S2 ′ to pass the signal from the additional output terminal A19. And When the logic output of the logic circuit C1 is in the “LOW” state, the selector A5 supplies the signal from the input terminal A3 to the macro internal wiring and the macro unit to the selector B5. The selector B5 supplies a signal from the macro internal wiring to the output terminal B3 and the macro internal wiring when the logic output of the logic circuit C2 is in the “HIGH” state. The selector A15 supplies the signal from the additional input terminal A19 to the output terminal A13 and the macro internal wiring.

制御信号の論理状態が上記と逆の場合は、セレクタB15は入力端子B13からの信号をマクロ内部配線を介してセレクタA15に供給し、セレクタA15では前記信号を第2の選択回路S2’及び選択回路S1’を介して出力端子A13に出力する。   When the logic state of the control signal is opposite to the above, the selector B15 supplies the signal from the input terminal B13 to the selector A15 via the macro internal wiring, and the selector A15 selects the signal from the second selection circuit S2 ′ and the selection signal. The signal is output to the output terminal A13 via the circuit S1 ′.

より詳細なセレクタを含む信号の切り替え構成及び動作は以下のとおりである。なお、マクロ部1内及びセレクタ回路等を制御する論理回路等については詳細な説明は省略する。   A signal switching configuration and operation including a more detailed selector are as follows. A detailed description of the logic circuit that controls the macro unit 1 and the selector circuit is omitted.

マクロ外部スキャン時に、マクロ外部からAグループの端子をスキャンする場合HIGHを入力され、Bグループの端子をスキャンする場合LOWを入力される端子SCANMODEと、マクロ外部からの信号を入力するマクロ入力端子A3と、マクロ入力端子の信号を増幅するバッファA4と、   At the time of macro external scan, HIGH is input when scanning the group A terminal from the outside of the macro, and LOW is input when scanning the terminal of the B group, and the macro input terminal A3 that inputs a signal from the outside of the macro. A buffer A4 for amplifying the signal at the macro input terminal;

マクロ外部スキャン時と通常動作時にはバッファA4からの信号を出力し、マクロ内部スキャン時にはセレクト回路B5からの信号を出力するセレクト回路A5と、通常動作の為のマクロ内部組み合わせ回路A6と、通常動作とマクロ内部スキャン動作の為のマクロ内部スキャンFFA7と、   A signal from the buffer A4 is output during macro external scan and normal operation, a select circuit A5 that outputs a signal from the select circuit B5 during macro internal scan, a macro internal combination circuit A6 for normal operation, and normal operation Macro internal scan FFA7 for macro internal scan operation,

マクロ外部スキャン時かつSCANMODE端子にHIGHが入力されている時にセレクト回路A5からの信号を出力し、マクロ外部スキャン時かつSCANMODE端子にLOWが入力されている時にバッファB8からの信号を出力し、通常動作時又はマクロ内部スキャン時にはマクロ内部組み合わせ回路B6からの信号を出力するセレクト回路B5と、セレクト回路B5からの信号を増幅するバッファB4と、バッファB4からの信号をマクロ外部に出力する追加出力端子B3と、   A signal from the select circuit A5 is output during macro external scan and HIGH is input to the SCANMODE terminal, and a signal from buffer B8 is output during macro external scan and LOW is input to the SCANMODE terminal. A select circuit B5 that outputs a signal from the macro internal combination circuit B6 during operation or a macro internal scan, a buffer B4 that amplifies the signal from the select circuit B5, and an additional output terminal that outputs the signal from the buffer B4 to the outside of the macro B3,

マクロ外部からの信号を入力するマクロ入力端子B13と、該マクロ入力端子の信号を増幅するバッファB14と、マクロ外部スキャン時と通常動作時にはバッファB14からの信号を出力し、マクロ内部スキャン時にはセレクト回路A15からの信号を出力するセレクト回路B15と、通常動作の為のマクロ内部組み合わせ回路B16と、通常動作とマクロ内部スキャン動作の為のマクロ内部スキャンFFB17と、   A macro input terminal B13 for inputting a signal from the outside of the macro, a buffer B14 for amplifying the signal of the macro input terminal, a signal from the buffer B14 at the time of macro external scanning and normal operation, and a select circuit at the time of macro internal scanning A select circuit B15 that outputs a signal from A15, a macro internal combination circuit B16 for normal operation, a macro internal scan FFB17 for normal operation and macro internal scan operation,

マクロ外部スキャン時かつSCANMODE端子にLOWが入力されている時にセレクト回路B15からの信号を出力し、マクロ外部スキャン時かつSCANMODE端子にHIGHが入力されている時にバッファA18からの信号を出力し、通常動作時又はマクロ内部スキャン時にはマクロ内部組み合わせ回路A16からの信号を出力するセレクト回路A15と、セレクト回路A15からの信号を増幅するバッファA14と、バッファA14からの信号をマクロ外部に出力する追加出力端子A13と、   A signal from the select circuit B15 is output when LOW is input to the SCANMODE terminal during the macro external scan, and a signal from the buffer A18 is output during the macro external scan and HIGH is input to the SCANMODE terminal. During operation or macro internal scan, a select circuit A15 that outputs a signal from the macro internal combination circuit A16, a buffer A14 that amplifies the signal from the select circuit A15, and an additional output terminal that outputs the signal from the buffer A14 to the outside of the macro A13,

通常動作とマクロ内部スキャン動作の為のマクロ内部スキャンFFB7と、通常動作の為のマクロ内部組み合わせ回路B6と、通常動作とマクロ内部スキャン動作の為のマクロ内部スキャンFFA17と、通常動作の為のマクロ内部組み合わせ回路A16と、   Macro internal scan FFB7 for normal operation and macro internal scan operation, macro internal combination circuit B6 for normal operation, macro internal scan FFA17 for normal operation and macro internal scan operation, and macro for normal operation Internal combination circuit A16;

マクロ外部からの信号を入力する追加入力端子B9と、追加入力端子B9からの信号を増幅するバッファB8と、マクロ外部からの信号を入力する追加入力端子A19と、追加入力端子A19からの信号を増幅するバッファA18と、
を単位とする複数の回路から構成される。
An additional input terminal B9 for inputting a signal from the outside of the macro, a buffer B8 for amplifying the signal from the additional input terminal B9, an additional input terminal A19 for inputting a signal from the outside of the macro, and a signal from the additional input terminal A19 A buffer A18 to be amplified;
It is composed of a plurality of circuits in units of

(第2の実施の形態の動作)
本実施の形態のAグループ及びBグループの端子による挟み込み故障検出の動作について以下説明する。
(Operation of Second Embodiment)
The operation of pinching failure detection by the terminals of the A group and the B group of the present embodiment will be described below.

(1)Aグループ端子のマクロ外部スキャン時には、マクロ外部からSCANMODE端子にHIGHが入力される。この状態では、マクロ外部組み合わせ回路A2、A12は、A1→A2→A3→A4→A5→B5→B4→B3→A19→A18→A15→A14→A13→A12→A11の経路でマクロ外部スキャンFFA1とマクロ外部スキャンFFA11とで挟み込み、挟み込み故障検出が行われる。 (1) During macro external scanning of the A group terminal, HIGH is input from the outside of the macro to the SCANMODE terminal. In this state, the macro external combination circuits A2 and A12 are connected to the macro external scan FFA1 in the path of A1, A2, A3, A4, A5, B5, B4, B3, A19, A18, A15, A14, A13, A12, and A11. Pinching is performed between the macro external scan FFA11 and pinching failure detection is performed.

より詳細には、マクロ入力端子A3に入力されている信号をバッファA4が増幅出力し、セレクト回路A5からはバッファA4からの信号が出力され、セレクト回路B5からはセレクト回路A5からの信号が出力され、バッファB4からはセレクト回路B5からの信号が出力され、マクロ出力端子B3からはバッファB4からの信号が出力される。   More specifically, the buffer A4 amplifies and outputs the signal input to the macro input terminal A3, the signal from the buffer A4 is output from the select circuit A5, and the signal from the select circuit A5 is output from the select circuit B5. Then, the signal from the select circuit B5 is output from the buffer B4, and the signal from the buffer B4 is output from the macro output terminal B3.

追加入力端子A19に入力されている信号は、バッファA18が増幅出力し、セレクト回路A15からはバッファA18からの信号が出力され、バッファA14からはセレクト回路A15からの信号が増幅されて出力され、マクロ出力端子A13からはバッファA14からの信号が出力される。   The signal input to the additional input terminal A19 is amplified and output by the buffer A18, the signal from the buffer A18 is output from the select circuit A15, and the signal from the select circuit A15 is amplified and output from the buffer A14. The macro output terminal A13 outputs a signal from the buffer A14.

そしてマクロ出力端子B3と追加入力端子A19をマクロ外で接続する事により、マクロ入力端子A3に繋がっているマクロ外部組み合わせ回路A2とマクロ出力端子A13に繋がっているマクロ外部組み合わせ回路A12の故障を、マクロ外部組み合わせ回路A2に入力を与えているマクロ外部スキャンFFA1とマクロ外部組み合わせ回路A12の出力を受けているマクロ外部スキャンFFA11とで挟み込み故障検出が行われる。   Then, by connecting the macro output terminal B3 and the additional input terminal A19 outside the macro, the macro external combination circuit A2 connected to the macro input terminal A3 and the macro external combination circuit A12 connected to the macro output terminal A13 are failed. The pinch failure detection is performed between the macro external scan FFA1 that provides input to the macro external combination circuit A2 and the macro external scan FFA11 that receives the output of the macro external combination circuit A12.

(2)Bグループ端子のマクロ外部スキャン時には、マクロ外部からSCANMODE端子にLOWが入力される。この状態では、マクロ外部組み合わせ回路B2、B12は、B12→B13→B14→B15→A15→A14→A13→B9→B8→B5→B4→B3→B2→B1の経路でマクロ外部スキャンFFB11とマクロ外部スキャンFFB1とで挟み込み、挟み込み故障検出が行われる。 (2) During macro external scanning of the B group terminal, LOW is input from the outside of the macro to the SCANMODE terminal. In this state, the macro external combination circuits B2 and B12 are connected to the macro external scan FFB11 and the macro external on the route of B12 → B13 → B14 → B15 → A15 → A14 → A13 → B9 → B8 → B5 → B4 → B3 → B2 → B1. Pinching is performed with the scan FFB1, and pinching failure detection is performed.

より詳細には、マクロ入力端子B13に入力されている信号を、バッファB14が増幅出力し、セレクト回路B15からはバッファB14からの信号が出力され、セレクト回路A15からはセレクト回路B15からの信号が出力され、バッファA14からは、セレクト回路A15からの信号が出力され、マクロ出力端子A13からはバッファA14からの信号が出力される。   More specifically, the buffer B14 amplifies and outputs the signal input to the macro input terminal B13, the select circuit B15 outputs the signal from the buffer B14, and the select circuit A15 receives the signal from the select circuit B15. The signal is output from the select circuit A15 from the buffer A14, and the signal from the buffer A14 is output from the macro output terminal A13.

追加入力端子B9に入力されている信号は、バッファB8が増幅出力し、セレクト回路B5からはバッファB8からの信号が出力され、バッファB4からはセレクト回路B5からの信号が増幅されて出力され、マクロ出力端子B3からはバッファB4からの信号が出力される。   The signal input to the additional input terminal B9 is amplified and output by the buffer B8, the signal from the buffer B8 is output from the select circuit B5, the signal from the select circuit B5 is amplified and output from the buffer B4, The macro output terminal B3 outputs a signal from the buffer B4.

そしてマクロ出力端子A13と追加入力端子B9をマクロ外で接続する事により、マクロ入力端子B13に繋がっているマクロ外部組み合わせ回路B12とマクロ出力端子B3に繋がっているマクロ外部組み合わせ回路B2の故障をマクロ外部組み合わせ回路B12に入力を与えているマクロ外部スキャンFFB11とマクロ外部組み合わせ回路B2の出力を受けているマクロ外部スキャンFFB1で挟み込み故障検出する。   Then, by connecting the macro output terminal A13 and the additional input terminal B9 outside the macro, the macro external combination circuit B12 connected to the macro input terminal B13 and the macro external combination circuit B2 connected to the macro output terminal B3 are treated as macros. A pinch failure is detected by the macro external scan FFB11 that provides an input to the external combinational circuit B12 and the macro external scan FFB1 that receives the output of the macro external combinational circuit B2.

また、第2の実施の形態のマクロ内部スキャンテストは、第1の実施の形態と同様である。つまり、マクロ内部組み合わせ回路A6の故障とマクロ内部組み合わせ回路B6の故障をマクロ内部スキャンFFB7とマクロ内部スキャンFFA7とで挟み込むことにより、B7→B6→B5→A5→A6→A7の経路で挟み込み故障検出を可能とし、また、マクロ内部組み合わせ回路B16の故障とマクロ内部組み合わせ回路A16の故障をマクロ内部スキャンFFA17とマクロ内部スキャンFFB17とで挟み込むことにより、A17→B16→A15→B15→B16→B17の経路で挟み込み故障検出を可能としている。   The macro internal scan test of the second embodiment is the same as that of the first embodiment. In other words, the failure of the macro internal combination circuit A6 and the failure of the macro internal combination circuit B6 are sandwiched between the macro internal scan FFB7 and the macro internal scan FFA7, thereby pinching the failure in the path of B7 → B6 → B5 → A5 → A6 → A7. In addition, by interposing the failure of the macro internal combination circuit B16 and the failure of the macro internal combination circuit A16 between the macro internal scan FFA17 and the macro internal scan FFB17, the path A17 → B16 → A15 → B15 → B16 → B17 This makes it possible to detect pinching failures.

本実施の形態では、上記の動作により新たにバンダリスキャン回路をマクロに追加する事無く、インターフェース部分の故障を検出することができる。
その為、マクロ内部にバンダリスキャン用FFと選択回路を内蔵する従来技術と本実施の形態を比較すると、従来技術では1端子に付きスキャン用FF1個と選択回路1個が必要だが、本実施の形態では1出力端子に付き選択回路2個とバッファ1個が1入力端子に付き選択回路1個が、必要なだけなので下記の式の面積が従来技術に対して削減出来るのでハードマクロの面積が増加の問題が解決出来る。
In the present embodiment, a failure in the interface portion can be detected without adding a new boundary scan circuit to the macro by the above operation.
Therefore, comparing this embodiment with the conventional technique in which the FF for the boundary scan and the selection circuit are built in the macro, the conventional technique requires one scanning FF and one selection circuit per terminal. In the configuration, only two selection circuits per output terminal and one buffer per one input terminal are required, so the area of the following equation can be reduced compared to the conventional technology, so the area of the hard macro is reduced. The increase problem can be solved.

削減される面積=(スキャンFFの面積−バッファの面積−選択回路の面積)×出力端子数+スキャンFFの面積×入力端子数
またマクロ外部スキャン時にバンダリスキャンFFを使用しない為、マクロ内部とマクロ外部のスキャンFFが同じスキャン方式のものでなければならないという問題が解決出来る。
Area to be reduced = (area of scan FF−area of buffer−area of selection circuit) × number of output terminals + area of scan FF × number of input terminals Also, since the boundary scan FF is not used during macro external scan, the macro internal and macro The problem that the external scan FFs must have the same scan method can be solved.

以上のように第2の実施の形態では、2度のマクロ外部スキャン((1)、(2))を行う事により、第1の実施の形態で必要とした1入力端子につき1出力端子を追加する必要がない構成が実現可能である。   As described above, in the second embodiment, by performing the macro external scan twice ((1), (2)), one output terminal is required for each input terminal required in the first embodiment. A configuration that does not need to be added can be realized.

また、第2の実施の形態では、マクロ入力端子とマクロ出力端子をそれぞれ2つのグループに分け、片方のグループのマクロ入力端子に接続された組み合わせ回路の故障を、他のグループのマクロ出力端子を追加出力端子として使用する事により検出することを可能としたものである。   In the second embodiment, the macro input terminal and the macro output terminal are divided into two groups, and a failure of the combinational circuit connected to the macro input terminal of one group is detected. It can be detected by using it as an additional output terminal.

以上のように本発明のハードマクロによれば、マクロインターフェース部分のテストを行う回路の面積を削減することができる為、ハードマクロの面積を削減することが可能である。また、マクロ内部とLSIのマクロを除く回路のスキャン方式を合わせる必要が無くなる為、マクロの汎用性を高めることが可能である。   As described above, according to the hard macro of the present invention, it is possible to reduce the area of the circuit for testing the macro interface portion, and thus it is possible to reduce the area of the hard macro. In addition, since it is not necessary to match the scanning system of the circuit excluding the inside of the macro and the LSI macro, the versatility of the macro can be improved.

本発明の第1の実施の形態のマクロとマクロ周辺回路の構成を示す図である。It is a figure which shows the structure of the macro of the 1st Embodiment of this invention, and a macro peripheral circuit. 第1の実施の形態のExScan部を拡大した図である。It is the figure which expanded the ExScan part of 1st Embodiment. 本発明の第2の実施の形態のマクロとマクロ周辺回路の構成を示す図である。It is a figure which shows the structure of the macro of the 2nd Embodiment of this invention, and a macro peripheral circuit. 第2の実施の形態のExScan部を拡大した図である。It is the figure which expanded the ExScan part of 2nd Embodiment. 従来のマクロとマクロ周辺回路との接続構成を示す図である。It is a figure which shows the connection structure of the conventional macro and macro peripheral circuit. 従来のExScan部を拡大した図である。It is the figure which expanded the conventional ExScan part.

符号の説明Explanation of symbols

1、10 ハードマクロ(コア)
2、20 IO部(入出力部)
3、30 ExScan部(外部スキャン部)
4、40 マクロ部
31 マクロ内部配線
A3、A9、B13 マクロ入力端子
B3、A13 マクロ出力端子
A9 追加出力端子(追加マクロ出力端子)
B9、A19 追加入力端子(追加マクロ入力端子)
A2、B12、B2、A12、A6、B6 組み合わせ回路
A7、B7 スキャンフリップフロップ(スキャンFF)
C1、C2 論理回路
S1、S1’、S2、S2’ 選択回路
1, 10 Hard macro (core)
2, 20 IO unit (input / output unit)
3, 30 ExScan section (external scan section)
4, 40 Macro section 31 Macro internal wiring A3, A9, B13 Macro input terminal B3, A13 Macro output terminal A9 Additional output terminal (additional macro output terminal)
B9, A19 Additional input terminal (additional macro input terminal)
A2, B12, B2, A12, A6, B6 Combinational circuit A7, B7 Scan flip-flop (scan FF)
C1, C2 logic circuit S1, S1 ′, S2, S2 ′ selection circuit

Claims (6)

機能内蔵ハードマクロと、当該機能内蔵ハードマクロ外の周辺回路とを備え、前記機能内蔵ハードマクロ外の組み合わせ回路の故障検出を行う第1のスキャンチェーンと、前記機能内蔵ハードマクロ内の組み合わせ回路の故障検出を行う第2のスキャンチェーンのそれぞれにより故障検出可能な半導体集積回路であって、A first scan chain that includes a function built-in hard macro and a peripheral circuit outside the function built-in hard macro, and detects a failure of the combination circuit outside the function built-in hard macro; and a combination circuit in the function built-in hard macro A semiconductor integrated circuit capable of detecting a failure by each of the second scan chains that perform the failure detection,
前記機能内蔵ハードマクロは、  The function built-in hard macro is
入出力部と、  An input / output unit;
前記第1のスキャンチェーンと前記第2のスキャンチェーンのいずれかを選択するセレクト回路を有する外部スキャン部と、  An external scan unit having a select circuit for selecting either the first scan chain or the second scan chain;
当該機能内蔵ハードマクロより前記入出力部と前記外部スキャン部を除いたマクロ部とを備え、  A macro unit excluding the input / output unit and the external scan unit from the function built-in hard macro,
前記第1のスキャンチェーンは、前記周辺回路内の第1のフリップフロップと、前記セレクト回路と、前記周辺回路内の第2のフリップフロップにより形成され、  The first scan chain is formed by a first flip-flop in the peripheral circuit, the select circuit, and a second flip-flop in the peripheral circuit,
前記第2のスキャンチェーンは、前記マクロ部内の第3のフリップフロップと、前記セレクト回路と、前記マクロ部内の第4のフリップフロップにより形成された半導体集積回路。  The second scan chain is a semiconductor integrated circuit formed by a third flip-flop in the macro section, the select circuit, and a fourth flip-flop in the macro section.
機能内蔵ハードマクロと、当該機能内蔵ハードマクロ外の周辺回路とを備え、前記機能内蔵ハードマクロ外の組み合わせ回路の故障検出を行う第1のスキャンチェーンと、前記機能内蔵ハードマクロ内の組み合わせ回路の故障検出を行う第2のスキャンチェーンのそれぞれにより故障検出可能な半導体集積回路であって、A first scan chain that includes a function built-in hard macro and a peripheral circuit outside the function built-in hard macro, and detects a failure of the combination circuit outside the function built-in hard macro; and a combination circuit in the function built-in hard macro A semiconductor integrated circuit capable of detecting a failure by each of the second scan chains that perform the failure detection,
前記機能内蔵ハードマクロは、  The function built-in hard macro is
入出力部と、  An input / output unit;
前記第1のスキャンチェーンと前記第2のスキャンチェーンのいずれかを選択する第1のセレクト回路及び第2のセレクト回路を有する外部スキャン部と、  An external scan unit having a first select circuit and a second select circuit for selecting either the first scan chain or the second scan chain;
当該機能内蔵ハードマクロより前記入出力部と前記外部スキャン部を除いたマクロ部とを備え、  A macro unit excluding the input / output unit and the external scan unit from the function built-in hard macro,
前記第1のスキャンチェーンは、前記周辺回路内の第1のフリップフロップと、前記第1のセレクト回路と、前記第2のセレクト回路と、前記周辺回路内の第2のフリップフロップにより形成され、  The first scan chain is formed by a first flip-flop in the peripheral circuit, the first select circuit, the second select circuit, and a second flip-flop in the peripheral circuit,
前記第2のスキャンチェーンは、前記マクロ部内の第3のフリップフロップと、前記1のセレクト回路と、前記第2のセレクト回路と、前記マクロ部内の第4のフリップフロップにより形成された半導体集積回路。  The second scan chain is a semiconductor integrated circuit formed by a third flip-flop in the macro section, the first select circuit, the second select circuit, and a fourth flip-flop in the macro section. .
前記機能内蔵ハードマクロ外の組み合わせ回路の故障検出を行う場合に、前記第1のセレクト回路は、前記第1のフリップフロップより組み合わせ回路を介して入力された信号を前記第2のセレクト回路に出力し、前記第2のセレクト回路は、前記第1のセレクト回路から入力した信号を組み合わせ回路を介して前記第2フリップフロップに出力し、When detecting a failure of a combinational circuit outside the function built-in hard macro, the first select circuit outputs a signal input from the first flip-flop via the combinational circuit to the second select circuit. The second select circuit outputs the signal input from the first select circuit to the second flip-flop via a combinational circuit,
前記機能内蔵ハードマクロ内の組み合わせ回路の故障検出を行う場合に、前記第2のセレクト回路は、前記第3のフリップフロップより組み合わせ回路を介して入力された信号を前記第1のセレクト回路に出力し、前記第1のセレクト回路は、前記第2のセレクト回路から入力した信号を組み合わせ回路を介して前記第4フリップフロップに出力することを特徴とする請求項2記載の半導体集積回路。  When detecting a failure of a combinational circuit in the function built-in hard macro, the second select circuit outputs a signal input from the third flip-flop via the combinational circuit to the first select circuit. 3. The semiconductor integrated circuit according to claim 2, wherein the first select circuit outputs the signal input from the second select circuit to the fourth flip-flop via a combinational circuit.
前記第1のスキャンチェーンにおいて、前記第1のセレクト回路と前記第2のセレクト回路とは、前記周辺回路に設けられた配線を介して互いに接続されていることを特徴とする請求項2又は3記載の半導体集積回路。4. The first scan chain, wherein the first select circuit and the second select circuit are connected to each other via a wiring provided in the peripheral circuit. The semiconductor integrated circuit as described. 前記第1のスキャンチェーンにおいて、前記第1のセレクト回路と前記第2のセレクト回路とは、前記外部スキャン部に設けられた配線を介して互いに接続されていることを特徴とする請求項2又は3記載の半導体集積回路。3. The first scan chain, wherein the first select circuit and the second select circuit are connected to each other via a wiring provided in the external scan unit. 3. The semiconductor integrated circuit according to 3. 前記第1のセレクト回路と第2のセレクト回路とは、前記第3のフリップフロップ及び前記第4のフリップフロップを介して互いに接続されていることを特徴とする請求項2〜5いずれかに記載の半導体集積回路。6. The first select circuit and the second select circuit are connected to each other via the third flip-flop and the fourth flip-flop. Semiconductor integrated circuit.
JP2003418632A 2003-12-16 2003-12-16 Semiconductor integrated circuit Expired - Fee Related JP4417092B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003418632A JP4417092B2 (en) 2003-12-16 2003-12-16 Semiconductor integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003418632A JP4417092B2 (en) 2003-12-16 2003-12-16 Semiconductor integrated circuit

Publications (2)

Publication Number Publication Date
JP2005180975A JP2005180975A (en) 2005-07-07
JP4417092B2 true JP4417092B2 (en) 2010-02-17

Family

ID=34780798

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003418632A Expired - Fee Related JP4417092B2 (en) 2003-12-16 2003-12-16 Semiconductor integrated circuit

Country Status (1)

Country Link
JP (1) JP4417092B2 (en)

Also Published As

Publication number Publication date
JP2005180975A (en) 2005-07-07

Similar Documents

Publication Publication Date Title
JP5254093B2 (en) Semiconductor integrated circuit having power controllable region
JP2008085596A (en) Clock distributing circuit, and test method
US20110175638A1 (en) Semiconductor integrated circuit and core test circuit
JP5099869B2 (en) Semiconductor integrated circuit and test method for semiconductor integrated circuit
JP2007205933A (en) Semiconductor integrated circuit
US7240262B2 (en) Scan-path circuit, logic circuit including the same, and method for testing integrated circuit
JP5167975B2 (en) Semiconductor device
JP4417092B2 (en) Semiconductor integrated circuit
JP4549701B2 (en) Semiconductor circuit device and scan test method for semiconductor circuit
JP4610919B2 (en) Semiconductor integrated circuit device
JP2003344500A (en) Macro test circuit
US20040030976A1 (en) Partial BIST with recording of the connections between individual blocks
JP3003781B2 (en) Inspection design method, bus error avoidance design method, and integrated circuit
US20020186585A1 (en) Semiconductor integrated circuit device and method for designing a semiconductor integrated circuit device
JP4703398B2 (en) Semiconductor integrated circuit and test method thereof
JP2008026074A (en) Ic test method and ic
JP4296055B2 (en) Semiconductor integrated circuit, semiconductor circuit device, and memory macrocell
JP2010122009A (en) Semiconductor integrated circuit
JP3998607B2 (en) Test apparatus and test method for semiconductor integrated circuit device
JP3531635B2 (en) Semiconductor integrated circuit device
JP2011090762A (en) Data transfer circuit
JP5279034B2 (en) Fault detection circuit
JP2944325B2 (en) Scan path diagnostic circuit
JP3107061B2 (en) Test circuit
JP2005274500A (en) Semiconductor integrated circuit with design for test facilitation, and fault location diagnosing method therefor

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20060221

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060906

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090518

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090521

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090708

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20090713

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20090713

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090901

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091007

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20091027

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091125

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121204

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121204

Year of fee payment: 3

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121204

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121204

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131204

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees