Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5826119B2 - Buffer retry method - Google Patents
[go: Go Back, main page]

JPS5826119B2 - Buffer retry method - Google Patents

Buffer retry method

Info

Publication number
JPS5826119B2
JPS5826119B2 JP52076316A JP7631677A JPS5826119B2 JP S5826119 B2 JPS5826119 B2 JP S5826119B2 JP 52076316 A JP52076316 A JP 52076316A JP 7631677 A JP7631677 A JP 7631677A JP S5826119 B2 JPS5826119 B2 JP S5826119B2
Authority
JP
Japan
Prior art keywords
entry
error
data
detected
buffer
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
Application number
JP52076316A
Other languages
Japanese (ja)
Other versions
JPS5411647A (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.)
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 JP52076316A priority Critical patent/JPS5826119B2/en
Publication of JPS5411647A publication Critical patent/JPS5411647A/en
Publication of JPS5826119B2 publication Critical patent/JPS5826119B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Retry When Errors Occur (AREA)
  • Debugging And Monitoring (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Description

【発明の詳細な説明】 本発明は、六ソファ・メモリのりトライ(再試行)方式
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a six-sofa memory glue try (retry) scheme.

最近の計算機はバッファ・メモリを使用するものが多い
が、バッファ・メモリに障害が生じた場合、従来技術に
おいては障害が生じたバッファ・メモリのエントリを直
ちに使用不可としていた。
Many modern computers use buffer memories, but when a fault occurs in a buffer memory, in the prior art, the entry in the faulty buffer memory is immediately made unusable.

ところが、障害には一時的な障害も多く、上記のような
従来方式によれば、バッファ・メモリに多数の使用不可
のエントリが発生し、バッファ・メモリの機能が短期間
に低下する。
However, many failures are temporary failures, and according to the conventional method as described above, a large number of unusable entries occur in the buffer memory, and the function of the buffer memory deteriorates in a short period of time.

また、計算機は定期的に保守点検が行われるが、バッフ
ァ・メモリの障害についての情報を詳細に保守点検者に
通知できることが望まれている。
Furthermore, computers are regularly inspected for maintenance, and it is desired to be able to notify maintenance inspectors of detailed information about failures in buffer memories.

本発明は、上記の考察にもとづくものであって、一時的
な障害によるバッファ・メモリの機能の低下を防止でき
ると共に、保守点検者に対して詳細な障害情報を提供で
きること等の特徴を有するバッファ・リトライ方式を提
供することを目的としている。
The present invention is based on the above-mentioned considerations, and has the following features: a buffer that is capable of preventing deterioration of buffer memory functions due to temporary failures, and is also capable of providing detailed failure information to maintenance inspectors. - The purpose is to provide a retry method.

そしてそのため、本発明のバッファ・リトライ方式は、
複数のエントリを有し且つ主メモリの写しを保持するバ
ッファ・メモリを具備する情報処理装置において、上記
バッファ・メモリのエントリからの読出しデータにエラ
ーが検出された場合、主メモリからデータを読出してエ
ラーが検出された当該エントリにロードし、しかる後、
当該エントリの内容を読出してエラー・チェックを行い
、エラー・チェックの結果、エラーが検出されなかった
場合には回復障害が生じたことをソフトウェアに通知し
、エラー・チェックの結果、エラーが検出された場合に
は当該エントリを使用不可の状態にすると共にエラーが
検出された当該エントリ以外の新エントリを選択し、主
メモリからデータを読出して上記新エントリにロードす
ることを特徴とするものである。
Therefore, the buffer retry method of the present invention is
In an information processing device equipped with a buffer memory that has a plurality of entries and holds a copy of the main memory, when an error is detected in the data read from the entry of the buffer memory, the data is read from the main memory. load into the entry in question where the error was detected, and then
Reads the contents of the entry and performs an error check. If no error is detected as a result of the error check, the software is notified that a recovery failure has occurred, and as a result of the error check, an error is detected. In this case, the system makes the entry unusable, selects a new entry other than the entry in which the error has been detected, reads data from the main memory, and loads the data into the new entry. .

以下、本発明を図面を参照しつつ説明する。Hereinafter, the present invention will be explained with reference to the drawings.

第1図は本発明の詳細な説明する図、第2図はタグ部の
1エントリの内容を説明する図である。
FIG. 1 is a diagram for explaining the present invention in detail, and FIG. 2 is a diagram for explaining the contents of one entry in the tag section.

第1図において、1は主メモリ、2はバッファ・メモリ
、3はタグ、4はバッファ・メモリ201個のエントリ
(BMエントリと略称する)、5はタグ301個のエン
トリをそれぞれ示している。
In FIG. 1, 1 is the main memory, 2 is a buffer memory, 3 is a tag, 4 is a buffer memory with 201 entries (abbreviated as BM entry), and 5 is a tag with 301 entries.

良く知られているように、セット・アソシアティブ方式
では、主メモリ1のデータAは、バッファ・メモリ2に
おける同一セット内のいずれかのBMエントリ4に格納
される。
As is well known, in the set associative method, data A in the main memory 1 is stored in any BM entry 4 in the same set in the buffer memory 2.

1個のBMエントリニは例えば32ビツトの情報を格納
できる。
One BM entry can store, for example, 32 bits of information.

データA及びデータAが格納されたエントリについての
関連情報AIは、タグ3の対応するエントリ5に書込ま
れる。
Data A and related information AI regarding the entry in which data A is stored are written to the corresponding entry 5 of the tag 3.

第2図は、タグ2のエントリ5に格納される関連情報A
′を示すものである。
FIG. 2 shows related information A stored in entry 5 of tag 2.
′.

可用性、有効性、優先順位及び上位アドレスなどがタグ
2のエントリ5に格納される。
Availability, validity, priority, upper address, etc. are stored in entry 5 of tag 2.

可用性とは、対応するBMエントリ4自身が使用可能か
或は使用不可であるかを示すものである。
Availability indicates whether the corresponding BM entry 4 itself is usable or unusable.

有効性とはBMエントリ4に格納されたデータが有効で
あるか或は無効であるかを示すものである。
Validity indicates whether the data stored in the BM entry 4 is valid or invalid.

優先順位とは、同一セット内の各BMエントリに格納さ
れたデータの優先順位を示すものである。
The priority order indicates the priority order of data stored in each BM entry within the same set.

この優先順位は例えばLRU(Least Recen
tly Used )アルゴリズムで定められる。
This priority order is, for example, LRU (Least Receiver).
tly Used ) algorithm.

上位アドレスは、セクタ番号に対応するものである。The upper address corresponds to the sector number.

次に、本発明の概要について説明する。Next, an overview of the present invention will be explained.

中央処理装置(図示せず)から読出し要求があって、デ
ータAが読出された時、パリティ・チェックが行われる
When a read request is received from a central processing unit (not shown) and data A is read, a parity check is performed.

パリティ・チェックの結果、エラーが検出されると、主
メモリからデータAを読出して、当初データAが書込ま
れている同一のBMエントリ4にデータAを再ロードす
る。
If an error is detected as a result of the parity check, data A is read from the main memory and reloaded into the same BM entry 4 in which data A was originally written.

このBMエントリ4を読出してパリティ・チェックを行
う。
This BM entry 4 is read and a parity check is performed.

エラーが検出されなかった場合には、回復障害が生じた
ことをソフトウェアに通知する。
If no error is detected, the software is notified that a recovery failure has occurred.

上記の通知は割込によって行われる。The above notification is performed by an interrupt.

同一エントリに主メモリ1からのデータAを再ロードし
て読出した時、再びエラーが検出された場合には主メモ
リ1からデータAを異なるBMエントリ4に再ロードす
る。
When data A from the main memory 1 is reloaded into the same entry and read out, if an error is detected again, the data A from the main memory 1 is reloaded into a different BM entry 4.

第1図の例ではデータAは、当初は第0番セット、第2
レベルのBMエントリ4に格納されているが、新しいB
Mエントリ4として例えば第0番セットの第Oレベルの
BMエントリ4を選択し、このエントリ4にデータAを
再ロードする。
In the example shown in Figure 1, data A is initially set No. 0 and set No. 2.
is stored in level BM entry 4, but the new B
For example, the O-th level BM entry 4 of the 0th set is selected as the M entry 4, and the data A is reloaded into this entry 4.

なお、新しいBMエントリ4は、さきに述べた優先順位
によって定められることは言うまでもない。
It goes without saying that the new BM entry 4 is determined by the priority order described above.

新しいBMエントリ4に格納されたデータを読出してパ
リティ・チェックを行い、エラーが検出されなげれば、
システム運転可能障害として割込を掛ける。
Read the data stored in new BM entry 4 and perform a parity check, and if no error is detected,
Interrupts as a system operable failure.

そして、データAが格納されていた当初のBMエントリ
4(この例では第Oセット、第2レベルのエントリ)に
対応するタグ3のエントリ5において、その可用性を示
すビット部に使用不可情報を書込む。
Then, in the entry 5 of the tag 3 corresponding to the original BM entry 4 in which data A was stored (in this example, the Oth set, second level entry), unusable information is written in the bit part indicating its availability. It's crowded.

新しいBMエントリ4を読出してパリティ・チェックを
行った時、エラーが検出された場合には、システム運転
可能障害として割込をかげる。
If an error is detected when a new BM entry 4 is read and a parity check is performed, an interrupt is generated as a system operable failure.

システl、運転不可能状態の割込を、同一セット内の全
テのBMエントリが使用不可であることを確認した後に
行うことも勿論可能である。
Of course, it is also possible to interrupt the inoperable state of the system after confirming that all BM entries in the same set are unusable.

第3図は本発明の1実施例のブロック図、第4図はバッ
ファ・メモリリトライ制御回路(BMリトライ制御回路
と略称する)のブロック図、第5図はフリップ・フロッ
プRCOないしRC2の状態と対応する動作モードの関
係を示す図である。
FIG. 3 is a block diagram of one embodiment of the present invention, FIG. 4 is a block diagram of a buffer memory retry control circuit (abbreviated as BM retry control circuit), and FIG. 5 shows the states of flip-flops RCO to RC2. FIG. 3 is a diagram showing the relationship between corresponding operation modes.

第3図において、6は中央処理装置、6aは割込制御回
路、7はアドレス・レジスタ、8は書込みデータ・レジ
スタ、9は置換エントリ決定回路、10は一致回路、1
1は選択回路、12はリトライ・セット・レジスタ、1
3は読出しデータ・レジスタ、14は主メモリ・アドレ
ス・レジスタ兼リトライ・レジスタ、15は主メモリ書
込みデータ・レジスタ、16はパリティ・チェック回路
、17はBMリトライ制御回路、18はバッファ・メモ
リ・アクセス制御回路(BMアクセス制御回路と略称す
る)、19は主メモリ・アクセス制御回路、20は書込
みバッファ・レジスタをそれぞれ示している。
In FIG. 3, 6 is a central processing unit, 6a is an interrupt control circuit, 7 is an address register, 8 is a write data register, 9 is a replacement entry determination circuit, 10 is a match circuit, 1
1 is a selection circuit, 12 is a retry set register, 1
3 is a read data register, 14 is a main memory address register and retry register, 15 is a main memory write data register, 16 is a parity check circuit, 17 is a BM retry control circuit, and 18 is a buffer memory access. A control circuit (abbreviated as BM access control circuit), 19 is a main memory access control circuit, and 20 is a write buffer register.

また、第4図において、21ないし26はAND回路、
27.28はOR回路、29.30は立上り検出回路、
31はフリップ・フロップ、RCOないしRC2もフリ
ップ・フロツブをそれぞれ示している。
In addition, in FIG. 4, 21 to 26 are AND circuits;
27.28 is an OR circuit, 29.30 is a rising detection circuit,
Reference numeral 31 indicates a flip-flop, and RCO to RC2 also indicate flip-flops.

第3図、第4図の動作について説明する。The operations shown in FIGS. 3 and 4 will be explained.

先ず、バッファ・メモリ2に障害が生じない場合即ち正
常時の動作について説明する。
First, the operation when no failure occurs in the buffer memory 2, that is, when it is normal, will be described.

中央処理装置6にアクセス要求が生ずると、中央処理装
置6は、リクエストをBMアクセス制御装置18に送り
、アドレスをアドレス・レジスタ7に送る。
When an access request is issued to the central processing unit 6, the central processing unit 6 sends the request to the BM access control device 18 and sends the address to the address register 7.

書込みの場合には書込みデータを書込みデータ・レジス
タ8に送る。
In the case of writing, write data is sent to write data register 8.

BMアクセス制御回路18は、バッファ・メモリ2及び
タグ3にアクセスし、アドレスの上位ビットとタグ3の
上位ビットとが一致した場合、一致したレベル番号をバ
ッファ・メモリ出力の選択回路11に送る。
The BM access control circuit 18 accesses the buffer memory 2 and the tag 3, and when the upper bits of the address and the upper bits of the tag 3 match, sends the matched level number to the buffer memory output selection circuit 11.

求めるアドレスがバッファ・メモリに存在する場合を、
FOUNDED CASEと称する。
If the desired address exists in the buffer memory,
It is called FOUNDED CASE.

そして、求めるアドレスがバッファ・メモリ2に存在す
るときは、タグ3の優先順位は更新される。
Then, when the desired address exists in buffer memory 2, the priority order of tag 3 is updated.

バッファ・メモリ2から読出されたデータは、読出しデ
ータ・レジスタ13にセットされ、アクセス元の中央処
理装置6に送られる。
The data read from the buffer memory 2 is set in the read data register 13 and sent to the access source central processing unit 6.

この時、読出しデータはパリティ・チェック回路16で
チェックされる。
At this time, the read data is checked by the parity check circuit 16.

チェック・タイミングはBMアクセス制御回路18によ
って指示される。
The check timing is instructed by the BM access control circuit 18.

一致するタグ出力が存在しない場合(NOTFOUND
ED CASEと称する)、BMアクセス制御回路1
7は、主メモリ・アクセス制御回路19に制御を依頼す
る。
If there is no matching tag output (NOTFOUND
(referred to as ED CASE), BM access control circuit 1
7 requests control from the main memory access control circuit 19.

主メモリ・アクセス制御回路19は主メモリ・アドレス
・レジスタ14が示すアドレスに従って主メモリ1をア
クセスする。
Main memory access control circuit 19 accesses main memory 1 according to the address indicated by main memory address register 14.

なお、アドレス・レジスタ7の内容は、主メモリ・アド
レス・レジスタ14に移される。
Note that the contents of address register 7 are moved to main memory address register 14.

主メモリ1から読出されたデータは書込みバッファ・レ
ジスタ20に書込まれる。
Data read from main memory 1 is written to write buffer register 20.

次に、主メモリ・アクセス制御回路19からBMアクセ
ス制御回路18に制御が渡される。
Next, control is passed from the main memory access control circuit 19 to the BM access control circuit 18.

BMアクセス制御回路18は、主メモリ・アドレス・レ
ジスタ14の内容をアドレス・レジスタ7に書込みバッ
ファ・レジスタ20の内容を書込みデータ・レジスタ8
に移し、バッファ・メモリ2にデータを書込む。
The BM access control circuit 18 writes the contents of the main memory address register 14 to the address register 7, writes the contents of the buffer register 20, and writes the contents of the buffer register 20 to the data register 8.
, and write the data to buffer memory 2.

この際、書込まれるBMエントリ4は置換エントリ決定
回路9によって決定される。
At this time, the BM entry 4 to be written is determined by the replacement entry determination circuit 9.

なお、主メモリ1からデータを読出してバッファ・メモ
リ2にそのデータを書込む動作を、MOUEINと称す
る。
Note that the operation of reading data from main memory 1 and writing the data to buffer memory 2 is called MOUEIN.

次に読出しデータにパリティ・エラーが生じている場合
について説明する。
Next, a case where a parity error occurs in read data will be explained.

さきに述べたようにバッファ・メモリ2からの読出しデ
ータは読出しデータ・レジスタ13にセットされ、パリ
ティ・チェック回路16によってパリティ・チェックさ
れる。
As mentioned earlier, the read data from the buffer memory 2 is set in the read data register 13 and parity checked by the parity check circuit 16.

そして、チェック・タイミングであれば、チェック結果
がBMリトライ制御回路17のフリップ・フロップRC
Oに入力される。
If it is the check timing, the check result is the flip-flop RC of the BM retry control circuit 17.
It is input to O.

(第4図参照)エラーが生じていると、フリップ・フロ
ップRCOはセットされ、AND回路21からレベル1
のBMリトライ信号が送出されると共に、OR回路27
からBM障害処理中信号を送出する。
(See Figure 4) If an error occurs, the flip-flop RCO is set and the level 1 signal is output from the AND circuit 21.
The BM retry signal is sent out, and the OR circuit 27
A BM failure processing signal is sent from the BM failure processing signal.

このときのフリップ・フロップRCO,RC1゜RC2
の状態は第5図に示される。
Flip-flop RCO, RC1°RC2 at this time
The state is shown in FIG.

リトライ・セット・レジスタ12は通常タグ一致出力回
路10の出力をコピーしているが、エラーが検出されて
、パリティ・チェック回路16出力がチェック・タイミ
ングに論理Illであるとクロックを停止し、BM障害
処理中信号が消失するまで、その値を保持する。
The retry set register 12 normally copies the output of the tag match output circuit 10, but if an error is detected and the parity check circuit 16 output is logic Ill at the check timing, it stops the clock and outputs the BM The value is held until the fault processing signal disappears.

レベル10BMリトライ信号が生成されると、ゲー)G
lが閉じてゲートG2が開き、アドレス・レジスタ7に
主メモリ・アドレス・レジスタ兼リトライ・レジスタ1
4の内容が入力される。
When the level 10BM retry signal is generated, game)G
l closes, gate G2 opens, and address register 7 becomes main memory address register/retry register 1.
The contents of 4 are input.

また、置換エントリを障害発生BMエントリに固定する
ため、ゲー)G3が閉じゲートG4が開いて、リトライ
・セット・レジスタ12の内容がタグ3に入力される。
Further, in order to fix the replacement entry to the failed BM entry, gate G3 is closed, gate G4 is opened, and the contents of retry set register 12 are input to tag 3.

BMリトライ制御回路17はBMアクセス制御回路18
にアクセスを依頼する。
BM retry control circuit 17 is BM access control circuit 18
request access.

BMリトライ制御回路17は、BMリトライ・アクセス
をNOT FOUNDED CASEに強制する。
The BM retry control circuit 17 forces the BM retry access to NOT FOUNDED CASE.

この結果、上記障害発生BMエントリに主メモリ1から
データがロードされ、この新内容に対して再度アクセス
が行われ、読出しデータが読出しデータ・レジスタ13
にセットされる。
As a result, data is loaded from the main memory 1 into the faulty BM entry, this new content is accessed again, and the read data is transferred to the read data register 13.
is set to

読出しデータ・レジスタ13のデータをパリティ・チェ
ック回路16でチェックしたときエラーが生じなげれば
、フリップ・フロップRCOは「0」、フリップ・フロ
ップRC1は「1」、フリップ・フロップRC2はrO
Jとなる。
If no error occurs when the data in the read data register 13 is checked by the parity check circuit 16, the flip-flop RCO becomes "0", the flip-flop RC1 becomes "1", and the flip-flop RC2 becomes rO.
It becomes J.

(第5図参照)BMIJ)ライ制御回路17は、障害が
生じたが回復した障害即ち回復障害があったことをソフ
トウェアに通知するため、割込制御回路6aに割込依頼
を行う。
(See FIG. 5) BMIJ) The lie control circuit 17 issues an interrupt request to the interrupt control circuit 6a in order to notify the software that a failure has occurred but has been recovered, that is, there is a recovery failure.

割込終了後、BM’J)ライ制御回路17のフリップ・
フロップRCOないしRClはリセットされ、システム
は正常動作に戻る。
After the interrupt ends, the BM'J) lie control circuit 17 flips.
Flops RCO to RCl are reset and the system returns to normal operation.

読出しデータ・レジスタ13のデータをパリティ・チェ
ック回路16でチェックした時、エラーが検出されると
障害発生BMエントリに対応するタグエントリの可用性
ビットに、使用不可情報を書込む。
When the data in the read data register 13 is checked by the parity check circuit 16, if an error is detected, unusable information is written into the availability bit of the tag entry corresponding to the failed BM entry.

BMリトライ制御回路1Tのフリップ・フロップRCO
は「1」、RClは「1」、RC2は「0」となるので
、レベル20BMリトライが行われる。
Flip-flop RCO of BM retry control circuit 1T
is "1", RCl is "1", and RC2 is "0", so a level 20BM retry is performed.

レベル1のBMリトライの場合と同様に、ゲー)G2が
開かれてアドレス・レジスタ7にリトライ・レジスタ1
4の内容が入力される。
As in the case of level 1 BM retry, G2 is opened and address register 7 is set to retry register 1.
The contents of 4 are input.

またゲートG3が開き、ゲー)G4が閉じて、置換エン
トリ決定回路9の情報がタグ3に入力される。
Further, gate G3 is opened, gate G4 is closed, and information from replacement entry determination circuit 9 is input to tag 3.

BMリトライ制御回路17は、BMリトライ・アクセス
をNOT FOUNDEDCASEに強制する。
The BM retry control circuit 17 forces the BM retry access to NOT FOUNDED CASE.

この結果、障害発生エントリは直前にアクセスされ優先
順位が高いので障害が当初検出されたBMエントリ以外
のエントリに新しく主メモリ1からデータがロードされ
る。
As a result, since the faulty entry was accessed immediately before and has a high priority, new data is loaded from the main memory 1 into an entry other than the BM entry in which the fault was initially detected.

新内容は再び読出しデータ・レジスタ13に読出されて
、パリティ・チェックされる。
The new contents are again read into the read data register 13 and parity checked.

エラーが検出されなげれば、BMリトライ制御回路17
0フリップ・フロップRCOはrOJ、RClは「1」
、RC2は「1」となる。
If no error is detected, the BM retry control circuit 17
0 flip-flop RCO is rOJ, RCl is “1”
, RC2 becomes "1".

(第5図参照)そして、BMエントリに障害が生じたが
他のBMエントリを使用してシステム運転可能であるこ
とをソフトウェアに通知するため、BMリトライ制御回
路17はシステム運転可能BM割込を割込制御回路6a
に割込依頼を行う。
(See Figure 5) Then, in order to notify the software that although a failure has occurred in the BM entry, the system can be operated using other BM entries, the BM retry control circuit 17 issues a system operable BM interrupt. Interrupt control circuit 6a
Make an interruption request.

割込終了後に、BMリトライ制御回路17のフリップ・
フロップRCOないしRC2はリセットされ、システム
は正常動作に戻る。
After the interrupt ends, the BM retry control circuit 17 flips.
Flops RCO to RC2 are reset and the system returns to normal operation.

エラーが検出された場合には、BMリトライ制御回路1
70フリップ・フロップRCOは「1」、RCIは「1
」、RC2は「1」となる。
If an error is detected, BM retry control circuit 1
70 flip-flop RCO is “1”, RCI is “1”
”, RC2 becomes “1”.

そして、システム運転が不可能であることをソフトウェ
アに通知するため、BMリトライ制御回路11はシステ
ム運転不可能BM割込を割込制御回路6aに送出する。
Then, in order to notify the software that system operation is impossible, BM retry control circuit 11 sends a system operation impossible BM interrupt to interrupt control circuit 6a.

割込終了後、BMリトライ制御回路17のフリップ・フ
ロップRCOないしRC2はリセットされ、マシン・チ
ェックによるダウン処理が行われる。
After the interrupt ends, flip-flops RCO to RC2 of the BM retry control circuit 17 are reset, and down processing by machine check is performed.

なお、障害発生時には、とのBMエントリに障害が発生
したか等の詳細情報が通知され、また障害情報は適当な
メモリに記録されることは言うまでもない。
It goes without saying that when a failure occurs, detailed information such as whether a failure has occurred in the BM entry is notified, and the failure information is recorded in an appropriate memory.

以上の説明から明らかなように、本発明によれば、一時
障害によるバッファ・メモリの機能の低下を防止できる
と共に、バッファ・メモリの障害を区別してソフトウェ
アに通知しているので保守作業データを充実させること
が出来る。
As is clear from the above explanation, according to the present invention, it is possible to prevent the deterioration of buffer memory functions due to temporary failures, and also to improve maintenance work data by distinguishing buffer memory failures and notifying the software. I can do it.

勿論、障害情報をハードウェアで記録するようにしても
良い。
Of course, the failure information may be recorded by hardware.

なお、本発明は一般のバッファ・メモリの外、TLBに
対しても適用可能である。
Note that the present invention is applicable not only to general buffer memories but also to TLBs.

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

第1図は本発明の詳細な説明するための図、第2図はタ
グ・エントリの内容を説明する図、第3図は本発明の1
実施例のブロック図、第4図はバッファ・メモリ・リト
ライ制御回路のブロック図、第5図はフリップ・フロッ
プRCOないしRC2の状態と対応する動作モードの関
係を示す図である。 1・・・・・・主メモリ、2・・・・・・バッファ・メ
モリ、3・・・・・・タグ、4・・・・・・バッファ・
メモリのエントリ、5・・・・・・タグのエントリ、6
・・・・・・中央処理装置、7・・・・・・アドレス・
レジスタ、8・・・・・・書込みデータ・レジスタ、9
・・・・・・置換エントリ決定回路、10・・・・・・
一致回路、11・・・・・・選択回路、12・・・・・
・リトライ・セット・レジスタ、13・・・・・・読出
しデータ・レジスタ、14・・・・・・主メモリ・アド
レス・レジスタ兼リトライ・レジスタ、15・・・・・
・主メモリ書込みデータ・レジスタ、16・・・・・・
パリティ・チェック回路、17・・・・・・バッファ・
メモリ・リトライ制御回路、18・・・・・・バッファ
・メモリ・アクセス制御回路、19・・・・・・主メモ
リ・アクセス制御回路、20・・・・・・書込みバッフ
ァ・レジスタ、21ないし26・・・・・・AND回路
、27,28・・・・・・OR回路、29.30・・・
・・・立上り検出回路、31jRCOないしRC2・・
・・・・フリップ・フロップ。
Fig. 1 is a diagram for explaining the present invention in detail, Fig. 2 is a diagram for explaining the contents of the tag entry, and Fig. 3 is a diagram for explaining the details of the present invention.
FIG. 4 is a block diagram of the embodiment, FIG. 4 is a block diagram of the buffer memory retry control circuit, and FIG. 5 is a diagram showing the relationship between the states of flip-flops RCO to RC2 and the corresponding operation modes. 1... Main memory, 2... Buffer memory, 3... Tag, 4... Buffer memory
Memory entry, 5...Tag entry, 6
・・・・・・Central processing unit, 7・・・・・・Address・
Register, 8...Write data register, 9
...Replacement entry determination circuit, 10...
Matching circuit, 11... Selection circuit, 12...
・Retry set register, 13... Read data register, 14... Main memory address register and retry register, 15...
・Main memory write data register, 16...
Parity check circuit, 17...buffer
Memory retry control circuit, 18... Buffer memory access control circuit, 19... Main memory access control circuit, 20... Write buffer register, 21 to 26 ...AND circuit, 27,28...OR circuit, 29.30...
...Rise detection circuit, 31jRCO or RC2...
····flip flop.

Claims (1)

【特許請求の範囲】 1 複数のエントリを有し且つ主メモリの写しを保持す
るバッファ・メモリを具備する情報処理装置において、
上記バッファ・メモリのエントリからの読出しデータに
エラーが検出された場合、主メモリからデータを読出し
てエラーが検出された当該エントリにロードし、しかる
後、当該エントリの内容を読出してエラー・チェックを
行い、エラー・チェックの結果、エラーが検出されなか
った場合には回復障害が生じたことをソフトウェアに通
知し、エラー・チェックの結果、エラーが検出された場
合には当該エントリを使用不可の状態にすると共にエラ
ーが検出された当該エントリ以外の新エントリを選択し
、主メモリからデータを読出して上記新エントリにロー
ドすることを特徴とするバッファ・リトライ方式。 2 主メモリからデータを新エントリにロードした後、
新エントリの内容を読出してエラー・チェックを行い、
エラー・チェックの結果、エラーが検出されなかった場
合にはシステム運転可能障害が発生したことをソフトウ
ェアに通知し、エラー・チェックの結果、エラーが検出
された場合にはバッファ・メモリ側にシステム運転不可
能障害が発生したことをソフトウェアに通知することを
特徴とする特許請求の範囲第1項記載のバッファ・リト
ライ方式。
[Scope of Claims] 1. In an information processing device equipped with a buffer memory that has a plurality of entries and holds a copy of the main memory,
If an error is detected in the data read from the entry in the buffer memory, the data is read from the main memory and loaded into the entry where the error was detected, and then the contents of the entry are read and checked for errors. If no error is detected as a result of the error check, the software is notified that a recovery failure has occurred, and if an error is detected as a result of the error check, the entry is made unusable. The buffer retry method is characterized in that a new entry other than the entry in which the error has been detected is selected, data is read from the main memory, and the data is loaded into the new entry. 2 After loading the data from main memory into the new entry,
Reads the contents of the new entry and performs error checking,
If no error is detected as a result of the error check, the software is notified that a system operation failure has occurred, and if an error is detected as a result of the error check, the system is not operated on the buffer memory side. The buffer retry method according to claim 1, characterized in that software is notified of the occurrence of an impossible failure.
JP52076316A 1977-06-27 1977-06-27 Buffer retry method Expired JPS5826119B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP52076316A JPS5826119B2 (en) 1977-06-27 1977-06-27 Buffer retry method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP52076316A JPS5826119B2 (en) 1977-06-27 1977-06-27 Buffer retry method

Publications (2)

Publication Number Publication Date
JPS5411647A JPS5411647A (en) 1979-01-27
JPS5826119B2 true JPS5826119B2 (en) 1983-05-31

Family

ID=13601958

Family Applications (1)

Application Number Title Priority Date Filing Date
JP52076316A Expired JPS5826119B2 (en) 1977-06-27 1977-06-27 Buffer retry method

Country Status (1)

Country Link
JP (1) JPS5826119B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6708294B1 (en) 1999-09-08 2004-03-16 Fujitsu Limited Cache memory apparatus and computer readable recording medium on which a program for controlling a cache memory is recorded
JP4584124B2 (en) * 2005-11-24 2010-11-17 エヌイーシーコンピュータテクノ株式会社 Information processing apparatus, error processing method thereof, and control program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5228825A (en) * 1975-08-29 1977-03-04 Toshiba Corp Multiple memory unit

Also Published As

Publication number Publication date
JPS5411647A (en) 1979-01-27

Similar Documents

Publication Publication Date Title
US4357656A (en) Method and apparatus for disabling and diagnosing cache memory storage locations
US5875201A (en) Second level cache having instruction cache parity error control
JP2011054263A (en) Memory error and redundancy
US3576982A (en) Error tolerant read-only storage system
US6108753A (en) Cache error retry technique
US4942575A (en) Error connection device for parity protected memory systems
US5953265A (en) Memory having error detection and correction
JPS5826119B2 (en) Buffer retry method
JPS6342294B2 (en)
JPH09288619A (en) Main storage device
KR860002027B1 (en) Key memory error handling system
JPS5845120B2 (en) Buffer memory failure control method
JPS60142759A (en) Error detection system of lru deciding storage device
JP3450132B2 (en) Cache control circuit
JP2993099B2 (en) Redundant memory device
CN120492196A (en) Memory error processing method, device, equipment and storage medium
JP2546915B2 (en) Integrated circuit
US20070271485A1 (en) Method and Device for Error Detection for a Cache Memory and Corresponding Cache Memory
JPS59207080A (en) Control device of cache memory
JPH06110721A (en) Memory controller
JPS60101656A (en) Buffer memory
JP2546411B2 (en) Cache memory device
JPS6041374B2 (en) 1-bit error correction/2-bit error detection method
JPS60189553A (en) Buffer memory control system
JPH02143352A (en) Memory error detection and correction system