JPH0548581A - Method for parity attachment - Google Patents

Method for parity attachment

Info

Publication number
JPH0548581A
JPH0548581A JP3200849A JP20084991A JPH0548581A JP H0548581 A JPH0548581 A JP H0548581A JP 3200849 A JP3200849 A JP 3200849A JP 20084991 A JP20084991 A JP 20084991A JP H0548581 A JPH0548581 A JP H0548581A
Authority
JP
Japan
Prior art keywords
parity
circuit
data
output
attaching
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.)
Granted
Application number
JP3200849A
Other languages
Japanese (ja)
Other versions
JP2661419B2 (en
Inventor
Kyoichi Shin
京一 進
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 JP3200849A priority Critical patent/JP2661419B2/en
Publication of JPH0548581A publication Critical patent/JPH0548581A/en
Application granted granted Critical
Publication of JP2661419B2 publication Critical patent/JP2661419B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Hardware Redundancy (AREA)
  • Error Detection And Correction (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

PURPOSE:To make the parity calculating result of parity attaching circuit that is treated as spare by redundancy constitution coincide with the parity calculating result of parity attaching circuit that is treated as existing with redundancy constitution by installing a matching circuit. CONSTITUTION:Input data is inputted in both parity attaching circuit (A)2 and parity attaching circuit (B)3, the output from each of attaching circuit 2 and 3 is selected by selecting circuit 4 in accordance with selecting signal 5, and the result is output as output data 6. Here, when the selecting signal 5 is 'L', the output from attaching circuit (A) 2 is selected, and when the selecting signal 5 indicates 'H', the output from attaching circuit (B) 3 is selected. Accordingly, by sending the output from matching circuit 7 to attaching circuits A(2) and (B)3 in accordance with the selecting signal 5, the parity calculating results of parity attaching circuits are made to coincide with each other.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、パリティ付加回路に関
し、特に、複数のパリティ回路を冗長構成で用いる場合
のパリティ付加方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a parity adding circuit, and more particularly to a parity adding system when a plurality of parity circuits are used in a redundant configuration.

【0002】[0002]

【従来の技術】従来のパリティ付加回路は、冗長構成で
使用する場合に、各々のパリティ付加回路が独立して動
作していた。
2. Description of the Related Art In a conventional parity adding circuit, each parity adding circuit operates independently when used in a redundant configuration.

【0003】図2は、従来におけるパリティ付加回路の
2回路構成の例を示すブロック構成図である。
FIG. 2 is a block diagram showing an example of a two-circuit configuration of a conventional parity adding circuit.

【0004】図2において、入力データ8は、パリティ
付加回路(A)9とパリティ付加回路(B)10に入力
され、各々のパリティ付加回路の出力は、選択回路11
において選択信号12に従って選択され、出力データ1
3として出力される。
In FIG. 2, input data 8 is input to a parity addition circuit (A) 9 and a parity addition circuit (B) 10, and the output of each parity addition circuit is a selection circuit 11.
Output data 1 selected according to the selection signal 12 in
It is output as 3.

【0005】[0005]

【発明の解決しようとする課題】従来のパリティ付加回
路は、冗長構成で使用する場合に、各々のパリティ付加
回路が独立して動作する為に、パリティ計算初期値が異
なっていた場合には、各々のパリティ付加回路のパリテ
ィ計算結果が異なり、パリティ付加回路の冗長切替を行
った場合に、パリティチェック回路でパリティエラーを
検出する課題があった。
In the conventional parity adding circuit, when used in a redundant configuration, each parity adding circuit operates independently. Therefore, when the parity calculation initial values are different, There is a problem that the parity check circuit detects a parity error when the parity calculation result of each parity addition circuit is different and the redundancy addition circuit is switched.

【0006】本発明は従来の上記実情に鑑みてなされた
ものであり、したがって本発明の目的は、従来の技術に
内在する上記課題を解決することを可能とした新規なパ
リティ付加方式を提供することにある。
The present invention has been made in view of the above-mentioned conventional circumstances, and therefore an object of the present invention is to provide a novel parity addition system capable of solving the above problems inherent in the conventional art. Especially.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に、本発明に係るパリティ付加方式は、冗長構成で予備
となるパリティ付加回路のパリティ計算結果を冗長構成
で現用となるパリティ付加回路のパリティ計算結果と一
致させる一致回路を備えて構成される。
In order to achieve the above object, the parity addition method according to the present invention is such that a parity calculation result of a spare parity addition circuit in a redundant configuration is used in a parity addition circuit that is currently used in a redundant configuration. It is configured with a matching circuit that matches the parity calculation result.

【0008】[0008]

【実施例】次に本発明をその好ましい一実施例について
図面を参照して具体的に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION The present invention will now be described in detail with reference to the accompanying drawings with reference to the accompanying drawings.

【0009】図1は本発明に係るパリティ付加方式を用
いたパリティ付加回路の2回路構成の一実施例を示すブ
ロック構成図である。
FIG. 1 is a block diagram showing an embodiment of a two-circuit configuration of a parity adding circuit using the parity adding method according to the present invention.

【0010】図1を参照するに、入力データ1は、パリ
ティ付加回路(A)2とパリティ付加回路(B)3に入
力され、各々のパリティ付加回路2、3の出力は、選択
回路4において選択信号5に従って選択され、出力デー
タ6として出力される。この回路では、選択信号5が
“L”のときパリティ付加回路(A)2の出力信号が選
択され、選択信号5が“H”のときパリティ付加回路
(B)3の出力が選択されるものとする。
Referring to FIG. 1, an input data 1 is input to a parity adding circuit (A) 2 and a parity adding circuit (B) 3, and outputs of the parity adding circuits 2 and 3 are selected by a selecting circuit 4. It is selected according to the selection signal 5 and output as output data 6. In this circuit, the output signal of the parity addition circuit (A) 2 is selected when the selection signal 5 is "L", and the output of the parity addition circuit (B) 3 is selected when the selection signal 5 is "H". And

【0011】一致回路7から選択信号5に従ったパリテ
ィをパリティ付加回路(A)2及びパリティ付加回路
(B)3に送ることにより、各パリティ付加回路のパリ
ティ計算結果は一致させられる。
By sending the parity according to the selection signal 5 from the matching circuit 7 to the parity adding circuit (A) 2 and the parity adding circuit (B) 3, the parity calculation results of the parity adding circuits are matched.

【0012】図3は、データのフレーム構成を示してお
り、前フレームのパリティ計算結果が現フレームのパリ
ティ位置に挿入されることを示す。
FIG. 3 shows a frame structure of data, and shows that the parity calculation result of the previous frame is inserted at the parity position of the current frame.

【0013】図4は、2回路構成のパリティ付加回路の
1パリティ付加回路の具体的なブロック構成図である。
FIG. 4 is a concrete block diagram of a 1-parity adding circuit of the 2-circuit structure parity-adding circuit.

【0014】図4を参照するに、データセレクタ14
は、入力データ15とパリティデータ16をパリティパ
ルス17に従って選択し、出力データ18として出力す
る。この回路では、パリティパルス17が“H”のとき
にパリティデータ16を選択し、“L”のとき入力デー
タを選択するものとする。
Referring to FIG. 4, the data selector 14
Selects the input data 15 and the parity data 16 according to the parity pulse 17 and outputs them as output data 18. In this circuit, the parity data 16 is selected when the parity pulse 17 is "H", and the input data is selected when the parity pulse 17 is "L".

【0015】データラッチ19は出力データ18をデー
タパルス20毎にラッチし、パリティ計算部21はラッ
チされたデータのパリティ計算を行う。パリティは、図
3のようにフレーム毎に計算するのでフレームパルス2
2でリセットする。
The data latch 19 latches the output data 18 for each data pulse 20, and the parity calculator 21 calculates the parity of the latched data. Since the parity is calculated for each frame as shown in FIG. 3, the frame pulse 2
Reset with 2.

【0016】パリティセレクタ23は一致回路7の選択
信号24に従ってパリティ計算部21の出力または一致
回路7のパリティデータ25の選択を行う。この回路で
は、一致回路の選択信号24が“H”のときに一致回路
のパリティデータ25を選択し、“L”のときにパリテ
ィ計算部21の出力を選択するものとする。一致回路7
のパリティデータ25を選択することによりこのパリテ
ィ付加回路のパリティ計算結果を他のパリティ付加回路
のパリティ計算結果と一致させることができる。
The parity selector 23 selects the output of the parity calculator 21 or the parity data 25 of the matching circuit 7 according to the selection signal 24 of the matching circuit 7. In this circuit, the parity data 25 of the matching circuit is selected when the selection signal 24 of the matching circuit is "H", and the output of the parity calculator 21 is selected when it is "L". Matching circuit 7
It is possible to match the parity calculation result of this parity addition circuit with the parity calculation result of another parity addition circuit by selecting the parity data 25 of.

【0017】パリティラッチ26は、フレームパルス2
2毎にパリティセレクタ23の出力をラッチし、パリテ
ィデータ16を出力する。
The parity latch 26 receives the frame pulse 2
The output of the parity selector 23 is latched every 2 and the parity data 16 is output.

【0018】図5に、図4のパリティ付加回路のタイミ
ングを示す。
FIG. 5 shows the timing of the parity addition circuit of FIG.

【0019】図5において、フレーム構成27に従っ
て、データパルス28はデータ毎に、フレームパルス2
9はフレーム毎にフレームの先頭パルスを形成し、パリ
ティパルス30はパリティのタイミングで“H”とな
る。
In FIG. 5, according to the frame structure 27, the data pulse 28 is a frame pulse 2 for each data.
9 forms the head pulse of the frame for each frame, and the parity pulse 30 becomes "H" at the timing of parity.

【0020】図6は、一致回路7の具体的な構成を示す
ブロック図である。
FIG. 6 is a block diagram showing a specific structure of the coincidence circuit 7.

【0021】図6を参照するに、パリティセレクタ31
は、選択信号5に従って、パリティ付加回路(A)2の
パリティデータ32とパリティ付加回路(B)3のパリ
ティデータ33の選択を行い、一致回路7のパリティデ
ータ34を出力する。
Referring to FIG. 6, the parity selector 31
Selects the parity data 32 of the parity addition circuit (A) 2 and the parity data 33 of the parity addition circuit (B) 3 according to the selection signal 5, and outputs the parity data 34 of the coincidence circuit 7.

【0022】この回路では、選択信号5が“L”のとき
にパリティ付加回路(A)2のパリティデータ32を選
択し、“H”のときにパリティ付加回路(B)3のパリ
ティデータを選択するものとする。
In this circuit, the parity data 32 of the parity addition circuit (A) 2 is selected when the selection signal 5 is "L", and the parity data of the parity addition circuit (B) 3 is selected when the selection signal 5 is "H". It shall be.

【0023】選択信号発生部35はパリティ付加回路
(A)2への一致回路7の選択信号36とパリティ付加
回路(B)3への一致回路7の選択信号37を発生す
る。
The selection signal generator 35 generates a selection signal 36 for the matching circuit 7 for the parity addition circuit (A) 2 and a selection signal 37 for the matching circuit 7 for the parity addition circuit (B) 3.

【0024】[0024]

【発明の効果】以上説明したように、本発明のパリティ
付加方式によれば、一致回路を備えたことにより、冗長
構成で予備となるパリティ付加回路のパリティ計算結果
を冗長構成で現用となるパリティ付加回路のパリティ計
算結果を一致させることができる。
As described above, according to the parity addition method of the present invention, the parity calculation result of the parity addition circuit which is a spare in the redundant configuration is used as the parity in the redundant configuration because the matching circuit is provided. The parity calculation results of the additional circuits can be matched.

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

【図1】本発明のパリティ付加回路を用いたパリティ付
加回路の2回路構成の実施例を示すブロック構成図であ
る。
FIG. 1 is a block configuration diagram showing an embodiment of a two-circuit configuration of a parity adding circuit using a parity adding circuit of the present invention.

【図2】従来におけるパリティ付加回路の2回路構成の
ブロック図である。
FIG. 2 is a block diagram of a two-circuit configuration of a conventional parity adding circuit.

【図3】データのフレーム構成を示す図である。FIG. 3 is a diagram showing a frame structure of data.

【図4】パリティ付加回路の具体例を示すブロック構成
図である。
FIG. 4 is a block diagram showing a specific example of a parity adding circuit.

【図5】パリティ付加回路のタイミング図である。FIG. 5 is a timing diagram of a parity adding circuit.

【図6】一致回路の具体例を示すブロック構成図であ
る。
FIG. 6 is a block diagram showing a specific example of a matching circuit.

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

1…入力データ 2…パリティ付加回路A 3…パリティ付加回路B 4…選択回路 5…選択信号 6…出力データ 7…一致回路 8…入力データ 9…パリティ付加回路A 10…パリティ付加回路B 11…選択回路 12…選択信号 13…出力データ 14…データセレクタ 15…入力データ 16…パリティデータ 17…パリティパルス 18…出力データ 19…データラッチ 20…データパルス 21…パリティ計算部 22…フレームパルス 23…パリティセレクタ 24…一致回路の選択信号 25…一致回路のパリティデータ 26…パリティラッチ 27…フレーム構成 28…データパルス 29…フレームパルス 30…パリティパルス 31…パリティセレクタ 32…パリティ付加回路Aのパリティデ−タ 33…パリティ付加回路Bのパリティデ−タ 34…一致回路のパリティデ−タ 35…選択信号発生部 36…パリティ付加回路Aへの一致回路の選択信号 37…パリティ付加回路Bへの一致回路の選択信号 1 ... Input data 2 ... Parity adding circuit A 3 ... Parity adding circuit B 4 ... Selection circuit 5 ... Selection signal 6 ... Output data 7 ... Matching circuit 8 ... Input data 9 ... Parity adding circuit A 10 ... Parity adding circuit B 11 ... Selection circuit 12 ... Selection signal 13 ... Output data 14 ... Data selector 15 ... Input data 16 ... Parity data 17 ... Parity pulse 18 ... Output data 19 ... Data latch 20 ... Data pulse 21 ... Parity calculator 22 ... Frame pulse 23 ... Parity Selector 24 ... Matching circuit selection signal 25 ... Matching circuit parity data 26 ... Parity latch 27 ... Frame configuration 28 ... Data pulse 29 ... Frame pulse 30 ... Parity pulse 31 ... Parity selector 32 ... Parity data of parity addition circuit A 33 … Parity addition circuit B Paris I de - data 34 ... Paritide matching circuit - motor 35 ... coincidence circuit of the selection signal to the selection signal 37 ... parity adding circuit B of the coincidence circuit to selection signal generator 36 ... parity adding circuit A

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 任意の長さのフレーム単位にパリティ計
算を行い、計算を行った次のフレームにパリティ計算結
果付加するパリティ付加回路を複数用いる冗長構成パリ
ティ付加回路において、冗長構成で予備となるパリティ
付加回路のパリティ計算結果を冗長構成で現用となるパ
リティ付加回路のパリティ計算結果と一致させる一致回
路を備えていることを特徴とするパリティ付加方式。
1. A redundant configuration parity adding circuit using a plurality of parity adding circuits for performing a parity calculation in units of frames of an arbitrary length and adding a parity calculation result to the next frame for which a calculation is performed is redundant in a redundant configuration. A parity addition method characterized by comprising a matching circuit for matching the parity calculation result of the parity addition circuit with the parity calculation result of the current parity addition circuit in a redundant configuration.
JP3200849A 1991-08-09 1991-08-09 Parity addition method Expired - Lifetime JP2661419B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3200849A JP2661419B2 (en) 1991-08-09 1991-08-09 Parity addition method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3200849A JP2661419B2 (en) 1991-08-09 1991-08-09 Parity addition method

Publications (2)

Publication Number Publication Date
JPH0548581A true JPH0548581A (en) 1993-02-26
JP2661419B2 JP2661419B2 (en) 1997-10-08

Family

ID=16431244

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3200849A Expired - Lifetime JP2661419B2 (en) 1991-08-09 1991-08-09 Parity addition method

Country Status (1)

Country Link
JP (1) JP2661419B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011254200A (en) * 2010-06-01 2011-12-15 Fujitsu Ltd Transmitter and parity operation method
KR20160111977A (en) 2014-02-17 2016-09-27 신닛테츠스미킨 카부시키카이샤 Eddy current deceleration device equipped with power generation function

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011254200A (en) * 2010-06-01 2011-12-15 Fujitsu Ltd Transmitter and parity operation method
KR20160111977A (en) 2014-02-17 2016-09-27 신닛테츠스미킨 카부시키카이샤 Eddy current deceleration device equipped with power generation function
US10491094B2 (en) 2014-02-17 2019-11-26 Nippon Steel Corporation Eddy current retarder with electricity generating function
US10734881B2 (en) 2014-02-17 2020-08-04 Nippon Steel Corporation Eddy current retarder with electricity generating function

Also Published As

Publication number Publication date
JP2661419B2 (en) 1997-10-08

Similar Documents

Publication Publication Date Title
JPH0548581A (en) Method for parity attachment
JPH10117147A (en) Data generating circuit for error check
JP2900943B2 (en) decoder
SU386397A1 (en) "B ^ r ^ UNION
JPS6364449A (en) Code error correction circuit
JPH05113896A (en) Error detection circuit
JPH05314280A (en) Microcomputer
JPH0438018A (en) Error detecting system for relay line
JPS5958698A (en) Semiconductor integrated circuit storage device
JPH0638239B2 (en) Error correction mechanism
JPH07112186B2 (en) Synchronous processing LSI interface method
JPS6334491B2 (en)
JPS61103332A (en) Data receiver
JPH04113723A (en) Error correction system
JPH05219033A (en) Path check circuit
JPH0573352A (en) Information processor
JPH06132938A (en) Frame conversion error correcting circuit
JPH02249332A (en) Redundancy system selection circuit
JPH0475175A (en) Circuit wiring information generation system
JPS6029414B2 (en) error correction circuit
JPS6019239A (en) Error checking system of multiple generating circuit
JPH05268210A (en) Serial communication equipment
JPS63153923A (en) Large scale integrated circuit for viterbi decoding
JPH05227133A (en) Parity check circuit
JPS6167322A (en) Error correction memory controlling circuit of reed solomon encoding/decoding system