JPS60152129A - Read solomon code and coding circuit - Google Patents

Read solomon code and coding circuit

Info

Publication number
JPS60152129A
JPS60152129A JP630084A JP630084A JPS60152129A JP S60152129 A JPS60152129 A JP S60152129A JP 630084 A JP630084 A JP 630084A JP 630084 A JP630084 A JP 630084A JP S60152129 A JPS60152129 A JP S60152129A
Authority
JP
Japan
Prior art keywords
circuit
flip
ram
signal
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
JP630084A
Other languages
Japanese (ja)
Inventor
Tetsushi Itoi
哲史 糸井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Home Electronics Ltd
NEC Corp
Original Assignee
NEC Home Electronics Ltd
Nippon Electric 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 NEC Home Electronics Ltd, Nippon Electric Co Ltd filed Critical NEC Home Electronics Ltd
Priority to JP630084A priority Critical patent/JPS60152129A/en
Publication of JPS60152129A publication Critical patent/JPS60152129A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/13Linear codes
    • H03M13/15Cyclic codes, i.e. cyclic shifts of codewords produce other codewords, e.g. codes defined by a generator polynomial, Bose-Chaudhuri-Hocquenghem [BCH] codes

Landscapes

  • Physics & Mathematics (AREA)
  • Algebra (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To obtain a read Solomon code coding circuit with ease of data transmission and reception by constituting all the systems with an RAM and an error correction code generating circuit transmitting and receiving RAM data. CONSTITUTION:An input signal 22 is inputted to an exclusive OR circuit 9 through a data bus 20 from the RAM and when an input control signal 21 is an H level, the signal is inputted to g3 coefficient circuits 5-8 through a gate circuit 10, and when the last input data A4 is inputted, the input control signal 21 goes to L, check words A3-A0 of a remainder term left in D flip-flop D3FF4- D0FF1 are outputted to the data bus 20 as an output signal 23b via a tri-state buffer 25 being in conductive state.

Description

【発明の詳細な説明】 背景技術 本発明は、ディジタルオーディオ機器等において、誤り
訂正符号として用いられるリードソロモン符号・符号化
回路に関する。
BACKGROUND ART The present invention relates to a Reed-Solomon code/encoding circuit used as an error correction code in digital audio equipment and the like.

従来技術 ディジタルオーディオ機器では、記録媒体に関する欠陥
などによるバーストエラーあるいはジッタ、雑音などに
よるランダムエラーが避けられないため、誤り訂正符号
を採用している。
Conventional digital audio equipment employs error correction codes because burst errors due to defects in recording media or random errors due to jitter, noise, etc. are unavoidable.

コンパクトディスク方式では、所謂CIRCを用いるが
、これはインタリーブによるバーストエラーのランダム
エラー化と、ランダムエラーに対し誤り訂正能力の高い
リードソロモン符号とを組合わせたものである。組合わ
せの方法として、インタリーブの前後にそれぞれ誤り訂
正符号を、すなわちインタリーブの前にデータ長”24
”、ブロック長−Pのリードソロモン符号を、インタリ
ーブの後にデータ長−ピ、ブロック長″′32”のリー
ドソロモン符号を生成し、組合わせている。前記誤り訂
正符号を生成する符号化回路をそれぞれC2エンコーダ
およびC1エンコーダといっている。
The compact disc system uses so-called CIRC, which combines the conversion of burst errors into random errors by interleaving and the Reed-Solomon code, which has a high error correction ability for random errors. As a combination method, an error correction code is added before and after interleaving, that is, a data length of "24" is added before interleaving.
After interleaving, a Reed-Solomon code with a block length of -P is generated and combined with a Reed-Solomon code with a data length of -P and a block length of ``32''. They are called a C2 encoder and a C1 encoder, respectively.

従来、上記のインタリーブを行なうには、インタリーブ
メモリを使用し、その1込みと読出しとの関係を利用し
て行なっていたが、インタリーブメモリと誤り訂正符号
生成回路とは別個であった。前述のCIRCでは、入力
データをC2エンコーダで検査符号を附してから、イン
タリープメモリに導き、そのインタリープメモリの出力
データをC+エンコーダに導き、検査信号を附してCI
RC信号として出力していた。
Conventionally, the above-mentioned interleaving has been performed by using an interleaving memory and utilizing the relationship between loading and reading, but the interleaving memory and the error correction code generation circuit have been separate. In the CIRC mentioned above, input data is attached with a check code by a C2 encoder, then guided to an interleap memory, and the output data of the interleap memory is guided to a C+ encoder, a check signal is attached, and the CIRC is
It was output as an RC signal.

従来の方法を改良し、誤り訂正符号の全システムのなか
で、メモリの書込み・読出し操作にか〜わるもの(例え
ばデータの遅延・並替え・インタリーブ)の−切を一つ
のRAMで実行し、メモリ上で実行できない誤り訂正符
号生成回路のみRAM外におき、RAMからデータをう
けとり、前述の生成回路の出力データを再びRAMに送
りだすようにすれば、全システムが非常に簡素な構成に
することができる。
The conventional method is improved, and in the entire error correction code system, those related to memory write and read operations (for example, data delay, rearrangement, and interleaving) are executed in one RAM, By placing only the error correction code generation circuit that cannot be executed in memory outside the RAM, receiving data from the RAM, and sending the output data of the aforementioned generation circuit back to the RAM, the entire system can be configured very simply. I can do it.

発明の開示 本発明の目的は、上記の事情に鑑み誤り訂正符号の全シ
ステムを、上述の如く1つの、RAMと、RAMとデー
タの授受を行な5誤υ訂正符号生成回路とから構成する
システムにおいて、データ授受の容易なリードソロモン
符号・符号化回路を提供することにある。
DISCLOSURE OF THE INVENTION In view of the above circumstances, it is an object of the present invention to configure an entire error correction code system from one RAM and a 5-error correction code generation circuit that exchanges data with the RAM. The object of the present invention is to provide a Reed-Solomon code/encoding circuit that facilitates data exchange in a system.

リードソロモン符号を生成する原理は周知であるが、以
下コンパクトディスクなどで用いるC2エンコーダを例
として説明する。このC2エンコーダでデータ長”24
”、ブロック長1ピのリード−ソロモン符号を生成する
。こ匁でブロック長″28″はワード数を表わし、1ワ
ードは8ビツトとする。またデータ長” 24 ”はi
ft報ワード数を示すから、検査ワード社は4となる。
The principle of generating a Reed-Solomon code is well known, but will be explained below using a C2 encoder used in compact discs as an example. With this C2 encoder, the data length is “24”.
", a Reed-Solomon code with a block length of 1 pi is generated. Here, the block length "28" represents the number of words, and one word is 8 bits. Also, the data length "24" is i
Since it shows the number of ft report words, the number of inspection word company is 4.

この符号における原始多項式F(M、生成多項式G(X
)は次式である。
Primitive polynomial F(M, generator polynomial G(X
) is the following formula.

F(X)=X8+X’+X”+X”+ I C1)G(
X)=X’+α75X3m”X”十α78X」−C6(
21こNでαは原始多項式F(XIの根である。人力の
情報ワードA4〜A27から次の多項式表示のA(資)
を与え A閃=A4 X’ +AsX5+・・・+A26X26
+AzyX”(31このA(X)をG(資)で割り、剰
余をめ、それを検査ワードA o = A s として
情報ワードA4〜A27に附加すればブロック長があワ
ードのリードソロモン符号が得られる。
F(X)=X8+X'+X"+X"+ I C1)G(
X)=X'+α75X3m"X"10α78X"-C6(
21 N, α is the root of the primitive polynomial F (XI. From the human information words A4 to A27, the next polynomial representation A (material) is
Give A flash = A4 X' +AsX5+...+A26X26
+Azy can get.

この除算回路としては第1図の回路が原理的に考えられ
る。こ〜でDは遅延素子で、lクロックごとにデータを
転送する。データをすべて人力すると、各遅延素子に所
望の剰余が残留している。
In principle, the circuit shown in FIG. 1 can be considered as this division circuit. Here, D is a delay element that transfers data every l clock. When all the data is input manually, the desired remainder remains in each delay element.

以上の原理にもとづき、本発明によるリードソロモン符
号・符号化回路は、RAMVC格納された複数個のワー
ドよりなるブロック信号を入力し、リードソロモン符号
の検査ワードを生成し、再びRAMK出力する回路であ
って、生成多項式 xm十、、gm−、xm−” + 
・+ g 。
Based on the above principle, the Reed-Solomon code/encoding circuit according to the present invention is a circuit that inputs a block signal consisting of a plurality of words stored in RAMVC, generates a check word of a Reed-Solomon code, and outputs it again to RAMK. So, the generator polynomial xm10, , gm-, xm-" +
・+g.

の次数mに等しい個数の、D形のフリップフロップC以
下FFと称する)であるDaFF(a = o 。
The number of D-type flip-flops equal to the order m of FF is DaFF (a = o).

・−、m −1)とga係数回路(a=o 、−、m−
1)とfr l l、It 八I’j’lがら1/1人
力1++ ’j r’、 ”Ill + i’l+’ 
(ハ出力信号とが加算され、ゲート回路を介して各ga
係数回路に入力し、DoFFには前述のg。係数回路の
出力が入力され、その他のり、 FFには前段のDa−
□FFの出力とga係数回路の出力とが加算されて人力
されるように、前述のp a F F * g a係数
回路が接続されていて、RAMよりブロック信号ごとに
、前述のゲート回路を開いて人力し、クロック信号によ
りデータをシフトし、ブロック信号の人力が終わると、
このゲート回路を閉じ、Dnl−1FFからバッファを
とおして、各DaFFに残留している検査ワードをクロ
ック信号によりシフトし、RAMへ出力するようにした
ものである。
-, m -1) and ga coefficient circuit (a=o, -, m-
1) and fr l l, It 8I'j'l to 1/1 human power 1++ 'j r', ``Ill + i'l+'
(C output signal is added, and each ga output signal is added via a gate circuit.
The above-mentioned g is input to the coefficient circuit and is input to DoFF. The output of the coefficient circuit is input, and the previous stage Da-
□The above-mentioned p a FF * g a coefficient circuit is connected so that the output of the FF and the output of the ga coefficient circuit are added manually, and the above-mentioned gate circuit is connected for each block signal from the RAM. Open it manually, shift the data by the clock signal, and when the block signal is finished,
This gate circuit is closed, and the test words remaining in each DaFF are shifted from the Dnl-1FF through the buffer by a clock signal and output to the RAM.

本発明の効果として、符号化すべき入力信号はRAMK
餡納されているから、本発明の回路からRA、Mへ出力
さtした検査ワードはRAMに格納されている情報ワー
ドに結合して、RAM」二エリートソロモン符号化され
たブロックとしてv1込まれたことになり、全体の誤り
訂正符号システムとして、次のインタリーブをこのRA
M」二で直ちに実行することのできるような状態にする
ことができる。コンパクトディスク等のように、二重の
エンコーダ(CI、C2)とインタリーブとを組合わせ
を行なうような場合には全システムが1つのit A 
Mとエンコーダとから構成できるからシステム系が簡紫
化された形になる。
As an effect of the present invention, the input signal to be encoded is RAMK
Since the check words output from the circuit of the present invention to RA and M are combined with the information words stored in the RAM, they are stored in the RAM as two-elite Solomon encoded blocks. Therefore, as a whole error correction code system, the next interleaving is performed using this RA.
It can be put into a state where it can be executed immediately with "M"2. When a combination of dual encoders (CI, C2) and interleaving is performed, such as in the case of compact discs, the entire system is integrated into one IT A.
Since it can be configured from M and an encoder, the system system can be simplified.

発明を実施するための最良の形態 以下、具体的な実施例の説明をする。第2図はC2エン
コーダの回路ブロック図である。
BEST MODE FOR CARRYING OUT THE INVENTION Specific examples will be described below. FIG. 2 is a circuit block diagram of the C2 encoder.

C2エンコーダについては、(1)式、(2)式で、原
始多項式、生成多項式を示しておいた。D形FFとして
はI)o FFI 〜D3 FF4とを有し、またg係
数回路としてはg係数回路5〜g3係数回路8とを有し
ている。各係数回路はそれぞれ入力信号をg。、〜rg
3倍する。図では、原始光の乗巾で示しであるが、実際
の回路では多項式表現で、人力信号との積をとる。
Regarding the C2 encoder, the primitive polynomial and generator polynomial are shown in equations (1) and (2). The D-type FFs include I)o FFI to D3 FF4, and the g coefficient circuits include g coefficient circuits 5 to g3 coefficient circuits 8. Each coefficient circuit receives an input signal g. ,~rg
Multiply by 3. In the figure, the multiplication width of the primitive light is shown, but in the actual circuit, it is expressed as a polynomial and the product with the human input signal is calculated.

人力信号22は、RA M (図示していない)からデ
ータバス加をとおって論理和回路9(以下では論理和回
路はすべて排他的論理和回路を意味する)に人力される
。人力制御信号21がH′であると、ゲート回路10は
開き、人力信号22はゲート回路10をとおって各ga
係数回路5〜8に人力される。なお入力信号22は(3
)式の多項式表示の高次から順にA27#A261・・
・と入ってくる。
The input signal 22 is input from the RAM (not shown) to the OR circuit 9 (hereinafter all OR circuits mean exclusive OR circuits) via a data bus. When the human power control signal 21 is H', the gate circuit 10 is opened and the human power signal 22 passes through the gate circuit 10 to each ga.
The coefficient circuits 5 to 8 are manually operated. Note that the input signal 22 is (3
)A27#A261...
・He comes in.

go係数回路5の出力は直接にり。FFIに人力される
が、gl”””−g3係数回路6〜8の出力はそれぞれ
論理和回路11〜J3によって、’DFFI〜D2FF
3の出力とそれぞれ加算して、D、FF2〜D3FF、
4に人力される。D31i’F4の出力は23aとして
、人力信号22と論理和回路9で加算される。
The output of the go coefficient circuit 5 is directly output. The outputs of gl"""-g3 coefficient circuits 6 to 8 are inputted manually to FFI, but the outputs of gl"""-g3 coefficient circuits 6 to 8 are input to 'DFFI to D2FF by OR circuits 11 to J3, respectively.
D, FF2~D3FF,
4 will be done manually. The output of D31i'F4 is added as 23a to the human input signal 22 in the OR circuit 9.

クロック信号24によって、データは回路内をシフトし
て移動してゆく。最後の人力データA4が人力したとき
に入力制御信号21はL”になり、ゲート回路10は閉
じ、3ステ一トバツフア局が導通状態になる。このとき
D3FF4〜DoFF1には除算の結果の剰余項が残っ
ている。これがリードソロモン符号の検査ワードA3 
+ A2 + At +Anである。この状態でさらに
クロックイ1号Uが人ってくるのでD3FF4から出力
信号23bとして3ステートバツフア25ヲ介してデー
タバスかに検査ワードA3以下が出力される。 またゲ
ート回路10は閉じているので、零信号が入力されるこ
とになり、各り。FF2〜D3FF4は出力零となる。
Clock signal 24 shifts data through the circuit. When the last human input data A4 is input manually, the input control signal 21 becomes L'', the gate circuit 10 is closed, and the 3-state buffer station becomes conductive.At this time, D3FF4 to DoFF1 are filled with the remainder term of the division result. remains. This is the check word A3 of the Reed-Solomon code.
+ A2 + At + An. In this state, since clock number 1 U arrives, the test word A3 and the following are outputted from D3FF4 to the data bus as an output signal 23b via the 3-state buffer 25. Also, since the gate circuit 10 is closed, a zero signal is input, so each one is different. FF2 to D3FF4 have an output of zero.

上記の検査ワードA o ”−A sがRAMに格納さ
れ、リードソロモン符号が容易にRAM内にブロック信
号として保持されるので、後のインタリーブ操作をタイ
ミング良く実行できる。
Since the above check word A o ''-A s is stored in the RAM and the Reed-Solomon code is easily held as a block signal in the RAM, subsequent interleaving operations can be performed in a timely manner.

なおC1エンコーダについても、同一の生成多項式を用
いるから同一の回路構成でよいので、ここではその詳細
は省略する。
Note that the C1 encoder also uses the same generating polynomial and therefore has the same circuit configuration, so its details will be omitted here.

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

第1図は、リードソロモン符号化の原理を説明するため
の図、第2図は本発明の具体的実施例の回路ブロック図
である。 1〜4・・・Daミツリップフロップa=’0〜3)、
5〜8・・・ga係数回路(a=0〜3)、9 、11
 、12 、13・・・論理和回路、10・・・ゲート
回路、 加・・・データバス、n・・・入力信号、 23a、b・・・D3フリップ70ツブの出力信号、2
4・・・クロック、25・・・3ス−y−−トバッファ
、26・・・クリア信号。
FIG. 1 is a diagram for explaining the principle of Reed-Solomon encoding, and FIG. 2 is a circuit block diagram of a specific embodiment of the present invention. 1~4...Da Mitsurilipflop a='0~3),
5-8...ga coefficient circuit (a=0-3), 9, 11
, 12, 13...OR circuit, 10...gate circuit, addition...data bus, n...input signal, 23a, b...output signal of D3 flip 70 tube, 2
4...Clock, 25...3 suite buffer, 26...Clear signal.

Claims (1)

【特許請求の範囲】 RAMに格納された複数個のワードよりなるブロック信
号が人力され、リードソロモン符号の検査ワードを生成
した後、再び前記1(AMに出力する回路であって、 生成多項式 x”十gm、xm−’十・・・十g。 の次数mに等しい個数の、D形のDaミツリップフロッ
プ但しaは0,1.・・・9m−1とする)とgo係数
回路(但しaは前記aと同じ)とを有し、前記Daミツ
リップフロップうち、DIn−1フリツプフロツプの出
力信号を前記RAMからの入力信号と加算し、これをゲ
ート回路を介して前記g8係数回路の各々に入力すると
ともに、前記Daフリップ70ツブのうちDoフリップ
フロップには前記go係数回路の出力を入力し、その他
のDaフリップ70ツブには前段のDa−1フリツプフ
ロツプの出力と前記gaQ数回路の出力とが加算されて
入力するように、前記Daミツリップフロップよびga
係数回路間の接続を設定し、前記go係数回路の各々に
対し、前記RAMより前記ブロック信号ごとにクロック
信号によりデータをシフトして入力するように前記ゲー
ト回路のゲートを開き、かつ前記ブロック信号の入力が
終ると、前記ゲート回路のゲートを閉じることによって
、前記Drn−□フリップフロップから、バッファをと
おして、各Daミツリップフロップ残留している検査フ
ードを前記クロック信号によりRAMへ供給することを
特徴としたリードソロモン符号・符号化回路。
[Scope of Claims] A block signal consisting of a plurality of words stored in a RAM is manually inputted to generate a check word of a Reed-Solomon code, and then the circuit outputs the 1 (AM) again to the generating polynomial x ``10 gm, However, a is the same as above a), and the output signal of the DIn-1 flip-flop among the Da flip-flops is added to the input signal from the RAM, and this is added to the g8 coefficient circuit through the gate circuit. In addition, among the 70 Da flip-flops, the output of the go coefficient circuit is input to the Do flip-flop, and the output of the previous stage Da-1 flip-flop and the output of the gaQ number circuit are input to the other 70 Da flip-flops. The Da mitsu flip-flop and the ga
The connection between the coefficient circuits is set, and the gate of the gate circuit is opened so that data is shifted and inputted from the RAM by the clock signal for each block signal to each of the go coefficient circuits, and When the input is completed, by closing the gate of the gate circuit, the test hood remaining in each Da flip-flop is supplied from the Drn-□ flip-flop to the RAM by the clock signal through the buffer. A Reed-Solomon code/encoding circuit featuring:
JP630084A 1984-01-19 1984-01-19 Read solomon code and coding circuit Pending JPS60152129A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP630084A JPS60152129A (en) 1984-01-19 1984-01-19 Read solomon code and coding circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP630084A JPS60152129A (en) 1984-01-19 1984-01-19 Read solomon code and coding circuit

Publications (1)

Publication Number Publication Date
JPS60152129A true JPS60152129A (en) 1985-08-10

Family

ID=11634522

Family Applications (1)

Application Number Title Priority Date Filing Date
JP630084A Pending JPS60152129A (en) 1984-01-19 1984-01-19 Read solomon code and coding circuit

Country Status (1)

Country Link
JP (1) JPS60152129A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06291683A (en) * 1993-03-31 1994-10-18 Nec Corp Error correction code generating circuit

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58123252A (en) * 1982-01-18 1983-07-22 Mitsubishi Electric Corp Encoding circuit for shortened cyclic code

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58123252A (en) * 1982-01-18 1983-07-22 Mitsubishi Electric Corp Encoding circuit for shortened cyclic code

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06291683A (en) * 1993-03-31 1994-10-18 Nec Corp Error correction code generating circuit

Similar Documents

Publication Publication Date Title
AU610078B2 (en) Method and apparatus for error correction
US4777635A (en) Reed-Solomon code encoder and syndrome generator circuit
US6105159A (en) Trellis code with improved error propagation
US4117458A (en) High speed double error correction plus triple error detection system
JPH0319735B2 (en)
EP0076862A1 (en) Error correction coding method
US4633472A (en) Multiprocessor computer system comprising n parallel operating computer modules, and computer module for use in such a multiprocessor computer system
EP0753942A2 (en) Word-wise processing for reed-solomon codes
US4649542A (en) Digital signal transmission method providing high error correction capability
JPS59151246A (en) Encoder inspector
JPS60152129A (en) Read solomon code and coding circuit
KR880000252B1 (en) Error correction coded method
JPS5851642A (en) Digital information signal transmitting system and transmission circuit device
JPS5843934B2 (en) Shingouhenkansouchi
KR100200810B1 (en) Error correction encoding method and apparatus
KR0155734B1 (en) Digital signal management method and apparatus
KR930005439B1 (en) Reed solomon encoding circuit of optical recording and reproducing system
JPS59154836A (en) Interleaving circuit
JP2738659B2 (en) Encoding method, encoding device, and decoding device
JP2612029B2 (en) Error correction control method
JPS592583Y2 (en) Cyclic code encoding circuit
JPH0566673B2 (en)
SU964736A1 (en) Error-correcting storage
KR100207616B1 (en) Method and circuit for the processing of error flags
JPS63158916A (en) Parallel/serial converter