JPS62184537A - Semiconductor integrated circuit device - Google Patents

Semiconductor integrated circuit device

Info

Publication number
JPS62184537A
JPS62184537A JP61025876A JP2587686A JPS62184537A JP S62184537 A JPS62184537 A JP S62184537A JP 61025876 A JP61025876 A JP 61025876A JP 2587686 A JP2587686 A JP 2587686A JP S62184537 A JPS62184537 A JP S62184537A
Authority
JP
Japan
Prior art keywords
circuit
password
semiconductor integrated
integrated circuit
internal
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.)
Pending
Application number
JP61025876A
Other languages
Japanese (ja)
Inventor
Tatsuro Totani
達郎 戸谷
Nobutaka Nagasaki
信孝 長崎
Taku Tsukamoto
塚元 卓
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.)
Hitachi Microcomputer System Ltd
Hitachi Ltd
Original Assignee
Hitachi Ltd
Hitachi Microcomputer Engineering 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 Hitachi Ltd, Hitachi Microcomputer Engineering Ltd filed Critical Hitachi Ltd
Priority to JP61025876A priority Critical patent/JPS62184537A/en
Publication of JPS62184537A publication Critical patent/JPS62184537A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To surely protect the secret of software with respect to the 3rd party by substantially destructing an internal circuit so as to disable the function of the circuit if one or several dissidences of a password are found. CONSTITUTION:A comparator circuit CMP compares a password which is stored in a ROM and read out to a data bus with an input signal supplied from a specific external terminal, and decides coincidence or dissidence of them. A counter circuit counts a dissidence output, and a boosting circuit VG operates if the number of said outputs becomes plural. The circuit VG forms a higher voltage than a power source voltage VCC, and generates a boosting voltage VCC' producing a latchup in an internal CMOS circuit. The action of the boosting circuit VG develops a latchup in the CMOS internal circuit including an important function comprising one chip microcomputer, whereby the circuit is destructed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、半導体集積回路装置に関するもので例えば
、マイクロコンピュータ機能を持つ半導体集積回路装置
に利用して有効な技術に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a semiconductor integrated circuit device, and for example, to a technique effective for use in a semiconductor integrated circuit device having a microcomputer function.

〔従来の技術〕[Conventional technology]

1チツプのマイクロコンピュータにあっては、内蔵のR
OMに書込まれ・たプログラムに従って所定の情報処理
を行うものである。このような1チツプのマイクロコン
ピュータに関しては、■日立製作所昭和58年9月発行
「日立マイクロコンピュータデータブック 8ビツトシ
ングルチツプ1がある。
In a 1-chip microcomputer, the built-in R
It performs predetermined information processing according to a program written in the OM. Regarding such one-chip microcomputers, there is ``Hitachi Microcomputer Data Book 8-bit Single Chip 1'' published by Hitachi, September 1988.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記内蔵ROMに書き込まれた記憶情報を外部端子へ出
力できるようにすると、そのプログラムの内容が第3者
に知られてしまうためソフトウェアの保護の観点からは
好ましくない。しかしながら、そのテストにおいては上
記記憶内容を外部端子へ読み出す必要がある。
If the stored information written in the built-in ROM is allowed to be output to an external terminal, the contents of the program will be known to a third party, which is undesirable from the viewpoint of software protection. However, in this test, it is necessary to read out the stored contents to an external terminal.

そこで、本願発明者は、上記相反する要求を満すことを
考えた。
Therefore, the inventor of the present application considered satisfying the above-mentioned contradictory requirements.

この発明の目的は、内蔵の記憶装置の記憶情報の機密保
護とそのテストとの両機能を両立させた半導体集積回路
装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a semiconductor integrated circuit device that has both the functions of protecting the security of information stored in a built-in storage device and testing the same.

この発明の前記ならびにその他の目的と新規な特徴は、
この明細書の記述および添付図面から明らかになるであ
ろう。
The above and other objects and novel features of this invention include:
It will become clear from the description of this specification and the accompanying drawings.

〔問題点を解決するための手段〕[Means for solving problems]

本願において開示される発明のうち代表的なものの概要
を簡単に説明すれば、下記の通りである。
A brief overview of typical inventions disclosed in this application is as follows.

すなわち、プログラム又はデータが書き込まれた記憶回
路の記憶情報を外部端子へ出力させるパスワードの1な
いし複数回の不一致検出を受けて、内部回路を破壊させ
る機密保護回路を設けるものである。
That is, a security protection circuit is provided that destroys the internal circuit upon detection of one or more mismatches in passwords for outputting stored information of a storage circuit in which a program or data is written to an external terminal.

〔作 用〕[For production]

上記した手段によれば、パスワードの不一致出力によっ
て、内部回路が破壊されてしまうため、パスワードを知
らない第3者によるプログラム又はデータの解読を阻止
することができる。
According to the above-described means, since the internal circuit is destroyed due to the mismatched password output, it is possible to prevent a third party who does not know the password from decoding the program or data.

〔実施例1〕 第1図には、この発明に係るlチップマイクロコンピュ
ータの一実施例のブロック図が示されている。同図にお
いて、破線で示した半導体集積回路装fiLsIは、全
体として1チツプマイクロコンピユータを構成しており
、公知のCMOS集積回路の製造技術によって、特に制
限されないが、単結晶シリコンのような1個の半導体基
板上において形成される。
[Embodiment 1] FIG. 1 shows a block diagram of an embodiment of an L-chip microcomputer according to the present invention. In the same figure, the semiconductor integrated circuit device fiLsI indicated by a broken line constitutes a one-chip microcomputer as a whole, and can be made by using a single chip such as single crystal silicon, although not particularly limited by known CMOS integrated circuit manufacturing technology. is formed on a semiconductor substrate.

記号CPUで示されているのは、マイクロプロセッサで
あり、その主要構成ブロックが代表として例示的に示さ
れている。
The symbol CPU is a microprocessor, and its main constituent blocks are exemplarily shown as a representative.

Aはアキュムレータ、Xはインデックスレジスタ、CC
はコンディションコードレジスタ、SPはスタックポイ
ンタ、PCH,PCLはプログラムカウンタ、CPU−
C0NTはCPUコントローラ、ALUは算術論理ユニ
ットである。
A is accumulator, X is index register, CC
is the condition code register, SP is the stack pointer, PCH and PCL are the program counters, and CPU-
C0NT is a CPU controller, and ALU is an arithmetic logic unit.

これらのマイクロプロセッサCPUの構成は、公知であ
るので、その詳細な説明を省略する。
Since the configurations of these microprocessors CPU are well known, detailed explanation thereof will be omitted.

記号I10で示されているのは、入出力ボートであり、
その内部にデータ伝送双方向レジスタを含んでいる。ま
た、記号Iで示されているのは、入力専用ボートである
Denoted by symbol I10 is an input/output boat,
It contains a data transmission bidirectional register inside. Also, what is indicated by the symbol I is an input-only port.

記号O8Cで示されているのは、発振回路であり、特に
制限されないが、外付される水晶振動子Xtalを利用
して高精度の基準周波数信号を形成する。この基準周波
数信号により、マイクロプロセッサCPUにおいて必要
とされるクロックパルスが形成される。また、上記基準
周波数信号は、タイマーの基準時間パルスとしても用い
られる。
What is indicated by the symbol O8C is an oscillation circuit, which forms a highly accurate reference frequency signal using an external crystal resonator Xtal, although it is not particularly limited. This reference frequency signal forms the clock pulses required in the microprocessor CPU. Further, the reference frequency signal is also used as a reference time pulse of a timer.

このタイマーは、カウンタC0UNT、プリスケーラP
R及びコントローラC0NTとによって構成される。
This timer consists of counter C0UNT, prescaler P
and a controller C0NT.

記号RAMで示されているのは、ランダム・アクセス・
メモリであり、主として一時データの記憶回路として用
いられる。
The symbol RAM is a random access
It is a memory and is mainly used as a temporary data storage circuit.

記号ROMで示されているのは、リード・オンリー・メ
モリであり、各種情報処理のためのプログラム及びデー
タが書込まれている。特に制限されないが、この実施例
のROMは、マスクROMが用いられる。
The symbol ROM is a read-only memory in which programs and data for various information processing are written. Although not particularly limited, a mask ROM is used as the ROM in this embodiment.

以上の各回路ブロックは、マイクロプロセッサCPUを
中心としバスBUSによって相互に接続されている。こ
のバスβUSには、データバスとアドレスバスとが含ま
れるものである。
The above circuit blocks are connected to each other by a bus BUS, with the microprocessor CPU as the center. This bus βUS includes a data bus and an address bus.

この実施例のマイクロコンピュータにおいては、機密保
護のため上記ROMの記憶情報の外部端子への出力を制
御するため、言い換えるならば、ROMの内容を外部端
子へ送出させる動作を起動させるためのパスワード識別
機能を持つ。このパスワードの識別機能は、特に制限さ
れないが、次の比較回路CMPによって与えられる。比
較回路CMPは、データバス上に読み出された上記RO
Mに記憶されたパスワードと、特定の外部端子から供給
された入力信号(パスワード)とを比較して、その一致
/不一致を判定する。この不一致出力は、特に制限され
ないが、後述するようなカウンタ回路により計数される
。複数回の不一致出力により、昇圧回路VGが動作させ
られる。昇圧回路VGは、電源電圧Vcc以上の高い電
圧を形成して、例えば、後述するような内部の0M03
回路にラフチアツブを生じしめるような昇圧電圧Vcc
“を発生させる。この昇圧電圧Vcc’ は、例えばマ
イクロプロセッサCPUを構成する0M03回路に伝え
られる。すなわち、上記0M03回路にランチアップを
生じしめるようにするものである。このような昇圧回路
VGの動作によって、lチップのマイクロコンピュータ
を構成する重要な機能を持つCMO8内部回路にラッチ
アップが発生し、その回路破壊が行われる。
In the microcomputer of this embodiment, in order to control the output of the information stored in the ROM to the external terminal for security protection, in other words, a password is used to identify a password to start the operation of sending the contents of the ROM to the external terminal. have a function. This password identification function is provided by the following comparison circuit CMP, although it is not particularly limited. The comparison circuit CMP is connected to the RO read out on the data bus.
The password stored in M is compared with the input signal (password) supplied from a specific external terminal to determine whether they match or do not match. This mismatch output is counted by a counter circuit as described later, although it is not particularly limited. The booster circuit VG is activated by multiple mismatched outputs. The booster circuit VG forms a high voltage higher than the power supply voltage Vcc, and, for example, the internal 0M03 as described later.
A boosted voltage Vcc that causes roughness in the circuit
This boosted voltage Vcc' is transmitted, for example, to the 0M03 circuit constituting the microprocessor CPU.In other words, it causes the 0M03 circuit to launch up. As a result of this operation, latch-up occurs in the CMO8 internal circuit, which has an important function constituting the 1-chip microcomputer, and the circuit is destroyed.

なお、上記比較回路CMPは、例えば外部からCPUに
与えられる制御信号によってテストモードが指示された
とき動作状態にされ、このとき動作状態にされるいずれ
かの入出力ボート!10又は入力専用ボート■ (その
ようなテスト時に有効とされるボートは、第三者に対し
て公開しないようにしておくことが更に望ましい)から
供給された入力信号(期待値)との一致/不一致の判定
を行う。なお、比較回路CMPの設置に代え、マイクロ
プロセッサCPUに含まれる算術論理演算ユニソ)AL
Uにおける論理演算機能を利用して、上記パスワードの
比較動作を行うようにするものであってもよい。
Note that the comparison circuit CMP is put into an operating state when a test mode is instructed, for example, by a control signal given to the CPU from the outside, and any of the input/output ports which is put into an operating state at this time! 10 or an input-only boat ■ (It is even more desirable that a boat that is valid during such a test not be disclosed to a third party) Determine inconsistency. In addition, instead of installing the comparison circuit CMP, the arithmetic and logic operation unit (UNISO) AL included in the microprocessor CPU
The password comparison operation may be performed using the logic operation function in U.

第2図には、上記比較回路CMP、昇圧回路VGを含む
機密保護回路の一実施例のブロック図が示されている。
FIG. 2 shows a block diagram of an embodiment of a security circuit including the comparison circuit CMP and booster circuit VG.

特に制限されないが、テストモードにされると、入力専
用ボート■が自動的に動作状態にされ、反転のクロック
信号φに同期して外部端子Dinからの信号が、データ
バスBUSに伝えられる。同図では、入力専用ボートI
を構成する1つの入力回路が例示的に示されている。特
に制限されないが、8ビツトのシングルチップマイクロ
コンピュータにあっては、上記入力回路が8個から構成
され、8ビツトの入力信号(パスワード)が8本のデー
タバス上に供給される。
Although not particularly limited, when the test mode is set, the input-only port (2) is automatically activated, and a signal from the external terminal Din is transmitted to the data bus BUS in synchronization with the inverted clock signal φ. In the same figure, input-only boat I
One input circuit making up the circuit is exemplarily shown. Although not particularly limited, in an 8-bit single-chip microcomputer, the input circuit is comprised of eight pieces, and an 8-bit input signal (password) is supplied onto eight data buses.

上記データバスBUS上に供給された8ビツトからなる
パスワードは、上記同じ反転のクロック信号φに同期し
て、その入力信号の取り込みを行うフリップフロップ回
路F2に保持される。このフリップフロップ回路F2も
8個のフリップフロップ回路から構成される。
The 8-bit password supplied onto the data bus BUS is held in a flip-flop circuit F2 which receives the input signal in synchronization with the same inverted clock signal φ. This flip-flop circuit F2 is also composed of eight flip-flop circuits.

ROMは、非反転のクロック信号φに同期して読み出さ
れる。すなわち、上記テストモードの指示によって自動
的に選択されたROMの読み出し信号(パスワード)は
、上記クロック信号φにより動作状態にされる出力回路
DOを介して、データバスBUSに出力される。上記出
力回路DOも8個からなり、ROMから読み出された8
ビツトからなる読み出し信号をデータバス上BUSに出
力させる。
The ROM is read out in synchronization with a non-inverted clock signal φ. That is, the read signal (password) of the ROM automatically selected by the test mode instruction is output to the data bus BUS via the output circuit DO which is activated by the clock signal φ. The above output circuit DO also consists of 8 pieces, and the 8 pieces read out from the ROM.
A read signal consisting of bits is output to the data bus BUS.

上記データバスBUS上に供給された8ビツトの読み出
し信号は、上記同じ非反転のクロック信号φに同期して
、その入力信号の取り込みを行うフリップフロップ回路
F1に保持される。このフリップフロップ回路F1も8
個のフリップフロップ回路から構成される。
The 8-bit read signal supplied onto the data bus BUS is held in a flip-flop circuit F1 which takes in the input signal in synchronization with the same non-inverted clock signal φ. This flip-flop circuit F1 is also 8
It consists of flip-flop circuits.

上記フリップフロップ回路FlとF2に取り込まれた信
号は、ディジタルコンパレータDCに供給される。この
ディジタルコンパレータDCは、8組の排他的論理和回
路(一致/不一致回路)と、その出力を受けるアンド(
AND)ゲート回路等の論理積回路から構成される。
The signals taken into the flip-flop circuits Fl and F2 are supplied to the digital comparator DC. This digital comparator DC consists of eight sets of exclusive OR circuits (match/mismatch circuits) and an AND(
It consists of an AND circuit such as an AND) gate circuit.

この実施例では、特に制限されないが、上記ディジタル
コンパレータDCの出力信号は、2進カウンタ回路FF
’に供給される。このカウンタ回路FFは、3ビツトか
らなる2進カウンタ回路からなり、その最終段ビット出
力が、アンドゲート回路Gに供給される。これにより、
アンドゲート回路Gは、5回同じ不一致出力によつてそ
のゲートを開き、特に制限されないが、上記クロック信
号φを昇圧回路VCに供給する。なお、上記カウンタ回
路FFは、図示しないがテストードに先立って供給され
るリセット信号によってリセット状態にされる。
In this embodiment, although not particularly limited, the output signal of the digital comparator DC is output to the binary counter circuit FF.
'Supplied to. This counter circuit FF consists of a binary counter circuit consisting of 3 bits, and its final stage bit output is supplied to an AND gate circuit G. This results in
The AND gate circuit G opens its gate by the same mismatch output five times, and supplies the clock signal φ to the booster circuit VC, although this is not particularly limited. Although not shown, the counter circuit FF is brought into a reset state by a reset signal supplied prior to the test node.

昇圧回路VCは、上記クロック信号φを受けて、電源電
圧Vcc以上の高い電圧Vcc”を発生させる。
The booster circuit VC receives the clock signal φ and generates a voltage Vcc'' higher than the power supply voltage Vcc.

この昇圧電圧Vcc’ は、特に制限されないが、0M
05回路を構成するPチャンネルMOS F ETQl
のソースに供給される。このMOS F )F、TQl
が形成されるN型ウェル領域(基板ゲート)には電源電
圧Vccが供給される。これにより、昇圧電圧Vcc’
が発生されるとPチャンネルMO3FETQIのソース
、基板ゲート間に順方向電流が流れ、これがトリガとっ
なて周知の0M03回路における寄生サイリスタ素子が
オン状態になってCMOSラッチアップが生じる。上記
MO3FETQIとQ2は、特に制限されないが、確実
な機密保護のために、マイクロプロセッサCPUの中の
重要な回路を構成するか、もしくはその近辺に設けられ
るダミー回路を構成するようにされる。
This boosted voltage Vcc' is not particularly limited, but is 0M
P-channel MOS FETQl that constitutes the 05 circuit
source. This MOS F ) F, TQl
A power supply voltage Vcc is supplied to the N-type well region (substrate gate) in which the substrate gate is formed. As a result, the boosted voltage Vcc'
When this occurs, a forward current flows between the source of the P-channel MO3FET QI and the substrate gate, which acts as a trigger and turns on the parasitic thyristor element in the well-known 0M03 circuit, causing CMOS latch-up. Although not particularly limited, the MO3FETs QI and Q2 are configured to constitute an important circuit in the microprocessor CPU, or a dummy circuit provided in the vicinity, for reliable security protection.

これによって、5回のパスワードの不一致によって内部
回路が破壊されてしまうため、以後このマイクロコンピ
ュータが動作不能になって上記機密保護を行うことがで
きる。
As a result, the internal circuit is destroyed due to five password mismatches, so that the microcomputer becomes inoperable from now on and the above-mentioned security protection can be performed.

第3図には、上記昇圧回路VGの一実施例の回路図が示
されている。
FIG. 3 shows a circuit diagram of an embodiment of the booster circuit VG.

上記アンドゲート回路Gを通したパルス信号φは、イン
バータ回路IVを介してキャパシタC1の一方の電極e
1に供給される。このキャパシタC1の他方の電極e2
と電源電圧Vccとの間には、ダイオード形態のMO3
FETQ3が設けられる。
The pulse signal φ passed through the AND gate circuit G is applied to one electrode e of the capacitor C1 via an inverter circuit IV.
1. The other electrode e2 of this capacitor C1
MO3 in the form of a diode is connected between
FETQ3 is provided.

上記電極e2の電圧は、ダイオード形態のMO3F F
、TQ 4を介してキャパシタC2に伝えられる。
The voltage of the electrode e2 is MO3F F in diode form.
, TQ4 to capacitor C2.

上記キャパシタC2には、ダイオード形態のMO3FE
TQ5を介して初期電圧が与えられる。これにより、上
記パルス信号φが供給されない状態では、出力電圧Vc
c’ は、MO3FETQ5を介したVcc−Vth(
Vthは、MO3FETQ5のしきい値電圧)となる。
The capacitor C2 has a diode type MO3FE.
An initial voltage is applied via TQ5. As a result, when the pulse signal φ is not supplied, the output voltage Vc
c' is Vcc-Vth(
Vth is the threshold voltage of MO3FETQ5.

上記パスワードの不一致によって、パルス信号φが供給
されると、次のような動作によって、電源電圧Vcc以
上に高くされた昇圧電圧Vcc’が形成される。
When the pulse signal φ is supplied due to the mismatch of the passwords, the boosted voltage Vcc' that is higher than the power supply voltage Vcc is generated by the following operation.

インバータ回路IVの出力信号が回路の接地電位のよう
なロウレベルのとき、キャパシタC1にはMO3FET
Q3を介してプリチャージが行われる。これによって、
キャパシタC1の他方の電極e2の電位は、Vcc−V
th(VthはMO3FETQ3のしきい値電圧)とな
る0次に、インバータ回路IVの出力信号がハイレベル
(Vcc)にされると、これに応じて上記電極e2の電
位は、チャージポンプ作用によって2Vcc−Vthの
ような高い電圧にされる。この他方の電極e2における
電圧2Vcc−Vthは、MO3FETQ4を介してキ
ャパシタC2に伝えられる。これにより、キャパシタC
2の電圧Vcc’ は、キャパシタC1と02の電荷分
散に従った高い電圧にされる。以下、同様な動作の繰り
返しによって、昇圧電圧Vcc’は、電源電圧Vcc以
上の高い電圧にされ、前記ラッチアップを生じしめるも
のである。
When the output signal of the inverter circuit IV is at a low level such as the ground potential of the circuit, the MO3FET is connected to the capacitor C1.
Precharging is performed via Q3. by this,
The potential of the other electrode e2 of the capacitor C1 is Vcc-V
th (Vth is the threshold voltage of MO3FETQ3), when the output signal of the inverter circuit IV is set to high level (Vcc), the potential of the electrode e2 increases to 2Vcc due to the charge pump action. - A high voltage such as Vth is applied. This voltage 2Vcc-Vth at the other electrode e2 is transmitted to the capacitor C2 via the MO3FETQ4. This makes the capacitor C
The voltage Vcc' of capacitors C1 and C02 is set to a high voltage according to the charge distribution of capacitors C1 and C02. Thereafter, by repeating the same operation, the boosted voltage Vcc' is raised to a voltage higher than the power supply voltage Vcc, causing the latch-up.

〔実施例2〕 第4図には、この発明の他の一実施例の要部回路図が示
されている。
[Embodiment 2] FIG. 4 shows a circuit diagram of a main part of another embodiment of the present invention.

この実施例では、0M03回路にチンプアップを生じし
めるため、電源投入によって自動的に動作状態にされる
昇圧回路VGにより形成された昇圧電圧Vcc’ は、
比較的大きな容量値を持つキャパシタC2’ に蓄えら
れる。このキャパシタC2゛には、MO3FETQ6が
並列形態に設けられる。このMO3FETQ6のゲート
には、前記第2図に示したようなカウンタ回路FFの出
力信号が供給される。これにより、比較回路DCによっ
て複数回にわたってパスワードの不一致出力が検出され
たとき、上記MO8FETQ6がオン状態にされ、キャ
パシタC2’ に蓄積された昇圧電圧Vcc’をいつき
に放電させる。これにより、回路の接地線にはスパイク
状の比較的大きな電流値の電流が流れる0回路の接地線
は無視できない抵抗成分やインダクタンス成分を含むた
め、上記電流によってスパイク状のノイズが発生する。
In this embodiment, in order to cause chimp-up in the 0M03 circuit, the boosted voltage Vcc' generated by the booster circuit VG, which is automatically activated when the power is turned on, is
It is stored in a capacitor C2' having a relatively large capacitance value. A MO3FET Q6 is provided in parallel with this capacitor C2'. The output signal of the counter circuit FF as shown in FIG. 2 is supplied to the gate of this MO3FETQ6. As a result, when the comparison circuit DC detects a password mismatch output a plurality of times, the MO8FET Q6 is turned on, and the boosted voltage Vcc' stored in the capacitor C2' is discharged at some point. As a result, a spike-like current with a relatively large current value flows through the ground line of the circuit.Since the ground line of the zero circuit includes a non-negligible resistance component and an inductance component, the current generates spike-like noise.

このノイズは、例えば0M03回路を構成するNチャン
ネルMOS F ETの接地電位を高く又は低くするた
め、前記同様なラッチアップを生じしめるトリガとなる
ものである。
This noise serves as a trigger for causing the same latch-up as described above, for example, in order to raise or lower the ground potential of the N-channel MOS FET constituting the 0M03 circuit.

これにより、上記MO3FETQ6の近辺に配置された
0M03回路の破壊が行われ、1チツプマイコロコンピ
ユータを前記同様な動作不能とし、その機密保護が図ら
れる。
As a result, the 0M03 circuit placed near the MO3FET Q6 is destroyed, rendering the 1-chip microcomputer inoperable in the same way as described above, and protecting its security.

上記した実施例から得られる作用効果は、下記の通りで
ある。
The effects obtained from the above embodiments are as follows.

+11内蔵ROMの読み出しモードを起動させるための
パスワードが1ないし複数回にわたって不一致ならば、
0M03回路にラッチアップを生じしめて回路機能を破
壊させてしまうことにより、第3者によるソフトウェア
の機密保護を確実に行うことができるという効果が得ら
れる。
+11 If the password to activate the internal ROM read mode does not match once or multiple times,
By causing latch-up in the 0M03 circuit and destroying the circuit function, it is possible to securely protect the security of software by a third party.

(2)パスワードの使用によって、ROMの読み出しが
可能になるため、そのテスティングを簡単に行うことが
できるという効果が得られる。
(2) Since the ROM can be read by using a password, it is possible to easily test the ROM.

(3)パスワードの入力端子も秘密にすることによって
、上記回路破壊と相俟ってパスワードの解読をいっそう
複雑にすることができるという効果が得られる。
(3) By making the password input terminal secret as well, it is possible to obtain the effect that, in combination with the above-mentioned circuit destruction, decoding the password can be made even more complicated.

(4)テスティング後にヒユーズ手段等によってROM
等の外部端子への出力機能を一切禁止してしまうものに
比べ、パスワードを知る限りいつでもその内容のテステ
ィングを行うことができるから、市場での不良解析やメ
ンテナンスにおいて極めて便利なものとなる。
(4) ROM by fuse means etc. after testing.
Compared to devices such as those that completely prohibit output functions to external terminals, as long as you know the password, you can test the contents at any time, making it extremely convenient for failure analysis and maintenance in the market.

以上本発明者によってなされた発明を実施例に基づき具
体的に説明したが、この発明は上記実施例に限定される
ものではなく、その要旨を逸脱しない範囲で種々変更可
能であることはいうまでもない。例えば、内蔵のROM
は、電気的に書き込みが行われる各種プログラマブルR
OMを用いるものであってもよい。また、回路破壊は、
上記CMOSランチアップの利用するのの他、特定の重
要な回路を構成する配線を前記昇圧電圧等を利用したラ
ッシュカレント等により断線させるもの、あるいはヒユ
ーズ手段を切断して、これによって内部回路の動作を不
能にするもの等実質的にその機能を不能にするものであ
れば何であってもよい。
Although the invention made by the present inventor has been specifically explained above based on Examples, it goes without saying that this invention is not limited to the above Examples and can be modified in various ways without departing from the gist thereof. Nor. For example, built-in ROM
is a variety of programmable R that is written electrically.
It may also be one that uses OM. In addition, circuit destruction
In addition to using the CMOS launch-up mentioned above, the wires constituting a specific important circuit can be broken by rush current using the boosted voltage, etc., or the fuse means can be cut, thereby operating the internal circuit. Anything that substantially disables the function may be used.

また、lチップマイクロコンピュータのシステム構成は
種々の実施例形態を採ることができるものであり、機能
拡張のためにA/D変換器等のけ加回路を内蔵させるも
のであってもよい。
Further, the system configuration of the l-chip microcomputer can take various embodiments, and may include a built-in addition circuit such as an A/D converter for functional expansion.

以上の説明では主として本発明者によってなされた発明
をその背景となった利用分野である1チツブマイクロコ
ンピュータに適用した場合について説明したが、それに
限定されるものではなく、例えば、各種ゲーム、いわゆ
るICカード等のようにマイクロコンピュータ機能を持
つ各種半導体集積回路装置に広(利用できるものである
The above explanation has mainly been about the application of the invention made by the present inventor to a one-chip microcomputer, which is the background field of application, but the invention is not limited thereto. It can be widely used in various semiconductor integrated circuit devices having microcomputer functions such as IC cards.

〔発明の効果〕〔Effect of the invention〕

本願において開示される発明のうち代表的なものによっ
て得られる効果を簡単に説明すれば、下記の通りである
。すなわち、内蔵ROMの読み出しモードを起動させる
ためにパスワードを用いることによって、その読み出し
を可能にするとともに、パスワードが1ないし複数回に
わたって不一致ならば、内部回路を実質的に破壊してそ
の回路機能を不能にしてしまうことにより、第3者によ
るソフトウェアの機密保護を確実に行うことができる。
A brief explanation of the effects obtained by typical inventions disclosed in this application is as follows. That is, by using a password to activate the read mode of the built-in ROM, it is possible to read the built-in ROM, and if the password does not match once or multiple times, the internal circuit is essentially destroyed and the circuit function is disabled. By disabling the software, security protection of the software by a third party can be ensured.

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

第1図は、この発明が通用されたlチップマイクロコン
ピュータの一実施例を示すブロック図、第2図は、その
比較回路と昇圧回路を含むInI3 保護回路の一実施例を示すブロック図、第3図は、その
昇圧回路の一実施例を示す回路図、 第4図は、この発明の他の一実施例を示す機密保護回路
の要部回路図である。 CPU−C0NT・・CPUコントローラ、ALU・・
算4FI it理ユニット、A・・アキュムレータ、X
・・インデックスレジスタ、CC・・コンディションコ
ードレジスタ、SP・・スタックポインタ、PCI、P
CL・・プログラムカウンタ、RAM・・ランダム・ア
クセス・メモリ、ROM・・リード・オンリー・メモリ
、Ilo・・入出力ポート、!・・入力専用ポート、O
SC・・発振回路、C0UNT・・カウンタ、C0NT
・・コントローラ、PR・・プリスケーラ、BUS・・
バス、CMP・・比較回路、DC・・ディジタルコンパ
レータ、Fl〜F4・・フリップフロップ回路、VG・
・昇圧回路、G・・アンドゲート第1図 第2図 ;   φ1 ローーー] 第 3 図 第 4 図 MP
FIG. 1 is a block diagram showing an embodiment of an l-chip microcomputer to which the present invention is applied; FIG. 2 is a block diagram showing an embodiment of an InI3 protection circuit including a comparator circuit and a booster circuit; FIG. 3 is a circuit diagram showing one embodiment of the booster circuit, and FIG. 4 is a circuit diagram of a main part of a security protection circuit showing another embodiment of the present invention. CPU-C0NT...CPU controller, ALU...
Arithmetic 4FI IT unit, A...accumulator, X
・・Index register, CC・・Condition code register, SP・・Stack pointer, PCI, P
CL...Program counter, RAM...Random access memory, ROM...Read-only memory, Ilo...I/O port,!・Input-only port, O
SC: Oscillation circuit, C0UNT: Counter, C0NT
・・Controller, PR・・Prescaler, BUS・・
Bus, CMP...comparison circuit, DC...digital comparator, Fl~F4...flip-flop circuit, VG...
・Boost circuit, G...AND gate Figure 1 Figure 2; φ1 low] Figure 3 Figure 4 MP

Claims (1)

【特許請求の範囲】 1、記憶回路の記憶情報を外部端子へ出力させることを
可能とするためのパスワードの識別機能と、上記パスワ
ードの不一致結果にもとづいて内部回路を破壊させる機
密保護回路とを具備することを特徴とする半導体集積回
路装置。 2、上記機密保護回路は、上記パスワードの不一致出力
が複数回検出されたとき、昇圧電圧によって内部CMO
S回路にラッチアップを生じしめるものであることを特
徴とする特許請求の範囲第1項記載の半導体集積回路装
置。 3、上記半導体集積回路装置はマイクロコンピュータ機
能を持つものであり、上記記憶回路はそのプログラム又
はデータが格納されるROMであることを特徴とする特
許請求の範囲第1項記載の半導体集積回路装置。
[Scope of Claims] 1. A password identification function for making it possible to output the stored information of the memory circuit to an external terminal, and a security protection circuit that destroys the internal circuit based on the result of the mismatch of the passwords. A semiconductor integrated circuit device comprising: 2. When the above-mentioned security protection circuit detects a plurality of password mismatch outputs, the internal CMO is activated by a boosted voltage.
2. The semiconductor integrated circuit device according to claim 1, wherein the semiconductor integrated circuit device causes latch-up in the S circuit. 3. The semiconductor integrated circuit device according to claim 1, wherein the semiconductor integrated circuit device has a microcomputer function, and the storage circuit is a ROM in which the program or data thereof is stored. .
JP61025876A 1986-02-10 1986-02-10 Semiconductor integrated circuit device Pending JPS62184537A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61025876A JPS62184537A (en) 1986-02-10 1986-02-10 Semiconductor integrated circuit device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61025876A JPS62184537A (en) 1986-02-10 1986-02-10 Semiconductor integrated circuit device

Publications (1)

Publication Number Publication Date
JPS62184537A true JPS62184537A (en) 1987-08-12

Family

ID=12177987

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61025876A Pending JPS62184537A (en) 1986-02-10 1986-02-10 Semiconductor integrated circuit device

Country Status (1)

Country Link
JP (1) JPS62184537A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4759085B2 (en) * 2006-05-10 2011-08-31 ユーロピアン エアロノティック ディフェンス アンド スペース カンパニー イーズ フランス Component with integrated circuit having crypto processor and method of installing the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4759085B2 (en) * 2006-05-10 2011-08-31 ユーロピアン エアロノティック ディフェンス アンド スペース カンパニー イーズ フランス Component with integrated circuit having crypto processor and method of installing the same

Similar Documents

Publication Publication Date Title
KR100977675B1 (en) Integrated circuit security and method therefor
US4513389A (en) ROM security circuit
US6924663B2 (en) Programmable logic device with ferroelectric configuration memories
US5790873A (en) Method and apparatus for power supply switching with logic integrity protection
JPH02199561A (en) Safety device for unpermitted protected data detection
KR20070054673A (en) Method and apparatus for protecting an integrated circuit from erroneous operation
JP2003198361A (en) Programmable logical device
US5306961A (en) Low-power integrated circuit with selectable battery modes
JP2003296680A (en) Data processor
JPS62121374A (en) Test mode starting circuit
KR20000069734A (en) A microcontroller having special mode enable detection circuitry and a method of operation therefore
JPH09106329A (en) Memory card
JPS62184537A (en) Semiconductor integrated circuit device
US20090158445A1 (en) Security Circuit for Power Up
KR100235390B1 (en) Semiconductor integrated circuit device with copy prevention function
US5838256A (en) Electronic key with three modes of automatic self-disablement
EP3929783A1 (en) Devices and methods to secure a system on a chip
JP3720878B2 (en) IC card
JP2504502B2 (en) Integrated circuit card
US20200341058A1 (en) Time-limited debug mode
RU2245977C2 (en) Electronic key
JPH1078920A (en) Microcomputer
JP2854610B2 (en) Portable electronic devices
JPH02171984A (en) Semiconductor integrated circuit
JPH0535890A (en) Microcomputer