JPH03105630A - Error correcting system - Google Patents
Error correcting systemInfo
- Publication number
- JPH03105630A JPH03105630A JP1244787A JP24478789A JPH03105630A JP H03105630 A JPH03105630 A JP H03105630A JP 1244787 A JP1244787 A JP 1244787A JP 24478789 A JP24478789 A JP 24478789A JP H03105630 A JPH03105630 A JP H03105630A
- Authority
- JP
- Japan
- Prior art keywords
- error
- read
- address
- register
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000001514 detection method Methods 0.000 claims description 4
- 230000004044 response Effects 0.000 claims description 3
- 230000010365 information processing Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 1
- 230000005764 inhibitory process Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
- Hardware Redundancy (AREA)
Abstract
Description
【発明の詳細な説明】
技術分野
本発明はエラー訂正システムに関し、特にiff N処
理装置内のソフトウエアによる読み書き可能(ソフトウ
エアビジブル)なレジスタで発生したエラーを訂正する
システムに関する。DETAILED DESCRIPTION OF THE INVENTION TECHNICAL FIELD The present invention relates to error correction systems, and more particularly to systems for correcting errors occurring in software-visible registers within an IF_N processing unit.
従来技術
一般に、情報処理装置において、同一構戊のソフトウェ
アビジブルなレジスタファイルを2個持つということは
、同時に別々のアドレスを読む必要性からしばしば行わ
れていた。その構或例としては、1個のレジスタファイ
ルでリードを2ボート持つもの、あるいはスレーブラッ
チを2個ずつ持つもの、あるいはレジスタファイルごと
同じものを2個持つもの等があった。2. Description of the Related Art In general, information processing apparatuses often have two software-visible register files of the same configuration because it is necessary to read different addresses at the same time. Examples of such structures include one register file with two read ports, two slave latches each, or two identical register files.
そして、夫々の出力についてバリティチェックを行って
いた。また、バリティチェツクの結果、エラーが検出さ
れた場合には、ハードウエアエラーの割込みが発生し、
マイクロプログラムあるいは診断装置によるエラー角ダ
析、リトライ作業が行われる。Then, a parity check was performed on each output. Additionally, if an error is detected as a result of the parity check, a hardware error interrupt will be generated.
Error angle analysis and retry work are performed using a microprogram or diagnostic device.
上述した従来の情報処理装置におけるエラー処理の方法
において、エラーのあったレジスタファイルの値を修復
するためには、ソフトウエア命令を遡ってエラーの発生
しているレジスタファイルのアドレスに書込みを行った
ソフトウエア命令を再度実行しなければならない。しか
し、その後処理が数命令も進んでしまっている場合、そ
の書込み命令まで戻ることは非常に難しく、リトライ率
が低いという欠点がある。In the conventional error handling method for information processing devices described above, in order to repair the value of the register file where the error occurred, the software instruction is traced back and written to the address of the register file where the error has occurred. The software instruction must be executed again. However, if the processing has progressed several instructions after that, it is very difficult to return to the write instruction, and there is a drawback that the retry rate is low.
発明の目的
本発明は上述した従来の欠点をM決するためになされた
ものであり、その目的はエラーを有効に修復し、リトラ
イ率を向上させることができるエラー訂正システムを提
供することである。OBJECTS OF THE INVENTION The present invention has been made to overcome the above-mentioned conventional drawbacks, and its purpose is to provide an error correction system that can effectively repair errors and improve the retry rate.
発明の構成
本発明によるエラー訂正システムは、互いの同一アドレ
スに同一データが格納された第1及び第2の記憶手段に
おける各データのエラーの訂正を行うエラー訂正システ
ムであって、前記記憶手段から夫々読出されるデータの
エラーを検出するエラー検出手段と、前記エラー検出手
段により、前記第1の記憶手段への読出し指令に応答し
て読出されたデータにエラーが検出されたとき前記第1
の記憶手段の読出しアドレスを前記第2の記憶手段の読
出しアドレスとするアドレス指定手段と、前記アドレス
指定手段によって指定されて読出された前記第2の記憶
手段からのデータを前記第1の記憶手段の前記読出しア
ドレスと同一アドレスに書込む手段とを有することを特
徴とする。Structure of the Invention The error correction system according to the present invention is an error correction system that corrects errors in each data in first and second storage means in which the same data is stored at the same address, and that an error detection means for detecting an error in the data being read; and an error detection means detecting an error in the data read in response to a read command to the first storage means.
addressing means for setting the read address of the storage means as the read address of the second storage means; and addressing the data from the second storage means specified and read by the addressing means to the first storage means. The device is characterized in that it has means for writing to the same address as the read address.
実施例 以下、図面を用いて本発明の実施例を説明する。Example Embodiments of the present invention will be described below with reference to the drawings.
第1図は本発明によるエラー訂正システムの一実施例を
含む情報処理装置の主要部の構或を示すブロック図であ
る。FIG. 1 is a block diagram showing the structure of the main parts of an information processing apparatus including an embodiment of an error correction system according to the present invention.
図において、本発明の一実施例によるエラー訂正システ
ムを採用した情報処理装置はレジスタファイル1及び2
と、リードアドレスレジスタ3及び4と、エラーチェッ
ク回路5及び6と、アンド回路7及び8と、リードアド
レスセレクタ9及び10と、ライトアドレスセレクタ1
1及び12と、ライトデータセレクタ13及び14とを
含んで構成されている。なお、ライトアドレスは図示せ
ぬCPUから信号線101を介して与えられ、ライトデ
ータは信号線102を介して与えられるものとする。ま
た、レジスタファイル1及び2はRAMによって構成さ
れた周知のメモリ回路でも良く、それに限定されない。In the figure, an information processing apparatus employing an error correction system according to an embodiment of the present invention includes register files 1 and 2.
, read address registers 3 and 4, error check circuits 5 and 6, AND circuits 7 and 8, read address selectors 9 and 10, and write address selector 1.
1 and 12, and write data selectors 13 and 14. It is assumed that the write address is given via a signal line 101 from a CPU (not shown), and the write data is given via a signal line 102. Furthermore, the register files 1 and 2 may be well-known memory circuits constituted by RAM, but are not limited thereto.
レジスタファイル1及び2はともに32ビット、4バリ
ティ、16ワードのソフトウエアビジブルな汎用レジス
タファイルである。Both register files 1 and 2 are 32-bit, 4-parity, 16-word, software-visible general-purpose register files.
リードアドレスレジスタ3,4は夫々レジスタファイル
1.2のリードアドレスを保持するレジスタである。Read address registers 3 and 4 are registers that hold read addresses of register files 1 and 2, respectively.
エラーチェック回路5,6は夫々レジスタファイル1,
レジスタファイル2からの出力であるリードデータ10
7 . 108のバリティチェックをする回路である。Error check circuits 5 and 6 are connected to register files 1 and 6, respectively.
Read data 10 which is output from register file 2
7. This circuit performs 108 parity checks.
アンドゲート7及び8、さらにリードアドレスセレクタ
9.10は夫々レジスタファイル1. 2へのリード
アドレスの選択回路としての機能を有するものである。AND gates 7 and 8 as well as read address selectors 9 and 10 respectively control register files 1. It has a function as a selection circuit for a read address to 2.
ライトアドレスセレクタ11.12は夫々レジスタファ
イル1,2へのライトアドレスの選択回路である。Write address selectors 11 and 12 are circuits for selecting write addresses to register files 1 and 2, respectively.
ライトデータセレクタ13.14は夫々レジスタファイ
ル1.2へのライトデータの選択回路である。The write data selectors 13 and 14 are respectively circuits for selecting write data to the register file 1.2.
かかる構戊において、通常時のライト動作はレジスタフ
ァイル1.2ともに信号線101で指定されるライトア
ドレスに信号線102のライトデータが書込まれるとい
う動作である。つまり、レジスタファイル1と2とは互
いの同一アドレスに同一データが格納されることとなる
。In this structure, the normal write operation is an operation in which write data on the signal line 102 is written to the write address specified by the signal line 101 in both the register files 1 and 2. In other words, the same data is stored in the register files 1 and 2 at the same address.
また、通常時のリード動作は、レジスタファイル1につ
いてはリードアドレスレジスタ3の出力で指定されるア
ドレスからの読出し動作、レジスタファイル2について
はリードアドレスレジスタ4の出力で指定されるアドレ
スからの読出し動作である。In addition, the normal read operation is a read operation from the address specified by the output of the read address register 3 for register file 1, and a read operation from the address specified by the output of the read address register 4 for register file 2. It is.
さらにまた、レジスタファイル1からのリードデ タ1
07はエラーチェック回路5に人力され、″くリティビ
ットをもとにパリティチェックが行われる。一方、レジ
スタファイル2からのリードデータ108はエラーチェ
ック回路6に人ノJされ、同様にバリティチェックが行
われる。Furthermore, read data 1 from register file 1
07 is input to the error check circuit 5, and a parity check is performed based on the parity bit. On the other hand, read data 108 from the register file 2 is input to the error check circuit 6, and a parity check is performed in the same way. will be held.
一〕まり、通常時においては図示せぬ2つの下位装置か
らの要求に応答し、上位装置である図示せ’/a C
P Uがレジスタファイル1,2に対して別々のリード
アドレスを指定し、別々のリードデータを送出するとい
う動作が行われることとなる。すなわち、保持データを
二重化することによって高速アクセス化を図っているの
である。1] In normal times, in response to requests from two lower-level devices (not shown), the upper-level device (not shown)/a C
The PU specifies different read addresses for register files 1 and 2, and sends out different read data. In other words, high-speed access is achieved by duplicating the held data.
次に、エラー発生時の動作を説明する。今、エラーチェ
ック回路5ではエラーが検出されず、エラーチェック回
路6においてエラーが検出されたものとする。すると、
下位装置の動作抑止が行われるとともに、信号線103
の論理レベルが′0″信号線104の論理レベルが“1
“となり、アンドゲート8の出力信号線l06の論理レ
ベルが“1゜になる。これによって、レジスタファイル
1についてのリードアドレスセレクタ9及びレジスタフ
ァイル2についてのライトアドレスセレクタ12が切換
わり、ともにリードアドレスレジスタ4の出力が選択さ
れる。Next, the operation when an error occurs will be explained. Assume now that the error check circuit 5 does not detect an error, but the error check circuit 6 detects an error. Then,
The operation of the lower-level device is suppressed, and the signal line 103
The logic level of the signal line 104 is '0' and the logic level of the signal line 104 is '1'.
", and the logic level of the output signal line l06 of the AND gate 8 becomes "1 degree. As a result, the read address selector 9 for register file 1 and the write address selector 12 for register file 2 are switched, and the output of read address register 4 is selected for both.
つまり、レジスタファイル2においてエラーが検出され
たアドレスがリードアドレスとしてレフスタファイル1
に指定される他に、ライトアドレスとしてレジスタフィ
ル2に指定されることになる。In other words, the address where the error was detected in register file 2 is used as the read address in Refsta file 1.
In addition to being specified as the write address, it is also specified as the register fill 2.
すると、信号線107にはエラーが検出されなかったレ
ジスタフィル1から正しいデータが読出される。ここで
、レジスタファイル2についてのライトデータセレクタ
14は、上述のように出力信号線lO6の論理レベルが
“1°になっているため、この信号線107を選択する
。これにより、レジスタファイル2内のエラーが検出さ
れたアドレスには正しいデータがリストアされる。Then, correct data is read onto the signal line 107 from the register fill 1 in which no error was detected. Here, the write data selector 14 for the register file 2 selects this signal line 107 because the logic level of the output signal line lO6 is "1°" as described above. Correct data is restored to the address where the error was detected.
ここで、レジスタファイル2に対して読出し動作を行う
とともに、下位装置に対する動作抑止を解除することに
より、エラー訂正動作が完了となる。以上の動作を行う
ことにより、リトライ率が向上することは明白である。At this point, the error correction operation is completed by performing a read operation on the register file 2 and releasing the operation inhibition for the lower-order device. It is clear that the retry rate is improved by performing the above operations.
また、レジスタファイル1においてエラーが険出された
場合にも信号線105の論理レベルが“1″になり、リ
ードアドレスセレクタ10、ライトアドレスセレクタ1
1、ライトデータセレクタ13が夫々切換わり、正しい
データのりストアが行われ、同様にエラー訂己動作が行
われるのである。Also, when an error occurs in the register file 1, the logic level of the signal line 105 becomes "1", and the read address selector 10, write address selector 1
1. The write data selectors 13 are respectively switched, correct data is stored, and error correction operations are similarly performed.
なお、本実施例においては記憶手段たるレジスタファイ
ルが2つである場合について説明したが、3つ以上の場
合についても同様に構成できることは明白である。Although the present embodiment has been described with reference to the case where there are two register files serving as storage means, it is clear that the same configuration can be made in the case where there are three or more register files.
発明の効果
以上説明したように本発明は、二重化されているレジス
タファイルのうち1つのレジスタファイルにおいてエラ
ーが発生した場合、エラーが無い他のレジスタファイル
内の正しいデータを読出してそのエラーの発生したレジ
スタファイルの該当アドレスに書込むというエラー訂正
を行うことにより、リトライ率が向上するという効果が
ある。Effects of the Invention As explained above, in the present invention, when an error occurs in one of the duplicated register files, the correct data in the other register file with no error is read out and the correct data is read out from the other register file where the error occurred. Error correction by writing to the corresponding address in the register file has the effect of improving the retry rate.
第1図は本発明の実施例によるエラー訂正システムを含
む情報処理装置の主要部の構成を示すブロック図である
。
主要部分の符号の説明
1.2・・・・・・レジスタファイルFIG. 1 is a block diagram showing the configuration of the main parts of an information processing apparatus including an error correction system according to an embodiment of the present invention. Explanation of symbols of main parts 1.2・・・Register file
Claims (1)
1及び第2の記憶手段における各データのエラーの訂正
を行うエラー訂正システムであって、前記記憶手段から
夫々読出されるデータのエラーを検出するエラー検出手
段と、前記エラー検出手段により、前記第1の記憶手段
への読出し指令に応答して読出されたデータにエラーが
検出されたとき前記第1の記憶手段の読出しアドレスを
前記第2の記憶手段の読出しアドレスとするアドレス指
定手段と、前記アドレス指定手段によって指定されて読
出された前記第2の記憶手段からのデータを前記第1の
記憶手段の前記読出しアドレスと同一アドレスに書込む
手段とを有することを特徴とするエラー訂正システム。(1) An error correction system that corrects errors in each data in first and second storage means in which the same data is stored at the same address, the system corrects errors in data respectively read from the storage means. an error detection means for detecting, and when an error is detected in the data read in response to a read command to the first storage means, the error detection means sets the read address of the first storage means to the first storage means; addressing means for setting the read address of the second storage means; and writing data from the second storage means specified and read by the addressing means to the same address as the read address of the first storage means. 1. An error correction system characterized in that the error correction system has:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1244787A JPH03105630A (en) | 1989-09-20 | 1989-09-20 | Error correcting system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1244787A JPH03105630A (en) | 1989-09-20 | 1989-09-20 | Error correcting system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03105630A true JPH03105630A (en) | 1991-05-02 |
Family
ID=17123920
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1244787A Pending JPH03105630A (en) | 1989-09-20 | 1989-09-20 | Error correcting system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03105630A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009009570A (en) * | 2007-06-27 | 2009-01-15 | Internatl Business Mach Corp <Ibm> | Register status error recovery and resumption mechanism |
JPWO2008152728A1 (en) * | 2007-06-15 | 2010-08-26 | 富士通株式会社 | Error correction method and arithmetic unit |
-
1989
- 1989-09-20 JP JP1244787A patent/JPH03105630A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPWO2008152728A1 (en) * | 2007-06-15 | 2010-08-26 | 富士通株式会社 | Error correction method and arithmetic unit |
JP5212369B2 (en) * | 2007-06-15 | 2013-06-19 | 富士通株式会社 | Operation unit and control method of operation unit |
US8732550B2 (en) | 2007-06-15 | 2014-05-20 | Fujitsu Limited | Processor and error correcting method |
JP2009009570A (en) * | 2007-06-27 | 2009-01-15 | Internatl Business Mach Corp <Ibm> | Register status error recovery and resumption mechanism |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0227749B1 (en) | Fault tolerant data processing system and method therefor | |
US4852100A (en) | Error detection and correction scheme for main storage unit | |
US4224681A (en) | Parity processing in arithmetic operations | |
JPH03105630A (en) | Error correcting system | |
JPH05165734A (en) | Fixed fault diagnostic device for main storage device | |
JPH0764869A (en) | Method for controlling error ceneration for test in storage device and device therefor | |
JP2022148854A (en) | Storage device | |
JPS61139836A (en) | Instruction control system of pipeline computer | |
JPH0481953A (en) | Memory device | |
JPS6059610B2 (en) | Instruction processing method | |
JPH01133147A (en) | Data processor | |
JPS6055445A (en) | Retrying system | |
JPS61294556A (en) | Detection system for program malfunction | |
JPS6237420B2 (en) | ||
JPH05233467A (en) | Scratch pad memory control system | |
JPS63111547A (en) | Memory control system | |
JPS6074032A (en) | Microprogram controller | |
JPH06161804A (en) | Information processor | |
JPH04233052A (en) | Duplex memory device | |
JPS59217298A (en) | Memory error relieve system | |
JPS61253565A (en) | Storage device | |
JPS63279348A (en) | Check system for memory | |
JPS61267141A (en) | Address detecting device for microprogram | |
JPH04160655A (en) | Execution detecting system | |
JPH0520200A (en) | Error processing system for address conversion buffer |