JP3685419B2 - Testability circuit - Google Patents

Testability circuit Download PDF

Info

Publication number
JP3685419B2
JP3685419B2 JP18293196A JP18293196A JP3685419B2 JP 3685419 B2 JP3685419 B2 JP 3685419B2 JP 18293196 A JP18293196 A JP 18293196A JP 18293196 A JP18293196 A JP 18293196A JP 3685419 B2 JP3685419 B2 JP 3685419B2
Authority
JP
Japan
Prior art keywords
input
signal
test
circuit
signals
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP18293196A
Other languages
Japanese (ja)
Other versions
JPH1026657A (en
Inventor
正 之 ▲吉▼山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kawasaki Microelectronics Inc
Original Assignee
Kawasaki Microelectronics Inc
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 Kawasaki Microelectronics Inc filed Critical Kawasaki Microelectronics Inc
Priority to JP18293196A priority Critical patent/JP3685419B2/en
Publication of JPH1026657A publication Critical patent/JPH1026657A/en
Application granted granted Critical
Publication of JP3685419B2 publication Critical patent/JP3685419B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、半導体集積回路(IC)において、テスト専用ピンを割り付けることなく、テストモード指定機能を実現することができるテスト容易化回路に関するものである。
【0002】
【従来の技術】
従来より、ICの良否を判定したり、その不良を解析する等の目的から、ICに所定の動作を行わせるテストベクターを作成し、このテストベクターを用いて、ICテスター等によってICのテストが行われている。
ところが、ICは、その回路規模が増大するにつれて、テストするために必要なテストベクター数が増大するため、テストベクターの開発期間が増大するとともに、ICのテスト時間やコスト等も増大するといわれている。
【0003】
このため、従来では、ICの内部に予めテスト回路を設けるとともに、テスト専用ピンを割り付けておき、テスト専用ピンにより、ICをテストモードに移行させることによってICのテストが行われていた。
しかし、上記テスト手法においては、ICの通常動作モードの入出力ピン以外に、テストモード用の複数のテスト専用ピンを割り付けなければならず、特に、入出力ピンが不足しがちなICにおいては深刻な問題であった。
【0004】
このような問題点の1つの解決策として、例えば特開昭60−4232号公報には、LSIの内部に、特定の複数の入力ピンの組合せ信号をデコードするデコーダを設け、このデコーダの出力の内、通常動作において発生することのないデコード出力をテストモード指定信号として用いることにより、テスト専用ピンを割り付けることなく、複数種のテストモードを任意に設定することができるLSIのテストモード指定方式が提案されている。
【0005】
ここで、図4に、上記特開昭60−4232号公報に開示されているLSIのテストモード指定方式を適用するテスト回路の一例の概念図を示す。
同図に示されるテスト回路40において、デコーダ42には、入力ピンからの入力信号IN1,IN2,IN3が入力され、デコーダ42の出力の一部はテストモード検出回路44に入力され、テストモード検出回路44からは、テストモード指定信号TEST_MODE1,2,3が出力されている。
【0006】
図示例のテスト回路40は、デコーダ42によって、入力ピンからの入力信号IN1,IN2,IN3をデコードし、テストモード検出回路44によって、入力信号IN1,IN2,IN3の入力ビットパターンの内、通常動作モードではあり得ない入力ビットパターンを検出し、デコードされた信号の内、通常動作モードではあり得ない入力ビットパターンに対応するデコード出力を、テストモード指定信号TEST_MODE1,2,3として用いるというものである。
【0007】
上記LSIのテストモード指定方式によれば、テスト専用ピンの割り付けを一切必要とせずに任意のテストモード指定機能を実現でき、これにより入出力ピンを有効に利用して内部機能を拡充できるとしている。
【0008】
しかし、通常動作モードではあり得ない入力ビットパターンが存在する複数の入力ピンを得るのは非常に困難であるし、その入力ピンに係わる回路の構成も著しく限定されるという問題点がある。また、通常動作モードではあり得ない入力ビットパターンが得られるとしても、その入力ビットパターンを得るためには多くの入力ピンが必要になるため、多くの入力ピンからの入力信号をデコードし、そのビットパターンを検出するテスト回路の回路規模が増大するという問題点がある。
【0009】
【発明が解決しようとする課題】
本発明の目的は、前記従来技術に基づく問題点をかえりみて、テスト専用ピンを割り付ける必要がなく、小規模な回路構成でテストモード指定機能を実現することができるテスト容易化回路を提供することにある。
【0010】
【課題を解決するための手段】
上記目的を達成するために、本発明は、通常動作モード時には各々の入力信号が同じ入力タイミングで入力される複数の入力ピンを介して、各々の入力タイミングをずらして入力される少なくとも2つの入力信号から、前記通常動作モード時の動作周波数よりも高周波のクロック信号を生成するパルス発生器と、前記少なくとも2つの入力信号のうち最初に変化する入力信号の変化の開始を検出してから、予め設定された所定の遅延時間に相当するパルス幅を持つプリセット信号を生成する遅延回路と、前記プリセット信号によって所定の一定時間だけ動作状態とされ、それ以外の期間には初期状態とされ、前記動作状態とされた間に前記クロック信号をカウントしてそのカウント数であるカウント信号を出力するカウンタと、前記カウント信号が予め設定された値になると、テストモードに移行するためのテストモード検出信号を出力する判定回路とを有し、
前記少なくとも2つの入力信号は、各々所定幅を持ち、前記各々の入力タイミングのずれ幅が該所定幅以下であり、前記遅延回路による遅延時間は、前記少なくとも2つの入力信号のうち最初に変化する入力信号の変化の開始から最後に変化する入力信号の変化の終了までの間の時間であることを特徴とするテスト容易化回路を提供するものである。
【0011】
ここで、前記通常動作モード時の入力ピンを介して供給される少なくとも2つの入力信号は、前記通常動作モード時には同じ入力タイミングで変化するものを用い、前記テストモード時には互いにずらした入力タイミングで変化させるのが好ましい。
また、前記カウンタは、前記カウント信号が予め設定された値になると、前記カウント信号の値を保持するものであるのが好ましい。
【0012】
【発明の実施の形態】
以下に、添付の図面に示す好適実施例に基づいて、本発明のテスト容易化回路を詳細に説明する。
【0013】
図1は、本発明のテスト容易化回路の一実施例の概念図である。
同図に示されるテスト容易化回路10は、半導体集積回路(IC)にテスト専用ピンを割り付けることなく、通常動作モードの複数の入力ピンから所定の入力タイミングで所定の入力信号を与えることによって、ICをテストモードに移行させるものであって、パルス発生器12と、遅延回路14と、カウンタ16と、判定回路18とを有して構成されている。
【0014】
パルス発生器12および遅延回路14には、予め定めた複数の入力ピンから供給される複数の入力信号IN1,IN2,…,INnが入力され、パルス発生器12から出力されるクロック信号CKおよび遅延回路14から出力されるプリセット信号PREは、ともにカウンタ16に入力されている。また、カウンタ16から出力されるカウント信号Qnは判定回路18に入力され、判定回路18からは、テストモード指定信号OUTが出力されている。
【0015】
図示例のテスト容易化回路10において、まず、パルス発生器12は、通常動作モード時の複数の入力ピンを介して供給される複数(2つ以上)の入力信号IN1,IN2,…,INnから、カウンタ16に入力するクロック信号CKを生成するものである。
【0016】
パルス発生器12においては、ICをテストモードに移行させるときに、例えば入力信号IN1,IN2,…,INnの入力タイミングを互いにずらして入力し、これらの入力信号IN1,IN2,…,INnの論理を取ることによって、通常動作モード時の動作周波数よりも高周波のクロック信号CKが生成される。このとき、入力ピンとしては、例えば通常動作モード時に同じ入力タイミングで入力されるものを用いるのが好ましい。
【0017】
遅延回路14は、通常動作モード時の複数の入力ピンを介して供給される複数の入力信号IN1,IN2,…,INnから、カウンタ16に入力されるプリセット信号PREを生成するものである。遅延回路14においては、例えば入力信号IN1,IN2,…,INnの変化を検出してから、所定の一定時間だけカウンタ16を動作状態とし、それ以外の期間はカウンタ16を初期状態(初期値)とするプリセット信号PREが生成される。
【0018】
このように、ICをテストモードに移行させるときに、パルス発生器12および遅延回路14に同じ複数の入力信号IN1,IN2,…,INnを入力し、IC内部において、通常動作モード時には上記入力ピンから直接入力されない(することができない)、所定のパルス幅を持つプリセット信号PREおよび高周波のクロック信号を生成することによって、通常動作モード時に誤ってテストモードに移行されてしまうことを防止することができる。
【0019】
なお、プリセット信号PREのパルス幅、即ち、カウンタ16が動作状態とされる時間は、通常動作モード時の動作周波数および入力タイミングにおいて、テストモードに移行するために必要な所定数のクロック信号CKがカウンタ16に入力されないように、通常動作モード時の動作周波数、パルス発生器12で生成されるクロック信号CKの周波数、テストモードに移行するためのクロック数等に応じて適宜決定すればよい。
【0020】
また、カウンタ16は、遅延回路14から出力されるプリセット信号PREによって所定の一定時間だけ動作状態とされ、それ以外の期間には初期状態(所定値)とされるカウンタであって、パルス発生器12から出力されるクロック信号CKのクロック数をカウントして、そのカウント数であるカウント信号Qnを出力するものである。
【0021】
判定回路18は、カウント信号Qnが予め設定された値になったこと、即ち、予め設定された個数のクロック信号CKがカウンタ16に入力されたことを検出して、テストモードに移行するためのテストモード検出信号OUTを出力するものである。
【0022】
なお、カウンタ16は、基本的に、プリセット信号PREによって、所定の一定時間だけ動作状態とされ、それ以外の期間には初期状態に戻されるため、テストモード検出信号OUTがアクティブ状態になったときに、例えばカウント信号Qnの値が保持されるように構成したり、例えばラッチ、フリップフロップ(FF)等を設ける等して、テストモード検出信号OUTのアクティブ状態のレベルが保持されるような構成にしておくのが好ましい。
【0023】
テスト容易化回路10において、テストモードに移行させるときには、複数の入力信号IN1,IN2,…,INnから、例えば所定時間だけ入力タイミングをずらしたパルスが入力される。このとき、遅延回路14においては、所定の一定時間だけカウンタ16を動作状態とするプリセット信号PREが生成されるとともに、パルス発生器12においては、通常動作モード時の動作周波数よりも高周波のクロック信号CKが生成される。
【0024】
プリセット信号PREによってカウンタ16は動作状態とされ、クロック信号CKのクロック数をカウントしてカウント信号Qnが出力される。このカウント信号Qnは判定回路において判定され、カウント信号Qnが予め設定された値に到達したときには、テストモード検出信号OUTが出力されてICはテストモードに移行されるが、カウント信号Qnが予め設定された値に到達しないときには、カウンタ16はプリセット信号PREによって初期状態とされる。
【0025】
一方、通常動作モード時においては、通常動作モードの入力タイミングで入力信号IN1,IN2,…,INnが入力される。このとき、遅延回路14において、入力信号IN1,IN2,…,INnの変化が検出されて、カウンタ16が動作状態にされたとしても、パルス発生器12においては、通常動作モード時の入力タイミングでは、カウンタ16が動作状態とされている間に、ICをテストモードに移行させるために必要な所定数のクロック信号CKは生成されない。
【0026】
即ち、ICがテストモードに移行するためには、例えばテスター等を用いて、通常動作モードの複数の入力ピンから、所定の入力タイミングで複数の入力信号IN1,IN2,…,INnを供給する必要があり、例えばプリント基板等に実装された通常動作モード状態のときには、このような入力タイミングで入力信号IN1,IN2,…,INnが入力されることはないので、実際の通常動作モード時に誤ってテストモードに移行されることはない。
【0027】
本発明のテスト容易化回路は、基本的に以上のようなものである。
次に、具体的な回路例を挙げて、本発明のテスト容易化回路についてさらに詳細に説明する。
【0028】
ここで、図2に、本発明のテスト容易化回路の一実施例の構成回路図を示す。図示例のテスト容易化回路10aは、入力ピンIN1,IN2,IN3,IN4から供給される入力信号によって、遅延回路14aに予め設定されている所定時間の間にクロック信号CKが3回入力されると、テストモード検出信号TESTがハイレベルとされてICをテストモードに移行させ、以後、例えば電源をオフ状態とするまでテストモードを維持するものである。
【0029】
図示例のテスト容易化回路10aにおいて、パルス発生器12aは、EXORゲート20a,20b、ORゲート22およびインバータ24a,24b,24cを有する。EXORゲート20a,20bには、それぞれ入力信号IN1,IN2および入力信号IN3,IN4が入力され、その出力はともにORゲート22に入力されている。また、ORゲート22の出力はクロック信号CKとされてインバータ24aに入力され、インバータ24a,24b,24cは直列接続されている。
【0030】
遅延回路14aは、ORゲート26、遅延素子28、インバータ30およびANDゲート32を有している。ORゲート26には、入力信号IN1,IN2,IN3,IN4が入力され、その出力は遅延素子28およびANDゲート32の一方の入力端子に入力されている。遅延素子28の出力はインバータ30に入力され、インバータ30の出力はANDゲート32の他方の入力端子に入力され、ANDゲート32の出力はプリセット信号PREとされている。
【0031】
カウンタ16aは、FF34a,34bを有している。FF34aの反転クロック入力端子にはクロック信号CKが入力され、そのデータ入力端子Dおよび反転データ出力端子QBは短絡されている。FF34bのクロック入力端子にはFF34aのデータ出力端子Qの出力が入力され、そのデータ入力端子Dおよび反転データ出力端子QBは短絡されている。また、FF34a,34bのプリセット端子PRにはともにプリセット信号PREが入力され、そのデータ出力端子Qの出力は、それぞれカウンタ信号Q1,Q2とされている。
【0032】
判定回路18aは、NANDゲート36およびインバータ38を有している。NANDゲート36にはカウンタ信号Q1,Q2の反転信号が入力され、その出力は、FF34a,34bのクリア端子CRおよびインバータ38に入力され、インバータ38の出力は、テストモード指定信号TESTとされている。
このように、本発明のテスト容易化回路は、回路規模の極めて小さな回路構成を有するものである。
【0033】
次に、図3に示されるタイミングチャートを参照しながら、上記テスト容易化回路10aの動作について説明する。
なお、カウンタ16aのFF34a,34bは、例えばプリセット端子PRおよびクリア端子CRの両方にローレベルが入力されたときに、プリセット端子PRよりもクリア端子CRが優先され、そのデータ出力端子Qからはローレベルが出力されるものとする。
【0034】
図3のタイミングチャートに示されるように、まず、入力信号IN1,IN2,IN3,IN4を全てローレベルにする。
このとき、ORゲート26の出力はローレベルになるため、ANDゲート32の出力であるプリセット信号PREもローレベルとなり、カウンタ16aはプリセットされてカウント信号Q1,Q2はハイレベルとなり、従って、テストモード検出信号TESTはローレベルとなる。
【0035】
次いで、入力信号IN1,IN2,IN3,IN4を互いに所定時間だけずらした入力タイミングで入力する。
【0036】
このとき、まず、パルス発生器12aにおいて、EXORゲート20aによって入力信号IN1,IN2の排他的論理和が取られ、同様に、EXORゲート20bによって入力信号IN3,IN4の排他的論理和が取られる。これらのEXORゲート20a,20bの出力は、ORゲート22によって論理和が取られてクロック信号CKとされた後、インバータ24a,24b,24cによってそれぞれ反転され、カウンタ16aの反転クロック信号とされる。
【0037】
また、遅延回路14aにおいては、ORゲート26によって、入力信号IN1,IN2,IN3,IN4の論理和が取られる。このORゲート26の出力は、遅延素子28によって所定時間遅延された後、インバータ30によって反転され、ANDゲート32によって、ORゲート26の出力とインバータ30の出力との論理積が取られる。ANDゲート32からは、遅延素子28の遅延時間に相当するパルス幅を持つハイレベルのプリセット信号PREが出力される。
【0038】
カウンタ16aは、プリチャージ信号PREがハイレベルの期間だけ動作状態とされ、クロック信号CKが入力される毎にカウントダウンされる。
【0039】
そして、判定回路18aにおいては、カウント信号Q1,Q2がともにローレベルになったときに、換言すれば、カウンタ16aに3回目のクロック信号CKが入力されたときに、NANDゲート36からローレベルが出力されて、カウンタ16aのクリア端子にフィードバックされ、カウント信号Q1,Q2はともにローレベルに保持されるとともに、インバータ38の出力であるテストモード検出信号TESTがハイレベルとなって、ICはテストモードに移行される。
【0040】
【発明の効果】
以上詳細に説明したように、本発明のテスト容易化回路は、回路規模が極めて小さいという利点を有しているばかりでなく、テスト専用ピンを割り付けることなく、ICをテストモードに移行させることができるため、ICの入出力ピンを通常動作モードにおいて有効利用することができるという効果がある。
【図面の簡単な説明】
【図1】 本発明のテスト容易化回路の一実施例の概念図である。
【図2】 本発明のテスト容易化回路の一実施例の構成回路図である。
【図3】 本発明のテスト容易化回路の動作を表す一実施例のタイミングチャートである。
【図4】 従来のテスト回路の一例の概念図である。
【符号の説明】
10,10a テスト容易化回路
12,12a パルス発生器
14,14a 遅延回路
16,16a カウンタ
18,18a 判定回路
20a,20b EXORゲート
22,26 ORゲート
24a,24b,24c,30,38 インバータ
28 遅延素子
32 ANDゲート
34a,34b フリップフロップ(FF)
36 NANDゲート
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a test facilitating circuit capable of realizing a test mode designating function in a semiconductor integrated circuit (IC) without assigning a test dedicated pin.
[0002]
[Prior art]
Conventionally, for the purpose of determining the quality of an IC or analyzing its failure, a test vector for making an IC perform a predetermined operation is created, and an IC tester or the like is used to test an IC using this test vector. Has been done.
However, as the circuit scale of an IC increases, the number of test vectors necessary for testing increases, so that the test vector development period increases and the IC test time and cost increase. .
[0003]
For this reason, conventionally, a test circuit is provided in the IC in advance, a test dedicated pin is allocated, and the IC is tested by shifting the IC to the test mode using the test dedicated pin.
However, in the above test method, in addition to the input / output pins for the normal operation mode of the IC, a plurality of test-dedicated pins for the test mode must be allocated, which is particularly serious in an IC that tends to have a shortage of input / output pins. It was a serious problem.
[0004]
As one solution to such a problem, for example, in Japanese Patent Laid-Open No. 60-4232, a decoder for decoding a combination signal of a plurality of specific input pins is provided in an LSI, and the output of this decoder is output. Among them, there is an LSI test mode designation method that can arbitrarily set multiple types of test modes without assigning dedicated test pins by using a decode output that does not occur in normal operation as a test mode designation signal. Proposed.
[0005]
Here, FIG. 4 shows a conceptual diagram of an example of a test circuit to which the LSI test mode designating system disclosed in Japanese Patent Laid-Open No. 60-4232 is applied.
In the test circuit 40 shown in the figure, the decoder 42 receives input signals IN1, IN2, and IN3 from the input pins, and part of the output of the decoder 42 is input to the test mode detection circuit 44 to detect the test mode. The circuit 44 outputs test mode designation signals TEST_MODE 1, 2, and 3.
[0006]
In the illustrated test circuit 40, the decoder 42 decodes the input signals IN1, IN2, and IN3 from the input pins, and the test mode detection circuit 44 performs normal operation in the input bit patterns of the input signals IN1, IN2, and IN3. An input bit pattern that cannot be a mode is detected, and a decoded output corresponding to an input bit pattern that cannot be a normal operation mode is used as a test mode designating signal TEST_MODE 1, 2, 3 among decoded signals. is there.
[0007]
According to the above-mentioned LSI test mode designation method, it is possible to realize an arbitrary test mode designation function without requiring any assignment of a test-dedicated pin, thereby enabling the internal functions to be expanded by effectively using input / output pins. .
[0008]
However, it is very difficult to obtain a plurality of input pins having an input bit pattern that cannot be in the normal operation mode, and there is a problem that the configuration of a circuit related to the input pins is remarkably limited. Even if an input bit pattern that cannot be in the normal operation mode is obtained, many input pins are required to obtain the input bit pattern. Therefore, the input signals from many input pins are decoded and There is a problem that the circuit scale of the test circuit for detecting the bit pattern increases.
[0009]
[Problems to be solved by the invention]
SUMMARY OF THE INVENTION An object of the present invention is to provide a test facilitating circuit that can realize a test mode designating function with a small circuit configuration without having to allocate a test dedicated pin in view of the problems based on the prior art. It is in.
[0010]
[Means for Solving the Problems]
To achieve the above object, according to the present invention, in the normal operation mode, at least two inputs that are input at different input timings via a plurality of input pins to which each input signal is input at the same input timing. A pulse generator that generates a clock signal having a frequency higher than the operating frequency in the normal operation mode, and a start of change of the input signal that changes first among the at least two input signals; A delay circuit that generates a preset signal having a pulse width corresponding to a predetermined delay time that is set; and an operation state that is set to an operation state for a predetermined fixed time by the preset signal; A counter that counts the clock signal while it is in a state and outputs a count signal that is the count number; No. If becomes a preset value, and a determination circuit for outputting a test mode detection signal for shifting to the test mode,
Each of the at least two input signals has a predetermined width, a shift width of each input timing is equal to or less than the predetermined width, and a delay time by the delay circuit changes first among the at least two input signals. It is an object of the present invention to provide a test facilitating circuit characterized in that the time is from the start of the change of the input signal to the end of the change of the input signal that changes last.
[0011]
Here, at least two input signals supplied via the input pins in the normal operation mode use signals that change at the same input timing in the normal operation mode, and change at input timings shifted from each other in the test mode. It is preferable to do so.
The counter preferably holds the value of the count signal when the count signal reaches a preset value.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
The test facilitating circuit of the present invention will be described in detail below based on a preferred embodiment shown in the accompanying drawings.
[0013]
FIG. 1 is a conceptual diagram of an embodiment of a test facilitating circuit according to the present invention.
The test facilitating circuit 10 shown in the figure provides a predetermined input signal at a predetermined input timing from a plurality of input pins in the normal operation mode without assigning a test dedicated pin to the semiconductor integrated circuit (IC). The IC is shifted to the test mode, and includes a pulse generator 12, a delay circuit 14, a counter 16, and a determination circuit 18.
[0014]
A plurality of input signals IN1, IN2,..., INn supplied from a plurality of predetermined input pins are input to the pulse generator 12 and the delay circuit 14, and the clock signal CK and the delay output from the pulse generator 12 are input. Both the preset signals PRE output from the circuit 14 are input to the counter 16. The count signal Qn output from the counter 16 is input to the determination circuit 18, and a test mode designation signal OUT is output from the determination circuit 18.
[0015]
In the illustrated test facilitating circuit 10, first, the pulse generator 12 is supplied from a plurality (two or more) of input signals IN1, IN2,..., INn supplied via a plurality of input pins in the normal operation mode. The clock signal CK input to the counter 16 is generated.
[0016]
In the pulse generator 12, when the IC is shifted to the test mode, for example, the input timings of the input signals IN1, IN2,..., INn are shifted from each other, and the logic of these input signals IN1, IN2,. As a result, the clock signal CK having a frequency higher than the operating frequency in the normal operation mode is generated. At this time, as the input pins, for example, those input at the same input timing in the normal operation mode are preferably used.
[0017]
The delay circuit 14 generates a preset signal PRE to be input to the counter 16 from a plurality of input signals IN1, IN2,..., INn supplied via a plurality of input pins in the normal operation mode. In the delay circuit 14, for example, after detecting a change in the input signals IN 1, IN 2,..., INn, the counter 16 is set in an operating state for a predetermined period of time, and the counter 16 is in an initial state (initial value) for other periods. A preset signal PRE is generated.
[0018]
As described above, when the IC is shifted to the test mode, the same plurality of input signals IN1, IN2,..., INn are input to the pulse generator 12 and the delay circuit 14, and the input pins are in the normal operation mode inside the IC. By generating a preset signal PRE having a predetermined pulse width and a high-frequency clock signal that is not directly input from (cannot be) input, it is possible to prevent erroneous transition to the test mode during the normal operation mode. it can.
[0019]
Note that the pulse width of the preset signal PRE, that is, the time during which the counter 16 is in the operating state, is determined by the predetermined number of clock signals CK required for shifting to the test mode at the operating frequency and input timing in the normal operation mode. What is necessary is just to determine suitably according to the operating frequency at the time of normal operation mode, the frequency of the clock signal CK produced | generated by the pulse generator 12, the number of clocks for shifting to test mode, etc. so that it may not be input into the counter 16.
[0020]
The counter 16 is a counter that is set in an operating state for a predetermined period of time by a preset signal PRE output from the delay circuit 14 and is in an initial state (predetermined value) during other periods, and is a pulse generator. 12 counts the number of clocks of the clock signal CK output from 12, and outputs a count signal Qn which is the count number.
[0021]
The determination circuit 18 detects that the count signal Qn has reached a preset value, that is, that a preset number of clock signals CK have been input to the counter 16, and shifts to the test mode. The test mode detection signal OUT is output.
[0022]
The counter 16 is basically in an operating state for a predetermined period of time by the preset signal PRE, and is returned to the initial state during other periods, so that the test mode detection signal OUT is in the active state. For example, the configuration is such that the value of the count signal Qn is held, or the active state level of the test mode detection signal OUT is held, for example, by providing a latch, a flip-flop (FF), etc. It is preferable to keep it.
[0023]
When the test facilitating circuit 10 shifts to the test mode, a pulse whose input timing is shifted by a predetermined time, for example, is input from the plurality of input signals IN1, IN2,. At this time, the delay circuit 14 generates a preset signal PRE for operating the counter 16 for a predetermined fixed time, and the pulse generator 12 generates a clock signal having a frequency higher than the operating frequency in the normal operation mode. CK is generated.
[0024]
The counter 16 is activated by the preset signal PRE, counts the number of clocks of the clock signal CK, and outputs a count signal Qn. The count signal Qn is determined by a determination circuit, and when the count signal Qn reaches a preset value, the test mode detection signal OUT is output and the IC shifts to the test mode, but the count signal Qn is preset. When the set value is not reached, the counter 16 is initialized by the preset signal PRE.
[0025]
On the other hand, in the normal operation mode, input signals IN1, IN2,..., INn are input at the input timing of the normal operation mode. At this time, even if the delay circuit 14 detects changes in the input signals IN1, IN2,..., INn, and the counter 16 is set in the operating state, the pulse generator 12 has the input timing in the normal operation mode. While the counter 16 is in the operating state, a predetermined number of clock signals CK necessary to shift the IC to the test mode are not generated.
[0026]
That is, in order for the IC to enter the test mode, it is necessary to supply a plurality of input signals IN1, IN2,..., INn at a predetermined input timing from a plurality of input pins in the normal operation mode using, for example, a tester. For example, in the normal operation mode state mounted on a printed circuit board or the like, the input signals IN1, IN2,..., INn are not input at such an input timing. There is no transition to test mode.
[0027]
The test facilitating circuit of the present invention is basically as described above.
Next, the test facilitating circuit of the present invention will be described in more detail with a specific circuit example.
[0028]
Here, FIG. 2 shows a configuration circuit diagram of an embodiment of the test facilitating circuit of the present invention. In the illustrated test facilitating circuit 10a, the clock signal CK is input three times during a predetermined time set in advance in the delay circuit 14a by the input signals supplied from the input pins IN1, IN2, IN3, and IN4. Then, the test mode detection signal TEST is set to the high level to shift the IC to the test mode, and thereafter the test mode is maintained until the power source is turned off, for example.
[0029]
In the illustrated test facilitating circuit 10a, the pulse generator 12a includes EXOR gates 20a and 20b, an OR gate 22, and inverters 24a, 24b, and 24c. Input signals IN1 and IN2 and input signals IN3 and IN4 are input to the EXOR gates 20a and 20b, respectively, and their outputs are both input to the OR gate 22. The output of the OR gate 22 is a clock signal CK that is input to the inverter 24a, and the inverters 24a, 24b, and 24c are connected in series.
[0030]
The delay circuit 14 a includes an OR gate 26, a delay element 28, an inverter 30, and an AND gate 32. Input signals IN 1, IN 2, IN 3, and IN 4 are input to the OR gate 26, and the output is input to one input terminal of the delay element 28 and the AND gate 32. The output of the delay element 28 is input to the inverter 30, the output of the inverter 30 is input to the other input terminal of the AND gate 32, and the output of the AND gate 32 is the preset signal PRE.
[0031]
The counter 16a has FFs 34a and 34b. The clock signal CK is input to the inverted clock input terminal of the FF 34a, and the data input terminal D and the inverted data output terminal QB are short-circuited. The output of the data output terminal Q of the FF 34a is input to the clock input terminal of the FF 34b, and the data input terminal D and the inverted data output terminal QB are short-circuited. The preset signal PRE is input to the preset terminals PR of the FFs 34a and 34b, and the outputs of the data output terminals Q are counter signals Q1 and Q2, respectively.
[0032]
The determination circuit 18a includes a NAND gate 36 and an inverter 38. The NAND gate 36 receives the inverted signals of the counter signals Q1 and Q2, its output is input to the clear terminals CR of the FFs 34a and 34b and the inverter 38, and the output of the inverter 38 is the test mode designating signal TEST. .
Thus, the test facilitating circuit of the present invention has a circuit configuration with an extremely small circuit scale.
[0033]
Next, the operation of the test facilitating circuit 10a will be described with reference to the timing chart shown in FIG.
Note that the FFs 34a and 34b of the counter 16a, for example, when the low level is input to both the preset terminal PR and the clear terminal CR, the clear terminal CR has priority over the preset terminal PR, and the data output terminal Q receives the low level. The level shall be output.
[0034]
As shown in the timing chart of FIG. 3, first, the input signals IN1, IN2, IN3, and IN4 are all set to a low level.
At this time, since the output of the OR gate 26 becomes low level, the preset signal PRE which is the output of the AND gate 32 also becomes low level, the counter 16a is preset, and the count signals Q1 and Q2 become high level. The detection signal TEST is at a low level.
[0035]
Next, the input signals IN1, IN2, IN3, and IN4 are input at input timings shifted from each other by a predetermined time.
[0036]
At this time, first, in the pulse generator 12a, the exclusive OR of the input signals IN1 and IN2 is taken by the EXOR gate 20a, and similarly, the exclusive OR of the input signals IN3 and IN4 is taken by the EXOR gate 20b. The outputs of these EXOR gates 20a and 20b are logically ORed by the OR gate 22 to become the clock signal CK, and then inverted by the inverters 24a, 24b and 24c, respectively, to become the inverted clock signal of the counter 16a.
[0037]
In the delay circuit 14a, a logical sum of the input signals IN1, IN2, IN3, IN4 is taken by the OR gate 26. The output of the OR gate 26 is delayed for a predetermined time by the delay element 28 and then inverted by the inverter 30, and the AND of the output of the OR gate 26 and the output of the inverter 30 is taken by the AND gate 32. The AND gate 32 outputs a high-level preset signal PRE having a pulse width corresponding to the delay time of the delay element 28.
[0038]
The counter 16a is in an operating state only while the precharge signal PRE is at a high level, and is counted down every time the clock signal CK is input.
[0039]
In the determination circuit 18a, when both the count signals Q1 and Q2 become low level, in other words, when the third clock signal CK is input to the counter 16a, the low level is output from the NAND gate 36. Is output and fed back to the clear terminal of the counter 16a, the count signals Q1 and Q2 are both held at a low level, and the test mode detection signal TEST, which is the output of the inverter 38, is at a high level. It is transferred to.
[0040]
【The invention's effect】
As described above in detail, the test facilitating circuit of the present invention not only has the advantage that the circuit scale is extremely small, but also allows the IC to be shifted to the test mode without assigning a test dedicated pin. Therefore, there is an effect that the input / output pins of the IC can be effectively used in the normal operation mode.
[Brief description of the drawings]
FIG. 1 is a conceptual diagram of an embodiment of a test facilitating circuit according to the present invention.
FIG. 2 is a configuration circuit diagram of an embodiment of a test facilitating circuit according to the present invention.
FIG. 3 is a timing chart of an embodiment illustrating the operation of the test facilitating circuit of the present invention.
FIG. 4 is a conceptual diagram of an example of a conventional test circuit.
[Explanation of symbols]
10, 10a Test facilitating circuit 12, 12a Pulse generator 14, 14a Delay circuit 16, 16a Counter 18, 18a Determination circuit 20a, 20b EXOR gate 22, 26 OR gate 24a, 24b, 24c, 30, 38 Inverter 28 Delay element 32 AND gates 34a and 34b Flip-flop (FF)
36 NAND gate

Claims (1)

通常動作モード時には各々の入力信号が同じ入力タイミングで入力される複数の入力ピンを介して、各々の入力タイミングをずらして入力される少なくとも2つの入力信号から、前記通常動作モード時の動作周波数よりも高周波のクロック信号を生成するパルス発生器と、前記少なくとも2つの入力信号のうち最初に変化する入力信号の変化の開始を検出してから、予め設定された所定の遅延時間に相当するパルス幅を持つプリセット信号を生成する遅延回路と、前記プリセット信号によって所定の一定時間だけ動作状態とされ、それ以外の期間には初期状態とされ、前記動作状態とされた間に前記クロック信号をカウントしてそのカウント数であるカウント信号を出力するカウンタと、前記カウント信号が予め設定された値になると、テストモードに移行するためのテストモード検出信号を出力する判定回路とを有し、
前記少なくとも2つの入力信号は、各々所定幅を持ち、前記各々の入力タイミングのずれ幅が該所定幅以下であり、前記遅延回路による遅延時間は、前記少なくとも2つの入力信号のうち最初に変化する入力信号の変化の開始から最後に変化する入力信号の変化の終了までの間の時間であることを特徴とするテスト容易化回路。
In the normal operation mode, each input signal is input from a plurality of input pins that are input at the same input timing, from at least two input signals that are input while shifting each input timing, from the operation frequency in the normal operation mode. A pulse generator that generates a high-frequency clock signal, and a pulse width corresponding to a predetermined delay time set in advance after detecting the start of the change of the input signal that changes first among the at least two input signals. A delay circuit that generates a preset signal having an operating state, and is in an operating state for a predetermined period of time by the preset signal, and is in an initial state during other periods, and counts the clock signal during the operating state. A counter that outputs a count signal corresponding to the count number, and a test signal when the count signal reaches a preset value. And a judging circuit for outputting a test mode detection signal for shifting to a mode,
Each of the at least two input signals has a predetermined width, a shift width of each input timing is equal to or less than the predetermined width, and a delay time by the delay circuit changes first among the at least two input signals. A test facilitating circuit, characterized in that it is the time from the start of the change of the input signal to the end of the change of the input signal that changes last.
JP18293196A 1996-07-12 1996-07-12 Testability circuit Expired - Fee Related JP3685419B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18293196A JP3685419B2 (en) 1996-07-12 1996-07-12 Testability circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18293196A JP3685419B2 (en) 1996-07-12 1996-07-12 Testability circuit

Publications (2)

Publication Number Publication Date
JPH1026657A JPH1026657A (en) 1998-01-27
JP3685419B2 true JP3685419B2 (en) 2005-08-17

Family

ID=16126884

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18293196A Expired - Fee Related JP3685419B2 (en) 1996-07-12 1996-07-12 Testability circuit

Country Status (1)

Country Link
JP (1) JP3685419B2 (en)

Also Published As

Publication number Publication date
JPH1026657A (en) 1998-01-27

Similar Documents

Publication Publication Date Title
US5680543A (en) Method and apparatus for built-in self-test with multiple clock circuits
US5900757A (en) Clock stopping schemes for data buffer
US6452426B1 (en) Circuit for switching between multiple clocks
US7398442B2 (en) Electronic circuit with asynchronously operating components
US5574731A (en) Set/reset scan flip-flops
WO2002001719A2 (en) Method and apparatus for testing high performance circuits
US4961013A (en) Apparatus for generation of scan control signals for initialization and diagnosis of circuitry in a computer
JPH0666897A (en) Logic integrated circuit
US7028239B2 (en) Microprocessor on-chip testing architecture and implementation
JP2550837B2 (en) Scan path test control circuit
KR940008607B1 (en) Self-diagnosis circuit and method of information processing apparatus
JP3116618B2 (en) Semiconductor integrated circuit with built-in test circuit
EP0461041B1 (en) Flip-flop circuit
JP3685419B2 (en) Testability circuit
EP0151694A2 (en) Logic circuit with built-in self-test function
US6145087A (en) Semiconductor integrated device
JPH11118883A (en) Semiconductor integrated circuit and method for testing the same
KR100844485B1 (en) Test mode entry/decision circuit for semiconductor device, semiconductor device having the same, and method of entering test mode and determining test mode of semiconductor
JP2002350509A (en) Semiconductor device
JPH11219226A (en) Clock input circuit
JP3698269B2 (en) LSI delay measurement method
JPH07287052A (en) Logic integrated circuit with scan path
JP2000092028A (en) Random error generating circuit
JPH0744417A (en) Test circuit for microcomputer
JPH0389178A (en) Semiconductor integrated circuit

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020129

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050303

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050405

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050527

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090610

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090610

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100610

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110610

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110610

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120610

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120610

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130610

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130610

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20140610

Year of fee payment: 9

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees