JPH07129427A - Comparative check method for data with ecc code - Google Patents

Comparative check method for data with ecc code

Info

Publication number
JPH07129427A
JPH07129427A JP5272869A JP27286993A JPH07129427A JP H07129427 A JPH07129427 A JP H07129427A JP 5272869 A JP5272869 A JP 5272869A JP 27286993 A JP27286993 A JP 27286993A JP H07129427 A JPH07129427 A JP H07129427A
Authority
JP
Japan
Prior art keywords
data
ecc
processor
comparison
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.)
Withdrawn
Application number
JP5272869A
Other languages
Japanese (ja)
Inventor
Naokazu Onda
直和 恩田
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 JP5272869A priority Critical patent/JPH07129427A/en
Publication of JPH07129427A publication Critical patent/JPH07129427A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To unnecessitate a large scale comparator circuit composed of a comparator corresponding to bits by comparing data read out of two processors while using an ECC check circuit. CONSTITUTION:Concerning the data comparative check method for duplex processors 1 and 1' provided with no data check mechanism, an ECC code (2) is generated by data (1) for transfer from one processor 1 of the duplex processors, and data (1)' for comparison from the other processor 1' are linked to that ECC code (2) and inputted to an ECC check circuit 21. Corresponding to the checked result at this ECC check circuit 21, the normality of the data (1) for transfer from one processor 1 is confirmed. Namely, the data (1) and (1)' for transfer and comparison are compared not by using any comparator circuit for all the bits of normal data but by using an ECC mechanism to be used only for reading data written in a RAM 3.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、データチェック機構を
備えていない二重化プロセッサにおけるデータ比較チェ
ック方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data comparison check method in a duplex processor which does not have a data check mechanism.

【0002】最近のデータ処理の多様化に伴って、デー
タ処理装置を構成する高集積回路(LSI) には、多種多様
な回路ブロックを搭載することが要求されている。従っ
て、データチェック機構を備えていない二重化プロセッ
サにおけるデータ比較チェック用の高集積回路(LSI) に
おいても、できる限り、不要な回路は削除して、他の重
要な回路ブロックを搭載できるように構成することが要
求される。
With the recent diversification of data processing, it is required to mount various circuit blocks on a highly integrated circuit (LSI) that constitutes a data processing device. Therefore, even in a highly integrated circuit (LSI) for data comparison check in a redundant processor that does not have a data check mechanism, unnecessary circuits are deleted as much as possible, and other important circuit blocks can be mounted. Is required.

【0003】[0003]

【従来の技術】図5は、従来のデータ比較方法を説明す
る図である。通常、集積化されたプロセッサ(MPU) 1 に
は、パリティ,ECC等のデータ保証回路がなく、該プロセ
ッサ(MPU) 1 を用いたデータ処理装置の信頼度を向上さ
せる為には、該プロセッサ(MPU) 1 の他に、プロセッサ
(MPU) 1'を用意して二重化し、それぞれのプロセッサ(M
PU) 1,1'に同じプログラムを実行させて、それぞれのプ
ロセッサ(MPU) 1,1'からの出力データ, ' を、比較
回路 23 によってビット毎の比較を行いデータの正常性
の確認を行っている。
2. Description of the Related Art FIG. 5 is a diagram for explaining a conventional data comparison method. Normally, the integrated processor (MPU) 1 does not have a data guarantee circuit such as parity and ECC, and in order to improve the reliability of the data processing device using the processor (MPU) 1, the processor (MPU) 1 MPU) 1 plus processor
(MPU) 1'is prepared and duplicated, and each processor (M
PU) 1,1 'executes the same program, and the output data,' from each processor (MPU) 1, 1'is compared bit by bit by the comparison circuit 23 to confirm the normality of the data. ing.

【0004】このとき、一方のプロセッサ(MPU-A) 1 か
らのデータを、転送用データして使用し、他方のプロ
セッサ(MPU-B) 1'からのデータ' を、比較用データと
して使用する。
At this time, the data from one processor (MPU-A) 1 is used as transfer data, and the data from the other processor (MPU-B) 1'is used as comparison data. .

【0005】以下、二重化されているプロセッサ(MPU-
A) 1,(MPU-B) 1'から出力される、上記転送用データ
と、比較用データ' との従来の比較チェック方法を具
体的に説明する。
Hereinafter, a duplicated processor (MPU-
A conventional comparison check method of the transfer data and the comparison data 'output from A) 1, (MPU-B) 1'will be specifically described.

【0006】先ず、一方のプロセッサ(MPU-A) 1 からの
転送用データを、データ比較チェック用の高集積回路
(以下、単に、LSI という) 2 に転送する。又、他方の
プロセッサ(MPU-B) 1'からの比較用データ' を、同じ
LSI 2に転送する。
First, the data for transfer from one processor (MPU-A) 1 is compared with the highly integrated circuit for data comparison check.
(Hereinafter simply referred to as LSI) 2. Also, compare data 'from the other processor (MPU-B) 1'with the same
Transfer to LSI 2.

【0007】2つの転送用データと、比較用データ
' とを、ビット対応の比較器で構成されている比較回
路 23 で比較する。同時に、該転送用データを、EC
C生成回路 20 に入力して、ECCコード(ECC-A) を生
成しておき、上記比較回路 23 での比較が成功 (即ち、
一致) したら、上記転送用データと、上記ECCコー
ド(ECC-A) とを、ランダムアクセスメモリ(以下、RA
M という) 3 に書き込む。
Two transfer data and comparison data
'And are compared by a comparison circuit 23 composed of a bit corresponding comparator. At the same time, the transfer data is transferred to the EC
The C code is input to the C generation circuit 20 to generate the ECC code (ECC-A), and the comparison circuit 23 succeeds in the comparison (that is,
Then, the transfer data and the ECC code (ECC-A) are transferred to a random access memory (hereinafter, RA).
Write to 3).

【0008】次に、該RAM 3 に書き込まれたデータ{転
送用データ+ECCコード(ECC-A) }を読み出すと
き、該読み出されたデータを LSI 2内のECCチェッ
ク回路 21 でチェックし、読み出しデータの正常性を確
認し、正常であることが確認できると、二重化されてい
るプロセッサ(MPU-A) 1,(MPU-B) 1'に転送する。
Next, when reading the data {transfer data + ECC code (ECC-A)} written in the RAM 3, the read data is checked by the ECC check circuit 21 in the LSI 2 and read. After confirming the normality of the data and confirming that it is normal, the data is transferred to the redundant processor (MPU-A) 1, (MPU-B) 1 '.

【0009】該読み出しデータの正常性を確認におい
て、エラーが検出されると、コレクト回路 22 で修正し
た後、二重化されているプロセッサ(MPU-A) 1,(MPU-B)
1'に転送される。
When an error is detected in the confirmation of the normality of the read data, the correction circuit 22 corrects the error, and then the redundant processor (MPU-A) 1, (MPU-B) is used.
Transferred to 1 '.

【0010】このようにして、パリティ,ECC等のデータ
保証回路がないプロセッサにおいても、RAM 3 への書き
込み時, プロセッサ(MPU-A) 1,(MPU-B) 1'への転送時の
データの正常性を確認することができる。
In this way, even in a processor that does not have a data guarantee circuit such as parity and ECC, data when writing to RAM 3 and when transferring to processor (MPU-A) 1, (MPU-B) 1 ' You can check the normality of.

【0011】[0011]

【発明が解決しようとする課題】然しながら、上記従来
の転送用データ, 比較用データ’の RAM 3への書き
込み時の正常性の確認に比較回路 23 を必要とし、RAM
3 から読み出したデータをプロセッサ(MPU-A) 1,(MPU-
B) 1'への転送時に、ECCチェック回路 21,コレクト
回路 22 とを必要とし、然も、ECCチェック回路 21
と、コレクト回路 22 は、プロセッサ(MPU-A) 1,(MPU-
B) 1'からRAM 3 への書き込み時には使用されておら
ず、効率的ではないという問題があった。
However, the comparison circuit 23 is required to confirm the normality when the above-mentioned conventional transfer data and comparison data 'are written to the RAM 3,
Data read from the processor (MPU-A) 1, (MPU-A
B) The ECC check circuit 21 and the collect circuit 22 are required at the time of transfer to 1 ', and the ECC check circuit 21
And the collect circuit 22 includes a processor (MPU-A) 1 and (MPU-A)
B) There was a problem that it was not used when writing from 1'to RAM 3 and was not efficient.

【0012】本発明は上記従来の欠点に鑑み、データチ
ェック機構を備えていない二重化プロセッサにおけるデ
ータ比較方法において、通常のデータの全ビットの比較
回路を使用しないで、RAM 3 に書き込まれているデータ
の読み出し時にのみ使用されているECC機構を使用し
て、転送用データと、比較用データ' との比較チェ
ックを行い、LSI 2 内の回路の縮小化と、回路の効率的
な使用を図る方法を提供することを目的とするものであ
る。
In view of the above-mentioned conventional drawbacks, the present invention provides a method of comparing data in a duplex processor which does not have a data check mechanism, in which data written in RAM 3 is used without using a comparison circuit for all bits of normal data. Method to check the comparison between the transfer data and the comparison data 'using the ECC mechanism that is used only at the time of reading, to reduce the circuit in LSI 2 and to use the circuit efficiently It is intended to provide.

【0013】[0013]

【課題を解決するための手段】図1は、本発明の原理説
明図である。上記の問題点は下記の如くに構成したEC
Cコードによるデータの比較チェック方法によって解決
される。
FIG. 1 is a diagram for explaining the principle of the present invention. The above problem is the EC configured as follows
It is solved by a method of comparing and checking data by C code.

【0014】(1) データチェック機構を備えていない二
重化プロセッサ 1,1' におけるデータ比較チェック方法
であって、二重化プロセッサの一方のプロセッサ 1から
の転送用データで、ECCコードを生成し、該生成
したECCコードに、他のプロセッサ 1' からの比較
用データ' を繋いで、ECCチェック回路 21 に入力
し、該ECCチェック回路21 におけるチェック結果に
より、上記一方のプロセッサ 1からの転送用データの
正常性を確認するように構成する。
(1) A data comparison check method in a duplexed processor 1,1 ′ which does not include a data check mechanism, wherein an ECC code is generated by using transfer data from one processor 1 of the duplexed processor, and the generation is performed. The comparison data 'from another processor 1'is connected to the ECC code and input to the ECC check circuit 21, and the check result in the ECC check circuit 21 indicates that the transfer data from the one processor 1 is normal. It is configured to check the sex.

【0015】(2) データチェック機構を備えていない二
重化プロセッサ 1,1' におけるデータ比較チェック方法
であって、二重化プロセッサの一方のプロセッサ 1から
の転送用データを、ECC生成回路 20 に入力して、
ECCコードを生成し、他方のプロセッサ 1' からの
比較用データ' を、ECCチェック回路 21 に入力し
てECCコード' を生成し、上記転送用データのEC
Cコードと、比較用データのECCコードとを比較し
て、該転送用データの正常性を確認するように構成す
る。
(2) A data comparison check method in a duplexed processor 1,1 'which does not include a data check mechanism, in which transfer data from one processor 1 of the duplexed processor is input to an ECC generation circuit 20. ,
An ECC code is generated, the comparison data 'from the other processor 1'is input to the ECC check circuit 21 to generate an ECC code', and the EC of the transfer data is
The C code and the ECC code of the comparison data are compared to confirm the normality of the transfer data.

【0016】[0016]

【作用】即ち、本発明による2つのデータの比較チェッ
ク方法は、該2つのデータ,' が正しければ、一方
の転送用データで生成したECCコードに、他の比
較用データ' を繋いで、ECCチェック回路に入力し
ても、ECCチェックが成功することに着目し、二重化
プロセッサの一方のプロセッサ 1からの転送用データ
で、ECCコードを生成し、該生成したECCコード
に、他のプロセッサ 1' からの比較用データ' を繋
いで、ECCチェック回路 21 に入力し、該ECCチェ
ック回路 21 におけるチェック結果により、上記一方の
プロセッサ1からの転送用データの正常性を確認する
ようにしたものである。
That is, in the comparison check method of two data according to the present invention, if the two data, 'are correct, the ECC code generated by one of the transfer data is connected to the other comparison data', and the ECC is connected. Paying attention to the fact that the ECC check succeeds even if input to the check circuit, an ECC code is generated by the transfer data from one processor 1 of the duplex processor, and the generated ECC code is used by the other processor 1 ′. Data for comparison 'from the one processor 1 is connected and input to the ECC check circuit 21, and the normality of the transfer data from the one processor 1 is confirmed by the check result in the ECC check circuit 21. .

【0017】又、該2つのデータ, ' が正しけれ
ば、一方の転送用データで生成したECCコード
と、比較用データ’で生成したECCコード’とが
一致することに着目して、二重化プロセッサの一方のプ
ロセッサ 1からの転送用データを、ECC生成回路 2
0 に入力して、ECCコードを生成し、他方のプロセ
ッサ 1' からの比較用データ' を、ECCチェック回
路 21 に入力してECCコード' を生成し、上記転送
用データのECCコードと、比較用データ' のE
CCコード' とを比較して、該転送用データの正常性
を確認するようにしたものである。
Further, if the two data, 'are correct, paying attention to the fact that the ECC code generated by one of the transfer data and the ECC code generated by the comparison data' match with each other, paying attention to the duplex processor. The data for transfer from one processor 1 is transferred to the ECC generation circuit 2
Input to 0 to generate an ECC code, and input the comparison data 'from the other processor 1'to the ECC check circuit 21 to generate an ECC code' and compare it with the ECC code of the transfer data. Data 'for E
The CC code 'is compared to confirm the normality of the transfer data.

【0018】何れの方法においても、本発明によるデー
タ比較方法では、2つのプロセッサ(MPU-A) 1,(MPU-B)
1'から読み出したデータ,’の比較結果に基づい
て、データ転送用のプロセッサ(MPU-A) 1 からのデータ
を、RAM 3 に書き込むタイミングにおいては、RAM 3
から読み出したデータの正常性をチェックする為のE
CCチェック回路 21 が使用されていないことに鑑み
て、該ECCチェック回路21 を使用して、該2つのプ
ロセッサ(MPU-A) 1,(MPU-B) 1'から読み出したデータ
,’を比較しているので、従来方法で使用されてい
たビット対応の比較器で構成される大規模の比較回路 2
3 が必要でなくなると共に、該 LSIでの回路の縮小と、
該ECCチェック回路 21 を、RAM 3 への書き込み時
と、2つのプロセッサ(MPU-A) 1,(MPU-B) 1'へのデータ
転送時とで使用する事で、該ECCチェック回路 21 に
対する使用効率を向上させることができる効果がある。
In either method, the data comparison method according to the present invention uses two processors (MPU-A) 1 and (MPU-B).
Based on the data read from 1'and the comparison result of ', the data from processor (MPU-A) 1 for data transfer is written to RAM 3 at the timing
E for checking the normality of the data read from
In consideration of the fact that the CC check circuit 21 is not used, the ECC check circuit 21 is used to compare the data read from the two processors (MPU-A) 1 and (MPU-B) 1 ', Therefore, a large-scale comparator circuit composed of bit-compatible comparators used in the conventional method 2
3 is no longer necessary and the circuit in the LSI is reduced,
By using the ECC check circuit 21 at the time of writing to the RAM 3 and at the time of data transfer to the two processors (MPU-A) 1 and (MPU-B) 1 ', the ECC check circuit 21 There is an effect that the usage efficiency can be improved.

【0019】[0019]

【実施例】以下本発明の実施例を図面によって詳述す
る。前述の図1は、本発明の原理説明図であり、図2,
図3が、本発明の一実施例を示した図である。
Embodiments of the present invention will be described in detail below with reference to the drawings. The above-mentioned FIG. 1 is a diagram for explaining the principle of the present invention.
FIG. 3 is a diagram showing an embodiment of the present invention.

【0020】本発明においては、二重化プロセッサの一
方のプロセッサ(MPU-A) 1 からの転送用データで、E
CCコードを生成し、該生成したECCコードに、
他のプロセッサ(MPU-B) 1'からの比較用データ' を繋
いで、ECCチェック回路 21 に入力し、該ECCチェ
ック回路 21 におけるチェック結果により、上記一方の
プロセッサ(MPU-A) 1 からの転送用データの正常性を
確認する手段、又は、二重化プロセッサの一方のプロセ
ッサ(MPU-A) 1 からの転送用データを、ECC生成回
路 20 に入力して、ECCコードを生成し、他方のプ
ロセッサ(MPU-B) 1'からの比較用データ' を、ECC
チェック回路 21 に入力してECCコード' を生成
し、上記転送用データのECCコードと、比較用デ
ータ' のECCコード' とを比較して、該転送用デ
ータの正常性を確認する手段が、本発明を実施するのに
必要な手段である。尚、全図を通して同じ符号は同じ対
象物を示している。
In the present invention, the data for transfer from one processor (MPU-A) 1 of the duplex processor is E
A CC code is generated, and the generated ECC code is
The comparison data 'from the other processor (MPU-B) 1'is connected and input to the ECC check circuit 21, and the check result in the ECC check circuit 21 causes the one processor (MPU-A) 1 A means for confirming the normality of the transfer data or the transfer data from one processor (MPU-A) 1 of the redundant processor is input to the ECC generation circuit 20 to generate an ECC code, and the other processor (MPU-B) 1'Comparison data 'from ECC
A means for inputting to the check circuit 21 to generate an ECC code 'and comparing the ECC code of the transfer data with the ECC code of the comparison data' to confirm the normality of the transfer data is It is a necessary means for carrying out the present invention. The same reference numerals indicate the same objects throughout the drawings.

【0021】以下、図1を参照しながら、図2,図3に
よって、本発明のECCコードによるデータ比較チェッ
ク方法を説明する。本発明を使用しても、転送用プロセ
ッサ(MPU-A) 1 から読み出された転送用データにEC
Cコードを付加して、RAM 3 に書き込まれたデータ
を読み出し、ECCチェック回路 21 でECCチェック
して、チェック結果が正常なときには、2つのプロセッ
サ(MPU-A) 1,(MPU-B) 1'に転送する手段は、特に、従来
と変わることはないので省略し、該2つのプロセッサ(M
PU-A) 1,(MPU-B) 1'から読み出した転送用データと,
比較用データ' とをECCチェック回路 21 を使用し
て比較チェックする動作を中心にして説明する。
The data comparison check method using the ECC code according to the present invention will be described below with reference to FIGS. 2 and 3 with reference to FIG. Even when the present invention is used, the EC for transfer data read from the transfer processor (MPU-A) 1
When the C code is added and the data written in RAM 3 is read and the ECC check circuit 21 performs an ECC check and the check result is normal, the two processors (MPU-A) 1, (MPU-B) 1 Since there is no particular difference from the conventional method, the means for transferring to
PU-A) 1, (MPU-B) 1 ', and the transfer data read from
The operation for comparing and comparing the comparison data 'with the ECC check circuit 21 will be mainly described.

【0022】図2において、一つのデータ比較チェック
方法を説明する。先ず、プロセッサ(MPU-A) 1 より転送
用データ(32 ビット) を、LSI 2 に転送する。データ
比較用として設けられているプロセッサ(MPU-B) 1'より
比較用データ(32 ビット) ' を、LSI 2 に転送する。
One data comparison check method will be described with reference to FIG. First, the transfer data (32 bits) is transferred from the processor (MPU-A) 1 to the LSI 2. Transfer the comparison data (32 bits) 'from the processor (MPU-B) 1'provided for data comparison to the LSI 2.

【0023】該転送用データを、ECC生成回路 20
に入力して、ECCコードA(ECC-A)(6ビット) を生
成し、上記比較用データ' に、該生成したECCコー
ドA(ECC-A) を付加して、論理和回路(OR) 24 を介し
て、ECCチェック回路 21に入力し、該比較用データ
’+ECCコードAを用いて、公知のECCチェッ
クを行う。
The transfer data is transferred to the ECC generation circuit 20.
To generate the ECC code A (ECC-A) (6 bits), add the generated ECC code A (ECC-A) to the comparison data ', and add it to the OR circuit (OR). The data is input to the ECC check circuit 21 via 24 and a known ECC check is performed using the comparison data '+ ECC code A.

【0024】該ECCチェック回路 21 でのECCチェ
ックで、該比較用データ’+ECCコードAの正常
性の確認ができた場合、元々、比較用データ’と転送
用データとは同じデータであるので、転送用データ
は正常であると言える。
When the normality of the comparison data '+ ECC code A can be confirmed by the ECC check in the ECC check circuit 21, the comparison data' and the transfer data are originally the same data. It can be said that the transfer data is normal.

【0025】次に、図3において、他のデータ比較チェ
ック方法を説明する。先ず、プロセッサ(MPU-A) 1 より
転送用データ(32 ビット) を、LSI 2 に転送する。デ
ータ比較用として設けられているプロセッサ(MPU-B) 1'
より比較用データ(32 ビット) ' を、LSI 2 に転送す
る。
Next, another data comparison check method will be described with reference to FIG. First, the transfer data (32 bits) is transferred from the processor (MPU-A) 1 to the LSI 2. Processor provided for data comparison (MPU-B) 1 '
Compare data (32 bits) 'is transferred to LSI 2.

【0026】転送用データを、ECC生成回路 20 に
よって、ECCコードA(ECC-A) (6ビット) を生成す
る。ECCチェック回路 21 を概念的に示すと、図4の
ようになっている。即ち、入力データレジスタ 210と、
ECCコードレジスタ 211に、入力データ(32 ビット)
と、ECCコード(6ビット) が設定されると、それぞれ
が、ECCコード生成回路と同じ構成の回路と、ECC
コード(6ビット分)のコード変換回路とから構成され
ているシンドローム信号生成部 213に入力され、該入力
データレジスタ 210と、ECCコードレジスタ 211の内
容によって、該入力データレジスタ 210, 又は、ECC
コードレジスタ 211の内容にエラーがあると、シンドロ
ーム信号がシンドローム信号生成部 213で生成され、エ
ラーがなければ、該シンドローム信号は生成されない。
The ECC code A (ECC-A) (6 bits) is generated from the transfer data by the ECC generation circuit 20. The ECC check circuit 21 is conceptually shown in FIG. That is, the input data register 210,
Input data (32 bits) to the ECC code register 211.
When the ECC code (6 bits) is set, the circuit having the same configuration as the ECC code generation circuit and the ECC
It is input to a syndrome signal generation unit 213 composed of a code conversion circuit for codes (6 bits), and depending on the contents of the input data register 210 and the ECC code register 211, the input data register 210, or the ECC
If the content of the code register 211 has an error, a syndrome signal is generated by the syndrome signal generation unit 213, and if there is no error, the syndrome signal is not generated.

【0027】コレクト回路 22 においては、上記シンド
ローム信号が示すビット位置の入力データ,又は、EC
Cコードを反転して、該入力データ, ECCコードの何
れかのビット位置に発生しているエラービットを修正す
る。
In the collect circuit 22, the input data at the bit position indicated by the syndrome signal or the EC
The C code is inverted to correct the error bit occurring at any bit position of the input data and ECC code.

【0028】ECCチェック回路 21 はこのように構成
されているので、上記比較用データ' をECCチェッ
ク回路 21 に入力し、上記シンドローム信号生成部 213
へのECC コードレジスタ 211の出力信号を全“0”とす
ることで、上記生成されるシンドローム信号がECCコ
ードとなるように作用し、該比較用データ' に対する
ECCコード’が生成される。
Since the ECC check circuit 21 is configured in this way, the comparison data 'is input to the ECC check circuit 21 and the syndrome signal generator 213 is input.
By setting all the output signals of the ECC code register 211 to “0”, the syndrome signal generated above acts as an ECC code, and an ECC code 'for the comparison data' is generated.

【0029】本実施例においては、上記ECC生成回路
20 で生成された転送用データに対するECCコード
と、上記ECCチェック回路 21 のシンドローム信号
生成部 213で生成された比較用データ’に対するEC
Cコード’とをECCコード比較回路(但し、6ビッ
トの小さい回路)25で比較することにより、該転送用デ
ータと、比較用データ' との比較を、小規模の比較
回路で比較チェックを行うことができる。この比較で一
致出力が得られたとき、転送用データが正しいと言え
る。
In this embodiment, the ECC generation circuit
The ECC code for the transfer data generated in 20 and the EC for the comparison data 'generated in the syndrome signal generation unit 213 of the ECC check circuit 21.
By comparing the C code 'with an ECC code comparison circuit (however, a circuit having a small size of 6 bits) 25, the transfer data and the comparison data' are compared and a small comparison circuit performs comparison check. be able to. When a coincidence output is obtained by this comparison, it can be said that the transfer data is correct.

【0030】このように、本発明は、データチェック機
構を備えていない二重化プロセッサにおけるデータ比較
方法において、二重化プロセッサの一方のプロセッサか
らの転送用データで、ECCコードを生成し、該生
成したECCコードに、他のプロセッサからの比較用
データ' を繋いで、ECCチェック回路に入力して、
転送用データの正常性を確認する。又、上記転送用デ
ータからECCコードを生成し、上記比較用データ
' をECCチェック回路に入力して、ECCコード
' を生成し、上記転送用データのECCコード
と、比較用データ' のECCコード' とを比較し
て、該転送用データの正常性を確認するようにしたと
ころに特徴がある。
As described above, according to the present invention, in the data comparison method in the duplicated processor having no data check mechanism, the ECC code is generated by the transfer data from one of the duplicated processors, and the generated ECC code is generated. , Connect the comparison data 'from another processor, and input it to the ECC check circuit,
Check the normality of the transfer data. An ECC code is generated from the transfer data, and the comparison data is generated.
'Into the ECC check circuit and enter the ECC code
'Is generated and the ECC code of the transfer data is compared with the ECC code of the comparison data' to check the normality of the transfer data.

【0031】[0031]

【発明の効果】以上、詳細に説明したように、本発明の
ECCコードによるデータ比較チェック方法によれば、
2つのプロセッサ(MPU-A) 1,(MPU-B) 1'から読み出した
データ,’の比較結果に基づいて、データ転送用の
プロセッサ(MPU-A) 1 からのデータを、RAM 3 に書き
込むタイミングにおいては、RAM 3 から読み出したデー
タの正常性をチェックする為のECCチェック回路が
使用されていないことに鑑みて、該ECCチェック回路
21 を使用して、該2つのプロセッサ(MPU-A) 1,(MPU-
B) 1'から読み出したデータ,’の比較しているの
で、従来方法で使用されていたビット対応の比較器で構
成される大規模の比較回路が必要でなくなると共に、該
LSIでの回路の縮小と、該ECCチェック回路を、RAM
3 への書き込み時と、RAM 3 からの読み出しデータの
2つのプロセッサ(MPU-A) 1,(MPU-B)1'への転送時とで
使用する事で、該ECCチェック回路 21 に対する使用
効率を向上させることができる効果がある。
As described above in detail, according to the data comparison check method using the ECC code of the present invention,
Based on the comparison result of the data read from the two processors (MPU-A) 1 and (MPU-B) 1 ', write the data from the processor (MPU-A) 1 for data transfer to RAM 3. At the timing, considering that the ECC check circuit for checking the normality of the data read from the RAM 3 is not used, the ECC check circuit is not used.
21 using two processors (MPU-A) 1, (MPU-A)
B) Since the data read from 1 ',' is compared, a large-scale comparison circuit composed of a bit-corresponding comparator used in the conventional method is not required, and
Reducing the circuit in the LSI and using the ECC check circuit in RAM
Usage efficiency for the ECC check circuit 21 by using it at the time of writing to 3 and at the time of transferring the read data from RAM 3 to two processors (MPU-A) 1 and (MPU-B) 1 '. There is an effect that can improve.

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

【図1】本発明の原理説明図FIG. 1 is an explanatory view of the principle of the present invention.

【図2】本発明の一実施例を示した図(その1)FIG. 2 is a diagram showing an embodiment of the present invention (No. 1).

【図3】本発明の一実施例を示した図(その2)FIG. 3 is a diagram showing an embodiment of the present invention (part 2).

【図4】ECCチェック回路を概念的に示した図FIG. 4 is a diagram conceptually showing an ECC check circuit.

【図5】従来のデータ比較方法を説明する図FIG. 5 is a diagram illustrating a conventional data comparison method.

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

1 データ転送用プロセッサ(MPU-A) 1' データ比較用プロセッサ(MPU-B) 2 データ比較チェック用の高集積回路(LSI) 20 ECC生成回路 21 ECCチェッ
ク回路 210 入力データレジスタ 211 ECCコード
レジスタ 213 シンドローム信号生成部 22 コレクト回路 23 比較回路 24 論理和回路(OR) 25 ECCコード
比較回路 3 ランダムアクセスメモリ(RAM) 転送用データ ' 比較用データ 転送用データに対するECCコード ’ 比較用データ' に対するECCコード
1 Data transfer processor (MPU-A) 1'Data comparison processor (MPU-B) 2 Highly integrated circuit (LSI) for data comparison check 20 ECC generation circuit 21 ECC check circuit 210 Input data register 211 ECC code register 213 Syndrome signal generator 22 Correct circuit 23 Comparison circuit 24 OR circuit (OR) 25 ECC code comparison circuit 3 Random access memory (RAM) Transfer data'Comparison data Transfer data ECC code'Comparison data 'ECC code

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】データチェック機構を備えていない二重化
プロセッサ(1,1')におけるデータ比較チェック方法であ
って、 二重化プロセッサの一方のプロセッサ(1) からの転送用
データ () で、ECCコード () を生成し、該生成
したECCコード () に、他のプロセッサ(1')からの
比較用データ (')を繋いで、ECCチェック回路(21)
に入力し、該ECCチェック回路(21)におけるチェック
結果により、上記一方のプロセッサ(1)からの転送用デ
ータ () の正常性を確認することを特徴とするECC
コードによるデータの比較チェック方法。
1. A data comparison check method in a duplex processor (1, 1 ') not provided with a data check mechanism, wherein an ECC code () is used for transfer data () from one processor (1) of the duplex processor. ) Is generated, and the generated ECC code () is connected to the comparison data (') from another processor (1') to generate an ECC check circuit (21).
ECC to confirm the normality of the transfer data () from the one processor (1) based on the check result in the ECC check circuit (21).
How to compare and check data by code.
【請求項2】データチェック機構を備えていない二重化
プロセッサ(1,1')におけるデータ比較チェック方法であ
って、 二重化プロセッサの一方のプロセッサ(1) からの転送用
データ () を、ECC生成回路(20)に入力して、EC
Cコード()を生成し、 他方のプロセッサ(1')からの比較用データ (')を、E
CCチェック回路(21)に入力してECCコード (')を
生成し、上記転送用データ () のECCコード ()
と、比較用データ (')のECCコード (')とを比較
して、該転送用データ () の正常性を確認することを
特徴とするECCコードによるデータの比較チェック方
法。
2. A data comparison check method in a duplex processor (1,1 ′) not provided with a data check mechanism, wherein transfer data () from one processor (1) of the duplex processor is converted into an ECC generation circuit. Enter in (20), EC
C code () is generated, and comparison data (') from the other processor (1') is converted into E
The ECC code (') is generated by inputting it to the CC check circuit (21), and the ECC code () of the transfer data () is generated.
And the ECC code (') of the comparison data (') are compared with each other to confirm the normality of the transfer data ().
JP5272869A 1993-11-01 1993-11-01 Comparative check method for data with ecc code Withdrawn JPH07129427A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5272869A JPH07129427A (en) 1993-11-01 1993-11-01 Comparative check method for data with ecc code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5272869A JPH07129427A (en) 1993-11-01 1993-11-01 Comparative check method for data with ecc code

Publications (1)

Publication Number Publication Date
JPH07129427A true JPH07129427A (en) 1995-05-19

Family

ID=17519901

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5272869A Withdrawn JPH07129427A (en) 1993-11-01 1993-11-01 Comparative check method for data with ecc code

Country Status (1)

Country Link
JP (1) JPH07129427A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006080431A1 (en) * 2005-01-28 2006-08-03 Yokogawa Electric Corporation Information processing device and information processing method
JP2006523868A (en) * 2003-04-17 2006-10-19 ローベルト ボッシュ ゲゼルシャフト ミット ベシュレンクテル ハフツング Program-controlled unit and method
WO2009016705A1 (en) * 2007-07-27 2009-02-05 Fujitsu Limited Communication device
JP2010009327A (en) * 2008-06-27 2010-01-14 Hitachi Ltd Collation system
JP2010262432A (en) * 2009-05-01 2010-11-18 Mitsubishi Electric Corp Safety controller
JP2012043230A (en) * 2010-08-19 2012-03-01 Toshiba Corp Redundant control system and transmission method for computation data of the same
CN104008025A (en) * 2013-02-26 2014-08-27 株式会社日立制作所 Control apparatus, control system and data generation method
JP2019087020A (en) * 2017-11-07 2019-06-06 ルネサスエレクトロニクス株式会社 Semiconductor device and semiconductor system comprising the same

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006523868A (en) * 2003-04-17 2006-10-19 ローベルト ボッシュ ゲゼルシャフト ミット ベシュレンクテル ハフツング Program-controlled unit and method
WO2006080431A1 (en) * 2005-01-28 2006-08-03 Yokogawa Electric Corporation Information processing device and information processing method
US8359529B2 (en) 2005-01-28 2013-01-22 Yokogawa Electric Corporation Information processing apparatus and information processing method
WO2009016705A1 (en) * 2007-07-27 2009-02-05 Fujitsu Limited Communication device
JP2010009327A (en) * 2008-06-27 2010-01-14 Hitachi Ltd Collation system
JP2010262432A (en) * 2009-05-01 2010-11-18 Mitsubishi Electric Corp Safety controller
JP2012043230A (en) * 2010-08-19 2012-03-01 Toshiba Corp Redundant control system and transmission method for computation data of the same
CN104008025A (en) * 2013-02-26 2014-08-27 株式会社日立制作所 Control apparatus, control system and data generation method
JP2014164561A (en) * 2013-02-26 2014-09-08 Hitachi Ltd Control device, control system, and data generation method
CN104008025B (en) * 2013-02-26 2017-04-26 株式会社日立制作所 Control apparatus, control system and data generation method
JP2019087020A (en) * 2017-11-07 2019-06-06 ルネサスエレクトロニクス株式会社 Semiconductor device and semiconductor system comprising the same

Similar Documents

Publication Publication Date Title
US7587625B2 (en) Memory replay mechanism
US6691205B2 (en) Method for using RAM buffers with simultaneous accesses in flash based storage systems
US7587658B1 (en) ECC encoding for uncorrectable errors
JPH07129427A (en) Comparative check method for data with ecc code
JPH05166304A (en) Data checking method for array disk device
JP3562818B2 (en) Device and method for detecting bus configuration error in disk array system
JPH09134314A (en) Memory access controller
JPS62242258A (en) Storage device
JPH0670775B2 (en) Error detection / correction system
JPS62125453A (en) Storage device
JP3450132B2 (en) Cache control circuit
JPS58200351A (en) Error correcting circuit
JPH04115340A (en) Duplex storage circuit
JP2004126911A (en) Control unit
JPH06250936A (en) Computer system
JPH0638239B2 (en) Error correction mechanism
JPH0242688A (en) Magnetic disk device
JPH05224968A (en) Data check system
JPS5827221A (en) Data processing device
JPS5841478A (en) Cache storage device
JPS62166456A (en) Information processor
JPS59144246A (en) Data reception control system
JPS6131497B2 (en)
JPH05108491A (en) Information processor
JPS63216150A (en) Storage device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010130