Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2907055B2 - Microcomputer test circuit and test method - Google Patents
[go: Go Back, main page]

JP2907055B2 - Microcomputer test circuit and test method - Google Patents

Microcomputer test circuit and test method

Info

Publication number
JP2907055B2
JP2907055B2 JP7072928A JP7292895A JP2907055B2 JP 2907055 B2 JP2907055 B2 JP 2907055B2 JP 7072928 A JP7072928 A JP 7072928A JP 7292895 A JP7292895 A JP 7292895A JP 2907055 B2 JP2907055 B2 JP 2907055B2
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.)
Expired - Lifetime
Application number
JP7072928A
Other languages
Japanese (ja)
Other versions
JPH08272639A (en
Inventor
忠明 椎葉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
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

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

Description

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

【0001】[0001]

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

【0002】[0002]

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

【0003】そのため、例えばマイクロコンピュータを
テストする際にその内部回路をテストモードに移行させ
た状態で内部回路の機能を確認し、かつマイクロコンピ
ュータの外部回路とインタフェースする入出力バッファ
の電気的特性も確認する必要がある。このテストモード
に移行させるためにはその制御信号を外部から供給する
ための入力端子としてのテスト端子と、供給された制御
信号に応答してテストモードに移行させるテストモード
設定部が設けられており、テスト端子は単独に設ける場
合もあるが、前述したように端子を効率よく使用するた
めに、他の入力端子と共用する場合が多い。
For this reason, for example, when testing a microcomputer, the function of the internal circuit is confirmed in a state where the internal circuit is shifted to a test mode, and the electrical characteristics of an input / output buffer that interfaces with an external circuit of the microcomputer are also examined. It is necessary to confirm. To shift to the test mode, there are provided a test terminal as an input terminal for supplying the control signal from the outside, and a test mode setting unit for shifting to the test mode in response to the supplied control signal. The test terminal may be provided independently, but 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 such a conventional test mode setting section is disclosed in Japanese Patent Application Laid-Open No. 62-62060.
FIG. 6 showing a circuit diagram of a test mode setting unit described in the publication.
Referring to FIG. 1, a first series connection circuit of an N-channel depletion MOS transistor D1 and an N-channel depletion MOS transistor D2 inserted between a power supply potential and a ground potential, and an N-channel depletion MOS A transistor D3 and a second series-connected circuit of 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-connected circuit, respectively. Gate electrode is second
Connection point B of the series connection circuit and the test mode output terminal O
In addition to being commonly connected to the UTs, the gate electrode of the transistor D2 is connected to the test terminal IN, and is also supplied to the internal circuit via the signal line test.

【0005】この回路は、通常動作時には入力端子IN
に論理レベルのハイレベル(例えば5V電圧)からロウ
レベル(例えば0V電圧)が供給されている。
This circuit has an input terminal IN during normal operation.
Are supplied from a high level (eg, 5V voltage) to a low level (eg, 0V 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 at the connection point A of the drain becomes low level.

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

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

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

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

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

【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.
Signals of a specific pattern consisting of a plurality of bits for setting a test mode are supplied to a to 300n.

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

【0014】デコード回路301の出力はORゲート
05を経由してタイマ304に供給され、これをリセッ
トしクロックφの計数が開始される。タイマ304はあ
らかじめセットされた時間を計時するとオーバーフロー
出力OVFを発生し、これは処理回路302をリセット
するのでテストモード設定信号306は消滅する。
The output of decode circuit 301 is OR gate 3
The clock signal φ is supplied to the timer 304 via the timer 05 and reset, and the counting of the clock φ is started. When the timer 304 counts 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
をリセットし処理回路302をセット状態にする。
However, before that, the external terminals 300a to 300a
0n, when a test signal is supplied to start the microcomputer test, the decode circuit 301 generates an output obtained by decoding the test signal.
To reset the processing circuit 302 to a set state.

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

【0017】テスト終了後はリセット信号RESETを
ORゲート303、305に供給し、タイマ304およ
び処理回路302をリセットする。
After the test, a reset signal RESET is supplied to the OR gates 303 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,
Unless specific data consisting of multiple bits is input from these multiple terminals, the test mode is not entered.Therefore, there is almost no chance that the test mode will be erroneously entered. If no is entered, the mode 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 (not shown, but naturally arranged) connected to this terminal is that the input signal is a desired signal or has unexpected noise. Regardless of whether they are present, they are all transmitted to the internal circuit.

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

【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 a very important factor. This is a time loss that cannot be ignored in the computer manufacturing process. For example, a process in which the test mode is used until one microcomputer is shipped is usually a process in which wafers are put in, assembled and sorted, before and after high-temperature sorting, and there are incoming sorting and outgoing sorting. The number of selection times times becomes extra loss time.

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

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

【0024】[0024]

【課題を解決するための手段】本発明のマイクロコンピ
ュータのテスト回路の特徴は、複数の出力バッファと、
これらの出力バッファがそれぞれ接続される出力端子
と、外部から供給されるモード設定信号に応答して内部
回路の状態を動作モード、リセットモードまたはテスト
モードのいずれかに設定するテストモード設定部とを含
むマイクロコンピータのテスト回路において、前記テス
トモード設定部は、前記出力バッファが前記出力端子に
対し出力信号供給状態にあるときに、あらかじめ定めた
所定期間だけ前記出力端子のうちの特定の1出力端子を
外部から強制的に電源電位または接地電位のいずれかに
電位固定することによって前記モード設定信号をアクテ
ィブ期間内に挿入された前記出力信号を用い、この出力
信号からオーバーシュートおよびアンダーシュートを除
去し、かつ波形整形して前記モード設定信号のみを全て
抽出する抽出手段と、この抽出手段から出力する前記モ
ード設定信号を計数した結果のオーバーフロー信号によ
り前記電位固定の動作があらかじめ定める所定の回数行
なわれたことを検知してテストモード設定信号を出力す
る検知手段とからなり、さらに、前記テストモード設定
部は、前記出力信号の前記オーバーシュートおよび前記
アンダーシュートと前記1出力端子が強制的に接地電位
または電源電位に固定されたときのノイズとを除去する
ノイズ除去部と、前記出力バッファの入力信号を前記ノ
イズ除去部の遅延時間に等しい遅延時間だけ遅らせ極性
反転して出力する遅延回路部と、この遅延回路部出力信
号と前記ノイズ除去部出力信号とを比較し等しくなけれ
ば不一致信号を出力する不一致検出部と、前記不一致信
号を計数する計数回路部と、計数の結果発生するオーバ
ーフロー信号を記憶する記憶回路部とを備え、この記憶
回路部の出力する前記テストモード設定信号で前記テス
トモードに移行し、前記記憶回路部および前記計数回路
部をそれぞれリセットして前記テストモードを解除す
ことにある。
SUMMARY OF THE INVENTION A test circuit of a microcomputer according to the present invention is characterized by a plurality of output buffers,
An output terminal to which each of these output buffers is connected, and a test mode setting unit for setting the state of the internal circuit to one of an operation mode, a reset mode, and a test mode in response to a mode setting signal supplied from the outside. In the test circuit of the microcomputer including the above, the test mode setting unit, when the output buffer is in an output signal supply state to the output terminal, a specific one of the output terminals for a predetermined period for a predetermined time Externally forcibly fix the potential to either the power supply potential or the ground potential, thereby using the output signal inserted in the active period to remove the overshoot and undershoot from the output signal. And extracting means for shaping the waveform and extracting only the mode setting signal. Ri Do and a detecting means for outputting a test mode setting signal by detecting that the operation of the voltage clamp is performed a predetermined number of times determined in advance by the mode setting signal overflow signal of a result of counting to be output from the extraction means And the test mode setting
The overshoot of the output signal and the
Undershoot and the one output terminal are forcibly grounded
Or noise when fixed to the power supply potential
A noise elimination unit, and an input signal of the output buffer
Polarity delayed by a delay time equal to the delay time of the noise removal unit
A delay circuit for inverting and outputting, and an output signal of the delay circuit;
Signal and the output signal of the noise elimination unit
A mismatch detector that outputs a mismatch signal,
The counting circuit that counts the signal
And a storage circuit for storing the flow signal.
The test is performed by the test mode setting signal output from the circuit unit.
To the storage mode and the counting circuit.
Part reset the respectively in Rukoto to release the test mode.

【0025】[0025]

【0026】[0026]

【0027】[0027]

【0028】[0028]

【0029】[0029]

【0030】本発明のマイクロコンピュータのテスト方
法の特徴は、外部からの供給信号を入力バッファが受け
て内部回路に供給しこの内部回路の処理結果を出力バッ
ファから出力端子を介して外部へ出力しこれら入力およ
び出力の両機能を入出力バッファが有するバッファ群
と、外部から供給されるモード設定信号に応答して前記
内部回路の状態を動作モード、リセットモードまたはテ
ストモードのいずれかに設定するテストモード設定手段
とを用いて前記内部回路および前記バッファ群の所定の
電気的特性を確認するマイクロコンピュータのテスト方
法において、前記出力バッファから前記出力端子のうち
あらかじめ定める特定の1出力端子にハイレベルが出力
されているときにはこの端子が前記ハイレベル期間内の
所定の一部期間だけLSIテスタによって強制的にロウ
レベルに固定され、前記特定の1出力端子にロウレベル
が出力されているときにはこの端子が前記ロウレベル期
内の所定の一部期間だけ前記LSIテスタによって強
制的にハイレベルに固定され、この一部期間だけロウレ
ベルまたはハイレベルに固定された前記1出力端子の信
号がノイズ除去手段でオーバーシュートおよびアンダー
シュートを除去され、かつ波形整形され、前記出力バッ
ファの入力信号が前記ノイズ除去手段の遅延時間に等し
い遅延時間だけ遅延手段により遅延され、この遅延され
た出力信号の反転信号と前記ノイズ除去手段の出力信号
とが不一致検出手段で比較され等しくなければ不一致信
号が出力され、この不一致信号が計数手段で計数され、
計数の結果発生するオーバーフロー信号が記憶手段で記
憶され、この記憶手段の出力信号により前記テストモー
ド設定手段が前記内部回路をテストモードに移行させ、
前記内部回路から供給される所定の信号により前記記憶
手段および前記計数手段がリセットされて前記テストモ
ード設定手段が前記テストモードを解除することにあ
る。
A feature of the microcomputer test method of the present invention is that the input buffer receives a signal supplied from the outside and supplies it to the internal circuit, and outputs the processing result of the internal circuit from the output buffer to the outside via the output terminal. A buffer group having both input and output functions of an input / output buffer, and a test for setting the state of the internal circuit to one of an operation mode, a reset mode and 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 by using a mode setting means, the output buffer is connected to the output terminal .
When a high level is output to a predetermined specific output terminal, this terminal is set to a high level during the high level period .
Predetermined partial period is fixed to a low level so forced by the LSI tester, the this pin when the low level <br/> to a particular one output terminal being output portion of a predetermined in the low level period period only secured to said strong <br/> system into a high level by the LSI tester, overshoot and undershoot signal of the first output terminal which is fixed to a low level or high level only this part period with the noise removing means
The shoot is removed and the waveform is shaped , and the input signal of the output buffer is delayed by the delay means for a delay time equal to the delay time of the noise removal means. An inverted signal of the delayed output signal and the noise removal means The output signal is compared by the mismatch detecting means, and if not equal, a mismatch signal is output, and the mismatch signal is counted by the counting means,
An overflow signal generated as a result of the counting is stored in a storage unit, and the test mode setting unit shifts the internal circuit to a test mode by an output signal of the storage unit,
The storage means and the counting means are reset by a predetermined signal supplied from the internal circuit, and the test mode setting means cancels the test mode.

【0031】[0031]

【実施例】前述した従来のマイクロコンピュータのテス
ト回路およびテスト方法に対して、本発明は通常の動作
時においては出力端子としてのみ用いられる1つの端子
が、LSIテスタを用いた電気的特性試験においてテス
トモードを設定する端子として用いるという相違点を有
するものである。
In contrast to the above-described conventional microcomputer test circuit and test method, 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 the terminal is used as a terminal for setting a 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. 5 is a timing chart for use.

【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 output buffer 1 is forcibly applied to power supply potential VD.
D or a noise removing unit 2 for removing noise when fixed to the ground potential GND; a delay element 3 for delaying the input signal of the output buffer 1 by a delay time equal to the delay time of the noise removing unit 2; An inverter 4 that outputs a signal, a mismatch detector 5 that compares two input signals and outputs a mismatch signal if they are not equal, a counting circuit unit 6 of an up counter having a clear function, for example, that counts the mismatch signals, A memory circuit section 7 of a latch having a reset function, a terminal 8 is connected to an input terminal of the input buffer 1, and the input terminal of the mismatch detecting section 5 is 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 is connected to the other input terminal of the mismatch detection unit 5.

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

【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 removing section 2 used here is a known circuit. Referring to FIG. 1B, the configuration is such that a terminal I is connected to a delay element 201, an AND gate 202 and a NOR gate 203. , The other input terminal of the AND gate 202 and the NOR gate 203 has a delay element 2
01 is connected. An output terminal of the AND gate 202 is connected to a NOR gate 204 of a flip-flop including NOR gates 204 and 205, and a NOR gate 203.
Are connected to a NOR gate 205 as set and reset lines, respectively.
04 is connected to a terminal O via an 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 a 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 further driven to overrun. The waveform includes a shoot and an undershoot (FIG. 2B).

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

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

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

【0041】したがって、不一致検出部5インバータ
4およびノイズ検出部2の信号を比較し、不一致期間の
ハイレベル信号を発生し(図2(リ))、計数回路部6
の入力信号として供給る。
Therefore, the mismatch detector 5 compares the signals of the inverter 4 and the noise detector 2 to generate a high-level signal during the mismatch period (FIG. 2 (R)).
It supplies as the input signal.

【0042】上述した不一致検出部5の両入力の信号の
遅延を等しくするのは、例えば、図2(ト)および
(チ)における信号の遅延時間が異なり、立ち上りのタ
イミングが互にXnsecの位相差があったと仮定する
と、不一致検出部5においては、図2(ト)および
(チ)の波形の最初の立ち上りと最後の立ち下りの部分
で、それぞれXnsecずつの不一致点が検出される。
したがって不一致点が両端部と中心部の3個所に発生
し、本来ならば1個であるべき不一致信号が3個発生し
たことになり、この3個のパルスが計数回路部6で計数
されてしまうことになり不都合が生じる。すなわち不一
致検出部5の両入力の信号の位相がずれていては、ノイ
ズ除去部2で波形整形したことが無意味になるからであ
る。
The reason why the delays of the signals of both inputs of the above-mentioned mismatch detecting unit 5 are made equal is, for example, that the delay times of the signals in FIGS. 2 (g) and 2 (h) are different, and the rising timings are mutually in the order of Xnsec. Assuming that there is a phase difference, the mismatch detection unit 5 detects a mismatch point of Xnsec at each of the first rising edge and the last falling edge of the waveforms in FIGS.
Therefore, a mismatch point occurs at three places at both ends and a center part, and three mismatch signals, which should be originally one, have been generated. The 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 detecting section 5 are shifted, the waveform shaping by the noise removing section 2 becomes meaningless.

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

【0044】ここまでの動作が計数回路部6において
ーバーフローが発生するまで繰り返し実行される。すな
わちLSIテスタにより出力端子9が繰り返し接地電位
GNDに短絡される。
The above operation is repeatedly executed until an overflow occurs in the counting circuit section 6 . That is, the output terminal 9 is repeatedly short-circuited to the ground potential GND by the LSI tester.

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

【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 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 performed by LS
Performed by an I tester. If the external terminal 9 is forcibly short-circuited to the ground potential GND while outputting a high level, a DC current flows to the output buffer 1. In general, in an LSI tester, a resistance element or a reverse current protection is provided between the external terminal and the ground potential GND. Inserting a clamping diode for the
The output buffer 1 is not damaged.

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

【0050】すなわち、この第2の実施例の回路は、入
力バッファ1の入力端に端子8が接続されるとともに、
遅延素子3を介して一致検出部12の一方の入力端にも
接続される。出力バッファ1の出力端は出力端子9およ
び一致検出部12の他方の入力端に接続される。
That is, in the circuit of the second embodiment, while the terminal 8 is connected to the input terminal of the input buffer 1,
It is also connected to one input terminal of the coincidence detecting section 12 via the delay element 3. The output terminal of the output buffer 1 is connected to the output terminal 9 and the other input terminal of the coincidence detecting 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
The output terminal Q of the storage circuit unit 7 is connected to the terminal 10 as a test test mode setting circuit output, and the reset terminal C of the storage circuit unit 7 is connected to a test mode release signal line at the terminal 11. And a configuration connected from

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

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

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

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

【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 two comparators 19 and 20. These signals are output level VOH / VOL of the output buffer pre-programmed in the comparator.
And the values of the high level and the low level are determined.

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

【0058】また、直流特性測定時は、DC測定回路1
7からセンス(Sense)22とフォース(Forc
)21がDUT24に接続される。ForceはDU
T24へ所定の測定用電圧を供給する回路であり、Se
nseはDUT24の出力を受けてその電圧値を測定す
る回路である。
When measuring the DC characteristics, the DC measurement circuit 1
7 from the sense (Sense) 22 and the force (Forc
e ) 21 is connected to DUT 24. Force is DU
A circuit for supplying a predetermined measuring 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 measurement 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に供
給するために、マルチプレクサ23にDC測定回路17
を選択させるべく供給されるマルチプレクサ制御信号2
5の波形、図5(a(ニ))は、選択的に0Vが出力端
子9に供給された結果DUT24から実際に出力される
波形、図5(a(ホ))は、DUT24から実際に出力
される波形のハイレベルを測定するために、マルチプレ
クサ23にコンパレータ制御回路16を選択させるべく
供給されるマルチプレクサ制御信号25の波形である。
このマルチプレクサ制御信号はおのおのハイレベルの時
にDUT24とコンパレータ19、20、またはDC測
定回路17のいずれかとが接続される。
FIG. 5 (a) showing a timing chart for explaining the test method when the output buffer has a high-level output.
5A shows waveforms expected to be supplied from the DUT 24 to the comparators 19 and 29 during normal operation, and FIG. 5A shows waveforms in the present embodiment. FIG. 5 (a (c)) shows a waveform indicating that 0 V has been set in advance to 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 and enter the test mode. DC measurement circuit 17
Is connected to the multiplexer 23 to supply a preset 0 V to the output terminal 9.
Control signal 2 supplied to select
5 (a) is a waveform actually output from the DUT 24 as a result of selectively supplying 0V to the output terminal 9, and FIG. 5 (a (e)) is a waveform actually output from the DUT 24. It is a waveform of a multiplexer control signal 25 supplied to cause the multiplexer 23 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 and one of the comparators 19 and 20 or the DC measurement circuit 17 are connected.

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

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

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

【0064】一方、図(ニ)においてDUT24が、ハ
イレベルを出力している期間中に、マルチプレクサ制御
信号(ホ)がロウレベルを出力することによってコンパ
レータ19,20との接続を切り離す。
On the other hand, while the DUT 24 is outputting a high level in FIG. 4D, 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に供給するために、マルチプレクサ23にDC
測定回路17を選択させるべく供給されるマルチプレク
サ制御信号25の波形、図5(b(ニ))は、選択的に
+5Vが出力端子9に供給された結果DUT24から実
際に出力される波形、図5(b(ホ))は、DUT24
から実際に出力される波形のロウレベルを測定するため
に、マルチプレクサ23にコンパレータ制御回路16を
選択させるべく供給されるマルチプレクサ制御信号25
の波形である。
FIG. 5 is a timing chart for explaining a test method when the output buffer outputs a low level signal.
Referring to FIG. 5B, FIG. 5B shows a waveform expected to be supplied from the DUT 24 to the comparators 19 and 29 during normal operation.
In the present embodiment, in order to forcibly supply a high level to the output terminal 9 of the output buffer and enter the test mode,
FIG. 5B shows a waveform indicating that +5 V has been set in advance to the DC measurement circuit 17 of the LSI tester. FIG. 5B shows a waveform for connecting the DC measurement circuit 17 and supplying the preset +5 V to the output terminal 9. , Multiplexer 23
The waveform of the multiplexer control signal 25 supplied to select the measurement circuit 17, FIG. 5B 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 the DUT 24
A multiplexer control signal 25 supplied to cause the multiplexer 23 to select the comparator control circuit 16 in order to measure the low level of the waveform actually output from
It is a waveform of.

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

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

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

【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, the present invention provides a waveform shaping circuit for removing noise when an output signal of an output buffer is forcibly fixed to a power supply potential or a ground potential, and a waveform shaping circuit for converting an input signal of an output buffer into a waveform. 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;
A mismatch detection circuit <br/> for outputting a mismatch signal when Kere equal kuna by comparing the delay circuit output signal and the waveform shaping circuit output signal, a counting circuit for counting a mismatch signal, the overflow of the results generated count A storage circuit for storing a signal,
In the test mode transition method, when the output of the output buffer is at the 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 at the low level, Is forcibly fixed to the power supply potential for a predetermined period in the low-level period, and the fact that the fixing operation has been performed a predetermined number of times is detected and stored. As a test mode setting input terminal, one terminal used only as an output terminal during normal operation and its output buffer are used, so that a plurality of input terminals for identifying unnecessary signals and a terminal for entering the test mode are provided. It is possible to provide a microcomputer which does not require a plurality of control data and these identification circuits and has a reduced manufacturing cost.

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

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

【図1】(a)は本発明の第1の実施例を示す回路図で
ある。(b)は図1(a)で使用されるノイズ除去部の
回路図である。
FIG. 1A is a circuit diagram showing a first embodiment of the present invention. FIG. 2B is a circuit diagram of a 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 an output buffer outputs a high level; (B) A timing chart for explaining a test method when the output buffer outputs a low level.

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

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

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

1 出力バッファ 2 ノイズ除去部 3,201 遅延素子 4,206 インバータ 5 不一致検出回路 6 計数回路部(クリア機能付アップカウンタ) 7 記憶回路部(リセット端子付ラッチ)8 端 子(内部信号入力) 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 removing unit 3,201 delay element 4,206 inverter 5 inconsistency detecting circuit 6 counting circuit section (up counter with clear function) 7 memory circuit portion (latch with reset terminal) 8 pin (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 mode MOS transistor IN test terminal UT test mode output 300a~300n external terminal 301 decode circuit 302 processing circuit 303, 305 OR gates 304 timer

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の出力バッファと、これらの出力バ
ッファがそれぞれ接続される出力端子と、外部から供給
されるモード設定信号に応答して内部回路の状態を動作
モード、リセットモードまたはテストモードのいずれか
に設定するテストモード設定部とを含むマイクロコンピ
ータのテスト回路において、前記テストモード設定部
は、前記出力バッファが前記出力端子に対し出力信号供
給状態にあるときに、あらかじめ定めた所定期間だけ前
記出力端子のうちの特定の1出力端子を外部から強制的
に電源電位または接地電位のいずれかに電位固定するこ
とによって前記モード設定信号をアクティブ期間内に挿
入された前記出力信号を用い、この出力信号からオーバ
ーシュートおよびアンダーシュートを除去し、かつ波形
整形して前記モード設定信号のみを全て抽出する抽出手
段と、この抽出手段から出力する前記モード設定信号を
計数した結果のオーバーフロー信号により前記電位固定
の動作があらかじめ定める所定の回数行なわれたことを
検知してテストモード設定信号を出力する検知手段とか
らなり、さらに、前記テストモード設定部は、前記出力
信号の前記オーバーシュートおよび前記アンダーシュー
トと前記1出力端子が強制的に接地電位または電源電位
に固定されたときのノイズとを除去するノイズ除去部
と、前記出力バッファの入力信号を前記ノイズ除去部の
遅延時間に等しい遅延時間だけ遅らせ極性反転して出力
する遅延回路部と、この遅延回路部出力信号と前記ノイ
ズ除去部出力信号とを比較し等しくなければ不一致信号
を出力する不一致検出部と、前記不一致信号を計数する
計数回路部と、計数の結果発生するオーバーフロー信号
を記憶する記憶回路部とを備え、この記憶回路部の出力
する前記テストモード設定信号で前記テストモードに移
行し、前記記憶回路部および前記計数回路部をそれぞれ
リセットして前記テストモードを解除することを特徴と
するマイクロコンピュータのテスト回路。
A plurality of output buffers; an output terminal connected to each of the output buffers; and a state of an internal circuit in an operation mode, a reset mode, or a test mode in response to a mode setting signal supplied from the outside. A test mode setting unit for setting any one of the test mode setting unit, the test mode setting unit, when the output buffer is in an output signal supply state to the output terminal, only a predetermined period of time A mode setting signal is inserted into an active period by forcibly fixing a specific one of the output terminals to one of a power supply potential and a ground potential from the outside. Remove the overshoot and undershoot from the output signal and shape the waveform to set the mode. An extraction means for extracting only the constant signal, and an overflow signal as a result of counting the mode setting signal output from the extraction means, to detect that the potential fixing operation has been performed a predetermined number of times, and to set a test mode. Ri Do and a detecting means for outputting a set signal, and further, the test mode setting unit, the output
The overshoot and the undershoot of a signal
And the one output terminal are forcibly connected to ground potential or power supply potential.
Noise removal unit that removes noise when fixed to
And the input signal of the output buffer
Delay by the delay time equal to the delay time and invert the polarity and output
A delay circuit section, an output signal of the delay circuit section and the noise
Compare with the output signal of the noise elimination unit.
And a mismatch detector that outputs
Counting circuit section and overflow signal generated as a result of counting
And a storage circuit unit for storing the output of the storage circuit unit.
To the test mode with the test mode setting signal
And the storage circuit unit and the counting circuit unit are respectively
Reset to the microcomputer of the test circuit, characterized that you cancel the test mode.
【請求項2】 外部からの供給信号を入力バッファが受
けて内部回路に供給しこの内部回路の処理結果を出力バ
ッファから出力端子を介して外部へ出力しこれら入力お
よび出力の両機能を入出力バッファが有するバッファ群
と、外部から供給されるモード設定信号に応答して前記
内部回路の状態を動作モード、リセットモードまたはテ
ストモードのいずれかに設定するテストモード設定手段
とを用いて前記内部回路および前記バッファ群の所定の
電気的特性を確認するマイクロコンピュータのテスト方
法において、前記出力バッファから前記出力端子のうち
あらかじめ定める特定の1出力端子にハイレベルが出力
されているときにはこの端子が前記ハイレベル期間内の
所定の一部期間だけLSIテスタによって強制的にロウ
レベルに固定され、前記特定の1出力端子にロウレベル
が出力されているときにはこの端子が前記ロウレベル期
間内の所定の一部期間だけ前記LSIテスタによって強
制的にハイレベルに固定され、この一部期間だけロウレ
ベルまたはハイレベルに固定された前記1出力端子の信
号がノイズ除去手段でオーバーシュートおよびアンダー
シュートを除去され、かつ波形整形され、前記出力バッ
ファの入力信号が前記ノイズ除去手段の遅延時間に等し
い遅延時間だけ遅延手段により遅延され、この遅延され
た出力信号の反転信号と前記ノイズ除去手段の出力信号
とが不一致検出手段で比較され等しくなければ不一致信
号が出力され、この不一致信号が計数手段で計数され、
計数の結果発生するオーバーフロー信号が記憶手段で記
憶され、この記憶手段の出力信号により前記テストモー
ド設定手段が前記内部回路をテストモードに移行させ、
前記内部回路から供給される所定の信号により前記記憶
手段および前記計数手段がリセットされて前記テストモ
ード設定手段が前記テストモードを解除することを特徴
とするマイクロコンピュータのテスト方法。
2. An input buffer receives an external supply signal and supplies it to an internal circuit, and outputs a processing result of the internal circuit from an output buffer to an external through an output terminal to input / output both the input and output functions. A buffer group of the buffer and a test mode setting means for setting a state of the internal circuit to one of an operation mode, a reset mode and a test mode in response to a mode setting signal supplied from the outside; And a microcomputer test method for confirming predetermined electrical characteristics of the buffer group, wherein when a high level is output from the output buffer to one predetermined output terminal among the output terminals, this terminal is set to the high level. Forcibly fixed to the low level by the LSI tester only for a predetermined part of the level period, When a low level is being output to the specific one output terminal, this terminal is forcibly fixed to the high level by the LSI tester only for a predetermined part of the low level period, and the low level or the high level is fixed for this part of the period. The signal at the one output terminal fixed to the above-mentioned circuit is subjected to noise removal means to remove overshoots and undershoots and waveform-shaped, and the input signal of the output buffer is delayed by a delay time equal to the delay time of the noise removal means. The inverted signal of the delayed output signal is compared with the output signal of the noise elimination means 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,
An overflow signal generated as a result of the counting is stored in a storage unit, and the test mode setting unit shifts the internal circuit to a test mode by an output signal of the storage unit,
A microcomputer test method, wherein the storage means and the counting means are reset by a predetermined signal supplied from the internal circuit, and the test mode setting means cancels 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 JPH08272639A (en) 1996-10-18
JP2907055B2 true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2023007975A1 (en) * 2021-07-30 2023-02-02

Family Cites Families (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 Microcomputer test input circuit
JP2655435B2 (en) * 1989-07-21 1997-09-17 日本電気株式会社 Test mode setting circuit

Also Published As

Publication number Publication date
JPH08272639A (en) 1996-10-18

Similar Documents

Publication Publication Date Title
US8754680B2 (en) Power-on-reset circuitry
EP0336444B1 (en) Semiconductor integrated circuit device having improved input/output interface circuit
WO2004001433A1 (en) Electronic circuit with asynchronously operating components
US5754070A (en) Metastableproof flip-flop
JPH0365662A (en) Unstable data recognizing circuit
US11307251B1 (en) Circuit and testing circuit thereof
US5479127A (en) Self-resetting bypass control for scan test
JP2907055B2 (en) Microcomputer test circuit and test method
EP0595748A1 (en) Power up detection circuits
JP2906073B2 (en) LSI including DC test circuit
US7152195B2 (en) Scan test circuit
JPH05143211A (en) Input interface circuit
US6067647A (en) Method and apparatus for inserting an error signal onto a bidirectional signal line
JP2885122B2 (en) Semiconductor integrated circuit device and test method
EP1712972A1 (en) Semiconductor device
EP0190427A1 (en) Random logic error detecting system for differential logic networks
KR970007263B1 (en) Diagnostic ROM Test Mode Enable Circuit for Microcontroller
US12276706B2 (en) Multiple stage fuse circuitry for counting failure events
JP2003347912A (en) Power supply noise detection circuit
KR0181166B1 (en) Circuit for detecting the status of interface unit
JP2903999B2 (en) Mode switching system
JP2002267726A (en) Method and apparatus for determining signal level
JP3012526B2 (en) Control signal holding circuit
CN118937951A (en) A high reliability test vector reading circuit and method for chip DFT
JPH052054A (en) Test simplification circuit

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