JPH11174132A - Device and method for detecting test mode - Google Patents

Device and method for detecting test mode

Info

Publication number
JPH11174132A
JPH11174132A JP9305752A JP30575297A JPH11174132A JP H11174132 A JPH11174132 A JP H11174132A JP 9305752 A JP9305752 A JP 9305752A JP 30575297 A JP30575297 A JP 30575297A JP H11174132 A JPH11174132 A JP H11174132A
Authority
JP
Japan
Prior art keywords
signal
circuit
recombination
integrated circuit
test mode
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
JP9305752A
Other languages
Japanese (ja)
Other versions
JP3028090B2 (en
Inventor
Kokusei Yo
國成 余
Hosho Son
葆祥 孫
Rong-Dzung Tsai
榮宗 蔡
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.)
HETAI SEMICONDUCTOR CO Ltd
Original Assignee
HETAI SEMICONDUCTOR CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by HETAI SEMICONDUCTOR CO Ltd filed Critical HETAI SEMICONDUCTOR CO Ltd
Priority to JP9305752A priority Critical patent/JP3028090B2/en
Publication of JPH11174132A publication Critical patent/JPH11174132A/en
Application granted granted Critical
Publication of JP3028090B2 publication Critical patent/JP3028090B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a detection device for avoiding an erroneous operation where an integrated circuit enters a test mode by mistake. SOLUTION: A detection device 101 that is applied to an integrated circuit 10, and is provided corresponding to a test device 11 for generating a first rearrangement signal, is provided with a signal rearrangement circuit 1011 that has a specific signal input terminal and rearranges the specific signal and outputs a second rearrangement signal when the specific signal is inputted; and a discrimination circuit 1012 for discriminating whether the integrated circuit 10 enters a test mode or not by entering the first and the second rearrangement signals.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、検出装置及び方法
に関し、特にテストモードの検出装置及び検出方法に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a detection apparatus and method, and more particularly to a test mode detection apparatus and method.

【0002】[0002]

【従来の技術】従来から、集積回路の量産過程における
品質の良否は、通常量産テストによって区分されてい
た。そこで、量産テストのプログラム中に測定されたデ
ータの正確性及びテスト速度を向上させるために、集積
回路に若干のテスト線路を設け、前記量産テストの時に
量産品質が確認されるようにしていた。
2. Description of the Related Art Hitherto, quality of integrated circuits in mass production processes has been usually determined by mass production tests. Therefore, in order to improve the accuracy and test speed of the data measured during the program of the mass production test, some test lines are provided in the integrated circuit so that the mass production quality is confirmed at the time of the mass production test.

【0003】そして、当該集積回路が正規動作モード状
態にある時に、誤ってテストモードになり、テスト線路
によって実際の回路の正規の動作が影響されるのを回避
するために、回路設計者により集積回路が正規動作モー
ドにあるか、又は、テストモードにあるかを識別する様
々な方法が採られ、これにより集積回路において量産テ
ストの遂行が可能である状況下でテスト回路が集積回路
の正規な動作に影響を及ぼさないようにしていた。しか
しながら、従来の正規動作モードとテストモードとを識
別する方法にはそれぞれ欠点を有し、より安定で信頼性
の高い、正規動作モードとテストモードとを識別する装
置と方法が要望されている。
When the integrated circuit is in the normal operation mode, the circuit designer mistakenly enters the test mode, and in order to prevent the normal operation of the actual circuit from being affected by the test line, the integrated circuit is integrated by the circuit designer. Various methods are employed to identify whether a circuit is in a normal operating mode or a test mode, such that the test circuit is capable of performing normal production testing on the integrated circuit. The operation was not affected. However, the conventional method for distinguishing between the normal operation mode and the test mode has disadvantages, and a more stable and reliable apparatus and method for distinguishing between the normal operation mode and the test mode are demanded.

【0004】従来の方法において、最もよく実施されて
いたテストモード検出方法では、1個又は複数個のテス
トピンを増加することにより正規動作モードとテストモ
ードとを切り換え、場合によっては、多種のテストモー
ド態様における特定テストモードを区分していた。例え
ば、テストピンは通常ハイレベル(/ローレベル)状態
に固定されているが、一旦外部から該テストピンが無理
にローレベル(/ハイレベル)状態に切り換えられる
と、たとえ集積回路が正規動作モードからテストモード
に切り換えられても集積回路はテスト線路を介して内部
信号を導出し、外部から直接これら内部信号を制御する
ことを許容する。つまり、外部のテスターがこの特性を
利用して集積回路内部のこれら内部信号及び入力制御信
号を計測するのである。
In the conventional test mode detection method which has been most often performed in the conventional method, the normal operation mode and the test mode are switched by increasing one or more test pins. The specific test mode in the mode mode is divided. For example, the test pin is normally fixed to a high level (/ low level) state, but once the test pin is forcibly switched to a low level (/ high level) state from the outside, even if the integrated circuit is in a normal operation mode. The integrated circuit derives internal signals via the test line even when the test mode is switched to the test mode, and allows external control of these internal signals directly. That is, an external tester uses these characteristics to measure these internal signals and input control signals inside the integrated circuit.

【0005】[0005]

【発明が解決しようとする課題】このように、従来の方
法の利点は、正規動作モードとテストモードとの間が明
確に区分されていることにあり、したがって、正規動作
モードが誤ってテストモードに入ることがない。しかし
ながら、その反面切り換えのテストピンを多く設計しな
ければならず、小パックの集積回路において常にトラブ
ルを起こしている。それは小パックの集積回路上にある
テストピンが各自の用途を有し、その中から特定のテス
トピンを繰り出してテスト用に供することが容易でない
ことに起因する。さらには、ユーザによりテスト用の特
定ピンに固定レベルの信号を施すのみでテストモードに
進入され内部情報が導出されることから、回路の秘密を
十分に保護することができない。
As described above, the advantage of the conventional method is that the normal operation mode and the test mode are clearly separated from each other, so that the normal operation mode is erroneously set in the test mode. Never enter. However, on the other hand, a large number of test pins for switching must be designed, which always causes trouble in a small-pack integrated circuit. This is because the test pins on the small-package integrated circuit have their own uses, and it is not easy to draw out a specific test pin from among them and use them for testing. Furthermore, since the user enters the test mode and derives internal information only by applying a fixed-level signal to a specific pin for test by the user, the confidentiality of the circuit cannot be sufficiently protected.

【0006】また、テストピンを多く設ける必要のある
欠点を解消するために、ある特定ピンの箇所から特殊な
組み合わせの直列(又は並列)信号を入力して、集積回
路の正規動作モード又はテストモードに入る動作を区分
できるようにしている。これらの方法の利点はテストピ
ンを増加しなくても正規動作モード又はテストモードを
識別できる点にあるが、反面、何かの種類の特殊組合せ
の直列(又は並列)信号を発生させて、集積回路が正規
動作モードにあるときに該信号が発生しないようにしな
ければならない。さもなければ本来正規操作状態にある
集積回路が、その正規動作信号がこれら特殊組合せの信
号と同一であるために、誤ってテストモードに切り換え
られ、反対に誤動作を引き起こしてしまう。言い換えれ
ば、集積回路の正規動作信号が多種多様であるために、
これら特殊組合せ信号が同一にならないように確保する
ことは容易でない。したがって、従来のある特定ピンの
箇所から特殊組合せ信号を入力する方法あまり信頼でき
ない。
Further, in order to eliminate the drawback that it is necessary to provide a large number of test pins, a special combination of serial (or parallel) signals is inputted from a certain pin, and the integrated circuit is operated in a normal operation mode or a test mode. It is possible to distinguish the operations that enter. The advantage of these methods is that the normal operation mode or the test mode can be distinguished without increasing the number of test pins, but on the other hand, the generation of some kind of special combination of serial (or parallel) signals, This signal must not be generated when the circuit is in normal operation mode. Otherwise, the integrated circuit which is originally in the normal operation state is erroneously switched to the test mode because the normal operation signal is the same as the signal of these special combinations, and conversely causes a malfunction. In other words, due to the wide variety of normal operation signals of integrated circuits,
It is not easy to ensure that these special combination signals are not the same. Therefore, the conventional method of inputting a special combination signal from a certain pin is not very reliable.

【0007】これ以外に、検出発振器が発振しているか
否かにより集積回路が正規動作モード状態にあるか、又
はテストモード状態にあるかを識別する方法が採られて
いるが、この方法も前記のある特定ピンの箇所から特殊
組合せ信号を入力する方法と同じく、テストモードに誤
って入る誤動作を回避することができない。
[0007] In addition, a method has been adopted for identifying whether an integrated circuit is in a normal operation mode state or a test mode state based on whether or not a detection oscillator is oscillating. As with the method of inputting a special combination signal from a certain specific pin, it is not possible to avoid a malfunction that enters the test mode by mistake.

【0008】本発明の主たる目的は、集積回路が誤って
テストモードに入る誤動作を回避する検出装置及び方法
を提供することにある。
SUMMARY OF THE INVENTION It is a primary object of the present invention to provide a detection apparatus and method for preventing a malfunction in which an integrated circuit enters a test mode by mistake.

【0009】本発明の次の目的は、高度に秘密を保護で
きる検出装置及び方法を提供することにある。
It is another object of the present invention to provide a detection apparatus and method capable of highly protecting secrets.

【0010】本発明の次の目的は、テストピンを増加す
ることなく集積回路を計測するテストモードの検出装置
及び方法を提供することにある。
Another object of the present invention is to provide a test mode detecting apparatus and method for measuring an integrated circuit without increasing the number of test pins.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するため
の、本発明に係るテストモード検出装置は、集積回路に
応用され、第1の組換え信号を発生するテスト装置に対
応して設けられたテストモードの検出装置であって、特
定信号入力端を備え、特定信号が入力されると共に該特
定信号を組換えて第2の組換え信号を出力する信号組換
え回路と、前記第1及び第2の組換え信号が入力されて
前記集積回路が前記テストモードに進入しているか否か
を判別する判別回路とを備えてなるものである。
According to the present invention, there is provided a test mode detecting apparatus which is applied to an integrated circuit and is provided corresponding to a test apparatus for generating a first recombination signal. A signal recombination circuit having a specific signal input terminal, receiving a specific signal and recombining the specific signal to output a second recombined signal; A determination circuit for determining whether or not the integrated circuit has entered the test mode when a second recombination signal is input.

【0012】好ましくは、前記集積回路はさらに、前記
信号組換え回路と前記判別回路とに電気的に接続され、
起動信号を入力するための起動信号入力端を備えてい
る。
Preferably, the integrated circuit is further electrically connected to the signal recombination circuit and the discrimination circuit,
A start signal input terminal for inputting a start signal is provided.

【0013】好ましくは、前記起動信号入力端は、リセ
ット信号入力端であり、前記起動信号はリセット信号で
ある。
Preferably, the start signal input terminal is a reset signal input terminal, and the start signal is a reset signal.

【0014】好ましくは、前記信号組換え回路と前記判
別回路とは、何れも起動信号に応じて使用可能(enabl
e)状態になった時に使用可能動作が発生し、一方前記起
動信号が使用禁止(disable)状態になった時に、前記信
号組換え回路と前記判別回路とを使用可能状態にさせる
動作を停止するように構成される。
[0014] Preferably, both the signal recombination circuit and the discrimination circuit can be used according to a start signal (enabl
e) A usable operation occurs when the state is changed to a state, and an operation for setting the signal recombination circuit and the determination circuit to a usable state is stopped when the activation signal is disabled. It is configured as follows.

【0015】前記使用可能状態はハイレベル状態とする
ことができる。また、前記使用可能状態はローレベル状
態としてもよい。
The usable state may be a high level state. Further, the usable state may be a low level state.

【0016】好ましくは、前記テスト装置は、集積回路
の内部特性と品質とを計測する集積回路テスタである。
[0016] Preferably, the test device is an integrated circuit tester for measuring internal characteristics and quality of the integrated circuit.

【0017】好ましくは、前記テスト装置は、他の特定
信号入力端を有し、この特定信号入力端の箇所から他の
特定信号が入力されると共に前記他の特定信号を組換え
て前記第1の組換え信号の出力を発生させる他の信号組
換え回路を備えている。
Preferably, the test apparatus has another specific signal input terminal, and another specific signal is input from the specific signal input terminal, and the first specific signal is recombined with the first specific signal. Another signal recombination circuit for generating the output of the recombination signal is provided.

【0018】好ましくは、前記他の信号組換え回路はさ
らに、前記他の特定信号における全部又は一部の信号を
分割、組換えて前記第1の組換え信号を得る他の遅延コ
ード回路を備えている。
Preferably, the other signal recombination circuit further includes another delay code circuit for dividing and recombining all or some of the other specified signals to obtain the first recombined signal. ing.

【0019】好ましくは、前記他の信号組換え回路は、
前記他の特定信号が入力されると共に、前記他の特定信
号をタイムパルス信号として使用する第1のフリップフ
ロップと、この第1のフリップフロップに電気的に接続
され、前記第1のフリップフロップの出力信号をそのタ
イムパルス信号として使用する第2のフリップフロップ
と、この第2のフリップフロップに電気的に接続され、
前記第2のフリップフロップの出力信号をそのタイムパ
ルス信号として使用する第3のフリップフロップとを備
えている。
Preferably, the other signal recombination circuit comprises:
A first flip-flop that receives the other specific signal and uses the other specific signal as a time pulse signal; and a first flip-flop that is electrically connected to the first flip-flop. A second flip-flop that uses the output signal as its time pulse signal, and is electrically connected to the second flip-flop;
And a third flip-flop that uses an output signal of the second flip-flop as its time pulse signal.

【0020】好ましくは、前記第1、第2及び第3のフ
リップフロップは何れもT形フリップフロップであると
共に、これらフリップフロップの出力信号は前記第1の
組換え信号として使用される。
Preferably, the first, second and third flip-flops are all T-type flip-flops, and the output signals of these flip-flops are used as the first recombination signal.

【0021】前記第1の組換え信号はシリアルの組換え
信号とすることができる。また、前記第1の組換え信号
はパラレルの組換え信号としてもよい。
[0021] The first recombination signal may be a serial recombination signal. Further, the first recombination signal may be a parallel recombination signal.

【0022】好ましくは、前記信号組換え回路は更に、
前記特定信号における全部又は一部の信号を分割、組換
えて前記第2の組換え信号を得る遅延コード回路を備え
ている。
Preferably, the signal recombination circuit further comprises:
A delay code circuit is provided for dividing and recombining all or a part of the specific signal to obtain the second recombined signal.

【0023】好ましくは、前記信号組換え回路は、前記
特定信号が入力されると共に、この特定信号をそのタイ
ムパルス信号として使用する第4のフリップフロップ
と、この第4のフリップフロップに電気的に接続され、
前記第4のフリップフロップの出力信号をそのタイムパ
ルス信号として使用する第5のフリップフロップと、こ
の第5のフリップフロップに電気的に接続され、前記第
5のフリップフロップの出力信号をそのタイムパルス信
号として使用する第6のフリップフロップとを備えてお
り、前記第4、第5及び第6のフリップフロップの出力
信号は前記第2の組換え信号として使用される。
Preferably, the signal recombination circuit receives the specific signal and uses the specific signal as a time pulse signal of the fourth flip-flop, and electrically connects the fourth flip-flop to the fourth flip-flop. Connected
A fifth flip-flop using the output signal of the fourth flip-flop as its time pulse signal, and an output signal of the fifth flip-flop electrically connected to the fifth flip-flop. A sixth flip-flop used as a signal, and the output signals of the fourth, fifth and sixth flip-flops are used as the second recombination signal.

【0024】好ましくは、前記第4、第5及び第6のフ
リップフロップは何れもT形フリップフロップである。
Preferably, the fourth, fifth and sixth flip-flops are all T-type flip-flops.

【0025】前記第2の組換え信号はシリアルの組換え
信号とすることができる。また、前記第2の組換え信号
はパラレルの組換え信号としてもよい。
[0025] The second recombined signal may be a serial recombined signal. Further, the second recombination signal may be a parallel recombination signal.

【0026】好ましくは、前記判別回路は比較器であ
る。
Preferably, said discriminating circuit is a comparator.

【0027】好ましくは、前記判別回路は、第1及び第
2の組換え信号を比較して同一であるときにテストモー
ド信号が発生し、前記集積回路内部に設けられたテスト
線路を駆動して前記テストモードに入らせるようにし、
さもなければ前記集積回路はなお正規動作モード状態を
維持する。
Preferably, the discriminating circuit compares the first and second recombination signals and generates a test mode signal when they are the same, and drives a test line provided inside the integrated circuit to drive the test line. To enter the test mode,
Otherwise, the integrated circuit will still maintain the normal operating mode state.

【0028】好ましくは、前記テストモードの検出装置
は、前記集積回路の内部に設けられている。
Preferably, the test mode detecting device is provided inside the integrated circuit.

【0029】好ましくは、前記テストモードの検出装置
はさらに、前記他の特定信号と前記特定信号とを発生さ
せることにより他の信号組換え回路及び前記信号組換え
回路がそれぞれ前記第1及び第2の組換え信号を発生す
る信号発生回路を備えている。
Preferably, the test mode detecting device further generates the other specific signal and the specific signal so that the other signal recombination circuit and the signal recombination circuit respectively have the first and second signal recombination circuits. And a signal generation circuit for generating a recombination signal of

【0030】好ましくは、前記信号発生回路は原始信号
出力を発生させる信号発生器と、この信号発生器に電気
的に接続され、前記原始信号を状態信号出力に転換する
状態発生器と、この状態発生器に電気的に接続され、前
記状態信号をエンコードして前記他の特定信号又は前記
特定信号出力を発生させる信号エンコーダとを備えてい
る。
Preferably, said signal generating circuit is a signal generator for generating a source signal output, a state generator electrically connected to said signal generator for converting said source signal to a state signal output, A signal encoder electrically connected to the generator and encoding the status signal to generate the another specific signal or the specific signal output.

【0031】前記他の特定信号又は前記特定信号はシリ
アル特定信号とすることができる。また、前記他の特定
信号又は前記特定信号はパラレル特定信号としてもよ
い。
[0031] The other specific signal or the specific signal may be a serial specific signal. Further, the other specific signal or the specific signal may be a parallel specific signal.

【0032】好ましくは、前記信号発生回路は、前記起
動信号入力端に電気的に接続され、前記起動信号に応じ
て使用可能状態になった時に使用可能動作が発生し、そ
して前記起動信号が使用禁止状態になった時に、前記信
号発生回路を使用可能状態にさせる動作を停止する。
Preferably, the signal generation circuit is electrically connected to the start signal input terminal, and when the start signal becomes available in response to the start signal, a usable operation occurs, and the start signal is used. When the prohibition state is set, the operation for making the signal generation circuit usable is stopped.

【0033】好ましくは、前記他の特定信号と前記特定
信号とは同一の特定信号である。
Preferably, the another specific signal and the specific signal are the same specific signal.

【0034】好ましくは、前記信号発生回路は前記集積
回路内部に設けられており、前記テストモードの検出装
置は更に、前記特定信号と前記集積回路との正規動作信
号が前記集積回路の出力ピンを共用できるようにさせる
ためのマルチプレクス装置を備えている。
Preferably, the signal generation circuit is provided inside the integrated circuit, and the test mode detection device further includes a normal operation signal of the specific signal and the integrated circuit for outputting an output pin of the integrated circuit. A multiplex device is provided to enable sharing.

【0035】好ましくは、前記マルチプレクス装置は、
2対1のマルチプレクサであり、このマルチプレクサの
選択信号端は、前記集積回路の動作モードがテストモー
ド又は正規動作モードにある状態に対応するように、前
記信号発生回路から入力されたマルチプレクス・イネー
ブル選択信号に応じて、前記特定信号又は前記正規動作
信号を前記出力ピンに出力する。
Preferably, the multiplex device comprises:
The multiplexer is a two-to-one multiplexer, and a selection signal terminal of the multiplexer has a multiplex enable input from the signal generation circuit such that the operation mode of the integrated circuit corresponds to a test mode or a normal operation mode. The specific signal or the normal operation signal is output to the output pin according to the selection signal.

【0036】好ましくは、前記正規動作信号は、前記集
積回路における系統発振器の系統発振出力信号であり、
前記出力ピンは前記系統発振器の出力ピンである。
Preferably, the normal operation signal is a system oscillation output signal of a system oscillator in the integrated circuit,
The output pin is an output pin of the system oscillator.

【0037】本発明はまたテストモードの検出方法に関
するもので、第1の組換え信号が発生するテスト装置に
対応して設けられた集積回路に応用されるテストモード
の検出方法であって、(a)特定信号を入力し、前記集
積回路をして前記特定信号に応じて分割、組換えを行わ
せしめると共に、第2の組換え信号を発生させるステッ
プと、(b)前記第1の組換え信号を前記集積回路に入
力させるステップと、(c)前記第1及び第2の組換え
信号の判別動作を行うことにより、前記集積回路が前記
テストモードに入っているか否かを判別するステップと
を備えてなる。
The present invention also relates to a method for detecting a test mode, and more particularly to a method for detecting a test mode applied to an integrated circuit provided corresponding to a test apparatus for generating a first recombined signal. a) inputting a specific signal, causing the integrated circuit to perform division and recombination in accordance with the specific signal, and to generate a second recombination signal; and (b) the first recombination signal. Inputting a signal to the integrated circuit; and (c) determining whether the integrated circuit is in the test mode by performing an operation of determining the first and second recombined signals. Is provided.

【0038】好ましくは、ステップ(a)の前に更に、
(d)前記集積回路に起動信号を付与するステップを備
えている。
Preferably, before step (a),
(D) providing a start signal to the integrated circuit.

【0039】好ましくは、前記起動信号が使用可能状態
にある時に初めて前記ステップ(a)乃至ステップ
(c)を行い、起動信号が禁止状態にある時に前記ステ
ップ(a)乃至ステップ(c)を進行を停止する。
Preferably, the steps (a) to (c) are performed only when the activation signal is in a usable state, and the steps (a) to (c) are advanced when the activation signal is in an inhibited state. To stop.

【0040】前記使用可能状態はハイレベル状態とする
ことができる。また、前記使用可能状態はローレベル状
態としてもよい。
The usable state can be a high level state. Further, the usable state may be a low level state.

【0041】好ましくは、前記起動信号はリセット信号
である。
Preferably, the start signal is a reset signal.

【0042】好ましくは、前記テスト装置は、前記集積
回路の内部特性及び品質を計測する集積回路テスタであ
りる。
Preferably, the test device is an integrated circuit tester for measuring internal characteristics and quality of the integrated circuit.

【0043】好ましくは、前記テスト装置は、他の特定
信号が入力されると共に前記第1の組換え信号を発生さ
せて出力するために、分割、組換えを行う。
Preferably, the test apparatus performs division and recombination in order to receive another specific signal and generate and output the first recombination signal.

【0044】前記第1の組換え信号はシリアル組換え信
号とすることができる。また、前記第1の組換え信号は
パラレル組換え信号としてもよい。
[0044] The first recombination signal may be a serial recombination signal. Further, the first recombination signal may be a parallel recombination signal.

【0045】前記ステップ(a)における前記第2の組
換え信号はシリアル組換え信号とすることができる。ま
た、前記ステップ(a)における前記第2の組換え信号
はパラレル組換え信号としてもよい。
[0045] The second recombination signal in the step (a) can be a serial recombination signal. Further, the second recombination signal in the step (a) may be a parallel recombination signal.

【0046】好ましくは、前記ステップ(c)において
前記第1の組換え信号と第2の組換え信号とを判別比較
して同一であれば、テストモード信号が発生し、前記集
積回路内部に設けられたテスト線路を駆動して前記テス
トモードに進入させるようにし、さもなければ前記集積
回路はなお正規動作モードの状態に維持する。
Preferably, in the step (c), if the first recombined signal and the second recombined signal are discriminated and compared to be the same, a test mode signal is generated and provided in the integrated circuit. The test circuit is driven to enter the test mode, or the integrated circuit is still maintained in the normal operation mode.

【0047】前記他の特定信号又は前記特定信号は、シ
リアル特定信号とすることができる。また、前記他の特
定信号又は前記特定信号は、並列列式特定信号としても
よい。
The other specific signal or the specific signal may be a serial specific signal. Further, the other specific signal or the specific signal may be a parallel column type specific signal.

【0048】好ましくは、前記他の特定信号と前記特定
信号とは同一の特定信号である。
Preferably, the another specific signal and the specific signal are the same specific signal.

【0049】好ましくは、前記ステップ(a)の後に、
さらに、(e)前記起動信号とマルチプレクス・イネー
ブル選択信号に応じて前記集積回路を正規動作信号が出
力される箇所から前記特定信号の出力へ転換させるステ
ップと、(f)前記特定信号を前記テスト装置に入力し
て前記第1の組換え信号を発生させるステップとを備え
てなる。
Preferably, after step (a),
(E) switching the integrated circuit from a position where a normal operation signal is output to an output of the specific signal according to the start signal and the multiplex enable selection signal; and (f) converting the specific signal to the specific signal. Generating said first recombination signal by inputting to said test device.

【0050】上記本発明のテストモードの検出装置及び
検出方法によれば、集積回路が誤ってテストモードに入
る誤動作を回避することができると共に、高度に秘密を
保護でき、テストピンを増加することなく集積回路を計
測することから、大幅に且つ有効に従来方法の集積回路
における、多ピン数、低秘密保護性及び低信頼性による
コストの浪費を改善することができる。
According to the test mode detecting apparatus and the detecting method of the present invention, it is possible to avoid a malfunction in which the integrated circuit enters the test mode by mistake, to protect the secret highly, and to increase the number of test pins. Since the integrated circuit is measured without the need, the waste of cost due to the large number of pins, low security and low reliability in the conventional integrated circuit can be significantly and effectively improved.

【0051】[0051]

【発明の実施の形態】以下、本発明のテストモードのテ
スト装置及びテスト方法の好ましい実施形態について添
付図面を参照しつつ説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of a test mode test apparatus and a test method according to the present invention will be described below with reference to the accompanying drawings.

【0052】図1は、本発明の第1の好適な実施形態を
示す、テストモードの検出装置のブロック図である。図
において10は集積回路であり、テストモードの検出装
置101と、テスト線路102とを含む。テストモード
の検出装置101は、特定信号入力端P11を有する信
号組換え回路1011と判別回路1012とを備え、こ
の判別回路1012は例えば、比較器が使用される。な
お、集積回路10はさらに起動信号S15を入力するた
めの起動信号入力端P12が備えられている。この起動
信号入力端P12はリセット信号入力端であり、そして
起動信号S15はリセット信号である。なお、図におい
て、11はテスト装置であり、他の特定信号入力端P1
3を有する信号組換え回路111が備えられている。こ
のテスト装置11は集積回路10の内部特性及び品質を
計測するテスタである。以下、図1に示されている動作
原理を説明する。
FIG. 1 is a block diagram of a test mode detecting apparatus according to a first preferred embodiment of the present invention. In FIG. 1, reference numeral 10 denotes an integrated circuit, which includes a test mode detection device 101 and a test line 102. The test mode detecting apparatus 101 includes a signal recombination circuit 1011 having a specific signal input terminal P11 and a discriminating circuit 1012, and the discriminating circuit 1012 uses, for example, a comparator. The integrated circuit 10 further includes a start signal input terminal P12 for inputting a start signal S15. The start signal input terminal P12 is a reset signal input terminal, and the start signal S15 is a reset signal. In the figure, reference numeral 11 denotes a test device, which is another specific signal input terminal P1.
3 is provided. The test apparatus 11 is a tester that measures internal characteristics and quality of the integrated circuit 10. Hereinafter, the operation principle shown in FIG. 1 will be described.

【0053】まず、集積回路10が任意にテストモード
に入らないように、起動信号S15が確実に使用可能
(enable)状態になってからテストモードの検出装置1
01における回路が駆動されるように設計し、該テスト
モード中にはいるか否かを決定する。換言すれば、信号
組換え回路1011と判別回路1012とが何れも起動
信号入力端子P12に電気的に接続されているので、信
号組換え回路1011及び判別回路1012は起動信号
S15の使用可能状態に応じて使用可能状態が発生す
る。勿論、起動信号S15が使用禁止(disable)状態に
あると、信号組換え回路1011及び判別回路1012
を使用可能にする動作を停止し、集積回路10が任意に
テストモードに進入して誤動作が発生することがないよ
うに、確保することができる。
First, in order to prevent the integrated circuit 10 from arbitrarily entering the test mode, the test mode detecting device 1 is required after the start signal S15 is surely enabled.
01 is designed to be driven and it is determined whether or not it is in the test mode. In other words, since both the signal recombination circuit 1011 and the discrimination circuit 1012 are electrically connected to the activation signal input terminal P12, the signal recombination circuit 1011 and the discrimination circuit 1012 are in a state where the activation signal S15 can be used. A usable state occurs accordingly. Of course, when the activation signal S15 is in the disable state (disable), the signal recombination circuit 1011 and the determination circuit 1012
Can be stopped so that the integrated circuit 10 does not arbitrarily enter the test mode and malfunction does not occur.

【0054】なお、信号組換え回路1011は特定信号
入力端P11から特定信号S11が入力され、かつ、起
動信号S15の使用可能状態に応じて使用可能動作が発
生すると、特定信号S11に対して組換え動作を行い、
又は特定信号S11の部分(又は全部)信号を第2の組
換え信号S12に変換し、判別回路1012に出力す
る。他方、他の信号組換え回路111は他の特定信号入
力端P13から他の特定信号S13が入力され、第1の
組換え信号S14が発生して判別回路1012に出力す
る。そして、判別回路1012において、起動信号S1
5の使用可能状態に応じて使用可能信号が発生し、第1
の組換え信号S14と第2の組換え信号S12とを判別
比較して同一である時に、テストモード信号S16が発
生して出力され、集積回路10内部に設けられたテスト
線路102が駆動されてテストモード中に進入する。さ
もなければ、信号が異なり又は起動信号S15が使用禁
止の状態に返った場合、集積回路10は正規動作モード
を維持し、集積回路10の本来の積回路機能を達成す
る。
When the specific signal S11 is input from the specific signal input terminal P11 and a usable operation occurs in accordance with the usable state of the activation signal S15, the signal recombination circuit 1011 sets the specific signal S11. Perform the replacement operation,
Alternatively, a part (or all) of the specific signal S11 is converted into a second recombined signal S12 and output to the discrimination circuit 1012. On the other hand, another signal recombination circuit 111 receives another specific signal S13 from another specific signal input terminal P13, generates a first recombined signal S14, and outputs it to the discrimination circuit 1012. Then, in the determination circuit 1012, the activation signal S1
5, an enable signal is generated according to the enable state of
When the recombined signal S14 and the second recombined signal S12 are the same, the test mode signal S16 is generated and output, and the test line 102 provided inside the integrated circuit 10 is driven. Enter during test mode. Otherwise, if the signal is different or the activation signal S15 returns to the disabled state, the integrated circuit 10 maintains the normal operation mode and achieves the original integrated circuit function of the integrated circuit 10.

【0055】判別回路1012はシリアル(又はパラレ
ル)の第1の組換え信号S14と第2の組換え信号S1
2を判別比較できるほか、単独に第1の組換え信号S1
4及び第2の組換え信号S12中の1個又は複数個のビ
ット信号を選択比較することができる。
The discrimination circuit 1012 includes a serial (or parallel) first recombined signal S14 and a second recombined signal S1.
2 can be discriminated and compared, and the first recombinant signal S1
One or a plurality of bit signals in the fourth and second recombination signals S12 can be selectively compared.

【0056】信号組換え回路1011又は他の信号組換
え回路111に拘わらず、いずれも集積回路10の秘密
保護機能を補強することを目的としており、テスト装置
11が集積回路10内部におけるテストモードの検出装
置101と同一の信号組換え回路を採用したときに限
り、同一の対比信号を出力することができる。なお、別
の秘密保護の程度を増加させる方法として相補概念が採
用され、信号組換え回路1011と他の信号組換え回路
111とを相補回路に設計し、特定信号S11と他の特
定信号S13とを相補信号にすることにより、他の信号
組換え回路111と信号組換え回路1011を介してそ
れぞれ他の特定信号S13及び特定信号S11を処理し
た後、相互一致する第1の組換え信号S14及び第2の
組換え信号S12が得られ、これによりテストモードの
検出装置をして正確なタイミングにテストモード信号1
6を発生せしめ、テスト線路102を駆動してテストモ
ードに進入させる。
Regardless of the signal recombination circuit 1011 or the other signal recombination circuit 111, the purpose is to reinforce the security protection function of the integrated circuit 10. Only when the same signal recombination circuit as that of the detection device 101 is employed, the same comparison signal can be output. The complementary concept is adopted as another method of increasing the degree of secret protection. The signal recombination circuit 1011 and the other signal recombination circuit 111 are designed as complementary circuits, and the specific signal S11 and the other specific signal S13 are combined. Is a complementary signal, after processing another specific signal S13 and another specific signal S11 via the other signal recombination circuit 111 and the signal recombination circuit 1011 respectively, and then the first recombined signal S14 and the A second recombination signal S12 is obtained, which allows the test mode detector to detect the test mode signal 1 at the correct timing.
Then, the test line 102 is driven to enter the test mode.

【0057】また、一旦集積回路10が変わると、集積
回路10内部に設けられたテストモードの検出装置10
1においてはその内部の信号組換え回路1011も変わ
り又は調整され、結果、テスト装置内部の他の信号組換
え回路111もこれに対応した変更又は調整を行うこと
が必要となる。これら他の信号組換え回路111を変更
又は調整する作業は設計者にとって極めて容易であるに
も拘わらず、模造者にとっては必ず各種の複雑なプログ
ラム、例えば、還元工程プログラムの実施を経てから理
解できるものである。したがって、集積回路の保護に対
してより確実な補償を提供することができる。
Further, once the integrated circuit 10 changes, the test mode detecting device 10 provided inside the integrated circuit 10
In 1, the signal recombination circuit 1011 therein is also changed or adjusted, and as a result, the other signal recombination circuits 111 inside the test apparatus also need to perform corresponding changes or adjustments. Although the task of changing or adjusting these other signal recombination circuits 111 is extremely easy for the designer, it can be understood by the imitator after executing various complicated programs, for example, the reduction process program. Things. Thus, more reliable compensation for the protection of the integrated circuit can be provided.

【0058】また、他の信号組換え回路111と信号組
換え回路1011とについては、簡易な方法により、他
の特定信号S13及び特定信号S11をそれぞれ直接判
別回路1012に伝送するか、又は複雑な設計を経て任
意に若干のビット信号を分解、遅延、コード化してから
判別回路1012に伝送するようにしている。その他、
他の信号組換え回路111及び信号組換え回路1011
は、それぞれ直列(又は並列)式の他の特定信号S13
及び特定信号S11を受信できると共に、それぞれ直列
(又は並列)式の第1の組換え信号S14及び第2の組
換え信号S12を出力することができる。
Further, as for the other signal recombination circuits 111 and 1011, the other specific signals S 13 and S 11 are directly transmitted to the discriminating circuit 1012 by a simple method, or complicated signals are transmitted. Some bit signals are arbitrarily decomposed, delayed, coded after the design, and then transmitted to the discriminating circuit 1012. Others
Other signal recombination circuits 111 and 1011
Are other specific signals S13 in series (or parallel), respectively.
And the specific signal S11, and can output the first (second) recombined signal S14 and the second recombined signal S12 of a serial (or parallel) type, respectively.

【0059】この他の信号組換え回路111と信号組換
え回路1011との内部回路は、直列信号を並列信号に
組換えた例として、それぞれ図2、図3に例示されてい
る。図2において、他の信号組換え回路111は、他の
特定信号S13を入力して、タイムパルス信号として使
用される第1のフリップフロップFF1と、第1のフリ
ップフロップFF1に電気的に接続され、このフリップ
フロップFF1の出力信号Q0をタイムパルス信号とし
て使用する第2のフリップフロップFF2と、第2のフ
リップフロップFF2に電気的に接続され、この第2の
フリップフロップFF2の出力信号Q1をそのタイムパ
ルス信号Q1として使用する第3のフリップフロップF
F3とを備え、この第3のフリップフロップFF3の出
力信号はQ2である。このように他の特定信号S13を
組換えた後の信号(Q0、Q1、Q2)は第1の組換え
信号S14として出力され、集積回路10の本来備えて
いる正規信号の入力ピンを介して、極めて容易に第1の
組換え信号S14を集積回路10に入力させることがで
きる。また、第1、第2及び第3のフリップフロップF
F1、FF2、FF3の使用可能動作は何れもフリップ
フロップ・イネーブル信号SEにより制御され、このフ
リップフロップイネーブル信号SEはテスト装置11の
内部から送られる。
The other internal circuits of the signal recombination circuit 111 and the signal recombination circuit 1011 are illustrated in FIGS. 2 and 3 as examples in which a serial signal is converted into a parallel signal. In FIG. 2, another signal recombination circuit 111 receives another specific signal S13 and is electrically connected to a first flip-flop FF1 used as a time pulse signal and the first flip-flop FF1. A second flip-flop FF2 using the output signal Q0 of the flip-flop FF1 as a time pulse signal, and an output signal Q1 of the second flip-flop FF2 electrically connected to the second flip-flop FF2. Third flip-flop F used as time pulse signal Q1
F3, and the output signal of the third flip-flop FF3 is Q2. The signal (Q0, Q1, Q2) obtained by recombining the other specific signal S13 in this way is output as the first recombined signal S14, and is input via the input pin of the regular signal inherently provided in the integrated circuit 10. Thus, the first recombined signal S14 can be input to the integrated circuit 10 very easily. Further, the first, second and third flip-flops F
The available operations of F1, FF2, and FF3 are all controlled by a flip-flop enable signal SE, which is sent from inside the test apparatus 11.

【0060】同様に、図3に示される信号組換え回路1
011には図2に示された他の信号組換え回路と同じ機
能を有するフリップフロップ(第4、第5、第6のフリ
ップフロップFF4、FF5、FF6)及び電気的接続
関係を具備し、特定信号の組換えられた後の信号(Q
3、Q4、Q5)は第2の組換え信号S12として出力
される。ここに、第4、第5及び第6のフリップフロッ
プFF4、FF5、FF6の使用可能動作は何れも起動
信号S15の制御を受ける。
Similarly, the signal recombination circuit 1 shown in FIG.
011 is provided with flip-flops (fourth, fifth, and sixth flip-flops FF4, FF5, FF6) having the same function as the other signal recombination circuits shown in FIG. The signal (Q
3, Q4, Q5) are output as the second recombination signal S12. Here, the usable operations of the fourth, fifth and sixth flip-flops FF4, FF5 and FF6 are all controlled by the start signal S15.

【0061】この図2、図3に示されている第1乃至第
6のフリップフロップは何れもT形フリップフロップで
あり、各T形フリップフロップは何れも信号入力端T、
タイムパルス入力端CK、信号入力端Q及びフリップフ
ロップ使用可能端Eを有する。
Each of the first to sixth flip-flops shown in FIGS. 2 and 3 is a T-type flip-flop. Each of the T-type flip-flops has a signal input terminal T,
It has a time pulse input terminal CK, a signal input terminal Q, and a flip-flop usable end E.

【0062】例えば、特定信号S11が図4に示される
(11001010)の直列信号である場合、第2の組
換え信号S12とするフリップフロップFF4−FF6
の出力信号の波形が図4における符号(Q3、Q4、Q
5)に示される並列信号のようであれば、明らかに従来
技術よりも秘密保護性が高い集積回路のテスト機能を提
供することができる。
For example, when the specific signal S11 is a serial signal (11001010) shown in FIG. 4, the flip-flops FF4 to FF6 are used as the second recombined signal S12.
The waveforms of the output signals of (Q3, Q4, Q
In the case of the parallel signal shown in 5), it is possible to provide a test function for an integrated circuit with higher security than the conventional technology.

【0063】したがって、図1に示される、特定信号S
11を入力するためのテスト用ピンは1本しか必要にな
らず、従来の集積回路のピン数を増加することなく、集
積回路が誤ってテストモードに入るのを回避でき、か
つ、より秘密保護性及び信頼度の高いテストモードの検
出装置を提供することができる。
Therefore, the specific signal S shown in FIG.
Since only one test pin is required to input "11", it is possible to prevent the integrated circuit from erroneously entering the test mode without increasing the number of pins of the conventional integrated circuit, and to further protect the secret. It is possible to provide a test mode detection device with high reliability and reliability.

【0064】図5は本発明に係るテストモードの検出装
置の他の好適な実施形態を示す図である。図5における
テスト装置21、テスト線路202、特定信号入力端P
21を有する信号組換え回路2011、判別回路201
2、起動信号入力端P22、他の特定信号入力端P23
を有する信号組換え回路211及び起動信号S25の機
能は、それぞれ図1におけるテスト装置11、テスト線
路102、特定信号入力端P11を有する信号組換え回
路1011、判別回路1012、起動信号入力端P1
2、他の特定信号入力端P13を有する他の信号組換え
回路111及び起動信号S15と同じであるのでその詳
細な説明を省略する。この図5におけるテストモードの
検出装置201と、図1におけるテストモードの検出装
置101との相違点は、テストモードの検出装置201
がさらに集積回路20の外部に設けられた信号発生装置
2013を備えていることにあり、起動信号S25の使
用可能状態に応じて他の特定信号S23及び特定信号S
21が発生出力され、これにより他の信号組換え回路2
11と信号組換え回路2011とにおいて、それぞれ同
一機能を有する第1の組換え信号S24及び第2の組換
え信号S22が発生出力される。すると、判別回路20
12は起動信号25の使用可能状態に応じて使用可能動
作が発生し、第1の組換え信号S24と第2の組換え信
号S22を判別比較して同一であれば、テストモード信
号S26が発生して出力され、集積回路20内部に設け
られたテスト線路202が駆動されてテストモード中に
進入する。さもなければ信号が異なり又は起動信号S2
5が使用禁止の状態に返った場合、集積回路20は正規
動作モードを維持し、集積回路20の本来の正規回路機
能を達成する。
FIG. 5 is a diagram showing another preferred embodiment of the test mode detecting apparatus according to the present invention. The test device 21, the test line 202, and the specific signal input terminal P in FIG.
Signal recombination circuit 2011 having 21 and discrimination circuit 201
2. Start signal input terminal P22, other specific signal input terminal P23
The functions of the signal recombination circuit 211 and the activation signal S25 having the functions of the test apparatus 11, the test line 102, the signal recombination circuit 1011 having the specific signal input terminal P11, the determination circuit 1012, and the activation signal input terminal P1 in FIG.
2. Since it is the same as the other signal recombination circuit 111 having another specific signal input terminal P13 and the activation signal S15, detailed description thereof will be omitted. The difference between the test mode detecting device 201 in FIG. 5 and the test mode detecting device 101 in FIG.
Further includes a signal generator 2013 provided outside the integrated circuit 20. The other specific signal S23 and the specific signal S23 according to the usable state of the activation signal S25.
21 is generated and output.
11 and the signal recombination circuit 2011 generate and output a first recombined signal S24 and a second recombined signal S22 having the same function. Then, the discrimination circuit 20
In step 12, a usable operation is generated in accordance with a usable state of the start signal 25. If the first recombined signal S24 and the second recombined signal S22 are discriminated and compared, a test mode signal S26 is generated. The test line 202 provided inside the integrated circuit 20 is driven to enter the test mode. Otherwise the signal is different or the activation signal S2
When 5 returns to the use prohibited state, the integrated circuit 20 maintains the normal operation mode and achieves the original normal circuit function of the integrated circuit 20.

【0065】図6は上記信号発生装置2013の内部回
路の好適な実施形態を示す図である。図において、信号
発生装置2013は、原始信号S27を発生させて出力
させるための信号発生器20131と、原始信号S27
を状態信号S28に転換させて出力させる状態発生器2
0132と、状態信号S28をエンコードして他の特定
信号S23又は特定信号S21を発生させて出力させる
信号コード回路(エンコーダ)20133とを備えてな
る。言うまでもなく、他の特定信号S23と特定信号S
21は同一の特定信号とすることができる。
FIG. 6 is a diagram showing a preferred embodiment of the internal circuit of the signal generator 2013. In the figure, a signal generator 2013 includes a signal generator 20131 for generating and outputting a source signal S27, and a source signal S27.
Generator 2 which converts the signal into a state signal S28 and outputs it
0132 and a signal code circuit (encoder) 20133 for encoding the state signal S28 to generate and output another specific signal S23 or another specific signal S21. Needless to say, the other specific signal S23 and the specific signal S
21 can be the same specific signal.

【0066】図7は、本発明に係るテストモードの検出
装置の他の好適な実施形態を示す図である。図7におけ
るテスト装置31、テスト線路302、特定信号入力端
P31を有する信号組換え回路3011、判別回路30
12、起動信号入力端P34、他の特定信号入力端P3
3を有する信号組換え回路311、信号発生装置301
3及び起動信号S36の機能は、それぞれ図5における
テスト装置21、テスト線路202、特定信号入力端P
21を有する信号組換え回路2011、判別回路201
2、起動信号入力端P22、他の特定信号入力端P23
を有する他の信号組換え回路211、信号発生装置20
13及び起動信号S25と同じであるから、その詳細な
説明を省略する。
FIG. 7 is a diagram showing another preferred embodiment of the test mode detecting apparatus according to the present invention. 7, a test circuit 31, a test line 302, a signal recombination circuit 3011 having a specific signal input terminal P31, and a determination circuit 30
12, start signal input terminal P34, other specific signal input terminal P3
Recombination circuit 311 having signal 3 and signal generator 301
3 and the start signal S36 respectively function as the test device 21, the test line 202, and the specific signal input terminal P in FIG.
Signal recombination circuit 2011 having 21 and discrimination circuit 201
2. Start signal input terminal P22, other specific signal input terminal P23
Signal recombination circuit 211 having
13 and the activation signal S25, so that the detailed description thereof will be omitted.

【0067】この図7におけるテストモードの検出装置
301と図5におけるテストモードの検出装置201と
の相違点は、テストモードの検出装置301は図5にお
いて集積回路20の外部に設けられた信号発生装置20
13を図7の集積回路30の内部に設けて信号発生装置
3013とし、これにマルチプレクス装置、例えば、マ
ルチプレクサ3014を加設して、信号発生装置301
3により発生された特定信号S31と、集積回路30の
正規動作信号S34とが、集積回路30の出力ピンP3
2を共用することにある。このようにすればより一層集
積回路30のピン数を節約することができる。
The difference between the test mode detecting device 301 in FIG. 7 and the test mode detecting device 201 in FIG. 5 is that the test mode detecting device 301 in FIG. Device 20
13 is provided inside the integrated circuit 30 of FIG. 7 to form a signal generating device 3013, and a multiplexing device, for example, a multiplexer 3014 is additionally provided thereto.
3 and the normal operation signal S34 of the integrated circuit 30 are output from the output pin P3 of the integrated circuit 30.
2 is to share. By doing so, the number of pins of the integrated circuit 30 can be further reduced.

【0068】言うなれば、マルチプレクス装置3014
は2対1のマルチプレクサであり、このマルチプレクサ
3014の選択信号端Sは、信号発生装置3013より
入力されたマルチプレクスイネーブル選択信号S33に
応じて特定信号S31又は正常動作信号S34を出力ピ
ン端P32に出力させ、集積回路30の動作モードがテ
ストモードであるか又は正常動作モードであるかに対応
するためのものである。この場合、出力ピンP32によ
り出力されたものが特定信号S31であれば、特定信号
S31は他の組換え回路311の第1の組換え信号S3
5の発生用に供されると共に、判別回路3012に入力
される。これと同時に、信号組換え回路3011は特定
信号S31に応じて第2の組換え信号S32を生じるの
で、判別回路は起動信号S36の使用可能状態に応じて
使用可能動作が発生し、第1の組換え信号S35と第2
の組換え信号S32とを判別比較して同一であれば、テ
ストモード信号S37が発生して出力され、集積回路3
0の内部に設けられたテスト線路302が駆動されてテ
ストモード中に進入する。さもなければ、信号が異な
り、又は起動信号S36が使用禁止状態に返った場合、
信号発生回路3013は出力を停止し、又はマルチプレ
クスイネーブル選択信号S32の状態を改変して、マル
チプレクサ3014を出力ピンP32において正規動作
信号S34のモードに切り換える。つまり、集積回路3
0は正規動作モードに維持され、集積回路30の本来の
正規回路機能を達成する。比較的好適な方法として、正
規動作信号S34を集積回路30における系統発振器の
系統発振出力信号とし、出力ピンを該系統発振器の出力
ピンとすることができる。図8、図9はそれぞれ本発明
の第1、第2の実施形態のテストモードの検出方法を示
すフローチャートである。図8と図9との相違点は図1
と図7、又は図5と図7とに示される回路の動作原理に
より理解されることから、ここではその説明を省略す
る。
In other words, the multiplex device 3014
Is a two-to-one multiplexer, and the selection signal terminal S of the multiplexer 3014 outputs a specific signal S31 or a normal operation signal S34 to an output pin terminal P32 according to the multiplex enable selection signal S33 input from the signal generator 3013. This is for outputting an output signal corresponding to whether the operation mode of the integrated circuit 30 is the test mode or the normal operation mode. In this case, if the signal output from the output pin P32 is the specific signal S31, the specific signal S31 is the first recombined signal S3 of the other recombining circuit 311.
5 and is input to the determination circuit 3012. At the same time, the signal recombination circuit 3011 generates the second recombination signal S32 in response to the specific signal S31, so that the discriminating circuit performs a usable operation in accordance with the usable state of the activation signal S36, and the first operation is performed. Recombination signal S35 and second
The test mode signal S37 is generated and output, and the integrated circuit 3
The test line 302 provided inside 0 is driven to enter the test mode. Otherwise, if the signal is different or the activation signal S36 returns to the use prohibited state,
The signal generation circuit 3013 stops the output or changes the state of the multiplex enable selection signal S32, and switches the multiplexer 3014 at the output pin P32 to the mode of the normal operation signal S34. That is, the integrated circuit 3
0 is maintained in the normal operation mode to achieve the original normal circuit function of the integrated circuit 30. As a relatively preferable method, the normal operation signal S34 can be a system oscillation output signal of the system oscillator in the integrated circuit 30, and the output pin can be the output pin of the system oscillator. FIG. 8 and FIG. 9 are flowcharts showing a test mode detection method according to the first and second embodiments of the present invention, respectively. The difference between FIG. 8 and FIG.
7 and FIG. 5 or FIG. 5 and FIG. 7, the explanation is omitted here.

【0069】[0069]

【発明の効果】このように、本発明のテストモードの検
出装置及び検出方法によれば、集積回路が誤ってテスト
モードに入る誤動作を回避することができると共に、高
度に秘密を保護でき、テストピンを増加することなく集
積回路を計測することから、大幅に且つ有効に従来方法
の集積回路における、多ピン数、低秘密保護性、及び低
信頼性におるコストの浪費を改善することができる。
As described above, according to the test mode detecting apparatus and the detecting method of the present invention, it is possible to avoid a malfunction in which the integrated circuit enters the test mode by mistake, and to protect the confidentiality to a high degree. By measuring the integrated circuit without increasing the number of pins, it is possible to significantly and effectively improve the waste of cost, high pin count, low security, and low reliability in the conventional integrated circuit. .

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

【図1】本発明にかかるテストモード検出装置の第1の
実施形態を示すブロック図である。
FIG. 1 is a block diagram showing a first embodiment of a test mode detection device according to the present invention.

【図2】図1に示されている実施形態における信号組換
え回路と他の信号組換え回路の内部の一例を示す図であ
る。
FIG. 2 is a diagram showing an example of the inside of a signal recombination circuit and another signal recombination circuit in the embodiment shown in FIG. 1;

【図3】図1に示されている実施形態における信号組換
え回路と他の信号組換え回路の内部の一例を示す図であ
る。
FIG. 3 is a diagram showing an example of the inside of a signal recombination circuit and another signal recombination circuit in the embodiment shown in FIG. 1;

【図4】図1に示されている実施形態における信号組換
え回路の波形の一例を示す図である。
FIG. 4 is a diagram showing an example of a waveform of the signal recombination circuit in the embodiment shown in FIG.

【図5】本発明にかかるテストモード検出装置の第2の
実施形態を示すブロック図である。
FIG. 5 is a block diagram showing a second embodiment of the test mode detection device according to the present invention.

【図6】図5に示されている実施形態における信号発生
回路の内部の一例を示す図である。
FIG. 6 is a diagram showing an example of the inside of a signal generation circuit in the embodiment shown in FIG. 5;

【図7】本発明にかかるテストモード検出装置の第3の
実施形態を示すブロック図である。
FIG. 7 is a block diagram showing a third embodiment of the test mode detection device according to the present invention.

【図8】本発明にかかるテストモード検出方法の第1の
実施形態を示すフローチャートである。
FIG. 8 is a flowchart showing a first embodiment of a test mode detection method according to the present invention.

【図9】本発明にかかるテストモード検出方法の第2の
実施形態を示すフローチャートである。
FIG. 9 is a flowchart illustrating a test mode detection method according to a second embodiment of the present invention.

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

11、21、31 テスト装置 101、201、301 テストモードの検出装置 102、202、302 テスト線路 1012、2012、3012 判別回路 1011、2011、3011 信号組換え回路 111、211、311 他の信号組換え回路 11, 21, 31 Test device 101, 201, 301 Test mode detection device 102, 202, 302 Test line 1012, 2012, 3012 Discrimination circuit 1011, 2011, 3011 Signal recombination circuit 111, 211, 311 Other signal recombination circuit

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 集積回路に応用され、第1の組換え信号
を発生するテスト装置に対応して設けられたテストモー
ドの検出装置であって、 特定信号入力端を備え、特定信号が入力されると共に該
特定信号を組換えて第2の組換え信号を出力する信号組
換え回路と、 前記第1及び第2の組換え信号が入力されて前記集積回
路が前記テストモードに進入しているか否かを判別する
判別回路と、を備えてなるテストモードの検出装置。
1. A test mode detecting device applied to an integrated circuit and provided in correspondence with a test device for generating a first recombination signal, comprising a specific signal input terminal, and receiving a specific signal. A signal recombination circuit for recombining the specific signal and outputting a second recombined signal; and whether the integrated circuit enters the test mode when the first and second recombined signals are input. And a determination circuit for determining whether or not the test mode is present.
【請求項2】 前記集積回路はさらに、前記信号組換え
回路と前記判別回路とに電気的に接続され、起動信号を
入力するための起動信号入力端を備えてなり、 前記起動信号入力端はリセット信号入力端であり、前記
起動信号はリセット信号であり、 前記信号組換え回路と前記判別回路とは何れも起動信号
に応じて使用可能(enable)状態になった時に使用可能
動作が発生し、一方前記起動信号が使用禁止(disable)
状態になった時に、前記信号組換え回路と前記判別回路
とを使用可能状態にさせる動作を停止するように構成さ
れ、 前記使用可能状態はハイレベル状態又はローレベル状態
であることを特徴とする請求項1記載のテストモードの
検出装置。
2. The integrated circuit further includes a start signal input terminal electrically connected to the signal recombination circuit and the discriminating circuit, for inputting a start signal. A reset signal input terminal, wherein the start signal is a reset signal, and when both of the signal recombination circuit and the determination circuit are enabled according to the start signal, a usable operation occurs. On the other hand, the activation signal is disabled.
When the state becomes a state, the operation of making the signal recombination circuit and the determination circuit usable is stopped, and the usable state is a high level state or a low level state. The test mode detection device according to claim 1.
【請求項3】 前記テスト装置は集積回路の内部特性と
品質とを計測する集積回路テスタであり、かつ、他の特
定信号入力端を有し、この特定信号入力端の箇所から他
の特定信号が入力されると共に前記他の特定信号を組換
えて前記第1の組換え信号の出力を発生させる他の信号
組換え回路を備えており、 前記他の信号組換え回路はさらに、前記他の特定信号に
おける全部又は一部の信号を分割、組換えて前記第1の
組換え信号を得る他の遅延コード回路を備えており、 前記他の信号組換え回路はまた、前記他の特定信号が入
力されると共に、前記他の特定信号をタイムパルス信号
として使用する第1のフリップフロップと、この第1の
フリップフロップに電気的に接続され、前記第1のフリ
ップフロップの出力信号をそのタイムパルス信号として
使用する第2のフリップフロップと、この第2のフリッ
プフロップに電気的に接続され、前記第2のフリップフ
ロップの出力信号をそのタイムパルス信号として使用す
る第3のフリップフロップとを備えており、前記第1、
第2及び第3のフリップフロップは何れもT形フリップ
フロップであると共に、これらフリップフロップの出力
信号は前記第1の組換え信号として使用されることを特
徴とする請求項1記載のテストモードの検出装置。
3. The test apparatus is an integrated circuit tester for measuring the internal characteristics and quality of an integrated circuit, and has another specific signal input terminal. And another signal recombination circuit that recombinates the other specific signal and generates an output of the first recombination signal, wherein the other signal recombination circuit further includes the other signal recombination circuit. It is provided with another delay code circuit that divides or recombines all or a part of the specific signal to obtain the first recombined signal, wherein the other signal recombining circuit is configured such that the other specific signal is A first flip-flop that is input and uses the other specific signal as a time pulse signal, and is electrically connected to the first flip-flop and outputs an output signal of the first flip-flop to the time pulse. signal And a third flip-flop electrically connected to the second flip-flop and using an output signal of the second flip-flop as a time pulse signal thereof. And the first,
2. The test mode according to claim 1, wherein the second and third flip-flops are both T-type flip-flops, and an output signal of these flip-flops is used as the first recombination signal. Detection device.
【請求項4】 前記第1の組換え信号はシリアル又はパ
ラレルの組換え信号であり、 前記信号組換え回路は更に、前記特定信号における全部
又は一部の信号を分割、組換えて前記第2の組換え信号
を得る遅延コード回路を備えており、 前記信号組換え回路は、前記特定信号が入力されると共
に、この特定信号をそのタイムパルス信号として使用す
る第4のフリップフロップと、この第4のフリップフロ
ップに電気的に接続され、前記第4のフリップフロップ
の出力信号をそのタイムパルス信号として使用する第5
のフリップフロップと、この第5のフリップフロップに
電気的に接続され、前記第5のフリップフロップの出力
信号をそのタイムパルス信号として使用する第6のフリ
ップフロップとを備えており、 前記第4、第5及び第6のフリップフロップは何れもT
形フリップフロップであることを特徴とする請求項1記
載のテストモードの検出装置。
4. The first recombined signal is a serial or parallel recombined signal, and the signal recombining circuit further divides and recombines all or a part of the specific signal to produce the second recombined signal. The signal recombination circuit receives the specific signal, and uses the specific signal as its time pulse signal, a fourth flip-flop, The fifth flip-flop electrically connected to the fourth flip-flop and using the output signal of the fourth flip-flop as its time pulse signal.
And a sixth flip-flop electrically connected to the fifth flip-flop and using an output signal of the fifth flip-flop as its time pulse signal. The fifth and sixth flip-flops are both T
2. The test mode detecting device according to claim 1, wherein the test mode detecting device is a flip-flop.
【請求項5】 前記第2の組換え信号はシリアル又はパ
ラレルの組換え信号であり、 前記判別回路は比較器であって、第1及び第2の組換え
信号を比較して同一であるときにテストモード信号が発
生し、前記集積回路内部に設けられたテスト線路を駆動
して前記テストモードに入らせるようにし、さもなけれ
ば前記集積回路はなお正規動作モード状態を維持するこ
とを特徴とする請求項1記載のテストモードの検出装
置。
5. The second recombined signal is a serial or parallel recombined signal, and the discriminating circuit is a comparator, and compares the first and second recombined signals and is identical. Generating a test mode signal to drive a test line provided inside the integrated circuit to enter the test mode, otherwise, the integrated circuit still maintains a normal operation mode state. The test mode detection device according to claim 1, wherein
【請求項6】 前記テストモードの検出装置はさらに、
前記他の特定信号と前記特定信号とを発生させることに
より他の信号組換え回路及び前記信号組換え回路がそれ
ぞれ前記第1及び第2の組換え信号を発生する信号発生
回路を備えており、 前記信号発生回路は原始信号出力を発生させる信号発生
器と、この信号発生器に電気的に接続され、前記原始信
号を状態信号出力に転換する状態発生器と、この状態発
生器に電気的に接続され、前記状態信号をエンコードし
て前記他の特定信号又は前記特定信号出力を発生させる
信号エンコーダとを備えており、 前記他の特定信号又は前記特定信号はシリアル又はパラ
レル特定信号であり、 前記信号発生回路は前記起動信号入力端に電気的に接続
され、前記起動信号に応じて使用可能状態になった時に
使用可能動作が発生し、そして前記起動信号が使用禁止
状態になった時に、前記信号発生回路を使用可能状態に
させる動作を停止するようにしてなり、 前記信号発生回路は前記集積回路内部に設けられてお
り、前記テストモードの検出装置は更に、前記特定信号
と前記集積回路との正規動作信号が前記集積回路の出力
ピンを共用できるようにさせるためのマルチプレクス装
置を備えており、 前記マルチプレクス装置は2対1のマルチプレクサであ
り、このマルチプレクサの選択信号端は、前記集積回路
の動作モードがテストモード又は正規動作モードにある
状態に対応するように、前記信号発生回路から入力され
たマルチプレクス・イネーブル選択信号に応じて、前記
特定信号又は前記正規動作信号を前記出力ピンに出力す
るようにしてなり、 前記正規動作信号は前記集積回路における系統発振器の
系統発振出力信号であり、前記出力ピンは前記系統発振
器の出力ピンであることを特徴とする請求項1記載のテ
ストモードの検出装置。
6. The test mode detection device further comprises:
The other specific signal and the specific signal, the other signal recombination circuit and the signal recombination circuit includes a signal generation circuit that generates the first and second recombination signals, respectively, A signal generator for generating a source signal output; a state generator electrically connected to the signal generator for converting the source signal to a state signal output; and a state generator electrically connected to the state generator. A signal encoder for encoding the status signal to generate the other specific signal or the specific signal output, wherein the other specific signal or the specific signal is a serial or parallel specific signal; The signal generating circuit is electrically connected to the start signal input terminal, and when the start signal becomes available in response to the start signal, a usable operation occurs, and the start signal is used. When the state becomes the stop state, the operation of making the signal generation circuit usable is stopped, the signal generation circuit is provided inside the integrated circuit, and the test mode detection device further includes: A multiplexing device for allowing the specific signal and a normal operation signal of the integrated circuit to share an output pin of the integrated circuit, wherein the multiplexing device is a two-to-one multiplexer; The selection signal end of the specific signal or the multiplex enable selection signal input from the signal generation circuit so that the operation mode of the integrated circuit corresponds to a state where the operation mode is a test mode or a normal operation mode. The normal operation signal is output to the output pin, and the normal operation signal is a system in the integrated circuit. A system oscillation output signal of oscillator, the output pins detector test mode according to claim 1, characterized in that the output pin of the system oscillator.
【請求項7】 第1の組換え信号が発生するテスト装置
に対応して設けられた集積回路に応用されるテストモー
ドの検出方法であって、 (a)特定信号を入力し、前記集積回路をして前記特定
信号に応じて分割、組換えを行わせしめると共に、第2
の組換え信号を発生させるステップと、 (b)前記第1の組換え信号を前記集積回路に入力させ
るステップと、 (c)前記第1及び第2の組換え信号の判別動作を行う
ことにより、前記集積回路が前記テストモードに入って
いるか否かを判別するステップと、 を備えてなるテストモードの検出方法。
7. A method for detecting a test mode applied to an integrated circuit provided corresponding to a test device for generating a first recombination signal, the method comprising: (a) inputting a specific signal; To carry out division and recombination according to the specific signal,
(B) inputting the first recombined signal to the integrated circuit; and (c) performing a discriminating operation of the first and second recombined signals. Judging whether or not the integrated circuit is in the test mode.
【請求項8】 ステップ(a)の前に更に(d)前記集
積回路に起動信号を付与するステップを備えており、 前記起動信号が使用可能状態にある時に初めて前記ステ
ップ(a)乃至ステップ(c)を行い、 起動信号が禁止状態にある時に前記ステップ(a)乃至
ステップ(c)を進行を停止するようにしてなり、 前記使用可能状態はハイレベル状態又はローレベル状態
であり、 前記起動信号はリセット信号であることを特徴とする請
求項7記載のテストモードの検出方法。
8. The method according to claim 1, further comprising: (d) applying a start signal to the integrated circuit before the step (a), wherein the steps (a) to () are performed only when the start signal is enabled. c) performing the steps (a) to (c) when the activation signal is in the prohibition state, and the usable state is a high level state or a low level state; The method according to claim 7, wherein the signal is a reset signal.
【請求項9】 前記テスト装置は前記集積回路の内部特
性及び品質を計測する集積回路テスタであり、 前記テスト装置は他の特定信号が入力されると共に前記
第1の組換え信号を発生させて出力するために、分割、
組換えを行うようにしてなり、 前記第1の組換え信号はシリアル又はパラレル組換え信
号であり、 前記ステップ(c)において前記第1の組換え信号と第
2の組換え信号とを判別比較して同一であれば、テスト
モード信号が発生し、前記集積回路内部に設けられたテ
スト線路を駆動して前記テストモードに進入させるよう
にし、さもなければ前記集積回路はなお正規動作モード
の状態に維持され、 前記他の特定信号又は前記特定信号は、シリアル又はパ
ラレル特定信号であり、 また、前記他の特定信号と前記特定信号とは同一の特定
信号であり、 その他、前記ステップ(a)の後に、さらに、(e)前
記起動信号とマルチプレクス・イネーブル選択信号に応
じて前記集積回路を正規動作信号が出力される箇所から
前記特定信号の出力へ転換させるステップと、(f)前
記特定信号を前記テスト装置に入力して前記第1の組換
え信号を発生させるステップとを備えてなることを特徴
とする請求項7記載のテストモードの検出方法。
9. The test device is an integrated circuit tester for measuring internal characteristics and quality of the integrated circuit, wherein the test device receives another specific signal and generates the first recombination signal. Split, to output
The first recombination signal is a serial or parallel recombination signal, and the first and second recombination signals are discriminated and compared in the step (c). If they are the same, a test mode signal is generated to drive a test line provided inside the integrated circuit to enter the test mode, otherwise, the integrated circuit is still in the normal operation mode. The other specific signal or the specific signal is a serial or parallel specific signal, and the other specific signal and the specific signal are the same specific signal. And (e) switching the integrated circuit from a point where a normal operation signal is output to an output of the specific signal according to the start signal and the multiplex enable selection signal. A step of, (f) the method of detecting a test mode according to claim 7, wherein the specific signal comprising a step of generating the Enter first recombination signal to the test device.
JP9305752A 1997-11-07 1997-11-07 Test mode detection device and detection method Expired - Lifetime JP3028090B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9305752A JP3028090B2 (en) 1997-11-07 1997-11-07 Test mode detection device and detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9305752A JP3028090B2 (en) 1997-11-07 1997-11-07 Test mode detection device and detection method

Publications (2)

Publication Number Publication Date
JPH11174132A true JPH11174132A (en) 1999-07-02
JP3028090B2 JP3028090B2 (en) 2000-04-04

Family

ID=17948928

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9305752A Expired - Lifetime JP3028090B2 (en) 1997-11-07 1997-11-07 Test mode detection device and detection method

Country Status (1)

Country Link
JP (1) JP3028090B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113125876A (en) * 2019-12-30 2021-07-16 新唐科技股份有限公司 Electronic device
CN113687210A (en) * 2021-07-16 2021-11-23 广州市雅江光电设备有限公司 Method, device and system for testing welding effect of lamp PCB
CN117434428A (en) * 2023-12-18 2024-01-23 杭州晶华微电子股份有限公司 Chip calibration system, chip calibration mode entering method and chip

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113125876A (en) * 2019-12-30 2021-07-16 新唐科技股份有限公司 Electronic device
CN113687210A (en) * 2021-07-16 2021-11-23 广州市雅江光电设备有限公司 Method, device and system for testing welding effect of lamp PCB
CN117434428A (en) * 2023-12-18 2024-01-23 杭州晶华微电子股份有限公司 Chip calibration system, chip calibration mode entering method and chip
CN117434428B (en) * 2023-12-18 2024-03-26 杭州晶华微电子股份有限公司 Chip calibration system, chip calibration mode entering method and chip

Also Published As

Publication number Publication date
JP3028090B2 (en) 2000-04-04

Similar Documents

Publication Publication Date Title
US7788562B2 (en) Pattern controlled, full speed ATE compare capability for deterministic and non-deterministic IC data
US5012180A (en) System for testing internal nodes
JP2005530172A (en) Electronic circuit with components operating asynchronously
US5153509A (en) System for testing internal nodes in receive and transmit FIFO's
US7426705B1 (en) Combined hardware/software assertion checking
US7017098B2 (en) Built-in self-test for multi-channel transceivers without data alignment
US20120150477A1 (en) Driving circuit of a test access port
JP3028090B2 (en) Test mode detection device and detection method
US7895489B2 (en) Matrix system and method for debugging scan structure
US6019502A (en) Test circuits and methods for built-in testing integrated devices
EP0933644B1 (en) Device scan testing
KR19990037985A (en) Test Mode Detection Apparatus and Method
KR20020018128A (en) Semiconductor integrated circuit and operating method
EP1678513B1 (en) Electronic circuit comprising a secret sub-module
US5867050A (en) Timing generator circuit
JP3042209B2 (en) Self-diagnosis device for semiconductor memory failure
KR20000000990A (en) Error detecting apparatus
JP2006029948A (en) Test mode setting method for semiconductor integrated circuit and semiconductor integrated circuit
KR100208234B1 (en) Method for function examination in full electronic switching system
JP3093694B2 (en) Fault LSI detection method
SU951313A1 (en) Device for checking digital objects
US6292907B1 (en) State machine bit group selection apparatus for debugging a digital system
JPS6225211B2 (en)
JPH09204317A (en) Diagnostic device for error detecting/correcting circuit
JPH01210875A (en) Testing method for prescaler