JPH03225541A - Cache memory device - Google Patents

Cache memory device

Info

Publication number
JPH03225541A
JPH03225541A JP2019155A JP1915590A JPH03225541A JP H03225541 A JPH03225541 A JP H03225541A JP 2019155 A JP2019155 A JP 2019155A JP 1915590 A JP1915590 A JP 1915590A JP H03225541 A JPH03225541 A JP H03225541A
Authority
JP
Japan
Prior art keywords
data
cache memory
access
address
read
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
JP2019155A
Other languages
Japanese (ja)
Inventor
Yasutaka Takeda
武田 保孝
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.)
National Institute of Advanced Industrial Science and Technology AIST
Original Assignee
Agency of Industrial Science and Technology
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 Agency of Industrial Science and Technology filed Critical Agency of Industrial Science and Technology
Priority to JP2019155A priority Critical patent/JPH03225541A/en
Publication of JPH03225541A publication Critical patent/JPH03225541A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To speed up data access by reading other data in a cache memory when the comparison contents of a comparison part show a coincidence and data as an object of access is already read in the cache memory. CONSTITUTION:If a request to access next data is made by a central processing unit 13 during data transfer from a main storage device 7, a cache memory device 15 compares the address of a direct memory 3 with the access address and also compares the value of a mishit address register 20 with the access address. When the value of the register 20 matches the access address, it is found that the data to be accessed are being transferred from the device 7, so further flags are checked; when the data to be accessed are all read in the cache memory 4 from the device 7, other data are read in the memory 4 from the device 7 and the data to be accessed is read out of the memory 4.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は中央処理装置が高速に主記憶装置内のデータ
をアクセスするために設けられるキャッシュメモリ装置
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a cache memory device provided for a central processing unit to access data in a main storage device at high speed.

〔従来の技術〕[Conventional technology]

第2図は例えばRe5ton Pubfishing 
Company+Inc、 (1983年バージニア)
発行rHIGH5PEED MEMORY SYSTE
MJの18.19ページに示すような、主記憶装置のデ
ータの一部をバッファリングし、中央処理装置からのデ
ータ・アクセス要求に従ってデータの読み出し・書き込
みを行うキャッシュメモリ装置を含むブロック図である
。第2図において、13はデータを処理するための演算
・制御を行う中央処理装置、7はデータ処理に必要なデ
ータを格納する主記憶装置、14は中央処理装置が高速
に主記憶装置7内のデータをアクセスするために設けら
れたキャッシュメモリ装置である。
Figure 2 shows, for example, Re5ton Pubfishing.
Company+Inc, (Virginia, 1983)
Published by HIGH5PEED MEMORY SYSTE
This is a block diagram including a cache memory device that buffers part of the data in the main memory and reads and writes data according to data access requests from the central processing unit, as shown on page 18.19 of MJ. . In FIG. 2, 13 is a central processing unit that performs calculations and controls for processing data, 7 is a main memory that stores data necessary for data processing, and 14 is a central processing unit that stores data necessary for data processing at high speed. This is a cache memory device provided for accessing data in a computer.

キャッシュメモリ装置14は、#御部2、ディレクトリ
メモリ3、キャッシュメモリ4、データスイッチ9、お
よびアドレススイッチIOを備えている。キャッシュメ
モリ装置14の上記各構成要素の詳細は下記の動作説明
において述べる。中央処理装置13とキャッシュメモリ
装置14とはアドレス線1とデータ線5とにより接続さ
れている。
The cache memory device 14 includes a # controller 2, a directory memory 3, a cache memory 4, a data switch 9, and an address switch IO. Details of each of the above components of the cache memory device 14 will be described in the operation description below. The central processing unit 13 and the cache memory device 14 are connected by an address line 1 and a data line 5.

キャッシュメモリ装置14と主記憶装置7とは主記憶ア
ドレス線6と主記憶データ線8とにより接続されている
The cache memory device 14 and the main memory device 7 are connected by a main memory address line 6 and a main memory data line 8.

また、図示していないがキャッシュメモリ装置14内の
制御部2と中央処理装置13との間には中央処理装置1
3からのアクセス要求を制御部2へ伝えるためのアクセ
ス要求線等の通信を行うための数本の制御線が設けられ
ている。
Further, although not shown, there is a central processing unit 1 between the control unit 2 in the cache memory device 14 and the central processing unit 13.
Several control lines for communication such as an access request line for transmitting an access request from 3 to the control unit 2 are provided.

次にこの従来例の動作について説明する。Next, the operation of this conventional example will be explained.

中央処理装置13からアドレス線1で示されたアドレス
に対して、読み出しまたは書き込みのアクセス要求があ
った時に、キャッシュメモリ装置14の制御部2はアク
セスアドレスを用いてディレクトリメモリ3の内容を参
照し、そのアクセスアドレスに対応するアクセスデータ
がキャッシュメモリ4に格納されているかを調べる。ア
クセスデータがキャッシュメモリ4に格納されている場
合(ヒツトという)は、制御部2はデータスイッチ9を
制御し、中央処理装置13からのアクセス要求の内容に
従って、読み出し要求の場合はキャッシュメモリ4内の
アクセスデータの値をデータ線5に出力し中央処理装置
13に取り込む。書き込み要求の場合はデータ線5に中
央処理装置13から出力されているデータをキャッシュ
メモリ4に書き込む。
When there is a read or write access request from the central processing unit 13 to the address indicated by the address line 1, the control unit 2 of the cache memory device 14 refers to the contents of the directory memory 3 using the access address. , it is checked whether the access data corresponding to the access address is stored in the cache memory 4. When the access data is stored in the cache memory 4 (referred to as a hit), the control unit 2 controls the data switch 9, and in the case of a read request, the data is stored in the cache memory 4 according to the content of the access request from the central processing unit 13. The value of the access data is outputted to the data line 5 and taken into the central processing unit 13. In the case of a write request, the data output from the central processing unit 13 to the data line 5 is written into the cache memory 4.

アクセスデータがキャッシュメモリ4に格納されていな
い場合(ミスヒントという)は、制御部2はデータスイ
ッチ9及びアドレススイッチ10を制御し、アクセスア
ドレスを主記憶アドレス線6に出力しアクセスアドレス
に対応する主記憶装置7内のアドレスデータを主記憶装
置7がら主記憶データ線8を介してキャッシュメモリ4
に書き込み、その際中央処理装置13からのアクセス要
求が読み出し要求である場合主記憶装置7からキャッシ
ュメモリ4へのデータがデータ線5に出力され、中央処
理装置13はこれを取り込む。また書き込み要求である
場合は主記憶装置7からのブタの代わりに中央処理装置
13からデータ線5に出力されているアクセスデータが
キャッシュメモリ4に書き込まれる。主記憶装置7から
キャッシュメモリ4へのデータ転送の際にキャッシュメ
モリ4内のデータを主記憶装置7内のデータとの対応関
係を示すディレクトリメモリ3の内容を更新する。
If the access data is not stored in the cache memory 4 (referred to as a miss hint), the control unit 2 controls the data switch 9 and the address switch 10, outputs the access address to the main memory address line 6, and outputs the access address to the main memory address line 6. The address data in the storage device 7 is transferred from the main storage device 7 to the cache memory 4 via the main storage data line 8.
If the access request from the central processing unit 13 is a read request, the data from the main storage device 7 to the cache memory 4 is output to the data line 5, and the central processing unit 13 takes in the data. Further, in the case of a write request, the access data output from the central processing unit 13 to the data line 5 is written to the cache memory 4 instead of the data from the main memory 7 . When data is transferred from the main storage device 7 to the cache memory 4, the contents of the directory memory 3 indicating the correspondence between the data in the cache memory 4 and the data in the main storage device 7 are updated.

主記憶装置7はキャッシュメモリ4に比べ処理速度が遅
く、キャッシュメモリ装置14においては、アクセスす
るデータがキャッシュメモリ4内にあるか否かによって
主記憶装置7をアクセスするか否かが異なるため、アク
セスに要する時間が場合によって異なるが、中央処理装
置13はキャッシュメモリ4からのbusy信号又はr
eady信号等キャッシュメモリ装置14の状態を示す
通信線によってデータ線5上の読み出しデータの有効性
やアクセス動作の終了を知ることができる。
The main storage device 7 has a slower processing speed than the cache memory 4, and in the cache memory device 14, whether or not the main storage device 7 is accessed depends on whether or not the data to be accessed is in the cache memory 4. Although the time required for access varies depending on the case, the central processing unit 13 receives the busy signal from the cache memory 4 or r
The validity of the read data on the data line 5 and the end of the access operation can be known through communication lines indicating the state of the cache memory device 14, such as the EADY signal.

−船釣にキャッシュメモリ4の内容は数データ毎にブロ
ック分けされており、中央処理装置13からのアクセス
データがキャッシュメモリ4内にない場合、アクセスさ
れたデータのみでなくそのデータが属するブロック共、
主記憶装置7がらキャッシュメモリ4に読み込まれる。
- When fishing on a boat, the contents of the cache memory 4 are divided into blocks for each number of data, and if the access data from the central processing unit 13 is not in the cache memory 4, not only the accessed data but also the block to which the data belongs ,
It is read into the cache memory 4 from the main storage device 7.

この様に構成することによって、キャッシュメモリ4内
に中央処理装置13からアクセスされたデータがない場
合、主記憶装置7からアクセスされたデータを含むブロ
ックがキャッシュメモリ4に転送され、通常中央処理装
置13によって処理されるデータは、主記憶装置7内で
ある程度局所的に存在するため、このようにキャッシュ
メモリ4をブロック分けすることによってキャッシュメ
モリ4のヒント率を高くすることができる。
With this configuration, when there is no data accessed from the central processing unit 13 in the cache memory 4, the block containing the data accessed from the main storage 7 is transferred to the cache memory 4, and normally the central processing unit Since the data processed by the cache memory 13 exists locally to some extent within the main storage device 7, by dividing the cache memory 4 into blocks in this way, the hint rate of the cache memory 4 can be increased.

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

上述したように従来のキャッシュメモリ装置では、キャ
ッシュメモリがミスヒントした際、主記憶装置からのデ
ータの転送をブロック単位で行うため、主記憶装置から
キャッシュメモリへのプロ/り転送を行っている間、中
央処理装置からの次のアクセス要求を受は付けられない
という問題点があった。
As mentioned above, in conventional cache memory devices, when a cache memory miss hint occurs, data is transferred from the main memory in block units, so while the data is being transferred from the main memory to the cache memory, However, there was a problem in that the next access request from the central processing unit could not be accepted.

この発明は上記のような問題点を解決するためになされ
たもので、主記憶装置からのデータ転送の最中でも次の
アクセス要求を受は付は実行することができるキャッシ
ュメモリ装置を得ることを目的とする。
This invention was made in order to solve the above-mentioned problems, and aims to provide a cache memory device that can receive and execute the next access request even during data transfer from the main storage device. purpose.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係るキャッシュメモリ装置は、キャッシュメ
モリ4に中央処理装置13がアクセスするアクセスデー
タが格納されていない場合にそのアクセスデータのアド
レスを格納するミスヒツトアドレスレジスタ20と、キ
ャッシュメモリ4に上記アクセスデータが格納されてい
ない場合に主記憶装置7からキャッシュメモリ4にデー
タを転送している間、次のデータアクセス要求のアクセ
スアドレスをミスヒントアドレスレジスタ20の値と比
較する比較部22と、この比較部22で比較された内容
が一致し、かつアクセス要求のあったデータがすでに主
記憶装置7からキャンシュメモリ4に読み込まれている
場合は、主記憶装置7からキャッシュメモリ4への他の
データの読み込みを行うと共に、アクセス要求のあった
データをキャッシュメモリ4から読み出すための制御を
行う制御部23とを備えたことを特徴とするものである
The cache memory device according to the present invention includes a miss address register 20 for storing the address of access data to be accessed by the central processing unit 13 when the cache memory 4 does not store the access data to be accessed by the central processing unit 13; A comparison unit 22 that compares the access address of the next data access request with the value of the miss hint address register 20 while transferring data from the main storage device 7 to the cache memory 4 when no data is stored; If the contents compared by the comparison unit 22 match and the data requested for access has already been read from the main storage device 7 to the cache memory 4, other data is transferred from the main storage device 7 to the cache memory 4. The cache memory 4 is characterized in that it includes a control unit 23 that performs control to read data from the cache memory 4 as well as to read data for which access has been requested from the cache memory 4.

〔作用〕[Effect]

ミスヒツトアドレスレジスタ20はキャッシュメモリ4
に中央処理装置13がアクセスするアクセスデータが格
納されていない場合にそのアクセスデータのアドレスを
格納する。比較部22は、キャッシュメモリ4に上記ア
クセスデータが格納されていない場合に主記憶装置7か
らキャッシュメモリ4にデータを転送している間、次の
データアクセス要求のアクセスアドレスを、ミスヒツト
アドレスレジスタ20の値と比較する。制御部23は、
比較部22で比較された内容が一致し、かつアクセス要
求のあったデータがすでに主記憶装置7からキャッシュ
メモリ4に読み込まれている場合は、主記憶装置7から
キャッシュメモリ4への他のデータの読み込みを行うと
共に、アクセス要求のあったデータをキャッシュメモリ
4から読み出すための制御を行う。したがって、主記憶
装置7からのデータ転送と同時にキャッシュメモリ4か
らデータが読み出される。
The miss address register 20 is stored in the cache memory 4.
If the access data to be accessed by the central processing unit 13 is not stored in , the address of the access data is stored. When the access data is not stored in the cache memory 4, the comparator 22 stores the access address of the next data access request in the miss address register while transferring the data from the main storage device 7 to the cache memory 4. Compare with the value of 20. The control unit 23 is
If the contents compared by the comparison unit 22 match and the data requested for access has already been read from the main storage device 7 to the cache memory 4, other data is read from the main storage device 7 to the cache memory 4. At the same time, it also performs control to read the data requested for access from the cache memory 4. Therefore, data is read from cache memory 4 simultaneously with data transfer from main storage device 7.

〔実施例〕〔Example〕

第1図はこの発明の一実施例に係るキャンシュメモリ装
置を含むブロック図である。第1図において、第2図に
示す構成要素に対応するものには同一の符号を付し、そ
の説明を省略する。第1図において、11はキャッシュ
メモリ4にデータを書き込む際の書き込みアドレスを格
納する書き込み用アドレスレジスタ、12はキャッシュ
メモリ4からデータを読み出す際の読み出しアドレスを
格納する読み出し用アドレスレジスタ、21は数データ
毎にブロック分けされたブロック内のデータに対応し個
々のデータが主記憶装置7から転送完了したか否かを示
すフラグ(フラグ群)、2゜ハキャッシュメモリ4に中
央処理装置13がアクセスするアクセスデータが格納さ
れていない場合にそのアクセスデータのアドレスを格納
するミスヒントアドレスレジスタ、22はキャッシュメ
モリ4に上記アクセスデータが格納されていない場合に
主記憶装置7からキャッシュメモリ4にブタを転送して
いる間、次のデータアクセス要求のアクセスアドレスを
、ミスヒツトアドレスレジスタ20の値と比較する比較
部、23は比較部22で比較された内容が一致し、かつ
アクセス要求のあったデータがすでに主記憶装置7から
キャッシュメモリ4に読み込まれている場合は、主記憶
装置7からキャッシュメモリ4への他のデータの読み込
みを行うと共に、アクセス要求のあったデータをキャッ
シュメモリ4から読み出すための制御を行う制御部であ
る。この実施例のキャッシュメモリ装置15は、ディレ
クトリメモリ3、キャッシュメモリ4、データスイッチ
9、書き込み用アドレスレジスタ11、読み出し用アド
レスレジスタ12、ミスヒントアドレスレジスタ20、
フラグ21、比較部22、および制御部23を備えてい
る。
FIG. 1 is a block diagram including a cache memory device according to an embodiment of the present invention. In FIG. 1, components corresponding to those shown in FIG. 2 are designated by the same reference numerals, and their explanations will be omitted. In FIG. 1, 11 is a write address register that stores a write address when writing data to the cache memory 4, 12 is a read address register that stores a read address when read data from the cache memory 4, and 21 is a number. The central processing unit 13 accesses the 2°cache memory 4, which is a flag (flag group) corresponding to the data in the block divided into blocks and indicating whether or not the transfer of individual data from the main storage device 7 has been completed. A miss hint address register 22 stores the address of the access data when the access data to be accessed is not stored in the cache memory 4; During the transfer, a comparison unit compares the access address of the next data access request with the value of the mishit address register 20. A comparison unit 23 compares the access address of the next data access request with the value of the mishit address register 20. has already been read from the main storage device 7 to the cache memory 4, read other data from the main storage device 7 to the cache memory 4, and read the data for which access was requested from the cache memory 4. This is a control section that performs control. The cache memory device 15 of this embodiment includes a directory memory 3, a cache memory 4, a data switch 9, a write address register 11, a read address register 12, a miss hint address register 20,
It includes a flag 21, a comparison section 22, and a control section 23.

次にこの実施例の動作について説明する。ミスヒツトア
ドレスレジスタ20は中央処理装置13からのアドレス
線1に接続されミスヒツトしたデータのアドレスを格納
する。ブロック内のデータに対応し、個々のデータが主
記憶装置7から転送完了したか否かを示すフラグ群21
は制御部23に接続され、制御部23はその値を制御す
る。ミスヒツトアドレスレジスタ20の値と中央処理袋
?1f13からのアクセスデータのアドレスとを比較す
る比較部22は、例えば制御部23の一部として実現さ
れる。また、この実施例ではキャッシュメモリ4にアク
セスするためのアドレスが書き込み用アドレスレジスタ
11と読み出し用アドレスレジスタ12との二つに分か
れて格納されており異なったアドレスに対して同時に書
き込みと読み出しを行うことが出来る。
Next, the operation of this embodiment will be explained. A mishit address register 20 is connected to the address line 1 from the central processing unit 13 and stores the address of mishit data. A flag group 21 corresponding to data in a block and indicating whether or not individual data has been transferred from the main storage device 7
is connected to the control section 23, and the control section 23 controls its value. Mishit address register 20 value and central processing bag? The comparison unit 22 that compares the address of the access data from 1f13 is realized as a part of the control unit 23, for example. In addition, in this embodiment, addresses for accessing the cache memory 4 are stored in two parts, a write address register 11 and a read address register 12, and writing and reading are performed simultaneously to different addresses. I can do it.

このような構成によるキャッシュメモリ4は、ミスヒン
トすると主記憶装置7からのデータ読み込みを開始する
と同時にミスヒントアドレスレジスタ20にミスヒント
したデータのアドレスを書き込む。また主記憶装置7か
らキャッシュメモリ4へのブロックの読み込みが1デー
タづつ実行されていくと同時に、制御部23はブロック
内のデータに対応するフラグ21をデータの読み込み完
了を示すためにONにする。この主記憶装置7からのデ
ータ転送の最中に中央処理装置13からの次のアクセス
要求があった場合、本構成によるキャッシュメモリ装置
15は通常のキャッシュメモリ装置と同様ディレクトリ
メモリ3のアドレスとアクセスアドレスとを比較すると
同時にミスヒントアドレスレジスタ20の値とアクセス
アドレスとを比較する。ミスヒントアドレスレジスタ2
0の値とアクセスアドレスの値とが異なる場合は通常の
キャッシュメモリ装置と同様に動作するが、ミスヒツト
アドレスレジスタ20の値とアクセスアドレスの値とが
一致する場合は、アクセス要求のあったデータは主記憶
装置7から転送の最中であることが分かるのでさらにフ
ラグを調べ、アクセス要求のあったデータがすでに主記
憶装置7からキャッシュメモリ4に読み込まれている場
合は、主記憶装置7からキャッシュメモリ4への他のデ
ータの読み込みを行うと共に、アクセス要求のあったデ
ータをキャッシュメモリ4から読み出す。
The cache memory 4 having such a configuration starts reading data from the main storage device 7 when a mishint occurs, and at the same time writes the address of the mishinted data into the mishint address register 20. Further, at the same time as reading of blocks from the main storage device 7 to the cache memory 4 is executed one data at a time, the control unit 23 turns on the flag 21 corresponding to the data in the block to indicate completion of data reading. . If there is a next access request from the central processing unit 13 during data transfer from the main storage device 7, the cache memory device 15 with this configuration will access the address of the directory memory 3 in the same way as a normal cache memory device. At the same time, the value of the mishint address register 20 and the access address are compared. Miss hint address register 2
If the value of 0 and the value of the access address are different, it operates like a normal cache memory device, but if the value of the mishit address register 20 and the value of the access address match, the data requested to be accessed is Since it can be seen that the data is being transferred from the main storage device 7, the flag is further checked, and if the data requested for access has already been read from the main storage device 7 to the cache memory 4, the data is transferred from the main storage device 7. Other data is read into the cache memory 4, and data for which access has been requested is read from the cache memory 4.

これによってこのキャッシュメモリ装f15はミスヒン
トによって主記憶装置7からのブロック読み込みの最中
であっても、直後のアクセス要求が同一のブロックに属
するデータの場合は、主記憶装置7からのブロック読み
込みの完了を待つ必要がないため、従来のキャッシュメ
モリ装置よりも高速にアクセスを行うことができる。
As a result, even if the cache memory device f15 is in the middle of reading a block from the main storage device 7 due to a miss hint, if the immediately following access request is for data belonging to the same block, the cache memory device f15 will not be able to read the block from the main storage device 7. Since there is no need to wait for completion, access can be performed faster than in conventional cache memory devices.

このように、この実施例ではキャッシュメモリのミスヒ
ツトによって主記憶装置からキャッシュメモリに対して
ブロック転送を行う際に転送中のブロックのアドレスを
記憶し、次のアクセス要求のアドレスと比較し、また個
々のデータの転送終了フラグを参照することによって、
次の転送中のブロック内に要求されたデータがあるか否
か判定する。またキャッシュメモリのアドレスレジスタ
を読み出しと書き込みとに分けたため、主記憶装置から
キャッシュメモリに対するブロック転送の最中であって
もキャッシュメモリからの読み出しが行えるように構成
しである。従って、キャッシュメモリがミスヒツトし、
主記憶装置からのブロック転送を行っている最中であっ
ても次のアクセスデータのアドレスがミスヒツトしたデ
ータと同じブロックに属している場合、ブロック転送の
完了を待つ必要なく次のアクセスを実行できるため、従
来のキャッシュメモリ装置よりも高速にデータのアクセ
スが行える。
In this way, in this embodiment, when a block is transferred from the main memory to the cache memory due to a miss in the cache memory, the address of the block being transferred is stored, compared with the address of the next access request, and By referring to the data transfer end flag of
Determine whether the requested data is in the next block being transferred. Furthermore, since the address register of the cache memory is divided into read and write registers, the configuration is such that reading from the cache memory can be performed even during block transfer from the main storage device to the cache memory. Therefore, cache memory misses,
Even if a block is being transferred from the main memory, if the address of the next accessed data belongs to the same block as the missed data, the next access can be executed without waiting for the block transfer to complete. Therefore, data can be accessed faster than conventional cache memory devices.

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

以上のように本発明によれば、キャッシュメモリにアク
セスデータが格納されていない場合にそのアクセスデー
タのアドレスを格納するミスヒツトアドレスレジスタと
、キャッシュメモリにアクセスデータが格納されていな
い場合に主記憶装置からキャッシュメモリにデータを転
送している間、次のデータアクセス要求のアクセスアド
レスをミスヒントアドレスレジスタの値と比較する比較
部と、この比較部で比較された内容が一致し、かつアク
セス要求のあったデータがすでに主記憶装置からキャッ
シュメモリに読み込まれている場合は、主記憶装置から
キャッシュメモリへの他のデータの読み込みを行うと共
に、アクセス要求のあったデータをキャッシュメモリか
ら読み出すための制御を行う制御部とを備えて構成した
ので、キャッシュメモリがミスヒントし、主記憶装置か
らのブロック転送が行われている最中であっても次のア
クセスデータのアドレスがミスヒントしたデータと同じ
ブロックに属している場合、ブロック転送の完了を待つ
必要なく次のアクセスを実行でき、したがってデータア
クセスの高速化が更に図れるという効果が得られる。
As described above, according to the present invention, there is a miss address register that stores the address of access data when the access data is not stored in the cache memory, and a miss address register that stores the address of the access data when the access data is not stored in the cache memory, and a mishit address register that stores the address of the access data when the access data is not stored in the cache memory. While data is being transferred from the device to the cache memory, a comparison section compares the access address of the next data access request with the value of the mishint address register, and if the contents compared by this comparison section match and the access request If the data that was previously accessed has already been read from the main memory to the cache memory, read the other data from the main memory to the cache memory, and read the requested data from the cache memory. Since the configuration is equipped with a control unit that performs control, even if the cache memory misses a hint and a block transfer from the main memory is in progress, the address of the next accessed data will be the same block as the miss-hinted data. , the next access can be executed without having to wait for the block transfer to be completed, resulting in the effect of further speeding up data access.

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

第1図はこの発明の一実施例に係るキャッシュメモリ装
置を含むブロック図、第2図は従来のキャッシュメモリ
装置を含むブロック図である。 4・・・キャッシュメモリ、7・・・主記憶装置、13
・・・中央処理装置、工5・・・キャッシュメモリ装置
、22・・・比較部、23・・・制御部。
FIG. 1 is a block diagram including a cache memory device according to an embodiment of the present invention, and FIG. 2 is a block diagram including a conventional cache memory device. 4... Cache memory, 7... Main storage device, 13
. . . central processing unit, engineering 5 . . . cache memory device, 22 . . . comparison section, 23 . . . control section.

Claims (1)

【特許請求の範囲】[Claims] 中央処理装置と主記憶装置との間に接続され、かつ複数
個のデータがひと固まりのブロックとして記憶されるキ
ャッシュメモリを備えたキャッシュメモリ装置において
、上記キャッシュメモリに上記中央処理装置がアクセス
するアクセスデータが格納されていない場合にそのアク
セスデータのアドレスを格納するミスヒットアドレスレ
ジスタと、上記キャッシュメモリに上記アクセスデータ
が格納されていない場合に上記主記憶装置から上記キャ
ッシュメモリにデータを転送している間、次のデータア
クセス要求のアクセスアドレスを上記ミスヒットアドレ
スレジスタの値と比較する比較部と、この比較部で比較
された内容が一致し、かつアクセス要求のあったデータ
がすでに上記主記憶装置から上記キャッシュメモリに読
み込まれている場合は、上記主記憶装置から上記キャッ
シュメモリへの他のデータの読み込みを行うと共に、ア
クセス要求のあったデータを上記キャッシュメモリから
読み出すための制御を行う制御部とを備えたことを特徴
とするキャッシュメモリ装置。
In a cache memory device that is connected between a central processing unit and a main storage device and includes a cache memory in which a plurality of pieces of data are stored as a block, the central processing unit accesses the cache memory. a miss address register that stores the address of the accessed data when the data is not stored; and a miss-hit address register that stores the address of the accessed data when the data is not stored; While the access address of the next data access request is compared with the value of the mishit address register mentioned above, the contents compared by this comparison section match, and the data requested to be accessed has already been stored in the main memory. If the device has read data into the cache memory, read other data from the main storage device into the cache memory, and control to read the requested data from the cache memory. A cache memory device comprising:
JP2019155A 1990-01-31 1990-01-31 Cache memory device Pending JPH03225541A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019155A JPH03225541A (en) 1990-01-31 1990-01-31 Cache memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019155A JPH03225541A (en) 1990-01-31 1990-01-31 Cache memory device

Publications (1)

Publication Number Publication Date
JPH03225541A true JPH03225541A (en) 1991-10-04

Family

ID=11991528

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019155A Pending JPH03225541A (en) 1990-01-31 1990-01-31 Cache memory device

Country Status (1)

Country Link
JP (1) JPH03225541A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61228540A (en) * 1985-04-01 1986-10-11 Nec Corp Cache memory control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61228540A (en) * 1985-04-01 1986-10-11 Nec Corp Cache memory control system

Similar Documents

Publication Publication Date Title
EP0405882B1 (en) Move 16 block move and coprocessor interface instruction
EP0179811B1 (en) Interleaved set-associative memory
JP3289661B2 (en) Cache memory system
EP0408058A2 (en) Microprocessor
JPH04233050A (en) Cache-memory exchanging protcol
US5161219A (en) Computer system with input/output cache
JPH01269142A (en) Buffer memory control system
US4658356A (en) Control system for updating a change bit
JPH03225541A (en) Cache memory device
JPH06243037A (en) Data look-ahead device
KR960005394B1 (en) Dual process board sharing cache memory
JP3564343B2 (en) Data transfer device and method during cache bypass
JP2703255B2 (en) Cache memory writing device
JP3782178B2 (en) Information processing device
KR970004520B1 (en) High speed memory control method and apparatus
JPS6131495B2 (en)
JPH0461384B2 (en)
JPH07152650A (en) Cache control unit
JPH01276349A (en) Disk cache system
JPH057740B2 (en)
JPH0255814B2 (en)
JPH02259945A (en) Storing processing system
JPH0652056A (en) Cache memory system
JPH06202949A (en) Multiprocessor cache controller
JPH02226447A (en) Computer system and memory access therefor