JPH02162444A - Arithmetic processor - Google Patents

Arithmetic processor

Info

Publication number
JPH02162444A
JPH02162444A JP63316985A JP31698588A JPH02162444A JP H02162444 A JPH02162444 A JP H02162444A JP 63316985 A JP63316985 A JP 63316985A JP 31698588 A JP31698588 A JP 31698588A JP H02162444 A JPH02162444 A JP H02162444A
Authority
JP
Japan
Prior art keywords
data
ram
signal
bus
bidirectional
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63316985A
Other languages
Japanese (ja)
Inventor
Akihito Aikawa
相川 昭仁
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP63316985A priority Critical patent/JPH02162444A/en
Publication of JPH02162444A publication Critical patent/JPH02162444A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To prevent the uncorrectable malfunctions caused by the accumulation of error bits by securing such a constitution where a CPU corrects the soft error of a RAM in a data reading period of the RAM and writes again the normal data and a normal check bit into the RAM. CONSTITUTION:A data register inputs the error correction pulse output signal outputted from an error correction code ECC circuit 13. A timing circuit 8 inputs the read and write signals outputted from a CPU 5 as well as the error correction pulse output signal, outputs the memory read signals to a RAM 10, the circuit 13, and a bus transceiver 16, and outputs the memory write signal to the RAM 10. If the data read out of the RAM 10 has an error, this data is corrected by the circuit 13. In this case, this corrected data and a check bit are written again into the RAM 10. Thus the normal data and a normal check bit are written into the RAM 10. Then it is possible to prevent the accumulation of error data and to prevent the occurrence of uncorrectable malfunctions.

Description

【発明の詳細な説明】 この発明は9例えば計算機利用分野などに用いられるメ
モリ回路のビット誤りによる。演算処理装置の誤動作の
防止に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention is based on bit errors in memory circuits used, for example, in the field of computer application. This invention relates to preventing malfunctions of arithmetic processing units.

〔従来の技術〕[Conventional technology]

一般に高密度化したディジタル回路素子は外的要因1例
えば放射線などの高エネルギー粒子が入射すると、 R
AM(Randos Access Memory)の
ようなディジタル素子の論理が反転するというソフトエ
ラーと呼ばれる現象を引き起こす。このような現象が演
算処理装置を構成するRAMで発生した場合演算処理装
置に重大な支障をきたすことがある。
In general, high-density digital circuit elements are affected by external factors 1, for example, when high-energy particles such as radiation are incident, R
This causes a phenomenon called a soft error in which the logic of a digital element such as an AM (Randos Access Memory) is inverted. If such a phenomenon occurs in the RAM constituting the arithmetic processing device, it may cause serious trouble to the arithmetic processing device.

特に宇宙空間では、高エネルギー粒子の入射催事が高(
、信頼性」:のためにも対策が必要であったF記のこと
から、演算処理装置を構成するCPU(Central
 Processing tlnit)にRAMのソフ
トエラーを回避する手段として、 ECC(Error
 CorrectionCode)回路を追加して用い
ている。ECC回路とはCPUからRAMIこデータを
書込むときは、その書込みデータに応じた特定パターン
(チエツクピットと呼ぶ)をデータに追加して、 RA
Mに書込む。また、 CPt1がRAMのデータを読出
すときは、既にRAMに書込まれているデータとチエツ
クピットを比較し、 RA−の誤りが訂正可能な場合に
は訂正データをCPUが読出すとともに誤り訂正パルス
を出力しRAMの誤りが訂正不可能な場合には誤りを訂
正しないが、誤り検出パルスを出力するというものであ
る。
Especially in outer space, the incidence of high-energy particles is high (
, Reliability": From the point in F, it was necessary to take measures to improve the reliability of the CPU (Central
Processing tlnit) as a means to avoid RAM soft errors.
A correction code) circuit is additionally used. What is an ECC circuit? When data is written from the CPU to the RAM, a specific pattern (called a check pit) is added to the data according to the written data, and the RA
Write to M. Also, when CPt1 reads data from the RAM, it compares the data already written in the RAM with the check pit, and if the error in RA- can be corrected, the CPU reads out the corrected data and performs the error correction. If a RAM error cannot be corrected, the error is not corrected, but an error detection pulse is output.

第3図は、従来の演算処理装置を示す構成図であり1図
において、(5)はcpu、 (la)はCP[I(5
)から出力されるアドレス信号、(1)はアドレス信号
(L4)を任意の整数1本を合わせたアドレスバス、 
(10)はアドレスバス(1)の信号を入力したRAM
 、 (2a)はCPU(5)のデータを入出力する第
1の双方向データ信号、(2)は第1の双方向データ信
号を任意の整数j本を合わせた第1の双方向データバス
、 (13)は第1の双方向データバス(2)の信号を
人出力するECC回路、 (6a)はECC回路(13
)とRAM(10)のデータ信号を人出力する第2の双
方向データ信号、(6)は第2の双方向データ信号(6
a)を任意の整数j本を合わせた第2の双方向データバ
ス、 (7a)はECC回路(13)とRAM(10)
のチェックビット信号を入出力する。双方向チエツクピ
ット信号、(7)は双方向チェックビット信号(7a)
を任意の整数に本を合わせた双方向チェックビットバス
、(3)はCPU(5)がRAM(10)にデータの読
出しを指示する読出し信号、(4)はCPU(5)がR
AM(1G)にデータの書込みを指示する書込み信号、
 (11)はECC回路(I3)によって第2の双方向
データバス(6)と双方向チェックビットバス(7)の
それぞれの信号から誤りを訂正したとき信号を出力する
誤り訂正パルス信号出力(12)はECC回路(13)
によって第2の双方向データバス(6)と双方向チェッ
クビットバス(7)のそれぞれの信号から誤りを検出し
たとき信号を出力する誤り検出パルス信号出力である。
FIG. 3 is a block diagram showing a conventional arithmetic processing device. In FIG. 1, (5) is CPU, (la) is CP[I(5
), (1) is an address bus that combines the address signal (L4) with one arbitrary integer,
(10) is the RAM into which the address bus (1) signal is input.
, (2a) is a first bidirectional data signal that inputs and outputs data from the CPU (5), and (2) is a first bidirectional data bus that combines an arbitrary integer j of first bidirectional data signals. , (13) is an ECC circuit that outputs the signal of the first bidirectional data bus (2), and (6a) is an ECC circuit (13) that outputs the signal of the first bidirectional data bus (2).
) and a second bidirectional data signal that outputs the data signal of RAM (10), and (6) is a second bidirectional data signal that outputs the data signal of RAM (10).
a) is a second bidirectional data bus consisting of an arbitrary integer number j; (7a) is an ECC circuit (13) and a RAM (10);
Input/output the check bit signal. Bidirectional check pit signal (7) is bidirectional check bit signal (7a)
is a bidirectional check bit bus whose length is set to an arbitrary integer, (3) is a read signal that instructs the CPU (5) to read data from the RAM (10), and (4) is a read signal that the CPU (5) uses to read data from the RAM (10).
A write signal that instructs AM (1G) to write data,
(11) is an error correction pulse signal output (12) that outputs a signal when an error is corrected from each signal of the second bidirectional data bus (6) and bidirectional check bit bus (7) by the ECC circuit (I3). ) is the ECC circuit (13)
This is an error detection pulse signal output that outputs a signal when an error is detected from the respective signals of the second bidirectional data bus (6) and the bidirectional check bit bus (7).

従来の演算処理装置は上記のように構成されている。次
に動作について説明する。
A conventional arithmetic processing device is configured as described above. Next, the operation will be explained.

cpu(5)がデータをRAM(10)1.:書込む場
合、 CPU(5)はアドレスバス(1)からアドレス
信号を出力すると同時に第1の双方向データバス(2)
に書込みデータを出力する。またCPU(5)は書込み
信号(4)をRAM(to)に出力する。このとき、 
ECC回路(13)は入力した第1双方向データバス(
2)のデータに対応したチエツクピットを生成し、デー
タを第2の双方向データバス(6)に出力し、同時にチ
エ’yクビットを双方向チェックビ・ットバス(7)に
信号を出力する。RAM(10)は、入力されたアドレ
スバス(’l)の信号と第2の双方向データバス(6)
、双方向チェックビットバス(7)の信号を、 CPU
(5)からの書込み信号(4)のタイミングで書込まれ
る。
CPU (5) stores data in RAM (10) 1. : When writing, the CPU (5) outputs the address signal from the address bus (1) and simultaneously outputs the address signal from the first bidirectional data bus (2).
Output the write data to. Further, the CPU (5) outputs a write signal (4) to the RAM (to). At this time,
The ECC circuit (13) receives the input first bidirectional data bus (
A check pit corresponding to the data in step 2) is generated, the data is output to the second bidirectional data bus (6), and at the same time a check bit signal is output to the bidirectional check bit bus (7). The RAM (10) receives the input address bus ('l) signal and the second bidirectional data bus (6).
, bidirectional check bit bus (7) signal, CPU
It is written at the timing of the write signal (4) from (5).

CPU(5)がデータをRAM(10)から読出す場合
、 CPU(5)はアドレスバス(1)によりRAM(
10)のアドレスを指定する。またCPU(5)は読出
し要求を、読出し信号(3)に出力し、 RAM(10
)に要求を与える。アドレスを指定され、読出し要求を
与えられたRAM(10)は、アドレスに対応したデー
タ信号とチエツクピット信号を第2の双方向データバス
(6)と双方向チエ・lクビットバス(7)に出力する
。第2の双方向データバス(6)と双方向チェックビッ
トバス(7)のそれぞれの信号を入力したECC回路(
13)はCPU(5)から出力した読出し信号(3)に
より、誤り訂正状態となり第2の双方向データバス(6
)と双方向チェックビットバス(7)のそれぞれの信号
から誤り状態を検出して、誤りがない場合は、第2の双
方向データバス(6)のデータ信号をそのまま、第1の
双方向データバス(2)に出力する。CPU(5)はF
、CC回路(13)で出力した第1の双方向データバス
(2)のデータ信号を読出し、読出し処理を終了する。
When the CPU (5) reads data from the RAM (10), the CPU (5) reads data from the RAM (10) using the address bus (1).
10) Specify the address. Further, the CPU (5) outputs a read request to the read signal (3), and outputs the read request to the RAM (10
) to make a request. The RAM (10) to which an address is specified and a read request is given outputs the data signal and check pit signal corresponding to the address to the second bidirectional data bus (6) and the bidirectional check/l check bit bus (7). do. The ECC circuit (which receives the signals of the second bidirectional data bus (6) and the bidirectional check bit bus (7)) (
13) is put into an error correction state by the read signal (3) output from the CPU (5), and is connected to the second bidirectional data bus (6).
) and the bidirectional check bit bus (7), and if there is no error, the data signal of the second bidirectional data bus (6) is directly transmitted to the first bidirectional data bus (6). Output to bus (2). CPU (5) is F
, the data signal of the first bidirectional data bus (2) outputted by the CC circuit (13) is read, and the read processing is completed.

ここで、RAM(10)の書込みデータが外的要因によ
りビット反転を引き起こすソフトエラーを発生した場合
について説明する。RAM(IQ)のデータ信号を読出
され、第2の双方向データバス(6)と双方向チエツク
パス(7)のそれぞれの信号の中に誤りビットを含まれ
る場合で、 ECC回路(13)により誤り訂正可能な
誤りのときは、第2の双方向データバス(6)の信号の
誤りビットを訂正し、訂正したデータを第1の双方向デ
ータばす(2)に出力し、誤り訂正パルスを誤り訂正パ
ルス出力(11)に信号を出力するしたがって、CPU
(5)がI’lAM(1G)から読出したデータ信号は
、正常なものとなる。また、 ECC回路(13)によ
り誤り訂正が不可能な誤りのときには、 ECC回路(
13)は誤りを含んだデータの状態で第1の双方向デー
タバス(1)に出力し、誤りを検出したことのみを誤り
検出パルス出力(12)に信号を出力する。
Here, a case will be described in which a soft error that causes bit inversion occurs in the write data of the RAM (10) due to an external factor. When the data signal of the RAM (IQ) is read and error bits are included in the signals of the second bidirectional data bus (6) and the bidirectional check path (7), the error is detected by the ECC circuit (13). When the error is correctable, the error bit of the signal on the second bidirectional data bus (6) is corrected, the corrected data is output to the first bidirectional data bus (2), and the error correction pulse is Therefore, the CPU outputs a signal to the correction pulse output (11).
The data signal read by (5) from I'lAM (1G) is normal. In addition, when an error cannot be corrected by the ECC circuit (13), the ECC circuit (13)
13) outputs error-containing data to the first bidirectional data bus (1), and outputs a signal indicating that an error has been detected to the error detection pulse output (12).

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

I−記の演算処理装置は以上のように構成されているの
で、 ECC回路の誤り訂正能力を越える誤りビットの
訂正はできず、 cpuに誤りデータを読込むことで誤
動作を引き起こすことがあった。一般に。
Since the arithmetic processing unit described in I- is configured as described above, it was not possible to correct error bits that exceeded the error correction capability of the ECC circuit, and reading error data into the CPU could cause malfunctions. . in general.

RAMが1度の外的要因で発生するソフトエラーはほと
んどの場合が単一ピット誤りであることが知られている
。したがって、 ECC回路で誤り訂正能力を越えるよ
うな多重ビット誤りは、単一ビット誤りが再び同一アド
レスにソフトエラーを引き起こし誤りビットが蓄積する
ことによって発生する確率が高いことがわかる。つまり
、RAMIと発生するソフトエラーの蓄積によって誤動
作を引き起こすという課題があった。
It is known that most soft errors that occur in a RAM due to a single external factor are single pit errors. Therefore, it can be seen that there is a high probability that multiple bit errors that exceed the error correction capability of the ECC circuit occur because a single bit error causes a soft error again at the same address and erroneous bits accumulate. In other words, there is a problem in that RAMI causes malfunctions due to accumulation of soft errors that occur.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係わる演算処理装置は、 RAMから読出し
たデータに誤りが発生していたとき、そのデータをEC
C回路で誤り訂正する。このとき2この誤り訂iEデー
タとチェックビットをRAMIこ再び書込むようにする
ことで、 RAMには正常データと正常のチエツクピッ
トが書込まれる。このように誤り訂正の度に正常データ
を書込むようにすることで、誤りデータの蓄積を防ぎ、
誤り訂正不能による誤動作を防止したものである。
The arithmetic processing device according to the present invention, when an error has occurred in the data read from the RAM, converts the data into an EC.
The error is corrected using the C circuit. At this time, by writing the error corrected iE data and check bits back to the RAMI, normal data and normal check pits are written to the RAM. By writing normal data every time an error is corrected in this way, the accumulation of error data is prevented.
This prevents malfunctions due to inability to correct errors.

〔作用〕[Effect]

この発明における演算処理装置は、 cpuがRAMの
データを読出すとき、 RAMIこソフトエラーが発生
していて、 ECC回路で誤りを訂正されると、この誤
り訂正による誤り訂正データを誤り訂正パルスをトリガ
にして、レジスタに保存し2次に誤りを訂正し正常デー
タとなったレジスタのデータをCPUのデータとすると
同時にレジスタのデータで再びECC回路によりチエツ
クピットを付加してRAM1こ再び書込む。
In the arithmetic processing device of the present invention, when a soft error occurs in the RAM when the CPU reads data from the RAM, and the error is corrected by the ECC circuit, the arithmetic processing device applies an error correction pulse to the error correction data resulting from this error correction. Using a trigger, the data is stored in a register, and the data in the register, which is corrected for errors and becomes normal data, is used as data for the CPU, and at the same time, a check pit is added again using the ECC circuit using the data in the register, and the data is written into the RAM 1 again.

〔実施例〕〔Example〕

以下、この発明の一実施例について説明する。 An embodiment of the present invention will be described below.

第1図において、(1)から(7)、及び(10)〜(
13)は上記従来の演算処理装置と全く同一なものであ
る。
In Figure 1, (1) to (7), and (10) to (
13) is completely the same as the conventional arithmetic processing device described above.

(16)は第1の双方向データバス(2)のデータ信号
のデータ方向を分離するバストランシーバで、(+4)
は1−記バストランシーバ(16)からデータ方向を出
力側に分離した出力データバスで、 (15)は−上記
バストランシーバ(16)からデータ方向を入力側に分
離した入力データバスで、 (17)は−上記出力デー
タバス(14)の信号を入力し、上記ECC回路(13
)から出力した誤り訂正パルス信号をタイミング信号と
して入力し上記入力データバス(15)に信号を出力し
たデータレジスタで、 (1g)は−上記CPU(5)
から出力した読出し信号(3)と書込み信号(4)を入
力し、またI−記ECC回路(13)から誤り訂正パル
ス信号(11)を入力したタイミング回路と、(8)は
上記タイミング回路(18)から出力し、上記RAM(
1G)と−上記ECC回路(13)と上記バストランシ
ーバ(16)に入力したメモリ読出し信号、(9)は上
記タイミング回路(18)から出力し上記RAM(10
)に入力したメモリ書込み信号である。
(16) is a bus transceiver that separates the data direction of the data signal of the first bidirectional data bus (2); (+4)
(1) is an output data bus separated from the bus transceiver (16) in the data direction to the output side; (15) is an input data bus separated from the bus transceiver (16) in the data direction to the input side; (17) ) inputs the signal of the above output data bus (14), and inputs the signal of the above ECC circuit (13).
) is a data register that inputs the error correction pulse signal output from the CPU (5) as a timing signal and outputs the signal to the input data bus (15).
(8) is a timing circuit into which the read signal (3) and write signal (4) outputted from the I-recorded ECC circuit (13) are input; 18) and the above RAM (
1G) and - the memory read signal inputted to the ECC circuit (13) and the bus transceiver (16), (9) is output from the timing circuit (18) and read out from the RAM (10).
) is the memory write signal input to

1−記のように構成された演算処理装置においてCPU
(5)からRAM(to)にデータを書込む場合は、上
記従来の演算処理装置と同様な動作になる。ただし、C
PU(5)から出力する読出し信号(3)と書込み信号
(4)はタイミング回路(18)に入力され、メモリ読
出し信号(8)とメモリ書込み信号(9)で出力してい
るが、データ書込みの場合は、読出し信号(3)と書込
み信号(4)は、メモリ読出し信号(8)とメモリ書込
み信号(9)に同一の信号が出力される。
1- In the arithmetic processing unit configured as described above, the CPU
When writing data from (5) to RAM (to), the operation is similar to that of the conventional arithmetic processing device described above. However, C
The read signal (3) and write signal (4) output from the PU (5) are input to a timing circuit (18), and are output as a memory read signal (8) and a memory write signal (9). In this case, the read signal (3) and write signal (4) are the same as the memory read signal (8) and memory write signal (9).

CPU(5)がRAM(10)のデータを読出す場合、
 CPU(5)はRAM(10)に読出しアドレスをア
ドレスバス(1)により指定する〔第2図の(1)に示
す〕。またCPU(5)は読出し信号(3)〔第2図の
(3)に示す〕をタイミング回路(18)に出力する。
When the CPU (5) reads data from the RAM (10),
The CPU (5) specifies a read address to the RAM (10) via the address bus (1) [shown in (1) in FIG. 2]. The CPU (5) also outputs a read signal (3) [shown in (3) in FIG. 2] to the timing circuit (18).

タイミング回路(18)は上記読出し信号(3)により
メモリ読出し信号(8)に同一の信号を出力する。上記
メモリ読出し信号(8)により、RAM(10)から、
データが第2の双方向データバス(6)にまたチェック
ビットが双方向チェックビットパス(7)に出力される
。 上記メモリ読出し信号(8)はECC回路(13)
を誤り訂正状態するのでRAM(13)からの第2の双
方向データバス(6)と双方向チェックビットバス(7
)の信号の誤り訂正するこの第2の双方向データバス(
6)と双方向チェックビットバス(7)のデータ信号に
誤りがない場合は、上記憶2の双方向データバスのデー
タ信号がそのまま第1の双方向データバス(2)に出力
し、CPU(5)がデータを読出すことができる。次に
CPU(5)がRAM(10)からデータを読出すとき
RAM(10)のデータが外的要因による誤りデータが
存在した場合について述べる。まずRAIll(1G)
の読出しデータである第2の双方向データバス(6)と
双方向チェックビットバス(7)の信号に誤りが存在し
、 ECC回路(13)に入力されたとき、 ECC回
路(13)で誤り訂正可能な誤りが発生した場合は〔第
2図の(6)、 (7)に示す)、ECC回路(13)
では誤り訂正が行われ誤り訂1Eデータが第1の双方向
データバス(2)に出力され、誤り訂正パルス信号出力
(11)に信号を出力し〔第2図の(11)に示す。〕
この信号がデータレジスタ(17)とタイミング回路(
18)に入力する。バストランシーバ(16)は、メモ
リ読出し信号(8)が出力しているときは、出力データ
バス(14)にデータを出力する状態になっている。デ
ータレジスタ(17)は、バストランシーバ(16)の
出力状態で得られた第1の双方向データバス(2〉のデ
ータである。誤り訂正データを入力する。 ここでEC
C回路(11)で出力した誤り訂正パルス信号出力(]
I1の信号によりデータレジスタ(17)は誤り訂正デ
ータを記憶するまたタイミング回路(18)は、誤り訂
正パルス信号出力(11)の信号により、メモリ読出し
信号(8)を停止する(第2図の(8)に示す。)これ
によりバストランシーバ(1B)は、出力データバス(
I4)にデータを出力する状態から2入力データバス(
15)にデータを入力する状態に変化し、またECC回
路(13)も、誤り訂正状態からチェックビット生成状
態に変化する。この動作により、データレジスタ(17
)に記憶された誤り訂正データが、出力データバス(1
5)を通して、第1の双方向データバス(2)に信号を
出力し、 CPU(5)とECC回路(I3)に入力さ
れる。またこのとき、 ECC回路(13)は、チェッ
クビット生成状態となっているので、第2のデータバス
(6)に誤り訂正データが出力され、また誤り訂正デー
タに応じたチェックビットデータが双方向チェックビッ
トバス(7)に出力する。 タイミング回路(18)は
、誤り訂正パルス信号出力(11)の信号を入力し、一
定時間経過したのち、メモリ書込み信号(9)を出力す
る1第2図の(9)に示す。l J?AM(10)は、
読出しアドレスが指定された状態で、誤りデータを読出
した後誤り訂iEデータを第2の双方向性データバス゛
(6)とそれに対応したチエツクピットを双方向チェッ
クビットバス(7)のそれぞれの誤りのない信号をメモ
リ爬込み信号(9)により、再び書き込まれる。
The timing circuit (18) outputs the same signal as the memory read signal (8) in response to the read signal (3). From the RAM (10) by the memory read signal (8),
Data is output onto a second bi-directional data bus (6) and check bits are output onto a bi-directional check bit path (7). The above memory read signal (8) is the ECC circuit (13)
, the second bidirectional data bus (6) from the RAM (13) and the bidirectional check bit bus (7)
This second bidirectional data bus (
6) and the bidirectional check bit bus (7), the data signal of the bidirectional data bus of upper storage 2 is output as is to the first bidirectional data bus (2), and the CPU ( 5) can read data. Next, a case will be described in which when the CPU (5) reads data from the RAM (10), there is error data in the data in the RAM (10) due to an external factor. First, RAIll (1G)
When there is an error in the signals of the second bidirectional data bus (6) and bidirectional check bit bus (7), which are read data, and the signals are input to the ECC circuit (13), an error occurs in the ECC circuit (13). If a correctable error occurs [as shown in (6) and (7) in Figure 2], the ECC circuit (13)
Then, error correction is performed and error corrected 1E data is output to the first bidirectional data bus (2), and a signal is output to the error correction pulse signal output (11) [shown in (11) in FIG. 2]. ]
This signal is connected to the data register (17) and the timing circuit (
18). The bus transceiver (16) is in a state of outputting data to the output data bus (14) when the memory read signal (8) is being output. The data register (17) is the data of the first bidirectional data bus (2> obtained from the output state of the bus transceiver (16).Error correction data is input here.
Error correction pulse signal output from C circuit (11) (]
The data register (17) stores error correction data in response to the signal from I1, and the timing circuit (18) stops the memory read signal (8) in response to the error correction pulse signal output (11) (as shown in Fig. 2). (8)) As a result, the bus transceiver (1B) connects the output data bus (
I4) to output data to the 2-input data bus (
15), and the ECC circuit (13) also changes from the error correction state to the check bit generation state. This operation causes the data register (17
) The error correction data stored in the output data bus (1
5), outputs a signal to the first bidirectional data bus (2), and inputs the signal to the CPU (5) and the ECC circuit (I3). Also, at this time, since the ECC circuit (13) is in the check bit generation state, error correction data is output to the second data bus (6), and check bit data corresponding to the error correction data is transmitted in both directions. Output to check bit bus (7). The timing circuit (18) inputs the signal of the error correction pulse signal output (11), and outputs the memory write signal (9) after a certain period of time, as shown in (9) in FIG. lJ? AM (10) is
With the read address specified, after reading the error data, the error corrected iE data is transferred to the second bidirectional data bus (6) and the corresponding check pit is transferred to the bidirectional check bit bus (7) for each error. The signal that is not present is written again by the memory retrieval signal (9).

ただしECC回路(13)で誤りを訂正できないような
RAM(to)に誤りが存在した場合は、従来技術と同
様に誤り検出パルス信号(12)を出力し、第2の双方
向データバス(6)の誤りデータのままを第1の双方向
データバス(2)に出力し、 CPU(5)は、誤りデ
ータを読出してしまう。
However, if there is an error in the RAM (to) that cannot be corrected by the ECC circuit (13), the error detection pulse signal (12) is output as in the conventional technology, and the second bidirectional data bus (6 ) is output as is to the first bidirectional data bus (2), and the CPU (5) reads out the error data.

〔発明の効果〕〔Effect of the invention〕

以上のようにこの発明によれば、 RAMに発生するソ
フトエラーの誤りをCPUがRAMのデータ読出し期間
中に、誤りを訂正して正常データと正常チエ・ツタビッ
トをIilAMに再び書込むように構成したので誤りビ
ットの蓄積で発生する誤り訂正不能による誤動作を防+
hすることができ、またCPUの読出し期間中に誤りを
訂正し、 RAMに再書込みを行うように構成したので
、演算処理装置のソフトエラーに影響を及ぼさず、また
処理時間も従来のままで信頼性の高いものが得られると
いう効果)(ある。
As described above, according to the present invention, the CPU corrects the soft errors occurring in the RAM during the period of reading data from the RAM, and writes normal data and normal bits to the IIILAM again. This prevents malfunctions caused by the inability to correct errors caused by accumulation of error bits.
In addition, since it is configured to correct errors and rewrite to RAM during the CPU read period, it does not affect soft errors in the arithmetic processing unit, and the processing time remains the same as before. The effect of obtaining highly reliable products) (Yes.

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

第1図はこの発明の一実施例による演算処理装置を示す
構成図、第2図は一実施例のタイミングを説明するタイ
ミング図、第3図は従来の演算処理装置を示す構成図で
ある。 図において、 (1)はアドレスバス、 (2)は第1
の双方向データバス、(3)は読出し信号、(4)は書
込み信号、(5)はCPU、 (6)は第2の双方向デ
ータバス、 (7)は双方向チェックビットパス、(8
)はメモリ読出し信号、(9)はメモリ書込み信号、 
(10)はRAM、 (11)は誤り訂正パルス信号出
力、 (12)は誤り検出パルス信号出力、(13)は
ECC回路、 (14)は出力データバス(I5)ハ入
力データバス、 (16)はバストランシーバ(17)
はデータレジスタ、 (1g)はタイミング回路である
FIG. 1 is a block diagram showing an arithmetic processing device according to an embodiment of the present invention, FIG. 2 is a timing diagram illustrating the timing of the embodiment, and FIG. 3 is a block diagram showing a conventional arithmetic processing device. In the figure, (1) is the address bus, (2) is the first
bidirectional data bus, (3) is read signal, (4) is write signal, (5) is CPU, (6) is second bidirectional data bus, (7) is bidirectional check bit path, (8
) is a memory read signal, (9) is a memory write signal,
(10) is RAM, (11) is error correction pulse signal output, (12) is error detection pulse signal output, (13) is ECC circuit, (14) is output data bus (I5), (16) is input data bus ) is a bus transceiver (17)
is a data register, and (1g) is a timing circuit.

Claims (1)

【特許請求の範囲】[Claims] 複数のアドレス信号を合わせてアドレスバスとし、また
複数の双方向データ信号を合わせて第1の双方向データ
バスとし、また読出し信号と書込み信号を出力としたC
PU(CentralProcessingUnit)
と、上記アドレスバスを接続して新たな複数の双方向デ
ータ信号を合わせた第2の双方向データバスを接続し、
また複数の双方向チェックビット信号を合わせた双方向
チェックビットバスを接続し、また上記第2の双方向デ
ータバスの信号方向を決定するメモリ読出し信号とメモ
リ書込み信号を入力したRAM(RandomAcce
ssMemory)と、上記CPUと接続しているデー
タバスを接続し、また上記RAMと接続している第2の
双方向データバスを接続し、また上記RAMと接続して
いる双方向チェックビットバスを接続し、また上記RA
Mに入力しているメモリ読出し信号を入力し、また誤り
訂正信号を出力する誤り訂正パルス信号と誤り検出信号
を出力する誤り検出パルス信号を出力する、ECC回路
と、上記CPUと上記ECC回路に接続されている第1
の双方向データバスを接続し、また上記双方向の第1の
データバスを分離した出力データバスと入力データバス
を接続した上記メモリ読出し信号を入力したバストラン
シーバと、上記バストランシーバに接続している出力デ
ータバスと入力データバスを接続し、また上記ECC回
路から出力した上記誤り訂正パルス出力の信号を入力し
たデータレジスタと、E記CPUから出力した上記読出
し信号と上記書込み信号を入力し、また上記ECC回路
から出力した上記誤り訂正パルス出力の信号を入力し、
また上記RAMと上記ECC回路と上記バストランシー
バにメモリ読出し信号を出力し、また上記RAMにメモ
リ書込み信号を出力したタイミング回路を備えたことを
特徴とする演算処理装置
C in which a plurality of address signals are combined to form an address bus, a plurality of bidirectional data signals are combined to form a first bidirectional data bus, and a read signal and a write signal are output.
PU (Central Processing Unit)
and a second bidirectional data bus which connects the address bus and combines a plurality of new bidirectional data signals,
In addition, a bidirectional check bit bus consisting of a plurality of bidirectional check bit signals is connected, and a RAM (RandomAcce
ssMemory) and a data bus connected to the CPU, a second bidirectional data bus connected to the RAM, and a bidirectional check bit bus connected to the RAM. Connect and also connect the above RA
An ECC circuit that inputs the memory read signal that is input to M, and outputs an error correction pulse signal that outputs an error correction signal and an error detection pulse signal that outputs an error detection signal, and the above CPU and the above ECC circuit. The first connected
a bidirectional data bus connected thereto, and an output data bus and an input data bus separated from the bidirectional first data bus connected to the bus transceiver to which the memory read signal is input, and a bus transceiver connected to the bus transceiver. connecting the output data bus and input data bus, and inputting the error correction pulse output signal outputted from the ECC circuit to a data register, and inputting the read signal and write signal outputted from the E CPU; Also input the error correction pulse output signal output from the ECC circuit,
An arithmetic processing device further comprising a timing circuit that outputs a memory read signal to the RAM, the ECC circuit, and the bus transceiver, and outputs a memory write signal to the RAM.
JP63316985A 1988-12-15 1988-12-15 Arithmetic processor Pending JPH02162444A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63316985A JPH02162444A (en) 1988-12-15 1988-12-15 Arithmetic processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63316985A JPH02162444A (en) 1988-12-15 1988-12-15 Arithmetic processor

Publications (1)

Publication Number Publication Date
JPH02162444A true JPH02162444A (en) 1990-06-22

Family

ID=18083133

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63316985A Pending JPH02162444A (en) 1988-12-15 1988-12-15 Arithmetic processor

Country Status (1)

Country Link
JP (1) JPH02162444A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111104243A (en) * 2019-12-26 2020-05-05 江南大学 Low-delay dual-mode lockstep soft error-tolerant processor system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111104243A (en) * 2019-12-26 2020-05-05 江南大学 Low-delay dual-mode lockstep soft error-tolerant processor system

Similar Documents

Publication Publication Date Title
JP4071940B2 (en) Shared error correction for memory design
US8112678B1 (en) Error correction for programmable logic integrated circuits
US6009548A (en) Error correcting code retrofit method and apparatus for multiple memory configurations
US6044483A (en) Error propagation operating mode for error correcting code retrofit apparatus
US7051264B2 (en) Error correcting memory and method of operating same
US4740968A (en) ECC circuit failure detector/quick word verifier
US8171377B2 (en) System to improve memory reliability and associated methods
US7779333B2 (en) Semiconductor memory having embedded microcomputer with ECC function
US11740968B2 (en) Error correction hardware with fault detection
US8352806B2 (en) System to improve memory failure management and associated methods
US10606696B2 (en) Internally-generated data storage in spare memory locations
JPH06324951A (en) Computer system with error inspection / correction function
JP2001084792A (en) Semiconductor device, synchronou semiconductor memory device, and error checking and correcting method of the memory device
JP3039455B2 (en) Semiconductor memory device test method and semiconductor memory device
JPH087721B2 (en) Data processing system having error detection / correction mechanism
US5953265A (en) Memory having error detection and correction
JP5174603B2 (en) Memory error correction method, error detection method, and controller using the same
JPH10312340A (en) Error detection and correction system of semiconductor storage device
JPH02162444A (en) Arithmetic processor
JPS62242258A (en) Storage device
JP3123855B2 (en) Patrol control circuit of memory device
JPH08166910A (en) Data restoration method
JP3281982B2 (en) Data buffer
JP2002251898A (en) Single event upset compensating circuit
JPH03263148A (en) Storage device