JPH07326973A - Methods for coding and decoding error detection and devices for coding and decoding error detection - Google Patents

Methods for coding and decoding error detection and devices for coding and decoding error detection

Info

Publication number
JPH07326973A
JPH07326973A JP6121205A JP12120594A JPH07326973A JP H07326973 A JPH07326973 A JP H07326973A JP 6121205 A JP6121205 A JP 6121205A JP 12120594 A JP12120594 A JP 12120594A JP H07326973 A JPH07326973 A JP H07326973A
Authority
JP
Japan
Prior art keywords
data
error
polynomial
error detection
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6121205A
Other languages
Japanese (ja)
Inventor
Masatoshi Shinpo
正利 新保
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP6121205A priority Critical patent/JPH07326973A/en
Publication of JPH07326973A publication Critical patent/JPH07326973A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To execute the error detection of byte unit data as it is through the use of an error detection code for binary data by providing a byte data input, an EXOR block, plural latch circuits with SR, an error judging circuit and an output circuit. CONSTITUTION:An m-bit latch 43 is initialized and next, one-byte unit data is inputted from an input terminal 41. Each bit of input data and each output of the m-bit latch are inputted to the latch 43 by composing an EXOR circuit 42 by a relation obtained by the result of 8-bit shift by means of the cyclic code error detecting and coding device of a binary data processing type. Data is shifted by a portion of one clock by a clock synchronizing with data from a clock terminal 44 in this state and when next one-byte data is inputted the latch circuit 43 is shifted once by a byte unit clock. Thereafter, the similar processing is repeated for the portion of input data and parity data and after final shift, whether the outputs of the latch 43 are all zero or not is inspected by an error judging circuit 71. Then, the result of entirely being zero is judged to be no error but the results excepting for it are judged to have an error and are outputted from an output terminal 72.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、記録媒体、あるいは伝
送通信において、記録あるいは通信データが再生あるい
は受信された場合の誤り検出方法及び装置に関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an error detecting method and apparatus when recording or communication data is reproduced or received in a recording medium or transmission communication.

【0002】[0002]

【従来の技術】従来、記録媒体、あるいは伝送通信にお
いては、再生あるいは受信デ−タの誤りを検出するため
の符号化方法及復号化方法としては、(短縮化)巡回符
号を用いたものが一般的であり、図17にその装置例を
示す。説明を簡単にするために、一般的によく用いれる
生成多項式G(X)=X16+X12+X5+1の16ビッ
トの巡回符号(Cyclic Redundancy Check Code)を例に
あげることにする。図17において、170はバイナリ
デ−タの入力端子、171は排他的論理和ゲ−ト、17
2はラッチ、173は初期値設定端子、174はクロッ
ク入力端子、175、176、177はスイッチ、17
8は出力端子、179は誤り判定回路、180は誤り判
定出力端子である。誤り検出の原理はよく知られている
ので簡単に説明する。記録あるいは伝送通信時に、ま
ず、スイッチ1、2、3はB側に接続され、初期値設定
される。次に、スイッチ1、2はA側に接続され、記録
あるいは伝送通信される情報デ−タはシリアルバイナリ
デ−タとして入力端子170に入力され、入力デ−タの
ビット数分内部回路内でクロックに同期しながらシフト
させられる。これは、入力デ−タを前記生成多項式で除
算したことに相当する。この時、図17の回路で最終的
にシフトされ、各ラッチ出力に得られたデ−タが、除算
により求められた剰余に相当する。一般的にこれをパリ
ティと呼んでいる。入力デ−タはスイッチ3のB端子を
通して出力端子178より取り出される。一方、このパ
リティはスイッチ1、2が再びB端子に、スイッチ3が
A端子に接続され、前記情報デ−タの後に連続して記録
あるいは送信される。再生あるいは受信時には、この情
報デ−タとパリティデ−タが図17の入力端子170
に、再生あるいは受信順に入力され、情報デ−タとパリ
ティデ−タのビット数分シフトされる。この時、最終シ
フトされた結果、図17の誤り判定回路179で各ラッ
チの出力が全て0、即ち、除算した結果、割切れれば、
誤りがなかったことと判定し、どれかのラッチ出力に非
0が得られれば、誤りが存在したと判定する。この誤り
判定結果は誤り判定出力端子180より取り出される。
これにより、再生あるいは受信時に誤りの有無が検出さ
せる。
2. Description of the Related Art Conventionally, in a recording medium or transmission communication, a (shortened) cyclic code is used as an encoding method and a decoding method for detecting an error in reproduction or reception data. This is general, and an example of the apparatus is shown in FIG. For simplification of description, a 16-bit cyclic redundancy check code of generator polynomial G (X) = X 16 + X 12 + X 5 +1 which is commonly used will be taken as an example. In FIG. 17, 170 is an input terminal for binary data, 171 is an exclusive OR gate, 17
2 is a latch, 173 is an initial value setting terminal, 174 is a clock input terminal, 175, 176 and 177 are switches, 17
Reference numeral 8 is an output terminal, 179 is an error determination circuit, and 180 is an error determination output terminal. The principle of error detection is well known and will be briefly described. At the time of recording or transmission communication, first, the switches 1, 2, and 3 are connected to the B side to set initial values. Next, the switches 1 and 2 are connected to the A side, and the information data to be recorded or transmitted is inputted as serial binary data to the input terminal 170, and the bit number of the input data is inputted in the internal circuit. It is shifted in synchronization with the clock. This corresponds to dividing the input data by the generator polynomial. At this time, the data finally obtained by the circuit of FIG. 17 and obtained at each latch output corresponds to the remainder obtained by the division. This is generally called parity. The input data is taken out from the output terminal 178 through the B terminal of the switch 3. On the other hand, this parity is recorded or transmitted continuously after the information data by connecting the switches 1 and 2 to the B terminal again and the switch 3 to the A terminal. During reproduction or reception, this information data and parity data are input to the input terminal 170 of FIG.
Are input in the order of reproduction or reception, and are shifted by the number of bits of information data and parity data. At this time, as a result of the final shift, if the outputs of the latches are all 0 in the error determination circuit 179 of FIG. 17, that is, if the result of division is divisible,
It is determined that there is no error, and if a non-zero value is obtained in any latch output, it is determined that an error exists. This error determination result is taken out from the error determination output terminal 180.
As a result, the presence or absence of an error is detected during reproduction or reception.

【0003】[0003]

【発明が解決しようとする課題】このように、従来は、
バイナリデ−タとしての誤り検出が行われていたが、最
近は、デ−タがバイト単位で処理されることが多く、そ
の度にバイナリデ−タをバイトデ−タに、あるいはその
逆に変換する必要が生じ、そのために余分な回路が必要
となり、また、変換の度にタイミングがずれるという難
点があった。
As described above, the prior art is as follows.
Error detection was performed as binary data, but recently, data is often processed in byte units, and it is necessary to convert binary data to byte data and vice versa each time. However, there is a problem in that an extra circuit is required for that, and the timing is shifted each time conversion is performed.

【0004】[0004]

【課題を解決するための手段】本発明は、上記課題に鑑
みてなされたものであって、符号化はバイトデ−タの入
力手段、排他的論理和回路ブロック手段、セットあるい
はリセット付きの複数のラッチ回路手段、選択回路手
段、パリティデ−タ出力手段を備えるものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and encoding is performed by a byte data input means, an exclusive OR circuit block means, and a plurality of sets with a set or reset. It is provided with a latch circuit means, a selection circuit means, and a parity data output means.

【0005】また、復号化はバイトデ−タの入力手段、
排他的論理和回路ブロック手段、セットあるいはリセッ
ト付きの複数のラッチ回路手段、誤り判定回路手段、誤
り判定出力手段を備えるものである。
Decoding is performed by input means of byte data,
An exclusive OR circuit block means, a plurality of latch circuit means with set or reset, an error judgment circuit means, and an error judgment output means are provided.

【0006】[0006]

【作用】本発明は、上記したような構成をとることによ
って、バイナリデ−タ用の誤り検出符号を用いながらも
直並列変換あるいは並直変換せずにバイト単位デ−タの
ままで誤り検出出来る方法及び装置を提供できる作用が
ある。
According to the present invention, by adopting the above-mentioned configuration, it is possible to detect an error in the byte unit data without using serial / parallel conversion or parallel / serial conversion while using the error detection code for binary data. There is an effect that can provide the method and the device.

【0007】また、本来バイナリ用の誤り検出符号とバ
イトデ−タ用誤り検出符号の両方を用いることにより、
バイナリデ−タのままでも、あるいは、バイトデ−タの
ままでも誤り検出できる作用もある。さらに、両者を併
用することにより誤り判定の信頼性を向上させる作用も
ある。
Further, by using both the binary error detection code and the byte data error detection code,
There is also an effect that error detection can be performed with the binary data or the byte data. Further, by using both of them together, there is an effect of improving the reliability of error determination.

【0008】[0008]

【実施例】以下、具体例について詳細に述べる。EXAMPLES Specific examples will be described in detail below.

【0009】まず第1の実施例について説明する。本実
施例はバイナリ形式の生成多項式の誤り検出符号を用い
た誤り検出方法の符号化方法に関する。
First, the first embodiment will be described. This embodiment relates to an encoding method of an error detecting method using an error detecting code of a generator polynomial in binary format.

【0010】図1は、本発明の(短縮化)巡回符号によ
る誤り検出符号化・復号化装置の原理説明図であり、図
2は図1の誤り検出符号化・復号化装置の動作状態図、
図3は図2の特別な場合の動作状態図である。図1で、
1はデ−タ入力端子、2、3、4はスイッチ、5は係数
器、6はラッチ、7は排他的論理和回路、8は初期値設
定端子、9はクロック入力端子、10は誤り判定回路、
11は誤り判定出力端子、12はデ−タ出力端子であ
る。
FIG. 1 is an explanatory view of the principle of an error detection coding / decoding apparatus using a (shortened) cyclic code according to the present invention, and FIG. 2 is an operation state diagram of the error detection coding / decoding apparatus of FIG. ,
FIG. 3 is an operation state diagram of the special case of FIG. In Figure 1,
Reference numeral 1 is a data input terminal, 2, 3, 4 are switches, 5 is a coefficient unit, 6 is a latch, 7 is an exclusive OR circuit, 8 is an initial value setting terminal, 9 is a clock input terminal, and 10 is an error judgment. circuit,
Reference numeral 11 is an error determination output terminal, and 12 is a data output terminal.

【0011】まず、記録媒体における記録時、あるいは
伝送通信における伝送通信時の誤り検出のためのパリテ
ィデ−タの生成の方法について説明し、次に、バイナリ
デ−タ用のパリティ生成方法をバイトデ−タ用のパリテ
ィ生成方法に変換するための原理について説明する。説
明に先だって、以下のように各デ−タを多項式化し定義
する。
First, a method of generating parity data for error detection during recording on a recording medium or during transmission communication during transmission communication will be described. Next, a parity generation method for binary data will be described as byte data. The principle for converting to a parity generation method for the following will be described. Prior to explanation, each data is polynomialized and defined as follows.

【0012】情報多項式: D(X)=dnn+dn-1
n-1+dn-2n-2+・・・・+d22+d1X+d0 生成多項式: G(X)=Xm+gm-1m-1+gm-2
m-2+・・・・+g22+g1X+g0 商多項式 : Q(X) 剰余多項式: R(X)=rm-1m-1+rm-2m-2+・
・・・+r22+r1X+r0 送信多項式: U(X)=xm・D(x)+R(X) ここで、n、mは8の整数倍、n>m バイナリデ−タ入力に先だって、スイッチ1、スイッチ
2およびスイッチ3ははB側へ接続される。その状態
で、初期値設定端子8で各ラッチ6は0あるいは1に初
期値が設定される。次に。スイッチ1及びスイッチ2は
A側に接続される。この状態で、デ−タ入力端子1から
情報デ−タがバイナリデ−タのまま誤り検出符号化・復
号化装置、即ち、パリティ生成装置へ入力され、クロッ
ク入力端子9のデ−タに同期したクロックで情報デ−タ
のビット数分シフトさせられ、最後に、各ラッチ出力に
得られるデ−タをパリティとする。この間、情報デ−タ
はスイッチ3のBを通してデ−タ出力端子12より取り
出され記録あるいは伝送通信される。一方、パリティデ
−タは、シフトが終了した段階で、スイッチ1、スイッ
チ2がB側に切り替えられ、スイッチ3はA側に切り替
えられ、パリティデ−タのビット数分のクロックでスイ
ッチ3のAを通してデ−タ出力端子12より取り出さ
れ、記録あるいは伝送通信される。
Information polynomial: D (X) = d n X n + d n-1
X n-1 + d n-2 X n-2 + ... + d 2 X 2 + d 1 X + d 0 Generator polynomial: G (X) = X m + g m-1 X m-1 + g m-2 X
m-2 + ...- + g 2 X 2 + g 1 X + g 0 quotient polynomial: Q (X) remainder polynomial: R (X) = r m-1 X m-1 + r m-2 X m-2 + ・
・ ・ ・ + R 2 X 2 + r 1 X + r 0 Transmission polynomial: U (X) = x m · D (x) + R (X) where n and m are integer multiples of 8 and n> m for binary data input. Previously, switch 1, switch 2 and switch 3 are connected to the B side. In that state, the initial value of each latch 6 is set to 0 or 1 by the initial value setting terminal 8. next. The switch 1 and the switch 2 are connected to the A side. In this state, the information data is input from the data input terminal 1 to the error detection encoding / decoding device, that is, the parity generating device as binary data, and is synchronized with the data of the clock input terminal 9. The data is shifted by the number of bits of the information data by the clock, and finally the data obtained at each latch output is used as the parity. During this time, the information data is taken out from the data output terminal 12 through B of the switch 3 and recorded or transmitted for communication. On the other hand, with respect to the parity data, when the shift is completed, the switch 1 and the switch 2 are switched to the B side, the switch 3 is switched to the A side, and the clock corresponding to the number of bits of the parity data is passed through the A of the switch 3. The data is taken out from the data output terminal 12 and recorded or transmitted for communication.

【0013】本発明では、情報デ−タをバイト単位のデ
−タとして捉えるために、まず、バイナリデ−タが8ビ
ット分入力された結果を求める。図1において、そのデ
−タ入力端子1に、情報多項式の上位ビットから8ビッ
ト分、即ち、dn〜dn-7を順次入力し、8回シフトした
結果を求める。そのために、各シフトごとの各ラッチ出
力を図2のように、上位側よりRm-1(i)〜R0(i)
とする。また、各ラッチには、初期値設定端子8によ
り、演算開始前に0か1のプリセットができるものと
し、その初期値を上位側よりNn-1〜N0とする。また、
図1において、最上位ラッチ出力と入力デ−タとの排他
的論理和出力をY(i)とする。ここで、iはシフトの
回数を表している。図2は、各シフトごとの各ラッチ出
力を表にしたものである。8回シフトした結果は、図2
の8回目の各ラッチ出力に順次、各シフト回数の結果を
代入することによって求められる。以後、情報デ−タと
して、次の1バイトデ−タを入力する場合には、上記の
各Rm-1(8)〜R0(8)をはじめの初期値Nm-1〜N0
として与え、同様の演算をすればよい。以下、入力デ−
タがLバイトあればその分演算を繰り返せばよい。最後
に各ラッチ出力に得られるRm-1(8)〜R0(8)が剰
余でありパリティとなる。
In the present invention, in order to capture the information data as byte-unit data, first, the result of inputting 8 bits of binary data is obtained. In FIG. 1, 8 bits from the upper bit of the information polynomial, that is, d n to d n-7 are sequentially input to the data input terminal 1, and the result of shifting 8 times is obtained. Therefore, as shown in FIG. 2, the latch outputs for each shift are transferred from the upper side from R m-1 (i) to R 0 (i).
And Further, each latch can be preset to 0 or 1 by the initial value setting terminal 8 before the calculation is started, and its initial value is set to N n-1 to N 0 from the higher order side. Also,
In FIG. 1, the exclusive OR output of the highest-order latch output and the input data is Y (i). Here, i represents the number of shifts. FIG. 2 is a table showing each latch output for each shift. The result of shifting 8 times is shown in Fig. 2.
It is obtained by successively substituting the result of each shift number into each latch output of the eighth time. Thereafter, when the next 1-byte data is input as the information data, each of the above R m-1 (8) to R 0 (8) is initialized to the initial value N m-1 to N 0.
Then, the same calculation may be performed. Hereafter, input data
If the data is L bytes, it is sufficient to repeat the calculation. Finally, R m-1 (8) to R 0 (8) obtained at each latch output is the remainder and becomes the parity.

【0014】次に、説明をより簡単かつ、具体的にする
ために、生成多項式を G(X)=X16+X12+X5
1、情報多項式を1バイト、即ち、D(X)=d7n
6 n-1+d5n-2+d44+d33+d22+d1
+d0 とし、各ラッチ出力を求めたものが図3であ
る。図3より、各ラッチ出力は以下のように求められ
る。
Next, the explanation will be made simpler and more concrete.
To generate G (X) = X16+ X12+ XFive+
1, 1 byte of information polynomial, that is, D (X) = d7Xn+
d6X n-1+ DFiveXn-2+ DFourXFour+ D3X3+ D2X2+ D1X
+ D0 And the output of each latch is shown in Fig. 3.
It From Fig. 3, each latch output is calculated as follows.
It

【0015】R15(8)=R14(7) =R13(6) =R12(5) =R11(4)+R16(5) =R10(3)+R15(4)+d3 =R9(2)+R14(3)+d3 =R8(1)+R13(2)+d3 =R7(0)+R12(1)+d3 =N7+R11(0)+R16(1)+N11+R15
(0)+d7+d3 =d7+d3+N15+N11+N7 R14(8)=d6+d2+N14+N10+N6 R13(8)=d5+d1+N13+N9+N5 R12(8)=d7+d4+d0+N15+N12+N
8+N4 R11(8)=d6+N14+N3 R10(8)=d5+N13+N6 R9(8) =d4+N12+N1 R8(8) =d7+d3+N15+N11+N0 R7(8) =d7+d6+d2+N15+N14+N
10 R6(8) =d6+d5+d1+N14+N13+N
9 R5(8) =d5+d4+d0+N13+N12+N
8 R4(8) =d4+N12 R3(8) =d7+d3+N15+N11 R2(8) =d6+d2+N14+N10 R1(8) =d5+d1+N13+N9 R0(8) =d4+d0+N12+N8 情報デ−タとして、次の1バイトデ−タを入力する場合
には、上記の各R15(8)〜R0(8)をはじめの初期
値N15〜N0として与え、同様の演算をすればよい。以
下、入力デ−タがLバイトあればその分演算を繰り返せ
ばよい。最後に各ラッチ出力に得られるR15(8)〜R
0(8)が剰余でありパリティとなる。
R15 (8) = R14 (7) = R13 (6) = R12 (5) = R11 (4) + R16 (5) = R10 (3) + R15 (4) + d3 = R9 (2) + R14 (3) + D3 = R8 (1) + R13 (2) + d3 = R7 (0) + R12 (1) + d3 = N7 + R11 (0) + R16 (1) + N11 + R15
(0) + d7 + d3 = d7 + d3 + N15 + N11 + N7 R14 (8) = d6 + d2 + N14 + N10 + N6 R13 (8) = d5 + d1 + N13 + N9 + N5 R12 (8) = d7 + d4 + d0 + N15 + N12 + N
8 + N4 R11 (8) = d6 + N14 + N3 R10 (8) = d5 + N13 + N6 R9 (8) = d4 + N12 + N1 R8 (8) = d7 + d3 + N15 + N11 + N0 R7 (8) = d7 + d6 + d2 + N15 + N14 + N
10 R6 (8) = d6 + d5 + d1 + N14 + N13 + N
9 R5 (8) = d5 + d4 + d0 + N13 + N12 + N
8 R4 (8) = d4 + N12 R3 (8) = d7 + d3 + N15 + N11 R2 (8) = d6 + d2 + N14 + N10 R1 (8) = d5 + d1 + N13 + N9 R0 (8) = d4 + d0 + N12 + N8 In the case of inputting the next data byte, the next 1 byte is used as the next data byte. The above respective R 15 (8) to R 0 (8) may be given as initial initial values N 15 to N 0 and the same calculation may be performed. Hereinafter, if the input data is L bytes, the calculation may be repeated for that amount. Finally, R 15 (8) to R obtained at each latch output
0 (8) is the remainder and is the parity.

【0016】次に、第2の実施例について説明する。第
2の実施例はバイナリ形式の生成多項式の誤り検出符号
を用い、記録媒体よりの再生時、あるいは伝送通信にお
ける受信時の誤りの有無をチェックする復号方法に関す
るものである。
Next, a second embodiment will be described. The second embodiment relates to a decoding method for checking whether or not there is an error at the time of reproduction from a recording medium or at the time of reception in transmission communication, using an error detection code of a binary-type generator polynomial.

【0017】本実施例では、基本的演算方法は第1の実
施例と同様である。スイッチ1及びスイッチ2は初期値
設定前はB側に接続され、この状態で初期値設定され
る。その後、A側に接続される。この状態で、デ−タ入
力端子1から情報デ−タに加えパリティデ−タもバイナ
リデ−タのまま誤り検出符号化・復号化装置、即ち、図
1の装置へ入力され、クロック入力端子9のデ−タに同
期したクロックで情報デ−タ及びパリティデ−タのビッ
ト数分シフトさせられ、最後に、各ラッチ出力に得られ
るデ−タを誤り検出判定回路10に入力し、その結果を
誤り判定出力端子11より出力する。
In this embodiment, the basic calculation method is the same as in the first embodiment. The switch 1 and the switch 2 are connected to the B side before the initial value is set, and the initial value is set in this state. After that, it is connected to the A side. In this state, the parity data as well as the information data is inputted from the data input terminal 1 as binary data to the error detection coding / decoding apparatus, that is, the apparatus shown in FIG. It is shifted by the number of bits of information data and parity data by a clock synchronized with the data, and finally the data obtained at each latch output is input to the error detection judgment circuit 10 and the result is erroneous. Output from the judgment output terminal 11.

【0018】本発明では、情報デ−タ及びパリティデ−
タをバイト単位のデ−タとして捉えるために、第1の実
施例と同様に、バイナリデ−タが8ビット分入力された
結果を求める。更に、以後、情報デ−タとパリティデ−
タのバイト数分繰り返し演算をする。情報デ−タとし
て、次の1バイトデ−タを入力する場合には、上記の各
m-1(8)〜R0(8)をはじめの初期値Nm-1〜N0
して与え、同様の演算をする点は第1の実施例と同様で
ある。誤り検出判定用デ−タが全て0であれば誤りな
し、非0であれば誤り有りと判定する。
In the present invention, the information data and the parity data are
In order to capture the data as byte-unit data, the result of inputting 8 bits of binary data is obtained as in the first embodiment. Further, thereafter, information data and parity data
Repeat operation for the number of bytes of data. When the following 1-byte data is input as information data, each of the above R m-1 (8) to R 0 (8) is given as the initial value N m-1 to N 0 , The same calculation is performed as in the first embodiment. If all the error detection determination data is 0, it is determined that there is no error, and if it is non-zero, it is determined that there is an error.

【0019】次に、第3の実施例について説明する。第
3の実施例は第1の実施例の符号化装置例に関するもの
である。図4は本実施例の装置例であり、以下図4を用
いて動作説明する。図4において、41はデータ入力信
号端子、42は排他的論理和回路ブロック、43はラッ
チ、44はクロック入力端子、45は初期値設定端子、
46は選択回路、47は選択制御信号入力端子、48は
パリティデータ出力端子である。
Next, a third embodiment will be described. The third embodiment relates to an example of the encoding device of the first embodiment. FIG. 4 shows an example of the apparatus of this embodiment, and the operation will be described below with reference to FIG. In FIG. 4, 41 is a data input signal terminal, 42 is an exclusive OR circuit block, 43 is a latch, 44 is a clock input terminal, 45 is an initial value setting terminal,
Reference numeral 46 is a selection circuit, 47 is a selection control signal input terminal, and 48 is a parity data output terminal.

【0020】まず、情報データ入力に先だって、mビッ
トで構成されるラッチ43に初期値設定端子45によっ
て0あるいは1の初期値がNm〜N0にセットされる。
次に、バイト単位の情報デ−タが入力端子41より1バ
イト分入力される。入力デ−タの各ビットとmビットラ
ッチ43の各出力は、生成多項式によって決まる、即
ち、バイナリデ−タ処理型の誤り検出回路で8ビットシ
フトした結果得られる関係で排他的論理和回路ブロック
42が組まれ、前記mビットラッチ43の入力として与
えられる。この状態でクロック入力端子44から入力デ
ータに同期したクロックでシフトされる。次の1バイト
デ−タがデータ入力端子41に与えられると前記mビッ
トラッチもバイト単位のクロックで1回シフトされる。
以後入力デ−タ分同様の処理が繰り返される。最終シフ
ト後、前記mビットラッチ出力は選択回路46で上位側
あるいは下位側より8ビット単位で順次選択されパリテ
ィデ−タ出力端子48より出力される。
First, prior to the input of information data, the initial value 0 or 1 is set to Nm to N0 by the initial value setting terminal 45 in the latch 43 composed of m bits.
Next, one byte of information data in byte units is input from the input terminal 41. Each bit of the input data and each output of the m-bit latch 43 are determined by a generator polynomial, that is, an exclusive OR circuit block 42 in a relation obtained as a result of shifting by 8 bits in a binary data processing type error detection circuit. Are assembled and provided as an input to the m-bit latch 43. In this state, the clock is shifted by the clock synchronized with the input data from the clock input terminal 44. When the next 1-byte data is applied to the data input terminal 41, the m-bit latch is also shifted once by the byte unit clock.
After that, the same processing is repeated for the input data. After the final shift, the m-bit latch output is sequentially selected by the selection circuit 46 from the upper side or the lower side in 8-bit units and output from the parity data output terminal 48.

【0021】図5は、生成多項式が G(X)=X16
12+X5+1 の場合の具体的回路例である。図5に
おいて、51はデータ入力信号端子、52は排他的論理
和回路ブロック、53はラッチ、54はクロック入力端
子、55は初期値設定端子、56は選択回路、57は選
択制御信号入力端子、58はパリティデータ出力端子で
ある。図5において、排他的論理和回路52以外は説明
するまでもない。図5の排他的論理和回路52は第1の
実施例で求めたR**(8)の式そのもので、式におい
て記号+は2入力の排他的論理和回路を表している。こ
れも特に説明するまでのことはないので省略する。
In FIG. 5, the generator polynomial is G (X) = X 16 +
It is a specific circuit example for X 12 + X 5 +1. In FIG. 5, 51 is a data input signal terminal, 52 is an exclusive OR circuit block, 53 is a latch, 54 is a clock input terminal, 55 is an initial value setting terminal, 56 is a selection circuit, 57 is a selection control signal input terminal, Reference numeral 58 is a parity data output terminal. It is needless to say that only the exclusive OR circuit 52 is described with reference to FIG. The exclusive OR circuit 52 of FIG. 5 is the formula of R ** (8) obtained in the first embodiment itself, and the symbol + in the formula represents a two-input exclusive OR circuit. This is also the same as before, so it is omitted.

【0022】次に第4の実施例について説明する。本実
施例では、第3の実施例が、8ビットのパラレルデ−タ
を入力するのに対して、シリアルデ−タをそのまま入力
する誤り検出方法の符号化装置に関するものである。
Next, a fourth embodiment will be described. In the present embodiment, the third embodiment relates to an encoding device of an error detecting method in which serial data is input as it is while 8-bit parallel data is input.

【0023】図6を用いて説明する。図6において、6
1はデ−タ入力端子、62は8ビットのシフトレジス
タ、63はビットクロック入力端子である。その他は図
4と同一機能を表すものは同一番号で表している。
This will be described with reference to FIG. In FIG. 6, 6
1 is a data input terminal, 62 is an 8-bit shift register, and 63 is a bit clock input terminal. The other components having the same functions as those in FIG. 4 are represented by the same numbers.

【0024】第3の実施例と異なる点は、第3の実施例
がパラレルのバイトデ−タを入力するのに対して、本実
施例はシリアルのバイナリデ−タを入力するところであ
る。まず、シリアルのバイナリデ−タは61のデ−タ入
力端子から、63のビットクロック入力端子のクロック
に同期して、62のシフトレジスタに入力される。情報
デ−タの先頭から8ビットのデ−タが取り込まれた時点
でバイトクロックにて直列−並列変換される。以後の動
作は実施例3と同様である。
The difference from the third embodiment is that the third embodiment inputs parallel byte data, whereas the present embodiment inputs serial binary data. First, serial binary data is input from the data input terminal of 61 to the shift register of 62 in synchronization with the clock of the bit clock input terminal of 63. When 8-bit data is fetched from the beginning of the information data, serial-parallel conversion is performed with a byte clock. The subsequent operation is similar to that of the third embodiment.

【0025】次に、第5の実施例について説明する。第
5の実施例は第2の実施例の誤り検出復号化装置例に関
するものである。図7は本実施例の装置例であり、以下
図7を用いて動作を説明する。図7において、41はデ
ータ入力信号端子、42は排他的論理和回路ブロック、
43はラッチ、44はクロック入力端子、45は初期値
設定端子、71は誤り判定回路、72は誤り判定出力端
子である。図7で図4と同じ機能ブロックは同じ番号が
付与されている。
Next, a fifth embodiment will be described. The fifth embodiment relates to an example of the error detecting / decoding apparatus of the second embodiment. FIG. 7 shows an example of the apparatus of this embodiment, and the operation will be described below with reference to FIG. In FIG. 7, 41 is a data input signal terminal, 42 is an exclusive OR circuit block,
43 is a latch, 44 is a clock input terminal, 45 is an initial value setting terminal, 71 is an error judgment circuit, and 72 is an error judgment output terminal. In FIG. 7, the same functional blocks as in FIG. 4 are assigned the same numbers.

【0026】まず、入力に先だって、mビットラッチ4
3に0あるいは1の初期値がNm〜N0にセットされ
る。次に、バイト単位の入力デ−タが入力信号端子41
より1バイト分入力される。入力デ−タの各ビットとm
ビットラッチの各出力は、生成多項式によって決まる、
即ち、バイナリデ−タ処理型の巡回符号誤り検出符号化
装置で8ビットシフトした結果得られる関係で排他的論
理和回路が組まれ、前記mビットラッチ43の入力とし
て与えられる。この状態でクロック入力端子44よりデ
ータに同期したクロックで1クロック分シフトされる。
次の1バイトデ−タが入力端子41に与えられると前記
mビットラッチもバイト単位のクロックで1回シフトさ
れる。以後入力デ−タとパリティデ−タ分同様の処理が
繰り返される。最終シフト後、前記mビットラッチ出力
が全て0かどうかが誤り判定回路71でチェックされ
る。mビットラッチ出力が全て0の場合は誤りなし、そ
れ以外は誤り有りと判定され、72の誤り判定出力端子
より判定結果が出力される。
First, before inputting, the m-bit latch 4
An initial value of 0 or 1 is set to 3 in Nm to N0. Next, byte-by-byte input data is input to the input signal terminal 41
1 byte is input. Each bit of input data and m
Each output of the bit latch is determined by the generator polynomial,
That is, an exclusive OR circuit is built in the relation obtained as a result of shifting by 8 bits in the binary data processing type cyclic code error detection coding apparatus, and is given as an input to the m-bit latch 43. In this state, a clock synchronized with the data is shifted by one clock from the clock input terminal 44.
When the next 1-byte data is applied to the input terminal 41, the m-bit latch is also shifted once by the byte unit clock. After that, the same processing is repeated for the input data and the parity data. After the final shift, the error judgment circuit 71 checks whether or not the m-bit latch outputs are all 0. If all the m-bit latch outputs are 0, it is determined that there is no error, and otherwise, it is determined that there is an error, and the determination result is output from the error determination output terminal 72.

【0027】図8は、生成多項式が G(X)=X16
12+X5+1 の場合の具体的装置例である。図8に
おいて、51はデータ入力信号端子、52は排他的論理
和回路ブロック、53はラッチ、54はクロック入力端
子、55は初期値設定端子、81は誤り判定回路、82
は誤り判定出力端子である。図8において、図5と同じ
機能ブロックは同一番号が付与されている。図8におい
て、誤り判定回路81は16ビットラッチ出力が全て0
かどうかを判定するために、排他的論理回路と論理和回
路で構成されている。
In FIG. 8, the generator polynomial is G (X) = X 16 +
It is a specific device example in the case of X 12 + X 5 +1. In FIG. 8, 51 is a data input signal terminal, 52 is an exclusive OR circuit block, 53 is a latch, 54 is a clock input terminal, 55 is an initial value setting terminal, 81 is an error determination circuit, and 82.
Is an error determination output terminal. In FIG. 8, the same functional blocks as in FIG. 5 are assigned the same numbers. In FIG. 8, the error decision circuit 81 outputs 0 for all 16-bit latch outputs.
In order to determine whether or not it is composed of an exclusive logic circuit and an OR circuit.

【0028】次に、第6の実施例について説明する。本
実施例では、第2の実施例が、8ビットのパラレルデ−
タを入力するのに対して、シリアルデ−タをそのまま入
力する誤り検出方法の復号化装置に関するものである。
Next, a sixth embodiment will be described. In this embodiment, the second embodiment is an 8-bit parallel data
The present invention relates to a decoding device of an error detecting method in which serial data is input as it is while data is input.

【0029】図9を用いて説明する。図9において、9
1はデ−タ入力端子、92は8ビットのシフトレジス
タ、93はビットクロック入力端子である。その他は図
7と同一機能を表すものは同一番号で表している。
This will be described with reference to FIG. In FIG. 9, 9
Reference numeral 1 is a data input terminal, 92 is an 8-bit shift register, and 93 is a bit clock input terminal. The other components having the same functions as those in FIG. 7 are represented by the same numbers.

【0030】第2の実施例と異なる点は、第2の実施例
がパラレルのバイトデ−タを入力するのに対して、本実
施例はシリアルのバイナリデ−タを入力するところであ
る。まず、シリアルのバイナリデ−タは91のデ−タ入
力端子から、93のビットクロック入力端子のクロック
に同期して、92のシフトレジスタに入力される。情報
デ−タの先頭から8ビットのデ−タが取り込まれた時点
でバイトクロックにて直列−並列変換される。以後の動
作は実施例3と同様である。
The difference from the second embodiment is that the second embodiment inputs parallel byte data, whereas the present embodiment inputs serial binary data. First, serial binary data is input from the data input terminal of 91 to the shift register of 92 in synchronization with the clock of the bit clock input terminal of 93. When 8-bit data is fetched from the beginning of the information data, serial-parallel conversion is performed with a byte clock. The subsequent operation is similar to that of the third embodiment.

【0031】次に、本発明の第7の実施例について説明
する。一般的には、誤り検出符号として、シリアルバイ
ナリデ−タ用の生成多項式によって生成された誤り検出
符号か、バイトデ−タ用の生成多項式によって生成され
た誤り検出符号かのどちらか一方が用いられるが、誤り
訂正を必要とせず、単に、誤りがあったかどうかが判定
できればよい用途では、シリアルバイナリデ−タ用の誤
り検出方法が用いられることがほとんどである。
Next, a seventh embodiment of the present invention will be described. In general, either an error detection code generated by a generator polynomial for serial binary data or an error detection code generated by a generator polynomial for byte data is used as the error detection code. However, in applications where it is only necessary to determine whether or not there is an error without requiring error correction, an error detection method for serial binary data is mostly used.

【0032】第7の実施例は、誤り検出方法として、シ
リアルバイナリデ−タ形式の生成多項式によって生成さ
れた誤り検出符号と、バイトデ−タ形式の生成多項式に
よって生成された誤り検出符号の両方を、前者は情報デ
−タに適用し、後者は情報デ−タと前者によって生成さ
れたパリティに適用し、システムの都合に合わせて、そ
のいずれか、あるいは両方を使用する場合の符号化装置
に関する。
In the seventh embodiment, as an error detection method, both an error detection code generated by a serial binary data type generator polynomial and an error detection code generated by a byte data type generator polynomial are used. , The former applies to the information data, the latter applies to the information data and the parity generated by the former, and relates to the encoding device when either or both of them are used according to the convenience of the system. .

【0033】本実施例について、図10を用いて説明す
る。図10は、光ディスクの物理アドレス部の誤り検出
にシリアルバイナリデ−タ用の生成多項式によって生成
されたパリティデ−タと、バイトデ−タ用の生成多項式
によって生成されたパリティデ−タの両方を適用した場
合のセクタの構成図である。
This embodiment will be described with reference to FIG. In FIG. 10, both the parity data generated by the generator polynomial for serial binary data and the parity data generated by the generator polynomial for byte data are applied to the error detection of the physical address portion of the optical disk. It is a block diagram of a sector in the case.

【0034】図10において、101はユ−ザデ−タ領
域、102は誤り訂正符号領域、103はセクタ先頭識
別コ−ド、104は物理あるいは論理アドレス領域、1
05は物理あるいは論理アドレスデ−タ、106はバイ
ナリ形式生成多項式による第1の誤り検出パリティ、1
07はバイト形式生成多項式による第2の誤り検出パリ
ティ、108は補助デ−タ領域、109は再同期信号で
ある。
In FIG. 10, 101 is a user data area, 102 is an error correction code area, 103 is a sector head identification code, 104 is a physical or logical address area, 1
Reference numeral 05 is physical or logical address data, 106 is the first error detection parity by a binary format generator polynomial, 1
Reference numeral 07 is a second error detection parity by a byte format generator polynomial, 108 is an auxiliary data area, and 109 is a resynchronization signal.

【0035】また、図11は、本実施例の符号化装置図
である。図11において、111はシステムコントロ−
ラ、112はパラレル−シリアル変換手段、113はシ
リアル−パラレル変換手段、114は第1の誤り検出符
号化手段、115は第2の誤り検出符号化手段、116
は第1のメモリ手段、117は第2のメモリ手段、11
8はユ−ザデ−タ入力端子、119は入力I/F、12
0は変調手段、121は再同期信号発生手段、122は
出力端子である。
FIG. 11 is a diagram of an encoding device according to this embodiment. In FIG. 11, 111 is a system controller.
La, 112 is a parallel-serial conversion means, 113 is a serial-parallel conversion means, 114 is a first error detection coding means, 115 is a second error detection coding means, 116
Is a first memory means, 117 is a second memory means, 11
8 is a user data input terminal, 119 is an input I / F, 12
Reference numeral 0 is a modulation means, 121 is a resynchronization signal generation means, and 122 is an output terminal.

【0036】本発明の実施例では、エンコ−ド時は、ま
ず、セクタの先頭を表す識別コ−ド103がシステムコ
ントロ−ラ111で生成され、第1のメモリ手段116
に記憶される。次に光ディスクなどのトラック、セクタ
番号を表す物理アドレス、あるいは、内周から外周まで
のセクタ番号を表す論理アドレスデ−タ105がシステ
ムコントロ−ラ111で生成され、第2のメモリ手段1
17に記憶される。一方、これがパラレル−シリアル変
換手段112でシリアルバイナリデ−タ化される。次
に、このバイナリデ−タが第1の実施例で説明されたよ
うな情報多項式と見なされて、同じく第1の実施例で説
明されたようなシリアルバイナリ形式の生成多項式を用
いて、第1の誤り検出符号化手段114で、第1の誤り
検出パリティ106が生成される。この第1の誤り検出
パリティはシリアル−パラレル変換手段113でパラレ
ル化され、第2のメモリ手段117に前記物理あるいは
論理アドレスデ−タに続いて記憶される。次に、上記物
理あるいは論理アドレス及び第1の誤り検出パリティが
第2のメモリ手段117より読み出され、第2の誤り検
出符号化手段115にて、物理あるいは論理アドレスデ
−タ及び第1の誤り検出パリティが情報多項式と見なさ
れて、バイト形式の生成多項式で第2の誤り検出パリテ
ィ107が生成され、第2のメモリ手段117に記憶さ
れる。次に、第2のメモリ手段117より物理あるいは
論理アドレスデ−タ、第1の誤り検出パリティデ−タ及
び第2の誤り検出パリティデ−タが読み出され、第1の
メモリ手段116に記憶される。ここで、第2の誤り検
出符号としては、一般的によく知られたリ−ドソロモン
符号が用いられる。例えば、原始多項式 m(X)=X
8+X4+X3+X2+1、生成多項式として、G(X)=
2+α25X+α 等である。次に、セクタのユ−ザデ
−タの補助情報デ−タ108がシステムコントロ−ラ1
11で発生され、第1のメモリ手段116に記憶され
る。次にユ−ザデ−タがユ−ザデ−タ入力端子118よ
り入力I/F手段119を介して、第1のメモリ手段1
16に記憶される。次に、例えば、図10の誤り訂正符
号領域102を除く横1行分のデ−タが情報多項式と見
なされて、リ−ドソロモン符号などにより、誤り訂正パ
リティが生成され、誤り訂正符号領域102に配置され
る。次に、図10の全ての行において同様の演算が行わ
れる。次に、第1のメモリ手段116より図10の縦1
列ごとのデ−タが読み出され、変調手段120で、例え
ば、ラン・レングス符号などで変調される。この変調手
段120にはパラレル−シリアル変換機能が含まれてい
る。最後に、再同期信号発生手段121で、図10の縦
1列ごとに再同期信号109が付与されて、再同期信
号、セクタ先頭識別コ−ド、物理あるいは論理アドレス
デ−タ、第1の誤り検出パリティ、第2の誤り検出パリ
ティ、補助情報、ユ−ザデ−タ、再同期信号、ユ−ザデ
−タ、・・・・・・、再同期信号、誤り訂正パリティ、
・・・・・の順にシリアル化されて出力端子122より
取り出されて記録される。
In the embodiment of the present invention, at the time of encoding, the identification code 103 representing the beginning of the sector is first generated by the system controller 111, and the first memory means 116 is used.
Memorized in. Next, a track of the optical disk or the like, a physical address indicating the sector number, or logical address data 105 indicating the sector number from the inner circumference to the outer circumference is generated by the system controller 111, and the second memory means 1 is generated.
Stored in 17. On the other hand, this is converted into serial binary data by the parallel-serial conversion means 112. Next, this binary data is regarded as an information polynomial as described in the first embodiment, and the first binary is generated using the serial binary format generator polynomial also described in the first embodiment. The first error detection parity 106 is generated by the error detection encoding means 114. The first error detection parity is parallelized by the serial-parallel conversion means 113 and stored in the second memory means 117 following the physical or logical address data. Next, the physical or logical address and the first error detection parity are read from the second memory means 117, and the second error detection encoding means 115 reads the physical or logical address data and the first error detection parity. The error detection parity is regarded as the information polynomial, the second error detection parity 107 is generated by the generation polynomial in the byte format, and is stored in the second memory means 117. Next, the physical or logical address data, the first error detection parity data and the second error detection parity data are read from the second memory means 117 and stored in the first memory means 116. . Here, as the second error detecting code, a generally well-known Lead Solomon code is used. For example, primitive polynomial m (X) = X
8 + X 4 + X 3 + X 2 +1 as a generator polynomial, G (X) =
X 2 + α 25 X + α and the like. Next, the auxiliary information data 108 of the user data of the sector is transferred to the system controller 1
11 and stored in the first memory means 116. Next, the user data is transferred from the user data input terminal 118 to the first memory means 1 via the input I / F means 119.
16 are stored. Next, for example, the data for one horizontal row excluding the error correction code area 102 in FIG. Is located in. Next, the same calculation is performed in all the rows of FIG. Next, from the first memory means 116, the vertical 1 in FIG.
The data for each column is read out and modulated by the modulation means 120, for example, by a run length code or the like. The modulation means 120 includes a parallel-serial conversion function. Finally, the re-synchronization signal generating means 121 provides the re-synchronization signal 109 for each column in FIG. Error detection parity, second error detection parity, auxiliary information, user data, resynchronization signal, user data, ..., resynchronization signal, error correction parity,
.. are serialized in this order, extracted from the output terminal 122, and recorded.

【0037】ここで、第2の誤り検出符号の符号化手段
について図12を用いて説明する。図12では、簡単化
のために符号間最小距離=3のリ−ドソロモン符号です
る。
Now, the coding means for the second error detection code will be described with reference to FIG. In FIG. 12, for the sake of simplicity, a Lead Solomon code with a minimum inter-code distance = 3 is used.

【0038】図12において、123はデ−タ入力端
子、124は排他的論理和回路、125は係数器、12
6はラッチ、127はクロック入力端子、128は初期
値設定端子、129は誤り検出判定手段、130は誤り
判定出力端子である。図12からも明かなように、基本
動作は図1と同じである。異なる点は、入力デ−タがバ
イト単位であることと、係数器が単なるAND回路では
なく、αnなる元を構成する回路である点である。詳細
な動作は説明するまでもない。
In FIG. 12, 123 is a data input terminal, 124 is an exclusive OR circuit, 125 is a coefficient unit, 12
6 is a latch, 127 is a clock input terminal, 128 is an initial value setting terminal, 129 is an error detection determination means, and 130 is an error determination output terminal. As is clear from FIG. 12, the basic operation is the same as in FIG. The difference is that the input data is in units of bytes, and the coefficient unit is not a simple AND circuit but a circuit that constitutes an element of α n . It goes without saying that the detailed operation is described.

【0039】次に、本発明の第8の実施例について説明
する。第8の実施例は、第7の実施例でエンコ−ドされ
た物理あるいは論理アドレスデ−タのバイナリ形式の生
成多項式で生成されたパリティの誤り検出復合化装置に
関する。
Next, an eighth embodiment of the present invention will be described. The eighth embodiment relates to an error detecting / decoding device for a parity generated by a generator polynomial in the binary format of the physical or logical address data encoded in the seventh embodiment.

【0040】本実施例について、図13を用いて説明す
る。図13は、光ディスクの物理アドレス部の誤り検出
にバイナリデ−タ用の生成多項式によって生成されたパ
リティデ−タと、バイトデ−タ用の生成多項式によって
生成されたパリティデ−タの両方を適用した場合物理あ
るいは論理アドレスデ−タの誤り検出方法の復号化装置
である。
This embodiment will be described with reference to FIG. FIG. 13 shows a case where both the parity data generated by the generator polynomial for binary data and the parity data generated by the generator polynomial for byte data are applied to the error detection of the physical address portion of the optical disk. Alternatively, it is a decoding device for an error detection method of logical address data.

【0041】図13において、131は再生デ−タ入力
端子、132はシリアルチャンネルビットデ−タ、13
3は再同期信号検出手段、134は復調手段、135は
ビットシリアルデ−タ、136はセクタ先頭識別コ−ド
検出手段、137は誤り検出復号化手段、138は誤り
判定出力端子である。
In FIG. 13, 131 is a reproduction data input terminal, 132 is a serial channel bit data, 13
Reference numeral 3 is a resynchronization signal detecting means, 134 is a demodulating means, 135 is bit serial data, 136 is a sector head identification code detecting means, 137 is an error detecting / decoding means, and 138 is an error judging output terminal.

【0042】本発明の実施例では、再生デ−タ入力端子
131より入力された、光ディスクより再生されたシリ
アルチャンネルビットデ−タ132は、再同期信号検出
手段133に入力され、パタ−ン比較により再同期信号
が検出される。次に、復調手段134で、例えば、ラン
・レングス変調デ−タなどが復調されビットシリアルデ
−タ135とされる。次に、セクタの先頭識別コ−ド検
出手段136によりセクタの先頭が識別される。このセ
クタ先頭識別コ−ド検出手段出力でバイナリ形式の第1
の誤り検出復号化手段137が初期化される。次に続く
物理あるいは論理アドレスデ−タがこの第1の誤り検出
復号化手段137に入力され、誤りの有無がチェックさ
れる。誤り検出復号化手段137の動作については、図
1で説明済みなので省略する。また、本実施例での物理
あるいは論理アドレスデ−タの誤り検出以外の部分は本
実施例に直接関わらないので省略する。
In the embodiment of the present invention, the serial channel bit data 132 reproduced from the optical disk, which is inputted from the reproduction data input terminal 131, is inputted to the re-synchronization signal detecting means 133 to compare the patterns. Detects the resynchronization signal. Next, the demodulation means 134 demodulates, for example, run length modulation data or the like into bit serial data 135. Next, the sector head identification code detecting means 136 identifies the sector head. The output of this sector head identification code detection means is the first in binary format.
The error detection / decoding means 137 is initialized. The succeeding physical or logical address data is input to the first error detecting / decoding means 137, and the presence or absence of an error is checked. The operation of the error detection / decoding means 137 has already been described with reference to FIG. The parts other than the error detection of the physical or logical address data in this embodiment are not directly related to this embodiment and will be omitted.

【0043】次に、本発明の第9の実施例について説明
する。第9の実施例は、第7の実施例でエンコ−ドされ
たデ−タの物理あるいは論理アドレスデ−タのバイト形
式の生成多項式で生成されたパリティの誤り検出方法の
復号化装置に関する。本実施例について、図14を用い
て説明する。
Next, a ninth embodiment of the present invention will be described. The ninth embodiment relates to a decoding device for a parity error detection method generated by a byte-form generator polynomial of physical or logical address data of the data encoded in the seventh embodiment. This embodiment will be described with reference to FIG.

【0044】図14は、光ディスクの物理アドレス部の
誤り検出にバイナリデ−タ用の生成多項式によって生成
されたパリティデ−タと、バイトデ−タ用の生成多項式
によって生成されたパリティデ−タの両方を適用した場
合の物理あるいは論理アドレスデ−タの別の誤り検出方
法の復号化装置である。
In FIG. 14, both the parity data generated by the generator polynomial for binary data and the parity data generated by the generator polynomial for byte data are applied to the error detection of the physical address portion of the optical disk. This is a decoding device of another error detection method of physical or logical address data in the case of performing.

【0045】図14において、140は再生デ−タ入力
端子、141はシリアルチャンネルビットデ−タ、14
2は再同期信号検出手段、143は復調手段、144は
セクタ先頭識別コ−ド検出手段、145はシリアル−パ
ラレル変換手段、146は誤り検出復号化手段、147
は誤り判定出力端子である。
In FIG. 14, reference numeral 140 is a reproduction data input terminal, 141 is a serial channel bit data, and 14 is a serial channel bit data.
2 is a re-synchronization signal detecting means, 143 is a demodulating means, 144 is a sector head identification code detecting means, 145 is a serial-parallel converting means, 146 is an error detecting / decoding means, 147.
Is an error determination output terminal.

【0046】本発明の実施例では、再生デ−タ入力端子
140より入力された、光ディスクよりシリアルチャン
ネルビットデ−タ141は、再同期検出手段142に入
力され、パタ−ン比較により再同期信号が検出される。
次に、復調手段143で、例えば、ラン・レングス変調
デ−タなどが復調される。次に、セクタの先頭識別コ−
ド検出手段144によりセクタの先頭が識別される。次
に、シリアル−パラレル変換手段145でパラレルデ−
タに変換される。次に、前記セクタ先頭識別コ−ド検出
手段出力でバイト形式の第2の誤り検出復号化手段14
6が初期化される。次に続く物理あるいは論理アドレス
デ−タ及びバイナリ形式の誤り検出パリティがこの誤り
検出復号化手段146に入力され、誤りの有無がチェッ
クされる。ここで、誤り検出符号としては、一般的によ
く知られたリ−ドソロモン符号が用いられる。誤り検出
の基本的動作は図1と同様であるので省略する。
In the embodiment of the present invention, the serial channel bit data 141 from the optical disk, which is inputted from the reproduction data input terminal 140, is inputted to the resynchronization detecting means 142, and the resynchronization signal is obtained by the pattern comparison. Is detected.
Next, the demodulation means 143 demodulates, for example, run length modulation data. Next, the sector start identification code
The head of the sector is identified by the mode detecting means 144. Next, the serial-parallel conversion means 145 uses the parallel data.
Converted to data. Next, by the output of the sector head identification code detecting means, the second error detecting and decoding means 14 in the byte format is formed.
6 is initialized. The following physical or logical address data and error detection parity in binary format are input to the error detection decoding means 146, and the presence or absence of an error is checked. Here, as the error detection code, generally well-known Lead Solomon code is used. The basic operation of error detection is the same as in FIG.

【0047】次に、本発明の第10の実施例について説
明する。第10の実施例は、第7の実施例でエンコ−ド
されたデ−タの物理あるいは論理アドレスデ−タの第1
のの誤り検出方法と第2の誤り検出方法の両方を用いる
復号化装置に関する。
Next, a tenth embodiment of the present invention will be described. The tenth embodiment is the first physical or logical address data of the data encoded in the seventh embodiment.
The present invention relates to a decoding device that uses both the error detection method of (2) and the second error detection method.

【0048】本実施例を図15を用いて説明する。図1
5において131は再生デ−タ入力端子、132はシリ
アルチャンネルビットデ−タ、133は再同期信号検出
手段、134は復調手段、135はビットシリアルデ−
タ、136はセクタ先頭識別コ−ド検出手段、137は
第1の誤り検出復号化手段、145はシリアル−パラレ
ル変換手段、146は第2の誤り検出手段、150は総
合誤り判定手段、151は誤り判定出力端子である。図
13及び図14と同じ機能のものには同じ番号が付与さ
れている。
This embodiment will be described with reference to FIG. Figure 1
5, 131 is a reproduction data input terminal, 132 is a serial channel bit data, 133 is a resynchronization signal detecting means, 134 is a demodulating means, and 135 is a bit serial data.
Data, 136 is a sector head identification code detecting means, 137 is a first error detecting / decoding means, 145 is a serial-parallel converting means, 146 is a second error detecting means, 150 is a total error determining means, and 151 is This is an error judgment output terminal. The same numbers are given to those having the same functions as those in FIGS.

【0049】本実施例は実施例8と9を併用するもので
あり、併用することにより誤り検出の信頼性を向上させ
るものである。各手段の動作は既に説明しているので説
明する必要はないと思われる。151の総合誤り判定手
段では、第1の誤り検出結果と第2の誤り検出結果がと
もに誤りなし以外は誤りありと判定される。
In this embodiment, Embodiments 8 and 9 are used together, and by using them together, the reliability of error detection is improved. The operation of each means has already been described, so it is not necessary to explain it. The comprehensive error determining means 151 determines that there is an error unless both the first error detection result and the second error detection result are error-free.

【0050】次に、本発明の第11の実施例について説
明する。第11の実施例は、第7の実施例でエンコ−ド
されたデ−タの物理あるいは論理アドレスデ−タの第2
の誤り検出方法の復号化装置に関する。本実施例につい
て、図16を用いて説明する。
Next, an eleventh embodiment of the present invention will be described. The eleventh embodiment is the second physical or logical address data of the data encoded in the seventh embodiment.
The present invention relates to a decoding device for the error detection method. This embodiment will be described with reference to FIG.

【0051】図16において、160は再生デ−タ入力
端子、161はシリアルチャンネルビットデ−タ、16
2は再同期信号検出手段、163は復調手段、164は
シリアル−パラレル変換手段、165はメモリ手段、1
66はシステムコントロ−ル手段、167は誤り判定出
力端子である。
In FIG. 16, 160 is a reproduction data input terminal, 161 is a serial channel bit data, 16
2 is a resynchronization signal detecting means, 163 is a demodulating means, 164 is a serial-parallel converting means, 165 is a memory means, 1
Reference numeral 66 is a system control means, and 167 is an error determination output terminal.

【0052】本発明の実施例では、再生デ−タ入力端子
160より入力された、光ディスクより再生されたシリ
アルチャンネルビットデ−タは、再同期信号検出手段1
62に入力され、パタ−ン比較により再同期信号が検出
される。次に、復調手段163で、例えば、ラン・レン
グス変調デ−タなどが復調される。次に、復調されたデ
−タはシリアル−パラレル変換手段164でバイトデ−
タに変換される。バイトデ−タに変換されたデ−タはメ
モリ手段165に図10のように格納される。次に、シ
ステムコントロ−ラ166では、メモリ手段165より
物理あるいは論理アドレスデ−タ、第1の誤り検出パリ
ティが読み出され、図12の回路と同様の動作が演算で
実行される。演算はアドレスデ−タが多くとも5バイト
程度であるので、システムコントロ−ルのCPUには負
担となることはない。このように、誤り検出符号とし
て、バイト形式の生成多項式を用いることにより特別に
誤り検出手段を設けることなく、システムコントロ−ル
に誤り検出の機能を代替させることができる。
In the embodiment of the present invention, the serial channel bit data reproduced from the optical disk, which is inputted from the reproduction data input terminal 160, is resynchronized signal detecting means 1.
The signal is input to 62 and a resynchronization signal is detected by pattern comparison. Next, the demodulation means 163 demodulates, for example, run length modulation data. Next, the demodulated data is byte data by the serial-parallel conversion means 164.
Converted to data. The data converted into byte data is stored in the memory means 165 as shown in FIG. Next, in the system controller 166, the physical or logical address data and the first error detection parity are read from the memory means 165, and the same operation as the circuit of FIG. 12 is executed by calculation. Since the address data for the operation is about 5 bytes at most, it does not burden the CPU of the system control. In this way, by using a byte-form generator polynomial as the error detection code, it is possible to substitute the function of error detection in the system control without providing any special error detection means.

【0053】[0053]

【発明の効果】以上のように、本発明は、バイトデ−タ
の入力手段、排他的論理和ゲ−トで構成される回路ブロ
ック手段、セットあるいはリセット付きの複数のラッチ
回路手段及び誤り判定手段、誤り判定出力手段を備え、
バイナリデ−タ用の誤り検出符号を用いながらも直並列
変換あるいは並直変換せずにバイト単位デ−タのままで
誤り検出出来る方法を提供できるものである。
As described above, according to the present invention, the input means of the byte data, the circuit block means composed of the exclusive OR gate, the plurality of latch circuit means with set or reset, and the error judgment means. , Equipped with error determination output means,
It is possible to provide a method capable of error detection using byte-unit data without serial / parallel conversion or parallel / serial conversion, while using an error detection code for binary data.

【0054】また、本来バイナリ用の誤り検出符号とバ
イトデ−タ用誤り検出符号の両方を用いることにより、
バイナリデ−タのままでも、あるいは、バイトデ−タの
ままでも誤り検出できる方法を提供できるものである。
By using both the binary error detection code and the byte data error detection code,
It is possible to provide a method capable of detecting an error even if it is the binary data or the byte data.

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

【図1】本発明の第1の実施例における誤り検出方法の
符号化、復合化原理説明図
FIG. 1 is an explanatory diagram of an encoding / decoding principle of an error detecting method according to a first embodiment of the present invention.

【図2】本発明の第1の実施例における誤り検出方法の
符号化、復号化原理説明図の入力デ−タと各ラッチ出力
との関係説明図
FIG. 2 is an explanatory diagram of a relationship between input data and each latch output in an explanatory diagram of the principle of encoding and decoding in the error detecting method according to the first embodiment of the present invention.

【図3】本発明の第1の実施例における生成多項式を限
定した誤り検出方法の符号化、復号化原理説明図の入力
デ−タと各ラッチ出力との関係説明図
FIG. 3 is an explanatory diagram of a relationship between input data and each latch output in an explanatory diagram of an encoding / decoding principle of an error detection method in which a generator polynomial is limited in the first embodiment of the present invention.

【図4】本発明の第3の実施例における誤り検出符号化
装置図
FIG. 4 is a diagram of an error detection coding device according to a third embodiment of the present invention.

【図5】本発明の第3の実施例における生成多項式を限
定した誤り検出符号化装置図
FIG. 5 is an error detection coding device diagram in which the generator polynomial is limited in the third embodiment of the present invention.

【図6】本発明の第4の実施例における誤り検出符号化
装置図
FIG. 6 is a diagram of an error detection coding device according to a fourth embodiment of the present invention.

【図7】本発明の第5の実施例における誤り検出復号化
装置図
FIG. 7 is a diagram of an error detection / decoding device according to a fifth embodiment of the present invention.

【図8】本発明の第5の実施例における生成多項式を限
定した誤り検出復号化装置図
FIG. 8 is a diagram of an error detecting / decoding apparatus in which the generator polynomial is limited in the fifth embodiment of the present invention.

【図9】本発明の第6の実施例における誤り検出復号化
装置図
FIG. 9 is a diagram of an error detection / decoding device according to a sixth embodiment of the present invention.

【図10】本発明の実施例におけるセクタの構成図FIG. 10 is a block diagram of a sector according to the embodiment of the present invention.

【図11】本発明の第7の実施例における符号化装置図FIG. 11 is a diagram of an encoding device according to a seventh embodiment of the present invention.

【図12】本発明の第7の実施例におけるバイト形式生
成多項式による誤り検出符号化、復合化装置図
FIG. 12 is a diagram of an error detection coding / decoding device by a byte format generator polynomial in a seventh embodiment of the present invention.

【図13】本発明の第8の実施例における誤り検出復号
化装置図
FIG. 13 is a diagram of an error detection / decoding device according to an eighth embodiment of the present invention.

【図14】本発明の第9の実施例における誤り検出復号
化装置図
FIG. 14 is a diagram of an error detecting / decoding apparatus according to a ninth embodiment of the present invention.

【図15】本発明の第10の実施例における誤り検出復
号化装置図
FIG. 15 is a diagram of an error detection / decoding device according to a tenth embodiment of the present invention.

【図16】本発明の第11の実施例における誤り検出復
号化装置図
FIG. 16 is a diagram of an error detection / decoding apparatus according to an eleventh embodiment of the present invention.

【図17】従来例の誤り検出符号化及び復号化装置例図FIG. 17 is a diagram showing an example of a conventional error detection encoding / decoding device.

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

1 入力端子 2、3、4、175、176、177 スイッチ 5、125 係数器 6、43、53、126、172 ラッチ 7、124、171 排他的論理和回路 8、45、55、128、173 初期値設定端子 9、44、54、127、174 クロック入力端子 10、71、81、179 誤り判定回路 11、72、85、130、138、147、151、
167、180 誤り判定出力端子 12、178 出力端子 41、51 デ−タ信号入力端子 42、52 排他的論理和回路ブロック 46、56 選択回路 47、57 選択制御信号入力端子 48、58 パリティデ−タ出力端子 61、91 デ−タ入力端子 62、92 レジスタ 63、93 ビットクロック入力端子 101 ユ−ザデ−タ領域 102 謝り訂正符号領域 103 セクタ先頭識別コ−ド 104 物理あるいは論理アドレス領域 105 物理あるいは論理アドレスデ−タ 106 第1の誤り検出パリティ 107 第2の誤り検出パリティ 108 補助情報デ−タ領域 109 再同期信号 111、166 システムコントロ−ラ 112 パラレル−シリアル変換手段 113、145、164 シリアル−パラレル変換手段 114 第1の誤り検出符号化手段 115 第2の誤り検出符号化手段 116 第1のメモリ手段 117 第2のメモリ手段 118 ユ−ザデ−タ入力端子 119 入力I/F 120 変調手段 121 再同期信号発生手段 129 誤り検出判定手段 131、140、160 再生デ−タ入力端子 132、141、161 シリアルチャンネルビットデ
−タ 133、142、162 再同期信号検出手段 134、143、163 復調手段 135 ビットシリアルデ−タ 136、144 セクタ先頭識別コ−ド検出手段 137 第1の誤り検出復号化手段 146 第2の誤り検出復号化手段 150 総合誤り判定手段 165 メモリ手段
1 Input Terminals 2, 3, 4, 175, 176, 177 Switches 5, 125 Coefficient Units 6, 43, 53, 126, 172 Latches 7, 124, 171 Exclusive-OR Circuits 8, 45, 55, 128, 173 Initial Value setting terminals 9, 44, 54, 127, 174 Clock input terminals 10, 71, 81, 179 Error determination circuit 11, 72, 85, 130, 138, 147, 151,
167, 180 Error judgment output terminal 12, 178 output terminal 41, 51 Data signal input terminal 42, 52 Exclusive OR circuit block 46, 56 Selection circuit 47, 57 Selection control signal input terminal 48, 58 Parity data output Terminals 61, 91 Data input terminal 62, 92 Register 63, 93 Bit clock input terminal 101 User data area 102 Apologetic correction code area 103 Sector start identification code 104 Physical or logical address area 105 Physical or logical address Data 106 First error detection parity 107 Second error detection parity 108 Auxiliary information data area 109 Resynchronization signal 111, 166 System controller 112 Parallel-serial conversion means 113, 145, 164 Serial-parallel conversion Means 114 First Error Detection Encoding means 115 Second error detection encoding means 116 First memory means 117 Second memory means 118 User data input terminal 119 Input I / F 120 Modulating means 121 Resynchronization signal generating means 129 Error detection judgment Means 131, 140, 160 reproduction data input terminal 132, 141, 161 serial channel bit data 133, 142, 162 resynchronization signal detection means 134, 143, 163 demodulation means 135 bit serial data 136, 144 sectors Head identification code detecting means 137 First error detecting / decoding means 146 Second error detecting / decoding means 150 Total error determining means 165 Memory means

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G11B 20/18 544 Z 8940−5D 574 N 8940−5D ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location G11B 20/18 544 Z 8940-5D 574 N 8940-5D

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】情報多項式:D(X)=dnn+dn-1
n-1+dn-2n-2+・・・・+d22+d1X+d0、生
成多項式:G(X)=Xm+gm-1m-1+gm-2 m-2
・・・・+g22+g1X+g0、商多項式:Q(X)、
剰余多項式:R(X)=rm-1m-1+rm-2m-2+・・
・・+r22+r1X+r0、送信多項式:U(X)=x
m・D(x)+R(X)、ここで、n、mは8の整数
倍、n>mで定義されるバイナリ形式の巡回符号による
誤り検出符号化方法に関し、初期値設定手段で初期値R
m-k+1(0)=Nm-k+1のNm-k+1が0あるいは1に初期
値が設定された後、情報デ−タをバイト単位のデ−タと
して捉えるために、送信多項式の上位ビットから8ビッ
ト分、即ち、dn〜dn-7を生成多項式で割算した結果を
求め、その剰余多項式の係数、Rm-1(8)=R
m-2(7)+gm-1・Y(8)、Rm-2(8)=R
m-3(7)+gm-2・Y(8)、Rm-3(8)=R
m-4(7)+gm -4・Y(8)、・・・・、R2(8)=
1(7)+g1・Y(8)、R1(8)=R0(7)+g
0・Y(8)、R0(8)=Y(8)、Y(8)=Rm-1
(7)+d 0、ここで、Y(i)=Rm-1(i)+
8-i、(i=1,2・・・8)、Rm-k(i)=R
m-k-1(i−1)+gm-k・Y(i)、(k=1,2,・
・・)を入力デ−タdiと初期値Nm-k+1で表現し、次
に、この剰余結果を前記初期値と見なして、次の入力デ
−タdn-8〜dn-15と再度上記剰余に相当する排他的論
理和を構成し、この操作を入力バイナリデ−タのバイト
数分繰り返えし、その結果を上位側よりバイト単位で順
次取り出すことによりすことによりバイナリ形式の誤り
検出パリティをバイト形式のパラレル演算により生成す
ることを特徴とする誤り検出符号化方法。
1. Information polynomial: D (X) = dnXn+ Dn-1X
n-1+ Dn-2Xn-2+ ... ・ + d2X2+ D1X + d0,Raw
Polynomial polynomial: G (X) = Xm+ Gm-1Xm-1+ Gm-2X m-2+
... + g2X2+ G1X + g0, Quotient polynomial: Q (X),
Remainder polynomial: R (X) = rm-1Xm-1+ Rm-2Xm-2+ ...
・ ・ + r2X2+ R1X + r0, Transmission polynomial: U (X) = x
mD (x) + R (X), where n and m are integers of 8
By a binary cyclic code defined by n> m
Regarding the error detection coding method, the initial value R is set by the initial value setting means.
m-k + 1(0) = Nm-k + 1Nm-k + 1Is initially 0 or 1
After the value is set, the information data is changed to byte data.
8 bits from the upper bit of the transmission polynomial
Minutes, that is, dn~ Dn-7Is the result of dividing by the generator polynomial
Find, the coefficient of the remainder polynomial, Rm-1(8) = R
m-2(7) + gm-1・ Y (8), Rm-2(8) = R
m-3(7) + gm-2・ Y (8), Rm-3(8) = R
m-4(7) + gm -Four・ Y (8), ..., R2(8) =
R1(7) + g1・ Y (8), R1(8) = R0(7) + g
0・ Y (8), R0(8) = Y (8), Y (8) = Rm-1
(7) + d 0, Where Y (i) = Rm-1(I) +
d8-i, (I = 1, 2 ... 8), Rmk(I) = R
mk-1(I-1) + gmk・ Y (i), (k = 1, 2, ...
・ ・) Input data di and initial value Nm-k + 1Expressed as
Then, regarding this remainder result as the initial value, the next input data
-Dn-8~ Dn-15And again the exclusive theory corresponding to the above remainder
This operation is composed of Riwa, and this operation is input. Byte of binary data
Repeat for a few minutes, and order the results in byte units from the high-order side.
Incorrect binary format due to subsequent retrieval
Generates detection parity by byte format parallel operation
An error detection coding method characterized by the following.
【請求項2】情報多項式:D(X)=dnn+dn-1
n-1+dn-2n-2+・・・・+d22+d1X+d0、生
成多項式:G(X)=Xm+gm-1m-1+gm-2 m-2
・・・・+g22+g1X+g0、商多項式:Q(X)、
剰余多項式:R(X)=rm-1m-1+rm-2m-2+・・
・・+r22+r1X+r0、送信多項式:U(X)=x
m・D(x)+R(X)、ここで、n、mは8の整数
倍、n>mで定義されるバイナリ形式の巡回符号による
誤り検出符号化方法に関し、8ビットのパラレルデ−タ
di(i=0,1,・・7)入力端子と、R
m-k+1(0)=Nm -k+1(Nm-k+1は0か1)なる初期値
設定手段及びバイト単位クロック入力端子を有するmビ
ットのパラレルラッチと、このmビットのパラレルラッ
チ出力と入力デ−タdiにより、Rm-1(8)=R
m-2(7)+gm-1・Y(8)、Rm-2(8)=R
m-3(7)+gm-2・Y(8)、Rm-3(8)=R
m-4(7)+gm-4・Y(8)、・・・・、R2(8)=
1(7)+g1・Y(8)、R1(8)=R0(7)+g
0・Y(8)、R0(8)=Y(8)、Y(8)=Rm-1
(7)+d0、ここで、Y(i)=Rm-1(i)+
8-i、(i=1,2・・・8)、Rm-k(i)=R
m-k-1(i−1)+gm-k・Y(i)、(k=1,2,・
・・)なる関係を有する排他的論理和回路ブロックと、
この排他的論理和回路ブロックの出力を前記mビットパ
ラレルラッチの入力とし、このmビットのパラレルラッ
チ出力を上位側より8ビットずつ順次選択する選択回路
と、この選択回路よりパリティを取り出すパリティデ−
タ出力端子とを有し、入力デ−タをバイト単位で入力
し、バイト数分前記ラッチでシフトすることにより誤り
検出パリティを生成することを特徴とする誤り検出符号
化方法。
2. Information polynomial: D (X) = dnXn+ Dn-1X
n-1+ Dn-2Xn-2+ ... ・ + d2X2+ D1X + d0,Raw
Polynomial polynomial: G (X) = Xm+ Gm-1Xm-1+ Gm-2X m-2+
... + g2X2+ G1X + g0, Quotient polynomial: Q (X),
Remainder polynomial: R (X) = rm-1Xm-1+ Rm-2Xm-2+ ...
・ ・ + r2X2+ R1X + r0, Transmission polynomial: U (X) = x
mD (x) + R (X), where n and m are integers of 8
By a binary cyclic code defined by n> m
Regarding error detection coding method, 8-bit parallel data
di (i = 0, 1, ... 7) input terminal and R
m-k + 1(0) = Nm -k + 1(Nm-k + 1Is an initial value of 0 or 1)
M-bit with setting means and byte unit clock input terminal
Parallel latch and the m-bit parallel latch.
R by output output and input data dim-1(8) = R
m-2(7) + gm-1・ Y (8), Rm-2(8) = R
m-3(7) + gm-2・ Y (8), Rm-3(8) = R
m-4(7) + gm-4・ Y (8), ..., R2(8) =
R1(7) + g1・ Y (8), R1(8) = R0(7) + g
0・ Y (8), R0(8) = Y (8), Y (8) = Rm-1
(7) + d0, Where Y (i) = Rm-1(I) +
d8-i, (I = 1, 2 ... 8), Rmk(I) = R
mk-1(I-1) + gmk・ Y (i), (k = 1, 2, ...
..) exclusive OR circuit block having the relation
The output of this exclusive OR circuit block
As an input to the parallel latch, this m-bit parallel latch is used.
Select circuit that sequentially selects the output from the upper side by 8 bits
And the parity data for extracting the parity from this selection circuit.
It has a data output terminal and inputs input data in byte units.
Error by shifting the number of bytes by the latch
Error detection code characterized by generating detection parity
Method.
【請求項3】情報多項式:D(X)=dnn+dn-1
n-1+dn-2n-2+・・・・+d22+d1X+d0、生
成多項式:G(X)=Xm+gm-1m-1+gm-2 m-2
・・・・+g22+g1X+g0、商多項式:Q(X)、
剰余多項式:R(X)=rm-1m-1+rm-2m-2+・・
・・+r22+r1X+r0、送信多項式:U(X)=x
m・D(x)+R(X)、ここで、n、mは8の整数
倍、n>mで定義されるバイナリ形式の巡回符号による
誤り検出符号化方法に関し、シリアルビットのバイナリ
デ−タ入力端子と、8ビットのシリアル−パラレル変換
レジスタ手段と、Rm-k+1(0)=Nm-k+1(Nm-k+1
0か1)なる初期値設定手段及びバイト単位クロック入
力端子を有するmビットのパラレルラッチと、このmビ
ットのパラレルラッチ出力とパラレル変換後の入力デ−
タdi(i=0,1,・・,7)により、Rm-1(8)
=Rm-2(7)+gm-1・Y(8)、Rm-2(8)=Rm-3
(7)+gm-2・Y(8)、Rm-3(8)=Rm-4(7)
+gm-4・Y(8)、・・・・、R2(8)=R1(7)
+g1・Y(8)、R1(8)=R0(7)+g0・Y
(8)、R0(8)=Y(8)、Y(8)=Rm-1(7)
+d0、ここで、Y(i)=Rm-1(i)+d8-i、(i
=1,2・・・8)、Rm-k(i)=Rm-k -1(i−1)
+gm-k・Y(i)、(k=1,2,・・・)なる関係
を有する排他的論理和回路ブロックと、この排他的論理
和回路ブロックの出力を前記mビットパラレルラッチの
入力とし、このmビットのパラレルラッチ出力を上位側
より8ビットずつ順次選択する選択回路と、この選択回
路よりパリティを取り出すパリティデ−タ出力端子とを
有し、入力デ−タをシリアルバイナリ単位で入力し、バ
イトクロックでシリアルーパラレル変換し、バイトクロ
ックで、バイト数分前記ラッチでシフトすることにより
誤り検出パリティを生成することを特徴とする誤り検出
符号化方法。
3. Information polynomial: D (X) = dnXn+ Dn-1X
n-1+ Dn-2Xn-2+ ... ・ + d2X2+ D1X + d0,Raw
Polynomial polynomial: G (X) = Xm+ Gm-1Xm-1+ Gm-2X m-2+
... + g2X2+ G1X + g0, Quotient polynomial: Q (X),
Remainder polynomial: R (X) = rm-1Xm-1+ Rm-2Xm-2+ ...
・ ・ + r2X2+ R1X + r0, Transmission polynomial: U (X) = x
mD (x) + R (X), where n and m are integers of 8
By a binary cyclic code defined by n> m
Regarding error detection coding method, serial bit binary
Data input terminal and 8-bit serial-parallel conversion
Register means and Rm-k + 1(0) = Nm-k + 1(Nm-k + 1Is
0 or 1) Initial value setting means and byte unit clock input
M-bit parallel latch with input terminal
Input parallel latch output and input data after parallel conversion.
R i according to the data di (i = 0, 1, ..., 7)m-1(8)
= Rm-2(7) + gm-1・ Y (8), Rm-2(8) = Rm-3
(7) + gm-2・ Y (8), Rm-3(8) = Rm-4(7)
+ Gm-4・ Y (8), ..., R2(8) = R1(7)
+ G1・ Y (8), R1(8) = R0(7) + g0・ Y
(8), R0(8) = Y (8), Y (8) = Rm-1(7)
+ D0, Where Y (i) = Rm-1(I) + d8-i, (I
= 1, 2 ... 8), Rmk(I) = Rmk -1(I-1)
+ Gmk・ Y (i), (k = 1, 2, ...)
And an exclusive OR circuit block having
The output of the sum circuit block is output from the m-bit parallel latch.
Use this as an input and use this m-bit parallel latch output
A selection circuit for sequentially selecting every 8 bits and this selection time
The parity data output terminal that extracts the parity from the
Input, input data in serial binary units, and
Byte-to-parallel conversion with the right clock
By shifting the number of bytes by the latch,
Error detection characterized by generating error detection parity
Encoding method.
【請求項4】請求項1において、誤り検出パリティ生成
のための生成多項式をG(X)=X16+X12+X5
1、情報多項式の上位1バイトを、即ち、D*(X)=
7n+d6n-1+d5n-2+d44+d33+d22
+d1X+d0とし、さらに、パラレルラッチの初期値を
上位側よりNi(i=15,14,・・・,2,1,
0)とし、排他的論理和回路ブロック出力をパラレルラ
ッチの上位側より R15(8)=R14(7) =R13(6) =R12(5) =R11(4)+R16(5) =R10(3)+R15(4)+d3 =R9(2)+R14(3)+d3 =R8(1)+R13(2)+d3 =R7(0)+R12(1)+d3 =N7+R11(0)+R16(1)+N11+R15
(0)+d7+d3 =d7+d3+N15+N11+N7 R14(8)=d6+d2+N14+N10+N6 R13(8)=d5+d1+N13+N9+N5 R12(8)=d7+d4+d0+N15+N12+N
8+N4 R11(8)=d6+N14+N3 R10(8)=d5+N13+N6 R9(8) =d4+N12+N1 R8(8) =d7+d3+N15+N11+N0 R7(8) =d7+d6+d2+N15+N14+N
10 R6(8) =d6+d5+d1+N14+N13+N
9 R5(8) =d5+d4+d0+N13+N12+N
8 R4(8) =d4+N12 R3(8) =d7+d3+N15+N11 R2(8) =d6+d2+N14+N10 R1(8) =d5+d1+N13+N9 R0(8) =d4+d0+N12+N8 とすることを特徴とする誤り検出符号化方法。
4. The generator polynomial for generating error detection parity according to claim 1, wherein G (X) = X 16 + X 12 + X 5 +
1, the upper 1 byte of the information polynomial, that is, D * (X) =
d 7 X n + d 6 X n-1 + d 5 X n-2 + d 4 X 4 + d 3 X 3 + d 2 X 2
+ D 1 X + d 0, and the initial value of the parallel latch is Ni (i = 15, 14, ..., 2, 1,
0) and the exclusive OR circuit block output from the upper side of the parallel latch R15 (8) = R14 (7) = R13 (6) = R12 (5) = R11 (4) + R16 (5) = R10 (3 ) + R15 (4) + d3 = R9 (2) + R14 (3) + d3 = R8 (1) + R13 (2) + d3 = R7 (0) + R12 (1) + d3 = N7 + R11 (0) + R16 (1) + N11 + R15
(0) + d7 + d3 = d7 + d3 + N15 + N11 + N7 R14 (8) = d6 + d2 + N14 + N10 + N6 R13 (8) = d5 + d1 + N13 + N9 + N5 R12 (8) = d7 + d4 + d0 + N15 + N12 + N
8 + N4 R11 (8) = d6 + N14 + N3 R10 (8) = d5 + N13 + N6 R9 (8) = d4 + N12 + N1 R8 (8) = d7 + d3 + N15 + N11 + N0 R7 (8) = d7 + d6 + d2 + N15 + N14 + N
10 R6 (8) = d6 + d5 + d1 + N14 + N13 + N
9 R5 (8) = d5 + d4 + d0 + N13 + N12 + N
8 R4 (8) = d4 + N12 R3 (8) = d7 + d3 + N15 + N11 R2 (8) = d6 + d2 + N14 + N10 R1 (8) = d5 + d1 + N13 + N9 R0 (8) = d4 + d0 + N12 + N8 A method for error detection coding.
【請求項5】情報多項式:D(X)=dnn+dn-1
n-1+dn-2n-2+・・・・+d22+d1X+d0、生
成多項式:G(X)=Xm+gm-1m-1+gm-2 m-2
・・・・+g22+g1X+g0、商多項式:Q(X)、
剰余多項式:R(X)=rm-1m-1+rm-2m-2+・・
・・+r22+r1X+r0、送信多項式:U(X)=x
m・D(x)+R(X)、ここで、n、mは8の整数
倍、n>mで定義されるバイナリ形式の巡回符号による
誤り検出復号化方法に関し、内部ラッチの初期値設定手
段で初期値Rm-k+1(0)=Nm-k+1のNm-k+1が0ある
いは1に初期値が設定された後、情報デ−タをバイト単
位のデ−タとして捉えるために、送信多項式の上位ビッ
トから8ビット分、即ち、dn〜dn-7を生成多項式で割
算した結果を求め、その剰余多項式の係数、R
m-1(8)=Rm-2(7)+gm-1・Y(8)、R
m-2(8)=Rm-3(7)+gm-2・Y(8)、R
m-3(8)=Rm- 4(7)+gm-4・Y(8)、・・・
・、R2(8)=R1(7)+g1・Y(8)、R1(8)
=R0(7)+g0・Y(8)、R0(8)=Y(8)、
Y(8)=R m-1(7)+d0、ここで、Y(i)=R
m-1(i)+d8-i、(i=1,2・・・8)、R
m-k(i)=Rm-k-1(i−1)+gm-k・Y(i)、
(k=1,2,・・・)を入力デ−タdiと初期値N
m-k+1で表現し、次に、この剰余結果を前記初期値と見
なして、次の入力デ−タdn-8〜dn-15と再度上記剰余
に相当する排他的論理和を構成し、この操作を情報デ−
タとパリティデ−タで構成される入力バイナリデ−タの
バイト数分繰り返えし、その結果が全て0の場合は誤り
なし、それ以外は誤りありと判定することを特徴とする
誤り検出復号化化方法。
5. Information polynomial: D (X) = dnXn+ Dn-1X
n-1+ Dn-2Xn-2+ ... ・ + d2X2+ D1X + d0,Raw
Polynomial polynomial: G (X) = Xm+ Gm-1Xm-1+ Gm-2X m-2+
... + g2X2+ G1X + g0, Quotient polynomial: Q (X),
Remainder polynomial: R (X) = rm-1Xm-1+ Rm-2Xm-2+ ...
・ ・ + r2X2+ R1X + r0, Transmission polynomial: U (X) = x
mD (x) + R (X), where n and m are integers of 8
By a binary cyclic code defined by n> m
Regarding the error detection and decoding method, the initial value setting procedure of the internal latch
Initial value R in stepsm-k + 1(0) = Nm-k + 1Nm-k + 1Is 0
After the initial value is set to 1 or 1, the information data is
The upper bits of the transmission polynomial are
8 bits from the packet, that is, dn~ Dn-7Divided by the generator polynomial
The result of the calculation is found, and the coefficient of the remainder polynomial, R
m-1(8) = Rm-2(7) + gm-1・ Y (8), R
m-2(8) = Rm-3(7) + gm-2・ Y (8), R
m-3(8) = Rm- Four(7) + gm-4・ Y (8)
., R2(8) = R1(7) + g1・ Y (8), R1(8)
= R0(7) + g0・ Y (8), R0(8) = Y (8),
Y (8) = R m-1(7) + d0, Where Y (i) = R
m-1(I) + d8-i, (I = 1, 2 ... 8), R
mk(I) = Rmk-1(I-1) + gmk・ Y (i),
(K = 1, 2, ...) Input data di and initial value N
m-k + 1Then, the remainder result is regarded as the initial value.
However, the next input data dn-8~ Dn-15And again the above remainder
The exclusive OR corresponding to
Of input binary data composed of data and parity data
Repeated for the number of bytes, and if the result is all 0, it is an error.
Characteristic that it is determined that there is no error and the others are incorrect
Error detection decoding method.
【請求項6】情報多項式:D(X)=dnn+dn-1
n-1+dn-2n-2+・・・・+d22+d1X+d0、生
成多項式:G(X)=Xm+gm-1m-1+gm-2 m-2
・・・・+g22+g1X+g0、商多項式:Q(X)、
剰余多項式:R(X)=rm-1m-1+rm-2m-2+・・
・・+r22+r1X+r0、送信多項式:U(X)=x
m・D(x)+R(X)、ここで、n、mは8の整数
倍、n>mで定義されるバイナリ形式の巡回符号による
誤り検出復号化方法に関し、8ビットのパラレルデ−タ
di(i=0,1,・・7)入力端子と、R
m-k+1(0)=Nm -k+1(Nm-k+1は0か1)なる初期値
設定手段及びバイト単位クロック入力端子を有するmビ
ットのパラレルラッチと、このmビットのパラレルラッ
チ出力と入力デ−タdiにより、Rm-1(8)=R
m-2(7)+gm-1・Y(8)、Rm-2(8)=R
m-3(7)+gm-2・Y(8)、Rm-3(8)=R
m-4(7)+gm-4・Y(8)、・・・・、R2(8)=
1(7)+g1・Y(8)、R1(8)=R0(7)+g
0・Y(8)、R0(8)=Y(8)、Y(8)=Rm-1
(7)+d0、ここで、Y(i)=Rm-1(i)+
8-i、(i=1,2・・・8)、Rm-k(i)=R
m-k-1(i−1)+gm-k・Y(i)、(k=1,2,・
・・)なる関係を有する排他的論理和回路ブロックと、
この排他的論理和回路ブロックの出力を前記mビットパ
ラレルラッチの入力とし、このmビットのパラレルラッ
チ出力が全て0なら誤りなし、それ以外は誤りありと判
定する誤り判定回路と、この誤り判定結果を出力する誤
り判定出力端子とを有し、情報デ−タとパリティデ−タ
よりなる入力デ−タをバイト単位で入力し、バイト数分
前記ラッチでシフトすることにより誤り検出をすること
を特徴とする誤り検出復号化装置。
6. Information polynomial: D (X) = dnXn+ Dn-1X
n-1+ Dn-2Xn-2+ ... ・ + d2X2+ D1X + d0,Raw
Polynomial polynomial: G (X) = Xm+ Gm-1Xm-1+ Gm-2X m-2+
... + g2X2+ G1X + g0, Quotient polynomial: Q (X),
Remainder polynomial: R (X) = rm-1Xm-1+ Rm-2Xm-2+ ...
・ ・ + r2X2+ R1X + r0, Transmission polynomial: U (X) = x
mD (x) + R (X), where n and m are integers of 8
By a binary cyclic code defined by n> m
Regarding error detection and decoding method, 8-bit parallel data
di (i = 0, 1, ... 7) input terminal and R
m-k + 1(0) = Nm -k + 1(Nm-k + 1Is an initial value of 0 or 1)
M-bit with setting means and byte unit clock input terminal
Parallel latch and the m-bit parallel latch.
R by output output and input data dim-1(8) = R
m-2(7) + gm-1・ Y (8), Rm-2(8) = R
m-3(7) + gm-2・ Y (8), Rm-3(8) = R
m-4(7) + gm-4・ Y (8), ..., R2(8) =
R1(7) + g1・ Y (8), R1(8) = R0(7) + g
0・ Y (8), R0(8) = Y (8), Y (8) = Rm-1
(7) + d0, Where Y (i) = Rm-1(I) +
d8-i, (I = 1, 2 ... 8), Rmk(I) = R
mk-1(I-1) + gmk・ Y (i), (k = 1, 2, ...
..) exclusive OR circuit block having the relation
The output of this exclusive OR circuit block
As an input to the parallel latch, this m-bit parallel latch is used.
If all J outputs are 0, no error is found, otherwise, there is an error.
Error determination circuit that determines the error and the error that outputs this error determination result.
It has an information judgment output terminal, and is provided with information data and parity data.
Input data consisting of
Error detection by shifting with the latch
An error detection decoding device characterized by the above.
【請求項7】情報多項式:D(X)=dnn+dn-1
n-1+dn-2n-2+・・・・+d22+d1X+d0、生
成多項式:G(X)=Xm+gm-1m-1+gm-2 m-2
・・・・+g22+g1X+g0、商多項式:Q(X)、
剰余多項式:R(X)=rm-1m-1+rm-2m-2+・・
・・+r22+r1X+r0、送信多項式:U(X)=x
m・D(x)+R(X)、ここで、n、mは8の整数
倍、n>mで定義されるバイナリ形式の巡回符号による
誤り検出復号化方法に関し、シリアルビットのバイナリ
デ−タ入力端子と、8ビットのシリアル−パラレル変換
レジスタ手段と、Rm-k+1(0)=Nm-k+1(Nm-k+1
0か1)なる初期値設定手段及びバイト単位クロック入
力端子を有するmビットのパラレルラッチと、このmビ
ットのパラレルラッチ出力とパラレル変換後の入力デ−
タdi(i=0,1,・・,7)により、Rm-1(8)
=Rm-2(7)+gm-1・Y(8)、Rm-2(8)=Rm-3
(7)+gm-2・Y(8)、Rm-3(8)=Rm-4(7)
+gm-4・Y(8)、・・・・、R2(8)=R1(7)
+g1・Y(8)、R1(8)=R0(7)+g0・Y
(8)、R0(8)=Y(8)、Y(8)=Rm-1(7)
+d0、ここで、Y(i)=Rm-1(i)+d8-i、(i
=1,2・・・8)、Rm-k(i)=Rm-k -1(i−1)
+gm-k・Y(i)、(k=1,2,・・・)なる関係
を有する排他的論理和回路ブロックと、この排他的論理
和回路ブロックの出力を前記mビットパラレルラッチの
入力とし、このmビットのパラレルラッチ出力が全て0
なら誤りなし、それ以外は誤りありと判定する誤り判定
回路と、この誤り判定結果を出力する誤り判定出力端子
とを有し、情報デ−タとパリティデ−タよりなる入力デ
−タをシリアルバイナリ単位で入力し、バイトクロック
でシリアルパラレル変換し、バイトクロックで、バイト
数分前記ラッチでシフトすることにより誤り検出をする
ことを特徴とする誤り検出復号化装置。
7. Information polynomial: D (X) = dnXn+ Dn-1X
n-1+ Dn-2Xn-2+ ... ・ + d2X2+ D1X + d0,Raw
Polynomial polynomial: G (X) = Xm+ Gm-1Xm-1+ Gm-2X m-2+
... + g2X2+ G1X + g0, Quotient polynomial: Q (X),
Remainder polynomial: R (X) = rm-1Xm-1+ Rm-2Xm-2+ ...
・ ・ + r2X2+ R1X + r0, Transmission polynomial: U (X) = x
mD (x) + R (X), where n and m are integers of 8
By a binary cyclic code defined by n> m
Error detection and decoding method, serial bit binary
Data input terminal and 8-bit serial-parallel conversion
Register means and Rm-k + 1(0) = Nm-k + 1(Nm-k + 1Is
0 or 1) Initial value setting means and byte unit clock input
M-bit parallel latch with input terminal
Input parallel latch output and input data after parallel conversion.
R i according to the data di (i = 0, 1, ..., 7)m-1(8)
= Rm-2(7) + gm-1・ Y (8), Rm-2(8) = Rm-3
(7) + gm-2・ Y (8), Rm-3(8) = Rm-4(7)
+ Gm-4・ Y (8), ..., R2(8) = R1(7)
+ G1・ Y (8), R1(8) = R0(7) + g0・ Y
(8), R0(8) = Y (8), Y (8) = Rm-1(7)
+ D0, Where Y (i) = Rm-1(I) + d8-i, (I
= 1, 2 ... 8), Rmk(I) = Rmk -1(I-1)
+ Gmk・ Y (i), (k = 1, 2, ...)
And an exclusive OR circuit block having
The output of the sum circuit block is output from the m-bit parallel latch.
As an input, this m-bit parallel latch output is all 0
If there is no error, otherwise there is an error judgment
Circuit and error judgment output terminal that outputs this error judgment result
And input data consisting of information data and parity data.
Input the data in serial binary units and byte clock
Serial to parallel conversion with byte clock with byte clock
Error detection is performed by shifting the latch for a few minutes.
An error detecting and decoding device characterized by the above.
【請求項8】誤り検出方法として、シリアルバイナリデ
−タ形式の生成多項式によって生成された誤り検出符号
と、バイトデ−タ形式の生成多項式によって生成された
誤り検出符号の両方を、前者は情報デ−タに適用し、後
者は情報デ−タと前者によって生成されたパリティに適
用し、システムの都合に合わせて、そのいずれか、ある
いは両方を使用する場合の符号化装置に関し、 符号化時は、まず、セクタの先頭を表す識別コ−ドをシ
ステムコントロ−ラで生成し、第1のメモリ手段に記憶
し、次に光ディスクなどのトラック、セクタ番号を表す
物理アドレス、あるいは、内周から外周までのセクタ番
号を表す論理アドレスデ−タをシステムコントロ−ラで
生成し、第2のメモリ手段に記憶し、一方、これをパラ
レル−シリアル変換手段でシリアルバイナリデ−タ化
し、次に、このバイナリデ−タを情報多項式と見なし、
シリアルバイナリ形式の生成多項式を用いて、第1の誤
り検出符号化手段で、第1の誤り検出パリティを生成
し、次に、この第1の誤り検出パリティをシリアル−パ
ラレル変換手段でパラレル化し、第2のメモリ手段に前
記物理あるいは論理アドレスデ−タに続いて記憶し、次
に、上記物理あるいは論理アドレス及び第1の誤り検出
パリティを第2のメモリ手段より読み出し、第2の誤り
検出符号化手段にて、物理あるいは論理アドレスデ−タ
及び第1の誤り検出パリティを情報多項式と見なし、バ
イト形式の生成多項式で第2の誤り検出パリティを生成
し、第2のメモリ手段に記憶し、次に、第2のメモリ手
段より物理あるいは論理アドレスデ−タ、第1の誤り検
出パリティデ−タ及び第2の誤り検出パリティデ−タを
読み出し、第1のメモリ手段に記憶し、ここで、第2の
誤り検出符号としては、一般的によく知られたリ−ドソ
ロモン符号(例えば、原始多項式m(x)=X8+X4
3+X2+1、生成多項式として、G(X)=X2+α
25X+α 、αはGF(28)の元等)を用い、次に、
セクタのユ−ザデ−タの補助情報デ−タをシステムコン
トロ−ラで発生し、第1のメモリ手段に記憶し、次にユ
−ザデ−タをユ−ザデ−タ入力端子より入力I/F手段
を介して、第1のメモリ手段に記憶し、次に、誤り訂正
パリティを生成し、第1のメモリ手段に記憶し、次に、
第1のメモリ手段より順次デ−タを読み出し、変調手段
で変調する。この変調手段はパラレル−シリアル変換機
能を含み、最後に、再同期信号発生手段で、再同期信号
を付与し、再同期信号、セクタ先頭識別コ−ド、物理あ
るいは論理アドレスデ−タ、第1の誤り検出パリティ、
第2の誤り検出パリティ、補助情報、ユ−ザデ−タ、再
同期信号、ユ−ザデ−タ、・・・・・・、再同期信号、
誤り訂正パリティ、・・・・・の順にシリアル化し、出
力端子より取り出すことを特徴とする誤り検出符号化装
置。
8. As the error detecting method, both of the error detecting code generated by the generator binary polynomial of the serial binary data format and the error detecting code generated by the generator polynomial of the byte data format are used in the former case. -The latter applies to the information data and the parity generated by the former, and relates to the encoding device when either or both of them are used according to the convenience of the system. First, an identification code representing the beginning of a sector is generated by the system controller and stored in the first memory means, and then a track of an optical disk or the like, a physical address representing the sector number, or from the inner circumference to the outer circumference. The logical address data representing the sector numbers up to are generated by the system controller and stored in the second memory means, while the parallel-serial conversion means stores the logical address data. Serialized into binary data, then consider this binary data as an information polynomial,
Using the generator polynomial of the serial binary format, the first error detection coding means generates the first error detection parity, and then the first error detection parity is parallelized by the serial-parallel conversion means, The physical or logical address data is stored in the second memory means subsequently, and then the physical or logical address and the first error detection parity are read from the second memory means to obtain the second error detection code. The conversion means regards the physical or logical address data and the first error detection parity as an information polynomial, generates a second error detection parity by a byte-form generator polynomial, and stores it in the second memory means. Next, the physical or logical address data, the first error detection parity data and the second error detection parity data are read from the second memory means, and the first memory is read. Stored in the re unit, wherein, as the second error detection code, generally well-known Li - Dosoromon code (e.g., a primitive polynomial m (x) = X 8 + X 4 +
X 3 + X 2 +1 and G (X) = X 2 + α as a generator polynomial
25 X + α, α is an element of GF (2 8 ), and then
The auxiliary information data of the user data of the sector is generated by the system controller and stored in the first memory means, and then the user data is input from the user data input terminal I / I. Store in the first memory means via F means, then generate error correction parity, store in the first memory means, and then
Data is sequentially read from the first memory means and modulated by the modulating means. This modulation means includes a parallel-serial conversion function, and finally, a resynchronization signal generating means applies a resynchronization signal to the resynchronization signal, sector head identification code, physical or logical address data, and first Error detection parity of
Second error detection parity, auxiliary information, user data, resync signal, user data, ..., Resync signal,
An error detection coding device characterized by serializing in the order of error correction parity, ... And extracting from an output terminal.
【請求項9】シリアルバイナリデ−タ形式の生成多項式
とバイトデ−タ形式の生成多項式の両方でエンコ−ドさ
れたデ−タのシリアルバイナリデータ形式の誤り検出復
号化装置に関し、 再生デ−タ入力端子より入力した、光ディスクより再生
したシリアルチャンネルビットデ−タを、再同期信号検
出手段に入力し、パタ−ン比較により再同期信号を検出
し、次に、復調手段で変調デ−タを復調し、ビットシリ
アルバイナリデ−タとし、次に、セクタの先頭識別コ−
ド検出手段によりセクタの先頭を識別し、この識別コ−
ドでバイナリ形式の誤り検出手段を初期化し、次に続く
物理あるいは論理アドレスデ−タ及びシリアルバイナリ
形式のパリティをこの誤り検出手段に入力し、誤りの有
無をチェックし、誤り検出手段は、受信デ−タを生成多
項式で割算し、剰余が全て0なら誤りなし、それ以外な
ら誤りありと判断することを特徴とする誤り検出復号化
方法。
9. An error detecting and decoding apparatus for serial binary data format of data encoded by both a generator polynomial of serial binary data format and a generator polynomial of byte data format. The serial channel bit data input from the input terminal and reproduced from the optical disk is input to the resynchronization signal detecting means, the resynchronization signal is detected by pattern comparison, and then the demodulation means outputs the modulation data. It demodulates to bit serial binary data, and then the sector start identification code
The head of the sector is identified by the code detection means, and this identification code
The binary format error detection means is initialized by a code, the following physical or logical address data and serial binary format parity are input to this error detection means, and the presence or absence of an error is checked. An error detection / decoding method characterized by dividing data by a generator polynomial, and judging that there is no error if the remainders are all 0 and that there is an error otherwise.
【請求項10】シリアルバイナリデ−タ形式の生成多項
式とバイトデ−タ形式の生成多項式の両方でエンコ−ド
されたデ−タのバイトデータ形式の誤り検出復号化装置
に関し、 再生デ−タ入力端子より入力した、光ディスクより再生
されたシリアルチャンネルビットデ−タを、再同期検出
手段に入力し、パタ−ン比較により再同期信号を検出
し、次に、復調手段で変調デ−タを復調し、次に、セク
タの先頭識別コ−ド検出手段によりセクタの先頭を識別
し、次に、シリアルデ−タをシリアル−パラレル変換手
段によりバイトデ−タに変換し、次に、前記セクタ先頭
識別コ−ド検出手段出力でバイト形式の誤り検出手段を
初期化し、次に続く物理あるいは論理アドレスデ−タ及
びバイナリ形式の誤り検出パリティをこの誤り検出手段
に入力し、誤りの有無をチェックし、誤り検出手段は、
受信デ−タを生成多項式で割算し、剰余が全て0なら誤
りなし、それ以外なら誤りありと判断することを特徴と
する誤り検出復号化装置。
10. An error detection decoding apparatus for byte data format of data encoded by both a generator polynomial of serial binary data format and a generator polynomial of byte data format, and reproducing data input. The serial channel bit data reproduced from the optical disk, which is input from the terminal, is input to the resynchronization detecting means, the resynchronization signal is detected by the pattern comparison, and then the demodulation means demodulates the modulation data. Then, the head of the sector is identified by the sector head identification code detecting means, the serial data is converted into byte data by the serial-parallel converting means, and then the sector head identifying code is detected. -Initialize the error detection means in byte format with the output of the error detection means, and input the following physical or logical address data and error detection parity in binary format into this error detection means, Check the presence of errors, error detection means,
An error detecting / decoding apparatus characterized by dividing received data by a generator polynomial, and judging that there is no error if the remainders are all 0 and otherwise.
【請求項11】シリアルバイナリデ−タ形式の生成多項
式とバイトデ−タ形式の生成多項式の両方でエンコ−ド
されたデ−タの誤り検出復号化装置に関し、 再生デ−タ入力端子より入力した、光ディスクより再生
したシリアルチャンネルビットデ−タを、再同期信号検
出手段に入力し、パタ−ン比較により再同期信号を検出
し、次に、復調手段で変調デ−タを復調し、ビットシリ
アルデ−タとし、次に、セクタの先頭識別コ−ド検出手
段によりセクタの先頭を識別し、このセクタ識別コ−ド
検出手段出力でバイナリ形式の第1の誤り検出手段、及
びバイト形式の第2の誤り検出手段を初期化し、次に続
く物理あるいは論理アドレスデ−タ及びシリアルバイナ
リ形式のパリティをこの第1の誤り検出手段に入力し、
誤りの有無をチェックし、第1の誤り検出手段は、受信
デ−タを生成多項式で割算し、剰余が全て0なら誤りな
し、それ以外なら誤りありと判断し、また、上記シリア
ルデ−タをシリアル−パラレル変換手段によりバイトデ
−タに変換し、次に続く物理あるいは論理アドレスデ−
タ及びバイナリ形式の第1の誤り検出パリティをこの第
2の誤り検出手段に入力し、誤りの有無をチェックし、
第2の誤り検出手段は、受信デ−タを生成多項式で割算
し、剰余が全て0なら誤りなし、それ以外なら誤りあり
と判断し、この両方の誤り判断結果を併用し、第1の誤
り検出手段結果及び第2の誤り判断結果の両方が誤りな
しの場合のみ誤りなし、それ以外は誤りありと判断する
ことを特徴とする誤り検出復号化装置。
11. An error detecting / decoding apparatus for data encoded by both a generator polynomial of serial binary data format and a generator polynomial of byte data format, which is input from a reproduction data input terminal. , The serial channel bit data reproduced from the optical disk is input to the resynchronization signal detecting means, the resynchronization signal is detected by pattern comparison, and then the demodulation means demodulates the modulation data to obtain the bit serial. Then, the head of the sector is identified by the head identification code detecting means of the sector, and the first error detecting means in the binary format and the first error detecting means in the byte format are output from the output of the sector identification code detecting means. The second error detecting means is initialized, and the following physical or logical address data and parity in serial binary format are input to the first error detecting means,
The first error detection means divides the received data by the generator polynomial, judges that there is no error, and judges that there is an error otherwise, and the serial data. Is converted into byte data by serial-parallel conversion means, and the subsequent physical or logical address data is converted.
Data and the first error detection parity in binary format are input to the second error detection means to check whether there is an error,
The second error detecting means divides the received data by the generator polynomial, judges that there is no error if the remainder is all 0, and judges that there is an error otherwise, and uses both of these error judgment results in combination, An error detection / decoding apparatus characterized by determining that there is no error only when both the error detection means result and the second error determination result indicate that there is no error, and otherwise.
【請求項12】再生デ−タ入力端子より入力した、光デ
ィスクより再生したシリアルチャンネルビットデ−タ
を、再同期検出手段に入力し、パタ−ン比較により再同
期信号を検出し、次に、復調手段で変調デ−タを復調
し、次に、復調したデ−タをシリアル−パラレル変換手
段でバイトデ−タに変換し、バイトデ−タに変換したデ
−タはメモリ手段に格納し、次に、システムコントロ−
ラで、メモリ手段より物理あるいは論理アドレスデ−
タ、誤り検出パリティを読み出し、システムコントロー
ラでバイト形式の生成多項式で割算を実行することを特
徴とする誤り検出復号化装置。
12. A serial channel bit data reproduced from an optical disk, which is inputted from a reproduction data input terminal, is inputted to a resynchronization detecting means, a resynchronization signal is detected by pattern comparison, and next, The demodulation means demodulates the modulated data, the serial-parallel conversion means then converts the demodulated data into byte data, and the byte data is stored in the memory means. In addition, the system controller
The physical or logical address data from the memory means.
An error detection / decoding device characterized in that the error detection parity is read out and the system controller performs division by a generation polynomial in a byte format.
JP6121205A 1994-06-02 1994-06-02 Methods for coding and decoding error detection and devices for coding and decoding error detection Pending JPH07326973A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6121205A JPH07326973A (en) 1994-06-02 1994-06-02 Methods for coding and decoding error detection and devices for coding and decoding error detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6121205A JPH07326973A (en) 1994-06-02 1994-06-02 Methods for coding and decoding error detection and devices for coding and decoding error detection

Publications (1)

Publication Number Publication Date
JPH07326973A true JPH07326973A (en) 1995-12-12

Family

ID=14805476

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6121205A Pending JPH07326973A (en) 1994-06-02 1994-06-02 Methods for coding and decoding error detection and devices for coding and decoding error detection

Country Status (1)

Country Link
JP (1) JPH07326973A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007116677A (en) * 2005-09-21 2007-05-10 Semiconductor Energy Lab Co Ltd Cyclic redundancy check circuit, semiconductor device having cyclic redundancy check circuit, electronic device having the semiconductor device, and wireless communication system using the semiconductor device
US8627170B2 (en) 2005-09-21 2014-01-07 Semiconductor Energy Laboratory Co., Ltd. Cyclic redundancy check circuit and semiconductor device having the cyclic redundancy check circuit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007116677A (en) * 2005-09-21 2007-05-10 Semiconductor Energy Lab Co Ltd Cyclic redundancy check circuit, semiconductor device having cyclic redundancy check circuit, electronic device having the semiconductor device, and wireless communication system using the semiconductor device
US8627170B2 (en) 2005-09-21 2014-01-07 Semiconductor Energy Laboratory Co., Ltd. Cyclic redundancy check circuit and semiconductor device having the cyclic redundancy check circuit
US9009563B2 (en) 2005-09-21 2015-04-14 Semiconductor Energy Laboratory Co., Ltd. Cyclic redundancy check circuit and semiconductor device having the cyclic redundancy check circuit
US9294126B2 (en) 2005-09-21 2016-03-22 Semiconductor Energy Laboratory Co., Ltd. Cyclic redundancy check circuit and semiconductor device having the cyclic redundancy check circuit

Similar Documents

Publication Publication Date Title
US6690308B2 (en) Computer program for implementing a modulation method and a demodulation method therefor
JP3258669B2 (en) Trellis code with improved error propagation
US6079041A (en) Digital modulation circuit and digital demodulation circuit
US6141787A (en) Digital modulation and demodulation
US5600662A (en) Error correction method and apparatus for headers
JP3234130B2 (en) Error correction code decoding method and circuit using this method
US6504493B1 (en) Method and apparatus for encoding/decoding data
JPH0267825A (en) Error correcting circuit
JPH0436487B2 (en)
JP2920065B2 (en) Data recording method, recording apparatus, reproducing apparatus and reproducing method
JPH10256921A (en) Method and device for modulating and demodulating digital data
MXPA96006099A (en) Method of digital data transmission
JP3935217B2 (en) Conversion from a sequence of m-bit information words to a modulated signal
JPS632370B2 (en)
JPH09252253A (en) Digital modulation method and demodulation method and digital modulation circuit and demodulation circuit
JP3664091B2 (en) Modulation method, modulation device, demodulation method, demodulation device, method of recording on information recording medium, information transmission method and information transmission device
JP2000149457A (en) Modulation device and method therefor, demodulation device and method therefor, and distribution medium
JPH07326973A (en) Methods for coding and decoding error detection and devices for coding and decoding error detection
JP2003078421A (en) Method and device for detecting first position of code series, and decoding method and device using the sames
JP2003288760A (en) Modulation method, modulator, recording medium, demodulation method, and demodulator
JP2868744B2 (en) Data recording method, recording apparatus, reproducing apparatus and reproducing method
JP3760966B2 (en) Modulation apparatus and method, and recording medium
JPH1198021A (en) Demodulation device and method and transmission medium
JPH03154521A (en) Viterbi decoder with output function of soft decision decoding information
JP4061844B2 (en) Modulation method, modulation device, demodulation method, demodulation device, information recording medium, information transmission method, and information transmission device