JPS63173146A - Cache memory control system - Google Patents

Cache memory control system

Info

Publication number
JPS63173146A
JPS63173146A JP62005475A JP547587A JPS63173146A JP S63173146 A JPS63173146 A JP S63173146A JP 62005475 A JP62005475 A JP 62005475A JP 547587 A JP547587 A JP 547587A JP S63173146 A JPS63173146 A JP S63173146A
Authority
JP
Japan
Prior art keywords
cache memory
data
write
register
address
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
JP62005475A
Other languages
Japanese (ja)
Inventor
Mitsuru Iwaoka
岩岡 満
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP62005475A priority Critical patent/JPS63173146A/en
Publication of JPS63173146A publication Critical patent/JPS63173146A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a system performance with a level higher than ever with the same quantity of hardware as that of a write through system, by rewriting a main memory device by adding a write buffer, and holding and processing the latest write request of a processor. CONSTITUTION:A cache memory (CM) control circuit 3, when no rewrite data exists in a CM2, set a signal Ext at an H. Thereby, a write control circuit 15 sets a signal Cenb at the H, and validates the buffer 14, and permits write on the memory device 5 through a system address of the main memory device 5 designated by the processor 1. When the data remains in the CM2, the content of an address register 12 is compared with the address of a present access at a comparator 13, and when they coincide, the circuit 15 sets a signal DS at the H, and fetches the data of the CM2 in a data register 11.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明は、キャッシュメモリ制御システムに関し、特に
キャッシュメモリを用いた計算機の性能を改善するもの
で、ライト・スル一方式のキャッシュメモリにおけるメ
モリ書き込み方式の改善に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a cache memory control system, and in particular improves the performance of a computer using a cache memory. Regarding improvement of the method.

[従来の技術] 従来より、高性能プロセッサの性能を最大限に引き出す
ために、第7図に示すようにプロセッサ1と主記憶装置
5の間にキャッシュメモリ2を置くことが多い。
[Prior Art] Conventionally, in order to maximize the performance of a high-performance processor, a cache memory 2 is often placed between a processor 1 and a main storage device 5, as shown in FIG.

プロセッサ1はシステムバス4経由で主記憶装置5にア
クセス可能となっている。またキャッシュメモリ2は、
プロセッサ1からのアドレス、および読み出し/書き込
み制御信号(R/W)に基づき作動するキャッシュメモ
リ制御回路3により制御され、主記憶装置5内の最後に
使用された一群のデータを保持する高速メモリである。
The processor 1 can access the main storage device 5 via the system bus 4. In addition, cache memory 2 is
A high-speed memory that is controlled by a cache memory control circuit 3 that operates based on an address from the processor 1 and a read/write control signal (R/W), and holds a group of data that was last used in the main memory 5. be.

したがってプロセッサ1の必要とするデータがキャッシ
ュメモリ2にあれば、システムバス3を経由することな
く直接そのデータを高速に取り出すことができるため、
キャッシュメモリを用いれば処理能力が向上することが
容易に理解される。
Therefore, if the data required by the processor 1 is in the cache memory 2, it can be retrieved directly at high speed without going through the system bus 3.
It is easily understood that the use of cache memory improves processing performance.

ところでプロセッサが書き込みを実行する時、キャッシ
ュメモリがその書き込みを扱う方法として、以下の2つ
の方式が知られている。
By the way, when a processor executes a write, the following two methods are known as methods for the cache memory to handle the write.

■ライト・スル一方式 キャツシュメモリ11御回路3を介してアクセスするも
のの、キャッシュメモリを介することなく常に直接主記
憶装置4をアクセスし、新しいデータで更新する。つま
り書き込み時にはキャッシュメモリが存在しないのと同
じになる。
(1) Write/Throw One-way Cash Memory 11 Although accessed via the control circuit 3, the main memory 4 is always directly accessed without going through the cache memory and updated with new data. In other words, it is the same as if the cache memory does not exist when writing.

■コピー・バック方式 書き込みはキャッシュメモリ2に対して行い、キャッシ
ュメモリに記憶するデータセットを変更する際にキャッ
シュメモリから追い出されるデータを主記憶装fl!4
にコピーすることによって書き込みを行う。この場合の
!制御は複雑でコストも高い。
■Copy-back method Writing is performed to the cache memory 2, and when changing the data set stored in the cache memory, the data evicted from the cache memory is transferred to the main memory fl! 4
Write by copying to. In this case! Control is complex and costly.

[発明が解決しようとする問題点] マイクロプロセッサを用いたシステムでは、コストが重
要となるため、一般に実現の容易なライト・スル一方式
が多く用いられる。
[Problems to be Solved by the Invention] In systems using microprocessors, cost is important, so a write-through system that is generally easy to implement is often used.

しかしながら、従来のライト・スル一方式では書き込み
において総べて主記憶装置4のアクセスを必要とするた
め、 ■書き込み操作の比率が高くなった場合、キャッシュメ
モリ使用の効果が減少する。
However, in the conventional write-through method, all writes require access to the main memory 4, so that (1) when the ratio of write operations increases, the effectiveness of cache memory use decreases.

■1バイトの書き込みでも1つのバス・サイクルを必要
とするため、16ビツトまたは32ビツトのシステムバ
スでは、システムバスの利用効率が悪くなり、全体とし
ての処理性能が低下する。
(1) Since writing one byte requires one bus cycle, with a 16-bit or 32-bit system bus, the system bus is used inefficiently and the overall processing performance decreases.

という欠点がある。There is a drawback.

本発明の目的は、このような欠点を削除するもので、ラ
イト・スル一方式とさほど変わらないハードウェア量で
、より高いシステム処理性能な実現することのできるキ
ャッシュメモリ制御システムを提供することにある。
The purpose of the present invention is to eliminate such drawbacks, and to provide a cache memory control system that can achieve higher system processing performance with the same amount of hardware as the write-through type. be.

[問題点を解決するための手段] このような目的を達成するために1本発明は。[Means for solving problems] One aspect of the present invention is to achieve such objects.

プロセッサと主記憶装置との間にキャッシュメモリおよ
びそのキャッシュメモリを制御するためのキャッシュメ
モリ制御回路を設けたシステムにおいて、 最新の書き込み操作のデータを保持するデータレジスタ
と。
In a system in which a cache memory and a cache memory control circuit for controlling the cache memory are provided between a processor and a main storage device, a data register that holds data of the latest write operation.

前記プロセッサから出力される最新の書き込み操作にお
けるアドレスを保持するアドレスレジスタと、 このアドレスレジスタの内容と前記プロセッサから与え
られる現在の書き込みのアドレスとを比較するコンパレ
ータと、 前記主記憶装置と前記キャッシュメモリ制御回路との接
続を制御するバッファと、 前記データレジスタと前記アドレスレジスタへの書き込
み、および前記主記憶装置の書換えをそれぞれ制御する
ために必要な制御信号、並びに前記主記憶装置へのアク
セスサイクルの終了を前記キャッシュメモリ制御回路へ
通知する信号を発生する書き込み制御回路と を具備したことを特徴とする。
an address register that holds an address in the latest write operation output from the processor; a comparator that compares the contents of the address register with a current write address given by the processor; the main storage device and the cache memory. a buffer that controls connection with a control circuit; a control signal necessary to control writing to the data register and the address register, and rewriting of the main memory, and an access cycle to the main memory; The present invention is characterized by comprising a write control circuit that generates a signal to notify the cache memory control circuit of completion.

[作用] 本発明では、ライト・スル一方式のキャッシュメモリに
アドレスレジスタとデータレジスタからなる書き込み用
バッファを付加し、その書き込み用バッファにはプロセ
ッサの最新の書き込み要求を保持させ、同一ないし近傍
のアドレスに対する書き込み要求を書き込み用バッファ
内のデータを書き換えることで処理する。そして適当な
時点において書き込み用バッファ内容に基づき主記憶装
置を書き換えることで、主記憶装置に書き込み操作を反
映させる。
[Operation] In the present invention, a write buffer consisting of an address register and a data register is added to a write-through type cache memory, and the write buffer holds the latest write request of the processor, and the latest write request of the processor is stored. A write request to an address is processed by rewriting the data in the write buffer. Then, by rewriting the main memory based on the contents of the write buffer at an appropriate time, the write operation is reflected in the main memory.

[実施例] 以下図面を参照して本発明の実施例を詳細に説明する。[Example] Embodiments of the present invention will be described in detail below with reference to the drawings.

第1図は本発明に係るキャッシュメモリ制御システムの
一実施例を示す要部構成図である。
FIG. 1 is a block diagram of main parts showing an embodiment of a cache memory control system according to the present invention.

図において、破線内部分が本発明の特徴とする部分であ
る。キャッシュメモリ2およびキャッシュメモリ制御回
路3は、公知のライト・スル一方式のキャッシュメモリ
装置を構成する。
In the figure, the portion within the broken line is a feature of the present invention. The cache memory 2 and the cache memory control circuit 3 constitute a known write-through type cache memory device.

11は3ステート出力のデータレジスタで、最新の書き
込み操作のデータを保持する。12はアドレスレジスタ
で、プロセッサ1から出力される最新の書き込み操作に
おけるアドレスを保持する。
Reference numeral 11 is a 3-state output data register that holds data of the latest write operation. 12 is an address register that holds the address in the latest write operation output from the processor 1;

13はコンパレータで、アドレスレジスタ12の内容と
現在の書き込みのアドレス(プロセッサから与えられる
)とを比較し、データレジスタ11に記憶された範囲で
あれば出力信号Hitを真(HIGH)とする。
A comparator 13 compares the contents of the address register 12 with the current write address (given by the processor), and sets the output signal Hit to true (HIGH) if the address is within the range stored in the data register 11.

14は3ステート出力のバッファで、システムバス4と
キャッシュメモリ制御回路3との接続を書き込み制御回
路15の指示に基づき制御する。
Reference numeral 14 denotes a 3-state output buffer, which controls the connection between the system bus 4 and the cache memory control circuit 3 based on instructions from the write control circuit 15.

15は書き込み制御回路で、データレジスタ11とアド
レスレジスタ12への書き込み、および主記憶装置5の
書換えをそれぞれ制御するために必要な制御信号を発生
する。また主記憶装置へのアクセスサイクルが終了する
と、W a c k信号によりその旨キャッシュメモリ
制御回路3へ通知する。
Reference numeral 15 denotes a write control circuit that generates control signals necessary to control writing to the data register 11 and address register 12, and rewriting of the main storage device 5, respectively. Furthermore, when the access cycle to the main memory device is completed, the cache memory control circuit 3 is notified of this by using the W ack signal.

16は3ステート出力のバッファである。アドレスレジ
スタ12の出力はこのバッファ16を介してシステムバ
ス13へ出力される。
16 is a 3-state output buffer. The output of the address register 12 is output to the system bus 13 via this buffer 16.

キャッシュメモリ制御回路3より書き込み制御回路15
に与える信号Extは、キャッシュメモリ2に必要なデ
ータがなく、主記憶装置5にアクセスする必要のある場
合に真となる信号である。
Write control circuit 15 from cache memory control circuit 3
The signal Ext given to is a signal that becomes true when there is no necessary data in the cache memory 2 and it is necessary to access the main storage device 5.

また、書き込み制御回路15からデータレジスタ11に
与えられる信号DSはデータレジスタ11への書き込み
を指示する信号であり、また書き込み制御回路15から
アドレスレジスタ12に与えられる信号ASはアドレス
レジスタ12への書き込みを指示する信号である。
Further, the signal DS given from the write control circuit 15 to the data register 11 is a signal for instructing writing to the data register 11, and the signal AS given from the write control circuit 15 to the address register 12 is a signal for instructing writing to the address register 12. This is a signal that indicates.

書き込み制御回路15からバッファ14に与えられる信
号Cenbはバッファ14の出力を有効とすることを指
示する信号であり、書き込み制御回路15からデータレ
ジスタ11およびバッファ16に与えられる信号W e
 n dは、データレジスタ11およびバッファ16の
出力を有効とすることを表す信号である。
The signal Cenb applied from the write control circuit 15 to the buffer 14 is a signal instructing to enable the output of the buffer 14, and the signal Cenb applied from the write control circuit 15 to the data register 11 and the buffer 16
nd is a signal indicating that the outputs of the data register 11 and buffer 16 are valid.

これらの信号、すなわちDS、AS+ Cenb。These signals, namely DS, AS+Cenb.

W e n bは、書き込み制御回路15から出力され
る。
Wenb is output from the write control circuit 15.

このような構成における動作を第2図ないし第5図のタ
イムチャートを参照して次に説明する。
The operation in such a configuration will be explained next with reference to the time charts of FIGS. 2 to 5.

■書き込みモードの場合 この場合プロセッサ1からのR/W信号はLOWになる
。キャッシュメモリ制御回路3はまずキャッシュメモリ
2内に書換えられたデータが存在するかどうかを判定す
る。もし存在しなければ、第2図に示すように信号Ex
tをHIGHにする。
(2) In the case of write mode In this case, the R/W signal from the processor 1 becomes LOW. Cache memory control circuit 3 first determines whether rewritten data exists in cache memory 2. If it does not exist, the signal Ex
Set t to HIGH.

これにより書き込み制御回路15はCenb信号をHI
GHにしバッファ14を有効として、システムバス4経
由での主記憶装置5への書き込みを可能にする。プロセ
ッサが出力するデータは、プロセッサにより指定される
主記憶装置のアドレスに書き込まれる。
This causes the write control circuit 15 to set the Cenb signal to HI.
GH, the buffer 14 is enabled, and writing to the main storage device 5 via the system bus 4 is enabled. Data output by the processor is written to an address in main memory specified by the processor.

キャッシュメモリ2内にデータが残っている場合(Ex
t信号はLOWになる)には、アドレスレジスタ12の
内容と現在のアクセスのアドレスがコンパレータ13で
比較され、一致すれば(コンパレータ13の出力Hit
がHIGHになる)書き込み制御回路15はDS信号を
HIGHにしてキャッシュメモリ2のデータをデータレ
ジスタ11に取り込む。この場合主記憶装置5へはアク
セスしない。データレジスタ11およびアドレスレジス
タ12が未使用の場合も同様である。
If data remains in cache memory 2 (Ex
t signal goes LOW), the contents of the address register 12 and the address of the current access are compared by the comparator 13, and if they match (the output of the comparator 13 is
(becomes HIGH) The write control circuit 15 sets the DS signal to HIGH and takes in the data in the cache memory 2 into the data register 11. In this case, the main storage device 5 is not accessed. The same applies when the data register 11 and address register 12 are unused.

比較の結果、一致しない場合には、第4図に示すように
、まずW e n b信号をHIGH,DSおよびAS
信号をLOWとしてデータレジスタ11およびアドレス
レジスタ12の内容に基づいて主記憶装置5を書き換え
る。その後W e n b信号をLOW、DSおよびA
S信号をHI’G Hにして、現在の書き込みアクセス
の内容をデータレジスタ11およびアドレスレジスタ1
2に記憶する。
As a result of the comparison, if they do not match, as shown in FIG.
The main memory 5 is rewritten based on the contents of the data register 11 and address register 12 by setting the signal to LOW. After that, the W e n b signal is LOW, DS and A
Set the S signal to HI'G H and write the contents of the current write access to data register 11 and address register 1.
Store in 2.

■読み出しモードの場合 キャッシュメモリ2内に読み出すデータがある場合は従
来と同様の動作でプロセッサ1に取り込む。以下に読み
出すデータがない場合について説明する。この場合プロ
セッサからのR/W信号は第5図に示すようにHIGH
となり、またキャッシュメモリ制御回路3のExt信号
はHIGHとなる。書き込み制御回路15はこれにより
Cenb信号をHI G H、W e n b信号なり
、OWとする。
(2) In the case of read mode If there is data to be read in the cache memory 2, it is fetched into the processor 1 in the same manner as before. The case where there is no data to read will be explained below. In this case, the R/W signal from the processor is HIGH as shown in Figure 5.
Then, the Ext signal of the cache memory control circuit 3 becomes HIGH. The write control circuit 15 thereby makes the Cenb signal HIGH, the Wenb signal, and OW.

これによりバッファ14を介して主記憶装置5から所望
のデータが読み出されキャッシュメモリ2ないしプロセ
ッサ1に送られる。その後書き込み制御回路15はCe
nb信号をLOW、We’n b信号をHIGHにし、
データレジスタ11およびアドレスレジスタ12の内容
に基づき主記憶装置5を書き換える。
As a result, desired data is read from the main memory device 5 via the buffer 14 and sent to the cache memory 2 or the processor 1. After that, the write control circuit 15
Set the nb signal to LOW, set the We'n b signal to HIGH,
Main memory 5 is rewritten based on the contents of data register 11 and address register 12.

なお、上記実施例ではデータレジスタの容量が一語の場
合を例にとって示しであるが、これに限定されるもので
はなく、データレジスタの語数を増加することも可能で
ある。すなわち、書き込みバッファの容量を増やすこと
により、最新の書き込みアドレスの前後についてもキャ
ッシュメモリを働かせることができる。例えば第6図−
に示すようにデータレジスタ11を4語分に増加すれば
In the above embodiment, the capacity of the data register is one word, but the present invention is not limited to this, and it is also possible to increase the number of words in the data register. That is, by increasing the capacity of the write buffer, the cache memory can be used before and after the latest write address. For example, Figure 6-
If the data register 11 is increased to four words as shown in FIG.

最新の書き込みを含む4111の範囲内への書き込みを
キャッシュメモリ内で処理することができる・各データ
レジスタlla、llb、lie、11dにおける各語
に付加されたフラグビットは、各語への書き込みが行わ
れたかどうかを示すために用いられる。書き込み制御回
路3は、フづグビットを参照して主記憶装置の書換えを
行うかどうか判定する。
Writes within the range of 4111, including the most recent write, can be processed in the cache memory.Flag bits added to each word in each data register lla, llb, lie, 11d indicate that a write to each word is Used to indicate whether or not it has been carried out. The write control circuit 3 determines whether or not to rewrite the main memory by referring to the FZG bit.

このようにデータレジスタの語数を拡張することにより
、書き込み操作をキャッシュメモリ内で処理することが
できる確率を高めることができる。
By expanding the number of words in the data register in this manner, the probability that a write operation can be processed within the cache memory can be increased.

[発明の効果] 以上詳細に説明したように、本発明によれば次のような
効果がある。
[Effects of the Invention] As described above in detail, the present invention has the following effects.

書き込みバッファを設けたため、同一アドレスに繰り返
し書き込みが行われる場合に主記憶装置へのアクセスが
少なくて済む0例えば、モトローラ社製のプロセッサ6
8020を使用した場合、総アクセスに対する書き込み
アクセスの割合は20%程度である。いまキャッシュメ
モリ内に必要なデータがある確率fc90%とすると、
ライトスル一方式のキャッシュメモリでは総アクセスの
72%がキャッシュメモリで処理されることになり。
Because a write buffer is provided, fewer accesses to the main memory are required when writing is repeatedly performed to the same address.For example, Motorola's processor 6
When using the 8020, the ratio of write accesses to total accesses is about 20%. Assuming that the probability that the necessary data is present in the cache memory is fc90%,
In a write-through type cache memory, 72% of the total accesses are processed by the cache memory.

より高いシステム処理性能が実現される。Higher system processing performance is achieved.

また本発明では書き込みアクセスについてもキャッシュ
メモリの効果を期待することができる。
Furthermore, in the present invention, the effect of the cache memory can also be expected for write access.

同一ないし近傍のアドレスに続けて書き込みの行おれる
確率、すなわちバッファ内で処理される確率を30%と
すると、総アクセスの6%が書き込みバッファ内で処理
される。同時に、主記憶装置へのアクセスは、総アクセ
スの28%から22%に減少する。したがって、本発明
によれば、プロセッサの処理能力を数%向上させると共
にプロセッサのシステムバスの使用量を約81111に
減らし、全体としての性能を改善することができる。
Assuming that the probability of successive writes to the same or neighboring addresses, that is, the probability of being processed within the buffer, is 30%, 6% of the total accesses will be processed within the write buffer. At the same time, accesses to main memory decrease from 28% to 22% of total accesses. Therefore, according to the present invention, it is possible to improve the processing power of the processor by several percent, reduce the usage of the system bus of the processor to about 81111, and improve the overall performance.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明に係るキャッシュメモリ制御システムの
一実施例を示す要部構成図、!2図ないし第5図は動作
説明用のタイムチャート、第6図は本発明の他の実施例
を示すデータレジスタ部分の構成図、第7図は従来のキ
ャッシュメモリ使用のシステム構成図である。 101.プロセッサ、2・・・キャッシュメモリ、3・
・・キャッシュメモリ制御回路、4・・・システムバス
、5・・・主記憶装置、11・・・データレジスタ、1
2・・・アドレスレジスタ、13・・・コンパレータ、
14゜16・・・バッファ、15・・・書き込み制御回
路。 第3図 テ2タ  □ 第4図 xt テ′り 第5図 Wl〒11                    
                  生鷹と憶毫Lf
へ1し込J十弔6図 γドレ^ 第7図
FIG. 1 is a main part configuration diagram showing an embodiment of a cache memory control system according to the present invention. 2 to 5 are time charts for explaining the operation, FIG. 6 is a block diagram of a data register portion showing another embodiment of the present invention, and FIG. 7 is a block diagram of a conventional system using a cache memory. 101. Processor, 2... Cache memory, 3.
...Cache memory control circuit, 4...System bus, 5...Main storage device, 11...Data register, 1
2...Address register, 13...Comparator,
14°16... Buffer, 15... Write control circuit. Fig. 3 Te 2 □ Fig. 4 xt Te'ri Fig. 5 Wl〒11
Ikutaka and Memory Lf
1 push J 10 funeral 6 figure γ dore ^ Figure 7

Claims (1)

【特許請求の範囲】 プロセッサと主記憶装置との間にキャッシュメモリおよ
びそのキャッシュメモリを制御するためのキャッシュメ
モリ制御回路を設けたシステムにおいて、 最新の書き込み操作のデータを保持するデータレジスタ
と、 前記プロセッサから出力される最新の書き込み操作にお
けるアドレスを保持するアドレスレジスタと、 このアドレスレジスタの内容と前記プロセッサから与え
られる現在の書き込みのアドレスとを比較するコンパレ
ータと、 前記主記憶装置と前記キャッシュメモリ制御回路との接
続を制御するバッファと、 前記データレジスタと前記アドレスレジスタへの書き込
み、および前記主記憶装置の書換えをそれぞれ制御する
ために必要な制御信号、並びに前記主記憶装置へのアク
セスサイクルの終了を前記キャッシュメモリ制御回路へ
通知する信号を発生する書き込み制御回路と を具備し、 [1]書き込み操作においては、 前記キャッシュメモリに書き換えられるデータがない場
合は主記憶装置に書き込みを行い、逆にキャッシュメモ
リに書き換えられるデータがある場合は、前記コンパレ
ータでの比較結果が一致のときは前記データレジスタを
書換え、一致でない場合はまずデータレジスタとアドレ
スレジスタの内容に基づき主記憶装置を書換え、その後
現在の書き込みアクセスの内容をデータレジスタとアド
レスレジスタに記憶し、 [2]読み出し操作においては、 前記キャッシュメモリにないデータの読み出しの場合は
、前記主記憶装置から所望のデータを読み出し前記キャ
ッシュメモリないし前記プロセッサに送った後、前記デ
ータレジスタおよびアドレスレジスタの内容に基づき主
記憶装置を書換えるようにしたことを特徴とするキャッ
シュメモリ制御システム。
[Scope of Claim] A system provided with a cache memory and a cache memory control circuit for controlling the cache memory between a processor and a main storage device, comprising: a data register that holds data of the latest write operation; an address register that holds an address in the latest write operation output from the processor; a comparator that compares the contents of this address register with the address of the current write given by the processor; and the main storage device and the cache memory control. a buffer that controls connection with a circuit; a control signal necessary to control writing to the data register and the address register, and rewriting of the main memory, and completion of an access cycle to the main memory; [1] In a write operation, if there is no data to be rewritten in the cache memory, the data is written to the main storage device, and vice versa. If there is data to be rewritten in the cache memory, if the comparison result in the comparator matches, the data register is rewritten; if not, the main memory is first rewritten based on the contents of the data register and address register, and then the current [2] In the read operation, in the case of reading data that is not in the cache memory, the desired data is read from the main storage device and stored in the cache memory or the address register. A cache memory control system characterized in that a main storage device is rewritten based on the contents of the data register and address register after the data is sent to a processor.
JP62005475A 1987-01-13 1987-01-13 Cache memory control system Pending JPS63173146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62005475A JPS63173146A (en) 1987-01-13 1987-01-13 Cache memory control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62005475A JPS63173146A (en) 1987-01-13 1987-01-13 Cache memory control system

Publications (1)

Publication Number Publication Date
JPS63173146A true JPS63173146A (en) 1988-07-16

Family

ID=11612269

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62005475A Pending JPS63173146A (en) 1987-01-13 1987-01-13 Cache memory control system

Country Status (1)

Country Link
JP (1) JPS63173146A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03252744A (en) * 1990-03-01 1991-11-12 Nec Corp String data write control circuit

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5136042A (en) * 1974-09-24 1976-03-26 Hitachi Ltd
JPS5442941A (en) * 1977-08-13 1979-04-05 Fujitsu Ltd Store buffer control system
JPS5593580A (en) * 1978-12-29 1980-07-16 Fujitsu Ltd Buffer memory control system
JPS5942686A (en) * 1982-08-31 1984-03-09 Nec Corp Information processing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5136042A (en) * 1974-09-24 1976-03-26 Hitachi Ltd
JPS5442941A (en) * 1977-08-13 1979-04-05 Fujitsu Ltd Store buffer control system
JPS5593580A (en) * 1978-12-29 1980-07-16 Fujitsu Ltd Buffer memory control system
JPS5942686A (en) * 1982-08-31 1984-03-09 Nec Corp Information processing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03252744A (en) * 1990-03-01 1991-11-12 Nec Corp String data write control circuit

Similar Documents

Publication Publication Date Title
JP3289661B2 (en) Cache memory system
US6199144B1 (en) Method and apparatus for transferring data in a computer system
JP3637054B2 (en) Apparatus and method for maintaining cache / main memory consistency
EP0301354A2 (en) Cache consistency protocol for multiprocessor system
JPS58102381A (en) Buffer memory
JP2007048296A (en) Method, apparatus and system for invalidating multiple address cache entries
US6321302B1 (en) Stream read buffer for efficient interface with block oriented devices
US6415365B1 (en) Write buffer for use in a data processing apparatus
JPH0797352B2 (en) Computer system and I / O controller
JPH04336641A (en) Data cache and method for use in processing system
US5749092A (en) Method and apparatus for using a direct memory access unit and a data cache unit in a microprocessor
US5895486A (en) Method and system for selectively invalidating cache lines during multiple word store operations for memory coherence
JPS63173146A (en) Cache memory control system
JP3081635B2 (en) Cache memory invalidation processing apparatus and invalidation control method
JPH02110646A (en) Pre-readout device for memory
JPH0448358A (en) Cache memory control system
JPH03172943A (en) Cache memory control system
JPH04195563A (en) Controller for memory system
JPH0553912A (en) Control method for cache memory
JPH07152650A (en) Cache control unit
JPH01255933A (en) Sweeping-out control system
JP4856373B2 (en) Memory system, control method thereof, and method of maintaining data coherency
JP2001229074A (en) Memory controller and information processor and memory control chip
JPS5815877B2 (en) Buffer memory control method
JPS63311548A (en) Cache memory controlling system