JPS61145934A - Decoder for run length limited code - Google Patents

Decoder for run length limited code

Info

Publication number
JPS61145934A
JPS61145934A JP26910784A JP26910784A JPS61145934A JP S61145934 A JPS61145934 A JP S61145934A JP 26910784 A JP26910784 A JP 26910784A JP 26910784 A JP26910784 A JP 26910784A JP S61145934 A JPS61145934 A JP S61145934A
Authority
JP
Japan
Prior art keywords
bit
decoding
code
run
decoding device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP26910784A
Other languages
Japanese (ja)
Other versions
JPH0695644B2 (en
Inventor
Akira Iketani
池谷 章
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 JP26910784A priority Critical patent/JPH0695644B2/en
Publication of JPS61145934A publication Critical patent/JPS61145934A/en
Publication of JPH0695644B2 publication Critical patent/JPH0695644B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Dc Digital Transmission (AREA)

Abstract

PURPOSE:To attain miniaturization by dividing an n bits into plural blocks, decoding each divided block tentatively and decoding a data word based on the combination of results to decrease the capacity of a ROM. CONSTITUTION:The code word unit is kept for a recovered code word by a serial/parallel converter 1 and a 12-bit D flip-flop 2(DFF) at first. Then the head bit of the code word stored in the DFF2 is fed to one input of an exclusive OR gate 4 via an inverter 3 and an output of the DFF2 is given as it is to the other input. Then the high-order and low-order 6 bits in the code word of a table pattern appearing at the output terminal of the gate 4 are given respectively to the address terminal of ROMs 5, 6. Finally, a 2-bit value R1 being an output of the ROM5 and a 4-bit value R2 being an output of the ROM6 are given to a ROM7, then a data word corresponding to the inputs R1 and R2 appears and it is an output of the decoder.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、ディジタル信号の伝送及び記録に用いられる
ランレングスリミテッド(Run LengfhLim
ited)符号の復号装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a run length limited device used for transmitting and recording digital signals.
It relates to a code decoding device.

従来の技術 磁気テープやディスクなどにディジタルデータを高密度
記録する場合、通常ランレングスリミテッド符号(以降
RLL符号と記す)を用いている。
2. Description of the Related Art When high-density recording of digital data on magnetic tapes, disks, etc., run-length limited codes (hereinafter referred to as RLL codes) are usually used.

RLL符号とは、同一2進値の連続ビット数をd以上に
以下に制限する符号を言い、このような性質を有するR
LL符号は、mビットのデータ語(ピット長T)をmよ
り大なるnビットの符号語に変換することにより得られ
る。
An RLL code is a code that limits the number of consecutive bits of the same binary value to d or more and less than d.
The LL code is obtained by converting an m-bit data word (pit length T) into an n-bit code word larger than m.

このようにして得られるRLL符号において、1ピツト
を識別するのに要する長さく検出窓幅)7、、=−’r
、最小反転間隔”ylin =d” Tas となる。
In the RLL code obtained in this way, the length required to identify one pit is the detection window width) 7, , = -'r
, the minimum inversion interval "ylin = d" Tas.

一般的に、記録・再生系では高周波数成分が遮断される
ため波形干渉が生じる。この波形干渉を少なく抑えるた
めに前記Tylinは大であることが望ましい。
Generally, in a recording/reproducing system, waveform interference occurs because high frequency components are blocked. In order to suppress this waveform interference, it is desirable that the Tylin is large.

又、波形干渉やジッタなどの時間軸変動による影響を抑
えるために、前記T(I、は大である方が良く、加えて
、セルフクロック機能を得るために前記には小であるこ
とが望ましい。
Further, in order to suppress the influence of time axis fluctuations such as waveform interference and jitter, it is better that the above T(I) be large, and in addition, it is desirable that the above T(I) be small in order to obtain a self-clock function. .

従来、上記観点から種々のRLL符号が開発されてきた
Conventionally, various RLL codes have been developed from the above viewpoint.

一方、RLL符号を使用する場合、受信あるいは再生側
において、nビットの符号語をmビットのデータ語に復
元する復号装置が必要不可欠である。
On the other hand, when using an RLL code, a decoding device that restores an n-bit code word to an m-bit data word is essential on the receiving or reproducing side.

nビットの符号語を直接mビットのデータ語に復元する
従来の復号装置においては、復号にROMを使用する場
合のメモリー容量v1はv、=2n−mとなる。しかし
、復号に本質的に必要なメモリー容量V′はv′=2m
−mであるから、メモリーの利用効率Eを式(1)で定
義すると、nとmの差IC: v2/ V、 = 2m
−”   −・−−−−−−(1)が大になるにつれて
、メモリーの利用効率は指数関数的に悪化する。
In a conventional decoding device that directly restores an n-bit code word to an m-bit data word, the memory capacity v1 when a ROM is used for decoding is v,=2n-m. However, the memory capacity V′ essentially required for decoding is v′=2m
-m, so if the memory usage efficiency E is defined by equation (1), the difference between n and m IC: v2/V, = 2m
−” −・−−−−−− As (1) becomes larger, the memory usage efficiency deteriorates exponentially.

たとえば第1表に示す、d=3.に=7 、m=5.1
m=:12.及びTtIJ=0.417TなるRLL符
号の場合には次のようになる。
For example, as shown in Table 1, d=3. ni=7, m=5.1
m=:12. In the case of an RLL code where TtIJ=0.417T, the following equation is obtained.

まず、第1表のRLL符号がd:3 、にニアを満たす
ことを示す。第1表から明らかなように、d=3 、に
=yを満たす12ビツトの符号語は32語あり、6ビツ
トよりなる32(:25)語のデータ語に1対1対応可
能である。
First, it is shown that the RLL code in Table 1 satisfies the nearness at d:3. As is clear from Table 1, there are 32 12-bit code words satisfying d=3 and =y, which can have a one-to-one correspondence with 32 (:25) data words each consisting of 6 bits.

なお、第1表にFilで始まる表パターンの符号語と、
表パターンの1を0に、0を1にすべて置き換えた裏パ
ターンを併記してあり、これらの符号語とデータ語との
対応は表パターンと裏パターンを1組にしてデータ語1
語に対応させる。そして、表パターンと裏パターンの選
択は次のようにして行う。
In addition, Table 1 shows the code words of the table pattern starting with Fil,
A back pattern in which all 1's in the front pattern are replaced with 0's and all 0's are replaced with 1's is also shown, and the correspondence between these code words and data words is as follows.
correspond to the word. The front pattern and back pattern are selected as follows.

符号語の左端における同一2進値の連続ビット数Eが2
ならばF=Q、3以上ならばF=1とする値Fと、符号
語の右端における同一2進値の連続ビット数rが2以下
ならばに==0.3以上ならばz=1とする値Eと、符
号語の最終ビットを示す値LBを用いて、符号語を表パ
ターンにするときはY二〇、裏パターンにするときはY
=1とする値をYとする。
The number E of consecutive bits of the same binary value at the left end of the code word is 2.
Then, F=Q, if 3 or more, F=1. If the value F and the number r of consecutive bits of the same binary value at the right end of the code word are 2 or less, then ==0.3 or more, then z=1. Using the value E, which indicates the last bit of the code word, and the value LB, which indicates the last bit of the code word, set Y20 to make the code word a front pattern, and Y20 to make a back pattern.
Let Y be the value that makes =1.

第   1    表 ここで、1つ前に送出した符号語のEをE、。Chapter 1 Table Here, E of the code word sent out one time ago is E.

L、BをLB、、これから送出する符号語のFをF2と
すると、これから送出する符号語に関して次式(2)に
よって、表−裏パターンの切り換えを行う。
Assuming that L and B are LB, and F of the code word to be sent from now is F2, front-back patterns are switched using the following equation (2) for the code word to be sent from now.

Y−LB、■(K、・F2)    ・・・・・・・・
・ (2)ただし、“■”は排他的論理和、゛・”は論
理積、”−”は否定を表わす。
Y-LB,■(K,・F2)・・・・・・・・・
- (2) However, "■" represents exclusive OR, ゛・" represents logical product, and "-" represents negation.

たとえば、1つ前に送出した符号語として第1表の&1
の表パターンの符号語を仮定する。このときE、=1.
LB、=1である。次いで、これから送出しようとする
符号語が第1表の&2の符号語である場合、F2二1で
ある。したがって、式%式%) となり、これから送出する符号語は裏パターンにする0
とを示す。この結果、第3図に示すように、符号語どう
しを接続しても、下線を施したその接続部においても同
一2進値の連続ビット数は3以上7以下となる。
For example, &1 in Table 1 is used as the previous code word sent.
Assume the codeword of the table pattern. At this time, E = 1.
LB,=1. Next, if the code word to be sent is the code word &2 in Table 1, then F221. Therefore, the code word to be sent from now on will be the back pattern 0
and As a result, as shown in FIG. 3, even if code words are connected, the number of consecutive bits of the same binary value will be 3 or more and 7 or less even at the underlined connection portion.

同様にして、第1表の符号語どうしの接続に関しては1
式(2)に従う限りにおいては必ず、その接続部におい
てもd==3 、に=7なる制限を満たすことがわかる
Similarly, for the connection between code words in Table 1, 1
As long as Equation (2) is followed, it can be seen that the connection part also always satisfies the restrictions of d==3 and d=7.

以上示した第1表に示すd:3 、にニア 、m=6+
 n = 12なるRLL符号の復号に際しては、従来
の一般的な方法によれば、復号のためのFIOMの容量
V、はv、=2  ・5::20480ビツト必要であ
る。
d shown in Table 1 above: 3, near, m=6+
When decoding an RLL code with n=12, according to the conventional general method, the capacity of the FIOM for decoding, V, is required to be v,=2.5::20480 bits.

なお、第1表における値欄については実施例で説明する
Note that the value columns in Table 1 will be explained in Examples.

発明が解決しようとする問題点 上述のように、d=3 、に=7 、 m=5 、n:
=12なるRLL符号の復号装置においては、高々32
種類しかない符号語を識別するのに、12ビツトすべて
を用いている。これが、復号装置におけるROMの容量
を不必要に大きくする原因となる。
Problems to be solved by the invention As mentioned above, d=3, ni=7, m=5, n:
In a decoding device for an RLL code of =12, at most 32
All 12 bits are used to identify codewords of only one type. This causes the capacity of the ROM in the decoding device to become unnecessarily large.

一般的に、符号語長nを大きくすると、前記d。Generally, when the codeword length n is increased, the above d.

k、Tωのいずれかを改善できることが知られている。It is known that either k or Tω can be improved.

しかしながら、復)装置のROMの容量により、nが犬
なるRLL符号の使用は事実上不可能であった。
However, due to the capacity of the ROM of the device, it is virtually impossible to use an RLL code where n is a dog.

問題点を解決するための手段 本発明は、前記問題点を解決するため、復号装置におけ
るROMの容量を減らすことを目的とし、nビットを複
数のブロックに分割し、その分割したブロック毎に仮復
号し、その仮復号した結果の組み合わせを基にデータ語
を復号するという、2段階の復号操作を行うことを特徴
とするものである。
Means for Solving the Problems In order to solve the above-mentioned problems, the present invention aims to reduce the capacity of the ROM in the decoding device. It is characterized by performing a two-step decoding operation: decoding and then decoding the data word based on the combination of the tentative decoding results.

作用 上記の構成によれば、たとえば、nビットの符号語を第
1図に示すように、n1ビツトとn2ビツトの2つのブ
ロックに分割する。又、このn、ビットのブロックにお
いて生じるビットパターン数k p、 (2”’″’<
p、 < 2Q1)、n2ヒツトノフロソクにおいて生
じるビットパターン数をP2(2Q2−’ <P2< 
2Q2  )とする。
Operation According to the above configuration, for example, an n-bit code word is divided into two blocks of n1 bits and n2 bits, as shown in FIG. Also, the number of bit patterns occurring in this block of n bits k p, (2''''''<
p, < 2Q1), n2 The number of bit patterns occurring in the human flow pattern is expressed as P2(2Q2-'<P2<
2Q2).

このとき、n1ビツトのブロックにおいて現われるPl
 個のビットパターンは、Q1ビットを用いて互い区別
でき、同様に、n2ビツトのブロックにおいて現われる
22個のビットパターンは、92ビツトを用いて互いに
区別できる。
At this time, Pl appearing in a block of n1 bits
The 22 bit patterns appearing in a block of n2 bits can be distinguished from each other using the 92 bits.

したがって、この場合、nビットの符号語はQ、+Q2
ビットで互いに区別できる。このとき。
Therefore, in this case, the n-bit codeword is Q, +Q2
They can be distinguished from each other by bits. At this time.

n、ビットのブロックのビットパターンヲQ、ビットに
仮復号する手段と、n2ビツトのブロックのビットパタ
ーンを92 ビットに仮復号する手段が共にROMによ
るものとすると、復号に要するROMの総容量v2は次
式(3)で与えられる。
If the means for provisionally decoding the bit pattern of a block of n bits into Q, bits and the means for provisionally decoding the bit pattern of a block of n2 bits into 92 bits are both based on ROM, the total capacity of the ROM required for decoding v2 is given by the following equation (3).

V2:Q、−2’ +Q2−2町+m” 、!Q++9
2) 、、、 (3゜一般的に、nビットの符号語をL
個の小ブロックに分割し、その分割した町(1くi<h
・、Σn11=1 =n)ピントのブロックにおいて現われるビットパター
ン数をP、 (2(Qi)−’< p、 <2” )と
すると、この21個のビットパターンはQ、ビットによ
り互いに区別でき、従って、復号装置におけるROMの
総容量は式(4)となる。
V2:Q, -2' +Q2-2 town+m'',!Q++9
2) ,,, (3゜Generally, an n-bit code word is L
The town is divided into small blocks (1kui<h
・,Σn11=1=n) If the number of bit patterns appearing in the focused block is P, (2(Qi)-'< p, <2''), these 21 bit patterns can be distinguished from each other by Q, bits. , Therefore, the total capacity of the ROM in the decoding device is expressed by equation (4).

したがって、Vb<m・2n  となれは復号装置にお
けるROMの容量は従来よりも少くなる。式(4)の第
1項は仮復号に要するROMの容量であり。
Therefore, when Vb<m·2n, the capacity of the ROM in the decoding device becomes smaller than in the conventional case. The first term in equation (4) is the capacity of the ROM required for temporary decoding.

式(4)の第2項は最終的な復号に要するROMの容量
であるから。
This is because the second term in equation (4) is the capacity of the ROM required for final decoding.

削減の効果は小さい。The effect of reduction is small.

一方、niビットのブロックにおいて現われるPl個の
ビットパターンはQt ビットで互いに区別できるが、
Q、ビットの情報をより有効にするには、Piは2のベ
キ乗にできるだけ近い値であることが望ましい。
On the other hand, Pl bit patterns appearing in a block of ni bits can be distinguished from each other by Qt bits, but
In order to make the information of Q and bits more effective, it is desirable that Pi be a value as close to a power of 2 as possible.

要約すると、次に示すm 、 (filがnビットの符
号語を分割する指針となる。
To summarize, the following m, (fil is a guideline for dividing an n-bit code word.

(iD  Pi z2” 実施例 次に、実施例を用いて1本発明により復号装置に要する
ROMの総容量を従来より少なく、しかも簡単にできる
ことを詳細に示す。
(iD Pi z2'' Example) Next, using an example, it will be shown in detail that the present invention can reduce the total capacity of the ROM required for a decoding device compared to the conventional one, and can also be done easily.

本実施例で使用するRLL符号は第1表に示すd:3 
、にニア 、m=5及びn=12、したかっこのRLL
符号の符号語長はn=12である、本実施例ではn=1
2をn、=6及びn2=6の2つのブロックに分ける。
The RLL code used in this example is d:3 shown in Table 1.
, near , m=5 and n=12, RLL in brackets
The code word length of the code is n=12, in this example n=1
2 into two blocks, n,=6 and n2=6.

このとき、n、=6ビツトの第1ブロツクに現われるビ
ットパターン、及び、n2二6 ビットの第2ブロツク
に現われるビットパターンは各々第2表のようになる。
At this time, the bit pattern appearing in the first block of n=6 bits and the bit pattern appearing in the second block of n226 bits are as shown in Table 2.

(以下余白) 第    2    表 第2表より明らかなように、第1ブロツクのビットパタ
ーン数P、==4 、第2ブロツクのビットパターン数
P2==13であるから、前記Q1=2eQ2=4とな
るので、第2表の各ビットパターンをQi(i = 1
 、2 )ビットを用いて表わし、た値(16進表記)
は第2表のR,、R2となる。
(Leaving space below) Table 2 As is clear from Table 2, the number of bit patterns in the first block, P, is 4, and the number of bit patterns in the second block, P2, is 13, so Q1=2eQ2=4. Therefore, each bit pattern in Table 2 is expressed as Qi (i = 1
, 2) Value expressed using bits (hexadecimal notation)
are R, , R2 in Table 2.

したがって、復号装置に必要なROMの総容量は式(3
)ヨリV2: 2−2’+ 4−2’ + 5−2’ニ
ア 04 ヒツトとなる。これは従来の復号装置に必要
なROMの容量V、=20480ビットに比べて、約1
/29である。
Therefore, the total capacity of ROM required for the decoding device is expressed by the formula (3
) Twist V2: 2-2'+ 4-2' + 5-2' near 04 Hit. This is approximately 1% compared to the ROM capacity V, = 20480 bits required for a conventional decoding device.
/29.

なお、裏パターン入力に対しては、符号語の先頭ビット
が0であるから裏パターンであることを容易に検出でき
る。したがって、裏パターンの場合は表パターンに戻し
てから、本発明の復号装置に送るようにする。
Note that for a back pattern input, since the first bit of the code word is 0, it can be easily detected that it is a back pattern. Therefore, in the case of a back pattern, it is changed back to a front pattern before being sent to the decoding device of the present invention.

次に、本発明の復号装置の回路構成を、第2図に示すブ
ロック図を用いて詳細に説明する。
Next, the circuit configuration of the decoding device of the present invention will be explained in detail using the block diagram shown in FIG.

まず、再生されて来る符号語は、シリアル−パラレル変
換器1(’S/P)及び、12ビツトのDフリップフロ
ップ2(DFF)で符号語単位で保持する。そして、D
フリップフロップ2に保持された12ビツトの符号語の
先頭ビットは、インバータ3を通して12個の2人力の
排他的論理和ゲルト4の一方の入力端子に送る、又、1
2個の2人力排他的論理和ゲート4のもう一方の入力端
子には、Dフリップフロップ2の出力をそのまま送る。
First, the reproduced code words are held in units of code words by a serial-parallel converter 1 ('S/P) and a 12-bit D flip-flop 2 (DFF). And D
The first bit of the 12-bit code word held in the flip-flop 2 is sent through an inverter 3 to one input terminal of 12 two-man exclusive OR gels 4.
The output of the D flip-flop 2 is directly sent to the other input terminal of the two two-man exclusive OR gates 4.

こうすることで、12個の2人力排他的論理和ゲート4
の出力には必ず表パターンの符号語が現われる。
By doing this, 12 two-man exclusive OR gates 4
The codeword of the table pattern always appears in the output.

次いで、12個の2人力排他的論理和ゲート4の出力端
子に現われた表パターンの符号語の内。
Then, among the code words of the table pattern appearing at the output terminals of the twelve two-man exclusive OR gates 4.

上位6ビツトつまり符号語の第1ブロツクをROM6の
アドレス端子に送り、一方、下位6ビツトつまり符号語
の第2ブロツクiROMeのアドレス端子に送る。
The upper 6 bits, ie, the first block of the code word, are sent to the address terminal of ROM 6, while the lower 6 bits, ie, the second block of the code word, are sent to the address terminal of iROMe.

この結果、ROM6の出力には入力の6ビツトに対応す
る2ビツトの値R1が現われ、ROM6の出力には入力
の6ビツトに対応する4ビツトの値R2が現われる。
As a result, a 2-bit value R1 corresponding to the 6 bits of the input appears at the output of the ROM 6, and a 4-bit value R2 corresponding to the 6 bits of the input appears at the output of the ROM 6.

そして、最後に、合計6ビツトになるFT、とR2をR
OM7に送ると、その出力には第1表の値の項に示す。
Finally, FT and R2 are R2, which is 6 bits in total.
When sent to OM7, its output is shown in the Values section of Table 1.

入力R1及びR2に対応するデータ語が現われ、これが
、復号装置の出力となる。
A data word corresponding to inputs R1 and R2 appears, which becomes the output of the decoding device.

以上示したように1本実施例の回路構成は極めて簡単で
あり、しかも、従来より大幅にROMの容量が少なくな
るという特長があり、実用上極めて有用である。
As shown above, the circuit configuration of this embodiment is extremely simple, and has the advantage that the ROM capacity is significantly smaller than that of the conventional circuit, making it extremely useful in practice.

なお1本発明はこの実施例で用いたRLL符号のみなら
ず、すべてのRLL符号に対して有効であり、又、符号
語のブロック分けも2分割にとどまらず、3分割以上で
もROMの総容量削減の効果保てるだけでなく、符号語
長の長いRLL符号については、3分割以上により史に
大きなROMの総容量削減効果がある。
Note that the present invention is effective not only for the RLL code used in this embodiment but also for all RLL codes, and the code word block division is not limited to two blocks, but can be divided into three or more blocks to reduce the total ROM capacity. Not only can the reduction effect be maintained, but for RLL codes with long codeword lengths, dividing into three or more has an unprecedented effect of reducing the total ROM capacity.

発明の効果 以上詳細に示したように1本発明はRLL符号の復号装
置において、nビットの符号語を複数のブロックに分割
し、その分割したブロック毎に仮復号し、その仮復号し
た結果を用いて最終復号値を得るという2段階の復号操
作を行うことによって、簡単な回路構成によって復号に
要するROMの総容量を従来より大幅に削減できる1、
たとえば。
Effects of the Invention As described in detail above, the present invention provides an RLL code decoding device that divides an n-bit code word into a plurality of blocks, temporarily decodes each divided block, and uses the result of the temporary decoding. By performing a two-step decoding operation in which the final decoded value is obtained using a simple circuit configuration, the total ROM capacity required for decoding can be significantly reduced compared to the conventional method1.
for example.

d=3 、に=7 、 m=5 、n=12なるRLL
符号に対しては、従来に比べてROMの総容量を約1/
29に削減できる。
RLL with d=3, ni=7, m=5, n=12
For codes, the total ROM capacity is reduced to about 1/1 compared to the conventional one.
It can be reduced to 29.

このように、本発明によるランレングスリミテッド符号
の復号装置を用いることで、従来よりも復号装置を小さ
くできるだけでなく、復号装置を小さくできることによ
り、より高密度記録に適する符号語長の長いRLL符号
の使用も可能になる等、実用上極めて大きな効果がある
In this way, by using the run-length limited code decoding device according to the present invention, not only can the decoding device be made smaller than before, but also RLL codes with long code word lengths that are more suitable for high-density recording can be made smaller. It has extremely great practical effects, such as making it possible to use

なお、本明細書ではROMの容量を1つの指針として本
発明の効果を示したが、復号装置においてROM′f!
:使用せず、論理回路のみで復号する場合にも同様の効
果があることは言うまでもない。
In this specification, the effects of the present invention have been shown using the ROM capacity as one guideline, but in the decoding device, the ROM'f!
It goes without saying that the same effect can be obtained even when decoding is performed only with logic circuits without using this method.

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

第1図は符号語の2分割説明図、第2図は本発明の一実
施例における復号回路のブロック、図、第3図は符号語
どうしの接続説明図である。 1・・・・・・シリアル−パラレル変換器、2・・・・
・・Dフリップフロップ、3・・・・・・インバータ、
4・・・・・・排他的論理和ゲート・、5,6・・・・
・ROM 、 7・・・・・・ROM。
FIG. 1 is an explanatory diagram of a code word divided into two parts, FIG. 2 is a block diagram of a decoding circuit in an embodiment of the present invention, and FIG. 3 is an explanatory diagram of connections between code words. 1... Serial-parallel converter, 2...
...D flip-flop, 3...inverter,
4...Exclusive OR gate...5,6...
・ROM, 7...ROM.

Claims (8)

【特許請求の範囲】[Claims] (1)mビットのデータ語をnビットの符号語に変換し
て、変換後のnビットの符号語どうしの接続によって生
じるビット列中の同一2進値の連続ビット数をd以上k
以下に制限するnビットのランレングスリミテッド符号
を、mビットのデータ語に逆変換するランレングスリミ
テッド符号の復号装置において、このnビットを2以上
の整数値Lに対して、Σ^L_i_=_1n_i=nな
る関係を満たす各々がn_iビットよりなるL個のブロ
ックに分割する分割手段と、その分割したn_iビット
のブロック毎に仮復号する仮復号手段と、その仮復号し
た結果を用いて最終的な復号結果を得る最終復号手段と
を備えることを特徴とするランレングスリミテッド符号
の復号装置。
(1) Convert an m-bit data word to an n-bit code word, and increase the number of consecutive bits of the same binary value in the bit string resulting from the connection of the converted n-bit code words to d or more k
In a run-length limited code decoding device that inversely converts an n-bit run-length limited code limited to the following into an m-bit data word, Σ^L_i_=_1n_i A dividing means divides into L blocks each having n_i bits that satisfies the relationship =n, a temporary decoding means temporarily decodes each divided block of n_i bits, and a final decoder uses the result of the temporary decoding. A decoding device for a run-length limited code, comprising: final decoding means for obtaining a decoding result.
(2)1で始まる符号語を表パターン、0で始まる符号
語を裏パターンと呼ぶとき、前記分割手段が復号しよう
とする符号語を表パターンに変換する手段を兼ね備える
ことを特徴とする特許請求の範囲第1項記載のランレン
グスリミテッド符号の復号装置。
(2) A patent claim characterized in that when a code word starting with 1 is called a front pattern and a code word starting with 0 is called a back pattern, the dividing means also includes means for converting the code word to be decoded into a front pattern. A decoding device for a run-length limited code according to item 1.
(3)n_iビットのブロックにおいて現われるビット
パターン数P_iが正の整数値Q_iに対して2^(Q
_i)^−^1より大かつ2^(Q_i)以下であると
き、前記仮復号手段がn_iビットの入力に対してQ_
iビットの出力を生成する手段であることを特徴とする
特許請求の範囲第2項記載のランレングスリミテッド符
号の復号装置。
(3) The number of bit patterns P_i appearing in a block of n_i bits is 2^(Q
_i) When the value is greater than ^-^1 and less than or equal to 2^(Q_i), the temporary decoding means performs Q_ for input of n_i bits.
3. A run-length limited code decoding device according to claim 2, characterized in that the decoding device is means for generating an i-bit output.
(4)最終復号手段が前記仮復号手段により前記L個の
各ブロックにおいて生成される、前記Q_iビットの仮
復号出力のすべてをその入力とし、この入力に基づいて
復号装置入力であるnビットの符号語に対応する復号値
を生成する手段であることを特徴とする特許請求の範囲
第3項記載のランレングスリミテッド符号の復号装置。
(4) The final decoding means takes all of the Q_i-bit provisional decoding outputs generated in each of the L blocks by the provisional decoding means as its input, and based on this input, the n-bits that are the decoding device input. 4. A run-length limited code decoding device according to claim 3, characterized in that the decoding device is means for generating a decoded value corresponding to a code word.
(5)i、n_i、Q_i及びmに対して、Q_i・2
^(n_i)<m・2^(Σ^L_i_=_1)^(Q
_i)かつ前記P_iが2のベキ乗に近い値となるよう
に前記n_i、及びiを選ぶことを特徴とする特許請求
の範囲第4項記載のランレングスリミテッド符号の復号
装置。
(5) For i, n_i, Q_i and m, Q_i・2
^(n_i)<m・2^(Σ^L_i_=_1)^(Q
5. The run-length limited code decoding apparatus according to claim 4, wherein the n_i and i are selected so that the n_i and the P_i have a value close to a power of 2.
(6)分割手段がシリアルイン・パラレルアウトのシフ
トレジスタとDフリップフロップより成り、前記仮復号
手段が前記n_iビット入力Q_iビット出力のメモリ
ーであり、前記最終復号手段がΣ^L_i_=_1Q_
iビット入力、mビット出力のメモリーであることを特
徴とする特許請求の範囲第5項記載のランレングスリミ
テッド符号の復号装置。
(6) The dividing means consists of a serial-in/parallel-out shift register and a D flip-flop, the temporary decoding means is the n_i bit input Q_i bit output memory, and the final decoding means is Σ^L_i_=_1Q_
6. The run-length limited code decoding device according to claim 5, wherein the decoding device is a memory with i-bit input and m-bit output.
(7)メモリーがReadOnlyMemoryである
ことを特徴とする特許請求の範囲第6項記載のランレン
グスリミテッド符号の復号装置。
(7) The run-length limited code decoding device according to claim 6, wherein the memory is a ReadOnlyMemory.
(8)d=3、k=7、m=5及びn=12なるランレ
ングスリミテッド符号に関して、前記L=2、n_1=
6、n_2=6であることを特徴とする特許請求の範囲
第7項記載のランレングスリミテッド符号の復号装置。
(8) Regarding the run-length limited code of d=3, k=7, m=5 and n=12, the above L=2, n_1=
6. The run-length limited code decoding device according to claim 7, wherein n_2=6.
JP26910784A 1984-12-19 1984-12-19 Decoding device for run-length limited code Expired - Lifetime JPH0695644B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26910784A JPH0695644B2 (en) 1984-12-19 1984-12-19 Decoding device for run-length limited code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26910784A JPH0695644B2 (en) 1984-12-19 1984-12-19 Decoding device for run-length limited code

Publications (2)

Publication Number Publication Date
JPS61145934A true JPS61145934A (en) 1986-07-03
JPH0695644B2 JPH0695644B2 (en) 1994-11-24

Family

ID=17467765

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26910784A Expired - Lifetime JPH0695644B2 (en) 1984-12-19 1984-12-19 Decoding device for run-length limited code

Country Status (1)

Country Link
JP (1) JPH0695644B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4930115A (en) * 1987-12-03 1990-05-29 U.S. Philips Corp. Method of and device for recording information, record carrier, and device for reading the recorded information
JPH04176233A (en) * 1990-11-09 1992-06-23 Fujitsu Ltd 5b6b code rule inverse conversion circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4930115A (en) * 1987-12-03 1990-05-29 U.S. Philips Corp. Method of and device for recording information, record carrier, and device for reading the recorded information
JPH04176233A (en) * 1990-11-09 1992-06-23 Fujitsu Ltd 5b6b code rule inverse conversion circuit

Also Published As

Publication number Publication date
JPH0695644B2 (en) 1994-11-24

Similar Documents

Publication Publication Date Title
US5196849A (en) Method and apparatus for implementing PRML codes with maximum ones
US7486208B2 (en) High-rate RLL encoding
JPS6192476A (en) Channel coding method
JPH0652620B2 (en) Code converter, recording medium, and data conversion method
BG105877A (en) Method of converting a stream of databits of a binary information signal into a stream of databits of a constrained binary channel signal, device for encoding, signal comprising a stream of databits of a constrained binary channel signal, record carrier and device for decoding
US20050220197A1 (en) Coding method and decoding method
EP0557130A2 (en) Data conversion method and recording/reproducing apparatus using the same
JP2002204167A (en) Modulating method, modulating device, transmission device and recording medium
JP2004312779A (en) Codeword mapping method
KR100809970B1 (en) Encoding/decoding n-bit source words into corresponding m-bit channel words, and vice versa, such that the conversion is parity inverting
JPS61145934A (en) Decoder for run length limited code
KR100231379B1 (en) Code transe/ decoder apparatus and method
JP2003536315A (en) Device for encoding a stream of data bits of a binary source signal into a stream of data bits for a binary channel signal, a memory means, a device for recording information, a record carrier, a device for encoding, and a device for reproducing
JPS61145935A (en) Decoder for run length limited code
JPH02265329A (en) Code inverse converter
JP2600148B2 (en) Code conversion method
JP2794719B2 (en) Code conversion device
JP2962027B2 (en) Information conversion method and information recording device
JPS61227430A (en) Code converting device
JPH05235775A (en) Information conversion method and information converter adopting said method
JPH01221918A (en) Variable length code converter
JPS61227429A (en) Code converting device
JPS60152154A (en) System and apparatus for coding binary data
JPH0660552A (en) Method for recording and encoding digital signal
JPH01221919A (en) Variable length code conversion method