JPS6167322A - Error correction memory controlling circuit of reed solomon encoding/decoding system - Google Patents

Error correction memory controlling circuit of reed solomon encoding/decoding system

Info

Publication number
JPS6167322A
JPS6167322A JP18888184A JP18888184A JPS6167322A JP S6167322 A JPS6167322 A JP S6167322A JP 18888184 A JP18888184 A JP 18888184A JP 18888184 A JP18888184 A JP 18888184A JP S6167322 A JPS6167322 A JP S6167322A
Authority
JP
Japan
Prior art keywords
code
outputs
counter
count value
down counter
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
JP18888184A
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 JP18888184A priority Critical patent/JPS6167322A/en
Publication of JPS6167322A publication Critical patent/JPS6167322A/en
Pending legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To generate the address of an error correcting memory in accordance with Reed Solomon codes, by combining outputs of a down counter which reduces a specific value and an up counter which outputs a control signal when counts a prescribed value. CONSTITUTION:When a start pulse Q is inputted, a down counter (DC)10 is set to a loaded condition and an UP counter (UC)20 and the DC10 are reset by outputs of FFs 31 and 32, respectively. The code length 32 of a Reed Solomon (C1) code which is a set count value D is set in the DC10 and, at the same time, a clock CLK is counted and, thereafter, the set value D is successively reduced. Simultaneously, the UC20 counts the clock CLK and, when a count value is the C1 code length 32, outputs a control signal 20a. When the count value is another C2 code length 38, the UC20 outputs a nother control signal 20b to a selection circuit 30. The circuit 30 outputs a selecting signal 30a at either one of selecting signals S and R of the C1 and C2 codes and clears the DC10 and UC20 through the FFs 31 and 32, and then, outputs an address signal corresponding to the C1 or C2 code in accordance with the clock CLK number 32 or 28.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明に、2つのリードソロモン符号をインタリーブw
介t−,て2重に組合わせたクロスインタリーブ符号の
復号方式における誤り訂正回路Vct4Aする。
[Detailed Description of the Invention] [Industrial Application Field] The present invention includes interleaving of two Reed-Solomon codes.
An error correction circuit Vct4A is used in the decoding method of the doubly combined cross-interleaved code.

〔従来の技侑〕[Traditional technique]

ディジタル音q1機器などでは、2つのリードンロモン
符号?インタリープ?介して2重に組合わせる。例えば
コンパクトディスクでは、CIRC方式といいC2(2
8,24)符号とC1(32,28)符号と金組会わせ
る。こ\で括弧同第11jiは符号長、’4’r 2唄
は情報シンボル数全示し、8ビツトを1シンボルとして
いる。従って復号の際にも、C1符号を01デコーダで
復号した鏝、テインタリーブ回路でテインタリーブした
咬C2付号をC2デコーダで僕号丁を。さらにCIRC
方式では、遅延・並替えを前後に入れる。
In digital sound Q1 equipment etc., two Lead-on-Romon codes? Interleap? Combine them twice. For example, for compact discs, the CIRC method is called C2 (2
8,24) code and C1 (32,28) code. Here, the 11th ji in parentheses is the code length, '4'r 2 songs indicate the total number of information symbols, and 8 bits is one symbol. Therefore, when decoding, the C1 code is decoded by the 01 decoder, and the C2 code is read by the C2 decoder. Further CIRC
In this method, delays and rearrangements are added before and after.

このように銭雑な処理であるから、回路規模が大きく、
演算も複雑であった。そこで遅延・テインタリーブ・差
替えなどメモリを利用する処理は、1つの王メモリ上で
行ない、回路規模が拡大しないようにしている。そこで
、上式の方式に合わせて訂正実行を行なう回路としては
、第3図のような回路が適当している0この回路はデー
タをストアする王メモリ3の他に、一時的にデータ全ス
トアする訂正用メモリ2を設け、一旦データiD形2リ
ップフロップ7全介して訂正用メモリ2に転送し、再び
訂正用メモリ2からD形フリッグ70ツブ8を介して王
メモリ5にデータを転送する際に、エラーパターンを排
他的論理和回路6でデータとMOD加真して誤り訂正を
行なうものであるQ上記の回路では、誤り訂正を行なう
ため訂正用メモリ2 Vcデータをと9こみ、葦た誤ジ
訂正を行なうため訂正用メモリ2からデータを送出する
タイミングが訂正用メモリ2のアドレスカウンタを駆動
するCLKIによりきまるので、タイミング調整が容易
であった。
Since this is a cumbersome process, the circuit scale is large,
The calculations were also complicated. Therefore, processing that uses memory, such as delay, taint-leave, and replacement, is performed on one main memory to prevent the circuit scale from increasing. Therefore, as a circuit that performs correction according to the above formula, a circuit like the one shown in Figure 3 is suitable.In addition to the main memory 3 that stores data, this circuit temporarily stores all data. A correction memory 2 is provided, and the data is once transferred to the correction memory 2 through the entire iD type 2 flip-flop 7, and then again transferred from the correction memory 2 to the king memory 5 via the D type flip 70 and the knob 8. At this time, error correction is performed by adding the error pattern with data in the exclusive OR circuit 6.Q In the above circuit, in order to perform error correction, the correction memory 2 stores Vc data and Since the timing at which data is sent from the correction memory 2 for error correction is determined by the CLKI that drives the address counter of the correction memory 2, timing adjustment is easy.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

本発明の目的は、第5図の回路において、訂正用メモリ
2のデータとりこみ、送り出しを制御するため、アドレ
ス信号をC1符号・C2符号の各々に応じて作成する回
路?提供することにある。
An object of the present invention is to create an address signal in accordance with each of the C1 code and C2 code in order to control the data loading and sending of the correction memory 2 in the circuit shown in FIG. It is about providing.

〔問題点全解決するための手段〕[Means to solve all problems]

本発明の回路は、クロック入力?共通とし、所定のカウ
ント値から順次逓減するカウント+iを出力するダウン
カウンタと、カウントlitがC1符号・C2符号の符
号長に寺り、 くなるとき(て制御信号全発生するデコ
ーダ付アンプカウンタとを具備し、 C1符号・C2符号の選択信号によジ前記アップカウン
タの制御信号の1を選択し、前記画カウンタをクリアす
る手段によって、前記ダウンカウンタの出力と選択信号
の1ビツトと全組合わせて、前記訂正用メモリのアドレ
ス信号として送出することにより、訂正用メモIJ ’
に制御するものである。
Does the circuit of the present invention have a clock input? A down counter that outputs a count +i that is common and gradually decreases from a predetermined count value, and an amplifier counter with a decoder that generates all control signals when the count lit reaches the code length of the C1 code and C2 code. The output of the down counter, one bit of the selection signal, and the entire set are selected by means for selecting 1 of the control signal of the up counter according to the selection signal of the C1 code/C2 code and clearing the image counter. At the same time, by sending it as an address signal of the correction memory, the correction memo IJ'
It is intended to be controlled.

〔作  用〕[For production]

本発明の回路の動作については、実施例で詳しく説明す
るが、概略を説明する。C1符号では符号長が62シン
ボルであるから、ダウンカウンタを最初に’ 32 ”
  にロードしておく。そして順次カウント値全逓減し
、カウント値を訂正用メモリにアドレス信号として送出
する。これによって王メモリからのデータがアドレス番
号62゜31、・・・に納入される。このアドレス番号
はフレーム内のシンボル位置に対応させれば、シンボル
++ 0 ++〜1131” としてシンボル++ 3
11+  がアドレス゛32°゛に格納されることにな
る。同時にアップカウンタは1°01′からカウントア
ツプし32”  −iでカウントアツプしたとき制御信
号を発生し、両方のカウンタをクリアする。C2符号の
場合1’1t2Bシンボルであるから、ダウンカウンタ
には最初に”28”  をロードすれはよい(・以上は
、王メモリからデータ金とりこむ場合につき説明したが
、王メモリへデータを送す出す場合は、C1符号では検
全シンボルをおとし、28シンボルとして送出すればよ
いからダウンカウンタを最初に”28”  にロードす
ればよい。
The operation of the circuit of the present invention will be explained in detail in Examples, but will be briefly explained below. Since the code length of the C1 code is 62 symbols, the down counter is first set to '32'.
Load it into . Then, the count value is completely decreased one after another, and the count value is sent to the correction memory as an address signal. As a result, data from the king memory is delivered to address numbers 62.31, . . . . If this address number corresponds to the symbol position within the frame, the symbol ++ 3
11+ will be stored at address "32°". At the same time, the up counter counts up from 1°01', and when it counts up at 32''-i, it generates a control signal and clears both counters.In the case of C2 code, it is a 1'1t2B symbol, so the down counter It is good to load "28" first (・The above explanation is for the case of importing data from the king memory, but when sending data to the king memory, the check symbol is dropped in the C1 code and the symbol is set as 28. All you have to do is send it out, so first load the down counter to "28".

〔実 施 例〕〔Example〕

以下、本発明の一実施例VCついて、第1図の回路ブロ
ック図、第2図のタイムチャート全参照して説明する。
Hereinafter, a VC according to an embodiment of the present invention will be described with reference to the circuit block diagram of FIG. 1 and the time chart of FIG. 2.

第1図において、ダウンカウンタ10.アップカウンタ
20  は共通のクロックCLKffカウントスル0°
“0゛憤号のスタートパルス(Q〕が入力すると、この
°゛0°“信号はダウンカウンタ10のロード信号であ
るとともに(JK)フリップフロップ31の出力FLO
O全″プにし、1之(R8)フリップフロップ62  
の出力FLO2′ft″0″にする。ダウンカラ/り1
0はa−ド借号によジ設足カウント1直り全ロードする
。ダウンカウンタ1Gのクリア端子ハ゛1°゛のとき、
リセットするが、このとキ°゛0°“であるからロード
できる。スタートバルス〔Q〕 が消滅すれば、そのと
きからダウンカウンタ10は設定カウント値りよジ順次
ダウンカウントし全出力を信号C42として訂正用メモ
リ2のアドレスバスに送出する。例えばC1デコーダの
動作として訂正用メモリ2にデータをよみこむ場合には
設定カウント値りを32″ として、アドレス゛’52
”  からデータをよみこんで行くことになる。
In FIG. 1, a down counter 10. Up counter 20 uses common clock CLKff count through 0°
When the “0” start pulse (Q) is input, this “0” signal is the load signal of the down counter 10 and (JK) the output FLO of the flip-flop 31.
1 (R8) flip-flop 62
The output of FLO2'ft is set to 0''. Down collar/ri 1
0 is a-do borrowed number, the initial count is set to 1, and the entire load is completed. When the clear terminal of down counter 1G is high 1°,
It is reset, but since the key is 0°, it can be loaded. When the start pulse [Q] disappears, the down counter 10 sequentially counts down from the set count value and outputs the entire output as the signal C42. The data is sent to the address bus of the correction memory 2.For example, when reading data into the correction memory 2 as part of the C1 decoder operation, the set count value is set to 32'' and the address ``52'' is sent.
” The data will be read from .

ところで、スタートパルス(c+:IU(Jllフリラ
グ5の出力FLOOi″1′にするから、アップカウン
タ20のクリアを解除し、アップカウンタ20はクロッ
クCLKiカウントして行く。アップカウンタ20はデ
コーダ出力としてカウント数が32″ のとき制御信号
20a、 ’28”のとき制御信号20b 全出力する
。いずれも10′であり、C1゜C2符号の選択イぎ号
(S、R)により選択回路60で選択され信号30mと
して出力し、フリップ70ツグ31および32のそれぞ
れクリア端子、S端子に人力する。(JK)フリップ7
0ツグ61の出力FLOOはIIQI+となりアップカ
ウンタ20ハクリア状態になり、また(BS)フリップ
70ツグ32の出力Fl、02 #i″1″となりダウ
ンカウンタ10はクリア状態になる。
By the way, since the start pulse (c+:IU(Jll free lag 5 output FLOOi'' is set to 1'), the clearing of the up counter 20 is canceled and the up counter 20 counts the clock CLKi.The up counter 20 counts as the decoder output. When the number is 32'', the control signal 20a is fully output, and when the number is '28'', the control signal 20b is fully output. Both are 10' and are selected by the selection circuit 60 by the selection key (S, R) of the C1°C2 code. Output as a signal of 30m and input manually to the clear terminal and S terminal of flip 70 and 31 and 32, respectively. (JK) flip 7
The output FLOO of the 0 toggle 61 becomes IIQI+, and the up counter 20 becomes a clear state, and the output Fl, 02 #i"1" of the (BS) flip 70 toggle 32 becomes the down counter 10, and the down counter 10 becomes a clear state.

C1符号のとき選択信号tit (S=1. R=0 
)、C2符号のとき選択信号は(S=0. R=1)で
あるから信号30aはC1符号のときクロック数”32
’で現われ、C2符号のときクロック数”28″で現わ
れることになる。
In the case of C1 code, the selection signal tit (S=1. R=0
), when the C2 code is selected, the selection signal is (S=0.R=1), so the signal 30a is the clock number "32" when the C1 code is used.
', and in the case of C2 code, it appears with the clock number "28".

以上のようにして、アドレスバス上にC1符号。As described above, the C1 code is placed on the address bus.

C2符号の各々の場合につき、相応するアドレス信号か
のり、第3図に示すように王メモリ3から訂正用メモリ
の所定のアドレスにデータが転送されることになる◎ 第2図に示すタイムチャートで、信号C43゜C44は
データバス上の信号を示すもので、第5図に示すように
王メモリ3とD形フイップ70ッグ7と間のバスおよび
D形フリッグ70ツブ7と訂正用メモリ8との間のバス
上の信号ヲ示すO ダウンカウンタ10の設定カウント値りとしては、誤り
訂正実行の几め、訂正用メモリ8からストアされ比デー
タ全出力するときは、それぞれC1符号では28″ C
2符号では24″′とすればよい。情報シンボルのみ誤
り訂正全行なうからである。
In each case of the C2 code, data is transferred from the king memory 3 to the predetermined address of the correction memory as shown in Fig. 3 by the corresponding address signal.◎ In the time chart shown in Fig. 2 , signals C43 and C44 indicate signals on the data bus, and as shown in FIG. The set count value of the down counter 10 is 28'' in the C1 code when all the ratio data stored from the correction memory 8 is output. C
2 code, it may be set to 24''', because all error correction is performed only on the information symbol.

なお、アドレス信号として、上記のダウンカウンタ10
の出力C42に、CI、C2選択信号の1ビツト(こ\
ではRのピット)fMsB  として加えることにより
、CIデコーダ、C2デコーダの訂正a作全同−回路で
時分割的に行なうことができる。
Note that the above down counter 10 is used as an address signal.
1 bit of the CI, C2 selection signal is output to the output C42 of the
By adding this as fMsB (R pit), the correction a of the CI decoder and C2 decoder can all be performed in a time-division manner in the same circuit.

〔発明の効果〕〔Effect of the invention〕

、以上説明(7たように、本発明によれば、王メモリに
ストアされているデータを訂正用メモリに転送しあるい
は逆方向に転送する際に、訂正用メモリを直接ドライブ
することができるから、誤り訂正動作の際の各シンボル
位置を確実に同矩できる。従って誤訂正のおきるおそれ
が全くない。lたC1テコーダ、C2デコーダの訂正動
f′F:全同一(ロ)路で行なうことかで^る。
As explained above (7), according to the present invention, when data stored in the main memory is transferred to the correction memory or transferred in the reverse direction, the correction memory can be directly driven. , it is possible to ensure that each symbol position during error correction operation is in the same rectangle.Therefore, there is no possibility of error correction occurring.Correction operation f'F of the C1 decoder and C2 decoder: All must be performed in the same (b) path. It's loud.

証正用メモリが動作状態にあることは信号線FLOO,
FLO2によってわかり、これをフラグとして利用し、
デコーダの他の処理工程との接続に利用できる。
The signal line FLOO indicates that the authentication memory is in an operating state.
It can be found by FLO2 and used as a flag,
Can be used to connect the decoder to other processing steps.

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

第1図は本発明の一実施例の回路ブロック図、第2図は
タイムチャート、第3図は本発明により制御される訂正
用メモリを用い、符号誤りの訂正動作を行なうシステム
の説明図である。 2・・・訂正用メモリ、   3・・・王メモリ、7.
8・・・D形フリップ70ツブ、 10・・・ダウンカウンタ、  20・・・アップカウ
ンタ、30 ・・・ (CI、C2)選択回路、  3
1・・・(JK)フリップフロラフ−32・・・CBS
)フリップフロップ、S、 R・・・CI、 C2符号
の選択信号、20*、 20b・・・制御信号。
FIG. 1 is a circuit block diagram of an embodiment of the present invention, FIG. 2 is a time chart, and FIG. 3 is an explanatory diagram of a system for correcting code errors using a correction memory controlled by the present invention. be. 2... Correction memory, 3... King memory, 7.
8... D-type flip 70 tubes, 10... Down counter, 20... Up counter, 30... (CI, C2) selection circuit, 3
1... (JK) Flip Flor Rough-32...CBS
) Flip-flop, S, R...CI, C2 code selection signal, 20*, 20b...control signal.

Claims (1)

【特許請求の範囲】 リードソロモン符号のC1符号・C2符号の復号に際し
、データをストアする主メモリの他に一時的にデータを
ストアする訂正用メモリを設け、両メモリ間にデータの
授受を行なう際に誤り訂正を行なう方式の訂正用メモリ
を制御する回路であつて、 クロック入力を共通とし、所定のカウント値から順次逓
減するカウント値を出力するダウンカウンタと、カウン
ト値がC1符号・C2符号の符号長に等しくなるときに
制御信号を発生するデコーダ付アップカウンタとを具備
し、 C1符号・C2符号の選択信号により前記アップカウン
タの制御信号の1を選択し、前記両カウンタをクリアす
る手段によつて、前記ダウンカウンタの出力と選択信号
の1ビットを組合わせて、前記訂正用メモリのアドレス
信号として送出することを特徴とするリードソロモン符
号・復号方式の訂正用メモリ制御回路。
[Claims] When decoding the C1 code and C2 code of the Reed-Solomon code, a correction memory for temporarily storing data is provided in addition to the main memory for storing data, and data is transferred between the two memories. It is a circuit that controls a correction memory that performs error correction when the error is corrected, and includes a down counter that uses a common clock input and outputs a count value that decreases sequentially from a predetermined count value, and a down counter that outputs a count value that decreases sequentially from a predetermined count value, and a down counter that outputs a count value that is sequentially decreased from a predetermined count value. an up-counter with a decoder that generates a control signal when the code length becomes equal to the code length of the up-counter, and means for selecting 1 of the control signal of the up-counter based on the C1 code/C2 code selection signal and clearing both the counters. A correction memory control circuit using a Reed-Solomon code/decoding system, characterized in that the output of the down counter and one bit of the selection signal are combined and sent as an address signal for the correction memory.
JP18888184A 1984-09-11 1984-09-11 Error correction memory controlling circuit of reed solomon encoding/decoding system Pending JPS6167322A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18888184A JPS6167322A (en) 1984-09-11 1984-09-11 Error correction memory controlling circuit of reed solomon encoding/decoding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18888184A JPS6167322A (en) 1984-09-11 1984-09-11 Error correction memory controlling circuit of reed solomon encoding/decoding system

Publications (1)

Publication Number Publication Date
JPS6167322A true JPS6167322A (en) 1986-04-07

Family

ID=16231511

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18888184A Pending JPS6167322A (en) 1984-09-11 1984-09-11 Error correction memory controlling circuit of reed solomon encoding/decoding system

Country Status (1)

Country Link
JP (1) JPS6167322A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1496519A2 (en) * 1998-01-21 2005-01-12 Sony Corporation Encoding method and memory apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1496519A2 (en) * 1998-01-21 2005-01-12 Sony Corporation Encoding method and memory apparatus
EP1496519A3 (en) * 1998-01-21 2005-02-09 Sony Corporation Encoding method and memory apparatus

Similar Documents

Publication Publication Date Title
JPS6167322A (en) Error correction memory controlling circuit of reed solomon encoding/decoding system
EP1388944A1 (en) Cross interleave reed-solomon code correction
JPH05335974A (en) Error correcting method
JP2612029B2 (en) Error correction control method
JPS58218255A (en) Code error detection and correction system
JPS63128820A (en) Memory type interleave circuit
JPS6193723A (en) Error flag control circuit of read solomon coding and decoding system
JPS61232726A (en) Error correcting device
JPS6193724A (en) Two-symbol correction executing circuit of read solomon coding decoding system
JPS6148235A (en) Correction operation executing circuit of reed solomon coding and decoding system
JP2600130B2 (en) Error correction circuit
JPS592583Y2 (en) Cyclic code encoding circuit
JPS63305430A (en) Error correcting circuit
EP1388946A1 (en) Cross interleave reed-solomon code correction
JPS62118658A (en) Serial-parallel conversion circuit
JPS61169952A (en) Automatic checking method of one-bit error correcting function of memory
JPS6148234A (en) Correcting executing circuit of reed solomon coding and decoding system
JPS6142305B2 (en)
JPH0225119A (en) Method and circuit for digital data decoding
JPS5932049A (en) Error correction code generating circuit combinedly used for error correcting integrated circuit
JPH01166373A (en) Decoding circuit for magnetic disk device
JPS59161742A (en) Error correcting device
JPS6167323A (en) Error flag correcting circuit of reed solomon encoding/ decoding system
JPS5856207A (en) Ram controller
JPS58147253A (en) Error correcting device of digital information signal