JPH073660B2 - Semiconductor memory device - Google Patents

Semiconductor memory device

Info

Publication number
JPH073660B2
JPH073660B2 JP18156786A JP18156786A JPH073660B2 JP H073660 B2 JPH073660 B2 JP H073660B2 JP 18156786 A JP18156786 A JP 18156786A JP 18156786 A JP18156786 A JP 18156786A JP H073660 B2 JPH073660 B2 JP H073660B2
Authority
JP
Japan
Prior art keywords
data
memory
bit
address
cache
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP18156786A
Other languages
Japanese (ja)
Other versions
JPS6337442A (en
Inventor
敦詞 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP18156786A priority Critical patent/JPH073660B2/en
Priority to EP87306792A priority patent/EP0259967B1/en
Priority to KR1019870008484A priority patent/KR910004052B1/en
Publication of JPS6337442A publication Critical patent/JPS6337442A/en
Priority to US07/569,597 priority patent/US5014240A/en
Publication of JPH073660B2 publication Critical patent/JPH073660B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概 要〕 タグメモリの各データにVビットを付し、これを電源投
入で一斉にイニシャライズし、以後データを書込むごと
にそのVビットも書込んで、データの有効/無効を明確
にした。
Detailed Description [Overview] Each bit of data in a tag memory is attached with a V bit, which is initialized at the same time when the power is turned on, and each time the data is written, the V bit is also written to write the data. Clarified valid / invalid.

〔産業上の利用分野〕[Industrial application field]

本発明は半導体記憶装置、特にコンピュータのキャッシ
ュメモリのタグメモリに関する。
The present invention relates to a semiconductor memory device, and more particularly to a tag memory of a cache memory of a computer.

〔従来の技術〕 コンピュータのメモリ(主記憶)は、プロセッサとはバ
スを通して接続されるものでまたDRAM(ダイナミックRA
M)を使用して大容量化されているので、アクセスタイ
ムが大であるという問題があり、これを改善すべく高速
SRAMで構成されたキャッシュメモリを用い、主記憶から
読出したデータをキャッシュメモリに保管し、同じデー
タはキャッシュメモリから供給して高速化を図ることが
行なわれている。
[Prior Art] The memory (main memory) of a computer is connected to the processor through a bus, and also DRAM (dynamic RA).
M) is used to increase the capacity, so there is a problem that the access time is long, and it is faster to improve this.
A cache memory composed of SRAM is used, data read from the main memory is stored in the cache memory, and the same data is supplied from the cache memory to increase the speed.

キャッシュはSRAM(スタティックRAM)使用などの理由
で大容量化が困難であり、主記憶の一部に相当する容量
しかないのが普通である。キャッシュの構成法は色々あ
るが、主記憶を複数枚からなる冊(ブロック)の複数個
として、その1冊、2冊又は4冊分とするのが一般的で
ある。第3図はキャッシュのデータメモリが1冊分の容
量であるダイレクトマップ式のキャッシュを、また第4
図は2冊分の容量であるアソシエイティブ型のキャッシ
ュを示す。数値例を挙げると1枚は16バイト、1冊は51
2枚、主記憶全体では524,288冊である。アドレスのビッ
トで言えばA0〜A3で1枚16バイト中の1バイト(1行)
を選び、A4〜A12で1冊512枚中の1枚を選び、A13〜A31
で524,288冊中の1冊を選ぶ。
It is difficult to increase the capacity of the cache due to the use of SRAM (static RAM), etc., and there is usually only a capacity equivalent to a part of the main memory. Although there are various methods of constructing the cache, it is general that the main memory is made up of a plurality of books (blocks), and one, two or four of them are provided. FIG. 3 shows a direct map type cache in which the cache data memory has a capacity of one volume, and FIG.
The figure shows an associative cache with a capacity of two volumes. A numerical example is 16 bytes for one sheet and 51 for one volume.
Two, 524,288 in the main memory. Speaking of address bits, 1 byte out of 16 bytes (1 row) for A 0 to A 3
Select one of the 512 sheets of A 4 to A 12 and select A 13 to A 31
Choose one out of 524,288.

キャッシュへは主記憶の1枚分16バイトを単位にデータ
ストアする。ストアするアドレスは、主記憶中の下位ア
ドレスA4〜A12と同じデータメモリアドレスである。し
かしこれだけでは該1枚が主記憶の524,288冊中のどれ
にあったのかが分らないので、これを示す上位アドレス
A13〜A31を別のメモリ(タグメモリ)に格納しておく。
下位アドレスでタグメモリをアクセスして上位アドレス
を読出し、メモリ(主記憶)をアクセスするアドレスの
上位アドレスを比較器COMPでタグから読出した上位アド
レスと比較し、一致すればキャッシュに所要データがあ
る訳であるからキャッシュのデータメモリを下位アドレ
スで読出し、出力とする。
Data is stored in the cache in units of 16 bytes for each main memory. Store addresses are the same data memory address and lower address A 4 to A 12 of the main memory in. However, this alone does not tell which one of the 524,288 main memories was in the main memory, so the upper address indicating this is
Store A 13 to A 31 in another memory (tag memory).
The tag memory is accessed by the lower address, the upper address is read, the upper address of the address that accesses the memory (main memory) is compared with the upper address read from the tag by the comparator COMP, and if there is a match, the required data is in the cache. Therefore, the data memory of the cache is read at the lower address and is output.

第5図に主記憶とキャッシュとの関係を図解的に示す。
主記憶データは1枚16バイトを単位にデータメモリの、
主記憶上の当該1枚の下位アドレスA4〜A12と同じデー
タメモリ上アドレスに格納され、同時にタグメモリへは
当該1枚の上位アドレスA13〜A31が書込まれる。本例で
はデータメモリは主記憶の4冊分の容量を持つ。
FIG. 5 schematically shows the relationship between the main memory and the cache.
The main memory data is a 16-byte unit in the data memory,
Stored as lower address A 4 to A 12 the one on the main memory in the same data memory on the address, high address A 13 to A 31 of one such is written in the tag memory at the same time. In this example, the data memory has a capacity of four main memories.

従って本例では同じ下位アドレスA4〜A12の枚でも4枚
まではキャッシュに格納可能である。
Therefore until four even in this example in the sheets of the same lower address A 4 to A 12 it can be stored in the cache.

キャッシュは複数冊分の容量を持つが、あるアドレスA4
〜A12については全て格納済みであり、そして更に主記
憶の或る冊から同じアドレスA4〜A12の1枚を読出しこ
れをキャッシュに格納するには既に格納されているもの
をパージする必要がある。このリプレースメントアルゴ
リズムとしては、LRUがよく使用される。
The cache has the capacity for multiple books, but some address A 4
All of ~ A 12 have already been stored, and it is necessary to purge one that has already been stored in order to read one of the same addresses A 4 to A 12 from a certain volume of main memory and store it in the cache. There is. LRU is often used as this replacement algorithm.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

タグメモリには上位アドレスが格納され、主記憶をアク
セスするアドレスの上位アドレスとタグメモリから読出
した上位アドレスとが一致すると当該データはキャッシ
ュにあることになるが、電源投入時はメモリデータはラ
ンダムである。従ってそのまゝでは、偶然に主記憶アク
セス上位アドレスとタグメモリ読出しデータが一致し、
当該データはキャッシュにあることになって、これもラ
ンダムなデータメモリの当該データが読出されてしまう
恐れがある。本発明はかゝる点を簡単な手段により改善
しようとするものである。
The high-order address is stored in the tag memory, and if the high-order address of the address that accesses the main memory matches the high-order address read from the tag memory, the relevant data is in the cache, but the memory data is random when the power is turned on. Is. Therefore, until then, the main memory access upper address and the tag memory read data coincided by chance,
Since the data is stored in the cache, there is a possibility that the data is also read from the random data memory. The present invention seeks to improve these points by simple means.

この目的で本発明ではタグメモリのデータ(上位アドレ
ス)にV(Validity)ビットを付し、これによりタグメ
モリデータの有効/無効を明示するが、電源投入時はこ
のVビットもランダムである。そこで電源投入時にVビ
ットを一斉にイニシャライズ例えば0にし、以後キャッ
シュにデータが書込まれる毎にVビットを1にしてデー
タの有効/無効を明示する。このイニシャライズを、個
々のVビットに逐次0を書込む方法で行なうと時間がか
ゝる。本発明はまたこの一斉イニシャライズを高速に行
なおうとするものである。
For this purpose, in the present invention, V (Validity) bit is added to the data (upper address) of the tag memory to clearly indicate the validity / invalidity of the tag memory data, but when the power is turned on, this V bit is also random. Therefore, when the power is turned on, the V bits are simultaneously initialized, for example, 0, and each time data is written in the cache, the V bit is set to 1 to clearly indicate the validity / invalidity of the data. It takes time if this initialization is performed by sequentially writing 0 to each V bit. The present invention also seeks to perform this simultaneous initialization at high speed.

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

本発明は、各冊複数からなる冊をN冊備える主記憶のn
冊分(n<N)のデータを記憶するキャッシュメモリ
の、該冊を指定する上位アドレス(Au)を冊何の枚を指
定する下位アドレス(Ad)に格納する半導体記憶装置に
おいて、 該記憶装置(12)は、複数のワード線、複数のビット
線、前記ワード線と前記ビット線に接続されるメモリセ
ル(MC)を備え、 該記憶装置(12)の各アドレス毎に前記複数のビット線
中の所定の一部のビット線に接続されているメモリセル
(MC)に当該アドレスのデータ(Au)が有効であるか無
効であるかを示すVビットを格納し、 また該Vビットを電源投入時に一斉に無効(0)にする
イニシャライズ回路を設け、該イニシャライズ回路は、
記憶装置の全ワード線を選択する回路(PG2,NG0,NG1
…)と、データ(Au)部の全ビット線を電源から切離
し、Vビット部のビット線に無効(0)データを加える
回路(PG1,Q1〜Q5)とを有することを特徴とするもので
ある。
According to the present invention, the main memory n is provided with N books each including a plurality of books.
A semiconductor memory device in which a high-order address (Au) designating a book is stored in a low-order address (Ad) designating a book in a cache memory that stores data for a book (n <N). (12) comprises a plurality of word lines, a plurality of bit lines, a memory cell (MC) connected to the word line and the bit line, and the plurality of bit lines for each address of the storage device (12). A V bit indicating whether the data (Au) of the address is valid or invalid is stored in a memory cell (MC) connected to a predetermined part of the bit lines in the memory cell, and the V bit is powered by a power source. An initializing circuit for invalidating (0) all at the time of turning on is provided, and the initializing circuit is
Circuit for selecting all word lines of the memory device (PG 2 , NG 0 , NG 1 ...
...) and a circuit (PG 1 , Q 1 to Q 5 ) for disconnecting all bit lines of the data (Au) part from the power source and adding invalid (0) data to the bit line of the V bit part. To do.

〔作用〕[Action]

この記憶装置(タグメモリ)によれば、タグメモリのデ
ータの有効/無効を明示し、誤ったヒット出力を出す不
都合を除くことができる。また有効/無効を示すVビッ
トは一斉クリヤし、データ(Au)を書込む度に当該アド
レスのVビットを有効“1"にするので、Vビットのクリ
ヤに時間を要すことがなく、かつこの時電源より過大電
流が流出することもない等の利点が得られる。
According to this storage device (tag memory), it is possible to clearly indicate the validity / invalidity of the data in the tag memory and eliminate the inconvenience of outputting an incorrect hit output. Further, the V bit indicating valid / invalid is cleared all at once, and each time the data (Au) is written, the V bit of the relevant address is set to valid "1", so that it does not take time to clear the V bit, and At this time, there is an advantage that an excessive current does not flow out from the power source.

〔実施例〕〔Example〕

第1図に示すように本発明ではタグメモリ12の各データ
(Au)にVビットを付し、これが例えば1ならデータ有
効、0ならデータ無効とする。14は比較器で、タグメモ
リ読出データRDと、主記憶をアクセスするアドレスの上
位アドレスAu(比較データCD)とを比較し、一致すれば
信号S1を生じる(S1をHレベルにする)。16は書込みバ
ッファで、書込み信号WSが入るとき、主記憶をアクセス
するアドレスの上位アドレスAuを書込みデータWDとして
これをタグメモリ12の同下位アドレスAdの位置に書込
む。このとき同時にデータ1を、同じ下位アドレスAdの
Vビット部に書込む。
As shown in FIG. 1, in the present invention, each data (Au) in the tag memory 12 is provided with a V bit. If this is 1, for example, the data is valid, and if it is 0, the data is invalid. Reference numeral 14 is a comparator, which compares the tag memory read data RD with the upper address Au (comparison data CD) of the address for accessing the main memory, and generates a signal S 1 if they match (sets S 1 to H level). . Reference numeral 16 is a write buffer, which writes the upper address Au of the address for accessing the main memory as write data WD at the same lower address Ad of the tag memory 12 when the write signal WS is inputted. At this time, data 1 is simultaneously written in the V bit part of the same lower address Ad.

タグメモリ12の読出しは、主記憶をアクセスするアドレ
スの下位アドレスAdにより行なわれ、読出しデータRDは
比較器14の一方の入力になる。主記憶をアクセスするア
ドレスの上位アドレスAuは比較データCDとなって比較器
14の他方の入力になる。これらのRDとCDが一致すると比
較器14は一致出力S1を生じ、これはナンドゲートGの一
方の入力になる。上記Adでタグメモリを読出したときV
ビット部12aのVビットも読出され、これ(S2で示す)
はナンドゲートGの他方の入力になる。S1がHレベル
(一致出力)、S2もHレベル(Vビット=1、データ有
効)ならナンドゲートGの出力S3はLレベルになり、こ
の反転出力が一致(ヒット)信号となり、キャッシュの
データメモリ読出しOKを指示する。比較器14が一致出力
S1を生じてもVビットが0、従ってS2=Lならヒット出
力S3は生じない。こうしてランダムデータによるエラー
が防止される。
The reading of the tag memory 12 is performed by the lower address Ad of the address for accessing the main memory, and the read data RD becomes one input of the comparator 14. The upper address Au of the address for accessing the main memory becomes the comparison data CD and the comparator
It becomes the other input of 14. When these RD and CD match, comparator 14 produces a match output S 1 , which is one input of NAND gate G. When the tag memory is read with the above Ad, V
The V bit of the bit part 12a is also read, and this (shown by S 2 )
Becomes the other input of the NAND gate G. If S 1 is at H level (match output) and S 2 is at H level (V bit = 1, data valid), the output S 3 of the NAND gate G becomes L level, and this inverted output becomes a match (hit) signal, and the cache Instruct to read data memory OK. Comparator 14 coincident output
Even if S 1 is generated, the V bit is 0, so if S 2 = L, the hit output S 3 is not generated. In this way, errors due to random data are prevented.

書込みは上位アドレスAuを書込みデータWDとして書込み
バッファ16に入力し、また書込み信号Wを該バッファ及
びタグメモリ12に与え、下位アドレスAdでタグメモリ12
をアクセスして該Adで定まるダクデータ部12bのアドレ
スにAuをまたVビット部12aのアドレスに1を書込む。
For writing, the upper address Au is input to the write buffer 16 as the write data WD, the write signal W is applied to the buffer and the tag memory 12, and the lower address Ad is used for the tag memory 12.
To write Au to the address of the duck data portion 12b determined by the Ad and write 1 to the address of the V bit portion 12a.

第2図(a)は、タグメモリ12のVビット部12aの各V
ビットを電源投入時に一斉にイニシャライズする回路を
示す。第1図には示さなかったが、この第2の回路はタ
グメモリ12に組込まれ、従って同じ半導体基板(チッ
プ)10上に設けられる。BL,▲▼はVビット部12aの
ビット線対、BLi,▲▼iはタグデータ部12bのビッ
ト線対(多数即ちAuのビット数だけあるが1対のみ示
す)である。ビット線対BL,▲▼はpチャネルMOSト
ランジスタQ1,Q4,及びnチャネルMOSトランジスタQ2,Q5
を通して電源Vccへプルアップされ、ビット線対BLi,▲
▼iもpチャネルMOSトランジスタQi及びnチャネ
ルMOSトランジスタQ6,Q7を通して電源Vccへプルアップ
される。また、ビット線BLはnチャネルMOSトランジス
タQ3によりグランドへプルダウンされる。W0,W1,……は
ワード線で、WDは下位アドレスAdによりこれらのワード
線の1つを選択するワードデコーダの出力である。NG0,
NG1,……はノアゲート、I0,I1,……はインバータ、NGは
ナンドゲート、CGはコラムゲート、そしてMCはメモリセ
ルである。SRAMであるので、メモリセルはフリップフロ
ップで構成される。ビット線対BL,▲▼、BLi,▲
▼iの他端はコラムゲートCGを通して図示しないデー
タバスへ接続される。
FIG. 2A shows each V of the V bit portion 12a of the tag memory 12.
A circuit that initializes all bits at the same time when the power is turned on is shown. Although not shown in FIG. 1, this second circuit is incorporated in the tag memory 12 and therefore provided on the same semiconductor substrate (chip) 10. BL, ▲ ▼ is a bit line pair of the V bit section 12a, and BLi, ▲ ▼ i is a bit line pair of the tag data section 12b (there are a large number, that is, the number of bits of Au but only one pair is shown). The bit line pair BL, ▲ ▼ are p-channel MOS transistors Q 1 , Q 4 , and n-channel MOS transistors Q 2 , Q 5
Is pulled up to the power supply Vcc through the bit line pair BLi, ▲
I is also pulled up to the power supply Vcc through the p-channel MOS transistor Qi and the n-channel MOS transistors Q 6 and Q 7 . The bit line BL is pulled down to the ground by n-channel MOS transistor Q 3. W 0 , W 1 , ... Are word lines, and WD is the output of a word decoder that selects one of these word lines according to the lower address Ad. NG 0 ,
NG 1 , ... are NOR gates, I 0 , I 1 , ... are inverters, NG is a NAND gate, CG is a column gate, and MC is a memory cell. Since it is SRAM, the memory cell is composed of flip-flops. Bit line pair BL, ▲ ▼, BLi, ▲
The other end of i is connected to a data bus (not shown) through the column gate CG.

このタグメモリで電源投入時に各アドレス(Ad)のVビ
ットを0にするには、外部よりパージ信号▲▼
を入力する、即ち第2図(b)に示すようにこれをLレ
ベルにする。信号▲▼がLレベルになると内部
の信号発生回路(図示しない)により信号PG1がHレベ
ル、信号▲▼がLレベルになる。そこでQ1はオ
フ、Q3オン、Qiオフとなる。従ってBLはL、▲▼は
Hとなり、またBLi及び▲▼iは電源Vccより切離さ
れる。またナンドゲートNGの出力はH、インバータIの
出力はL、従ってコラムゲートCGはオフとなる。上記の
信号発生回路は続いて信号PG2を発生し(Hレベルに
し)、これによりノアゲートNG0,NG1,……の出力はL、
インバータI0,I1,……の出力はHとなり、全ワード線
W0,W1,……が選択される。この結果全メモリセルMCのト
ランスファゲートが開いて該MCは各々のビット線に接続
されるが、データ部12bのビット線対BLi,▲▼iは
オープン状態なので該データ部のメモリセルには書込み
はなされないが、Vビット部12aのビット線対はBL=L,
▲▼=Hなので(これはデータ0を表わす)該Vビ
ット部のメモリセルは一斉に0が書込まれる。書込み後
は▲▼をHにし、これにより逐次PG2=L,PG1
L,▲▼=Hになる。
In order to set the V bit of each address (Ad) to 0 when the power is turned on in this tag memory, a purge signal ▲ ▼
Is input, that is, it is set to the L level as shown in FIG. When the signal ▲ ▼ becomes L level, the signal PG 1 becomes H level and the signal ▲ ▼ 1 becomes L level by an internal signal generating circuit (not shown). So Q 1 is off, Q 3 is on, and Qi is off. Therefore, BL becomes L and ▲ ▼ becomes H, and BLi and ▲ ▼ i are disconnected from the power source Vcc. Further, the output of the NAND gate NG is H and the output of the inverter I is L, so that the column gate CG is turned off. The above signal generating circuit subsequently generates the signal PG 2 (sets it to the H level), whereby the outputs of the NOR gates NG 0 , NG 1 ,.
The output of the inverters I 0 , I 1 , ... becomes H, and all word lines
W 0 , W 1 , ... are selected. As a result, the transfer gates of all the memory cells MC are opened and the MCs are connected to the respective bit lines. However, since the bit line pair BLi, ▲ ▼ i of the data section 12b is in the open state, the memory cells of the data section are written. However, the bit line pair of the V bit part 12a is BL = L,
Since ▲ ▼ = H (this represents data 0), 0 is written all at once in the memory cells of the V bit portion. After writing, ▲ ▼ is set to H, so that PG 2 = L, PG 1 =
L, ▲ ▼ 1 = H.

このVビット一斉クリア方式によれば、1〜数サイクル
で全Vビットの一斉イニシャライズが可能であり、しか
もこのとき全ビット線は電源Vccより切離されているの
で電源より電流が流出することがない(ビット線を電源
に接続したまゝワード線全選択をすると過大な電流が電
源よりビット線へ流れる)。
According to this V bit simultaneous clear method, all V bits can be initialized simultaneously in one to several cycles, and at this time, since all bit lines are disconnected from the power supply Vcc, current may flow from the power supply. Not available (excessive current flows from the power supply to the bit line if all word lines are selected while the bit line is connected to the power supply).

Vビットは1ビットでよいが複数ビットとして、その全
てが1のときデータは有効とすると、確実さを増大する
ことができる。
The V bit may be 1 bit, but if the data is a plurality of bits and all of them are 1, then the reliability can be increased.

第2図の一斉クリヤ方式はLRU部のウエイの新旧情報を
格納するメモリのクリヤなどにも利用できる。
The simultaneous clearing method shown in Fig. 2 can be used for clearing the memory that stores the old and new information of the way of the LRU part.

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

以上説明したように本発明によれば、タグメモリのデー
タの有効/無効を開示し、誤ったヒット出力を出す不都
合を除くことができる。また有効/無効を示すVビット
は一斉クリヤし、データ(Au)を書込む度に当該アドレ
スのVビットを有効“1"にするので、Vビットのクリヤ
に時間を要すことがなく、かつこの時電源より過大電流
が流出することもない等の利点が得られる。
As described above, according to the present invention, it is possible to disclose the validity / invalidity of the data in the tag memory and eliminate the inconvenience of outputting an incorrect hit output. Further, the V bit indicating valid / invalid is cleared all at once, and each time the data (Au) is written, the V bit of the relevant address is set to valid "1", so that it does not take time to clear the V bit, and At this time, there is an advantage that an excessive current does not flow out from the power source.

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

第1図は本発明の実施例を示すブロック図、 第2図はそのイニシャライズ回路部の回路図と波形図、 第3図〜第5図はキャッシュメモリの説明図である。 第1図および第2図で、12はタグメモリ、12aはそのV
ビット部、12bはデータ(Au)部、PG2はワード線全選択
信号、NG0,NG1,……はそのゲート、Q1,Q2,Q4,Q5,Q6はビ
ット線を電源へ接続するトランジスタ、Q3はグランドへ
接続するトランジスタである。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a circuit diagram and waveform diagram of its initialization circuit section, and FIGS. 3 to 5 are explanatory diagrams of a cache memory. In FIGS. 1 and 2, 12 is a tag memory and 12a is its V
Bit part, 12b is a data (Au) part, PG 2 is a word line full selection signal, NG 0 , NG 1 , ... Is its gate, Q 1 , Q 2 , Q 4 , Q 5 , Q 6 are bit lines. The transistor connected to the power supply, Q 3 is the transistor connected to ground.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】各冊複数からなる冊をN冊備える主記憶の
n冊分(n<N)のデータを記憶するキャッシュメモリ
の、該冊を指定する上位アドレス(Au)を冊何の枚を指
定する下位アドレス(Ad)に格納する半導体記憶装置に
おいて、 該記憶装置(12)は、複数のワード線、複数のビット
線、前記ワード線と前記ビット線に接続されるメモリセ
ル(MC)を備え、 該記憶装置(12)の各アドレス毎に前記複数のビット線
中の所定の一部のビット線に接続されているメモリセル
(MC)に当該アドレスのデータ(Au)が有効であるか無
効であるかを示すVビットを格納し、 また該Vビットを電源投入時に一斉に無効(0)にする
イニシャライズ回路を設け、該イニシャライズ回路は、
記憶装置の全ワード線を選択する回路(PG2,NG0,NG1
…)と、データ(Au)部の全ビット線を電源から切離
し、Vビット部のビット線に無効(0)データを加える
回路(PG1,Q1〜Q5,Qi)とを有することを特徴とする半
導体記憶装置。
1. A high-order address (Au) for designating a book in a cache memory for storing data for n books (n <N) in a main memory having N books each consisting of a plurality of books. In a semiconductor memory device for storing in a lower address (Ad) that specifies a memory cell, the memory device (12) includes a plurality of word lines, a plurality of bit lines, and the memory cells (MC) connected to the word lines and the bit lines. The data (Au) of the address is valid for the memory cells (MC) connected to a predetermined part of the bit lines of the plurality of bit lines for each address of the storage device (12). Is provided with a V bit indicating whether it is invalid or invalid, and an initialization circuit that invalidates (0) the V bits at the same time when power is turned on is provided.
Circuit for selecting all word lines of the memory device (PG 2 , NG 0 , NG 1 ...
...) and a circuit (PG 1 , Q 1 to Q 5 , Qi) for disconnecting all bit lines of the data (Au) part from the power source and adding invalid (0) data to the bit line of the V bit part. A characteristic semiconductor memory device.
JP18156786A 1986-08-01 1986-08-01 Semiconductor memory device Expired - Fee Related JPH073660B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP18156786A JPH073660B2 (en) 1986-08-01 1986-08-01 Semiconductor memory device
EP87306792A EP0259967B1 (en) 1986-08-01 1987-07-31 Directory memory
KR1019870008484A KR910004052B1 (en) 1986-08-01 1987-08-01 Tag memory device with mean for initializing valid bit
US07/569,597 US5014240A (en) 1986-08-01 1990-08-14 Semiconductor memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18156786A JPH073660B2 (en) 1986-08-01 1986-08-01 Semiconductor memory device

Publications (2)

Publication Number Publication Date
JPS6337442A JPS6337442A (en) 1988-02-18
JPH073660B2 true JPH073660B2 (en) 1995-01-18

Family

ID=16103059

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18156786A Expired - Fee Related JPH073660B2 (en) 1986-08-01 1986-08-01 Semiconductor memory device

Country Status (1)

Country Link
JP (1) JPH073660B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6030298B2 (en) * 2010-12-28 2016-11-24 株式会社半導体エネルギー研究所 Buffer storage device and signal processing circuit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59201287A (en) * 1983-04-28 1984-11-14 Hitachi Ltd Cache memory control system

Also Published As

Publication number Publication date
JPS6337442A (en) 1988-02-18

Similar Documents

Publication Publication Date Title
KR940005684B1 (en) Semiconductor memory device supporting cache and method of driving the same
US4926385A (en) Semiconductor memory device with cache memory addressable by block within each column
KR960003227B1 (en) Data transmiting method and semiconductor memory device using it
US5226147A (en) Semiconductor memory device for simple cache system
JP3579205B2 (en) Semiconductor storage device, semiconductor device, data processing device, and computer system
US6804162B1 (en) Read-modify-write memory using read-or-write banks
KR950014905B1 (en) A semiconductor memory device with an internal voltage generating circuit
KR900005897B1 (en) Memory management for microprocessor system
US5014240A (en) Semiconductor memory device
JPH0863958A (en) Random-access-memory-system and random-access-memory
US20060112321A1 (en) Transparent error correcting memory that supports partial-word write
US6118721A (en) Random access memory with divided memory banks and data read/write architecture therefor
JPH02297791A (en) Memory subsystem
US8468433B2 (en) Optimizing the size of memory devices used for error correction code storage
JP2006526224A (en) Method and apparatus for improving memory access performance of multi-CPU system
US10496546B2 (en) Cache memory and processor system
US20030120881A1 (en) Memory-access management method and system for synchronous dynamic random-access memory or the like
JP2004288225A (en) Dram (dynamic random access memory) and access method
JPH08129876A (en) Semiconductor storage
EP0535701A1 (en) Architecture and method for combining static cache memory and dynamic main memory on the same chip (CDRAM)
JPH073660B2 (en) Semiconductor memory device
JPH05198186A (en) Associative memory system
US5479609A (en) Solid state peripheral storage device having redundent mapping memory algorithm
JPH07114794A (en) Semiconductor memory
JPH04324187A (en) Dynamic ram

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees