JP2004039170A - Semiconductor storage - Google Patents

Semiconductor storage Download PDF

Info

Publication number
JP2004039170A
JP2004039170A JP2002197569A JP2002197569A JP2004039170A JP 2004039170 A JP2004039170 A JP 2004039170A JP 2002197569 A JP2002197569 A JP 2002197569A JP 2002197569 A JP2002197569 A JP 2002197569A JP 2004039170 A JP2004039170 A JP 2004039170A
Authority
JP
Japan
Prior art keywords
write protect
signal
column
cell array
memory cell
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.)
Withdrawn
Application number
JP2002197569A
Other languages
Japanese (ja)
Inventor
Toshiharu Saito
齋藤 俊治
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.)
Renesas Technology Corp
Hitachi Solutions Technology Ltd
Original Assignee
Renesas Technology Corp
Hitachi ULSI Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Renesas Technology Corp, Hitachi ULSI Systems Co Ltd filed Critical Renesas Technology Corp
Priority to JP2002197569A priority Critical patent/JP2004039170A/en
Publication of JP2004039170A publication Critical patent/JP2004039170A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Static Random-Access Memory (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a semiconductor storage for setting a rewriting prohibition region. <P>SOLUTION: The semiconductor storage comprises a low writing prohibition region setting register (12) for storing low address information in a rewriting prohibition region; a low decoder (10) for asserting a write protect signal on the basis of the setting information; a column rewriting prohibition region setting register (16) for storing column address information in the writing prohibition region; a column decoder (15) for asserting a column system write protect signal on the basis of the setting information; and a control logic (19) for prohibiting data writing to a specific region on the basis of the low system write protect signal, the column system write protect signal and a write enable signal. The rewriting prohibition region can be set thereby. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、半導体記憶装置、特にランダムアクセス可能なRAM(ランダムアクセスメモリ)に関し、例えばコンピュータシステムに搭載されるメインメモリに適用して有効な技術に関する。
【0002】
【従来の技術】
例えば複数個のスタティック型メモリセルをマトリクス配置して成るSRAMにおいては、メモリセルの選択端子がロウ方向毎にワード線に結合され、メモリセルのデータ入出力端子がカラム方向毎に相補データ線(相補ビット線とも称される)に結合される。
【0003】
ロウアドレスをデコードするロウデコーダの出力に基づいて一つのワード線が選択レベルに駆動されると、それに結合される全てのメモリセルが、対応する相補データ線に結合される。それぞれの相補データ線は、相補データ線に1対1で結合された複数個のカラム選択スイッチを含むカラム選択回路を介して相補コモンデータ線に共通接続されている。複数個のカラム選択スイッチは、カラムアドレスをデコードするカラムデコーダの出力に基づいて選択的にオンされる。
【0004】
ロウアドレスをデコードするデコーダや、カラムアドレスをデコードするカラムアドレスデコーダは、ナンドゲートやノアゲート、及び複数のデコード線の組合わせによって構成される。
【0005】
尚、SRAMについて記載された文献の例としては、昭和59年11月30日にオーム社より発行された「LSIハンドブック(第500頁〜)」がある。
【0006】
【発明が解決しようとする課題】
従来のSRAMでは、書き換え禁止領域を設定することができないため、そのメモリが持つ全てのアドレス空間においてデータの書き込み及び読み出しを自由に行うことができる。このため、パーソナルコンピュータシステムなどのメインメモリとしてSRAMを適用した場合には、オペレーティングシステム(OS)や、当該OS上で動作する複数のアップリケーションプログラムが動作する環境では、問題があるプログラムが実行された場合に、そのプログラムの実行によってメインメモリにおけるシステム管理領域が書き換えられ、それによってシステム全体の動作に悪影響を与えるおそれがある。
【0007】
本発明の目的は、書き換え禁止領域を設定可能な半導体記憶装置を提供することにある。
【0008】
本発明の前記並びにその他の目的と新規な特徴は本明細書の記述及び添付図面から明らかになるであろう。
【0009】
【課題を解決するための手段】
本願において開示される発明のうち代表的なものの概要を簡単に説明すれば下記の通りである。
【0010】
すなわち、複数のメモリセルがアレイ状に配列されて成るメモリセルアレイを含んで半導体記憶装置が構成されるとき、ライトプロテクト信号に応じて上記メモリセルアレイにおける特定領域へのデータ書き込みを禁止するための制御論理を設ける。
【0011】
上記の手段によれば、制御論理は、ライトプロテクト信号に応じて上記メモリセルアレイにおける特定領域へのデータ書き込みを禁止する。このことが、書き換え禁止領域の設定を可能とする。
【0012】
また、上記メモリセルアレイにおける書き換え禁止領域についてのロウアドレス情報を記憶可能な第1レジスタと、入力されたロウアドレス信号と上記第1レジスタの設定アドレス情報とが一致した場合にロウ系のライトプロテクト信号をアサート可能な第1判別手段と、上記メモリセルアレイにおける書き換え禁止領域についてのカラムアドレス情報を記憶可能な第2レジスタと、入力されたカラムアドレス信号と上記第2レジスタの設定アドレス情報とが一致した場合にカラム系のライトプロテクト信号をアサート可能な第2判別手段と、上記ロウ系のライトプロテクト信号、カラム系のライトプロテクト信号、及び外部からの書き込み指示を示すライトイネーブル信号との論理演算を行うように構成することができる。
【0013】
また、上記第1レジスタや第2レジスタを設ける代わりに、書き換え禁止領域情報を外部から取り込むための第1外部入力端子と第2外部入力端子とを設けることができる。
【0014】
さらに、上記ライトプロテクト信号の外部処理を可能とするため当該信号の外部出力が可能な端子を設けることができる。
【0015】
そして、上記メモリセルアレイにおける書き換え禁止領域への書き込みがあった場合に、誤動作プログラムのデバッグを容易に行えるようにするため、上記書き換え禁止領域への書き込みのために入力されたデータを保持可能な保持手段を設けることができる。
【0016】
【発明の実施の形態】
図1には本発明にかかる半導体記憶装置の一例であるRAMを搭載して成るコンピュータシステムが示される。
【0017】
図1に示されるコンピュータシステム300は、特に制限されないが、CPU(中央処理装置)31、SRAM32、周辺装置制御部35、ハードディスク38、キーボード39、表示系36を含む。CPU31、SRAM32、周辺装置制御部35、及び表示系36は、システムバスBUSによって信号のやり取りが可能に結合されている。
【0018】
CPU31は、予め設定されたプログラムに従って演算処理を行う。SRAM32は、特に制限されないが、スタティック型メモリとされ、オペレーティングシステムや各種アプリケーションプログラムがロードされる。SRAM32にロードされたオペレーティングシステムや各種アプリケーションプログラムはCPU31によって実行される。ここで、SRAM32には、書き換え禁止領域が設定され、当該領域に記憶されている情報が、その後の不所望な書き込みによって破壊されないようになっている。
【0019】
周辺装置制御部35は、外部記憶装置の一例であるハードディスク38や、各種情報入力のためのキーボード39などの周辺機器を制御する。表示系36は、特に制限されないが、液晶ディスプレイなどとされ、上記CPU31で演算処理結果や各種情報の表示が行われる。
【0020】
図1には上記SRAM32の構成例が示される。
【0021】
メモリセルアレイ11は、複数のワード線と複数のデータ線とが交差するように配置され、その交差点にスタティック型メモリセルが配列されて成る。ローデコーダ10は、入力されたロウアドレスをデコードして、上記複数のワード線のうちの1本を選択的に駆動するための信号を生成する。ロウ系の書き換え禁止領域情報を保持可能なロウ書き換え禁止領域設定レジスタ12が設けられる。ここで、このロウ書き換え禁止領域設定レジスタ12が本発明における第1レジスタの一例とされる。上記ローデコーダ10は、入力されたロウアドレスとロウ書き換え禁止領域設定レジスタ12に設定されたアドレスとが一致するか否かの判別を行い、両アドレスが一致した場合には、ライトプロテクト信号/WPR(/はその信号がローアクティブで有ることを示す)をローレベルにアサートする。ここで、ローデコーダ10が本発明における第1判別手段の一例とされる。
【0022】
入出力回路14は、メモリセルアレイにおける複数のデータ線を選択的にコモン線に接続するためのカラム選択スイッチや、このカラム選択スイッチを介してコモン線に伝達されたデータを増幅するためのセンスアンプや、上記カラム選択スイッチを介して書き込みデータを対応するデータ線に伝達するための書き込み回路を含む。書き込みデータは入力バッファ17及びインプットデータコントローラ13を介して伝達される。メモリセルからの読み出しデータは出力バッファ18を介して外部出力される。
【0023】
カラムデコーダ15は、入力されたカラムアドレスをデコードすることによって上記カラム選択スイッチを駆動するための信号を生成する。カラム系の書き換え禁止領域情報を保持可能なカラム書き換え禁止領域設定レジスタ16が設けられる。ここで、このカラム書き換え禁止領域設定レジスタ16が本発明における第2レジスタの一例とされる。上記カラムデコーダ15は、入力されたアドレスとカラム書き換え禁止領域設定レジスタ16に設定されたアドレスとが一致するか否かの判別を行い、両アドレスが一致した場合には、ライトプロテクト信号/WPCをローレベルにアサートする。ここで、カラムデコーダ15が、本発明における第2判別手段の一例とされる。
【0024】
さらに、外部からの書き込み指示を意味するライトイネーブル信号、チップ選択信号/CS、データ出力の有効性を指示するアウトプットイネーブル信号/OEに基づいて各部の動作制御信号を生成するための論理ゲート19,20,21,22が設けられる。外部から入力されたチップセレクト信号/CSは、論理ゲート22で反転されてからロウデコーダ10及びカラムデコーダ15に伝達される。ロウデコーダ10及びカラムデコーダ15では、チップセレクト信号CSがハイレベルアサートされた状態で動作する。
【0025】
論理ゲート19では、上記ロウデコーダ10からのライトプロテクト信号/WPR及び上記カラムデコーダ15からのライトプロテクト信号/WPCと、外部からの書き込み指示を示すライトイネーブル信号との論理演算が行われる。この論理演算結果は後段の論理ゲート20に伝達される。論理ゲート20では、論理ゲート19の出力信号とチップセレクト信号/CSとの論理演算が行われる。この論理演算結果は入力バッファ17の動作制御信号とされる。
【0026】
また、論理ゲート21では、論理ゲート19の出力信号とチップイネーブル信号/CSとアウトプットイネーブル信号/OEとの論理演算が行われる。この論理演算結果は出力バッファ18の動作制御信号とされる。
【0027】
通常、ライトイネーブル信号/WEがローレベルにアサートされればメモリセルアレイ11へのデータ書き込みが指示されるが、本例では、さらに上記ロウデコーダ10からのライトプロテクト信号/WPR及び上記カラムデコーダ15からのライトプロテクト信号/WPCの双方がハイレベルにネゲートされている場合にのみ、データ書き込みが許容されるようになっている。つまり、ライトイネーブル信号/WEがローレベルにアサートされ、上記ロウデコーダ10からのライトプロテクト信号/WPR及び上記カラムデコーダ15からのライトプロテクト信号/WPCの双方がハイレベルにネゲートされている場合には、論理ゲート19の出力論理はハイレベルとされ、このとき、チップセレクト信号/CSがローレベルにアサートされていれば、論理ゲート20の出力論理はハイレベルとされて入力バッファ17が導通される。この状態で書き込みデータの取り込みが可能とされる。
【0028】
これに対して、図2に示されるように、上記ロウデコーダ10からのライトプロテクト信号/WPR及び上記カラムデコーダ15からのライトプロテクト信号/WPCの少なくとも何れかがローレベルにアサートされている場合には、論理ゲート19の出力論理がローレベルとされ、論理ゲート20の出力論理がローレベルとされるため、入力バッファ17は導通されない。つまり、書き込みデータはノード100へ伝達されない。このように上記ロウデコーダ10からのライトプロテクト信号/WPR及び上記カラムデコーダ15からのライトプロテクト信号/WPCの少なくとも何れかがローレベルにアサートされている場合には、入力バッファが導通されず、書き込みデータの取り込みが行われないため、対応するメモリ領域のデータ書き換えは起こらない。
【0029】
一方、データ読み出し時には、ライトイネーブル信号/WEはハイレベルにネゲートされているため、その状態で、ライトプロテクト信号/WPR、/WPCがローレベルにアサートされたとしても、論理ゲート19の出力ノードはローレベルに固定されてしまうため、データ入力バッファ17は導通されず、データの書き込みは行われない。しかし、ローデコーダ10やカラムデコーダ15によってライトプロテクト信号/WPR、/WPCがローレベルにアサートされたとしても、データ出力バッファ18は、論理ゲート21の出力に応じて導通されるから、書き換え禁止領域からのデータの読み出しは可能とされる。
【0030】
上記の例によれば、以下の作用効果を得ることができる。
【0031】
(1)ロウデコーダ10からのライトプロテクト信号/WPR及び上記カラムデコーダ15からのライトプロテクト信号/WPCの少なくとも何れかがローレベルにアサートされている場合には、論理ゲート19の出力論理がローレベルとされ、論理ゲート20の出力論理がローレベルとされるため、入力バッファ17は導通されない。それにより、データ書き換えが禁止されるので、SRAM32内に書き換え禁止領域を形成することができる。
【0032】
(2)コンピュータシステム300においては、上記(1)の作用効果を有するSRAM32がメインメモリとして適用されているため、書き換え禁止領域を読み出し専用メモリなどの専用チップによりSRAM32とは別個に形成するのに比べて、チップ数の低減を図ることができる。
【0033】
以上本発明者によってなされた発明を具体的に説明したが、本発明はそれに限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。
【0034】
例えば、上記の例では、ロウ書き換え禁止領域設定レジスタ12やカラム書き換え禁止領域設定レジスタ16を含むものについて説明したが、それらを省略することができる。例えば図4に示されるように、メモリセルアレイ11における書き換え禁止領域についてのロウアドレス情報をチップの外部から取り込むための第1外部入力端子201と、メモリセルアレイ11における書き換え禁止領域についてのカラムアドレス情報をチップの外部から取り込むための第2外部入力端子202とを設け、上記書き換え禁止領域についてのロウアドレス情報及びカラムアドレス情報をチップの外部から取り込むようにすれば、ロウ書き換え禁止領域設定レジスタ12やカラム書き換え禁止領域設定レジスタ16をこのSRAM32に設ける必要はない。
【0035】
また、ライトプロテクト信号/WPRや/WPCを外部出力するようにしても良い。例えば図4に示されるように、ライトプロテクト信号/WPRをこのSRAM32の外部に出力可能な第1外部出力端子101と、ライトプロテクト信号/WPCをこのSRAM32の外部に出力可能な第2外部出力端子102とを設ける。これにより、第1外部出力端子101を介してライトプロテクト信号/WPRを外部出力することができ、第2外部出力端子102を介してライトプロテクト信号/WPCを外部出力することができる。これにより、書き換え禁止領域に不所望な書き込みが行われようとしたとき、それについての外部モニタが可能になるので、そのような書き込みを行うプログラムのデバッグの容易化を図ることができる。
【0036】
さらに、書き換え禁止領域に不所望な書き込みが行われようとしたとき、その不所望な書き込みにかかるデータ自体を適宜の保持手段に保持することによって、そのような書き込みを行うプログラムのデバッグの容易化を図ることができる。例えば図4に示されるように、書き込みデータを保持可能なレジスタ103を設け、論理ゲート20の出力信号に応じてレジスタ103の書き込み動作を制御する。つまり、入力バッファ17が非導通とされた状態において書き込みデータがレジスタ103に書き込まれるようにする。書き換え禁止領域への不所望な書き込みが行われようとしたとき、レジスタ103の保持情報を解析することで、そのような書き込みを行うプログラムのデバッグの容易化を図ることができる。
【0037】
以上の説明では主として本発明者によってなされた発明をその背景となった利用分野であるSRAMに適用した場合について説明したが、ダイナミック型メモリセルをアレイ状に配列してなるDRAMについても本発明を適用することができる。また、シングルチップマイクロコンピュータなどに内蔵されるRAMにも適用することができる。
【0038】
本発明は、少なくともメモリセルアレイを含むことを条件に適用することができる。
【0039】
【発明の効果】
本願において開示される発明のうち代表的なものによって得られる効果を簡単に説明すれば下記の通りである。
【0040】
すなわち、複数のメモリセルがアレイ状に配列されて成るメモリセルアレイを含んで半導体記憶装置が構成されるとき、ライトプロテクト信号に応じて上記メモリセルアレイにおける特定領域へのデータ書き込みを禁止するための制御論理を設けることにより、書き換え禁止領域の設定が可能とされる。そして、そのような半導体記憶装置を搭載するコンピュータシステムにおいては、書き換え禁止領域を読み出し専用メモリなどの専用チップにより別個に形成するのに比べて、チップ数の低減を図ることができる。
【図面の簡単な説明】
【図1】本発明にかかる半導体記憶装置の一例であるSRAMの構成例ブロック図である。
【図2】上記SRAMにおける主要部の動作タイミング図である。
【図3】上記SRAMを含むコンピュータシステムの全体的な構成例ブロック図である。
【図4】上記SRAMの別の構成例ブロック図である。
【符号の説明】
10 ロウデコーダ
11 メモリセルアレイ
12 ロウ書き換え禁止領域設定レジスタ
13 インプットデータコントローラ
14 入出力回路
15 カラムデコーダ
16 カラム書き換え禁止領域設定レジスタ
17 入力バッファ
18 出力バッファ
19〜22 論理ゲート
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a semiconductor memory device, particularly to a random access RAM (random access memory), and more particularly to a technique effective when applied to a main memory mounted on a computer system.
[0002]
[Prior art]
For example, in an SRAM in which a plurality of static memory cells are arranged in a matrix, a selection terminal of the memory cell is coupled to a word line in each row direction, and a data input / output terminal of the memory cell is connected to a complementary data line ( (Also referred to as complementary bit lines).
[0003]
When one word line is driven to a selected level based on the output of a row decoder that decodes a row address, all memory cells coupled to the selected word line are coupled to the corresponding complementary data lines. Each complementary data line is commonly connected to a complementary common data line via a column selection circuit including a plurality of column selection switches coupled one-to-one to the complementary data line. The plurality of column selection switches are selectively turned on based on the output of a column decoder that decodes a column address.
[0004]
A decoder for decoding a row address and a column address decoder for decoding a column address are configured by a combination of a NAND gate, a NOR gate, and a plurality of decode lines.
[0005]
An example of a document describing SRAM is “LSI Handbook (from page 500)” issued by Ohmsha on November 30, 1984.
[0006]
[Problems to be solved by the invention]
In a conventional SRAM, a write-protected area cannot be set, so that data can be freely written and read in all address spaces of the memory. Therefore, when an SRAM is applied as a main memory of a personal computer system or the like, a problematic program is executed in an environment where an operating system (OS) or a plurality of application programs operating on the OS operates. In such a case, the execution of the program rewrites the system management area in the main memory, which may adversely affect the operation of the entire system.
[0007]
SUMMARY OF THE INVENTION It is an object of the present invention to provide a semiconductor memory device in which a rewrite prohibited area can be set.
[0008]
The above and other objects and novel features of the present invention will become apparent from the description of the present specification and the accompanying drawings.
[0009]
[Means for Solving the Problems]
The outline of a representative invention among the inventions disclosed in the present application will be briefly described as follows.
[0010]
That is, when a semiconductor memory device is configured including a memory cell array in which a plurality of memory cells are arranged in an array, control for inhibiting data writing to a specific area in the memory cell array in response to a write protect signal Provide logic.
[0011]
According to the above means, the control logic inhibits data writing to a specific area in the memory cell array in response to the write protect signal. This makes it possible to set a rewrite prohibited area.
[0012]
A first register capable of storing row address information about a rewrite prohibited area in the memory cell array; and a row write protect signal when the input row address signal matches the set address information of the first register. , A second register capable of storing column address information about a non-rewritable area in the memory cell array, and an input column address signal coincides with set address information of the second register. In this case, a logical operation is performed between the second determination means capable of asserting a column-based write protect signal, the row-based write protect signal, the column-based write protect signal, and a write enable signal indicating an external write instruction. It can be configured as follows.
[0013]
Further, instead of providing the first register and the second register, a first external input terminal and a second external input terminal for taking in the rewrite prohibited area information from outside can be provided.
[0014]
Further, in order to enable external processing of the write protection signal, a terminal capable of externally outputting the signal can be provided.
[0015]
In order to facilitate debugging of the malfunction program when data is written in the non-rewritable area in the memory cell array, the data input for writing in the non-rewritable area can be held. Means can be provided.
[0016]
BEST MODE FOR CARRYING OUT THE INVENTION
FIG. 1 shows a computer system including a RAM as an example of a semiconductor memory device according to the present invention.
[0017]
Although not particularly limited, the computer system 300 shown in FIG. 1 includes a CPU (central processing unit) 31, an SRAM 32, a peripheral device control unit 35, a hard disk 38, a keyboard 39, and a display system 36. The CPU 31, the SRAM 32, the peripheral device control unit 35, and the display system 36 are connected so that signals can be exchanged by a system bus BUS.
[0018]
The CPU 31 performs arithmetic processing according to a preset program. The SRAM 32 is, but not limited to, a static memory, into which an operating system and various application programs are loaded. The operating system and various application programs loaded into the SRAM 32 are executed by the CPU 31. Here, a rewrite-protected area is set in the SRAM 32 so that the information stored in the area is not destroyed by subsequent undesired writing.
[0019]
The peripheral device control unit 35 controls peripheral devices such as a hard disk 38, which is an example of an external storage device, and a keyboard 39 for inputting various information. The display system 36 is not particularly limited, but is a liquid crystal display or the like, and the CPU 31 displays arithmetic processing results and various information.
[0020]
FIG. 1 shows a configuration example of the SRAM 32.
[0021]
The memory cell array 11 is arranged such that a plurality of word lines and a plurality of data lines intersect, and static memory cells are arranged at the intersections. The row decoder 10 decodes the input row address and generates a signal for selectively driving one of the plurality of word lines. A row rewrite prohibited area setting register 12 capable of holding row related rewrite prohibited area information is provided. Here, the row rewrite inhibition area setting register 12 is an example of a first register in the present invention. The row decoder 10 determines whether or not the input row address matches the address set in the row rewrite protection area setting register 12, and if the two addresses match, the write protect signal / WPR (/ Indicates that the signal is active low) to a low level. Here, the row decoder 10 is an example of a first determination unit in the present invention.
[0022]
The input / output circuit 14 includes a column selection switch for selectively connecting a plurality of data lines in the memory cell array to a common line, and a sense amplifier for amplifying data transmitted to the common line via the column selection switch. And a write circuit for transmitting write data to a corresponding data line via the column selection switch. The write data is transmitted via the input buffer 17 and the input data controller 13. Read data from the memory cell is output to the outside via the output buffer 18.
[0023]
The column decoder 15 generates a signal for driving the column selection switch by decoding the input column address. A column rewrite prohibited area setting register 16 capable of holding column type rewrite prohibited area information is provided. Here, the column rewrite prohibited area setting register 16 is an example of a second register in the present invention. The column decoder 15 determines whether or not the input address matches the address set in the column rewrite inhibition area setting register 16. If the two addresses match, the column protector 15 outputs the write protect signal / WPC. Assert low level. Here, the column decoder 15 is an example of a second determination unit in the present invention.
[0024]
Further, a logic gate 19 for generating an operation control signal for each unit based on a write enable signal indicating an external write instruction, a chip select signal / CS, and an output enable signal / OE indicating validity of data output. , 20, 21, and 22 are provided. The chip select signal / CS input from the outside is inverted by the logic gate 22, and then transmitted to the row decoder 10 and the column decoder 15. The row decoder 10 and the column decoder 15 operate in a state where the chip select signal CS is asserted at a high level.
[0025]
The logic gate 19 performs a logical operation of a write protect signal / WPR from the row decoder 10 and a write protect signal / WPC from the column decoder 15 and a write enable signal indicating an external write instruction. The result of this logical operation is transmitted to the subsequent logic gate 20. The logic gate 20 performs a logic operation on the output signal of the logic gate 19 and the chip select signal / CS. The result of this logical operation is used as an operation control signal for the input buffer 17.
[0026]
The logic gate 21 performs a logic operation on the output signal of the logic gate 19, the chip enable signal / CS, and the output enable signal / OE. The result of this logical operation is used as an operation control signal for the output buffer 18.
[0027]
Normally, if the write enable signal / WE is asserted to a low level, data writing to the memory cell array 11 is instructed. In this example, however, the write protect signal / WPR from the row decoder 10 and the column decoder 15 Only when both write protect signals / WPC are negated to a high level, data writing is allowed. That is, when the write enable signal / WE is asserted to a low level and both the write protect signal / WPR from the row decoder 10 and the write protect signal / WPC from the column decoder 15 are negated to a high level. , The output logic of logic gate 19 is at a high level. At this time, if chip select signal / CS is asserted at a low level, the output logic of logic gate 20 is at a high level and input buffer 17 is turned on. . In this state, it is possible to take in the write data.
[0028]
On the other hand, as shown in FIG. 2, when at least one of the write protect signal / WPR from the row decoder 10 and the write protect signal / WPC from the column decoder 15 is asserted to a low level. Since the output logic of the logic gate 19 is at a low level and the output logic of the logic gate 20 is at a low level, the input buffer 17 is not conducted. That is, the write data is not transmitted to the node 100. As described above, when at least one of the write protect signal / WPR from the row decoder 10 and the write protect signal / WPC from the column decoder 15 is asserted to a low level, the input buffer is not turned on and the write operation is not performed. Since no data is taken in, no data is rewritten in the corresponding memory area.
[0029]
On the other hand, at the time of data reading, since the write enable signal / WE is negated to the high level, even if the write protect signals / WPR and / WPC are asserted to the low level in this state, the output node of the logic gate 19 remains at the low level. Since the data input buffer 17 is fixed at the low level, the data input buffer 17 is not turned on and data is not written. However, even if the write protect signals / WPR and / WPC are asserted to a low level by the row decoder 10 and the column decoder 15, the data output buffer 18 is turned on in response to the output of the logic gate 21, so that the write-protection area is disabled. It is possible to read data from.
[0030]
According to the above example, the following effects can be obtained.
[0031]
(1) When at least one of the write protect signal / WPR from the row decoder 10 and the write protect signal / WPC from the column decoder 15 is asserted to low level, the output logic of the logic gate 19 becomes low level. Since the output logic of logic gate 20 is at a low level, input buffer 17 is not conducted. Thereby, data rewriting is prohibited, so that a rewriting prohibited area can be formed in the SRAM 32.
[0032]
(2) In the computer system 300, since the SRAM 32 having the operation and effect (1) is applied as a main memory, the write-protection area is formed separately from the SRAM 32 by a dedicated chip such as a read-only memory. In comparison, the number of chips can be reduced.
[0033]
Although the invention made by the present inventors has been specifically described above, the present invention is not limited thereto, and it goes without saying that various modifications can be made without departing from the gist of the invention.
[0034]
For example, in the above-described example, the one including the row rewrite prohibited area setting register 12 and the column rewrite prohibited area setting register 16 has been described, but these can be omitted. For example, as shown in FIG. 4, a first external input terminal 201 for taking in row address information about a non-rewritable area in the memory cell array 11 from outside the chip and column address information about a non-rewritable area in the memory cell array 11 are stored. If a second external input terminal 202 for taking in from outside the chip is provided, and row address information and column address information on the above-mentioned rewriting prohibited area are taken in from outside the chip, the row rewriting prohibited area setting register 12 and the column It is not necessary to provide the rewrite prohibited area setting register 16 in the SRAM 32.
[0035]
Further, the write protect signal / WPR or / WPC may be externally output. For example, as shown in FIG. 4, a first external output terminal 101 capable of outputting a write protect signal / WPR to the outside of the SRAM 32, and a second external output terminal capable of outputting a write protect signal / WPC to the outside of the SRAM 32 102 are provided. Thus, the write protect signal / WPR can be externally output via the first external output terminal 101, and the write protect signal / WPC can be externally output via the second external output terminal 102. Thus, when an undesired write is attempted to be performed in the rewrite prohibited area, external monitoring of the undesired write is enabled, so that it is possible to easily debug a program for performing such write.
[0036]
Further, when an undesired write is attempted to be performed in the overwrite-protected area, the data itself relating to the undesired write is held in an appropriate holding unit, thereby facilitating debugging of a program for performing such write. Can be achieved. For example, as shown in FIG. 4, a register 103 capable of holding write data is provided, and a write operation of the register 103 is controlled according to an output signal of the logic gate 20. That is, the write data is written to the register 103 in a state where the input buffer 17 is turned off. By analyzing the information held in the register 103 when an undesired write is attempted to be performed on the overwrite-protected area, it is possible to facilitate the debugging of a program that performs such a write.
[0037]
In the above description, the case where the invention made by the present inventor is mainly applied to the SRAM, which is the background of the application, has been described. However, the present invention is also applied to a DRAM having dynamic memory cells arranged in an array. Can be applied. Further, the present invention can be applied to a RAM built in a single-chip microcomputer or the like.
[0038]
The present invention can be applied on the condition that it includes at least a memory cell array.
[0039]
【The invention's effect】
The following is a brief description of an effect obtained by a representative one of the inventions disclosed in the present application.
[0040]
That is, when a semiconductor memory device is configured to include a memory cell array in which a plurality of memory cells are arranged in an array, control for inhibiting data writing to a specific area in the memory cell array in response to a write protect signal By providing the logic, it is possible to set a rewrite prohibited area. In a computer system equipped with such a semiconductor memory device, the number of chips can be reduced as compared with the case where the rewrite prohibited area is formed separately by a dedicated chip such as a read-only memory.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration example of an SRAM which is an example of a semiconductor storage device according to the present invention.
FIG. 2 is an operation timing chart of a main part in the SRAM.
FIG. 3 is a block diagram of an overall configuration example of a computer system including the SRAM.
FIG. 4 is a block diagram illustrating another configuration example of the SRAM.
[Explanation of symbols]
Reference Signs List 10 Row decoder 11 Memory cell array 12 Row rewrite prohibited area setting register 13 Input data controller 14 Input / output circuit 15 Column decoder 16 Column rewrite prohibited area setting register 17 Input buffer 18 Output buffer 19-22 Logic gate

Claims (5)

複数のメモリセルがアレイ状に配列されて成るメモリセルアレイを含む半導体記憶装置であって、
入力されたアドレス信号が書き換え禁止領域に対応することを判別してライトプロテクト信号をアサートするための判別手段と、
上記ライトプロテクト信号に応じて上記メモリセルアレイにおける特定領域へのデータ書き込みを禁止するための制御論理と、を含むことを特徴とする半導体記憶装置。
A semiconductor memory device including a memory cell array in which a plurality of memory cells are arranged in an array,
Determining means for determining that the input address signal corresponds to the rewrite prohibited area and asserting the write protect signal;
And a control logic for prohibiting data writing to a specific area in the memory cell array in response to the write protect signal.
複数のメモリセルがアレイ状に配列されて成るメモリセルアレイを含む半導体記憶装置であって、
上記メモリセルアレイにおける書き換え禁止領域についてのロウアドレス情報を記憶可能な第1レジスタと、
入力されたロウアドレス信号と上記第1レジスタの設定アドレス情報とが一致した場合にロウ系のライトプロテクト信号をアサート可能な第1判別手段と、
上記メモリセルアレイにおける書き換え禁止領域についてのカラムアドレス情報を記憶可能な第2レジスタと、
入力されたカラムアドレス信号と上記第2レジスタの設定アドレス情報とが一致した場合にカラム系のライトプロテクト信号をアサート可能な第2判別手段と、
上記ロウ系のライトプロテクト信号、カラム系のライトプロテクト信号、及び外部からの書き込み指示を示すライトイネーブル信号とに基づいて上記メモリセルアレイにおける特定領域へのデータ書き込みを禁止するための制御論理と、を含むことを特徴とする半導体記憶装置。
A semiconductor memory device including a memory cell array in which a plurality of memory cells are arranged in an array,
A first register capable of storing row address information about a non-rewritable area in the memory cell array;
First determination means capable of asserting a row write protect signal when the input row address signal matches the set address information of the first register;
A second register capable of storing column address information about a non-rewritable area in the memory cell array;
A second determining unit capable of asserting a column-based write protect signal when the input column address signal matches the set address information of the second register;
Control logic for prohibiting data writing to a specific area in the memory cell array based on the row write protect signal, the column write protect signal, and a write enable signal indicating an external write instruction. A semiconductor memory device characterized by including:
複数のメモリセルがアレイ状に配列されて成るメモリセルアレイを含む半導体記憶装置であって、
上記メモリセルアレイにおける書き換え禁止領域についてのロウアドレス情報の外部入力を可能とする第1外部入力端子と、
入力されたロウアドレス信号と上記第1外部入力端子からの入力アドレス情報とが一致した場合にロウ系のライトプロテクト信号をアサート可能な第1判別手段と、
上記メモリセルアレイにおける書き換え禁止領域についてのカラムアドレス情報の外部入力を可能とする第2外部入力端子と、
入力されたカラムアドレス信号と上記第1外部入力端子からの入力アドレス情報とが一致した場合にカラム系のライトプロテクト信号をアサート可能な第2判別手段と、
上記ロウ系のライトプロテクト信号、カラム系のライトプロテクト信号、及び外部からの書き込み指示を示すライトイネーブル信号とに基づいて上記メモリセルアレイにおける特定領域へのデータ書き込みを禁止するための制御論理と、を含むことを特徴とする半導体記憶装置。
A semiconductor memory device including a memory cell array in which a plurality of memory cells are arranged in an array,
A first external input terminal that enables external input of row address information for a non-rewritable area in the memory cell array;
First determining means capable of asserting a row write protect signal when the input row address signal matches input address information from the first external input terminal;
A second external input terminal for enabling external input of column address information for the non-rewritable area in the memory cell array;
A second determination unit capable of asserting a column-based write protect signal when the input column address signal matches input address information from the first external input terminal;
Control logic for prohibiting data writing to a specific area in the memory cell array based on the row write protect signal, the column write protect signal, and a write enable signal indicating an external write instruction. A semiconductor memory device characterized by including:
上記ライトプロテクト信号を外部出力可能な端子を含む請求項1乃至3の何れか1項記載の半導体記憶装置。4. The semiconductor memory device according to claim 1, further comprising a terminal capable of externally outputting said write protect signal. 上記メモリセルアレイにおける書き換え禁止領域への書き込みのために入力されたデータを保持可能な保持手段を含む請求項1乃至4の何れか1項記載の半導体記憶装置。5. The semiconductor memory device according to claim 1, further comprising a holding unit capable of holding data input for writing into a non-rewritable area in said memory cell array.
JP2002197569A 2002-07-05 2002-07-05 Semiconductor storage Withdrawn JP2004039170A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002197569A JP2004039170A (en) 2002-07-05 2002-07-05 Semiconductor storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002197569A JP2004039170A (en) 2002-07-05 2002-07-05 Semiconductor storage

Publications (1)

Publication Number Publication Date
JP2004039170A true JP2004039170A (en) 2004-02-05

Family

ID=31705305

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002197569A Withdrawn JP2004039170A (en) 2002-07-05 2002-07-05 Semiconductor storage

Country Status (1)

Country Link
JP (1) JP2004039170A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2422695A (en) * 2005-01-27 2006-08-02 Toshiba Kk Protecting an area of memory against rewriting

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2422695A (en) * 2005-01-27 2006-08-02 Toshiba Kk Protecting an area of memory against rewriting
GB2422695B (en) * 2005-01-27 2007-04-18 Toshiba Kk Control apparatus for protecting an area of memory against rewriting

Similar Documents

Publication Publication Date Title
US5251304A (en) Integrated circuit microcontroller with on-chip memory and external bus interface and programmable mechanism for securing the contents of on-chip memory
KR940002755B1 (en) One-chip microcomputer
JP3292864B2 (en) Data processing device
US10558585B2 (en) Dynamic memory scrambling
JP4663274B2 (en) MEMORY CONTROLLER, SMART CARD HAVING THE SAME, AND MEMORY DATA READING OPERATION CONTROL METHOD
US5893135A (en) Flash memory array with two interfaces for responding to RAS and CAS signals
US7420859B2 (en) Memory device and method of controlling access to such a memory device
JP2007122627A (en) Information processor and memory initialization method
US11449441B2 (en) Multi-ported nonvolatile memory device with bank allocation and related systems and methods
JP2002015584A (en) Read/protect circuit for non-volatile memory
US20080034150A1 (en) Data processing circuit
JP4822620B2 (en) Semiconductor integrated circuit
US11676659B2 (en) Memory with expandable row width
JP2004039170A (en) Semiconductor storage
JPH09213092A (en) Semiconductor integrated circuit device
JP2005317127A (en) Nonvolatile semiconductor storage device
JPH096490A (en) Microcomputer and data processing unit
JP3061835B2 (en) Memory circuit
JP3669625B2 (en) Data processing system and method of operating data processing system
JP2004213103A (en) Memory control circuit, memory device, and microcomputer
JP3642420B2 (en) Semiconductor device
JPH10307762A (en) Memory initialization control system
JPH0434185B2 (en)
KR20200067418A (en) Semiconductor memory device having closed cell and address decoder
JPH10260950A (en) Microprocessor and data processing system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050906