JP2567699B2 - Semiconductor memory device - Google Patents

Semiconductor memory device

Info

Publication number
JP2567699B2
JP2567699B2 JP1093712A JP9371289A JP2567699B2 JP 2567699 B2 JP2567699 B2 JP 2567699B2 JP 1093712 A JP1093712 A JP 1093712A JP 9371289 A JP9371289 A JP 9371289A JP 2567699 B2 JP2567699 B2 JP 2567699B2
Authority
JP
Japan
Prior art keywords
data
semiconductor memory
processing device
data processing
signal line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP1093712A
Other languages
Japanese (ja)
Other versions
JPH02271446A (en
Inventor
正俊 木村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP1093712A priority Critical patent/JP2567699B2/en
Publication of JPH02271446A publication Critical patent/JPH02271446A/en
Application granted granted Critical
Publication of JP2567699B2 publication Critical patent/JP2567699B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータ処理装置に装着して使用する半導体記
憶装置に関するものである。
The present invention relates to a semiconductor memory device mounted on a data processing device for use.

〔従来の技術〕[Conventional technology]

第3図は従来の半導体記憶装置のブロック図である。
この半導体記憶装置は図示しないデータ処理装置に装着
して使用される。そのためデータ処理装置と接続される
電源入力線10,アドレスバス11,ライトイネーブル信号線
12,アウトプットイネーブル信号線13,チップイネーブル
信号線14及びデータバス15を備えている。
FIG. 3 is a block diagram of a conventional semiconductor memory device.
This semiconductor memory device is used by mounting it on a data processing device (not shown). Therefore, the power input line 10, address bus 11, write enable signal line connected to the data processing device
12, an output enable signal line 13, a chip enable signal line 14 and a data bus 15.

電源入力線10は入力電圧が所定値になると電圧を出力
する電源制御回路6と、アドレスバスバッファ2と、ア
ドレスデコーダ4と3ステート双方向バッファ(以下双
方向バッファという)5の電源端子とに接続され、また
電源制御回路6を介して内部電源線24と接続される。ま
た電源入力線10は、入力抵抗22を介して接地され、プル
アップ抵抗21,21,21を各別に介してライトイネーブル信
号線12,アウトプットイネーブル信号線13,チップイネー
ブル信号線14と接続される。内部電源線24は3ステート
単方向バッファ(以下単方向バッファという)3,スタチ
ックRAMからなる半導体メモリ1a…1nの各電源端子及び
逆流防止ダイオード9のカソードと接続される。そのダ
イオード9のアノードは電流制限抵抗8を介して電池7
の正極と接続され、その負極は接地される。更に内部電
源線24はプルアップ抵抗20を介して単方向バッファ3,ア
ドレスデコーダ4及び双方向バッファ5の各ゲート端子
と接続される。アドレスバス11はアドレスバスバッフ
ァ2の入力側及びアドレスデコーダ4の選択信号端子A,
B,Cと接続され、またプルダウン抵抗23を介して接地さ
れる。アドレスバスバッファ2の出力側は半導体メモリ
1a…1nの各アドレス端子ADDと接続される。ライトイネ
ーブル信号線12及びアウトプットイネーブル信号線13は
単方向バッファ3を介して半導体メモリ1a…1nのライト
イネーブル端子▲▼及びアウトプットイネーブル端
子▲▼と各別に接続される。
The power supply input line 10 is connected to a power supply control circuit 6 that outputs a voltage when the input voltage reaches a predetermined value, an address bus buffer 2, an address decoder 4, and a power supply terminal of a 3-state bidirectional buffer (hereinafter referred to as bidirectional buffer) 5. It is also connected to the internal power supply line 24 via the power supply control circuit 6. The power input line 10 is grounded via an input resistor 22, and is connected to the write enable signal line 12, the output enable signal line 13, and the chip enable signal line 14 via pull-up resistors 21, 21, 21 separately. It The internal power supply line 24 is connected to the three-state unidirectional buffer (hereinafter referred to as unidirectional buffer) 3, each power supply terminal of the semiconductor memories 1a ... 1n composed of static RAM, and the cathode of the backflow prevention diode 9. The anode of the diode 9 is connected to the battery 7 via the current limiting resistor 8.
Is connected to the positive electrode and the negative electrode is grounded. Further, the internal power supply line 24 is connected to each gate terminal of the unidirectional buffer 3, the address decoder 4 and the bidirectional buffer 5 via the pull-up resistor 20. The address bus 11 is connected to the input side of the address bus buffer 2 and the selection signal terminal A of the address decoder 4,
It is connected to B and C and is also grounded via a pull-down resistor 23. The output side of the address bus buffer 2 is a semiconductor memory
Connected to each address pin ADD of 1a ... 1n. The write enable signal line 12 and the output enable signal line 13 are separately connected to the write enable terminal ▲ ▼ and the output enable terminal ▲ ▼ of the semiconductor memories 1a ... 1n via the unidirectional buffer 3.

チップイネーブル信号線14は単方向バッファ3のチッ
プイネーブル端子▲▼と接続される。電源制御回路
6の保護信号線16は単方向バッファ3及びアドレスデコ
ーダ4の各ゲート端子Gと夫々接続され、またプルダウ
ン抵抗23を介して接地される。アドレスデコーダ4のチ
ップ選択信号線19a…19nは半導体メモリ1a…1nの各チッ
プイネーブル端子▲▼に各別に接続される。半導体
メモリ1a…1nのデータ端子DATAは、双方向バッファ5を
介してデータバス15と接続される。前記半導体メモリ1a
のアウトプットイネーブル端子▲▼と接続された方
向制御信号線18は双方向バッファ5の方向制御信号端子
DIRと接続される。
The chip enable signal line 14 is connected to the chip enable terminal ▲ ▼ of the unidirectional buffer 3. The protection signal line 16 of the power supply control circuit 6 is connected to each gate terminal G of the unidirectional buffer 3 and the address decoder 4, and is also grounded via the pull-down resistor 23. 19n of the address decoder 4 are separately connected to the chip enable terminals ▲ ▼ of the semiconductor memories 1a ... 1n. The data terminals DATA of the semiconductor memories 1a ... 1n are connected to the data bus 15 via the bidirectional buffer 5. The semiconductor memory 1a
The direction control signal line 18 connected to the output enable terminal ▲ ▼ of is the direction control signal terminal of the bidirectional buffer 5.
Connected with DIR.

次にこの半導体記憶装置の動作を説明する。 Next, the operation of this semiconductor memory device will be described.

図示しないデータ処理装置から半導体記憶装置を取り
外した場合には、内部電源線24に電流制限抵抗8及び逆
流防止ダイオード9を介して電池7の電圧が印加され
る。また電源入力線10への給電が遮断されるので電源制
御回路6の保護信号線16は“L"になり単方向バッファ3
及びアドレスデコーダ4はディセイブル(非動作)状態
になる。それにより、アドレスデコーダ4のチップ選択
信号線19a…19nはいずれも“H"となり、半導体メモリ1a
…1nの各チップイネーブル端子▲▼はディセイブル
状態になり、半導体メモリ1a…1nは待機状態を保持す
る。このとき、半導体メモリ1a…1nの消費電流は極めて
小さく、電池7によって記憶データは長時間保持され
る。
When the semiconductor memory device is removed from the data processing device (not shown), the voltage of the battery 7 is applied to the internal power supply line 24 through the current limiting resistor 8 and the backflow prevention diode 9. Further, since the power supply to the power supply input line 10 is cut off, the protection signal line 16 of the power supply control circuit 6 becomes "L" and the unidirectional buffer 3
And the address decoder 4 is in a disable (non-operation) state. As a result, all the chip selection signal lines 19a ... 19n of the address decoder 4 become "H", and the semiconductor memory 1a
1n chip enable terminals (1) are disabled, and the semiconductor memories 1a ... 1n hold a standby state. At this time, the current consumption of the semiconductor memories 1a ... 1n is extremely small, and the battery 7 holds the stored data for a long time.

一方、データ処理装置へ半導体記憶装置を装着した場
合は、データ処理装置から電源入力線10に給電されるの
で、電源制御回路6が動作して電源入力線10と内部電源
線24とが導通し、電源入力線10の電圧を内部電源線24に
印加する。そして保護信号線16が“H"になって、単方向
バッファ3及びアドレスデコーダ4のゲート端子Gがイ
ネーブル状態になる。このとき内部電源線24の電圧が電
池7の電圧より高いため、逆流防止ダイオード9を通っ
て電池7の電流は流れない。そしてデータ処理装置と半
導体メモリ1a…1nとの間でデータの読み出し,書き込み
をする場合はアドレスバス11の信号をアドレスデコーダ
4の選択信号端子A,B,Cに与えてその信号に対応するチ
ップ選択信号19a…19nにより半導体メモリ1a…1nを選択
する。アウトプットイネーブル信号線13に信号を与えは
場合は、単方向バッファ3から方向制御信号が与えられ
る方向制御信号線18は“L"レベルになり、双方向バッフ
ァ5のデータ伝送方向はX端子からY端子方向になり、
半導体メモリ1a…1nから読み出した記憶データをデータ
バス15へ出力する。またライトイネーブル信号線12に信
号を与えることにより、方向制御信号線18は“H"レベル
になり、双方向バッファ5のデータ伝送方向はY端子か
らX端子方向になって、データバス15に与えられている
データを半導体メモリ1a…1nに与えて、半導体メモリ1a
…1nにそのデータを書き込むことになる。
On the other hand, when the semiconductor memory device is attached to the data processing device, power is supplied from the data processing device to the power input line 10, so that the power control circuit 6 operates and the power input line 10 and the internal power line 24 are electrically connected. , The voltage of the power input line 10 is applied to the internal power line 24. Then, the protection signal line 16 becomes "H", and the unidirectional buffer 3 and the gate terminal G of the address decoder 4 are enabled. At this time, since the voltage of the internal power supply line 24 is higher than the voltage of the battery 7, the current of the battery 7 does not flow through the backflow prevention diode 9. When data is read or written between the data processing device and the semiconductor memories 1a ... 1n, the signal of the address bus 11 is applied to the selection signal terminals A, B and C of the address decoder 4 and the chip corresponding to the signal is applied. The semiconductor memories 1a ... 1n are selected by the selection signals 19a ... 19n. When a signal is given to the output enable signal line 13, the direction control signal line 18 to which the direction control signal is given from the unidirectional buffer 3 becomes "L" level, and the data transmission direction of the bidirectional buffer 5 is from the X terminal. Toward the Y terminal,
The storage data read from the semiconductor memories 1a ... 1n are output to the data bus 15. Further, by giving a signal to the write enable signal line 12, the direction control signal line 18 becomes "H" level, the data transmission direction of the bidirectional buffer 5 is changed from the Y terminal to the X terminal, and is given to the data bus 15. The data stored in the semiconductor memory 1a ... 1n
… The data will be written to 1n.

なお、入力抵抗22により単方向バッファ3の入力レベ
ルを所定値に保持する。またプルダウン抵抗23,23によ
りアドレスデコーダ4の入力レベルを所定値に保持す
る。
The input resistance 22 holds the input level of the unidirectional buffer 3 at a predetermined value. The pull-down resistors 23, 23 hold the input level of the address decoder 4 at a predetermined value.

一方、特開昭60−207991号公報には、外部装置の操作
により出力される暗証番号が所定の暗証番号と一致した
場合のみ、外部装置が、それに装着されたカード内のメ
モリの記憶データを読み取れるようにしている個人識別
カードが示されている。
On the other hand, in Japanese Patent Laid-Open No. 60-207991, only when the personal identification number output by the operation of the external device matches a predetermined personal identification number, the external device stores the data stored in the memory in the card attached to the external device. The personal identification card that is intended to be read is shown.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

前述したように半導体記憶装置は、受動的機能部品で
あるメモリ及びバッファIC等で構成されているため、デ
ータ処理装置に装着してアウトプットイネーブル信号又
はライトイネーブル信号を与えると、半導体メモリから
記憶データを読み出すことができ、又はデータを書き込
むことができる。
As described above, the semiconductor memory device is composed of a memory, a buffer IC, etc., which are passive functional parts, and therefore, when mounted on a data processing device and given an output enable signal or a write enable signal, the memory is stored from the semiconductor memory. Data can be read or data can be written.

したがって、装着ができてデータ形式が一致している
データ処理装置があれば半導体記憶装置に対してデータ
を自由に読み出し/書き込みができて、記憶データの秘
密を保持できず、また記憶データが破壊される虞れがあ
るという問題がある。また、特開昭60−207991号公報に
示されている個人識別カードは、外部装置から出力され
た暗証番号と個人識別カードに記憶している暗証番号と
が一致した場合に、カート内の記憶データを読み出し得
るものであり、特定の外部装置以外の外部装置によって
もカード内の記憶データを読み出すことができ、記憶デ
ータの読み出しは、特定のデータ処理装置に限定されな
いという問題がある。
Therefore, if there is a data processing device that can be mounted and the data format is the same, the data can be freely read / written to / from the semiconductor memory device, the confidentiality of the memory data cannot be held, and the memory data is destroyed. There is a problem that it may be The personal identification card disclosed in Japanese Patent Laid-Open No. 60-207991 is stored in the cart when the personal identification number output from the external device matches the personal identification number stored in the personal identification card. Since the data can be read, the storage data in the card can be read by an external device other than the specific external device, and there is a problem that the reading of the storage data is not limited to the specific data processing device.

本発明は斯かる問題に鑑み、特定のデータ処理装置に
限り半導体メモリをアクセスし得て記憶データの読み出
し/書き込みができる半導体記憶装置を提供することを
目的とする。
In view of such a problem, it is an object of the present invention to provide a semiconductor memory device capable of accessing a semiconductor memory and reading / writing stored data only in a specific data processing device.

〔課題を解決するための手段〕[Means for solving the problem]

本発明に係る半導体記憶装置は、半導体メモリを内蔵
しており、データ処理装置に装着して使用する半導体記
憶装置において、前記データ処理装置が前記半導体メモ
リをアクセスすべく出力する、データ処理装置を特定す
る暗証データを信号線を介して受け取るCPUと、前記半
導体メモリに対し、記憶データの読み出し/書き込みを
可能または不可能にする保護手段と、前記CPUと前記デ
ータ処理装置との間で前記信号線を介してデータを送受
し得る状態を、前記暗証データが前記CPUにより予め記
憶している暗証データと一致した場合に、前記信号線を
介して前記半導体メモリと前記データ処理装置との間で
データを送受可能な状態に切り換える切換手段とを備
え、該切換手段により半導体メモリとデータ処理装置と
の間でデータを送受可能な状態に切換えた場合は、前記
保護手段により半導体メモリに対し記憶データの読み出
し/書き込みを可能になすべく構成してあることを特徴
とする。
A semiconductor memory device according to the present invention has a built-in semiconductor memory, and in a semiconductor memory device mounted and used in a data processing device, the data processing device outputs the semiconductor memory so as to access the semiconductor memory device. A CPU for receiving the identification data for specifying via a signal line, a protection means for enabling / disabling the reading / writing of the stored data with respect to the semiconductor memory, and the signal between the CPU and the data processing device. A state in which data can be transmitted and received via a line, when the password data matches with the password data stored in advance by the CPU, between the semiconductor memory and the data processing device via the signal line. A switching means for switching to a state in which data can be transmitted and received, and a state in which data can be transmitted and received between the semiconductor memory and the data processing device by the switching means. If switched to is characterized in that to the semiconductor memory by said protection means are constituted to be capable of forming a read / write memory data.

〔作用〕[Action]

データ処理装置が半導体メモリをアクセスすべく出力
する、データ処理装置を特定する暗証データを信号線を
介してCPUが受け取る。CPUが受け取った前記暗証データ
と、CPUにより予め記憶している暗証データとが一致す
ると、CPUとデータ処理装置との間で前記信号線を介し
てデータを送受し得る状態に切り換える。前記信号線を
介して半導体メモリとデータ処理装置との間でデータを
送受可能な状態に切り換えた場合、保護手段により半導
体メモリに対し、記憶データの読み出し/書き込みを可
能にする。
The CPU receives, via the signal line, personal identification data that the data processing device outputs to access the semiconductor memory and that specifies the data processing device. When the personal identification data received by the CPU and the personal identification data stored in advance by the CPU match, the CPU and the data processing device are switched to a state in which data can be transmitted and received via the signal line. When the semiconductor memory and the data processing device are switched to a state in which data can be transmitted and received via the signal line, the protection means enables reading / writing of stored data with respect to the semiconductor memory.

〔実施例〕〔Example〕

以下本発明をその実施例を示す図面によって詳述す
る。
Hereinafter, the present invention will be described in detail with reference to the drawings showing its embodiments.

第1図は本発明に係る半導体記憶装置のブロック図で
ある。この半導体記憶装置は図示しないデータ処理装置
に装着して使用されるため、データ処理装置と接続され
る電源入力線10,アドレスバス11,ライトイネーブル信号
線12,アウトプットイネーブル信号線13,チップイネーブ
ル信号線14及びデータバス15を備えている。電源入力線
10は入力電圧が所定値になる電圧を出力する電源制御回
路6と、アドレスバスバッファ2と、アドレスデコータ
4と、3ステート双方向バッファ(以下双方向バッファ
という)5の電源端子とに接続され、また電源制御回路
6を介して内部電源線24と接続される。また電源入力線
10は入力抵抗22を介して接地され、プルアップ抵抗21,2
1,21を各別に介してライトイネーブル信号線12,アウト
プットイネーブル信号線13,チップイネーブル信号線14
と接続される。内部電源線24は3ステート単方向バッフ
ァ(以下単方向バッファという)3,スタチックRAMから
なる半導体メモリ1a…1nの各電源端子及び逆流防止ダイ
オード9のカソードと接続される。そのダイオード9の
アノードは電流制限抵抗8を介して電池7の正極と接続
され、その負極は接地される。更に内部電源線24はプル
アップ抵抗20を介して単方向バッファ3,アドレスデコー
ダ4及び双方向ブッファ5の各ゲート端子▲▼と接続
される。アドレスバス11はアドレスバスバッファ2の入
力側及びアドレスデコーダ4の選択信号端子A,B,Cと接
続され、プルダウン抵抗23を介して接地される。
FIG. 1 is a block diagram of a semiconductor memory device according to the present invention. Since this semiconductor memory device is mounted on a data processing device (not shown) and used, a power input line 10, an address bus 11, a write enable signal line 12, an output enable signal line 13, and a chip enable connected to the data processing device are used. It has a signal line 14 and a data bus 15. Power input line
Reference numeral 10 is connected to a power supply control circuit 6 for outputting a voltage whose input voltage is a predetermined value, an address bus buffer 2, an address decoder 4, and a power supply terminal of a 3-state bidirectional buffer (hereinafter referred to as bidirectional buffer) 5. And is connected to the internal power supply line 24 via the power supply control circuit 6. Also power input line
10 is grounded via an input resistor 22 and pull-up resistors 21,2
Write enable signal line 12, output enable signal line 13, chip enable signal line 14 via 1 and 21 separately
Connected to The internal power supply line 24 is connected to the three-state unidirectional buffer (hereinafter referred to as unidirectional buffer) 3, each power supply terminal of the semiconductor memories 1a ... 1n composed of static RAM, and the cathode of the backflow prevention diode 9. The anode of the diode 9 is connected to the positive electrode of the battery 7 via the current limiting resistor 8, and the negative electrode thereof is grounded. Further, the internal power supply line 24 is connected to each gate terminal (1) of the unidirectional buffer 3, the address decoder 4 and the bidirectional buffer 5 via the pull-up resistor 20. The address bus 11 is connected to the input side of the address bus buffer 2 and the selection signal terminals A, B and C of the address decoder 4, and is grounded via the pull-down resistor 23.

アドレスバスバッファ2の出力側は半導体メモリ1a…
1nの各アドレス端子ADDと接続される。ライトイネーブ
ル信号線12及びアウトプットイネーブル信号線13は単方
向バッファ3を介して、半導体メモリ1a…1nのライトイ
ネーブル端子▲▼及びアウトプットイネーブル端子
▲▼各別に接続される。チップイネーブル信号線14
は単方向バッファ3のチップイネーブル端子▲▼と
接続される。電源制御回路6の保護信号線16はAND回路3
1の一入力端子31aと接続され、その出力端子31cは単方
向バッファ3及びアドレスデコーダ4の各ゲート端子G
と接続され、プルダウン抵抗23を介して接地される。ア
ドレスデコーダ4がチップ選択信号を与えるチップ選択
信号線19a…19nは、半導体メモリ1a…1nの各チップイネ
ーブル端子▲▼と各別に接続される。アドレスデコ
ーダ4の割込み信号を出力する割込み信号線29はCPU25
の割込み端子DVと接続される。このCPU25のクロック端
子CKにはクロック発生回路27のクロックが与えられ、リ
セット端子RSにはリセット回路28からリセット信号が与
えられる。このリセット信号は半導体記憶装置をデータ
処理装置に装着後、所定時間出力されるようになってい
る。また出力端子OPは前記AND回路31の他入力端子31bと
接続される。このCPU25は例えばメモリ内蔵の1チップ
マイクロコンピュータまたは外部メモリの接続可能な1
チップマイクロコンピュータを用いる。この、CPU25は
電源投入後、リセット解除後の出力端子OP及び入出力端
子IOPはフローティング状態になる。半導体メモリ1a…1
nのデータ端子DATAは双方向バッファ5を介してデータ
バス15と接続される。データバス15のうちのデータ線15
aは切換スイッチ26の切換接点26cと接続されている。切
換スイッチ26の一側固定接点26aは第1のデータ線15b1
を介して前記CPU25の入力出力端子IOPと接続される。ま
た、この第1のデータ線15b1はプルアップ抵抗21を介し
て前記電源入力線10と接続される。切換スイッチ26の他
側固定接点26bと接続された第2のデータ線15b2は双方
向バッファ5にデータ線15aを接続すべきデータ線端子
と接続される。また切換接点26cを切換制御すべく信号
を与えるゲート端子GTが接続された秘密保全信号線30は
プルダウン抵抗23を介して接地され、またCPU25の出力
端子OPと接続される。切換スイッチ26は、そのゲートGT
に“H"の信号が与えられると切換接点26cが他側固定接
点26b側、つまり双方向バッファ5側に切り換わり、
“L"の信号が与えられると一側固定接点26a側、つまりC
PU25側に切り換る。
The output side of the address bus buffer 2 is the semiconductor memory 1a ...
Connected to each 1n address pin ADD. The write enable signal line 12 and the output enable signal line 13 are connected via the unidirectional buffer 3 to the write enable terminal ▲ ▼ and the output enable terminal ▲ ▼ of the semiconductor memories 1a ... 1n. Chip enable signal line 14
Is connected to the chip enable terminal ▲ ▼ of the unidirectional buffer 3. The protection signal line 16 of the power supply control circuit 6 is an AND circuit 3
1 is connected to one input terminal 31a, and its output terminal 31c is connected to each gate terminal G of the unidirectional buffer 3 and the address decoder 4.
And is grounded via a pull-down resistor 23. 19n to which the address decoder 4 gives a chip selection signal are separately connected to the respective chip enable terminals ▲ ▼ of the semiconductor memories 1a ... 1n. The interrupt signal line 29 for outputting the interrupt signal of the address decoder 4 is the CPU 25
Connected to the interrupt terminal DV of. The clock of the clock generation circuit 27 is given to the clock terminal CK of the CPU 25, and the reset signal is given from the reset circuit 28 to the reset terminal RS. The reset signal is output for a predetermined time after the semiconductor memory device is attached to the data processing device. The output terminal OP is connected to the other input terminal 31b of the AND circuit 31. This CPU 25 is, for example, a 1-chip microcomputer with a built-in memory or an external memory connectable 1
A chip microcomputer is used. After the CPU 25 is powered on, the output terminal OP and the input / output terminal IOP are in a floating state after the reset is released. Semiconductor memory 1a ... 1
The data terminal DATA of n is connected to the data bus 15 via the bidirectional buffer 5. Data line 15 of data bus 15
a is connected to the changeover contact 26c of the changeover switch 26. The one-side fixed contact 26a of the changeover switch 26 has the first data line 15b 1
Via the input / output terminal IOP of the CPU 25. Further, the first data line 15b 1 is connected to the power supply input line 10 via the pull-up resistor 21. The second data line 15b 2 connected to the other side fixed contact 26b of the changeover switch 26 is connected to the data line terminal to which the data line 15a should be connected to the bidirectional buffer 5. Further, the secret security signal line 30 to which the gate terminal GT for giving a signal to switch and control the switching contact 26c is connected is grounded via the pull-down resistor 23 and is also connected to the output terminal OP of the CPU 25. Changeover switch 26 has its gate GT
When the signal of "H" is given to, the switching contact 26c switches to the other side fixed contact 26b side, that is, the bidirectional buffer 5 side,
When the "L" signal is given, the one side fixed contact 26a side, that is, C
Switch to PU25 side.

次にこのように構成した半導体記憶装置の動作を説明
する。
Next, the operation of the semiconductor memory device thus configured will be described.

いま、図示しないデータ処置装置から半導体記憶装置
を取り外した場合は、内部電源線24に電流制限抵抗8及
び逆流防止ダイオード9を介して電池7の電圧が印加さ
れる。また電源入力線10への給電が遮断されるので電源
制御回路6の保護信号線は“L"になり、単方向バッファ
3及びアドレスデコーダ4はディセイブル状態になるそ
れによりアドレスデコーダ4のチップ選択信号線19a…1
9nはいずれも“H"となり、半導体メモリ1a…1nの各チッ
プイネーブル端子▲▼はディセイブル状態になり、
半導体メモリ1a…1nは待機状態を保持する。このとき半
導体メモリ1a…1nの消費電流は極めて小さく、電池7に
よって記憶データは長時間保持される。
When the semiconductor memory device is removed from the data processing device (not shown), the voltage of the battery 7 is applied to the internal power supply line 24 via the current limiting resistor 8 and the backflow prevention diode 9. Further, since the power supply to the power supply input line 10 is cut off, the protection signal line of the power supply control circuit 6 becomes "L", and the unidirectional buffer 3 and the address decoder 4 are disabled. Line 19a ... 1
All 9n become "H", each chip enable terminal ▲ ▼ of semiconductor memory 1a ... 1n becomes disable state,
The semiconductor memories 1a ... 1n hold a standby state. At this time, the current consumption of the semiconductor memories 1a ... 1n is extremely small, and the battery 7 holds the stored data for a long time.

また、CPU25は、クロック発生回路27及びリセット回
路28が動作しないため、秘密保全信号線30はプルダウン
抵抗23により接地レベルになる。
Further, in the CPU 25, since the clock generation circuit 27 and the reset circuit 28 do not operate, the security signal line 30 is set to the ground level by the pull-down resistor 23.

次に半導体記憶装置をデータ処理装置へ装着した場合
には、電源入力線10に所定電圧以上の電圧が印加され、
電源制御回路6が動作して、電源入力線10と内部電源線
24とが導通状態になり、保護信号線16が“H"レベルにな
って、AND回路31の一入力端子31aは“H"になる。また半
導体記憶装置の装着によりCPU25が一旦リセット状態に
なり、そのリセット解除後は秘密保全信号線30が“L"レ
ベルにあるため、AND回路31の他入力端子31bは“L"レベ
ルにあり、その出力端子31cは“L"レベルとなる。その
ため単方向バッファ3及びアドレスデコーダ4がディセ
イブル状態になり、半導体メモリ1a…1nを選択しない。
またこのとき切換スイッチ26のゲート端子GTは“L"レベ
ルになっているから、切換接点26cは一側固定接点26c側
に切り換わっていてCPU25と接続されたままでありデー
タ処理装置から半導体メモリ1a…1nをアクセスできな
い。
Next, when the semiconductor memory device is attached to the data processing device, a voltage higher than a predetermined voltage is applied to the power input line 10.
The power supply control circuit 6 operates and the power supply input line 10 and the internal power supply line
24 becomes conductive, the protection signal line 16 becomes "H" level, and one input terminal 31a of the AND circuit 31 becomes "H". Further, since the CPU 25 is once reset by mounting the semiconductor memory device and the secret protection signal line 30 is at “L” level after the reset is released, the other input terminal 31b of the AND circuit 31 is at “L” level, The output terminal 31c becomes "L" level. Therefore, the unidirectional buffer 3 and the address decoder 4 are in the disable state, and the semiconductor memories 1a ... 1n are not selected.
At this time, since the gate terminal GT of the changeover switch 26 is at the "L" level, the changeover contact 26c is switched to the one-side fixed contact 26c side and remains connected to the CPU 25. … Inaccessible 1n.

しかし乍らCPU25とデータ処理装置との間でのデータ
の送受が可能になる。
However, it becomes possible to send and receive data between the CPU 25 and the data processing device.

次に半導体記憶装置をデータ処理装置に装着した場合
の制御手順を示す第2図のフローチャートとともに説明
する。
Next, description will be given with reference to the flowchart of FIG. 2 showing a control procedure when the semiconductor memory device is attached to the data processing device.

半導体記憶装置がデータ処理装置に装着されるとデー
タ処理装置は接続端子間の電圧を検出する等して装着さ
れたことを確認する(S1)。その後、データ処理装置は
半導体記憶装置の半導体メモリをアクセスすべくCPU25
へ暗証データを送信する(S2)。CPU25は予め記憶いて
いる暗証データと与えられた暗証データとを照合し、半
導体メモリ1a…1nのアクセスを許可するか否かを判定す
る(S3)。記憶データの読み出しを許可する場合は(S
4)、CPU25から切換スイッチ26の切換接点26c及びデー
タ線15aを介して、半導体メモリ1a…1nのアクセスを許
可するデータをデータ処理装置へ送信するとともに、CP
U25は秘密保全信号線30に“H"レベルの信号を与える。
それにより、AND回路31の他側入力端子31bが“H"にな
り、その出力端子31cが“H"になる。秘密保全信号線30
が“H"になったことにより、切換スイッチ26は切換接点
26cが他側固定接点26b側に切り換わり、データバス15は
全ビットが双方向バッファ5と接続される(S6)。
When the semiconductor memory device is attached to the data processing device, the data processing device detects the voltage between the connection terminals and confirms that it is attached (S1). After that, the data processing device uses the CPU 25 to access the semiconductor memory of the semiconductor memory device.
Send secret data to (S2). The CPU 25 collates the previously stored personal identification data with the given personal identification data, and determines whether to permit access to the semiconductor memories 1a ... 1n (S3). To allow reading of stored data (S
4), from the CPU 25, via the changeover contact 26c of the changeover switch 26 and the data line 15a, transmits data permitting access to the semiconductor memories 1a ...
U25 provides the "H" level signal to the security signal line 30.
As a result, the other input terminal 31b of the AND circuit 31 becomes "H" and its output terminal 31c becomes "H". Security signal line 30
Is changed to “H”, the changeover switch 26 becomes a changeover contact.
26c is switched to the other side fixed contact 26b side, and all bits of the data bus 15 are connected to the bidirectional buffer 5 (S6).

この状態になってデータ処理装置から半導体メモリ1a
…1nのアクセスが可能になり、データ処理装置は半導体
メモリ1a…1nの記憶データを読み出すことになる。
In this state, the data processing device is changed to the semiconductor memory 1a.
1n can be accessed, and the data processing device can read the storage data of the semiconductor memories 1a 1n.

一方、暗証データの不一致によりCPU25が記憶データ
の読み出しを許可できないデータ処理装置であると判断
した場合は(S5)、秘密保全信号線30を“L"レベルのま
まにする。そうすると切換スイッチ26の切換接点26cはC
PU25側に切り換わった状態を保持し、半導体メモリ1a…
1nをデータ処理装置からアクセスすることが不可能にな
り、半導体メモリ1a…1nの記憶データの秘密を保全する
ことになる。
On the other hand, if the CPU 25 determines that the data processing device cannot permit the reading of the stored data due to the mismatch of the password data (S5), the secret security signal line 30 is kept at the "L" level. Then, the changeover contact 26c of the changeover switch 26 is C
The semiconductor memory 1a ...
It becomes impossible to access 1n from the data processing device, and the secret of the stored data of the semiconductor memories 1a ... 1n is preserved.

前述したようにしてアクセスを許可するデータを送信
した場合は、切換スイッチ26の切換接点26cは一側固定
接点26a側に切り換わるため、データ処理装置とCPU25と
の間でデータの送受が不可能となる。そのためそれ以降
においてCPU25ヘデータ処理装置からデータ送信したい
場合には、データ処理装置からアドレスバス11にアドレ
スデコーダ4が割込み信号を出力し得る信号を与える
と、アドレスデコーダ4は割込み信号線29に割込み信号
を与えることになる。それにより、CPU25はデータ処理
装置がCPU25とのデータの送受を要求していることを知
ることができる。そしてCPU25が秘密保全信号線30を
“L"レベルにすることにより切換スイッチ26の切換接点
26cを一側固定接点側26cに切り換えてデータ線15aと第
2のデータ線15b2とが接続されて、CPU25とデータ処理
装置との間でデータの送受が可能になる。
When the data permitting access is transmitted as described above, the changeover contact 26c of the changeover switch 26 is switched to the one-side fixed contact 26a side, so that data transmission / reception cannot be performed between the data processing device and the CPU 25. Becomes Therefore, when it is desired to transmit data from the data processing device to the CPU 25 after that, when the data processing device provides the address bus 11 with a signal capable of outputting the interrupt signal, the address decoder 4 causes the interrupt signal line 29 to generate the interrupt signal. Will be given. Thereby, the CPU 25 can know that the data processing device requests transmission and reception of data with the CPU 25. Then, the CPU 25 sets the confidentiality protection signal line 30 to the “L” level to change the contact of the changeover switch 26.
26c and is connected to the data line 15a is switched to the one-side contact side 26c and the second data line 15b 2 is, it is possible to send and receive data between the CPU25 and the data processing device.

なお、ここまでは記憶データの読み出しについて説明
したが、半導体メモリへの記憶データの書き込みを行う
場合、更には記憶データの読み出し及び書き込みをする
場合も同様に行える。
Note that, so far, the reading of the stored data has been described, but the same can be performed when writing the stored data to the semiconductor memory and further when reading and writing the stored data.

このようにしてテータ処理装置と半導体メモリとのイ
ンタフェイスのための信号線及び端子数は従来のままで
記憶データの秘密保持機能を与えることができる。
In this way, the signal line and the number of terminals for the interface between the data processing device and the semiconductor memory can be provided as they are in the conventional manner to provide the confidentiality retaining function of the stored data.

なお、本実施例ではデータ線15aを1本のデータビッ
ト線としたが、全てのビット線を切換スイッチ26を介し
てCPU25に入出力端子IOPと接続するようにしてもよい。
またCPU25にクロック発生回路27を内蔵したが、データ
処理装置から外部クロックを得るようにしてもよい。更
にCPU25に与える割込み信号に代えてデータ処理装置か
ら外部割込み信号を与えてもよい。更にまた、半導体メ
モリ1a…1nをスタチックRAMとしたがEPROM,OTPROM又はE
EPROMであってもよい。この場合は電池7,電流制限抵抗
8及び逆流防止ダイオード9は不要となる。
Although the data line 15a is one data bit line in this embodiment, all the bit lines may be connected to the CPU 25 through the changeover switch 26 and the input / output terminal IOP.
Although the clock generating circuit 27 is built in the CPU 25, an external clock may be obtained from the data processing device. Further, an external interrupt signal may be given from the data processing device instead of the interrupt signal given to the CPU 25. Furthermore, the semiconductor memories 1a ... 1n are static RAM, but EPROM, OTPROM or E
It may be EPROM. In this case, the battery 7, the current limiting resistor 8 and the backflow prevention diode 9 are unnecessary.

〔発明の効果〕〔The invention's effect〕

以上詳述したように本発明によれば、特定のデータ処
理装置でのみ半導体メモリのアクセスが可能になり、半
導体メモリの記憶データの秘密を保持でき、また記憶デ
ータの破壊が防ぎ得る。また従来のインタフェイスのた
めの信号線及び端子をそのまま用い得るから構造が複雑
化せず、記憶データの秘密を保つとともに記憶データを
破壊することがない半導体記憶装置を安価に提供できる
優れた効果を奏する。
As described in detail above, according to the present invention, the semiconductor memory can be accessed only by a specific data processing device, the stored data in the semiconductor memory can be kept secret, and the stored data can be prevented from being destroyed. Further, since the signal lines and terminals for the conventional interface can be used as they are, the structure does not become complicated, the stored data is kept secret, and the semiconductor memory device which does not destroy the stored data can be provided at a low cost. Play.

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

第1図は本発明に係る半導体記憶装置のブロック図、第
2図は半導体記憶装置をデータ処理装置に装着した場合
の制御手順を示すフローチャート、第3図は従来の半導
体記憶装置のブロック図である。 1a・・・1n……半導体メモリ、3……3ステート単方向
バッファ、4……アドレスデコーダ、5……3ステート
双方向バッファ、6……電源制御回路、7……電池、10
……電源入力線、11……アドレスバス、12……ライトイ
ネーブル信号線、13…アウトプットイネーブル信号線、
14……チップイネーブル信号線、15……データバス、24
……内部電源線、25……CPU なお、図中、同一符号は同一又は、相当部分を示す。
FIG. 1 is a block diagram of a semiconductor memory device according to the present invention, FIG. 2 is a flowchart showing a control procedure when the semiconductor memory device is attached to a data processing device, and FIG. 3 is a block diagram of a conventional semiconductor memory device. is there. 1a ... 1n ... Semiconductor memory, 3 ... 3-state unidirectional buffer, 4 ... Address decoder, 5 ... 3-state bidirectional buffer, 6 ... Power control circuit, 7 ... Battery, 10
...... Power input line, 11 ...... Address bus, 12 ...... Write enable signal line, 13 ... Output enable signal line,
14 …… Chip enable signal line, 15 …… Data bus, 24
...... Internal power supply line, 25 ... CPU In the figures, the same symbols indicate the same or corresponding parts.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】半導体メモリを内蔵しており、データ処理
装置に装着して使用する半導体記憶装置において、 前記データ処理装置が前記半導体メモリをアクセスすべ
く出力する、データ処理装置を特定する暗証データを信
号線を介して受け取るCPUと、前記半導体メモリに対
し、記憶データの読み出し/書き込みを可能または不可
能にする保護手段と、前記CPUと前記データ処理装置と
の間で前記信号線を介してデータを送受し得る状態を、
前記暗証データが前記CPUにより予め記憶している暗証
データと一致した場合に、前記信号線を介して前記半導
体メモリと前記データ処理装置との間でデータ送受可能
な状態に切り換える切換手段とを備え、該切換手段によ
り半導体メモリとデータ処理装置との間でデータを送受
可能な状態に切換えた場合は、前記保護手段により半導
体メモリに対し記憶データの読み出し/書き込みを可能
になすべく構成してあることを特徴とする半導体記憶装
置。
1. A semiconductor memory device having a built-in semiconductor memory, which is mounted on and used in a data processing device, wherein the data processing device outputs the password for accessing the semiconductor memory to identify the data processing device. Via a signal line, a protection means for enabling / disabling the reading / writing of stored data with respect to the semiconductor memory, and a signal line between the CPU and the data processing device via the signal line. The state that data can be sent and received
Switching means for switching to a state in which data can be transmitted and received between the semiconductor memory and the data processing device via the signal line when the password data matches the password data stored in advance by the CPU. When the switching means switches to a state in which data can be sent and received between the semiconductor memory and the data processing device, the protection means is configured to enable reading / writing of stored data to / from the semiconductor memory. A semiconductor memory device characterized by the above.
JP1093712A 1989-04-13 1989-04-13 Semiconductor memory device Expired - Lifetime JP2567699B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1093712A JP2567699B2 (en) 1989-04-13 1989-04-13 Semiconductor memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1093712A JP2567699B2 (en) 1989-04-13 1989-04-13 Semiconductor memory device

Publications (2)

Publication Number Publication Date
JPH02271446A JPH02271446A (en) 1990-11-06
JP2567699B2 true JP2567699B2 (en) 1996-12-25

Family

ID=14090033

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1093712A Expired - Lifetime JP2567699B2 (en) 1989-04-13 1989-04-13 Semiconductor memory device

Country Status (1)

Country Link
JP (1) JP2567699B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60207991A (en) * 1984-04-02 1985-10-19 Toshiba Corp Personal identification card

Also Published As

Publication number Publication date
JPH02271446A (en) 1990-11-06

Similar Documents

Publication Publication Date Title
US5175840A (en) Microcomputer having a PROM including data security and test circuitry
US5237609A (en) Portable secure semiconductor memory device
KR890004999B1 (en) Programmable read only memory
US6788592B2 (en) Memory device which can change control by chip select signal
US5245582A (en) Memory card circuit with power-down control of access buffer
US5306961A (en) Low-power integrated circuit with selectable battery modes
JP2744738B2 (en) Semiconductor storage device
JPH0962584A (en) Data processor
US6035382A (en) Circuit for receiving a command word for accessing a secure subkey
US5625593A (en) Memory card circuit with separate buffer chips
US5426432A (en) IC card
JP2567699B2 (en) Semiconductor memory device
JPH09106329A (en) Memory card
JP2635547B2 (en) Memory card and write protection of memory card and method of sending write protection state
US20060185006A1 (en) Flash card capable of enabling or disabling CPRM function
JPH0962583A (en) Data processor
US5134384A (en) Data coincidence detecting circuit
KR930003720B1 (en) Interface unit for micro-processor used in electronic communication
JPH104568A (en) Data storage circuit for simple exchange
US5657444A (en) Microprocessor with secure programmable read only memory circuit
JPH0241835B2 (en)
JP2900551B2 (en) Portable semiconductor storage device
WO1991019067A1 (en) Electronic key integrated circuit
JP2535833B2 (en) Integrated circuit
JP3310482B2 (en) Microcomputer