JPH10170609A - Logic integrated circuit - Google Patents

Logic integrated circuit

Info

Publication number
JPH10170609A
JPH10170609A JP8352319A JP35231996A JPH10170609A JP H10170609 A JPH10170609 A JP H10170609A JP 8352319 A JP8352319 A JP 8352319A JP 35231996 A JP35231996 A JP 35231996A JP H10170609 A JPH10170609 A JP H10170609A
Authority
JP
Japan
Prior art keywords
flip
shift
clock
circuit
flop
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.)
Granted
Application number
JP8352319A
Other languages
Japanese (ja)
Other versions
JP3196013B2 (en
Inventor
Keisuke Kadowaki
圭介 門脇
Yasushi Kono
安志 河野
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP35231996A priority Critical patent/JP3196013B2/en
Publication of JPH10170609A publication Critical patent/JPH10170609A/en
Application granted granted Critical
Publication of JP3196013B2 publication Critical patent/JP3196013B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a logic integrated circuit which does not cause correlation in which relation between test pattern signals entered into an inspected object is always constant, and detects larger number of troubles. SOLUTION: This circuit includes an inspected circuit assembly 104 having a plurality of shift resistors in which an inspected circuit is connected to a plurality of flip-flops, and a random number pattern generator 101 and a code compressor 102 which consist of linear feedback shift resistors. A clock dividing circuit 103 is combined in a tested LSI in which the inspected circuit assembly 104, the random number pattern generator 101, and the code compressor 102 are connected each other using scan chains 105, 106, and the shift clock which is impressed to the random number pattern generator 101 is also impressed to the clock dividing circuit. The clock dividing circuit changes the period of the shift clock into, for example 1/2, 1/4, 1/8, according to signals entered from a clock control pin, and impresses it to the code compressor 102 and the plural shift resistors.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は論理集積回路に係り、特
に、自己テストを可能にする構成を組み込まれた論理集
積回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a logic integrated circuit, and more particularly, to a logic integrated circuit having a configuration enabling a self test.

【0002】[0002]

【従来の技術】近年、論理回路の大規模化にともない入
力テストパタン数が膨大な数に達すると予想され、テス
タに格納するテストデータの限界値を超えるものと予想
される。この問題に対処するためにスキャン設計された
LSIをより効率的に検査する方法として、テストのた
めの実行制御回路を被テスト回路の内部に組み込んでテ
ストを行うBIST方式を適用する。
2. Description of the Related Art In recent years, the number of input test patterns is expected to reach an enormous number with an increase in the scale of a logic circuit, and is expected to exceed the limit value of test data stored in a tester. To address this problem, as a method for more efficiently inspecting a scan-designed LSI, a BIST method in which a test is performed by incorporating an execution control circuit for testing inside a circuit under test is applied.

【0003】図4にBISTの概念図を示す。BIST
ではスキャン設計された被検査回路402に大量のパタ
ンを与えるための疑似乱数テストパタン発生器401、
出力応答系列を圧縮し最終符号でのみの比較で良否判定
するための、符号圧縮器403より構成される。通常、
パタン発生器、パタン圧縮器には線形フィードバックシ
フトレジスタ(Linear Feedback Sh
ift Register 以下LFSRと略す)を用
いる。LFSRを用いたパタン発生器ではすべて0を除
くすべてのパタンを疑似ランダム的に発生することが可
能である。LFSRを利用した疑似乱数パタン発生器
(Random PatternGenerater
以下RPGと略す)の例を図2に、多入力線形フィード
バックレジスタ(Multi Input Signa
ture Register 以下MISRと略す)の
例を図3に示す。
FIG. 4 is a conceptual diagram of a BIST. BIST
Now, a pseudo-random number test pattern generator 401 for giving a large amount of patterns to the circuit under test 402 designed for scanning,
It is composed of a code compressor 403 for compressing the output response sequence and judging pass / fail by comparing only the final code. Normal,
The pattern generator and the pattern compressor include a linear feedback shift register (Linear Feedback Sh).
if Register (hereinafter abbreviated as LFSR). The pattern generator using the LFSR can generate all patterns except for all 0s in a pseudo-random manner. Pseudo random number pattern generator using LFSR (Random Pattern Generator)
FIG. 2 shows an example of an RPG (hereinafter abbreviated as RPG).
FIG. 3 shows an example of a “Ture Register” (hereinafter abbreviated as MISR).

【0004】次に、上記従来のBISTにおける疑似乱
数テストパタン発生器、被検査回路、符号圧縮器におい
て行われるテスト処理について、図18、図8、図9を
用いてその概略を説明する。図18は検査対象LSIの
構成を示す図であり。検査対象LSIは、RPG10
1、MISR102および被検査回路104を備えてい
る。RPG101の各レジスタからの出力はスキャンチ
ェイン105で被検査回路104に与えられ、被検査回
路104内の複数のフリップフロップを連結して構成さ
れた複数のシフトレジスタにテストパタンをスキャンイ
ンする。テスト終了時に被検査回路104内の検査出力
は上記シフトレジスタを構成する各フリップフロップに
書き込まれ、フリップフロップに格納されたテスト結果
は順次シフトされ、スキャンチェイン106を通してス
キャンアウトされ、MISR102に格納され、MIS
R102により圧縮符号化される。107はクロック信
号であり、RPG101、MISR102および被検査
回路104内の各シフトレジスタに与えられる。
Next, an outline of test processing performed in the above-mentioned conventional BIST in the pseudo random number test pattern generator, the circuit under test, and the code compressor will be described with reference to FIGS. 18, 8 and 9. FIG. 18 is a diagram showing the configuration of the LSI to be inspected. The LSI to be tested is RPG10
1, a MISR 102 and a circuit under test 104. The output from each register of the RPG 101 is given to a circuit under test 104 by a scan chain 105, and scans a test pattern into a plurality of shift registers formed by connecting a plurality of flip-flops in the circuit under test 104. At the end of the test, the test output in the circuit under test 104 is written to each flip-flop constituting the shift register, and the test results stored in the flip-flop are sequentially shifted, scanned out through the scan chain 106, and stored in the MISR 102. , MIS
It is compression-coded by R102. Reference numeral 107 denotes a clock signal, which is supplied to the RPG 101, the MISR 102, and each shift register in the circuit under test 104.

【0005】次にテスト手順を説明する。RPG、MI
SRおよび被検査回路の各シフトレジスタには同じクロ
ック信号107が印加される。すなわち、シフトクロッ
クは同じタイミングでRPG、MISRおよび被検査回
路をシフトスキャンして行く。このクロックタイミング
で疑似乱数パタンを入力したときのRPG、複数のフリ
ップフロップからなるシフトレジスタにスキャンインし
ているデータの状態変移を図8、図9を参照して説明す
る。図8は、RPG、MISRおよび被検査回路に同じ
シフトクロックを印加した場合のRPG、フリップフロ
ップのスキャンインデータの状態遷移図である。
Next, a test procedure will be described. RPG, MI
The same clock signal 107 is applied to the SR and each shift register of the circuit under test. That is, the shift clock shift-scans the RPG, the MISR and the circuit under test at the same timing. The transition of the state of the data scanned in the RPG and the shift register including a plurality of flip-flops when a pseudo random number pattern is input at this clock timing will be described with reference to FIGS. FIG. 8 is a state transition diagram of the scan-in data of the RPG and the flip-flop when the same shift clock is applied to the RPG, the MISR and the circuit under test.

【0006】図9は、被検査回路の概略内部構成を示す
図である。なお、図9は、疑似乱数パタンの被検査回路
への印加に関する構成を中心に示しており、被検査回路
からMISRへの出力に関する構成については省略して
ある。
FIG. 9 is a diagram showing a schematic internal configuration of a circuit under test. FIG. 9 mainly shows a configuration relating to the application of the pseudo random number pattern to the circuit under test, and omits the configuration relating to the output from the circuit under test to the MISR.

【0007】図8に示す概略図では、RPGがレジスタ
801、レジスタ802、レジスタ803、レジスタ8
04、レジスタ805、レジスタ806で構成されてい
る。レジスタ801は、スキャンチェイン871により
フリップフロップ811、812、813、814、8
15、816からなるシフトレジスタに連結されてい
る。レジスタ802は、スキャンチェイン872により
フリップフロップ821、822、823、824、8
25、826からなるシフトレジスタに連結されてい
る。レジスタ803は、スキャンチェイン873により
フリップフロップ831、832、833、834、8
35、836からなるシフトレジスタに連結されてい
る。レジスタ804は、スキャンチェイン874により
フリップフロップ841、842、843、844、8
45、846からなるシフトレジスタに連結されてい
る。レジスタ805は、スキャンチェイン875により
フリップフロップ851、852、853、854、8
55、856からなるシフトレジスタに連結されてい
る。レジスタ806、はスキャンチェイン876により
フリップフロップ861、862、863、864、8
65、866からなるシフトレジスタに連結されてい
る。
In the schematic diagram shown in FIG. 8, the RPG is a register 801, a register 802, a register 803, a register 8
04, a register 805, and a register 806. The register 801 stores the flip-flops 811, 812, 813, 814, 8 by the scan chain 871.
15, 816. The register 802 stores the flip-flops 821, 822, 823, 824, 8 by the scan chain 872.
25,826. The register 803 stores the flip-flops 831, 832, 833, 834, and 8 by the scan chain 873.
35, 836. The register 804 stores the flip-flops 841, 842, 843, 844, 8 by the scan chain 874.
45 and 846. The register 805 stores the flip-flops 851, 852, 853, 854, 8 by the scan chain 875.
55 and 856 are connected to the shift register. The register 806 is connected to flip-flops 861, 862, 863, 864, 8 by a scan chain 876.
65 and 866.

【0008】(1)は一回目の疑似乱数パタン発生時の
状態である。RPG、MISR、スキャンチェインのシ
フトクロックが同一であるため、レジスタ801で発生
した入力パタンはそのまま、フリップフロップ811に
スキャンインされる。(2)は二回目疑似乱数パタン発
生時の状態である。レジスタ801に格納してあったテ
ストパタンはレジスタ802にシフトされ、レジスタ8
01にはあらたに発生した疑似乱数パタンを格納され
る。同様に、フリップフロップ811に格納してあった
スキャンインデータもフリップフロップ812にスキャ
ンインされ(シフトされ)、フリップフロップ821に
も、レジスタ802のデータがスキャンインされる。こ
の作業を順次繰り返し複数のシフトレジスタの各フリッ
プフロップにテストパタンをスキャンインしていく。以
上の作業を6回繰り返した状態を(6)に示す。
(1) is a state at the time of the first pseudo random number pattern generation. Since the shift clocks of the RPG, the MISR, and the scan chain are the same, the input pattern generated in the register 801 is scanned into the flip-flop 811 as it is. (2) is a state when the second pseudo random number pattern is generated. The test pattern stored in the register 801 is shifted to the register 802,
01 stores a newly generated pseudo random number pattern. Similarly, the scan-in data stored in the flip-flop 811 is also scanned in (shifted) into the flip-flop 812, and the data in the register 802 is also scanned into the flip-flop 821. This operation is sequentially repeated, and the test pattern is scanned into each flip-flop of the plurality of shift registers. A state where the above operation is repeated six times is shown in (6).

【0009】次に、図8に関連させて図9の説明をす
る。図9において、フリップフロップ811、812、
813、……からなるシフトレジスタは図8のフリップ
フロップ811〜816からなるシフトレジスタに対応
し、フリップフロップ811はRPGのレジスタ801
から乱数データをスキャンインされる。フリップフロッ
プ811、812、813、……を接続している点線は
乱数データが順次シフトされて行くことを示す。また各
フリップフロップの出力は検査対象回路に入力される。
フリップフロップ821、822、823、……、フリ
ップフロップ831、832、833、……、フリップ
フロップ851、852、853、……についても同様
である。RPGからの乱数データは順次各フリップフロ
ップを介して検査対象回路に入力され、ある時点で検査
対象回路の出力は上記各フリップフロップに格納され
る。なお、検査対象回路の出力を各フリップフロップに
格納するための接続については図面上省略されている。
各フリップフロップに格納された検査対象回路の出力は
シフトクロックによりシフトレジスタ上をシフトされ、
MISRに入力される。同時にRPGからの乱数データ
も順次各フリップフロップにシフトクロックにより入力
され、検査対象回路に入力されて行く。
Next, FIG. 9 will be described with reference to FIG. In FIG. 9, flip-flops 811, 812,
.. Correspond to the shift register composed of flip-flops 811 to 816 in FIG. 8, and the flip-flop 811 is a register 801 of the RPG.
Scans in random number data. Dotted lines connecting the flip-flops 811, 812, 813,... Indicate that random number data is sequentially shifted. The output of each flip-flop is input to the circuit to be inspected.
The same applies to flip-flops 821, 822, 823,..., Flip-flops 831, 832, 833,..., Flip-flops 851, 852, 853,. The random number data from the RPG is sequentially input to the circuit under test via each flip-flop, and at a certain point in time, the output of the circuit under test is stored in each of the flip-flops. The connection for storing the output of the inspection target circuit in each flip-flop is omitted in the drawing.
The output of the circuit under test stored in each flip-flop is shifted on the shift register by the shift clock,
Input to MISR. At the same time, the random number data from the RPG is sequentially input to each flip-flop by the shift clock, and is input to the inspection target circuit.

【0010】次に、RPG内の隣接したレジスタにスキ
ャンチェインで結ばれている各シフトレジスタのフリッ
プフロップのスキャンインデータ間に一定の相関が発生
すること、そして、この相関により検査対象回路におけ
る故障の検出が不可能になることについて説明する。図
8の(6)をみればRPG、MISR、フリップフロッ
プのシフトクロックを同じタイミングで入力したとき
に、RPG内の隣接したレジスタにスキャンチェインで
結ばれている各シフトレジスタのフリップフロップのス
キャンインデータ間に一定した右上がりに相関が発生し
ていることが分かる。ここで、例としてレジスタ80
1、802、803に連結されているフリップフロップ
813、822、831を用いて説明を行う。同一のク
ロックタイミングでテストパタンを印加すると、フリッ
プフロップ813とフリップフロップ822、フリップ
フロップ831に入力するテストパタンは常に同じであ
る。図8で示したフリップフロップ813、822、8
31に印加されるテストパタンが常に同じになるという
相関が発生するため、図9で示す検査対象論理回路の場
合、フリップフロップ822とフリップフロップ831
のスキャンインデータは常に同じテストパタンが印加さ
れる。その結果、EOR素子901の出力値が常に0固
定となってしまい、EOR素子901の出力データを入
力とするAND素子904の第2入力ピンの診断経路が
活性化されず仮定故障911(×印は断線等の故障を示
す)が検出できない。なお、製品レベルの論理集積回路
の診断を行うのに先立ち、実際に故障を配置した論理集
積回路を種々の信号パターンを入力して該故障を実際に
検出できる信号パターンを求めており、仮定故障とは、
この実際に配置した故障のことを指している。
Next, a certain correlation occurs between the scan-in data of the flip-flops of the respective shift registers connected to the adjacent registers in the RPG by a scan chain. A description will be given of the fact that it becomes impossible to detect. Referring to (6) of FIG. 8, when the shift clocks of the RPG, the MISR, and the flip-flop are input at the same timing, the scan-in of the flip-flop of each shift register connected to the adjacent register in the RPG by the scan chain is performed. It can be seen that there is a constant upward sloping correlation between data. Here, as an example, the register 80
The description will be made using flip-flops 813, 822, 831 connected to 1, 802, 803. When test patterns are applied at the same clock timing, the test patterns input to the flip-flop 813, the flip-flop 822, and the flip-flop 831 are always the same. The flip-flops 813, 822, 8 shown in FIG.
Since a correlation occurs that the test pattern applied to the test circuit 31 is always the same, the flip-flop 822 and the flip-flop 831
Scan-in data is always applied with the same test pattern. As a result, the output value of the EOR element 901 is always fixed at 0, and the diagnostic path of the second input pin of the AND element 904 to which the output data of the EOR element 901 is input is not activated. Indicates a failure such as a disconnection). Prior to diagnosing a product-level logic integrated circuit, the logic integrated circuit where the fault is actually located is input with various signal patterns to obtain a signal pattern that can actually detect the fault. Is
This refers to the fault that is actually located.

【0011】上記従来のBIST方式では、上述したよ
うに、疑似乱数パタンを生成し、生成したパタンを順次
シフトスキャンしながらスキャンインデータを印加して
いくことで、任意のシフトレジスタとして連結している
フリップフロップのスキャンインデータと、そのシフト
レジスタに隣接するシフトレジスタとして連結している
フリップフロップのスキャンインデータとの間に一定の
相関が発生してしまい、大量のパタンを入力しても故障
検出率が向上しない現象が発生する。
In the conventional BIST method, as described above, a pseudo random number pattern is generated, and scan-in data is applied while sequentially shifting and scanning the generated pattern, so that the pattern is connected as an arbitrary shift register. There is a certain correlation between the scan-in data of the flip-flop that is connected and the scan-in data of the flip-flop connected as a shift register adjacent to the shift register, and even if a large number of patterns are input, a failure occurs. The phenomenon that the detection rate does not improve occurs.

【0012】この現象を解消する方法として、US49
59832に記述してある方法で、RPGの各レジスタ
から直接スキャンチェインを連結するのではなく、ある
複数の任意のレジスタからスキャンインデータを取り出
し、それをEOR素子に入力してその出力ピンをスキャ
ンチェインと連結することにより、スキャンインデータ
の相関を解消する方法がある。
As a method for solving this phenomenon, US Pat.
Instead of connecting the scan chains directly from each register of the RPG by the method described in 59832, the scan-in data is extracted from a plurality of arbitrary registers, input to the EOR element, and the output pin is scanned. There is a method of canceling the correlation of scan-in data by linking with a chain.

【0013】[0013]

【発明が解決しようとする課題】前記の従来技術は、R
PGの全シフトレジスタに対してEOR素子を付加する
ため、回路オーバーヘッドが大きくなる。また、論理回
路内に相関を解消するための論理を物理的に組み込んで
いるため、相関の形態を外部から操作できない。本発明
の目的は、回路オーバーヘッドが小さく、検査対象に入
力されたテストパターン信号間の関係が常に同じになる
という相関の発生を解消し、より多くの故障を検出可能
な論理集積回路を提供することにある。
The above prior art is based on R
Since an EOR element is added to all shift registers of the PG, circuit overhead increases. Further, since the logic for canceling the correlation is physically incorporated in the logic circuit, the form of the correlation cannot be externally operated. An object of the present invention is to provide a logic integrated circuit which has a small circuit overhead, eliminates the occurrence of a correlation that the relationship between test pattern signals input to a test object is always the same, and can detect more faults. It is in.

【0014】[0014]

【課題を解決するための手段】上記課題を解決するた
め、本発明は、検査対象回路と、複数のフリップフロッ
プを連結して構成された複数のシフトレジスタと、線形
フィードバックシフトレジスタで構成される乱数パタン
発生器と符号圧縮器とが組み込まれ、前記各シフトレジ
スタの入力側は前記乱数パタン発生器の所定ビット位置
のレジスタにそれぞれ接続され、該各シフトレジスタの
出力側は前記符号圧縮器所定ビット位置のレジスタにそ
れぞれ接続され、前記乱数パタン発生器、符号圧縮器お
よび複数のシフトレジスタにはシフトクロックが与えら
れ、前記複数のシフトレジスタの各フリップフロップの
出力は前記検査対象回路に入力され、該検査対象回路の
出力は指定された時点で前記複数のシフトレジスタの各
フリップフロップに出力されるよう構成された論理集積
回路において、前記シフトクロックを入力し、該シフト
クロックとは異なるパタンのシフトクロックを生成し、
該生成したシフトクロックを前記符号圧縮器および複数
のシフトレジスタに供給するクロック制御回路を組み込
むようにしている。また、前記クロック制御回路は、外
部から与えられる制御信号に応じて異なる周期のシフト
クロックを発生する分周回路であるようにしている。ま
た、前記クロック制御回路は、外部から与えられる制御
信号に従って異なるパタンのシフトクロックを発生する
ようにしている。また、前記外部から与えられる制御信
号として、前記乱数パタン発生器の特定のビット位置の
レジスタからの出力信号を用いるようにしている。
In order to solve the above problems, the present invention comprises a circuit to be tested, a plurality of shift registers formed by connecting a plurality of flip-flops, and a linear feedback shift register. A random number pattern generator and a code compressor are incorporated. The input side of each of the shift registers is connected to a register at a predetermined bit position of the random number pattern generator, and the output side of each of the shift registers is connected to the code compressor. A shift clock is provided to the random number pattern generator, the code compressor, and the plurality of shift registers, and outputs of the flip-flops of the plurality of shift registers are input to the inspection target circuit. The output of the circuit under test is supplied to each flip-flop of the plurality of shift registers at a designated time. In the logic integrated circuit configured to be force to enter the shift clock to generate the shift clock of a different pattern from the shift clock,
A clock control circuit for supplying the generated shift clock to the code compressor and the plurality of shift registers is incorporated. Further, the clock control circuit is a frequency dividing circuit that generates a shift clock having a different cycle in accordance with an externally applied control signal. Further, the clock control circuit is configured to generate shift clocks of different patterns according to an externally applied control signal. Further, an output signal from a register at a specific bit position of the random number pattern generator is used as the externally applied control signal.

【0015】[0015]

【発明の実施の形態】図1に実施例1を示す。検査対象
LSIは、RPG101、MISR102、クロック分
周回路103および被検査回路104を備えている。R
PG101の各レジスタからスキャンチェイン105で
被検査回路104内の各フリップフロップを連結しテス
トパタンをスキャンインする。テスト終了後にフリップ
フロップに格納されたテスト結果をスキャンチェイン1
06を通してスキャンアウトしてMISR102に格納
し圧縮符号化する。この実施例ではシフトのためのクロ
ック信号の分周回路を用いてRPG101のクロックタ
イミングとMISR102、スキャンチェインのシフト
タイミングをクロック制御ピン109で操作してシフト
タイミングをずらすことで相関を解消している。
FIG. 1 shows a first embodiment. The LSI to be inspected includes an RPG 101, a MISR 102, a clock frequency dividing circuit 103, and a circuit under test 104. R
A scan chain 105 connects each flip-flop in the circuit under test 104 from each register of the PG 101 and scans in a test pattern. After the test is completed, the test result stored in the flip-flop is scanned in scan chain 1.
06, scan-out, store in MISR 102 and compression-encode. In this embodiment, the clock timing of the RPG 101 and the shift timing of the MISR 102 and the scan chain are operated by using the clock control pin 109 to shift the shift timing by using a clock signal dividing circuit for shifting, thereby eliminating the correlation. .

【0016】ここで使用しているクロック分周回路10
3を図5を用いて説明する。分周回路への入力ピン50
3にシフトクロック信号線を接続する。図5のようにク
ロック信号をフリップフロップ521、522、523
に接続することでシフトクロックの周期をそれぞれフリ
ップフロップ521の出力では1/2の周期、フリップ
フロップ522の出力では1/4の周期、フリップフロ
ップ523の出力では1/8の周期に変化させることが
できる。それぞれ変化させた信号を制御ピン501、5
02によって選択し、選択したクロック信号を505よ
り送出し、各MISR、シフトスキャンのクロック信号
として入力する。
The clock frequency dividing circuit 10 used here
3 will be described with reference to FIG. Input pin 50 to frequency divider
3 is connected to a shift clock signal line. As shown in FIG. 5, the clock signal is supplied to flip-flops 521, 522, and 523.
, The cycle of the shift clock is changed to 1/2 of the cycle of the output of the flip-flop 521, 1/4 of the cycle of the output of the flip-flop 522, and 1/8 of the cycle of the output of the flip-flop 523. Can be. The changed signals are applied to control pins 501, 5
02, and the selected clock signal is transmitted from 505 and input as a clock signal for each MISR and shift scan.

【0017】分周回路内の各フリップフロップの出力ピ
ン511、512、513と入力クロック信号のタイム
チャートを図6に示す。分周回路の構成よりフリップフ
ロップ521の出力ピン511は、入力するシフトクロ
ック信号の1/2の回数しかパルスが発生しない。フリ
ップフロップ522の出力ピン512は1/4回、フリ
ップフロップ523の出力ピン513は1/8回とな
る。この4種類のクロックタイミングを操作する制御回
路の制御ピン501、502に図7に示すクロックの制
御モードにしたがって制御し、適当なクロックタイミン
グを選択する。
FIG. 6 shows a time chart of the output pins 511, 512, 513 of each flip-flop in the frequency dividing circuit and the input clock signal. Due to the configuration of the frequency dividing circuit, the output pin 511 of the flip-flop 521 generates a pulse only half the number of the input shift clock signal. The output pin 512 of the flip-flop 522 becomes 1 / times, and the output pin 513 of the flip-flop 523 becomes 1 / times. The control pins 501 and 502 of the control circuit for operating these four types of clock timings are controlled according to the clock control mode shown in FIG. 7 to select appropriate clock timings.

【0018】次にテスト手順を説明する。図7に示す通
常モードの場合については、既に、従来技術の説明にお
いて、図8、図9を用いて述べたので、ここでは省略す
る。まず、図7に示す1/2モードの場合について説明
する。クロックタイミング制御回路の制御ピンの501
に0、502に1を設定する。このときのクロックタイ
ミングは、図7で示すようにMISR、フリップフロッ
プのシフトクロックはRPGのクロック数の1/2の周
期で入力してテストパタンを各フリップフロップに印加
する。このときのRPG、複数のフリップフロップから
なるシフトレジスタにスキャンインしているデータの状
態変移を図10に示す。(1)は一回目の疑似乱数パタ
ン発生時の状態である。図7の511ピンのタイムチャ
ートに示すように1回目のシフトクロックはRPG、M
ISR、スキャンチェインともに入力されるため、レジ
スタ801で発生した入力パタンはそのままフリップフ
ロップ811にスキャンインされる。(2)は二回目の
疑似乱数パタン発生時の状態である。レジスタ801に
格納してあったテストパタンはレジスタ802にシフト
され、レジスタ801にはあらたに発生した疑似乱数パ
タンを格納する。しかし、図7の511ピンのタイムチ
ャートに示すようにクロック信号はMISR、スキャン
チェインに入力されないので、フリップフロップ811
に格納してあるスキャンインデータは、そのまま保持す
る。(3)は3回目の疑似乱数パタン発生時の状態であ
る。レジスタ801に格納してあったテストパタンはレ
ジスタ802にシフトされ、レジスタ802に格納して
あったデータはレジスタ803にシフトされ、レジスタ
801にはあらたに発生した疑似乱数パタンを格納す
る。また、図7によると3回目のシフトクロックはRP
G、MISR、スキャンチェインともに入力されるた
め、フリップフロップ812には、フリップフロップ8
11のデータがスキャンインされ、フリップフロップ8
11にはレジスタ801、フリップフロップ821には
レジスタ802、フリップフロップ831にはレジスタ
803のデータがそれぞれスキャンインされる。この作
業を順次繰り返し、各フリップフロップにテストパタン
をスキャンインしていく。以上の作業を6回繰り返した
状態を(6)に示す。
Next, the test procedure will be described. The case of the normal mode shown in FIG. 7 has already been described with reference to FIG. 8 and FIG. First, the case of the 1/2 mode shown in FIG. 7 will be described. 501 of the control pin of the clock timing control circuit
Is set to 0, and 1 to 502. At this time, as shown in FIG. 7, the shift timing of the MISR and the flip-flop is input at a cycle of 1/2 of the number of clocks of the RPG, and a test pattern is applied to each flip-flop. FIG. 10 shows the state transition of data scanned in the RPG and the shift register including a plurality of flip-flops at this time. (1) is a state when the first pseudo random number pattern is generated. As shown in the time chart of pin 511 in FIG. 7, the first shift clock is RPG, M
Since both the ISR and the scan chain are input, the input pattern generated in the register 801 is scanned into the flip-flop 811 as it is. (2) is a state at the time of the second pseudo-random number pattern generation. The test pattern stored in the register 801 is shifted to the register 802, and the newly generated pseudo random number pattern is stored in the register 801. However, the clock signal is not input to the MISR and the scan chain as shown in the time chart of the 511 pin in FIG.
The scan-in data stored in is stored as it is. (3) is a state at the time of the third pseudo random number pattern generation. The test pattern stored in the register 801 is shifted to the register 802, the data stored in the register 802 is shifted to the register 803, and the newly generated pseudo random number pattern is stored in the register 801. According to FIG. 7, the third shift clock is RP
G, the MISR, and the scan chain are input, so that the flip-flop 812
11 is scanned in and flip-flop 8
11, data of the register 801 is scanned in the flip-flop 821, and data of the register 803 is scanned in the flip-flop 831. This operation is sequentially repeated, and the test pattern is scanned into each flip-flop. A state where the above operation is repeated six times is shown in (6).

【0019】(6)にはMISR、フリップフロップの
シフトクロックをRPGの1/2の回数にすることで図
8とは違う相関が発生することがわかる。(6)を見る
と疑似乱数パタンをRPGの1/2の周期のシフトクロ
ックで各フリップフロップにスキャンインすると常にフ
リップフロップ813と、フリップフロップ832、フ
リップフロップ851に同じテストパタンが入力され
る。この状態でシステムクロックを入力しテストを実行
すると、常に図9に示すEOR素子902とEOR素子
903の出力が常に0固定となってしまうため、仮定故
障915と仮定故障916は検出不能である。しかし、
仮定故障915と916は前回のRPG、MISR、フ
リップフロップのクロックを同じタイミングにしてテス
トを実行したときに検出しているため、1/2モードに
おいて検出不能でも問題はない。1回目の通常クロック
タイミングでのテストと2回目の1/2クロックタイミ
ングでのテストで検出できなかった仮定故障について
は、前記実行してきた2状態のクロックタイミングでは
検出不能なので、さらに別のモードによる検出が必要で
ある。このとき、前述した通常モードでのテストでは常
に同一のデータが入力されていたフリップフロップ82
2と、フリップフロップ831には、図10に示してい
るとおり、違うデータがスキャンインされているのでE
OR素子901の出力ピンが常に0固定にならないの
で、AND素子の第2入力ピンの経路が活性化され仮定
故障911は検出できる。このテストをクロックタイミ
ングを変えて複数回繰り返すことで、より多くの仮定故
障を検出することができる。図11に1/4の状態変移
を示す。説明は省略する。しかし、この実施例だと回路
内に構成されたクロック分周回路の論理で定めた空回し
回数しか指定できず、空回しの回数を動的に指定できな
い。また、空回し回数(ここで、空回しとは、RPGへ
のシフトクロックとシフトレジスタを構成するフリップ
フロップへのシフトクロックが異なることにより、RP
Gのレジスタからフリップフロップへ入力される信号が
間引かれることをいう)の設定を増加させるほどクロッ
ク分周回路の規模および、制御信号の数が増加してしま
うので回路オーバーヘッドが大きくなる。
In (6), it can be seen that a correlation different from that shown in FIG. 8 occurs when the shift clocks of the MISR and the flip-flop are set to half the number of RPGs. Referring to (6), the same test pattern is always input to the flip-flop 813, the flip-flop 832, and the flip-flop 851 when the pseudo-random number pattern is scanned into each flip-flop with a shift clock having a cycle of RPG 1/2. When a test is executed by inputting a system clock in this state, the outputs of the EOR element 902 and the EOR element 903 shown in FIG. 9 are always fixed to 0, and therefore, the hypothetical faults 915 and 916 cannot be detected. But,
Since the hypothetical faults 915 and 916 are detected when the test is executed at the same timing of the previous RPG, MISR, and flip-flop clocks, there is no problem if they cannot be detected in the 1/2 mode. As for a hypothetical fault that could not be detected in the first test at the normal clock timing and the second test at the 1/2 clock timing, it cannot be detected at the clock timing of the two states that have been executed. Detection is required. At this time, in the test in the normal mode described above, the same data is always input to the flip-flop 82.
10, different data are scanned in the flip-flop 831 as shown in FIG.
Since the output pin of the OR element 901 is not always fixed at 0, the path of the second input pin of the AND element is activated and the hypothetical fault 911 can be detected. By repeating this test a plurality of times with different clock timings, more hypothetical faults can be detected. FIG. 11 shows a 1/4 state transition. Description is omitted. However, in this embodiment, only the number of idle rotations determined by the logic of the clock frequency dividing circuit formed in the circuit can be specified, and the number of idle rotations cannot be dynamically specified. In addition, the number of idle rotations (here, the idle rotation means that the shift clock to the RPG and the shift clock to the flip-flop constituting the shift register are different from each other,
As the setting of (the signal input from the G register to the flip-flop is thinned out) increases, the scale of the clock frequency dividing circuit and the number of control signals increase, so that the circuit overhead increases.

【0020】図12に実施例2を示す。検査対象LSI
にRPG1201、MISR1202、クロック制御回
路1203および、被検査回路1204が構成されてい
る。RPG1201で発生した疑似乱数パタンをスキャ
ンチェイン1205を通して、被検査回路1204内の
複数のフリップフロップを連結して構成された複数のシ
フトレジスタにテストパタンをスキャンインしてテスト
を実行し、テスト結果を各フリップフロップからスキャ
ンチェイン1206を通してスキャンアウトしMISR
1202に圧縮格納する。この実施例では診断制御信号
1208でRPGのクロックを一部遮断することでRP
Gだけを空回しさせ、フリップフロップ間に生じる相関
を解消する。
FIG. 12 shows a second embodiment. LSI to be inspected
An RPG 1201, a MISR 1202, a clock control circuit 1203, and a circuit under test 1204 are configured. The pseudo random number pattern generated in the RPG 1201 is scanned through a scan chain 1205 into a plurality of shift registers formed by connecting a plurality of flip-flops in the circuit under test 1204 to execute a test. Scan out from each flip-flop through scan chain 1206
The data is compressed and stored in 1202. In this embodiment, the diagnosis control signal 1208 partially cuts off the RPG clock, thereby
Only G is idled to eliminate the correlation between flip-flops.

【0021】RPGに入力するシフトクロック以外のク
ロック信号を遮断する制御回路を図13を用いて説明す
る。MISR1303、内部フリップフロップ1304
に入力するクロック信号線にAND素子1301を接続
する。クロック信号線を接続したAND素子1301の
出力ピンを各MISR1303、内部フリップフロップ
1304のクロック信号として入力する。RPG130
5の空回し時にMISR1303、内部フリップフロッ
プ1304へのクロック信号を遮断するためにAND素
子1301に制御信号1302を接続する。制御信号1
302は通常シフトスキャン動作時には1をセットし、
RPG1305の空回し時には0をセットする。0をセ
ットすることで、MISR1303、内部フリップフロ
ップ1304に入力されるクロック信号は遮断されMI
SR1303、内部フリップフロップ1304のシフト
動作を止めることができる。よって、RPG1305だ
けシフトされ、MISR1303、内部フリップフロッ
プ1304のデータはそのまま保持される。テストパタ
ン入力時の、RPG1305、MISR1303、内部
フリップフロップ1304に入力するクロック信号のタ
イムチャートを図14に示す。
A control circuit for cutting off clock signals other than the shift clock input to the RPG will be described with reference to FIG. MISR 1303, internal flip-flop 1304
The AND element 1301 is connected to the clock signal line to be input to. An output pin of the AND element 1301 to which the clock signal line is connected is input as a clock signal of each MISR 1303 and the internal flip-flop 1304. RPG130
The control signal 1302 is connected to the AND element 1301 in order to cut off the clock signal to the MISR 1303 and the internal flip-flop 1304 when the idle rotation of No. 5 is performed. Control signal 1
302 is set to 1 during the normal shift scan operation,
When the RPG 1305 is idle, 0 is set. By setting 0, the clock signal input to the MISR 1303 and the internal flip-flop 1304 is cut off,
The shift operation of the SR 1303 and the internal flip-flop 1304 can be stopped. Therefore, the data is shifted by the RPG 1305, and the data of the MISR 1303 and the internal flip-flop 1304 is held as it is. FIG. 14 shows a time chart of a clock signal input to the RPG 1305, the MISR 1303, and the internal flip-flop 1304 when a test pattern is input.

【0022】図14の(1)はRPG空回しを行わない
時の入力テストパタンである。実施例1と同様に最初は
RPGの空回しは行わずに疑似乱数パタンを順次シフト
しながら各フリップフロップに入力パタンをスキャンイ
ンし、システムクロックを入力してテストを実行する。
この場合でも、従来例で示す図8と同様に、隣接したR
PGのレジスタよりパタンを入力しているフリップフロ
ップ813、822、831に相関が発生してしまう。
よって、図9に示す仮定故障911は検出することがで
きない。
FIG. 14A shows an input test pattern when RPG idle rotation is not performed. As in the first embodiment, an input pattern is scanned into each flip-flop while a pseudo random number pattern is sequentially shifted without performing idle rotation of an RPG, and a test is executed by inputting a system clock.
In this case as well, as in FIG.
Correlations occur in flip-flops 813, 822, 831 to which a pattern is input from the register of the PG.
Therefore, the hypothetical fault 911 shown in FIG. 9 cannot be detected.

【0023】次に(2)のタイムチャートに示すクロッ
クタイミングでテストパタンを各フリップフロップに入
力する。(2)のタイムチャートはRPGの1回空回し
モード時のタイムチャートである。(2)のタイムチャ
ートの説明を行う。RPG1305で疑似乱数を1つ発
生して、RPG1305のレジスタを1回シフトする毎
に空回し制御ピン1302を0に設定する。空回し制御
ピン1302を0に設定することでRPG1305のシ
フトクロックのみ入力され、MISR1303、内部フ
リップフロップ1304のシフトクロックは遮断され、
スキャンインしているデータをそのまま保持する。さら
に、疑似乱数を1つ発生すると今度は空回し制御ピン1
302を1に設定する。空回し制御ピン1302を1に
設定することで、MISR1303、内部フリップフロ
ップ1304のシフトクロックも入力されシフト動作を
行う。この動作を繰り返すことでRPG1305のシフ
ト回数は、MISR1303、内部フリップフロップ1
304のシフト回数の2倍となる。このときの内部フリ
ップフロップの状態変移は、実施例1の1/2周期のク
ロックタイミングと同様になり図10に示す。この処理
で(1)で入力したテストパタンで発生した相関は解消
し、(1)で検出不能だった図9に示す仮定故障911
が検出できる。
Next, a test pattern is input to each flip-flop at the clock timing shown in the time chart (2). The time chart (2) is a time chart in the single idle rotation mode of the RPG. The time chart of (2) will be described. One pseudo random number is generated by the RPG 1305, and the idle control pin 1302 is set to 0 each time the register of the RPG 1305 is shifted once. By setting the idle control pin 1302 to 0, only the shift clock of the RPG 1305 is input, and the shift clocks of the MISR 1303 and the internal flip-flop 1304 are cut off.
Keep the data that is being scanned in. Further, when one pseudo random number is generated, the idle control pin 1
302 is set to 1. By setting the idle control pin 1302 to 1, the shift clock of the MISR 1303 and the internal flip-flop 1304 is also input, and the shift operation is performed. By repeating this operation, the number of shifts of the RPG 1305 becomes the MISR 1303 and the internal flip-flop 1
This is twice the number of shifts of 304. The state transition of the internal flip-flop at this time is the same as the clock timing of the half cycle of the first embodiment, and is shown in FIG. In this process, the correlation generated in the test pattern input in (1) is resolved, and the hypothetical fault 911 shown in FIG.
Can be detected.

【0024】(3)に2回空回しのテストパタンを記述
する。以上の処理を適当な回数クロックタイミングを変
化させながら繰り返すことで故障検出率を向上すること
ができる。また、この実施例は論理回路内に最初から空
回し回数に対しての論理は組み込まれておらず、入力信
号によって空回しの回数を動的に無限回数分設定でき
る。
In (3), a test pattern of two idle turns is described. The above processing is repeated an appropriate number of times while changing the clock timing, so that the failure detection rate can be improved. Further, in this embodiment, the logic for the number of times of idling is not incorporated in the logic circuit from the beginning, and the number of times of idling can be dynamically set for an infinite number of times by an input signal.

【0025】図15に実施例3を示す。上記、実施例
1、実施例2のRPG空回し制御方法では常に外部より
制御信号を与えて空回しの制御を行っている(図5制御
信号501、502、図13制御信号1302)。実施
例3では制御信号を用いずに各フリップフロップ間の相
関を解消する実施例である。図15を用いて説明を行
う。実施例2と同様に、検査対象LSIにRPG150
1、MISR1502、クロック制御回路1503およ
び、被検査回路1504が構成されている。RPG15
01で発生した疑似乱数パタンをスキャンチェイン15
05を通して、被検査回路1504内の複数のフリップ
フロップを連結して構成された複数のシフトレジスタに
テストパタンをスキャンインしてテストを実行し、テス
ト結果を各フリップフロップからスキャンチェイン15
06を通してスキャンアウトしMISR1502に圧縮
格納する。実施例2では外部より空回し制御信号で通常
/空回しの制御を行ってきたが、制御信号の代わりにR
PG1501で生成される疑似乱数パタンをAND素子
1602に入力することで相関を解消する。
FIG. 15 shows a third embodiment. In the RPG idling control methods of the first and second embodiments, the idling control is always performed by externally applying a control signal (control signals 501 and 502 in FIG. 5 and control signal 1302 in FIG. 13). Embodiment 3 is an embodiment in which the correlation between flip-flops is eliminated without using a control signal. This will be described with reference to FIG. As in the second embodiment, the RPG 150
1, a MISR 1502, a clock control circuit 1503, and a circuit under test 1504. RPG15
Scan chain 15
05, a test pattern is scanned into a plurality of shift registers formed by connecting a plurality of flip-flops in the circuit under test 1504 to execute a test, and a test result is transmitted from each flip-flop to the scan chain 15.
06 and scans out the data in the MISR 1502. In the second embodiment, the normal / idling control is performed by the idling control signal from the outside.
The correlation is canceled by inputting the pseudo random number pattern generated by the PG 1501 to the AND element 1602.

【0026】制御回路を図16を用いて説明する。RP
G1602で生成する疑似乱数で1が生成されれば、各
RPG1602、MISR1604、内部フリップフロ
ップ1603のデータがシフトスキャンされる。疑似乱
数で0が生成されれば、RPG1602だけシフトクロ
ック信号が入力されてデータをシフトし、MISR16
04、フリップフロップ1603にはシフトクロック信
号が遮断されるのでデータはシフトスキャンされずに、
入力しているデータをそのまま保持する。
The control circuit will be described with reference to FIG. RP
If 1 is generated by the pseudo random number generated in G1602, the data of each RPG 1602, MISR 1604, and internal flip-flop 1603 are shift-scanned. If 0 is generated by the pseudo random number, the shift clock signal is input by RPG 1602 to shift the data, and the MISR 16
04, since the shift clock signal is cut off by the flip-flop 1603, the data is not shifted and scanned,
Keep the entered data as it is.

【0027】図17に実施例3での疑似乱数パタンの入
力例を示す。この場合は、RPGのLFSRの1ビット
目のデータをRPG空回しモード切り替えの信号として
用いたものである。(1)はRPGに初期パタンを入力
した状態で、この状態ではRPGにしかデータをセット
しておらず、各フリップフロップには0がセットされて
いる。この状態からテストが開始されるとする。(2)
に第一の疑似乱数パタン生成時のパタン設定例を示す。
(1)ではRPGの1ビット目が1なのでMISR、各
フリップフロップのシフトクロックは入力される。よっ
て、生成されたRPG内に格納してあるテストパタンは
各フリップフロップにスキャンインされる。(3)に第
二の疑似乱数パタン生成時のパタン設定例を示す。RP
G内のデータはシフトクロックが入力されるので1ビッ
トシフトするが、(2)で生成した疑似乱数パタン(R
PGの1ビット目)が0なのでMISR、各フリップフ
ロップのシステムクロックは遮断されフリップフロップ
内のデータはシフトされずそのまま保持する。この処理
を6回繰り返したのが(6)の状態である。(6)には
これまで述べてきたシフトスキャンにより発生する相関
が生じていないことがわかる。この処理を続け、大量に
テストパタンを印加することで十分な故障検出率を得る
ことができる。この方法では通常のRPGから疑似乱数
パタンを発生させてフリップフロップにシフトスキャン
によってテストパタンを印加するときに発生するフリッ
プフロップ間の相関を解消することができる。また、通
常クロック/RPG空回し処理の選択に制御ピンを用い
ず、制御パタンを必要としないので入力テストパタンの
簡素化を行うことができる。
FIG. 17 shows an input example of a pseudo random number pattern in the third embodiment. In this case, the first bit data of the LFSR of the RPG is used as a signal for switching the RPG idle mode. (1) is a state in which an initial pattern is input to the RPG. In this state, data is set only in the RPG, and 0 is set in each flip-flop. It is assumed that the test is started from this state. (2)
Fig. 5 shows an example of pattern setting when generating the first pseudo random number pattern.
In (1), since the first bit of the RPG is 1, the shift clock of the MISR and each flip-flop is input. Therefore, the test pattern stored in the generated RPG is scanned into each flip-flop. (3) shows a pattern setting example when the second pseudo random number pattern is generated. RP
The data in G is shifted by one bit because the shift clock is input, but the pseudo random number pattern (R
Since the first bit of the PG is 0, the MISR and the system clock of each flip-flop are cut off, and the data in the flip-flop is held without being shifted. This process is repeated six times in the state (6). In (6), it can be seen that the correlation generated by the shift scan described above does not occur. By continuing this process and applying a large amount of test patterns, a sufficient failure detection rate can be obtained. In this method, a pseudo-random number pattern is generated from a normal RPG, and the correlation between flip-flops generated when a test pattern is applied to flip-flops by shift scan can be eliminated. Further, since the control pin is not used for selecting the normal clock / RPG idle rotation process and no control pattern is required, the input test pattern can be simplified.

【0028】[0028]

【発明の効果】本発明によれば、BIST(組み込み型
自己テスト)を有する検査対象LSIの診断時に、シフ
トスキャン動作でテストパタンを複数の内部フリップフ
ロップを連結して構成された複数のシフトレジスタにス
キャンイン/スキャンアウトしてテストパタンを印加す
るするときに発生するフリップフロップ間の相関を解消
することで、より多くの故障を検出して故障検出率を向
上することができる。また、パタングループ毎、あるい
は任意の場合において相関の形態を変化させることがで
きるので、外部から相関を操作して故障検出率の向上を
計れる。また相関を変化させる回数を無制限にできる。
さらに、相関を解消するための制御回路を小規模で単純
な回路で実現できることで、回路オーバーヘッドが小さ
くてすむという効果がある。
According to the present invention, when diagnosing an LSI to be inspected having a BIST (built-in self-test), a plurality of shift registers constituted by connecting a plurality of internal flip-flops to a test pattern by a shift scan operation. By eliminating the correlation between flip-flops generated when a test pattern is applied by scan-in / scan-out, more failures can be detected and the failure detection rate can be improved. Further, since the form of the correlation can be changed for each pattern group or in any case, the correlation can be externally operated to improve the failure detection rate. Further, the number of times of changing the correlation can be unlimited.
Furthermore, since the control circuit for canceling the correlation can be realized by a small-scale and simple circuit, there is an effect that the circuit overhead can be reduced.

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

【図1】実施例1で使われるLSIの構成を示す図であ
る。
FIG. 1 is a diagram illustrating a configuration of an LSI used in a first embodiment.

【図2】RPGの内部回路の例を示す図ある。FIG. 2 is a diagram illustrating an example of an internal circuit of an RPG.

【図3】MISRの内部回路の例を示す図ある。FIG. 3 is a diagram illustrating an example of an internal circuit of a MISR.

【図4】BIST(組み込み型自己テスト)の概念を示
す図である。
FIG. 4 is a diagram showing the concept of BIST (Built-in Self Test).

【図5】実施例1で使われるクロック分周回路の内部構
成を示す図である。
FIG. 5 is a diagram illustrating an internal configuration of a clock frequency dividing circuit used in the first embodiment.

【図6】図5のクロック分周回路のクロックのタイムチ
ャートを示す図である。
6 is a diagram showing a time chart of a clock of the clock frequency dividing circuit of FIG. 5;

【図7】図5のクロック分周回路のクロックタイミング
割り当て表を示す図である。
FIG. 7 is a diagram showing a clock timing assignment table of the clock frequency dividing circuit of FIG. 5;

【図8】RPG、MISRおよび被検査回路に同じシフ
トクロックを印加した場合のRPG、フリップフロップ
のスキャンインデータの状態遷移図を示す図である。
FIG. 8 is a diagram showing a state transition diagram of the scan-in data of the RPG and the flip-flop when the same shift clock is applied to the RPG, the MISR and the circuit under test.

【図9】被検査回路の概略内部構成を示す図である。FIG. 9 is a diagram showing a schematic internal configuration of a circuit under test.

【図10】実施例1で使われる1/2クロックモードの
状態変移図を示す図である。
FIG. 10 is a diagram showing a state transition diagram of a 1/2 clock mode used in the first embodiment.

【図11】実施例1で使われる1/4クロックモードの
状態変移図を示す図である。
FIG. 11 is a diagram showing a state transition diagram of a ク ロ ッ ク clock mode used in the first embodiment.

【図12】実施例2で使われるLSIの構成を示す図で
ある。
FIG. 12 is a diagram illustrating a configuration of an LSI used in a second embodiment.

【図13】実施例2で使われるクロック制御回路の内部
構成を示す図である。
FIG. 13 is a diagram illustrating an internal configuration of a clock control circuit used in the second embodiment.

【図14】実施例2で使われるクロック制御回路クロッ
クのタイムチャートである。
FIG. 14 is a time chart of a clock control circuit clock used in the second embodiment.

【図15】実施例3で使われるLSIの構成を示す図で
ある。
FIG. 15 is a diagram illustrating a configuration of an LSI used in a third embodiment.

【図16】実施例3で使われるクロック制御回路の内部
構成を示す図である。
FIG. 16 is a diagram illustrating an internal configuration of a clock control circuit used in a third embodiment.

【図17】実施例3で使われるRPG、フリップフロッ
プの状態変移図を示す図である。
FIG. 17 is a diagram showing a state transition diagram of an RPG and a flip-flop used in the third embodiment.

【図18】従来使われているLSIの構成を示す図であ
る。
FIG. 18 is a diagram showing a configuration of a conventionally used LSI.

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

101、1201、1305、1501、1602 R
PG 102、1202、1303、1502、1604 M
ISR 103 クロック分周回路 104、1204、1504 被検査回路 105、106、871〜876、1205、120
6、1505、1506スキャンチェイン 107、503、504、1207、1507、160
6 RPG用クロック信号 108、505、1209、1509、1607 MI
SR/内部フリップフロップ用クロック信号 109、501、502、1208、1302、150
8、1605 クロック制御信号 401 パタン発生器 402 被検査回路 403 符号圧縮器 511〜513 分周クロック信号 521〜523 分周用フリップフロップ 801、802、803、804、805、806 R
PG内レジスタ 811〜816、821〜826、831〜836、8
41〜846、851〜856、861〜866 フリ
ップフロップ 901〜903 EOR素子 904、1301、1601 AND素子 911〜916 仮定故障 1203、1503 クロック制御回路 1304、1603 内部フリップフロップ
101, 1201, 1305, 1501, 1602 R
PG 102, 1202, 1303, 1502, 1604 M
ISR 103 Clock frequency dividing circuit 104, 1204, 1504 Circuit under test 105, 106, 871-876, 1205, 120
6, 1505, 1506 scan chains 107, 503, 504, 1207, 1507, 160
6 RPG clock signal 108, 505, 1209, 1509, 1607 MI
Clock signal for SR / internal flip-flop 109, 501, 502, 1208, 1302, 150
8, 1605 Clock control signal 401 Pattern generator 402 Circuit under test 403 Code compressor 511 to 513 Frequency-divided clock signal 521 to 523 Frequency-dividing flip-flop 801, 802, 803, 804, 805, 806 R
Registers in PG 811-816, 821-826, 831-836, 8
41 to 846, 851 to 856, 861 to 866 Flip-flop 901 to 903 EOR element 904, 1301, 1601 AND element 911 to 916 Assumed fault 1203, 1503 Clock control circuit 1304, 1603 Internal flip-flop

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H03K 19/00 H01L 27/04 T ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 6 Identification code FI H03K 19/00 H01L 27/04 T

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 検査対象回路と、複数のフリップフロッ
プを連結して構成された複数のシフトレジスタと、線形
フィードバックシフトレジスタで構成される乱数パタン
発生器と符号圧縮器とが組み込まれ、 前記各シフトレジスタの入力側は前記乱数パタン発生器
の所定ビット位置のレジスタにそれぞれ接続され、該各
シフトレジスタの出力側は前記符号圧縮器所定ビット位
置のレジスタにそれぞれ接続され、 前記乱数パタン発生器、符号圧縮器および複数のシフト
レジスタにはシフトクロックが与えられ、 前記複数のシフトレジスタの各フリップフロップの出力
は前記検査対象回路に入力され、該検査対象回路の出力
は指定された時点で前記複数のシフトレジスタの各フリ
ップフロップに出力されるよう構成された論理集積回路
において、 前記シフトクロックを入力し、該シフトクロックとは異
なるパタンのシフトクロックを生成し、該生成したシフ
トクロックを前記符号圧縮器および複数のシフトレジス
タに供給するクロック制御回路を組み込んだことを特徴
とする論理集積回路。
1. A circuit to be inspected, a plurality of shift registers formed by connecting a plurality of flip-flops, a random number pattern generator and a code compressor constituted by a linear feedback shift register are incorporated. An input side of the shift register is connected to a register at a predetermined bit position of the random number pattern generator, and an output side of each shift register is connected to a register at a predetermined bit position of the code compressor, respectively. A shift clock is applied to the code compressor and the plurality of shift registers. Outputs of the flip-flops of the plurality of shift registers are input to the circuit to be inspected. In a logic integrated circuit configured to be output to each flip-flop of the shift register, A clock control circuit for inputting the shift clock, generating a shift clock having a different pattern from the shift clock, and supplying the generated shift clock to the code compressor and the plurality of shift registers. Logic integrated circuit.
【請求項2】 請求項1記載の論理集積回路において、 前記クロック制御回路は、外部から与えられる制御信号
に応じて異なる周期のシフトクロックを発生する分周回
路であることを特徴とする論理集積回路。
2. The logic integrated circuit according to claim 1, wherein the clock control circuit is a frequency dividing circuit that generates a shift clock having a different cycle according to a control signal supplied from the outside. circuit.
【請求項3】 請求項1記載の論理集積回路において、 前記クロック制御回路は、外部から与えられる制御信号
に従って異なるパタンのシフトクロックを発生すること
を特徴とする論理集積回路。
3. The logic integrated circuit according to claim 1, wherein said clock control circuit generates shift clocks of different patterns according to an externally applied control signal.
【請求項4】 請求項2記載の論理集積回路において、 前記外部から与えられる制御信号として、前記乱数パタ
ン発生器の特定のビット位置のレジスタからの出力信号
を用いることを特徴とする論理集積回路。
4. The logic integrated circuit according to claim 2, wherein an output signal from a register at a specific bit position of the random number pattern generator is used as the externally applied control signal. .
JP35231996A 1996-12-12 1996-12-12 Logic integrated circuit Expired - Fee Related JP3196013B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35231996A JP3196013B2 (en) 1996-12-12 1996-12-12 Logic integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35231996A JP3196013B2 (en) 1996-12-12 1996-12-12 Logic integrated circuit

Publications (2)

Publication Number Publication Date
JPH10170609A true JPH10170609A (en) 1998-06-26
JP3196013B2 JP3196013B2 (en) 2001-08-06

Family

ID=18423257

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35231996A Expired - Fee Related JP3196013B2 (en) 1996-12-12 1996-12-12 Logic integrated circuit

Country Status (1)

Country Link
JP (1) JP3196013B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000259799A (en) * 1999-03-09 2000-09-22 Hitachi Ltd Ic card and semiconductor integrated circuit device
JP2004309174A (en) * 2003-04-02 2004-11-04 Nec Electronics Corp Scan test pattern input method and semiconductor integrated circuit
US8037384B2 (en) 2007-12-27 2011-10-11 Hitachi, Ltd. Semiconductor device
JP2012127852A (en) * 2010-12-16 2012-07-05 Elpida Memory Inc Semiconductor device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000259799A (en) * 1999-03-09 2000-09-22 Hitachi Ltd Ic card and semiconductor integrated circuit device
JP2004309174A (en) * 2003-04-02 2004-11-04 Nec Electronics Corp Scan test pattern input method and semiconductor integrated circuit
US8037384B2 (en) 2007-12-27 2011-10-11 Hitachi, Ltd. Semiconductor device
JP2012127852A (en) * 2010-12-16 2012-07-05 Elpida Memory Inc Semiconductor device
US9183949B2 (en) 2010-12-16 2015-11-10 Ps4 Luxco S.A.R.L. Semiconductor device

Also Published As

Publication number Publication date
JP3196013B2 (en) 2001-08-06

Similar Documents

Publication Publication Date Title
US7644333B2 (en) Restartable logic BIST controller
US6442723B1 (en) Logic built-in self test selective signature generation
US5383143A (en) Self re-seeding linear feedback shift register (LFSR) data processing system for generating a pseudo-random test bit stream and method of operation
US6671839B1 (en) Scan test method for providing real time identification of failing test patterns and test bist controller for use therewith
US8086924B2 (en) Implementing diagnosis of transitional scan chain defects using logic built in self test LBIST test patterns
US7574644B2 (en) Functional pattern logic diagnostic method
US7430698B2 (en) Method and system for an on-chip AC self-test controller
US20030070118A1 (en) Semiconductor integrated circuit with built-in test function
US7934134B2 (en) Method and apparatus for performing logic built-in self-testing of an integrated circuit
EP1647828B1 (en) Automatic fault-testing of logic blocks using internal at-speed logic-BIST
JPH06118134A (en) Integrated circuit test system
US6877119B2 (en) Circuit scan output arrangement
JPH0249014B2 (en)
JP2003208331A (en) Dual mode asic (application specific integrated circuit) bist (built-in self-test) controller
US7921346B2 (en) Verification of array built-in self-test (ABIST) design-for-test/design-for-diagnostics (DFT/DFD)
JP3196013B2 (en) Logic integrated circuit
US20020194563A1 (en) Accelerating scan test by re-using response data as stimulus data
US6745356B1 (en) Scannable state element architecture for digital circuits
US6629281B1 (en) Method and system for at speed diagnostics and bit fail mapping
JPH08220192A (en) Built-in type self-test logic circuit
JPH05119122A (en) Formation of test pattern of scanning circuit
KR20000037829A (en) Built-in self-test circuit for timing obstacle detection
JPH11174126A (en) Self-inspection pattern generation device for incorporation in logic circuit and pattern selection method
JP4644966B2 (en) Semiconductor test method
JP2002189063A (en) Semiconductor device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080608

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20080608

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090608

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100608

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100608

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110608

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110608

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120608

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees