JPH07294606A - Self inspecting circuit for semiconductor integrated circuit - Google Patents

Self inspecting circuit for semiconductor integrated circuit

Info

Publication number
JPH07294606A
JPH07294606A JP6110317A JP11031794A JPH07294606A JP H07294606 A JPH07294606 A JP H07294606A JP 6110317 A JP6110317 A JP 6110317A JP 11031794 A JP11031794 A JP 11031794A JP H07294606 A JPH07294606 A JP H07294606A
Authority
JP
Japan
Prior art keywords
circuit
inspection
data
output
under test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6110317A
Other languages
Japanese (ja)
Inventor
Takeshi Kawashima
毅 川島
Hiroaki Tanaka
裕章 田中
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.)
Denso Corp
Original Assignee
NipponDenso Co Ltd
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 NipponDenso Co Ltd filed Critical NipponDenso Co Ltd
Priority to JP6110317A priority Critical patent/JPH07294606A/en
Priority to US08/337,826 priority patent/US5619512A/en
Publication of JPH07294606A publication Critical patent/JPH07294606A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To provide a self inspecting circuit for LSIs which incurs a small overhead when mounted., without damaging an inspecting quality. CONSTITUTION:The circuit is constituted of a to-be-inspected circuit 1 originally to be equipped in an LSI, an inspecting circuit 2 for taking output data from the to-be-inspected circuit 1 and outputting inspecting data to the circuit 1, a selector 5 for selecting a signal at a normal using time or a signal at an inspecting time, a judging circuit 4 for judging an inspecting result, and a controlling circuit 3 for controlling the inspecting circuit 2, selector 5 and judging circuit 4 at an inspecting time. An output of the to-be-inspected circuit l is input to the inspecting circuit 2, and fresh inspecting data to be input to the to-be-inspected circuit 1 are generated based on an output from the inspecting circuit 2. The inspecting data generated in the inspecting circuit 2 is input to tone to-be-inspected circuit l, based on which the to-be-inspect,ed circuit 1 is inspected. Accordingly, a necessary amount of data for the inspection is reduced large and the inspection is carried out quickly.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、半導体装置である半導
体集積回路(以下、LSIという)の自己検査回路に関
し、この自己検査回路は、LSIチップに内蔵しても良
いし、LSIチップを接続して外部より検査をおこなう
様にも通用できる。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a self-inspection circuit of a semiconductor integrated circuit (hereinafter referred to as LSI) which is a semiconductor device. This self-inspection circuit may be built in an LSI chip or connected to an LSI chip. It can also be used as an external inspection.

【0002】[0002]

【従来の技術】最近のLSIにあっては、大規模化・高
密度化が進み、それを検査するための検査データ量が膨
大になり、時間と費用が増大する傾向にある。この問題
を解決する手段として特開昭62-150874 号公報に開示さ
れたLSI自己検査回路があり、この公報には図2に示
す如く回路が記載されている。この自己検査回路は、回
路を検査するためのデータをメモリに蓄積しているた
め、検査対象の回路が大規模になるに従って、検査デー
タが膨大となり、メモリ容量等が大きくなるという欠点
があった。
2. Description of the Related Art In recent LSIs, the scale and density have been increased, the amount of inspection data for inspecting the LSI has become huge, and the time and cost tend to increase. As means for solving this problem, there is an LSI self-inspection circuit disclosed in Japanese Patent Laid-Open No. 62-150874, which discloses a circuit as shown in FIG. This self-inspection circuit stores data for inspecting the circuit in the memory. Therefore, as the circuit to be inspected becomes large in scale, the inspection data becomes huge and the memory capacity and the like increase. .

【0003】[0003]

【発明が解決しようとする課題】また、上記従来のLS
Iの自己検査回路においては、高速に大量の検査データ
を用いて自己検査を行うことができるものの、テスト制
御回路と、テスト制御メモリと、テストパターンメモリ
と、テスト用演算回路と、パターン比較回路と、セレク
タと、をそれぞれ組み込む必要があるため、検査用回路
全体の面積オーバーヘッドが大きくなり、LSIの面積
が増加するという欠点がある。そこで、本発明は、テス
トの質を損なうことなく実装時のオーバーヘッドの小さ
い、LSIの自己検査回路を提供することを目的とす
る。
The conventional LS described above is also used.
The self-inspection circuit of I can perform self-inspection using a large amount of inspection data at high speed, but it has a test control circuit, a test control memory, a test pattern memory, a test operation circuit, and a pattern comparison circuit. Since it is necessary to incorporate the selector and the selector, the area overhead of the entire inspection circuit becomes large, and the area of the LSI increases. Therefore, it is an object of the present invention to provide an LSI self-test circuit that has a small overhead during mounting without impairing the quality of the test.

【0004】[0004]

【問題を解決するための手段】上記目的を達成するため
に、本発明は、半導体装置、とりわけ半導体集積回路
(LSI)の自己検査を行う自己検査回路であって、検
査対象である被検査回路1、そして前記被検査回路1に
検査データを出力するデータ出力機能と、前記被検査回
路1から出力される出力データを基にして新たな検査デ
ータを自動的に生成するデータ生成機能と、さらに一連
の検査開始時において第一回目の検査データのみを取り
入れ確定させる初期値入力手段とからなる検査回路2、
さらに通常使用時の入力信号もしくは検査時の前記検査
回路2の検査データいずれかを選択する選択手段、そし
てさらに、所定回数検査を繰り返した検査終了時の、前
記検査回路2の出力する検査データに基づき、該被検査
回路1の正常異常を判定する判定回路4、および検査時
に、前記検査回路2と前記初期値入力手段と前記選択手
段と前記判定回路4とを制御する制御回路3とを備え、
前記検査回路2が、線形フィードバックシフトレジスタ
と、前記被検査回路1の出力データと該線形フィードバ
ックシフトレジスタとから新たな検査データを自動的に
生成する検査データ生成手段とから構成されることを要
旨とする。
In order to achieve the above object, the present invention is a self-inspection circuit for self-inspecting a semiconductor device, especially a semiconductor integrated circuit (LSI), which is an inspected circuit to be inspected. 1, and a data output function for outputting inspection data to the circuit under inspection 1, a data generation function for automatically generating new inspection data based on output data output from the circuit under inspection 1, and An inspection circuit 2 including an initial value input means for accepting and confirming only the first inspection data at the start of a series of inspections,
Further, a selection means for selecting either an input signal at the time of normal use or the inspection data of the inspection circuit 2 at the time of inspection, and further, the inspection data output by the inspection circuit 2 at the end of inspection after repeating inspection a predetermined number of times. On the basis of this, there is provided a judgment circuit 4 for judging whether the circuit under test 1 is normal or abnormal, and a control circuit 3 for controlling the inspection circuit 2, the initial value input means, the selection means and the judgment circuit 4 at the time of inspection. ,
The inspection circuit 2 is composed of a linear feedback shift register and an inspection data generation means for automatically generating new inspection data from the output data of the circuit under inspection 1 and the linear feedback shift register. And

【0005】[0005]

【作用】検査開始の信号によって、検査回路2に第一回
目の検査データ(検査データ初期値)が初期値入力手段
から設定されて被検査回路1に与えられ、この初期値入
力手段が切り離された後、検査データが被検査回路1で
演算されて演算結果を出力する。検査回路2は線形フィ
ードバックシフトレジスタで構成されており、以後クロ
ック(CLK) 信号を与えるだけで、その演算結果をデータ
圧縮しつつ、このデータ圧縮した値を次の検査データと
して、再び被検査回路1に与え、次の検査を実施する。
このように被検査回路1が演算した演算結果を用いて、
再び検査回路2が次の検査データを自動的に生成してい
く。予め求められている必要回数だけ検査した時点で、
被検査回路1の最後の演算結果を期待値と比較して被検
査回路1の正常/異常の判定を判定回路4で実施する。
The first inspection data (inspection data initial value) is set in the inspection circuit 2 by the inspection start signal from the initial value input means and is given to the inspected circuit 1, and the initial value input means is disconnected. After that, the inspection data is calculated in the circuit under test 1 and the calculation result is output. The inspection circuit 2 is composed of a linear feedback shift register, and thereafter, by simply applying a clock (CLK) signal, the operation result is data-compressed, and the data-compressed value is used as the next inspection data to be inspected again. 1 and perform the following inspections.
By using the calculation result calculated by the circuit under test 1 in this way,
The inspection circuit 2 automatically generates the next inspection data again. When the required number of times required in advance is inspected,
The final calculation result of the circuit under test 1 is compared with the expected value, and the judgment circuit 4 judges whether the circuit under test 1 is normal or abnormal.

【0006】[0006]

【発明の効果】本発明のLSI の自己検査回路によれば、
被検査回路の出力を検査回路に入力し、この検査回路の
出力に基づき被検査回路に入力する新たな検査データを
生成し、検査回路にて生成された検査データを被検査回
路に入力し、この検査データに基づき被検査回路の検査
を行うことで、検査に必要なデータ量を大幅に減少させ
ることができる。また、従来別々の構成で行っていた検
査データの扱いを、一つの検査回路でデータ生成とデー
タ圧縮を実施し、迅速な検査を行う。そのため、検査の
質を損なうことなく、自己検査回路を容易に構成できる
と同時に、そのための回路面積を減少させることができ
るという効果がある。さらに、検査回路を線形フィード
バックシフトレジスタで構成したことにより、被検査回
路の入力信号線数と出力信号線数に関係なく自己検査回
路を容易に構成できるという効果がある。また、検査回
路を外部に設ける場合でも、検査を迅速に自動的に完了
させることができる。
According to the LSI self-check circuit of the present invention,
The output of the circuit under test is input to the circuit under test, new test data to be input to the circuit under test is generated based on the output of this circuit, and the test data generated by the circuit under test is input to the circuit under test. By inspecting the circuit to be inspected based on this inspection data, the amount of data required for the inspection can be greatly reduced. In addition, the inspection data, which has been conventionally processed by different configurations, is generated and compressed by one inspection circuit, and a quick inspection is performed. Therefore, there is an effect that the self-inspection circuit can be easily configured without impairing the quality of the inspection, and at the same time, the circuit area for that can be reduced. Furthermore, by configuring the inspection circuit with the linear feedback shift register, there is an effect that the self-inspection circuit can be easily configured regardless of the number of input signal lines and the number of output signal lines of the circuit under test. Further, even when the inspection circuit is provided outside, the inspection can be completed quickly and automatically.

【0007】[0007]

【実施例】【Example】

(実施例1)以下、本発明の第一実施例について図に基
づき説明する。図1に、第一実施例としてデジタル信号
を取り扱うLSIの自己検査回路の構成図を示す。図1
に示すように、LSIの自己検査回路は、LSIが本来
具備すべき論理回路、例えば乗算器やROM等の被検査
回路1(もしくは内部回路)と、この被検査回路1の出
力データを取り込んで被検査回路1に対して検査データ
を出力する検査回路2と、通常使用時の入力信号と検査
時の入力信号である検査データとを選択する選択手段で
あって切り替え回路であるセレクタ5と、検査時に検査
回路2から出力される検査結果を比較回路等で判定する
テスト結果判定手段である判定回路4と、検査時に検査
回路2とセレクタ5と判定回路4とを制御する制御回路
3とから構成される。
(First Embodiment) A first embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows a block diagram of a self-inspection circuit of an LSI that handles digital signals as a first embodiment. Figure 1
As shown in FIG. 1, the LSI self-test circuit fetches a logic circuit that the LSI should originally have, for example, a circuit under test 1 (or an internal circuit) such as a multiplier or a ROM, and output data of the circuit under test 1. An inspection circuit 2 that outputs inspection data to the circuit under inspection 1; a selector 5 that is a switching circuit that is a selection unit that selects an input signal during normal use and inspection data that is an input signal during inspection; From a judgment circuit 4 which is a test result judging means for judging an inspection result outputted from the inspection circuit 2 at the time of inspection by a comparison circuit and the like, and a control circuit 3 which controls the inspection circuit 2, the selector 5 and the judgment circuit 4 at the time of inspection. Composed.

【0008】図3に、図1の検査回路2の一例である構
成図を示す。この検査回路2において、信号線101 〜13
2 は被検査回路1の出力信号線に接続されている。信号
線201 〜232 は、セレクタ5の入力に接続されている。
信号線101 〜132 は、検査データ生成手段である検査デ
ータ生成回路401 〜432 の入力の一つに接続され、検査
データ生成回路401 〜432 は、次の段のフリップフロッ
プ(以下F/F と記す)に接続されている。また第一段の
F/F1の出力は、入力信号線201 に接続されるとともに、
検査データ生成回路402 の他方の入力に接続され、F/F2
〜F/F31 までが同様に接続されている。
FIG. 3 is a block diagram showing an example of the inspection circuit 2 shown in FIG. In this inspection circuit 2, the signal lines 101 to 13
2 is connected to the output signal line of the circuit under test 1. The signal lines 201 to 232 are connected to the inputs of the selector 5.
The signal lines 101 to 132 are connected to one of the inputs of the inspection data generating circuits 401 to 432 which are the inspection data generating means, and the inspection data generating circuits 401 to 432 are connected to the flip-flops (hereinafter referred to as F / F and Note) is connected to. Also the first stage
The output of F / F1 is connected to the input signal line 201 and
It is connected to the other input of the inspection data generation circuit 402 and F / F2
Up to F / F31 are connected in the same way.

【0009】F/F1〜F/F32 の出力のうち幾つかは、論理
回路のエクスクルーシブオア(以下、EXORと記す)を
介して、検査データ生成手段401 に接続される。図3で
は、線形フィードバックシフトレジスタ(LFSR)を構成す
るF/F1〜F/F32 が原始多項式を構成するように入力信号
線229,232 (それぞれF/F29 、F/F32 の出力)を、EXO
R300 を介して検査データ生成回路401 にフィードバッ
ク(FB)接続する構成としている。もちろん、被検査回路
1を検査するための必要な検査データが得られるよう
に、その他のF/F のFB接続を選択してもよいことは言う
までもない。
Some of the outputs of F / F1 to F / F32 are connected to the inspection data generating means 401 through exclusive OR (hereinafter referred to as EXOR) of the logic circuit. In FIG. 3, input signal lines 229 and 232 (outputs of F / F29 and F / F32, respectively) are connected to EXO so that F / F1 to F / F32, which form a linear feedback shift register (LFSR), form a primitive polynomial.
A feedback (FB) connection is made to the inspection data generation circuit 401 via R300. Of course, it is needless to say that the FB connection of other F / F may be selected so that necessary inspection data for inspecting the circuit under inspection 1 can be obtained.

【0010】なお、原始多項式を構成する、とは、図3
に示すようなF/F がシリーズに繋がったLFSRで、被検査
回路1の入力信号線201 〜232 側に出力するデータパタ
ーンが最も多数個現れるような関係を持つように構成さ
れる回路を実現することを意味し、これは数学的に証明
が得られている。逆にそのように回路を構成すると、そ
の回路の出力が原始多項式を表現する、ということであ
る。そして、その他のF/F の接続を選択してもよい、と
いうことは、必要な検査回数が、原始多項式で示される
データパターンの数より少なくて良いような場合に、必
ずしも原始多項式を実現する検査回路2でなくとも良
い、ということである。そのような場合にはまた、別の
選択としてF/F の段数を変化させた構成であってもよい
ことをも含んでいる。
The construction of a primitive polynomial means that in FIG.
In the LFSR in which the F / Fs are connected in series as shown in, realize a circuit configured to have a relationship in which the most data patterns output to the input signal lines 201 to 232 of the circuit under test 1 appear. Which means that this is mathematically proven. Conversely, if the circuit is configured in this way, the output of the circuit represents a primitive polynomial. Then, other F / F connections may be selected, which means that the primitive polynomial is always realized when the required number of checks is smaller than the number of data patterns indicated by the primitive polynomial. This means that the inspection circuit 2 is not necessary. In such a case, it is also included as another option that the number of F / F stages may be changed.

【0011】図3のF/F1〜F/F32 は、SEL2により、外
部クロックCLKにより駆動される32ビットシフトレジ
スタとなり、第一回目の検査データとして、所望の32ビ
ット"0""1"データを検査回路2内にシリアルに取り入れ
て確定させる初期値入力手段として動作するか、あるい
は、被検査回路1からの信号線101 〜132 の信号に基
づき、新たな検査データを生成するために、LFSRとして
動作するか、のいずれかに切り替えられる。
F / F1 to F / F32 shown in FIG. 3 are 32-bit shift registers driven by the external clock CLK by SEL2, and desired 32-bit "0""1" data is used as the first inspection data. Of the LFSR to operate as an initial value input means for serially inputting into the inspection circuit 2 and confirming it, or to generate new inspection data based on the signals of the signal lines 101 to 132 from the circuit under inspection 1. Works as either or can be switched to either.

【0012】なお図4に、検査データ生成手段の一例と
して、図3における検査データ生成回路を示す。図4
(a) の検査データ生成回路401 において、信号線101 と
信号線FBは、EXOR450 を介してセレクタ460 の一方の
入力に接続され、信号線101 と信号線FBの状態によって
決まる値が入力される。また信号線SIN が、セレクタ46
0 の他方の入力に接続されている。セレクタ460 は、信
号線SEL2により、これらの入力の一方を選択し、F/F1の
入力(図4(a) のO)に出力する。
FIG. 4 shows the inspection data generating circuit in FIG. 3 as an example of the inspection data generating means. Figure 4
In the inspection data generation circuit 401 in (a), the signal line 101 and the signal line FB are connected to one input of the selector 460 via the EXOR 450, and a value determined by the states of the signal line 101 and the signal line FB is input. . In addition, the signal line SIN is
Connected to the other input of 0. The selector 460 selects one of these inputs by the signal line SEL2 and outputs it to the input of F / F1 (O in FIG. 4 (a)).

【0013】また図3の二段目のF/F2に対する図4(b)
の検査データ生成回路402 において、信号線102(図4の
I)は、EXOR451 の一方の入力に接続されている。EX
OR451 の他方入力は、F/F1の出力(図4(b) のS)と
接続されている。このEXOR451 の出力が、セレクタ46
1 の一方の入力に接続され、セレクタ461 の他方の入力
は、S(前段のF/F1の出力)と接続されている。セレク
タ461 は、信号線SEL2により、これらの入力の一方を選
択し、F/F2の入力(図4(b) のO)に出力する。
FIG. 4 (b) for the second stage F / F2 of FIG.
In the inspection data generating circuit 402, the signal line 102 (I in FIG. 4) is connected to one input of the EXOR 451. EX
The other input of OR451 is connected to the output of F / F1 (S in FIG. 4 (b)). The output of this EXOR451 is the selector 46
1 is connected to one input, and the other input of the selector 461 is connected to S (the output of the previous stage F / F1). The selector 461 selects one of these inputs by the signal line SEL2 and outputs it to the input of F / F2 (O in FIG. 4 (b)).

【0014】そして検査データ生成回路402 と同様に、
検査データ生成回路403 〜432 が接続される。なお、検
査データ生成回路 402〜432 は、図5に示す構成でもよ
い。即ちEXOR452 がセレクタ461 の後にくる構成であ
る。
Then, like the inspection data generation circuit 402,
The inspection data generation circuits 403 to 432 are connected. The inspection data generation circuits 402 to 432 may have the configuration shown in FIG. That is, the EXOR 452 comes after the selector 461.

【0015】上記構成における自己検査回路において、
検査開始からの一連の検査動作を説明する。図1に示す
TEST信号により、被検査回路1が検査モードになると、
制御回路3からSEL1によりセレクタ5を、通常時の入力
信号線NIN から、テスト時の入力信号線201 〜232 に切
り替える。
In the self-inspection circuit having the above structure,
A series of inspection operations from the start of inspection will be described. Shown in Figure 1
When the circuit under test 1 enters the test mode by the TEST signal,
The selector 5 is switched from the input signal line NIN in the normal state to the input signal lines 201 to 232 in the test by the control circuit 3 and SEL1.

【0016】次に、制御回路3から、SEL2により、図3
の検査データ生成回路401 をSIN に、またその他の検査
データ生成回路402 〜432 を信号線SIN (S側入力、図
4参照)に切り替える。これにより図3のF/F1〜F/F32
が、32ビットシフトレジスタとして動作する状態にな
る。次に、制御回路3からSIN を通じて、32ビット"0"
"1"データを、CLK により、シリアル的にF/F1〜F/F32
に入力し確定する。この"0" と"1" のデータが、被検査
回路1を検査する一連の動作において、第一回目の検査
データとなる。なお、このとき入力する"0""1"データ
は、元々被検査回路1の構成が判っていることなので、
被検査回路1に想定される故障が判明するように、予め
決定しておくことができ、従って予め制御回路3内にそ
のデータを保持しておくことが可能である。
Next, from the control circuit 3 by SEL2, as shown in FIG.
The inspection data generation circuit 401 is switched to SIN, and the other inspection data generation circuits 402 to 432 are switched to signal line SIN (S side input, see FIG. 4). As a result, F / F1 to F / F32 in FIG.
However, it will be in the state of operating as a 32-bit shift register. Next, from control circuit 3 through SIN, 32-bit "0"
"1" data is serially output from F / F1 to F / F32 by CLK.
Enter and confirm. The data of "0" and "1" becomes the first inspection data in the series of operations for inspecting the circuit under inspection 1. In addition, since the configuration of the circuit under test 1 is originally known, the "0" and "1" data input at this time is
The data can be determined in advance so that the expected failure of the circuit under test 1 can be identified, and therefore the data can be held in the control circuit 3 in advance.

【0017】信号線SIN を通じてF/F1〜F/F32 に第一回
目の検査データが取り入れられ確定したのち、検査デー
タ生成回路401 を 101/FB側に、他の検査データ生成回
路402 〜432 を信号線102 〜132 (図4(b) のI側)に
切り替える。すなわち、F/F1はSIN が切り離されること
になり、以後一連の検査動作が終了するまで、制御回路
3と、検査回路2は切り離された状況となる。これによ
り、F/F1〜F/F32 が、線形フィードバックシフトレジス
タとして動作する状態になり、被検査回路1と検査回路
2とが接続されて検査をおこなう状態になる。
After the first inspection data is taken into the F / F1 to F / F32 through the signal line SIN and confirmed, the inspection data generation circuit 401 is connected to the 101 / FB side and the other inspection data generation circuits 402 to 432 are connected. Switch to the signal lines 102 to 132 (I side in FIG. 4B). That is, the SIN of the F / F1 is disconnected, and the control circuit 3 and the inspection circuit 2 are disconnected until a series of inspection operations are completed thereafter. As a result, the F / F1 to F / F32 are brought into a state where they operate as a linear feedback shift register, and the circuit under test 1 and the circuit under test 2 are connected to carry out the inspection.

【0018】この状態で第1回の検査を開始する。 (1) F/F1〜F/F32 に CLK信号が入力されると、先ほど確
定してF/F1〜F/F32 に保持されている第一回目の検査デ
ータが、信号線201 〜232 を通じて、パラレル的に被検
査回路1に入力される。この検査データに応じて被検査
回路1から、第一回目の検査結果(出力データ)が出力
され、信号線101 〜132 を通じてパラレル的に検査回路
2に入力される。ここまでを第1回の検査と呼ぶ。
In this state, the first inspection is started. (1) When the CLK signal is input to F / F1 to F / F32, the first inspection data, which has been confirmed and held in F / F1 to F / F32, is sent through signal lines 201 to 232. It is input to the circuit under test 1 in parallel. The circuit 1 to be inspected outputs the first inspection result (output data) according to the inspection data, and the signals are input to the inspection circuit 2 in parallel through the signal lines 101 to 132. The process up to this point is called the first inspection.

【0019】(2) 引き続き、第2回の検査を開始する。
F/F1〜F/F32 にCLK が入力されると、第1回の検査結果
と、F/F1〜F/F32 とから、検査データ生成回路401 〜43
2 内で新たに生成された、第二回目の検査データが、信
号線201 〜232 を通じて、パラレル的に被検査回路1に
入力される。この検査データに応じて被検査回路1か
ら、第2回の検査結果(出力データ)が出力され、信号
線101 〜132 を通じて検査回路2に入力される。ここま
でを第2回の検査と呼ぶ。
(2) Subsequently, the second inspection is started.
When CLK is input to F / F1 to F / F32, the inspection data generation circuits 401 to 43 are generated from the first inspection result and F / F1 to F / F32.
The second inspection data newly generated in 2 is input to the circuit under test 1 in parallel through the signal lines 201 to 232. The inspected circuit 1 outputs the second inspection result (output data) in accordance with the inspection data, and inputs the inspection result to the inspection circuit 2 through the signal lines 101 to 132. The process up to this point is called the second inspection.

【0020】(3) 以下同様にして第3回、第4回の検査
が、CLK 信号を与えることのみで自動的に行われる。
(3) In the same manner, the third and fourth inspections are automatically performed only by applying the CLK signal.

【0021】この過程が、被検査回路1内部の全故障を
検査するに十分な回数、n回に達するまで繰り返し実行
される。最終的な検査回数nの値、および、第1回の検
査データとしてF/F1〜F/F32 に取り込まれる値、および
被検査回路1が正常な場合の期待値は、被検査回路1の
構成が判っていることなので、被検査回路1の故障検出
を考慮した上、あらかじめ計算して求めておくことがで
きる。
This process is repeatedly executed a sufficient number of times to inspect all the faults in the circuit under test 1, up to n times. The final value of the number of times of inspection n, the value taken into F / F1 to F / F32 as the first inspection data, and the expected value when the circuit under test 1 is normal are the configuration of the circuit under test 1. Since it is known, it can be calculated in advance in consideration of the failure detection of the circuit under test 1.

【0022】第n回の検査が終了した後、制御回路3か
ら、SEL2により、検査データ生成回路401 の入力をSIN
に、検査データ生成回路402 〜432 の入力を信号線SIN
(および図4(b) のS) に切り替える。これにより、F/F
1〜F/F32 が、再び32ビットシフトレジスタとして動作
する状態になる。このF/F1〜F/F32 には被検査回路1の
最終出力データが保持されている。次にCLK により、F/
F1〜F/F32 内に保持されている"0""1"データを、SOUTを
通じてシリアル的に判定回路4に出力する。この"0""1"
データを最終検査結果と呼ぶ。
After the nth inspection is completed, the control circuit 3 causes the input of the inspection data generation circuit 401 to SIN by SEL2.
Input the inspection data generation circuits 402 to 432 to the signal line SIN
(And S in Fig. 4 (b)). By this, F / F
1 to F / F32 are ready to operate as 32-bit shift register again. The final output data of the circuit under test 1 is held in the F / F1 to F / F32. Next, by CLK, F /
The "0" and "1" data held in F1 to F / F32 are serially output to the determination circuit 4 through SOUT. This "0""1"
The data is called the final inspection result.

【0023】この最終検査結果は、被検査回路1の正常
/異常を反映したパターンとなる。すなわち、被検査回
路1が正常品のときには、最終検査結果はあらかじめ求
めておいた期待値と全く同一のデータとなる。もし被検
査回路1内部に不具合があれば、最終検査結果は期待値
とは異なった何れかのデータとなる。判定回路4は、制
御回路3から判定実行信号により、あらかじめ保持して
おいた期待値とSOUTからの出力を比較して、一致すれば
正常0を、不一致ならば異常1を出力し、被検査回路1
の検査を終了する。
The final inspection result is a pattern reflecting normality / abnormality of the circuit under test 1. That is, when the circuit under test 1 is a normal product, the final inspection result is exactly the same as the expected value obtained in advance. If there is a defect inside the circuit under test 1, the final inspection result will be any data different from the expected value. The determination circuit 4 compares the expected value held in advance with the output from SOUT in response to the determination execution signal from the control circuit 3, outputs normal 0 if they match, and outputs abnormal 1 if they do not match, and Circuit 1
Ends the inspection.

【0024】なお、被検査回路1は内部にレジスタを有
することもでき、その場合には外部クロックCLK を、検
査時にも被検査回路1内にも入力して、レジスタを動作
させつつ検査を行うこともできる。また、検査回路2に
おいて信号線101 〜132 の本数と、信号線201 〜232 の
本数は等しいが、信号線の本数が異なる場合にも、通用
することができる。そのような場合として例えば、図3
において、信号線が101 〜131 までのときには、信号線
132 を削除して、信号線132 が接続するEXOR332 を削
除すればよい。
The circuit under test 1 may have a register inside, and in that case, the external clock CLK is also input into the circuit under test 1 at the time of the test to carry out the test while operating the register. You can also Further, in the inspection circuit 2, the number of the signal lines 101 to 132 is equal to the number of the signal lines 201 to 232, but it can be applied even when the number of the signal lines is different. In such a case, for example, FIG.
When the signal lines are 101 to 131,
132 may be deleted and EXOR332 connected to the signal line 132 may be deleted.

【0025】同様に、信号線が201 〜231 までのときに
は、信号線232 を削除して、F/F32の出力をEXOR300
に接続する部分のみを残せばよい。さらに、被検査回路
1の入力信号線と出力信号線の本数はさまざまな場合が
考えられるが、この信号線の本数に応じて検査回路2を
構成するF/F の数も同様にさまざまなものが考えられ
る。いずれにしても、被検査回路1を検査するに足る十
分な数の検査データが出力されるように構成できれば対
応できる。
Similarly, when the signal lines are from 201 to 231, the signal line 232 is deleted and the output of the F / F32 is set to EXOR300.
You only need to leave the part connected to. Furthermore, the number of input signal lines and output signal lines of the circuit under test 1 may vary, but the number of F / Fs that make up the test circuit 2 also varies depending on the number of signal lines. Can be considered. In any case, it is possible to cope with the configuration so that a sufficient number of test data for testing the circuit under test 1 can be output.

【0026】また図1では、最終検査結果をSOUTを通じ
て出力するが、他に、検査終了時の信号線101 〜132 の
値を直接判定回路4にパラレル的に取り組む構成にして
も同様の効果が得られることはいうまでもない。
Although the final inspection result is output through SOUT in FIG. 1, the same effect can be obtained even if the values of the signal lines 101 to 132 at the end of the inspection are directly addressed to the determination circuit 4 in parallel. Needless to say, it can be obtained.

【0027】(第二実施例)第一実施例は、検査回路2
に第一回目の検査データを入力し確定させるため、SIN
からシリアル的に検査データを取り込んでいる例であっ
たが、初期値入力手段として、セットまたはリセット付
のF/F を用いても、同様に本発明が適用できる。この場
合の検査回路2の構成図を図6に示す。
(Second Embodiment) The inspection circuit 2 is used in the first embodiment.
To enter and confirm the first inspection data in
However, the present invention can be similarly applied even if the F / F with a set or reset is used as the initial value input means. A configuration diagram of the inspection circuit 2 in this case is shown in FIG.

【0028】図6の第二実施例において、検査回路2を
構成する要素であるF/F1〜F/F32 は、セットまたはリセ
ットいずれかの機能付きのF/F を用いている。各F/F は
制御回路3からのSR信号により、セット・リセットが行
われるようになっており、検査時には制御回路3から、
SR信号により各F/F に対して直接的に第一回目の検査デ
ータを確定させる。セット・リセット付きF/F は、予め
いずれか一方を選択してハード的に固定しておく。これ
は予めセットするべきデータが第一実施例と同様に決ま
っているからである。この場合、第一回目の検査データ
は検査時に変更できないが、初期値入力手段の構成がよ
り単純になり、図3、図4に示す検査データ生成回路中
のセレクタが不要となって回路が簡素化される。
In the second embodiment shown in FIG. 6, the F / F1 to F / F32, which are the constituent elements of the inspection circuit 2, are F / Fs with either a set or a reset function. Each F / F is set and reset by the SR signal from the control circuit 3, and at the time of inspection, the control circuit 3
The SR signal directly determines the first inspection data for each F / F. For the F / F with set / reset, select either one in advance and fix it in hardware. This is because the data to be set in advance is determined similarly to the first embodiment. In this case, the inspection data of the first time cannot be changed at the time of inspection, but the configuration of the initial value input means becomes simpler, and the selector in the inspection data generating circuit shown in FIGS. Be converted.

【0029】(第三実施例)第三実施例として、第二実
施例を具体的に実施する自己検査回路1000を示す。図7
に示すように、被検査回路1001、検査回路1002等による
構成で、検査回路1002として図8に示すLFSRによって、
図9の被検査回路1001を検査する場合を説明する。被検
査回路1001は論理演算回路であり、アンド回路やオア回
路から構成されていて、入力15ビット、出力 7ビットの
構成である。図8の検査回路1002は15個のセット付きF/
F からなり、F/F1〜F/F7の入力前段部に被検査回路1001
からの出力信号線1010〜1016とそれぞれのF/F1〜F/F7の
前段との間にEXORが設けられ、およびF/F15 からのフ
ィードバック線とF/F10 、F/F12 、F/F14 の出力との間
にEXORが入ってF/F1にフィードバックされている構成
である。なお、この場合の原始多項式はx14+x5 +x
3 +x+1である。この被検査回路1に対して以下のよ
うに検査が実施される。
(Third Embodiment) As a third embodiment, a self-inspection circuit 1000 for specifically implementing the second embodiment is shown. Figure 7
As shown in FIG. 8, the circuit to be inspected 1001, the circuit to be inspected 1002, etc., and the LFSR shown in FIG.
A case of inspecting the circuit under test 1001 of FIG. 9 will be described. The circuit under test 1001 is a logical operation circuit, is composed of an AND circuit and an OR circuit, and has a configuration of 15 bits for input and 7 bits for output. The inspection circuit 1002 in FIG. 8 has F / 15 with a set.
It consists of F, and the circuit under test 1001 is placed in front of the input of F / F1 to F / F7.
An EXOR is provided between the output signal lines 1010 to 1016 from the F / F1 to F / F7 and the feedback lines from the F / F15 to the F / F10, F / F12, and F / F14. In this configuration, EXOR is inserted between the output and F / F1. In this case, the primitive polynomial is x 14 + x 5 + x
3 + x + 1. The circuit 1 to be inspected is inspected as follows.

【0030】まず、テスト・イネーブル信号TEがHiにな
ると、被検査回路1001への通常の入力信号線NIN がスイ
ッチ回路1005(各信号線1020〜1034毎に15組設けられて
いる)によって切り離されると同時に、検査回路1002と
接続されて検査モードとなる。そしてその状態で、図7
に図示していない制御回路3から SET信号が1パルス出
され、検査回路1002の各セット・リセット付きF/F にデ
ータがセットされる。ここでは全てセットF/F で構成し
てあるので15ビットの"1・・1"(16進表記で7fff)がセ
ットされる。それを合図に最初のクロック信号(CLK) が
まず1パルス入ると、その状態から、検査回路1002にセ
ットされているデータ(7fff)が第一回目の検査データと
して被検査回路1001に出力される。その様子が第1ベク
トルとして図10に示してある。被検査回路1001は信号
がセットされると直ちに演算がなされ、第一回目の出力
データが出力信号線1010〜1016に出される。そして、次
のクロック信号でこの出力データ値が検査回路1002の検
査データ生成回路で新たな検査データ(7f82)(第2ベク
トル)として保持される。
First, when the test enable signal TE becomes Hi, the normal input signal line NIN to the circuit under test 1001 is disconnected by the switch circuit 1005 (15 sets are provided for each of the signal lines 1020 to 1034). At the same time, the inspection circuit 1002 is connected to enter the inspection mode. And in that state, FIG.
One pulse of the SET signal is output from the control circuit 3 (not shown), and data is set in each F / F with set / reset of the inspection circuit 1002. Since all of them are set F / F here, 15-bit "1 ... 1" (7fff in hexadecimal notation) is set. When the first clock signal (CLK) first enters one pulse as a signal, the data (7fff) set in the inspection circuit 1002 is output from the state to the inspected circuit 1001 as the first inspection data. . This is shown in FIG. 10 as the first vector. The circuit under test 1001 is operated immediately after the signal is set, and the first output data is output to the output signal lines 1010 to 1016. Then, at the next clock signal, this output data value is held as new inspection data (7f82) (second vector) by the inspection data generation circuit of the inspection circuit 1002.

【0031】以下クロック信号が入るごとに検査データ
が被検査回路1001に与えられて検査が実施され、次々に
検査データが更新される。この図9の論理演算回路(被
検査回路1001)に異常がなければ、第107ベクトルの
出力データで検査が完了することが予め計算で判ってい
るので、クロックが107回入力し終わった時点、即ち
108回目以降のクロックで、最終検査結果(5858)を判
定回路に出力する。
Each time a clock signal is input, inspection data is supplied to the circuit under inspection 1001 to perform inspection, and the inspection data is updated one after another. It is known in advance that the inspection is completed with the output data of the 107th vector if there is no abnormality in the logical operation circuit (circuit 1001 to be inspected) of FIG. 9, so when the clock is input 107 times, That is, the final inspection result (5858) is output to the determination circuit at the 108th clock and thereafter.

【0032】最終検査結果の出力は検査回路1002のSOUT
からシリアルデータとして出力される。即ち、続くクロ
ック毎にF/F15 に保持されるデータが出力されるので、
図11(e) に示すSOUTのチャートのように第107ベク
トル終了後の検査結果(5858)がシリアルデータとして出
力される。そして検査結果の全てのビットが出力された
時点でテストイネーブル信号をLoにして検査を完了す
る。なお、この検査回路1002では単純に検査結果(5858)
がSOUTから出力されるのではない。クロックごとに被検
査回路1001の演算が出力されて検査回路1002の信号線10
10〜1016に入力され、EXORで変化を与え続けるので、
SOUTから出されて判定回路に蓄えられるシリアルデータ
は必ずしも被検査回路1001の検査結果値(5858)が保持さ
れるとは限らない。しかし、最終的に判定回路に保持さ
れる値が期待値として予め判ることなので、検査の判定
には支障ない。図11(e) のSOUTのシリアルデータが、
図8の検査回路1002によっても検査結果の(5858)と同じ
(5858)が出力されているのは偶然に過ぎない。
The output of the final inspection result is SOUT of the inspection circuit 1002.
Is output as serial data from. That is, since the data held in F / F15 is output for each subsequent clock,
As in the SOUT chart shown in FIG. 11E, the inspection result (5858) after completion of the 107th vector is output as serial data. Then, when all the bits of the inspection result are output, the test enable signal is set to Lo to complete the inspection. The inspection circuit 1002 simply outputs the inspection result (5858).
Is not output from SOUT. The operation of the circuit under test 1001 is output every clock and the signal line 10 of the circuit under test 1002 is output.
It is input to 10 to 1016 and keeps changing with EXOR,
The serial data output from SOUT and stored in the determination circuit does not always hold the inspection result value (5858) of the circuit under test 1001. However, since the value finally held in the judgment circuit is known beforehand as the expected value, there is no problem in the judgment of the inspection. The serial data of SOUT in Fig. 11 (e) is
The same as (5858) of the inspection result by the inspection circuit 1002 of FIG.
(5858) is output only by accident.

【0033】ここで欠陥がある場合の挙動について説明
する。例えば被検査回路1001に欠陥があったとして、図
10(a')の信号線データに示すように、第97ベクトル
を与えた時点で検査結果に異常を示すデータが現れたと
すると、正常な場合にはその検査結果が(0e0d)となるは
ずの所が、欠陥によって(0e06)となったとすると、この
変化した検査結果が、次の検査データとして被検査回路
1001に与えられていくため、変化した影響がそのまま最
終の第107ベクトルまで残り、最終検査結果が正常時
とは異なった結果(図10では2839)となる。従って被
検査回路1001の異常が判別される。この検査結果値が途
中で正常な値に戻ってしまう確率は極めて小さく、また
予め計算でそのような不都合をある程度推定することが
できるので、初期値を適切に設定することで避けること
ができ、検査に影響することはない。
The behavior when there is a defect will now be described. For example, assuming that the circuit under test 1001 has a defect, as shown in the signal line data of FIG. 10 (a '), if data indicating an abnormality appears in the inspection result at the time when the 97th vector is given, the case is normal. If the inspection result is supposed to be (0e0d), but it becomes (0e06) due to a defect, this changed inspection result will be the next inspection data as the circuit under test.
Since it is given to 1001, the changed influence remains as it is up to the final 107th vector, and the final inspection result is a result different from that at the normal time (2839 in FIG. 10). Therefore, the abnormality of the circuit under test 1001 is determined. The probability that this inspection result value will return to a normal value on the way is extremely small, and since such an inconvenience can be estimated to some extent in advance, it can be avoided by setting the initial value appropriately, It does not affect the inspection.

【0034】検査結果の判定としては上記の他にも、検
査結果がF/F に保持された状態で、図7に示すように被
検査回路1001の出力NOUTにも値として出ていることか
ら、検査結果値(5858)を読み取ることができ、この値で
判定しても良い。
In addition to the above, as the judgment of the inspection result, since the inspection result is held in F / F, it is also output as a value to the output NOUT of the circuit under inspection 1001 as shown in FIG. The inspection result value (5858) can be read, and this value may be used for the determination.

【0035】(第四実施例)第四実施例では、図12に
示すように、被検査回路71はスキャンパス機能を有
し、被検査回路71のレジスタ76、77(簡単のため
F/F で図示してある)にはTEST信号・SCAN-IN 信号が入
力されて、SCAN-OUT信号が出力されるように信号線が接
続される構成としてある。この場合、TEST信号により、
被検査回路71が検査モードになると、外部スキャンイ
ン入力SCAN-IN から所定のデータを入力してレジスタ7
6や77をシフトレジスタとして動作させ、また、外部
スキャンアウト出力SCAN-OUTからレジスタ76や77の
値を取り出すように構成し、被検査回路71の検査を容
易におこなうことができる。このように検査回路72か
らの信号では検査しにくい被検査回路71でも、予め検
査し易いようにわずかな信号線を設けておくことでLS
Iの検査が実施される。検査自体の作動は前述に説明し
た実施例と同様である。なお通常の使用時の信号は図1
2に示すNIN およびNOUTを流れる。
(Fourth Embodiment) In the fourth embodiment, as shown in FIG. 12, the circuit under test 71 has a scan path function, and the registers 76, 77 of the circuit under test 71 (for simplicity) are shown.
The signal line is connected so that the TEST signal and the SCAN-IN signal are input to the F / F) and the SCAN-OUT signal is output. In this case, the TEST signal
When the circuit under test 71 enters the test mode, predetermined data is input from the external scan-in input SCAN-IN to register 7
6 and 77 are operated as a shift register, and the values of the registers 76 and 77 are taken out from the external scan-out output SCAN-OUT, so that the circuit under test 71 can be easily inspected. As described above, even in the circuit under test 71 which is difficult to be inspected by the signal from the inspection circuit 72, by providing a small number of signal lines in advance so as to facilitate the inspection, the LS
Inspection of I is performed. The operation of the inspection itself is the same as that of the embodiment described above. The signal during normal use is shown in Fig. 1.
It flows through NIN and NOUT shown in 2.

【0036】(第五実施例)第五実施例でも第四実施例
と同じような考え方で、図13に示すように、被検査回
路81の内部にある信号線 101〜132 の内、テスト可観
測性の低い信号線132 を、直接検査回路82に接続でき
る構成(例えば多入力AND ゲートの前)にして、検査を
容易におこなうことができる。さらに、被検査回路81
の内部にある信号線のうち、テスト可制御性の低い信号
線に対し、検査時に入力信号線232 を直接検査回路に入
力できる構成(例えば多入力AND ゲートの後)にして、
検査を容易におこなうことができる。この場合、検査モ
ードになるとTEST信号により信号線232 を選択するよう
な、切り替え手段(図8)を付加しておき、通常使用時
の信号線から切り替えることによって、検査をおこな
う。従ってこのような可観測性の低い要素を有する被検
査回路でも充分検査対象とでき、検査の効率を上げるこ
とができる。
(Fifth Embodiment) In the fifth embodiment, as in the fourth embodiment, as shown in FIG. 13, one of the signal lines 101 to 132 inside the circuit under test 81 can be tested. The signal line 132 having low observability can be directly connected to the inspection circuit 82 (for example, before the multi-input AND gate) to easily perform the inspection. Furthermore, the circuit under test 81
Among the signal lines inside the, for the signal lines with low test controllability, the input signal line 232 can be directly input to the inspection circuit during inspection (for example, after the multi-input AND gate),
The inspection can be performed easily. In this case, a switching means (FIG. 8) is added so that the signal line 232 is selected by the TEST signal in the inspection mode, and the inspection is performed by switching from the signal line for normal use. Therefore, even a circuit to be inspected having such an element with low observability can be sufficiently inspected and the efficiency of inspection can be improved.

【0037】(第六実施例)この実施例では、図14に
示すように、検査時に、LSI が本来具備する内部バス9
7に、信号線601 〜632 および信号線501 〜532 を介し
て検査回路94を接続する構成とする。検査時には、制
御回路95が、LSI に含まれる一つ以上の被検査回路に
含まれる、LSI が本来具備する接続回路を制御して、例
えば第1の被検査回路91と内部バス97を接続する。
次に、検査回路94から、第一実施例と同様の方法で、
被検査回路91の検査を実行する。同様にして、被検査
回路92、被検査回路93の検査を順次おこなう。なお
本実施例において、被検査回路91〜93に用いられて
いる接続回路は、検査時に検査データの信号を選択す
る、選択手段として動作する。このような構成である
と、特に内部バス97に接続する部分と制御回路95か
ら各被検査回路への制御線98の部分で切り離すことが
可能なことから、検査回路94及び制御回路95、判定
回路96を外部構成(例えばLSI検査用プローブ)と
することが容易であり、かつ検査が迅速に実施されるこ
とが可能である。
(Sixth Embodiment) In this embodiment, as shown in FIG. 14, at the time of inspection, the internal bus 9 originally included in the LSI is provided.
7, the inspection circuit 94 is connected via signal lines 601 to 632 and signal lines 501 to 532. At the time of inspection, the control circuit 95 controls a connection circuit originally included in the LSI included in one or more circuits to be inspected included in the LSI to connect, for example, the first circuit 91 to be inspected and the internal bus 97. .
Next, from the inspection circuit 94, in the same manner as in the first embodiment,
The circuit under test 91 is inspected. Similarly, the circuit under test 92 and the circuit under test 93 are sequentially tested. In this embodiment, the connection circuits used in the circuits under test 91 to 93 operate as a selection unit that selects a signal of the inspection data at the time of inspection. With such a configuration, it is possible to separate the connection to the internal bus 97 and the control line 98 from the control circuit 95 to each circuit to be inspected. It is easy to form the circuit 96 into an external configuration (for example, an LSI inspection probe), and the inspection can be performed quickly.

【0038】以上の各実施例に示すように、本発明の構
成よりなるLSIの自己検査回路によれば、即ち、被検
査回路の出力を検査回路に入力し、この検査回路の出力
に基づき被検査回路に入力する新たな検査データを生成
し、この検査回路にて生成された検査データを被検査回
路に入力し、生成した検査データに基づき被検査回路の
検査を行うことで、検査に必要なデータ量を大幅に減少
させることができるので、テストの質を損なうことな
く、自己検査回路を容易に構成できると同時に、そのた
めの回路面積を減少させることができるという効果があ
る。また外部からそのような自己検査回路を接続するこ
とでも検査は簡便に実施できる。
As shown in each of the above embodiments, according to the self-inspection circuit of the LSI having the configuration of the present invention, that is, the output of the circuit to be inspected is input to the inspection circuit, and the output of the inspected circuit is used for the inspection. Necessary for inspection by generating new inspection data to be input to the inspection circuit, inputting the inspection data generated by this inspection circuit to the inspected circuit, and inspecting the inspected circuit based on the generated inspection data. Since it is possible to significantly reduce the amount of required data, it is possible to easily configure the self-test circuit without deteriorating the quality of the test, and at the same time, it is possible to reduce the circuit area for that purpose. The inspection can also be easily performed by connecting such a self-inspection circuit from the outside.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の第1実施例を示す構成図である。FIG. 1 is a configuration diagram showing a first embodiment of the present invention.

【図2】従来の技術を示す構成図である。FIG. 2 is a configuration diagram showing a conventional technique.

【図3】被検査回路の一例を示す構成図である。FIG. 3 is a configuration diagram showing an example of a circuit under test.

【図4】本発明の検査データ生成手段の一例を示す構成
図である。
FIG. 4 is a configuration diagram showing an example of inspection data generating means of the present invention.

【図5】本発明の検査データ生成手段の一例を示す構成
図である。
FIG. 5 is a configuration diagram showing an example of inspection data generating means of the present invention.

【図6】本発明の第二実施例を示す構成図である。FIG. 6 is a configuration diagram showing a second embodiment of the present invention.

【図7】本発明の第三実施例を示す構成図である。FIG. 7 is a configuration diagram showing a third embodiment of the present invention.

【図8】第三実施例の検査回路1002を示す構成図であ
る。
FIG. 8 is a configuration diagram showing an inspection circuit 1002 of a third embodiment.

【図9】第三実施例の被検査回路1001を示す構成図であ
る。
FIG. 9 is a configuration diagram showing a circuit under test 1001 of a third embodiment.

【図10】第三実施例の検査時の動作チャート図であ
る。
FIG. 10 is an operation chart diagram at the time of inspection of the third embodiment.

【図11】第三実施例の検査終了後の動作チャート図で
ある。
FIG. 11 is an operation chart diagram after the inspection of the third embodiment.

【図12】本発明の第四実施例を示す構成図である。FIG. 12 is a configuration diagram showing a fourth embodiment of the present invention.

【図13】本発明の第五実施例を示す構成図である。FIG. 13 is a configuration diagram showing a fifth embodiment of the present invention.

【図14】本発明の第六実施例を示す構成図である。FIG. 14 is a configuration diagram showing a sixth embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 被検査回路 2 検査回路 3 制御回路 4 判定回路 5 セレクタ 101〜132 被検査回路の出力信号線 201〜232 検査回路の検査データ出力線(被検査
回路の入力信号線) 300 イクスクルーシブオア(EXOR) 401〜432 検査データ生成回路(検査データ生成
手段) F/F1〜F/F32 フリップフロップ 450、451、452 イクスクルーシブオア(EXO
R) 71、81 被検査回路 72、82 検査回路 73、83 制御回路 74、84 判定回路 75、85 セレクタ 76、77 レジスタ 91、92、93 被検査回路 94 検査回路 95 制御回路 96 判定回路 97 内部バス 98 制御線 501〜532 入力信号線 601〜632 出力信号線 1000 自己検査回路 1001 被検査回路 1002 検査回路 1010〜1016 被検査回路出力信号線 1020〜1034 被検査回路入力信号線 1005、1006 スイッチ回路
DESCRIPTION OF SYMBOLS 1 inspected circuit 2 inspecting circuit 3 control circuit 4 determination circuit 5 selectors 101 to 132 output signal lines 201 to 232 inspected circuit inspected data output line of inspected circuit (input signal line of inspected circuit) 300 exclusive OR ( EXOR) 401 to 432 Inspection data generating circuit (inspection data generating means) F / F1 to F / F32 Flip-flops 450, 451, 452 Exclusive OR (EXO)
R) 71, 81 Tested circuit 72, 82 Tested circuit 73, 83 Control circuit 74, 84 Judgment circuit 75, 85 Selector 76, 77 Register 91, 92, 93 Tested circuit 94 Test circuit 95 Control circuit 96 Judgment circuit 97 Internal Bus 98 Control line 501 to 532 Input signal line 601 to 632 Output signal line 1000 Self-test circuit 1001 Tested circuit 1002 Test circuit 1010 to 1016 Tested circuit output signal line 1020 to 1034 Tested circuit input signal line 1005, 1006 Switch circuit

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】半導体集積回路である被検査回路1を検査
するための検査データを被検査回路1に出力するデータ
出力機能と、前記被検査回路1から出力される出力デー
タを基にして新たな検査データを自動的に生成するデー
タ生成機能と、さらに一連の検査の開始時において第一
回目の検査データのみを取り入れ確定させる初期値入力
手段とからなる検査回路2と、 通常使用時の入力信号もしくは検査時の前記検査回路2
の検査データのいずれかを選択する選択手段と、 所定回数検査を繰り返した検査終了時の、前記検査回路
2の出力する検査データに基づき、該被検査回路1の正
常異常を判定する判定回路4と、 検査時に、前記検査回路2と、前記初期値入力手段と、
前記選択手段と、前記判定回路4とを制御する制御回路
3と、を備え、 前記検査回路2は、 線形フィードバックシフトレジスタと、 前記被検査回路1の出力データと該線形フィードバック
シフトレジスタとから新たな検査データを自動的に生成
する検査データ生成手段と、から構成される半導体集積
回路の自己検査回路。
1. A data output function for outputting inspection data for inspecting a circuit under test 1 which is a semiconductor integrated circuit to the circuit under test 1, and a new data output function based on the output data output from the circuit under test 1. Data generating function for automatically generating various inspection data, and an inspection circuit 2 including an initial value input means for accepting and confirming only the first inspection data at the start of a series of inspections, and an input for normal use The inspection circuit 2 at the time of signal or inspection
Of the inspection data, and a determination circuit 4 for determining whether the circuit under test 1 is normal or abnormal based on the inspection data output by the inspection circuit 2 at the end of the inspection after repeating the inspection a predetermined number of times. During the inspection, the inspection circuit 2, the initial value input means,
The inspection circuit 2 includes: a selection circuit; and a control circuit 3 that controls the determination circuit 4. The inspection circuit 2 includes a linear feedback shift register, output data of the circuit under test 1 and the linear feedback shift register. Self-inspection circuit for a semiconductor integrated circuit, comprising: inspection data generating means for automatically generating various inspection data.
【請求項2】前記検査データ生成手段が、 前記線形フィードバックシフトレジスタの各フリップフ
ロップの入力に対し、エクスクルーシブオアを用いて前
記被検査回路1の出力データを入力する構成であること
を特徴とする請求項1に記載の半導体集積回路の自己検
査回路。
2. The test data generating means is configured to input the output data of the circuit under test 1 using an exclusive OR to the input of each flip-flop of the linear feedback shift register. The self-inspection circuit for a semiconductor integrated circuit according to claim 1.
【請求項3】前記検査データ生成手段は、 前記線形フィードバックシフトレジスタの第一段目のフ
リップフロップに前記第一回目の検査データが入力され
るか、前記被検査回路1の出力データが入力されるか、
を選択するセレクタから構成される請求項3に記載の半
導体集積回路の自己検査回路。
3. The inspection data generating means receives the first inspection data or the output data of the circuit to be inspected 1 into a first stage flip-flop of the linear feedback shift register. Ruka,
The self-inspection circuit for a semiconductor integrated circuit according to claim 3, wherein the self-inspection circuit comprises a selector for selecting.
【請求項4】前記セレクタは、 前記第一回目の検査データが取り込まれ確定したのち、
該第一回目の検査データを入力する線の接続を切り離す
機能を有することを特徴とする請求項4記載の半導体集
積回路の自己検査回路。
4. The selector, after the first inspection data is fetched and confirmed,
5. The self-inspection circuit for a semiconductor integrated circuit according to claim 4, wherein the self-inspection circuit has a function of disconnecting a connection of a line for inputting the first inspection data.
【請求項5】前記初期値入力手段は、 シフトレジスタを用いて、前記第一回目の検査データの
みをシリアルに取り入れ確定させる、特徴をもつ請求項
1記載の半導体集積回路の自己検査回路。
5. The self-inspection circuit for a semiconductor integrated circuit according to claim 1, wherein the initial value input means uses a shift register to serially take in and determine only the first-time inspection data.
【請求項6】前記判定回路4は、 正常な前記被検査回路1に対して前記検査回路2から出
力されるべき検査結果である、予め求めておいた期待値
と、 実際に実施された検査結果と前記期待値とを比較し、前
記被検査回路1の正常、異常を判定する比較回路と、か
ら構成される請求項1記載の半導体集積回路の自己検査
回路。
6. The judgment circuit 4 is a test result to be output from the inspection circuit 2 to the normal circuit 1 to be inspected, an expected value obtained in advance, and an actually performed inspection. 2. The self-inspection circuit for a semiconductor integrated circuit according to claim 1, further comprising: a comparison circuit that compares a result with the expected value to determine whether the circuit under test 1 is normal or abnormal.
【請求項7】前記被検査回路1、前記検査回路2、前記
制御回路3、および前記判定回路4が1チップ上に形成
されていることを特徴とする請求項1記載の半導体集積
回路の自己検査回路。
7. The semiconductor integrated circuit according to claim 1, wherein the circuit to be inspected 1, the inspection circuit 2, the control circuit 3, and the determination circuit 4 are formed on one chip. Inspection circuit.
JP6110317A 1993-11-08 1994-04-25 Self inspecting circuit for semiconductor integrated circuit Pending JPH07294606A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP6110317A JPH07294606A (en) 1994-04-25 1994-04-25 Self inspecting circuit for semiconductor integrated circuit
US08/337,826 US5619512A (en) 1993-11-08 1994-11-08 Integrated circuit having self-testing function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6110317A JPH07294606A (en) 1994-04-25 1994-04-25 Self inspecting circuit for semiconductor integrated circuit

Publications (1)

Publication Number Publication Date
JPH07294606A true JPH07294606A (en) 1995-11-10

Family

ID=14532660

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6110317A Pending JPH07294606A (en) 1993-11-08 1994-04-25 Self inspecting circuit for semiconductor integrated circuit

Country Status (1)

Country Link
JP (1) JPH07294606A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6202184B1 (en) 1997-07-25 2001-03-13 Nec Corporation Semiconductor integrated circuit device
JP2008157860A (en) * 2006-12-26 2008-07-10 Nec Computertechno Ltd Logic bist circuit and modulo circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6202184B1 (en) 1997-07-25 2001-03-13 Nec Corporation Semiconductor integrated circuit device
JP2008157860A (en) * 2006-12-26 2008-07-10 Nec Computertechno Ltd Logic bist circuit and modulo circuit

Similar Documents

Publication Publication Date Title
US5349587A (en) Multiple clock rate test apparatus for testing digital systems
EP1943533B1 (en) Ic testing methods and apparatus
US7266746B2 (en) Device and method for testing integrated circuit
US5365528A (en) Method for testing delay faults in non-scan sequential circuits
KR100735585B1 (en) Semiconductor circuit apparatus and scan test method for semiconductor circuit
US6735730B1 (en) Integrated circuit with design for testability and method for designing the same
US6427218B2 (en) Method of generating test pattern for semiconductor integrated circuit and method of testing the same
JP3339479B2 (en) Clock control circuit and method
JPH07294606A (en) Self inspecting circuit for semiconductor integrated circuit
US5130989A (en) Serial and parallel scan technique for improved testing of systolic arrays
JPH07270494A (en) Integrated circuit device
US5710711A (en) Method and integrated circuit adapted for partial scan testability
JP4610919B2 (en) Semiconductor integrated circuit device
JPH05119122A (en) Formation of test pattern of scanning circuit
JP3594582B2 (en) Semiconductor device
JP3178190B2 (en) Semiconductor integrated circuit
JP4650928B2 (en) Scan flip-flop circuit, scan test circuit and test design method using the same
JP2002005998A (en) Testing method and testing circuit for integrated circuit
JPH112664A (en) Boundary scan register
JPH11271401A (en) Scan test circuit
JP3970088B2 (en) Test circuit
KR20050051856A (en) Semiconductor device having a scan chain for debugging and debugging method using the scan chain
Ziaja Using LSSD to test modules at the board level
JP2000338188A (en) Testing circuit for semiconductor integrated circuit
JPH10339762A (en) Test circuit of digital logic circuit