JPH01136257A - Storage device of set associative system - Google Patents

Storage device of set associative system

Info

Publication number
JPH01136257A
JPH01136257A JP62295515A JP29551587A JPH01136257A JP H01136257 A JPH01136257 A JP H01136257A JP 62295515 A JP62295515 A JP 62295515A JP 29551587 A JP29551587 A JP 29551587A JP H01136257 A JPH01136257 A JP H01136257A
Authority
JP
Japan
Prior art keywords
storage device
memory
bit
way
data
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
JP62295515A
Other languages
Japanese (ja)
Inventor
Masayuki Hata
雅之 畑
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 JP62295515A priority Critical patent/JPH01136257A/en
Publication of JPH01136257A publication Critical patent/JPH01136257A/en
Pending legal-status Critical Current

Links

Landscapes

  • Semiconductor Memories (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To realize storage of set associative system without generating malfunction even when one bit error is generated in a storage cell by fixing the content of a memory device group re-representing the state of a block which becomes a candidate of data substitution. CONSTITUTION:In case of selecting an address tag memory 5 generating the one bit error in a set selector 3 to which an address 1 is supplied from the outside, the content of the address tag memory 5 generating the one bit error is sent to a comparator 9. And the content of a valid bit memory 6 (the content of the valid memory 6 includes invalidity since no write is performed on an entry in which the one bit error is generated) is also sent, therefore, no coincidence is obtained in the content of the address tag memory 5 in which the one bit error is generated, thereby, no malfunction is generated.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、セットアソシアティブ方式の記憶装置に関
し、特に製造時のビット不良の救済ができるセットアソ
シアティブ方式のキャッシュメモリに関するものである
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a set-associative storage device, and particularly to a set-associative cache memory that can repair bit defects during manufacturing.

〔従来の技術〕[Conventional technology]

第1図n、cQ出版社のインターフェース。 Figure 1 n, cQ publisher interface.

87年8月号の250ページに記載されている、番セッ
トアソシアティブ方式のキャッシュメモリのブロック構
成図である。図にお−て、 litはキャッシュメモリ
にアクセスしようとするアドレス、(21は前記アドレ
スIl+の一部であるアドレスタグ、]3Iは前記アド
レス+11の一部であるセットセレクタ、411jキヤ
ツシユメモリ内にあるアドレスタグを保持するアドレス
タグメモリ、+71はキャッシュメモリ内にあるデータ
を保持するデータブロック、IB)は前記データブロッ
ク;フ1の保持しているデータが有効であるか無効であ
るか全示したバリッドピットメそり、(8)はデータの
置き換えをLeast Recently Uee6ア
ルゴリズムC以降LRUと称す)によってteaされる
状スのデータと比較して一致しているかを調べるアドレ
スタグ比較器、(41は前記アドレス111の−である
ワードセレクタ、tlolは前記ワードセレクタ(41
によって撰択されるツー1″セレクト、αυは前記アド
レスタグ比較器によって選択されるウェイセレクト、(
!りは前記ウェイセレクトu1Jから出力されるデータ
出力である。
FIG. 2 is a block configuration diagram of a number set associative type cache memory described on page 250 of the August 1987 issue. In the figure, lit is the address to access the cache memory, (21 is an address tag that is part of the address Il+,] 3I is a set selector that is part of the address +11, and 411j is the address in the cache memory. +71 is a data block that holds the data in the cache memory; IB) is the data block; The valid pit mesori shown in (8) is an address tag comparator (41 is the word selector that is - of the address 111, and tlol is the word selector (41
to 1″ select, αυ is the way select selected by the address tag comparator, (
! is the data output from the way select u1J.

次に、動作について説明する。Next, the operation will be explained.

外部からアドレス11:が与えられるセットセレクタ1
31で選ばれた各ウェイのアドレス比較器そり・6)の
内容をアドレスタグ比較器(91に送ると共にデータブ
ロック(〕)の内容もワードセレクト(lαに送り、ワ
ードセレクタ(41で選ばれたワードデータをウェイセ
レクトα1に送る。そして、選ばれたアドレスタグメモ
リ111)のバリッドビットメモリの内容と共に前記ア
ドレスタグ比較器(9)でアドレスタグ(2:と一致し
ているかを調べ一致しているウェイが存在していれば前
記ウェイセレクトUυよりそのウェイのデータをデータ
出力(1りに出力する。しかし、前記アドレス比較器(
91で不一致となればキャッシュメモリ外のメインメモ
リにデータを読みにいき、MPHにデータを送ると共に
キャッシュメモリ内のデータブロック1]1にデータを
格納する。この時どのウェイにデータを格納するかを決
めるのが、LRσアルゴリズムで行ない、その情報がL
RUビットメモリ(8)に格納されている。
Set selector 1 to which address 11: is given from the outside
The contents of the address comparator (6) of each way selected in 31 are sent to the address tag comparator (91), and the contents of the data block (]) are also sent to the word select (lα). The word data is sent to the way select α1.Then, the address tag comparator (9) checks whether it matches the address tag (2:) together with the contents of the valid bit memory of the selected address tag memory 111). If a way exists, the data of that way is output from the way select Uυ to the data output (1). However, the address comparator (
If there is a mismatch in 91, the data is read to the main memory outside the cache memory, and the data is sent to the MPH and stored in the data block 1]1 in the cache memory. At this time, the LRσ algorithm is used to decide which way to store the data, and the information is
It is stored in the RU bit memory (8).

次に、LRσビット18)についての−例を説明する。Next, an example of the LRσ bit 18) will be explained.

第3図は、4セットアソシアティブ方式の番つのウェイ
(7)とLRσビット(至)の関係を示した図である。
FIG. 3 is a diagram showing the relationship between the number way (7) and the LRσ bit (to) in the 4-set associative system.

図において(至)は各ウェイ1kA、B。In the figure (to) each way is 1kA, B.

0、Dとしたキャッシュメモリ内のウェイ、(至)げ前
記ウェイ(至)の各々のLRσの情報を現すビットであ
る。
This bit represents information on LRσ of each way (to) of the way (to) in the cache memory set to 0 and D.

次に、LRσビットメモリ(8)の動作について説明す
る。
Next, the operation of the LRσ bit memory (8) will be explained.

3つのウェイa19A、Bとの関係においてウェイAが
ウェイBに比べて最近アクセスされているならLRσビ
ット端の(AB)のデータfll。
If way A has been accessed more recently than way B in relation to the three ways a19A and B, data full of (AB) at the LRσ bit end.

ウェイBが最近アクセスされているならデータはOが格
納されている。同様に、ウェイAとウェイCとの関係は
、LRσビット−の〔AC3で情報が格納されウェイA
とウェイDとの関係dLRσビット(至)の〔AD〕で
情報が格納されている。今、LRσビット(至)の(”
AB)場0、[”Ac1−0.CAD]−0という状態
になっていれば最も、最近に使用されていない9エイ#
:r之エイAとなり、最優先のi置換候補となる。また
逆にLR4ビット(至)のrAB)−t、(ha’3−
1. 〔ADl=xという状態になっていれば最も最近
に使用されたウェイがウェイAとなり、最も優先度の低
い候補となる。他のウェイも陶様にLRσビット■の状
態で置換候補の優先度を表現できる。
If way B has been accessed recently, data O is stored. Similarly, the relationship between way A and way C is that the LRσ bit- [information is stored in AC3 and way A
Information is stored in [AD] of the relationship dLRσ bit (to) and way D. Now, the LRσ bit (to) (”
AB) If the state is 0, [”Ac1-0.CAD]-0, it is the least recently used 9 ray #
: r no ei A, and becomes the top priority i replacement candidate. Conversely, LR4 bits (to) rAB)-t, (ha'3-
1. [If the state is ADl=x, the most recently used way becomes way A, and becomes the candidate with the lowest priority. Other ways can also express the priority of replacement candidates in the state of the LRσ bit ■.

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

この様な従来のセットアソシアティブ方式の記憶装置で
は、記憶素子の量を増大すると記憶素子のビット不良の
ため、歩留が下るという問題点があった。この発明は、
かかる問題点を解決するためになされたもので、記憶素
子の1ビツト不良があっても動作しないセットアソ シ
アテイブ方式の記憶装置を得ることを目的とする。
In such a conventional set associative type memory device, there is a problem in that when the number of memory elements is increased, the yield rate decreases due to bit defects in the memory elements. This invention is
This invention was developed to solve this problem, and the object is to obtain a set associative type storage device that does not operate even if there is a 1-bit defect in the storage element.

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

この発明におけるセットアソシアティブ方式の記憶装置
は、データの置き換えの候補となるブロックの状態を示
す候補状態記憶装置群の記憶装置の内容?固定すること
により、内容1に書き換えられなくすることのできる前
記候補状態記憶装置群を備R7たものである。
In the set-associative storage device of the present invention, the contents of a storage device of a candidate state storage device group indicating the state of a block that is a candidate for data replacement? It is provided with the candidate state storage device group R7 which can be fixed to prevent it from being rewritten to content 1.

〔作用〕[Effect]

この発明においては、ビット不良のあった二/トリのウ
ェイは動作中に最優先置換候補にならず、データを格納
することはなくそのため誤動作しない。
In this invention, the 2/3 way with a bit defect does not become a top priority replacement candidate during operation, does not store data, and therefore does not malfunction.

〔実施例〕〔Example〕

以下、この発明の一実施例を説明する。 An embodiment of this invention will be described below.

4セットアソシアティブ方式のキャッシュメモリについ
て説明するが、ブロック構成図及び4つのウェイ(至)
とLRσビット(至)の関係を示した図は従来の技術で
述べた第1図、及び第3図憶素子のビット不良がなけれ
ば動作は従来とまった< 151じである。第3図にお
いて、ウェイ(至)のうちウェイAの1つのエントリの
記憶素子の1ビツト不良があった場合、ウェイAは最も
最優先度の低い置換候補とするためにLRσビット(至
)の[”AB)−1,rAc]−+l、CAD〕−1と
値を固定する。これによって他のウェイ(7)例えばつ
くがLRσピッ)(AB]fllと固定されているので
〔ムB〕−1,rB(1−1,〔BD)−1となるがI
、Rσビット(至)の〔ムB)−1,r AO)−1,
[”AD]−1のままである。従って、ウェイAは常に
最も優先度の低い置換候補のままでデータ1klFきに
行くことはない。第1図において、外部からアドレス+
11が与えられたセットセレクタ(3:でlピット不良
?起こしたアドレスタグメモリ16)が選ばれたとき、
前記1ビツト不良を起こしたアドレスタグメそり+51
の内容がアドレスタグ比較器(91に送られるが、バリ
ッドピッドメモリ(6)の内容も(ここでは前記lビッ
ト不良を起こしたエントリは一度もデータの研き込みが
行われていないため、前記バリッドピッドメモリ(61
の内容は無効が入っている)送られるため、前記1ビツ
ト不良を起こしたアドレスタグメそり+51の内容が一
致とけならなく、誤動作にしない。
I will explain the 4-set associative cache memory, but I will explain the block configuration diagram and 4 ways (towards).
The diagrams showing the relationship between and LRσ bit (to) are as shown in FIG. 1 and FIG. 3 described in the prior art section.If there is no bit defect in the memory element, the operation remains the same as in the conventional case.<151. In Fig. 3, if there is a 1-bit defect in the memory element of one entry of way A among ways (to), way A has a LRσ bit (to) to make it the replacement candidate with the lowest priority. ["AB)-1, rAc]-+l, CAD]-1. This fixes the value as ["AB]-1, rAc]-+l, CAD]-1. As a result, other ways (7), for example, are fixed as LRσpi)(AB]flll, so [B] -1, rB(1-1, [BD)-1, but I
, Rσ bits (to) [muB)-1, r AO)-1,
[”AD]-1. Therefore, way A always remains the replacement candidate with the lowest priority and never goes to the data 1kIF. In Fig. 1, the address +
When the set selector given 11 (address tag memory 16 that caused an L pit defect at 3:) is selected,
Address tag memory that caused the above 1-bit failure +51
The contents of the address tag comparator (91) are sent to the address tag comparator (91), but the contents of the valid-pid memory (6) are also sent to the address tag comparator (91). Pidmemory (61
Since the contents of address tag memory +51 that caused the 1-bit failure must match, a malfunction will not occur.

次に、第2図でこの発明に係る状態を固定できる記憶素
子の一例を示す。
Next, FIG. 2 shows an example of a memory element whose state can be fixed according to the present invention.

図において、(211はビットライン、−は前記ビット
ライン圓の反転信号ビットライン、nhワ−yライン、
鏝はNチャネル金属酸化膜電界効果トランジスタ(以下
NCh MO8FR1?)、鑓はpchMO8F]lC
T%例は高抵抗ポリシリコンなどで構成される抵抗、2
71はアルミなどで構成される断線可能な配線である。
In the figure, (211 is a bit line, - is an inverted signal bit line of the bit line circle, nh word-y line,
The trowel is an N-channel metal oxide field effect transistor (hereinafter referred to as NCh MO8FR1?), the hammer is pchMO8F]lC
T% example is a resistor made of high resistance polysilicon, etc.
Reference numeral 71 indicates a breakable wiring made of aluminum or the like.

次に、゛動作について説明する。Next, the operation will be explained.

通常はスタティックRAMと同じ動作をするがデータを
固定する場合、前記断線可能な配線(271を切ること
により、Pah MO8IFKT @f ONすること
によりデータを固定する。
Normally, it operates in the same way as a static RAM, but when data is to be fixed, the data is fixed by cutting the disconnectable wiring (271) and turning on Pah MO8IFKT @f.

例えば、0に固定する場合、断線可能な配線(1?、b
)を切ることにより実現でき、夏を書く動作を行っても
lにはならない。
For example, when fixing to 0, disconnectable wiring (1?, b
), and even if you perform the action of writing summer, it will not become l.

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

以上のように、この発明によれば記憶素子の1ビツト不
良があっても誤動作しないセットアソシアティブ方式の
記憶装置tt−得ることのでき、しかも製造上の歩留が
同上する。
As described above, according to the present invention, it is possible to obtain a set associative type memory device tt- which does not malfunction even if there is a 1-bit defect in the memory element, and the manufacturing yield is the same as above.

【図面の簡単な説明】 第1図Lr14セツトアソシアテイブ方式のキャッシュ
メモリのブロック構成図である。 ・へ8図はこの発明に係る状gを固定できる記憶素子の
一回路図である。 第3図は、4セットアソシアティブ方式の4つのウェイ
LRσビットの関係を示した図である。 +111fiアドレス、lけアドレスタグ、13:けセ
ットセレクタ、+41riワードセレクタ、+51t!
アドレスタグメそり、(61はバリッドビットメモリ、
17)はデータブロック、f81#fLRUピットメモ
リ、(9)はアドレスタグ比較器、101はワーFセレ
クト、αυにウェイセレクト、IIfJIr!データ出
力、圓はビットライン、@はビットライン、ツはワード
ライン、e24IはNch MO8FFiT 、 mは
Pch MO日FET、例は抵抗、罰は断線可能な配線
、C111はウェイ、08はI、RUビットである。 なお、図中、同一符号は同一または相当部分を示す。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of an Lr14 set associative type cache memory.・FIG. 8 is a circuit diagram of a memory element capable of fixing the shape g according to the present invention. FIG. 3 is a diagram showing the relationship between four way LRσ bits in the 4-set associative system. +111fi address, l address tag, 13: set selector, +41ri word selector, +51t!
Address tag memory (61 is valid bit memory,
17) is a data block, f81#fLRU pit memory, (9) is an address tag comparator, 101 is a word F select, αυ is a way select, IIfJIr! Data output, circle is bit line, @ is bit line, tsu is word line, e24I is Nch MO8FFiT, m is Pch MO day FET, example is resistance, punishment is wire that can be disconnected, C111 is way, 08 is I, RU It's a bit. In addition, in the figures, the same reference numerals indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] タグ記憶装置群とデータ記憶装置群と前記データ記憶装
置群のなかの記憶内容が有効であるか無効であるかを示
す有効状態記憶装置群と前記データ記憶装置群のなかか
らデータの置き換えの候補となるブロックの状態を示す
候補状態記憶装置群を具備したセットアソシアティブ方
式の記憶装置において、前記データの置き換えの候補と
なるブロックの状態を示す候補状態記憶装置群の記憶装
置の内容を固定することにより動作中に状態が書き変わ
らなくすることが可能な前記候補状態記憶装置群を備え
たことを特徴とするセットアソシアティブ方式の記憶装
置。
A tag storage device group, a data storage device group, a valid status storage device group indicating whether the storage contents in the data storage device group are valid or invalid, and a candidate for data replacement from among the data storage device group. In a set-associative storage device including a group of candidate state storage devices indicating the state of a block that is a candidate for data replacement, the contents of the storage device of the group of candidate state storage devices that indicate the state of a block that is a candidate for data replacement are fixed. A set associative type storage device comprising the candidate state storage device group whose state can be prevented from being rewritten during operation.
JP62295515A 1987-11-24 1987-11-24 Storage device of set associative system Pending JPH01136257A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62295515A JPH01136257A (en) 1987-11-24 1987-11-24 Storage device of set associative system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62295515A JPH01136257A (en) 1987-11-24 1987-11-24 Storage device of set associative system

Publications (1)

Publication Number Publication Date
JPH01136257A true JPH01136257A (en) 1989-05-29

Family

ID=17821618

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62295515A Pending JPH01136257A (en) 1987-11-24 1987-11-24 Storage device of set associative system

Country Status (1)

Country Link
JP (1) JPH01136257A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008082613A (en) * 2006-09-27 2008-04-10 Tosetz Co Ltd Vertical gas supply and exhaust system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008082613A (en) * 2006-09-27 2008-04-10 Tosetz Co Ltd Vertical gas supply and exhaust system

Similar Documents

Publication Publication Date Title
US6879528B2 (en) Control method of nonvolatile memory
US5627963A (en) Redundant read bus for correcting defective columns in a cache memory
JPH04233825A (en) Programmable logic device, circuit block used in this device, method for determining whether input to aforesaid device is used in logic function and method for making input buffer of aforesaid device unusable
US4059850A (en) Memory system word group priority device with least-recently used criterion
JP2981346B2 (en) Read-only semiconductor memory device
JP5072145B2 (en) Associative memory
EP0030463B1 (en) Buffer memory control system
JPS6128198B2 (en)
JPH01136257A (en) Storage device of set associative system
JP2738363B2 (en) Associative memory
JPS62217498A (en) Semiconductor memory device
JPH05198186A (en) Associative memory system
JP2005190289A (en) Memory controller, flash memory system therewith, and method for controlling flash memory
JP3606567B2 (en) SRAM device
KR20040007343A (en) Cache memory and control method thereof
JPH0756640B2 (en) Storage device
JP3074897B2 (en) Memory circuit
JP2988426B2 (en) Storage device
JPS62266797A (en) Semiconductor nonvolatile memory device
JPS59127286A (en) Main storage control system
JPS62212751A (en) Data processor
JPH02122344A (en) Buffer memory
JPH0439099B2 (en)
JPS5847798B2 (en) Storage device
JPH03127126A (en) Information processor