JPH01221924A - Variable length code inverse converter - Google Patents

Variable length code inverse converter

Info

Publication number
JPH01221924A
JPH01221924A JP4784988A JP4784988A JPH01221924A JP H01221924 A JPH01221924 A JP H01221924A JP 4784988 A JP4784988 A JP 4784988A JP 4784988 A JP4784988 A JP 4784988A JP H01221924 A JPH01221924 A JP H01221924A
Authority
JP
Japan
Prior art keywords
code
bits
basic
word
code word
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
JP4784988A
Other languages
Japanese (ja)
Inventor
Fumiyuki Mikami
三上 文之
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP4784988A priority Critical patent/JPH01221924A/en
Priority to US07/313,546 priority patent/US4985700A/en
Publication of JPH01221924A publication Critical patent/JPH01221924A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To remarkably reduce the capacity of ROMs by performing a processing by separating to temporary encoding and final encoding by utilizing the fact that the number of basic code words of (n) bits is less than that of code words possible to be represented in (n) bits in a decoder for a variable length RLL code. CONSTITUTION:A (4, 19, 2, 5, 6) code in which the number of run of '0' of a binary code word string with basic data word length (m)=2, basic code word length (n)=5, the number of code word length rmax=6, and connecting the code words after conversion with each other is limited to a value over 4 and less than 19 is taken as a sample. The number of basic code words is remarkably less than that of a binary code represented in the (n) bits that is the basic code word length. It is based that the number of run of '' of the binary code word string is limited. Assuming the number of basic code word patterns as (p) and (q) as the minimum integer to satisfy p<2<q>, it is possible to designate either the basic code word patterns by the (q) bits. By performing the temporary decoding of an input code word to a code of (q) bits and making access to the ROM setting the sum rmax.(q) bits of the results as an address signal, and performing the final decoding, the capacity V of the ROM is reduced by 12X12<18> bits from 12X2<30> bits.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はディジタル信号の伝送または記録に適用される
可変長符号逆変換装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a variable length code inverse conversion device applied to the transmission or recording of digital signals.

〔従来の技術〕[Conventional technology]

ディジタル信号を光ディスク、磁気ディスク等に記録再
生する際に用いられる記録符号は、記録の高密度化に伴
い種々の方法が開発されて来た。
Various methods have been developed for recording codes used when recording and reproducing digital signals on optical disks, magnetic disks, etc. as recording density increases.

これは記録すべき情報データビット列を記録に適した形
式に変換するもので、以下の性質が要求される。
This converts the information data bit string to be recorded into a format suitable for recording, and requires the following properties.

(1)最小磁化反転間隔T m I a記録再生系の帯
域制限の影響を受けに(くするためにはT1.、は大で
あることが望ましい。
(1) Minimum magnetization reversal interval TmIa It is desirable that T1. be large in order to avoid the influence of band limitations of the recording and reproducing system.

(2)最大磁化反転間隔T□、X セルフクロック機能を得るためにはクロック情報を抽出
するためにT1.8は小であることが望ましい。
(2) Maximum magnetization reversal interval T□,X In order to obtain a self-clock function and extract clock information, it is desirable that T1.8 be small.

(3)検出窓幅TW 再生信号のジッタや波形干渉によるピークシフト等の時
間軸変動に対する余裕度を表わし、大であることが望ま
しい。
(3) Detection window width TW Represents the degree of margin against time axis fluctuations such as jitter of the reproduced signal and peak shift due to waveform interference, and is preferably large.

通常、記録符号としてはランレングスリミテッド(以下
、RLLと略す)符号が用いられることが多い。RLL
符号は変換後の符号ビット列内の“1″と“1″の間の
“0”のラン数の最小値をd1最大値をに1基本データ
語長をn1基本符号語長をm1符号語長数をr man
として、(d。
Usually, a run length limited (hereinafter abbreviated as RLL) code is often used as a recording code. RLL
For the code, the minimum value of the number of runs of “0” between “1” and “1” in the code bit string after conversion is d1, the maximum value is 1, the basic data word length is n1, the basic code word length is m1, the code word length is r man the number
As (d.

k + n 9m +  r mmx )符号と呼ばれ
る。これらのパラメータを用いると、 T、、、= (d+1)−Tw T、、= (k+1)−Tw TW = (m/n)  ・T (T:データ語の1ビツト長) と表わせる。このRLL符号のなかでも可変長符号は固
定長符号に比べてより少ない符号語長及び符号語数で同
程度の性能を実現できるなど高密度化に適している。
k + n 9m + r mmx ) code. Using these parameters, it can be expressed as T, , = (d+1)-Tw T,, = (k+1)-Tw TW = (m/n) ·T (T: 1-bit length of data word). Among these RLL codes, variable length codes are suitable for high density, as they can achieve the same level of performance with a smaller code word length and number of code words than fixed length codes.

記録符号を用いるためには符号語をデータ語に逆変換す
る復号化装置が必要となるが、この実現方法としてはゲ
ート回路の組み合せで構成する方法と、入力符号語ビッ
ト列をアドレス信号とし、データ語ビット列を書き込ん
だROMにアクセスする方法がある。(d、に、m、n
+  rm、。)符号の場合、ROMを用いると、その
容量Vは■=2r・・・°n ・rmax  ・mビットとなる。尚、可変長符号にお
いてはワード同期をとるために何ビットの符号語を逆変
換したかの情報が必要となり、通常これもROMに書き
込んでお(が、このメモリー量は除いて考えることにす
る。例えば、以下の第1表にデータ語と符号語の対応表
を示す(4,19,2,5,6)符号の場合、従来の復
号化回路は第2図のように構成され必要なROM容量は
V = 2 ”・12ビツトとなる。
In order to use a recording code, a decoding device is required to convert the code word back into a data word, but this can be achieved by using a combination of gate circuits, or by using the input code word bit string as an address signal and converting the data into a data word. There is a method of accessing a ROM in which word bit strings are written. (d, ni, m, n
+rm,. ) code, if a ROM is used, its capacity V becomes ■=2r...°n .rmax.m bits. In addition, in variable-length codes, information on how many bits of the code word have been inversely converted is required in order to achieve word synchronization, and this is usually also written to the ROM (but we will consider this without considering the amount of memory). For example, in the case of a (4, 19, 2, 5, 6) code whose correspondence table between data words and code words is shown in Table 1 below, a conventional decoding circuit is configured as shown in Fig. The ROM capacity is V=2''·12 bits.

〔発明が解決しようとしている問題点〕一般に、符号語
長nを大きくするとTm1m+7’ffi、、、Twの
いずれかを改善できる。上述のように、可変長符号にお
いても高密度化を計るためにより性能の良い符号を求め
ると、その符号語長、符号語数共に大きくなってしまう
。このため、ROMを用いて復号化回路を構成するとそ
の容量が増し実用的ではないという不具合が生じる。
[Problems to be Solved by the Invention] Generally, by increasing the code word length n, any of Tm1m+7'ffi, . . . Tw can be improved. As mentioned above, when a code with better performance is sought in order to increase the density of a variable length code, both the code word length and the number of code words become large. For this reason, if a decoding circuit is constructed using a ROM, the capacity thereof increases, resulting in a problem that it is not practical.

〔問題点を解決するための手段(及び作用)〕本発明は
前記問題点を解決するために、(d。
[Means for Solving the Problems (and Effects)] In order to solve the above problems, the present invention provides (d).

k、m、n+  rmax )符号の復号化装置に用い
られるROMの容量を減らすことを目的としたものであ
る。
The purpose of this is to reduce the capacity of a ROM used in a decoding device for (k, m, n+ rmax ) codes.

一般に、可変長符号の基本符号語数が基本符号長である
nビットで表わされる2連符号数よりはるかに小さい。
Generally, the number of basic code words of a variable length code is much smaller than the number of double codes expressed by n bits, which is the basic code length.

つまり、2進nビツトでは2個の符号を表現できるが、
RLL符号に於いては符号語中の“1″と“l”の間の
““0”のラン数が最小値(d)、最大値(k)共に制
限されることから、例えば以下の第1表に示した(4,
19゜2.5.6)符号では第2表に示した6個が基本
符号語となる。この符号はn=5であり32個の符号を
表わせるわけであるから、その分冗長性を持っているこ
゛とになる。ここで、基本符号語パターン数をpとし、
qをp<2’を満たす最小の整数とすれば、このqビッ
トで基本符号語パターンの中のどれかを一意に指定する
ことができる。
In other words, two codes can be expressed using n binary bits, but
In the RLL code, the number of runs of "0" between "1" and "l" in the code word is limited to both the minimum value (d) and the maximum value (k). Table 1 shows (4,
In the 19°2.5.6) code, the six basic code words shown in Table 2 are. Since this code has n=5 and can represent 32 codes, it has corresponding redundancy. Here, the number of basic codeword patterns is p,
If q is the minimum integer that satisfies p<2', then any one of the basic code word patterns can be uniquely specified with these q bits.

従って、入力符号語を直接にアドレス信号とせずに、n
ビットの各ブロック毎にqビットのコードに仮復号する
。そして、仮復号した結果の合計r0.8 ・qビット
をアドレス信号としてROMにアクセスし最終復号すれ
ば、復号化に必要なROMの容量Vは、 V=2r・・・°q ・rm*x”mビット となり、2−r“”−(n−Q)に減らすことが出来る
Therefore, instead of using the input code word directly as an address signal, n
Each block of bits is provisionally decoded into a q-bit code. Then, if the ROM is accessed using the temporary decoding result total r0.8 ・q bits as an address signal and final decoding is performed, the ROM capacity V required for decoding is V=2r...°q ・rm*x It becomes "m bits" and can be reduced to 2-r""-(n-Q).

〔実施例〕〔Example〕

以下、本発明を実現するための構成を(4゜19.2,
5.6)符号を例にとり、図面に基づいて説明する。
Below, the configuration for realizing the present invention (4°19.2,
5.6) Taking a code as an example, it will be explained based on the drawings.

この符号は基本データ語長m=2、基本符号語長n=5
、符号語長数r−*x=6であり、T、1゜=2.0、
Tffi、、=8.0.T、=0.4なる可変長符号で
ある。第1図は復号化回路のブロック図を示す。入力符
号語ビット列は30ビツトの入力シフトレジスターに取
り込まれ、ラッチ回路に送られる。さらに、この30ビ
ツトは仮復号化回路に送られる。仮復号化回路は6個の
同じ回路より成っており、5ビツトのブロック毎に基本
符号語を仮復号する。仮復号の方法及び最終復号に用い
るROMの内容について第1表をもとに説明する。第1
表は(4,19,2,5,6)符号のデータ語−符号語
対応表である。
This code has a basic data word length m=2 and a basic code word length n=5.
, the codeword length number r-*x=6, and T,1°=2.0,
Tffi,,=8.0. It is a variable length code with T,=0.4. FIG. 1 shows a block diagram of the decoding circuit. The input codeword bit string is taken into a 30-bit input shift register and sent to a latch circuit. Furthermore, these 30 bits are sent to a temporary decoding circuit. The temporary decoding circuit consists of six identical circuits, and temporarily decodes the basic code word for each 5-bit block. The method of temporary decoding and the contents of the ROM used for final decoding will be explained based on Table 1. 1st
The table is a data word-code word correspondence table for the (4, 19, 2, 5, 6) code.

第   1   表 (4,19,2,5,6)符号のデータ語−符号語対応
表データ語      符号語 (Go)        10000 (1110101110)  ’   0100001
000010000010000000(111011
0101)     0100OO100OOO100
OOOOOOOOQO(1110110111)   
  otooooiooooooiooooolooo
o。
Table 1 (4, 19, 2, 5, 6) Code data word-code word correspondence table Data word Code word (Go) 10000 (1110101110) ' 0100001
000010000010000000 (111011
0101) 0100OO100OOOO100
OOOOOOOOOQO (1110110111)
otooooioioooooooiooooooooo
o.

(1110111000)     01000010
000001000(+0000000(010111
111)    010000(IIQ(100010
0001000000(1111000001)   
  0100000100000100000.000
000(1111000101)     01.00
000010000100000100000(111
1000110)     Q100OOOO100O
O100OOOOOOOOO(1111000111)
       0100000010000口1000
0100000(1111001011)  、  、
  01000000010000000000000
00(11110(Hlll)     001000
0100001000000100000(11110
10010)、    00100001000001
00000100000(1111010011)  
   0O100001000’0010000000
0000(111110101101)   、010
0001000010000100000100000
00(111110110101)    01000
.010000100000001000010000
0(111110110111)    0j0000
100000100001000001000000(
111110111000)   0100001.0
0000100001000000100000(11
1111001010)、   0100000100
00010000100000000000(1111
11001011)、   010000010000
010000010000100000(111111
0口1100)     0100000100000
10000010000000000(1111110
10011)    0IOQOOOO100OO10
0OOO100OOOOOOOO(111111011
101)    0O100OO100OO100OO
O100OOQ100OOO(11111111101
1)’   000.010000100001011
0010000000000(11111111111
1)    Oi00000100001000001
00000000000tooooooooooooo
ooooooiooooooooooiooooooo
ooooooooooootoooooooo第   
2   表 基本符号語    (仮符号語) 第   3   表 データ語      仮符号語 第  4  表 符号語    データ語 toooo ooooo      oto。
(1110111000) 01000010
000001000(+0000000(010111
111) 010000 (IIQ(100010
0001000000 (1111000001)
0100000100000100000.000
000 (1111000101) 01.00
000010000100000100000 (111
1000110) Q100OOOO100O
O100OOOOOOOOOO (1111000111)
0100000010000 units 1000
0100000 (1111001011) , ,
01000000010000000000000
00(11110(Hllll) 001000
0100001000000100000 (11110
10010), 00100001000001
00000100000 (1111010011)
0O100001000'0010000000
0000 (111110101101) ,010
0001000010000100000100000
00 (111110110101) 01000
.. 010000100000001000010000
0 (111110110111) 0j0000
100000100001000001000000(
111110111000) 0100001.0
0000100001000000100000 (11
1111001010), 0100000100
00010000100000000000 (1111
11001011), 010000010000
010000010000100000 (111111
0 units 1100) 0100000100000
10000010000000000 (1111110
10011) 0IOQOOOO100OO10
0OOOO100OOOOOOOO(111111011
101) 0O100OO100OO100OO
O100OOQ100OOOO (11111111101
1)' 000.010000100001011
0010000000000 (11111111111
1) Oi00000100001000001
00000000000toooooooooooo
oooooooiooooooooooooooooooo
ooooooooooooooooooooooooo
2 Table basic code word (temporary code word) 3 Table data word Temporary code word 4 Table code word Data word toooo oooooo oto.

1oooo ooooo ooooo     too
io。
1oooo oooooo oooooo too
io.

第   5   表 ア  ド  し ス            デ − 
 タ(a) 001000000000001000・
=001000000000001111111010
110000(b) 001000000000000
000・・・0010000001111111111
00100000000(但し、(a)のアドレスは除
く) (C) 001000000000000000・00
1000111111111111 01000000
0000(但し、(a)、 (b)のアドレスは除()
(d) 001000000000000000・・・
001111111111111111 000000
000000(但し、(a)、 (b)、 (c)のア
ドレスは除く)まず、第2表に示した6種類の基本符号
語に3ビツトのコードを割り当てる。8種類の3ビツト
のコードをどのように割り当てるかは任意であるが、こ
こでは第2表にしたがう。仮復号化回路はこの対応に従
つてブロック毎に3ビツトのコードを出力する。第1表
の符号語を5ビツトずつに区切り、第2表に従って置き
換えれば、仮復号語とデータ語との対応表が得られる。
Table 5 Addendum
ta(a) 001000000000001000・
=001000000000001111111010
110000(b) 001000000000000
000...0010000001111111111
00100000000 (excluding address (a)) (C) 001000000000000000.00
1000111111111111 01000000
0000 (excluding addresses (a) and (b))
(d) 001000000000000000...
00111111111111111 000000
000000 (excluding addresses (a), (b), and (c)) First, 3-bit codes are assigned to the six types of basic code words shown in Table 2. How to allocate the eight types of 3-bit codes is arbitrary, but Table 2 is used here. The temporary decoding circuit outputs a 3-bit code for each block according to this correspondence. By dividing the code words in Table 1 into 5 bits and replacing them according to Table 2, a correspondence table between temporary decoded words and data words can be obtained.

その一部を第3表に示す。次に、これらの18ビツトの
仮復号ビット列をアドレス信号としてROMにアクセス
するが、第3表のデータ語をどのアドレスへお(かを説
明する。
Some of them are shown in Table 3. Next, the ROM is accessed using these 18-bit temporary decoded bit strings as address signals, and the address to which the data words in Table 3 are sent will be explained.

第1表を見て分かるように、r2>rl とした場合、
5r+ ビットの符号語が5r2ビツトの符号語の先頭
から5r、ビットと等しい場合がある。例として、先頭
の5ビツトが“10000”である符号語を選んで第4
表に示す。このように入力シフトレジスタ内の先頭の5
ビツトが’ 10000”(対応する仮復号語は“00
1”。実際にはこれがROMの入力となる)の場合に即
座に10000 ”と復号するわけにはいかず、語長の
長い符号語を優先する必要がある。これをROM内のデ
ータの配置で実現するには次のようにする。
As can be seen from Table 1, when r2>rl,
A 5r+ bit codeword may be equal to 5r bits from the beginning of a 5r2 bit codeword. As an example, select a codeword whose first 5 bits are "10000" and
Shown in the table. In this way, the first 5 in the input shift register
The bit is '10000' (the corresponding temporary decoded word is '00
1'' (actually, this is the input to the ROM), it is not possible to immediately decode it to 10000'', and it is necessary to give priority to code words with longer word lengths. This can be achieved by arranging data in the ROM as follows.

例えば、9ビツトの仮復号語に対するデータは、先頭の
9ビツトがその仮復号語である18ビツトのアドレス2
”=512ワード全てに、対応するデータ語の後ろに全
体で12ビツトとなるように6個のOを付加して置く。
For example, in the data for a 9-bit temporary decoded word, the first 9 bits are the 18-bit address 2, which is the temporary decoded word.
”=6 O’s are added to the end of the corresponding data word for all 512 words for a total of 12 bits.

但し、r>3なる3rビツトの仮復号語についても同様
にアドレスを割りふった結果、重複するアドレスがあれ
ば、語長の長い仮復号語のデータを優先して置(。この
ようにして作成したメモリーマツプの一部を第5表に示
す。これは仮復号語の先頭の3ビツトが“001”の場
合である。他の場合も同様にして求められる。更には、
何ビットの符号語を復号したかの情報もROM内に記憶
しておく。
However, as a result of allocating addresses in the same way for the 3r-bit temporary decoded word where r>3, if there are duplicate addresses, the data of the temporary decoded word with the longer word length is given priority (.In this way, A part of the created memory map is shown in Table 5.This is the case where the first 3 bits of the provisional decoded word are "001".Other cases can be obtained in the same way.Furthermore,
Information on how many bits of the code word have been decoded is also stored in the ROM.

このようにして、必要となるROM容量を2−′2にま
で減らすことができる。一般の可変長符号の場合にはr
−qビット仮復号語に対するデータは、先頭のr−qビ
ットがその仮復号語であるr ea*x  ・qビット
のアドレス2 (r“°“−r)°9ワード全てに、対
応するデータ語の後ろに全体でrealm・mビットと
なるように、mφ(rlmax   r)個のOを付加
して置(ことになる。アドレスが重複した場合は語長の
長い符号語に対するデータを優先する。
In this way, the required ROM capacity can be reduced to 2-'2. In the case of a general variable length code, r
- The data for the q-bit provisional decoded word is rea*x whose first r-q bit is the provisional decoded word. Address 2 of q bit (r"°"-r)° All 9 words have corresponding data. Add mφ (rlmax r) O's to the end of the word so that the total is realm m bits. If addresses overlap, give priority to the data for the code word with the longer word length. .

次に、ROMから出力される12ビツトの信号(全ての
ビットがデータ語とは限らない)は12ビツトの出力用
シフトレジスタへ送られる。同時に、ROMからは何ビ
ットの符号語を復号したかの情報がラッチ信号発生回路
へ送られ、これに(r、、、−r)、q  より例えば
10ビツトの符号語を変換したときには、入力用シフト
レジスタに更に新しく10ビツト入力されたときに、次
のラッチ信号が発生される。出力用シフトレジスタに送
られた符号語はシリアル変換され1ビツトずつ出力され
る。但し、第1図には示していないが、出力用シフトレ
ジスタには入力用シフトレジスタ及び(r−、、−r)
・q ラッチ信号発生回路の275倍のクロツクが供給
されており、入力用シフトレジスタが10ビツトシフト
する間に出力用シフトレジスタは4ビツトシフトするよ
うに構成されている。
Next, the 12-bit signal output from the ROM (not all bits are data words) is sent to a 12-bit output shift register. At the same time, information on how many bits of the code word have been decoded is sent from the ROM to the latch signal generation circuit, and when a 10-bit code word is converted from (r, , -r), q, the input The next latch signal is generated when ten new bits are input to the shift register. The code word sent to the output shift register is serially converted and output bit by bit. However, although not shown in FIG. 1, the output shift register includes an input shift register and (r-,,-r).
-q A clock 275 times that of the latch signal generation circuit is supplied, and the output shift register is configured to shift by 4 bits while the input shift register shifts by 10 bits.

〔他の実施例〕[Other Examples]

次に(5,16,2,6,4)符号に適用する。この符
号は基本データ語長m=2、基本符号語長n=6、符号
語長数r□8=4であり、T、、、=2.0、Tffi
、、=5.7、T、=0.33なる可変長符号である。
Next, apply it to the (5, 16, 2, 6, 4) code. This code has basic data word length m = 2, basic code word length n = 6, code word length number r□8 = 4, T, , = 2.0, Tffi
, , =5.7, T, =0.33.

第6表にデータ語と符号語の対応表を示す。復号化装置
の構成は第1図において、入力用シフトレジスタが24
ビツト、出力用シフトレジスタが8ビツトとなる。又、
第1図の13の仮復号化回路は4個となる。基本符号語
数は7個であり、これはq=3で仮復号化可能である。
Table 6 shows a correspondence table between data words and code words. The configuration of the decoding device is shown in Figure 1, with 24 input shift registers.
The output shift register is 8 bits. or,
The 13 temporary decoding circuits in FIG. 1 become four. The basic number of code words is 7, which can be provisionally decoded with q=3.

この基本符号語と仮復号語の対応は第7表に示すものと
する。従って、仮復号語と出力データ語の対応表(一部
)は第8表のとおりになる。第9表は仮復号語の先頭3
ビツトが“100”(対応する基本符号語は“0001
00”)の場合のメモリーマツプであり、アドレスの重
複はない。
The correspondence between the basic code word and the provisional decode word is shown in Table 7. Therefore, the correspondence table (part) of temporary decoded words and output data words is as shown in Table 8. Table 9 shows the first three tentatively decoded words.
bit is “100” (corresponding basic code word is “0001”)
00''), and there are no duplicate addresses.

他の場合も同様にして求められる。この符号ではROM
容量は2−12に低減できる。回路動作は(4,19,
2,5,6)符号での説明と同様である。
Other cases can be found in the same way. In this code, ROM
Capacity can be reduced to 2-12. The circuit operation is (4, 19,
2, 5, 6) This is the same as the explanation using the symbols.

第   6   表 (3,16,2,6,4)符号のデータ語−符号語対応
表データ語        符号語 (,0111)        0000100000
00(101111)       oo1ooooo
ootoooo6o。
Table 6 (3, 16, 2, 6, 4) Code data word-code word correspondence table Data word Code word (,0111) 0000100000
00 (101111) oo1oooooo
ootoooo6o.

(110001)    ””00010000010
0000000第   7   表 基本符号語      (仮復号語) 000000          (OOQ)第   
8   表 データ語        仮復号語 10QI          0(10(101第  
 9   表 アドレス             データ(a) 1
00100100000          1111
1010(b) 100100000000・・・10
0100000111  1100010010010
1000000・・・100101000111  1
1001000100110000000・・・100
110000111  11001100(c) 10
0000000000 ・100000111111 
 01100000〔発明の効果〕 以上説明したように、本発明は可変長RLL符号の復号
化装置において、nビットの基本符号語数がnビットで
表わし得る符号語数より小さいことを利用し、復号化を
仮復号化と最終復号化に分けることにより、回路に要す
るROMの容量を大幅に減らすことができた。このため
、記録の高密度化が進み記録符号の規模が大きくなって
も、小さなROM容量で復号化回路を構成でき、その実
用的価格は非常に高い。
(110001) ””00010000010
0000000 Table 7 Basic code word (temporary decoded word) 000000 (OOQ) No.
8 Table data word Temporary decoded word 10QI 0(10(101st
9 Table address data (a) 1
00100100000 1111
1010(b) 100100000000...10
0100000111 1100010010010
1000000...100101000111 1
1001000100110000000...100
110000111 11001100(c) 10
0000000000 ・100000111111
01100000 [Effects of the Invention] As explained above, the present invention utilizes the fact that the basic number of n-bit code words is smaller than the number of code words that can be represented by n bits in a variable-length RLL code decoding device, and performs decoding on a temporary basis. By separating decoding and final decoding, we were able to significantly reduce the ROM capacity required for the circuit. For this reason, even if recording becomes more dense and the scale of recorded codes becomes larger, a decoding circuit can be configured with a small ROM capacity, and its practical cost is very high.

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

第1図は本発明の構成を示すブロック図。 第2図は従来のROMを用いた復号化装置の構成を示す
ブロック図。
FIG. 1 is a block diagram showing the configuration of the present invention. FIG. 2 is a block diagram showing the configuration of a conventional decoding device using ROM.

Claims (4)

【特許請求の範囲】[Claims] (1)基本データ語長をmビット、基本符号語長をnビ
ットとするとき1≦r≦r_m_a_xなる整数rに対
して、r・mビットのデータ語をr・nビットの符号語
に変換し、変換後の符号語同士の接続によって生じる2
進符号ビット列の“1”と“1”の間の“0”のラン数
をd以上k以下に制限する可変長RLL(ランレングス
リミテッド)符号の各符号語をそれに対応するデータ語
に逆変換する復号化装置において、入力符号語を各nビ
ットのr_m_a_x個のブロックに分割する手段と、
各ブロック毎にqビットに仮復号化する手段と、仮復号
化した結果のr_m_a_x・qビットを最終復号化す
る手段とを具備することを特徴とする可変長符号逆変換
装置。
(1) When the basic data word length is m bits and the basic code word length is n bits, convert an r m bit data word to an r n bit code word for an integer r such that 1≦r≦r_m_a_x 2, which is caused by the connection between code words after conversion.
Inverse converting each code word of a variable length RLL (run length limited) code that limits the number of runs of “0” between “1” and “1” in a base code bit string to d or more and k or less a decoding device for dividing an input codeword into r_m_a_x blocks each having n bits;
1. A variable length code inverse conversion device comprising: means for temporarily decoding each block into q bits; and means for finally decoding r_m_a_x·q bits as a result of the temporary decoding.
(2)基本符号語長であるnビットの基本符号語数をp
とし、前記仮復号化手段が各nビットのブロック毎にそ
のp種のパターンに応じたqビットのコードを出力する
とき、qがp<2^qを満たす最小の整数であることを
特徴とする特許請求の範囲第1項記載の可変長符号逆変
換装置。
(2) The number of basic codewords of n bits, which is the basic codeword length, is p
and when the temporary decoding means outputs a q-bit code according to the p patterns for each n-bit block, q is the smallest integer satisfying p<2^q. A variable length code inverse conversion device according to claim 1.
(3)最終復号化手段が仮復号化手段より出力される合
計r_m_a_x・qビットのコードによって一意に指
定されるr_m_a_x・mビットのデータ語パターン
を出力することを特徴とする特許請求の範囲第2項記載
の可変長符号逆変換装置。
(3) The final decoding means outputs a data word pattern of r_m_a_x·m bits that is uniquely specified by the code of total r_m_a_x·q bits output from the temporary decoding means. 2. The variable length code inverse conversion device according to item 2.
(4)仮復号化手段がメモリーあるいはゲート回路、最
終復号化手段がメモリーによって構成されることを特徴
とする特許請求の範囲第1項記載の可変長符号逆変換装
置。
(4) The variable length code inverse conversion apparatus according to claim 1, wherein the temporary decoding means is constituted by a memory or a gate circuit, and the final decoding means is constituted by a memory.
JP4784988A 1988-03-01 1988-03-01 Variable length code inverse converter Pending JPH01221924A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP4784988A JPH01221924A (en) 1988-03-01 1988-03-01 Variable length code inverse converter
US07/313,546 US4985700A (en) 1988-03-01 1989-02-22 Variable-length coding/decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4784988A JPH01221924A (en) 1988-03-01 1988-03-01 Variable length code inverse converter

Publications (1)

Publication Number Publication Date
JPH01221924A true JPH01221924A (en) 1989-09-05

Family

ID=12786815

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4784988A Pending JPH01221924A (en) 1988-03-01 1988-03-01 Variable length code inverse converter

Country Status (1)

Country Link
JP (1) JPH01221924A (en)

Similar Documents

Publication Publication Date Title
US4985700A (en) Variable-length coding/decoding device
JP3590209B2 (en) Modulation coding method
CA1262189A (en) Method and apparatus for implementing optimum prml codes
JPS6192476A (en) Channel coding method
JPH04225625A (en) Digital modulation system
JP3363432B2 (en) Data coding system
JP3091497B2 (en) Digital modulation method, digital modulation circuit, digital demodulation circuit, and digital demodulation method
US7330137B2 (en) Method and apparatus for RLL code encoding and decoding
JP2004312779A (en) Codeword mapping method
JPH0233221A (en) Code converter and decoder
JP2002280907A (en) Modulation method, modulator, demodulation method, demodulator, information recording medium, information transmission method and information transmitter
JPH01221924A (en) Variable length code inverse converter
JPS6013539B2 (en) code conversion device
JPH02265329A (en) Code inverse converter
JP3187528B2 (en) Encoding device and decoding device
JPH01221918A (en) Variable length code converter
JP3368914B2 (en) Clock circuit and magnetic disk drive using the same
JPH02305227A (en) Variable length code inverse converter
JP2978181B2 (en) NTM modulation method
JPH02119434A (en) Coding circuit and decoding circuit
JP2794719B2 (en) Code conversion device
JPH0349076A (en) Variable length recording encoding system for digital signal
JP2002313034A (en) Digital demodulator
JP2600148B2 (en) Code conversion method
JPH0695644B2 (en) Decoding device for run-length limited code