JP3105808B2 - Semiconductor device and mode setting method for semiconductor device - Google Patents

Semiconductor device and mode setting method for semiconductor device

Info

Publication number
JP3105808B2
JP3105808B2 JP09011073A JP1107397A JP3105808B2 JP 3105808 B2 JP3105808 B2 JP 3105808B2 JP 09011073 A JP09011073 A JP 09011073A JP 1107397 A JP1107397 A JP 1107397A JP 3105808 B2 JP3105808 B2 JP 3105808B2
Authority
JP
Japan
Prior art keywords
power supply
circuit
mode
mode setting
semiconductor device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP09011073A
Other languages
Japanese (ja)
Other versions
JPH10206509A (en
Inventor
裕二 関根
Original Assignee
日本電気アイシーマイコンシステム株式会社
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 日本電気アイシーマイコンシステム株式会社 filed Critical 日本電気アイシーマイコンシステム株式会社
Priority to JP09011073A priority Critical patent/JP3105808B2/en
Publication of JPH10206509A publication Critical patent/JPH10206509A/en
Application granted granted Critical
Publication of JP3105808B2 publication Critical patent/JP3105808B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Semiconductor Integrated Circuits (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は半導体装置のモード
切り換え回路およびモード切り換え方法に係わり、特に
テストモードの設定のための外部端子が不要な切り換え
回路およびモード切り換え方法に関する。
The present invention relates to a mode switching circuit and a mode switching method for a semiconductor device, and more particularly to a switching circuit and a mode switching method which do not require an external terminal for setting a test mode.

【0002】[0002]

【従来の技術】この種の従来のモード切り換え回路にお
いて、専用の外部端子を用いて通常動作とテストモード
を切り換える一例を示した図4を参照すると、この回路
は、テスト端子TESTを備え、この端子からバッファ
41を介して入力するテスト信号に応答して入力端子I
Nに供給される信号を、バッファ44を介して出力端
出力するモード切り換え回路2bを複数個内蔵し、通
常動作時にはこれらのモード切り換え回路2bの出力す
る信号が供給され、処理結果の信号をモード切り換え回
路2bに戻して出力端子OUTから出力する内部論理回
路3とからなる。モード切り換え回路2bは、テスト信
号を入力するインバータ25とその出力およびバッファ
42の出力信号を入力するAND26と、バッファ42
の出力およびバッファ41の出力信号を入力しその論理
積結果を内部論理回路3へ出力するAND27と、これ
らのAND26および内部論理回路3の出力を選択的に
出力端子OUTに出力するセレクタ回路部28とからな
る。
2. Description of the Related Art Referring to FIG. 4, which shows an example of a conventional mode switching circuit of this type in which a dedicated external terminal is used to switch between a normal operation and a test mode, the circuit includes a test terminal TEST. In response to a test signal input from the terminal via the buffer 41, the input terminal I
The signal supplied to N, the output pin via a buffer 44
A plurality internal mode switching circuit 2b to be output to, during normal operation is supplied signal output of these mode switching circuit 2b, the internal and outputs a signal processing result from an output terminal OUT is returned to the mode switching circuit 2b logic And a circuit 3. The mode switching circuit 2b includes an inverter 25 for inputting a test signal, its output and a buffer.
AND 26 for receiving an output signal of the buffer 42 and a buffer 42
Logic of the output and input an output signal of the buffer 41 perilla
And AND27 for outputting the product result to the internal logic circuit 3 and a selector circuit 28 for outputting the output of these AND26 and Internal logic circuit 3 to selectively output terminal OUT.

【0003】上述したテストモード切り換え回路は、通
常動作時には、テスト端子TESTに論理レベルのハイ
レベル(以下、“1”と称す)が供給されることによっ
て、モード切り換え回路2bのAND26は入力端子I
Nの論理値に係わらず一義的にロウレベル(以下、
“0”と称す)となり、AND27は“1”を内部論理
回路3に供給し、内部論理回路3内部における所定の信
号処理結果の出力をモード切り換え回路2bのセレクタ
回路部28に出力する。セレクタ回路部28はAND2
6の出力が“0”であるから内部論理回路の出力を選択
し、出力端子OUTに出力させることによって通常動作
をさせている。
In the test mode switching circuit described above, during a normal operation, a high level (hereinafter, referred to as "1") of a logic level is supplied to a test terminal TEST, so that an AND 26 of the mode switching circuit 2b is connected to an input terminal I.
Irrespective of the logical value of N,
The AND 27 supplies "1" to the internal logic circuit 3, and outputs an output of a predetermined signal processing result inside the internal logic circuit 3 to the selector circuit unit 28 of the mode switching circuit 2b. The selector circuit 28 is AND2
6 is "0", the output of the internal logic circuit is selected and output to the output terminal OUT for normal operation.

【0004】テストモード動作時は、テスト端子TES
Tに“0”を供給することでモード切り換え回路2bの
AND27の方が入力端子INの論理値に係わらず一義
的に“0”となり、AND26は“1”をセレクタ回路
部28に出力するので、セレクタ回路部28はAND2
6の出力の“1”を選択し、出力端子OUTに出力させ
ることによってテスト動作をさせている。つまり、外部
から専用端子に入力される信号により内部の動作モード
を切り換えている。
In a test mode operation, a test terminal TES
By supplying "0" to T, the AND 27 of the mode switching circuit 2b becomes uniquely "0" regardless of the logical value of the input terminal IN, and the AND 26 outputs "1" to the selector circuit unit 28. , The selector circuit 28 is AND2
The test operation is performed by selecting "1" of the output of No. 6 and outputting it to the output terminal OUT. That is, the internal operation mode is switched by a signal input from the outside to the dedicated terminal.

【0005】一方、近年の半導体装置の大規模化および
多機能化により、外部端子の増加が著しくなってきてた
ため、外部端子の削減が急務になってきている。このニ
ーズに応えるべく専用の外部端子を用いずにモード切り
換えを実現する例が、特開昭63−10538号公報に
記載されている。
On the other hand, the number of external terminals has been increasing remarkably due to the recent increase in the scale and the number of functions of semiconductor devices, and thus the reduction of external terminals has become urgent. An example of realizing mode switching without using a dedicated external terminal to meet this need is described in Japanese Patent Application Laid-Open No. 63-10538.

【0006】同公報記載の、モード切り換え用制御端子
を他の端子と共用する例の回路図を示した図5を参照す
ると、このモード切り換え回路は、制御端子INから信
号が供給される入力バッファ51と、この入力バッファ
51の出力がそれぞれ供給されるレベル判定回路52お
よび55と、レベル判定回路55の出力とレベル判定回
路52の出力をインバータ53を介した出力とをそれぞ
れ入力するAND54と、このAND54の出力を入力
して計数するカウンタ56とからなる。
Referring to FIG. 5 which shows a circuit diagram of an example in which a mode switching control terminal is shared with other terminals, the mode switching circuit comprises an input buffer to which a signal is supplied from a control terminal IN. 51, level determining circuits 52 and 55 to which the output of the input buffer 51 is supplied, and an AND 54 for receiving the output of the level determining circuit 55 and the output of the level determining circuit 52 via the inverter 53, respectively. It comprises a counter 56 for inputting and counting the output of the AND 54.

【0007】さらに図5の動作説明用のタイミングチャ
ートを示した図6およびこのタイミングチャートの波形
鈍化を考慮して示した図7を併せてそれぞれ参照する
と、このモード切り換え回路は、例えば制御端子INに
入力信号として通常動作時には“1”の信号が、テスト
動作時にはレベル判定回路部52の判定レベルとなるV
THレベルとレベル判定回路部55の判定レベルとなる
VTLレベルとの中間レベルの信号がそれぞれ供給され
るものとする。このとき、レベル判定回路52がVTH
レベルおよび電源電位VDD間を論理値“1”と認識す
る領域V1、レベル判定回路55がVTLレベルおよび
電源電位VDD間を論理値“1”と認識する領域V2、
レベル判定回路52がVTHレベルと接地電位GND間
を論理値“0”と認識する領域V3、レベル判定回路5
5がVTLレベルと接地電位GND間を論理値“0”と
認識する領域V4とする(図6,7の制御端子INの入力
波形)。
Further, referring to FIG. 6 showing a timing chart for explaining the operation of FIG. 5 and FIG. 7 showing the timing chart in consideration of waveform blunting, respectively, the mode switching circuit includes, for example, a control terminal IN. Is a signal of “1” as an input signal during normal operation, and V as a determination level of the level determination circuit unit 52 during test operation.
It is assumed that a signal of an intermediate level between the TH level and the VTL level serving as the determination level of the level determination circuit unit 55 is supplied. At this time, the level judgment circuit 52
A region V1 for recognizing a logical value "1" between the level and the power supply potential VDD, a region V2 for recognizing a logical value "1" between the VTL level and the power supply potential VDD by the level determination circuit 55,
A region V3 in which the level determination circuit 52 recognizes a logical value "0" between the VTH level and the ground potential GND;
5 is a region V4 for recognizing a logical value “0” between the VTL level and the ground potential GND (input waveform of the control terminal IN in FIGS. 6 and 7).

【0008】ここではまず図6を参照して正常に動作す
る場合について説明する(図7を用いた異常動作につい
ては後述する)。通常動作時には、制御端子INに上述
した“1”の信号としてVDDレベルが、“0”の信号
としてGNDレベルが供給されることにより、レベル判
定回路部52は判定レベルVTHよりも高いVDDレベ
ルに応答して入力信号と同じVDDレベルを出力する
(図6のレベル判定回路52の出力波形)。
Here, a normal operation will be described first with reference to FIG. 6 (abnormal operation using FIG. 7 will be described later). At the time of normal operation, the VDD level is supplied to the control terminal IN as the above-mentioned “1” signal and the GND level is supplied as the “0” signal, so that the level determination circuit unit 52 is set to the VDD level higher than the determination level VTH. In response, the same VDD level as the input signal is output (the output waveform of the level determination circuit 52 in FIG. 6).

【0009】次段のインバータ53は、この波形が論理
“1”と認識する領域内にあるので、インバータ53か
らはその反転レベルの“0”が出力される(図6のイン
バータ53の出力波形)。レベル判定回路55もVDD
レベルがその判定レベルVTHよりも高いので入力信号
と同じVDDレベルが出力される(図6のレベル判定回
55の出力波形)。
The inverter 53 at the next stage outputs the inverted level of "0" from the inverter 53 since this waveform is within the area where the waveform is recognized as logic "1" (the output waveform of the inverter 53 in FIG. 6). ). The level judgment circuit 55 is also VDD.
Since the level is higher than the determination level VTH, the same VDD level as the input signal is output (the output waveform of the level determination circuit 55 in FIG. 6).

【0010】したがって、インバータ53およびレベル
判定回路55の出力信号がそれぞれ相反する極性になる
ので、これらの信号を入力するAND54の出力はGN
レベルになる(図6のAND54の出力波形)。
Therefore, the output signals of the inverter 53 and the level determination circuit 55 have opposite polarities, and the output of the AND 54 receiving these signals is GN.
D level (output waveform of AND 54 in FIG. 6).

【0011】テストモード動作時には、制御端子INに
上述した中間レベルの信号が供給されるので、レベル判
定回路部52は判定レベルVTHよりも低い中間レベル
に応答してGNDレベルを出力し(図6のレベル判定回
路部52の出力)、インバータ53からはその反転され
た“1”が出力される(図6のインバータ53の出
力)。
In the test mode operation, the above-mentioned intermediate level signal is supplied to the control terminal IN, so that the level judgment circuit 52 outputs the GND level in response to the intermediate level lower than the judgment level VTH (FIG. 6). Of the level determination circuit unit 52), and the inverted “1” is output from the inverter 53 (the output of the inverter 53 in FIG. 6).

【0012】レベル判定回路55は中間レベルがその判
定レベルVTLよりも高いのでVDDレベルを出力する
(図6のレベル判定回路55の出力回路)。
The level judgment circuit 55 outputs the VDD level because the intermediate level is higher than the judgment level VTL (the output circuit of the level judgment circuit 55 in FIG. 6).

【0013】したがって、インバータ53およびレベル
判定回路55の出力信号がそれぞれVDDレベルになる
ので、これらの信号を入力するAND54の出力はVD
Dレベルになる(図6のAND54の出力波形)。
Therefore, the output signals of inverter 53 and level determination circuit 55 attain the VDD level, and the output of AND 54 receiving these signals is at VDD level.
D level (output waveform of AND 54 in FIG. 6).

【0014】すなわち、外部から制御端子に供給される
信号の電位によって、内部の動作モードを切り換えるこ
とができる。
That is, the internal operation mode can be switched according to the potential of the signal supplied to the control terminal from the outside.

【0015】さらに、信号入力端子およびモード切り換
え用の制御端子を共用する他の従来例が特開平7−12
902号公報に記載されている。同公報記載のモード切
り換え回路の回路図を示した図8(a)およびその動作
説明用のタイミングチャートを示した図8(b)をそれ
ぞれ参照すると、この回路は、電源電位VDD2および
電源電位VDD1の間に負荷抵抗803およびNチャネ
ル型MOSトランジスタ801が直列接続され、この直
列接続点からモード設定検出信号を取り出す。
Another conventional example in which a signal input terminal and a control terminal for mode switching are shared is disclosed in Japanese Patent Laid-Open No. 7-12.
No. 902. Referring to FIG. 8A which shows a circuit diagram of the mode switching circuit described in the publication and FIG. 8B which shows a timing chart for explaining the operation thereof, this circuit includes a power supply potential VDD2 and a power supply potential VDD1. , A load resistor 803 and an N-channel MOS transistor 801 are connected in series, and a mode setting detection signal is extracted from this series connection point.

【0016】Nチャネル型MOSトランジスタ801の
ゲート電極に制御端子INからモード設定信号が供給さ
れ、この信号は内部論理回路へも供給されるように構成
される。
A mode setting signal is supplied from the control terminal IN to the gate electrode of the N-channel MOS transistor 801, and this signal is also supplied to the internal logic circuit.

【0017】通常動作状態における入力信号の“0”は
GNDレベルで、”1”はVDD1電位、テスト時のモ
ード設定信号の“0”はGND電位で、“1”はVDD
3電位、半導体装置80の駆動電源をVDD2電位、N
チャネル型MOSトランジスタ801のソース電極側の
電位はVDD1電位以上とする。
In a normal operation state, "0" of the input signal is at the GND level, "1" is the VDD1 potential, "0" of the mode setting signal at the time of the test is the GND potential, and "1" is VDD.
3 potentials, the drive power supply of the semiconductor device 80 is VDD2 potential, N
The potential on the source electrode side of the channel type MOS transistor 801 is set to VDD1 potential or higher.

【0018】通常動作時は、制御端子INに通常信号の
レベルであるGND電位またはVDD1電位が供給され
ても、モード設定検出信号804にはNチャネル型MO
Sトランジスタ801のソース電極がVDD1電位以上
であるから非導通状態にあるため、VDD1電位にNチ
ャネル型MOSトランジスタ801のしきい値電位であ
るVDD1電位以上の電位を加算したVDD2電位が出
力される。
In normal operation, even if the GND potential or the VDD1 potential, which is the level of the normal signal, is supplied to the control terminal IN, the mode setting detection signal 804 indicates the N-channel type MO.
Since the source electrode of the S transistor 801 is at or above the VDD1 potential, it is in a non-conductive state, so that a VDD2 potential obtained by adding a potential at or above VDD1 which is the threshold potential of the N-channel MOS transistor 801 to the VDD1 potential is output. .

【0019】テストモード動作時は、制御端子INにモ
ード設定信号の“1”であるVDD3電位が供給され
て、Nチャネル型MOSトランジスタ801を導通状態
にし、モード設定検出信号804にVDD1電位が出力
される。
At the time of the test mode operation, the potential VDD3 which is the mode setting signal “1” is supplied to the control terminal IN to make the N-channel MOS transistor 801 conductive, and the potential VDD1 is output as the mode setting detection signal 804. Is done.

【0020】すなわち、外部から制御端子INに供給さ
れた信号の電位によって内部の動作モードを切り換える
構成になっている。また、VDD2電位が単一電源で生
成される場合は、半導体装置80内で昇圧回路を用いて
実現させている。
That is, the internal operation mode is switched according to the potential of the signal supplied from the outside to the control terminal IN. In the case where the VDD2 potential is generated by a single power supply, this is realized by using a booster circuit in the semiconductor device 80.

【0021】[0021]

【発明が解決しようとする課題】上述したように、特開
平7−12902号公報記載の従来のモード切り換え回
路は、半導体装置の大規模化に反してパッケージは極力
大きくならないように設計しているため、外部端子の配
置可能な数はそれほど増加していない。その結果、テス
トモード専用の端子を設けてしまうと、通常動作で使用
される外部端子の配置可能な本数が減るため、内部論理
回路の機能を縮小せざるを得ない。
As described above, the conventional mode switching circuit described in Japanese Patent Application Laid-Open No. Hei 7-12902 is designed so that the package does not become as large as possible despite the increase in the size of the semiconductor device. Therefore, the number of external terminals that can be arranged has not increased so much. As a result, if a dedicated terminal for the test mode is provided, the number of external terminals used in normal operation can be reduced, and the function of the internal logic circuit must be reduced.

【0022】したがって、テストモードを実現する場合
には専用の外部端子が必要となり、端子数が増加するこ
とで所望の回路が実現できなくなるという欠点がある。
Therefore, when the test mode is realized, a dedicated external terminal is required, and there is a disadvantage that a desired circuit cannot be realized due to an increase in the number of terminals.

【0023】さらに、CMOS回路で構成される半導体
装置では、定常状態で電源電流が発生しないという特徴
がある。この特徴を利用して、電源電流が流れるか否か
を測定するIDDQテストにより、製造時に発生する不
良の検出を行なっているが、昇圧回路によって定常状態
で一定の電源電流が発生すると、このIDDQテストが
適用出来なくなり、半導体装置の信頼性を低下させると
いう欠点がある。
Further, a semiconductor device constituted by a CMOS circuit is characterized in that no power supply current is generated in a steady state. Utilizing this feature, a defect occurring during manufacturing is detected by an IDDQ test for measuring whether or not a power supply current flows. However, when a constant power supply current is generated in a steady state by a booster circuit, this IDDQ There is a disadvantage that the test cannot be applied and the reliability of the semiconductor device is reduced.

【0024】一方、特開昭63−10538号公報記載
の従来のモード切り換え回路は、図7のタイミングチャ
ートに示したように、実際の制御端子INに供給される
入力信号波形は、ある時間幅を有して電源電位VDD電
位から接地電位GND電位、あるいは接地電位GNDか
ら電源電位VDDに変化するため、AND回路54の出
力にスパイク波形が発生する。
On the other hand, in the conventional mode switching circuit disclosed in Japanese Patent Application Laid-Open No. 63-10538, the actual input signal waveform supplied to the control terminal IN has a certain time width as shown in the timing chart of FIG. And changes from the power supply potential VDD to the ground potential GND, or from the ground potential GND to the power supply potential VDD, so that a spike waveform is generated at the output of the AND circuit 54.

【0025】すなわち、図6で前述したように、電位変
化の時間幅が短い理想的な入力信号であれば、通常動作
時におけるAND54は制御端子INの“1”に対して
“0”を出力するが、制御端子INの“1”がタイミン
グt1〜t7の時間幅を有する場合は、レベル判定回路
52の出力は、その論理値“1”認識領域V5になるタ
イミングt6までずれ込み、さらにインバータ53の出
力はタイミングt7でその入力を認識して“0”を出力
する。
That is, as described above with reference to FIG. 6, if the input signal is an ideal input signal having a short time width of potential change, the AND 54 outputs “0” in response to “1” of the control terminal IN during normal operation. However, when “1” of the control terminal IN has the time width of the timings t1 to t7, the output of the level determination circuit 52 shifts to the timing t6 when the logic value “1” becomes the recognition area V5, and further, the inverter 53 At timing t7, it recognizes the input and outputs "0".

【0026】一方レベル判定回路54はタイミングt2
で制御端子INの“1”を認識し“1”を出力する。そ
の結果、AND55はタイミングt3でインバータ53
の出力がまだ変化していない“1”とレベル判定回路5
4の変化後の出力“1”とを演算し、“1”のスパイク
パルスを発生してしまう。
On the other hand, the level judgment circuit 54 operates at the timing t2.
Recognizes "1" of the control terminal IN and outputs "1". As a result, the AND 55 becomes the inverter 53 at the timing t3.
"1" whose output has not changed yet and the level judgment circuit 5
The output “1” after the change of “4” is calculated, and a spike pulse of “1” is generated.

【0027】制御端子INの“1”から“0”への遷移
時タイミングt8〜t14においても同様に時間幅の関
係からタイミングt11においてAND55が“1”を
認識し“1”のスパイクパルスを発生する。したがっ
て、通常動作状態時に制御端子に“1”のVDD電位、
“0”のGND電位を供給すると、モード切り換え回路
の設定が誤設定され、所望の動作を実現できない場合が
あるという欠点がある。
Similarly, at timings t8 to t14 when the control terminal IN transitions from "1" to "0", the AND55 recognizes "1" at the timing t11 and generates a spike pulse of "1" at timing t11 due to the time width. I do. Therefore, in the normal operation state, the VDD potential of “1” is applied to the control terminal,
When the GND potential of “0” is supplied, there is a disadvantage that the setting of the mode switching circuit is erroneously set, and a desired operation may not be realized.

【0028】また、上述したいずれの従来例において
も、通常動作時に使用する入力端子には、常にモード切
り換え回路によって付加容量が付加されるので、モード
切り換え用の制御端子は通常の入力端子およびモード切
り換え用の制御端子を共有すると、通常動作時に動作速
度が遅くなるという欠点もある。
In any of the above-described conventional examples, an additional capacitance is always added to the input terminal used during normal operation by the mode switching circuit. When the control terminals for switching are shared, there is also a disadvantage that the operation speed is reduced during normal operation.

【0029】本発明の目的は、上述の欠点に鑑みなされ
たものであり、通常動作とテストモード動作を切り換え
るための専用の外部端子を設けることなく、かつ、通常
の入力端子および専用の制御端子を共用することなく、
電源電位VDDを変動させることによってテストモード
に移行させることができる通常の入力端子を有するモー
ド切り換え回路および切り換え方法を提供することにあ
る。
SUMMARY OF THE INVENTION An object of the present invention has been made in view of the above-mentioned drawbacks, without providing a dedicated external terminal for switching between a normal operation and a test mode operation, and providing a normal input terminal and a dedicated control terminal. Without sharing
It is an object of the present invention to provide a mode switching circuit and a switching method having a normal input terminal that can shift to a test mode by changing a power supply potential VDD.

【0030】[0030]

【課題を解決するための手段】本発明のモード切り換え
回路の特徴は、テストモードまたは通常動作モードに切
り換えるために外部から供給されるモード設定信号に応
答してテストモード設定信号を生成し内部論理回路へ出
力するモード切り換え回路を備えた半導体装置におい
て、この半導体装置の外部から供給される第1の電源
と、レベルシフト素子と、このレベルシフト素子により
前記第1の電源が所定の電圧に降圧されて前記半導体装
置内の前記モード切り換え回路および前記内部論理回路
へ内部電源として供給される第2の電源と、前記第1の
電源を所定時間瞬間的にオフして接地電位にしたときに
少なくとも前記所定時間の間前記第2の電源の電位を前
記所定の電圧に維持する電位保持容量素子とを備え、前
記第1の電源を外部からオンオフしたときの電位変化を
前記モード設定信号とすることにある。
A feature of the mode switching circuit of the present invention is that a test mode setting signal is generated in response to a mode setting signal supplied from the outside to switch to a test mode or a normal operation mode, and an internal logic circuit is generated. In a semiconductor device provided with a mode switching circuit for outputting to a circuit, a first power supply supplied from outside the semiconductor device, a level shift element, and the level shift element lowers the first power supply to a predetermined voltage. A second power supply which is supplied as an internal power supply to the mode switching circuit and the internal logic circuit in the semiconductor device, and the first power supply is momentarily turned off for a predetermined time to reach a ground potential. And a potential holding capacitance element that maintains the potential of the second power supply at the predetermined voltage for at least the predetermined time when the first power supply is disconnected. The potential change when the on-off from one to said mode setting signal.

【0031】[0031]

【0032】また、前記モード切り換え回路は、前記第
1の電源に入力端が接続される第1のインバータと、こ
の第1のインバータに縦続接続された第2のインバータ
と、この第2のインバータの出力を計数するとともにそ
れぞれのビット出力を前記テストモード設定信号として
前記内部論理回路に出力する複数ビットのバイナリカウ
ンタからなるモード設定回路部とから構成される。
The mode switching circuit includes a first inverter having an input terminal connected to the first power supply, a second inverter cascaded to the first inverter, and a second inverter connected to the first inverter. And a mode setting circuit section comprising a multi-bit binary counter which outputs each bit output to the internal logic circuit as the test mode setting signal.

【0033】さらに、前記バイナリカウンタは、n(n
は2以上の整数)ビット構成からなりそのビット出力
の全ビットが論理レベルのロウレベルのとき通常動作モ
ード設定に、それ以外の前記ビット出力を最大で2n
−1種類のテストモード設定にそれぞれ適用するテスト
モード設定信号として、前記内部論理回路に出力するこ
ともできる。
[0033] In addition, the binary counter, n (n
Consists of 2 or more integer) bits, the bit output
Normal operation mode when all bits of
The other bit output is set to a maximum of 2 n
-1 test applied to each test mode setting
It can be output to the internal logic circuit as a mode setting signal .

【0034】本発明の半導体装置のモード切り換え方法
の特徴は、テストモードまたは通常動作モードに切り換
えるために外部から供給されるモード設定信号に応答し
てテストモード設定信号を生成し内部論理回路へ出力す
るモード切り換え回路を備えた半導体装置のモード設定
方法において、前記半導体装置の外部から供給される第
1の電源と、レベルシフト素子と、このレベルシフト素
子により前記第1の電源が所定の電圧に降圧されて前記
半導体装置内の前記モード切り換え回路および前記内部
論理回路へ内部電源として供給される第2の電源と、前
記第1の電源を所定時間瞬間的にオフして接地電位にし
たときに少なくとも前記所定時間の間前記第2の電源の
電位を前記所定の電圧に維持する電位保持容量素子と、
前記第1の電源に入力端が接続される第1のインバータ
とこの第1のインバータに縦続接続された第2のインバ
ータとこの第2のインバータの出力を計数するとともに
それぞれのビット出力を前記テストモード設定信号とし
て前記内部論理回路に出力する複数ビットのバイナリカ
ウンタからなるモード設定回路部とから構成される前記
モード切り換え回路とを用い、前記第1の電源を外部
からオンオフ操作し、このオンオフ操作の第1回目で
記バイナリカウンタ全ビット論理レベルのロウレベ
にし、そのロウレベルの出力値で前記内部論理回路を
前記通常動作モードに移行させ、第2回目以降の前記オ
ンオフ操作に応じて変化する前記バイナリカウンタの出
力値ごとに前記内部論理回路を最大で2n −1種類の
前記テストモードに順次移行させることにある。
The mode switching method of the semiconductor device according to the present invention is characterized in that a test mode setting signal is generated in response to a mode setting signal supplied from the outside to switch to a test mode or a normal operation mode and output to an internal logic circuit. A first power supply supplied from outside the semiconductor device, a level shift element, and the first power supply is set to a predetermined voltage by the level shift element. The mode switching circuit in the semiconductor device which is stepped down and the internal
A second power supply supplied as an internal power supply to the logic circuit , and when the first power supply is instantaneously turned off to a ground potential for a predetermined time, the potential of the second power supply is changed at least for the predetermined time. A potential holding capacitance element for maintaining a predetermined voltage,
A first inverter having an input connected to the first power supply
Each multi-bit binary counter which outputs a bit output to the internal logic circuit as said test mode setting signal with counts the output of the second inverter a second inverter Toko cascaded to the first inverter of Toko said mode switching circuit composed of a consisting mode setting circuit unit from, have for wo, said first power supply and turning on and off from the outside, the first time before <br/> SL binary counter this off operation all bits in the low logic level, the internal logic circuit in the output value of the low level is shifted to the normal operation mode, each output value of the binary counter that changes according to the on-off operation of the second and subsequent The purpose is to sequentially shift the internal logic circuits to at most 2 n -1 types of test modes.

【0035】[0035]

【発明の実施の形態】まず、本発明の第1の実施の形態
について図面を参照しながら説明する。図1は本発明の
モード切り換え回路およびその周辺回路を示した一実施
の形態のブロック図である。図1を参照すると、この半
導体装置は、第1の電源電位(以下、VDD1と称す)
の変化を入力し、テストモード設定信号として生成する
モード切り換え回路2aと、このモード切り換え回路2
aから出力されるテストモード設定信号が供給される内
部論理回路3とを備え、VDD1の電位にアノード電極
を接続するダイオード素子1のカソード電極の電位を第
2の電源電位(以下、VDD2と称す)とし、このVD
D2およびGNDの間にモード切り換え回路2aと内部
論理回路3と容量素子21とが接続される。この容量素
子21は、VDD1を例えば3.3Vの電位にしてオン
した後、VDD1を接地電位にしてオフしたとき、例え
ば2.8VのVDD2電位をその容量値により決る時間
の間維持する役割りを持っている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS First, a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of an embodiment showing a mode switching circuit of the present invention and its peripheral circuits. Referring to FIG. 1, this semiconductor device has a first power supply potential (hereinafter referred to as VDD1).
Enter the change of the mode switching circuit 2a for generating a test mode setting signal, the mode switching circuit 2
and an internal logic circuit 3 to which a test mode setting signal output from a is supplied. The potential of the cathode electrode of the diode element 1 that connects the anode electrode to the potential of VDD1 is referred to as a second power supply potential (hereinafter referred to as VDD2). ) And this VD
The mode switching circuit 2a, the internal logic circuit 3, and the capacitor 21 are connected between D2 and GND. This capacitive element 21 is turned on by setting VDD1 to a potential of, for example, 3.3 V.
After that, when VDD1 is set to the ground potential and turned off, it has a role of maintaining, for example, a 2.8V VDD2 potential for a time determined by the capacitance value.

【0036】モード切り換え回路2aは、VDD2とG
NDの間にPチャネル型MOSトランジスタP1および
Nチャネル型MOSトランジスタN1からなるインバー
タ回路22とPチャネル型MOSトランジスタP2およ
びNチャネル型MOSトランジスタN2からなるインバ
ータ回路23とモード設定回路部24とが互いに並列状
態で接続され、インバータ回路22の入力端はVDD1
に接続され、その出力端はインバータ回路23の入力端
に、インバータ回路23の出力端はモード設定回路部2
4の入力端にそれぞれ接続されて構成され、モード設定
回路部24の出力端は内部論理回路3入力端に接続され
ている。
The mode switching circuit 2a includes VDD2 and G
Between ND, an inverter circuit 22 composed of a P-channel MOS transistor P1 and an N-channel MOS transistor N1, an inverter circuit 23 composed of a P-channel MOS transistor P2 and an N-channel MOS transistor N2, and a mode setting circuit section 24 Are connected in parallel, and the input terminal of the inverter circuit 22 is VDD1
The output terminal is connected to the input terminal of the inverter circuit 23, and the output terminal of the inverter circuit 23 is connected to the mode setting circuit unit 2.
The output terminals of the mode setting circuit unit 24 are connected to the internal logic circuit 3 input terminals.

【0037】すなわち、モード切り換え回路部2aおよ
び内部論理回路3がVDD2から電流が供給されるのに
対し、このモード設定回路部2aの入力側のインバータ
22の入力端はVDD2よりも電位の高いVDD1に接
続されている。
That is, while the mode switching circuit 2a and the internal logic circuit 3 are supplied with current from VDD2, the input terminal of the inverter 22 on the input side of the mode setting circuit 2a has a potential VDD1 higher than VDD2. It is connected to the.

【0038】また、容量素子21は、例えば、ゲートア
レイで設計される場合は半導体装置内の未使用の電極パ
ッドを用いて形成し、セルベースICで設計される場合
は、パッド領域の空き領域にアルミニュームやポリシリ
コン等の材料により形成される。
The capacitance element 21 is formed, for example, by using an unused electrode pad in a semiconductor device when it is designed by a gate array, and is formed by an empty area of a pad area when it is designed by a cell-based IC. Formed of a material such as aluminum or polysilicon.

【0039】上述した回路構成からなるモード設定回路
部24の動作の概要は以下に述べるとおりである。すな
わち、通常動作時には、VDD1を常に所定の電源電
位、ここでは3.3Vに維持することにより内部論理回
路3およびモード切り換え回路2aにはVDD2の2.
8Vが供給され通常動作が行われる。この回路ではVD
D1を“0”に瞬間的に低下させるとダイオード素子1
のカソード側の電位VDD2は容量素子21の容量値に
したがって低下し、“1”に戻すとダイオード素子1の
オン抵抗値および容量素子21の容量値で決まる所定の
時定数による速度に応答して電位が上昇する。
The outline of the operation of the mode setting circuit section 24 having the above-described circuit configuration is as follows. That is, during normal operation, VDD1 is always maintained at a predetermined power supply potential, here 3.3 V, so that the internal logic circuit 3 and the mode switching circuit 2a receive VDD2.
8 V is supplied and normal operation is performed. In this circuit, VD
When D1 is instantaneously lowered to "0", the diode element 1
The potential VDD2 on the cathode side of the capacitor element decreases in accordance with the capacitance value of the capacitive element 21. When the potential VDD2 returns to "1", the potential VDD2 responds to the speed of a predetermined time constant determined by the on-resistance value of the diode element 1 and the capacitance value of the capacitive element 21. The potential rises.

【0040】したがって、テストモード時には、VDD
1を“0”に瞬間的に低下させるとともに、このVDD
1の変化に追従して容量素子21により決まる駆動電圧
VDD2の低下速度よりも速くVDD1の電位を元の
“1”に復帰させ、このVDD1の電位変化をモード設
定回路部24で検出することによってモード設定回路部
24のモード設定信号を活性化し、内部論理回路3をテ
ストモードに切り換えて所定のテストを行う。
Therefore, in the test mode, VDD
1 is instantaneously reduced to “0” and this VDD
The potential of VDD1 is returned to the original "1" faster than the speed of decrease of the drive voltage VDD2 determined by the capacitor 21 following the change of "1", and the potential change of VDD1 is detected by the mode setting circuit unit 24. The mode setting signal of the mode setting circuit section 24 is activated, and the internal logic circuit 3 is switched to the test mode to perform a predetermined test.

【0041】ここで、モード設定回路部24として、例
えば公知のバイナリカウンタを用いた場合を説明する。
バイナリカウンタの回路図を示した図2(a)を参照す
ると、このモード設定回路部24のバイナリカウンタ
は、入力端を図1のインバータ23の出力端に接続さ
れ、出力端OUT1およびOUT2が内部論理回路3に
接続される、一例としてD型フリップフロップで構成し
た一般的なT型フリップフロップ247および278か
らなる2ビットのカウンタである。OUT1はフリップ
フロップ247の出力、OUT2はフリップフロップ2
48の出力とし、OUT1の信号を内部論理回路3の第
1のテストモードに、OUT2の信号を第2のテストモ
ードにそれぞれ使用する。これらのテストモードはそれ
ぞれ内部論理回路内において選択され、対応する回路が
テストされる。
Here, a case where a known binary counter is used as the mode setting circuit section 24 will be described.
Referring to FIG. 2A, which shows a circuit diagram of the binary counter, the input terminal of the binary counter of the mode setting circuit unit 24 is connected to the output terminal of the inverter 23 of FIG. 1, and the output terminals OUT1 and OUT2 are internally connected. This is a 2-bit counter connected to the logic circuit 3 and composed of general T-type flip-flops 247 and 278 as an example. OUT1 is the output of the flip-flop 247, OUT2 is the flip-flop 2
Forty-eight outputs, the signal of OUT1 is used for the first test mode of the internal logic circuit 3, and the signal of OUT2 is used for the second test mode. Each of these test modes is selected in the internal logic circuit, and the corresponding circuit is tested.

【0042】このバイナリカウンタによるモード設定回
路部24は、動作説明用のタイミングチャートを示した
図2(b)を参照すると、OUT1およびOUT2はタ
イミングt3およびt4期間が第1のテストモード設定
期間、タイミングt5およびt6期間が第のテストモ
ード設定期間になり、タイミングt7およびt8期間が
のテストモード設定期間になることを示しており、
合計3種類のテストモードの設定ができる。5番目のM
ODE信号の後縁のタイミングでモード設定信号を
“1”に戻し、以後その状態を維持させれば通常動作状
態に復帰させることができる。したがって、カウンタの
構成がn(nは2以上の整数)ビットであれば、2n
1種類のテストモードが設定可能である。
Referring to FIG. 2B showing a timing chart for explaining the operation, the mode setting circuit section 24 based on the binary counter has timings OUT1 and OUT2 whose timings t3 and t4 are the first test mode setting periods, timing t5 and t6 period becomes the second test mode setting period, timing t7 and t8 period indicates to be a third test mode setting period,
A total of three test modes can be set. 5th M
If the mode setting signal is returned to "1" at the timing of the trailing edge of the ODE signal, and the state is maintained thereafter, the normal operation state can be restored. Therefore, if the configuration of the counter is n (n is an integer of 2 or more) bits, 2 n
One type of test mode can be set.

【0043】つぎに、図2およびこのバイナリカウンタ
によるモード設定回路部の動作説明用タイミングチャー
トを示した図3を併せて参照しながら動作を説明する。
Next, the operation will be described with reference to FIG. 2 and FIG. 3 showing a timing chart for explaining the operation of the mode setting circuit section using this binary counter.

【0044】上述したようにVDD1は3.3Vが供給
され、ダイオード素子1のしきい値電位は0,5V、容
量素子21の容量値は30pFとすると、VDD2は
2.8Vが供給されている。この状態で、バイナリカウ
ンタ24のクロックC端子に供給されるモード設定信号
MODEは、電源電位VDD1を瞬間的に3.3V→0
V→3.3Vにすることによって通常動作モードおよび
テストモードの設定をする。
As described above, when VDD1 is supplied with 3.3 V, the threshold voltage of the diode element 1 is 0.5 V, and the capacitance value of the capacitor 21 is 30 pF, VDD2 is supplied with 2.8 V. . In this state, the mode setting signal MODE supplied to the clock C terminal of the binary counter 24 changes the power supply potential VDD1 from 3.3 V to 0 instantaneously.
The normal operation mode and the test mode are set by changing V → 3.3V.

【0045】まずタイミングt1〜t2の第1番目のV
DD1の変化3.3V→0V→3.3Vに応答して供給
されるモード設定信号MODE“0”によりフリップフ
ロップ247および248をそれぞれ初期化すると同時
に、通常動作モードの設定を行う。
First, the first V at timing t1 to t2
The flip-flops 247 and 248 are respectively initialized by the mode setting signal MODE “0” supplied in response to the change of DD1 of 3.3V → 0V → 3.3V, and the normal operation mode is set.

【0046】この第1番目のモード設定信号MODEに
応答して、フリップフロップ247は“0”に遷移し、
次のモード設定信号MODEを入力するタイミングt3
までその状態を保持する。この期間t1〜t3はフリッ
プフロップ247および248とも“0”であり、VD
D1はタイミングt2で3.3Vに戻してあるのでモー
ド設定信号MODEも“1”に戻り、半導体装置全体と
しては通常電源電位状態になり、期間t2〜t3は通常
動作モードになる。
In response to the first mode setting signal MODE, flip-flop 247 transits to "0",
Timing t3 for inputting the next mode setting signal MODE
Hold that state until. During this period t1 to t3, the flip-flops 247 and 248 are both “0” and VD
Since D1 is returned to 3.3 V at timing t2, the mode setting signal MODE also returns to "1", the semiconductor device as a whole is in the normal power supply potential state, and the period from t2 to t3 is in the normal operation mode.

【0047】次に、タイミングt3において、第2番目
のVDD1の変化3.3V→0V→3.3Vに応答して
供給されるモード設定信号MODEが再び“0”にな
る。この“0”により内部論理回路3の第1のテストモ
ード設定を行う。このときフリップフロップ247の出
力OUT1は極性反転して“1”になり次のモード設定
信号MODEが入力されるまでその状態を維持する。フ
リップフロップ248の出力OUT2はまだ“0”を維
持している。
Next, at timing t3, the mode setting signal MODE supplied in response to the second change of VDD1 3.3V → 0V → 3.3V becomes “0” again. With this “0”, the first test mode of the internal logic circuit 3 is set. At this time, the polarity of the output OUT1 of the flip-flop 247 is inverted to “1”, and the state is maintained until the next mode setting signal MODE is input. The output OUT2 of the flip-flop 248 still maintains “0”.

【0048】VDD1はタイミングt4で3.3Vに戻
してあるのでモード設定信号MODEも“1”に戻り、
半導体装置全体としては通常電源電位状態になり、期間
t4〜t5は内部論理回路の所定の回路が第1のテスト
モードになる。
Since VDD1 has returned to 3.3 V at timing t4, the mode setting signal MODE also returns to "1",
The semiconductor device as a whole is normally at the power supply potential state,
t4 t5 the predetermined circuit of the internal logic circuit is in the first test mode.

【0049】次に、タイミングt5において、第3番目
のVDD1の変化3.3V→0V→3.3Vに応答して
供給されるモード設定信号MODEがまた“0”にな
る。この“0”により内部論理回路3の第2のテストモ
ード設定を行う。このときフリップフロップ247の出
力OUT1は再び極性反転して“0”になり次のモード
設定信号MODEが入力されるまでその状態を維持す
る。フリップフロップ248の出力OUT2はこのタイ
ミングt5で“1”に復帰し、フリップフロップ247
の出力が反転するまで“1”を維持している。
Next, at timing t5, the mode setting signal MODE supplied in response to the third change VDD1 of 3.3V → 0V → 3.3V becomes “0” again. With this “0”, the second test mode of the internal logic circuit 3 is set. At this time, the output OUT1 of the flip-flop 247 inverts the polarity again to “0” and maintains that state until the next mode setting signal MODE is input. The output OUT2 of the flip-flop 248 returns to “1” at this timing t5, and the flip-flop 247
"1" is maintained until the output is inverted.

【0050】この場合もVDD1はタイミングt6で
3.3Vに戻してあるのでモード設定信号MODEも
“1”に戻り、半導体装置全体としては通常電源電位状
態になり、期間t6以降次のタイミング変化のt7
部論理回路3の所定の回路が第2のテストモードにな
る。
Also in this case, since VDD1 is returned to 3.3 V at the timing t6, the mode setting signal MODE also returns to "1", the semiconductor device as a whole is in the normal power supply potential state, and after the period t6, the next timing change occurs . t7 or
Predetermined circuit of the internal logic circuit 3 becomes the second test mode.

【0051】上述した動作を2ビットバイナリカウンタ
のカウント値が1巡するまで実行することにより、テス
トモード設定信号を生成して内部論理回路をテスト状態
にすることが出来る。
By executing the above operation until the count value of the 2-bit binary counter makes one round, a test mode setting signal can be generated and the internal logic circuit can be brought into the test state.

【0052】上述したように、バイナリカウンタの有す
るビット数の2n 回数分だけVDD1を3.3V→0V
と変化させ、このVDD1の変化に追従して容量素子2
1により決まる駆動電圧VDD2の低下速度よりも速く
VDD1の電位を元の3.3Vに復帰させ、このVDD
1の電位変化をモード設定回路部24のバイナリカウン
タで検出することによって、2n −1回数分のテストモ
ードの設定を行うことが出来る。
As described above, VDD1 is increased from 3.3 V to 0 V by 2 n times the number of bits of the binary counter.
And following the change of VDD1, the capacitance element 2
1, the potential of VDD1 is returned to the original 3.3V faster than the reduction speed of the driving voltage VDD2 determined by the drive voltage VDD2.
By detecting the potential change of 1 by the binary counter of the mode setting circuit section 24, the test mode can be set for 2 n -1 times.

【0053】[0053]

【発明の効果】以上説明したように、本発明のモード切
り換え回路は、テストモードまたは通常動作モードに切
り換えるために供給されるモード設定信号に応答してテ
ストモード設定信号を生成し内部論理回路へ出力する半
導体装置内蔵のモード切り換え回路であって、外部から
供給される第1の電源が半導体素子で所定の電圧に降圧
されてなる第2の電源により半導体装置内部が駆動さ
れ、かつ第1の電源がオフしたときに第2の電源電位が
所定時間だけ電位保持容量素子で維持されるとともに、
第1の電源の電位変化をモード設定信号とするモード切
り換え回路を用い、外部からの操作により第1の電源の
所定の電位を接地電位に低下させるときに、この電位低
下に追従して電位保持容量素子の電位が接地電位に遷移
する前に第1の電源を所定の電位に復帰させるオンオフ
操作を予め定める所定の回数だけ行なうことによって、
テストモードまたは通常動作モードに内部論理回路を移
行させるので、第1の効果は、テストモードにするため
の専用の制御端子を必要とせず、従来に比べて少なくと
も1本の外部端子が削減できる。
As described above, the mode switching circuit of the present invention generates a test mode setting signal in response to a mode setting signal supplied to switch to the test mode or the normal operation mode, and generates the test mode setting signal to the internal logic circuit. A mode switching circuit built in the semiconductor device for outputting, wherein the inside of the semiconductor device is driven by a second power supply obtained by reducing a first power supply supplied from the outside to a predetermined voltage by a semiconductor element; When the power is turned off, the second power supply potential is maintained by the potential holding capacitance element for a predetermined time, and
When a predetermined potential of the first power supply is lowered to the ground potential by an external operation using a mode switching circuit that uses a potential change of the first power supply as a mode setting signal, the potential is maintained following the potential reduction. By performing a predetermined number of ON / OFF operations for returning the first power supply to a predetermined potential before the potential of the capacitive element transitions to the ground potential,
Since the internal logic circuit is shifted to the test mode or the normal operation mode, the first effect is that a dedicated control terminal for setting the test mode is not required, and at least one external terminal can be reduced as compared with the related art.

【0054】また、第2の効果は、半導体装置にモード
設定信号を発生させるための昇圧回路を内蔵させる必要
が無いので、一定の電源電流が発生せず、その結果ID
DQテストが適用でき、従来は、テストパターンに依存
していた故障検出率に比べてIDDQテスト適用により
常時95パーセント以上の故障検出率が確保でき、半導
体装置の信頼性が向上する。
The second effect is that since there is no need to incorporate a booster circuit for generating a mode setting signal in the semiconductor device, a constant power supply current is not generated, and as a result, ID
A DQ test can be applied, and a failure detection rate of 95% or more can always be secured by applying the IDDQ test, as compared with a failure detection rate that has conventionally depended on a test pattern, thereby improving the reliability of a semiconductor device.

【0055】さらに、第3の効果として、他の信号端子
とモード切り換え端子を共用しないので、他の信号端子
にモード切り換え回路を接続する必要が無く、付加容量
が付加されなくなり、通常動作時の動作速度が従来に比
べて高速化できる。
Further, as a third effect, since the mode switching terminal is not shared with the other signal terminals, there is no need to connect a mode switching circuit to the other signal terminals, and no additional capacitance is added. The operation speed can be increased as compared with the conventional case.

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

【図1】本発明のモード切り換え回路およびその周辺回
路を示した回路図である。
FIG. 1 is a circuit diagram showing a mode switching circuit of the present invention and its peripheral circuits.

【図2】(a)図1におけるモード設定回路部の一例を
示すバイナリカウンタの回路図である。 (b)動作説明用のタイミングチャートである。
FIG. 2A is a circuit diagram of a binary counter illustrating an example of a mode setting circuit unit in FIG. 1; 6B is a timing chart for explaining the operation.

【図3】図1の回路動作説明用のタイミングチャートで
ある。
FIG. 3 is a timing chart for explaining the operation of the circuit in FIG. 1;

【図4】従来のモード設定回路部の一例を示す回路図で
ある。
FIG. 4 is a circuit diagram showing an example of a conventional mode setting circuit unit.

【図5】従来のモード設定回路部の他の例を示す回路図
である。
FIG. 5 is a circuit diagram showing another example of a conventional mode setting circuit unit.

【図6】図6の回路の動作説明用のタイミングチャート
である。
FIG. 6 is a timing chart for explaining the operation of the circuit in FIG. 6;

【図7】図6における波形鈍化を考慮したタイミングチ
ャートである。
FIG. 7 is a timing chart in consideration of waveform blunting in FIG. 6;

【図8】(a)従来のモード設定回路部のさらにまた他
の例を示す回路図である。 (b)動作説明用のタイミングチャートである。
FIG. 8A is a circuit diagram showing still another example of the conventional mode setting circuit unit. 6B is a timing chart for explaining the operation.

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

1 ダイオード素子 2a,2b モード切り換え回路 3 内部論理回路 21 容量素子 22,23,25,53 インバータ 24 モード設定回路部 26,27,54 AND 28 セレクタ回路 41,42,51,802 入力バッファ 44 出力バッファ 52,55 レベル判定回路 56 カウンタ 80 半導体装置 247,248 D型フリップフロップ 803 負荷抵抗 804 モード設定検出信号 P1,P2 Pチャネル型MOSトランジスタ N1,N2,801 Nチャネル型MOSトランジス
DESCRIPTION OF SYMBOLS 1 Diode element 2a, 2b Mode switching circuit 3 Internal logic circuit 21 Capacitance element 22, 23, 25, 53 Inverter 24 Mode setting circuit part 26, 27, 54 AND 28 Selector circuit 41, 42, 51, 802 Input buffer 44 Output buffer 52, 55 Level determination circuit 56 Counter 80 Semiconductor device 247, 248 D-type flip-flop 803 Load resistance 804 Mode setting detection signal P1, P2 P-channel MOS transistor N1, N2, 801 N-channel MOS transistor

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 テストモードまたは通常動作モードに切
り換えるために外部から供給されるモード設定信号に応
答してテストモード設定信号を生成し内部論理回路へ出
力するモード切り換え回路を備えた半導体装置におい
て、この半導体装置の外部から供給される第1の電源
と、レベルシフト素子と、このレベルシフト素子により
前記第1の電源が所定の電圧に降圧されて前記半導体装
置内の前記モード切り換え回路および前記内部論理回路
へ内部電源として供給される第2の電源と、前記第1の
電源を所定時間瞬間的にオフして接地電位にしたときに
少なくとも前記所定時間の間前記第2の電源の電位を前
記所定の電圧に維持する電位保持容量素子とを備え、前
記第1の電源を外部からオンオフしたときの電位変化を
前記モード設定信号とすることを特徴とする半導体装
置。
1. A semiconductor device comprising a mode switching circuit for generating a test mode setting signal in response to a mode setting signal supplied from the outside to switch to a test mode or a normal operation mode and outputting the generated signal to an internal logic circuit. A first power supply supplied from the outside of the semiconductor device, a level shift element, the first power supply stepped down to a predetermined voltage by the level shift element, the mode switching circuit in the semiconductor device and the internal A second power supply supplied to the logic circuit as an internal power supply, and the second power supply for at least the predetermined time when the first power supply is momentarily turned off to a ground potential for a predetermined time. And a potential holding capacitance element for maintaining the potential of the first power supply at the predetermined voltage, wherein the potential change when the first power supply is turned on / off from outside is determined by the mode setting signal. Wherein a is.
【請求項2】 前記モード切り換え回路は、前記第1の
電源に入力端が接続される第1のインバータと、この第
1のインバータに縦続接続された第2のインバータと、
この第2のインバータの出力を計数するとともにそれぞ
れのビット出力を前記テストモード設定信号として前記
内部論理回路に出力する複数ビットのバイナリカウンタ
からなるモード設定回路部とから構成される請求項1記
載の半導体装置。
2. The mode switching circuit includes: a first inverter having an input terminal connected to the first power supply; a second inverter cascaded to the first inverter;
2. A mode setting circuit section comprising a multi-bit binary counter for counting the output of the second inverter and outputting each bit output as the test mode setting signal to the internal logic circuit. Semiconductor device.
【請求項3】 前記バイナリカウンタは、n(nは2以
上の整数)ビット構成からなり、そのビット出力の全ビ
ットが論理レベルのロウレベルのとき通常動作モード設
定に、それ以外の前記ビット出力を最大で2n −1種
類のテストモード設定にそれぞれ適用するテストモード
設定信号として、前記内部論理回路に出力する請求項
記載の半導体装置。
3. The binary counter has an n (n is an integer of 2 or more) bit configuration. When all bits of the bit output are at a low level of a logic level, the binary counter is set to a normal operation mode setting, and the other bit outputs are set to the normal operation mode. as the test mode setting signal to be applied respectively to the maximum in 2 n -1 kinds of test mode setting, claim 2 to be output to the internal logic circuit
13. The semiconductor device according to claim 1.
【請求項4】 テストモードまたは通常動作モードに切
り換えるために外部から供給されるモード設定信号に応
答してテストモード設定信号を生成し内部論理回路へ出
力するモード切り換え回路を備えた半導体装置のモード
設定方法において、前記半導体装置の外部から供給され
る第1の電源と、レベルシフト素子と、このレベルシフ
ト素子により前記第1の電源が所定の電圧に降圧されて
前記半導体装置内の前記モード切り換え回路および前記
内部論理回路へ内部電源として供給される第2の電源
と、前記第1の電源を所定時間瞬間的にオフして接地電
位にしたときに少なくとも前記所定時間の間前記第2の
電源の電位を前記所定の電圧に維持する電位保持容量素
子と、前記第1の電源に入力端が接続される第1のイン
バータとこの第1のインバータに縦続接続された第2の
インバータとこの第2のインバータの出力を計数すると
ともにそれぞれのビット出力を前記テストモード設定信
号として前記内部論理回路に出力する複数ビットのバイ
ナリカウンタからなるモード設定回路部とから構成され
る前記モード切り換え回路とを用い、 前記第1の電源を外部からオンオフ操作し、このオンオ
フ操作の第1回目で前記バイナリカウンタ全ビット
論理レベルのロウレベルにし、そのロウレベルの出力値
で前記内部論理回路を前記通常動作モードに移行させ、
第2回目以降の前記オンオフ操作に応じて変化する前記
バイナリカウンタの出力値ごとに前記内部論理回路を最
大で2n −1種類の前記テストモードに順次移行させ
ることを特徴とする半導体装置のモード設定方法。
4. A mode of a semiconductor device comprising a mode switching circuit for generating a test mode setting signal in response to a mode setting signal supplied from the outside to switch to a test mode or a normal operation mode and outputting the generated signal to an internal logic circuit. In the setting method, a first power supply externally supplied to the semiconductor device, a level shift element, and the mode switching in the semiconductor device by lowering the first power supply to a predetermined voltage by the level shift element Circuit and said
A second power supply supplied as an internal power supply to an internal logic circuit , and a potential of the second power supply for at least the predetermined time when the first power is momentarily turned off to a ground potential for a predetermined time. a potential holding capacitor element to maintain said predetermined voltage, a second inverter of the first second inverter Toko input to the power supply is cascaded to the first inverter of the first inverter Toko to be connected said mode switching circuit composed of a plurality of bits of the binary counter reaches the mode setting circuit from outputting the respective bit outputs to the internal logic circuit as said test mode setting signal with counts the output of, have for wo, said first power supply and turning on and off from the outside, and the low level of the total bit <br/> logic level of the binary counter at the first time of the on-off operation, It said internal logic circuit in the low level of the output value of is shifted to the normal operation mode,
A mode in which the internal logic circuit sequentially shifts to at most 2 n -1 kinds of the test modes for each output value of the binary counter that changes in accordance with the on / off operation from the second time on. Setting method.
JP09011073A 1997-01-24 1997-01-24 Semiconductor device and mode setting method for semiconductor device Expired - Fee Related JP3105808B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP09011073A JP3105808B2 (en) 1997-01-24 1997-01-24 Semiconductor device and mode setting method for semiconductor device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP09011073A JP3105808B2 (en) 1997-01-24 1997-01-24 Semiconductor device and mode setting method for semiconductor device

Publications (2)

Publication Number Publication Date
JPH10206509A JPH10206509A (en) 1998-08-07
JP3105808B2 true JP3105808B2 (en) 2000-11-06

Family

ID=11767814

Family Applications (1)

Application Number Title Priority Date Filing Date
JP09011073A Expired - Fee Related JP3105808B2 (en) 1997-01-24 1997-01-24 Semiconductor device and mode setting method for semiconductor device

Country Status (1)

Country Link
JP (1) JP3105808B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7157813B2 (en) * 2003-10-03 2007-01-02 Power Integrations, Inc. Method and apparatus for mode selection for high voltage integrated circuits
JP6228866B2 (en) * 2014-03-07 2017-11-08 アルプス電気株式会社 Electronic circuit

Also Published As

Publication number Publication date
JPH10206509A (en) 1998-08-07

Similar Documents

Publication Publication Date Title
US5399915A (en) Drive circuit including two level-shift circuits
US6373315B2 (en) Signal potential conversion circuit
US6285213B1 (en) Semiconductor integrated circuit device
KR100336236B1 (en) Semiconductor integrated circuit device
US4742486A (en) Semiconductor integrated circuit having function for switching operational mode of internal circuit
US6242948B1 (en) Semiconductor integrated circuit device
JP2003066919A (en) Semiconductor integrated circuit device
US20030189865A1 (en) Memory circuit
EP0887935A1 (en) Noise isolation circuit
KR100308208B1 (en) Input circuit of semiconductor integrated circuit device
US7002377B2 (en) Clock signal detection circuit and semiconductor integrated circuit using the same
JP3105808B2 (en) Semiconductor device and mode setting method for semiconductor device
KR19990060766A (en) Internal Voltage Generation Circuit of Semiconductor Memory Device
KR19980050807A (en) Semiconductor circuit for generating high output voltage
US7598791B2 (en) Semiconductor integrated apparatus using two or more types of power supplies
JPH11330380A (en) Semiconductor device and method for identifying functions thereof
KR970008362B1 (en) Semiconductor integrated circuit
JP2001118388A (en) Buffer circuit
US6333880B1 (en) Semiconductor memory device capable of detecting high-voltage test command signal
JP2001339285A (en) Power-off detecting circuit
US20010026189A1 (en) Intermediate voltage control circuit having reduced power consumption five
EP0350943B1 (en) Semiconductor integrated circuit including output buffer
US11271551B2 (en) Level shifter
US7463074B2 (en) Integrated circuit and method for generating a ready signal
US20040037149A1 (en) Semiconductor memory device capable of normal transition to test mode

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: 20000801

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees