JP2891897B2 - Store-in cache failure handling system - Google Patents

Store-in cache failure handling system

Info

Publication number
JP2891897B2
JP2891897B2 JP7088917A JP8891795A JP2891897B2 JP 2891897 B2 JP2891897 B2 JP 2891897B2 JP 7088917 A JP7088917 A JP 7088917A JP 8891795 A JP8891795 A JP 8891795A JP 2891897 B2 JP2891897 B2 JP 2891897B2
Authority
JP
Japan
Prior art keywords
cache
parity
data
error
parity check
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.)
Expired - Fee Related
Application number
JP7088917A
Other languages
Japanese (ja)
Other versions
JPH08286977A (en
Inventor
浩一 堀川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Computertechno Ltd
Original Assignee
NEC Computertechno Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP7088917A priority Critical patent/JP2891897B2/en
Publication of JPH08286977A publication Critical patent/JPH08286977A/en
Application granted granted Critical
Publication of JP2891897B2 publication Critical patent/JP2891897B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、共有メモリ型マルチプ
ロセッサシステムのストアインキャッシュに関し、特
に、ストアインキャッシュの障害処理システムに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a store-in cache of a shared memory type multiprocessor system, and more particularly to a store-in cache failure processing system.

【0002】[0002]

【従来の技術】ストアインキャッシュの障害処理システ
ムでは、キャッシュにデータをライトする時にパリティ
エラーを検出したり、アドレスレジスタの値がパリティ
エラーを起こしている等ハードウェアの故障が起きる
と、不正なデータをリード・ライトしてしまうため、こ
のような障害が検出されると、システム全体でデータの
一貫性が保証できなくなり、システムを停止する処理を
行っていた。
2. Description of the Related Art In a failure processing system for a store-in cache, when a parity error is detected when data is written to a cache, or when a hardware failure such as a value of an address register causing a parity error occurs, an illegal operation is performed. Since such data is read / written, if such a failure is detected, data consistency cannot be guaranteed in the entire system, and processing for stopping the system has been performed.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のストア
インキャッシュの障害処理システムでは、ストアイン方
式で制御される結果、「システム全体で最新のデータは
主記憶中ではなく本キャッシュ中に存在する」という特
徴を持つため、ハードウェアの故障による障害が検出さ
れると、データの一貫性を保証するためにはシステムを
停止しなければならない場合が多く、システムの稼働率
が悪くなるという問題があった。
In the conventional store-in cache fault handling system described above, as a result of being controlled by the store-in method, "the latest data in the entire system exists not in the main memory but in the main cache. When a failure is detected due to a hardware failure, the system often needs to be stopped to ensure data consistency, resulting in poor system utilization. there were.

【0004】[0004]

【課題を解決するための手段】本発明のストアインキャ
ッシュの障害システムは、共有メモリ型マルチプロセッ
サシステムのストアインキャッシュの障害処理システム
であって、キャッシュにライトするデータのバイト位置
を指示するデータ(WBP)を保持するバッフアからW
BPをリードした時に前記WBPのパリテイエラーを検
出し、パリテイエラーが検出された時にはWBPの値を
“0”の値にマスクし、パリテイエラーが検出されない
時にはリードしたWBPの値を出力するマスク手段と、
キャッシュにライトするデータを保持するライトデータ
レジスタの出力をパリテイチェックする第一のパリテイ
チェック手段と、キャッシュから一度リードしたデータ
を保持するマージレジスタの出力をパリテイチェックす
る第二のパリテイチェック手段と、第一のパリテイチェ
ックの出力および前記第二のパリテイチェックの出力お
よびキャッシュ登録動作中であることを示す信号から、
キャッシュにライトする1ビットエラー訂正・2ビット
エラー検出のためのコードを2ビットエラーに見せるよ
うに指示する指示手段と、キャッシュにライトするデー
タに対して、1ビットエラー訂正・2ビットエラー検出
のためのコードを生成し、指示手段の指示があれば、こ
のコードを2ビットエラーに見せるように加工して出力
する出力手段と、キャッシュからリードしたデータが1
ビットエラーを起こしていた場合、このデータを訂正
し、正しくパリテイを付与し、また2ビットエラーを起
こした場合、パリテイエラーとなるようにパリテイを付
与する付与手段と、キャッシュのリード・ライト対象エ
ントリを指示するアドレスレジスタの出力をパリテイチ
ェックする第三のパリテイチェック手段と、前記第三の
パリテイチェック手段の出力および前記キャッシュにラ
イトするタイミングを指示する信号から、キャッシュに
対するライト指示を抑止する抑止手段とを備え、セレク
タにより選択されレジスタに保持された前記マスク手段
からの出力をパリテイチェックする第四のパリテイチェ
ック手段とを備え、前記第一、二、および三のパリテイ
チェック手段のエラー結果を対応する要求元に報知して
該要求元の処理に委ね、前記第四のパリテイチェック手
段のエラー結果は前記マルチプロセッサシステム停止と
して使用することを特徴としている。
A store-in cache fault system according to the present invention is a store-in cache fault processing system for a shared memory multiprocessor system, wherein data indicating a byte position of data to be written to the cache is provided. (WBP) from buffer to W
When the BP is read, the parity error of the WBP is detected, and when the parity error is detected, the value of the WBP is masked to a value of “0”, and the parity error is not detected.
Mask means for sometimes outputting the value of the read WBP ;
First parity check means for parity-checking the output of a write data register for holding data to be written to the cache, and second parity checking means for parity-checking the output of a merge register for holding data once read from the cache. Check means, from the output of the first parity check and the output of the second parity check and a signal indicating that the cache registration operation is being performed,
Instructing means for instructing the code for 1-bit error correction / 2-bit error detection to be written to the cache to appear as a 2-bit error, and performing 1-bit error correction / 2-bit error detection for the data to be written to the cache. And a means for processing the code so that the code looks like a two-bit error and outputs the processed code if there is an instruction from the instruction means.
When a bit error has occurred, the data is corrected and parity is correctly given. When a two-bit error occurs, parity is given so that a parity error occurs. Third parity check means for parity checking the output of the address register designating the entry; and a write instruction for the cache based on the output of the third parity check means and a signal designating the timing of writing to the cache. and a suppression means for suppressing that, selector
Mask means selected by the data and held in the register
Fourth parity check to check the output from
And a click means, said first, second, and third parity
Notify the corresponding request source of the error result of the check means
Entrusts the processing of the request source to the fourth parity checker
The error result of the stage is the multiprocessor system stoppage.
It is characterized in that you use to.

【0005】[0005]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0006】図1は本発明のストアインキャッシュの障
害処理システムの一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a store-in-cache failure processing system according to the present invention.

【0007】便宜上本実施例ではデータの幅は32ビッ
ト(または、4バイト) として説明する。
For convenience, in this embodiment, the data width is described as 32 bits (or 4 bytes).

【0008】本実施例のストアインキャッシュは、従来
と同様パイプライン処理ができるよう制御される。ま
た、ストアインキャッシュのデータの状態,データのや
りとり等の手順については本発明の範囲外であるので省
略する。
The store-in cache of this embodiment is controlled so that pipeline processing can be performed as in the prior art. Procedures for the data state of the store-in cache, exchange of data, and the like are out of the scope of the present invention, and a description thereof will be omitted.

【0009】データバッファ1は、複数の(本実施例の
場合4つの)プロセッサからのキャッシュへのライトデ
ータを格納するバッファであり、FIFOで制御され
る。WBP(Write Byte Position )バッファ2は、デ
ータバッファ1の各エントリに対応するWBPを格納す
るバッファであり、データバッファ1と同様に制御され
る。ここで、WBPとはデータバッファ1に格納されて
いるデータ4バイトのうち、どのバイトをライト対象に
するかを示す4ビットの情報である。セレクタ4は、デ
ータバッファ1の4つの出力および、キャッシュにミス
ヒットした時のキャッシュ登録データのうちから1つを
選択するセレクタである。ライトデータレジスタ5は、
キャッシュへのライトデータである、セレクタ4の出力
データを格納する。パリティチェック回路3は、WBP
バッファ2の4つの出力ごとに存在し、WBPバッファ
出力のパリティチェックを行う。セレクタ6は、セレク
タ4と同様に制御され、データに対応するWBPをセレ
クトする。WBPレジスタ7は、ライトデータレジスタ
5に対応するWBPである、セレクタ6の出力を格納す
る。セレクタ8は、パリティチェック回路3の4つの出
力を選択するセレクタである。セレクタ4および6と同
様に制御される。エラーフラグレジスタ9は、セレクタ
8の出力を格納する。マージレジスタ10は、ECC
(Error Correcting Code )訂正回路18の出力を格納
する。パリティチェック回路11,12,13はそれぞ
れライトデータレジスタ5,WBPレジスタ7,マージ
レジスタ10の出力のパリティチェックを行う。マージ
回路14は、ライトデータレジスタ5およびマージレジ
スタ10の出力をWBPレジスタ7の情報に従ってバイ
ト単位にマージする。ECC生成回路15は、マージ回
路14から出力された4バイトデータから、1ビットエ
ラー訂正・2ビットエラー検出のためのECCを生成す
る。キャッシュメモリ16は、ECC生成回路15の出
力をアドレスレジスタ20が示すエントリに信号線20
0が“1”になった時にライトするRAMである。
A data buffer 1 is a buffer for storing write data from a plurality of processors (four in this embodiment) to a cache, and is controlled by a FIFO. The WBP (Write Byte Position) buffer 2 is a buffer that stores a WBP corresponding to each entry of the data buffer 1 and is controlled in the same manner as the data buffer 1. Here, the WBP is 4-bit information indicating which byte of the data 4 bytes stored in the data buffer 1 is to be written. The selector 4 is a selector for selecting one of the four outputs of the data buffer 1 and the cache registration data when a cache miss occurs. The write data register 5
The output data of the selector 4, which is write data to the cache, is stored. The parity check circuit 3
It exists for each of the four outputs of the buffer 2 and performs a parity check on the output of the WBP buffer. The selector 6 is controlled similarly to the selector 4, and selects the WBP corresponding to the data. The WBP register 7 stores an output of the selector 6, which is a WBP corresponding to the write data register 5. The selector 8 is a selector that selects four outputs of the parity check circuit 3. Control is performed in the same manner as the selectors 4 and 6. The error flag register 9 stores the output of the selector 8. The merge register 10 has an ECC
(Error Correcting Code) The output of the correction circuit 18 is stored. The parity check circuits 11, 12, and 13 perform parity checks on the outputs of the write data register 5, the WBP register 7, and the merge register 10, respectively. The merge circuit 14 merges the outputs of the write data register 5 and the merge register 10 in byte units according to the information of the WBP register 7. The ECC generation circuit 15 generates ECC for 1-bit error correction and 2-bit error detection from the 4-byte data output from the merge circuit 14. The cache memory 16 stores the output of the ECC generation circuit 15 in the entry indicated by the address register 20 on the signal line 20.
This is a RAM to be written when 0 becomes "1".

【0010】リードデータレジスタ17は、アドレスレ
ジスタ20が示すキャッシュメモリ16のエントリの内
容を格納する。ECC訂正回路18は、リードデータレ
ジスタ17の出力をECCによりチェックして、1ビッ
トエラーが検出されれば訂正し、この訂正されたデータ
に対して正しくパリティを付与し、また、2ビットエラ
ーが検出されればパリティエラーとなるようなデータを
出力する。リプライデータレジスタ19は、ECC訂正
回路18の出力を格納し、各プロセッサにキャッシュリ
ードデータを返す。アドレスレジスタ20は、キャッシ
ュメモリ16のリード・ライトエントリのアドレスを格
納する。WE(Write Enable)レジスタ21は、各プロ
セッサからのリクエストが「ライト」であった時に
“1”となる。
The read data register 17 stores the contents of the entry of the cache memory 16 indicated by the address register 20. The ECC correction circuit 18 checks the output of the read data register 17 by ECC, corrects a 1-bit error if it is detected, correctly assigns parity to the corrected data, and detects a 2-bit error. If detected, data is output such that a parity error occurs. The reply data register 19 stores the output of the ECC correction circuit 18 and returns cache read data to each processor. The address register 20 stores the address of a read / write entry in the cache memory 16. The WE (Write Enable) register 21 becomes "1" when the request from each processor is "write".

【0011】本実施例のストアインキャッシュは信号線
201および202により、複数同じものが接続され、
互いにデータのやりとりができるようになっている(例
えば、バスにより接続される。図示せず)。
A plurality of the same store-in caches of this embodiment are connected by signal lines 201 and 202.
Data can be exchanged with each other (for example, connected by a bus, not shown).

【0012】次に、本実施例のストアインキャッシュの
障害処理システムの動作について図1を参照して説明す
る。
Next, the operation of the store-in-cache failure processing system of the embodiment will be described with reference to FIG.

【0013】あるプロセッサが本ストアインキャッシュ
に対し、あるデータをライトするようリクエストを発行
したとする(ライトリクエスト)。この時、WBPバッ
ファ2リード時に、パリティチェック回路3でパリティ
エラーが検出された場合、WBPレジスタ7には回路1
00により4ビットとも“0”のWBPが格納される。
また、これと同時にエラーフラグレジスタ9には“1”
の値が格納される。エラーフラグレジスタ9の出力は、
パイプラインの後段に渡され、ライト動作時のエラー報
告{以後エラーリプライ(ライト)と称す}をリクエス
ト元のプロセッサに返す。このエラーリプライ(ライ
ト)を受けた場合の処理については、プロセッサに任せ
ることとする(例えばプロセッサ停止)。このような処
理にすることにより、WBPがパリティエラーを起こし
ているデータをライトしようとしても、回路101の出
力は“0”になり、キャッシュメモリ16のWEがアク
ティブにならないため不正にライトされることはない。
したがってシステムを停止する必要がない。但し、パリ
ティチェック回路12でWBPのパリティエラーが検出
された場合は、従来と同様システム停止となる。
It is assumed that a certain processor issues a request to write certain data to the store-in cache (write request). At this time, if a parity error is detected by the parity check circuit 3 when reading the WBP buffer 2, the circuit 1
00 stores a WBP of “0” in all four bits.
At the same time, “1” is set in the error flag register 9.
Is stored. The output of the error flag register 9 is
It is passed to the subsequent stage of the pipeline, and returns an error report during a write operation (hereinafter referred to as an error reply (write)) to the requesting processor. The processing when the error reply (write) is received is left to the processor (for example, the processor is stopped). By performing such processing, even if the WBP attempts to write data in which a parity error has occurred, the output of the circuit 101 becomes "0" and the WE of the cache memory 16 is not activated because it is not activated. Never.
Therefore, there is no need to stop the system. However, when a parity error of WBP is detected by the parity check circuit 12, the system is stopped as in the related art.

【0014】また、あるプロセッサからのライトリクエ
ストにより、ライトデータレジスタ5にライトデータが
格納された時に、パリテイチェック回路11でパリテイ
エラーが検出された場合、パリテイチェック回路11の
出力はパイプラインの後段に渡され、リクエスト元のプ
ロセッサにエラーリプライ(ライト)を返す。この時
リテイチェック回路11の出力は回路103に入力さ
れ、回路103はECC成回路15に対し、ECC2
ビットエラーとなるようなECCを生成するよう指示す
る。この結果、キャッシュメモリ16には2ビットエラ
ーでデータが格納されるが、このエラーデータの扱い、
およびエラーリプライ(ライト)を受けた場合の処理に
ついてはプロセッサに任せることとし、システムを停止
することはしない。
When a parity error is detected by the parity check circuit 11 when write data is stored in the write data register 5 in response to a write request from a certain processor, the output of the parity check circuit 11 is output to a pipe. It is passed to the latter stage of the line and returns an error reply (write) to the requesting processor. At this time, path
The output of the check circuit 11 is input to the circuit 103.
It is, with respect to circuit 103 ECC producing formation circuit 15, ECC2
Instructs ECC to generate bit errors
You. As a result, the cache memory 16 has a 2-bit error.
Data is stored in the
The processing when an error reply (write) is received is left to the processor, and the system is not stopped.

【0015】マージレジスタ10は、キャッシュメモリ
16の一つのエントリに格納されている4バイトに対
し、その4バイト中の一部のバイトにライトする場合
(以後パーシャルライトと称す)に動作する。
The merge register 10 operates when four bytes stored in one entry of the cache memory 16 are written to a part of the four bytes (hereinafter, referred to as partial write).

【0016】あるプロセッサからのパーシャルライトリ
クエスト時には、キャッシュメモリ16の該当エントリ
の4バイトを一度リードしてマージレジスタ10に格納
しておき、マージ回路14により、WBPレジスタ7の
WBPに従って、ライトデータレジスタ5のデータとバ
イト単位にマージし、もう一度同じエントリに格納す
る。この時、パリティチェック回路13によりマージレ
ジスタ10のパリティエラーが検出された場合、パリテ
ィチェック回路13の出力は回路103に入力され、回
路103はECC生成回路15に対し、ECC2ビット
エラーとなるようなECCを生成するよう指示する。こ
の結果、キャッシュメモリ16には2ビットエラーでデ
ータが格納される。
At the time of a partial write request from a certain processor, four bytes of the corresponding entry of the cache memory 16 are read once and stored in the merge register 10, and the merge data 14 is written by the merge circuit 14 in accordance with the WBP of the WBP register 7. 5 is merged in byte units and stored again in the same entry. At this time, if a parity error of the merge register 10 is detected by the parity check circuit 13, the output of the parity check circuit 13 is input to the circuit 103, and the circuit 103 sends an ECC 2-bit error to the ECC generation circuit 15. Instruct to generate ECC. As a result, data is stored in the cache memory 16 with a 2-bit error.

【0017】パリティチェック回路13の出力はパイプ
ラインの後段に渡され、リクエスト元のプロセッサにエ
ラーリプライ(ライト)を返す。エラーリプライを受け
た場合の処理はプロセッサに任せることとし、システム
を停止することはしない。また、キャッシュメモリ16
に格納した2ビットエラーのデータの扱いは、これをリ
ードしたプロセッサに任せることとする(ECC訂正回
路18を通ることにより、プロセッサにはパリティエラ
ーデータに見える)。また、他のストアインキャッシュ
がこの2ビットエラーのデータを本実施例のストアイン
キャッシュからリードした場合の処理は、本実施例のス
トアインキャッシュがライトデータレジスタ5からキャ
ッシュ登録データをキャッシュメモリ16にライトする
動作と同様である。すなわち、他のストアインキャッシ
ュにおいて、ライトデータレジスタ5にはパリティエラ
ーのデータが格納されるので、パリティチェック回路1
1でパリティエラーが検出される。パリティチェック回
路11の出力は回路103に入力され、キャッシュ登録
動作中であるので、回路103はECC生成回路15に
対し、ECC2ビットエラーとなるようなECCを生成
するよう指示する。この結果、他のストアインキャッシ
ュのキャッシュメモリ16には2ビットエラーでデータ
が格納される。
The output of the parity check circuit 13 is passed to the subsequent stage of the pipeline, and returns an error reply (write) to the requesting processor. The processing when an error reply is received is left to the processor, and the system is not stopped. Also, the cache memory 16
The handling of the 2-bit error data stored in the ECC is left to the processor that has read the data (it looks like parity error data to the processor by passing through the ECC correction circuit 18). In the case where another store-in cache reads the 2-bit error data from the store-in cache of this embodiment, the store-in cache of this embodiment stores the cache registration data from the write data register 5 into the cache memory 16. Is the same as the operation of writing to. In other words, in another store-in cache, the data of the parity error is stored in the write data register 5, so that the parity check circuit 1
At 1, a parity error is detected. Since the output of the parity check circuit 11 is input to the circuit 103 and the cache registration operation is being performed, the circuit 103 instructs the ECC generation circuit 15 to generate an ECC that causes an ECC 2-bit error. As a result, data is stored in the cache memory 16 of another store-in cache with a 2-bit error.

【0018】アドレスレジスタ20には、プロセッサか
らのリード・ライトアドレスが格納される。あるプロセ
ッサからのリードリクエスト時にパリティチェック回路
22でパリティエラーを検出した場合、パリティチェッ
ク回路22の出力がパイプラインの後段に渡され、リク
エスト元のプロセッサにエラーリプライ(リード)を返
す。エラーリプライを受けた場合の処理はプロセッサに
任せることとし、システムを停止することはしない。ま
た、あるプロセッサからのライトリクエスト時にパリテ
ィチェック回路22でパリティエラーを検出した場合、
パリティチェック回路22の出力が回路102に入力さ
れ、回路101で生成されるWE信号を回路102で
“0”マスクする。また、パリティチェック回路22の
出力をパイプラインの後段に渡し、リクエスト元のプロ
セッサにエラーリプライ(ライト)を返す。エラーリプ
ライを受けた場合の処理はプロセッサに任せることとす
る。これにより、不正にキャッシュメモリ16にライト
してしまうことがないので、システムを停止することは
しない。
The address register 20 stores a read / write address from the processor. When a parity error is detected by the parity check circuit 22 at the time of a read request from a certain processor, the output of the parity check circuit 22 is passed to the subsequent stage of the pipeline, and an error reply (read) is returned to the requesting processor. The processing when an error reply is received is left to the processor, and the system is not stopped. When a parity error is detected by the parity check circuit 22 at the time of a write request from a certain processor,
The output of the parity check circuit 22 is input to the circuit 102, and the circuit 102 masks the WE signal generated by the circuit 101 to "0". The output of the parity check circuit 22 is passed to the subsequent stage of the pipeline, and an error reply (write) is returned to the requesting processor. The processing when an error reply is received is left to the processor. As a result, there is no possibility of illegally writing to the cache memory 16, so that the system is not stopped.

【0019】尚、プロセッサの数,ストアインキャッシ
ュの数,データアドレスの幅が本実施例以外でも上述し
たものと同様に実現可能である。
The number of processors, the number of store-in caches, and the width of the data address can be realized in other than this embodiment in the same manner as described above.

【0020】[0020]

【発明の効果】以上説明したように、本発明のストアイ
ンキャッシュの障害処理システムは、プロセッサからの
リード・ライトリクエスト処理中にハードウェアの故障
による障害が検出されても、システム停止の可能性を少
なくでき、システムの稼働率を向上できるという効果が
ある。
As described above, in the store-in-cache failure processing system of the present invention, even if a failure due to a hardware failure is detected during the processing of a read / write request from a processor, the possibility of system suspension may occur. And the operating rate of the system can be improved.

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

【図1】本発明のストアインキャッシュの障害処理シス
テムの一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a store-in-cache failure processing system according to the present invention.

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

1 データバッファ 2 WBPバッファ 3,11,12,13,22 パリティチェック回路 4,6,8 セレクタ 5 ライトデータレジスタ 7 WBPレジスタ 9 エラーフラグレジスタ 10 マージレジスタ 14 マージ回路 15 ECC生成回路 16 キャッシュメモリ 17 リードデータレジスタ 18 ECC訂正回路 19 リプライデータレジスタ 20 アドレスレジスタ 21 WEレジスタ 100〜103 回路 200〜202 信号線 1 Data buffer 2 WBP buffer 3, 11, 12, 13, 22 Parity check circuit 4, 6, 8 Selector 5 Write data register 7 WBP register 9 Error flag register 10 Merge register 14 Merge circuit 15 ECC generation circuit 16 Cache memory 17 Read Data register 18 ECC correction circuit 19 Reply data register 20 Address register 21 WE register 100-103 circuit 200-202 Signal line

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 共有メモリ型マルチプロセッサシステム
のストアインキャッシュの障害処理システムであって、
キャッシュにライトするデータのバイト位置を指示する
データ(WBP)を保持するバッフアからWBPをリー
ドした時に前記WBPのパリテイエラーを検出し、パリ
テイエラーが検出された時にはWBPの値を“0”の値
にマスクし、パリテイエラーが検出されない時にはリー
ドしたWBPの値を出力するマスク手段と、前記キャッ
シュにライトするデータを保持するライトデータレジス
タの出力をパリテイチェックする第一のパリテイチェッ
ク手段と、前記キャッシュから一度リードしたデータを
保持するマージレジスタの出力をパリテイチェックする
第二のパリテイチェック手段と、前記第一のパリテイチ
ェックの出力および前記第二のパリテイチェックの出力
およびキャッシュ登録動作中であることを示す信号か
ら、キャッシュにライトする1ビットエラー訂正・2ビ
ットエラー検出のためのコードを2ビットエラーに見せ
るように指示する指示手段と、前記キャッシュにライト
するデータに対して、1ビットエラー訂正・2ビットエ
ラー検出のためのコードを生成し、前記指示手段の指示
があれば、このコードを2ビットエラーに見せるように
加工して出力する出力手段と、前記キャッシュからリー
ドしたデータが1ビットエラーを起こしていた場合、こ
のデータを訂正し、正しくパリテイを付与し、また2ビ
ットエラーを起こした場合、パリテイエラーとなるよう
にパリテイを付与する付与手段と、前記キャッシュのリ
ード・ライト対象エントリを指示するアドレスレジスタ
の出力をパリテイチェックする第三のパリテイチェック
手段と、前記第三のパリテイチェック手段の出力および
前記キャッシュにライトするタイミングを指示する信号
から、キャッシュに対するライト指示を抑止する抑止手
段と、セレクタにより選択されレジスタに保持された前
記マスク手段からの出力をパリテイチェックする第四の
パリテイチェック手段とを備え、前記第一、二、および
三のパリテイチェック手段のエラー結果を対応する要求
元に報知して該要求元の処理に委ね、前記第四のパリテ
イチェック手段のエラー結果は前記マルチプロセッサシ
ステム停止として使用することを特徴とするストアイン
キャッシュの障害処理システム。
1. A failure handling system for a store-in cache of a shared memory type multiprocessor system,
When the WBP is read from a buffer holding data (WBP) indicating the byte position of the data to be written to the cache, the parity error of the WBP is detected. When the parity error is detected, the value of the WBP is set to “0”. Value, and when no parity error is detected,
Mask means for outputting the value of the read WBP, first parity check means for parity-checking the output of the write data register holding the data to be written to the cache, and holding the data once read from the cache. A second parity check unit for performing a parity check on an output of the merge register, and an output of the first parity check, an output of the second parity check, and a signal indicating that a cache registration operation is being performed. Instruction means for instructing a code for 1-bit error correction / 2-bit error detection to be written to the cache to appear as a 2-bit error, and 1-bit error correction / 2-bit error detection for the data to be written to the cache And generates a code for the Means for processing the data so as to appear as a two-bit error, and when the data read from the cache has a one-bit error, corrects the data, adds correct parity, and corrects the two-bit error. If it occurs, a parity providing means for providing a parity so as to generate a parity error; a third parity checking means for performing a parity check on an output of an address register indicating an entry to be read / written in the cache; from the signal for instructing the timing of writing to the output and said cache of third parity check means, and inhibition means for inhibiting a write instruction to the cache, before held in the register is selected by the selector
4th parity check of the output from the mask means
Parity check means , wherein the first, second, and
A request for the error result of the third parity check means
Informs the requester and leaves it to the requester's processing,
The error result of the checker is
Fault processing system of store-in cache, wherein that you use as stem stop.
JP7088917A 1995-04-14 1995-04-14 Store-in cache failure handling system Expired - Fee Related JP2891897B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7088917A JP2891897B2 (en) 1995-04-14 1995-04-14 Store-in cache failure handling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7088917A JP2891897B2 (en) 1995-04-14 1995-04-14 Store-in cache failure handling system

Publications (2)

Publication Number Publication Date
JPH08286977A JPH08286977A (en) 1996-11-01
JP2891897B2 true JP2891897B2 (en) 1999-05-17

Family

ID=13956284

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7088917A Expired - Fee Related JP2891897B2 (en) 1995-04-14 1995-04-14 Store-in cache failure handling system

Country Status (1)

Country Link
JP (1) JP2891897B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1145568A (en) * 1997-07-24 1999-02-16 Oki Electric Ind Co Ltd Semiconductor storage device
JP4764945B2 (en) * 2007-06-20 2011-09-07 富士通株式会社 Cache control device, cache control method, and cache control program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5616983A (en) * 1979-07-19 1981-02-18 Fujitsu Ltd Data processing system
JPS5987683A (en) * 1982-11-10 1984-05-21 Fujitsu Ltd Controlling method of swap system buffer storage
JPS6432359A (en) * 1987-07-29 1989-02-02 Nec Corp Memory device
JPH03501659A (en) * 1988-08-30 1991-04-11 ユニシス コーポレーシヨン Pipeline address check bit stack controller
JPH03186952A (en) * 1989-12-16 1991-08-14 Mitsubishi Electric Corp Cache memory device

Also Published As

Publication number Publication date
JPH08286977A (en) 1996-11-01

Similar Documents

Publication Publication Date Title
US5274646A (en) Excessive error correction control
US9252814B2 (en) Combined group ECC protection and subgroup parity protection
JP4395425B2 (en) Data processing apparatus and method for processing corrupted data values
JP2007133986A (en) Semiconductor memory
JP2001249911A (en) Data transfer method and data processing system
US8438452B2 (en) Poison bit error checking code scheme
JPH0594377A (en) Parity detecting circuit
US6631489B2 (en) Cache memory and system with partial error detection and correction of MESI protocol
JP2842809B2 (en) Cache index failure correction device
JP2011257966A (en) Cache device and information processor
JP2891897B2 (en) Store-in cache failure handling system
JP3129224B2 (en) Cache memory device
JP2731745B2 (en) Data failure handling device
JPS62242258A (en) Storage device
JP3450132B2 (en) Cache control circuit
JP3068491B2 (en) Cache index failure handling method
JPH0520215A (en) Information processor
JP2021166424A (en) Protective relay device
JPH02297235A (en) Memory data protecting circuit
JP2000099410A (en) Memory control circuit and information processor
JPS59217298A (en) Memory error relieve system
JPH07129466A (en) Hierarchical storage device
JPH09204363A (en) Data memory device
JPS63129440A (en) Store through buffer device
JPH07302226A (en) Memory illegal access detection circuit

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: 19990126

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080226

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090226

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100226

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees