JPS6384209A - Sequential decoding circuit - Google Patents

Sequential decoding circuit

Info

Publication number
JPS6384209A
JPS6384209A JP22820186A JP22820186A JPS6384209A JP S6384209 A JPS6384209 A JP S6384209A JP 22820186 A JP22820186 A JP 22820186A JP 22820186 A JP22820186 A JP 22820186A JP S6384209 A JPS6384209 A JP S6384209A
Authority
JP
Japan
Prior art keywords
bit
data
bits
circuit
code
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
JP22820186A
Other languages
Japanese (ja)
Other versions
JPH0797750B2 (en
Inventor
Masaaki Kato
正昭 加藤
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP22820186A priority Critical patent/JPH0797750B2/en
Publication of JPS6384209A publication Critical patent/JPS6384209A/en
Publication of JPH0797750B2 publication Critical patent/JPH0797750B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To decrease gate number in integrating a small sized circuit by converting a 3-bit code bit into a 2-bit data bit, inputting it to output a code word string into a binary data string. CONSTITUTION:A decoding circuit is a sequential decoding circuit outputting two-bit data at each 3-bit of a code word string 3. The code word string is inputted to a DFF 10 synchronously with a clock B and a Q output is fed to a serial/parallel shift register 11 via an OR circuit 12. The output of the DFF 10 and the register 11 is loaded to a shift register 17 via OR circuits 13, 14 and an AND circuit 15 and a decode data output is obtained. In the code conversion, a 3-bit length and the 1st half 3-bit of a 6-bit code word are converted into a 2-bit data bit. The latter half 3-bit is converted into a 2-bit data bit by correcting the 5th bit in the sequential decoding circuit.

Description

【発明の詳細な説明】 〔発明の目的〕 (産業上の利用分野) 本発明は、2値ディジタルデータ列を磁気記録または光
学的記録に適した信号系列に変換する符号化復号化方式
における逐次復号化回路に関する・(従来の技術) 2値ディジタルデータ列で表わされる情報を、磁気テー
プや磁気ディスク等の磁気記録媒体に記録しようとする
場合、上記2値ディジタルデータ列を磁気記録に適した
信号系列に変換することが行われる、このような信号系
列への変換に要求される条件としては、磁気記録媒体の
磁化反転間隔(記録波長)が短かくなると、前後の磁化
反転からの干渉を受けて、検出エラーが増大するので。
[Detailed Description of the Invention] [Objective of the Invention] (Industrial Application Field) The present invention is directed to a sequential encoding/decoding method for converting a binary digital data sequence into a signal sequence suitable for magnetic recording or optical recording. Regarding Decoding Circuit (Prior Art) When attempting to record information represented by a binary digital data string on a magnetic recording medium such as a magnetic tape or a magnetic disk, the binary digital data string is The conditions required for conversion into such a signal sequence are that as the magnetization reversal interval (recording wavelength) of the magnetic recording medium becomes shorter, interference from previous and subsequent magnetization reversals is reduced. As a result, the detection error increases.

■最小磁化反転間隔が大きいことと、さら【■記録ビラ
トラ検出するための検出窓幅が大きいこと、また復調用
クロック信号の周期に比べて磁化反転間隔が大きいこと
が挙げられる。ところが、復調用クロック信号が再生信
号より作ることが難しくなるので、最大磁化反転間隔が
小さくしなければならない。この条件は、■■にそれぞ
れ相反するものであり、磁気記録媒体上のデータ記録密
度を最大にするように最適化されなければならない・T
、 Horiguchi及びに、 Moritaの論文
”An Optimiya−tiOn  of Mod
nlation  Codes  in  Digit
lLl  Recor−ding ’ s  工EEL
!:  Transactions  on  Mag
netics、Vol、 MAG−12゜No、6. 
Nov、 1976 、 P、 740には2ビットの
拘束されないデータワードを3ビットの拘束されたコー
ドワードに変換することにより、コードワード列中の隣
接する°1°の間の最小の°0”の数dが1個で、隣接
する”l”の間の最大の・O”の数kが7個であるコー
ドレート2/3の符号化復号化方式が開示しである。し
かし、上記論文に開示しである符号化復号化方式は、デ
ータワードが2ビット及び4ビットの可変長符号化復号
化方式で69、変換を行うための装置が複雑になるとい
う欠点を有する。
(2) The minimum magnetization reversal interval is large, and (2) The detection window width for detecting recording viratora is large, and the magnetization reversal interval is larger than the period of the demodulation clock signal. However, since it is more difficult to generate a demodulating clock signal than a reproduction signal, the maximum magnetization reversal interval must be made smaller. These conditions are contradictory to ■■, and must be optimized to maximize the data recording density on the magnetic recording medium.・T
, Horiguchi and Morita's paper “An Optimiya-ti On of Mod
nlation Codes in Digit
lLl Recording's Engineering EEL
! : Transactions on Mag
netics, Vol. MAG-12°No.6.
Nov. 1976, P. 740, by converting a 2-bit unconstrained data word into a 3-bit constrained codeword, the minimum A code rate 2/3 encoding/decoding method is disclosed in which the number d is one and the maximum number k of .O's between adjacent "l"s is seven. However, the encoding/decoding method disclosed in the above paper is a variable length encoding/decoding method in which data words are 2-bit or 4-bit,69 and has the disadvantage that the apparatus for performing the conversion is complicated.

特開昭58−212248号公報には、上記可変長符号
化復号化方式における変換を逐次的に行うことの出来る
エンコード及びデコード装置が開示しである。上記特許
におけるエンコード装置、及びデコード装置において採
用されているコードレート2/3の符号化復号化方式の
変換表を表1に示す。
Japanese Unexamined Patent Publication No. 58-212248 discloses an encoding and decoding device that can sequentially perform conversion in the variable length encoding/decoding method. Table 1 shows a conversion table of the encoding/decoding method with a code rate of 2/3 adopted in the encoding device and the decoding device in the above patent.

表  1 第1表において、データワードと記載された左欄は、デ
ータ列から区切ったデータビットの組を示し、コードワ
ードと記載された右欄は対応する変換されたコードビッ
トの組を示している。変換されたコードワード列は、コ
ードビットが°11のところで記録信号を反転すること
により、磁気記録媒体上に磁化反転として記録されるり
表1においてコードワード中の小文字′X”は、前のコ
ードワードの最後のビットによって11m又は10°と
なるビットを示しており、前のビットの補数を表わして
いる。このような符号化方式のデコード装置は、上記特
許に示されている第2図の如き回路で実現出来る0第2
図の復号化回路は、コードワード列の3ビット毎にデー
タ″?2ビット出力する逐次形の復号化回路であり、第
3図にクロック及び制御信号の波形とタイミングを示す
図である0コ一ドワード列は、クロックBに同期して、
シリアル入力、パラレル出力のシフトレジスタ20に入
力され、クロックBによってシフトされる。
Table 1 In Table 1, the left column labeled Data Word indicates the set of data bits separated from the data string, and the right column labeled Code Word indicates the corresponding set of converted code bits. There is. The converted codeword string is recorded on the magnetic recording medium as a magnetization reversal by inverting the recording signal at the code bit position of °11. The last bit of the word indicates the 11m or 10° bit and represents the complement of the previous bit.A decoding device for such an encoding system is shown in FIG. 0 second that can be realized with a circuit like
The decoding circuit shown in the figure is a sequential decoding circuit that outputs 2 bits of data for every 3 bits of the code word string. The single word string is synchronized with clock B,
It is input to a shift register 20 with serial input and parallel output, and is shifted by clock B.

シフトレジスタ20の4段のパラレル出力は、アンド回
路211〜213及びオア回路214,215からなる
論理回路21によって符号変換され、クロックA及びロ
ード信号によって動作するパラレル入力のシフトレジス
タ23に並列にロードされる0シフトレジスタ23のロ
ード動作は、ロード信号がハイレベルの時にクロックA
信号の立上シで、論理回路21の出カム1、B1、Ol
、Diを並列にロードすることにより行われる。ロード
信号がローレベルの時には、シフトレジスタ23はシフ
ト動作を行う。論理回路21は表1で表わされる符号変
換を、コードワードからデータワードをデコードするた
めの論理演算を行うもので、コードビット3ビット毎に
逐次的にデータ2ビットに変換すると共に、逐次的にデ
コードするためのワード長を表わす符号C1と、6ビ、
ト長コードワードの場合の第2番目のコードピラトラ保
存するための符号D1ヶ出力するOすなわち、データワ
ード長が4ビット、つまりコードワード長が6ビットの
時の先頭の3ビットのコ表2 一ドビットを2ビットのデータに変換する時にのみC1
=1とすると、データビットで2ビット前の01−1を
使って表1は表2の如く蓄けるので、C1−1とデータ
ビットで2ビット前のDl−1及びコードビットX、 
Y、 Z、 Wとを使って、データビットA1及びB1
と、ワード長を表わす符号C1,保存すべきコードビッ
トD1ヲ次のように演算する□Cニー1及びDi−1は
データビットで2ビット前の符号を示しており、ロード
信号がハイレベルで、クロックAの立上りの時にはC1
−1はシフトレジスタ23のB段に、Di−1はシフト
レジスタ23の0段に格納されている・従って、論理回
路21は論理演算式(1)を実現するための回路で、ア
ンド回路211〜213とオア回路214.215 ’
に第2図の論理回路21のように接続することにより(
1)の演算が実行されるOしかしながら1表1の符号化
復号化方式のデコード装置を実現する第2図の従来の復
号化回路では。
The four stages of parallel outputs of the shift register 20 are code-converted by a logic circuit 21 consisting of AND circuits 211 to 213 and OR circuits 214 and 215, and are loaded in parallel to a parallel input shift register 23 operated by clock A and a load signal. The load operation of the 0 shift register 23 is performed by clock A when the load signal is at high level.
At the rising edge of the signal, output cams 1, B1, Ol of the logic circuit 21
, Di in parallel. When the load signal is at a low level, the shift register 23 performs a shift operation. The logic circuit 21 performs the code conversion shown in Table 1 and performs logical operations for decoding data words from code words, and sequentially converts every 3 code bits into 2 data bits, and A code C1 representing the word length for decoding, 6 bits,
In the case of a long code word, output 1 code D for storing the second code. C1 only when converting 1 bit to 2 bit data
= 1, Table 1 is stored as shown in Table 2 using data bits 01-1 two bits earlier, so C1-1, data bits Dl-1 two bits earlier, and code bit X,
Using Y, Z, W, data bits A1 and B1
Then, the code C1 representing the word length and the code bit D1 to be stored are calculated as follows. □C knee 1 and Di-1 are data bits and indicate the code 2 bits earlier, and when the load signal is high level, , C1 at the rising edge of clock A
-1 is stored in the B stage of the shift register 23, and Di-1 is stored in the 0 stage of the shift register 23. Therefore, the logic circuit 21 is a circuit for realizing the logical operation formula (1), and the AND circuit 211 ~213 and OR circuit 214.215'
By connecting like the logic circuit 21 in Fig. 2 to (
However, in the conventional decoding circuit shown in FIG. 2 which implements the decoding device of the encoding/decoding method shown in Table 1, the operation 1) is executed.

ワード長金表わす符号等を演算し、格納するレジスタが
余分に必要となり1回路規模が極めて大きく(a)複雑
であるという欠点があった〇(発明が解決しようとする
問題点) 上述した如く、表1に示す符号化復号化方式を用い、こ
の方式を回路として実現しようとすると。
It requires an extra register to calculate and store the code representing the word long metal, and the scale of one circuit is extremely large (a) It has the drawbacks of being complex. (Problems to be solved by the invention) As mentioned above, If we try to implement this system as a circuit using the encoding/decoding system shown in Table 1.

構成が大きく、かつ複雑になるという欠点があった0つ
まり、上記表1に示すような符号変換は。
In other words, code conversion as shown in Table 1 above had the drawback of being large and complex.

装置を実現する上で適したものであるとは言えなかった
。そこで、この発明は、このような事情を考慮してなさ
れたもので、その目的とするところは、上記可変長符号
化復号化方式におけるデコード装置に使用することの出
来る1回路規模の小さい逐次復号化回路を提供すること
にある。
It could not be said that it was suitable for realizing the device. Therefore, the present invention has been made in consideration of the above circumstances, and its purpose is to provide a small sequential decoding circuit with a single circuit size that can be used in a decoding device in the variable length coding/decoding system. The objective is to provide an integrated circuit.

〔発明の構成〕[Structure of the invention]

(問題点を解決するための手段) この発明は、2値データ列を4種類の2ビット長で一タ
ワード(0,0”) (0,1) (1,0) (1,
1)から選択された(0.0)または(1,1)のデー
タワードを除いた3種類の2ビット長データワードと選
択から除かれた2ピツト長データ(0,0)または(1
,1)を上位ビットとする4種類の4ビット長データに
区切り、3種類の2ビット長データワードを3種類の3
ビット長コードワードに。
(Means for Solving the Problems) This invention stores a binary data string in four types of 2-bit lengths in one word (0,0”) (0,1) (1,0) (1,
Three types of 2-bit length data words excluding the (0.0) or (1,1) data word selected from 1) and the 2-bit length data (0,0) or (1) excluded from the selection.
, 1) are divided into four types of 4-bit length data, and the three types of 2-bit length data words are divided into three types of 3 types.
into bit length codewords.

データワードの第1及び第2ピツトがそれぞ几コードワ
ードの第2及び8g3ビットと同じか、または補数とな
るように対応させると共に、4種類の1ビット長データ
ワードを4種類の6ビット長データワードに、データワ
ードの第3及び第4ビットが、それぞnコードワードの
第2及び第6ビットと同じか、または補数となるように
対応させて2値データ列をコードワード列に変換する可
変長逐次復号化回路であって、コードワード列が入力さ
れる入力手段と、この入力手段から入力されるコードワ
ード列から6ビット長コードワードが検出された場合に
、6ビット長コードワードの第5ビ、トラ、この6ビッ
ト長コードワードの第2ビットと置き換える符号修正手
段と、入力手段から入力さnるコードワード列の3ビッ
トのコードビット毎に、逐次的にデータワードとコード
ワードとの対応関係に従って、3ビットのコードビット
t−2ビットのデータビットに変換する変換回路手段と
、この変換回路手段からの2ビットのデータビット入力
し、コードワード列を2値データ列にして出力する出力
手段とを具えたことを特徴とする逐次復号化回路である
0 (作用) 本発明は、2値データ列t−4種類のデータワードから
選択された(0.0)または(1,1)のデータワード
を除いた3種類の2ビット長データワードと選択から除
かれた2ビット長データを上位ビットとする4種類の4
ビット長データワードに区切り、3種類の2ピツト長デ
ータワードの第1及び第2ビットがそルぞれ3ビット長
コードワードの第2及び第3ビットと同じか、または補
数と表るように対応させる0さらに、4種類の4ビット
長データワードの第3及び第4ビットが1.それぞれ6
ビット長コードワードの第2及び第6ピツトと同じか、
または補数となるように対応させる可変長符号化復号化
方式に使用するコードワード列をデータ列に変換する復
号化回路である0そして。
The first and second pits of the data word correspond to the second and 8g3 bits of the code word, respectively, or are their complements, and the four types of 1-bit length data words are matched to the four types of 6-bit length. Convert a binary data string to a code word string by associating the data word with the third and fourth bits of the data word being the same as or complementing the second and sixth bits of the n code word, respectively. A variable-length sequential decoding circuit comprising: an input means into which a codeword string is input; code correction means for replacing the second bit of the 6-bit long code word, and data word and code sequentially for each 3-bit code bit of the n code word string inputted from the input means. Conversion circuit means converts 3-bit code bits into 2-bit data bits according to the correspondence relationship with words, and 2-bit data bits from this conversion circuit means are input, and the code word string is converted into a binary data string. 0 (Operation) The present invention is a sequential decoding circuit characterized by comprising an output means for outputting a binary data string t - (0.0) or ( 3 types of 2-bit length data words excluding the data words of 1 and 1) and 4 types of 4 types in which the upper bits are the 2-bit length data excluded from selection
into bit-length data words, such that 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 appear as complements. Furthermore, the third and fourth bits of the four types of 4-bit length data words are 1. 6 each
Is it the same as the second and sixth pits of the bit length code word?
0 and 0, which is a decoding circuit that converts a code word string used in a variable length encoding/decoding method into a data string so as to correspond to a complement number.

入力されるコードワードが6ビット長コードワードであ
ると検出された場合には、6ビット長コードワードの第
5ビットt−6ビット長コードワードの第2ビットと置
き換えることによシ、ワード長を表わす符号等を格納す
るレジスタを不用にでき、回路規模を小さくできるO C実施例) 以下、図面を参照して本発明の一実施例につき説明する
0 表  3 第1図は、本発明による復号化回路の一実施例であり、
基本的にはDフリップフロップ10.シフトレジスタ1
1.オア回路12.13.14アンド回路15゜16パ
ラレル入力シフトレジスタ17で構成される0表3は、
復号化回路によってデコードされるコードワードとデー
タワードとの対応関係を示した変換表であり、6ビット
長コードワードをデコードする場合には、まず前半の3
ビットのコードビットを2ビットのデータビットに変換
すると共に。
If the input code word is detected to be a 6-bit code word, the word length is changed by replacing the 5th bit of the 6-bit code word with the 2nd bit of the 6-bit code word. An embodiment of the present invention will be described below with reference to the drawings. Table 3 FIG. An example of a decoding circuit,
Basically D flip-flop 10. shift register 1
1. Table 3 is composed of OR circuit 12, 13, 14 AND circuit 15, 16 and parallel input shift register 17.
This is a conversion table showing the correspondence between code words and data words decoded by a decoding circuit. When decoding a 6-bit code word, first the first three
Along with converting a bit of code bits into 2 bits of data bits.

自己内でコードワードの第、5ビットを第2ビットで置
き換えた修正コードワードを作った後、後半の3ビット
のコードビットを2ビットのデータビットに変換するこ
とを表わしている〇 第1図の復号化回路は、コードワード列の3ビット毎に
データ全2ビット出力する逐次形の復号化回路であり、
第2図の従来例と同様に、第3図に示す制御信号及びク
ロック信号波形とタイミング関係で動作する。コードワ
ード列は、クロックBに同期してD7リツプ70ツブ1
0にクロックBと共知入力され、そのQ、出力はオア回
路12ヲ介して、クロックBで動作するシリアル入力、
パラレル出力のシフトレジスタ11に加えられる。D7
リツプフロツプ10の出力と、シフトレジスタ11の3
段のパラレル出力とは、オア回路13.14及びアンド
回路15によってデータビットが論理演算され、クロッ
クA及びロード信号によって動作するパラレル入力のシ
フトレジスタ17にロードされると共に。
Figure 1 shows that after creating a modified codeword by replacing the 5th and 5th bits of the codeword with the 2nd bit, the latter 3 code bits are converted into 2 data bits. The decoding circuit is a sequential type decoding circuit that outputs a total of 2 bits of data for every 3 bits of the code word string,
Similar to the conventional example shown in FIG. 2, it operates in accordance with the control signal and clock signal waveforms and timing relationships shown in FIG. The code word sequence is synchronized with clock B and D7 rip 70 lub1.
A common input with clock B is input to 0, and its Q output is a serial input operated by clock B via an OR circuit 12.
It is added to the parallel output shift register 11. D7
The output of the lip-flop 10 and the output of the shift register 11
The parallel outputs of the stages are logically operated on data bits by OR circuits 13 and 14 and AND circuits 15, and loaded into a parallel input shift register 17 operated by clock A and a load signal.

コードワードのワード長か6ビットの場合には。If the word length of the codeword is 6 bits.

四−ド信号がハイレベル時に、D7リツプ70゜フ10
の出力とシフトレジスタ11のパラレル出力とから特定
のパターンが検出され、アンド回路16とオア回路12
とによって、シフトレジスタ11のX段に格納されてい
る6ビット長コードワードのWX2ビットが、シフトレ
ジスタ11のW段に格納されている6ビット長コードワ
ードの第5ビ。
When the quad signal is high level, D7 lip 70 degrees F10
A specific pattern is detected from the output of the shift register 11 and the parallel output of the shift register 11, and the AND circuit 16 and the OR circuit 12
Accordingly, the WX2 bits of the 6-bit code word stored in the X stage of the shift register 11 become the 5th bit of the 6-bit code word stored in the W stage of the shift register 11.

トに代ってシフトレジスタ11の2段に入力される。The signal is input to two stages of the shift register 11 instead of the gate.

シフトレジスタ17のロード動作はロード信号がハイレ
ベルの時にクロックAの立上りで、論理演算されたデー
タビット全並列にロードすることにより行われる。ロー
ド信号がローレベルの時には、シフトレジスタ17はシ
フト動作を行う。従って。
The load operation of the shift register 17 is performed by loading all logically operated data bits in parallel at the rising edge of clock A when the load signal is at a high level. When the load signal is at a low level, the shift register 17 performs a shift operation. Therefore.

本実施例による符号変換は、3ピツト長コードワード及
び6ビ、ト長コードワードの前半の3ビットに対しては
修正される前のコードワードの3ビットのコードビット
を2ビットのデータビットに変換し、6ビット長コード
ワードの後半の3ビットに対してH,Dフリップフロッ
プ10とシフトレジスタ11に格納さnているコードビ
ットが特定のパターンであることを検出し、6ビットコ
ードワードの第5ピツト全修正して、この修正コードワ
ードの後半の3ビットのコードビットを2ビットのデー
タビットに変換するようにした逐次的な復号化回路であ
る0表3から、データビットのAj。
The code conversion according to this embodiment converts the 3 code bits of the code word before being corrected into 2 data bits for the first 3 bits of the 3-pit length code word and the 6-bit length code word. It is detected that the code bits stored in the H, D flip-flop 10 and shift register 11 have a specific pattern for the latter three bits of the 6-bit code word, and the code bits of the 6-bit code word are From Table 3, the data bit Aj is a sequential decoding circuit in which the fifth pit is completely modified to convert the last three code bits of this modified code word into two data bits.

Bjと、コードワードを修正する之めのシフトレジスタ
11の入力Zji、ロード信号をLとして1次のように
演筑される。
Bj, the input Zji of the shift register 11 for modifying the code word, and the load signal set to L, the calculation is performed as follows.

従って、(2)式を実行する論理演算は、Dフリップフ
ロップ10のA出力とシフトレジスタ11のY段及び2
段の可出力をアンド回路15に入力し、アンド回路15
の出力とシフトレジスタ11のX段のQ、出力とをオア
回路13に入力して、オア回路13の出力kAjとし、
アンド回路15の出力とシフトレジスタ11のY段のQ
出力とをオア回路14に入力して、オア回路14の出力
tBjとすることにより。
Therefore, the logical operation to execute equation (2) is to combine the A output of the D flip-flop 10 with the Y stage of the shift register 11 and the 2nd stage of the shift register 11.
The possible output of the stage is input to the AND circuit 15, and the AND circuit 15
The output of and the Q and output of the X stage of the shift register 11 are input to the OR circuit 13, and the output of the OR circuit 13 is set as kAj,
The output of the AND circuit 15 and the Q of the Y stage of the shift register 11
By inputting the output to the OR circuit 14 and making it the output tBj of the OR circuit 14.

シフトレジスタ17に並列にロードすると共に、シフト
レジスタ11のX段のQ出力、Y段の可出力及び2段の
可出力とロード信号とをアンド回路16に入力し、アン
ド回路16の出力と7リツプ70ツブのQ出力とをオア
回路12に入力し、オア回路12の出力をシフトレジス
タ11の入力に加えるZjとすることにより行うことが
出来る。
While loading the shift register 17 in parallel, the Q output of the X stage, the available output of the Y stage, the available output of the 2nd stage, and the load signal are input to the AND circuit 16, and This can be done by inputting the Q output of the lip 70 to the OR circuit 12 and adding the output of the OR circuit 12 to the input of the shift register 11 as Zj.

すなわち、第1図の復号化回路は6ビット長コードワー
ドを修正してデコードすることにより。
That is, the decoding circuit of FIG. 1 modifies and decodes a 6-bit long code word.

従来の復号化回路に比べ、シフトレジスタの段数を少く
することが出来る。
Compared to conventional decoding circuits, the number of shift register stages can be reduced.

以上説明したように1本実施例による復号化回路は、表
3に示す修正コードワードを使ってコードワード列から
3ビットのコードビット毎に2ビットのデータピラトラ
逐次的に復号することにより、ワード長を表わす符号等
を格納するレジスタを不用に出来るので、復号化回路の
構成の簡単化を図り得る・故に、その実用的利点は絶大
である。
As explained above, the decoding circuit according to the present embodiment sequentially decodes 2 bits of data for every 3 code bits from the code word string using the modified code words shown in Table 3. Since a register for storing a code representing the word length, etc. can be made unnecessary, the configuration of the decoding circuit can be simplified.Therefore, its practical advantage is enormous.

尚1本発明は上記実施例に限定さnるものではない。例
えばコードワード列の各ビットをその補数にして(コー
ドワード列を反転させて)から、符号変換ケ行っても良
いことは勿論である0この時には1lX1図の復号化回
路のDフリップフロップ10とシフトレジスタ11から
アンド回路15.16.オア回路12〜14に接続され
ているQ、出力と可出力を交換すると共に、アンド回路
16’?ナンド回路に、オア回路12をノア回路にすれ
ば良い◎また(2)式の論理演算を行うのにアンド回路
とオア回路の組会せで行ったが、ナンド回路やノア回路
の組会せでも良いことは勿論であり、ま友、表3におけ
るコードワードとデータワードの対応も、データビット
をその補数に変換したものと対応させる場合には。
Note that the present invention is not limited to the above embodiments. For example, it is of course possible to convert each bit of the code word string to its complement (invert the code word string) and then perform code conversion. From shift register 11 to AND circuit 15.16. Q connected to the OR circuits 12 to 14, the output and the available output are exchanged, and the AND circuit 16'? It is sufficient to use a NAND circuit and the OR circuit 12 as a NOR circuit ◎Also, to perform the logical operation of equation (2), a combination of an AND circuit and an OR circuit was used, but it is better to use a combination of a NAND circuit or a NOR circuit. But, of course, this is a good thing, as long as the correspondence between code words and data words in Table 3 corresponds to data bits converted to their complements.

8g1図の復号化回路の出力を反転させれば良い。It is sufficient to invert the output of the decoding circuit shown in Figure 8g1.

要するに、本発明はその要旨を逸脱しない範囲で種々変
形して実施することが出来る◎ 〔発明の効果〕 本発明によれば、復号化回路のワード長を表わす符号等
を格納するレジスタ全省略出来1回路としての規模が小
さくなり、集積化する場のゲート数も少なく出来るので
、極めて実用性の高いものとなる。
In short, the present invention can be implemented with various modifications without departing from the gist thereof◎ [Effects of the Invention] According to the present invention, it is possible to omit all the registers that store codes representing the word length of the decoding circuit. Since the scale of one circuit is reduced and the number of gates to be integrated can be reduced, it is extremely practical.

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

K1図は1本発明の一実施例である復号化回路、第2図
は従来の復号化回路、第3図は従来の復号化回路及び本
発明の一実施例である復号化回路に使用するクロックと
制御信号の波形及びタイミングの概略図である0 10・・・Dフリップフロップ、11.20・・・シリ
アル入力パラレル出力シフトレジスタ、12.13.1
4.214.215・・・オア回路、15.16.21
1.212.213・・・アンド回路。
Figure K1 shows a decoding circuit that is an embodiment of the present invention, Figure 2 shows a conventional decoding circuit, and Figure 3 shows a conventional decoding circuit and a decoding circuit that is an embodiment of the present invention. Schematic diagram of waveforms and timing of clock and control signals 0 10...D flip-flop, 11.20... serial input parallel output shift register, 12.13.1
4.214.215...OR circuit, 15.16.21
1.212.213...AND circuit.

Claims (1)

【特許請求の範囲】 2値データ列を4種類の2ビット長データワードから選
択された。(0、0)または(1、1)のデータワード
を除いた3種類の2ビット長データワードと、 前記選択から除かれた2ビット長データを上位ビットす
る4種類の4ビット長データに区切り、前記3種類の2
ビット長データワードを3種類の3ビット長コードフー
ドに、データワードの第1及び第2ビットがそれぞれコ
ードワードの第2及び第3ビットと同じか、または補数
となるように対応させると共に、 前記4種類の4ビット長データワードを4種類の6ビッ
ト長データワードに、データワードの第3及び第4ビッ
トがそれぞれコードワードの第2及び第6ビットと同じ
か、または補数となるように対応させて、前記2値デー
タ列をコードワード列に変換する可変長逐次復号化回路
であって、前記コードワード列が入力される入力手段と
、この入力手段から入力される前記コードワード列から
6ビット長コードワードが検出された場合に、前記6ビ
ット長コードワードの第5ビットをこの6ビット長コー
ドワードの第2ビットと置き換える符号修正手段と、 前記入力手段から入力される前記コードワード列の3ビ
ットのコードビット毎に、逐次的に前記データワードと
コードワードとの対応関係に従って、3ビットのコード
ビットを2ビットのデータビットに変換する変換回路手
段と、 この変換回路手段からの2ビットのデータビットを入力
し、前記コードワード列を前記2値データ列にして、出
力する出力手段とを具えたことを特徴とする逐次復号化
回路。
[Claims] The binary data string is selected from four types of 2-bit length data words. Divided into three types of 2-bit length data words excluding the (0, 0) or (1, 1) data words, and four types of 4-bit length data with the upper bits of the 2-bit length data excluded from the selection. , 2 of the above three types
Corresponding bit-length data words to three types of 3-bit length code foods such that the first and second bits of the data words are the same as or the complements of the second and third bits of the code word, respectively, and Four types of 4-bit length data words correspond to four types of 6-bit length data words such that the third and fourth bits of the data words are the same as or the complements of the second and sixth bits of the code word, respectively. a variable-length sequential decoding circuit for converting the binary data string into a codeword string, the circuit comprising: an input means into which the codeword string is input; and a variable length sequential decoding circuit that converts the binary data string into a codeword string; sign correction means for replacing the fifth bit of the 6-bit code word with the second bit of the 6-bit code word when a bit-length code word is detected; and the code word string input from the input means. converting circuit means for successively converting the three code bits into two data bits in accordance with the correspondence between the data words and the code words for each of the three code bits; 1. A sequential decoding circuit comprising output means for inputting data bits, converting the code word string into the binary data string, and outputting the binary data string.
JP22820186A 1986-09-29 1986-09-29 Sequential decoding method Expired - Lifetime JPH0797750B2 (en)

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 true JPS6384209A (en) 1988-04-14
JPH0797750B2 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)

Also Published As

Publication number Publication date
JPH0797750B2 (en) 1995-10-18

Similar Documents

Publication Publication Date Title
US5196849A (en) Method and apparatus for implementing PRML codes with maximum ones
US5173694A (en) Binary data encoding and decoding using a rate 2/5 (2,18,2) code
US5327440A (en) Viterbi trellis coding methods and apparatus for a direct access storage device
US5635933A (en) Rate 16/17 (d=0,G=6/I=7) modulation code for a magnetic recording channel
US4553130A (en) Variable-length encoding-decoding system
JPS6367268B2 (en)
US4404676A (en) Partitioning method and apparatus using data-dependent boundary-marking code words
JPS6226102B2 (en)
JP3935217B2 (en) Conversion from a sequence of m-bit information words to a modulated signal
KR930003259B1 (en) Code conversion apparatus for optical writing and reading
US4261019A (en) Compatible digital magnetic recording system
JP2003288760A (en) Modulation method, modulator, recording medium, demodulation method, and demodulator
JPS6384209A (en) Sequential decoding circuit
US6985320B2 (en) Method and apparatus for encoding data to guarantee isolated transitions in a magnetic recording system
JPS6394719A (en) Sequential coding system
JPH02119434A (en) Coding circuit and decoding circuit
JPH01314023A (en) Digital signal processing circuit
JP3903990B2 (en) Information recording medium
FI108586B (en) A method for generating parity symbols and a circuit arrangement for implementing the method
JPH02265329A (en) Code inverse converter
JPH01221918A (en) Variable length code converter
JPS60199236A (en) Digital code converting system
JPS63204822A (en) Code converter
JPS6043262A (en) Encoding and decoding system
JPS61227431A (en) Code converting device