JPS6064529A - Circuit for decoding bch single error correction and double error detection code - Google Patents
Circuit for decoding bch single error correction and double error detection codeInfo
- Publication number
- JPS6064529A JPS6064529A JP17215983A JP17215983A JPS6064529A JP S6064529 A JPS6064529 A JP S6064529A JP 17215983 A JP17215983 A JP 17215983A JP 17215983 A JP17215983 A JP 17215983A JP S6064529 A JPS6064529 A JP S6064529A
- Authority
- JP
- Japan
- Prior art keywords
- output
- circuit
- correction
- error
- detection
- 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
Links
- 238000012937 correction Methods 0.000 title claims abstract description 94
- 238000001514 detection method Methods 0.000 title claims abstract description 44
- 238000004364 calculation method Methods 0.000 claims abstract description 48
- 208000011580 syndromic disease Diseases 0.000 claims abstract description 32
- 230000003111 delayed effect Effects 0.000 description 10
- 230000001934 delay Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000000034 method Methods 0.000 description 3
- 238000000375 direct analysis in real time Methods 0.000 description 2
- 238000012063 dual-affinity re-targeting Methods 0.000 description 2
- 238000004088 simulation Methods 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
Landscapes
- Error Detection And Correction (AREA)
Abstract
Description
【発明の詳細な説明】
本発明紘BCH(Bose −Chaudhuri −
Hocquenghem )単−誤リ訂正・二重誤シ検
出符号を復号するBCH単−誤リ訂正・二重誤シ検出符
号復号化回路に関し、さらに評言すれにテレビジョン衛
星放送りS−■受信機等に使用をするBCH単−誤リ訂
正・二重誤り検出符号復号化回路に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention BCH (Bose-Chaudhuri-
Hocquenghem) Regarding the BCH single-error re-correction/double error-detection code decoding circuit that decodes the single-error re-correction/double error-detection code, I would like to further comment on the television satellite broadcasting S-■ receiver, etc. The present invention relates to a BCH single-error recorrection/double error detection code decoding circuit used for.
(従来技術)
テレビジョン衛星放送において、音声データ、独立デー
タはBCH(63,56)単−誤リ訂正(SEC)・二
重誤シ検出符号化されている。(Prior Art) In television satellite broadcasting, audio data and independent data are encoded using BCH (63, 56) single error correction (SEC)/double error detection.
BCH(63,56) SEC−DED符号の生成多項
式〇 (x)は、G(x)= X7+X6+X2+1−
(X+I XX6+X+1)で与えられている。BCH (63, 56) SEC-DED code generator polynomial〇 (x) is G(x)=X7+X6+X2+1-
It is given by (X+I XX6+X+1).
かかる符号化信号を復号化するBCH8EC−DED符
号復号化回路は第1図に示す如く構成されていた。A BCH8EC-DED code decoding circuit for decoding such a coded signal was constructed as shown in FIG.
入力端子INには上記の符号化された受信信号F(受信
多項式F(X))が供給される。lは受信多項式FC)
t(x+1)で除算しシンドロームF(1)を計算し、
シンドロームF(1)に対応した2値出力を発生する計
算回路であシ、2は受信多項式F(x)を原始多項式(
X6+X+1 )で除算しシンドロームF←)〔αは(
x6+x+1 )の根〕を計算する計算回路、3は計算
回路2の出力からFに)が“0#か否かの検出出力とF
に)に対応した誤シ訂正出力を発生する検出回路である
。4は受信信号を63ビツトの期間遅延させる遅延回路
である。The above encoded reception signal F (reception polynomial F(X)) is supplied to the input terminal IN. l is the receiving polynomial FC)
Calculate syndrome F(1) by dividing by t(x+1),
It is a calculation circuit that generates a binary output corresponding to the syndrome F(1), and 2 is a calculation circuit that generates a binary output corresponding to the syndrome F(1).
X6+X+1) and divide by syndrome F←) [α is (
3 is a calculation circuit that calculates the root of
This is a detection circuit that generates an error correction output corresponding to 4 is a delay circuit that delays the received signal for a period of 63 bits.
計算回路1の出力はインバータ5に供給して反転し、イ
ンバータ5の出力と検出回路3からの検出出力とはアン
ドゲート回路6に供給して二重誤りを検出し、アンドゲ
ート回路6の出力はラッチ回路7に供給して補正指示信
号EPとし、補正指示信号EPは図示しない補正回路に
供給して前置保持補正または平均値補間補正等の補正動
作を行なわせる。The output of the calculation circuit 1 is supplied to an inverter 5 and inverted, and the output of the inverter 5 and the detection output from the detection circuit 3 are supplied to an AND gate circuit 6 to detect a double error, and the output of the AND gate circuit 6 is is supplied to the latch circuit 7 as a correction instruction signal EP, and the correction instruction signal EP is supplied to a correction circuit (not shown) to perform correction operations such as pre-hold correction or average value interpolation correction.
一方、遅延回路4で遅延された受信信号Fと検出回路3
から出力される訂正出力とは訂正手段としての排他論理
和回路8に供給し、受信信号Fの誤シビツ)1反転して
訂正された受信信号CFを得ている。したがって上記の
如く構成された復号化回路によるときは、(f) F(
1)= 0 、 Fに)=0のときは誤シなしと判定し
、←) F(1)= 1 、 Fに)NOのときは単−
誤りと判定して訂正を行ない、(ハ)F(1)=0.F
に)40のときは二重鎖シと判定し補正が行なわれる。On the other hand, the received signal F delayed by the delay circuit 4 and the detection circuit 3
The corrected output output from is supplied to an exclusive OR circuit 8 as a correction means, and the received signal F is inverted by 1 to obtain a corrected received signal CF. Therefore, when using a decoding circuit configured as described above, (f) F(
1) = 0, F) = 0, it is determined that there is no error, ←) F(1) = 1, F), when NO, it is determined that there is no error.
It is determined that it is an error and correction is performed, and (c) F(1)=0. F
) When the value is 40, it is determined that the chain is double stranded and correction is performed.
そこで(4)0)誤シビットなし、←)偶数ビットl)
でシンドロームF(ロ)=0のとキ、(B)奇数ビット
誤すでシンドロームF(ロ)=0のときは補正および訂
正は行なわれず、(C)偶数ビット誤シでシンドローム
Fに)=1のとき補正および訂正動作が行なわれ、(ロ
)奇数ビット誤ルでシンドロームF(ロ)=1のとき訂
正動作が行なわれる。Therefore, (4) 0) No false bits, ←) Even bits l)
When the syndrome F(b) = 0, (B) an odd number bit is wrong and the syndrome F(b) = 0, no correction is performed, (C) an even number bit is wrong and the syndrome F) = When it is 1, correction and correction operations are performed, and (b) when syndrome F(b)=1 in an odd bit error, a correction operation is performed.
しかしBCH(63,56) 8EC−DED符号化さ
れた受信信号Fのブロック中には音声データ以外に、音
声信号圧縮情報であるレンジビットと独立データとが含
まれている。However, a block of the BCH (63, 56) 8EC-DED encoded received signal F includes, in addition to audio data, range bits that are audio signal compression information and independent data.
しかるに上記した従来の復号化回路によるときは、63
ピツドブpツクにおいて1ビツトのみの誤りについては
正しく訂正がなされて復号される7り”、シ:x、 ミ
レージョンの結果、3個以上の奇数個ビット誤シのとき
には正しい復号動作が期待できず誤訂正が行なわれる確
率が大きい欠点があった。However, when using the above-mentioned conventional decoding circuit, 63
In the case of error of only 1 bit in pit block, it is correctly corrected and decoded. As a result of the simulation, correct decoding operation cannot be expected when there is an odd number of errors of 3 or more bits. This method has the disadvantage that there is a high probability of erroneous corrections being made.
このため63ビツトブロツク中におけるレンジビット、
独立データにとってはこの誤訂正が問題となる。Therefore, the range bit in the 63-bit block,
This miscorrection is a problem for independent data.
(発明の目的)
本発明は上記にかんがみなされたもので、1ビツト誤υ
と3以上の奇数個ビット誤シとを識別し、1ビツトの誤
シについては訂正動作を行ない、2ビツト以上の誤シに
ついては補正動作指示を行なうようにすることによシ、
上記の欠点を解消したBCH8EC−DIDID符号同
化回路供することを目的とする。(Object of the invention) The present invention has been made in view of the above,
By identifying 3 or more odd bit errors, performing a correction operation for a 1 bit error, and instructing a correction operation for 2 or more bit errors,
It is an object of the present invention to provide a BCH8EC-DID ID code assimilation circuit that eliminates the above-mentioned drawbacks.
本発明は、一度復号化されたデータを再び計算回路に供
給してシンドローム計算を行ないシンドロームp*(+
)およびF、(ロ)が零のとき第1回目で復号されたデ
ータを復号出力とし、シンドロームF!(1)およびF
、@が零でない場合は補正を行なわしめるための補正指
令信号を出力することを特徴とする。In the present invention, once decoded data is supplied to the calculation circuit again to perform syndrome calculation, and the syndrome p*(+
) and F, (b) are zero, the first decoded data is the decoded output, and the syndrome F! (1) and F
, @ are not zero, a correction command signal for performing correction is output.
以下本発明を実施例により説明する。The present invention will be explained below with reference to Examples.
(発明の構成)
第2図は本発明の一実施例の構成を示すブロック図であ
る。(Configuration of the Invention) FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention.
入力端子INに供給された受信信号は計算回路11計算
回路2および63ビツト期間の遅延回路4に供給しであ
る。計算回路2の出力は検出回路3に供給し、検出回路
3の検出出力および計算回路1の出力は排他論理和9に
供給し、排他論理和回路9の出力はラッチ回路7Aに供
給してラッチするように構成しておる。ラッチ回路7A
の反転ラッチ出力nおよび検出回路3の訂正出力はアン
ドゲート回路10に供給し、アンドゲート回路10の出
力および遅延回路4で遅延された受信信号Fは訂正手段
としての排他論理和回路8に供給しである。The received signal supplied to the input terminal IN is supplied to a calculation circuit 11, a calculation circuit 2, and a delay circuit 4 for a 63-bit period. The output of the calculation circuit 2 is supplied to the detection circuit 3, the detection output of the detection circuit 3 and the output of the calculation circuit 1 are supplied to the exclusive OR circuit 9, and the output of the exclusive OR circuit 9 is supplied to the latch circuit 7A and latched. It is configured to do so. Latch circuit 7A
The inverted latch output n and the correction output of the detection circuit 3 are supplied to an AND gate circuit 10, and the output of the AND gate circuit 10 and the received signal F delayed by the delay circuit 4 are supplied to an exclusive OR circuit 8 as a correction means. It is.
以上によシ復号化回路が構成されている。The decoding circuit is configured as described above.
排他論理和回路8の出力は、計算回路11、計算回路1
2および遅延回路14に供給しである。The output of the exclusive OR circuit 8 is sent to the calculation circuit 11 and calculation circuit 1.
2 and the delay circuit 14.
計算回路11は排他論理和回路8の出力k (x+1
)で除算しシンドロームF(1)を計算し、シンドロー
ムF(1)に対応した2値出力を発生する計算回路であ
シ、計算回路1と同様に構成されている。計算回路12
は排他論理和回路8の出力を原始多項式(X’+X+1
)で除算しシンドロームF@を計算する計算回路であシ
、計算回路2と同様に構成されている。遅延回路14は
排他論理和回路8の出力を63ビツトの期間遅延させる
遅延回路である。The calculation circuit 11 calculates the output k (x+1
) to calculate the syndrome F(1) and generate a binary output corresponding to the syndrome F(1), and is configured similarly to the calculation circuit 1. Calculation circuit 12
is the output of the exclusive OR circuit 8 as a primitive polynomial (X'+X+1
) and calculates the syndrome F@, and is configured similarly to calculation circuit 2. The delay circuit 14 is a delay circuit that delays the output of the exclusive OR circuit 8 for a period of 63 bits.
遅延回路4の出力は、入力を63ビツトの期間遅延させ
る遅延回路13に供給してあシ、遅延回路13の出力お
よび遅延回路14の出力はセレクタ15に供給しである
。一方、ラッチ回路7Aのラッチ出力EPは、入力を1
ブロツクの期間(=前記63ビットの期間)遅延させる
遅延回路16に供給しである。The output of the delay circuit 4 is supplied to a delay circuit 13 which delays the input by a period of 63 bits, and the output of the delay circuit 13 and the output of the delay circuit 14 are supplied to a selector 15. On the other hand, the latch output EP of the latch circuit 7A has an input of 1
The signal is supplied to a delay circuit 16 which delays the block period (=the period of the 63 bits).
計算回路12で計算されたF(ロ)、すなわち計算回路
12の出力は、Fに)が0”か否かの検出出力を発生す
る検出回路17に供給してあシ、検出回路17の出力お
よび計算回路11の出力はオアダート回路18に供給し
、オアダート回路18の出力は選択信号としてセレクタ
15に供給しである。The F calculated by the calculation circuit 12, that is, the output of the calculation circuit 12, is supplied to the detection circuit 17 which generates a detection output to determine whether F is 0'' or not. The output of the calculation circuit 11 is supplied to the or-dirt circuit 18, and the output of the or-dirt circuit 18 is supplied to the selector 15 as a selection signal.
セレクタ15はオアゲート回路18の出力が高電位のと
き遅延回路13の出力全選択して出力し、オアゲート回
路18の出力が低電位のとき遅延回路14の出力を選択
して出力するように構成しである。The selector 15 is configured to select and output all outputs of the delay circuit 13 when the output of the OR gate circuit 18 is at a high potential, and to select and output the output of the delay circuit 14 when the output of the OR gate circuit 18 is at a low potential. It is.
オアゲート回路18の出力および遅延回路16で遅延さ
せられたラッチ出力EPはオアゲート回路19に供給し
、オアゲート回路19の出力は補正指示信号として図示
していない補正回路に供給し、オアダート回路19の出
力により補正動作が行なわれるように構成しである。The output of the OR gate circuit 18 and the latch output EP delayed by the delay circuit 16 are supplied to the OR gate circuit 19, the output of the OR gate circuit 19 is supplied as a correction instruction signal to a correction circuit (not shown), and the output of the OR gate circuit 19 is The configuration is such that the correction operation is performed by.
なお、遅延回路4,13,14および16はタイミング
を合せるために設けたもので64ビツトの期間遅延させ
るものであってもよい。Note that the delay circuits 4, 13, 14, and 16 are provided to synchronize the timing, and may delay by a period of 64 bits.
(発明の作用)
以上の如く構成された本発明の一実施例において、計算
回路1および2、検出回路3、遅延回路4、排他論理和
回路80作用は第1図に示した従来例の場合と同様であ
るが、計算回路1、検出回路3の出力について説明する
。(Function of the Invention) In the embodiment of the present invention configured as described above, the calculation circuits 1 and 2, the detection circuit 3, the delay circuit 4, and the exclusive OR circuit 80 operate as in the conventional example shown in FIG. However, the outputs of the calculation circuit 1 and the detection circuit 3 will be explained.
計算回路1は受信多項式F(x)′fc(X+1 )で
除算しシンドロームF(i)を計算シ、シンドロームF
(1)二〇のとき低電位出力を、シンドロームF(1)
+。Calculation circuit 1 calculates syndrome F(i) by dividing by reception polynomial F(x)'fc(X+1), and calculates syndrome F(i).
(1) Low potential output when 20, syndrome F (1)
+.
のとき高電位出力を発生する。計算回路2は受信多項式
F (X)を(X’+X+1 )で除算しシンドローム
F(ロ)を計算する。検出回路3は計算回路2で計算さ
れたシンドロームF@を受けてF(ロ)=0のとき低電
位出力を、F(ロ)Moのとき高電位出力を検出出力と
して発生しかつF(<+oのとき誤シビットに対応して
高電位出力を訂正出力として発生する。Generates a high potential output when . The calculation circuit 2 divides the received polynomial F(X) by (X'+X+1) to calculate the syndrome F(b). The detection circuit 3 receives the syndrome F@ calculated by the calculation circuit 2, and generates a low potential output when F(b)=0 and a high potential output when F(b)Mo, and F(< +o, a high potential output is generated as a correction output in response to an erroneous bit.
同様に、計算回路11は排他論理和回路8の出力で形成
される多項式t(x+1)で除算しシンドロームF(1
)を計算し、シンドロームF(1)=0のとき低電位出
力を、シンドロームF(1))Oのとき高電位出力を発
生する。計算回路12は計算回路11と同一信号を受け
て(X6+X+1)で除算しシンドロームF(ロ)を計
算する。検出回路17は計算回路12で計算されたシン
ドロームF(ロ)を受けてF(ロ)−〇のとき低電位出
力を、F(<+oのとき高電位出力を検出出力として発
生する。Similarly, the calculation circuit 11 divides by the polynomial t(x+1) formed by the output of the exclusive OR circuit 8, and calculates the syndrome F(1
), and when the syndrome F(1)=0, a low potential output is generated, and when the syndrome F(1))O, a high potential output is generated. Calculation circuit 12 receives the same signal as calculation circuit 11 and divides it by (X6+X+1) to calculate syndrome F(b). The detection circuit 17 receives the syndrome F(b) calculated by the calculation circuit 12 and generates a low potential output when F(b)-0, and a high potential output when F(<+o) as a detection output.
そこで受信信号Fに対し計算回路1によシ計算されたシ
ンドロームF(1)と計算回路2によシ計算されたシン
ドロームF(d−の値によシ誤シのパターンは第1表に
示す如くになる。Therefore, the syndrome F(1) calculated by the calculation circuit 1 for the received signal F and the syndrome F(1) calculated by the calculation circuit 2 according to the value of d- are shown in Table 1. It becomes like this.
第 1 表
そこで本発明の一実施例においては第1表に示した誤シ
の74ターンに対する補正指示信号の発生および訂正動
作は下記の如くになる。Table 1 Therefore, in one embodiment of the present invention, the generation of the correction instruction signal and the correction operation for the 74 erroneous turns shown in Table 1 are as follows.
まず、ケースAの場合は、排他論理和回路9の出力は低
電位であって補正指示は行なわれず、かつラッチ回路7
Aの反転出力11−は高電位であるがF(ロ)=0のた
め検出回路3からの訂正出力は発生していないため訂正
動作も行なわれない。すなわちケースAの場合は、誤シ
無しと判断して訂正動作は行なわれずかつ補正指示も行
なわれない。First, in case A, the output of the exclusive OR circuit 9 is at a low potential and no correction instruction is given, and the latch circuit 7
Although the inverted output 11- of A is at a high potential, since F(b)=0, no correction output is generated from the detection circuit 3, and therefore no correction operation is performed. That is, in case A, it is determined that there is no error, and no correction operation is performed and no correction instruction is issued.
つぎにケースBの場合は、排他論理和回路9の出力は高
電位出力となシ、ラッチ回路7Aのラッチ出力EPは高
電位となって!延回路16およびオアゲート19を介し
て出力EFとして出力され、補正指示が行なわれる。さ
らにラッチ回路7Aの反転出力節は低電位となってアン
ドゲート回路10はそのダートが閉状態に制御される。Next, in case B, the output of the exclusive OR circuit 9 is a high potential output, and the latch output EP of the latch circuit 7A is a high potential! It is outputted as output EF via extension circuit 16 and OR gate 19, and a correction instruction is issued. Furthermore, the inverted output node of the latch circuit 7A becomes a low potential, and the AND gate circuit 10 is controlled to have its dart closed.
また検出回路3からは訂正出力が発生して込ない。した
がって訂正動作は行なわれない。そこでケースBの場合
は単−誤フであるが補正動作が行なわれる。Further, the detection circuit 3 does not generate a correction output. Therefore, no corrective action is taken. Therefore, in case B, although it is a single error, a correction operation is performed.
ケースBの場合従来は処理されず見逃されていたもので
あるが、音声データは補正することができることになる
。In case B, the audio data was previously unprocessed and overlooked, but now the audio data can be corrected.
つぎにケースCの場合は、排他論理和回路9の出力が高
電位となり、ラッチ出力EPは高電位となシ、ケースB
の場合と同様に補正指示は行なわれる。アンドゲート回
路10はラッチ回路7Aの反転出力によりそのダートは
閉状態に制御されており、検出回路3から訂正出力が出
力されるが訂正動作は行なわれない。すなわちケースC
の場合には二重誤シと判断して補正動作のみを実行し、
訂正動作は行なわれない。そこで補正アルゴリズムにな
ったとき、同時に訂正も行なえばシュミレーシンの結果
、レンジビットおよび独立データに対して誤訂正する確
率が高いが、上記の如く補正動作のみが行なわれて訂正
動作が行なわれない〆゛めレンジビットおよび独立デー
タに対して誤訂正することはなく、レンジビットおよび
独立データが誤る危険を避けることができる。また音声
データに対しては前値保持、平均値補間等の補正手段が
存在するため、補正によシ動作上問題はない。Next, in case C, the output of the exclusive OR circuit 9 is at a high potential, and the latch output EP is at a high potential.
Correction instructions are given in the same way as in the case of . The dart of the AND gate circuit 10 is controlled to be closed by the inverted output of the latch circuit 7A, and although a correction output is output from the detection circuit 3, no correction operation is performed. That is, case C
In this case, it is determined that there is a double error and only the correction operation is executed.
No corrective action is taken. Therefore, when a correction algorithm is used, if correction is also performed at the same time, there is a high probability that the range bits and independent data will be incorrectly corrected as a result of simulation, but as described above, only the correction operation is performed and no correction operation is performed. The final range bits and independent data are not incorrectly corrected, and the risk of errors in the range bits and independent data can be avoided. Furthermore, since correction means such as previous value retention and average value interpolation are available for audio data, there is no operational problem with the correction.
つぎにケースDの場合は、排他論理和回路9の出力は低
電位となシ、ラッチ出力EPは低電位となシ補正指示は
行なわれない。またラッチ回路7Aの反転出力EPは高
電位となってアンドダート回路10のダートは開状態に
制御され、検出回路3から出力された訂正出力はアンド
ゲート回路10を介して排他論理和回路8に供給され、
遅延回路4で遅延のうえ出力された受信信号Fの誤った
ビットが前記訂正出力によ勺反転させられて訂正動作が
行なわれる。すなわちケースDの場合は奇数個ビット誤
シと判断でき、訂正動作のみが行なわれる。Next, in case D, the output of the exclusive OR circuit 9 is at a low potential, the latch output EP is at a low potential, and no correction instruction is given. Further, the inverted output EP of the latch circuit 7A becomes a high potential, and the dart of the AND dart circuit 10 is controlled to be open, and the correction output output from the detection circuit 3 is sent to the exclusive OR circuit 8 via the AND gate circuit 10. supplied,
The erroneous bits of the received signal F delayed and outputted by the delay circuit 4 are inverted by the correction output, and a correction operation is performed. That is, in case D, it can be determined that an odd number of bits are erroneous, and only a correction operation is performed.
つぎに排他論理和回路8の出力は計算回路11および1
2に供給されているため、排他論理和回路8の出力px
(x)に対してシンドロームF(1) 、 Fに)の計
算が行なわれる。この2回目のシンドローム計算の結果
に対してF2(1) 、 F、CCt)の表示を用いれ
ば、Fg(1) 、 Fg(”) ノ状態によシ、ケー
スn0(F2(1)−01F2@)= 0 ) 、ケー
スDI U”* (1)嫉0 、 p2(a)−〇 )
。Next, the output of the exclusive OR circuit 8 is calculated by the calculation circuits 11 and 1.
2, the output px of the exclusive OR circuit 8
The syndrome F(1), F) is calculated for (x). If we use the expression F2(1), F, CCt) for the result of this second syndrome calculation, we can obtain case n0(F2(1)-01F2) depending on the state of Fg(1), Fg(''). @)=0), Case DI U”* (1) Jealousy 0, p2(a)−〇)
.
ケースn、 (F2(1)= O、Fz@’= 0 )
、ケースD3(Fg(1)’= O、p、(ロ)’=
O)が考えられる。Case n, (F2(1)=O, Fz@'=0)
, case D3 (Fg(1)'= O, p, (b)'=
O) is possible.
ケースD0の場合は、計算回路11の出力および検出回
路17の検出出力はともに低電位であシ、オアダート回
路18の出力は低電位であってセレクタ15は遅延回路
14の出力、すなわち排他論理和回路8の出力を遅延し
た出力を選択し、復号出力としてセレクタ15から出力
される。In case D0, the output of the calculation circuit 11 and the detection output of the detection circuit 17 are both at a low potential, the output of the OR-DART circuit 18 is at a low potential, and the selector 15 outputs the output of the delay circuit 14, that is, the exclusive OR. The delayed output of the circuit 8 is selected and output from the selector 15 as a decoded output.
ケースD1の場合は計算回路11の出力は高電位、検出
回路17の検出出力は低電位である。またケースD、の
場合は計算回路11の出力は低電位、検出回路17の検
出出力は高電位である。またケースD、の場合は計算回
路11の出力および検出回路17の検出出力は高電位で
ある。したがってケースD1 y D2 r DBの場
合はオアゲート回路18の出力は高電位であってセレク
タ15は遅延回路13の出力、すなわち遅延回路4の出
力を遅延した受信信号Fi選択し、復号出力としてセレ
クタ15から出力される。一方、オアダート回路18の
出力はオアゲート回路19を介して補正指示信号として
出力され、図示しない補正手段で補正されるれることに
なる。In case D1, the output of the calculation circuit 11 is at a high potential, and the detection output of the detection circuit 17 is at a low potential. In case D, the output of the calculation circuit 11 is at a low potential, and the detection output of the detection circuit 17 is at a high potential. In case D, the output of the calculation circuit 11 and the detection output of the detection circuit 17 are at high potential. Therefore, in the case D1 y D2 r DB, the output of the OR gate circuit 18 is at a high potential, and the selector 15 selects the received signal Fi delayed from the output of the delay circuit 13, that is, the output of the delay circuit 4, and outputs it to the selector 15 as the decoded output. is output from. On the other hand, the output of the OR/DART circuit 18 is output as a correction instruction signal via the OR gate circuit 19, and is corrected by a correction means (not shown).
しかるに、ケースA、B、Cの場合は前記した如く訂正
されず排他論理和回路8からそのit受信信号Fが送出
される。したがってケースAの場合はケースD0に、ケ
ースBの場合はケースD、に、ケースCの場合はケース
D、になる。そこでケースAの場合においてはセレクタ
15においで排他論理和回路8の出力を遅延回路14で
遅延させた出力が復号出力として出力されるが、訂正さ
れていないため何等問題はない。勿論補正も行なわれな
い。However, in cases A, B, and C, the it reception signal F is sent out from the exclusive OR circuit 8 without being corrected as described above. Therefore, case A becomes case D0, case B becomes case D, and case C becomes case D. Therefore, in case A, the selector 15 outputs the output of the exclusive OR circuit 8 delayed by the delay circuit 14 as the decoded output, but there is no problem since it is not corrected. Of course, no correction is made.
つぎにケースB、Cの場合はセレクタ15によって遅延
回路4および13によって遅延された受信信号Fが出力
される。しかしケースB、Cの場合は訂正がなされてい
々いためにこの場合においては排他論理和回路8の出力
と遅延回路4がら遅延された受信信号Fとは同一であっ
て、セレクタ15で遅延回路13の出力、遅延回路14
の出力の倒れを選択しても復号出力は同一である。また
この場合は補正指示が行なわれる。Next, in cases B and C, the selector 15 outputs the received signal F delayed by the delay circuits 4 and 13. However, in cases B and C, since the correction is made, in this case, the output of the exclusive OR circuit 8 and the received signal F delayed by the delay circuit 4 are the same, and the selector 15 output, delay circuit 14
The decoding output is the same even if the output slope is selected. In this case, a correction instruction is also given.
ケースDの場合は遅延回路4で遅延された受信信号Fは
排他論理和回路8で訂正動作が行なわれ、この訂正を受
けた受信信号Fが計算回路11および12に供給されシ
ンドロームFffi(1)、 pi@7% 計Nされ、
F、(1)= OかつF、(ロ)=0となったときすな
わちケースD0となったときは、前工程のケースDにお
いて奇数個ビット誤シであると判断したが実は1ビツト
の誤シであったと判断される。したがってF、(1)=
0かつF!に)=0となることによ93以上の奇数個ビ
ット誤シと1ビツトの誤シとが判別されることになる。In case D, the received signal F delayed by the delay circuit 4 is corrected by the exclusive OR circuit 8, and the corrected received signal F is supplied to the calculation circuits 11 and 12 to generate the syndrome Fffi(1). , pi @ 7% total N,
When F, (1) = O and F, (b) = 0, that is, case D0, it was determined that there was an odd number of bit errors in case D in the previous process, but it was actually a one bit error. It is determined that it was Therefore F, (1)=
0 and F! )=0, it is possible to distinguish between an odd number of bit errors of 93 or more and a 1-bit error.
これは復号化回路において1ビツトの誤シは正しく訂正
されるためである。ケースD0の場合は前記ケースAの
場合と同様にセレクタ15で排他論理和回路8で訂正さ
れた受信信号Fが復号出力として出力されることになる
。この場合は補正は行なわれない。This is because a 1-bit error is correctly corrected in the decoding circuit. In case D0, as in case A, the receive signal F corrected by exclusive OR circuit 8 in selector 15 is output as a decoded output. In this case, no correction is made.
またケースDの場合で、F、(1)=0かつF!@=
。Also, in case D, F, (1) = 0 and F! @=
.
でない場合はケースDi r D2の場合になる。また
低い確率でケースD、になる。ケースDの場合でケース
D1 + D、 l D3となったときは前工程のケー
スDで訂正が行なわれているが、セレクタ15は遅延回
路13の出力を選択しているため復号出力として遅延回
路4および13で遅延された受信信号Fが出力され、オ
アダート19から補正指示信号が出力されて補正動作が
行なわれることになる。If not, case Di r D2 occurs. Case D will also occur with a low probability. In the case of case D, when case D1 + D, l D3 is obtained, correction has been made in case D in the previous process, but since the selector 15 selects the output of the delay circuit 13, the output from the delay circuit is used as the decoded output. 4 and 13 are output, a correction instruction signal is output from the or-dart 19, and a correction operation is performed.
この場合は前工程のケースDで補正指示杜なされないが
、前記した如く訂正されていない受信信号が復号出力と
して出力するための補正指示信号を出力して補正動作を
行なわせるのである。また遅延回路16およびオアゲー
ト19を省略し、オアゲート18の出力のみを補正指示
信号としてもよい。In this case, the correction instruction is not carried out in case D of the previous step, but as described above, the correction instruction signal is outputted so that the uncorrected received signal is output as the decoded output, and the correction operation is performed. Alternatively, the delay circuit 16 and the OR gate 19 may be omitted, and only the output of the OR gate 18 may be used as the correction instruction signal.
(発明の効果)
以上本発明によれば第1回目のシンドローム計算でF(
1)=0かつFに)笑0のときまたはF(1)笑0かつ
Fに)−〇のとき補正のみを行なわせるようにしたため
、従来見逃がされていた処理が補正の形で行なわれるこ
とに力る。また第2回目のシンドローム計算でF、(1
)=0かつF、に)=00ときのみ訂正手段からの出力
を復号出力とし、F、(1)=OかつF、(ロ)=0の
とき以外のときには供給されたもとの信号を復号出力と
しかつ補正指示信号を出力して補正を行なわせるように
したため、供給された信号が1ビツト誤シのときのみ訂
正された信号が出力されることになシ、この訂正による
誤訂正はなく正しく訂正された復号出力が得られる。ま
たさらにF、(1)=OかつF、(ロ)=0のとき以外
は供給されたもとの信号が復号出力として出力され、か
つ補正指示信号が出力されて補正を行なわしめるため、
誤訂正がなされて出力されることはなくなる。したがっ
て復数個ビット誤りのときに誤訂正されることはなく補
正が行なわれることになJ、BS−I[受信機等に用い
た場合独立データ、し/ソビットが誤訂正される危険は
なくなシ、音声データに対しては補正が可能となる。(Effect of the invention) According to the present invention, F(
1) Only correction is performed when = 0 and F) lol 0 or when F (1) lol 0 and F) - 0, so processing that was previously overlooked is now performed in the form of correction. I will do my best to help you. Also, in the second syndrome calculation, F, (1
) = 0 and F, the output from the correction means is the decoded output only when ) = 00, and when F, (1) = O and F, (b) = 0, the supplied original signal is the decoded output. In addition, since the correction instruction signal is output to cause the correction to be performed, the corrected signal is output only when the supplied signal has a 1-bit error. A corrected decoded output is obtained. Furthermore, except when F, (1) = O and F, (b) = 0, the supplied original signal is output as the decoded output, and the correction instruction signal is output to perform the correction.
Erroneous corrections will no longer be made and output. Therefore, when multiple bit errors occur, corrections are made without being incorrectly corrected. However, it is possible to correct audio data.
第1図は従来のBCH8EC−DED符号復号化回路を
示すブロック図。
第2図は本発明の一実施例の構成を示すブロック図。
1.2,11および12・・・計算回路、3および17
・・・検出回路、4,13.14および16・・・遅延
回路、7A・・・ラッチ回路、8および9・・・排他論
理和回路、10・・・アンドダート回路、15・・・セ
レクタ。
特許出願人 ト リオ株式会社
代理人弁理士 砂 子 信 夫FIG. 1 is a block diagram showing a conventional BCH8EC-DED code decoding circuit. FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention. 1.2, 11 and 12... calculation circuit, 3 and 17
...Detection circuit, 4, 13.14 and 16...Delay circuit, 7A...Latch circuit, 8 and 9...Exclusive OR circuit, 10...And dart circuit, 15...Selector . Patent applicant: Nobuo Sunako, patent attorney representing Trio Co., Ltd.
Claims (1)
の根〕を計算する第2の計算回路と、第2の計算回路の
出力からFに)が零か否かの検出出力とFに)に対応し
た誤シ訂正出力を発生する第1の検出回路と、第1の計
算回路の出力および第1の検出回路の検出出力によシF
←)=0かつFに)NOのときまたUF(1)’=Oか
つFに)=0のとき補正指示出力を発生する補正指示手
段と、第1の検出回路の訂正出力によシ前記信号の所定
ビットを訂正する訂正手段と、補正指示手段の反転出力
によシ第1の検出回路の訂正出力を遮断するダート手段
と、訂正手段の出力yt(→が供給されシンドロームF
! (t) *計算する第3の計算回路およびシンド
ロームFモモ計算する第4の計算回路と、第4の計算回
路の出力からF、@が零か否かを検出する第2の検出回
路と、第3の計算回路の出力および第2の検出回路の出
力によFt pg(t)= oかつF、(ロ)=0のと
き訂正回路の出力を復号出力とし、F*(1)=oかつ
F、(ロ);0以外のとき前記信号を復号出力とすると
ともに補正指示出力を発生する選択手段とを備えてなる
ことを特徴とするBCH単−誤リ訂正・二重誤シ検出符
号復号化回路。a second calculation circuit that calculates the root of the BCH single error correction/double error detection coded polynomial; and a detection output that determines whether or not the output of the second calculation circuit is zero. a first detection circuit that generates an error correction output corresponding to F); and a first detection circuit that generates an error correction output corresponding to F;
← When UF(1)'=0 and F) is NO, and when UF(1)'=O and F) is 0, the correction instruction means generates a correction instruction output, and the correction output of the first detection circuit is used. a correction means for correcting a predetermined bit of the signal; a dirt means for cutting off the correction output of the first detection circuit according to the inverted output of the correction instruction means;
! (t) *A third calculation circuit that calculates, a fourth calculation circuit that calculates syndrome F momo, and a second detection circuit that detects whether F and @ are zero from the output of the fourth calculation circuit; According to the output of the third calculation circuit and the output of the second detection circuit, when Ft pg(t)=o and F, (b)=0, the output of the correction circuit is taken as the decoded output, and F*(1)=o and F, (b): a BCH single-error re-correction/double-error detection code, comprising: selection means for making the signal a decoded output and generating a correction instruction output when the signal is other than 0; decoding circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17215983A JPS6064529A (en) | 1983-09-20 | 1983-09-20 | Circuit for decoding bch single error correction and double error detection code |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17215983A JPS6064529A (en) | 1983-09-20 | 1983-09-20 | Circuit for decoding bch single error correction and double error detection code |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS6064529A true JPS6064529A (en) | 1985-04-13 |
Family
ID=15936662
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP17215983A Pending JPS6064529A (en) | 1983-09-20 | 1983-09-20 | Circuit for decoding bch single error correction and double error detection code |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6064529A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6622268B2 (en) * | 2000-11-29 | 2003-09-16 | Intel Corp | Method and apparatus for propagating error status over an ECC protected channel |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5363830A (en) * | 1976-11-19 | 1978-06-07 | Hitachi Ltd | Error detection correcting system |
| JPS5432240A (en) * | 1977-08-15 | 1979-03-09 | Ibm | Error correcting unit |
-
1983
- 1983-09-20 JP JP17215983A patent/JPS6064529A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5363830A (en) * | 1976-11-19 | 1978-06-07 | Hitachi Ltd | Error detection correcting system |
| JPS5432240A (en) * | 1977-08-15 | 1979-03-09 | Ibm | Error correcting unit |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6622268B2 (en) * | 2000-11-29 | 2003-09-16 | Intel Corp | Method and apparatus for propagating error status over an ECC protected channel |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| AU603641B2 (en) | Error correction method using reed-solomon code | |
| JPS6095640A (en) | Method and device for correcting error | |
| NL9402204A (en) | Error correcting decoder and error correction decoding method. | |
| JPS63236416A (en) | Encoding/decoding method | |
| US5341384A (en) | Error detection method using CRC | |
| EP0431576A2 (en) | BCH code decoder and method for decoding a BCH code | |
| JPS6064529A (en) | Circuit for decoding bch single error correction and double error detection code | |
| JPH0241032A (en) | Error correction device | |
| KR100219524B1 (en) | Method for correcting error of product code | |
| JPH0546131B2 (en) | ||
| JP2694794B2 (en) | Error correction processing method | |
| JPH0138998Y2 (en) | ||
| JP2605269B2 (en) | Error correction method | |
| JP2823158B2 (en) | Error correction device | |
| JPS6074738A (en) | Satellite broadcast receiver | |
| JP3345698B2 (en) | Error correction decoding circuit | |
| JP2648383B2 (en) | Error correction decoding method | |
| JPH0457252B2 (en) | ||
| JPS6260319A (en) | Error correction circuit | |
| JP2600130B2 (en) | Error correction circuit | |
| JP2534563B2 (en) | Tolerable error successive correction circuit | |
| JPH03250817A (en) | Error correction circuit | |
| JP2721752B2 (en) | Error control method | |
| JP3521558B2 (en) | Transmission equipment | |
| JP2957190B2 (en) | Error correction device |