JPS6136257B2 - - Google Patents

Info

Publication number
JPS6136257B2
JPS6136257B2 JP53119034A JP11903478A JPS6136257B2 JP S6136257 B2 JPS6136257 B2 JP S6136257B2 JP 53119034 A JP53119034 A JP 53119034A JP 11903478 A JP11903478 A JP 11903478A JP S6136257 B2 JPS6136257 B2 JP S6136257B2
Authority
JP
Japan
Prior art keywords
input
output
error
check
gate group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP53119034A
Other languages
Japanese (ja)
Other versions
JPS5544691A (en
Inventor
Gurigorieuitsuchi Sumoruko Gennadeii
Yakoreuitsuchi Akushusukii Izurairu
Mihairoitsuchi Burutsuefu Urajimiiru
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to JP11903478A priority Critical patent/JPS5544691A/en
Publication of JPS5544691A publication Critical patent/JPS5544691A/en
Publication of JPS6136257B2 publication Critical patent/JPS6136257B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

本発明は誤り検出およびモニタ装置に関し、詳
細には剰余クラス(residual classes)の記数系
で表わされるデータの演算で生じる誤りの検出出
および修正装置に関する。 本発明は剰余クラスの記数系にもとずきコンピ
ユータにより行なわれる演算中に得られる結果に
生じる誤りをモニタし修正する際に使用すること
が出来る。 無雑音符号化を与える現在の装置および方法は
主としてデータ転送に適しており、誤りの性質
(単一、二重等)にもとづいて処理がなされる。 不適正に決定される性質を有する誤りが生じる
場合にデータが修正される場合には、その誤りは
修正されずに新しい誤りがそのような修正の結果
として導入される。 剰余クラスの記数系のコードは算術コードであ
る。かくしてデータの演算または転送における誤
りを修正するように動作出来る誤り修正およびモ
ニタ装置をつくることが信頼性の高いプロセサに
必要となる。 本発明はこの問題を部分的に解決するものであ
る。 剰余クラスの記数系における誤りの検出および
修正装置は周知である。(例えばソ連邦発明者証
番号398950,1973年9月27日。Int.Cl.G06F11/0
0)。 この装置は剰余クラスの記数系における数の表
示範囲の伸張の原理にもとづき動作する。この伸
張プロセスを簡略化するために不正確なランクを
もつ伸張処理を用いる。この処理は正確なランク
をもつ伸張処理と比較して、剰余クラスの記数系
から位置的記数系への数の変換を行う付加的な装
置を必要としない。 この装置は入力母線に接続した入力を有する入
力レジスタと、この入力レジスタの出力に接続し
た入力を有する第1定数記憶ユニツトと、この第
1定数記憶ユニツトの第1および第1出力に夫々
接続する入力を有する第1および第2不正確ラン
ク計算器と、上記第1不正確ランク計算器の出力
に接続する第1入力、上記第1定数記憶ユニツト
の第1出力に接続する第2入力および第1定数記
憶ユニツトの第3出力に接続する第3入力を夫々
有する第1および第2チエツク基準加算器と、上
記第2不正確ランク計算器の出力に接続する第1
入力および第1定数記憶ユニツトの第2、第4出
力に夫々接続する第2、第3入力を有する第3お
よび第4チエツク基準加算器と、第2定数記憶ユ
ニツトと、上記第1,2,3,4チエツク基準加
算器に接続する入力を有する解析ユニツトと、か
らなり、上記第2定数記憶ユニツトの出力は第1
出力母線にそして上記解析ユニツトの出力は第2
出力母線に夫々接続する。 上記の装置は誤りの位置と大きさが数値の表示
の範囲の伸張により、決定されるから複雑なもの
であり、従つて不正確ランクの大きさの計算が必
要である。 他の周知の検出および修正装置はソ連邦発明証
(1967年1月27日発行・Int.Cl.G06F11/08)に示
されている。 この装置は入力母線に接続する第1入力を有す
るレジスタと、このレジスタの夫々の出力に接続
する第1、第2入力を有する加算器と、この加算
器の出力に接続する第1入力および夫々第1、第
2出力母線に接続した第1、第2出力を有する解
析ユニツトと、このユニツトの第3出力に接続す
る入力を有する単一誤り検出器と、この検出器の
出力に接続する入力および上記レジスタの第2入
力に接続する出力を有する誤り修正ユニツトと、
上記レジスタの第1出力に接続する第1入力、上
記解析ユニツトの第4出力に接続する第2入力お
よび上記加算器の第3入力に接続する出力を有す
る記憶ユニツトと、からなる。 この装置は多くの誤りの検出と修正を行なうこ
とが出来ない。更に、多誤りが生じると、この装
置はその誤りを単一のものとして検出し通常のよ
うにそれを修正した後に新しい誤りを生じさせる
傾向を有する。 本発明の目的はコンピユータによるデータ処理
による結果に生じる多誤りを検出、修正出来る、
剰余クラスの記数系についての誤りの検出および
修正装置を提供することである。 入力母線に接続する入力を有するチエツク演算
数(check operand)を記憶するためのレジスタ
と、上記演算数に代数的に加算されるべき定数を
記憶してそれに生じる可能性のある誤りが修正さ
れるようにすると共に誤剰余を決定する2進数を
記憶する定数記憶ユニツトと、誤りが上記チエツ
ク演算数にあると仮定される位置の上に2進数の
多段解析により上記チエツク演算数の誤剰余を弁
別するための単一誤り検出器と、出力母線に接続
する第1出力を有し上記演算数内の誤りの発生を
知らせるための解析ユニツトと、上記レジスタの
第1出力に接続する入力を有し上記演算数内の誤
りの検出を可能にする上記演算数のチエツク基準
に対してこの演算数の剰余を計算するための剰余
計算器と、上記定数記憶ユニツトの第1出力に接
続する入力を有する誤り症候群計算器と、上記剰
余計算器の出力に接続する入力と上記レジスタの
第2出力に接続する入力を有し、上記チエツク基
準に実剰余を代数的に加算すると共に計算された
剰余をそのチエツク基準に代数的に加算すること
により上記チエツク演算数の症候群を計算するモ
ジユロ(modulo adder)と、上記モジユロの出
力に接続する入力と上記誤り症候群計算器の出力
に接続する入力を有し、上記演算数内に誤りが生
じたかというかを決定すべく上記誤り症候群と上
記演算数の症候群とに応答する比較器と、上記単
一誤り検出器の入力と組合わされて第1ANDゲー
ト群を介して上記比較器の出力に接続する入力お
よび上記単一誤り検出器の第1および第2出力と
共に上記解析ユニツトの夫々の入力に接続する第
1、第2出力を有し、誤り症候群によりチエツク
演算数に誤りのあると仮定される位置の2進数の
多段解析により上記演算数の誤り剰余を弁別する
ための多段(K)誤り検出器と、上記レジスタの
出力に接続する入力と上記解析ユニツトの第1出
力に接続する入力と上記誤り修正加算器の入力に
接続する出力とを有し、上記演算数内の誤りの位
置が生じておりそして演算数の上記誤り修正加算
器への印加が可能となつた後に作動される論理ユ
ニツトと、入力母線に接続する入力と論理ユニツ
トの入力に接続する出力を有し、本装置の動作モ
ードを選択するための制御フリツプフロツプと、
上記定数記憶ユニツトの入力と上記記憶ユニツト
の第2出力に接続した入力を有する第1ANDゲー
ト群の入力とに接続する出力を有し、上記誤りチ
エツク演算数の修正用の手段の動作を制御する制
御ユニツトと、上記単一誤り検出器の第3出力と
上記多段送り検出器の第3出力とに接続する入力
および第2ANDゲート群を介して上記モジユロの
出力に接続した第1入力および上記解析ユニツト
の第2出力に接続した第2入力を有する上記定数
記憶ユニツトの入力に接続する出力を有するOR
ゲート群と、上記定数記憶ユニツトの第1出力に
接続する第1入力と上記第2ANDゲート群の第2
入力に接続した上記解析ユニツトの第2出力に接
続する第2入力と出力母線に接続した出力を有す
る第4ANDゲート群と、から成る、各演算の結果
がチエツク演算数となるごとくなつた剰余クラス
の記数系により表わされるデータの処理における
誤りの検出および修正装置が提供される。 好適には各多段誤り検出器の夫々は上記第
1ANDゲート群の出力に接続する入力および夫々
のANDゲートの第2入力に接続した出力を有す
るフリツプフロツプの入力とORゲート群の夫々
の入力と上記解析ユニツトの夫々の入力に第1お
よび第2比較回路を介して接続する出力を有する
加算器の入力とに接続する真および補数出力を有
するANDゲートを有する。 好適にはこの解析ユニツトは複数の加算器を有
し、第1加算器の入力は上記単一誤り検出器の第
2出力に接続し、残りの加算器の入力は上記多段
誤り検出器の第2出力にそしてそれらの出力は
ANDゲート群を介してORゲートの入力に接続し
ており、このORゲートの出力は上記論理ユニツ
トの第4入力に接続し、この論理ユニツトは単一
および多段誤り検出器の第1出力に接続した入力
を有するANDゲート群の出力に接続する第3入
力を有する。 この論理ユニツトは誤り修正加算器の入力に接
続する出力を有するORゲートの入力に接続する
出力を有する3群のANDゲートからなり、それ
らの内の第1群の補数入力は制御フリツプフロツ
プの出力に、第1群の第2入力は第3群の最後の
入力にそして第1群の第3入力は第2群の第1入
力と第3群の第2入力とを組合されてレジスタの
第1出力に接続し、第1群の第4入力は第2群の
第2入力と第3群の第1入力とを組合されてレジ
スタの第2入力に接続し、第2群の補数入力は解
析ユニツトの第1出力に接続する。 本発明は誤りの性質をあらかじめ決定すること
なしに、データの転送または処理における誤りを
検出し修正することを可能にする。 本発明がデータ処理および転送方式に用いられ
た場合には、計算結果の有効性が完全となるため
にハードウエアの信頼性は低くてもよくなる。 本発明の装置は入力母線3に接続する入力2を
有するレジスタ1(第1図)と、レジスタ1の出
力に接続する入力5を有する剰余計算器4と、制
御ユニツト6と、定数記憶ユニツト7からなる。
ユニツト7の入力8は制御ユニツト6の出力に接
続する。 本装置は定数記憶ユニツトの出力に接続する入
力10と比較器12の入力11に接続する出力と
を有する誤り症候群計算器9を有する。比較器1
2の入力13はモジユロ14の出力に接続する。
加算器14の入力15は剰余計算器4の出力に接
続し、加算器14の入力16はレジスタ1の出力
に接続する。比較器12の出力はANDゲート群
18の入力17に接続する。ANDゲート群18
の入力19,20は制御ユニツト6の出力と定数
記憶ユニツト7の出力に夫々接続する。ANDゲ
ート群18の出力は単一誤り検出器23と多段誤
り検出器24,……24k、の合成入力21,
22,……22kに夫々接続する。単一誤り検出
器23と多段誤り検出器24,……24kの第
1および第2出力は解析ユニツト28の入力2
5,25′,26,26′,27,27′に接続さ
れる。単一および多段誤り検出器23,24
……24kの第3出力はORゲート群32の入力2
9,30,31に接続される。ORゲート群32
の出力はANDゲート群33を介して定数記憶ユ
ニツト7の入力34に接続し、ユニツト7の入力
はANDゲート群36を介して解析ユニツト28
の出力に接続し、ユニツト28の出力にANDゲ
ート群33が接続する。ANDゲート群36の入
力はモジユロ14に接続する。 本装置は更に入力母線39に接続する入力38
を有する制御フリツプフロツプ37と、このフリ
ツプフロツプの出力とレジスタ1の出力と解析ユ
ニツト28の出力に夫々接続する入力41,4
2,43,44,45を有する論理ユニツト40
と、ユニツト40の出力に接続する入力47と
ANDゲート群49を介して記憶ユニツト7の出
力に接続する入力48を有する誤り修正加算器4
6と、を備えている。加算器46の出力は出力母
線50に接続する。出力母線51には解析ユニツ
ト28の第1出力が接続し、このユニツトの第2
出力はANDゲート群49に接続する。 多段誤り検出器24,……24kの夫々およ
び単一誤り検出器23はANDゲート群18(第
1図)の出力に接続する入力53,53,…
…53nを有するANDゲート52,52,…
…52n(第2図)を有する。ANDゲート52
,52,……52nの真および補出力はフリ
ツプフロツプ54,54,……54nの入力
に接続し、これらフリツプフロツプの出力は
ANDゲート52,52,……52nの入力5
,55,……55nとORゲート群32の入
力29,30,31(第1図)と、加算器56
(第2図)の入力とに夫々接続しており、この加
算器の出力は比較回路57,58を介して解析ユ
ニツト28の入力25,25′,26,26′また
は27,27′(第1図)に接続する。 解析ユニツト28は加算器59(第3図)、6
,……60kを有し、加算器59の入力は単
一誤り検出器23(第1図)の第2出力とAND
ゲート群61(第3図)の第1入力とに接続す
る。加算器60,……60kの入力は多段誤り
検出器の第2出力とANDゲート群61(第3
図)の残りの入力とに接続する。 加算器59,60,……60kの出力はAND
ゲート62,63,……63kを介してORゲー
ト64の入力に接続し、このゲートの出力は、
ANDゲート群61の出力に接続した入力44を
有する論理ユニツト40の入力43(第1図)に
接続する。 論理ユニツト40は3群のANDゲート65′
(第4図)、66,67を有し、それらの出力は
ORゲート68の入力に接続する。ORゲート68
の出力は誤り修正加算器46の入力47(第1
図)に接続する。 ANDゲート群65(第4図)の補入力は制御
フリツプフロツプ37の出力に接続する。AND
ゲート群65の入力69はANDゲート群67の
入力と解析ユニツト28の第2出力とに接続す
る。ANDゲート群65の入力71はANDゲート
群66の入力72および群67の入力73と組合
されてレジスタ1の第1出力に接続される。群6
5の入力74は群66の入力75と群67の入力
76に組合されてレジスタ1の第2出力に接続さ
れる。群66の補入力は解析ユニツト28の第1
出力に接続する。 剰余計算器4はデコーダ77,……77o
(第5図)を有し、これらデコーダの出力はモジ
ユロ78の入力に接続する。加算器78の出力は
モジユロ14の入力15に接続する。デコーダ7
,77oの入力はレジスタ1の第1出力に接
続する。 本発明の装置は次のごとくに動作する。入力母
線3には次のごとくに剰余クラスの記数系で表わ
されるチエツクされるべき演算数A(チエツク演
算数)が加えられる。 A=(α,α,…αi…αo,αo+1) (1) 但しαiは絶対値Piに対するチエツク演算数A
の剰余であり、 αi≡AmodPi(i=1,2,…,n+1) で表わされる。P1,P2,……Pi……Poは動作範
囲内の剰余クラスの記数系の基数であり、Po+1
は剰余クラスの記数系のチエツク基数である。 チエツク演算数Aはレジスタ1に記憶される。
演算数Aの部分A′=(α,α,……αi,…
…,αo)はレジスタ1の出力から剰余計算器4
の入力5に送られ、そこでチエツク基数Po+1
対するチエツク演算数Aの計算された剰余が で決定される。但しλi(i=1,2,……,
n)は予定の定数である。 チエツク演算数Aの、剰余計算器4の出力から
の計算された剰余α o+1とレジスタ1の第2出力
からの実剰余αo+1はモジユロ14の入力15と
16に夫々加えられる。加算器14の出力は次の
ごとくにチエツク演算数Aの症候群を発生する。 δA≡α o+1−αo+1modPo+1 (3) 症候群δAの値は比較器12により、後述のよ
うに計算される誤り症候群δ△の値と比較され
る。 次のような信号列が制御ユニツト6の出力から
定数ユニツト7の入力8へと送られる。 第1信号列:これにもとづき定数記憶ユニツト
7の第1出力がチエツク演算数Aの剰余に生じる
誤りの値△iを発生する。但し△は誤りの値であ
りiは誤剰余αi(i=1,2,……n)の番号
である。 第2信号列:これにもとづき定数記憶ユニツト
7の第1出力がチエツク演算数Aの2つの剰余に
生じる誤りの値(△i,△j)を与える。但しi≠
jであり、i,j=1,2,……,nである。最
終(n番)信号列:これにもとづき定数記憶ユニ
ツト7の第1出力がチエツク演算数Aのn個の剰
余のすべてに生じる誤りの値(△,△,……
i,……△o)を発生する。 これらの誤りの値は定数記憶ユニツト7の第1
出力からの誤り症候群計算器9の入力10に送ら
れる。計算器9の出力は次のごとき誤り症候群δ
△を発生する。 δ△の値は比較器12においてチエツク演算数
Aの症候群δAの値と比較される。 チエツク演算数Aの症候群が誤り症候群と等し
いなら、すなわちδA=δ△であればチエツク演
算数Aに誤り症候群δ△で誤りが生じる。この場
合、Xi(i=1,2,……,n)を値{0,
1}の一方として2進数X=X1,X2,……Xi
……,Xoが定数記憶ユニツト7の第2出力から
ANDゲート群18の入力20に送られる。Xi
値は誤りがチエツク演算数Aの剰余αiにあると
き1に等しく選ばれそして演算数Aに誤りのない
とき0に等しくえらばられる。2進数Xが記憶さ
れる位置はそれに含まれる数Xi≠0の数により
次のごとくに決定される。
The present invention relates to an error detection and monitoring device, and more particularly to an error detection and correction device that occurs in operations on data expressed in a number system of residual classes. The present invention can be used to monitor and correct errors that occur in results obtained during operations performed by a computer based on a remainder class number system. Current devices and methods for providing noiseless coding are primarily suited for data transfer and are handled based on the nature of the error (single, duplex, etc.). If the data is modified when an error of an improperly determined nature occurs, the error is not corrected and a new error is introduced as a result of such modification. The code for the number system of the remainder class is an arithmetic code. Thus, it is necessary for a reliable processor to have an error correction and monitoring device that can operate to correct errors in data operations or transfers. The present invention partially solves this problem. Devices for detecting and correcting errors in remainder class number systems are well known. (For example, USSR inventor certificate number 398950, September 27, 1973. Int.Cl.G06F11/0
0). This device operates on the principle of extending the display range of numbers in a remainder class number system. To simplify this decompression process, decompression with imprecise ranks is used. This process does not require additional equipment to convert numbers from the remainder class number system to the positional number system, compared to the exact rank decompression process. The apparatus includes an input register having an input connected to the input bus, a first constant storage unit having an input connected to the output of the input register, and a first constant storage unit connected to a first and a first output of the first constant storage unit, respectively. first and second inexact rank calculators having inputs, a first input connected to the output of the first inexact rank calculator, a second input connected to the first output of the first constant storage unit, and a first input connected to the output of the first inexact rank calculator; first and second check reference adders each having a third input connected to a third output of the second constant storage unit; and a first check reference adder connected to the output of the second inexact rank calculator.
third and fourth check reference adders having second and third inputs connected respectively to the input and second and fourth outputs of the first constant storage unit; an analysis unit having an input connected to a 3,4 check reference adder, the output of the second constant storage unit being connected to the first
to the output bus and the output of the above analysis unit to the second
Connect to each output bus. The above arrangement is complex because the location and magnitude of the error is determined by extending the range of the representation of the numerical value, and therefore requires calculation of the magnitude of the inaccuracy rank. Other known detection and correction devices are shown in the USSR Invention Certificate (issued January 27, 1967, Int.Cl.G06F11/08). The device includes a register having a first input connected to an input bus, an adder having first and second inputs connected to respective outputs of the register, first inputs connected to the outputs of the adder, and respective first and second inputs connected to the outputs of the adder. an analysis unit having first and second outputs connected to the first and second output buses; a single error detector having an input connected to the third output of the unit; and an input connected to the output of the detector. and an error correction unit having an output connected to a second input of said register;
a storage unit having a first input connected to the first output of the register, a second input connected to the fourth output of the analysis unit and an output connected to the third input of the adder. This device is incapable of detecting and correcting many errors. Furthermore, when multiple errors occur, the device has a tendency to detect the error as a single one and correct it in the usual manner before producing a new error. The purpose of the present invention is to detect and correct many errors that occur as a result of data processing by a computer.
An object of the present invention is to provide an error detection and correction device for a remainder class number system. a register for storing a check operand with an input connected to the input bus, and a constant to be added algebraically to said operand to correct possible errors therein; a constant storage unit for storing a binary number for determining an erroneous remainder; and a constant storage unit for storing a binary number for determining an erroneous remainder, and a multi-stage analysis of the binary number at a position where an error is assumed to be in the above check operation number to discriminate the erroneous remainder of the above check operation number. an analysis unit having a first output connected to the output bus for indicating the occurrence of an error in the arithmetic operation; and an input connected to the first output of the register. a remainder calculator for calculating the remainder of said operational number with respect to a check criterion of said operational number, which makes it possible to detect errors in said operational number; and an input connected to a first output of said constant storage unit. an error syndrome calculator, having an input connected to the output of the remainder calculator and an input connected to the second output of the register, for algebraically adding the real remainder to the check criterion and adding the calculated remainder to the a modulo adder for calculating the syndrome of the check operand by algebraically adding it to a check criterion; an input connected to the output of the modulo; and an input connected to the output of the error syndrome calculator; a comparator responsive to the error syndrome and the syndrome of the operand to determine whether an error has occurred in the operand; and first and second outputs connected to the respective inputs of the analysis unit together with an input connected to the output of the comparator and first and second outputs of the single error detector; a multi-stage (K) error detector for discriminating the error remainder of the above-mentioned operation number by multi-stage analysis of the binary number at the position where the number is assumed to have an error; an input connected to the output of the above-mentioned register; an input connected to a first output and an output connected to an input of said error correction adder, the location of an error within said operand being caused and capable of applying said operand to said error correction adder; a control flip-flop having an input connected to the input bus and an output connected to the input of the logic unit for selecting a mode of operation of the device;
having an output connected to an input of said constant storage unit and an input of a first group of AND gates having an input connected to a second output of said storage unit, controlling the operation of said means for correcting said error check operand; a control unit, an input connected to a third output of said single error detector and a third output of said multi-stage feed detector and a first input connected to an output of said modulo via a second group of AND gates; and said analysis. an OR having an output connected to an input of said constant storage unit having a second input connected to a second output of the unit;
a first input connected to the first output of the constant storage unit and a second input of the second AND gate group;
a fourth AND gate group having a second input connected to the second output of the analysis unit connected to the input and an output connected to the output bus, and a remainder class whose result of each operation is a check operation number. An apparatus for detecting and correcting errors in processing data represented by a number system is provided. Preferably, each of the multi-stage error detectors is
First and second comparisons are applied to the inputs of a flip-flop having an input connected to the output of the 1AND gate group and an output connected to the second input of the respective AND gate, and to the respective inputs of the OR gate group and the respective inputs of the above analysis unit. The circuit has an AND gate with true and complement outputs connected to an input of an adder with an output connected through the circuit. Preferably, the analysis unit has a plurality of adders, the input of the first adder being connected to the second output of the single error detector, and the inputs of the remaining adders being connected to the second output of the multi-stage error detector. 2 outputs and their outputs are
It is connected via a group of AND gates to the input of an OR gate, the output of which is connected to the fourth input of the logic unit, which in turn is connected to the first output of the single and multi-stage error detector. and a third input connected to the output of the group of AND gates having the inputs. This logic unit consists of three groups of AND gates whose outputs are connected to the inputs of OR gates whose outputs are connected to the inputs of error-correcting adders, the complement inputs of the first group of which are connected to the outputs of control flip-flops. , the second input of the first group is the last input of the third group, and the third input of the first group is combined with the first input of the second group and the second input of the third group to the first input of the register. output, the fourth input of the first group is combined with the second input of the second group and the first input of the third group and connected to the second input of the register, and the complement input of the second group is connected to the parsing input. Connect to the first output of the unit. The present invention allows errors in data transmission or processing to be detected and corrected without predetermining the nature of the error. When the present invention is used in data processing and transfer systems, the reliability of the hardware may be low because the validity of the calculation results is perfect. The device according to the invention comprises a register 1 (FIG. 1) having an input 2 connected to an input bus 3, a remainder calculator 4 having an input 5 connected to the output of register 1, a control unit 6 and a constant storage unit 7. Consisting of
The input 8 of the unit 7 is connected to the output of the control unit 6. The device has an error syndrome calculator 9 having an input 10 connected to the output of the constant storage unit and an output connected to the input 11 of the comparator 12. Comparator 1
The input 13 of 2 is connected to the output of modulo 14.
The input 15 of the adder 14 is connected to the output of the remainder calculator 4, and the input 16 of the adder 14 is connected to the output of the register 1. The output of comparator 12 is connected to input 17 of AND gate group 18. AND gate group 18
The inputs 19, 20 of are connected to the output of the control unit 6 and the output of the constant storage unit 7, respectively. The output of the AND gate group 18 is the combined input 21 ,
22,...22 k , respectively. The first and second outputs of the single error detector 23 and the multistage error detectors 24 1 , . . . 24 k are the input 2 of the analysis unit 28 .
5, 25', 26, 26', 27, 27'. Single and multi-stage error detectors 23, 24 1 ,
...24 The third output of k is input 2 of OR gate group 32
Connected to 9, 30, and 31. OR gate group 32
The output of is connected to the input 34 of constant storage unit 7 via AND gate group 33, and the input of unit 7 is connected to analysis unit 28 via AND gate group 36.
The AND gate group 33 is connected to the output of the unit 28. The input of the AND gate group 36 is connected to the modulus 14. The device further includes an input 38 connected to the input bus 39.
a control flip-flop 37 with inputs 41 and 4 connected respectively to the output of this flip-flop, to the output of register 1 and to the output of analysis unit 28;
Logic unit 40 having 2, 43, 44, 45
and an input 47 connected to the output of unit 40.
An error correction adder 4 having an input 48 connected to the output of the storage unit 7 via a group of AND gates 49
6. The output of adder 46 is connected to output bus 50. The first output of the analysis unit 28 is connected to the output bus 51, and the second output of this unit is connected to the output bus 51.
The output is connected to AND gate group 49. Each of the multi-stage error detectors 24 1 , . . . 24 k and the single error detector 23 have an input 53 1 , 53 2 , .
AND gates 52 1 , 52 2 , . . . with 53 n
...52 n (Figure 2). AND gate 52
The true and complementary outputs of 1 , 52 2 , ...52 n are connected to the inputs of flip-flops 54 1 , 54 2 , ...54 n , and the outputs of these flip-flops are
Input 5 of AND gate 52 1 , 52 2 , ... 52 n
5 1 , 55 2 , ...55 n , the inputs 29, 30, 31 of the OR gate group 32 (Fig. 1), and the adder 56
(Fig. 2), and the output of this adder is connected to the inputs 25, 25', 26, 26' or 27, 27' (27, 27') of the analysis unit 28 via comparison circuits 57, 58. Connect to (Figure 1). The analysis unit 28 includes adders 59 (FIG. 3), 6
0 1 ,...60 k , and the input of the adder 59 is ANDed with the second output of the single error detector 23 (FIG. 1).
It is connected to the first input of the gate group 61 (FIG. 3). The inputs of the adders 60 1 , . . . 60 k are the second output of the multi-stage error detector and the AND gate group 61 (the third
Connect to the remaining inputs in Figure). The outputs of adders 59, 60 1 , ... 60 k are AND
It is connected to the input of the OR gate 64 through gates 62, 63 1 , ... 63 k , and the output of this gate is
It is connected to input 43 (FIG. 1) of logic unit 40, which has input 44 connected to the output of AND gate group 61. The logic unit 40 includes three groups of AND gates 65'.
(Fig. 4), 66, 67, and their output is
Connect to the input of OR gate 68. OR gate 68
The output of is the input 47 (first
(Figure). The auxiliary input of AND gate group 65 (FIG. 4) is connected to the output of control flip-flop 37. AND
The input 69 of the gate group 65 is connected to the input of the AND gate group 67 and to the second output of the analysis unit 28. Input 71 of AND gate group 65 is connected to the first output of register 1 in combination with input 72 of AND gate group 66 and input 73 of group 67. Group 6
Input 74 of register 1 is combined with input 75 of group 66 and input 76 of group 67 and is connected to the second output of register 1. The supplementary input of group 66 is the first input of analysis unit 28.
Connect to output. The remainder calculator 4 includes decoders 77 1 ,...77 o
(FIG. 5), and the outputs of these decoders are connected to the inputs of modulo 78. The output of adder 78 is connected to input 15 of modulo 14. Decoder 7
The inputs of 7 1 and 77 o are connected to the first output of register 1. The device of the invention operates as follows. An arithmetic number A to be checked (check arithmetic number) expressed in the remainder class notation system as follows is added to the input bus 3. A=(α 1 , α 2 , ...α i ...α o , α o+1 ) (1) where α i is the check operation number A for the absolute value P i
It is the remainder of α i ≡AmodP i (i=1, 2,..., n+1). P 1 , P 2 , ...P i ...P o is the base of the number system of the remainder class within the operating range, and P o+1
is the check cardinal number of the remainder class number system. Check operation number A is stored in register 1.
Part A' of operation number A = (α 1 , α 2 , ... α i , ...
..., α o ) is calculated from the output of register 1 by remainder calculator 4
is sent to input 5 of , where the calculated remainder of the check operator A for the check base P determined by However, λi (i=1, 2,...,
n) is a scheduled constant. The calculated remainder α 1 o+1 from the output of the remainder calculator 4 and the actual remainder α o+1 from the second output of the register 1 of the check operation number A are added to the inputs 15 and 16 of the modulo 14, respectively. The output of adder 14 produces the syndrome of check operand A as follows. δ A ≡α 1 o+1 −α o+1 modP o+1 (3) The value of the syndrome δ A is compared by the comparator 12 with the value of the error syndrome δΔ calculated as described below. The following signal sequence is sent from the output of the control unit 6 to the input 8 of the constant unit 7. First signal sequence: Based on this, the first output of the constant storage unit 7 generates the error value Δi occurring in the remainder of the check operation number A. However, △ is the error value, and i is the number of the error remainder α i (i=1, 2, . . . n). Second signal sequence: Based on this, the first output of the constant storage unit 7 gives the error values (Δ i , Δ j ) occurring in the two remainders of the check operation number A. However, i≠
j, and i, j=1, 2, . . . , n. Final (nth) signal string: Based on this, the first output of the constant storage unit 7 is the error value (△ 1 , △ 2 , . . . ) that occurs in all n remainders of the check operation number A.
i , ...△ o ). These error values are stored in the first constant storage unit 7.
From the output is sent to the input 10 of the error syndrome calculator 9. The output of calculator 9 is the following error syndrome δ
Generates △. The value of δΔ is compared in a comparator 12 with the value of the syndrome δ A of the check operator A. If the syndrome of the check operation number A is equal to the error syndrome, that is, if δ A =δ△, an error occurs in the check operation number A with the error syndrome δ△. In this case, X i (i=1, 2, ..., n) is set to the value {0,
1} as one of the binary numbers X=X 1 , X 2 , ...X i ,
..., X o is from the second output of constant storage unit 7
It is sent to input 20 of AND gate group 18. The value of X i is chosen equal to 1 when there is an error in the remainder α i of the check operand A, and equal to 0 when there is no error in the operator A. The location where the binary number X is stored is determined by the number X i ≠0 contained therein as follows.

【式】のとき2進数Xは単一誤り検出器 23に記憶され、When [formula], the binary number X is a single error detector remembered in 23,

【式】のとき2進数Xは多段誤り検出器 24に記憶され、以下同様でありWhen [Formula], the binary number X is stored in the multi-stage error detector 241 , and the same applies hereafter.

【式】のとき2進数Xは多段誤り検出器 24k(k=n−1)に記憶される。 誤り症候群δ△とチエツク演算数Aの症候群δ
Aを比較しないなら、すなわちδ△≠δAのとき、
ANDゲート群18は遮断されそしてチエツク演
算数A内の他の考えられる誤りが定数記憶ユニツ
ト7から出される。 2進数Xが単一誤り検出器23の入力かあるい
は多段誤り検出器23の内の1つの入力に生じる
条件は解析ユニツト28に記憶される。これらの
検出器の内の1つのみが本装置の与えられた動作
サイクル中にXi≠0(i=1,2,……n)で
ある2進数Xを保持することがわかり、そしてそ
のようなことが例えば新しく与えられた3個のチ
エツク演算数の場合におけるように数回生じるな
らば、誤りが検出されると仮定する。これらの条
件下では論理1が解析ユニツト28の第2出力に
出る。この論理1によりチエツク演算数Aの誤剰
余を指示する2進数XがORゲート群32とAND
ゲート群33を介して定数記憶ユニツト7の入力
34へと通る。 この論理1により更にチエツク演算数Aの症候
群δAがモジユロ14の出力からANDゲート群3
6を介して定数記憶ユニツト7の入力35へと通
る。 この場合、次のような誤り値が定数記憶ユニツ
ト7の第1出力からANDゲート群49を介して
誤修正加算器46の入力48へと与えられる。 △=△,△,……,△i,……△o (5) チエツク演算数Aはレジスタ1の出力から論理
ユニツト40を介して誤修正加算器46の入力4
7に与えられる。 定数記憶ユニツト7に保持される定数によりき
まる誤り値はチエツク演算数Aから誤修正加算器
46により減算されそしてチエツク演算数Aに生
じた誤りは除去される。 修正されたチエツク演算数Aは加算器46の出
力から母線50へと通される。 単一誤り検出器23そして多段誤り検出器24
,……24kのいくつかが本装置の与えられた
動作サイクル中にXi≠0として2進数Xを記憶
するならば(この条件は解析ユニツト28の入力
への論理1の印加により認定される)、解析ユニ
ツト28の第1出力は論理1となりこの装置は新
しいチエツク演算数Aの取扱いを開始する。 検出器23,24,……24kのいずれも本
装置の与えられた動作サイクル中にXi≠0であ
る2進数Xを保持することが見い出されないなら
ば、これはチエツク演算数Aが誤りをもたないこ
とを意味する。さて、このときは解析ユニツト2
8の第1出力が論理0を発生し、これによりチエ
ツク演算数Aがレジスタ1から論理ユニツト40
と誤修正加算器46を介して出力母線50に通
る。 本発明の装置はモニタされるプロセサが動作を
維持されて後者が入力母線3を介して供給される
チエツク演算数Aの電流値および入力母線39を
介して制御フリツプフロツプ37の入力38に供
給されてフリツプフロツプ37を1の状態にする
制御信号(論理1)を前者に与えるように上述の
ように動作する。 モニタされるプロセツサにおける計算プロセス
は終了するが誤りがチエツク演算数Aに残される
ような場合がありうる。これら条件下で論理1が
出力母線51に置かれそして制御フリツプフロツ
プ37は入力母線39からの論理0がその出力に
生じるように0状態となる。この場合、チエツク
演算数Aは論理ユニツト40を介してレジスタ1
から誤り修正加算器46へ与えられ、そこで誤り
が検出され修正されるまで記憶されるのであり、
これは出力母線51上の論理0の発生により明ら
かとなる。 多段誤り検出器24i(第1図)の動作を次に
述べる。但しi=1,2,……kでありk=n−
1である。 多段誤り検出器24iが動作に入る前にフリツ
プフロツプ54,52,……54n(第2
図)は設定母線(第2図に示さず)により1状態
となつているとする。 このとき m=Ci+1 =n・(n−1)……(n−i)/(
i+1)i・(i−1)…1(6) 2進数X=X1,X2,……Xnは検出器24iの
入力22iに加えられそしてこの場合Xjの値は
1または0(j=1,2,……m)である。 Xj=1のときANDゲート52jの真出力から
の論理1はフリツプフロツプ54jが1であれば
そのフリツプフロツプのセツト入力に加えられ、
0であればそのフリツプフロツプのセツト入力に
は加えられない。 Xi=0のとき、ANDゲート52jの補出力か
らの論理1がフリツプフロツプ54jのリセツト
入力にその状態とは無関係に加えられる。 フリツプフロツプ54,54,……54n
の出力からの信号は加算器56の入力に加えられ
る。この場合、0に等しい加算結果が第1比較回
路57により受け入れられ、1に等しい加算結果
は第2比較回路58に受け入れられる。 加算結果が0と比較される条件はチエツク演算
数Aに与えられた形の誤りがないことを示す。 加算結果が1と比較する条件はチエツク演算数
Aの誤り剰余が見い出されそしてこれがフリツプ
フロツプ54,54,……54nの出力から
得られる論理1により明らかにされそして多段誤
り検出器24iの第3出力に生じることを示す。 解析ユニツト28(第1図)は次のように動作
する。 単一誤り検出器23と多段誤り検出器24
……24kの第1出力からの信号はANDゲート6
1(第3図)の入力に加えられる。このゲートの
補数出力は論理0を発生してチエツク演算数Aに
誤りがないことを示す。 単一誤り検出器23と多段誤り検出器24
……24kの第2出力からの信号は加算器59,
60,60,……60kに加えられる。夫々
の加算器は出力を備えたビツト位置を有する2数
累積形加算器である。 加算器59,60,……60kに加えられる
信号は加算プロセスを受ける。夫々3に等しい加
算結果が得られるときはそれらはANDゲート6
2,63,63,……63kに入り、解析ユ
ニツト28の第2出力はORゲート64を通つた
論理1を受ける。 論理ユニツト40は次のように動作する。 ORゲート群68の出力は次の条件下でチエツ
ク演算数Aを発生する。 チエツク演算数Aに誤りが見い出される:この
場合、ANDゲート群67の入力70に加えられ
る信号により、レジスタ1の出力から論理ユニツ
ト40の出力へのチエツク演算数Aの通過が可能
となる。 チエツク演算数Aに誤りがない:この場合には
ANDゲート群66の補入力に加えられる信号に
よりレジスタ1の出力から論理ユニツト40の出
力へのチエツク演算数Aの通過が可能となる。 チエツク演算数Aに誤りがあるがモニタされる
プロセサにおける計算プロセスが完了している:
この場合には制御フリツプフロツプ37の出力か
らANDゲート群65の補入力に加えられる信号
によりレジスタ1から論理ユニツト40の出力へ
のチエツク演算数Aの通動が可能となる。 剰余計算器4は次のように動作する。 レジスタ1の第1出力からのチエツク演算数A
は剰余計算器4の入力5に加えられる。動作範囲
の基数に対するチエツク演算数Aの剰余α,α
,……αi,……αoはデコーダ77,……7
7i……77o(第5図)に夫々加えられ、そし
てこれらの出力が次のような値を与える。 qi=ηiαimodPo+1 (7) 但しi=1,2,……nでありη,η,…
…ηoは予定の定数である。 デコーダ77,77,……77oの出力か
らのqiの値はモジユロ78の入力に加えられ、チ
エツク基数に対するチエツク演算数Aの計算され
た剰余の値がモジユロ78の出力に生じる。 チエツク基数に対するチエツク演算数Aの計算
された剰余は次式で表される。 または 本発明はデータ転送または処理における誤りの
検出および修正を与えるものであり誤りの性質に
対する仮定は必要としない。 データ処理および転送方式に本発明を用いると
計算結果の有効性が完全であるからハードウエア
の信頼性は低くともよい。
When [Formula], the binary number X is stored in the multi-stage error detector 24 k (k=n-1). Error syndrome δ△ and check operation number A syndrome δ
If A is not compared, that is, when δ△≠δ A ,
The AND gate group 18 is shut off and other possible errors in the check operand A are outputted from the constant storage unit 7. The conditions under which the binary number X occurs at the input of the single error detector 23 or at the input of one of the multiple error detectors 23 are stored in the analysis unit 28. It is found that only one of these detectors holds a binary number X for which X i ≠0 (i=1,2,...n) during a given operating cycle of the device, and that Assume that an error is detected if this occurs several times, for example in the case of three newly given check operands. Under these conditions a logic 1 appears at the second output of analysis unit 28. With this logic 1, the binary number X indicating the incorrect remainder of the check operation number A is ANDed with the OR gate group 32.
It passes via a group of gates 33 to an input 34 of constant storage unit 7. Due to this logic 1, the syndrome δ A of the check operation number A is further transferred from the output of the modulus 14 to the AND gate group 3.
6 to the input 35 of the constant storage unit 7. In this case, the following error values are provided from the first output of the constant storage unit 7 via the AND gate group 49 to the input 48 of the error correction adder 46. △=△ 1 , △ 2 , ..., △ i , ... △ o (5) The check operation number A is sent from the output of register 1 to input 4 of error correction adder 46 via logic unit 40
7 is given. The error value determined by the constant held in the constant storage unit 7 is subtracted from the check operation number A by an error correction adder 46, and the error occurring in the check operation number A is removed. The modified check operand A is passed from the output of adder 46 to bus 50. Single error detector 23 and multi-stage error detector 24
1 ,...24 k store a binary number X such that X i ≠ 0 during a given operating cycle of the device (this condition is certified by the application of a logic 1 to the input of the analysis unit 28). ), the first output of the analysis unit 28 becomes a logical 1 and the device begins handling the new check operand A. If none of the detectors 23, 24 1 , . . . 24 k is found to hold a binary number means that there is no error. Now, in this case, analysis unit 2
The first output of 8 produces a logic 0, which causes the check operand A to be transferred from register 1 to logic unit 40.
and error correction adder 46 to output bus 50 . The device of the invention is such that the processor to be monitored is kept in operation, the latter being supplied via the input bus 3 to the current value of the check operand A and via the input bus 39 to the input 38 of the control flip-flop 37. It operates as described above to provide the former with a control signal (logic 1) that puts flip-flop 37 in the 1 state. It may be the case that the calculation process in the monitored processor ends, but an error remains in the check operand A. Under these conditions a logic 1 is placed on output bus 51 and control flip-flop 37 is in a 0 state such that a logic 0 from input bus 39 appears at its output. In this case, the check operation number A is passed through the logic unit 40 to register 1.
to the error correction adder 46, where it is stored until an error is detected and corrected.
This is evidenced by the occurrence of a logic zero on output bus 51. The operation of the multi-stage error detector 24i (FIG. 1) will be described next. However, i=1, 2,...k, and k=n-
It is 1. Before the multi-stage error detector 24i starts operating, the flip-flops 54 1 , 52 2 , . . . 54 n (second
2) is assumed to be in one state due to a set bus line (not shown in FIG. 2). At this time, m=C i+1 o =n・(n-1)...(n-i)/(
i+1)i・(i−1)…1(6) The binary numbers X=X 1 ,X 2 ,…X n are applied to the input 22i of the detector 24i and in this case the value of =1, 2,...m). When Xj = 1, a logic 1 from the true output of AND gate 52j is applied to the set input of flip-flop 54j if it is 1;
If it is 0, it is not added to the set input of that flip-flop. When X i =0, a logic one from the complementary output of AND gate 52j is applied to the reset input of flip-flop 54j regardless of its state. Flip-flop 54 1 , 54 2 , ... 54 n
The signal from the output of is applied to the input of adder 56. In this case, an addition result equal to 0 is accepted by the first comparison circuit 57 and an addition result equal to 1 is accepted by the second comparison circuit 58. The condition that the addition result is compared with 0 indicates that there is no error in the form given to the check operation number A. The condition for the addition result to be compared with 1 is that the error remainder of the check operation number A is found and this is revealed by the logic 1 obtained from the outputs of the flip-flops 54 1 , 54 2 , . . . This shows what happens to the third output. Analysis unit 28 (FIG. 1) operates as follows. Single error detector 23 and multi-stage error detector 24 1 ,
...24 The signal from the first output of k is AND gate 6
1 (Figure 3). The complement output of this gate produces a logic 0 to indicate that the check operand A is free of errors. Single error detector 23 and multi-stage error detector 24 1 ,
...24 The signal from the second output of k is sent to the adder 59,
60 1 , 60 2 , ...60 k . Each adder is a two-number cumulative adder having a bit position with an output. The signals applied to the adders 59, 60 1 , . . . 60 k undergo an addition process. When the addition results are respectively equal to 3, they are AND gate 6
2 , 63 1 , 63 2 , . Logic unit 40 operates as follows. The output of the OR gate group 68 generates the check operand A under the following conditions. An error is found in the check operand A: in this case the signal applied to the input 70 of the AND gate group 67 enables the passage of the check operand A from the output of the register 1 to the output of the logic unit 40. There is no error in the check operation number A: In this case,
A signal applied to the complementary input of AND gate group 66 enables the passage of check operand A from the output of register 1 to the output of logic unit 40. There is an error in the check operand A, but the calculation process on the monitored processor is complete:
In this case, a signal applied from the output of the control flip-flop 37 to the complementary input of the AND gate group 65 allows the check operation A to be passed from the register 1 to the output of the logic unit 40. The remainder calculator 4 operates as follows. Check operation number A from the first output of register 1
is added to input 5 of remainder calculator 4. Remainder α 1 , α of check operation number A with respect to the base number of the operating range
2 , ...α i , ...α o are decoders 77 1 , ...7
7i... 77o (FIG. 5), respectively, and these outputs give the following values: qi=ηiα i modP o+1 (7) where i=1, 2,...n and η 1 , η 2 ,...
...η o is a scheduled constant. The values of qi from the outputs of decoders 77 1 , 77 2 , . The calculated remainder of the check operation number A with respect to the check cardinal number is expressed by the following equation. or The present invention provides detection and correction of errors in data transmission or processing and requires no assumptions as to the nature of the error. When the present invention is used as a data processing and transfer method, the validity of the calculation results is perfect, so the reliability of the hardware may be low.

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

第1図は本発明の一実施例のブロツク図、第2
図は多段誤り検出器のブロツク図、第3図は解析
ユニツトのブロツク図、第4図は論理ユニツトの
ブロツク図、第5図は剰余計数器のブロツク図で
ある。 1…レジスタ、3…入力母線、4…剰余計算
器、6…制御ユニツト、7…定数記憶ユニツト、
9…誤症候群計算器、12,57,58…比較
器、14…モジユロ、28…解析ユニツト、37
…制御フリツプフロツプ、40…論理ユニツト、
46…誤り修正加算器、52…ANDゲート、5
4…フリツプフロツプ、56,59,60…加算
器、62,63…ANDゲート、64,68…OR
ゲート。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG.
3 is a block diagram of the multi-stage error detector, FIG. 3 is a block diagram of the analysis unit, FIG. 4 is a block diagram of the logic unit, and FIG. 5 is a block diagram of the remainder counter. 1... Register, 3... Input bus, 4... Remainder calculator, 6... Control unit, 7... Constant storage unit,
9... False syndrome calculator, 12, 57, 58... Comparator, 14... Modulus, 28... Analysis unit, 37
...control flip-flop, 40...logic unit,
46...Error correction adder, 52...AND gate, 5
4...Flip-flop, 56,59,60...Adder, 62,63...AND gate, 64,68...OR
Gate.

Claims (1)

【特許請求の範囲】 1 入力母線3に接続する入力2を有するチエツ
ク演算数を記憶するためのレジスタ1と、上記チ
エツク演算数に代数的に加算されるべき定数を記
憶してそれに生じる可能性のある誤りが修正され
るようにすると共に誤剰余を決定する2進数を記
憶する定数記憶ユニツト7と、誤りが上記チエツ
ク演算数にあると仮定される位置の上記2進数の
多段解析により上記チエツク演算数の誤剰余を弁
別するための単一誤り検出器と、出力母線51に
接続する第1出力を有し上記チエツク演算数内の
誤りの発生を知らせるための解析ユニツト28
と、上記レジスタ1の第1出力に接続する入力5
を有し上記チエツク演算数内の誤りの検出を可能
にする上記チエツク演算数のチエツク基準に対し
てこのチエツク演算数の剰余を計算するための剰
余計算器4と、上記定数記憶ユニツト7の第1出
力に接続する入力10を有する誤り症候群計算器
9と、上記剰余計算器4の出力に接続する入力1
5と上記レジスタ1の第2出力に接続する16を
有し、上記チエツク基準に実剰余を代数的に加算
すると共に計算された剰余をそのチエツク基準に
代数的に加算することにより上記チエツク演算数
の症候群を計算するモジユロ14と、上記モジユ
ロ14の出力に接続する入力13と上記誤り症候
群計算器9の出力に接続する入力11を有し、上
記チエツク演算数内に誤りが生じたかどうかを決
定するべく上記誤り症候群と上記チエツク演算数
の症候群とに応答する比較器12と、上記単一誤
り検出器23の入力21と組合されてANDゲー
ト群18を介して上記比較器12の出力に接続す
る入力22,……22kおよび上記単一誤り検
出器23の第1および第2出力と共に上記解析ユ
ニツト28の夫々の入力25,25′,26,2
6′,27,27′に接続する第1および第2出力
を有し、誤り症候群によりチエツク演算数に誤り
のあると仮定される位置の2進数の多段解析によ
り上記チエツク演算数の誤剰余を弁別するための
多段誤り検出器21,……24kと、上記レジス
タ1の出力に接続する入力42,43と上記解析
ユニツト28の第1出力に接続する入力44と上
記解析ユニツト28の第2出力に接続する入力4
5と上記誤り修正加算器46の入力47に接続す
る出力とを有し、上記チエツク演算数内の誤りの
位置が生じておりそしてチエツク演算数の上記誤
り修正加算器46への印加が可能となつた後に作
動される論理ユニツト40と、入力母線39に接
続する入力38と論理ユニツト40の入力41に
接続する出力を有し、本装置の動作モードを選択
するための制御フリツプフロツプ37と、上記定
数記憶ユニツト7の入力8と上記定数記憶ユニツ
トの第2出力に接続した入力20を有するAND
ゲート群18の入力19とに接続する出力を有
し、上記誤りチエツク演算数の修正用の手段の動
作を制御する制御ユニツト6と、上記単一の誤り
検出器23の第3出力と上記多段誤り検出器24
,……24kの第3出力とに接続する入力2
9,30,31およびANDゲート群33を介し
て、上記モジユロ14の出力に接続した第1入力
および上記解析ユニツト28の第2出力に接続し
た第2入力を有するANDゲート群36の出力に
接続した入力35を有する上記定数記憶ユニツト
7の入力34に接続する出力を有するORゲート
群32と、上記定数記憶ユニツト7の第1出力に
接続する第1入力と上記ANDゲート群33の第
2入力に接続した上記解析ユニツト28の第2出
力に接続する第2入力と、出力母線50に接続し
た出力を有する上記誤り修正加算器の第2入力に
接続する出力とを有するANDゲート群49と、
から成る、各演算の結果がチエツク演算数となる
ごとくなつた剰余クラスの記数系により表わされ
るデータの処理における誤り検出および修正装
置。 2 特許請求の範囲第1項記載の誤り検出および
修正装置において、前記多段誤り検出器の夫々は
前記ANDゲート群18の出力に接続する入力5
,53,……53nおよびフリツプフロツ
プ54,54,……54nの入力に接続する
真および補数出力を有するANDゲート52
52,……52nを有し、上記フリツプフロツ
プの出力は上記ANDゲート52,52,…
…52nの入力55,55,55nと、前記
ORゲート群32の入力29,30,31と加算
器56の入力とに接続しており、上記加算器の出
力は第1比較回路57および第2比較回路58を
介して前記解析ユニツト28の入力26′27′に
接続するごとくなつている、誤り検出および修正
装置。 3 特許請求の範囲第1項または第2項記載の誤
り検出および修正装置において、前記解析ユニツ
ト28は複数の加算器59,61,……60k
を有し、加算器59の入力は前記単一の誤り検出
器23の第2出力に接続し、残りの加算器60
,……60kの入力は前記多段誤り検出器24
,……24kの第2出力にそしてそれらの出力
はANDゲート62,63,63kを介してOR
ゲート64の入力に接続しており、このORゲー
トの出力は前記論理ユニツト40の入力45に接
続しこの論理ユニツト40の入力44は上記単一
および多段誤り検出器23,24,……24k
の第1出力に接続する入力を有するANDゲート
群61の出力に接続するごとくなつた、誤り検出
および修正装置。 4 特許請求の範囲第1項乃至第3項のいずれか
に記載の誤り検出および修正装置において、前記
論理ユニツト40は前記誤り修正加算器46の入
力47に接続する出力を有するORゲート68の
入力に接続する出力を有する3群のANDゲート
65,66,67からなり、上記ANDゲート群
65の補数入力は前記制御フリツプフロツプ37
の出力に接続し、上記ANDゲート群65の入力
69は上記ANDゲート群67の入力70と前記
解析ユニツト28の第2出力とに接続し、上記
ANDゲート群65の入力71は上記ANDゲート
群66の入力72および上記ANDゲート群67
の入力73に組合されると共に前記レジスタ1の
第1出力に接続し、上記ANDゲート群65の入
力74は上記ANDゲート群66の入力75と上
記ANDゲート群67の入力76とに組合される
と共に上記レジスタ1の第2出力に接続し、上記
ANDゲート群66の補数入力は上記解析ユニツ
ト28の第1出力に接続するごとくなつた、誤り
検出および修正装置。
[Scope of Claims] 1. A register 1 for storing a check operation number having an input 2 connected to an input bus 3, and a possibility of storing a constant to be added algebraically to said check operation number and resulting therein. A constant storage unit 7 stores a binary number which allows certain errors to be corrected and determines the erroneous remainder; an analysis unit 28 having a single error detector for discriminating erroneous remainders of the operand and a first output connected to the output bus 51 for indicating the occurrence of an error in the check operand;
and input 5 connected to the first output of register 1 above.
a remainder calculator 4 for calculating the remainder of the check operation with respect to a check criterion of the check operation, which has a function of detecting errors in the check operation; an error syndrome calculator 9 having an input 10 connected to the output 1 and an input 1 connected to the output of the remainder calculator 4;
5 and 16 connected to the second output of the register 1, and calculates the check operation number by algebraically adding the real remainder to the check criterion and algebraically adding the calculated remainder to the check criterion. a modulo 14 for calculating the syndrome of the error syndrome, an input 13 connected to the output of the modulo 14, and an input 11 connected to the output of the error syndrome calculator 9, for determining whether an error has occurred in the check operation number. a comparator 12 responsive to said error syndrome and said check operand syndrome in combination with the input 21 of said single error detector 23 and connected to the output of said comparator 12 via a group of AND gates 18; inputs 22 1 , .
It has first and second outputs connected to terminals 6', 27, and 27', and calculates the error remainder of the check operation number by multi-stage analysis of the binary number at the position where it is assumed that there is an error in the check operation number due to an error syndrome. multi -stage error detectors 21, . Input 4 connected to output
5 and an output connected to an input 47 of said error correction adder 46, indicating the location of an error within said check operand and enabling application of the check operand to said error correction adder 46. a control flip-flop 37 having an input 38 connected to the input bus 39 and an output connected to the input 41 of the logic unit 40 for selecting the mode of operation of the device; AND with input 8 of constant storage unit 7 and input 20 connected to the second output of said constant storage unit
a control unit 6 having an output connected to the input 19 of the gate group 18 and controlling the operation of the means for correcting the error check operand; a third output of the single error detector 23; error detector 24
1 ,...24 Input 2 connected to the third output of k
9, 30, 31 and via an AND gate group 33 to the output of an AND gate group 36 having a first input connected to the output of the modulo 14 and a second input connected to a second output of the analysis unit 28. a group of OR gates 32 having an output connected to an input 34 of the constant storage unit 7 having an input 35, a first input connected to a first output of the constant storage unit 7 and a second input of the AND gate group 33; a group of AND gates 49 having a second input connected to a second output of the analysis unit 28 connected to the output bus 50 and an output connected to a second input of the error correction adder having an output connected to the output bus 50;
An error detection and correction device in the processing of data represented by a remainder class number system in which the result of each operation is a check operation number. 2. The error detection and correction device according to claim 1, wherein each of the multi-stage error detectors has an input 5 connected to the output of the AND gate group 18.
3 1 , 53 2 , . . . 53 n and an AND gate 52 1 , with true and complement outputs connected to the inputs of flip-flops 54 1 , 54 2 , . . . 54 n
52 2 , .
…52 n inputs 55 1 , 55 2 , 55 n and the above
It is connected to the inputs 29, 30, 31 of the OR gate group 32 and the input of an adder 56, and the output of the adder is connected to the input of the analysis unit 28 via a first comparator circuit 57 and a second comparator circuit 58. 26', 27', and an error detection and correction device connected thereto. 3. In the error detection and correction device according to claim 1 or 2, the analysis unit 28 includes a plurality of adders 59, 61 1 , . . . 60 k
, the input of adder 59 is connected to the second output of said single error detector 23, and the input of adder 59 is connected to the second output of said single error detector 23;
1 ,...60 k inputs are input to the multi-stage error detector 24.
1 , ...24 k and their outputs are ORed via AND gates 62, 63 1 , 63 k .
The output of this OR gate is connected to the input 45 of the logic unit 40, the input 44 of which is connected to the input of the single and multi-stage error detectors 23, 24 1 , . . . 24 . k
an error detection and correction device such as to be connected to the output of a group of AND gates 61 having an input connected to a first output of the circuit; 4. An error detection and correction device according to any one of claims 1 to 3, in which the logic unit 40 is an input of an OR gate 68 having an output connected to an input 47 of the error correction adder 46. The complement input of the AND gate group 65 is connected to the control flip-flop 37.
The input 69 of the AND gate group 65 is connected to the input 70 of the AND gate group 67 and the second output of the analysis unit 28;
The input 71 of the AND gate group 65 is connected to the input 72 of the AND gate group 66 and the AND gate group 67.
The input 74 of the AND gate group 65 is combined with the input 75 of the AND gate group 66 and the input 76 of the AND gate group 67. and the second output of register 1 above.
The complement input of AND gate group 66 is such that it is connected to the first output of analysis unit 28.
JP11903478A 1978-09-27 1978-09-27 Device for detecting and correcting error in calculating data indicated by residue class numerical system Granted JPS5544691A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11903478A JPS5544691A (en) 1978-09-27 1978-09-27 Device for detecting and correcting error in calculating data indicated by residue class numerical system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11903478A JPS5544691A (en) 1978-09-27 1978-09-27 Device for detecting and correcting error in calculating data indicated by residue class numerical system

Publications (2)

Publication Number Publication Date
JPS5544691A JPS5544691A (en) 1980-03-29
JPS6136257B2 true JPS6136257B2 (en) 1986-08-18

Family

ID=14751323

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11903478A Granted JPS5544691A (en) 1978-09-27 1978-09-27 Device for detecting and correcting error in calculating data indicated by residue class numerical system

Country Status (1)

Country Link
JP (1) JPS5544691A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2760192B2 (en) * 1991-12-26 1998-05-28 日本電気株式会社 Error correction code decoding device
RU2653257C1 (en) * 2017-07-21 2018-05-07 федеральное государственное автономное образовательное учреждение высшего образования "Северо-Кавказский федеральный университет" Device for detecting and correcting the error of the modular code

Also Published As

Publication number Publication date
JPS5544691A (en) 1980-03-29

Similar Documents

Publication Publication Date Title
US4021655A (en) Oversized data detection hardware for data processors which store data at variable length destinations
EP0221577B1 (en) Microprogram control unit
CN102331921B (en) The method and system abnormal for detecting decimal floating point amount
JPH0544046B2 (en)
Johnson An introduction to the design and analysis of fault-tolerant systems
US3986015A (en) Arithmetic unit for use in a digital data processor and having an improved system for parity check bit generation and error detection
US3911261A (en) Parity prediction and checking network
EP0366331B1 (en) System and method for error detection in the result of an arithmetic operation
US3925647A (en) Parity predicting and checking logic for carry look-ahead binary adder
US4213188A (en) Apparatus for detecting and correcting errors in arithmetic processing of data represented in the numerical system of residual classes
US4326291A (en) Error detection system
CN113342671A (en) Method, device, electronic equipment and medium for verifying operation module
JPS6136257B2 (en)
US3078039A (en) Error checking system for a parallel adder
US3185822A (en) Binary adder
JP2000040081A (en) Vector data processor
US3234373A (en) Fully checkable adder
US8224882B2 (en) Industrial controller
JPS62293441A (en) Data outputting system
GB2033115A (en) Apparatus for detecting and correcting errors in arithmetic processing of data represented in the numerical system of residual classes
RU1784971C (en) Floating point number adding-subtracting device
NL7809431A (en) Error detector and corrector in mathematical computer - uses residual calculation by generating operand with error syndrome and has constant memory units
US3586842A (en) Arithmetic circuit
JPH0680487B2 (en) Processor
SU1714587A1 (en) Device for summing-subtracting numbers with floating point