JPH07174829A - Semiconductor integrated circuit - Google Patents

Semiconductor integrated circuit

Info

Publication number
JPH07174829A
JPH07174829A JP5319891A JP31989193A JPH07174829A JP H07174829 A JPH07174829 A JP H07174829A JP 5319891 A JP5319891 A JP 5319891A JP 31989193 A JP31989193 A JP 31989193A JP H07174829 A JPH07174829 A JP H07174829A
Authority
JP
Japan
Prior art keywords
test
potential
terminal
mode
input
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
JP5319891A
Other languages
Japanese (ja)
Other versions
JP2976786B2 (en
Inventor
Junsuke Ino
淳介 井野
Hiroshi Kajinuma
寛 梶沼
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP5319891A priority Critical patent/JP2976786B2/en
Publication of JPH07174829A publication Critical patent/JPH07174829A/en
Application granted granted Critical
Publication of JP2976786B2 publication Critical patent/JP2976786B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To provide a semiconductor integrated circuit for which a plurality of test mode settings are made possible by one terminal for testing. CONSTITUTION:A semiconductor integrated circuit is provided with a test terminal 1, dividing resistors R1-R3 to generate first voltage VA and second voltage VB lower than VA, a first comparator 6 to compare the input of the test terminal 1 and the voltage VA, a second comparator 7 to compare the input of the test terminal 1 and the voltage VB, a counter 3 which counts the output signal of the first comparator 6 and is reset by the output of the second comparator 7, and a decoder 4 which decodes the output obtained by counting the output of the first comparator 6 by the counter 3 and sends out a test mode signal based on the results of the decoding as an output to a following circuit. In the case the input of the test terminal 1 is less than the voltage VB, the circuit is driven in a normal operation mode and in the case the input is VB or higher, the circuit is driven in a test mode, so that switching of the test mode and the normal operation mode and selecting test modes can be done by using only one test terminal 1.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、試験機能を備えた半
導体集積回路において、試験用の端子を削減する技術に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for reducing test terminals in a semiconductor integrated circuit having a test function.

【0002】[0002]

【従来の技術】従来の試験機能を備えた半導体集積回路
としては、例えば図3に示すようなものがある。これ
は、試験用の信号を入力する試験端子1と、テストモー
ドと通常動作モードとを切り換えるための切換信号を入
力する切換端子2とを備え、切換端子2の電圧レベルを
「H」とした場合にテストモードに、「L」とした場合
に通常動作モード(カウンタ・リセットモード)に設定
されるものである。そしてテストモード設定時、すなわ
ち切換端子が「H」の場合にのみ試験端子1から入力さ
れるクロックをカウンタ3がカウントし、さらにデコー
ダ4がこれを解読してその結果を後続回路に出力するこ
とにより、複数のテストモードの設定を可能にしてい
る。また、通常動作モード設定時、すなわち切換端子2
が「L」の場合に、もし切換端子2にノイズが重畳され
た場合には、そのノイズによって一時的にテストモード
になってしまうが、単発的なノイズであれば切換端子2
の電圧は直ぐにGNDレベルまで戻るため、カウンタ3
はリセットされるので、元の通常動作モードに戻ること
ができる、という機能を有している。
2. Description of the Related Art A conventional semiconductor integrated circuit having a test function is shown in FIG. This is provided with a test terminal 1 for inputting a test signal and a switching terminal 2 for inputting a switching signal for switching between a test mode and a normal operation mode, and the voltage level of the switching terminal 2 is set to "H". In this case, the test mode is set, and when set to "L", the normal operation mode (counter reset mode) is set. The counter 3 counts the clock input from the test terminal 1 only when the test mode is set, that is, when the switching terminal is "H", and the decoder 4 decodes the clock and outputs the result to the subsequent circuit. This makes it possible to set multiple test modes. When the normal operation mode is set, that is, the switching terminal 2
Is "L", if noise is superimposed on the switching terminal 2, the noise causes the test mode to be temporarily entered.
Since the voltage of will return to the GND level immediately, the counter 3
Has a function of returning to the original normal operation mode since it is reset.

【0003】[0003]

【発明が解決しようとする課題】上記のごとき従来の半
導体集積回路においては、試験用の端子として試験端子
1と切換端子2の最低2つの端子が必要であったため、
半導体集積回路のパッケージが大型になるという問題が
ある。例えば、DIPパッケージで考えた場合、端子が
1ピン多いために、48ピン対応のパッケージを用いる
ことができず、ワンサイズ大きな64ピン対応のパッケ
ージを採用しなければならないという事態も生じること
がある。このような場合には、実装面積だけでも2倍以
上になってしまう。近年、集積回路へ取り込む機能が増
大すると共にその入出力回路(I/O)数が多くなり、
それに伴ってパッケージサイズも大型化している。した
がって集積回路の単価や基板への実装面積等を考慮した
場合、出来る限り小さいサイズのパッケージとすること
が非常に重要となる。
In the conventional semiconductor integrated circuit as described above, at least two terminals, that is, the test terminal 1 and the switching terminal 2 are required as terminals for testing.
There is a problem that the package of the semiconductor integrated circuit becomes large. For example, when considering a DIP package, the number of terminals is one pin, so a package corresponding to 48 pins cannot be used, and a package corresponding to 64 pins corresponding to one size larger may be required. . In such a case, the mounting area alone is more than doubled. In recent years, the number of input / output circuits (I / O) has increased with the increase in the functions to be incorporated into integrated circuits.
Along with that, the package size is also increasing. Therefore, considering the unit price of the integrated circuit, the mounting area on the substrate, and the like, it is very important to make the package as small as possible.

【0004】本発明は、上記のごとき従来技術の問題を
解決するためになされたものであり、1つの試験用端子
で複数のテストモード設定を可能にした半導体集積回路
を提供することを目的とする。
The present invention has been made to solve the problems of the prior art as described above, and an object thereof is to provide a semiconductor integrated circuit capable of setting a plurality of test modes with one test terminal. To do.

【0005】[0005]

【課題を解決するための手段】上記の目的を達成するた
め、本発明においては、試験用の信号を入力する試験端
子と、第1の電位とそれより小の第2の電位とを発生す
る電圧発生手段と、上記試験端子からの入力と上記電圧
発生手段の第1の電位とを比較して比較結果に応じた信
号を出力する第1の比較手段と、上記試験端子からの入
力と上記第2の電位とを比較して比較結果に応じた信号
を出力する第2の比較手段と、上記第1の比較手段の出
力信号を計数し、上記第2の比較手段の出力信号でリセ
ットされる計数手段と、上記第1の比較手段の出力信号
を計数した上記計数手段の出力を解読し、その解読した
結果に基づいたテストモード信号を後続回路に出力する
解読手段と、を備え、上記試験端子の入力が上記第2の
電位未満の場合には通常動作モード、第2の電位以上の
場合にはテストモードとして動作するように構成してい
る。なお、上記試験端子は、例えば、後記図1の実施例
における試験端子1に相当し、同じく、電圧発生手段は
分割抵抗R1〜R3に、上記第1の比較手段は第1の比較
器6に、上記第2の比較手段は第2の比較器7に、上記
計数手段はカウンタ3に、上記解読手段はデコーダ4
に、それぞれ相当する。
To achieve the above object, in the present invention, a test terminal for inputting a test signal, a first potential and a second potential smaller than that are generated. Voltage generating means, first comparing means for comparing the input from the test terminal with the first potential of the voltage generating means and outputting a signal according to the comparison result, input from the test terminal and the above The output signals of the first comparing means and the second comparing means for comparing the second potential with each other and outputting a signal according to the comparison result are counted and reset by the output signal of the second comparing means. Counting means for decoding the output signal of the first comparing means, and decoding means for decoding the output of the counting means and outputting a test mode signal based on the decoded result to the subsequent circuit. When the input of the test terminal is less than the above second potential Normal operation mode, in the case of more than the second potential is configured to operate as a test mode. The test terminal corresponds to, for example, the test terminal 1 in the embodiment shown in FIG. 1, which will be described later. Similarly, the voltage generating means is the dividing resistors R 1 to R 3 , and the first comparing means is the first comparator. 6, the second comparing means is the second comparator 7, the counting means is the counter 3, and the decoding means is the decoder 4.
, Respectively.

【0006】[0006]

【作用】テストモードと通常動作モードとの切り換え
は、試験端子の入力信号と第2の電位との比較によって
行なわれる。すなわち、入力信号が第2の電位未満の場
合には、計数手段がリセットされるので、通常動作モー
ドとなり、入力信号が第2の電位以上の場合には、計数
手段が試験端子の入力信号(第1の比較手段の出力)を
カウントし、その値を解読手段が解読することにより、
複数のテストモードを判別することが出来る。したがっ
て試験端子に与える入力信号を、第2の電位未満の低レ
ベル(例えばGNDレベル)にするか、あるいは第2の
電位以上(電源電位以下)の信号レベルにするかによっ
てテストモードと通常動作モードとを切り換えることが
出来、またテストモードの選択は入力信号と第1の電位
との比較結果による信号を計数し、かつそれを解読する
ことによって行なうことが出来る。そのため、試験用の
端子としては、試験端子1個を用いるだけで、テストモ
ードと通常動作モードとの切り換えおよびテストモード
の選択を行なうことが出来る。
The switching between the test mode and the normal operation mode is performed by comparing the input signal of the test terminal with the second potential. That is, when the input signal is lower than the second potential, the counting means is reset, so that the normal operation mode is set. When the input signal is equal to or higher than the second potential, the counting means outputs the input signal ( The output of the first comparison means) is counted and the value is decoded by the decoding means,
Multiple test modes can be identified. Therefore, the test mode and the normal operation mode are selected depending on whether the input signal applied to the test terminal is a low level (eg, GND level) lower than the second potential or a signal level higher than the second potential (power source potential or lower). And the test mode can be selected by counting and decoding the signal resulting from the comparison between the input signal and the first potential. Therefore, it is possible to switch between the test mode and the normal operation mode and select the test mode by using only one test terminal as a test terminal.

【0007】[0007]

【実施例】以下、本発明を図面に基づいて説明する。図
1は、本発明の一実施例を示す回路図である。まず構成
を説明すると、1は通常動作モードとテストモードとの
切り換えおよびテストモードの内容を設定するための信
号を入力する試験端子、3は試験端子1からのクロック
信号をカウントし、そのパルス数に応じた値を出力する
カウンタ、4はカウンタ3の出力を解読し、それに応じ
たテストモード設定信号を出力するデコーダ、R1〜R3
は第1の電圧レベルVAと第2の電圧レベルVBとを発生
させるための分割抵抗、6は第1の電圧レベルVAと入
力信号とを比較する第1の比較器、7は第2の電圧レベ
ルVBと入力信号とを比較する第2の比較器である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. FIG. 1 is a circuit diagram showing an embodiment of the present invention. First, the configuration will be described. 1 is a test terminal for inputting a signal for switching between the normal operation mode and the test mode and a signal for setting the contents of the test mode, 3 is a clock signal from the test terminal 1, and the number of pulses thereof is counted. , A decoder for decoding the output of the counter 3 and outputting a test mode setting signal corresponding thereto, R 1 to R 3
Is a dividing resistor for generating the first voltage level V A and the second voltage level V B , 6 is a first comparator for comparing the first voltage level V A with the input signal, and 7 is a It is a second comparator that compares the voltage level V B of 2 and the input signal.

【0008】次に、図2に示す動作波形図に基づいて作
用を説明する。試験端子1からの入力電圧VINは第1の
比較器6および第2の比較器7で、それぞれ第1の電圧
レベルVAおよび第2の電圧レベルVBと比較される。そ
してVIN≦VBの場合は第2の比較器7からリセット信
号が出力されてカウンタ3がリセットされ、通常動作モ
ードとなる。また、VB<VINの場合は、入力電圧VIN
(クロック信号)に応じた出力が第1の比較器6から送
出され、それがカウンタ3で計数される。したがってテ
ストモードと通常動作モードとの切り換えは次の条件で
行なわれる。 VB≦VIN≦VCC:テストモード GND≦VIN<VB:通常動作モード ただし、第1の電圧レベルVA=VCC×(R2+R3)/(R
1+R2+R3) 第2の電圧レベルVB=VCC×R3/(R1+R2+R3) 上記のように、試験端子1の電圧をGNDに固定する
か、或いはVB以上の信号を入力するかにより、切換端
子を用いることなしにテストモードと通常動作モードと
を切り換えることが可能となる。
Next, the operation will be described based on the operation waveform diagram shown in FIG. The input voltage V IN from the test terminal 1 is compared in the first comparator 6 and the second comparator 7 with the first voltage level V A and the second voltage level V B , respectively. When V IN ≦ V B, the reset signal is output from the second comparator 7 to reset the counter 3, and the normal operation mode is set. When V B <V IN , the input voltage V IN
An output according to the (clock signal) is sent from the first comparator 6, and the counter 3 counts it. Therefore, switching between the test mode and the normal operation mode is performed under the following conditions. V B ≦ V IN ≦ V CC : Test mode GND ≦ V IN <V B : Normal operation mode However, the first voltage level V A = V CC × (R 2 + R 3 ) / (R
1 + R 2 + R 3 ) Second voltage level V B = V CC × R 3 / (R 1 + R 2 + R 3 ) As described above, the voltage of the test terminal 1 is fixed to GND or is higher than V B. Depending on whether a signal is input, the test mode and the normal operation mode can be switched without using the switching terminal.

【0009】また、テストモード設定時のモード選択
は、図2に示すようなVB<V0<VAなるオフセットV0
と(VA−VB)<AM<VCC−VBなる振幅AMを持った
信号を試験端子1に入力することにより、複数のモード
の設定が可能となる。すなわち、試験端子1からの入力
信号に応じた第1の比較器6の出力をカウンタ3でカウ
ントし、その結果をデコーダ4が解読することにより、
単一の入力信号で複数のテストモードの設定が可能であ
る。例えば、図2の場合には、カウント数“1”の場合
はテストモード1、カウント数“2”の場合はテストモ
ード2、カウント数“3”の場合はテストモード3とな
る場合を示している。
Further, the mode selection at the time of setting the test mode is performed by offset V 0 such that V B <V 0 <V A as shown in FIG.
And by (V A -V B) <entering the A M <V CC -V B composed signal having an amplitude A M the test terminal 1, it is possible to set a plurality of modes. That is, the counter 3 counts the output of the first comparator 6 according to the input signal from the test terminal 1, and the decoder 4 decodes the result,
Multiple test modes can be set with a single input signal. For example, in the case of FIG. 2, the case where the count number is “1” is the test mode 1, the case where the count number is “2” is the test mode 2, and the case where the count number is “3” is the test mode 3 is shown. There is.

【0010】また、通常動作モード時、すなわちVIN
GND固定の時に、ノイズが印加された場合には、図2
に示すように、ノイズを検知して一時的にはテストモー
ドになってしまうが、単発的なノイズであれば端子電圧
が直ぐにGNDレベルまで戻るため、カウンタがリセッ
トされ、元の通常動作モードに戻ることが出来る。した
がってノイズ印加時の動作においても、従来例と同じ機
能を一つの試験端子のみで実現できることになる。
In the normal operation mode, that is, V IN =
When noise is applied when GND is fixed,
As shown in, the noise is detected and the test mode is temporarily entered, but if the noise is one-shot, the terminal voltage immediately returns to the GND level, so the counter is reset and the original normal operation mode is restored. You can go back. Therefore, even in the operation when noise is applied, the same function as the conventional example can be realized by only one test terminal.

【0011】[0011]

【発明の効果】以上説明したように、この発明によれ
ば、1つの試験用端子で複数のテストモード設定を可能
にすることが出来るので、必要なピン数を従来よりも削
減することが出来、それによってパッケージサイズを小
型化することが出来る、という効果が得られる。
As described above, according to the present invention, since it is possible to set a plurality of test modes with one test terminal, it is possible to reduce the required number of pins as compared with the prior art. Therefore, the effect that the package size can be reduced can be obtained.

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

【図1】本発明の一実施例の回路図。FIG. 1 is a circuit diagram of an embodiment of the present invention.

【図2】図1の実施例においてテストモードと通常動作
モードとの切り換えおよびテストモードの選択を行うた
めの入力電圧を示す電圧波形図。
2 is a voltage waveform diagram showing an input voltage for switching between a test mode and a normal operation mode and selecting a test mode in the embodiment of FIG.

【図3】従来の半導体集積回路におけるテストモード設
定方法を示す回路図。
FIG. 3 is a circuit diagram showing a test mode setting method in a conventional semiconductor integrated circuit.

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

1…テストモード設定用の信号を入力する試験端子 2…テストモードと通常動作モードを切り換える信号を
入力する切換端子 3…試験端子からの信号をカウントし、そのパルス数に
応じた出力を行うカウンタ 4…カウンタからの出力を解読してテストモード設定信
号を出力するデコーダ 6…第1の電圧レベルVAと入力信号とを比較する第1
の比較器 7…第2の電圧レベルVBと入力信号とを比較する第2
の比較器 R1〜R3…第1の電圧レベルVAおよび第2の電圧レベ
ルVBをつくる分割抵抗
1 ... Test terminal for inputting signal for setting test mode 2 ... Switching terminal for inputting signal for switching test mode and normal operation mode 3 ... Counter for counting signals from test terminal and outputting according to the number of pulses 4 Decoder for decoding output from counter and outputting test mode setting signal 6 ... First for comparing first voltage level V A with input signal
Comparator 7 ... Second for comparing second voltage level V B with input signal
Of the comparators R 1 to R 3 ... Dividing resistors for producing the first voltage level V A and the second voltage level V B

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】試験用の信号を入力する試験端子と、 第1の電位とそれより小の第2の電位とを発生する電圧
発生手段と、 上記試験端子からの入力と上記電圧発生手段の第1の電
位とを比較して比較結果に応じた信号を出力する第1の
比較手段と、 上記試験端子からの入力と上記第2の電位とを比較して
比較結果に応じた信号を出力する第2の比較手段と、 上記第1の比較手段の出力信号を計数し、上記第2の比
較手段の出力信号でリセットされる計数手段と、 上記第1の比較手段の出力信号を計数した上記計数手段
の出力を解読し、その解読した結果に基づいたテストモ
ード信号を後続回路に出力する解読手段と、 を備え、上記試験端子の入力が上記第2の電位未満の場
合には通常動作モード、第2の電位以上の場合にはテス
トモードとして動作するように構成したことを特徴とす
る半導体集積回路。
1. A test terminal for inputting a test signal, a voltage generating means for generating a first potential and a second potential smaller than the first potential, an input from the test terminal and the voltage generating means. First comparing means for comparing the first potential and outputting a signal according to the comparison result, and comparing the input from the test terminal with the second potential for outputting a signal according to the comparison result. The output signal of the second comparison means and the output signal of the first comparison means are counted, and the counting means reset by the output signal of the second comparison means and the output signal of the first comparison means are counted. Decoding means for decoding the output of the counting means and outputting a test mode signal based on the decoded result to a subsequent circuit, and when the input of the test terminal is less than the second potential, normal operation is performed. Mode, test mode when the potential is above the second potential The semiconductor integrated circuit characterized by being configured to operate Te.
JP5319891A 1993-12-20 1993-12-20 Semiconductor integrated circuit Expired - Lifetime JP2976786B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5319891A JP2976786B2 (en) 1993-12-20 1993-12-20 Semiconductor integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5319891A JP2976786B2 (en) 1993-12-20 1993-12-20 Semiconductor integrated circuit

Publications (2)

Publication Number Publication Date
JPH07174829A true JPH07174829A (en) 1995-07-14
JP2976786B2 JP2976786B2 (en) 1999-11-10

Family

ID=18115391

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5319891A Expired - Lifetime JP2976786B2 (en) 1993-12-20 1993-12-20 Semiconductor integrated circuit

Country Status (1)

Country Link
JP (1) JP2976786B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007258294A (en) * 2006-03-22 2007-10-04 Fuji Electric Device Technology Co Ltd Semiconductor integrated circuit
US20120131402A1 (en) * 2010-11-24 2012-05-24 Masakazu Sugiura Test mode setting circuit
JP2012108101A (en) * 2010-10-20 2012-06-07 Asahi Kasei Electronics Co Ltd Test circuit, serial i/f circuit and semiconductor device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007258294A (en) * 2006-03-22 2007-10-04 Fuji Electric Device Technology Co Ltd Semiconductor integrated circuit
JP2012108101A (en) * 2010-10-20 2012-06-07 Asahi Kasei Electronics Co Ltd Test circuit, serial i/f circuit and semiconductor device
US20120131402A1 (en) * 2010-11-24 2012-05-24 Masakazu Sugiura Test mode setting circuit
CN102478627A (en) * 2010-11-24 2012-05-30 精工电子有限公司 Test mode setting circuit

Also Published As

Publication number Publication date
JP2976786B2 (en) 1999-11-10

Similar Documents

Publication Publication Date Title
US5825219A (en) Fast edge rate signal driver
JP3636232B2 (en) Integrated circuit capable of selecting function and method for selecting function
JPH07174829A (en) Semiconductor integrated circuit
US5086441A (en) Frequency divider circuit
JPH10145218A (en) Input buffer circuit
JPH038126B2 (en)
JP3116706B2 (en) Trigger input circuit
JPH04347922A (en) Clamping circuit
EP0168230B1 (en) Unitary multiplexer decoder circuit
JPH0735786A (en) Voltage reduction detector
US8058895B1 (en) Single-resistor static programming circuits and methods
JP2710486B2 (en) Integrated circuit
JP2557703B2 (en) Mode setting circuit
JP2624215B2 (en) Option board identification device
JPH05291957A (en) One-chip comparator with comparison reference changeover switch
JP2768014B2 (en) Three voltage output circuit
JPS6342747Y2 (en)
JPH04258776A (en) Test circuit for semiconductor integrated circuit
JP2000066781A (en) Transmission line terminating equipment
JPH02190984A (en) Microcomputer device
JPH0766035B2 (en) Semiconductor integrated circuit
JPH05324865A (en) Microcomputer
JPH04319814A (en) Pulse circuit
JPH02223999A (en) Sound generation driving circuit
JPS6372217A (en) Control signal generating circuit