[go: up one dir, main page]

JPH05265859A - Buffer storage error processing system - Google Patents

Buffer storage error processing system

Info

Publication number
JPH05265859A
JPH05265859A JP4064781A JP6478192A JPH05265859A JP H05265859 A JPH05265859 A JP H05265859A JP 4064781 A JP4064781 A JP 4064781A JP 6478192 A JP6478192 A JP 6478192A JP H05265859 A JPH05265859 A JP H05265859A
Authority
JP
Japan
Prior art keywords
error
unit
tag
block
flag
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.)
Granted
Application number
JP4064781A
Other languages
Japanese (ja)
Other versions
JP3171639B2 (en
Inventor
Yoshie Arai
美枝 荒井
Tetsuya Morioka
哲哉 森岡
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP06478192A priority Critical patent/JP3171639B2/en
Publication of JPH05265859A publication Critical patent/JPH05265859A/en
Application granted granted Critical
Publication of JP3171639B2 publication Critical patent/JP3171639B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

(57)【要約】 【目的】バッファ記憶上にエラーが発生した時、ムーブ
アウト又はブロックの無効化を行いエラー処理を行なう
バッファ記憶エラー処理方式を提供する。 【構成】バッファ記憶装置13は、中央処理装置1から
の要求によりアクセスされデータを登録するデータ部1
4b、エントリーを管理するとともにブロックアドレス
を登録する第1のタグ部14、他の装置からの要求によ
りアクセスされ且つ第1のタグ部14と同一内容を有す
る第2のタグ部15とを備えている。第1のタグ部14
でエラーが検出された場合には、第2のタグ部15の情
報を用いてムーブアウトをあるいはブロックの無効化を
行い、第2のタグ部15でエラーが検出された場合は、
第1の情報を用いてムーブアウトあるいはブロックの無
効化を行なうよう構成する。
(57) [Abstract] [Purpose] To provide a buffer storage error processing method for performing error processing by moving out or invalidating a block when an error occurs in buffer storage. A buffer storage device 13 is a data unit 1 which is accessed by a request from the central processing unit 1 and registers data.
4b, a first tag unit 14 that manages entries and registers a block address, and a second tag unit 15 that is accessed by a request from another device and has the same contents as the first tag unit 14 There is. First tag section 14
If an error is detected in, the moveout or block invalidation is performed using the information of the second tag unit 15, and if an error is detected in the second tag unit 15,
The first information is used to move out or invalidate the block.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、セットアソシアティブ
型のストアイン方式のバッファ記憶装置を備える1つ又
は複数の中央処理装置が、1つ又は複数の主記憶装置を
共用するデータ処理装置において、バッファ記憶装置に
おいてエラーが発生した時に、処理を再開するためのバ
ッファ記憶エラー処理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing device in which one or a plurality of central processing units provided with a set-associative store-in type buffer storage device share one or a plurality of main storage devices. The present invention relates to a buffer storage error processing method for restarting processing when an error occurs in a buffer storage device.

【0002】[0002]

【従来の技術】従来、データ処理装置においては、例え
ば低速・大容量の記憶素子を用いた主記憶装置と、高速
・少容量の記憶素子を用いたバッファ記憶装置のように
記憶装置を階層化している。バッファ記憶装置は、主記
憶装置上のデータを細分化したブロックの写しを持ち、
処理装置から記憶装置に対する見かけ上のアクセスを高
速化している。
2. Description of the Related Art Conventionally, in a data processing device, a storage device is hierarchized, for example, a main storage device using a low speed / large capacity storage element and a buffer storage device using a high speed / small capacity storage element. ing. The buffer storage has a copy of the blocks that subdivide the data on the main storage,
The apparent access from the processing device to the storage device is accelerated.

【0003】通常、バッファ記憶装置のマッピングに
は、セットアソシアティブ方式が用いられている。この
セットアソシアティブ方式では、前記ブロックのアドレ
スの一部を用いてアクセスされるライン上に複数のWA
Yを設け、その各WAYにデータ及びラインアドレスに
用いたビットを除くブロックアドレスを登録する。この
データを登録する部分をデータ部と呼び、ブロックアド
レスを登録する部分をタグ部と呼ぶ。
Usually, a set associative method is used for mapping the buffer storage device. In this set associative method, a plurality of WAs are accessed on a line accessed by using a part of the address of the block.
Y is provided, and the block address excluding the bits used for the data and line address is registered in each WAY. The part that registers this data is called the data part, and the part that registers the block address is called the tag part.

【0004】一方、バッファ記憶装置の制御には、大き
く分類して(1)ストアスルー方式と(2)ストアイン
(スワップ)方式の2つがある。 (1)ストアスルー方式では、フェッチアクセスにおい
ては、対象ブロックがバッファ記憶装置にない場合に
は、主記憶装置からバッファ記憶装置にブロックのムー
ブインを行い、ストアアクセスにおいては、バッファ記
憶装置にストア先のブロックがある場合には、バッファ
記憶装置と主記憶装置の両者にストアを行い、ストア先
のブロックがない場合には、主記憶装置のみにストアを
行う。 (2)これに対して、ストアイン方式では、フェッチア
クセス及びストアアクセス共に、バッファ記憶装置に対
象ブロックがなかった場合には、主記憶装置からムーブ
インを行い、ストアアクセスの時は、バッファ記憶装置
へのみストアを行う。そしてムーブインの際、置き換え
対象になるブロックが、過去にストアがなされたブロッ
クであった場合、あるいは主記憶装置を共有する他の処
理装置が、未だ主記憶装置にストアが反映されていない
ブロックを必要とした場合には、バッファ記憶装置から
主記憶装置への当該ブロックのムーブアウトを行う。
On the other hand, control of the buffer storage device is roughly classified into two types: (1) store-through system and (2) store-in (swap) system. (1) In the store-through method, in fetch access, if the target block is not in the buffer storage device, the block is moved in from the main storage device to the buffer storage device, and in store access, it is stored in the buffer storage device. If there is such a block, the data is stored in both the buffer storage device and the main storage device, and if there is no block to be stored, the data is stored only in the main storage device. (2) On the other hand, in the store-in method, both fetch access and store access perform move-in from the main storage device when there is no target block in the buffer storage device, and during store access, the buffer storage device Store only to. Then, at the time of move-in, if the block to be replaced is a block that has been stored in the past, or another processing device that shares the main memory stores a block that has not yet been stored in the main memory. If necessary, the block is moved out from the buffer storage device to the main storage device.

【0005】このような両方式を比較した場合に、
(1)ストアスルー方式は、ムーブアウト操作が不要で
あるから、ストアイン方式と比べて制御が簡単である。
また、バッファ記憶装置でエラーが発生しても、ストア
が反映された最新のデータが、主記憶装置にあるから、
バッファ記憶装置内のブロックを無効化するだけで、エ
ラーが発生した時の処理を行なうことができる。
When comparing these two equations,
(1) Since the store-through method does not require a move-out operation, it is easier to control than the store-in method.
Even if an error occurs in the buffer storage device, the latest data reflecting the store is in the main storage device,
Only when the block in the buffer storage device is invalidated, the processing when the error occurs can be performed.

【0006】しかし、処理装置によるストアアクセスが
ある毎に、主記憶装置に対するストアが発生するため、
特に主記憶装置を共有する処理装置が増加すると、主記
憶装置に対するアクセス待ち時間が増大するという問題
があった。このため、主記憶装置を共有する処理装置が
多い場合には、一般的には(2)ストアイン方式のバッ
ファ記憶装置を採用する。
However, each time the processor accesses the store, a store to the main memory occurs,
In particular, when the number of processors sharing the main memory increases, there has been a problem that the waiting time for accessing the main memory increases. Therefore, when there are many processing devices sharing the main storage device, the (2) store-in type buffer storage device is generally adopted.

【0007】しかし、バッファ記憶装置においてエラー
が発生した場合、最新のデータは、このバッファ記憶装
置にあるのみであるから、エラーが発生した時の処置に
おいてバッファ記憶装置内のブロックを無効化できない
という問題があった。また、前述したエラーとしては、
例えば半導体メモリでは、α線等の影響により、メモリ
に記憶した値が化けるソフトエラーが発生することがあ
る。このソフトエラー対策の1つとして、ECC(Erro
r Checking and Correction)コードをデータに付加す
ることが行われている。ECCの付加は、主記憶装置や
マイクロプログラムを格納しておく処理装置内のコント
ロールメモリ等へ広く適用されている。
However, when an error occurs in the buffer storage device, since the latest data is only in this buffer storage device, it is impossible to invalidate the block in the buffer storage device as a measure when the error occurs. There was a problem. Also, as the error mentioned above,
For example, in a semiconductor memory, a soft error in which a value stored in the memory is garbled may occur due to the influence of α rays or the like. As one of the measures against this soft error, ECC (Erro
r Checking and Correction) code is added to the data. The addition of ECC is widely applied to a main memory and a control memory in a processing device that stores a microprogram.

【0008】しかしながら、データ部分の他のECCコ
ード部として余分な半導体メモリを必要とし、またEC
Cコードの生成あるいはECCコードによる誤り訂正の
ために、多くのハードウェアを必要とする。このため、
バッファ記憶装置を構成する上で物量制限がある場合に
は、このECCコードを用いるのは困難であった。
However, an extra semiconductor memory is required as another ECC code part of the data part, and
A lot of hardware is required to generate a C code or to correct an error by an ECC code. For this reason,
It is difficult to use this ECC code when the buffer storage device has a physical quantity limitation.

【0009】[0009]

【発明が解決しようとする課題】さらに、(2)ストア
イン方式の記憶装置においては、バッファ記憶装置に格
納されている内容は、主記憶装置の内容とは無関係に変
更されている可能性がある。このため、バッファ記憶装
置でエラーが発生した時は、バッファ記憶装置内でエラ
ーを訂正して再アクセス可能な状態にしなければならな
い。
Further, (2) in the store-in type storage device, the contents stored in the buffer storage device may be changed irrespective of the contents of the main storage device. is there. Therefore, when an error occurs in the buffer storage device, the error must be corrected in the buffer storage device to make it accessible again.

【0010】あるいは、エラーを訂正してバッファ記憶
装置の内容を主記憶装置に戻し、バッファ記憶装置を無
効化する必要があった。しかし、戻すべき主記憶上の位
置を示す情報そのものが壊れていた場合には、バッファ
記憶装置の内容を主記憶装置に戻すことができなかっ
た。このため、処理を続行できないから、ハードエラー
として割り込みをかけることにより、処理を続行するよ
うにしていた。
Alternatively, it was necessary to correct the error, return the contents of the buffer storage device to the main storage device, and invalidate the buffer storage device. However, if the information itself indicating the position on the main memory to be returned is corrupted, the contents of the buffer storage device could not be returned to the main storage device. For this reason, the processing cannot be continued. Therefore, the processing is continued by issuing an interrupt as a hard error.

【0011】本発明の目的は、バッファ記憶装置にエラ
ーが発生した場合であっても、ムーブアウトまたはブロ
ックの無効化を行い、エラーの発生状態を回避すること
のできるバッファ記憶エラー処理方式を提供することに
ある。
An object of the present invention is to provide a buffer storage error processing method capable of avoiding an error occurrence state by performing moveout or block invalidation even when an error occurs in the buffer storage device. To do.

【0012】[0012]

【課題を解決するための手段】本発明は前記課題を解決
するために次のような構成とした。図1は本発明の原理
図である。図1において、記憶制御ユニット13は、命
令制御ユニット11からの要求により流れるメインパイ
プラインに同期してアクセスされデータを登録するデー
タ部14bと、エントリーを管理するとともに、ブロッ
クアドレスを登録する第1のタグ部14と、他の装置か
らの要求によりアクセスされ且つ前記第1のタグ部14
と同一内容を有する第2のタグ部15とを備えている。
The present invention has the following constitution in order to solve the above problems. FIG. 1 shows the principle of the present invention. In FIG. 1, the storage control unit 13 stores a data portion 14b that is accessed in synchronization with a main pipeline that flows in response to a request from the instruction control unit 11 and registers data, and a first portion that manages an entry and registers a block address. Tag unit 14 of the first tag unit 14 that is accessed by a request from another device and
The second tag unit 15 having the same content as the above.

【0013】前記第1のタグ部14及び第2のタグ部1
5は、そのブロックが変更可能であることを示す排他フ
ラグEと、そのブロックが変更されたことを示す変更フ
ラグCと、そのブロックの主記憶上のアドレスの一部を
示すアドレス部の各々について、エラーを検出した場合
に、どの部分のエラーかを発見可能にすべく、独立にパ
リティビットを有している。
The first tag portion 14 and the second tag portion 1
Reference numeral 5 indicates each of an exclusive flag E indicating that the block can be changed, a change flag C indicating that the block has been changed, and an address part indicating a part of the address on the main memory of the block. , When an error is detected, it has a parity bit independently so that which part of the error can be found.

【0014】前記第1のタグ部14でエラーが検出され
そのエラーがアドレス部のものである場合は、排他フラ
グ(E)と前記変更フラグCがオンである場合に、前記
第2のタグ部15の情報を用いてムーブアウトを行うよ
う構成した。より好適には、以下のようにするのが望ま
しい。すなわち、前記第2のタグ部15でエラーが検出
されそのエラーがアドレス部のものである場合は、排他
フラグ(E)と前記変更フラグCがオンである場合に、
前記第1のタグ部14の情報を用いてムーブアウトを行
うよう構成する。
If an error is detected in the first tag unit 14 and the error is in the address unit, and if the exclusive flag (E) and the change flag C are on, the second tag unit is It was configured to perform moveout using 15 pieces of information. More preferably, the following is desirable. That is, when an error is detected in the second tag section 15 and the error is in the address section, when the exclusive flag (E) and the change flag C are on,
The move-out is performed using the information of the first tag unit 14.

【0015】また、前記第1のタグ部14または前記第
2のタグ部15にエラーが発生し、前記排他フラグEに
エラーがなく、かつ排他フラグEがオフである場合に、
そのブロックの無効化を行うよう構成する。さらに、前
記第1のタグ部14にエラーが発生した時、そのエラー
が排他フラグ(E)もしくは変更フラグ(C)のもので
あった場合、前記第2のタグ部15のアクセスにおい
て、前記排他フラグEがオフであった時は、当該ブロッ
クの無効化を行い、前記第2のタグ部15にエラーが発
生した時、そのエラーが排他フラグ(E)または変更フ
ラグ(C)ものであった場合、前記第1のタグ部14の
アクセスにおいて、前記排他フラグEがオフであった時
は、当該ブロックの無効化を行うよう構成する。
When an error occurs in the first tag unit 14 or the second tag unit 15, the exclusion flag E has no error, and the exclusion flag E is off,
It is configured to invalidate the block. Further, when an error occurs in the first tag unit 14 and the error is the exclusion flag (E) or the change flag (C), the exclusion is performed in the access of the second tag unit 15. When the flag E is off, the block is invalidated, and when an error occurs in the second tag unit 15, the error is the exclusive flag (E) or the change flag (C). In this case, in the access of the first tag unit 14, when the exclusive flag E is off, the block is invalidated.

【0016】[0016]

【作用】本発明によれば、中央処理装置内の命令制御ユ
ニットIU11からの要求においてアクセスされる第1
のタグ部、記憶制御装置からの要求においてアクセスさ
れる第1のタグ部と同一内容を持つ第2のタグ部を有す
るストアイン方式のバッファ記憶において、一方のタグ
部でエラーが検出された場合には他方のタグ部の情報を
参照して主記憶装置上にムーブアウトを行うので、エラ
ー時の処理が行える。
According to the present invention, the first accessed in the request from the instruction control unit IU11 in the central processing unit.
When an error is detected in one of the tag units in the store-in buffer storage having the second tag unit having the same content as the first tag unit accessed in the request from the storage controller Since the move-out is performed on the main storage device by referring to the information of the other tag portion, the error process can be performed.

【0017】また、各タグ部で排他フラグE、変更フラ
グCにエラーがなく、かつそのブロックが未変更の状態
である時、単に当該ブロックを無効化することで、エラ
ー処理が行える。また、一方のタグ部の排他フラグE、
変更フラグCでエラーが検出された場合の他方のタグア
クセスにおいて、当該ブロックが未変更であった場合に
も、単に当該ブロックを無効化することで、エラー時の
処理を行える。
Further, when there is no error in the exclusive flag E and the change flag C in each tag section and the block is in the unchanged state, the error processing can be performed by simply invalidating the block. Also, the exclusive flag E of one tag part,
In the other tag access when the error is detected by the change flag C, even when the block is not changed, the process at the time of error can be performed by simply invalidating the block.

【0018】このように、独立した処理装置のパイプラ
インに同期させて使用するために設けた2つのタグ部が
同一内容を有することに着目して、エラー時の処理に用
いることで、継続して処理できるという画期的な効果を
奏する。
In this way, paying attention to the fact that the two tag parts provided for use in synchronization with the pipeline of the independent processing device have the same contents, and by using them for the processing at the time of error, it is possible to continue. It has an epoch-making effect that can be processed.

【0019】[0019]

【実施例】以下、本発明の具体的な実施例について説明
する。図2は本発明に係るバッファ記憶エラー処理方式
を実現するためのマルチプロセッサシステムによるデー
タ処理装置の一実施例の構成ブロック図である。図2に
おいて、6つの中央処理装置(CPU0〜CPU5)1は、記憶
制御装置3を介して主記憶装置MSU2に接続され、各中
央処理装置(CPU0〜CPU5)1が主記憶装置MSU2を共有
するようになっている。
EXAMPLES Specific examples of the present invention will be described below. FIG. 2 is a block diagram showing the configuration of an embodiment of a data processing device by a multiprocessor system for realizing the buffer storage error processing system according to the present invention. In FIG. 2, six central processing units (CPU0 to CPU5) 1 are connected to a main storage unit MSU2 via a storage control unit 3, and each central processing unit (CPU0 to CPU5) 1 shares the main storage unit MSU2. It is like this.

【0020】主記憶装置MSU2内の主記憶データは、各
中央処理装置(CPU0〜CPU5)1毎に、後述するローカル
バッファストレッジLBS16にムーブインしている。例
えば中央処理装置CPU0,CPU2は、主記憶上の同じデータ
を後述するローカルバッファストレッジLBS16にムー
ブインし、共有状態となっている。また、中央処理装置
CPU1,CPU3 ,CPU4は、主記憶上のそれぞれ違うデータを
ローカルバッファストレッジLBS16にムーブインし、
排他状態となり、中央処理装置CPU5は、主記憶上のある
データをローカルバッファストレッジLBS16にムーブ
インし、更新状態となっている。なお、中央処理装置1
は1つであってもよい。
The main storage data in the main storage unit MSU2 is moved into a local buffer storage LBS16, which will be described later, for each central processing unit (CPU0 to CPU5) 1. For example, the central processing units CPU0 and CPU2 move the same data on the main memory into a local buffer storage LBS16, which will be described later, and are in a shared state. Also, the central processing unit
CPU1, CPU3, CPU4 move different data in main memory to local buffer storage LBS16,
In the exclusive state, the central processing unit CPU5 moves some data in the main memory into the local buffer storage LBS16 and is in the updated state. The central processing unit 1
May be one.

【0021】図3に、各々の中央処理装置CPU1の詳細
な構成及びその周辺回路を示す。中央処理装置CPU1
は、中央処理装置CPU1のパイプライン全体の制御とバ
ッファをアクセスするためのアドレス計算を行なう命令
制御ユニットIU11と、演算実行ユニットEU12、記憶
制御ユニットSU13からなる。記憶制御ユニットSU13
は、ストアバッファ17、TAG1部14とTAG2部
15とLBSデータ部14bを有するローカルバッファ
ストレッジLBS16、MCUオーダスタックMOS18、ム
ーブアウトバッファ19、MCUオーダ完了報告バッフ
ァMRB20を有し、命令制御ユニットIU11からのメモ
リアクセスに際し、必要とするブロックが、LBSデー
タ部14b上に存在するかどうかを判断し、ここに対象
とする主記憶データのブロックが存在する場合には、如
何なる状態で何処に存在しているのかを調べるためにT
AG1部14を検索し、その結果を命令制御ユニットIU
11に報告する。
FIG. 3 shows the detailed structure of each central processing unit CPU 1 and its peripheral circuits. Central processing unit CPU1
Is composed of an instruction control unit IU11 for controlling the entire pipeline of the central processing unit CPU1 and an address calculation for accessing a buffer, an operation execution unit EU12, and a storage control unit SU13. Storage control unit SU13
Includes a store buffer 17, a local buffer storage LBS16 having a TAG1 unit 14, a TAG2 unit 15, and an LBS data unit 14b, an MCU order stack MOS 18, a moveout buffer 19, and an MCU order completion report buffer MRB20. At the time of the memory access, it is judged whether or not the necessary block exists on the LBS data section 14b, and if the target main memory data block exists here, in what state and where it exists. T to check if there is
The AG1 unit 14 is searched and the result is the instruction control unit IU.
Report to 11.

【0022】TAG1部14は、命令制御装置IU11か
らの要求により流れるメインパイプラインに同期してア
クセスされエントリを管理する。TAG2部15は、T
AG1部14と同一内容を持ち、記憶制御装置MCU3か
らの要求により流れるTAG2パイプラインに同期して
アクセスされ、ムーブアウト要求(MO要求)やバッフ
ァ無効化要求(BI要求)の処理等で用いる。本実施例
では、これら2つのTAG部14、15が、同一内容を
持つことに着目して、互いの情報を参照してバッファ記
憶エラー時の処理を行うことを特徴としている。
The TAG1 section 14 is accessed in synchronization with the main pipeline flowing in response to a request from the instruction control unit IU11, and manages entries. TAG2 part 15 is T
It has the same contents as the AG1 unit 14 and is accessed in synchronization with the TAG2 pipeline flowing in response to a request from the storage control unit MCU3, and is used for processing moveout requests (MO requests) and buffer invalidation requests (BI requests). The present embodiment is characterized in that the two TAG units 14 and 15 have the same contents, and perform processing at the time of a buffer storage error by referring to each other's information.

【0023】<ローカルバッファストレッジLBS16の
構成>図4に、ローカルバッファストレッジLBS16の
詳細な構成図を示す。ローカルバッファストレッジLBS
16は、アドレスレジスタTLAR22、アドレスレジ
スタBLAR23、LDS TAG部14、LBSデー
タ部14b、比較器25、31、タグマッチ部26、ア
ラインセレクタ27、ワードレジスタ28を有してい
る。
<Structure of Local Buffer Storage LBS 16> FIG. 4 shows a detailed structure of the local buffer storage LBS 16. Local buffer storage LBS
16 has an address register TLAR22, an address register BLAR23, an LDS TAG unit 14, an LBS data unit 14b, comparators 25 and 31, a tag matching unit 26, an align selector 27, and a word register 28.

【0024】図5に、TAG1部14の構成の例を示
す。TAG1部14は、例えばブロックサイズを64バ
イトとし、1つの連想レベル(WAYまたはウェイ)が
64エントリーを有するとすれば、4KBの容量を有す
るから、8つの連想レベルでは、32KBの容量を有す
ることになる。このエントリーは、例えばLRU方式に
従って、参照頻度の低いものから主記憶装置MSU2に追い
出されるようになる。
FIG. 5 shows an example of the configuration of the TAG1 section 14. If the TAG1 unit 14 has a block size of 64 bytes, for example, and one associative level (WAY or way) has 64 entries, it has a capacity of 4 KB, so that eight associative levels have a capacity of 32 KB. become. This entry is evicted to the main storage device MSU2 from the one with the lowest reference frequency according to, for example, the LRU method.

【0025】図6に、TAG1部14のエントリーの内
容を示す。64バイトのブロックに対応して1つのエン
トリーが設けられている。1つのエントリーは、そのブ
ロックが有効であることを示す有効フラグVとそのパリ
ティVP、その中央処理装置CPU1がそのブロックを他
の中央処理装置に対して排他的に持っていることを示す
排他制御フラグEとそのパリティEP、そのブロックに
対するストアが行われたことを示す変更フラグCとその
パリティCP、そのブロックの主記憶装置MSU2上のア
ドレスの一部(例えばブロックのアドレスであるビット
1〜25の内、TAGの読み出しに用いるビット20〜
25を引いた残り)を示すアドレスビット(1〜19)
とそのパリティP0〜P2で構成される。
FIG. 6 shows the contents of the entry of the TAG1 part 14. One entry is provided corresponding to a 64-byte block. One entry is a valid flag V indicating that the block is valid, its parity VP, and exclusive control indicating that the central processing unit CPU1 has the block exclusively to another central processing unit. A flag E and its parity EP, a change flag C indicating that the block has been stored and its parity CP, and a part of the address of the block on the main memory MSU2 (for example, bits 1 to 25 which are the addresses of the block). Of bits 20 to be used for reading TAG
Address bits (1 to 19) indicating the remainder after subtracting 25
And its parities P0 to P2.

【0026】なお、排他制御フラグEは、該ブロックへ
の書き込みが可能または不可能かを示し、変更フラグC
は、該ブロックがバッファ記憶にムーブインされてきた
時から未変更または変更(更新)かを示す。主記憶装置
MSU2上のブロックの写しは、そのブロックのアドレス
ビット20〜25で選択される1つのライン上にある8
WAYの内、任意のWAYに置かれる。どのWAYに置
くかは、LRU(Least Recently Used)アルゴリズム
等によって決められる。
The exclusive control flag E indicates whether or not writing to the block is possible, and the change flag C
Indicates whether the block has been unchanged or changed (updated) since it was moved into the buffer storage. Main memory
A copy of the block on MSU2 is on one line selected by address bits 20-25 of that block.
It is placed in any WAY. Which way is to be placed is determined by an LRU (Least Recently Used) algorithm or the like.

【0027】TAG1部14の各出力は、各WAY毎に
設けられた8つの比較器25に入力し、また、各比較器
25には、TLAR22から変換バッファTLBTLB2
4,比較器31を介してアドレスビット1〜19ビット
が入力するようになっている。 なお、TAG2部15
は、図5及び図6に示すようにTAG1部14と同一内
容で構成されている。
Each output of the TAG1 section 14 is input to eight comparators 25 provided for each WAY, and each comparator 25 has a conversion buffer TLBTLB2 from the TLAR22.
4, address bits 1 to 19 are input via the comparator 31. In addition, TAG2 part 15
Are configured with the same contents as the TAG1 unit 14 as shown in FIGS.

【0028】図4に示すLBSデータ部14bは、TA
G1部14に該当するブロックが存在する場合に、TA
G1部14に登録されている該アドレスデータによって
アクセスされ、所望のブロックを読み出してブロック内
のデータを演算制御ユニットEU12へ送り、その事実
を命令制御ユニットIU11へ報告する。 <メインパイプラインに沿った各回路の動作>次に、図
7に、メインパイプラインに沿った各回路の動作の流れ
を示す。図6及び図7を参照してメインパイプラインの
各回路の動作を説明する。
The LBS data portion 14b shown in FIG.
If a block corresponding to the G1 unit 14 exists, TA
Accessed by the address data registered in the G1 unit 14, the desired block is read, the data in the block is sent to the arithmetic control unit EU12, and the fact is reported to the instruction control unit IU11. <Operation of Each Circuit along the Main Pipeline> Next, FIG. 7 shows a flow of operation of each circuit along the main pipeline. The operation of each circuit of the main pipeline will be described with reference to FIGS. 6 and 7.

【0029】<Tサイクル(変換バッファ及びTAGア
クセス)>Tサイクル(変換バッファ及びTAGアクセ
ス)では、アドレスレジスタTLAR22の論理アドレスビ
ット20〜25を用いて、TAG1部14からTAG1
を読み出す。TAG1部14から有効フラグVがオン
(V=1)であって、アドレスビット(1〜19、P0
〜P2)が一致するWAYを探す。
<T cycle (translation buffer and TAG access)> In the T cycle (translation buffer and TAG access), the logical address bits 20 to 25 of the address register TLAR22 are used to output from the TAG1 unit 14 to TAG1.
Read out. The valid flag V is ON (V = 1) from the TAG1 unit 14 and the address bits (1 to 19, P0
~ P2) searches for a matching WAY.

【0030】以下、これを詳細に説明する。命令制御ユ
ニットIU11から送られてくるビット1からビット31ま
での論理アドレスは、TLAR22にセットされ、これ
と並行して下位アドレスのビット0〜ビット19が、変
換バッファTLB24のアクセスのためのラインアドレス
として変換バッファTLB24に入力される。このライン
アドレスの入力に応答して、変換バッファTLB24から
プライマリとオルタネイトの2つのエントリーが同時に
読み出され、比較器31により、読み出される論理アド
レスとEAR22のビット1〜12とが比較される。
This will be described in detail below. The logical address from bit 1 to bit 31 sent from the instruction control unit IU11 is set in the TLAR22, and in parallel with this, bits 0 to 19 of the lower address are the line address for accessing the conversion buffer TLB24. Is input to the conversion buffer TLB24. In response to the input of this line address, two entries of primary and alternate are simultaneously read from the conversion buffer TLB 24, and the comparator 31 compares the read logical address with bits 1 to 12 of the EAR 22.

【0031】TAG1部14は、命令制御ユニットIU1
1から送られてくる論理アドレスのビット20〜25に
よりアクセスされる。仮想アドレス方式では、4Kバイ
ト単位のページアドレス変換を採用する場合には、下位
ビット1〜19はアドレス変換の対象となるが、ビット
20から31は論理アドレスと実アドレスとが同じにな
る。
The TAG1 section 14 is an instruction control unit IU1.
It is accessed by bits 20 to 25 of the logical address sent from 1. In the virtual address method, when page address conversion in units of 4 Kbytes is adopted, lower bits 1 to 19 are subject to address conversion, but bits 20 to 31 have the same logical address and real address.

【0032】従って、命令制御ユニットIU11から送ら
れる論理アドレスのビット20〜25は、実アドレスと
して、LBSデータ部14bをアクセスするために用い
られる。TAG1部14は、LBSデータ部14bに合
わせて、ウェイ0からウェイ7までの8つの連想レベル
から構成され、論理アドレスのビット20〜25の入力
に応答して、ウェイ0からウェイ7に格納されている8
個の実アドレス情報を読み出していく。
Therefore, bits 20 to 25 of the logical address sent from the instruction control unit IU11 are used as a real address to access the LBS data portion 14b. The TAG1 unit 14 is composed of eight associative levels from way 0 to way 7 in accordance with the LBS data portion 14b, and stored in ways 0 to 7 in response to the input of bits 20 to 25 of the logical address. 8
The individual real address information is read out.

【0033】そして、8×2個備えられている比較器2
5により、TAG1部14から読み出される実アドレス
と、変換バッファTLB24から読み出される実アドレス
とが比較される。ここで、比較器25は、比較器31に
より実行される変換バッファTLB24の論理アドレスの
比較結果を待たずに、実アドレスの比較処理に入ること
で、TAG1部14の検索を高速に行なうよう処理す
る。
Then, a comparator 2 provided with 8 × 2
5, the actual address read from the TAG1 unit 14 is compared with the actual address read from the conversion buffer TLB 24. Here, the comparator 25 performs a real address comparison process without waiting for the comparison result of the logical address of the conversion buffer TLB 24 executed by the comparator 31, thereby performing the search of the TAG1 unit 14 at high speed. To do.

【0034】<Bサイクル(バッファアクセス)>Bサ
イクル(バッファアクセス)では、アドレスレジスタBL
AR23から読み出したアドレス(アドレスレジスタTLAR
22のアドレスと同値)によって、LBSデータ部14
Bbを読み出す。全WAYが同時に読み出されるが、ア
ラインセレクタ27は、この比較器31の比較結果と比
較器25の比較結果とを入力して、その比較結果が共に
成立するか否かをチェックすることで、命令制御ユニッ
トIU11から送られてきた論理アドレスがTAG1部1
4のどのウェイに存在するのかを特定する。
<B cycle (buffer access)> In the B cycle (buffer access), the address register BL
Address read from AR23 (address register TLAR
(The same value as the address of 22), the LBS data section 14
Read Bb. Although all the WAYs are read at the same time, the align selector 27 inputs the comparison result of the comparator 31 and the comparison result of the comparator 25, and checks whether or not the comparison results are both satisfied. The logical address sent from the control unit IU11 is the TAG1 part 1
It specifies which way of 4 it exists.

【0035】さらに、アラインセレクタ27は、特定し
たウェイから出力されているLBSデータ部14bのブ
ロックを選択し、決定した格納形式に従って、ワードレ
ジスタ28に選択したブロックを格納していく処理を実
行する。このようにして、ワードレジスタ28に格納さ
れた主記憶データの命令語/オペランドデータは、命令
制御ユニットIU11と、演算制御ユニットEU12に送
られ、命令のデコードや演算用オペランドデータとして
使用される。
Further, the align selector 27 selects a block of the LBS data section 14b output from the specified way, and executes a process of storing the selected block in the word register 28 according to the determined storage format. .. In this way, the instruction word / operand data of the main memory data stored in the word register 28 is sent to the instruction control unit IU11 and the operation control unit EU12, and is used as instruction decode or operation operand data.

【0036】次に、図3に示す構成の説明に戻す。命令
制御ユニットIU11は、前記データが送られてきた旨を
演算実行ユニットEU12へ報告する。演算実行ユニット
EU12は、命令制御ユニットIU11からの要求に基づき
加減乗除算等の処理(演算)を行なって、処理後のデー
タをストアバッファSTB17へ送出する。なお、ローカ
ルバッファストレッジLBS16への登録は、ストアバッ
ファSTB17経由して行われる。
Next, the description returns to the configuration shown in FIG. The instruction control unit IU11 reports to the operation execution unit EU12 that the data has been sent. Arithmetic execution unit
The EU 12 performs processing (calculation) such as addition, subtraction, multiplication and division based on the request from the instruction control unit IU 11, and sends the processed data to the store buffer STB 17. The registration in the local buffer storage LBS16 is performed via the store buffer STB17.

【0037】MCUオーダスタックMOS18は、記憶制
御装置MCU3からのムーブアウト要求や、バッファ無効
化要求を複数個スタックし、その要求に基づいてTAG
2部15をアクセスするものであって、内部はインポイ
ンタまたはアウトポインタによって記憶制御装置MCU3
からの要求の書き込みまたは取り出しを制御している。
前記TAG2部15は、メインパイプラインとは別に、
記憶制御装置MCU3からのオーダ処理において対象ブロ
ックが、LBSデータ部LBS14b上に存在するか否か
を検索する(これをTAG2パイプラインと呼ぶ)。よ
って、TAG2のパイプラインは、MCUオーダスタッ
クMOS18からのリクエストによって流れる。
The MCU order stack MOS 18 stacks a plurality of move-out requests and buffer invalidation requests from the storage control unit MCU 3, and based on the requests, the TAG is stacked.
The storage control unit MCU3 accesses the second section 15 by an in-pointer or an out-pointer.
Controls the writing or retrieving of requests from.
The TAG2 part 15 is separate from the main pipeline.
In the order processing from the storage control unit MCU3, it is searched whether or not the target block exists on the LBS data section LBS14b (this is called the TAG2 pipeline). Therefore, the pipeline of TAG2 flows according to a request from the MCU order stack MOS18.

【0038】ムーブアウトバッファMOB19は、記憶制
御装置MCU3からムーブアウトリクエストがあり、TA
G2部15に対象ブロックが存在した場合には、LBS
データ部16から当該ブロックを取り込んで記憶し、さ
らに記憶制御装置MCU3へムーブアウトさせる。MCU
オーダ完了報告バッファMRB20は、TAG2部15に
対象ブロックが存在しなかった場合には、ブロックなし
の旨を取り込んで記憶し、さらに記憶制御装置MCU2へ
報告する。また、主記憶装置MSU2からバッファ無効化
リクエストがあり、TAG2部15がヒットした時はブ
ロックの無効化を行い、MCUオーダ完了報告バッファ
MRB20を通して記憶制御装置MCU2へ報告する。
The move-out buffer MOB19 receives a move-out request from the storage control unit MCU3,
When the target block exists in the G2 unit 15, the LBS
The block is fetched from the data unit 16 and stored therein, and then moved out to the storage control unit MCU3. MCU
If the target block does not exist in the TAG2 unit 15, the order completion report buffer MRB20 fetches and stores the fact that there is no block, and further reports it to the storage control unit MCU2. When there is a buffer invalidation request from the main memory MSU2 and the TAG2 unit 15 is hit, the block is invalidated, and the MCU order completion report buffer
Report to the storage controller MCU2 through the MRB20.

【0039】<実施例のLBS TAG部の制御部の動
作>図8に、LBS TAG1部の制御部の構成を示
す。TAG1内の制御部は、TAG2内の制御部と同一
の構成であり、TAG1内の制御部の構成のみを示す。
TAG1内の制御部は、次のように構成される。エラー
検出部41は、TAG1部14からエラーを検出し、検
出出力を更新部51、排他部52、共有部53、無効部
54に供給する。
<Operation of Control Unit of LBS TAG Unit of Embodiment> FIG. 8 shows the configuration of the control unit of the LBS TAG unit 1. The control unit in TAG1 has the same configuration as the control unit in TAG2, and only the configuration of the control unit in TAG1 is shown.
The control unit in TAG1 is configured as follows. The error detection unit 41 detects an error from the TAG1 unit 14, and supplies the detection output to the update unit 51, the exclusion unit 52, the sharing unit 53, and the invalidation unit 54.

【0040】更新フラグ検出部42は、TAG1部14
にセットされた変更フラグCが”1”であるか否かを検
出し、排他フラグ検出部43はTAG1部14にセット
された排他フラグが”1”であるか否かを検出し、有効
フラグ検出部44は、TAG1部14にセットされた有
効フラグが”1”であるか否かを検出する。実施例のよ
うなストアイン方式のバッファ記憶においては、バッフ
ァ記憶TAG1部14,TAG2部15にエントリされ
ている有効フラグV、排他制御フラグE、変更フラグC
の値によってバッファ記憶内のブロックの状態は次のよ
うになる。 (a)無効回路54は、エラー検出部41の出力,更新
フラグ検出部42からの変更フラグC”0”,排他フラ
グ検出部43からの排他フラグE”0”,有効フラグ検
出部44からの有効フラグV”0”を入力することで、
ブロックの無効化を行うためのBI起動部35を起動さ
せる。
The update flag detecting section 42 includes a TAG1 section 14
It is detected whether the change flag C set to "1" is "1", the exclusion flag detection unit 43 detects whether the exclusion flag set to the TAG1 unit 14 is "1", and the validity flag is detected. The detection unit 44 detects whether the valid flag set in the TAG1 unit 14 is “1”. In the store-in type buffer storage as in the embodiment, the valid flag V, the exclusive control flag E, and the change flag C entered in the buffer storage TAG1 unit 14 and TAG2 unit 15 are stored.
Depending on the value of, the state of the block in buffer storage is as follows. (A) The invalidation circuit 54 outputs the output of the error detection unit 41, the change flag C "0" from the update flag detection unit 42, the exclusion flag E "0" from the exclusion flag detection unit 43, and the validity flag detection unit 44. By inputting the valid flag V “0”,
The BI activation unit 35 for activating the block is activated.

【0041】つまり、有効フラグV,排他制御フラグ
E,変更フラグCの全てが”0”である場合、バッファ
記憶上にデータが存在しない状態(無効状態)となる。 (b)排他回路52は、エラー検出部41の出力,更新
フラグ検出部42からの変更フラグC”0”,排他フラ
グ検出部43からの排他フラグE”1”,有効フラグ検
出部44からの有効フラグV”1”を入力することで、
BI起動部35を起動させる。
That is, when all of the valid flag V, the exclusive control flag E, and the change flag C are "0", there is no data in the buffer storage (invalid state). (B) The exclusive circuit 52 outputs the output of the error detecting unit 41, the change flag C ″ 0 ″ from the update flag detecting unit 42, the exclusive flag E ″ 1 ″ from the exclusive flag detecting unit 43, and the valid flag detecting unit 44. By inputting the valid flag V "1",
The BI activation unit 35 is activated.

【0042】つまり、有効フラグV及び排他制御フラグ
Eが”1”であって、変更フラグCが”0”である場
合、バッファ記憶上にデータが存在し、そのデータはム
ーブインされてきた時のまま未変更で、かつ該システム
中の自CPUによって変更可能である状態(排他状態)
となる。 (c)共有回路53は、エラー検出部41の出力,更新
フラグ検出部42からの変更フラグC”0”,排他フラ
グ検出部43からの排他フラグE”0”,有効フラグ検
出部44からの有効フラグV”1”を入力することで、
BI起動部35を起動させる。
That is, when the valid flag V and the exclusive control flag E are "1" and the change flag C is "0", there is data in the buffer memory and the data is moved in. The state that is unchanged and can be changed by the local CPU in the system (exclusive state)
Becomes (C) The shared circuit 53 outputs the output of the error detection unit 41, the change flag C "0" from the update flag detection unit 42, the exclusion flag E "0" from the exclusion flag detection unit 43, and the validity flag detection unit 44. By inputting the valid flag V "1",
The BI activation unit 35 is activated.

【0043】つまり、有効フラグVが”1”であって、
排他制御フラグE及び変更フラグCが”0”である場合
には、バッファ記憶上にデータが存在し、そのデータは
ムーブインされてきた時のまま未変更で、かつ変更不可
能な状態(共有状態(非排他状態))となる。 (d)更新回路51は、エラー検出部41の出力,更新
フラグ検出部42からの変更フラグC”1”,排他フラ
グ検出部43からの排他フラグE”1”,有効フラグ検
出部44からの有効フラグV”1”を入力することで、
ブロックをムーブアウトするためのMO起動部33を起
動させる。
That is, the valid flag V is "1",
When the exclusive control flag E and the change flag C are "0", data exists in the buffer storage, and the data remains unchanged when moved in and cannot be changed (shared state). (Non-exclusive state)). (D) The update circuit 51 outputs the output of the error detection unit 41, the change flag C "1" from the update flag detection unit 42, the exclusion flag E "1" from the exclusion flag detection unit 43, and the validity flag detection unit 44. By inputting the valid flag V "1",
The MO activation unit 33 for moving out the block is activated.

【0044】つまり、有効フラグV,排他制御フラグ
E,変更フラグCの全てが”1”である場合には、バッ
ファ記憶上にデータが存在し、そのデータは自CPUの
ストアによって更新されている状態(更新状態)とな
る。(この場合、当該データは必ず自CPUのみが保持
している)。 <TAG1部のエラー発生時におけるムーブアウトの動
作説明>次に、TAG1部にエラーが発生した場合のム
ーブアウトを説明する。図9に、中央処理装置CPU51の
TAG1部14にエラーがあった場合のムーブアウト動
作のタイムチャートを示す。ここで、中央処理装置CPU5
1としたのは、バッファ記憶装置のTAG1部14の制
御情報として、排他フラグE”1”、変更フラグC”
1”が登録され、更新状態となっているからである。
That is, when all of the valid flag V, the exclusive control flag E, and the change flag C are "1", data exists in the buffer memory and the data is updated by the store of the own CPU. It becomes the state (updated state). (In this case, the data is always held only by the own CPU). <Explanation of Moveout Operation when Error in TAG1 Portion> Next, moveout when an error occurs in the TAG1 portion will be described. FIG. 9 shows a time chart of the move-out operation when the TAG1 unit 14 of the central processing unit CPU51 has an error. Here, the central processing unit CPU5
1 is set as the exclusive flag E "1" and the change flag C "as the control information of the TAG1 unit 14 of the buffer storage device.
This is because "1" is registered and is in an updated state.

【0045】図9のTサイクル(EXT)において、命令
制御ユニットIU11からEXTリクエストが送られてくる
と、アドレスレジスタTLAR22の値(00001000)によっ
て、TAG1部14がアクセスされ、TAG1部14に
エラーがあるか否かをチェックする。エラーがあれば、
比較器25及びタグマッチ部26によりTAG1マッチ
およびTAG1エラーが検出される。
In the T cycle (EXT) of FIG. 9, when an EXT request is sent from the instruction control unit IU11, the TAG1 unit 14 is accessed by the value (00001000) of the address register TLAR22, and an error occurs in the TAG1 unit 14. Check if there is. If there is an error,
A TAG1 match and a TAG1 error are detected by the comparator 25 and the tag matching unit 26.

【0046】ここでは例えば、WAY6にエラーがあっ
たとすると、次にRサイクルでLMD信号が立ち、R
(Result:結果報告)サイクルの次のタイミング(Pサ
イクル)で、エラーが検出された該リクエストは、エラ
ーポートに入れられて待たされる(WAIT ID=LBS ERRO
R)と共に、エラーポートにおいてTAG1部14でエ
ラーが発生したことを示すフラグが有効になる(タグエ
ラーバリッドV)。
Here, for example, if there is an error in WAY 6, then the LMD signal rises in the R cycle and R
At the next timing (P cycle) of the (Result: result report) cycle, the request in which an error is detected is put in the error port and kept waiting (WAIT ID = LBS ERRO).
Along with R), a flag indicating that an error has occurred in the TAG1 unit 14 at the error port becomes valid (tag error valid V).

【0047】そこで、WAY6がムーブアウトの対象と
して、TAG1部14のエラーによるムーブアウトのリ
クエスト(MO)が、16バイトずつ4回に分けて64バ
イトデータを読み出すべく、Tサイクル〜Bサイクル〜
Rサイクル〜Pサイクルと4回だけ流され、エラーのあ
ったWAY番号を該リクエスト中、保持する。一方、T
AG1部14からエラーのあったWAY6を読み出す
と、制御情報として、排他制御フラグE”1”,変更フ
ラグC”1”から当該ブロックが更新されているので、
ムーブアウトを行い、最新内容を主記憶装置MSU2へ反
映しなければならないことがわかる。
Therefore, in order to read out 64 bytes of data in a move-out request (MO) due to an error in the TAG1 unit 14 as a target of the move-out by the WAY 6, T cycle-B cycle-
The WAY number having an error is retained during the request, which is flowed only four times from the R cycle to the P cycle. On the other hand, T
When the WAY 6 having an error is read from the AG1 unit 14, the block is updated from the exclusive control flag E "1" and the change flag C "1" as the control information.
It is understood that the move-out must be performed and the latest contents must be reflected in the main storage device MSU2.

【0048】また、TAG1部14からそのムーブアウ
トすべきアドレス部のアドレス(00*E2000)を読み出す
と、該アドレスにエラーがあることがわかる(アドレス
中の*部分)。一方、TAG1部14の読み出しと同時
に、TAG1と同一内容を持つTAG2内のWAY6を
参照すると(アドレスレジスタTLAR2bの値00001000に
よってアクセス)、TAG1部14で破壊されていたア
ドレスが正しい内容(000E2000)で登録されていること
がわかる。
When the address (00 * E2000) of the address part to be moved out is read from the TAG1 part 14, it is found that the address has an error (* part in the address). On the other hand, at the same time when the TAG1 unit 14 is read, when the WAY 6 in the TAG2 having the same contents as the TAG1 is referenced (accessed by the value 00001000 of the address register TLAR2b), the address destroyed in the TAG1 unit 14 is correct (000E2000). You can see that it is registered.

【0049】そこで、当該ブロックをムーブアウトする
ために、記憶制御装置MCU3からMCUオーダスタックM
OS18を介して、TAG2部15に登録されているアド
レスを用いることが指示され(SELECT FOR BMOAR)、B
MOARへ該アドレスが送られる。ムーブアウトバッフ
ァMOS19内のムーブアウトアドレスレジスタMOAR
へ該アドレスが、ムーブアウトデータレジスタMODR
へは該アドレスによって読み出されたデータがセットさ
れ、該データはその後に、主記憶装置MSU2にムーブア
ウトされる。
Therefore, in order to move out the block, the storage controller MCU3 to the MCU order stack M
It is instructed to use the address registered in the TAG2 part 15 via the OS 18 (SELECT FOR BMOAR), and
The address is sent to MOAR. Move-out address register MOAR in move-out buffer MOS19
The address is the moveout data register MODR
The data read out by the address is set in the memory, and the data is subsequently moved out to the main memory MSU2.

【0050】また、ムーブアウトの最後のリクエスト
(MO4th)のTサイクルで、TAG1部14及びTAG
2部15の当該ブロックの有効フラグVが、”0”にセ
ットされる。なお、ムーブアウトリクエスト(MO1st)
が完了次第、先ほど待たされていた命令制御ユニットIU
11からのリクエストが再度流される(INT)が、今度
はエラーが検出されず、該リクエストが正常に受け付け
られる。
In the T cycle of the last move-out request (MO4th), the TAG1 part 14 and the TAG are sent.
The valid flag V of the block of the second copy 15 is set to "0". In addition, move out request (MO1st)
Instruction control unit IU, which had been waiting for as soon as
The request from 11 is reflowed (INT), but no error is detected this time, and the request is accepted normally.

【0051】また、求めるデータがエラーのあったWA
Yであった場合には、該データは無効化(BI)されて
いるので、再度ムーブインしてくることになる。 <TAG2部のエラー発生時におけるムーブアウトの動
作説明>図10に、中央処理装置CPU51のTAG2部1
5にエラーがあった場合のムーブアウト動作のタイムチ
ャートを示す。記憶制御装置MCU3からのリクエスト(S
RA)がMCUオーダスタックMOS18を通して出される
と、アドレスレジスタTLAR22の値(00001000)によっ
て、TAG2部15がアクセスされ、TAG2マッチお
よびTAG2エラーが検出される。
In addition, the data to be obtained has an error WA
If it is Y, the data has been invalidated (BI), and the move-in is performed again. <Explanation of move-out operation when an error occurs in the TAG2 section> FIG. 10 shows the TAG2 section 1 of the central processing unit CPU51.
5 shows a time chart of the move-out operation when there is an error in item 5. Request from storage controller MCU3 (S
RA) is output through the MCU order stack MOS 18, the TAG2 unit 15 is accessed by the value (00001000) of the address register TLAR22, and the TAG2 match and the TAG2 error are detected.

【0052】ここでは例えばWAY6でエラーがあった
とすると、Rサイクルの次のタイミングでWAY6がム
ーブアウトの対象として、TAG2エラーによるムーブ
アウトのリクエスト(MOE)からPサイクル〜Tサイク
ル〜Bサイクル〜Rサイクルと4回流されると共に、エ
ラーポートにおいてTAG2部15でエラーが発生した
ことを示すフラグが有効になり(TAG2 ERROR VALID)、
エラーのあったWAY番号を該リクエスト中、保持す
る。
Here, if there is an error in WAY 6, for example, WAY 6 is targeted for moveout at the timing next to the R cycle, and a moveout request (MOE) due to a TAG2 error is issued from P cycle to T cycle to B cycle to R. After being cycled four times, the flag indicating that an error has occurred in the TAG2 unit 15 at the error port becomes valid (TAG2 ERROR VALID),
The WAY number having an error is held during the request.

【0053】一方、TAG2からエラーのあったWAY
6を読み出すと、制御情報として、排他制御フラグE
を”1”、変更フラグCを”1”から当該ブロックが更
新されているので、バッファ制御部21の更新部51が
動作する。さらにMO起動部33が起動するので、ムー
ブアウトを行い、最新内容を主記憶装置MSU2へ反映し
なければならないことがわかる。
On the other hand, WAY that has an error from TAG2
When 6 is read, the exclusive control flag E is set as the control information.
Since the block is updated from "1" and the change flag C from "1", the updating unit 51 of the buffer control unit 21 operates. Further, since the MO activation unit 33 is activated, it is understood that the move-out must be performed and the latest contents must be reflected in the main storage device MSU2.

【0054】また、そのムーブアウトすべきアドレス
(00*E2000)を読み出すと、該アドレスにエラーがある
ことがわかる(*の部分)。また、TAG2アクセスと
同時にTAG2と同一内容を持つTAG1内のWAY6
を参照すると(TLARによってアクセス)、TAG2部1
5で破壊されていたアドレスが正しい内容(000E2000)
で登録されていることがわかる。
When the address (00 * E2000) to be moved out is read, it is found that the address has an error (* part). At the same time as the TAG2 access, the WAY6 in the TAG1 having the same contents as the TAG2
(Accessed by TLAR), TAG2 part 1
The address destroyed in 5 is correct (000E2000)
You can see that it is registered in.

【0055】よって、当該ブロックをムーブアウトする
ために、TAG1部14に登録されているアドレスを用
いることが指示され(SELECT FOR BMOAR)、BMOAR
へ該アドレスが送られる。そして、ムーブアウトバッフ
ァMOS19内のムーブアウトアドレスレシズタMOARへ該
アドレスが、ムーブアウトデータレジスタMODRへは該ア
ドレスによって読み出されたデータがセットされ、該デ
ータはその後、8バイトストアとして主記憶装置MSU2
にムーブアウトされる。
Therefore, in order to move out the block, it is instructed to use the address registered in the TAG1 section 14 (SELECT FOR BMOAR), and BMOAR
The address is sent to. Then, the move-out address register MOAR in the move-out buffer MOS19 is set with the address, and the move-out data register MODR is set with the data read by the address, and the data is thereafter stored in the main memory as an 8-byte store. Device MSU2
Be moved out.

【0056】また、ムーブアウトの最後のリクエスト
(MO4th)のTサイクルでTAG1部14及びTAG2
部15の当該ブロックの有効フラグがオフにセット(V
=1→V=0)される。その後、再度記憶制御装置MCU
3からのリクエスト(SRA)がMCUオーダスタックMOS
18から流されるが、今度はエラーが検出されず、該リ
クエストが正常に受け付けられる。
In the T cycle of the last move-out request (MO4th), TAG1 part 14 and TAG2 are sent.
The valid flag of the block of the section 15 is set to OFF (V
= 1 → V = 0). Then, again the storage controller MCU
Request (SRA) from 3 is MCU order stack MOS
Although no error is detected this time, the request is normally accepted.

【0057】以上説明したように、例えば中央処理装置
CPU51のTAG1部14をアクセスした時にエラーが検
出され、そのエラーがアドレス部のエラーであり、エラ
ーがあったブロックが排他フラグEを”1”,変更フラ
グCを”1”に、すなわち、更新状態であった時は、上
述したようにTAG2部15を参照してTAG2部15
内の正常なアドレス値を用いて、ムーブアウトを行うこ
とができる。
As described above, for example, the central processing unit
An error is detected when accessing the TAG1 unit 14 of the CPU 51, the error is an error in the address unit, and the block having the error sets the exclusive flag E to "1" and the change flag C to "1", that is, update. When it is in the state, the TAG2 part 15 is referred to by referring to the TAG2 part 15 as described above.
The move out can be performed using the normal address value in the.

【0058】また、TAG2部15をアクセスした時に
エラーが検出され、そのエラーがアドレス部のエラーで
あり、エラーがあったブロックが更新状態(E=1,C
=1)であった時は、TAG1部14を参照してTAG
1部14内の正常なアドレスを用いて該ブロックのムー
ブアウトが行える。 (2)<実施例におけるバッファ無効時のハードウェア
の動作>次に、実施例におけるバッファ無効時のハード
ウェアの動作について説明する。図11に、実施例にお
けるTAG1部のアドレス部にエラーが発生した時の処
理フローチャートを示す。
An error is detected when the TAG2 section 15 is accessed, the error is an error in the address section, and the block having the error is in the updated state (E = 1, C).
= 1), refer to the TAG1 section 14 to see the TAG.
It is possible to move out the block using a normal address in the unit 14. (2) <Operation of Hardware when Buffer is Invalid in Embodiment> Next, the operation of hardware when the buffer is invalid in the embodiment will be described. FIG. 11 shows a processing flowchart when an error occurs in the address part of the TAG1 part in the embodiment.

【0059】バッファ記憶エラー処理方式を採用するバ
ッファ記憶において、今、ステップS1で、命令制御装
置IU11からのリクエスト(EXT)で、ステップS2
で、TAG1部14をアクセスすると、ステップS3
で、アドレス部においてエラーが検出されたとする。そ
の場合に、ステップS5で、TAG2部15内に有する
同一ブロックを参照しにいく。この時に、TAG1部1
4内の当該ブロックの制御情報として、ステップS6
で、有効フラグVが”1”であって、ステップS7で、
排他フラグEが”1”であるとする。さらに、ステップ
S8で、変更フラグCにエラーがなく、かつ該ブロック
が未変更(C=0)であったとする。
In buffer storage employing the buffer storage error processing method, now in step S1, a request (EXT) from the instruction control unit IU11 is executed, and in step S2.
Then, when the TAG1 section 14 is accessed, step S3
Then, it is assumed that an error is detected in the address part. In that case, in step S5, the same block in the TAG2 section 15 is referred to. At this time, TAG 1 part 1
As control information of the block in step S4, step S6
Then, the valid flag V is "1", and in step S7,
It is assumed that the exclusive flag E is "1". Further, in step S8, it is assumed that the change flag C has no error and the block is unchanged (C = 0).

【0060】すなわち、中央処理装置CPU1,CPU3,CPU4の
TAG1部14と同様に、排他フラグE”1”、変更フ
ラグ”0”が登録されており、これらの中央処理装置の
いずれかのTAG1部14のアドレス部にエラーがあっ
た場合である。すると、ステップS9で、TAG1部内
の制御部における排他部52が動作し、排他状態である
ことが判明し、BI起動部35が起動するので、よっ
て、当該ブロックをムーブアウトする必要がなく、ステ
ップS10で、バッファ無効化を行なう。
That is, like the TAG1 unit 14 of the central processing units CPU1, CPU3, and CPU4, the exclusive flag E "1" and the change flag "0" are registered, and the TAG1 unit of any of these central processing units is registered. This is the case where there is an error in the address part of 14. Then, in step S9, the exclusive unit 52 in the control unit in the TAG1 unit operates, it is found that the exclusive state is present, and the BI activation unit 35 is activated. Therefore, it is not necessary to move out the block, In S10, the buffer is invalidated.

【0061】すなわち、このような場合には、図9にお
ける4回のムーブアウトリクエスト(MO)を行なう代わ
りに、バッファ無効化リクエスト(BI)が1回流され、
本リクエストのTサイクルで(ステップS11)、TA
G1部14及びTAG2部15の当該ブロックの有効フ
ラグVがオフにセット、すなわちVが”1”から”0”
に変更される。
That is, in such a case, the buffer invalidation request (BI) is sent once instead of performing the move out request (MO) four times in FIG.
In the T cycle of this request (step S11), TA
The valid flag V of the block of the G1 unit 14 and the TAG2 unit 15 is set to OFF, that is, V is "1" to "0".
Is changed to.

【0062】同様にして、記憶制御装置MCU3からのリ
クエスト(SRA)が、MCUオーダスタックMOS18を通
して出され、TAG2部15がアクセスされた時に、ア
ドレス部においてエラーが検出された場合、そのブロッ
クの制御情報部として、排他フラグE,変更フラグCに
エラーがなく、かつ未変更(Cが”0”)であったなら
ば、当該ブロックはムーブアウトをする必要がない。
Similarly, when a request (SRA) from the storage controller MCU3 is issued through the MCU order stack MOS18 and an error is detected in the address part when the TAG2 part 15 is accessed, control of that block is performed. If there is no error in the exclusive flag E and the change flag C as the information part and it is unchanged (C is "0"), the block does not need to be moved out.

【0063】よって、ムーブアウトリクエスト(MOE)
の代わりに、バッファ無効化リクエスト(BI)が1回流
され、本リクエストのTサイクルで、TAG1部14及
びTAG2部15の当該ブロックの有効フラグがオフに
セット、すなわちバリッドビットVが”1”から”0”
に変更される。このように、ムーブアウトする必要がな
い場合、つまり当該ブロックが更新されていない場合に
は、単に当該ブロックを無効化することによって、エラ
ー処理ができる。
Therefore, move out request (MOE)
Instead, the buffer invalidation request (BI) is sent once, and in the T cycle of this request, the valid flag of the block of the TAG1 unit 14 and the TAG2 unit 15 is set to OFF, that is, the valid bit V changes from "1". "0"
Is changed to. As described above, when it is not necessary to move out, that is, when the block is not updated, error processing can be performed by simply invalidating the block.

【0064】なお、ステップS6で、有効フラグVが”
0”である場合には、ステップS12で、無効状態とな
り、ステップS10で、バッファ無効化を行なう。ま
た、有効フラグVが”1”であって、排他フラグEが”
0”である場合、すなわち、中央処理装置CPU0,CPU2の
TAG1部14の制御情報の場合のように、CPU0とCPU2
とが同一内容を保持している場合には、ステップS13
で、TAG1内の制御部における共有部53が動作し、
共有状態であることが判明する。さらにBI起動部33
が起動して、ステップS10で、バッファ無効化を行な
う。
In step S6, the valid flag V is set to "
If it is "0", the state becomes invalid in step S12, and the buffer is invalidated in step S10. Further, the valid flag V is "1" and the exclusive flag E is "."
0 ", that is, as in the case of the control information of the TAG1 unit 14 of the central processing units CPU0 and CPU2, CPU0 and CPU2
If and hold the same contents, step S13
Then, the sharing unit 53 in the control unit in the TAG1 operates,
It turns out to be a shared state. Further, the BI activation unit 33
Starts, and the buffer is invalidated in step S10.

【0065】さらに、有効フラグVが”1”であって、
排他フラグEが”1”であり、且つ変更フラグCが”
1”である場合には、図9で説明したように、ステップ
S14で、更新状態となり、ステップS15で、ムーブ
アウトを行なう。 (3)<実施例におけるバッファ無効時のハードウェア
の動作>次に、実施例のハードウェアの動作について説
明する。図12に、TAG1部14の排他フラグE等を
登録した制御情報部に、エラーが発生した時の処理フロ
ーチャートを示す。
Further, when the valid flag V is "1",
The exclusive flag E is "1" and the change flag C is "
If it is 1 ", as described with reference to FIG. 9, the update state is set in step S14, and the moveout is performed in step S15. (3) <Operation of hardware when buffer is invalid in embodiment> Next The operation of the hardware of the embodiment is described in Fig. 12. Fig. 12 shows a processing flowchart when an error occurs in the control information section in which the exclusive flag E of the TAG1 section 14 is registered.

【0066】バッファ記憶において、ステップS22
で、TAG1部14をアクセスした時にエラーが検出さ
れ、ステップS23で、そのエラーが制御情報部におけ
る、排他制御フラグE,変更フラグCに発生した時は、
エラーがあったブロックが更新されているかどうかが不
明ではある。しかし、処理の効率上とりあえず、ステッ
プS25で、該ブロックのデータを正常なアドレス部の
値と共に、ムーブアウトバッファMOB19へ送ってお
く。ステップS26で、有効フラグVを”0”にセット
し、そしてTAG2部15の該エラーのあったブロック
と同ブロックを参照する。
In buffer storage, step S22
When an error is detected when the TAG1 unit 14 is accessed and the error occurs in the exclusive control flag E and the change flag C in the control information section in step S23,
It is unknown whether the block in error has been updated. However, for the sake of processing efficiency, the data of the block is sent to the move-out buffer MOB19 together with the normal address value in step S25. In step S26, the valid flag V is set to "0", and the block having the error in the TAG2 section 15 is referred to.

【0067】このTAG2部15の制御情報部にエラー
が検出されず、ステップS28で、当該ブロックの状態
が未変更状態(C=0)であった場合には、ステップS
29で、主記憶装置MSU2へ反映する必要がなく、すな
わち、ムーブアウトしない。よって、単にムーブアウト
バッファMOB19内の当該ブロックの無効化がすでに行
われ、該当ブロックを主記憶装置2へ送らないことで、
エラー処理が可能になる。
If no error is detected in the control information section of the TAG2 section 15 and the state of the block is the unchanged state (C = 0) in step S28, step S28
At 29, there is no need to reflect it in the main memory MSU2, that is, no move out. Therefore, by simply invalidating the block in the move-out buffer MOB19 and not sending the block to the main storage device 2,
Enables error handling.

【0068】同様にして、TAG2部15アクセス時に
エラーが検出された時もTAG1部14の時と同様の処
理でエラーの対処を行える。
Similarly, when an error is detected when accessing the TAG2 section 15, the error can be dealt with by the same processing as that of the TAG1 section 14.

【0069】[0069]

【発明の効果】本発明によれば、中央処理装置からの要
求においてアクセスされる第1のタグ部、記憶制御装置
からの要求においてアクセスされる第1のタグ部と同一
内容を持つ第2のタグ部を有するストアイン方式のバッ
ファ記憶において、一方のタグ部でエラーが検出された
場合には他方のタグ部の情報を参照して主記憶装置上に
ムーブアウトを行うことで、エラーが発生した時の処理
を行える。
According to the present invention, the first tag unit accessed in the request from the central processing unit and the second tag unit having the same contents as the first tag unit accessed in the request from the storage control unit. In store-in type buffer storage that has a tag part, if an error is detected in one tag part, an error occurs by referring to the information in the other tag part and moving out to the main storage device. You can do the processing when you do.

【0070】また、各タグ部で排他フラグE、変更フラ
グCにエラーがなく、かつそのブロックが未変更の状態
である時、単に当該ブロックを無効化することで、エラ
ー処理が行える。また、一方のタグ部の排他フラグE、
変更フラグCでエラーが検出された場合は他方のタグア
クセスにおいて、当該ブロックが未変更であった場合に
も、単に当該ブロックを無効化することで、エラー時の
処理を行える。
Further, when there is no error in the exclusive flag E and the change flag C in each tag part and the block is in the unchanged state, error processing can be performed by simply invalidating the block. Also, the exclusive flag E of one tag part,
When an error is detected by the change flag C, even if the block is unchanged in the other tag access, the block at the time of error can be processed by simply invalidating the block.

【0071】このように、独立した処理装置のパイプラ
インに同期させて使用するために設けた2つのタグ部が
同一内容を有することに着目して、エラー時の処理に用
いることで、継続して処理できるという画期的な効果を
奏する。
As described above, paying attention to the fact that the two tag portions provided for use in synchronization with the pipeline of the independent processing device have the same contents, the tag portion used for the processing at the time of error causes the continuation. It has an epoch-making effect that can be processed.

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

【図1】本発明の原理図である。FIG. 1 is a principle diagram of the present invention.

【図2】発明を実装するデータ処理システムの一実施例
を示す図である。
FIG. 2 is a diagram illustrating one embodiment of a data processing system implementing the invention.

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

【図4】ローカルバッファストレッジLBSの構成を示す
図である。
FIG. 4 is a diagram showing a configuration of a local buffer storage LBS.

【図5】TAG1部の構成の例を示す図である。FIG. 5 is a diagram showing an example of the configuration of a TAG1 unit.

【図6】実施例におけるバッファ記憶TAG部の構成図
である。
FIG. 6 is a configuration diagram of a buffer storage TAG unit in the embodiment.

【図7】メインパイプラインに沿った各回路の動作の流
れを示す図である。
FIG. 7 is a diagram showing an operation flow of each circuit along the main pipeline.

【図8】実施例におけるLBS TAG(内の)制御部
の構成を示す図である。
FIG. 8 is a diagram showing a configuration of an LBS TAG (inside) control unit in the embodiment.

【図9】実施例におけるTAG1部にエラーが発生した
時のムーブアウト動作のタイムチャートである。
FIG. 9 is a time chart of the move-out operation when an error occurs in the TAG1 part in the embodiment.

【図10】実施例におけるTAG2部にエラーが発生し
た時のムーブアウト動作のタイムチャートである。
FIG. 10 is a time chart of a move-out operation when an error occurs in the TAG2 section in the embodiment.

【図11】実施例におけるTAG1部のアドレス部にエ
ラーが発生した時の処理のフローチャートである。
FIG. 11 is a flow chart of processing when an error occurs in the address part of the TAG1 part in the embodiment.

【図12】実施例におけるTAG1部の制御情報にエラ
ーが発生した時の処理のフローチャートである。
FIG. 12 is a flowchart of a process when an error occurs in the control information of the TAG1 unit in the embodiment.

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

1・・中央処理装置CPU 2・・主記憶装置MSU 3・・記憶制御装置MCU 11・・命令制御ユニットIU 12・・演算実行ユニットEU 13・・記憶制御ユニットSU 14・・TAG1部 14b・・LBSデータ部 15・・TAG2部 16・・ローカルバッファストレッジLBS 17・・ストアバッファSTB 18・・MCUオーダスタックMOS 19・・ムーブアウトバッファMOB 20・・MCUオーダ完了報告バッファMRB 22・・アドレスレジスタTLAR 23・・アドレスレジスタBLAR 28・・ワードレジスタOWR 41・・エラー検出部PCHK 42・・更新フラグ検出部CCHK 43・・排他フラグ検出部ECHK 44・・有効フラグ検出部VCHK 33・・MO(ムーブアウト)起動部 35・・BI(バッファ無効化)起動部 1-Central processing unit CPU 2-Main memory MSU 3-Storage controller MCU 11-Instruction control unit IU 12-Operation execution unit EU 13-Storage control unit SU 14-Tag 1 part 14b- LBS data section 15-TAG2 section 16-Local buffer storage LBS 17-Store buffer STB 18-MCU order stack MOS 19-Move-out buffer MOB 20-MCU order completion report buffer MRB 22-Address register TLAR 23 .. Address register BLAR 28. Word register OWR 41 .. Error detection unit PCHK 42 .. Update flag detection unit CCHK 43 .. Exclusive flag detection unit ECHK 44 .. Valid flag detection unit VCHK 33 .. MO (move out) ) Start-up unit 35 ... BI (buffer invalidation) start-up unit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 セットアソシアティブ型のストアイン方
式のバッファ記憶装置(13)を備える1つ又は複数の
中央処理装置(1)が、1つ又は複数の主記憶装置
(2)を共用するデータ処理装置において、 前記バッファ記憶装置(13)は、前記中央処理装置
(1)からの要求によりアクセスされデータを登録する
データ部(14b)と、エントリーを管理するととも
に、ブロックアドレスを登録する第1のタグ部(14)
と、他の装置からの要求によりアクセスされ且つ前記第
1のタグ部(14)と同一内容を有する第2のタグ部
(15)とを備え、 前記第1のタグ部(14)及び第2のタグ部(15)
は、そのブロックが変更可能であることを示す排他フラ
グ(E)と、そのブロックが変更されたことを示す変更
フラグ(C)と、そのブロックの主記憶上のアドレスの
一部を示すアドレス部の各々について独立にパリティビ
ットを有し、 前記第1のタグ部(14)でエラーが検出され前記変更
フラグ(C)がオンである場合に、前記第2のタグ部
(15)の情報を用いてムーブアウトを行うことを特徴
とするバッファ記憶エラー処理方式。
1. Data processing in which one or more central processing units (1) equipped with a set-associative store-in type buffer storage device (13) share one or more main storage devices (2). In the device, the buffer storage device (13) manages an entry and a data unit (14b) that is accessed by a request from the central processing unit (1) and registers data, and a first part that registers a block address. Tag part (14)
And a second tag unit (15) that is accessed by a request from another device and has the same contents as the first tag unit (14). The first tag unit (14) and the second tag unit (15) Tag part (15)
Is an exclusive flag (E) indicating that the block can be changed, a change flag (C) indicating that the block has been changed, and an address part indicating a part of the address on the main memory of the block. Has a parity bit independently for each of them, and if the change flag (C) is on when an error is detected in the first tag unit (14), the information of the second tag unit (15) is A buffer storage error processing method characterized by performing a moveout by using.
【請求項2】 前記第2のタグ部(15)でエラーが検
出され前記変更フラグ(C)がオンである場合に、前記
第1のタグ部(14)の情報を用いてムーブアウトを行
うことを特徴とする請求項1記載のバッファ記憶エラー
処理方式。
2. When the error is detected in the second tag section (15) and the change flag (C) is on, the move-out is performed by using the information of the first tag section (14). The buffer storage error processing method according to claim 1, wherein:
【請求項3】 前記第1のタグ部(14)でエラーが検
出され、前記排他フラグ(E)変更フラグ(C)がオン
である場合に、第2のタグ部(15)の情報を用いてム
ーブアウトを行う請求項1又は2記載のバッファ記憶エ
ラー処理方式。
3. The information of the second tag section (15) is used when an error is detected in the first tag section (14) and the exclusive flag (E) change flag (C) is ON. 3. The buffer storage error processing method according to claim 1, wherein the move-out is performed as a result.
【請求項4】 前記第1のタグ部(14)または前記第
2のタグ部(15)にエラーが発生し、前記排他フラグ
(E)にエラーがなく、かつ排他フラグ(E)がオフで
ある場合に、そのブロックの無効化を行うことを特徴と
する請求項1記載のバッファ記憶エラー処理方式。
4. The first tag unit (14) or the second tag unit (15) has an error, the exclusion flag (E) has no error, and the exclusion flag (E) is off. 2. The buffer storage error processing method according to claim 1, wherein the block is invalidated when there is.
【請求項5】 前記第1のタグ部(14)にエラーが発
生した時、そのエラーが排他フラグ(E)もしくは変更
フラグ(C)のエラーであった場合は、前記第2のタグ
部(15)のアクセスにおいて、前記排他フラグ(E)
がオフであった時は、当該ブロックの無効化を行い、 前記第2のタグ部(15)にエラーが発生した時、その
エラーが排他フラグ(E)もしくは変更フラグ(C)の
エラーであった場合は、前記第1のタグ部(14)のア
クセスにおいて、前記排他フラグ(E)がオフであった
時は、当該ブロックの無効化を行うことを特徴とする請
求項1記載のバッファ記憶エラー処理方式。
5. When an error occurs in the first tag section (14) and the error is an error of an exclusive flag (E) or a change flag (C), the second tag section ( In the access of 15), the exclusion flag (E)
Is OFF, the block is invalidated, and when an error occurs in the second tag unit (15), the error is the exclusive flag (E) or the change flag (C) error. The buffer storage according to claim 1, wherein in the access of the first tag unit (14), when the exclusion flag (E) is off, the block is invalidated. Error handling method.
JP06478192A 1992-03-23 1992-03-23 Data processing device Expired - Lifetime JP3171639B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06478192A JP3171639B2 (en) 1992-03-23 1992-03-23 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06478192A JP3171639B2 (en) 1992-03-23 1992-03-23 Data processing device

Publications (2)

Publication Number Publication Date
JPH05265859A true JPH05265859A (en) 1993-10-15
JP3171639B2 JP3171639B2 (en) 2001-05-28

Family

ID=13268106

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06478192A Expired - Lifetime JP3171639B2 (en) 1992-03-23 1992-03-23 Data processing device

Country Status (1)

Country Link
JP (1) JP3171639B2 (en)

Also Published As

Publication number Publication date
JP3171639B2 (en) 2001-05-28

Similar Documents

Publication Publication Date Title
EP0381470B1 (en) Processing of memory access exceptions along with prefetched instructions within the instruction pipeline of a virtual memory system-based digital computer
JP2557174B2 (en) Data set position predictor
US5699551A (en) Software invalidation in a multiple level, multiple cache system
US5809530A (en) Method and apparatus for processing multiple cache misses using reload folding and store merging
US5202972A (en) Store buffer apparatus in a multiprocessor system
EP0302999B1 (en) Out-of-sequence operand fetches
KR100204741B1 (en) How to use the first and second cache memory
US4583165A (en) Apparatus and method for controlling storage access in a multilevel storage system
KR100308682B1 (en) Multiway associative external microprocessor cache
JPH0345407B2 (en)
KR19990006389A (en) Pipelined Snooping on Multiple L1 Cache Lines
JPH02232753A (en) Method and apparatus for controlling conversion from virtual memory address to physical memory address for digital computer system
US6901540B1 (en) TLB parity error recovery
KR100308675B1 (en) Cache address generation
WO2013084314A1 (en) Processing unit and method for controlling processing unit
EP0380842A2 (en) Method and apparatus for interfacing a system control unit for a multiprocessor system with the central processing units
EP0468804A2 (en) Hierarchical memory control system
KR100308674B1 (en) Data register for multicycle data cache read
US6338128B1 (en) System and method for invalidating an entry in a translation unit
US20050273563A1 (en) System and method for canceling write back operation during simultaneous snoop push or snoop kill operation in write back caches
JP2001043133A (en) Method and system for maintaining cache coherency for write-through-store operation in multiprocessor system
JP2552704B2 (en) Data processing device
JP3171639B2 (en) Data processing device
EP0375892B1 (en) Data processing system
JPH0315965A (en) Improved mechanism ensuring consistency of data among plurality of cash memory and main memory in multi-processor computer system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010306

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080323

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090323

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100323

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100323

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110323

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110323

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120323

Year of fee payment: 11

EXPY Cancellation because of completion of term