JPH05233455A - Automatic write-back cycle generation cache device - Google Patents

Automatic write-back cycle generation cache device

Info

Publication number
JPH05233455A
JPH05233455A JP4070234A JP7023492A JPH05233455A JP H05233455 A JPH05233455 A JP H05233455A JP 4070234 A JP4070234 A JP 4070234A JP 7023492 A JP7023492 A JP 7023492A JP H05233455 A JPH05233455 A JP H05233455A
Authority
JP
Japan
Prior art keywords
memory
bus
address
data
write
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
JP4070234A
Other languages
Japanese (ja)
Inventor
Seiji Sugawara
聖二 菅原
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 Engineering Ltd
Original Assignee
NEC Engineering Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP4070234A priority Critical patent/JPH05233455A/en
Publication of JPH05233455A publication Critical patent/JPH05233455A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To prevent the processing performance of a processor from decreasing by automatically generating a write-back cycle at the timing where a common memory bus is not used. CONSTITUTION:A memory bus monitor 11 once confirming that no user uses the common memory bus informs a bus control part 13 that a common memory access request is possibly generated. At the same time, the monitor 11 picks up a line in a corrected state which is not high in the frequency of access from the processor for an M-line memory 7. At this time, the memory 7 informs the control part 13 that there is no line in the corrected state unless there is the line in the corrected state in the memory. When, however, the memory 7 confirms that there is the line in the corrected state in the memory, an indication for updating the state of a status memory 8 for a corrected line from the corrected state to an uncorrected state is sent to the control part 3 so as to carry out the write-back cycle of the line in the corrected state.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【技術分野】本発明は情報処理装置のキャッシュ装置、
特にマルチプロセッサを構成するようなシステムにおけ
るライトワンスプロトコルで動作するライトバックキャ
ッシュ装置に関するものである。
TECHNICAL FIELD The present invention relates to a cache device of an information processing device,
In particular, the present invention relates to a write-back cache device that operates by a write-once protocol in a system that constitutes a multiprocessor.

【0002】[0002]

【従来技術】一般に、ライトバック方式のキャッシュシ
ステムでは、ライトアクセス時にキャッシュメモリ中に
そのアドレスに対するデータを保有しているときには、
ライトアクセス時のライトデータはキャッシュメモリに
書込まれるが、共有メモリへは書込まれない。そのた
め、同一アドレスに対するキャッシュ中のデータを共有
メモリ中のデータとが異なる状態が生じる。ライトバッ
クキャッシュのシステムでは、このデータの異なった状
態を解消するための手段として、ライトバックサイクル
を実行する。
2. Description of the Related Art Generally, in a write-back type cache system, when data for that address is held in the cache memory at the time of write access,
The write data at the time of write access is written to the cache memory, but not to the shared memory. Therefore, the data in the cache for the same address may be different from the data in the shared memory. In the write-back cache system, a write-back cycle is executed as a means for eliminating this different state of data.

【0003】従来のライトバックキャッシュシステムで
発生するライトバックサイクルには、以下のような状態
がある。
The write-back cycle that occurs in the conventional write-back cache system has the following states.

【0004】1.キャッシュメモリ中のデータがメモリ
の内容と異なったデータであることを示しているデータ
ブロック(以下、修正状態のいう)に対して、リプレー
ス(置換り)要求が発生しているとき。
1. When a replacement (replacement) request is issued to a data block (hereinafter referred to as a modified state) indicating that the data in the cache memory is different from the memory contents.

【0005】2.他のバスオウナが実行中の共有メモリ
アドレスアクセスに対するアドレスが、修正状態のライ
ンに対するアクセスであることを確認したとき。
2. When it is confirmed that the address for the shared memory address access being executed by another bus owner is the access for the modified line.

【0006】3.プロセッサの実行するフラッシュ要求
に対して、キャッシュメモリ中に修正状態のラインを保
有していたとき。
3. When there is a modified line in the cache memory for the flush request executed by the processor.

【0007】以上のような状態が発生したときには、キ
ャッシュメモリ制御装置は、プロセッサの発行するサイ
クルとは関係なく、共有メモリに対してライトアクセス
を発生する。複数のプロセッサと共有メモリとを共有メ
モリバスで結合しているようなマルチプロセッサシステ
ムでは、共有メモリバスのバストラフィックを低下さ
せ、システムの性能を上るために、共有メモリアクセス
を頻度を下げる手段として、前述の複数のプロセッサに
ヒット率の高いキャッシュを搭載している。
When the above-mentioned condition occurs, the cache memory control device issues a write access to the shared memory regardless of the cycle issued by the processor. In a multi-processor system in which multiple processors and shared memory are connected by a shared memory bus, shared memory access is used as a means of reducing the frequency in order to reduce bus traffic on the shared memory bus and improve system performance. , The above-mentioned multiple processors are equipped with a high hit rate cache.

【0008】しかし、キャッシュのヒット率が上がるに
つれて、そのキャッシュメモリ中に多くの修正状態のラ
インを保有することになり、プロセッサ自身で引き起こ
すライトバックサイクル(リプレースやフラッシュ処
理)や他のプロセッサの共有メモリアクセスによって引
起されるライトバックサイクルの頻度が高くなる。
However, as the cache hit rate increases, many modified lines are held in the cache memory, causing a write-back cycle (replace or flush process) caused by the processor itself or sharing with other processors. The frequency of write-back cycles caused by memory access increases.

【0009】その結果、共有メモリアクセスに要する共
有メモリバスのバス占有時間が長くなるとともに、他の
プロセッサの共有メモリアクセスによって引起されるラ
イトバックサイクルによってプロセッサ自身のサイクル
を中断されることが頻繁に発生し、プロセッサの処理性
能を低下させる。
As a result, the bus occupation time of the shared memory bus required for shared memory access becomes long, and the processor's own cycle is often interrupted by a write-back cycle caused by the shared memory access of another processor. Occurs and reduces the processing performance of the processor.

【0010】[0010]

【発明の目的】本発明の目的は、プロセッサの処理性能
を低下させない自動ライトバックサイクル発生キャッシ
ュ装置を提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to provide an automatic write back cycle generation cache device which does not deteriorate the processing performance of a processor.

【0011】[0011]

【発明の構成】本発明による自動ライトバックサイクル
発生キャッシュ装置は、プロセッサとのインターフェー
スを制御するホスト制御部と、キャッシュファイルした
データを格納するキャッシュメモリと、前記データのア
ドレスを格納するタグメモリと、前記データの状態を格
納するステータスメモリと、内部アドレスバスとメモリ
バスとのインターフェースを制御するバス制御部と、メ
モリバス上のサイクルを監視するバススヌーブ制御部
と、ライトバック要求が発生したときのデータを格納す
るライトバックバッファと、前記ライトバックバッファ
要求が生じたデータに対するアドレスを格納するアドレ
スバッファと、前記各メモリ、アドレスコンパレータ、
前記ライトバックバッファ、前記アドレスバッファを制
御するメモリ制御部と、ホストアドレスバスドライバ、
ホストデータバスドライバ、メモリアドレスバスドライ
バ、メモリデータバスドライバ、共有メモリバスのバス
トラヒィックを常に監視して空き時間が発生したことを
認識するメモリバスモニタと、キャッシュメモリが保有
する修正状態のデータおよびアドレスを格納するモディ
ファイドラインメモリとを有することを特徴とする。
An automatic write-back cycle generation cache device according to the present invention comprises a host control unit for controlling an interface with a processor, a cache memory for storing cached data, and a tag memory for storing an address of the data. , A status memory that stores the state of the data, a bus control unit that controls the interface between the internal address bus and the memory bus, a bus snoop control unit that monitors the cycles on the memory bus, and a write back request A write-back buffer for storing data, an address buffer for storing an address for the data requested by the write-back buffer, each of the memories, an address comparator,
A write-back buffer, a memory controller for controlling the address buffer, a host address bus driver,
A memory bus monitor that constantly monitors the bus traffic of the host data bus driver, memory address bus driver, memory data bus driver, and shared memory bus to recognize that idle time has occurred, and the modified state data and address that the cache memory holds. And a modified line memory for storing

【0012】[0012]

【実施例】次に、本発明の一実施例を示した図面を参照
して、本発明をより詳細に説明する。
The present invention will now be described in more detail with reference to the drawings showing one embodiment of the present invention.

【0013】図1を参照すると、本発明の一実施例にお
いては、ホスト制御部2はプロセッサ1とのインターフ
ェースを制御する。メモリ制御部3は四つのメモリ4,
5,7,8とアドレスコンパレータ6と二つのバッファ
9〜10とを制御する。
Referring to FIG. 1, in one embodiment of the present invention, the host controller 2 controls the interface with the processor 1. The memory controller 3 has four memories 4,
It controls 5, 7, and 8, the address comparator 6, and the two buffers 9 to 10.

【0014】キャッシュメモリ4はキャッシュファイル
したデータを格納する。タグメモリ5はキャッシュファ
イルしたデータのアドレスを格納する。アドレスコンパ
レータ6はアドレスバス上のアドレスとタグメモリ5の
出力とを比較する。
The cache memory 4 stores the cached data. The tag memory 5 stores the address of the cached data. The address comparator 6 compares the address on the address bus with the output of the tag memory 5.

【0015】Mラインメモリ7はキャッシュメモリ4が
保有する修正状態のデータとデータに対するアドレスと
を格納する。ステータスメモリ8はキャッシュファイル
したデータの状態を格納する。アドレスバッファ9はラ
イトバックサイクルを実行する際のアドレスを格納す
る。ライトバックバッファ10はライトバックサイクル
を実行する際のデータを格納する。
The M line memory 7 stores the data in the correction state held by the cache memory 4 and the address for the data. The status memory 8 stores the status of the cached data. The address buffer 9 stores the address when executing the write back cycle. The write-back buffer 10 stores the data when executing the write-back cycle.

【0016】メモリバスモニタ11は共有メモリバスの
バストラヒィックを常に監視し、空き時間が発生したこ
とを認識する。バススヌーブ制御部12はメモリバス上
のサイクルを監視する。バス制御部13はメモリバスと
のインターフェースを制御する。ホストアドレスドライ
バ14aはプロセッサ1と内部アドレスバス16bとの
間に位置し、アドレスバスのドライブの制御を行なう。
The memory bus monitor 11 constantly monitors the bus traffic of the shared memory bus and recognizes that an idle time has occurred. The bus snoop controller 12 monitors the cycle on the memory bus. The bus control unit 13 controls the interface with the memory bus. The host address driver 14a is located between the processor 1 and the internal address bus 16b, and controls the drive of the address bus.

【0017】ホストデータドライバ14bはプロセッサ
1と内部データバス16aとの間に位置し、データバス
のドライブの制御を行なう。メモリアドレスドライバ1
5aは共有メモリと内部アドレスバス16aとの間に位
置し、アドレスバスのドライブの制御を行なう。メモリ
データドライバ15bは共有メモリバスと内部データバ
ス16bとの間に位置し、データバスのドライブの制御
を行なう。
The host data driver 14b is located between the processor 1 and the internal data bus 16a and controls the drive of the data bus. Memory address driver 1
5a is located between the shared memory and the internal address bus 16a and controls the drive of the address bus. The memory data driver 15b is located between the shared memory bus and the internal data bus 16b, and controls the drive of the data bus.

【0018】ホストアドレスバス17aはプロセッサ1
のアドレスバスに接続されている。ホストデータバス1
7bはプロセッサ1のデータバスに接続されている。ホ
ストコントロール信号17cはプロセッサ1の制御信号
に接続されている。なお、18aは共有メモリアドレス
バスであり、18bは共有メモリデータバスであり、1
8cは共有メモリコントロール信号である。
The host address bus 17a is the processor 1
Connected to the address bus. Host data bus 1
7b is connected to the data bus of the processor 1. The host control signal 17c is connected to the control signal of the processor 1. 18a is a shared memory address bus, 18b is a shared memory data bus, and
Reference numeral 8c is a shared memory control signal.

【0019】プロセッサ1が共有メモリへリードアクセ
スを実行し、リードアクセスがアドレスコンパレータ6
の比較結果キャッシュミスヒットを示した場合、ホスト
制御部2とメモリ制御部3からの信号によってバス制御
部13は、共有メモリへメモリリードアクセスを開始す
る。同時に、メモリのメモリリードアクセスがキャッシ
ュフィルリードアクセスであり、このキャッシュフィル
するデータを格納するキャッシュメモリの領域に対応す
るステータスメモリの値が、「共有メモリのデータを修
正した」を示す修正状態であることをメモリ制御部3が
確認したとき、メモリ制御部3はキャッシュメモリ4か
ら修正状態のデータを読出し、ライトバックバッファ1
0へデータを格納するとともに、修正状態のデータに対
応するアドレスをタグメモリ5から読出し、アドレスバ
ッファ9へ格納する。
The processor 1 executes a read access to the shared memory, and the read access is performed by the address comparator 6.
If the comparison result indicates a cache mishit, the bus control unit 13 starts a memory read access to the shared memory by a signal from the host control unit 2 and the memory control unit 3. At the same time, the memory read access of the memory is a cache fill read access, and the value of the status memory corresponding to the area of the cache memory that stores the data to be cache-filled is in the modified state indicating "modified the data of the shared memory". When the memory control unit 3 confirms that there is, the memory control unit 3 reads the modified data from the cache memory 4, and the write-back buffer 1
In addition to storing the data in 0, the address corresponding to the data in the modified state is read from the tag memory 5 and stored in the address buffer 9.

【0020】バス制御部13は共有メモリ上でのサイク
ルをを終了し、同時にホスト制御部2はプロセッサ1に
対しサイクルの修了を伝える。このとき、メモリ制御部
3はプロセッサ1のサイクルに関係なく、ライトバック
サイクルを行なうために、バス制御部13に対し共有メ
モリバスアクセスを要求する。アドレスはアドレスバッ
ファ9からドライブされ、ライトデータはライトバック
バッファからドライブされる。
The bus control unit 13 finishes the cycle on the shared memory, and at the same time, the host control unit 2 notifies the processor 1 of the completion of the cycle. At this time, the memory control unit 3 requests the shared memory bus access to the bus control unit 13 in order to perform the write-back cycle regardless of the cycle of the processor 1. The address is driven from the address buffer 9 and the write data is driven from the write back buffer.

【0021】プロセッサがフラッシュ命令を実行した場
合、ホスト制御部2のサイクルがフラッシュ命令による
ものであることを、メモリ制御部3とバス制御部13に
知らせる。メモリ制御部3はステータスメモリ8の全デ
ータの中から修正状態であるアドレスを調べ、修正状態
にあるデータのアドレスをタグメモリ5から読出し、ア
ドレスバッファ9に格納し、修正状態にあるデータをラ
イトバックバッファ10に格納する。バス制御部13が
共有メモリバスを獲得し、共有メモリへライトアクセス
を開始する。
When the processor executes the flash instruction, it informs the memory controller 3 and the bus controller 13 that the cycle of the host controller 2 is due to the flash instruction. The memory control unit 3 checks the address in the correction state from all the data in the status memory 8, reads the address of the data in the correction state from the tag memory 5, stores it in the address buffer 9, and writes the data in the correction state. Stored in the back buffer 10. The bus control unit 13 acquires the shared memory bus and starts write access to the shared memory.

【0022】ライトアドレスはアドレスバッファ9から
ドライブし、ライトデータはライトバッファからドライ
ブする。このとき、メモリ制御部は再度同様の処理を行
ない、ステータスメモリ8から修正状態のデータがなく
なるまでライトバックサイクルを発生させる。
The write address is driven from the address buffer 9, and the write data is driven from the write buffer. At this time, the memory control unit performs the same processing again, and generates a write back cycle until the status memory 8 has no data in the modified state.

【0023】他のプロセッサが共有メモリのバスオウナ
として共有メモリアクセスサイクルを実行していると
き、バススヌーブ制御部12は共有メモリアクセスを行
なっているアドレスのメモリアドレスドライバ15aを
制御し、共有メモリアドレスバス18aから内部アドレ
スバス16aにドライブする。同時に、バススヌーブ制
御部12はメモリ制御部3に対し他のバスオウナが共有
メモリアクセスを行なっていることを知らせる。
When another processor is executing the shared memory access cycle as the bus owner of the shared memory, the bus snoop control unit 12 controls the memory address driver 15a of the address performing the shared memory access, and the shared memory address bus 18a. Drive to the internal address bus 16a. At the same time, the bus snoop control unit 12 notifies the memory control unit 3 that another bus owner is accessing the shared memory.

【0024】メモリ制御部3はアドレスコンパレータ6
の比較結果とステータスメモリ8の値から、他のバスオ
ウナによる共有メモリアクセスが修正状態のラインに対
するアクセスであることを判断し、修正状態のラインを
ライトバックバッファ10に格納するとともに、バス制
御部13に対し、共有メモリバスへデータをドライブす
ることを知らせ、ライトバックバッファから共有メモリ
バス上にデータをドライブする。
The memory control unit 3 includes an address comparator 6
It is determined from the comparison result and the value of the status memory 8 that the shared memory access by another bus owner is an access to the line in the modified state, the line in the modified state is stored in the write-back buffer 10, and the bus control unit 13 The write back buffer is driven to drive the data on the shared memory bus.

【0025】メモリバスモニタ11は随時共有メモリの
バストラヒィックを監視する。メモリバスモニタ11
は、共有メモリバスの使用者がいないことを確認する
と、バス制御部13に対し、共有メモリアクセス要求を
発生するかもしれないことを知らせる。同時に、メモリ
バスモニタ11はMラインメモリ7に対してプロセッサ
からのアクセス頻度が高くない修正状態のラインをピッ
クアップさせる。このとき、Mラインメモリ7は、メモ
リ中に修正状態のラインが存在しないときは、修正状態
のラインがないことをバス制御部13に知らせ、共有メ
モリバスアクセス要求のないことを知らせる。
The memory bus monitor 11 constantly monitors the bus traffic of the shared memory. Memory bus monitor 11
After confirming that there is no user of the shared memory bus, informs the bus control unit 13 that a shared memory access request may be issued. At the same time, the memory bus monitor 11 causes the M line memory 7 to pick up a line in a modified state that is not frequently accessed by the processor. At this time, the M line memory 7 informs the bus control unit 13 that there is no modified state line when there is no modified state line in the memory, and that there is no shared memory bus access request.

【0026】しかし、Mラインメモリ7がメモリ中に修
正状態のラインを確認したとき、メモリ制御部3に対
し、修正状態のラインに対するライトバックサイクルを
行なうために修正ラインに対するステータスメモリ8の
状態を修正状態から修正されていない状態へ更新するよ
う指示する。Mラインメモリ7は修正状態のラインのデ
ータをライトバックバッファ10に格納し、データに対
するアドレスをアドレスバッファ9に格納する。Mライ
ンメモリ7は、バス制御部13に対し、共有メモリバス
へライトバックアクセスを行なうよう要求する。
However, when the M line memory 7 confirms the corrected line in the memory, the state of the status memory 8 for the corrected line is changed to the memory control unit 3 in order to perform the write-back cycle for the corrected line. Instruct to update from the modified state to the unmodified state. The M line memory 7 stores the data of the modified line in the write back buffer 10 and the address for the data in the address buffer 9. The M line memory 7 requests the bus control unit 13 to perform write back access to the shared memory bus.

【0027】バス制御部13はライトアドレスをアドレ
スバッファ9からドライブし、ライトデータをライトバ
ックバッファ10からドライブする。メモリバスモニタ
11は共有メモリバスが空き状態であることを確認し、
Mラインメモリ7がメモリ中に修正状態のラインを確認
すれば、プロセッサのサイクルに関係なく、修正状態の
ラインに対して再度自動にライトバックサイクルを発生
させ、修正状態のラインがなくなるまで実行される。
The bus controller 13 drives the write address from the address buffer 9 and drives the write data from the write back buffer 10. The memory bus monitor 11 confirms that the shared memory bus is empty,
If the M-line memory 7 confirms the modified line in the memory, the write-back cycle is automatically generated again for the modified line regardless of the processor cycle, and the line is executed until the modified line disappears. It

【0028】上に述べた実施例では、Mラインメモリ7
は修正状態のラインアドレスとデータのみを格納するメ
モリとして使用することによって、修正状態のラインの
有無を認識しているが、これに限られることなく、修正
状態のラインを認識する手段として、ステータスメモリ
8の内容をサーチすることによって認識することができ
る。
In the embodiment described above, the M line memory 7
Recognizes the presence / absence of a modified line by using it as a memory that stores only the modified line address and data, but is not limited to this, the status It can be recognized by searching the contents of the memory 8.

【0029】[0029]

【発明の効果】以上説明したように、本発明によれば、
共有メモリバスが使用されていないタイミングで自動的
にライトバックサイクルを発行することによって、リプ
レースやバスのスヌービング時に発生するライトバック
サイクルの頻度を下げ、このとき発生するライトバック
サイクルによる共有メモリアクセスの応答時間の悪化を
未然に防ぐことができる。
As described above, according to the present invention,
By automatically issuing a write-back cycle when the shared memory bus is not used, the frequency of write-back cycles that occur during replacement and bus snooping is reduced, and the write-back cycles that occur at this time can reduce shared memory access. It is possible to prevent deterioration of response time.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 プロセッサ 2 ホスト制御部 3 メモリ制御部 4 キャッシュメモリ 5 タグメモリ 6 アドレスコンパレータ 7 Mラインメモリ 8 ステータスメモリ 9 アドレスバッファ 10 ライトバックバッファ 11 メモリバスモニタ 12 バススヌーブ制御部 13 バス制御部 14a ホストアドレスドライバ 14b ホストデータドライバ 15a メモリアドレスドライバ 15b メモリデータバスドライバ 16a 内部アドレスバス 16b 内部データバス 17a ホストアドレスァス 17b ホストデータバス 17c ホストコントロール信号 18a 共有メモリアドレスバス 18b 共有メモリデータバス 18c 共有メモリコントロール信号 1 processor 2 host control unit 3 memory control unit 4 cache memory 5 tag memory 6 address comparator 7 M line memory 8 status memory 9 address buffer 10 write back buffer 11 memory bus monitor 12 bus snoop control unit 13 bus control unit 14a host address driver 14b Host data driver 15a Memory address driver 15b Memory data bus driver 16a Internal address bus 16b Internal data bus 17a Host address bus 17b Host data bus 17c Host control signal 18a Shared memory address bus 18b Shared memory data bus 18c Shared memory control signal

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 プロセッサとのインターフェースを制御
するホスト制御部と、キャッシュファイルしたデータを
格納するキャッシュメモリと、前記データのアドレスを
格納するタグメモリと、前記データの状態を格納するス
テータスメモリと、内部アドレスバスとメモリバスとの
インターフェースを制御するバス制御部と、メモリバス
上のサイクルを監視するバススヌーブ制御部と、ライト
バック要求が発生したときのデータを格納するライトバ
ックバッファと、前記ライトバックバッファ要求が生じ
たデータに対するアドレスを格納するアドレスバッファ
と、前記各メモリ、アドレスコンパレータ、前記ライト
バックバッファ、前記アドレスバッファを制御するメモ
リ制御部と、ホストアドレスバスドライバ、ホストデー
タバスドライバ、メモリアドレスバスドライバ、メモリ
データバスドライバ、共有メモリバスのバストラヒィッ
クを常に監視して空き時間が発生したことを認識するメ
モリバスモニタと、キャッシュメモリが保有する修正状
態のデータおよびアドレスを格納するモディファイドラ
インメモリとを有することを特徴とする自動ライトバッ
クサイクル発生キャッシュ装置。
1. A host control unit for controlling an interface with a processor, a cache memory for storing cached file data, a tag memory for storing an address of the data, and a status memory for storing a state of the data. A bus control unit that controls an interface between the internal address bus and the memory bus, a bus snoop control unit that monitors a cycle on the memory bus, a write back buffer that stores data when a write back request occurs, and the write back unit. An address buffer that stores an address for data for which a buffer request has occurred, a memory control unit that controls each of the memories, the address comparators, the write-back buffer, and the address buffer, a host address bus driver, a host data bus driver, and a memory controller. Memory bus monitor, memory data bus driver, memory bus monitor that constantly monitors the bus traffic of the shared memory bus to recognize that an idle time has occurred, and a modified line that stores the data and address of the correction state held by the cache memory An automatic write-back cycle generation cache device having a memory.
【請求項2】 プロセッサとのインターフェースを制御
するホスト制御部と、メモリ制御部と、キャッシュファ
イルしたデータを格納するキャッシュメモリと、キャッ
シュファイルしたデータのアドレスを格納するタグメモ
リと、アドレスバス上のアドレスとタグメモリの出力と
を比較するアドレスコンパレータと、キャッシュメモリ
が保有する修正状態のデータとデータに対するアドレス
とを格納するモディファイドラインメモリと、キャッシ
ュファイルしたデータの状態を格納するステータスメモ
リと、ライトバックサイクルを実行する際のアドレスを
格納するアドレスバッファと、ライトバックサイクルを
実行する際のデータを格納するライトバックバッファ
と、共有メモリバスのバストラヒィックを常に監視して
空き時間が発生したことを認識するメモリバスモニタ
と、メモリバス上のサイクルを監視するバススヌーブ制
御部と、メモリバスとのインターフェースを制御するバ
ス制御部と、プロセッサと内部アドレスバスとの間に位
置し、アドレスバスのドライブの制御を行なうホストア
ドレスドライバと、プロセッサと内部データバスとの間
に位置し、データバスのドライバの制御を行なうホスト
データドライバと、共有メモリと内部アドレスバスとの
間に位置し、アドレスバスのドライブの制御を行なうメ
モリアドレスドライバと、共有メモリバスと内部データ
バスとの間に位置し、データバスのドライブの制御を行
なうメモリデータドライバとを有することを特徴とする
自動ライトバックサイクル発生キャッシュ装置。
2. A host controller that controls an interface with a processor, a memory controller, a cache memory that stores cached data, a tag memory that stores an address of the cached data, and an address bus. An address comparator that compares the address with the output of the tag memory, a modified line memory that stores the modified state data that the cache memory holds and the address for the data, a status memory that stores the state of the cached data, and a write The address buffer that stores the address when executing the back cycle, the write back buffer that stores the data when executing the write back cycle, and the bus traffic of the shared memory bus are constantly monitored to check if there is any free time. Is located between the processor and the internal address bus, the bus bus snoop controller that monitors the cycles on the memory bus, the bus controller that controls the interface with the memory bus, The host address driver that controls the drive, the host data driver that is located between the processor and the internal data bus, the host data driver that controls the driver of the data bus, and the host address driver that is located between the shared memory and the internal address bus An automatic write-back cycle generation cache having a memory address driver for controlling the drive of the data bus and a memory data driver located between the shared memory bus and the internal data bus for controlling the drive of the data bus. apparatus.
【請求項3】 前記ステータスメモリの内容をサーチす
ることを特徴とする請求項1または2記載の自動ライト
バックサイクル発生キャッシュ装置。
3. The automatic write back cycle generation cache device according to claim 1, wherein the contents of the status memory are searched.
JP4070234A 1992-02-20 1992-02-20 Automatic write-back cycle generation cache device Pending JPH05233455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4070234A JPH05233455A (en) 1992-02-20 1992-02-20 Automatic write-back cycle generation cache device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4070234A JPH05233455A (en) 1992-02-20 1992-02-20 Automatic write-back cycle generation cache device

Publications (1)

Publication Number Publication Date
JPH05233455A true JPH05233455A (en) 1993-09-10

Family

ID=13425678

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4070234A Pending JPH05233455A (en) 1992-02-20 1992-02-20 Automatic write-back cycle generation cache device

Country Status (1)

Country Link
JP (1) JPH05233455A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012127631A1 (en) * 2011-03-22 2012-09-27 富士通株式会社 Processing unit, information processing device and method of controlling processing unit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012127631A1 (en) * 2011-03-22 2012-09-27 富士通株式会社 Processing unit, information processing device and method of controlling processing unit
JP5527477B2 (en) * 2011-03-22 2014-06-18 富士通株式会社 Arithmetic processing device, information processing device, and control method for arithmetic processing device

Similar Documents

Publication Publication Date Title
US5537575A (en) System for handling cache memory victim data which transfers data from cache to the interface while CPU performs a cache lookup using cache status information
US5426765A (en) Multiprocessor cache abitration
JP3352598B2 (en) Microprocessor
JP3289661B2 (en) Cache memory system
US20230214326A1 (en) Computer Memory Expansion Device and Method of Operation
CA2145885A1 (en) Method and apparatus for non-snoop window reduction
JPH09223118A (en) Snoop cache memory control system
JPH09167116A (en) Computer cache system
JPH10154100A (en) Information processing system, device and its controlling method
JPH1031625A (en) Write back buffer for improved copy back performance in multiprocessor system
US5511226A (en) System for generating snoop addresses and conditionally generating source addresses whenever there is no snoop hit, the source addresses lagging behind the corresponding snoop addresses
JPH11272555A (en) Cache memory control system
US5737568A (en) Method and apparatus to control cache memory in multiprocessor system utilizing a shared memory
JP4144990B2 (en) Data processing system and initialization method
JPH10501914A (en) Shared cache memory device
JPH05233455A (en) Automatic write-back cycle generation cache device
JPH06222994A (en) Cache memory system
JPH0816885B2 (en) Cache memory control method
JPH0744459A (en) Cache control method and cache controller
JPH0784879A (en) Cache memory device
JP2001043204A (en) Cache memory controller
JPH0962580A (en) Multi-processor device
JP3039391B2 (en) Memory system
JP2748862B2 (en) Bus interface adapter
JPH08115272A (en) Method and apparatus for remote retrial in data-processing system