JPS6320639A - Memory access controller - Google Patents

Memory access controller

Info

Publication number
JPS6320639A
JPS6320639A JP61167231A JP16723186A JPS6320639A JP S6320639 A JPS6320639 A JP S6320639A JP 61167231 A JP61167231 A JP 61167231A JP 16723186 A JP16723186 A JP 16723186A JP S6320639 A JPS6320639 A JP S6320639A
Authority
JP
Japan
Prior art keywords
memory
data
cache
write
cnt
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
JP61167231A
Other languages
Japanese (ja)
Inventor
Atsushi Takahashi
淳 高橋
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP61167231A priority Critical patent/JPS6320639A/en
Publication of JPS6320639A publication Critical patent/JPS6320639A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the processing performance by suppressing the data write to a cache memory and by-passing the cache memory to write data in a main storage device if a memory access request as the write request from processor fails to hit the cache. CONSTITUTION:A rewrite control part RE WRT CNT 10B, a write suppression control part WRT ST CNT 110 for a DA CNT 108, a timing priority control part TMG CNT 10E, and a data line BYPS 10F are provided. The memory read command which is generated in a read control part (RD CNT) 10A by the cache mishit processing and is sent to a main storage device (MMU) 102 is converted to a memory rewrite command by the rewrite control part (RE WRT CNT) 10B. This memory rewrite command has the timing controlled and is selected by the timing priority control part (TMG CNT) 10E and is sent to the MMU 102. Merge data stored in a swap data buffer SDB 107 is written in a prescribed address of the MMU 102, and the timing of the TMG CNT 10E is sent to the MMU 102 through a register ADR 10C.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ストアイン方式のキャッシュメモリを有し、
主記憶装置との間のデータ転送をブロックデータで実行
するメモリアクセス制御装置に関し、特に、キャッジ−
ミスヒツトした書込要求であるメモリアクセス要求が、
全キャッシュメモリのはき出し処理中にあった場合のメ
モリ読出データの処理制御方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention has a store-in type cache memory,
Regarding a memory access control device that executes data transfer between a main storage device and a main storage device using block data,
A memory access request that is a miss-hit write request is
The present invention relates to a processing control method for memory read data when all cache memory is being flushed out.

〔従来の技術〕[Conventional technology]

従来のメモリアクセス制御装置は、処理装置からのメモ
リアクセス要求がキャッシュミスヒツトした場合は、主
記憶装置との間でブロックデータ転送を行なうが、この
ときのメモリ読出データは、前記キャッシュミスヒツト
したメモリアクセス要求が、書込要求ならば、要求元か
らの書込データとマージされ、キャッシュメモリに1書
込まれることになる。ここで、全キャッシュメモリデー
タのはき出し処理中に、該、キャッシュミスヒツトの書
込要求があったとき、前記メモリ読出データと、要求元
からの書込データがマージされたデータは、−旦キャノ
シュメモリに書込まれていた。
In conventional memory access control devices, when a memory access request from a processing device results in a cache miss, block data is transferred to and from the main storage device. If the memory access request is a write request, it will be merged with the write data from the request source, and one will be written to the cache memory. Here, when there is a write request for a cache miss during the process of flushing out all cache memory data, the data obtained by merging the memory read data and the write data from the request source is - once canceled. It was written in memory.

第2図は、一般的なコンピュータシステム全示すブロッ
ク図であシ、メモリアクセス制御装置(以下SIUとい
う)201では、各、処理装置(以下中央処理装置のと
きはCPU、入出力処理装置のときはIOPという)2
03.判斤204からメモリアクセス要求を受付ると、
その優先1位に従い処理し、主記憶装置(以下M M 
Uとい′))202へメモリアクセス要求を送出する。
FIG. 2 is a block diagram showing the entire general computer system. In the memory access control unit (hereinafter referred to as SIU) 201, each processing unit (hereinafter referred to as central processing unit, CPU, and input/output processing unit) is called IOP)2
03. When a memory access request is received from the bunker 204,
Processing is performed according to the first priority, and the main memory (hereinafter referred to as MM
A memory access request is sent to U')) 202.

該メモリアクセス要求が、書込要求であれば、書込デー
タf 、MMU 202の該当アドレスに書込み、又読
出要求であれば、MMU202の該当アドレスのデータ
が読出され、5IU201e介して、要求元処理装置へ
返される。
If the memory access request is a write request, the write data f is written to the corresponding address of the MMU 202, and if the memory access request is a read request, the data at the corresponding address of the MMU 202 is read out and sent to the requesting process via the 5IU 201e. returned to the device.

この8IU201において、メモリアクセス処理の性能
向上及び、MMU 202の負荷軽減の目的で、キャッ
シュメモリを設けるようになると、CPU203、l0
P204からのメモリアクセス要求は、90%以上の確
率で、キャッシュヒットシ、ΔL’b1tJ202を介
さず該要求に対する処理を実行でき、キャッシュミスヒ
ツトの場合には、MMU202との間で、メモリデータ
読出し及びスワップアウトをブロックデータて・実行し
、キャッシュメモリに最新データを書込む。
In this 8IU 201, when a cache memory is provided for the purpose of improving the performance of memory access processing and reducing the load on the MMU 202, the CPU 203, l0
A memory access request from P204 has a probability of 90% or more when there is a cache hit, and processing for the request can be executed without going through the ΔL'b1tJ202. and swap out the block data and write the latest data to the cache memory.

前記メモリアクセス処理は、他系メモリアクセス制御装
置5IU211、主記憶装置MへIU212及び処理装
置CPU213.l0P214についても同様である。
The memory access processing is performed by the other system memory access control device 5IU211, the IU212 to the main storage device M, and the processing device CPU213. The same applies to l0P214.

前記コンピュータシステムにおいて、故障等原因により
、他系メモリアクセス制御装置5IU211が接続され
ている場合の5IU201の切離し時には最新データ保
持の目的で5IU201内キヤツシユメモリデータのM
MU202へのはき出し処理が必要である。
In the computer system, when the 5IU 201 is disconnected due to a failure or other cause, when the 5IU 201 is connected, the cache memory data in the 5IU 201 is
Exposure processing to the MU 202 is required.

この場CPU203又はCPU213から、キャッシュ
メモリデータのはき出し指示が発行され、該はき出し指
示による該当アドレスのキャッシュメモリデータは、M
MU202ヘスワップアウトされる0 第3図は従来のメモリアクセス制御装置のブロック図で
ある。
At this point, the CPU 203 or CPU 213 issues a cache memory data flushing instruction, and the cache memory data at the corresponding address according to the flushing instruction is
FIG. 3 is a block diagram of a conventional memory access control device.

CPU203.l0P204からの書込要求であるメモ
リアクセス要求がキャッシュミスヒツトした場合、第3
図のメモリアクセス制御装置5IU301においては、
読出し制御部(以下RD  CNTといり)30Aの制
御にてメモリデータの読出指令がMMU302へ発行サ
レル。MMU302では、該読出指令を受けて該当アド
レスのデータ(ブロックデータ)が読出され、8IU3
01へ送出される。
CPU203. If a memory access request, which is a write request from l0P204, causes a cache miss, the third
In the memory access control device 5IU301 shown in the figure,
A memory data read command is issued to the MMU 302 under the control of the read control unit (hereinafter referred to as RD CNT) 30A. In response to the read command, the MMU 302 reads the data (block data) at the corresponding address, and reads 8IU3.
01.

5IU301内では、MMU 302がらのデータリブ
ライのタイミングを認識しており、メモリ読出データが
受付けられると、ミスヒツトストアデータバッファ(以
下MSDBという)3o3に格納されていた書込データ
とマージし、メモリデータレジスタ(以下MDRという
)3ost介して、キャッシュメモリ制御部(以下DA
 CNTといり)308の制御により、キャッシュメモ
リ(以下DAという)306に該マージされたデータを
書込む。このときDA306データのスワップアウトの
必要がある場合は、該当するDA306のデータを読出
し、スワップデータバッファ(以下SDRという)30
7に格納し、書込み制御部(以下WRTCNTという)
309によるメモリ書込指令に従ってMMU 302へ
送出する。
The 5IU 301 recognizes the timing of data rewriting from the MMU 302, and when memory read data is accepted, it merges it with the write data stored in the mishit store data buffer (hereinafter referred to as MSDB) 3o3. Cache memory control unit (hereinafter referred to as DA) via memory data register (hereinafter referred to as MDR) 3ost
The merged data is written into the cache memory (hereinafter referred to as DA) 306 under the control of the CNT controller 308 . At this time, if it is necessary to swap out the DA306 data, read out the data of the relevant DA306 and store it in the swap data buffer (hereinafter referred to as SDR) 30.
7 and write control unit (hereinafter referred to as WRTCNT)
309 to the MMU 302 according to the memory write command.

以上が書込要求であるメモリアクセス要求がキャッシュ
ミスヒツトした場合の処理であるが、該要求が、全キャ
ッシュメモリDA306データのはき出し中に受付けら
れた場合は、DA306へのデータ書込みを実行後、該
当アドレスのDA306のデータが、WRT  CNT
309の制御によりMMU302へはき出されることに
なる。即ち、該DA306への書込データ(ブロックデ
ータ)をはき出す場合、DA306を介している為、D
A306へのブロックデータ書込処理と、同データのD
A306からのブロックデータ読出処理が必要である。
The above is the process when a memory access request, which is a write request, causes a cache miss. If the request is accepted while all cache memory DA306 data is being written out, after writing data to the DA306, The data of DA306 of the corresponding address is WRT CNT
The data is output to the MMU 302 under the control of the controller 309 . In other words, when writing data (block data) to the DA 306, the DA 306 is used.
Block data writing process to A306 and D of the same data
Block data read processing from A306 is required.

〔発明が解決しよ5とする問題点〕 上述した従来のメモリアクセス制御装置は、処理装置か
らのメモリアクセス要求がキャッジ−ミスヒツトした場
合、主記憶装置との間でブロックデータ転送を行ない、
このときのメモリ読出データはメモリアクセス要求が書
込要求ならば、要求元からの書込データとマージされ、
キャッシュメモリに書込まれることになる。
[Problems to be Solved by the Invention] The conventional memory access control device described above performs block data transfer with the main storage device when a memory access request from the processing device causes a cache miss.
If the memory access request is a write request, the memory read data at this time is merged with the write data from the request source.
It will be written to cache memory.

ここで、全キャッシュメモリデータのはき出し処理中に
もかかわらず、処理装置からの書込要求であるメモリア
クセス要求がちυ、キャッジ−ミスヒツトした場合、前
記、メモリ読出データと、要求元からの書込データとの
マージデータは、−旦キャッシュメモIj K書込まれ
る様になっているので、前記データのマージ処理後、主
記憶装置への書込データとして送出されるまでに、キャ
ッシュメモリへのブロックデータ書込み処理及び同ブロ
ックデータの読出処理を行わなければならず、その分の
時間=スがあるという欠点があった。
Here, even though all cache memory data is being read out, if there is a memory access request that is a write request from the processing device and a cache miss occurs, the memory read data and the write request from the request source are Since the merged data with the data is written to the cache memory IjK once -, after the data is merged, the block to the cache memory must be sent out as the write data to the main storage device. There is a drawback that data writing processing and reading processing of the same block data must be performed, which takes time.

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

本発明のメモリアクセス制御装置はストアイン方式のキ
ャッシュメモリを有し、処理装置からのメモリアクセス
要求がキャッジスミスヒツトした場合、主記憶装置との
間のデータ転送を所定のデータ長を単位として、実行す
るメモリアクセス制御装置において、全キャッシュメモ
リデータのはき出し処理中に前記処理装置からの書込要
求であるメモリアクセス要求があり、キャッシュミスヒ
ツトした場合に発行されるメモリ読出指令に対応するメ
モリ読出データと、前記処理装置からの書込データとを
マージしたキャッシュメモリ書込データのキャッシュメ
モリへの書込を抑止する書込抑止手段と、前記キャッシ
ュメモリ書込データを前記キャッシュメモリをバイパス
してスワップデータバッファへ格納するデータとして選
択するスワップデータバッファ格納データ選択手段と、
前記スワップデータバッファに格納されたデータを主記
憶装置へスワップアウトするために、前記メモリ読出指
令をメモリ再書込指令に変換する指令変換手段と、前記
メモリアクセス要求に伴つ、前記メモリ読出指令と、メ
モリ書込指令と、前記指令変換手段により変換されたメ
モリ再会込指令とを選択して、主記憶装置へ送るメモリ
アクセス要求手段とを備え、全キャッシュメモリデータ
のはき出し中に、前記処理装置からの書込要求であるメ
モリアクセ、x、要求があシ、キャッシュミスヒノトシ
fC場合、該キャッシュメモリへのデータ書込み全抑止
し、該キャッシュメモリをバイパスして、該キャッシュ
メモリ書込データを主記憶装置にスワップアウトして構
成される。
The memory access control device of the present invention has a store-in type cache memory, and when a memory access request from a processing device is a cache miss, data transfer to and from the main storage device is performed in units of a predetermined data length. , in a memory access control device that executes, there is a memory access request that is a write request from the processing device during the process of flushing out all cache memory data, and a memory corresponding to a memory read command issued when a cache miss occurs. write inhibiting means for inhibiting writing of cache memory write data obtained by merging read data and write data from the processing device to the cache memory; Swap data buffer storage data selection means for selecting data to be stored in the swap data buffer by selecting the data to be stored in the swap data buffer;
command converting means for converting the memory read command into a memory rewrite command in order to swap out data stored in the swap data buffer to the main storage device; and a memory access request means for selecting a memory write command and a memory re-attachment command converted by the command conversion means and transmitting the selected memory access command to the main storage device, and the memory access request means selects a memory write command and a memory re-attachment command converted by the command conversion means, and sends the selected memory access request means to the main storage device. If there is a memory access request x, which is a write request from the device, and a cache miss occurs fC, all data writing to the cache memory is inhibited, the cache memory is bypassed, and the write data to the cache memory is is configured by swapping it out to main storage.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

従来装置との主たる相異点は再書込制御部(以下RE 
WRT CNTという) 10B 、DA CNT10
8内への書込み抑止制御部(以下WRT  5TCNT
という)110.タイミングプライオリティ制御部(以
下TMG  CNTという)IOEおよびデータ線(以
下BYP8といz)xoFffi設けたことである。
The main difference from the conventional device is the rewrite control section (hereinafter referred to as RE).
WRT CNT) 10B, DA CNT10
8 write inhibition control unit (hereinafter referred to as WRT 5TCNT)
)110. This is because a timing priority control section (hereinafter referred to as TMG CNT) IOE and a data line (hereinafter referred to as BYP8) xoFffi are provided.

一般的な、書込要求であるメモリアクセス要求がキャッ
シュミスヒントしたときの処理は、第3図で説明した動
作と同様である。該メモリアクセス要求がキャッシュミ
スヒツトすると、RD CNT10Aにより、ΔiMU
i02へメモリ読出指令が送出され、MMU 102で
は披メモリ読出指令を受けて、該当アドレスのデータを
読出し、5IUIOIへ送出する。5ItJ101内で
は、メモリ読出データが受付けられると、MSDB10
3 K格納されていた書込データとマージしく以下マー
ジデータと略す)、MDR105を介し、DA  CN
T108の制御により、キャッシュメモリDA106に
、該マージデータを書込む。
The processing when a memory access request, which is a general write request, results in a cache miss hint is similar to the operation described in FIG. 3. When the memory access request causes a cache miss, the RD CNT10A causes the ΔiMU
A memory read command is sent to i02, and the MMU 102 receives the memory read command, reads the data at the corresponding address, and sends it to 5IUIOI. When memory read data is accepted in 5ItJ101, MSDB10
3K stored write data (hereinafter abbreviated as merge data), via MDR105, DA CN
Under the control of T108, the merge data is written to the cache memory DA106.

DA106データのスワップアウトが必要な場合は、該
当するDA106のデータを読出し、WRTCNT10
9からのメモリ書込指令により、MMU102に送出す
る。
If it is necessary to swap out DA106 data, read the relevant DA106 data and write it to WRTCNT10.
The memory write command from 9 sends it to the MMU 102.

上記書込要求であるメモリアクセス要求が、全キャッシ
ュメモリデータのはき出し処理中に受付ケラれ、キャッ
ジ−ミスヒツトした場合の動作について以下に示す。
The following describes the operation when the memory access request, which is the write request, is not accepted during the process of flushing out all cache memory data and a cache miss occurs.

モードレジスタ(以下SMDRとい5) 10Dにこの
はき出し指示があると、DA  CNT108内のWR
T  ST  CNTll0の制御により、前記マージ
データのDA106への書込みを抑止し、データ豫BY
PSIOFを介してDA106をバイパスし、このマー
ジデータをRE WRT  CNTl0B の制御によ
)選択して、5DRIQ7に格納する。(このマージデ
ータはブロックデータである)。キャッシュミスヒツト
処理でRD  CNTIQA  にて作成され〆MMU
102に送出されたメモリ読出指令はRE WRT  
CNTl0B  にてメモリ再書込指令に変換される。
When mode register (hereinafter referred to as SMDR 5) 10D receives this output instruction, WR in DA CNT108
Under the control of T ST CNTll0, writing of the merge data to DA106 is suppressed, and the data is written to BY
Bypassing DA106 via PSIOF, this merged data is selected (under control of RE WRT CNT10B) and stored in 5DRIQ7. (This merge data is block data). Created in RD CNTIQA by cache miss processing and closed MMU
The memory read command sent to 102 is RE WRT.
It is converted into a memory rewrite command at CNT10B.

このメモリ再書込指令は、T M GCNTIOEKよ
りタイミングが制御されて選択され、MMtJ 102
に送出される。TMG CNTl0Eは、キャッジ−ミ
スヒツト時のMMLI 102からのデータリプライタ
イミングを認識しておジ、それを考慮してMMLI 1
02へのメモリ再書込指令の選択タイミングを制御する
。SDB 107に格納されていたマージデータは、こ
のメモリ再書込指令に従ってMMU102の所定アドレ
スに書込まれる。
This memory rewrite command is selected with timing controlled by T M GCNTIOEK, and MMtJ 102
will be sent to. TMG CNT10E recognizes the data reply timing from MMLI 102 in the event of a cache-miss, and takes this into consideration when transmitting MMLI 1
Controls the selection timing of the memory rewrite command to 02. The merge data stored in the SDB 107 is written to a predetermined address of the MMU 102 in accordance with this memory rewrite command.

TMG  CNTl0Eは、メモリ読出指令と、変換さ
れたメモリ再書込指令とメモリ書込指令の内、−指令を
タイミングと優先度とを制御して、選択し、選択された
指令はレジスタADH100を介してMMU 102に
送出される。
TMG CNT10E selects the - command from among the memory read command, the converted memory rewrite command, and the memory write command by controlling the timing and priority, and the selected command is sent via the register ADH100. and sent to MMU 102.

以上により本実施例では全キャッシュメモリデータのは
き出し処理中に書込要求であるメモリアクセス要求があ
りそれがキャッシーミスヒットシた場合、キャッシュメ
モリへのデータ書込みを抑止しキャッシュメモIJ t
バイパスして主記憶装置Kかきこむことができる。
As described above, in this embodiment, if there is a memory access request that is a write request during the process of flushing all cache memory data, and the request results in a cache miss, data writing to the cache memory is inhibited and the cache memory IJ t is
It can be written into the main memory K by bypass.

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

以上説明したように本発明は、キャッシュメモリ金有し
、処理装置からのメモリアクセス要求がキャッジ−ミス
ヒツトしたときは、主記憶装置との間のデータ転送をブ
ロックデータで実施するメモリアクセス制御装置におい
て、全キャッシュメモリデータのはき出し処理中に、処
理装置からの書込要求であるメモリアクセス要求があシ
、該要求が、キャッジ−ミスヒツトした場合、キャッシ
ュメモリへのデータ書込を抑止し、キャッシュメモリを
バイパスし主記憶装置に書込むことにより、キャッシュ
メモリへのブロックデータの書込み及び同データの読出
し処理を省き、はき出し処理の時間的ロスを無くし、処
理性能を向上できるといり効果がある。
As explained above, the present invention provides a memory access control device that has a cache memory and transfers data to and from a main storage device using block data when a memory access request from a processing device causes a cache miss. , If a memory access request, which is a write request from the processing device, occurs during the process of flushing out all cache memory data, and the request results in a cache miss, data writing to the cache memory is inhibited, and the cache memory By bypassing the block data and writing it to the main memory, it is possible to omit the process of writing block data to the cache memory and reading the same data, eliminate time loss in the write process, and improve processing performance.

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

第1図は本発明の一実施例を示すブロック図、第2図は
コンピュータシステムのブロック図、第3図は従来装置
を示すブロック図である。 101・・・メモリアクセス制御装置(SIU)、10
2・−・主記憶装置(MMU ) 、103・・・ミス
ヒツトストアデータバッフ了(MSDB)、104・・
・メモリデータレジスタ(MDR)、  1os・・・
メモリデータレジスタ(MDR)、106・・・キャッ
シュメモリ(DA)、107・・・スワップデータバッ
ファ(SDB)、108・・・キャッシュメモリ制御部
(DACNT)、109・・・書込制御部(WRT  
CNT)、110・・・書込み抑止制御部(WRT  
ST  CNT)、1oA−・・読出制御部(RD  
CNT)、10 B −・・再書込制御部(RE WR
T  CNT)、l0C−=メ−[−リアクセスレジス
タ(ADR)、IOD・・・モードレジスタ(SMDR
)、10E・・・タイミング・プライオリティ制御部(
TMG  CNT)、IOF・・・データ線(BYPS
)、201・・・メモリアクセス制御装置(SIU)、
202・・・主記憶装置(MMU)、203・・・処理
装置(CPU)、204・−・処理装置(IOP)、2
11・・・メモリアクセス制御装置(SIU)、212
・・・主記憶装置(MM U )、213・・・処理装
置(CPU)、214・・・処理装置(IOP)、30
1・・・メモリアクセス制御装置(SIU)、302・
・・主記憶装置(MMU)、303・・・ミスヒツトス
トアデータバッファ(MSDB)、304・−・メモリ
データレジスタ(MDR)、305・・・メモリデータ
レジスタ(MDR)、306・・・キャッシュメモリ(
DA)、307・−・スワップデータバッファ(SDB
)、308・・・キャッシュメモリ制御部(DA  C
NT)、309・・・書込制御部(WRT  CNT)
、30A・・・読出制御部(RDCNT)、30B・・
・メモリアクセスレジスタ(ADR)、30C・・・モ
ードレジスタ(SMDR)。   7−ゝ第7図 M2図
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a block diagram of a computer system, and FIG. 3 is a block diagram showing a conventional device. 101...Memory access control unit (SIU), 10
2... Main memory unit (MMU), 103... Mishit store data buffer completed (MSDB), 104...
・Memory data register (MDR), 1os...
Memory data register (MDR), 106... Cache memory (DA), 107... Swap data buffer (SDB), 108... Cache memory control unit (DACNT), 109... Write control unit (WRT)
CNT), 110...Write inhibit control unit (WRT
ST CNT), 1oA-...Read control unit (RD
CNT), 10 B--Rewrite control unit (RE WR
T CNT), l0C-=M-[- re-access register (ADR), IOD... mode register (SMDR
), 10E...timing/priority control section (
TMG CNT), IOF...Data line (BYPS
), 201... memory access control unit (SIU),
202... Main memory unit (MMU), 203... Processing unit (CPU), 204... Processing unit (IOP), 2
11...Memory access control unit (SIU), 212
...Main storage device (MMU), 213... Processing unit (CPU), 214... Processing unit (IOP), 30
1...Memory access control unit (SIU), 302.
...Main memory unit (MMU), 303...Miss store data buffer (MSDB), 304...Memory data register (MDR), 305...Memory data register (MDR), 306...Cache memory (
DA), 307 --- Swap data buffer (SDB
), 308...cache memory control unit (DAC
NT), 309...Write control unit (WRT CNT)
, 30A...read control unit (RDCNT), 30B...
-Memory access register (ADR), 30C...Mode register (SMDR). 7-ゝFigure 7 M2

Claims (1)

【特許請求の範囲】 ストアイン方式のキャッシュメモリを有し、処理装置か
らのメモリアクセス要求がキャッシュミスヒットした場
合、主記憶装置との間のデータ転送を所定のデータ長を
単位として、実行するメモリアクセス制御装置において
、 全キャッシュメモリデータのはき出し処理中に前記処理
装置からの書込要求であるメモリアクセス要求があり、
キャッシュミスヒットした場合に発行されるメモリ読出
指令に対応するメモリ読出データと、前記処理装置から
の書込データとをマージしたキャッシュメモリ書込デー
タのキャッシュメモリへの書込を抑止する書込抑止手段
と、前記キャッシュメモリ書込データを前記キャッシュ
メモリをバイパスしてスワップデータバッファへ格納す
るデータとして選択するスワップデータバッファ格納デ
ータ選択手段と、 前記スワップデータバッファに格納されたデータを主記
憶装置へスワップアウトするために、前記メモリ読出指
令をメモリ再書込指令に変換する指令変換手段と、 前記メモリアクセス要求に伴う、前記メモリ読出指令と
、メモリ書込指令と、前記指令変換手段により変換され
たメモリ再書込指令とを選択して、主記憶装置へ送るメ
モリアクセス要求手段とを備え、 全キャッシュメモリデータのはき出し中に、前記処理装
置からの書込要求であるメモリアクセス要求があり、キ
ャッシュミスヒットした場合、該キャッシュメモリへの
データ書込みを抑止し、該キャッシュメモリをバイパス
して、該キャッシュメモリ書込データを主記憶装置にス
ワップアウトすることを特徴とするメモリアクセス制御
装置。
[Claims] It has a store-in type cache memory, and when a memory access request from a processing device results in a cache miss, data transfer to and from the main storage device is performed in units of a predetermined data length. In the memory access control device, there is a memory access request, which is a write request, from the processing device during the flushing process of all cache memory data;
Write inhibition for inhibiting writing of cache memory write data into the cache memory, which is a merge of memory read data corresponding to a memory read command issued in the event of a cache mishit and write data from the processing device. swap data buffer storage data selection means for selecting the cache memory write data as data to be stored in the swap data buffer bypassing the cache memory; command converting means for converting the memory read command into a memory rewrite command in order to swap out; and a command converting means for converting the memory read command into a memory rewrite command; and memory access request means for selecting a memory rewrite command and sending it to the main storage device, wherein a memory access request, which is a write request, is received from the processing device while all cache memory data is being written out; A memory access control device characterized in that when a cache mishit occurs, data writing to the cache memory is inhibited, the cache memory is bypassed, and the cache memory write data is swapped out to a main storage device.
JP61167231A 1986-07-15 1986-07-15 Memory access controller Pending JPS6320639A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61167231A JPS6320639A (en) 1986-07-15 1986-07-15 Memory access controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61167231A JPS6320639A (en) 1986-07-15 1986-07-15 Memory access controller

Publications (1)

Publication Number Publication Date
JPS6320639A true JPS6320639A (en) 1988-01-28

Family

ID=15845881

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61167231A Pending JPS6320639A (en) 1986-07-15 1986-07-15 Memory access controller

Country Status (1)

Country Link
JP (1) JPS6320639A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8312218B2 (en) 2006-02-27 2012-11-13 Fujitsu Limited Cache controller and cache control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8312218B2 (en) 2006-02-27 2012-11-13 Fujitsu Limited Cache controller and cache control method

Similar Documents

Publication Publication Date Title
JP3259969B2 (en) Cache memory controller
JP5417879B2 (en) Cache device
JP3352598B2 (en) Microprocessor
US6868472B1 (en) Method of Controlling and addressing a cache memory which acts as a random address memory to increase an access speed to a main memory
US5960463A (en) Cache controller with table walk logic tightly coupled to second level access logic
JP3086779B2 (en) Memory state restoration device
US6260117B1 (en) Method for increasing efficiency in a multi-processor system and multi-processor system with increased efficiency
JP2003316753A (en) Multi-processor device
US5148526A (en) Data processing system with an enhanced cache memory control
US5615167A (en) Method for increasing system bandwidth through an on-chip address lock register
JPH05216757A (en) Processor system and data transfer method thereof
JPH11272555A (en) Cache memory control system
US6571350B1 (en) Data storage method and data storage for averaging workload in a redundant storage configuration
US5737568A (en) Method and apparatus to control cache memory in multiprocessor system utilizing a shared memory
JPS6320639A (en) Memory access controller
JPH11184761A (en) Read modify write control system
US7805576B2 (en) Information processing system, information processing board, and method of updating cache tag and snoop tag
JP2636760B2 (en) Multiprocessor system
JP3564343B2 (en) Data transfer device and method during cache bypass
JP3201635B2 (en) Storage controller
JPH0816390A (en) Microprocessor
JPH01251248A (en) Cache control system for stack data structure
JPH03103951A (en) Memory patrol control system
JPH06124236A (en) Data processor
JPS6347857A (en) Memory access controller