JPH08272639A - Test circuit and test method for microcomputer - Google Patents

Test circuit and test method for microcomputer

Info

Publication number
JPH08272639A
JPH08272639A JP7072928A JP7292895A JPH08272639A JP H08272639 A JPH08272639 A JP H08272639A JP 7072928 A JP7072928 A JP 7072928A JP 7292895 A JP7292895 A JP 7292895A JP H08272639 A JPH08272639 A JP H08272639A
Authority
JP
Japan
Prior art keywords
output
signal
circuit
test mode
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP7072928A
Other languages
Japanese (ja)
Other versions
JP2907055B2 (en
Inventor
Tadaaki Shiiba
忠明 椎葉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP7072928A priority Critical patent/JP2907055B2/en
Publication of JPH08272639A publication Critical patent/JPH08272639A/en
Application granted granted Critical
Publication of JP2907055B2 publication Critical patent/JP2907055B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Microcomputers (AREA)

Abstract

PURPOSE: To provide a test circuit/method for a microcomputer which uses a single terminal that is used as only an output terminal in a normal operation mode as a test mode setting input terminal and also uses the output buffer of the terminal used as the input terminal in a selection test that is carried out by an LSI tester. CONSTITUTION: This test circuit/method includes a noise elimination part 2 which eliminates the noises when the output signal of an output buffer 1 is compulsively fixed at a power supply potential or a ground potential, a delay element 3 which delays the input signal of the buffer 1 by a time equal to the delay time of the part 2, an inverter 4, a discordance detection part 5 which compares the output of the element 3 with that of the part 2 and outputs a discordance signal if the coincidence is not secured between both outputs, a counter circuit part 6 which counts an discordance signals, and a storage circuit 7 which stores the overflow signal that is produced based on the counting result of the part 6. Then an output terminal 9 is fixed at a power supply or ground potential via an LSI tester, and a test mode is set.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はマイクロコンピュータの
テスト回路およびテスト方法に関し、特にノイズの影響
あるいは製造プロセスのバラツキ等によりテストモード
が誤動作するのを防止したマイクロコンピュータのテス
ト回路およびテスト方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microcomputer test circuit and a test method, and more particularly to a microcomputer test circuit and a test method for preventing malfunction of a test mode due to influence of noise or variation in manufacturing process.

【0002】[0002]

【従来の技術】近年、マイクロコンピュータの高集積
化、多機能化に伴って入出力端子の多端子化が進むとと
もに、これらの端子を効率よく使用する必要に迫られて
いる。
2. Description of the Related Art In recent years, the number of input / output terminals has increased as a result of the high integration and multifunction of microcomputers, and it has become necessary to use these terminals efficiently.

【0003】そのため、例えばマイクロコンピュータを
テストする際にその内部回路をテストモードに移行させ
た状態で内部回路の機能を確認し、かつマイクロコンピ
ュータの外部回路とインタフェースする入出力バッファ
の電気的特性も確認する必要がある。このテストモード
に移行させるためにはその制御信号を外部から供給する
ための入力端子としてのテスト端子と、供給された制御
信号に応答してテストモードに移行させるテストモード
設定部が設けられており、テスト端子は単独に設ける場
合もあるが、前述したように端子を効率よく使用するた
めに、他の入力端子と共用する場合が多い。
Therefore, for example, when testing a microcomputer, the function of the internal circuit is confirmed while the internal circuit is in the test mode, and the electrical characteristics of the input / output buffer that interfaces with the external circuit of the microcomputer are also measured. It is necessary to confirm. In order to shift to this test mode, a test terminal as an input terminal for supplying the control signal from the outside and a test mode setting section for shifting to the test mode in response to the control signal supplied are provided. Although the test terminal may be provided independently, it is often shared with other input terminals in order to use the terminal efficiently as described above.

【0004】従来のこの種のテストモード設定部の一例
が、特開昭62−62060号公報に記載されている。
同公報記載のテストモード設定部の回路図を示した図6
を参照すると、電源電位および接地電位間に挿入され
た、Nチャネル型ディプリーションMOSトランジスタ
D1およびNチャネル型ディプリーションMOSトラン
ジスタD2の第1の直列接続回路と、Nチャネル型ディ
プリーションMOSトランジスタD3およびNチャネル
型エンハンスメントMOSトランジスタN1の第2の直
列接続回路とを有し、トランジスタD1およびD2のゲ
ート電極が第1の直列接続回路の直列接続点Aにそれぞ
れ共通接続され、トランジスタD3のゲート電極が第2
の直列接続回路の直列接続点Bとテストモード出力端O
UTにそれぞれ共通接続されるとともに、トランジスタ
D2のゲート電極はテスト端子INに接続され、かつ内
部回路へも信号線testを介して供給される構成から
なる。
An example of a conventional test mode setting unit of this type is described in Japanese Patent Laid-Open No. 62-62060.
FIG. 6 showing a circuit diagram of a test mode setting unit described in the publication.
, A first series connection circuit of the N-channel depletion MOS transistor D1 and the N-channel depletion MOS transistor D2 inserted between the power supply potential and the ground potential, and the N-channel depletion MOS transistor. A second series connection circuit of a transistor D3 and an N-channel enhancement MOS transistor N1, and gate electrodes of the transistors D1 and D2 are commonly connected to a series connection point A of the first series connection circuit, respectively. The gate electrode is second
Series connection point B of the series connection circuit and the test mode output terminal O
The gate electrodes of the transistors D2 are commonly connected to the UTs, connected to the test terminal IN, and supplied to the internal circuit through the signal line test.

【0005】この回路は、通常道作時には入力端子IN
に論理レベルのハイレベル(例えば5V電圧)からロウ
レベル(例えば0V電圧)が供給されている。
This circuit normally uses the input terminal IN during the operation.
A low level (for example, 0V voltage) is supplied to a logic level from a high level (for example, 5V voltage).

【0006】トランジスタD1は能動負荷素子として動
作するので、トランジスタD2のゲート電極にハイレベ
ルが供給されるとこのトランジスタは導通状態になり、
そのドレインの接続点Aの電位はロウレベルになる。
Since the transistor D1 operates as an active load element, when a high level is supplied to the gate electrode of the transistor D2, this transistor becomes conductive,
The potential of the drain connection point A becomes low level.

【0007】そのため、この接続点Aにゲート電極が接
続されたトランジスタD3は非導通状態になり、そのド
レインの接続点Bはハイレベルとなって内部回路は通常
動作状態となる。
Therefore, the transistor D3 whose gate electrode is connected to the connection point A becomes non-conductive, and the connection point B of the drain thereof becomes high level to bring the internal circuit into the normal operation state.

【0008】一方、テストモードにするには、入力端子
INに十分に負極性の電圧(例えば−5V)を供給す
る。この負極性の電圧によってトランジスタD2は非導
通状態になり、接続点Aの電位はハイレベルとなる。そ
のためトランジスタD3は導通状態となって接続点Bの
電位はロウレベルとなる。このトランジスタD3のドレ
インおよびソース接続点間のオン抵抗が著しく小さくな
るように設計されている場合には、その接続点Bが+5
Vの状態から0Vの状態に切換えられ、テストモード出
力端OUTから内部回路へテストモード信号を供給する
ので、内部回路はテストモード状態になる。
On the other hand, to enter the test mode, a sufficiently negative voltage (for example, -5V) is supplied to the input terminal IN. Due to this negative voltage, the transistor D2 becomes non-conductive, and the potential at the connection point A becomes high level. Therefore, the transistor D3 becomes conductive and the potential of the connection point B becomes low level. When the on-resistance between the drain and source connection points of the transistor D3 is designed to be extremely small, the connection point B is +5.
Since the state of V is switched to the state of 0V and the test mode signal is supplied from the test mode output terminal OUT to the internal circuit, the internal circuit enters the test mode state.

【0009】したがって、拡散製造条件のさらにキメ細
かく管理し、出荷前試験によるテストモード設定動作の
確認工程を追加し、さらに同一半導体チップ上にエンハ
ンスメント形とデプレッション形の2タイプのMOSト
ランジスタを構成するために拡散製造工程が通常工程に
比較して複雑になる等の条件が重なるので、製造コスト
アップとなる。
Therefore, in order to manage the diffusion manufacturing conditions more finely, to add a step of confirming the test mode setting operation by the pre-shipment test, and to configure two types of enhancement type and depletion type MOS transistors on the same semiconductor chip. In addition, since the conditions such as the diffusion manufacturing process becoming more complicated than the normal process overlap, the manufacturing cost increases.

【0010】従来のテスト回路およびテスト方法は、エ
ンハンスメント形MOSトランジスタのドレイン電極お
よびソース電極間のオン抵抗を小さくし、通常は供給電
圧(0〜5V)は逆特性(−5V)の電圧を印加するこ
とによって、テストモードを設定するようになってい
る。そのため、量産における拡散条件のバラツキによっ
て、エンハンスメント形MOSトランジスタのドレイン
電極およびソース電極間の導通時の抵抗値が設計時の期
待値とずれを生じ、通常の動作時において、ノイズによ
ってテストモードになったり、逆に−5Vを印加しても
テストモードに設定できないという不具合が生じるとい
う欠点がある。
In the conventional test circuit and test method, the on-resistance between the drain electrode and the source electrode of the enhancement type MOS transistor is made small, and normally the supply voltage (0 to 5V) is applied with the reverse characteristic voltage (-5V). By doing so, the test mode is set. Therefore, due to variations in diffusion conditions in mass production, the resistance value when conducting between the drain electrode and the source electrode of the enhancement-type MOS transistor deviates from the expected value at the time of design, and during normal operation, noise causes the test mode. On the other hand, there is a drawback that the test mode cannot be set even if -5 V is applied.

【0011】上述の欠点の軽減とテスト端子と他の入力
端子との共用化を図った場合の一例が、特開平2−19
931号公報に記載されている。同公報記載のテストモ
ード制御方式をブロック図で示した図7を参照すると、
外部端子300a〜300nがデコード回路301の入
力端子に接続され、そお出力端outが処理回路302
の入力端SとORゲート303の一方の入力端に接続さ
れる。このORゲート303の他方の入力端には、その
出力端はタイマ304のリセット端子Rに接続される。
このタイマ304のオーバーフロー出力端子OVFとリ
セット信号線RESETが接続されたORゲート305
の出力端が、処理回路302のリセット入力端Sに接続
され、その出力端Qからテストモード設定信号306が
出力される構成からなる。
An example of a case in which the above-mentioned drawbacks are alleviated and a test terminal and another input terminal are shared is disclosed in Japanese Patent Laid-Open No. 2-19.
931 gazette. Referring to FIG. 7, which is a block diagram showing the test mode control method described in the publication,
The external terminals 300a to 300n are connected to the input terminal of the decoding circuit 301, and the output end out is the processing circuit 302.
Is connected to one input end of the OR gate 303. The output terminal of the other input terminal of the OR gate 303 is connected to the reset terminal R of the timer 304.
An OR gate 305 in which the overflow output terminal OVF of the timer 304 and the reset signal line RESET are connected
Is connected to the reset input terminal S of the processing circuit 302, and the test mode setting signal 306 is output from the output terminal Q thereof.

【0012】この構成において、テストモードを設定す
るときは、複数個のIOポート等である外部端子300
a〜300nに、テストモードを設定するための複数ビ
ットからなる特定パターンの信号が供給される。
In this configuration, when the test mode is set, the external terminals 300 such as a plurality of IO ports are set.
A specific pattern signal composed of a plurality of bits for setting the test mode is supplied to a to 300n.

【0013】デコード回路301はこのパターンをデコ
ードし、テストモード設定の信号パターンであれば、出
力端子OUTから出力を生じ、例えばフリップフロップ
である処理回路302はこの出力でセットされてQ出力
を生じ、ごれがテストモード設定信号になってマイクロ
コンピュータをテストモードに設定する。
The decode circuit 301 decodes this pattern, and if the signal pattern is a test mode setting signal, an output is generated from the output terminal OUT, and the processing circuit 302, which is, for example, a flip-flop, is set at this output to generate a Q output. , The dirt becomes the test mode setting signal and sets the microcomputer to the test mode.

【0014】デコード回路301の出力はORゲート3
03を経由してタイマ304に供給され、これをリセッ
トしクロックφの計数が開始される。タイマ304はあ
らかじめセットされた時間を計時するとオーバーフロー
出力OVFを発生し、これは処理回路302をリセット
するのでテストモード設定信号306は消滅する。
The output of the decoding circuit 301 is the OR gate 3.
It is supplied to the timer 304 via 03 and is reset, and counting of the clock φ is started. When the timer 304 measures a preset time, it generates an overflow output OVF, which resets the processing circuit 302, so that the test mode setting signal 306 disappears.

【0015】しかし、その前に外部端子300a〜30
0nにテスト信号が供給され、マイクロコンピュータの
テストが開始されると、デコード回路301はこのテス
ト信号をデコードした出力を生じ、これはタイマ304
をリセットし処理回路22をセット状態にする。
However, before that, the external terminals 300a-30
When the test signal is supplied to 0n and the test of the microcomputer is started, the decode circuit 301 produces the decoded output of this test signal, which is generated by the timer 304.
To reset the processing circuit 22 to the set state.

【0016】テスト信号の所々に特定パターンを含めて
おき、タイマ304がオーバーフローする前にこれをリ
セットすると、テスト中に処理回路302をセット状態
に維持することができる。
By including a specific pattern everywhere in the test signal and resetting it before the timer 304 overflows, the processing circuit 302 can be kept in the set state during the test.

【0017】テスト終了後はリセット信号RESETを
ORゲート33、305に供給し、タイマ304および
処理回路302をリセットする。
After the test is completed, the reset signal RESET is supplied to the OR gates 33 and 305 to reset the timer 304 and the processing circuit 302.

【0018】[0018]

【発明が解決しようとする課題】上述した従来例では、
複数のテスト端子を他の入力端子と共用するとともに、
これら複数の端子から複数ビットからなる特定データを
入力しなければテストモードに入らないので、誤ってテ
ストモードになるようなことはほとんどなくなく、また
万が一間違ってテストモードに入っても、テスト信号を
入力しなければ一定時間後に通常モードに復帰するとし
ている。
In the above-mentioned conventional example,
While sharing multiple test terminals with other input terminals,
If you do not enter the test mode unless you input specific data consisting of multiple bits from these multiple pins, it is unlikely that you will accidentally enter the test mode, and even if you accidentally enter the test mode, the test signal If you do not enter, it will return to the normal mode after a certain period of time.

【0019】しかしながら、入力端子およびこの端子に
接続される入力バッファ(図示されてないが当然配置さ
れる)の基本手な機能としては、入力された信号が所望
の信号であるまたは予期しないノイズであるかに関係な
く、すべて内部回路に伝送してしまうことになる。
However, the basic function of the input terminal and the input buffer connected to this input terminal (not shown but of course arranged) is that the input signal is the desired signal or unexpected noise. Regardless of whether it exists, it will be transmitted to the internal circuit.

【0020】そのため、この入力されたノイズまたは誤
操作による不用な信号を識別するために、複数の入力端
子とデコード回路を必要としている。さらに、間違って
テストモードに入るとそこから通常動作モードに復帰す
るにはタイマがオーバーフローするまでその状態で待機
する必要がある。
Therefore, a plurality of input terminals and a decoding circuit are required to identify the input noise or the unnecessary signal due to the erroneous operation. In addition, if the test mode is mistakenly entered, it is necessary to wait until the timer overflows in order to return to the normal operation mode.

【0021】一方、テストモードに入り、その状態を続
行するには、テストプログラム中にある一定の間隔で特
定パターンを挿入しておく必要があり、テスト時間の短
縮が極めて重要な要素となるマイクロコンピュータの製
造工程にあっては無視出来ないロスタイムである。例え
ば、1つのマイクロコンピュータが出荷されるまでにテ
ストモードが使用される工程は通常の場合、ウェーハ入
庫、組立選別、高温選別の前と後、入庫選別、出庫選別
があり、特定パターン挿入回数×選別回数×時間が余分
なロスタイムとなる。
On the other hand, in order to enter the test mode and continue the state, it is necessary to insert a specific pattern at a certain interval in the test program, and shortening the test time is an extremely important factor. It is a loss time that cannot be ignored in the computer manufacturing process. For example, the process in which the test mode is used before the shipment of one microcomputer is usually, before and after wafer warehousing, assembling / sorting, and high temperature sorting, warehousing and unloading sorting, and the number of insertions of a specific pattern x The number of times of sorting x time is extra lost time.

【0022】このロスタイムを圧縮するにはタイマ時間
を短縮すればよいが、短縮すると特定パタン挿入回数を
増加させねばならないという相反する関係にあるから、
圧縮は困難である。
To reduce this loss time, the timer time may be shortened, but if it is shortened, the number of specific pattern insertions must be increased.
Compression is difficult.

【0023】本発明の目的は、上述した欠点に鑑みなさ
れたものであり、LSIテスタによる選別テストにおい
て、テストモード設定用の入力端子として、通常動作時
では出力端子としてのみ用いられる1個の端子およびそ
の出力バファを用いるので、不要な信号を識別するため
の複数の入力端子およびテストモードへ入るための複数
の制御データとこれらの識別回路を必要としないマイク
ロコンピュータのテスト回路およびテスト方法を提供す
ることにある。
The object of the present invention was made in view of the above-mentioned drawbacks, and in the selection test by the LSI tester, one terminal used as an input terminal for setting a test mode and only as an output terminal in normal operation. And its output buffer are used to provide a plurality of input terminals for identifying an unnecessary signal, a plurality of control data for entering a test mode, and a microcomputer test circuit and test method that do not require these identification circuits. To do.

【0024】[0024]

【課題を解決するための手段】本発明のマイクロコンピ
ュータのテスト回路およびテスト方法の特徴は、外部か
らの供給信号を受ける入力バッファと内部回路の処理結
果を出力する出力バッファとこれら両方の機能をもつ入
出力バッファとからなるバッファ群と、外部から供給さ
れるモード設定信号に応答して前記内部回路の状態を動
作モード、リセットモードまたはテストモードのいずれ
かに設定するテストモード設定部とを含むマイクロコン
ピータにおいて、前記出力バッファの動作中に、その出
力端子を外部から強制的に電源電位または接地電位のい
ずれかにあらかじめ定めた所定期間だけ固定することに
より前記テストモード設定部を前記テストモードに移行
させるテストモード移行手段を有することにある。
The test circuit and test method for a microcomputer of the present invention are characterized by an input buffer for receiving a supply signal from the outside, an output buffer for outputting a processing result of an internal circuit, and a function of both of them. And a test mode setting unit for setting the state of the internal circuit to any one of an operation mode, a reset mode or a test mode in response to a mode setting signal supplied from the outside. In the micro computer, during the operation of the output buffer, the output terminal is forcibly fixed from the outside to either the power supply potential or the ground potential for a predetermined period and the test mode setting unit is set to the test mode. It is to have a test mode shift means for shifting.

【0025】また、前記テストモード移行手段は、前記
出力バッファの出力がハイレベルのときに、前記出力端
子を強制的に前記ハイレベル期間内の所定の期間だけ接
地電位へ固定し、その固定動作が所定の回数行なわれた
ことを検知して記憶し、所定回数に達すると前記テスト
モードへ移行する機能を備えることができる。
Further, the test mode transition means forcibly fixes the output terminal to the ground potential for a predetermined period within the high level period when the output of the output buffer is at the high level, and the fixing operation thereof. It is possible to provide a function to detect and store that the test has been performed a predetermined number of times, and to shift to the test mode when the predetermined number of times is reached.

【0026】さらに、前記テストモード移行手段は、前
記出力バッファの出力がロウレベルのときは、前記出力
端子を強制的に前記ロウレベル期間内の所定の期間だけ
電源電位へ固定することもできる。
Further, the test mode transition means can forcibly fix the output terminal to the power supply potential only for a predetermined period within the low level period when the output of the output buffer is at the low level.

【0027】さらにまた、前記設定結果が記憶手段にの
み記憶され、その記憶内容に応じて前記テストモードへ
移行する機能を備えてもよい。
Furthermore, the setting result may be stored only in the storage means, and a function of shifting to the test mode according to the stored content may be provided.

【0028】また、前記テストモード移行手段に用いる
前記テストモード設定部は、前記出力バッファの出力信
号が強制的に接地電位に固定されたときのノイズを除去
するノイズ除去部と、前記出力バッファの入力信号を前
記ノイズ除去部の遅延時間に等しい遅延時間だけ遅らせ
極性反転して出力する遅延回路部と、この遅延回路部出
力信号と前記ノイズ除去部出力信号とを比較し等しくな
ければ不一致信号を出力する不一致検出部と、前記不一
致信号を計数する計数回路部と、計数の結果発生するオ
ーバーフロー信号を記憶する記憶回路部とを有し、この
記憶回路部出力信号で前記テストモードに移行し前記記
憶回路部および前記計数回路部をリセットして前記テス
トモードを解除することができる。
The test mode setting section used in the test mode transition means includes a noise removing section for removing noise when the output signal of the output buffer is forcibly fixed to the ground potential, and the output buffer of the output buffer. A delay circuit section that delays the input signal by a delay time equal to the delay time of the noise removal section and outputs the inverted polarity signal is compared with this delay circuit section output signal and the noise removal section output signal. It has a mismatch detection section that outputs, a counting circuit section that counts the mismatch signal, and a storage circuit section that stores an overflow signal generated as a result of the counting, and shifts to the test mode by the storage circuit output signal, The test mode can be released by resetting the memory circuit unit and the counting circuit unit.

【0029】さらに、前記テストモード移行手段に用い
る前記テストモード設定部は、前記出力バッファの出力
信号が強制的に電源電位に固定されたときの信号と前記
出力バッファの入力信号を所定の遅延時間だけ遅らせる
遅延回路部の出力信号とを比較し等しければ一致信号を
出力する一致検出部と、前記一致信号を記憶する記憶回
路部とを有し、この記憶回路部出力信号で前記テストモ
ードに移行し前記記憶回路部をリセットして前記テスト
モードを解除することもできる。除することもできる。
Further, the test mode setting section used in the test mode transition means outputs a signal when the output signal of the output buffer is forcibly fixed to the power supply potential and an input signal of the output buffer to a predetermined delay time. The output signal of the delay circuit unit that delays by only the comparison signal has a coincidence detection unit that outputs a coincidence signal if the output signals of the delay circuit unit are equal to each other, and a memory circuit unit that stores the coincidence signal. However, the test mode can be released by resetting the memory circuit unit. It can also be excluded.

【0030】本発明のマイクロコンピュータのテスト方
法の特徴は、外部からの供給信号を入力バッファが受け
て内部回路に供給しこの内部回路の処理結果を出力バッ
ファから外部へ出力しこれら入力および出力の両機能を
入出力バッファが有するバッファ群と、外部から供給さ
れるモード設定信号に応答して前記内部回路の状態を動
作モード、リセットモードまたはテストモードのいずれ
かに設定するテストモード設定手段とを用いて前記内部
回路および前記バッファ群の所定の電気的特性を確認す
るマイクロコンピュータのテスト方法において、前記出
力バッファから前記出力端子にハイレベルが出力されて
いるときには前記ハイレベル期間中の一部期間だけLS
Iテスタによって前記出力端子が強制的にロウレベルに
固定され、前記出力バッファから前記出力端子にハイレ
ベルが出力されているときには前記ロウレベル期間中の
一部期間だけ前記LSIテスタによって前記出力端子が
強制的にハイレベルに固定され、この一部期間だけロウ
レベルまたはハイレベルに固定された出力端子の信号が
ノイズ除去手段で波形整形され、前記出力バッファの入
力信号が前記ノイズ除去手段の遅延時間に等しい遅延時
間だけ遅延手段により遅延され、この遅延された出力信
号の反転信号と前記ノイズ除去手段の出力信号とが不一
致検出手段で比較され等しくなければ不一致信号が出力
され、前記不一致信号が計数手段で計数され、計数の結
果発生するオーバーフロー信号が記憶手段で記憶され、
この記憶手段の出力信号により前記テストモード設定手
段が前記内部回路をテストモードに移行させ、前記内部
回路から供給される所定の信号により前記記憶手段およ
び前記計数手段がリセットされて前記テストモード設定
手段が前記テストモードを解除することにある。
The microcomputer test method of the present invention is characterized in that an input buffer receives an externally supplied signal and supplies it to an internal circuit, and outputs the processing result of this internal circuit from the output buffer to the outside to output these inputs and outputs. A buffer group having an input / output buffer having both functions, and a test mode setting means for setting the state of the internal circuit to either an operation mode, a reset mode or a test mode in response to a mode setting signal supplied from the outside. In a microcomputer test method for confirming predetermined electrical characteristics of the internal circuit and the buffer group using, when a high level is output from the output buffer to the output terminal, a part of the high level period Only LS
When the output terminal is forcibly fixed to a low level by the I tester and a high level is output from the output buffer to the output terminal, the output terminal is forced by the LSI tester for a part of the low level period. Is fixed to the high level, and the signal of the output terminal fixed to the low level or the high level for a part of this period is waveform-shaped by the noise removing means, and the input signal of the output buffer is delayed by a delay equal to the delay time of the noise removing means. Delayed by the delay means, the inverted signal of the delayed output signal and the output signal of the noise removal means are compared by the mismatch detection means, and if they are not equal, a mismatch signal is output, and the mismatch signal is counted by the counting means. And the overflow signal generated as a result of counting is stored in the storage means,
The output signal of the storage means causes the test mode setting means to shift the internal circuit to the test mode, and the storage means and the counting means are reset by a predetermined signal supplied from the internal circuit, whereby the test mode setting means. Is to cancel the test mode.

【0031】[0031]

【実施例】前述した従来のマイクロコンピュータのテス
ト回路およびテスト方法に対して、本発明は通常の動作
時においては出力端子としてのみ用いられる1つの端子
が、LSIテスタを用いた電気的特性試験においてテス
トモードを設定する端子として用いるという相違点を有
するものである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS In contrast to the conventional microcomputer test circuit and test method described above, according to the present invention, one terminal used only as an output terminal during normal operation is used in an electrical characteristic test using an LSI tester. The difference is that it is used as a terminal for setting the test mode.

【0032】まず、本発明の実施例を図面を参照しなが
ら説明する。図1(a)は本発明の第1の実施例を示す
回路図、図1(b)は図1(a)で使用されるノイズ除
去部の回路図であり、図2はこれらの動作説明用タイミ
ングチャートである。
First, an embodiment of the present invention will be described with reference to the drawings. FIG. 1A is a circuit diagram showing a first embodiment of the present invention, FIG. 1B is a circuit diagram of a noise removing unit used in FIG. 1A, and FIG. It is a timing chart for.

【0033】図1(a)参照すると、このテスト回路
は、出力バッファ1の出力信号が強制的に電源電位VD
Dたは接地電位GNDに固定されたときのノイズを除去
するノイズ除去部2と、出力バッファ1の入力信号をノ
イズ除去部2の遅延時間に等しい遅延時間だけ遅らせる
遅延素子3と、極性反転した信号を出力するインバータ
4と、2つの入力信号を比較し等しくなければ不一致信
号を出力する不一致検出部5と、不一致信号を計数す
る、例えばクリア機能をもつアップカウンタの計数回路
部6と、例えばリセット機能をもつラッチの記憶回路部
7とを有し、入力バッファ1の入力端に端子8が接続さ
れるとともに、遅延素子3とインバータ4とを介して不
一致検出部5の一方の入力端にも接続される。出力バッ
ファ1の出力端は出力端子9およびノイズ除去部2の入
力端Iに接続され、その出力端Oが不一致検出部5の他
方の入力端に接続される。
Referring to FIG. 1A, in this test circuit, the output signal of the output buffer 1 is forcibly forced to the power supply potential VD.
The noise eliminator 2 that eliminates noise when fixed to D or the ground potential GND, the delay element 3 that delays the input signal of the output buffer 1 by a delay time equal to the delay time of the noise eliminator 2, and the polarity is inverted. An inverter 4 that outputs a signal, a mismatch detection unit 5 that compares two input signals and outputs a mismatch signal if they are not equal, an up-counter counting circuit unit 6 that counts the mismatch signals, for example, A latch storage circuit section 7 having a reset function, a terminal 8 is connected to the input terminal of the input buffer 1, and one input terminal of the mismatch detection section 5 is connected via the delay element 3 and the inverter 4. Is also connected. The output terminal of the output buffer 1 is connected to the output terminal 9 and the input terminal I of the noise removal unit 2, and the output terminal O thereof is connected to the other input terminal of the mismatch detection unit 5.

【0034】不一致検出部2の出力端は計数回路部6の
計数信号入力端Dに接続され、計数信号出力端OVFは
記憶回路部7のセット端子Sに接続される。この記憶回
路部7の出力端Qがテストテストモード設定回路出力と
して端子10に接続されるとともに、記憶回路部7およ
び計数回路部6のリセット端子Cにテストモード解除信
号線が端子11から接続された構成からなる。
The output terminal of the mismatch detection section 2 is connected to the count signal input terminal D of the counting circuit section 6, and the count signal output terminal OVF is connected to the set terminal S of the storage circuit section 7. The output terminal Q of the storage circuit section 7 is connected to the terminal 10 as a test test mode setting circuit output, and the test mode release signal line is connected to the reset terminal C of the storage circuit section 7 and the counting circuit section 6 from the terminal 11. It consists of different configurations.

【0035】ここで使用されるノイズ除去部2は公知の
回路であり、図1(b)を参照すると、その構成は、端
子Iが遅延素子201とANDゲート202とNORゲ
ート203とに接続され、これらANDゲート202お
よびNORゲート203の他方の入力端には遅延素子2
01の出力端が接続されている。ANDゲート202の
出力端はNORゲート204,205からなるフリップ
フロップのNORゲート204に、NORゲート203
の出力端はNORゲート205にそれぞれセットおよび
リセット線として接続されるとともに、NORゲート2
04の出力がインバータ206を介して端子Oに接続さ
れてなる。
The noise eliminator 2 used here is a known circuit. Referring to FIG. 1B, the configuration is such that the terminal I is connected to the delay element 201, the AND gate 202 and the NOR gate 203. , The delay element 2 is provided at the other input end of the AND gate 202 and the NOR gate 203.
The output terminal of 01 is connected. The output terminal of the AND gate 202 is connected to the NOR gate 204 of the flip-flop composed of the NOR gates 204 and 205, and the NOR gate 203.
Of the NOR gate 2 are connected to the NOR gate 205 as set and reset lines, respectively.
The output of 04 is connected to the terminal O via the inverter 206.

【0036】次に、図1(a)および図1(b)に併せ
て図2を参照しながら本実施例の動作を説明する。
Next, the operation of this embodiment will be described with reference to FIG. 2 in addition to FIGS. 1 (a) and 1 (b).

【0037】内部回路から端子8に供給された波形が図
2(イ)に示すように所定期間ロウレベルの場合、外部
端子9で観察される波形は出力バッファ1によって反転
され、さらにドライブされてオーバーシュートおよびア
ンダーシュートを含んだ波形になる(図2(ロ))。
When the waveform supplied from the internal circuit to the terminal 8 is at the low level for a predetermined period as shown in FIG. 2A, the waveform observed at the external terminal 9 is inverted by the output buffer 1 and is further driven and overdriven. The waveform has a shoot and an undershoot (Fig. 2 (b)).

【0038】この様な波形出力のうちハイレベルを出力
している期間中に、LSIテスターによって外部端子9
を一時的に接地電位GNDに短絡すると、出力波形は過
渡現象による鈍りを生じながらロウレベル期間が発生す
る(図2図(ニ))。
During the period in which a high level is output among such waveform outputs, the LSI tester operates the external terminal 9
Is temporarily shorted to the ground potential GND, a low level period occurs while the output waveform becomes dull due to a transient phenomenon (FIG. 2 (d)).

【0039】この波形は、ノイズ除去部2の遅延素子2
01で時間tだけ遅延された後、ANDゲート202に
おいて論理積がとられ両端がハイレベレルのとき(図2
(ホ))と、ORゲート203において論理和がとられ
両端ともロウレベルのとき(図2(ヘ))の信号が得ら
れる。これらの信号のうちANDゲート202の出力信
号のロウレベルからハイレベルへの立上りのタイミング
で次段のフリップフロップがセットされ、ORゲート2
03の出力信号のロウレベルからハイレベルへの立上り
のタイミングでリセットされて波形が整形された出力信
号が得られる(図2(ト))。このノイズ除去部2の出
力信号が不一致検出部5の一方の入力となる。
This waveform corresponds to the delay element 2 of the noise removing section 2.
After being delayed by time t at 01, AND gate 202 performs a logical product and both ends are high level (see FIG. 2).
(E)) is ORed in the OR gate 203 and both ends are at a low level (FIG. 2 (f)). Of these signals, the flip-flop of the next stage is set at the rising timing of the output signal of the AND gate 202 from the low level to the high level, and the OR gate 2
The output signal of No. 03 is reset at the timing of rising from the low level to the high level, and an output signal having a waveform shaped is obtained (FIG. 2 (g)). The output signal of the noise removing unit 2 becomes one input of the mismatch detecting unit 5.

【0040】同様に内部回路から供給された信号(図2
(イ))は、出力バッファ1からノイズ除去部2と遅延
時間が等しくなるように、あらかじめ遅延時間が設計さ
れた遅延素子3およびインバータ4において遅延され
(図2(チ))、この出力信号が不一致検出部5の他方
の入力となる。
Similarly, the signal supplied from the internal circuit (see FIG.
(A)) is delayed from the output buffer 1 by the delay element 3 and the inverter 4 whose delay time is designed in advance so that the delay time becomes equal to that of the noise removing section 2 (FIG. 2 (h)). Is the other input of the mismatch detection unit 5.

【0041】したがって、不一致検出部5インバータ4
およびノイズ検出部2の信号を比較し、不一致期間のハ
イレベル信号を発生し(図2(リ))、計数回路部6の
入力信号として供給される。
Therefore, the mismatch detection section 5 inverter 4
Then, the signals of the noise detection unit 2 are compared with each other to generate a high level signal in the non-coincidence period (FIG. 2 (i)), which is supplied as an input signal of the counting circuit unit 6.

【0042】上述した不一致検出部5の両入力の信号の
遅延を等しくするのは、例えば、図2(ト)および
(チ)における信号の遅延時間が異なり、立ち上りのタ
イミングが互にXnsecの位相差があったと仮定する
と、不一致検出部5においては、図2(ト)および
(チ)の波形の最初の立ち上りと最後の立ち下りの部分
で、それぞれXnsecずつの不一致点が検出される。
したがって不一致点が両端部と中心部の3個所に発生
し、本来ならば1個であるべき不一致信号が3個発生し
たことになり、この3個のパルスが計数回路部6で計数
されてしまうことになり不都合が生じる。すなわち不一
致検出部5の両入力の信号の位相がずれていては、ノイ
ズ除去部2で波形整形したことが無意味になるからであ
る。
To make the delays of the signals of both inputs of the above-mentioned mismatch detection section 5 equal, for example, the signal delay times in FIGS. 2G and 2H are different and the rising timings are Xnsec. Assuming that there is a phase difference, the mismatch detection unit 5 detects mismatch points of Xnsec at the first rising edge and the last falling edge of the waveforms of (g) and (h) of FIG.
Therefore, non-coincidence points are generated at three positions, that is, both ends and the central part, and three non-coincidence signals, which should be one originally, are generated, and these three pulses are counted by the counting circuit unit 6. This causes inconvenience. That is, if the phases of the signals of both inputs of the mismatch detection section 5 are deviated, it is meaningless that the noise removal section 2 has shaped the waveform.

【0043】計数回路部6においては、供給された不一
致期間のハイレベル信号をその都度カウントする。この
計数回路部6は、仮にノイズによる誤動作が発生しても
計数回路6を経由することにより偶発的誤動作の可能性
をより小さくするために挿入されている。
In the counting circuit section 6, the supplied high level signal in the non-coincidence period is counted each time. The counting circuit unit 6 is inserted in order to further reduce the possibility of accidental malfunction by passing through the counting circuit 6 even if a malfunction due to noise occurs.

【0044】ここまでの動作がオーバーフローが発生す
るまで繰り返し実行される。すなわちLSIテスタによ
り出力端子9が繰り返し接地電位GNDに短絡される。
The operation up to this point is repeatedly executed until an overflow occurs. That is, the output terminal 9 is repeatedly short-circuited to the ground potential GND by the LSI tester.

【0045】オーバーフロー信号が発生するとラッチ7
はこの信号を取り込みその状態を保持するとともに、出
力端Qからテストモード設定信号として端子10を経由
して内部回路へ通知される。
Latch 7 when an overflow signal occurs
Takes in this signal and holds its state, and is notified from the output terminal Q to the internal circuit as a test mode setting signal via the terminal 10.

【0046】テストモード解除信号は、内部回路から端
子11を経由して供給され、ラッチ7および計数回路部
6の内容がクリアされる。
The test mode release signal is supplied from the internal circuit via the terminal 11, and the contents of the latch 7 and the counting circuit section 6 are cleared.

【0047】また、端子11はマイクロコンピュータの
イニシャライズのリセット入力としても用いられる。
The terminal 11 is also used as a reset input for initialization of the microcomputer.

【0048】上述したように本実施例のテストモード設
定回路を内蔵するマイクロコンピュータのテストはLS
Iテスターによって実施される。外部端子9がハイレベ
ルを出力中に接地電位GNDに強制的に短絡すると出力
バッファ1に直流電流が流れるが、一般にLSIテスタ
ーにおいては外部端子および接地電位GND間に抵抗素
子、あるいは、逆電流防止用のクランプ用ダイオードを
挿入することは、プログラムで簡単に設定可能であり、
出力バッファ1にダメージを与えることはない。
As described above, the test of the microcomputer incorporating the test mode setting circuit of this embodiment is LS.
Performed by I Tester. When the external terminal 9 is forcibly short-circuited to the ground potential GND while outputting a high level, a direct current flows through the output buffer 1. However, in an LSI tester, a resistance element or reverse current prevention is generally provided between the external terminal and the ground potential GND. Inserting the clamping diode for is easily set by the program,
It does not damage the output buffer 1.

【0049】次に、第2の実施例のテストモード設定回
路の回路図を示した図3を参照すると、第1の実施例と
の相違点は、第1の実施例におけるノイズ除去部2遅延
回路部のインバータ4と計数回路部6とが省略されてい
ることと、不一致検出部5に替えて一致検出部12を用
いていることである。それ以外の構成要素は第1の実施
例と同様であるからこ同一構成要素には同一の番号を付
してある。
Next, referring to FIG. 3 which shows the circuit diagram of the test mode setting circuit of the second embodiment, the difference from the first embodiment is that the delay of the noise removing section 2 in the first embodiment is different. The inverter 4 and the counting circuit unit 6 of the circuit unit are omitted, and the match detection unit 12 is used instead of the mismatch detection unit 5. Since the other constituent elements are the same as those in the first embodiment, the same constituent elements are designated by the same reference numerals.

【0050】すなわち、この第2の実施例の回路は、入
力バッファ1の入力端に端子8が接続されるとともに、
遅延素子3を介して一致検出部12の一方の入力端にも
接続される。出力バッファ1の出力端は出力端子9およ
び一致検出部12の他方の入力端に接続される。
That is, in the circuit of the second embodiment, the terminal 8 is connected to the input terminal of the input buffer 1 and
It is also connected to one input end of the coincidence detection unit 12 via the delay element 3. The output end of the output buffer 1 is connected to the output terminal 9 and the other input end of the coincidence detection unit 12.

【0051】一致検出部12の出力端は、記憶回路部7
のセット端子Sに接続され、この記憶回路部7の出力端
Qがテストテストモード設定回路出力として端子10に
接続されるとともに、記憶回路部7のリセット端子Cに
テストモード解除信号線が端子11から接続された構成
からなる。
The output terminal of the coincidence detecting section 12 is connected to the storage circuit section 7.
Of the storage circuit section 7 is connected to the terminal 10 as the output of the test test mode setting circuit, and the reset terminal C of the storage circuit section 7 is connected to the test mode release signal line of the terminal 11. The configuration is connected from.

【0052】なお、第1の実施例1においてはマイクロ
コンピュータ自身の出力である外部出力信号に生じるノ
イズによって、マイクロコンピュータ自身がその影響を
受けないよに、その防止策としてのノイズ除去部2が必
要であった。また計数回路部6は、仮にノイズによる誤
動作が発生しても計数回路6を経由することにより偶発
的誤動作の可能性をより小さくするためのものであっ
た。
In the first embodiment, noise generated in the external output signal, which is the output of the microcomputer itself, does not affect the microcomputer itself. Was needed. Further, the counting circuit section 6 is for reducing the possibility of accidental malfunction by passing through the counting circuit 6 even if malfunction due to noise occurs.

【0053】上述の構成からなる第2の実施例のテスト
回路は、第1の実施例に比較して出力バッファ1のドラ
イブ能力が小さく、外部端子9の出力波形にオーバーシ
ュートやアンダーシュートがほとんど発生しない場合に
おいて、上述の配慮が省略可能となり回路構成を非常に
簡単にして同様の効果を期待できる。
The test circuit of the second embodiment having the above-described configuration has a smaller drive capability of the output buffer 1 than the first embodiment, and the output waveform of the external terminal 9 has almost no overshoot or undershoot. If it does not occur, the above consideration can be omitted, and the same effect can be expected by simplifying the circuit configuration.

【0054】上述した第1または第2の実施例のテスト
回路を内蔵したマイクロコンピュータのテスト方法は、
LSIテスターの測定系の概要を示す図4およびそのテ
スト方法を説明するためのタイミングチャートを示した
図5(a)および(b)を参照すると、図4では説明の
容易にするため、測定用のデバイス(DUT)、ここで
はマイクロコンピュータ24の1ピンのみの測定系を表
わすものとする。
The test method of the microcomputer incorporating the test circuit of the first or second embodiment described above is as follows:
Referring to FIG. 4 showing an outline of the measurement system of the LSI tester and FIGS. 5A and 5B showing timing charts for explaining the test method, FIG. Device (DUT), here, a measurement system having only one pin of the microcomputer 24.

【0055】通常のファンクション動作測定時には、L
SIテスターはテストパターンに基づきDUT24に信
号を供給する。このテストパターンはドライバ制御回路
15を経由して、予めプログラムされた入力バッファへ
の入力レベルVIH/VILの電圧を発生するドライバ
(DRV)18によってパルスを発生する。
During normal function operation measurement, L
The SI tester supplies a signal to the DUT 24 based on the test pattern. This test pattern is generated through the driver control circuit 15 by the driver (DRV) 18 which generates the voltage of the input level VIH / VIL to the preprogrammed input buffer.

【0056】一方、DUT24からLSIテスタへ出力
される信号は、2つのコンパレータ19,20に供給さ
れる。これらの信号は、コンパレータにあらかじめプロ
グラムされた出力バッファの出力レベルVOH/VOL
と比較されて、ハイレベルとロウレベルの値が判定され
る。
On the other hand, the signal output from the DUT 24 to the LSI tester is supplied to the two comparators 19 and 20. These signals are output levels VOH / VOL of the output buffer pre-programmed in the comparator.
And the high level and low level values are determined.

【0057】この判定結果の信号がコンパレータ制御回
路16によってテストパターンの期待値と比較されて、
DUT24が正しく動作しているかどうかが判定され
る。
The signal of this judgment result is compared with the expected value of the test pattern by the comparator control circuit 16,
It is determined whether the DUT 24 is working properly.

【0058】また、直流特性測定時は、DC測定回路1
7からセンス(SENSE)22とフォース(FORC
E)21がDUT24に接続される。FORCEはDU
T24へ所定の測定用電圧を供給する回路であり、SE
NSEはDUT24の出力を受けてその電圧値を測定す
る回路である。
When measuring the DC characteristics, the DC measuring circuit 1
7 to Sense 22 and Force (FORC)
E) 21 is connected to DUT 24. FORCE is DU
It is a circuit that supplies a predetermined measurement voltage to T24, and SE
NSE is a circuit that receives the output of the DUT 24 and measures its voltage value.

【0059】DUT24への接続は、ドライバ18、コ
ンパレータ19および20、又はDC測定回路17のい
ずれか1つのみがマルチプレクサ23で選択されてい
る。
For connection to the DUT 24, only one of the driver 18, the comparators 19 and 20, or the DC measuring circuit 17 is selected by the multiplexer 23.

【0060】出力バッファがハイベル出力のときのテス
ト方法説明用のタイミングチャートを示した図5(a)
を参照すると、図5(a(イ))は通常動作時において
DUT24からコンパレータ19、29へ供給されるで
あろうと期待される波形で、図5(a(ロ))は、本実
施例において出力バッファの出力端子9に強制的にロウ
レベルを供給してテストモードにするために、あらかじ
めLSIテスタのDC測定回路17に0Vを設定したこ
とを示す波形、図5(a(ハ))は、DC測定回路17
を接続してあらかじめ設定された0Vを出力端子9に供
給するために、マルチプレクサ25にDC測定回路17
を選択させるべく供給されるマルチプレクサ制御信号2
5の波形、図5(a(ニ))は、選択的に0Vが出力端
子9に供給された結果DUT24から実際に出力される
波形、図5(a(ホ))は、DUT24から実際に出力
される波形のハイレベルを測定するために、マルチプレ
クサ25にコンパレータ制御回路16を選択させるべく
供給されるマルチプレクサ制御信号25の波形である。
このマルチプレクサ制御信号はおのおのハイレベルの時
にDUT24とコンパレータ19、20、またはDC測
定回路17のいずれかとが接続される。
FIG. 5 (a) showing a timing chart for explaining the test method when the output buffer is a Hibel output.
5 (a) is a waveform expected to be supplied from the DUT 24 to the comparators 19 and 29 in the normal operation, and FIG. 5 (a) shows the waveform in this embodiment. A waveform showing that 0V is set in advance in the DC measurement circuit 17 of the LSI tester in order to forcibly supply a low level to the output terminal 9 of the output buffer to enter the test mode, FIG. DC measuring circuit 17
In order to connect 0 to supply a preset 0V to the output terminal 9, the multiplexer 25 is connected to the DC measuring circuit 17
Control signal 2 provided to select
5 (a (d)) is the waveform actually output from the DUT 24 as a result of 0 V being selectively supplied to the output terminal 9, and FIG. 5 (a (e)) is the waveform actually output from the DUT 24. 7 is a waveform of a multiplexer control signal 25 supplied to cause the multiplexer 25 to select the comparator control circuit 16 in order to measure the high level of the output waveform.
When the multiplexer control signal is at a high level, the DUT 24 is connected to any of the comparators 19 and 20 or the DC measuring circuit 17.

【0061】したがって図(ハ)と図(ホ)のハイレベ
ル期間は排他的に制御されなければならない。
Therefore, the high level periods in FIGS. 3C and 3E must be controlled exclusively.

【0062】本実施例では、コンパレータ19,20の
切り離し期間中に、マルチプレクサ制御信号(ハ)のハ
イレベル信号でDC測定回路17を接続する。
In this embodiment, the DC measuring circuit 17 is connected by the high level signal of the multiplexer control signal (C) during the disconnection period of the comparators 19 and 20.

【0063】この時、DC測定回路17は、あらかじめ
0Vすなわち接地電位GNDレベルが設定されているの
で、DC測定回路17が接続されている期間中における
実際のDUT17の出力波形は接地電位GNDに短絡さ
れ、図(ニ)のような波形が発生する。
At this time, since the DC measuring circuit 17 is preset to 0V, that is, the ground potential GND level, the actual output waveform of the DUT 17 during the period in which the DC measuring circuit 17 is connected is short-circuited to the ground potential GND. Then, a waveform as shown in FIG.

【0064】一方、図(ニ)においてDUT24が、ハ
イレベルを出力している期間中に、マルチプレクサ制御
信号(ホ)がロウレベルを出力することによってコンパ
レータ19,20との接続を切り離す。
On the other hand, in the diagram (d), while the DUT 24 is outputting a high level, the multiplexer control signal (e) outputs a low level to disconnect the connection with the comparators 19 and 20.

【0065】また、出力バッファがロウベル出力のとき
のテスト方法説明用のタイミングチャートを示した図5
(b)を参照すると、図5(b(イ))は通常動作時に
おいてDUT24からコンパレータ19、29へ供給さ
れるであろうと期待される波形で、図5(b(ロ))
は、本実施例において出力バッファの出力端子9に強制
的にハイレベルを供給してテストモードにするために、
あらかじめLSIテスタのDC測定回路17に+5Vを
設定したことを示す波形、図5(b(ハ))は、DC測
定回路17を接続してあらかじめ設定された+5Vを出
力端子9に供給するために、マルチプレクサ25にDC
測定回路17を選択させるべく供給されるマルチプレク
サ制御信号25の波形、図5(b(ニ))は、選択的に
+5Vが出力端子9に供給された結果DUT24から実
際に出力される波形、図5(b(ホ))は、DUT24
から実際に出力される波形のロウレベルを測定するため
に、マルチプレクサ25にコンパレータ制御回路16を
選択させるべく供給されるマルチプレクサ制御信号25
の波形である。
Further, FIG. 5 is a timing chart for explaining a test method when the output buffer is low-bell output.
Referring to (b), FIG. 5 (b) is a waveform expected to be supplied from the DUT 24 to the comparators 19 and 29 in the normal operation.
In order to forcibly supply the high level to the output terminal 9 of the output buffer in the present embodiment to enter the test mode,
A waveform showing that + 5V is set in the DC measurement circuit 17 of the LSI tester in advance, FIG. 5B shows that the DC measurement circuit 17 is connected and the preset + 5V is supplied to the output terminal 9. , DC in the multiplexer 25
The waveform of the multiplexer control signal 25 supplied to select the measurement circuit 17, FIG. 5 (b (d)) is a waveform actually output from the DUT 24 as a result of selectively supplying +5 V to the output terminal 9, 5 (b (e)) is DUT24
The multiplexer control signal 25 supplied to cause the multiplexer 25 to select the comparator control circuit 16 in order to measure the low level of the waveform actually output from the multiplexer 25.
Is the waveform of.

【0066】したがってこの場合も、図(ハ)と図
(ホ)のハイレベル期間は排他的に制御されなければな
らない。
Therefore, also in this case, the high level periods in FIGS. 3C and 3E must be controlled exclusively.

【0067】この時、DC測定回路17は、あらかじめ
+5Vすなわち電源電位VDDレベルが設定されている
ので、DC測定回路17が接続されている期間中におけ
る実際のDUT17の出力波形は電源電位VDDにプル
アップされ、図(ニ)のような波形が発生する。
At this time, since the DC measuring circuit 17 is set to + 5V, that is, the power supply potential VDD level in advance, the actual output waveform of the DUT 17 during the period when the DC measuring circuit 17 is connected is pulled to the power supply potential VDD. Then, the waveform is generated as shown in Fig. 2D.

【0068】一方、図(ニ)においてDUT24が、ロ
ウレベルを出力している期間中に、マルチプレクサ制御
信号(ホ)がロウレベルを出力することによってコンパ
レータ19,20との接続を切り離す。
On the other hand, in FIG. 9D, the multiplexer control signal (e) outputs a low level while the DUT 24 is outputting a low level, whereby the connection with the comparators 19 and 20 is disconnected.

【0069】上述のような制御をLSIテスタ上で繰返
すことによって、DUT24はテストモードに設定可能
となる。
By repeating the above control on the LSI tester, the DUT 24 can be set to the test mode.

【0070】[0070]

【発明の効果】以上説明したように本発明は、出力バッ
ファの出力信号が強制的に電源電位または接地電位に固
定されたときのノイズを除去する波形整形回路と、出力
バッファの入力信号を波形整形回路の遅延時間に等しい
遅延時間だけ遅らせ極性反転して出力する遅延回路と、
この遅延回路出力信号と波形整形回路出力信号とを比較
し等しければ一致信号を出力する一致検出回路と、一致
信号を計数する計数回路と、計数の結果発生するオーバ
ーフロー信号を記憶する記憶回路とを有し、テストモー
ド移行方法は、出力バッファの出力がハイレベルのとき
に、出力端子を強制的にハイレベル期間内の所定の期間
だけ接地電位へ固定し、出力バッファの出力がロウレベ
ルのときは、出力端子を強制的にロウレベル期間内の所
定の期間だけ電源電位へ固定することにより、その固定
動作が所定の回数行なわれたことを検知して記憶し、所
定回数に達するとテストモードへ移行するので、テスト
モード設定用の入力端子として、通常動作時では出力端
子としてのみ用いられる1個の端子およびその出力バフ
ァを用いるので、不要な信号を識別するための複数の入
力端子およびテストモードへ入るための複数の制御デー
タとこれらの識別回路を必要としない製造コストを低減
したマイクロコンピュータを提供することが出来る。
As described above, according to the present invention, the waveform shaping circuit for removing noise when the output signal of the output buffer is forcibly fixed to the power supply potential or the ground potential, and the input signal of the output buffer are waveform-shaped. A delay circuit that delays by a delay time equal to the delay time of the shaping circuit, inverts the polarity, and outputs the result.
The delay circuit output signal and the waveform shaping circuit output signal are compared, and if they are equal, a coincidence detection circuit that outputs a coincidence signal, a counting circuit that counts the coincidence signal, and a storage circuit that stores an overflow signal generated as a result of counting are provided. The test mode transition method is such that when the output of the output buffer is high level, the output terminal is forcibly fixed to the ground potential for a predetermined period within the high level period, and when the output of the output buffer is low level. , By forcibly fixing the output terminal to the power supply potential for a predetermined period within the low-level period, the fact that the fixing operation has been performed a predetermined number of times is detected and stored, and the test mode is entered when the predetermined number is reached. Therefore, as the input terminal for setting the test mode, one terminal that is used only as an output terminal during normal operation and its output buffer are used. It is possible to provide a microcomputer with a reduced production cost which does not require a plurality of control data and these identification circuit for entering the plurality of input terminals and the test mode for identifying a main signal.

【0071】なお、動作中に出力端子を接地電位GND
等へ短絡することは、半導体素子の取扱いとして基本的
な禁止事項で有り、ユーザー側で実施されることは考え
られない。したがって、本発明はメーカー側で実施する
出荷前試験方法として非常に有効である。
During operation, the output terminal is connected to the ground potential GND.
Short-circuiting to etc. is a basic prohibition for handling semiconductor elements, and it is unlikely that it will be implemented by the user. Therefore, the present invention is very effective as a pre-shipment test method performed by the manufacturer.

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

【図1】(a)は本発明の第1の実施例を示す回路図で
ある。(b)は図1(a)で使用されるノイズ除去部の
回路図である。
FIG. 1A is a circuit diagram showing a first embodiment of the present invention. FIG. 1B is a circuit diagram of the noise removing unit used in FIG.

【図2】第1の実施例の動作説明用タイミングチャート
である。
FIG. 2 is a timing chart for explaining the operation of the first embodiment.

【図3】第2の実施例のテストモード設定回路の回路図
である。
FIG. 3 is a circuit diagram of a test mode setting circuit according to a second embodiment.

【図4】LSIテスターの測定系の概要を示す図であ
る。
FIG. 4 is a diagram showing an outline of a measurement system of an LSI tester.

【図5】(a)出力バッファがハイベル出力のときのテ
スト方法説明用のタイミングチャートである。 (b)出力バッファがロウベル出力のときのテスト方法
説明用のタイミングチャートである。
FIG. 5A is a timing chart for explaining a test method when the output buffer is a Hibel output. (B) is a timing chart for explaining a test method when the output buffer is low-bell output.

【図6】従来のテストモード設定部の一例の回路図であ
る。
FIG. 6 is a circuit diagram of an example of a conventional test mode setting unit.

【図7】従来のテストモード制御方式の一例のブロック
図である。
FIG. 7 is a block diagram of an example of a conventional test mode control method.

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

1 出力バッファ 2 ノイズ除去部 3,201 遅延素子 4,206 インバータ 5 不一致検出回路 6 計数回路部(クリア機能付アップカウンタ) 7 記憶回路部(リセット端子付ラッチ) 8,10,11 端子(内部信号入力) 9,306 出力端子 10 端子(テストモード設定信号出力) 11 端子(テストモード解除信号入力) 12 一致検出回路 15 ドライバ制御回路 16 コンパレータ制御回路 17 DC測定回路 18 ドライバー(DRV) 19,20 コンパレータ(CMP) 21 FORCE 22 SENSE 23 マルチプレクサ 24 DUT 25 マルチプレクサ制御信号 202 AND 203,204,205 NOR D1,D2,D3 デプレッション形MOSトランジ
スタ N1 エンハンスメント形MOSトランジスタ IN テスト端子 OUT テストモード出力端 300a〜300n 外部端子 301 デコード回路 302 処理回路 303,305 ORゲート 304 タイマ
1 Output Buffer 2 Noise Removal Section 3,201 Delay Element 4,206 Inverter 5 Mismatch Detection Circuit 6 Counting Circuit Section (Up Counter with Clear Function) 7 Storage Circuit Section (Latch with Reset Terminal) 8, 10, 11 Terminals (Internal Signal) Input) 9,306 Output terminal 10 terminal (Test mode setting signal output) 11 terminal (Test mode release signal input) 12 Match detection circuit 15 Driver control circuit 16 Comparator control circuit 17 DC measurement circuit 18 Driver (DRV) 19, 20 Comparator (CMP) 21 FORCE 22 SENSE 23 Multiplexer 24 DUT 25 Multiplexer control signal 202 AND 203, 204, 205 NOR D1, D2, D3 Depletion type MOS transistor N1 Enhancement type MOS transistor IN Test terminal OUT Test mode output terminal 300a to 300n External terminal 301 Decoding circuit 302 Processing circuit 303, 305 OR gate 304 Timer

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 外部からの供給信号を受ける入力バッフ
ァと内部回路の処理結果を出力する出力バッファとこれ
ら両方の機能をもつ入出力バッファとからなるバッファ
群と、外部から供給されるモード設定信号に応答して前
記内部回路の状態を動作モード、リセットモードまたは
テストモードのいずれかに設定するテストモード設定部
とを含むマイクロコンピータのテスト回路において;前
記出力バッファの動作中に、その出力端子を外部から強
制的に電源電位または接地電位のいずれかにあらかじめ
定めた所定期間だけ固定することにより前記テストモー
ド設定部を前記テストモードに移行させるテストモード
移行手段を有することを特徴とするマイクロコンピュー
タのテスト回路。
1. A buffer group including an input buffer receiving an externally supplied signal, an output buffer outputting the processing result of an internal circuit, and an input / output buffer having both functions, and a mode setting signal externally supplied. In response to a test mode setting section for setting the state of the internal circuit to any one of an operation mode, a reset mode or a test mode; A microcomputer having a test mode shift means for shifting the test mode setting unit to the test mode by externally forcibly fixing the power supply potential or the ground potential to a predetermined period. Test circuit.
【請求項2】 前記テストモード移行手段は、前記出力
バッファの出力がハイレベルのときに、前記出力端子を
強制的に前記ハイレベル期間内の所定の期間だけ接地電
位へ固定し、その固定動作が所定の回数行なわれたこと
を検知して記憶し、所定回数に達すると前記テストモー
ドへ移行する機能を備えることを特徴とする請求項1記
載のマイクロコンピュータのテスト回路。
2. The test mode transition means forcibly fixes the output terminal to the ground potential for a predetermined period within the high level period when the output of the output buffer is at the high level, and the fixing operation thereof. 2. The test circuit for the microcomputer according to claim 1, further comprising a function of detecting and storing that the test has been performed a predetermined number of times, and transitioning to the test mode when the predetermined number of times is reached.
【請求項3】 前記テストモード移行手段は、前記出力
バッファの出力がロウレベルのときは、前記出力端子を
強制的に前記ロウレベル期間内の所定の期間だけ電源電
位へ固定する請求項2記載のマイクロコンピュータのテ
スト回路。
3. The micro according to claim 2, wherein the test mode transition means forcibly fixes the output terminal to the power supply potential for a predetermined period within the low level period when the output of the output buffer is low level. Computer test circuit.
【請求項4】 前記設定結果が記憶手段にのみ記憶さ
れ、その記憶内容に応じて前記テストモードへ移行する
機能を備えることを特徴とする請求項2または3記載の
マイクロコンピュータのテスト回路。
4. The test circuit for a microcomputer according to claim 2, wherein the setting result is stored only in a storage means, and a function of shifting to the test mode is provided according to the stored content.
【請求項5】 前記テストモード移行手段に用いる前記
テストモード設定部は、前記出力バッファの出力信号が
強制的に接地電位に固定されたときのノイズを除去する
ノイズ除去部と、前記出力バッファの入力信号を前記ノ
イズ除去部の遅延時間に等しい遅延時間だけ遅らせ極性
反転して出力する遅延回路部と、この遅延回路部出力信
号と前記ノイズ除去部出力信号とを比較し等しくなけれ
ば不一致信号を出力する不一致検出部と、前記不一致信
号を計数する計数回路部と、計数の結果発生するオーバ
ーフロー信号を記憶する記憶回路部とを有し、この記憶
回路部出力信号で前記テストモードに移行し前記記憶回
路部および前記計数回路部をリセットして前記テストモ
ードを解除する請求項1または2記載のマイクロコンピ
ュータのテスト回路。
5. The test mode setting section used for the test mode transition means, a noise removing section for removing noise when the output signal of the output buffer is forcibly fixed to the ground potential, and the output buffer of the output buffer. A delay circuit section that delays the input signal by a delay time equal to the delay time of the noise removal section and outputs the inverted polarity signal is compared with this delay circuit section output signal and the noise removal section output signal. It has a mismatch detection section that outputs, a counting circuit section that counts the mismatch signal, and a storage circuit section that stores an overflow signal generated as a result of the counting, and shifts to the test mode by the storage circuit output signal, 3. The test circuit for a microcomputer according to claim 1, wherein the memory circuit unit and the counting circuit unit are reset to release the test mode. .
【請求項6】 前記テストモード移行手段に用いる前記
テストモード設定部は、前記出力バッファの出力信号が
強制的に電源電位に固定されたときの信号と前記出力バ
ッファの入力信号を所定の遅延時間だけ遅らせる遅延回
路部の出力信号とを比較し等しければ一致信号を出力す
る一致検出回路と、前記一致信号を記憶する記憶回路部
とを有し、この記憶回路部出力信号で前記テストモード
に移行し前記記憶回路部をリセットして前記テストモー
ドを解除する請求項1または3記載のマイクロコンピュ
ータのテスト回路。
6. The test mode setting unit used in the test mode transition means sets a signal when the output signal of the output buffer is forcibly fixed to a power supply potential and an input signal of the output buffer to a predetermined delay time. The output signal of the delay circuit section that delays by just the comparison signal has a coincidence detection circuit that outputs a coincidence signal if they are equal, and a storage circuit section that stores the coincidence signal. The storage circuit output signal shifts to the test mode. 4. The test circuit for a microcomputer according to claim 1, wherein the memory circuit unit is reset to release the test mode.
【請求項7】 外部からの供給信号を入力バッファが受
けて内部回路に供給しこの内部回路の処理結果を出力バ
ッファから外部へ出力しこれら入力および出力の両機能
を入出力バッファが有するバッファ群と、外部から供給
されるモード設定信号に応答して前記内部回路の状態を
動作モード、リセットモードまたはテストモードのいず
れかに設定するテストモード設定手段とを用いて前記内
部回路および前記バッファ群の所定の電気的特性を確認
するマイクロコンピュータのテスト方法において、 前記出力バッファから前記出力端子にハイレベルが出力
されているときには前記ハイレベル期間中の一部期間だ
けLSIテスタによって前記出力端子が強制的にロウレ
ベルに固定され、前記出力バッファから前記出力端子に
ハイレベルが出力されているときには前記ロウレベル期
間中の一部期間だけ前記LSIテスタによって前記出力
端子が強制的にハイレベルに固定され、この一部期間だ
けロウレベルまたはハイレベルに固定された出力端子の
信号がノイズ除去手段で波形整形され、前記出力バッフ
ァの入力信号が前記ノイズ除去手段の遅延時間に等しい
遅延時間だけ遅延手段により遅延され、この遅延された
出力信号の反転信号と前記ノイズ除去手段の出力信号と
が不一致検出手段で比較され等しくなければ不一致信号
が出力され、前記不一致信号が計数手段で計数され、計
数の結果発生するオーバーフロー信号が記憶手段で記憶
され、この記憶手段の出力信号により前記テストモード
設定手段が前記内部回路をテストモードに移行させ、前
記内部回路から供給される所定の信号により前記記憶手
段および前記計数手段がリセットされて前記テストモー
ド設定手段が前記テストモードを解除することを特徴と
するマイクロコンピュータのテスト方法。
7. A buffer group in which an input buffer receives an externally supplied signal, supplies it to an internal circuit, outputs the processing result of this internal circuit from the output buffer to the outside, and the input / output buffer has both functions of input and output. And a test mode setting means for setting the state of the internal circuit to any one of the operation mode, the reset mode or the test mode in response to a mode setting signal supplied from the outside. In a microcomputer test method for confirming a predetermined electrical characteristic, when a high level is output from the output buffer to the output terminal, the output terminal is forced by the LSI tester for a part of the high level period. Is fixed to low level and high level is output from the output buffer to the output terminal. In the low level period, the output terminal is forcibly fixed to the high level by the LSI tester only for a part of the low level period, and the signal of the output terminal fixed to the low level or the high level for the part period is the noise removing means. The waveform is shaped, the input signal of the output buffer is delayed by the delay means by a delay time equal to the delay time of the noise removal means, and the inversion signal of the delayed output signal and the output signal of the noise removal means are detected to be inconsistent. If they are not equal, a non-coincidence signal is output, the non-coincidence signal is counted by the counting means, an overflow signal generated as a result of the counting is stored in the storage means, and the test mode setting means is output by the output signal of the storage means. The internal circuit is shifted to the test mode, and a predetermined signal supplied from the internal circuit is used. A test method for a microcomputer, wherein the storage means and the counting means are reset and the test mode setting means releases the test mode.
JP7072928A 1995-03-30 1995-03-30 Microcomputer test circuit and test method Expired - Lifetime JP2907055B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7072928A JP2907055B2 (en) 1995-03-30 1995-03-30 Microcomputer test circuit and test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7072928A JP2907055B2 (en) 1995-03-30 1995-03-30 Microcomputer test circuit and test method

Publications (2)

Publication Number Publication Date
JPH08272639A true JPH08272639A (en) 1996-10-18
JP2907055B2 JP2907055B2 (en) 1999-06-21

Family

ID=13503519

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7072928A Expired - Lifetime JP2907055B2 (en) 1995-03-30 1995-03-30 Microcomputer test circuit and test method

Country Status (1)

Country Link
JP (1) JP2907055B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023007975A1 (en) * 2021-07-30 2023-02-02 ローム株式会社 Semiconductor device, vehicle-mounted equipment, and consumer equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58115555A (en) * 1981-12-29 1983-07-09 Matsushita Electric Ind Co Ltd Test input circuit for microcomputer
JPH0353342A (en) * 1989-07-21 1991-03-07 Nec Corp Test mode setting circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58115555A (en) * 1981-12-29 1983-07-09 Matsushita Electric Ind Co Ltd Test input circuit for microcomputer
JPH0353342A (en) * 1989-07-21 1991-03-07 Nec Corp Test mode setting circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023007975A1 (en) * 2021-07-30 2023-02-02 ローム株式会社 Semiconductor device, vehicle-mounted equipment, and consumer equipment

Also Published As

Publication number Publication date
JP2907055B2 (en) 1999-06-21

Similar Documents

Publication Publication Date Title
US7639052B2 (en) Power-on-reset circuitry
EP0336444B1 (en) Semiconductor integrated circuit device having improved input/output interface circuit
EP1525488A1 (en) Electronic circuit with asynchronously operating components
JP4559475B2 (en) Ternary decoder circuit and method
CN101047380B (en) Common input/output terminal control circuit
JP2006332456A (en) Semiconductor device and testing mode setting method
US5479127A (en) Self-resetting bypass control for scan test
US20100109720A1 (en) Semiconductor integrated circuit and control method of the same
US5848075A (en) Test device employing scan path having circuitry at switches between a scan in signal transmitted and previously held at a predetermined clock timing
JPH08272639A (en) Test circuit and test method for microcomputer
US5410247A (en) Circuit device having a test function for checking circuit operation
JP4908056B2 (en) Semiconductor device and test execution method for semiconductor device
JPH09264929A (en) Testing method and testing circuit of logic circuit
US7152195B2 (en) Scan test circuit
US6067647A (en) Method and apparatus for inserting an error signal onto a bidirectional signal line
KR970007263B1 (en) Micro controller test rom
EP1712972A1 (en) Semiconductor device
JP3335968B2 (en) Semiconductor integrated circuit
KR20060053978A (en) Semiconductor integrated circuit
JPH10123212A (en) Semiconductor integrated circuit with test circuit
JP2903999B2 (en) Mode switching system
JP2001159661A (en) Semiconductor integrated circuit
JP3156870B2 (en) Semiconductor integrated circuit device and method for testing electrical characteristics thereof
JPH052054A (en) Test simplification circuit
JP3062117B2 (en) Semiconductor device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990302