JPH02305227A - Variable length code inverse converter - Google Patents

Variable length code inverse converter

Info

Publication number
JPH02305227A
JPH02305227A JP12638389A JP12638389A JPH02305227A JP H02305227 A JPH02305227 A JP H02305227A JP 12638389 A JP12638389 A JP 12638389A JP 12638389 A JP12638389 A JP 12638389A JP H02305227 A JPH02305227 A JP H02305227A
Authority
JP
Japan
Prior art keywords
code
bit
length
decoding
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
JP12638389A
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 JP12638389A priority Critical patent/JPH02305227A/en
Publication of JPH02305227A publication Critical patent/JPH02305227A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To decrease the capacity of a ROM required for the circuit considerably by utilizing it that the number of n-bit basic code words is smaller than the number of code words to be represented in n-bit, dividing the decoding into the tentative decoding and the final decoding, and providing a p-notation and binary conversion circuit between them. CONSTITUTION:An input code word bit string is fetched in a 30-bit shift register, fed to a latch circuit and the 12-bit data is fed to a tentative decoding circuit. The tentative decoding circuit 12 consists of 6 same circuits to decode a basic code word for each block in 5-bit. Then a 12-bit signal outputted from a ROM 14 is fed to a 12-bit output shift register. Simultaneously the information representing how many bit of code word is decoded is fed to a latch signal generating circuit from the ROM. The code word fed to the output shift register is converted serially and outputted by one bit each.

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.
The following properties are required.

(1)最小磁化反転間隔T m i n記録再生系の帯
域制限の影響を受けにくくするためにはTm1nは大で
あることが望ましい。
(1) Minimum magnetization reversal interval T min It is desirable that T m1n be large in order to be less susceptible to the band limitation of the recording/reproducing system.

(2)最大磁化反転間隔Tmax セルフクロック機能を得るためにはクロック情報を抽出
するためにT m a xは小であることが望ましい。
(2) Maximum magnetization reversal interval Tmax In order to obtain a self-clock function and extract clock information, it is desirable that Tmax 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.

通常、記録符号としてはランレングスリミテッド(以下
、RL Lと略す)符号が用いられることが多い。RL
L符号は変換後の符号ビット列内の1°゛と“1′の間
の0°”のラン数の最小値をd、最大値をに1基本デー
タ語長を01基本符号語長をm1符号語長数をr ma
xとして、  (d、 k、 n、 m、 rmax)
符合と呼ばれる。これらのパラメータを用いるとTmj
n= (d+1) ・Tw Tmax= (k+1) ・Tw Tw−(m/n)+T (T、データ語の1ビット長) と表わせる。このR,L L符号のなかでも可変長符号
は固定長符号に比べてより少ない符号語長及び符号語数
で同程度の性能を実現できるなど高密度化に適している
Usually, a run length limited (hereinafter abbreviated as RLL) code is often used as a recording code. R.L.
For the L code, the minimum value of the number of runs of 0° between 1° and "1'" in the code bit string after conversion is d, the maximum value is 1, the basic data word length is 01, the basic code word length is m1 code. The number of word lengths is r ma
As x, (d, k, n, m, rmax)
It is called a sign. Using these parameters, Tmj
It can be expressed as n= (d+1) ・Tw Tmax= (k+1) ・Tw Tw−(m/n)+T (T: 1-bit length of data word). Among these R and LL 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、  k、
  m、  n、  rrnax’)符号の場合、RO
Mを用いると、その容量■は、V = 2”””・r 
mjx ” mビットとなる。尚、可変長符号において
はワード同期をとるために何ピッ1〜の符号語を逆変換
したかの情報が必要となり、通常これもROMに書き込
んでおくが、このメモリー量は除いて考えることにする
。例えば、第2図にデータ語と符号語の対応表を示ず(
4,19,2,5,6)符号の場合、従来の復号化回路
は第7図のように構成され必要なR,OM容量は■=2
30・12〜1.3X1010ヒツトとなる。
In order to use a recording code, a decoding device is required to convert the code word back into a data word.This can be achieved by constructing 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, k,
m, n, rrnax') code, RO
Using M, its capacity ■ is V = 2”””・r
mjx ” m bits.In variable-length codes, in order to achieve word synchronization, information on how many pins the code word has been inversely converted is required. Normally, this is also written in the ROM, but this memory For example, Figure 2 does not show the correspondence table between data words and code words (
4, 19, 2, 5, 6) codes, the conventional decoding circuit is configured as shown in Figure 7, and the required R, OM capacity is ■=2.
30.12 to 1.3×1010 humans.

〔発明が解決しようとしている問題点〕一般に、符号語
長nを大きくするとTm1n、 Tmax。
[Problem to be solved by the invention] Generally, when the code word length n is increased, Tm1n and Tmax.

Twのいずれかを改善できる。上述のように、可変長符
号においても高密度化を計るためにより良い性能の符号
を求めると、その符号語長、符号語数共に大きくなって
しまう。このため、ROMを用いて復号化回路を構成す
るとその容量が増し実用的ではないという不具合が生じ
る。
Either 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.

また、一般に、可変長符号の基本符号語数は基本符号語
長であるnビットで表わされる2進符号数よりはるかに
小さい。つまり、2進nビットでは2゜個の符号を表現
できるが、RL L符号に於いては符号語中の“1”と
″l°゛の間の“0″のラン数が最小値(d)、最大値
(k)共に制限されることから、例えば第2図に示した
(4.、 19. 2.5. 6)符号では第3図に示
した6個が基本符号語となる。この符号はn=5であり
32個の符号を表わせるわけであるから、その分冗長性
を持っていることになる。
Further, in general, the number of basic code words of a variable length code is much smaller than the number of binary codes expressed by n bits, which is the basic code word length. In other words, 2° codes can be expressed with binary n bits, but in the RLL code, the number of runs of “0” between “1” and “l°” in the code word is the minimum value (d ) and the maximum value (k), for example, in the (4., 19. 2. 5. 6) code shown in FIG. 2, the six basic code words shown in FIG. 3 are restricted. Since this code has n=5 and can represent 32 codes, it has redundancy accordingly.

そこで、本発明は前記問題点を解決するために、(’d
、  k、  m、 n、 1−max)符号の可変長
符号逆変換装置に用いられるROMの容量を減らすこと
を目的としたものである。
Therefore, in order to solve the above-mentioned problems, the present invention ('d
, k, m, n, 1-max) code is intended to reduce the capacity of a ROM used in a variable-length code inverse conversion device.

〔問題を解決する為の手段〕[Means to solve the problem]

本発明の可変長符号逆変換装置は、基本データ語長をm
ヒツト、基本符号語長をnビットとするとき、1≦r≦
r nnaxなる整数rに対して、r”mビットのデー
タ語をr”nビットの符号語に変換し、変換後の符号語
同士の接続によって生じる2進符号ビット列の“1″と
“1”の間の0′”のラン数を6以上に以下に制限する
可変長RLL(ランレングスリミテッド)符号の各符号
語をそれに対応するデータ語に逆変換する復号化装置に
おいて、入力符号語を各nビットのr max個のブロ
ックに分割する手段と、各ブロック毎にqビットに仮復
号化する手段と、仮復号化した結果のr max ” 
qビットをr max桁のp進数とみなしてこれを2進
数に変換する手段と、この2進数をデータ語に最終復号
化する手段とを具備するものである。
The variable length code inverse conversion device of the present invention has a basic data word length of m
When the basic codeword length is n bits, 1≦r≦
For an integer r r nnax, convert an r''m-bit data word into an r''n-bit codeword, and create a binary code bit string of ``1'' and ``1'' generated by connecting the converted codewords. In a decoding device that inversely converts each code word of a variable-length RLL (run length limited) code, which limits the number of runs of 0''' between 6 to 6 or less, to its corresponding data word, means for dividing into r max blocks of n bits, means for temporarily decoding each block into q bits, and r max of the result of the temporary decoding.
It comprises means for converting the q-bits into a binary number by regarding them as a p-adic number of r max digits, and means for finally decoding the binary number into a data word.

〔作 用〕[For production]

上述の構成により、メモリ容量が少なくて済む可変長符
号逆変換装置を構成する事ができる様になる。
With the above configuration, it is possible to configure a variable length code inverse conversion device that requires a small memory capacity.

〔実施例〕〔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, explanation will be given based on the drawings.

この符号は基本データ語長m = 2、基本符号語長n
=5、符号語長数r max−6であり、Tmjn==
2.0、Tmax=8.0、Tw=0.4なる可変長符
号である。
This code has basic data word length m = 2, basic code word length n
=5, codeword length number r max-6, and Tmjn==
2.0, Tmax=8.0, and Tw=0.4.

第1図は復号化回路のブロック図を示す。入力符号語ビ
ット列は30ビットの入力シフトレジスターに取り込ま
れ、ラッチ回路に送られる。さらに、この30ビットは
仮復号化回路に送られる。仮復号化回路は6個の同じ回
路より成っており、5ビットのブロック毎に基本符号語
を仮復号する。仮復号の方法及び最終復号に用いるRO
Mの内容について説明する。
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 is composed of six identical circuits, and temporarily decodes the basic code word for each 5-bit block. Temporary decoding method and RO used for final decoding
The contents of M will be explained.

まず、[1og26]+1=3より第3図に示した6種
類の基本符号語に3ビットのコードを割り当てる。
First, 3-bit codes are assigned to the six types of basic code words shown in FIG. 3 from [1og26]+1=3.

8種類の3ビットのコードをどのように割り当てるかは
任意であるが、ここでは第3図にしたがう。仮復号化回
路はこの対応に従ってブロック毎に3ビットのコードを
出力する。第2図の符号語を5ビットずつに区切り、第
3図に従って置き換えれば、仮復号語とデータ語との対
応表が得られる。その一部を第4図に示す。次に、この
仮復号ビット列の1ブ □ロックに対応する3ビットを
6進数の8桁とみなす。
How to allocate the eight types of 3-bit codes is arbitrary, but the method shown in FIG. 3 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 FIG. 2 into 5 bits and replacing them according to FIG. 3, a correspondence table between temporary decoded words and data words can be obtained. A part of it is shown in Figure 4. Next, the 3 bits corresponding to 1 block of this temporary decoded bit string are regarded as 8 hex digits.

つまり仮復号ビット列を6桁の6進数と考える。これは
66=46656パターンあるため6進−2進数変換回
路により[6・log26] +1=16ビットに変換
される。最後に、この16ビットのビット列をアドレス
信号としてROMにアクセスする。
In other words, the temporary decoded bit string is considered to be a 6-digit hexadecimal number. Since this has 66=46656 patterns, it is converted into [6·log26]+1=16 bits by the hexadecimal-binary conversion circuit. Finally, the ROM is accessed using this 16-bit bit string as an address signal.

第2図を見て分るように、r2>rlとした場合、5r
1ビットの符号語が5r2ピツ1〜の符号語の先頭から
5r1ビットと等しい場合がある。例として、先頭の5
ビットが10000’”である符号語を選んで第5図に
示す。このように、入力シフトレジスタ内の先頭の5ビ
ットが”10000”(対応する基本仮復号語は“00
1 ” )の場合に即座に“00″′と復号するわけに
はいかず、語長の長い符号語を優先する必要がある。こ
れをROM内のデータの配置で実現するには次のように
する。
As can be seen from Figure 2, when r2>rl, 5r
A 1-bit code word may be equal to 5r1 bits from the beginning of the 5r2 bits 1 to 5 code words. For example, the first 5
A code word whose bits are 10000' is selected and shown in Figure 5. In this way, the first 5 bits in the input shift register are 10000 (the corresponding basic temporary decode word is 00
1”), it cannot be immediately decoded as “00”’, and it is necessary to give priority to the code word with a longer word length.To achieve this by arranging the data in the ROM, do the following: do.

基本仮復号語を6進−桁とみた場合のシンボルとの対応
は第3図とする。仮復号語の最初の3ピツI・が“00
1”(6進で“1″)の仮符号語は第5図の4個のみで
ある。以下、この4個について考える。
The correspondence with symbols when the basic temporary decoded word is viewed as hexadecimal digits is shown in FIG. The first three bits of the temporary decoded word are “00”
There are only four provisional code words of "1"("1" in hexadecimal) shown in FIG. 5. Below, these four will be considered.

(A)先頭が6進の゛l″である6進6桁のアドレスは
10進表記で7776〜15551゜ここにデータ“o
ooooooooooo”を置く。(、B)先頭が6進
の□“10″であるアドレスは7776〜9071oこ
こにデータ″010000000000”を置く。但し
、アドレスが(A)と重なる場合は、こちらのデータを
優先して置く。(C)先頭が6進の’ l OO”であ
るアドレスは7776〜79910ここにデータ“10
0100000000”を置(。但し、アドレスが(A
)、(B)と重なる場合は、こちらのデータを優先して
置く。(D)先頭が6進の“10001”“であるアド
レスは7776〜7787゜ここにデータ゛’1110
10110000”を置く。但し、アドレスが(A)、
(、B)、(C)と重なる場合は、こちらのデータを優
先して置く。結果を第6図に示す。仮復号語の先頭が6
進の2〜5の場合も同様にしてわりあてられる。このよ
うにして、必要となるROM容量を2−”=0.006
%にまで減らすことができる。
(A) The six-digit hexadecimal address whose beginning is "l" in hexadecimal is 7776 to 15551 in decimal notation, where the data "o" is written.
oooooooooooooo". (,B) For addresses whose beginning is hexadecimal □ "10", put data "010000000000" here. However, if the address overlaps with (A), put this data. (C) Addresses whose beginning is hexadecimal 'l OO' are 7776 to 79910, and data "10" is placed here.
0100000000” (. However, if the address is (A
) and (B), this data will be given priority. (D) Addresses starting with hexadecimal "10001" are 7776 to 7787゜ Data here is ゛'1110
10110000". However, if the address is (A),
If the data overlaps with (,B) and (C), this data will be given priority. The results are shown in Figure 6. The beginning of the temporary decoded word is 6
Cases of decimal numbers 2 to 5 are assigned in the same way. In this way, the required ROM capacity can be reduced to 2-”=0.006
It can be reduced to %.

次に、ROMから出力される12ビットの信号(全ての
ビットがデータ語とは限らない)は12ビットの出力用
シフトレジスタへ送られる。同時に、ROMからは何ビ
ットの符号語を復号したかの情報がラッチ信号発生回路
へ送られ、これにより例えば10ビットの符号語を変換
したときには、入力用シフトレジスタに更に新しく10
ビット入力されたときに、次のラッチ信号が発生される
。出力用シフトレジスタに送られた符号語はシリアル変
換され1ビットずつ出力される。但し、第1図には示し
ていないが、出力用シフトレジスタには入力用ンフI・
レジスタ及びラッチ信号発生回路の215倍のクロック
が供給されており、入力用シフトレジスタがlOビット
シフトする間に出力用シフトレジスタは4ビットシフト
するように構成されている。
Next, the 12-bit signal (not all bits are necessarily data words) output from the ROM 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, so that, for example, when a 10-bit code word is converted, a new 10-bit code word is added to the input shift register.
When a bit is input, the next latch signal is generated. 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 has an input amplifier I/
A clock of 215 times that of the register and 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.

次に本発明の他の実施例として、(5,1,6,Z。Next, as another example of the present invention, (5, 1, 6, Z.

6.4)符号に本発明を適用した場合について説明する
。この(5,16,2,6,4)符号は基本データ語長
m = 2、基本符号語長n = 6、符号語長数r□
ax =’1であり、Tm1n==2.0、T m a
 x = 5.7、Tw =0.33なる可変長符号で
ある。第8図にデータ語と符号語の対応表を示す。復号
化装置の構成は第1図において、入力用シフトレジスタ
が24ビット、出力用シフトレジスタが8ビットとなる
。また、第1図の12の仮復号化回路は4個となる。基
本符号語数は7個であり、これはq−[1og27]+
]、=3で仮復号化可能である。この基本符号語と基本
符号語数と出力データ語の対応表(一部)は第10図の
とおりになる。第11図は仮復号語の先頭3ビットが“
T OO”(対応する基本符号語は“000100”“
)の場合の7進−2進変換後のビット列をアドレスとし
たメモリーマツプであり、アドレスの重複はない。他の
場合も同様にして求められる。この符号ではR,OM容
量は2=2=0.024%に低減できる。回路動作は(
4゜1.9. 2. 5. 6)符号での説明と同様で
ある。
6.4) A case where the present invention is applied to a code will be explained. This (5,16,2,6,4) code has basic data word length m = 2, basic code word length n = 6, and code word length number r□
ax = '1, Tm1n = = 2.0, T m a
It is a variable length code with x = 5.7 and Tw = 0.33. FIG. 8 shows a correspondence table between data words and code words. As shown in FIG. 1, the decoding device has a 24-bit input shift register and an 8-bit output shift register. Further, the 12 temporary decoding circuits in FIG. 1 become four. The basic number of code words is 7, which is q-[1og27]+
], =3, provisional decoding is possible. The correspondence table (part) of this basic code word, basic code word number, and output data word is as shown in FIG. In Figure 11, the first 3 bits of the temporary decoded word are “
TOO” (corresponding basic code word is “000100”)
) is a memory map in which the address is the bit string after hexadecimal-to-binary conversion, and there are no duplicate addresses. Other cases can be found in the same way. With this code, the R and OM capacities can be reduced to 2=2=0.024%. The circuit operation is (
4゜1.9. 2. 5. 6) It is the same as the explanation using the symbols.

以上の様に、基本符号語パターン数をpとすると、pは
q−110g2pl斗1ピ′ツl−([]はカカラス号
)の2進数で基本符号語パターンの中のどれかを一意に
指定することがで走る。次に、この仮復号化手段からの
出力r max ” ’qピットをr n+ax桁のp
進数とみなし、これを2進数に変換することにより、更
に[r max・]00g2I] +]ビットに減らす
ことができる。従って、入力符号語を直接にアドレス信
号とせずに、nビットの各ブロック毎にqピットのコー
ドに仮復号する。そして、仮復号した結果の合計rmゎ
・・qビットを更に、p進−2進変換した結果をアドレ
ス信号としてROMにアクセスし最終復号ずれば、復号
化に必要なROMの容iVは、となり、1/2′”ax
’n  [r””Iog、p:] ’+1に減らすこと が出来る。″ 〔発明の効果〕 以上説明したように、本発明は可変長符号逆変換装置に
おいて、nビットの基本符号語数がnビットで表わし得
る符号語数より小さいことを利用し、復号化を仮復号化
と最終復号化に分け、その間にp進−2進変換回路を設
ける−ことにより(pは基本符号語パターン数)、回路
に要するROMの容量を大幅に減らずことができ、記録
の高密度化が進み記録符号の規模が大きくなっても、小
さなROM容量で復号化回路を構成でき、その実用的価
値は非常に高い。
As mentioned above, if the number of basic codeword patterns is p, p is a binary number of q-110g2pl do1p'tsul- ([] is the Kakarasu code), which uniquely identifies any of the basic codeword patterns. Runs by specifying. Next, the output r max ” 'q pits from this temporary decoding means are converted into r n+ax digit p
By considering it as a base number and converting it into a binary number, it can be further reduced to [r max·]00g2I] +] bits. Therefore, the input code word is not directly used as an address signal, but is tentatively decoded into a q-pit code for each block of n bits. Then, if we access the ROM using the result of p-adic-binary conversion as an address signal and perform final decoding on the total rmゎ...q bits of the temporary decoding results, the ROM capacity iV required for decoding is as follows. , 1/2′”ax
'n [r""Iog, p:] ' can be reduced to +1. [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 code inverse conversion device, and performs decoding using temporary decoding. and final decoding, and a p-adic-to-binary conversion circuit is provided between them (p is the number of basic code word patterns), the ROM capacity required for the circuit can be reduced significantly, and high-density recording can be achieved. Even if the scale of recorded codes increases as the technology advances, a decoding circuit can be configured with a small ROM capacity, and its practical value is extremely high.

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

第1図は本発明の構成を示ずブロック図、第2図は(4
,19,2,5,6)符号のデータ語と符号語の対応表
。第3図は(4,19,2,5,−6)符号の基本符号
語と仮復号語の対応表。第4図は(4,、19゜2、 
5. 6)符号のデータ語と仮復号語の対応表の一部。 第5図は先頭の5ビットが” 10000 ”である符
号語と対応するデータ語。第6図は(4,、1,9゜2
.5.6)符号の最終復号化に用いるR、 OMのメモ
リーマツプの一部。第7図は従来入力符号語ビット列を
直接ROMのアドレスに用いた復号化装置の構成を示す
ブロック図。第8図は(3,16,,2,、6゜4)符
号のデータ語と符号語の対応表。第9図は(3゜1.6
.2.6.4)符号の基本符号語と仮復号語の対応表。 第10図は(3,]6.2.6.’4)符号のデータ語
と仮復号語の対応表の一部。第11図は(3゜1.6.
2.”6.’4)符号の最終復号化に用いるR OMの
メモリーマツプの一部。 10.20・・・・・・・・・・・・・・・・・・・・
・・ ・・・入力用シフトレジスタ11、.21・・・
・・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・ラッチ回路12・・・・
・・・・・・・・・ ・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・仮復号化回路13
・・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・p進−2進変換回路
14、 22・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・ ・・・・・・・・・・・・・
・・・・・・・・R’OM15.23・・・・・・・・
・・・・・・・・・・・・・・・・・出力用シフトレジ
スタ1.6.24・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・ラッチ信号発生回
路(4,19゜ データ語 2、 5. 6)符号のデータ語と符号語の対応表符号
語 ioooooooo。 ooooioooo。 010000’100000C100 010000010000’000 ooioooootooooo。 ooiooooootoooo。 ooolooooiooooo。 ooooiooooloooo。 oiooootooooootooooo。 oiooootoooooooioooo。 oioooooiooooootoooo。 oo i’oooo i oooooo i oooo
。 ootooootooooooooooo。 ootooooooioooo1oooo。 ootooooooiooooooooo。 oootooooto、oootooooo。 oootooooloooooioooo。 000100001.00000000000ooo 
t ooooo t oooo t oooo。 oootoooooiooooooooo、。 oooo t oooo i oooo i oooo
。 o 1oooo i oooo toooooo 1o
oooo。 (111.1001011)       01000
oiooooiooooooooooooo01000
0010000100C)0000o i 00000
 1 00000 t oooooo01000001
000000QOOOOO0100000010000
01000.00otooooooioooooooo
ooooio.oooooo1ooooooooooo
oiooooioo’ootooooooo00100
00100000010’OO00ooiooooto
oooooooooooooioooooiooooo
oooooo0001000001000000’00
00ooootooooiooooo.ooooooo
ootoooooooooooooooooooooo
ooooooootoooo001.0000.100
001.OOOOOOOooioooo.tooooo
iooooooootooooioooooooooo
ooooioooooioooooooooooo o
 1o o o o o o t o.o o’o o
 o o o o ooooioooo 1ooooo
i”oooooooo i 00000 1 0000
000000000010000100001’000
00o o o o i o’o’o o o o o
 o o o o o o o oooooooooo
ooooootoooo00010000100000
1.00000oooioooo1ooo’ooooo
ooo00o1000001000010000000
00100001000000.00000 0 0 
0 0 0 0 0 0 0 0 0 0 0 ’0 
1 0 0 0 00’00010000100001
0.00000 0 0 0 1. 0 0 0 0 
0 0 0 0 ’O O 0 0 0 0 0010
000100001000010000C)000(1
11110101111’)  ’  0f(1111
11’000110)    01000010000
1′00001000000010000000001
00’0O1000001,000010000000
0’00010000100000100.00010
0’0OOOoooo 1000010000001 
oooolooooo。 00001’00001000000.0100001
.000000000100000100001000
0・0100OOQO000010000010000
10000,0C)1.OO,0OOo、o、ooi、
oooooi oooootoooot ooooo。 ooooiooooo1oooo○1.0OOO,O1
,0000000001’0OOOO10000010
0000000000oooo i oooooo t
 0000100001000000oooo i o
ooooo t ooooo t o、、oo’o1o
ooo。 oooo t ooooooo t oooo i o
ooo i o、ooo。 ooooo 10’OO(] 10000100000
1000000000001QOOO10000100
00001’00000oooooioooo 1oo
oooiooootoo、ooo。 000001000010000001000010.
000000’0OO100001000000100
00000000ooooo1oooooiooooi
ooooo’1oooo。 nnn 01110nnnn1  n0nnl  n[
’l 00n(’]1nnn’On□ oooooioo、oooioooootooooio
ooo。 00000100000100000’1OOOOOO
C100’0000’001000000100001
00000000000000001000010o0
0100001000000oooooo i ooo
o 1oooo i oooooooooo。 DC10000100CIO100000tO0000
00000DO000010000010000100
0’0100000つ000001000001000
010000000000つ000000100001
000010000100000)00000.010
00010000’10000000000t ooo
o i oooo i oooo i oooo、o 
i ooooo。 t oo、oo t oooo 1oooo i oo
oooo t oooo。 100001.00001000010.000000
00000100C)010000100000100
0010000001000010000100000
10000010.00001000010.0001
0000010000.0000000[,0QOO1
000010000001,C100O100OOO1
000010000,100000010000000
0001,0O001000001000010000
jO00000100001000001000010
000Q100000[0000j000’0O100
0010,0OC100O0000iQOOO1000
0010000010000100000IQOOOI
 000.0010000010000000.000
10000.1. OOOOOO100001,000
01,OQ OOO10’oO’010.O’O,OO
O100001,0,000000000LOOOOO
10000100001000010,00000[0
000010’0OO10000jO00001000
00LOOOOO100OO100OO1000000
000001’0OO00’1OOOO1000001
0000100000(   )          
    1ooooooo 1.0000 t ooo
o t oooo i ooooo000 1 000
0 1 0000 t oooooooooooo i
 oooo i oooo 1oooo i oooo
oo00100001.00001000001000
00ooioooooioooo1ooooooooo
oiooooootoooootoooooooooo
i ooooooo i oooo i oooooo
oooo00010C)00100000000000
0000ooooooooooooooioooooo
ooooioooooooooooooooootoo
oooo1oooooioooooooooooooo
o000000000’OOOOOOO1000000
0ooioooooiooooooooooooooo
ootooooooooooooooooiooooo
ooiooooiooooooooooooooooo
oooooooooooooiooooooooooo
ioooo 1oooooooooooooooooo
oo        (ooo)C)0100    
    (011)データ語(データ) 仮復号語(アドレス) 10”01 10 1’Ojl OOO 1、oioo、i LO1110 1100’00 ooi   oo。 oio   oo。 011   C)00 01.0  101  000 01C)   000  000 0  。 o  O。 o   o   o   。 0    0    0    0     匡o  
   o     0    0     Q    
0   0   −    vO−0←口 OC)     −s     −<     8が 廻 冒 択 トドトド ] 11tootc+’+ o o o o o o       (o o o)
oioooo       (oto)ooooo ゴ
        (110)7進のシンボル 1 J 1 1、01.000 101 1、00 oio   oo。 oio   1oo   oo。
Figure 1 is a block diagram that does not show the configuration of the present invention, and Figure 2 is a (4
, 19, 2, 5, 6) Correspondence table between code data words and code words. FIG. 3 is a correspondence table between basic code words and provisional decoded words of the (4, 19, 2, 5, -6) code. Figure 4 shows (4,, 19°2,
5. 6) Part of the correspondence table between code data words and temporary decoded words. FIG. 5 shows a code word whose first 5 bits are "10000" and a corresponding data word. Figure 6 is (4,,1,9゜2
.. 5.6) Part of the memory map of R and OM used for final decoding of the code. FIG. 7 is a block diagram showing the configuration of a conventional decoding device that uses an input code word bit string directly as a ROM address. FIG. 8 is a correspondence table of data words and code words for the (3, 16,, 2,, 6° 4) code. Figure 9 is (3°1.6
.. 2.6.4) Correspondence table between basic code words and provisional decoded words. FIG. 10 is part of a correspondence table between data words and provisional decoded words of the (3,]6.2.6.'4) code. Figure 11 shows (3°1.6.
2. ``6.'4) Part of the ROM memory map used for final decoding of the code. 10.20・・・・・・・・・・・・・・・・・・・・・
... Input shift register 11, . 21...
・・・・・・・・・・・・・・・・・・・・・・・・
...... Latch circuit 12...
・・・・・・・・・ ・・・・・・・・・・・・・・・
......Temporary decoding circuit 13
・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・P-adic-binary conversion circuit 14, 22・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・R'OM15.23・・・・・・・・・
・・・・・・・・・・・・・・・・・・Output shift register 1.6.24・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・Latch signal generation circuit (4, 19° data word 2, 5. 6) Code data word and code word correspondence table Code word iooooooooo. oooooiooooo. 010000'100000C100 010000010000'000 ooioooootoooooo. ooiooooooooooo. ooooooooooooooo. oooooiooooooooo. oioooootoooooooooooo. oioooootoooooooooooo. oioooooiooooooooooooo. oo i'oooo i oooooo i oooo
. oooooooooooooooooooo. ootooooooiooooo1oooo. ootoooooooooooooooooo. ooootooooto, ooootoooooo. oooooooooooooooooooo. 000100001.00000000000ooo
toooooo toooo toooo. oooooooooooooooooo. oooo t oooo i oooo i oooo
. o 1ooooo i oooo toooooo 1o
ooooo. (111.1001011) 01000
oioooooiooooooooooooooo01000
0010000100C)0000o i 00000
1 00000 toooooo01000001
000000QOOOOOO0100000010000
01000.00otoooooooooooooo
oooooio. ooooooo1oooooooooooo
oioooiooo'ootoooooooo00100
00100000010'OO00ooioooooto
ooooooooooooooooooooooooooooooo
ooooooo0001000001000000'00
00ooootooooiooooooo. ooooooooo
ootoooooooooooooooooooo
ooooooooootoooo001.0000.100
001. OOOOOOOOoooooooo. toooooo
ioooooooooooooooooooooo
oooooiooooooooooooooooo
1 o o o o o o o to. o o'o o
o o o o oooooiooooo 1oooooo
i”oooooooo i 00000 1 0000
000000000010000100001'000
00o o o o i o'o'o o o o o o
o o o o o o o ooooooooooo
oooooootoooo00010000100000
1.00000ooooiooooo1ooo'ooooo
ooo00o1000001000010000000
00100001000000.00000 0 0
0 0 0 0 0 0 0 0 0 0 0 '0
1 0 0 0 00'00010000100001
0.00000 0 0 0 1. 0 0 0 0
0 0 0 0 'O 0 0 0 0 0 0010
000100001000010000C)000(1
11110101111') ' 0f(1111
11'000110) 01000010000
1'00001000000010000000001
00'0O1000001,000010000000
0'00010000100000100.00010
0'0OOOOooooo 1000010000001
ooooooooooo. 00001'00001000000.0100001
.. 000000000100000100001000
0・0100OOQO000010000010000
10000,0C)1. OO, 0OOo, o, ooi,
ooooooi ooooootoooot oooooo. oooooiooooo1oooo○1.0OOOO, O1
,0000000001'0OOOO10000010
0000000000oooo i ooooooot
0000100001000000oooo io
oooooo t oooooo t o,,oo'o1o
ooooo. oooo t oooooooo t oooo io
ooo i o, ooo. ooooo 10'OO(] 10000100000
1000000000001QOOO10000100
00001'00000ooooooiooooo 1oo
oooioooootoo, ooo. 000001000010000001000010.
000000'0OO100001000000100
00000000oooooo1ooooooioooooi
ooooo'1oooo. nnn 01110nnnn1 n0nnl n[
'l 00n(']1nnn'On□ oooooiooo, oooioooootooooooio
ooooo. 00000100000100000'1OOOOOO
C100'0000'001000000100001
00000000000000001000010o0
0100001000000oooooo i ooo
o 1ooooo i ooooooooooo. DC10000100CIO100000tO0000
00000DO000010000010000100
0'0100000 000001000001000
010000000000 000000100001
000010000100000)00000.010
00010000'10000000000t ooo
o i oooo i oooo i oooo, o
i ooooo. t oo, oo t oooo 1oooo i oo
oooo toooo. 100001.00001000010.000000
00000100C) 010000100000100
0010000001000010000100000
10000010.00001000010.0001
0000010000.0000000[,0QOO1
000010000001, C100O100OOOO1
000010000, 100000010000000
0001,0O001000001000010000
jO00000100001000001000010
000Q100000[0000j000'0O100
0010,0OC100O0000iQOOO1000
0010000010000100000IQOOOOI
000.0010000010000000.000
10000.1. OOOOOOO100001,000
01,OQ OOO10'oO'010. O'O, OO
O100001,0,000000000LOOOOO
10000100001000010,00000[0
000010'0OO10000jO00001000
00LOOOOO100OO100OO1000000
000001'0OO00'1OOOO1000001
0000100000 ( )
1oooooooo 1.0000 toooo
o t oooo i oooooo000 1 000
0 1 0000 toooooooooooo i
oooo i oooo 1oooo i oooo
oo00100001.00001000001000
00ooioooooiooooo1oooooooooo
oiooooooooooooooooooooo
i ooooooo i ooooo i ooooooo
oooo00010C)00100000000000
0000ooooooooooooooooooooo
oooooiooooooooooooooooooooooooooo
ooooo1ooooooiooooooooooooo
o000000000'OOOOOOOO1000000
0ooiooooooooooooooooooo
ootoooooooooooooooooooooo
ooioooooiooooooooooooooo
ooooooooooooooooooooooooo
ioooo 1oooooooooooooooooo
oo (ooo)C)0100
(011) Data word (data) Temporary decoded word (address) 10"01 10 1'Ojl OOO 1, oioo, i LO1110 1100'00 ooi oo. oio oo. 011 C) 00 01.0 101 000 01C) 000 000 0. o O. o o o. 0 0 0 0 匡o
o 0 0 Q
0 0 - vO-0←mouth OC) -s -< 8 goes around] 11tootc+'+ o o o o o o (o o o)
oiooooo (oto)oooooo Go (110) Heptan symbol 1 J 1 1, 01.000 101 1, 00 oio oo. oio 1oo oo.

Claims (5)

【特許請求の範囲】[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ビットをr_m_a
_x桁のp進数とみなしてこれを2進数に変換する手段
と、この2進数をデータ語に最終復号化する手段とを具
備することを特徴とする可変長符号逆変換装置。
(1) When the basic data word length is m bits and the basic code word length is n bits, for an integer r such that 1≦r≦r_m_a_x, an r・m bit data word is converted into an r・n bit code word. variable-length RLL (run length limited) that limits the number of runs of “0” between “1” and “1” in a binary code bit string generated by the connection of code words after conversion to d or more and k or less. In a decoding device that inversely transforms each code word of a code into its corresponding data word, an input code word is converted into each n
means for dividing into r_m_a_x blocks of bits; means for temporarily decoding each block into q bits;
1. A variable-length code inverse conversion device comprising means for converting the binary number into a binary number by regarding it as a p-adic number of _x digits, and means for finally decoding the binary number into a data word.
(2)基本符号語長であるnビットの基本符号語数をp
とし、前記仮復号化手段が各nビットのブロック毎にそ
のp種のパターンに応じたqビットのコードを出力する
とき、q=[log_2p]+1([ ]はガウス記号
)であることを特徴とする特許請求の範囲第(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 corresponding to the p patterns for each n-bit block, q=[log_2p]+1 ([ ] is a Gaussian symbol). A variable length code inverse conversion device according to claim (1).
(3)p進−2進変換手段が仮復号化手段より出力され
るr_m_a_x・qビットに対して[r_m_a_x
・log_2p]+1ビットを出力することを特徴とす
る特許請求の範囲第(2)項記載の可変長符号逆変換装
置。
(3) The p-adic-binary conversion means converts [r_m_a_x
The variable-length code inverse conversion device according to claim 2, wherein the variable-length code inverse conversion device outputs log_2p]+1 bit.
(4)最終復号化手段がp進−2進変換手段より出力さ
れる合計[r_m_a_x・log_2p]+1ビット
のコードによって一意に指定されるr・mビットのデー
タ語パターンを出力することを特徴とする特許請求の範
囲第(3)項記載の可変長符号逆変換装置。
(4) The final decoding means outputs an r m bit data word pattern that is uniquely specified by the total [r_m_a_x·log_2p]+1 bit code output from the p-adic-binary converting means. A variable length code inverse conversion device according to claim (3).
(5)仮復号化手段がメモリーあるいはゲート回路、最
終復号化手段がメモリーによって構成されることを特徴
とする特許請求の範囲第(1)項記載の可変長符号逆変
換装置。
(5) 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.
JP12638389A 1989-05-19 1989-05-19 Variable length code inverse converter Pending JPH02305227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12638389A JPH02305227A (en) 1989-05-19 1989-05-19 Variable length code inverse converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12638389A JPH02305227A (en) 1989-05-19 1989-05-19 Variable length code inverse converter

Publications (1)

Publication Number Publication Date
JPH02305227A true JPH02305227A (en) 1990-12-18

Family

ID=14933794

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12638389A Pending JPH02305227A (en) 1989-05-19 1989-05-19 Variable length code inverse converter

Country Status (1)

Country Link
JP (1) JPH02305227A (en)

Similar Documents

Publication Publication Date Title
US4985700A (en) Variable-length coding/decoding device
US4677421A (en) Digital information signal encoding method with reduced run length and improved self-clocking
US5173694A (en) Binary data encoding and decoding using a rate 2/5 (2,18,2) code
JPS6318821A (en) Encoder
JPS6367268B2 (en)
JPS61260468A (en) Interleaving circuit
JP2002271205A (en) Modulation method, modulator, demodulation method, demodulator, information recoding medium, information transmitting method and information transmitting equipment
JPH08287620A (en) Recording medium, and method and device for digital modulation/demodulation
JP2002335160A (en) Modulation coding method
EP0557130B1 (en) Data conversion method and recording/reproducing apparatus using the same
JP3306271B2 (en) Encoding method, encoding circuit, and decoding circuit
US5646950A (en) Matched spectral null codes for partial response channels
JP2002280907A (en) Modulation method, modulator, demodulation method, demodulator, information recording medium, information transmission method and information transmitter
WO1998017005A1 (en) Method and circuit for digital modulation and method and circuit for digital demodulation
JPH06326612A (en) Coding method for dc free channel code
JPH02305227A (en) Variable length code inverse converter
JPS6013539B2 (en) code conversion device
WO1996032780A1 (en) Device and method for converting/decoding code and recording medium
JPH02265329A (en) Code inverse converter
JPH02305226A (en) Variable length code converter
JPH09102747A (en) Rll encoding method and device for information data
JPH01221924A (en) Variable length code inverse converter
JP3368914B2 (en) Clock circuit and magnetic disk drive using the same
KR970010524B1 (en) Digital modulation method and apparatus thereof
JP4095440B2 (en) Apparatus and method for encoding information, apparatus and method for decoding the encoded information, modulation signal, and recording medium manufacturing method