JPH031249A - Buffer memory device - Google Patents

Buffer memory device

Info

Publication number
JPH031249A
JPH031249A JP1134593A JP13459389A JPH031249A JP H031249 A JPH031249 A JP H031249A JP 1134593 A JP1134593 A JP 1134593A JP 13459389 A JP13459389 A JP 13459389A JP H031249 A JPH031249 A JP H031249A
Authority
JP
Japan
Prior art keywords
block
address information
buffer memory
memory
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
JP1134593A
Other languages
Japanese (ja)
Inventor
Shuichi Hara
修一 原
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP1134593A priority Critical patent/JPH031249A/en
Publication of JPH031249A publication Critical patent/JPH031249A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To simplify the update processing of a buffer memory by performing the write of block load data on the buffer memory and the registration of block address information and the change of an effective display flag bit with the same timing when a block load processing is performed. CONSTITUTION:When the block load processing is started and coincidence is obtained between the block address information and rewrite address information or an error occurs in the block load data while performing the block load processing, the reset of the effective display bit is performed, and also, neither registration nor update of the block address information are performed. Also, when noncoincidence is obtained between the block address information and the rewrite address information and no error occurs in the block load data, the update of the buffer memory 11 and a directory memory 12 and the reset of the effective flag bit are performed after the entry generation of the block load data is completed. In such a way, it is possible to simplify the processing by attaining the unitary management of the update processing of the buffer memory 11, and to perform efficiently the update processing.

Description

【発明の詳細な説明】 「発明の目的」 (産業上の利用分野) この発明は、主記憶@置の内容の写しを格納保持するバ
ッファメモリ装置に関し、特にブロックロード処理にお
ける更新処理を効率的に行なうバッファメモリiffに
関する。
Detailed Description of the Invention Object of the Invention (Industrial Field of Application) The present invention relates to a buffer memory device that stores and holds a copy of the contents of a main memory, and in particular to an efficient update process in block load processing. This relates to the buffer memory IF performed.

(従来の技術) コンピュータシステム等において用いられているバッフ
ァメモリ装置として(よ、例えば第4図に示すように構
成されたものがある。
(Prior Art) There is a buffer memory device used in computer systems, etc., which is configured as shown in FIG. 4, for example.

第4図に示すバッファメモリ装置において、装置の中心
をな′すバッファメモリ11は、4レベルのセットアソ
シアティブ方式のメモリ構造をなし、主記恰装屑(図示
せず)の一部のブロックデータが格納されている。この
バッファメモリ11に対応して設けられているディレク
トリメモリ12には、バラフンメモリ11に格納されて
いるプロツクデータの主記憶装置上でのアドレス情報(
ブロックアドレス)が、ブロックデータに対応して登録
されている。
In the buffer memory device shown in FIG. 4, the buffer memory 11, which forms the center of the device, has a four-level set associative memory structure, and stores block data of a part of the main memory (not shown). is stored. The directory memory 12 provided corresponding to this buffer memory 11 contains address information (on the main storage device) of the program data stored in the barafun memory 11
block address) is registered corresponding to the block data.

また、主記憶装置とバッファメモリ11との格納データ
を−・致させるために、バッファメモリ11に格納され
ているデータが有効であるか否かを示す有効表示フラグ
ビット■を備えた表示フラグメモリ13が設けられてい
る。この有効表示フラグビットVは、主記憶装置とバッ
ファメモリ11とに格納されているデータが不一致にな
った場合にリセットされる。
In addition, in order to match the data stored in the main storage device and the buffer memory 11, a display flag memory is provided with a valid display flag bit (■) indicating whether or not the data stored in the buffer memory 11 is valid. 13 are provided. This valid display flag bit V is reset when the data stored in the main storage device and the buffer memory 11 do not match.

すなわち、このようなバラノアメモリ装置を゛マルチC
PUシステムや多くのI10装置を有するシステムで利
用する場合には、主CPUの伯のCPUやI10装置か
らの主記憶装置への謁込み要求が監視されている。この
ような監視状態にあって、書換え要求が発生した場合に
は、主記憶装置上での書換えられたアドレスを取(りし
てこのアドレス情報により検索が行なわれる。検索結果
にあって、取得したアドレス情報に対応したデータがバ
ッファメモリ11内に格納されている場合には、有効表
示フラグビットVをリセットする。これにより、バッフ
ァメモリ11内の主記憶装置で書換えられたデータを無
効化している。このような主記憶装置とバッフノアメモ
リとの内容の一致を図るため、有効表示フラグビット■
が用いられている。
In other words, such a Balanoa memory device can be used as a multi-C
When used in a PU system or a system having many I10 devices, requests to the main storage device from the main CPU or I10 devices are monitored. In such a monitoring state, if a rewrite request occurs, the rewritten address on the main memory is retrieved and a search is performed using this address information. If the data corresponding to the address information is stored in the buffer memory 11, the valid display flag bit V is reset.This invalidates the data rewritten in the main storage device in the buffer memory 11. In order to match the contents of the main memory and buffer memory, the valid display flag bit ■
is used.

このような構成において、CPUが主記憶装置に対して
アクセスを行なうと、メモリアドレスがアドレスレジス
タ14に与えられて保持される。
In such a configuration, when the CPU accesses the main memory, a memory address is given to the address register 14 and held there.

保持されたメモリアドレスのうち、カラムアドレス部1
4flによってディレクトリメモリ12のそれぞれのレ
ベルがアクセスされる。ディレクトリメモリ12からレ
ベル毎に読出されたブロックアドレスは、対応する比較
器15に与えられ、アドレスレジスタ14のブロックア
ドレス部14aと各ベル毎に比較される。
Among the retained memory addresses, column address part 1
Each level of directory memory 12 is accessed by 4fl. The block address read out from the directory memory 12 for each level is given to the corresponding comparator 15 and compared with the block address section 14a of the address register 14 for each level.

比較結果において、一致するものがあれば、CPUが主
記憶装置にアクセスしたデータがバッファメモリ11に
存在する(ヒツト)と判断される。
If there is a match in the comparison results, it is determined that the data accessed by the CPU to the main storage device exists in the buffer memory 11 (hit).

このような場合には、バッファメモリ制御回路16の制
御により、アドレスレジスタ14のカラムアドレス部1
411とブロック内アドレス部14Cで示されるバッフ
ァメモリ11のアドレスからアクセスしようとするデー
タが、読出される。
In such a case, the column address section 1 of the address register 14 is controlled by the buffer memory control circuit 16.
The data to be accessed is read from the address of the buffer memory 11 indicated by 411 and the intra-block address section 14C.

一方、比較結果において、一致するものがない場合には
、アクセスしようとするデータがバッファメモリ11に
存在しない(ミスヒツト)と判断される。このような場
合には、ブロックロード処理と呼ばれる一連の処理が行
なわれる。
On the other hand, if there is no match in the comparison result, it is determined that the data to be accessed does not exist in the buffer memory 11 (mishit). In such a case, a series of processing called block load processing is performed.

以下、ブロックロード処理について、第5図に承りタイ
ジングチ1フートを参照して説明する。
Hereinafter, the block loading process will be explained with reference to FIG.

ディレクトリメモリ12の検索を行ない、ミスヒツトし
た場合には、主記憶装置に対してミスヒツトしたブロッ
クアドレスによりデータの読出しが要求される。これと
並行して、主記憶装置から読出されるデータが格納され
るバッファメモリ11の7ドレスに対応したディレクト
リメモリ12のアドレスに0録されたブロックアドレス
が、ミスヒツトしたブロックアドレスに肉換えられて更
新される。さらに、更新されたブロックアドレスに対応
した有効表示フラグビットVがセットされる。その後、
主記憶装置から読出されたブロックデータは、順次バッ
ファメモリ11に書込まれて格納され、ブロック0−ド
処理が終了する。
When the directory memory 12 is searched and there is a miss, a request is made to read data from the main storage device using the block address where the miss occurred. In parallel with this, the block address recorded as 0 in the address of the directory memory 12 corresponding to the 7th address of the buffer memory 11 in which the data read from the main memory is stored is replaced with the block address of the miss. Updated. Further, a valid display flag bit V corresponding to the updated block address is set. after that,
The block data read from the main storage device is sequentially written and stored in the buffer memory 11, and the block 0-read processing is completed.

このようなブロックロード処理にあっては、ブロックデ
ータの読出し要求がなされた後、バッファメモリ装置が
主21装どからのデータを受()ていない場合には、−
度セットされた有効表示フラグビットVをリセットする
ことが可能である。これは、スプリット制御形のシステ
ムバスにおいて、上述したようなバッフ7メ〔すQtf
fiが使用されている場合に特に有効となる。
In such a block load process, after a block data read request is made, if the buffer memory device is not receiving data from the main device, -
It is possible to reset the valid indication flag bit V once set. In a split control type system bus, this is due to the buffer 7 mechanism [Qtf
This is particularly effective when fi is used.

(発明が解決しようとする課題) このように、従来のバッファメモリ装置にあっては、ブ
ロックロード処理において、70ツクアドレスの書換え
及び有効表示フラグビット■のセットを行なった侵、ブ
ロックデータをバッファメモリに潟込んで格納していた
(Problems to be Solved by the Invention) As described above, in the conventional buffer memory device, in the block load process, the block data is stored in the buffer due to the rewriting of the 70 block addresses and the setting of the valid display flag bit. It was stored in memory.

このようなブロック[1−ド処理において、ブロック1
]−ドしたデータにエラーが発生することがある。例え
ば、データのバス転送中にパリティエラーが発生する場
合、または、システムバスを仮想アドレスで構成してい
る場合のページの不在、あるいは、主記憶装置でのパリ
デイエラーの発生等である。このようなエラーがブロッ
クロードされたデータに検出された場合には、プaツク
〇−ドされたデータに対応して先にセットされた有効表
示フラグビットVをリセットしなければならない。
In such block [1-code processing, block 1
] - An error may occur in the read data. For example, a parity error occurs during data bus transfer, a page is absent when the system bus is configured with virtual addresses, or a parity error occurs in the main memory. If such an error is detected in the block-loaded data, the valid indication flag bit V, which was previously set corresponding to the loaded data, must be reset.

このように、従来にあっては、有効表示ピッ1〜のセッ
ト/リセットは2つのタイミングで行なわれτいた。こ
のため、バッファメモリの更新処理が煩雑となり、非効
率的であるという不具合が生じていた。
As described above, conventionally, the valid display pins 1 to 1 are set/reset at two timings τ. As a result, the updating process of the buffer memory becomes complicated and inefficient.

そこで、この発明は、上記に鑑みてなされたものであり
、その目的とするところは、バッフアメ七りの更新処理
の一元化を図ることによって処理を簡略化して、更新処
理を効率良く行なうことができるバッファメモリ装置を
提供することにある。
Therefore, the present invention has been made in view of the above, and its purpose is to simplify the process by unifying the update process of buffer candy and to efficiently perform the update process. An object of the present invention is to provide a buffer memory device.

[発明の構成] (課題を解決づるための手段) 上記目的を達成するために、主記憶装置の内容の写しが
格納されているバッファメモリと、このバッファメモリ
の内容に対応したブロックアドレス情報が登録されてい
るディレクトメモリとを備え、前記主記憶装置の写しが
前記バッファメモリに格納されていない場合にブロック
ロード処理を行ない前記バッファメモリと前記ディレク
トリメモリの更新及びブロックアドレス情報に対応した
有効表示フラグビットのセットを行なうバッファメモリ
装置において、この発明は、ブロックロード処理時のブ
ロックアドレス情報と主記憶装量書換え時の青換えアド
レス情報とが一致しているか否かを検出する検出手段と
、前記検出手段によって一致が検出された場合あるいは
ブロックロードデータのエラーが検出された場合に有効
表示フラグビットをリセットし、前記ブロックアドレス
情報を前記ディレクトリメモリへ登録されるのを禁止す
る制御手段とから構成される。
[Structure of the Invention] (Means for Solving the Problems) In order to achieve the above object, a buffer memory in which a copy of the contents of the main storage device is stored and block address information corresponding to the contents of the buffer memory are provided. a registered directory memory, and performs block load processing when a copy of the main storage device is not stored in the buffer memory, updates the buffer memory and the directory memory, and displays validity corresponding to block address information. In a buffer memory device that sets flag bits, the present invention includes a detecting means for detecting whether block address information during block load processing and blue rewriting address information during main memory capacity rewriting match; control means for resetting a valid display flag bit and prohibiting the block address information from being registered in the directory memory when a match is detected by the detection means or an error in the block load data; configured.

(作用) 上記構成において、この発明は、ブロックロード処理が
開始されて、ブロックロード処理中にブロックアドレス
情報と書換えアドレス情報が一致した場合、あるいはブ
ロックロードデータにエラーが発生した場合には、有効
表示フラグビットのリセットを行ない、かつブロックア
ドレス情報の登録更新を行なわないようにしている。ま
た、ブロックアドレス情報と書換えアドレス情報が一致
せず、ブロックロードデータにエラーが発生しない場合
には、ブロックロードデータのエントリ作成が終了した
後にバッファメモリとディレクトリメモリの更新及び有
効表示フラグビットのセットを行なうようにしている。
(Operation) In the above configuration, the present invention is effective when block load processing is started and block address information and rewrite address information match during block load processing, or when an error occurs in block load data. The display flag bit is reset and block address information is not updated. In addition, if the block address information and rewrite address information do not match and no error occurs in the block load data, update the buffer memory and directory memory and set the valid display flag bit after completing the block load data entry creation. I try to do this.

(実施例) 以下、図面を用いてこの発明の詳細な説明する。(Example) Hereinafter, the present invention will be explained in detail using the drawings.

第1図はこの発明の一実施例に係るバッファメモリ装置
の構成を示すブロック図である。同図に示す装置は、有
効表示フラグビットVをブロックロードされたデータの
最終データの舟込み時に行なうようにしたのである。、
なお、第1図において、第4図と同符号のものは同一機
能を有するものであり、その説明は省略する。
FIG. 1 is a block diagram showing the configuration of a buffer memory device according to an embodiment of the present invention. In the device shown in the figure, the validity display flag bit V is set at the time of loading the final data of the block loaded data. ,
Note that in FIG. 1, components having the same reference numerals as those in FIG. 4 have the same functions, and their explanations will be omitted.

第1図において、バッファメモリ装置は、第4図に示し
た従来のパックアメモリ装置に対して、アドレスレジス
タ14をアドレス選択回路21に置換え、ブロックロー
ドアドレスレジスタ23、アドレス比較器25、制御回
路27を付加した構成としている。
In FIG. 1, the buffer memory device differs from the conventional pack-a-memory device shown in FIG. 27 is added.

アドレス選択回路21は、cpu <図示せず)が主記
憶装置(図示せず)をアクセスするためのメモリアドレ
スを保持するアドレスレジスタを備えている。アドレス
選択回路21は、アドレスレジスタに保持されたメモリ
アドレスと、主CP U以外のCPLJあるいはI10
装置等の主CPLI以外の他の装置が主記憶装置の書換
えを行なった際の古換えアドレス情報を選択する。アド
レス選択回路21は、CPUが主起!!装置をアクセス
した場合には、メモリアドレスを選択し、他の装置によ
る主記憶装置の書換えが行なわれる場合には、書換えア
ドレス情報を選択する。選択されたメモリアドレスは、
そのブロックアドレス部21aが、ブロックロードアド
レスレジスタ23及びアドレス比較器15に与えられる
。また、メモリアドレスのカラムアドレス部21bは、
ディレクトリメモリ12に与えられて検索が行なわれる
The address selection circuit 21 includes an address register that holds a memory address for a CPU (not shown) to access a main memory (not shown). The address selection circuit 21 selects the memory address held in the address register and the CPLJ or I10 other than the main CPU.
Select old address information when a device other than the main CPLI, such as a device, rewrites the main storage device. The address selection circuit 21 is initiated by the CPU! ! When a device is accessed, a memory address is selected, and when the main storage device is rewritten by another device, rewrite address information is selected. The selected memory address is
The block address portion 21a is provided to the block load address register 23 and address comparator 15. In addition, the column address part 21b of the memory address is
The information is applied to the directory memory 12 and searched.

ブロックロードアドレスレジスタ23は、アドレス選択
回路21によって選択され、アドレスレジスタのブロッ
クアドレス部21aに保持されたブロックロードアドレ
スを受けてこれを保持する。
The block load address register 23 receives and holds the block load address selected by the address selection circuit 21 and held in the block address section 21a of the address register.

保持されたブロックロードアドレスはアドレス比較器2
5に与えられる。
The retained block load address is sent to address comparator 2.
given to 5.

アドレス比較器25は、ブロックロードアドレスレジス
タ23に保持されたブロックロードアドレスと、アドレ
ス選択回路21によって選択された古換えアドレス情報
を受けて雨音を比較する。
The address comparator 25 receives the block load address held in the block load address register 23 and the old address information selected by the address selection circuit 21 and compares the rain sound.

すなわち、アドレス比較器25は、ブロックロード処理
中にバス監視による一致化R能が作用した場合に、主記
憶装置の書換えアドレス情報が、ブロックロード処理の
ブロックロードアドレスであるか否かを検出する。アド
レス比較器25は、比較結果において、潔換えアドレス
情報とブロックロードアドレスとが一致した場合に、一
致信号を制御回路27に与える。
That is, the address comparator 25 detects whether the rewrite address information of the main storage device is the block load address of the block load process when the matching R function by bus monitoring is activated during the block load process. . The address comparator 25 provides a match signal to the control circuit 27 when the cleaning address information and the block load address match as a result of the comparison.

制御回路27は、表示フラグメモリ13に備えられた有
効表示フラグビットVのセット/リセット及びブロック
ロードされたブロックデータに対応したアドレス情報の
ディレクトリメモリ12への書込みを制御する乙のであ
る。
The control circuit 27 controls the setting/resetting of the valid display flag bit V provided in the display flag memory 13 and the writing of address information corresponding to block loaded block data into the directory memory 12.

制御回路27は、第2図に承りように、フリップ70ツ
ブ(以下rF/FJと呼ぶ)回路31と、OR(オア)
ゲート33と、謁換え制御回路35とから構成されてい
る。
As shown in FIG. 2, the control circuit 27 includes a flip 70 tube (hereinafter referred to as rF/FJ) circuit 31 and an OR circuit.
It consists of a gate 33 and an audience control circuit 35.

F/F回路31は、ブロックロード処理が開始されたこ
とを示す開始信号によってセットされ、ORゲート33
の出力によりリセットされる。F/F回路31はセット
されると、有効表示フラグビットVのセットを指令する
とともに、ディレクトリメモリ12へのブロックロード
のアドレス情報の川込みを指令づる指令信号を出力する
The F/F circuit 31 is set by a start signal indicating that block load processing has started, and the OR gate 33
It is reset by the output of When set, the F/F circuit 31 outputs a command signal that commands the setting of the valid display flag bit V and also commands the loading of block load address information into the directory memory 12.

ORゲート33は、アドレス比較器25から与えられる
一致信号と、検出信号及び終了信号の論理和をとり、F
/F回路31をリセットする。検出信号は、ブロックロ
ードされたブロックロードデータにエラーが検出された
ことを示す信号である。終了信号は、ブロックロード!
2!l理が終了してエントリの作成が終了したことを示
す信号である。
The OR gate 33 takes the logical sum of the match signal given from the address comparator 25, the detection signal, and the end signal, and
/F circuit 31 is reset. The detection signal is a signal indicating that an error has been detected in block loaded data. The end signal is block road!
2! This is a signal indicating that the process has been completed and the entry creation has ended.

古込み制御回路35は、F/F回路31から出力される
指令信号によって、ブロックロードアドレスに対応した
荷動表示フラグビットVをセットする。また、閤込み制
御回路35は、アドレス選択回路21のアドレスレジス
タのブロックアドレス部21に保持されたアドレス情報
のデイレクトツメモリ12への占込みを制御する。
The obsolete control circuit 35 sets the load movement display flag bit V corresponding to the block load address in response to the command signal output from the F/F circuit 31. Further, the loading control circuit 35 controls loading of the address information held in the block address section 21 of the address register of the address selection circuit 21 into the direct memory 12.

以上説明したように、この発明の一実施例は構成されて
おり、次にこの実施例の作用を第3図に示すタイミング
チャートを参照して説明する。
As explained above, one embodiment of the present invention is constructed, and the operation of this embodiment will now be explained with reference to the timing chart shown in FIG.

ディレクトリメモリ12の検索が行なわれて、ミスヒツ
トした場合には、ブロックロード処理を開始させる開始
信号が出力されて、ブロック1コード処即が開始される
。開始信号はF/F回路31に与えられる。F/F回路
31は主記憶から読出されたブロックデータのエントリ
の作成が終了しない間は終了信号がORゲート33に与
えられないので、りけット状態となっている。これによ
り、指令信号はF/F回路31から書換え制御回路に出
力されないことになる。したがって、ブロックロード処
理が開始されても、有効表示フラグビットVのセット及
びブロックデータに対応したアドレス情報の書込みは行
なわれない。
When the directory memory 12 is searched and there is a miss, a start signal for starting block load processing is output, and block 1 code processing is started. The start signal is given to the F/F circuit 31. The F/F circuit 31 is in a critical state because the completion signal is not applied to the OR gate 33 until the creation of an entry for the block data read from the main memory is completed. As a result, the command signal is not output from the F/F circuit 31 to the rewriting control circuit. Therefore, even if block load processing is started, the valid display flag bit V is not set and the address information corresponding to the block data is not written.

ブロックロード処理が開始されて、主記憶装置から読出
されたデータにエラーが検出された場合には、エラーの
検出を示す検出信号がORゲート33に与えられる。こ
れにより、F/F回路31はリセット状態となる。すな
わら、主2vi装置から読出されたデータがすべてバッ
ファメモリ11に格納されてエントリーの作成が終了し
、終了信号がF/F回路31に与えられても、F/F回
路31は検出信号によりリセット状態を保持する。
When block load processing is started and an error is detected in the data read from the main memory, a detection signal indicating the detection of an error is provided to OR gate 33. As a result, the F/F circuit 31 enters a reset state. In other words, even if all the data read from the main 2vi device is stored in the buffer memory 11 and entry creation is completed and the end signal is given to the F/F circuit 31, the F/F circuit 31 does not receive the detection signal. The reset state is maintained by

したがって、ブロックロード処理中であっても、主記憶
装置から読出されたデータにエラーが発とトした場合に
は、有効表示フラグビットVのセット及びディレクトリ
メモリ12へのtl込みは行なわれない。
Therefore, even during block load processing, if an error occurs in the data read from the main memory, the valid display flag bit V is not set and tl is not written into the directory memory 12.

また、ブロックロード処理が開始されて、バス監視によ
る一致化機能が作用づると、ブロックロードアドレスレ
ジスタ23に保持されたブロックロードアドレスと、ア
ドレス選択回路21によって選択された出換えアドレス
情報が、アドレス比較器25に与えられて比較される。
Further, when block load processing is started and the matching function based on bus monitoring is activated, the block load address held in the block load address register 23 and the replacement address information selected by the address selection circuit 21 are The signal is applied to a comparator 25 for comparison.

比較結果において、ブロックロードアドレスと閲換えア
ドレス情報が一致した場合には、主記憶装置のブロック
ロードアドレスへの他の装置からの書換えが行なわれる
と判別され、一致信号がORゲート33に与えられる。
As a result of the comparison, if the block load address and the review address information match, it is determined that the block load address of the main storage device is to be rewritten from another device, and a match signal is given to the OR gate 33. .

これにより、F/F回路31はリセット状態となる。す
なわち、終了信号がF/F回路31に与えられても、F
/F回路31は一致信号によりリセット状態を保持する
ことになる。したがって、主記憶装置のブロックロード
アドレスへの書換えが行なわれた場合には、主記憶装置
から読出されたブロックデータが無効となるため、有効
表示フラグビットVのセット及びディレクトリメモリ1
2への占込みは行なわれない。
As a result, the F/F circuit 31 enters a reset state. That is, even if the end signal is given to the F/F circuit 31, the F/F circuit 31
The /F circuit 31 is held in a reset state by the match signal. Therefore, when the main memory is rewritten to the block load address, the block data read from the main memory becomes invalid, so the valid display flag bit V is set and the directory memory 1
Fortune-telling to 2 is not performed.

方、一致信号及び検出信号がORゲート33に与えられ
ることなく、ブロックロード処理が終了して、終了信号
がORゲート33に与えられると、F/F回路31は開
始信号によってセット状態となる。これにより、指令信
号が書換え制御回路35に与えられ、2)換え制御回路
35によってブロックデータに対応したアドレス情報が
ディレクトリメモリ12に書込まれるとともに、ディレ
クトリメモリ12に書込まれたアドレス情報に対応した
有効表示フラグビットVがセットされる。
On the other hand, when the block load processing is completed without the coincidence signal and the detection signal being given to the OR gate 33 and the completion signal is given to the OR gate 33, the F/F circuit 31 is placed in a set state by the start signal. As a result, a command signal is given to the rewrite control circuit 35, and 2) the rewrite control circuit 35 writes address information corresponding to the block data to the directory memory 12, and also corresponds to the address information written to the directory memory 12. The valid display flag bit V is set.

したがって、ブロックロード処理において、ブロックロ
ードされたブロックデータのバラフンツメモリ11への
円込みと、ブロックデータに対応したアドレス情報のブ
イレフトリメ七り12へのσ録及び、アドレス情報に対
応した有効表示フラグビットVのセットが同一のタイミ
ングによって行なわれることになる。
Therefore, in the block load process, the loaded block data is transferred to the barafunz memory 11, the address information corresponding to the block data is stored in the block data memory 12, and the valid display flag corresponding to the address information is stored. Bit V is set at the same timing.

[発明の効果] 以上説明したように、この発明を適用したバッファメモ
リ装置によれば、ブロックロード処理時に、バッファメ
モリへのブロックロードデータの占込みと、ブロックア
ドレス情報の登録及び有効表示フラグビットの変更を同
一のタイミングで行なうことが可能となる。これにより
、バッファメモリの更新処理が一元化されて簡略化され
、更新!2!l埋を効果的に行なうことができるように
なる。
[Effects of the Invention] As explained above, according to the buffer memory device to which the present invention is applied, during block load processing, block load data is occupied in the buffer memory, block address information is registered, and a valid display flag bit is set. changes can be made at the same timing. This centralizes and simplifies the buffer memory update process, allowing you to update! 2! This makes it possible to effectively perform burying.

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

第1図はこの発明の一実施例に係るバッファメモリ装置
の構成を示すブロック図、第2図は第1図に示す装置の
要部構成を示ず図、第3図は第1図に示す5A置のタイ
ミングチャート、第4図は従来のバッファメモリ装置の
一構成を示すブロック図、第5図は第4図に示ず装置の
タイミングチャートである。 11・・・バッファメモリ 12・・・ディレクトリメモリ 13・・・表示フラグメモリ 21・・・アドレス選択回路 23・・・ブロックロードアドレスレジスタ25・・・
アドレス比較器 27・・・制御回路 31・・・F/F回路 33・・・ORゲート 35・・・書換え制御回路 代理人 弁理士 三 好  秀 和 ミスヒツト 開始信号 第2 図 第3図 第4 図
FIG. 1 is a block diagram showing the configuration of a buffer memory device according to an embodiment of the present invention, FIG. 2 is a diagram that does not show the main part configuration of the device shown in FIG. 1, and FIG. 3 is the same as shown in FIG. 1. FIG. 4 is a block diagram showing one configuration of a conventional buffer memory device, and FIG. 5 is a timing chart of a device not shown in FIG. 4. 11...Buffer memory 12...Directory memory 13...Display flag memory 21...Address selection circuit 23...Block load address register 25...
Address comparator 27...Control circuit 31...F/F circuit 33...OR gate 35...Rewriting control circuit Agent Patent attorney Hide Miyoshi Mishit start signal Figure 2 Figure 3 Figure 4

Claims (1)

【特許請求の範囲】 主記憶装置の内容の写しが格納されているバッファメモ
リと、このバッファメモリの内容に対応したブロックア
ドレス情報が登録されているディレクトメモリとを備え
、前記主記憶装置の写しが前記バッファメモリに格納さ
れていない場合にブロックロード処理を行ない前記バッ
ファメモリと前記ディレクトリメモリの更新及びブロッ
クアドレス情報に対応した有効表示フラグビットのセッ
トを行なうバッファメモリ装置において、ブロックロー
ド処理時のブロックアドレス情報と主記憶装置書換え時
の書換えアドレス情報とが一致しているか否かを検出す
る検出手段と、前記検出手段によつて一致が検出された
場合あるいはブロックロードデータのエラーが検出され
た場合に有効表示フラグビットをリセットし、前記ブロ
ックアドレス情報を前記ディレクトリメモリへ登録され
るのを禁止する制御手段と、 を有することを特徴とするバッファメモリ装置。
[Scope of Claims] A buffer memory in which a copy of the contents of the main storage device is stored, and a directory memory in which block address information corresponding to the contents of the buffer memory is registered; In a buffer memory device that performs a block load process when the block address information is not stored in the buffer memory, updates the buffer memory and the directory memory, and sets a valid display flag bit corresponding to block address information. a detection means for detecting whether the block address information and the rewrite address information when rewriting the main memory device match; and a detection means for detecting whether a match is detected by the detection means or an error in block load data is detected. A buffer memory device comprising: control means for resetting a valid display flag bit and prohibiting the block address information from being registered in the directory memory when the block address information is registered in the directory memory.
JP1134593A 1989-05-30 1989-05-30 Buffer memory device Pending JPH031249A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1134593A JPH031249A (en) 1989-05-30 1989-05-30 Buffer memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1134593A JPH031249A (en) 1989-05-30 1989-05-30 Buffer memory device

Publications (1)

Publication Number Publication Date
JPH031249A true JPH031249A (en) 1991-01-07

Family

ID=15132015

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1134593A Pending JPH031249A (en) 1989-05-30 1989-05-30 Buffer memory device

Country Status (1)

Country Link
JP (1) JPH031249A (en)

Similar Documents

Publication Publication Date Title
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
JP2618175B2 (en) History table of virtual address translation prediction for cache access
US8499123B1 (en) Multi-stage pipeline for cache access
US6321328B1 (en) Processor having data buffer for speculative loads
JP3045952B2 (en) Full associative address translator
JP2001188706A (en) Disk controller
US6859860B2 (en) Control circuits comparing index offset and way for cache system and method of controlling cache system
EP0173909B1 (en) Look-aside buffer least recently used marker controller
JP4047281B2 (en) How to synchronize cache memory with main memory
US6745313B2 (en) Absolute address bits kept in branch history table
JPH031249A (en) Buffer memory device
JP3733604B2 (en) Cache memory
EP0271187A2 (en) Split instruction and operand cache management
JPS629945B2 (en)
JPS6161143B2 (en)
JP2700147B2 (en) Instruction cache flash on REI control
JPH04333929A (en) Cache memory control system
JP2845762B2 (en) Hierarchical buffer memory device
JPH08161226A (en) Data look-ahead control method, cache controller and data processor
JP2902847B2 (en) Self-modifying code execution method
JPH0337745A (en) Cache memory controller
JP2000347934A (en) Cache memory device
JPH02259945A (en) Storing processing system
JPH02183847A (en) Control circuit for cache memory purge
JPH03271859A (en) Information processor