JPH03288935A - Error correcting device for information processor - Google Patents

Error correcting device for information processor

Info

Publication number
JPH03288935A
JPH03288935A JP2091677A JP9167790A JPH03288935A JP H03288935 A JPH03288935 A JP H03288935A JP 2091677 A JP2091677 A JP 2091677A JP 9167790 A JP9167790 A JP 9167790A JP H03288935 A JPH03288935 A JP H03288935A
Authority
JP
Japan
Prior art keywords
correction
parity
data
circuit
signal
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
JP2091677A
Other languages
Japanese (ja)
Inventor
Makoto Yamauchi
真 山内
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2091677A priority Critical patent/JPH03288935A/en
Publication of JPH03288935A publication Critical patent/JPH03288935A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To prevent data from being changed due to the fault in an error correcting circuit part and to improve the reliability of this device by adding a parity bit corresponding to the data from the data before the error correction of data. CONSTITUTION:The device is equipped with a syndrome generation circuit 1, correcting spot detection circuit 2, parity generation circuit 3, data correction circuit 4, parity correcting spot detection circuit 5 and parity correction circuit 6. In the case of executing the error correction of data in an information processing, the parity bit corresponding to the data is generated before correcting the error of the data and when the data is corrected, the generated parity bit is corrected. Thus, the data is prevented from being changed by the fault of the error correction circuit part or the like and the reliability can be improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理装置およびディジタル通信装置に利用
する。本発明はデータの誤りを検出しその訂正を行う誤
り訂正装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention is applied to information processing devices and digital communication devices. The present invention relates to an error correction device that detects data errors and corrects them.

〔概要〕〔overview〕

本発明は情報処理におけるデータの誤り訂正を行う誤り
訂正装置において、 データの誤りを訂正する前にそのデータに対応するパリ
ティビットを生成し、データの訂正が行われたときには
、生成されたパリティビットを訂正することにより、 誤り訂正回路部分の故障などによりデータが変化するこ
とを防止し、信頼性を高めるようにしたものである。
The present invention provides an error correction device for correcting data errors in information processing, which generates parity bits corresponding to the data before correcting data errors, and when the data is corrected, the generated parity bits are By correcting the data, data is prevented from changing due to failure of the error correction circuit, and reliability is increased.

〔従来の技術〕[Conventional technology]

従来、この種の誤り訂正装置は、受信データおよび誤り
訂正用チエツクビットを解読して誤りの有無により受信
データを訂正し上位装置へ出力データとして送出してい
るが、このときの出力データのパリティビットは訂正後
のデータから生成され付加されていた。
Conventionally, this type of error correction device decodes received data and error correction check bits, corrects the received data depending on the presence or absence of errors, and sends it as output data to a host device, but the parity of the output data at this time The bits were generated and added from the corrected data.

〔発明が解決しようとする課題〕 上述した従来の誤り訂正装置は、出力データに付加する
パリティビットを誤り訂正後のデータより生成している
ため、故障などによりまちがって誤りが訂正された場合
にその誤りを検出することができず必要とするデータと
は異なったデータが出力され、信頼性を低下させる欠点
がある。
[Problems to be Solved by the Invention] The conventional error correction device described above generates the parity bit added to the output data from the error-corrected data, so if an error is incorrectly corrected due to a malfunction, etc. This method has the disadvantage that the error cannot be detected and data different from the required data is output, reducing reliability.

本発明はこのような欠点を除去するもので、誤り訂正回
路部分の故障などによりデータが変わることを防止でき
る装置を提供することを目的とする。
The present invention aims to eliminate such drawbacks, and aims to provide a device that can prevent data from being changed due to failure of the error correction circuit.

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

本発明は、データ信号および対応する誤り訂正用チエツ
クビット信号を受信し該当するデータを訂正して出力す
るデータ訂正手段を備えた情報処理装置の誤り訂正装置
において、授受したデータ信号に対応するパリティビッ
トを生成するパリティ生成回路と、前記データ訂正手段
が訂正したデータ数にしたがって、前記パリティ生成回
路が生成したパリティ信号を訂正するパリティ訂正手段
とを備えたことを特徴とする。
The present invention provides an error correction device for an information processing device that is equipped with a data correction means that receives a data signal and a corresponding error correction check bit signal, corrects the corresponding data, and outputs the corrected data. The present invention is characterized by comprising a parity generation circuit that generates bits, and a parity correction means that corrects the parity signal generated by the parity generation circuit according to the number of data corrected by the data correction means.

前記データ訂正手段は、受信したデータからシンドロー
ムを生成するシンドローム生成回路と、そのシンドロー
ムから訂正箇所があるか否かを検出し、訂正箇所がある
場合には訂正信号を出力する訂正箇所検出回路と、デー
タ信号および前記訂正箇所検出回路からの訂正信号に基
づき受信データを訂正するデータ訂正回路とを含み、前
記パリティ訂正手段は、前記訂正箇所検出回路の出力に
基づきパリティビットの訂正箇所を検索してパリティ訂
正信号を出力するパリティ訂正箇所検出回路と、前記パ
リティ生成回路からのパリティ信号および前記パリティ
訂正箇所検出回路からのパリティ訂正信号にしたがって
訂正されたパリティ信号を出力するパリティ訂正回路と
を含むことができる。
The data correction means includes a syndrome generation circuit that generates a syndrome from the received data, and a correction point detection circuit that detects whether or not there is a correction point based on the syndrome and outputs a correction signal if there is a correction point. , a data correction circuit that corrects received data based on a data signal and a correction signal from the correction point detection circuit, and the parity correction means searches for a correction point of the parity bit based on the output of the correction point detection circuit. and a parity correction circuit that outputs a parity signal corrected in accordance with the parity signal from the parity generation circuit and the parity correction signal from the parity correction point detection circuit. be able to.

〔作用〕[Effect]

誤り訂正前のデータに対応するパリティビットを生成し
、次いでデータ誤りをチエツクして訂正を要する場合に
はデータおよびそのパリティビットを訂正し、誤り訂正
データ信号およびそれに対応するデータパリティ信号と
して送出する。
Generates parity bits corresponding to data before error correction, then checks data errors, corrects data and its parity bits if correction is required, and sends out error correction data signals and corresponding data parity signals. .

すなわち、データ訂正前のデータからパリティビットを
生成し、データ訂正が行われたときにこのパリティビッ
トを修正するので、データ訂正回路に故障があると、送
出されるパリティビットに誤りが生じて後段(または上
位装置)でその故障に気付くことができる。
In other words, a parity bit is generated from the data before data correction, and this parity bit is corrected when the data is corrected. Therefore, if there is a failure in the data correction circuit, an error will occur in the parity bit sent out and the subsequent stage (or host device) can notice the failure.

これにより、誤り訂正回路の故障によりデータが変化す
ることを防ぎ、装置の信頼性を高めることができる。
This prevents data from changing due to a failure of the error correction circuit, and improves the reliability of the device.

〔実施例〕〔Example〕

次に、本発明実施例を図面に基づいて説明する。 Next, embodiments of the present invention will be described based on the drawings.

図は本発明実施例の構成を示すブロック図である。The figure is a block diagram showing the configuration of an embodiment of the present invention.

本発明実施例は、データ信号群10および対応する誤り
訂正用チエツクビット信号群11を受信し、該当するデ
ータを訂正して出力するデータ訂正手段を備え、さらに
、受信したデータ信号群10に対応スるパリティビット
を生成するパリティ生成回路3と、前記データ訂正手段
が訂正したデータ数にしたがってパリティ生成回路3が
生威したパリティ信号群12を訂正するパリティ訂正手
段とを備え、前記データ訂正手段には、受信したデータ
からシンドローム群13を生成するシンドローム生成回
路1と、そのシンドローム群13から訂正箇所があるか
否かを検出し、訂正箇所がある場合には訂正信号群14
を出力する訂正箇所検出回路2と、データ信号群■0お
よび訂正箇所検出回路2からの訂正信号群14に基づき
受信データを訂正するデータ訂正回路4とを含み、前記
パリティ訂正手段には、訂正箇所検出回路2の出力に基
づきパリティビットの訂正箇所を検索してパリティ訂正
信号群■5を出力するパリティ訂正箇所検出回路5と、
パリティ生成回路3からのパリティ信号群12およびパ
リティ訂正箇所検出回路5からのパリティ訂正信号群1
5にしたがって訂正されたパリティ生成回路3が生成し
たパリティ信号群12を訂正するパリティ訂正回路6と
を含む。
The embodiment of the present invention includes data correction means for receiving a data signal group 10 and a corresponding error correction check bit signal group 11, correcting the corresponding data, and outputting the corrected data. a parity generation circuit 3 that generates parity bits that pass through, and a parity correction means that corrects the parity signal group 12 generated by the parity generation circuit 3 according to the number of data corrected by the data correction means, and the data correction means includes a syndrome generation circuit 1 that generates a syndrome group 13 from received data, and a syndrome generation circuit 1 that detects whether or not there is a correction point from the syndrome group 13, and if there is a correction point, a correction signal group 14.
and a data correction circuit 4 that corrects the received data based on the data signal group ■0 and the correction signal group 14 from the correction point detection circuit 2, and the parity correction means includes a a parity correction location detection circuit 5 that searches for a correction location of the parity bit based on the output of the location detection circuit 2 and outputs a parity correction signal group ■5;
Parity signal group 12 from parity generation circuit 3 and parity correction signal group 1 from parity correction point detection circuit 5
5, the parity correction circuit 6 corrects the parity signal group 12 generated by the parity generation circuit 3 corrected according to No. 5.

このように構成された本発明実施例は、図外の主記憶装
置の読出しデータのエラー訂正および検出回路に適用し
たものである。
The embodiment of the present invention configured in this manner is applied to an error correction and detection circuit for read data of a main memory device (not shown).

シンドローム生成回路1はデータ信号群10と誤り訂正
用チエツクビット信号群1■とを受信しシンドローム群
13を出力する。訂正箇所検出回路2は受信したシンド
ローム群13よりエラー箇所を検索し訂正信号群14を
出力する。パリティ生成回路3はデータ信号群10を受
信しパリティビットを生成してパリティ信号群12を出
力する。
The syndrome generation circuit 1 receives the data signal group 10 and the error correction check bit signal group 12 and outputs the syndrome group 13. The correction point detection circuit 2 searches for error points from the received syndrome group 13 and outputs a correction signal group 14. Parity generation circuit 3 receives data signal group 10, generates parity bits, and outputs parity signal group 12.

データ訂正回路4はデータ信号群10を受信し、訂正信
号群14により訂正する箇所が指摘されていれば該当す
るデータを修正し、読出しデータ信号群17を出力する
。パリティ訂正箇所検出回路5は訂正信号群14より訂
正したデータ数を検出し、これによりパリティビットの
訂正箇所を検索してパリティ訂正信号群15を出力する
。パリティ訂正回路6はパリティ信号群12とパリティ
訂正信号群15とを受信し、読出しデータパリティ信号
群16を出力する。
The data correction circuit 4 receives the data signal group 10 and, if the correction signal group 14 indicates a location to be corrected, corrects the corresponding data and outputs the read data signal group 17. The parity correction location detection circuit 5 detects the number of corrected data from the correction signal group 14, searches for the correction location of the parity bit based on this, and outputs the parity correction signal group 15. Parity correction circuit 6 receives parity signal group 12 and parity correction signal group 15 and outputs read data parity signal group 16.

次に、本発明実施例の動作について説明する。Next, the operation of the embodiment of the present invention will be explained.

シンドローム生成回路1はデータ信号群IOおよびそれ
に対応する誤り訂正用チエツクビット信号群11を受信
すると、これらの信号群によりシントロール群13を生
威し訂正箇所検出回路2に出力する。訂正箇所検出回路
2はシンドローム群13を受信してエラーの有無をチエ
ツクし、エラーがありそのエラーが訂正可能であれば訂
正を指示する訂正信号群14を出力する。
When the syndrome generating circuit 1 receives the data signal group IO and the corresponding error correction check bit signal group 11, the syndrome generating circuit 1 generates a syndrome group 13 using these signal groups and outputs it to the correction point detecting circuit 2. The correction point detection circuit 2 receives the syndrome group 13, checks whether there is an error, and if there is an error and the error can be corrected, outputs a correction signal group 14 instructing correction.

このとき訂正可能なエラーが無い場合には、データ信号
群lOはデータ訂正回路4に人力され、そのまま読出し
データ信号群17として図外の上位装置へ転送される。
At this time, if there is no correctable error, the data signal group 10 is input to the data correction circuit 4 and is transferred as it is to a host device (not shown) as a read data signal group 17.

また、パリティ生成回路3はデータ信号群10を受信し
、パリティビットを生成してハリティ信号群12を出力
するが、パリティ訂正回路6はそのまま読出しデータパ
リティ信号群16として上位装置へ転送する。
Further, the parity generation circuit 3 receives the data signal group 10, generates parity bits, and outputs the harrity signal group 12, but the parity correction circuit 6 transfers it as it is to the host device as the read data parity signal group 16.

訂正可能なエラーが有る場合には、データ訂正回路4に
人力されたデータ信号群10は訂正信号群14により訂
正され、読出しデータ信号群17とじて上位装置へ転送
される。パリティ訂正箇所検出回路5は訂正信号群14
によりデータが訂正されたことを検知し、パリティビッ
トも訂正する必要がある場合にはパリティ訂正信号群1
5をパリティ訂正回路6に出力し、パリティ訂正回路6
はパリティ信号群12をパリティ訂正信号群15により
訂正して読出しデータパリティ信号群16を上位装置へ
転送する。
If there is a correctable error, the data signal group 10 input to the data correction circuit 4 is corrected by the correction signal group 14 and transferred to the host device as the read data signal group 17. The parity correction point detection circuit 5 has a correction signal group 14
When it is detected that the data has been corrected and the parity bit also needs to be corrected, the parity correction signal group 1
5 to the parity correction circuit 6, and the parity correction circuit 6
corrects the parity signal group 12 with the parity correction signal group 15 and transfers the read data parity signal group 16 to the host device.

このようにデータの訂正前にパリティビットを付加する
ことにより、データ訂正回路4などで故障が発生しても
そのデータに対応するパリティビットが合致せず、その
ために故障を上位装置で検出することが可能となり、ま
た、訂正可能エラーが発生してデータが訂正された場合
で、それに対応するパリティビットも訂正の必要があれ
ば訂正され、パリティビットを常に合致した状態にする
ことができる。
By adding a parity bit before correcting data in this way, even if a failure occurs in the data correction circuit 4, the parity bit corresponding to the data will not match, and the failure will therefore be detected by the host device. Furthermore, when a correctable error occurs and the data is corrected, the corresponding parity bit is also corrected if necessary, and the parity bits can always be in a consistent state.

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

以上説明したように本発明によれば、データの誤り訂正
前のデータからそのデータに対応するパリティビットを
付加することにより、誤り訂正回路部分の故障によるデ
ータの変化を防ぎ、装置の信頼性を高めることができる
効果がある。
As explained above, according to the present invention, by adding a parity bit corresponding to the data before error correction of the data, changes in data due to failure of the error correction circuit are prevented and reliability of the device is improved. There are effects that can be enhanced.

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

図は本発明実施例の構成を示すブロック図。 1・・・シンドローム生成回路、2・・・訂正箇所検出
回路、3・・・パリティ生成回路、4・・・データ訂正
回路、5・・・パリティ訂正箇所検出回路、6・・・パ
リティ訂正回路、10・・・データ信号群、11・・・
誤り訂正用チェックビット信号群、12・・・パリティ
信号群、13・・・シンドローム群、14・・・訂正信
号群、15・・・パリティ訂正信号群、16・・・読出
しデータパリティ信号群、17−・・読出しデータ信号
群。
The figure is a block diagram showing the configuration of an embodiment of the present invention. DESCRIPTION OF SYMBOLS 1... Syndrome generation circuit, 2... Correction point detection circuit, 3... Parity generation circuit, 4... Data correction circuit, 5... Parity correction point detection circuit, 6... Parity correction circuit , 10... data signal group, 11...
Error correction check bit signal group, 12... Parity signal group, 13... Syndrome group, 14... Correction signal group, 15... Parity correction signal group, 16... Read data parity signal group, 17--Read data signal group.

Claims (1)

【特許請求の範囲】 1、データ信号および対応する誤り訂正用チェックビッ
ト信号を受信し該当するデータを訂正して出力するデー
タ訂正手段を備えた情報処理装置の誤り訂正装置におい
て、 授受したデータ信号に対応するパリテイビットを生成す
るパリテイ生成回路と、 前記データ訂正手段が訂正したデータ数にしたがって、
前記パリテイ生成回路が生成したパリテイ信号を訂正す
るパリテイ訂正手段と を備えたことを特徴とする情報処理装置の誤り訂正装置
。 2、前記データ訂正手段は、 受信したデータからシンドロームを生成するシンドロー
ム生成回路と、 そのシンドロームから訂正箇所があるか否かを検出し、
訂正箇所がある場合には訂正信号を出力する訂正箇所検
出回路と、 データ信号および前記訂正箇所検出回路からの訂正信号
に基づき受信データを訂正するデータ訂正回路と を含む請求項1記載の情報処理装置の誤り訂正装置。 3、前記パリテイ訂正手段は、 前記訂正箇所検出回路の出力に基づきパリテイビットの
訂正箇所を検索してパリテイ訂正信号を出力するパリテ
イ訂正箇所検出回路と、 前記パリテイ生成回路からのパリテイ信号および前記パ
リテイ訂正箇所検出回路からのパリテイ訂正信号にした
がって訂正されたパリテイ信号を出力するパリテイ訂正
回路と を含む請求項2記載の情報処理装置の誤り訂正装置。
[Scope of Claims] 1. In an error correction device of an information processing device that is equipped with data correction means that receives a data signal and a corresponding check bit signal for error correction, corrects the corresponding data, and outputs the data signal transmitted and received. a parity generation circuit that generates a parity bit corresponding to the parity bit, and a parity generation circuit that generates a parity bit corresponding to
An error correction device for an information processing device, comprising: parity correction means for correcting a parity signal generated by the parity generation circuit. 2. The data correction means includes a syndrome generation circuit that generates a syndrome from the received data, and detects whether or not there is a correction part from the syndrome,
2. The information processing according to claim 1, comprising: a correction point detection circuit that outputs a correction signal when there is a correction point; and a data correction circuit that corrects received data based on a data signal and a correction signal from the correction point detection circuit. Equipment error correction device. 3. The parity correction means includes a parity correction part detection circuit that searches for a correction part of the parity bit based on the output of the correction part detection circuit and outputs a parity correction signal; 3. The error correction device for an information processing apparatus according to claim 2, further comprising a parity correction circuit that outputs a parity signal corrected in accordance with a parity correction signal from the parity correction point detection circuit.
JP2091677A 1990-04-05 1990-04-05 Error correcting device for information processor Pending JPH03288935A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2091677A JPH03288935A (en) 1990-04-05 1990-04-05 Error correcting device for information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2091677A JPH03288935A (en) 1990-04-05 1990-04-05 Error correcting device for information processor

Publications (1)

Publication Number Publication Date
JPH03288935A true JPH03288935A (en) 1991-12-19

Family

ID=14033123

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2091677A Pending JPH03288935A (en) 1990-04-05 1990-04-05 Error correcting device for information processor

Country Status (1)

Country Link
JP (1) JPH03288935A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007080343A (en) * 2005-09-13 2007-03-29 Toshiba Corp Semiconductor memory device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55157042A (en) * 1979-05-28 1980-12-06 Toshiba Corp Information processor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55157042A (en) * 1979-05-28 1980-12-06 Toshiba Corp Information processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007080343A (en) * 2005-09-13 2007-03-29 Toshiba Corp Semiconductor memory device

Similar Documents

Publication Publication Date Title
US7734980B2 (en) Mitigating silent data corruption in a buffered memory module architecture
KR102399843B1 (en) Error correction hardware with fault detection
JP2008090442A (en) Memory control device
JPH03288935A (en) Error correcting device for information processor
JPH07200419A (en) Bus interface device
JP2008104031A (en) Inter-board trouble detection circuit
JPH07146825A (en) Memory system
JP3364753B2 (en) Memory error correction circuit
JPS63269233A (en) Error detecting and correcting circuit
KR970002401B1 (en) Apparatus and method of error detection and correction for digital system bus
JPH02189665A (en) Bus system
JP2676860B2 (en) Signal transmission method
JPH0638239B2 (en) Error correction mechanism
JPH10117193A (en) Data transmission system
JP2600021B2 (en) Time slot indication check processing method
JP2900550B2 (en) Bit error detection and correction circuit
JPH04170657A (en) Transmission line control device
JPH04145557A (en) System for processing fault of storage device
JPS63228836A (en) Communication system
JPH05224968A (en) Data check system
JPH04192038A (en) Parity check device
JPH03266129A (en) Bit error detecting and correcting circuit
JPH0897803A (en) Data transmission system
JPS6155696B2 (en)
JPH0198033A (en) Detecting circuit for data error