JPH02170070A - Test pattern generator - Google Patents

Test pattern generator

Info

Publication number
JPH02170070A
JPH02170070A JP63326838A JP32683888A JPH02170070A JP H02170070 A JPH02170070 A JP H02170070A JP 63326838 A JP63326838 A JP 63326838A JP 32683888 A JP32683888 A JP 32683888A JP H02170070 A JPH02170070 A JP H02170070A
Authority
JP
Japan
Prior art keywords
flip
flops
inverted
output
data
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
JP63326838A
Other languages
Japanese (ja)
Inventor
Masaaki Yoshida
正昭 吉田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP63326838A priority Critical patent/JPH02170070A/en
Publication of JPH02170070A publication Critical patent/JPH02170070A/en
Pending legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

PURPOSE:To obtain a high fault detection rate by using flip-flops the number of which is more than the input terminals of a circuit to be tested and multiplexers which select and transmit inverted and uninverted output signals of the flip-flops. CONSTITUTION:When a control signal C1 is '1', the inverted signals of data stored in the flip-flops 1A-1E are inputted to the following-stage flip-flops 1B-1E. The inverted output signals (Q) of the flip-flops 1C and 1E are inputted to an exclusive OR gate G1, whose output is inputted as a feedback signal to the flip-flop 1A. The inverted output signals (Q) of the flip-flops 1B-1E are applied as test patterns to the input terminals D4-D1 of the circuit to be tested through multiplexers 2B-2E. When 0 is supplied to the terminal D4 at certain time (t), the data at the terminal D3 becomes 1 at time (t+1) and every time a cock phiis applied, the data is shifted in order while inverted into 0 at the terminal D2 and into 1 at the terminal D1. Therefore, more combinations of patterns can be generated and the high fault detection rate is obtained.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はテストパターン発生器に関し、特に集積回路の
機能テストを容易にし、かつそのテストを極めて複雑な
回路に対しても行い得るように集積回路自体に組込んだ
テストパターン発生器に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a test pattern generator, and more particularly, to a test pattern generator that facilitates functional testing of integrated circuits and that is capable of being integrated so that the testing can be performed even on extremely complex circuits. It relates to a test pattern generator built into the circuit itself.

〔従来の技術〕[Conventional technology]

高度に集積化されかつ複雑化した集積回路の論理機能試
験を容易にする1つの方法は、試験すべき集積回路内部
にテストパターン発生器、テスト出力評価部等の試験機
構を組込んでしまうことてある。こうすることにより、
集積回路内部に埋め込まれ外部端子から直接には制御、
観測ができないためテストすることが困難であった部分
の回路も容易に論理機能テストを行うことがてきるよう
になるからである。
One method to facilitate logic function testing of highly integrated and complex integrated circuits is to incorporate test mechanisms such as a test pattern generator and test output evaluation section into the integrated circuit to be tested. There is. By doing this,
Embedded inside the integrated circuit and controlled directly from external terminals,
This is because logic function tests can now be easily performed on parts of the circuit that have been difficult to test because they cannot be observed.

このようなテスト機構を集積回路に組込む場合、どのよ
うなパターン発生器を組込むかということが大きな課題
となる。集積回路内部に組込むという制約のため簡単な
ハードウェアか実現てき、なおかつ効率のよいテストパ
ターンを発生できるパターン発生器が望まれるからであ
る。
When incorporating such a test mechanism into an integrated circuit, a major issue is what kind of pattern generator to incorporate. This is because there is a need for a pattern generator that can be implemented using simple hardware due to the restriction of being built into an integrated circuit, and that can also generate highly efficient test patterns.

従来、この種のテストパターン発生器としては、そのハ
ードウェア構成の簡単さから帰還型のシフトレジスタが
よく用いられ、特に最大長周期系列を発生できる線形帰
還型シフ1〜レジスタか多用される。(例えは、アイイ
ーイー プロシーディングズ(IEE PROCEED
INGS) 1.32巻、3号、105ページ、198
5年参照)。
Conventionally, as this type of test pattern generator, a feedback type shift register is often used because of its simple hardware configuration, and in particular, a linear feedback type shift register that can generate a maximum long period sequence is often used. (For example, IEE PROCEED
INGS) Volume 1.32, Issue 3, Page 105, 198
(See Year 5).

第2図は従来から知られている線形帰還型シフl−レジ
スタを利用したテストパターン発生器のフロック図であ
る。
FIG. 2 is a block diagram of a test pattern generator using a conventionally known linear feedback shift register.

第2図はX4+X+1という生成多項式を有する線形帰
還型シフトレジスタIOAの各フリップフロップIF〜
11の各クロックサイクルにおける出力データD4〜D
1をテストパターンとして被テスト回路20の各入力端
子(D4)〜(Dl)に印加する組込み用のテストパタ
ーン発生器を示している。
Figure 2 shows each flip-flop IF~ of a linear feedback shift register IOA having a generator polynomial of X4+X+1.
Output data D4 to D in each clock cycle of 11
1 is a built-in test pattern generator that applies 1 as a test pattern to each input terminal (D4) to (Dl) of the circuit under test 20.

この回路は、クロック信号φが入力される度にフリップ
フロップIG〜IIにはそれぞれ前段のフリップフロッ
プIF〜IHのデータが取込まれ、フリップフロップI
Fには、フリップフロップlo、1+のデータを排他的
論理和ゲートG1により排他的論理和演算した結果が帰
還信号として取込まれる。これと同時に各フリップフロ
ップIF〜11のデータが出力データD4〜D1として
出力される。
In this circuit, each time the clock signal φ is input, the data of the previous stage flip-flops IF to IH are taken into the flip-flops IG to II, and the data of the flip-flops I
The result of exclusive OR operation of the data of flip-flops lo and 1+ by exclusive OR gate G1 is taken into F as a feedback signal. At the same time, the data of each flip-flop IF-11 is output as output data D4-D1.

この動作はクロック信号φが入力される限り続けられる
This operation continues as long as the clock signal φ is input.

このように、線形帰還型シフトレジスタIOAはクロッ
ク信号φを入力するだけで次々にテストパターンを生成
し、しかもその生成多項式として原始多項式を採用すれ
ば、最大長周期系列を発生できる線形帰還型シフトレジ
スタとなり、全てのフリップフロップIF〜1■の出力
が゛′0パとなるのを除く全てのパターンが発生可能と
なる。
In this way, the linear feedback shift register IOA generates test patterns one after another simply by inputting the clock signal φ, and if a primitive polynomial is adopted as the generating polynomial, the linear feedback shift register IOA can generate the maximum long period sequence. It becomes a register, and all patterns can be generated except that the outputs of all flip-flops IF to 11 become ``0''.

従って被テスト回路20が組合せ回路であれは、そのテ
ストパターンの入力端子(D4)〜(Dl)の数と同し
段数の線形帰還型シフトレジスタIOAを用意すること
により被テスト回路20の完全なテストが可能になる。
Therefore, if the circuit under test 20 is a combinational circuit, by preparing a linear feedback shift register IOA with the same number of stages as the number of input terminals (D4) to (Dl) of the test pattern, the circuit under test 20 can be completely completed. testing becomes possible.

(全゛′0°′のテストパターンは、よく知られている
ように、NORゲートを1個追加することにより発生可
能になる) しかもこのようなテストパターン発生器はフリップフロ
ップIF〜11を、被テスト回路10Aの入力ラッチの
流用で構成できるため、付加すべきハードウェアの量も
少なくて済む。
(As is well known, a test pattern of all '0°' can be generated by adding one NOR gate.) Moreover, such a test pattern generator uses flip-flops IF~11, Since it can be constructed by reusing the input latch of the circuit under test 10A, the amount of additional hardware can be reduced.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところが、現在のLSIで最も広範囲にわたりて使用さ
れているCMO8回路により被テスト回路が構成されて
いる場合、上述した従来のテストパターン発生器では問
題が生じる。
However, when the circuit under test is composed of a CMO8 circuit, which is most widely used in current LSIs, a problem arises with the conventional test pattern generator described above.

それはCMO3回路に特有のスタック開放(STUCK
−OPEN)故障の存在により、被テスト回路が組合せ
回路から順序回路に変換されてしまうからである。
It is a stack opening (STUCK) specific to CMO3 circuits.
-OPEN) The presence of the fault converts the circuit under test from a combinational circuit to a sequential circuit.

印加される入力のみによりその出力値が決定される組合
せ回路と異なり、順序回路では入力と内部状態の両方と
によってその出力値が決定されるので、内部を既知の状
態に設定した後に、故障検出用のテストパターンを印加
することが必要となる。つまり、1つの5TUCK−O
PEN故障の検出には、〔初期化パターン〕、〔検出パ
ターン〕という2つの連続するパターンが必要となり、
被テスト回路がCMO8回路で構成されている場合、連
続する2パターンの組が多く発生できるテストパターン
発生器が望まれる。
Unlike a combinational circuit, whose output value is determined only by the applied inputs, a sequential circuit's output value is determined by both the inputs and the internal state, so failure detection can be performed after setting the internals to a known state. It is necessary to apply a test pattern for That is, one 5TUCK-O
Detecting a PEN failure requires two consecutive patterns: [Initialization pattern] and [Detection pattern].
When the circuit under test is composed of eight CMO circuits, a test pattern generator that can generate many sets of two consecutive patterns is desired.

しかしながら、上述した従来のテストパターン発生器で
は、ある時刻tにおける出力データD4(t)〜DI 
(t)のうちの出力データD3(1)〜Di(t)は、
1クロツク前の時刻(tl)に於ける出力データD4 
(t−1)〜D1(t−1)のうちの出力データD4 
(t−1)〜D2(1−1,)と等しいというようにき
わめて強い規則性があり、連続して発生できる2パター
ンの組も限られたものしかなく、CMO3回路に対して
高い故障検出率を得ることが困難である。
However, in the conventional test pattern generator described above, the output data D4(t) to DI at a certain time t
Output data D3(1) to Di(t) of (t) are:
Output data D4 at time (tl) one clock ago
Output data D4 among (t-1) to D1 (t-1)
(t-1) to D2 (1-1,), which has extremely strong regularity, and there are only a limited number of sets of two patterns that can occur consecutively, and high failure detection for CMO3 circuits. rate is difficult to obtain.

本発明の目的は、上述の従来技術の問題点を改善し、C
MO3回路に対しても高い故障検出率を得ることがてき
るテス1へパターン発生器を提供することにある。
The purpose of the present invention is to improve the above-mentioned problems of the prior art, and
The object of the present invention is to provide a pattern generator for test 1 that can obtain a high failure detection rate even for MO3 circuits.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のテストパターン発生器は、反転信号及び非反転
信号をそれぞれ出力し複数段に順次配列された複数のフ
リップフロップと、これら複数のフリップフロップの最
後段を除く各フリップフロップの反転信号及び非反転信
号をそれぞれ入力し制御信号によりこれら反転信号及び
非反転信号の1つを選択して直後段の前記フリップフロ
ップへそれぞれ出力する複数の前段のマルチプレクサと
、前記最後段のフリップフロップの反転信号及び非反転
信号を入力し前記制御信号によりこれら反転信号及び非
反転信号の1つを選択して出力する最後段のマルチプレ
クサと、前記中段及び最後段のマルチプレクサのうちの
所定のマルチプレクサの出力信号を入力して帰還信号を
最前段の前記フリップフロップへ出力し前記各フリップ
フロップ及び各マルチプレクサと共に帰還型のシフトレ
ジスタを形成する帰還回路と、前記中段及び最後段のマ
ルチプレクサの出力信号のうちの所定の出力信号をそれ
ぞれ対応して伝達する、前記フリップフロップの段数よ
り少なくとも1つ少ないテストパターン出力端子とを有
している。
The test pattern generator of the present invention includes a plurality of flip-flops that output an inverted signal and a non-inverted signal respectively and are sequentially arranged in a plurality of stages, and an inverted signal and a non-inverted signal of each flip-flop except the last stage of the plurality of flip-flops. a plurality of pre-stage multiplexers each receiving an inverted signal and selecting one of the inverted signal and non-inverted signal according to a control signal and outputting the selected signal to each of the flip-flops in the immediately following stage; A last-stage multiplexer inputs a non-inverted signal and selects and outputs one of the inverted signal and the non-inverted signal according to the control signal, and inputs an output signal of a predetermined multiplexer among the middle-stage and last-stage multiplexers. a feedback circuit that outputs a feedback signal to the flip-flop at the frontmost stage to form a feedback shift register together with each flip-flop and each multiplexer; and a predetermined output of the output signals of the middle and last stage multiplexers. and at least one less test pattern output terminal than the number of stages of the flip-flops, each of which transmits a signal in a corresponding manner.

〔作用〕[Effect]

被テスト回路を順序回路に変えるCMO3回路の5Tt
lCK−OPEN故障を検出するには、回路内部をある
状態にセットする初期化パターンを印加した後に経路を
活性化できるパターンを印加すればよいわけて、どのく
らい2パターンの組が発生できるかによって故障検出率
が決まる。
5Tt of CMO3 circuit that changes the circuit under test to a sequential circuit
To detect a CK-OPEN failure, it is sufficient to apply an initialization pattern that sets the internal circuit to a certain state, and then apply a pattern that can activate the path.The failure is determined by how many pairs of the two patterns can occur. The detection rate is determined.

従来の帰還型のシフトレジスタを用いたテストパターン
発生器ではデータのシフトの方向が1方向であるため、
前述したようにある時刻tにおけるパターンが決まれは
、時刻(1+ 1. )におけるパターンは殆んど決っ
てしまう。
In conventional test pattern generators using feedback type shift registers, data is shifted in one direction.
As described above, if the pattern at a certain time t is determined, the pattern at time (1+1.) is almost determined.

例えは、ある時刻tにおける隣接する2つのフリップフ
ロップのデータが00′″であったとすると、時刻(1
+1. )においてこれらフリップフリップか収り得る
データは”OO” 、  ” l O″′の2組たけて
あり、′01′’、”11”というデータは決して取り
得ない。
For example, if the data of two adjacent flip-flops at a certain time t is 00'', then the time (1
+1. ), the data that can be accommodated by these flip-flops are two sets of ``OO'' and ``lO''', and the data ``01'' and ``11'' can never be taken.

これに対し本発明のテストパターン発生器は、従来と同
様の線形帰還型シフトレジスタとしてはもちろんのこと
、各フリップフロップのデータを反転してシフトする線
形帰還型シフトレジスタとしても動作する。
In contrast, the test pattern generator of the present invention operates not only as a linear feedback shift register similar to the conventional one, but also as a linear feedback shift register that inverts and shifts the data of each flip-flop.

従って、ある時刻tにおける隣接する2つのフリップフ
ロップのデータが” o o ”であったとすると、時
刻(t + 1. )における取り得るデータは、′O
O“’、”10′、”01’”及び’11”と全ての場
合が発生てきることになり、従来技術に比べ、より多い
2パターンの組を発生することが可能で、より高い故障
検出率が期待できる。
Therefore, if the data of two adjacent flip-flops at a certain time t is "o o", the possible data at time (t + 1.) is 'O
O"', "10', "01", and "11" all occur, and compared to the conventional technology, it is possible to generate more sets of two patterns, resulting in a higher failure rate. Detection rate is expected.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示ず回路図である。FIG. 1 is a circuit diagram showing one embodiment of the present invention.

この実施例は、反転信号(Q)及び非反転信号(Q>を
それぞれ出力する複数のフリップフロップIA〜18を
順次配列し、これらフリップフロップIA〜IEのうち
の最後段を除く各フリップフロップIA〜IDの反転信
号(Q>及び非反転信号(Q)をそれぞれ入力し制御信
号C1によりこれら反転信号(頁)及び非反転信号(Q
>の1つを選択して直後段のフリップフロップIB〜I
E’\それぞれ出力する前段のマルチプレクサ2A〜2
Dと、最後段のフリップフロップIEの反転信号<Q)
及び非反転信号(Q)を入力し制御信号C1によりこれ
ら反転信号(Q)及び非反転信号(Q)の1つを選択し
て出力する最後段のマルチプレクサ2Lとを設け、中段
及び最後段のマルチプレクサ2A〜2r、のうちのマル
チプレクサ2c、2r、の出力信号を入力してこれらの
排他的論理和をとって帰還信号として最前段のフリップ
フロップIAへ出力する帰還回路の排他的論理和ケート
G1を設けてこれらフリップフロップ1八〜]L、マル
チプレクサ2A〜28及び排他的論理和ゲートG1によ
り線形帰還型シフトレジスタ10を形成し、フリップフ
ロップIA〜IT−。
In this embodiment, a plurality of flip-flops IA to 18 each outputting an inverted signal (Q) and a non-inverted signal (Q>) are arranged in sequence, and each of the flip-flops IA to IE except the last stage Input the inverted signal (Q> and non-inverted signal (Q) of ~ID, respectively, and control these inverted signal (page) and non-inverted signal (Q) by control signal C1.
> select one of the next stage flip-flops IB~I
E'\ Pre-stage multiplexer 2A~2 that outputs each
D and the inverted signal of the last stage flip-flop IE<Q)
and a final stage multiplexer 2L that inputs the non-inverted signal (Q) and selects and outputs one of the inverted signal (Q) and the non-inverted signal (Q) according to the control signal C1. An exclusive OR gate G1 of a feedback circuit inputs the output signals of multiplexers 2c and 2r among multiplexers 2A to 2r, takes an exclusive OR of these, and outputs the result as a feedback signal to the flip-flop IA at the front stage. These flip-flops 18-]L, multiplexers 2A-28, and exclusive OR gate G1 form a linear feedback shift register 10, and flip-flops IA-IT-.

の段数より1つ少ないテストパターン出力端子T4〜T
、から、マルチプレクサ2A〜2Eのうちの所定のマル
チプレクサ2B〜2゜の出力テ゛−タD4〜D1をそれ
ぞれ対応して被テスト回路20の入力端子(Di)〜(
Dl)へ伝達する構成となっている。
Test pattern output terminals T4 to T that are one less than the number of stages of
, the output data D4 to D1 of a predetermined multiplexer 2B to 2° of the multiplexers 2A to 2E are connected to the input terminals (Di) to (Di) of the circuit under test 20, respectively.
Dl).

次に、この実施例の動作について説明する。Next, the operation of this embodiment will be explained.

まず、制御信号C1が” o ”の時、すなわち第1図
において各マルチプレクサ2A〜2’aが上側の入力、
つまり各フリップフロップ1A〜1Eの非反転出力信号
(Q)を選択して出力するとき、これらフリップフロッ
プIA〜IE、マルチプレクサ2^〜2r、及び排他的
論理和ケートG、てX5+X2+1という生成多項式の
線形帰還型シフトレジスタ10を実現しており、この線
形帰還型シフトレジスタ10の最前段のフリップフロッ
プIA以外の各段のフリップフロップIB〜ILの出力
信号がマルチプレクサ2B〜2Eを介して被テスト回路
20にテストパターンとして印加される。
First, when the control signal C1 is "o", that is, each multiplexer 2A to 2'a in FIG.
In other words, when selecting and outputting the non-inverted output signal (Q) of each flip-flop 1A to 1E, these flip-flops IA to IE, multiplexers 2^ to 2r, and exclusive OR gate G form a generator polynomial of A linear feedback shift register 10 is realized, and the output signals of the flip-flops IB to IL in each stage other than the front flip-flop IA of the linear feedback shift register 10 are sent to the circuit under test via multiplexers 2B to 2E. 20 as a test pattern.

この場合、従来例と同様に、ある時刻tでフリップフリ
ップIAに保持されているデータは、時刻(t + 、
1 )でフリップフロップIBに保持され、以下クロッ
ク信号φが入力される度に、フリップフロップlc、l
o、1+zと順次布にシフトされていく。
In this case, as in the conventional example, the data held in the flip-flip IA at a certain time t is at the time (t + ,
1) is held in the flip-flop IB, and thereafter every time the clock signal φ is input, the flip-flops lc, l
It is sequentially shifted to the cloth as o, 1+z.

すなわち、ある時刻tにおいて被テスト回路20の入力
端子(Di)に与えられた出力データD4は、クロック
信号φが印加されるごとに順次入力端子(DB)、(D
2)、(Di)にシフトされていく。
That is, the output data D4 applied to the input terminal (Di) of the circuit under test 20 at a certain time t is sequentially applied to the input terminals (DB), (D
2), (Di).

従って、ある時刻tにおける被テスト回路20の入力端
子(Di)〜(Dl)の隣接する2つに入力されるデー
タが00”′てあったとすると、これら2つの入力端子
の時刻(t+1)における取り得るデータは、” o 
o ’”、”10”′の2組あり、網羅的に線形帰還型
シフトレジスタ10にパターンを発生させると、” o
 o ’”、”oo”及び” o o ’″  パ10
″″の2組の2パターンのペアが発生ずる。
Therefore, if the data input to two adjacent input terminals (Di) to (Dl) of the circuit under test 20 at a certain time t is 00''', then at the time (t+1) of these two input terminals, The data that can be obtained is “o
There are two sets, ``o''' and ``10''', and if patterns are exhaustively generated in the linear feedback shift register 10, ``o''
o '”, “oo” and “o o '” p10
Two pairs of two patterns ``'' are generated.

次に、制御信号C1が1′″の時、すなわち第1図にお
いて各マルチプレクサ2A〜2゜が下側の入力、つまり
各フリップフロップ]へ〜1Eの反転出力信号(Q)を
選択して出力する場合を説明する。
Next, when the control signal C1 is 1'', that is, in FIG. 1, each multiplexer 2A to 2° selects and outputs the inverted output signal (Q) of 1E to the lower input, that is, each flip-flop. Explain when to do so.

このとき、各フリップフロップ1八〜1Dに格納されて
いるデータの反転信号がそれぞれ直後段のフリップフロ
ップ1B〜〕nに入力され、フリップフロップ1cの反
転出力信号(Q)とフリップフロップIBの反転出力信
号(Q>とが排他的論理和ゲートG1に入力され、この
排他的論理和ゲートG1の出力信号が帰還信号としてフ
リップフロップIAに入力される。同時にフリップフロ
ップIB〜1r、の反転出力信号(Q)はマルチプレク
サ2B〜2Eを介して被テスト回路20の入力端子(D
i)〜(Dl)にテストパターンとして印加される。
At this time, the inverted signals of the data stored in each of the flip-flops 18 to 1D are input to the immediately following flip-flops 1B to ]n, and the inverted output signal (Q) of the flip-flop 1c and the inverted signal of the flip-flop IB The output signal (Q>) is input to the exclusive OR gate G1, and the output signal of the exclusive OR gate G1 is input as a feedback signal to the flip-flop IA.At the same time, the inverted output signals of the flip-flops IB to 1r (Q) is connected to the input terminal (D) of the circuit under test 20 via multiplexers 2B to 2E.
i) to (Dl) as a test pattern.

すなわち、ある時刻tにおいて被テスト回路20の入力
端子(Di)に0″が与えられたとする仁、時刻(t+
1>で入力端子(DB)に与えられるデータは°°1″
となり、以下、クロック信号φが印加される度に入力端
子(D2)には0′″、入力端子(Dl)には1°”と
、データが反転しながら順次シフトされていく。
That is, if 0'' is given to the input terminal (Di) of the circuit under test 20 at a certain time t, then the time (t+
1>, the data given to the input terminal (DB) is °°1″
Henceforth, each time the clock signal φ is applied, the data is sequentially shifted while being inverted, such as 0''' to the input terminal (D2) and 1°'' to the input terminal (Dl).

従って、ある時刻tにおける被テスト回路20の入力端
子(Di)〜(Dl)の隣接する2つに入力されるデー
タが“’ o o ”で゛あったとすると、これら2つ
の入力端子の時刻(t + 1. )における取り得る
データは、”01”、  “’11”の2組あリ、網羅
的に線形帰還型シフトレジスタ10にパターンを発生さ
ぜると、″OO”′、“01′″及び” o o ’”
、”11″′の2組の2パターンのベアが発生する。
Therefore, if the data input to two adjacent input terminals (Di) to (Dl) of the circuit under test 20 at a certain time t are "' o o", then the time ( There are two sets of data that can be taken at t+1. ''' and "o o '"
, "11"', two patterns of bears are generated.

すなわち、この実施例においては、制御信号C1の切換
えにより、2つのテストパターン発生器が実現でき、こ
れら2つのテストパターン発生器により、被テスト回路
20の入力端子(D4)〜(1) ])の隣接する2つ
に入力されるデータが時刻tにおいて’ o o ”で
あった場合に、時刻(t + 1 >において取り得る
データは” o o ”“’] O” 、”01’″及
び11″″の4種類全てが発生可能になる。
That is, in this embodiment, two test pattern generators can be realized by switching the control signal C1, and these two test pattern generators can control the input terminals (D4) to (1) of the circuit under test 20. If the data input to two adjacent ones of is 'o o' at time t, the data that can be taken at time (t + 1 >) are 'o o', ''] O', '01'' and All four types of 11″″ can occur.

これまで説明してきた事柄は、被テスト回路の入力端子
数と同じ段数のフリップフロップを備えた帰還型シフト
レジスタてあればよく、本発明のように被テスト回路の
入力端子数より多い段数の帰還型シフトレジスタを用い
る必要はない。被テスト回路の入力端子数より多い段数
の帰還型シフトレジスタを用いるのは、以下の理由によ
る。
What has been explained so far is that it is sufficient to have a feedback shift register with the same number of stages of flip-flops as the number of input terminals of the circuit under test; There is no need to use type shift registers. The reason why a feedback shift register having more stages than the number of input terminals of the circuit under test is used is as follows.

被テスト回路の入力端子数と同じ段数の線形Jifr還
シフトレジスタの場合、ある時刻tでのテストパターン
(D4、D3.D2.DI)が決まると、時刻(t+1
)での出力データD4の値は一意に決まり、これは線形
帰還型シフトレジスタの生成多項式によって変わる。つ
まり、被テスト回路の入力端子数と同じ段数の線形帰還
型シフトレジスタの場合、ある生成多項式の場合には仮
定した故障に対し検出パターンが存在するけれども、別
の生成多項式の場合には検出パターンが存在しないと言
う状況が生じ得る。
In the case of a linear Jifr return shift register with the same number of stages as the number of input terminals of the circuit under test, when the test pattern (D4, D3.D2.DI) at a certain time t is determined, the time (t+1
) is uniquely determined, and this value changes depending on the generating polynomial of the linear feedback shift register. In other words, in the case of a linear feedback shift register with the same number of stages as the number of input terminals of the circuit under test, a detection pattern exists for a hypothetical fault in the case of a certain generator polynomial, but a detection pattern exists in the case of a different generator polynomial. A situation may arise in which there is no such thing.

本発明のテストパターン発生器は、被テスト回路の入力
端子数よりも少なくとも1つ多い段数の帰還型シフトレ
ジスタであるので、生成多項式として原始多項式のどれ
を選んでも問題がない。時刻(t+1)での出力データ
D4の値は生成多項式によらず時刻上におけるフリップ
フロップIAのデータ(あるいはその反転データ)にな
るからである。
Since the test pattern generator of the present invention is a feedback shift register having at least one stage more than the number of input terminals of the circuit under test, there is no problem in selecting any of the primitive polynomials as the generator polynomial. This is because the value of the output data D4 at time (t+1) is the data of the flip-flop IA (or its inverted data) at the time, regardless of the generating polynomial.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、被テスト回路のテス1へ
パターンの入力端子数より少なくとも1段多いフリップ
フロップと、これらフリップフロップの反転出力信号及
び非反転出力信号の一方を選択、切換えて後段へ伝達す
るマルチプレクサとを備えた帰還型シフトレジスタを形
成し、所定のマルチプレクサの出力端からのテストパタ
ーンを被テスト回路に供給する構成とすることにより、
2パターンの組を従来技術に比べより多く発生ずること
ができ、被テスト回路がCMO8回路で構成されている
場合でも、より高い故障検出率を得ることかてきる効果
がある。
As explained above, the present invention selects and switches one of the inverted output signal and the non-inverted output signal of these flip-flops, and selects and switches the flip-flops that have at least one stage more than the number of input terminals of the pattern to test 1 of the circuit under test. By forming a feedback shift register equipped with a multiplexer that transmits data to the circuit under test, and supplying the test pattern from the output terminal of a predetermined multiplexer to the circuit under test,
It is possible to generate more sets of two patterns than in the prior art, and even when the circuit under test is composed of eight CMO circuits, there is an effect that a higher failure detection rate can be obtained.

論理和ゲート。Disjunction gate.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例を示す回路図、第2図は従来
のテストパターン発生器の一例を示す回路図である。
FIG. 1 is a circuit diagram showing an embodiment of the present invention, and FIG. 2 is a circuit diagram showing an example of a conventional test pattern generator.

Claims (1)

【特許請求の範囲】[Claims] 反転信号及び非反転信号をそれぞれ出力し複数段に順次
配列された複数のフリップフロップと、これら複数のフ
リップフロップの最後段を除く各フリップフロップの反
転信号及び非反転信号をそれぞれ入力し制御信号により
これら反転信号及び非反転信号の1つを選択して直後段
の前記フリップフロップへそれぞれ出力する複数の前段
のマルチプレクサと、前記最後段のフリップフロップの
反転信号及び非反転信号を入力し前記制御信号によりこ
れら反転信号及び非反転信号の1つを選択して出力する
最後段のマルチプレクサと、前記中段及び最後段のマル
チプレクサのうちの所定のマルチプレクサの出力信号を
入力して帰還信号を最前段の前記フリップフロップへ出
力し前記各フリップフロップ及び各マルチプレクサと共
に帰還型のシフトレジスタを形成する帰還回路と、前記
中段及び最後段のマルチプレクサの出力信号のうちの所
定の出力信号をそれぞれ対応して伝達する、前記フリッ
プフロップの段数より少なくとも1つ少ないテストパタ
ーン出力端子とを有することを特徴とするテストパター
ン発生器。
A plurality of flip-flops that output inverted signals and non-inverted signals respectively and are sequentially arranged in multiple stages are inputted with inverted signals and non-inverted signals of each flip-flop except the last stage of these plural flip-flops, and are controlled by a control signal. A plurality of front-stage multiplexers select one of these inverted signals and non-inverted signals and output the selected signal to the flip-flop in the immediately following stage; The final stage multiplexer selects and outputs one of the inverted and non-inverted signals, and the output signal of a predetermined multiplexer of the middle and last stage multiplexers is inputted and the feedback signal is sent to the first stage multiplexer. a feedback circuit that outputs to the flip-flops and forms a feedback shift register together with each of the flip-flops and each multiplexer, and transmits predetermined output signals among the output signals of the middle and last stage multiplexers, respectively; and at least one test pattern output terminal less than the number of stages of the flip-flops.
JP63326838A 1988-12-23 1988-12-23 Test pattern generator Pending JPH02170070A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63326838A JPH02170070A (en) 1988-12-23 1988-12-23 Test pattern generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63326838A JPH02170070A (en) 1988-12-23 1988-12-23 Test pattern generator

Publications (1)

Publication Number Publication Date
JPH02170070A true JPH02170070A (en) 1990-06-29

Family

ID=18192279

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63326838A Pending JPH02170070A (en) 1988-12-23 1988-12-23 Test pattern generator

Country Status (1)

Country Link
JP (1) JPH02170070A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6297662B1 (en) 1999-07-02 2001-10-02 Mitsubishi Denki Kabushiki Kaisha Semiconductor device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6297662B1 (en) 1999-07-02 2001-10-02 Mitsubishi Denki Kabushiki Kaisha Semiconductor device

Similar Documents

Publication Publication Date Title
US4635261A (en) On chip test system for configurable gate arrays
US5090035A (en) Linear feedback shift register
US20110276849A1 (en) System, circuit, and device for asynchronously scan capturing multi-clock domains
US7426254B2 (en) Shift register comprising electrical fuse and related method
JPS60259973A (en) Linear feedback shift register for inspecting circuit designtechnique
JPS63263480A (en) Semiconductor integrated logic circuit
US5504755A (en) Testable programmable logic array
US5077740A (en) Logic circuit having normal input/output data paths disabled when test data is transferred during macrocell testing
US6014752A (en) Method and apparatus for fully controllable integrated circuit internal clock
EP0318140A2 (en) Pseudo-random generator and check sum circuitry for VLSI chip
KR910008920B1 (en) Multi-mode counter network and operation testing method
KR900008804B1 (en) Look ahead terminal counter
US6904554B2 (en) Logic built-in self test (BIST)
GB2218816A (en) Testing integrated circuits
JPH02170070A (en) Test pattern generator
US5793777A (en) System and method for testing internal nodes of an integrated circuit at any predetermined machine cycle
Angadi et al. Architectural Design of Built in Self-Test for VLSI Circuits using LFSR
JP3022017B2 (en) Integrated circuit
Nayana et al. Modified low power STUMPS architecture
JP3543399B2 (en) Semiconductor device with inspection function and its self-inspection method
KR960015560B1 (en) Apparatus for inputting 2-test data input to integrated circuit in a boundary-scan architecture
JPH0278979A (en) Feedback shift register type test pattern generator
JP2001066352A (en) Semiconductor integrated circuit and method for testing the same
KR20010108796A (en) System-on-chip having shift register chain for test embedded core
JPH06130135A (en) Scan path test system semiconductor integrated circuit