JPH0797750B2 - Sequential decoding method - Google Patents
Sequential decoding methodInfo
- Publication number
- JPH0797750B2 JPH0797750B2 JP22820186A JP22820186A JPH0797750B2 JP H0797750 B2 JPH0797750 B2 JP H0797750B2 JP 22820186 A JP22820186 A JP 22820186A JP 22820186 A JP22820186 A JP 22820186A JP H0797750 B2 JPH0797750 B2 JP H0797750B2
- Authority
- JP
- Japan
- Prior art keywords
- bit
- bits
- codeword
- data
- string
- 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.)
- Expired - Lifetime
Links
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Description
【発明の詳細な説明】 〔発明の目的〕 (産業上の利用分野) 本発明は、2値ディジタルデータ列を磁気記録または光
学的記録に適した信号系列に変換する逐次復号化方法に
関する。DETAILED DESCRIPTION OF THE INVENTION Object of the Invention (Field of Industrial Application) The present invention relates to a sequential decoding method for converting a binary digital data sequence into a signal sequence suitable for magnetic recording or optical recording.
(従来の技術) 2値ディジタルデータ列で表わされる情報を、磁気テー
プや磁気ディスク等の磁気記録媒体に記録しようとする
場合、上記2値ディジタルデータ列を磁気記録に適した
信号系列に変換することが行われる。このような信号系
列への変換に要求される条件としては、磁気記録媒体の
磁化反転間隔(記録波長)が短かくなると、前後の磁化
反転からの干渉を受けて、検出エラーが増大するので、
最小磁化反転間隔が大きいことと、さらに記録ビッ
トを検出するための検出窓幅が大きいこと、また復調用
クロック信号の周期に比べて磁化反転間隔が大きいこと
が挙げられる。ところが、復調用クロック信号が再生信
号より作ることが難しくなるので、最大磁化反転間隔が
小さくしなければならない。この条件は、にそれぞ
れ相反するものであり、磁気記録媒体上のデータ記録密
度を最大にするように最適化されなければならない。T.
Horiguchi及びK.Moritaの論文“An Optimiyation of Mo
dnlation Codes in Digital Recording″、IEEE Taansa
ctions on Magnetics、Vo1.MAG−12.No.6,Nov.1976、P.
740には2ビットの拘束されないデータワードを3ビッ
トの拘束されたコードワードに変換することにより、コ
ードワード列中の隣接する“1"の間の最小の“0"の数d
が1個で、隣接する“1"の間の最大の“0"の数kが7個
であるコードレート2/3の符号化復号化方式が開示して
ある。しかし、上記論文に開示してある符号化復号化方
式は、データワードが2ビット及び4ビットの可変長符
号化復号化方式であり、変換を行うための装置が複雑に
なるという欠点を有する。(Prior Art) When information represented by a binary digital data string is to be recorded on a magnetic recording medium such as a magnetic tape or a magnetic disk, the binary digital data string is converted into a signal sequence suitable for magnetic recording. Is done. As a condition required for such conversion into a signal sequence, when the magnetization reversal interval (recording wavelength) of the magnetic recording medium becomes short, interference from the previous and subsequent magnetization reversals causes an increase in detection error.
The minimum magnetization reversal interval is large, the detection window width for detecting the recording bit is large, and the magnetization reversal interval is larger than the period of the demodulation clock signal. However, since it becomes more difficult to generate a demodulation clock signal than a reproduction signal, the maximum magnetization reversal interval must be reduced. These conditions are contradictory to each other and must be optimized to maximize the data recording density on the magnetic recording medium. T.
Horiguchi and K. Morita's paper “An Optimiyation of Mo
dnlation Codes in Digital Recording ″, IEEE Taansa
ctions on Magnetics, Vo1.MAG-12.No.6, Nov.1976, P.
The 740 converts the 2-bit unconstrained data word into a 3-bit constrained codeword to determine the minimum number of "0s" between adjacent "1s" in the codeword sequence d.
There is disclosed a coding / decoding system with a code rate of 2/3, in which the maximum number k of "0" s between adjacent "1" s is 7. However, the coding / decoding method disclosed in the above-mentioned paper is a variable length coding / decoding method in which the data word is 2 bits and 4 bits, and has a drawback that a device for performing the conversion becomes complicated.
特開昭58−212248号公報には、上記可変長符号化復号化
方式における変換を逐次的に行うことの出来るエンコー
ド及びデコード装置が開示してある。上記特許における
エンコード装置、及びデコード装置において採用されて
いるコードレート2/3の符号化復号化方式の変換表を表
1に示す。Japanese Patent Laid-Open No. 58-212248 discloses an encoding / decoding device capable of sequentially performing conversion in the variable length coding / decoding system. Table 1 shows a conversion table of the encoding / decoding method of the code rate 2/3 adopted in the encoding device and the decoding device in the above patent.
第1表において、データワードと記載された左欄は、デ
ータ列から区切ったデータビットの組を示し、コードワ
ードと記載された右欄は対応する変換されたコードビッ
トの組を示している。変換されたコードワード列は、コ
ードビットが“1"のところで記録信号を反転することに
より、磁気記録媒体上に磁化反転として記録される。表
1においてコードワード中の小文字“x"は、前のコード
ワードの最後のビットによって“1"又は“0"となるビッ
トを示しており、前のビットの補数を表わしている。こ
のような符号化方式のデコード装置は、上記特許に示さ
れている第2図の如き回路で実現出来る。第2図の復号
化回路は、コードワード列の3ビット毎にデータを2ビ
ット出力する逐次形の復号化回路であり、第3図にクロ
ック及び制御信号の波形とタイミングを示す図である。
コードワード列は、クロックBに同期して、シリアル入
力、パラレル出力のシフトレジスタ20に入力され、クロ
ックBによってシフトされる。シフトレジスタ20の4段
のパラレル出力は、アンド回路211〜213及びオア回路21
4,215からなる論理回路21によって符号変換され、クロ
ックA及びロード信号によって動作するパラレル入力の
シフトレジスタ23に並列にロードされる。シフトレジス
タ23のロード動作は、ロード信号がハイレベルの時にク
ロックA信号の立上りで、論理回路21の出力Ai、Bi、C
i、Diを並列にロードすることにより行われる。ロード
信号がローレベルの時には、シフトレジスタ23はシフト
動作を行う。論理回路21は表1で表わされる符号変換
を、コードワードからデータワードをデコードするため
の論理演算を行うもので、コードビット3ビット毎に逐
次的にデータ2ビットに変換すると共に、逐次的にデコ
ードするためのワード長を表わす符号Ciと、6ビット長
コードワードの場合の第2番目のコードビットを保存す
るための符号Diを出力する。すなわち、データワード長
が4ビット、つまりコードワード長が6ビットの時の先
頭の3ビットのコ ードビットを2ビットのデータに変換する時にのみCi=
1とすると、データビットで2ビット前のCi-1を使って
表1は表2の如く書けるので、Ci-1とデータビットで2
ビット前のDi-1及びコードビットX.Y.Z.Wとを使って、
データビットAi及びBiと、ワード長を表わす符号Ci、保
存すべきコードビットDiを次のように演算する。 In Table 1, the left column labeled "Data Word" indicates a set of data bits separated from the data string, and the right column labeled "Code Word" indicates a corresponding set of converted code bits. The converted codeword sequence is recorded as magnetization reversal on the magnetic recording medium by reversing the recording signal when the code bit is "1". In Table 1, a lower case "x" in a codeword indicates a bit that becomes "1" or "0" depending on the last bit of the previous codeword, and represents the complement of the previous bit. A decoding device of such an encoding system can be realized by a circuit as shown in FIG. 2 shown in the above patent. The decoding circuit of FIG. 2 is a sequential decoding circuit that outputs 2 bits of data for every 3 bits of a codeword string, and FIG. 3 is a diagram showing waveforms and timings of clocks and control signals.
The code word string is input to the serial input / parallel output shift register 20 in synchronization with the clock B, and is shifted by the clock B. The parallel output of the four stages of the shift register 20 is the AND circuits 211 to 213 and the OR circuit 21.
The code is converted by the logic circuit 21 composed of 4,215 and loaded in parallel to the parallel input shift register 23 operated by the clock A and the load signal. The load operation of the shift register 23 is such that the outputs Ai, Bi, C of the logic circuit 21 are generated when the clock A signal rises when the load signal is at a high level.
This is done by loading i and Di in parallel. When the load signal is low level, the shift register 23 performs a shift operation. The logic circuit 21 performs a logical operation for decoding the code word shown in Table 1 to decode a data word from a code word. It sequentially converts every 3 bits of code bit into 2 bits of data, and sequentially. A code Ci representing the word length for decoding and a code Di for storing the second code bit in the case of a 6-bit long codeword are output. That is, when the data word length is 4 bits, that is, when the code word length is 6 bits, the leading 3 bits are copied. Ci = only when converting the data bit to 2-bit data
If it is 1, Table 1 can be written as shown in Table 2 using Ci −1 that is 2 bits before the data bit, so Ci −1 and data bit is 2
With Di -1 before bit and code bit XYZW,
The data bits Ai and Bi, the code Ci representing the word length, and the code bit Di to be stored are calculated as follows.
Ci-1及びDi-1はデータビットで2ビット前の符号を示し
ており、ロード信号がハイレベルで、クロックAの立上
りの時にはCi-1はシフトレジスタ23のB段に、Di-1はシ
フトレジスタ23のC段に格納されている。従って、論理
回路21は論理演算式(1)を実現するための回路で、ア
ンド回路211〜213とオア回路214,215を第2図の論理回
路21のように接続することにより(1)の演算が実行さ
れる。しかしながら、表1の符号化復号化方式のデコー
ド装置を実現する第2図の従来の復号化回路では、ワー
ド長を表わす符号等を演算し、格納するレジスタが余分
に必要となり、回路規模が極めて大きく(a)複雑であ
るという欠点があった。 Ci -1 and Di -1 are data bits and represent the code two bits before. When the load signal is at a high level and the clock A rises, Ci -1 is in the B stage of the shift register 23, and Di -1 is It is stored in the C stage of the shift register 23. Therefore, the logic circuit 21 is a circuit for realizing the logical operation expression (1). By connecting the AND circuits 211 to 213 and the OR circuits 214 and 215 like the logic circuit 21 of FIG. To be executed. However, in the conventional decoding circuit of FIG. 2 which realizes the decoding device of the encoding / decoding system of Table 1, an extra register for calculating and storing the code representing the word length and the like is required, and the circuit scale is extremely large. There was a drawback that it was large (a) complicated.
(発明が解決しようとする問題点) 上述した如く、表1に示す符号化復号化方式を用い、こ
の方式を回路として実現しようとすると、構成が大き
く、かつ複雑になるという欠点があった。つまり、上記
表1に示すような符号変換は、装置を実現する上で適し
たものであるとは言えなかった。そこで、この発明は、
このような事情を考慮してなされたもので、その目的と
するところは、上記可変長符号化復号化方式におけるデ
コード装置に使用することの出来る、回路規模の小さい
逐次復号化方法を提供することにある。(Problems to be Solved by the Invention) As described above, when the encoding / decoding system shown in Table 1 is used to implement this system as a circuit, there is a drawback that the configuration becomes large and complicated. That is, the code conversion as shown in Table 1 above was not suitable for realizing the device. So, this invention
The present invention has been made in view of such circumstances, and an object thereof is to provide a successive decoding method with a small circuit scale that can be used in a decoding device in the variable length coding and decoding system. It is in.
(問題点を解決するための手段) この発明は、2値データ列を、4種類の2ビット長デー
タワードから選択された(0,0)または(1,1)のデータ
ワードを除いた3種類の2ビット長データワードと前記
選択から除かれた2ビット長データを上位ビットとする
4種類の4ビット長データワードとに区切り、前記3種
類の2ビット長データワードの第1及び第2ビットが、
それぞれ第2及び第3ビットと同じか、または補数とな
るような3種類の3ビット長コードワードに対応させ、
前記4種類の4ビット長データワードの第3及び第4ビ
ットが、それぞれコードワードの第2及び第6ビットと
同じか、または補数となるような4種類の6ビット長デ
ータワードに対応させて、前記2値データ列をコードワ
ード列に変換し、変換された前記コードワード列から6
ビット長コードワードが検出された場合に、前記6ビッ
ト長コードワードの第5ビットにこの6ビット長コード
ワードの第2ビットを複写し、変換された前記コードワ
ード列の3ビットのコードビット毎に、前記コードワー
ド列の3ビットに続く1ビットの値をもとに、コードワ
ード列の3ビットのコードビットを2ビットのデータビ
ットに変換し、この変換された2ビットのデータビット
をコードワード列を前記2値データ列として出力するこ
とを特徴とする逐次復号化方法でワード列を前記2値デ
ータ列として出力することを特徴とする逐次復号化方法
である。(Means for Solving the Problems) In the present invention, a binary data string is obtained by removing (0,0) or (1,1) data words selected from four types of 2-bit length data words. The two types of 2-bit length data words and the four types of 4-bit length data words whose upper bits are the 2-bit length data words removed from the selection are divided into the first and second of the three types of 2-bit length data words. A bit
Corresponding to three kinds of 3-bit length codewords which are the same as or complementary to the second and third bits, respectively,
Corresponding to 4 types of 6-bit length data words, the 3rd and 4th bits of the 4 types of 4-bit length data words are the same as or complementary to the 2nd and 6th bits of the codeword, respectively. , The binary data string is converted to a codeword string, and the converted codeword string is converted to 6
When a bit-length codeword is detected, the second bit of the 6-bit length codeword is copied to the fifth bit of the 6-bit length codeword, and every 3-bit code bit of the converted codeword string is copied. Based on the 1-bit value following the 3 bits of the codeword string, the 3-bit code bits of the codeword string are converted into 2-bit data bits, and the converted 2-bit data bits are coded. The sequential decoding method is characterized by outputting a word string as the binary data string and outputting the word string as the binary data string.
(作用) 本発明は、2値データ列を4種類のデータワードから選
択された(0,0)または(1,1)のデータワードを除いた
3種類の2ビット長データワードと選択から除かれた2
ビット長データを上位ビットとする4種類の4ビット長
データワードに区切り、3種類の2ビット長データワー
ドの第1及び第2ビットがそれぞれ3ビット長コードワ
ードの第2及び第3ビットと同じか、または補数となる
ように対応させる。さらに、4種類の4ビット長データ
ワードの第3及び第4ビットが、それぞれ6ビット長コ
ードワードの第2及び第6ビットと同じか、または補数
となるように対応させる可変長符号化復号化方式に使用
するコードワード列をデータ列に変換する復号化方法で
ある。そして、入力されるコードワードが6ビット長コ
ードワードであると検出された場合には、6ビット長コ
ードワードの第5ビットを6ビット長コードワードの第
2ビットと置き換えることにより、ワード長を表わす符
号等を格納するレジスタを不用にでき、回路規模を小さ
くできる。(Operation) In the present invention, a binary data string is excluded from three kinds of 2-bit length data words except selection of (0,0) or (1,1) data words selected from four kinds of data words and selection. Burnt 2
The bit length data is divided into four types of 4-bit length data words having upper bits, and the first and second bits of the three types of 2-bit length data words are the same as the second and third bits of the 3-bit length code word, respectively. Or correspond to be the complement. Further, variable length coding and decoding in which the third and fourth bits of the four types of 4-bit length data words are made to be the same as or complementary to the second and sixth bits of the 6-bit length code word, respectively. This is a decoding method for converting a codeword string used in the method into a data string. If the input codeword is detected to be a 6-bit long codeword, the fifth bit of the 6-bit long codeword is replaced with the second bit of the 6-bit long codeword to determine the word length. The register for storing the sign or the like can be dispensed with, and the circuit scale can be reduced.
(実施例) 以下、図面を参照して本発明の一実施例につき説明す
る。Embodiment An embodiment of the present invention will be described below with reference to the drawings.
第1図は、本発明による復号化回路の一実施例であり、
基本的にはDフリップフロップ10,シフトレジスタ11,オ
ア回路12,13,14アンド回路15,16パラレル入力シフトレ
ジスタ17で構成される。表3は、復号化回路によってデ
コードされるコードワードとデータワードとの対応関係
を示した変換表であり、6ビット長コードワードをデコ
ードする場合には、まず前半の3ビットのコードビット
を2ビットのデータビットに変換すると共に、自己内で
コードワードの第5ビットを第2ビットで置き換えた修
正コードワードを作った後、後半の3ビットのコードビ
ットを2ビットのデータビットに変換することを表わし
ている。 FIG. 1 shows an embodiment of a decoding circuit according to the present invention,
Basically, it comprises a D flip-flop 10, a shift register 11, OR circuits 12, 13, 14 AND circuits 15, 16 and a parallel input shift register 17. Table 3 is a conversion table showing the correspondence between codewords and data words that are decoded by the decoding circuit. When decoding a 6-bit long codeword, the first 3 bits of the code bit are converted into 2 bits. Converting the 5th bit of the codeword to the 2nd bit by itself while converting the 5th bit of the codeword to the 2nd data bit, and then converting the latter 3 bits of the code bit to 2 bits of the data bit. Is represented.
第1図の復号化回路は、コードワード列の3ビット毎に
データを2ビット出力する逐次形の復号化回路であり、
第2図の従来例と同様に、第3図に示す制御信号及びク
ロック信号波形とタイミング関係で動作する。コードワ
ード列は、クロックBに同期してDフリップフロップ10
にクロックBと共に入力され、そのQ出力はオア回路12
を介して、クロックBで動作するシリアル入力、パラレ
ル出力のシフトレジスタ11に加えられる。Dフリップフ
ロップ10の出力と、シフトレジスタ11の3段のパラレル
出力とは、オア回路13,14及びアンド回路15によってデ
ータビットが論理演算され、クロックA及びロード信号
によって動作するパラレル入力のシフトレジスタ17にロ
ードされると共に、コードワードのワード長が6ビット
の場合には、ロード信号がハイレベル時に、Dフリップ
フロップ10の出力とシフトレジスタ11のパラレル出力と
から特定のパターンが検出され、アンド回路16とオア回
路12とによって、シフトレジスタ11のX段に格納されて
いる6ビット長コードワードの第2ビットが、シフトレ
ジスタ11のw段に格納されている6ビット長コードワー
ドの第5ビットに代ってシフトレジスタ11のZ段に入力
される。シフトレジスタ17のロード動作はロード信号が
ハイレベルの時にクロックAの立上りで、論理演算され
たデータビットを並列にロードすることにより行われ
る。ロード信号がローレベルの時には、シフトレジスタ
17はシフト動作を行う。従って、本実施例による符号変
換は、3ビット長コードワード及び6ビット長コードワ
ードの前半の3ビットに対しては修正される前のコード
ワードの3ビットのコードビットを2ビットのデータビ
ットに変換し、6ビット長コードワードの後半の3ビッ
トに対しては、Dフリップフロップ10とシフトレジスタ
11に格納されているコードビットが特定のパターンであ
ることを検出し、6ビットコードワードの第5ビットを
修正して、この修正コードワードの後半の3ビットのコ
ードビットを2ビットのデータビットに変換するように
した逐次的な復号化回路である。表3から、データビッ
トのAj、Bjと、コードワードを修正するためのシフトレ
ジスタ11の入力Zjは、ロード信号をLとして、次のよう
に演算される。The decoding circuit of FIG. 1 is a sequential decoding circuit that outputs 2 bits of data for every 3 bits of a codeword string,
Similar to the conventional example of FIG. 2, it operates in timing relationship with the control signal and clock signal waveforms shown in FIG. The code word string is synchronized with the clock B and the D flip-flop 10
Is input to the OR circuit 12 together with the clock B.
Via a serial input and parallel output shift register 11 operated by clock B. The output of the D flip-flop 10 and the parallel output of three stages of the shift register 11 are logically operated on the data bits by the OR circuits 13 and 14 and the AND circuit 15, and the parallel input shift register is operated by the clock A and the load signal. When the load signal is high level, a specific pattern is detected from the output of the D flip-flop 10 and the parallel output of the shift register 11 when the word length of the code word is 6 bits. The circuit 16 and the OR circuit 12 cause the second bit of the 6-bit long codeword stored in the X stage of the shift register 11 to be the fifth bit of the 6-bit long codeword stored in the w stage of the shift register 11. It is input to the Z stage of the shift register 11 instead of the bit. The load operation of the shift register 17 is performed by loading the data bits which have been logically operated in parallel at the rising edge of the clock A when the load signal is at the high level. When the load signal is low level, shift register
17 performs shift operation. Therefore, in the code conversion according to the present embodiment, for the first 3 bits of the 3-bit length codeword and the 6-bit length codeword, the 3-bit code bits of the codeword before the modification are converted into 2-bit data bits. D flip-flop 10 and shift register for the latter 3 bits of the 6-bit long codeword
It detects that the code bit stored in 11 is a specific pattern, modifies the 5th bit of the 6-bit codeword, and modifies the latter 3 bits of the modified codeword to 2 data bits. It is a sequential decoding circuit adapted to convert to. From Table 3, the data bits Aj and Bj and the input Zj of the shift register 11 for correcting the codeword are calculated as follows with the load signal being L.
従って、(2)式を実行する論理演算は、Dフリップフ
ロップ10の出力とシフトレジスタ11のY段及びZ段の
出力をアンド回路15に入力し、アンド回路15の出力と
シフトレジスタ11のX段のQ出力とをオア回路13に入力
して、オア回路13の出力をAjとし、アンド回路15の出力
とシフトレジスタ11のY段のQ出力とをオア回路14に入
力して、オア回路14の出力をBjとすることにより、シフ
トレジスタ17に並列にロードすると共に、シフトレジス
タ11のX段のQ出力、Y段の出力及びZ段の出力と
ロード信号とをアンド回路16に入力し、アンド回路16の
出力とフリップフロップのQ出力とをオア回路12に入力
し、オア回路12の出力をシフトレジスタ11の入力に加え
るZjとすることにより行うことが出来る。 Therefore, in the logical operation for executing the equation (2), the output of the D flip-flop 10 and the outputs of the Y and Z stages of the shift register 11 are input to the AND circuit 15, and the output of the AND circuit 15 and the X of the shift register 11 are input. The Q output of the stage is input to the OR circuit 13, the output of the OR circuit 13 is set to Aj, the output of the AND circuit 15 and the Q output of the Y stage of the shift register 11 are input to the OR circuit 14, and the OR circuit is input. By setting the output of 14 to Bj, the load is loaded in parallel to the shift register 17, and the Q output of the X stage, the output of the Y stage and the output of the Z stage of the shift register 11 and the load signal are input to the AND circuit 16. , And the output of the AND circuit 16 and the Q output of the flip-flop are input to the OR circuit 12, and the output of the OR circuit 12 is set to Zj which is added to the input of the shift register 11.
すなわち、第1図の復号化回路は6ビット長コードワー
ドを修正してデコードすることにより、従来の復号化回
路に比べ、シフトレジスタの段数を少くすることが出来
る。That is, the decoding circuit shown in FIG. 1 can reduce the number of stages of the shift register as compared with the conventional decoding circuit by correcting and decoding the 6-bit long codeword.
以上説明したように、本実施例による復号化回路は、表
3に示す修正コードワードを使ってコードワード列から
3ビットのコードビット毎に2ビットのデータビットを
逐次的に復号することにより、ワード長を表わす符号等
を格納するレジスタを不用に出来るので、復号化回路の
構成の簡単化を図り得る。故に、その実用的利点は絶大
である。尚、本発明は上記実施例に限定されるものでは
ない。例えばコードワード列の各ビットをその補数にし
て(コードワード列を反転させて)から、符号変換を行
っても良いことは勿論である。この時には第1図の復号
化回路のDフリップフロップ10とシフトレジスタ11から
アンド回路15,16,オア回路12〜14に接続されているQ出
力と出力を交換すると共に、アンド回路16をナンド回
路に、オア回路12をノア回路にすれば良い。また(2)
式の論理演算を行うのにアンド回路とオア回路の組合せ
で行ったが、ナンド回路やノア回路の組合せでも良いこ
とは勿論であり、また、表3におけるコードワードとデ
ータワードの対応も、データビットをその補数に変換し
たものと対応させる場合には、第1図の復号化回路の出
力を反転させれば良い。要するに、本発明はその要旨を
逸脱しない範囲で種々変形して実施することが出来る。As described above, the decoding circuit according to the present embodiment uses the modified codewords shown in Table 3 to sequentially decode 2 data bits for every 3 bit code bits from the codeword string. Since the register for storing the code representing the word length can be dispensed with, the structure of the decoding circuit can be simplified. Therefore, its practical advantages are enormous. The present invention is not limited to the above embodiment. For example, it goes without saying that the code conversion may be performed after each bit of the codeword string is complemented (the codeword string is inverted). At this time, the Q output connected to the AND circuits 15 and 16 and the OR circuits 12 to 14 from the D flip-flop 10 and the shift register 11 of the decoding circuit of FIG. In addition, the OR circuit 12 may be a NOR circuit. Also (2)
Although the AND circuit and the OR circuit are combined to perform the logical operation of the expression, it is needless to say that the NAND circuit and the NOR circuit may be combined, and the correspondence between the code word and the data word in Table 3 is When the bit is made to correspond to its complement, the output of the decoding circuit in FIG. 1 may be inverted. In short, the present invention can be implemented with various modifications without departing from the scope of the invention.
本発明によれば、復号化回路のワード長を表わす符号等
を格納するレジスタを省略出来、回路としての規模が小
さくなり、集積化する場のゲート数も少なく出来るの
で、極めて実用性の高いものとなる。According to the present invention, the register for storing the code representing the word length of the decoding circuit can be omitted, the scale of the circuit can be reduced, and the number of gates for integration can be reduced. Becomes
第1図は、本発明の一実施例である復号化回路、第2図
は従来の復号化回路、第3図は従来の復号化回路及び本
発明の一実施例である復号化回路に使用するクロックと
制御信号の波形及びタイミングの概略図である。 10……Dフリップフロップ、11,20……シリアル入力パ
ラレル出力シフトレジスタ、12,13,14,214,215……オア
回路、15,16,211,212,213……アンド回路、17,23……パ
ラレル入力シフトレジスタ1 is a decoding circuit according to an embodiment of the present invention, FIG. 2 is a conventional decoding circuit, and FIG. 3 is a conventional decoding circuit and a decoding circuit according to an embodiment of the present invention. FIG. 3 is a schematic diagram of waveforms and timings of clocks and control signals to be performed. 10 …… D flip-flop, 11,20 …… Serial input parallel output shift register, 12,13,14,214,215 …… OR circuit, 15,16,211,212,213 …… AND circuit, 17,23 …… Parallel input shift register
Claims (1)
タワードから選択された(0,0)または(1,1)のデータ
ワードを除いた3種類の2ビット長データワードと前記
選択から除かれた2ビット長データを上位ビットとする
4種類の4ビット長データワードとに区切り、 前記3種類の2ビット長データワードの第1及び第2ビ
ットが、それぞれ第2及び第3ビットと同じか、または
補数となるような3種類の3ビット長コードワードに対
応させ、前記4種類の4ビット長データワードの第3及
び第4ビットが、それぞれコードワードの第2及び第6
ビットと同じか、または補数となるような4種類の6ビ
ット長データワードに対応させて、前記2値データ列を
コードワード列に変換し、 変換された前記コードワード列から6ビット長コードワ
ードが検出された場合に、前記6ビット長コードワード
の第5ビットにこの6ビット長コードワードの第2ビッ
トを複写し、 変換された前記コードワード列の3ビットのコードビッ
ト毎に、前記コードワード列の3ビットに続く1ビット
の値をもとに、コードワード列の3ビットのコードビッ
トを2ビットのデータビットに変換し、 この変換された2ビットのデータビットをコードワード
列を前記2値データ列として出力することを特徴とする
逐次復号化方法。1. A binary data string comprising three types of 2-bit length data words excluding (0,0) or (1,1) data words selected from four types of 2-bit length data words, and The 2-bit length data removed from the selection is divided into four types of 4-bit length data words having upper bits, and the first and second bits of the three types of 2-bit length data words are the second and third bits, respectively. Corresponding to three types of 3-bit length codewords that are the same as or complementary to the bits, the third and fourth bits of the four types of 4-bit length data words are respectively the second and sixth bits of the codeword.
Converting the binary data string into a codeword string in correspondence with four types of 6-bit length data words that are the same as or complementary to the bits, and convert the converted codeword string to a 6-bit length codeword Is detected, the second bit of the 6-bit length codeword is copied to the fifth bit of the 6-bit length codeword, and the code is converted for every 3 bits of the converted codeword sequence. The 3-bit code bit of the codeword string is converted into 2-bit data bit based on the 1-bit value following the 3-bit word string, and the converted 2-bit data bit is converted into the codeword string. A sequential decoding method characterized by outputting as a binary data string.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22820186A JPH0797750B2 (en) | 1986-09-29 | 1986-09-29 | Sequential decoding method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22820186A JPH0797750B2 (en) | 1986-09-29 | 1986-09-29 | Sequential decoding method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6384209A JPS6384209A (en) | 1988-04-14 |
| JPH0797750B2 true JPH0797750B2 (en) | 1995-10-18 |
Family
ID=16872783
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP22820186A Expired - Lifetime JPH0797750B2 (en) | 1986-09-29 | 1986-09-29 | Sequential decoding method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0797750B2 (en) |
-
1986
- 1986-09-29 JP JP22820186A patent/JPH0797750B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6384209A (en) | 1988-04-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4553130A (en) | Variable-length encoding-decoding system | |
| US4677421A (en) | Digital information signal encoding method with reduced run length and improved self-clocking | |
| JPH0158705B2 (en) | ||
| JP2002271205A (en) | Modulation method, modulator, demodulation method, demodulator, information recoding medium, information transmitting method and information transmitting equipment | |
| US5537422A (en) | Synchronization signal detector, synchronization signal detecting method and demodulator | |
| JPS6129578B2 (en) | ||
| JPH0714145B2 (en) | Information conversion method | |
| JP3935217B2 (en) | Conversion from a sequence of m-bit information words to a modulated signal | |
| JP2003288760A (en) | Modulation method, modulator, recording medium, demodulation method, and demodulator | |
| JPH0462216B2 (en) | ||
| JPH0797750B2 (en) | Sequential decoding method | |
| JPH0797751B2 (en) | Sequential coding method | |
| JPH02119434A (en) | Encoding circuit and decoding circuit | |
| JP3368914B2 (en) | Clock circuit and magnetic disk drive using the same | |
| JPS6069943A (en) | Code converting system | |
| JPH01221918A (en) | Variable length code conversion device | |
| JP2690154B2 (en) | 1,5 code modulation method | |
| JP2673068B2 (en) | Method and apparatus for encoding and decoding binary data using rate 2/5 (2, 18, 2) codes | |
| JPS60152154A (en) | System and apparatus for coding binary data | |
| JPH0534747B2 (en) | ||
| SU1037336A1 (en) | Digital data recording and reproducing device | |
| JPS6043263A (en) | Encoding and decoding system | |
| JPS6043262A (en) | Encoding and decoding system | |
| JPS635826B2 (en) | ||
| JPS63204822A (en) | code conversion device |