JPH07253932A - Semiconductor storage device - Google Patents

Semiconductor storage device

Info

Publication number
JPH07253932A
JPH07253932A JP4235994A JP4235994A JPH07253932A JP H07253932 A JPH07253932 A JP H07253932A JP 4235994 A JP4235994 A JP 4235994A JP 4235994 A JP4235994 A JP 4235994A JP H07253932 A JPH07253932 A JP H07253932A
Authority
JP
Japan
Prior art keywords
circuit
input
output
memory cell
signal
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
JP4235994A
Other languages
Japanese (ja)
Inventor
Tsugumi Matsuishi
継巳 松石
Toshihiko Hori
俊彦 堀
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 JP4235994A priority Critical patent/JPH07253932A/en
Publication of JPH07253932A publication Critical patent/JPH07253932A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make stored data secret and prevent them from being copied by providing a specific selection frequency detecting circuit, a readout inhibiting circuit, etc. CONSTITUTION:An address decoding circuit 13 decodes an input address signal and sends a select signal to a storage cell array 11 to select a storage cell array 12. While this operation is repeated, a selection frequency detecting circuit 27 detects how many times a specific storage cell array 12 among storage cell arrays 12 is selected. The readout inhibiting means inhibits at least some storage cell arrays 12 from being read out until the selection frequency detecting circuit 27 detects the specific storage cell array 12 being selected as many times as specified. Then when the selection frequency detecting circuit 27 detects the specific storage cell 12 being selected as many times as specified, the selection frequency detecting circuit 27 outputs a signal showing that to the readout inhabiting means, which resets the inhibition of the readout according to the output.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、カスタムLSI(Ap
plication Specific Integr
ated Circuit:ASIC)としてのROM
等の半導体記憶装置に関し、特に記憶されたデータを秘
密にして複製を防止し得る半導体記憶装置に関する。
The present invention relates to a custom LSI (Ap
application Specific Integrar
ROM as an aerated circuit (ASIC)
And the like, and more particularly to a semiconductor memory device capable of keeping stored data secret and preventing duplication.

【0002】[0002]

【従来の技術】図17は従来例のROM等の半導体記憶
装置を示す回路ブロック図である。図17中の1は通常
のMOS型記憶セル列1aが行方向に配置される記憶セ
ルアレイ、2は記憶セルアレイ1内の記憶セル列1aの
アドレスを指定するアドレスデコード回路、3はアドレ
スデコード回路2にて指定された記憶セル列1aからの
出力をビット線単位で選択する記憶セル出力セレクト回
路、4は記憶セル出力セレクト回路3からの出力を受け
最終的に読み出し出力を実行するか否かを制御する出力
回路である。また、A0〜A8は入力アドレス信号、D
0〜D7は読み出し出力信号である。
2. Description of the Related Art FIG. 17 is a circuit block diagram showing a conventional semiconductor memory device such as a ROM. In FIG. 17, 1 is a memory cell array in which normal MOS type memory cell columns 1a are arranged in the row direction, 2 is an address decode circuit for designating an address of the memory cell column 1a in the memory cell array 1, and 3 is an address decode circuit 2. The memory cell output select circuit 4 which selects the output from the memory cell column 1a designated by 1 in units of bit lines determines whether or not to receive the output from the memory cell output select circuit 3 and finally execute the read output. It is an output circuit for controlling. A0 to A8 are input address signals, D
0 to D7 are read output signals.

【0003】[0003]

【発明が解決しようとする課題】従来例の半導体記憶装
置では、記憶されたデータの読み出しを誰にでも行うこ
とができるため、データの複製、またはデータの解析が
容易であった。そのため、多大な費用と労力を投入して
開発したプログラム等を半導体記憶装置に記憶させて販
売しても、そのプログラムが複製または解析されるな
ど、半導体記憶装置内のデータが容易に模倣されてしま
う。かかる模倣は低コストで行われるので、原本プログ
ラム等と等価なプログラム等を容易に開発され、安価な
製品として販売される。従って、原本プログラムの開発
者の利益が損なわれるという問題があった。
In the conventional semiconductor memory device, since the stored data can be read by anyone, it is easy to duplicate the data or analyze the data. Therefore, even if a program or the like developed with a great deal of expense and labor is stored in a semiconductor memory device and sold, the data in the semiconductor memory device is easily imitated such that the program is copied or analyzed. I will end up. Since such imitation is performed at low cost, a program or the like equivalent to the original program or the like is easily developed and sold as an inexpensive product. Therefore, there is a problem that the profit of the developer of the original program is lost.

【0004】本実施例は、上記課題に鑑み、記憶された
データを秘密にして複製を防止し得る半導体記憶装置を
提供することを目的とする。
In view of the above problems, an object of the present invention is to provide a semiconductor memory device capable of keeping stored data secret and preventing duplication.

【0005】[0005]

【課題を解決するための手段】本発明請求項1に係る課
題解決手段は、入力アドレス信号のデコードを行うアド
レスデコード回路と、前記アドレスデコード回路からの
選択信号により選択される記憶セル列と、選択された前
記記憶セル列の出力を検知して外部へデータを出力する
ための出力回路と、前記記憶セル列のうちの所定の記憶
セル列が予め設定された回数だけ選択されたことを検出
する選択回数検出回路と、前記選択回数検出回路が予め
設定された回数だけ選択されたことを検出するまでは少
なくとも一部の前記記憶セル列の読み出しを禁止し、前
記選択回数検出回路が予め設定された回数だけ選択され
たことを検出したときに該選択回数検出回路からの出力
にしたがって読み出しの禁止を解除する読み出し禁止手
段を備える。
According to a first aspect of the present invention, there is provided an address decoding circuit for decoding an input address signal, and a memory cell column selected by a selection signal from the address decoding circuit. An output circuit for detecting the output of the selected memory cell string and outputting data to the outside, and detecting that a predetermined memory cell string of the memory cell strings has been selected a preset number of times And a selection count detection circuit that prohibits reading of at least a part of the memory cell columns until the selection count detection circuit detects that the selection count detection circuit has selected a preset number of times. When it is detected that the selected number of times has been selected, a read prohibition unit that cancels the read prohibition according to the output from the selection number detection circuit is provided.

【0006】本発明請求項2に係る課題解決手段は、入
力アドレス信号のデコードを行うアドレスデコード回路
と、前記アドレスデコード回路からの選択信号により選
択される記憶セル列と、選択された前記記憶セル列の出
力を検知して外部へデータを出力するための出力回路
と、前記記憶セル列のうちの所定の記憶セル列が予め設
定された回数だけ選択されたことを検出する選択回数検
出回路と、前記選択回数検出回路が予め設定された回数
だけ選択されたことを検出するまでは所定の前記入力ア
ドレス信号の前記アドレスデコード回路への入力を禁止
し、前記選択回数検出回路が予め設定された回数だけ選
択されたことを検出したときに該選択回数検出回路から
の出力にしたがって所定の前記入力アドレス信号の前記
アドレスデコード回路への入力禁止を解除するアドレス
入力禁止回路とを備える。
According to a second aspect of the present invention, an address decoding circuit for decoding an input address signal, a memory cell column selected by a selection signal from the address decoding circuit, and the selected memory cell are provided. An output circuit for detecting the output of the column and outputting the data to the outside, and a selection number detection circuit for detecting that a predetermined memory cell column among the memory cell columns has been selected a preset number of times. The input count signal is prohibited from being input to the address decode circuit until the selection count detection circuit detects that the selection count signal has been selected a preset number of times, and the selection count detection circuit is preset. When it is detected that the selected number of times has been selected, a predetermined number of the address decoding times of the input address signal are output according to the output from the selection number detection circuit. To cancel the input prohibition to and an address input inhibiting circuit.

【0007】本発明請求項3に係る課題解決手段は、入
力アドレス信号のデコードを行うアドレスデコード回路
と、前記アドレスデコード回路からの選択信号により選
択される記憶セル列と、出力許可信号の受信により前記
記憶セル列の出力を検知して外部へデータを出力するた
めの出力回路と、前記記憶セル列のうちの所定の記憶セ
ル列が予め設定された回数だけ選択されたことを検出す
る選択回数検出回路と、前記選択回数検出回路が予め設
定された回数だけ選択されたことを検出するまでは前記
出力許可信号の前記出力回路への入力を禁止し、前記選
択回数検出回路が予め設定された回数だけ選択されたこ
とを検出したときに該選択回数検出回路からの出力にし
たがって前記出力許可信号の前記出力回路への入力禁止
を解除する出力許可信号入力禁止回路とを備える。
According to a third aspect of the present invention, there is provided a means for solving the problems by receiving an address decode circuit for decoding an input address signal, a memory cell column selected by a selection signal from the address decode circuit, and an output enable signal. An output circuit for detecting the output of the memory cell string and outputting data to the outside, and a selection number for detecting that a predetermined memory cell column of the memory cell columns has been selected a preset number of times. The detection circuit and the selection number detection circuit prohibit the input of the output permission signal to the output circuit until it detects that the selection number of times has been selected a preset number of times, and the selection number detection circuit is set in advance. An output permission that releases the inhibition of the input of the output permission signal to the output circuit according to the output from the selection count detection circuit when it is detected that the selection count has been selected. And a signal input inhibiting circuit.

【0008】本発明請求項4に係る課題解決手段は、前
記アドレス入力禁止回路での信号入力禁止解除に必要な
前記所定の記憶セル列の選択回数を記憶するための書き
込み可能な記憶セルが設けられる。
According to a fourth aspect of the present invention, there is provided a writable memory cell for storing the number of selection times of the predetermined memory cell column required for releasing the signal input prohibition in the address input prohibition circuit. To be

【0009】本発明請求項5に係る課題解決手段は、前
記選択回数検出回路にて選択回数を検出される前記所定
の記憶セル列のアドレスを記憶するための書き込み可能
な記憶セルが設けられる。
According to a fifth aspect of the present invention, there is provided a writable memory cell for storing an address of the predetermined memory cell column, the selection frequency of which is detected by the selection frequency detection circuit.

【0010】本発明請求項6に係る課題解決手段は、前
記書き込み可能な記憶セルに任意のデータを書き込むた
めのデータ書き込み手段が設けられる。
According to a sixth aspect of the present invention, there is provided data writing means for writing arbitrary data in the writable memory cell.

【0011】本発明請求項7に係る課題解決手段は、前
記選択回数検出回路と前記読み出し禁止手段の間に、前
記選択回数検出回路からの出力信号にかかわらず前記読
み出し禁止手段での読み出し禁止を解除する選択回数検
出信号無効回路をさらに備える。
According to a seventh aspect of the present invention, there is provided a means for prohibiting reading by the reading prohibiting means between the selection number detecting circuit and the reading prohibiting means regardless of an output signal from the selection number detecting circuit. It further comprises a selection number detection signal invalidating circuit for canceling.

【0012】本発明請求項8に係る課題解決手段は、前
記選択回数検出回路と前記アドレス入力禁止回路の間
に、前記選択回数検出回路からの出力信号にかかわらず
前記アドレス入力禁止回路の信号入力禁止を解除する選
択回数検出信号無効回路をさらに備える。
According to an eighth aspect of the present invention, a signal input of the address input prohibition circuit is provided between the selection count detection circuit and the address input prohibition circuit regardless of an output signal from the selection count detection circuit. A selection number detection signal invalidating circuit for canceling the prohibition is further provided.

【0013】[0013]

【作用】本発明の請求項1に係る半導体記憶装置では、
まずアドレスデコード回路は受けた入力アドレス信号の
デコードを行い、記憶セルアレイに選択信号を送って記
憶セル列を選択する。この作業を繰り返す間、選択回数
検出回路にて、記憶セル列のうちの所定の記憶セル列が
選択された回数を検出する。ここで、所定の記憶セル列
が予め設定された回数だけ選択されたことを選択回数検
出回路にて検出するまでは、読み出し禁止手段は、少な
くとも一部の前記記憶セル列の読み出しを禁止する。そ
して、所定の記憶セル列が予め設定された回数だけ選択
されたことを選択回数検出回路にて検出したとき、選択
回数検出回路は読み出し禁止手段へその旨を伝える信号
を出力し、かかる出力にしたがって、読み出し禁止手段
は、読み出しの禁止を解除する。このように、所定の記
憶セル列を予め設定された回数だけ選択する、といった
特定の手順を踏まない限り、記憶データの読み出しを禁
止することができ、事情の知らないユーザーに対してデ
ータを秘匿できる。
In the semiconductor memory device according to claim 1 of the present invention,
First, the address decoding circuit decodes the received input address signal and sends a selection signal to the memory cell array to select a memory cell column. While this operation is repeated, the number-of-times-of-selection detection circuit detects the number of times that a predetermined memory cell row of the memory cell rows has been selected. Here, the read prohibiting means prohibits reading of at least a part of the memory cell columns until the selection frequency detection circuit detects that the predetermined memory cell columns have been selected a preset number of times. Then, when the selection number detection circuit detects that the predetermined memory cell column has been selected a preset number of times, the selection number detection circuit outputs a signal to that effect to the read prohibition means, and outputs to such an output. Therefore, the read prohibition means releases the prohibition of reading. In this way, the reading of stored data can be prohibited, and the data can be kept secret from users who do not know the circumstances, unless a specific procedure such as selecting a predetermined storage cell row a preset number of times is taken. it can.

【0014】本発明の請求項2に係る半導体記憶装置で
は、データの秘匿に際し、アドレス入力禁止回路にて所
定の入力アドレス信号のアドレスデコード回路への入力
を禁止する。これにより、データの秘匿時には、所定の
入力アドレス信号を送信したときでも入力されないまま
の状態と同じになり、所定の入力アドレス信号を入力し
た場合に対応する一定の領域のデータを全て秘匿でき
る。
In the semiconductor memory device according to the second aspect of the present invention, when the data is kept secret, the address input prohibiting circuit prohibits the input of a predetermined input address signal to the address decoding circuit. As a result, when data is concealed, it becomes the same as when it is not input even when a predetermined input address signal is transmitted, and it is possible to conceal all data in a certain area corresponding to when the predetermined input address signal is input.

【0015】本発明の請求項3に係る半導体記憶装置で
は、データの秘匿に際し、出力許可信号入力禁止回路に
て所定の出力許可信号の出力回路への入力を禁止する。
これにより、データの秘匿時には、出力許可信号を送信
したときでも送信されないままの状態と同じになり、出
力回路は駆動しないため読み出しは行われず、記憶セル
アレイ内の一切のデータを秘匿できる。
In the semiconductor memory device according to claim 3 of the present invention, when the data is kept secret, the output permission signal input prohibition circuit prohibits the input of the predetermined output permission signal to the output circuit.
As a result, at the time of concealing the data, even when the output permission signal is transmitted, the state is the same as when the signal is not transmitted. Since the output circuit is not driven, the data is not read out and all the data in the memory cell array can be concealed.

【0016】本発明の請求項4に係る半導体記憶装置で
は、書き込み可能な記憶セルに、アドレス入力禁止回路
での信号入力禁止解除に必要な条件、すなわち、所定の
記憶セル列の基準となる選択回数を自由に書き込み記憶
できる。したがって、設定者がデータ読み出し条件を自
由に設定でき、読み出し条件の解読を困難にしてデータ
秘匿を確実にできる。
In the semiconductor memory device according to the fourth aspect of the present invention, the writable memory cell has a condition necessary for canceling the signal input prohibition in the address input prohibition circuit, that is, a selection serving as a reference of a predetermined memory cell column. You can freely write and store the number of times. Therefore, the configurator can freely set the data read conditions, making it difficult to decipher the read conditions and ensuring the confidentiality of the data.

【0017】本発明の請求項5に係る半導体記憶装置で
は、書き込み可能な記憶セルに、アドレス入力禁止回路
での信号入力禁止解除に必要な所定の選択回数を検出す
る記憶セル列のアドレスを自由に書き込み記憶できる。
したがって、設定者がデータ読み出し条件を自由に設定
でき、読み出し条件の解読を困難にしてデータ秘匿を確
実にできる。
In the semiconductor memory device according to the fifth aspect of the present invention, a writable memory cell is provided with an address of a memory cell column for detecting a predetermined number of times of selection necessary for releasing the signal input prohibition in the address input prohibition circuit. Can be written and stored in.
Therefore, the configurator can freely set the data read conditions, making it difficult to decipher the read conditions and ensuring the confidentiality of the data.

【0018】本発明の請求項6に係る半導体記憶装置で
は、書き込み可能な記憶セルへデータを書き込む際、デ
ータ書き込み手段にて書き込むことができる。
In the semiconductor memory device according to the sixth aspect of the present invention, when data is written in the writable memory cell, the data can be written by the data writing means.

【0019】本発明の請求項7に係る半導体記憶装置で
は、製造後の検査時等において一時的にデータ秘匿を全
面的に解除したいとき、選択回数検出信号無効回路に信
号を入力し、読み出し禁止手段での読み出し禁止を解除
する。そうすると、選択回数検出回路からの出力信号に
かかわらずデータ秘匿を全面的に解除できる。
In the semiconductor memory device according to claim 7 of the present invention, when it is desired to temporarily cancel the data concealment entirely at the time of inspection after manufacturing, etc., a signal is input to the selection number detection signal invalid circuit to prohibit reading. The prohibition of reading by means is released. Then, regardless of the output signal from the selection number detection circuit, the data confidentiality can be completely released.

【0020】本発明の請求項8に係る半導体記憶装置で
は、製造後の検査時等において一時的にデータ秘匿を全
面的に解除したいとき、選択回数検出信号無効回路に信
号を入力し、アドレス入力禁止回路での信号入力禁止を
解除する。そうすると、選択回数検出回路からの出力信
号にかかわらずデータ秘匿を全面的に解除できる。
In the semiconductor memory device according to the eighth aspect of the present invention, when it is desired to temporarily cancel the data concealment entirely at the time of inspection after manufacturing, etc., a signal is input to the selection number detection signal invalidation circuit to input the address. Cancel the signal input prohibition in the prohibition circuit. Then, regardless of the output signal from the selection number detection circuit, the data confidentiality can be completely released.

【0021】[0021]

【実施例】【Example】

[第1の実施例] {構成}図1は本発明の第1の実施例の半導体記憶装置
を示す図である。図1中の11は記憶セルアレイ、12
は記憶セル列、13は前記記憶セルアレイ11内の記憶
セル列12のアドレスを指定するアドレスデコード回
路、14は前記アドレスデコード回路13にて指定され
た前記記憶セル列12からの出力をビット線単位で選択
する記憶セル出力セレクト回路、15は前記記憶セル出
力セレクト回路14からの信号を受けて読み出し出力を
許可する出力回路である。また、図1中のA0〜A8は
前記アドレスデコード回路13へ入力する入力アドレス
信号、D0〜D7は前記出力回路15からの出力信号で
ある。前記入力アドレス信号A0〜A8のうち、A0,
A1は記憶セル列12の出力のうちD0〜D7の8本の
出力信号を選択するための信号、A2〜A8は複数の記
憶セル列12の内の1つの記憶セル列を選択するための
信号である。
[First Embodiment] {Structure} FIG. 1 is a diagram showing a semiconductor memory device according to a first embodiment of the present invention. In FIG. 1, 11 is a memory cell array and 12
Is a memory cell column, 13 is an address decode circuit for designating an address of the memory cell column 12 in the memory cell array 11, and 14 is an output from the memory cell column 12 designated by the address decode circuit 13 in bit line units. The memory cell output select circuit selected by 1 is an output circuit which receives a signal from the memory cell output select circuit 14 and permits read output. Further, A0 to A8 in FIG. 1 are input address signals input to the address decoding circuit 13, and D0 to D7 are output signals from the output circuit 15. Of the input address signals A0 to A8, A0,
A1 is a signal for selecting eight output signals D0 to D7 among the outputs of the memory cell column 12, and A2 to A8 are signals for selecting one memory cell column out of the plurality of memory cell columns 12. Is.

【0022】前記記憶セル列12は、図2の如く、複数
個のNチャンネルMOSトランジスタとしての記憶セル
Ms1が列状に並置されたもので、行方向に並置される
ことで前記記憶セルアレイ11を構成する。
As shown in FIG. 2, the memory cell column 12 is formed by arranging a plurality of memory cells Ms1 as N-channel MOS transistors in a column shape. By arranging the memory cells Ms1 in a row direction, the memory cell array 11 is formed. Constitute.

【0023】前記アドレスデコード回路13は、図3の
如く、前記アドレス信号A2〜A8をデコードし該デコ
ード結果にしたがっていずれか1個の記憶セル列12を
選択するセル列選択手段21と、前記アドレス信号A
0,A1をデコードし該デコード結果を記憶セル出力セ
レクト回路14に送出する出力選択信号送出手段22と
を有する。前記セル列選択手段21は、7個の正入力イ
ンバータIn1と、27=128個のAND回路An1
を備える。各AND回路An1は入力端子を夫々7個有
しており、該入力端子7個の入力アドレス信号A2〜A
8について対応する前記正入力インバータIn1の入力
側(正信号)A2D〜A8Dまたは出力側(反転信号)
A2B〜A8Bに接続される。図3中の(00H)乃至
(7FH)はAND回路An1の出力であり、前記記憶
セルアレイ11内の対応する記憶セル列12に接続され
ている。なお、(00H)乃至(7FH)の各個内の数
字は16進数表示である。前記出力選択信号送出手段2
2は、2個の正入力インバータIn2と、22 =4個の
AND回路An2を備える。各AND回路An2は入力
端子を夫々2個有しており、2個の入力アドレス信号A
0,A1について対応する前記正入力インバータIn2
の入力側(正信号)A0D,A1Dまたは出力側(反転
信号)A0B,A1Bが接続される。図3中の(0H)
乃至(3H)はAND回路An2の出力であり、前記記
憶セル出力セレクト回路14に接続されている。
As shown in FIG. 3, the address decoding circuit 13 decodes the address signals A2 to A8 and selects one of the memory cell columns 12 according to the decoding result, and the cell column selecting means 21 and the address. Signal A
0, A1 are decoded, and the output selection signal sending means 22 for sending the decoding result to the memory cell output select circuit 14 is provided. The cell column selecting means 21 includes seven positive input inverters In1 and 2 7 = 128 AND circuits An1.
Equipped with. Each AND circuit An1 has seven input terminals, and the input address signals A2 to A of the seven input terminals are provided.
8 corresponding to the input side (positive signal) A2D to A8D or the output side (inverted signal) of the positive input inverter In1
It is connected to A2B to A8B. (00H) to (7FH) in FIG. 3 are outputs of the AND circuit An1 and are connected to the corresponding memory cell column 12 in the memory cell array 11. The numbers in each of (00H) to (7FH) are in hexadecimal notation. Output selection signal transmitting means 2
2 includes two positive input inverters In2 and 2 2 = 4 AND circuits An2. Each AND circuit An2 has two input terminals and two input address signals A
0, A1 corresponding positive input inverter In2
The input side (positive signal) A0D, A1D or the output side (inverted signal) A0B, A1B is connected. (0H) in Fig. 3
Through (3H) are outputs of the AND circuit An2, which are connected to the memory cell output select circuit 14.

【0024】前記記憶セル出力セレクト回路14は、図
4の如く、前記記憶セル列12内の記憶セルMs1のビ
ット線に接続された選択用NチャンネルMOSトランジ
スタとしての選択素子Ms2で構成されている。該選択
素子Ms2のゲートは前記アドレスデコード回路13の
前記出力選択信号送出手段22の出力(0H)〜(3
H)に接続されている。そして、該選択素子Ms2は4
個づづが1グループとされてそのドレインが共通に接続
され、前記出力回路15に接続されている。これによ
り、該記憶セル出力セレクト回路14は、前記アドレス
信号A0,A1に基づいて前記記憶セル列12からの信
号を選択し、D0〜D7の8本の出力信号に集約する機
能を有する。
As shown in FIG. 4, the memory cell output select circuit 14 is composed of a selection element Ms2 as a selection N-channel MOS transistor connected to the bit line of the memory cell Ms1 in the memory cell column 12. . The gate of the selection element Ms2 has outputs (0H) to (3) of the output selection signal sending means 22 of the address decoding circuit 13.
H). The selection element Ms2 is 4
The groups are individually connected to each other, and their drains are commonly connected and connected to the output circuit 15. As a result, the memory cell output select circuit 14 has a function of selecting a signal from the memory cell column 12 based on the address signals A0 and A1 and consolidating it into eight output signals D0 to D7.

【0025】前記出力回路15は、図5の如く、前記D
0〜D7ごとに負入力型インバータIn3および論理回
路Bfを備えたもので、前記インバータIn3の入力側
は抵抗R2を介して電源VDDに接続されている。前記論
理回路Bfは、図6のように、インバータ(Q1)、正
入力NAND回路(Q2)、正入力NOR回路(Q
3)、PチャンネルMOS(Q4)およびNチャンネル
MOS(Q5)から構成される一般的なスイッチング回
路である。該論理回路Bfのインバータ(Q1)の入力
端子および正入力NAND回路(Q2)の一方の入力端
子には、出力許可信号(バーOE)が入力される。
The output circuit 15, as shown in FIG.
Each of 0 to D7 is provided with a negative input type inverter In3 and a logic circuit Bf, and the input side of the inverter In3 is connected to the power source V DD via the resistor R2. As shown in FIG. 6, the logic circuit Bf includes an inverter (Q1), a positive input NAND circuit (Q2), and a positive input NOR circuit (Q
3), a general switching circuit composed of a P channel MOS (Q4) and an N channel MOS (Q5). The output enable signal (bar OE) is input to the input terminal of the inverter (Q1) of the logic circuit Bf and one input terminal of the positive input NAND circuit (Q2).

【0026】そして、本実施例では、図1の如く、前記
アドレスデコード回路13からの出力信号(入力アドレ
ス信号A0〜A8)を監視し、該入力アドレス信号A0
〜A8のアドレスデコード回路13への入力を禁止する
セキュリティ回路25を設けている。該セキュリティ回
路25は、アドレスデコード回路13からの二個の入力
アドレス信号A7,A8を監視し、二個の記憶セル列1
2が選択された回数が予め設定された回数になるまで、
入力アドレス信号A7,A8のアドレスデコード回路へ
の入力を禁止する(すなわち常に”L”を入力する)も
のである。該セキュリティ回路25は、図1の如く、各
記憶セル列12ごとの選択回数を検出する選択回数検出
回路27と、該選択回数検出回路27からの信号に基づ
いてセル列選択手段21への入力アドレス信号の入力を
禁止するアドレス入力禁止回路28とから構成されてい
る。
In this embodiment, as shown in FIG. 1, the output signals (input address signals A0 to A8) from the address decoding circuit 13 are monitored and the input address signal A0 is monitored.
A security circuit 25 for prohibiting the input to the address decoding circuit 13 of A8 to A8 is provided. The security circuit 25 monitors the two input address signals A7 and A8 from the address decoding circuit 13, and detects the two storage cell columns 1
Until the number of times 2 is selected reaches the preset number,
The input address signals A7 and A8 are prohibited from being input to the address decoding circuit (that is, "L" is always input). As shown in FIG. 1, the security circuit 25 detects the number of selections for each memory cell column 12, and a selection number detection circuit 27, and an input to the cell column selection means 21 based on a signal from the selection number detection circuit 27. It is composed of an address input inhibition circuit 28 which inhibits the input of an address signal.

【0027】前記選択回数検出回路27は、その入力側
が、図7の如く、アドレスデコード回路13からの接続
線のうち予め決められた特定の二個の接続線(X1,X
2)と、出力回路15の出力許可を行う出力許可信号
(バーOE)に接続されている。そして、X1およびX
2の時系列的な信号推移の組み合わせのうち特定の組み
合わせを予め記憶する記憶機能と、実際に検出したX1
およびX2の時系列的な信号推移の組合わせが特定の規
則性を有する信号推移であるか否かを判断する判断機能
と、判断機能の判断結果に基づいて前記信号推移の組合
わせが特定の規則性を有する場合に前記アドレス入力禁
止回路28へ入力アドレス信号A7,A8を出力する機
能とを有せしめられている。ここで、前記信号推移の特
定の組み合わせは、記憶セル列12へのアクセス回数を
数えることにより容易に判断できる信号推移に限定さ
れ、具体的には、まずX1に結合する記憶セル列12が
2回以上繰り返し読み出された直後にX2に結合する記
憶セル列12の読み出しが行われた場合に限定されてい
る。なお、X1またはX2に結合する記憶セル列12が
読み出されたか否かは、X1またはX2の電位と、出力
許可信号(バーOE)の電位との組み合わせに基づいて
検出できる。具体的には、X1またはX2の電位が”
H”となり(X1と結合する記憶セル列が選択され)、
かつ出力許可信号(バーOE)の電位が”L”(読み出
し状態)となったか否かで判断する。図7中の31はO
R回路、32は第1のAND回路、33は第2のAND
回路、34は第3のAND回路、35は第4のAND回
路、36は出力許可信号(バーOE)が入力端子に入力
される負入力インバータ回路、37は第1のフリップフ
ロップ回路、38は第2のフリップフロップ回路、39
は第3のフリップフロップ回路、40は第4のフリップ
フロップ回路、R1は抵抗、C1はコンデンサである。
また、前記各フリップフロップ回路37〜40内におい
て、Tはトリガ入力端子、Dはデータ入力端子、Qは出
力端子である。前記OR回路31は三本の入力端子を有
し、該各入力端子にはX1,X2,出力許可信号(バー
OE)が夫々夫々入力されている。前記第1のAND回
路32は二本の入力端子を有し、一方の入力端子はX1
に、他方の入力端子は前記インバータ回路36の出力端
子に接続されている。前記第2のAND回路33は、前
記第1のAND回路32と同様、二本の入力端子を有
し、一方の入力端子はX1に、他方の入力端子は前記イ
ンバータ回路36の出力端子に接続されている。前記第
3のAND回路34は二本の入力端子を有し、一方の入
力端子はX2に、他方の入力端子は前記インバータ回路
36の出力端子に接続されている。前記第4のAND回
路35は二本の入力端子を有し、一方の入力端子は前記
OR回路31の出力端子に、他方の入力端子は前記抵抗
R1とコンデンサC1の接続点に接続されている。ま
た、該第4のAND回路35の出力端子は前記第1のフ
リップフロップ回路37乃至前記第3のフリップフロッ
プ回路39に反転入力つれる。前記第1のフリップフロ
ップ回路37のトリガ入力端子Tは前記第1のAND回
路32の出力端子に接続され、データ入力端子Dは電源
DDに接続されている。前記第2のフリップフロップ回
路38のトリガ入力端子Tは前記第2のAND回路33
の出力端子に接続され、データ入力端子Dは前記第1の
フリップフロップ回路37の出力端子Qに接続されてい
る。前記第3のフリップフロップ回路39のトリガ入力
端子Tは前記第3のAND回路34の出力端子に接続さ
れ、データ入力端子Dは前記第2のフリップフロップ回
路38の出力端子Qに接続されている。前記第4のフリ
ップフロップ回路40のトリガ入力端子Tは前記第3の
フリップフロップ回路39の出力端子に接続され、デー
タ入力端子Dは電源VDDに接続されている。前記抵抗R
1は電源VDDに接続されている。前記コンデンサC1は
グランド接続されている。
As shown in FIG. 7, the input side of the selection number detecting circuit 27 has two predetermined connecting lines (X1, X1) among the connecting lines from the address decoding circuit 13.
2) and an output permission signal (bar OE) for permitting output of the output circuit 15. And X1 and X
A memory function for storing in advance a specific combination of the two time-series signal transition combinations, and the actually detected X1
And a determination function of determining whether or not the combination of the signal transitions in time series of X2 is a signal transition having a specific regularity, and the combination of the signal transitions is specified based on the determination result of the determination function. It has a function of outputting the input address signals A7 and A8 to the address input prohibiting circuit 28 when it has regularity. Here, the specific combination of the signal transitions is limited to the signal transitions that can be easily determined by counting the number of accesses to the memory cell column 12, and specifically, first, the memory cell column 12 coupled to X1 is 2 This is limited to the case where the memory cell column 12 coupled to X2 is read immediately after being read repeatedly more than once. Whether or not the memory cell column 12 coupled to X1 or X2 is read can be detected based on the combination of the potential of X1 or X2 and the potential of the output permission signal (bar OE). Specifically, the potential of X1 or X2 is "
H "(the memory cell string to be combined with X1 is selected),
Moreover, it is determined whether or not the potential of the output permission signal (bar OE) becomes "L" (reading state). 31 in FIG. 7 is O
R circuit, 32 is the first AND circuit, 33 is the second AND circuit
Circuit, 34 is a third AND circuit, 35 is a fourth AND circuit, 36 is a negative input inverter circuit to which an output enable signal (bar OE) is input to an input terminal, 37 is a first flip-flop circuit, and 38 is Second flip-flop circuit, 39
Is a third flip-flop circuit, 40 is a fourth flip-flop circuit, R1 is a resistor, and C1 is a capacitor.
In each of the flip-flop circuits 37 to 40, T is a trigger input terminal, D is a data input terminal, and Q is an output terminal. The OR circuit 31 has three input terminals, and X1, X2, and output enable signals (bar OE) are input to the respective input terminals. The first AND circuit 32 has two input terminals, one input terminal of which is X1.
The other input terminal is connected to the output terminal of the inverter circuit 36. Like the first AND circuit 32, the second AND circuit 33 has two input terminals, one input terminal is connected to X1, and the other input terminal is connected to the output terminal of the inverter circuit 36. Has been done. The third AND circuit 34 has two input terminals, one input terminal is connected to X2, and the other input terminal is connected to the output terminal of the inverter circuit 36. The fourth AND circuit 35 has two input terminals, one input terminal is connected to the output terminal of the OR circuit 31, and the other input terminal is connected to the connection point of the resistor R1 and the capacitor C1. . Further, the output terminal of the fourth AND circuit 35 is inverted and input to the first flip-flop circuit 37 to the third flip-flop circuit 39. The trigger input terminal T of the first flip-flop circuit 37 is connected to the output terminal of the first AND circuit 32, and the data input terminal D is connected to the power supply V DD . The trigger input terminal T of the second flip-flop circuit 38 is connected to the second AND circuit 33.
, And the data input terminal D is connected to the output terminal Q of the first flip-flop circuit 37. The trigger input terminal T of the third flip-flop circuit 39 is connected to the output terminal of the third AND circuit 34, and the data input terminal D is connected to the output terminal Q of the second flip-flop circuit 38. . The trigger input terminal T of the fourth flip-flop circuit 40 is connected to the output terminal of the third flip-flop circuit 39, and the data input terminal D is connected to the power supply V DD . The resistance R
1 is connected to the power supply V DD . The capacitor C1 is grounded.

【0028】前記アドレス入力禁止回路28は、図1の
如く、禁止対象となる前記各入力アドレス信号A7,A
8ごとに設けられるAND回路で構成され、該各AND
回路は二本の入力端子を夫々有し、一方の入力端子は夫
々対応する入力アドレス信号A7,A8に、他方の入力
端子は前記選択回数検出回路27の前記第4のフリップ
フロップ回路40の出力端子Qに夫々接続されている。
The address input inhibit circuit 28, as shown in FIG. 1, includes the input address signals A7 and A to be inhibited.
Each AND is composed of AND circuits
The circuit has two input terminals, one input terminal for the corresponding input address signals A7 and A8, and the other input terminal for the output of the fourth flip-flop circuit 40 of the selection number detection circuit 27. They are connected to the terminals Q, respectively.

【0029】{動作}まず、入力アドレス信号A0〜A
6を外部の制御装置またはインターフェイス等から入力
する。ただし、この時点では入力アドレス信号A7,A
8に対応するアドレス入力禁止回路28は入力禁止状態
となっている。入力アドレス信号A0〜A6を受信した
セル列選択手段21はこれをデコードしかかる信号を記
憶セルアレイ11または記憶セル出力セレクト回路14
に送信する。ここで、予め決められた特定の接続線X1
が”H”となり、かつ出力許可信号(バーOE)が”
L”(読み出し状態)となったことを、選択回数検出回
路27が検出する。続いて入力アドレス信号A0〜A8
を入力し、再びX1が”H”となり、かつ出力許可信号
(バーOE)が”L”(読み出し状態)となったこと
を、選択回数検出回路27が検出する。その直後、X2
が”H”となり、かつ出力許可信号(バーOE)が”
L”(読み出し状態)となったことを選択回数検出回路
27が検出する。選択回数検出回路27は、X1、X
1、X2の順に読み出しが行われたことを判断し、アド
レス入力禁止回路28に出力信号を送信する。アドレス
入力禁止回路28は、この時点で始めて入力アドレス信
号A7,A8の入力禁止を解き、全ての信号入力が可能
となる。
{Operation} First, the input address signals A0 to A
6 is input from an external control device or interface. However, at this point, the input address signals A7, A
The address input prohibition circuit 28 corresponding to No. 8 is in the input prohibition state. Upon receiving the input address signals A0 to A6, the cell column selecting means 21 decodes these signals and outputs the signals to the memory cell array 11 or the memory cell output select circuit 14.
Send to. Here, the predetermined specific connection line X1
Becomes "H" and the output enable signal (bar OE) becomes "H".
The selection number detection circuit 27 detects that it has become L ″ (read state). Subsequently, the input address signals A0 to A8.
Then, the selection number detection circuit 27 detects that X1 becomes "H" again and the output permission signal (bar OE) becomes "L" (reading state). Immediately after that, X2
Becomes "H" and the output enable signal (bar OE) becomes "H".
The selection count detection circuit 27 detects that the selection count detection circuit 27 has reached L ″ (reading state).
It is determined that the reading is performed in the order of 1 and X2, and the output signal is transmitted to the address input inhibition circuit 28. The address input prohibition circuit 28 releases the input prohibition of the input address signals A7 and A8 for the first time at this point, and all the signals can be input.

【0030】ここで、図8に本実施例の半導体記憶装置
のアドレスマップを示す。図8に示すように、本実施例
の半導体記憶装置では、アドレス(A8,A7,A6,
A5,A4,A3,A2,A1,A0)=(0,0,
0,0,0,0,0,0,0)から(0,0,1,1,
1,1,1,1,1)の領域(読み出し可能領域)Ar
1のデータは正しく読み出しができるが、(0,1,
0,0,0,0,0,0,1)から(1,1,1,1,
1,1,1,1,1)の領域(秘匿領域)Ar0は、X
1、X1、X2の順(以下、アクセス手順と称す)に読
み出しを行わない限り正しくデータを読み出すことはで
きない。すなわち(0,1,0,0,0,0,0,0,
0)から(1,1,1,1,1,1,1,1,1)の秘
匿領域Ar0のデータは、アクセス手順を知らないもの
に対して秘密にすることができる。なお、上述のアクセ
ス手順を行わないで、例えばアドレス(1,1,0,
0,0,0,0,0,0)を本実施例の半導体記憶装置
に入力し、記憶データの読み出しを行った場合、A8と
A7はアドレスデコード回路13に対して正しく伝達さ
れず、アドレスデコード回路13にはA8,A7に相当
する入力に対して”L”、すなわち0が、アドレス入力
禁止回路28より与えられるので、アドレス(0,0,
0,0,0,0,0,0,0)を入力した場合と同じデ
ータが読み出されることになる。
FIG. 8 shows an address map of the semiconductor memory device of this embodiment. As shown in FIG. 8, in the semiconductor memory device of the present embodiment, addresses (A8, A7, A6,
A5, A4, A3, A2, A1, A0) = (0,0,
0,0,0,0,0,0,0) to (0,0,1,1,
1, 1, 1, 1, 1) area (readable area) Ar
The data of 1 can be read correctly, but (0, 1,
0,0,0,0,0,0,1) to (1,1,1,1,
The area (concealed area) Ar0 of 1, 1, 1, 1, 1) is X
Data cannot be read correctly unless reading is performed in the order of 1, X1, and X2 (hereinafter referred to as an access procedure). That is (0, 1, 0, 0, 0, 0, 0, 0,
The data in the secret area Ar0 from (0) to (1,1,1,1,1,1,1,1,1,1) can be kept secret to those who do not know the access procedure. In addition, without performing the above access procedure, for example, the address (1, 1, 0,
(0,0,0,0,0,0) is input to the semiconductor memory device of this embodiment to read the stored data, A8 and A7 are not correctly transmitted to the address decoding circuit 13 and the address Since "L", that is, 0 is given to the decode circuit 13 from the address input prohibiting circuit 28 for the inputs corresponding to A8 and A7, the address (0, 0,
The same data as when 0, 0, 0, 0, 0, 0, 0) is input is read.

【0031】上記アクセス手順は、半導体チップ上の回
路設計にて規定されるので、解析は容易ではなく、一般
的な不透明なプラスチック等のパッケージで封止される
と、従来の半導体記憶装置との区別ができないため上記
のようなアドレス入力禁止回路の存在もわからない。し
たがって、記憶データを、上記のアクセス手順を知らな
い者に対して秘密にすることができ、複製を防止するこ
とができるので、記憶データの作成者の利益を守ること
ができるという利点がある。
Since the above access procedure is defined by the circuit design on the semiconductor chip, the analysis is not easy, and if the package is sealed with a general opaque plastic package, it is possible to compare with the conventional semiconductor memory device. Since it cannot be distinguished, the existence of the address input prohibition circuit as described above cannot be known. Therefore, the stored data can be kept secret from a person who does not know the above access procedure, and copying can be prevented, so that there is an advantage that the interest of the creator of the stored data can be protected.

【0032】なお、本実施例においては、ある条件を持
たないと入力アドレス信号A0〜A8によって、A7ま
たはA8の少なくとも一方がHであるアドレスの記憶内
容を読み出せなくするものであるが、コンピュータ等の
装置に組み込まれて動作するような通常の動作の場合
は、A7またはA8の少なくとも一方がHとなるアドレ
スの記憶内容も出力されていることが多い。この場合、
アドレス入力禁止回路28のアドレス入力禁止を解除す
る手段が、上記の構成に加えて組み込まれる必要があ
る。かかる解除手段としては、例えばアドレス入力禁止
を解除するための上記の動作、すなわちアドレスアクセ
ス順序(例えば、X1、X1、X2の順)およびアクセ
ス回数等を、組み込みのマイクロコンピュータに予めプ
ログラムしておけばよい。
In this embodiment, if there is no certain condition, the input address signals A0 to A8 make it impossible to read the stored contents of the address in which at least one of A7 and A8 is H. In the case of a normal operation in which the device is incorporated into such a device and operates, the stored contents of the address where at least one of A7 and A8 is H are often output. in this case,
A means for canceling the address input prohibition of the address input prohibition circuit 28 needs to be incorporated in addition to the above configuration. As the canceling means, for example, the above-described operation for canceling the prohibition of address input, that is, the address access order (for example, X1, X1, X2 order) and the number of accesses, can be programmed in advance in a built-in microcomputer. Good.

【0033】[第2の実施例] {構成}図9は本発明の第2の実施例の半導体記憶装置
を示す図である。なお、第1の実施例と同一機能を有す
る部分については同一符号を付している。本実施例の半
導体記憶装置は、図9の如く、記憶セルアレイ11と記
憶セル出力セレクト回路14との間に、アドレス入力禁
止回路28での信号入力禁止解除に必要な前記所定の記
憶セル列12の選択回数を記憶するための書き込み可能
な記憶セル列45が設けられたものである。該書き込み
可能な記憶セル列45は、前記記憶セルアレイ11中の
記憶セル列12と同数の記憶セル素子が列状に配置され
たものであるが、個々の素子が書き込み可能である点で
記憶セル列12と異なる。該書き込み可能な記憶セル列
45は、フラッシュメモリ、EEPROMまたはEPR
OM等、書き込み可能な不揮発性のメモリセルが使用さ
れる。
[Second Embodiment] {Structure} FIG. 9 shows a semiconductor memory device according to a second embodiment of the present invention. The parts having the same functions as those in the first embodiment are designated by the same reference numerals. In the semiconductor memory device of this embodiment, as shown in FIG. 9, between the memory cell array 11 and the memory cell output select circuit 14, the predetermined memory cell column 12 necessary for releasing the signal input prohibition in the address input prohibition circuit 28. A writable memory cell column 45 for storing the number of selections is provided. The writable memory cell array 45 has the same number of memory cell elements as the memory cell arrays 12 in the memory cell array 11 arranged in a row, but each of the memory cells is writable. Different from column 12. The writable memory cell array 45 is a flash memory, an EEPROM or an EPR.
A writable non-volatile memory cell such as OM is used.

【0034】また、第1の実施例では、読み出し可能と
するためのX1,X2の時系列的な信号推移、すなわち
X1,X2の”H”となる選択回数の基準を固定してい
たが、本実施例では、読み出し可能とするためのX1,
X2の時系列的な信号推移は、書き込み可能な記憶セル
列45内に自由書き込まれるため、選択回数の検出時に
は基準となる回数を書き込み可能な記憶セル列45から
呼び出す必要がある。そこで、本実施例では、図7に示
した選択回数検出回路27に代えて、図10に示すよう
な選択回数検出回路46が設置されている。図10中の
51は負入力インバータ回路、52は第1のAND回
路、53は第2のAND回路、54はOR回路、55は
第3のAND回路、56は第1の8bitカウンタ、5
7は第2の8bitカウンタ、58,59は正入力イク
スクルーシブOR回路(EX.OR回路)、61,62
は、正入力NOR回路、63は第4のAND回路、64
は第5のAND回路、65はIC、R2は抵抗、C2は
コンデンサである。
Further, in the first embodiment, the time-series signal transition of X1 and X2 in order to make it readable, that is, the reference of the number of times of selection of "H" of X1 and X2 is fixed. In the present embodiment, X1, for making the data readable,
Since the time-series signal transition of X2 is freely written in the writable memory cell column 45, it is necessary to call the reference number of times from the writable memory cell column 45 when the selection number is detected. Therefore, in the present embodiment, a selection number detection circuit 46 as shown in FIG. 10 is installed in place of the selection number detection circuit 27 shown in FIG. In FIG. 10, 51 is a negative input inverter circuit, 52 is a first AND circuit, 53 is a second AND circuit, 54 is an OR circuit, 55 is a third AND circuit, 56 is a first 8-bit counter, 5
7 is a second 8-bit counter, 58 and 59 are positive input exclusive OR circuits (EX.OR circuits), 61 and 62.
Is a positive input NOR circuit, 63 is a fourth AND circuit, 64
Is a fifth AND circuit, 65 is an IC, R2 is a resistor, and C2 is a capacitor.

【0035】前記負入力インバータ回路51の入力端子
には出力許可信号(バーOE)が入力される。前記第1
のAND回路52は二個の入力端子を有しており、一方
の入力端子は前記負入力インバータ回路51の出力端子
に接続されている。他方の入力端子はX1に接続されて
いる。前記第2のAND回路53は二個の入力端子を有
しており、一方の入力端子は前記負入力インバータ回路
51の出力端子に接続されている。他方の入力端子はX
2に接続されている。前記OR回路54は三個の入力端
子を有しており、夫々、出力許可信号(バーOE)、X
1およびX2が入力される。前記第1の8bitカウン
タ56は、トリガ入力端子T、ラッチ入力端子Rおよび
8個の出力端子を有しており、前記トリガ入力端子Tは
前記第1のAND回路52の出力端子に接続され、前記
ラッチ入力端子RはOR回路54の出力端子に接続され
ている。前記正入力イクスクルーシブOR回路58は前
記第1の8bitカウンタ56の8個の出力端子に対応
して設けられている。該各正入力イクスクルーシブOR
回路58は夫々二個の入力端子を有しており、一方の入
力端子は前記第1の8bitカウンタ56の出力端子
に、他方の入力端子は前記書き込み可能な記憶セル列4
5に夫々接続されている。前記正入力NOR回路61は
四個の前記正入力イクスクルーシブOR回路58につき
一個設けられている。該正入力NOR回路61は四個の
入力端子を有しており、前記各正入力イクスクルーシブ
OR回路58の出力端子が接続されている。前記第4の
AND回路63は二個の入力端子を有しており、夫々前
記正入力NOR回路61の出力端子に接続されている。
前記第3のAND回路55は二個の入力端子を有してお
り、一方の入力端子は前記OR回路54の出力端子に、
他方の入力端子は前記第4のAND回路63の出力端子
に接続されている。前記第2の8bitカウンタ57
は、トリガ入力端子T、ラッチ入力端子Rおよび8個の
出力端子を有しており、前記トリガ入力端子Tは前記第
2のAND回路53の出力端子に接続され、前記ラッチ
入力端子Rは前記第3のAND回路55の出力端子に接
続されている。前記正入力イクスクルーシブOR回路5
9は前記第1の8bitカウンタ56の8個の出力端子
に対応して設けられている。該各正入力イクスクルーシ
ブOR回路59は夫々二個の入力端子を有しており、一
方の入力端子は前記第2の8bitカウンタ57の出力
端子に、他方の入力端子は前記書き込み可能な記憶セル
列45に夫々接続されている。前記正入力NOR回路6
2は四個の前記正入力イクスクルーシブOR回路59に
つき一個設けられている。該正入力NOR回路62は四
個の入力端子を有しており、前記各正入力イクスクルー
シブOR回路59の出力端子が接続されている。前記第
5のAND回路64は二個の入力端子を有しており、夫
々前記正入力NOR回路62の出力端子に接続されてい
る。前記IC65はデータ入力端子D、出力端子Q、ト
リガ入力端子Tおよびラッチ入力端子Rを有している。
前記データ入力端子Dは電源VDDに、トリガ入力端子T
は前記第5のAND回路64の出力端子に、ラッチ入力
端子Rは抵抗R2とコンデンサC2の接続点に接続さ
れ、出力端子Qはアドレス入力禁止回路28に接続され
ている。前記抵抗R2は電源VDDに接続されている。前
記コンデンサC2はグランド接続されている。
An output enable signal (bar OE) is input to the input terminal of the negative input inverter circuit 51. The first
The AND circuit 52 has two input terminals, and one input terminal is connected to the output terminal of the negative input inverter circuit 51. The other input terminal is connected to X1. The second AND circuit 53 has two input terminals, and one input terminal is connected to the output terminal of the negative input inverter circuit 51. The other input terminal is X
Connected to 2. The OR circuit 54 has three input terminals, and an output enable signal (bar OE), X
1 and X2 are input. The first 8-bit counter 56 has a trigger input terminal T, a latch input terminal R, and eight output terminals, and the trigger input terminal T is connected to the output terminal of the first AND circuit 52, The latch input terminal R is connected to the output terminal of the OR circuit 54. The positive input exclusive OR circuit 58 is provided corresponding to the eight output terminals of the first 8-bit counter 56. Each positive input exclusive OR
The circuits 58 each have two input terminals, one input terminal being the output terminal of the first 8-bit counter 56, and the other input terminal being the writable memory cell array 4
5 are connected to each. One positive input NOR circuit 61 is provided for each of the four positive input exclusive OR circuits 58. The positive input NOR circuit 61 has four input terminals, and the output terminals of the respective positive input exclusive OR circuits 58 are connected to the positive input NOR circuit 61. The fourth AND circuit 63 has two input terminals, and each is connected to the output terminal of the positive input NOR circuit 61.
The third AND circuit 55 has two input terminals, one of which is an output terminal of the OR circuit 54.
The other input terminal is connected to the output terminal of the fourth AND circuit 63. The second 8-bit counter 57
Has a trigger input terminal T, a latch input terminal R and eight output terminals, the trigger input terminal T is connected to the output terminal of the second AND circuit 53, and the latch input terminal R is It is connected to the output terminal of the third AND circuit 55. The positive input exclusive OR circuit 5
9 are provided corresponding to the eight output terminals of the first 8-bit counter 56. Each of the positive input exclusive OR circuits 59 has two input terminals. One input terminal is the output terminal of the second 8-bit counter 57 and the other input terminal is the writable memory. Each is connected to the cell row 45. The positive input NOR circuit 6
One 2 is provided for each of the four positive input exclusive OR circuits 59. The positive input NOR circuit 62 has four input terminals, and the output terminals of the respective positive input exclusive OR circuits 59 are connected to the positive input NOR circuit 62. The fifth AND circuit 64 has two input terminals, and each is connected to the output terminal of the positive input NOR circuit 62. The IC 65 has a data input terminal D, an output terminal Q, a trigger input terminal T and a latch input terminal R.
The data input terminal D is connected to the power source V DD , and the trigger input terminal T
Is connected to the output terminal of the fifth AND circuit 64, the latch input terminal R is connected to the connection point of the resistor R2 and the capacitor C2, and the output terminal Q is connected to the address input inhibition circuit 28. The resistor R2 is connected to the power supply V DD . The capacitor C2 is grounded.

【0036】なお、本実施例では、書き込み可能な記憶
セル列45に任意のデータを書き込むためのデータ書き
込み手段が必要となる。そこで、第1の実施例において
出力機能のみ有するよう構成されていた記憶セル出力セ
レクト回路14および入出力回路48に代えて、入出力
の両機能を有する記憶セル入出力セレクト回路47およ
び入出力回路48を設置し、これらを書き込み手段とし
て利用している。そして、前記書き込み可能な記憶セル
列45へのデータ書き込み前記記憶セル入出力セレクト
回路47および入出力回路48を通じて行えばよい。該
記憶セル入出力セレクト回路47および入出力回路48
は、CPUを有する一般的なマイクロコンピュータチッ
プまたはマイクロプロセッサチップ等を利用すればよ
い。その他の構成は、第1の実施例と同様のため説明を
省略する。
In this embodiment, a data writing means for writing arbitrary data in the writable memory cell column 45 is required. Therefore, instead of the memory cell output select circuit 14 and the input / output circuit 48 which are configured to have only the output function in the first embodiment, the memory cell input / output select circuit 47 and the input / output circuit having both the input and output functions. 48 are installed and these are used as a writing means. Data writing to the writable memory cell column 45 may be performed through the memory cell input / output select circuit 47 and the input / output circuit 48. The memory cell input / output select circuit 47 and the input / output circuit 48
May use a general microcomputer chip or microprocessor chip having a CPU. The rest of the configuration is similar to that of the first embodiment, so the explanation is omitted.

【0037】{動作}図10において、アドレスデコー
ド回路13からの出力X1と入出力回路48への出力許
可信号(バーOE)とによって、X1に結合する記憶セ
ル列12が選択される。このとき、選択回数検出回路4
6の第1の8bitカウンタ56にて当該記憶セル列1
2の読み出しが行われた回数を計数し、書き込み可能な
記憶セル列45の記憶データと上記回数を比較し、これ
らの回数が一致したときのみ、第2の8bitカウンタ
57のリセットを解除する。
{Operation} In FIG. 10, the output X1 from the address decode circuit 13 and the output enable signal (bar OE) to the input / output circuit 48 select the memory cell column 12 coupled to X1. At this time, the selection count detection circuit 4
In the first 8-bit counter 56 of 6, the memory cell column 1
The number of times 2 has been read is counted, the stored data in the writable memory cell column 45 is compared with the above number, and the reset of the second 8-bit counter 57 is released only when these numbers match.

【0038】第2の8bitカウンタ57は、アドレス
デコード回路13からの出力X2と入出力回路48の出
力許可信号(バーOE)とによって、X2に結合する記
憶セル列12が選択され、読み出しが行われた回数を計
数し、上記書き込み可能な記憶セル列45の記憶データ
と上記回数を比較する。そして、これらの回数が一致す
ると、アドレス入力禁止回路28へ向かう出力を”H”
にセットする。
In the second 8-bit counter 57, the memory cell column 12 coupled to X2 is selected by the output X2 from the address decoding circuit 13 and the output enable signal (bar OE) from the input / output circuit 48, and the reading is performed. The number of breaks is counted, and the above-mentioned number is compared with the stored data of the writable memory cell column 45. When the numbers of times match, the output to the address input prohibition circuit 28 is set to "H".
Set to.

【0039】すなわち、書き込み可能な記憶セル列45
に記憶されたデータに相当する回数だけX1が結合して
いる記憶セル列12の読み出しを行い、その直後にX2
が結合している記憶セル列12の読み出しを、上記書き
込み可能な記憶セル列45に記憶されたデータに相当す
る回数だけ行うことにより、初めて、アドレス入力禁止
が解除され、A8,A7が”H”のときに指定される記
憶セル列12(図8における秘匿領域Ar0)の読み出
しが可能になる。
That is, a writable memory cell column 45
The memory cell column 12 to which X1 is coupled is read a number of times corresponding to the data stored in
The address input prohibition is released and A8 and A7 are set to "H" for the first time by reading the memory cell column 12 to which is connected by the number of times corresponding to the data stored in the writable memory cell column 45. It becomes possible to read out the memory cell column 12 (the secret area Ar0 in FIG. 8) designated when "".

【0040】ここで、信号秘匿を解除するためのX1,
X2の信号推移を解除するためには、記憶セル入出力セ
レクト回路47および入出力回路48を介して書き込み
可能な記憶セル列45内のデータを更新してやればよ
い。このように、秘匿領域Ar0の読み出しを可能とす
る手順(アクセス手順)を書き込み可能な記憶セル列4
5に書き込まれたデータによって決定するので、様々な
アクセス手順を設定することができる。そうすると、最
終ユーザーや、プログラムを格納する中間販売業者等に
て自由にアクセス手順を設定することができ、半導体記
憶装置の製造者に対してもその手順を秘密にすることが
できる。
Here, X1, for canceling the signal concealment,
In order to cancel the signal transition of X2, the data in the writable storage cell column 45 may be updated via the storage cell input / output select circuit 47 and the input / output circuit 48. In this way, the memory cell column 4 in which the procedure (access procedure) that enables reading of the secret area Ar0 is writable
Since it is determined by the data written in 5, various access procedures can be set. By doing so, the access procedure can be freely set by the end user, an intermediate dealer who stores the program, and the procedure can be kept secret to the manufacturer of the semiconductor memory device.

【0041】[第3の実施例]図11は本発明の第3の
実施例の半導体記憶装置を示す図である。なお、第1の
実施例と同一機能を有する部分については同一符号を付
している。第1の実施例では、アドレスデコード回路1
3に入力されるうちの一部の入力アドレス信号A8,A
7の入力をアドレス入力禁止回路28にて禁止していた
が、本実施例の半導体記憶装置では、この方式に代え
て、図11の如く、出力回路15への出力許可信号(バ
ーOE)への入力を出力許可信号入力禁止回路71にて
禁止している。該出力許可信号入力禁止回路71は、正
入力インバータ回路72と、正入力OR回路73とから
構成される。前記正入力インバータ回路72の入力端子
は前記選択回数検出回路27の出力端子に接続されてい
る。前記正入力OR回路73は二個の入力端子を有して
おり、一方の入力端子は前記正入力インバータ回路72
の出力端子に接続され、他方の入力端子には外部からの
出力許可信号(バーOE)が入力される。該正入力OR
回路73の出力端子は、図12の如く、出力回路15の
論理回路Bfに反転入力端子に接続される。なお、出力
回路15の論理回路Bfは図6に示した第1の実施例と
同様である。また、その他の構成、特に選択回数検出回
路27の内部構成は第1の実施例と同様であるため説明
を省略する。
[Third Embodiment] FIG. 11 shows a semiconductor memory device according to a third embodiment of the present invention. The parts having the same functions as those in the first embodiment are designated by the same reference numerals. In the first embodiment, the address decoding circuit 1
Some of the input address signals A8, A of the three
Although the input of 7 is prohibited by the address input prohibition circuit 28, in the semiconductor memory device of the present embodiment, instead of this method, the output permission signal (bar OE) to the output circuit 15 is sent as shown in FIG. Is prohibited by the output permission signal input prohibition circuit 71. The output permission signal input prohibition circuit 71 is composed of a positive input inverter circuit 72 and a positive input OR circuit 73. The input terminal of the positive input inverter circuit 72 is connected to the output terminal of the selection number detection circuit 27. The positive input OR circuit 73 has two input terminals, one input terminal of which is the positive input inverter circuit 72.
Of the output permission signal (bar OE) from the outside is input to the other input terminal. The positive input OR
The output terminal of the circuit 73 is connected to the inverting input terminal of the logic circuit Bf of the output circuit 15 as shown in FIG. The logic circuit Bf of the output circuit 15 is similar to that of the first embodiment shown in FIG. Further, the other configurations, particularly the internal configuration of the selection number detection circuit 27, are the same as those in the first embodiment, and the description thereof will be omitted.

【0042】上記構成の半導体記憶装置では、所定の信
号推移(例えば第1の実施例と同様にX1,X1,X2
の順に”H”となる推移)があった場合にのみ、選択回
数検出回路27から”H”信号が出力され、正入力イン
バータ回路72にて反転されて”L”Iになった後、正
入力OR回路73の一方の入力端子に入力される。この
際に出力許可信号(バーOE)(=”L”)が入力され
ると、正入力OR回路73への二個の入力はいずれも”
L”であるため、”L”信号を出力回路15に対して出
力する。このとき、図12の如く、Bfには反転した”
H”信号が入力されるため、記憶セル出力セレクト回路
14からの信号が”H”のときには出力が”H”とな
り、データの読み出しが行われる。
In the semiconductor memory device having the above structure, a predetermined signal transition (for example, X1, X1, X2 as in the first embodiment) is performed.
, The selection count detection circuit 27 outputs the “H” signal, which is inverted by the positive input inverter circuit 72 to become “L” I, and then becomes positive. It is input to one input terminal of the input OR circuit 73. At this time, when the output enable signal (bar OE) (= "L") is input, both of the two inputs to the positive input OR circuit 73 are "
Since it is L ", an" L "signal is output to the output circuit 15. At this time, as shown in FIG.
Since the "H" signal is input, when the signal from the memory cell output select circuit 14 is "H", the output becomes "H" and the data is read.

【0043】一方、上述の所定の信号推移が発生しない
場合、図11の如く、選択回数検出回路27から”L”
信号が出力され、正入力インバータ回路72にて反転さ
れて”H”になった後、正入力OR回路73の一方の入
力端子に入力される。この際に他方の入力端子に出力許
可信号(バーOE)(=”L”)が入力されても、一方
の入力端子に”H”が入力されるため、正入力OR回路
73は”H”信号を出力回路15に対して出力する。こ
のとき、図12の如く、Bfには反転した”L”信号が
入力されるため、記憶セル出力セレクト回路14からの
信号が”H”であったとしても、出力は”L”となる。
すなわち、バーOEはハイインピーダンス状態(フロー
ティング状態)となり、記憶セル出力セレクト回路14
からの信号はキャンセルされる。
On the other hand, when the above-mentioned predetermined signal transition does not occur, as shown in FIG. 11, the selection count detection circuit 27 outputs "L".
A signal is output, inverted by the positive input inverter circuit 72 to become “H”, and then input to one input terminal of the positive input OR circuit 73. At this time, even if the output enable signal (bar OE) (= "L") is input to the other input terminal, since "H" is input to one input terminal, the positive input OR circuit 73 is "H". The signal is output to the output circuit 15. At this time, as shown in FIG. 12, the inverted "L" signal is input to Bf, so that the output becomes "L" even if the signal from the memory cell output select circuit 14 is "H".
That is, the bar OE is in a high impedance state (floating state), and the memory cell output select circuit 14
The signal from is canceled.

【0044】このように構成すると、図8のアドレスマ
ップに示したような読み出し可能領域Ar1がなくな
り、全領域において、決められたアクセス手順を踏まな
い限り記憶データの読み出しを禁止できる。したがっ
て、第1の実施例に比べて、全てのデータを秘匿できる
という利点がある。
With this configuration, the readable area Ar1 as shown in the address map of FIG. 8 is eliminated, and the reading of the stored data can be prohibited in all areas unless a predetermined access procedure is followed. Therefore, compared to the first embodiment, there is an advantage that all data can be kept secret.

【0045】なお、本実施例においても、第1の実施例
と同様に、ある条件を持たないと入力アドレス信号A0
〜A8によって、A7またはA8の少なくとも一方がH
であるアドレスの記憶内容を読み出せなくするものであ
るが、コンピュータ等の装置に組み込まれて動作するよ
うな通常の動作の場合は、A7またはA8の少なくとも
一方がHとなるアドレスの記憶内容も出力されているこ
とが多い。この場合、アドレス入力禁止回路28のアド
レス入力禁止を解除する手段が、上記の構成に加えて組
み込まれる必要がある。かかる解除手段としては、例え
ばアドレス入力禁止を解除するための上記の動作、すな
わちアドレスアクセス順序(例えば、X1、X1、X2
の順)およびアクセス回数等を、組み込みのマイクロコ
ンピュータに予めプログラムしておけばよい。
In the present embodiment as well, as in the first embodiment, if there is no certain condition, the input address signal A0
Depending on A8, at least one of A7 and A8 is H
However, in the case of a normal operation that is incorporated in a device such as a computer to operate, at least one of A7 and A8 also has a stored content of H. It is often output. In this case, means for canceling the address input prohibition of the address input prohibition circuit 28 needs to be incorporated in addition to the above configuration. As the releasing means, for example, the above-mentioned operation for releasing the prohibition of address input, that is, the address access sequence (for example, X1, X1, X2).
Order) and the number of times of access may be programmed in advance in a built-in microcomputer.

【0046】[第4の実施例]図13は本発明の第4の
実施例の半導体記憶装置を示す図である。なお、第1の
実施例と同一機能を有する部分については同一符号を付
している。本実施例の半導体記憶装置は、セキュリティ
回路25内の選択回数検出回路27とアドレス入力禁止
回路28の間に、前記選択回数検出回路27からの出力
信号にかかわらず前記アドレス入力禁止回路28の信号
入力禁止を解除する選択回数検出信号無効回路77が設
けられている。該選択回数検出信号無効回路77は正入
力OR回路であって、二個の入力端子を有し、一方の入
力端子は前記選択回数検出回路27の出力端子に接続さ
れ、他方の入力端子には外部からの禁止解除指令信号C
Aが入力される。該選択回数検出信号無効回路77の出
力端子は、二個のアドレス入力禁止回路28の各入力端
子に接続されている。その他の構成は第1の実施例と同
様であるため説明を省略する。
[Fourth Embodiment] FIG. 13 shows a semiconductor memory device according to a fourth embodiment of the present invention. The parts having the same functions as those in the first embodiment are designated by the same reference numerals. In the semiconductor memory device of this embodiment, the signal of the address input prohibition circuit 28 is provided between the selection count detection circuit 27 and the address input prohibition circuit 28 in the security circuit 25 regardless of the output signal from the selection count detection circuit 27. A selection number detection signal invalidating circuit 77 for canceling the input inhibition is provided. The selection number detection signal invalidating circuit 77 is a positive input OR circuit and has two input terminals, one input terminal is connected to the output terminal of the selection number detecting circuit 27, and the other input terminal is External prohibition command signal C
A is input. The output terminal of the selection number detection signal invalidating circuit 77 is connected to each input terminal of the two address input prohibiting circuits 28. The rest of the configuration is similar to that of the first embodiment, so the explanation is omitted.

【0047】上記構成において、禁止解除指令信号CA
が”H”のとき、選択回数検出回路27の出力である選
択回数検出信号が”H”であるか”L”であるかにかか
わらず選択回数検出信号無効回路77は”H”を出力
し、アドレス入力禁止回路の信号入力禁止を解除する。
そうすると、任意の時にアドレス入力を正しくアドレス
デコード回路に伝達するように設定でき、全てのアドレ
スのデータが読み出し可能となる。したがって、半導体
記憶装置の製造者が装置試験を行う際に、その都度所定
の信号推移で信号入力を行わなくて済むという利点があ
る。禁止解除指令信号CAは半導体記憶装置の仕様とし
て公開しなければ製造者以外には知られないで済み、一
般ユーザーによるデータの解読を防止できる。
In the above structure, the prohibition cancellation command signal CA
Is "H", the selection number detection signal invalid circuit 77 outputs "H" regardless of whether the selection number detection signal output from the selection number detection circuit 27 is "H" or "L". , Release the signal input inhibition of the address input inhibition circuit.
Then, the address input can be set to be correctly transmitted to the address decode circuit at any time, and the data at all addresses can be read. Therefore, there is an advantage that the semiconductor memory device manufacturer does not need to input a signal with a predetermined signal transition each time a device test is performed. The prohibition cancellation command signal CA is not known to anyone but the manufacturer unless it is disclosed as the specifications of the semiconductor memory device, and it is possible to prevent the general user from decoding the data.

【0048】なお、禁止解除指令信号CAをどのように
して選択回数検出信号無効回路77に与えるかについて
は、様々な方法が考えられる。例えば、 (1)図14の如く、選択回数検出信号無効回路77へ
入力するための禁止解除指令信号CAを、例えば3値入
力端子を用いて送信する方法。電源電圧VCC=5Vのと
きに入力端子から電源電圧VCCの2倍、すなわち10V
以上の電位を与えることにより、CMOSの両トランジ
スタT1,T2の接続点を”H”として禁止解除指令信
号CAを”H”とする。このように3入力端子を用いる
ことで、他の信号端子、例えば、リセット端子、CE端
子、または余剰端子に同時に割り付け可能となる。 (2)半導体記憶装置をチップとしてをモールドして製
品として完成した後、あるピンに禁止解除指令信号CA
としての電源電位を与える方法。 (3)チップ内に、外部から試験を行うことを示す試験
信号を入力できるようにし、該試験信号が入力されたか
否かを検出する試験信号検出回路と、該試験信号検出回
路での検出結果に基づいて禁止解除指令信号CAを前記
選択回数検出信号無効回路77へ送信する指令信号送信
回路とを設ける方法。 (4)チップ内に禁止解除指令信号CAを発生する指令
信号発生回路が設け、該指令信号発生回路は常時は”
H”信号を出力するが、試験が終了して例えばヒューズ
(電源)を切れば、”L”しか出力しないようにする方
法。
Various methods can be considered as to how the prohibition cancellation command signal CA is given to the selection number detection signal invalidation circuit 77. For example, (1) A method of transmitting a prohibition cancellation command signal CA to be input to the selection number detection signal invalidation circuit 77 using, for example, a ternary input terminal as shown in FIG. When the power supply voltage V CC = 5V, twice the power supply voltage V CC from the input terminal, that is, 10V
By applying the above potentials, the connection point between the CMOS transistors T1 and T2 is set to "H" and the prohibition cancellation command signal CA is set to "H". By using the three input terminals in this way, it is possible to simultaneously allocate to other signal terminals such as a reset terminal, a CE terminal, or a surplus terminal. (2) After the semiconductor memory device is molded as a chip and completed as a product, a prohibition release command signal CA is given to a certain pin.
As a power supply potential. (3) A test signal detection circuit that allows a test signal indicating that a test is to be performed to be input from the outside into the chip and detects whether or not the test signal is input, and a detection result of the test signal detection circuit And a command signal transmission circuit for transmitting the prohibition cancellation command signal CA to the selection number detection signal invalidation circuit 77 based on the above. (4) A command signal generation circuit for generating the prohibition cancellation command signal CA is provided in the chip, and the command signal generation circuit is always "
A method of outputting an "H" signal, but outputting only "L" if the fuse (power supply) is turned off after the test is completed.

【0049】上記(1)乃至(4)のいずれの方法によ
っても、ユーザーにデータを秘匿しつつ、製造者等はデ
ータの秘匿をいつでも解除できることはいうまでもな
い。
It goes without saying that, by any of the above methods (1) to (4), the manufacturer or the like can release the confidentiality of the data at any time while keeping the data confidential to the user.

【0050】[第5の実施例]図15は本発明の第5の
実施例の半導体記憶装置を示す図である。なお、第2の
実施例と同一機能を有する部分については同一符号を付
している。本実施例の半導体記憶装置は、記憶セルアレ
イ11と記憶セル出力セレクト回路14との間に書き込
み可能な記憶セル列45が設けられる点で第2の実施例
と同様であるが、該書き込み可能な記憶セル列45が選
択回数を検出される所定の記憶セル列12が複数個の前
記記憶セル列12のうちのいずれであるかを記憶するた
めのものである点で第2の実施例と異なる。すなわち、
書き込み可能な記憶セル列45には、データ書き込み手
段としての記憶セル入出力セレクト回路47および入出
力回路48により、読み出しを禁止するか否かの判断基
準となる選択回数の対象記憶セル列12のアドレスデー
タが書き込まれる。該書き込み可能な記憶セル列45
は、第2の実施例と同様、フラッシュメモリ、EEPR
OMまたはEPROM等、書き込み可能な不揮発性のメ
モリセルが使用される。
[Fifth Embodiment] FIG. 15 shows a semiconductor memory device according to a fifth embodiment of the present invention. The parts having the same functions as those in the second embodiment are designated by the same reference numerals. The semiconductor memory device of this embodiment is similar to the second embodiment in that a writable memory cell column 45 is provided between the memory cell array 11 and the memory cell output select circuit 14, but the writable The memory cell array 45 is different from the second embodiment in that it is for storing which one of the plurality of memory cell arrays 12 is a predetermined memory cell array 12 whose number of selections is detected. . That is,
In the writable memory cell column 45, the memory cell input / output select circuit 47 and the input / output circuit 48 as the data writing means selects the target memory cell column 12 of the number of times of selection, which serves as a criterion for determining whether to prohibit reading. Address data is written. The writable memory cell column 45
Are the flash memory and EEPR as in the second embodiment.
A writable non-volatile memory cell such as OM or EPROM is used.

【0051】また、本実施例では、第2の実施例と異な
り、読み出しを禁止するか否かの判断基準となる選択回
数の対象記憶セル列12のアドレスが変更されるもので
あるため、これに伴って、選択回数検出回路27へ入力
するX1,X2のアクセスポイントを変更可能にする必
要がある。そこで、本実施例では、図15の如く、セル
列選択手段21と記憶セルアレイ11の間にセレクタ8
1が介在される。該セレクタはセル列選択手段21と記
憶セルアレイ11との間の各接続線に接続されたトラン
ジスタを有した一般的なもので、書き込み可能な記憶セ
ル列45からのゲート入力を受けて、いずれかの一対の
接続線の信号をX1およびX2として選択回数検出回路
27に出力する。なお、記憶セルアレイ11、記憶セル
列12、アドレスデコード回路13、選択回数検出回路
27、アドレス入力禁止回路28、記憶セル入出力セレ
クト回路47および入出力回路48の構成は第2の実施
例と同様であるため説明を省略する。
Further, in the present embodiment, unlike the second embodiment, the address of the target memory cell column 12 of the number of times of selection, which is a criterion for determining whether or not to prohibit reading, is changed. Accordingly, it is necessary to change the access points of X1 and X2 input to the selection number detection circuit 27. Therefore, in this embodiment, as shown in FIG. 15, the selector 8 is provided between the cell column selecting means 21 and the memory cell array 11.
1 is interposed. The selector is a general one having a transistor connected to each connection line between the cell column selecting means 21 and the memory cell array 11, and receives a gate input from a writable memory cell column 45 to select one of them. The signals of the pair of connection lines are output to the selection number detection circuit 27 as X1 and X2. The configurations of the memory cell array 11, the memory cell column 12, the address decode circuit 13, the selection number detection circuit 27, the address input prohibition circuit 28, the memory cell input / output select circuit 47 and the input / output circuit 48 are the same as those in the second embodiment. Therefore, the description is omitted.

【0052】本実施例によると、第2の実施例と同様、
秘匿領域Ar0の読み出しを可能とする手順、すなわち
秘匿解除のための信号推移を検出する記憶セル列12
を、書き込み可能な記憶セル列45に書き込まれたデー
タによって決定するので、様々なアクセス対象記憶セル
列12を設定することができる。そうすると、最終ユー
ザーや、プログラムを格納する中間販売業者等にて自由
にアクセス対象記憶セル列12を設定することができ、
半導体記憶装置の製造者に対してもその手順を秘密にす
ることができる。
According to this embodiment, as in the second embodiment,
A procedure for enabling reading of the secret area Ar0, that is, a memory cell column 12 for detecting a signal transition for canceling the secret
Is determined by the data written in the writable memory cell column 45, so that various access target memory cell columns 12 can be set. Then, the end user or an intermediate distributor who stores the program can freely set the access target storage cell column 12,
The procedure can be kept secret from the manufacturer of the semiconductor memory device.

【0053】[第6の実施例]図16は本発明の第6の
実施例の半導体記憶装置を示す図である。なお、第5の
実施例と同一機能を有する部分については同一符号を付
している。本実施例の半導体記憶装置は、書き込み可能
な記憶セル列45が選択回数を検出される所定の記憶セ
ル列12が複数個の前記記憶セル列12のうちのいずれ
であるかを記憶するためのものである点で第5の実施例
と同様であるが、書き込み可能な記憶セル列45が、さ
らに、アドレス入力禁止回路28での信号入力禁止解除
に必要な前記所定の記憶セル列12の選択回数をも記憶
するよう構成される点で、第5の実施例と異なる。すな
わち、書き込み可能な記憶セル列45には、データ書き
込み手段としての記憶セル入出力セレクト回路47およ
び入出力回路48により、読み出しを禁止するか否かの
判断基準となる選択回数と、対象となる記憶セル列12
のアドレスデータの両データが書き込まれる。該書き込
み可能な記憶セル列45は、第2の実施例および第5の
実施例と同様、フラッシュメモリ、EEPROMまたは
EPROM等、書き込み可能な不揮発性のメモリセルが
使用される。
[Sixth Embodiment] FIG. 16 shows a semiconductor memory device according to the sixth embodiment of the present invention. The parts having the same functions as those in the fifth embodiment are designated by the same reference numerals. The semiconductor memory device of this embodiment stores which of the plurality of memory cell columns 12 the predetermined memory cell column 12 of which the number of times the writable memory cell column 45 is selected is stored. This is similar to the fifth embodiment in that the writable memory cell column 45 is further selected from the predetermined memory cell column 12 necessary for releasing the signal input inhibition in the address input inhibition circuit 28. It differs from the fifth embodiment in that the number of times is also stored. That is, in the writable memory cell column 45, the number of selections serving as a criterion for determining whether or not the reading is prohibited by the memory cell input / output select circuit 47 and the input / output circuit 48 as the data writing means, and the target. Memory cell column 12
Both address data of are written. As the writable memory cell column 45, a writable non-volatile memory cell such as a flash memory, an EEPROM or an EPROM is used as in the second and fifth embodiments.

【0054】また、本実施例では、第5の実施例と同
様、読み出しを禁止するか否かの判断基準となる選択回
数の対象記憶セル列12のアドレスが変更されるもので
あるため、セル列選択手段21と記憶セルアレイ11の
間にセレクタ81が介在される。なお、記憶セルアレイ
11、記憶セル列12、アドレスデコード回路13、選
択回数検出回路27、アドレス入力禁止回路28、記憶
セル入出力セレクト回路47、入出力回路48、および
セレクタ81の構成は第2の実施例と同様であるため説
明を省略する。
Further, in the present embodiment, as in the fifth embodiment, since the address of the target storage cell column 12 of the number of times of selection, which is a criterion for determining whether to prohibit reading, is changed, A selector 81 is interposed between the column selection means 21 and the memory cell array 11. The memory cell array 11, the memory cell column 12, the address decode circuit 13, the selection number detection circuit 27, the address input prohibition circuit 28, the memory cell input / output select circuit 47, the input / output circuit 48, and the selector 81 have the second configuration. The description is omitted because it is similar to the embodiment.

【0055】本実施例によると、第2の実施例と同様
に、秘匿領域Ar0の読み出しを可能とするX1,X2
の基準となる選択回数を自由に設定できるとともに、第
5の実施例と同様、秘匿解除のための信号推移を検出す
る対象の記憶セル列12をも自由に設定でき、秘匿解除
条件をさらに複雑にでき、その解読をさらに困難にでき
る。
According to the present embodiment, as in the second embodiment, X1 and X2 that enable reading of the secret area Ar0.
It is possible to freely set the number of selections serving as the reference of, and similarly to the fifth embodiment, it is possible to freely set the memory cell row 12 that is the target for detecting the signal transition for descrambling, and the descrambling condition is further complicated. Can be made even more difficult to decipher.

【0056】[変形例] (1)第2の実施例、第4の実施例、第5の実施例およ
び第6の実施例では、第1の実施例と同様に、所定のセ
ル列の選択回数が一定の場合には、正当な入力アドレス
信号A0〜A8をアドレスデコード回路13へ入力する
よう構成していたが、第3の実施例と同様に、所定のセ
ル列の選択回数が一定の場合には、出力許可信号入力禁
止回路にて出力許可信号の出力回路への入力禁止を解除
するよう構成してもよい。
[Modification] (1) In the second, fourth, fifth, and sixth embodiments, as in the first embodiment, selection of a predetermined cell row. When the number of times is constant, the valid input address signals A0 to A8 are input to the address decoding circuit 13. However, as in the third embodiment, the number of times of selecting a predetermined cell row is constant. In this case, the output permission signal input prohibition circuit may be configured to cancel the inhibition of the input of the output permission signal to the output circuit.

【0057】(2)第2の実施例、第5の実施例および
第6の実施例において、第4の実施例と同様に、外部か
らデータ読出許可のための信号を入力できるよう構成
し、試験等での読出禁止の解除を容易にしてもよい。
(2) In the second, fifth, and sixth embodiments, as in the fourth embodiment, a signal for permitting data read is externally input, It may be possible to easily release the read prohibition in a test or the like.

【0058】[0058]

【発明の効果】本発明請求項1によると、アドレスデコ
ード回路、記憶セル列、出力回路を備える半導体記憶装
置に、所定の記憶セル列が予め設定された回数だけ選択
されたことを検出する選択回数検出回路と、選択回数検
出回路からの出力にしたがって読み出しの禁止および禁
止解除を切り換える読み出し禁止手段とを備えているの
で、所定の記憶セル列を予め設定された回数だけ選択す
る、といった特定の手順を踏まない限り、記憶データの
読み出しを禁止することができ、事情の知らないユーザ
ーに対してデータを秘匿できる。したがって、半導体記
憶装置に記憶されているデータの解読や複製が困難とな
り、多大な費用と労力を使って開発したプログラム等の
保護ができるという効果がある。
According to the first aspect of the present invention, selection for detecting that a predetermined memory cell column is selected a preset number of times in a semiconductor memory device having an address decoding circuit, a memory cell column, and an output circuit. Since the number-of-times detection circuit and the read-out prohibition means for switching the prohibition and the release of the prohibition in accordance with the output from the selection number-of-times detection circuit are provided, it is possible to select a specific memory cell column a predetermined number of times. As long as no steps are taken, reading of stored data can be prohibited, and the data can be kept secret from users who do not know the circumstances. Therefore, it becomes difficult to decrypt or copy the data stored in the semiconductor memory device, and it is possible to protect a program or the like developed with great expense and labor.

【0059】本発明請求項2によると、アドレスデコー
ド回路、記憶セル列、出力回路を備える半導体記憶装置
に、所定の記憶セル列が予め設定された回数だけ選択さ
れたことを検出する選択回数検出回路と、選択回数検出
回路からの出力にしたがって入力アドレス信号のアドレ
スデコード回路への入力および入力禁止を切り換えるア
ドレス入力禁止回路とを備えているので、所定の記憶セ
ル列を予め設定された回数だけ選択する、といった特定
の手順を踏まない限り、記憶データの読み出しを禁止し
て、所定の入力アドレス信号を入力した場合に対応する
一定の領域のデータを全て秘匿できるという効果があ
る。
According to the second aspect of the present invention, the number of selections is detected in the semiconductor memory device including the address decode circuit, the memory cell column, and the output circuit to detect that the predetermined memory cell column has been selected a preset number of times. Since a circuit and an address input prohibition circuit for switching the input of the input address signal to the address decode circuit and the prohibition of input according to the output from the selection number detection circuit are provided, a predetermined memory cell string is set a predetermined number of times. Unless a specific procedure such as selecting is performed, there is an effect that reading of stored data is prohibited and all data in a certain area corresponding to the case where a predetermined input address signal is input can be kept secret.

【0060】本発明請求項3によると、アドレスデコー
ド回路、記憶セル列、出力回路を備える半導体記憶装置
に、所定の記憶セル列が予め設定された回数だけ選択さ
れたことを検出する選択回数検出回路と、選択回数検出
回路からの出力にしたがって出力許可信号の出力回路へ
の入力および入力禁止を出力許可信号入力禁止回路とを
備えているので、データの秘匿に際し、出力許可信号入
力禁止回路にて所定の出力許可信号の出力回路への入力
を禁止でき、出力許可信号を送信したときでも送信され
ないままの状態と同じになり、出力回路は駆動しないた
め読み出しは行われず、記憶セルアレイ内の一切のデー
タを秘匿できるという効果がある。
According to the third aspect of the present invention, the number of selections is detected in the semiconductor memory device including the address decode circuit, the memory cell column, and the output circuit to detect that the predetermined memory cell column has been selected a preset number of times. Since the circuit and the output permission signal input prohibition circuit for inputting and prohibiting the input of the output permission signal to the output circuit according to the output from the selection number detection circuit are provided, the output permission signal input prohibition circuit does not operate when the data is kept secret. Input of the specified output enable signal to the output circuit can be prohibited, and even when the output enable signal is sent, it remains in the same state as when it was not sent.The output circuit is not driven and reading is not performed. There is an effect that the data of can be kept secret.

【0061】本発明請求項4によると、アドレス入力禁
止回路での信号入力禁止解除に必要な所定の記憶セル列
の選択回数を記憶するための書き込み可能な記憶セルを
設けているので、書き込み可能な記憶セルに、アドレス
入力禁止回路での信号入力禁止解除に必要な条件、すな
わち、所定の記憶セル列の基準となる選択回数を自由に
書き込み記憶できる。したがって、設定者がデータ読み
出し条件を自由に設定でき、読み出し条件の解読を困難
にしてデータ秘匿を確実にできるという効果がある。
According to claim 4 of the present invention, since the writable memory cell for storing the number of times of selection of the predetermined memory cell column necessary for canceling the signal input prohibition in the address input prohibition circuit is provided, the writable memory cell is writable. It is possible to freely write and store the condition necessary for canceling the signal input prohibition in the address input prohibition circuit, that is, the number of times of selection, which is a reference of a predetermined memory cell column, in such a memory cell. Therefore, the configurator can freely set the data reading conditions, making it difficult to decipher the reading conditions and ensuring the confidentiality of the data.

【0062】本発明請求項5によると、選択回数検出回
路にて選択回数を検出される所定の記憶セル列のアドレ
スを記憶するための書き込み可能な記憶セルを設けてい
るので、書き込み可能な記憶セルに、アドレス入力禁止
回路での信号入力禁止解除に必要な所定の選択回数を検
出する記憶セル列のアドレスを自由に書き込み記憶でき
る。したがって、設定者がデータ読み出し条件を自由に
設定でき、読み出し条件の解読を困難にしてデータ秘匿
を確実にできるという効果がある。
According to claim 5 of the present invention, since the writable memory cell for storing the address of the predetermined memory cell column whose selection count is detected by the selection count detection circuit is provided, the writable storage It is possible to freely write and store in the cell the address of the memory cell column that detects the predetermined number of times of selection necessary for canceling the signal input prohibition in the address input prohibition circuit. Therefore, the configurator can freely set the data reading conditions, making it difficult to decipher the reading conditions and ensuring the confidentiality of the data.

【0063】本発明請求項6によると、書き込み可能な
記憶セルに任意のデータを書き込むためのデータ書き込
み手段を設けているので、書き込み可能な記憶セルへデ
ータを書き込む際、データ書き込み手段にて書き込むこ
とができるという効果がある。
According to claim 6 of the present invention, since the data writing means for writing arbitrary data to the writable storage cell is provided, when writing the data to the writable storage cell, the data writing means writes the data. The effect is that you can.

【0064】本発明請求項7によると、選択回数検出回
路と読み出し禁止手段の間に、前記選択回数検出回路か
らの出力信号にかかわらず前記読み出し禁止手段での読
み出し禁止を解除する選択回数検出信号無効回路を備え
ているので、製造後の検査時等において一時的にデータ
秘匿を全面的に解除したいとき、選択回数検出信号無効
回路に信号を入力し、読み出し禁止手段での読み出し禁
止を解除できる。したがって、選択回数検出回路からの
出力信号にかかわらずデータ秘匿を全面的に解除できる
という効果がある。
According to claim 7 of the present invention, between the selection number detecting circuit and the read inhibiting means, the selection number detecting signal for releasing the read inhibition by the read inhibiting means regardless of the output signal from the selection number detecting circuit. Since the invalid circuit is provided, when it is desired to temporarily cancel the data confidentiality entirely at the time of inspection after manufacturing, a signal can be input to the selection count detection signal invalid circuit to cancel the read prohibition by the read prohibition means. . Therefore, there is an effect that the data confidentiality can be completely released regardless of the output signal from the selection number detection circuit.

【0065】本発明請求項8によると、前記選択回数検
出回路と前記アドレス入力禁止回路の間に、前記選択回
数検出回路からの出力信号にかかわらず前記アドレス入
力禁止回路の信号入力禁止を解除する選択回数検出信号
無効回路を備えているので、製造後の検査時等において
一時的にデータ秘匿を全面的に解除したいとき、選択回
数検出信号無効回路に信号を入力し、アドレス入力禁止
回路での信号入力禁止を解除できる。したがって、選択
回数検出回路からの出力信号にかかわらずデータ秘匿を
全面的に解除できるという効果がある。
According to claim 8 of the present invention, the signal input inhibition of the address input inhibition circuit is released between the selection number detection circuit and the address input inhibition circuit regardless of the output signal from the selection number detection circuit. Since it is equipped with a selection count detection signal invalid circuit, when you want to temporarily clear the data confidentiality at the time of inspection after manufacturing, input a signal to the selection count detection signal invalid circuit, and The signal input prohibition can be released. Therefore, there is an effect that the data confidentiality can be completely released regardless of the output signal from the selection number detection circuit.

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

【図1】本発明の第1の実施例の半導体記憶装置の概略
を示すブロック図である。
FIG. 1 is a block diagram showing an outline of a semiconductor memory device according to a first embodiment of the present invention.

【図2】本発明の第1の実施例の半導体記憶装置の記憶
セル列を示す回路図である。
FIG. 2 is a circuit diagram showing a memory cell column of the semiconductor memory device according to the first embodiment of the present invention.

【図3】本発明の第1の実施例の半導体記憶装置のアド
レスデコード回路を示す論理回路図である。
FIG. 3 is a logic circuit diagram showing an address decoding circuit of the semiconductor memory device of the first exemplary embodiment of the present invention.

【図4】本発明の第1の実施例の半導体記憶装置の記憶
セル出力セレクト回路を示す回路図である。
FIG. 4 is a circuit diagram showing a memory cell output select circuit of the semiconductor memory device according to the first embodiment of the present invention.

【図5】本発明の第1の実施例の半導体記憶装置の出力
回路を示す回路図である。
FIG. 5 is a circuit diagram showing an output circuit of the semiconductor memory device according to the first exemplary embodiment of the present invention.

【図6】本発明の第1の実施例の半導体記憶装置の出力
回路の細部を示す回路図である。
FIG. 6 is a circuit diagram showing details of an output circuit of the semiconductor memory device according to the first exemplary embodiment of the present invention.

【図7】本発明の第1の実施例の半導体記憶装置の選択
回数検出回路を示す回路図である。
FIG. 7 is a circuit diagram showing a selection frequency detection circuit of the semiconductor memory device according to the first embodiment of the present invention.

【図8】本発明の第1の実施例の半導体記憶装置のアド
レスマップを示す図である。
FIG. 8 is a diagram showing an address map of the semiconductor memory device according to the first embodiment of the present invention.

【図9】本発明の第2の実施例の半導体記憶装置の概略
を示すブロック図である。
FIG. 9 is a block diagram showing an outline of a semiconductor memory device according to a second embodiment of the present invention.

【図10】本発明の第2の実施例の半導体記憶装置の選
択回数検出回路を示す回路図である。
FIG. 10 is a circuit diagram showing a selection count detection circuit of a semiconductor memory device according to a second embodiment of the present invention.

【図11】本発明の第3の実施例の半導体記憶装置の概
略を示すブロック図である。
FIG. 11 is a block diagram showing an outline of a semiconductor memory device of a third embodiment of the present invention.

【図12】本発明の第3の実施例の半導体記憶装置の出
力回路の細部を示す回路図である。
FIG. 12 is a circuit diagram showing details of an output circuit of a semiconductor memory device according to a third embodiment of the present invention.

【図13】本発明の第4の実施例の半導体記憶装置の概
略を示すブロック図である。
FIG. 13 is a block diagram showing an outline of a semiconductor memory device according to a fourth embodiment of the present invention.

【図14】本発明の第4の実施例の半導体記憶装置の外
部からの信号入力回路を示す回路図である。
FIG. 14 is a circuit diagram showing a signal input circuit from the outside of a semiconductor memory device according to a fourth embodiment of the present invention.

【図15】本発明の第5の実施例の半導体記憶装置の概
略を示すブロック図である。
FIG. 15 is a block diagram showing an outline of a semiconductor memory device according to a fifth embodiment of the present invention.

【図16】本発明の第6の実施例の半導体記憶装置の概
略を示すブロック図である。
FIG. 16 is a block diagram showing an outline of a semiconductor memory device according to a sixth embodiment of the present invention.

【図17】従来例の半導体記憶装置の概略を示すブロッ
ク図である。
FIG. 17 is a block diagram showing an outline of a conventional semiconductor memory device.

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

11 記憶セルアレイ 12 記憶セル列 13 アドレスデコード回路 14 記憶セル出力セレクト回路 15 出力回路 27 選択回数検出回路 28 アドレス入力禁止回路 45 記憶セル列 46 選択回数検出回路 47 記憶セル入出力セレクト回路 48 入出力回路 71 出力許可信号入力禁止回路 77 選択回数検出信号無効回路 81 セレクタ A0〜A8 入力アドレス信号 Ar0 秘匿領域 Ar1 可能領域 CA 禁止解除指令信号 OE 出力許可信号 11 memory cell array 12 memory cell column 13 address decode circuit 14 memory cell output select circuit 15 output circuit 27 selection frequency detection circuit 28 address input prohibition circuit 45 memory cell sequence 46 selection frequency detection circuit 47 memory cell input / output selection circuit 48 input / output circuit 71 output permission signal input prohibition circuit 77 selection number detection signal invalidation circuit 81 selector A0 to A8 input address signal Ar0 secret area Ar1 possible area CA prohibition cancel command signal OE output permission signal

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 入力アドレス信号のデコードを行うアド
レスデコード回路と、 前記アドレスデコード回路からの選択信号により選択さ
れる記憶セル列と、 選択された前記記憶セル列の出力を検知して外部へデー
タを出力するための出力回路と、 前記記憶セル列のうちの所定の記憶セル列が予め設定さ
れた回数だけ選択されたことを検出する選択回数検出回
路と、 前記選択回数検出回路が予め設定された回数だけ選択さ
れたことを検出するまでは少なくとも一部の前記記憶セ
ル列の読み出しを禁止し、前記選択回数検出回路が予め
設定された回数だけ選択されたことを検出したときに該
選択回数検出回路からの出力にしたがって読み出しの禁
止を解除する読み出し禁止手段とを備える半導体記憶装
置。
1. An address decoding circuit that decodes an input address signal, a memory cell column selected by a selection signal from the address decoding circuit, and an output of the selected memory cell column is detected to externally output data. An output circuit for outputting, a selection number detection circuit for detecting that a predetermined memory cell column of the memory cell column has been selected a preset number of times, and the selection number detection circuit is preset. Read out of at least a part of the memory cell columns until it is detected that the selected number of times has been selected, and when the selected number detection circuit detects that the selected number of times has been selected, the selected number of times is selected. A semiconductor memory device comprising: read prohibition means for canceling read prohibition according to an output from a detection circuit.
【請求項2】 入力アドレス信号のデコードを行うアド
レスデコード回路と、 前記アドレスデコード回路からの選択信号により選択さ
れる記憶セル列と、 選択された前記記憶セル列の出力を検知して外部へデー
タを出力するための出力回路と、 前記記憶セル列のうちの所定の記憶セル列が予め設定さ
れた回数だけ選択されたことを検出する選択回数検出回
路と、 前記選択回数検出回路が予め設定された回数だけ選択さ
れたことを検出するまでは所定の前記入力アドレス信号
の前記アドレスデコード回路への入力を禁止し、前記選
択回数検出回路が予め設定された回数だけ選択されたこ
とを検出したときに該選択回数検出回路からの出力にし
たがって所定の前記入力アドレス信号の前記アドレスデ
コード回路への入力禁止を解除するアドレス入力禁止回
路とを備える半導体記憶装置。
2. An address decoding circuit that decodes an input address signal, a memory cell column selected by a selection signal from the address decoding circuit, and an output of the selected memory cell column is detected to externally output data. An output circuit for outputting, a selection number detection circuit for detecting that a predetermined memory cell column of the memory cell column has been selected a preset number of times, and the selection number detection circuit is preset. Input of the predetermined input address signal to the address decoding circuit is prohibited until it is detected that the selected number of times has been selected, and the selection number detection circuit detects that the selection number of times has been selected a preset number of times. An address for releasing the prohibition of the input of the predetermined input address signal to the address decoding circuit according to the output from the selection number detection circuit The semiconductor memory device and a power inhibiting circuit.
【請求項3】 入力アドレス信号のデコードを行うアド
レスデコード回路と、 前記アドレスデコード回路からの選択信号により選択さ
れる記憶セル列と、 出力許可信号の受信により前記記憶セル列の出力を検知
して外部へデータを出力するための出力回路と、 前記記憶セル列のうちの所定の記憶セル列が予め設定さ
れた回数だけ選択されたことを検出する選択回数検出回
路と、 前記選択回数検出回路が予め設定された回数だけ選択さ
れたことを検出するまでは前記出力許可信号の前記出力
回路への入力を禁止し、前記選択回数検出回路が予め設
定された回数だけ選択されたことを検出したときに該選
択回数検出回路からの出力にしたがって前記出力許可信
号の前記出力回路への入力禁止を解除する出力許可信号
入力禁止回路とを備える半導体記憶装置。
3. An address decoding circuit that decodes an input address signal, a memory cell column selected by a selection signal from the address decoding circuit, and an output of the output enable signal to detect the output of the memory cell column. An output circuit for outputting data to the outside, a selection number detection circuit for detecting that a predetermined memory cell column of the memory cell column is selected a preset number of times, and the selection number detection circuit, When it is detected that the selection number detection circuit has been selected a preset number of times, the input of the output permission signal to the output circuit is prohibited until it is detected that the selection has been performed a preset number of times. And an output permission signal input inhibition circuit for releasing the inhibition of the input of the output permission signal to the output circuit according to the output from the selection number detection circuit. Storage device.
【請求項4】 前記アドレス入力禁止回路での信号入力
禁止解除に必要な前記所定の記憶セル列の選択回数を記
憶するための書き込み可能な記憶セルが設けられる、請
求項1、請求項2または請求項3記載の半導体記憶装
置。
4. A writable memory cell is provided for storing the number of times of selecting the predetermined memory cell column necessary for canceling the signal input prohibition in the address input prohibition circuit. The semiconductor memory device according to claim 3.
【請求項5】 前記選択回数検出回路にて選択回数を検
出される前記所定の記憶セル列のアドレスを記憶するた
めの書き込み可能な記憶セルが設けられる、請求項1、
請求項2または請求項3記載の半導体記憶装置。
5. A writable memory cell for storing an address of the predetermined memory cell column, the selection frequency of which is detected by the selection frequency detection circuit, is provided.
The semiconductor memory device according to claim 2 or 3.
【請求項6】 前記書き込み可能な記憶セルに任意のデ
ータを書き込むためのデータ書き込み手段が設けられ
る、請求項4または請求項5記載の半導体記憶装置。
6. The semiconductor memory device according to claim 4, further comprising a data writing unit for writing arbitrary data to said writable memory cell.
【請求項7】 前記選択回数検出回路と前記読み出し禁
止手段の間に、前記選択回数検出回路からの出力信号に
かかわらず前記読み出し禁止手段での読み出し禁止を解
除する選択回数検出信号無効回路をさらに備える、請求
項1記載の半導体記憶装置。
7. A selection number detection signal invalidating circuit for canceling the reading inhibition by the reading inhibition unit regardless of the output signal from the selection number detecting circuit is further provided between the selection number detection circuit and the reading inhibition unit. The semiconductor memory device according to claim 1, further comprising:
【請求項8】 前記選択回数検出回路と前記アドレス入
力禁止回路の間に、前記選択回数検出回路からの出力信
号にかかわらず前記アドレス入力禁止回路の信号入力禁
止を解除する選択回数検出信号無効回路をさらに備え
る、請求項2記載の半導体記憶装置。
8. A selection number detection signal invalid circuit for canceling the signal input inhibition of the address input inhibition circuit regardless of the output signal from the selection number detection circuit between the selection number detection circuit and the address input inhibition circuit. The semiconductor memory device according to claim 2, further comprising:
JP4235994A 1994-03-14 1994-03-14 Semiconductor storage device Pending JPH07253932A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4235994A JPH07253932A (en) 1994-03-14 1994-03-14 Semiconductor storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4235994A JPH07253932A (en) 1994-03-14 1994-03-14 Semiconductor storage device

Publications (1)

Publication Number Publication Date
JPH07253932A true JPH07253932A (en) 1995-10-03

Family

ID=12633847

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4235994A Pending JPH07253932A (en) 1994-03-14 1994-03-14 Semiconductor storage device

Country Status (1)

Country Link
JP (1) JPH07253932A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012088991A (en) * 2010-10-21 2012-05-10 Mega Chips Corp Semiconductor memory and computer system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012088991A (en) * 2010-10-21 2012-05-10 Mega Chips Corp Semiconductor memory and computer system

Similar Documents

Publication Publication Date Title
US5414825A (en) Method of programming a semiconductor memory device within a microcomputer address space
US5930826A (en) Flash memory protection attribute status bits held in a flash memory array
US5084843A (en) Semiconductor memory having control means for preventing unauthorized erasure of a memory array portion
US6845041B2 (en) Non-volatile semiconductor memory device with accelerated column scanning scheme
US6996692B2 (en) Nonvolatile semiconductor memory device and method for providing security for the same
JP3749789B2 (en) Semiconductor memory device
US5802541A (en) Method and apparatus in a data processing system for using chip selects to perform a memory management function
JPS61267846A (en) Integrated circuit device with memory
US5506806A (en) Memory protection circuit for EPROM
JP2003198361A (en) Programmable logical device
KR0178622B1 (en) Semiconductor memory device having security function
JPH09312099A (en) Semiconductor memory and its accessing method
JP2007512656A (en) Secure row lock protected embedded memory
US5237531A (en) Read-only memory having a security circuit preventing unauthorized memory retrieval
JPH07253932A (en) Semiconductor storage device
US20020184458A1 (en) Semiconductor memory device
US6711055B2 (en) Nonvolatile semiconductor memory device of dual-operation type with data protection function
EP0707317B1 (en) Semiconductor memory device and method of manufacturing the same
JP4467587B2 (en) Programmable logic device
JPH0474240A (en) Semiconductor memory
JP3810378B2 (en) Nonvolatile semiconductor memory device and security method thereof
JP3296184B2 (en) Semiconductor integrated circuit
JPH06215590A (en) Flash erasure type nonvolatile memory
JPH10143434A (en) Semiconductor integrated circuit
JP2003203012A (en) Microcomputer device