JP3083532B2 - Information signal decoding device - Google Patents

Information signal decoding device

Info

Publication number
JP3083532B2
JP3083532B2 JP02003542A JP354290A JP3083532B2 JP 3083532 B2 JP3083532 B2 JP 3083532B2 JP 02003542 A JP02003542 A JP 02003542A JP 354290 A JP354290 A JP 354290A JP 3083532 B2 JP3083532 B2 JP 3083532B2
Authority
JP
Japan
Prior art keywords
data
decoded
state
information
undecoded
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 - Fee Related
Application number
JP02003542A
Other languages
Japanese (ja)
Other versions
JPH03209924A (en
Inventor
克己 高橋
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 JP02003542A priority Critical patent/JP3083532B2/en
Publication of JPH03209924A publication Critical patent/JPH03209924A/en
Application granted granted Critical
Publication of JP3083532B2 publication Critical patent/JP3083532B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、複数のシンボルに対応する可変の長さに
符号化された符号語を一定のビット長単位に詰め込んで
符号化データとして送り込まれてくる情報信号を復号す
る情報信号復号装置に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial application field) The present invention embeds a codeword encoded to a variable length corresponding to a plurality of symbols in a fixed bit length unit. The present invention relates to an information signal decoding device that decodes an information signal sent as coded data.

(従来の技術) 情報圧縮方式において、発生シンボルの確率に応じて
いろいろな長さの符号語を割り当てる符号化方式がある
が、このように可変の長さを持つ符号化データ系列を伝
送または蓄積する場合、伝送媒体、蓄積媒体に合わせた
ビット長さに詰め込む必要がある。
(Prior Art) In an information compression system, there is an encoding system in which codewords of various lengths are allocated according to the probability of a generated symbol. As described above, an encoded data sequence having a variable length is transmitted or stored. In such a case, it is necessary to pack the bit length according to the transmission medium and the storage medium.

そこで、このように可変のビット長を持つ符号化デー
タ系列であるのに一定のビット長に詰め込まれた符号化
データを復号する場合、従来は第7図に示すような情報
信号復号装置を用いていて復号するようにしていた。
Therefore, in the case of decoding encoded data that is packed as a fixed bit length despite being an encoded data sequence having a variable bit length, an information signal decoding device as shown in FIG. 7 is conventionally used. And decrypted it.

この第7図の従来の情報信号復号装置は、パラレル入
力信号をシリアル信号に変換するためのパラレル/シリ
アル変換器21と、このパラレル/シリアル変換器21の出
力シリアル信号をパラレルに再変換するシリアル/パラ
レル変換器22と、このシリアル/パラレル変換器22の出
力を復号するたの復号テーブル23と、これらの各部を制
御する制御部24とから構成されている。なお、前記復号
テーブル23は復号すべき符号語に応じてあらかじめ設計
されていて、メモリなどによって実現されている。
The conventional information signal decoding device shown in FIG. 7 comprises a parallel / serial converter 21 for converting a parallel input signal into a serial signal, and a serial signal for reconverting the output serial signal of the parallel / serial converter 21 into parallel. A serial / parallel converter 22, a decoding table 23 for decoding the output of the serial / parallel converter 22, and a control unit 24 for controlling these units. The decoding table 23 is designed in advance according to the code word to be decoded, and is realized by a memory or the like.

そして、この従来の情報信号復号装置では、例えばL
ビットを1単位として詰め込まれた符号化データ25が入
力されて来ると、パラレル/シリアル変換器21にロード
され、シリアル・データに変換されて、シリアル/パラ
レル変換器22に転送される。この転送はシリアル/パラ
レル変換器22の全てのビットに符号化データが満たされ
るまで続けられる。
In this conventional information signal decoding device, for example, L
When coded data 25 packed with bits as one unit is input, it is loaded into the parallel / serial converter 21, converted into serial data, and transferred to the serial / parallel converter 22. This transfer is continued until all the bits of the serial / parallel converter 22 are filled with the encoded data.

この時、Lビットシフトされるごとにパラレル/シリ
アル変換器21のデータが空になるので、制御部24はロー
ド信号26を発生して次の符号化データをパラレル/シリ
アル変換器21にロードさせる。この際、ロード信号26は
データ要求信号27としても使われる。
At this time, since the data of the parallel / serial converter 21 becomes empty every time the data is shifted by L bits, the control unit 24 generates a load signal 26 to load the next encoded data into the parallel / serial converter 21. . At this time, the load signal 26 is also used as a data request signal 27.

シリアル/パラレル変換器22は符号語の最大のビット
数の大きさを持ち、その全てのビットに符号化データが
満たされると、復号テーブル23によって先頭の1語を復
号し、復号データ28および符号長信号29を出力する。
The serial / parallel converter 22 has the size of the maximum number of bits of the code word, and when all the bits are filled with the coded data, the decoding table 23 decodes the first word, and the decoded data 28 and the code The long signal 29 is output.

制御部24は復号通知信号30を発生し、さらにパラレル
/シリアル変換器21およびシリアル/パラレル変換器22
に対して符号長分のシフト信号31を発生する。この時
も、パラレル/シリアル変換器21のデータが空になると
次のデータがロードされる。
The control unit 24 generates a decoding notification signal 30, and further outputs a parallel / serial converter 21 and a serial / parallel converter 22.
, A shift signal 31 corresponding to the code length is generated. Also at this time, when the data of the parallel / serial converter 21 becomes empty, the next data is loaded.

そしてシフトが完了すると次の語の復号が行われ、こ
のようにして順次符号化データが復号されるのである。
When the shift is completed, the next word is decoded, and the encoded data is sequentially decoded in this manner.

(発明が解決しようとする課題) しかしながら、このような従来の情報信号復号装置に
おいては、次のような2つの問題点があった。
(Problems to be Solved by the Invention) However, such a conventional information signal decoding device has the following two problems.

第1の問題点は、第7図において復号テーブル23の入
力線が入力符号化データの最大語長分だけ必要とするた
め、最大語長が大きい符号化データの復号装置を実現す
るためには大規模な論理回路またはメモリを必要とする
ことである。
The first problem is that the input line of the decoding table 23 in FIG. 7 requires only the maximum word length of the input coded data. It requires large logic circuits or memories.

そして第2の問題点は、回路の動作速度(クロック周
波数)に比べて復号速度が遅いことである。これは、あ
る語が復号されてから次の語が復号されるまで、復号さ
れた語の符号長回のシフトを行っているためである。
The second problem is that the decoding speed is lower than the operation speed (clock frequency) of the circuit. This is because a decoded word is shifted by a code length times from when a certain word is decoded until the next word is decoded.

この第2の問題点を解決するために、バレルシフタな
どを用いて一括してシフトする方法もあるが、そのよう
にするならば極端に回路規模が増大してしまう問題点が
生じることになり、問題解決が困難であった。
In order to solve the second problem, there is a method in which the shift is performed collectively by using a barrel shifter or the like. However, in such a case, a problem that the circuit scale is extremely increased occurs. Problem solving was difficult.

この発明は、回路規模を大きくすることなしに最大語
長が大きい符号化データの復号処理を行うことができ、
かつ復号速度を向上させることができる情報信号復号装
置を提供することを目的とする。
According to the present invention, it is possible to perform decoding processing of encoded data having a large maximum word length without increasing the circuit scale.
It is another object of the present invention to provide an information signal decoding device capable of improving the decoding speed.

[発明の構成] (課題を解決するための手段) この発明の情報信号復号装置は、複数のシンボルに対
応する可変のビット長の符号語が一定のビット長単位に
詰め込まれて順次入力されてくる符号化データに対し
て、前回の復号処理で復号することができなかった未復
号データ部分のビットパターンを状態として記憶する状
態レジスタと、新たに入力されてくる前記符号化データ
のビットパターンと、前記状態レジスタに記憶されてい
る状態との組み合わせに基づいて、今回新たに状態とな
る値を発生させる状態遷移回路と、前記新たに入力され
てくる前記符号化データのビットパターンと、前記状態
レジスタに記憶されている状態との組み合わせに基づい
て、復号データの情報を発生させる復号情報出力回路
と、前記復号データの情報から復号データを発生させる
復号データ発生器とを備えたものである。
[Structure of the Invention] (Means for Solving the Problems) According to an information signal decoding apparatus of the present invention, codewords of variable bit lengths corresponding to a plurality of symbols are packed in a fixed bit length unit and sequentially input. For a coded data to come, a state register for storing a bit pattern of an undecoded data portion that could not be decoded in the previous decoding process as a state, and a bit pattern of the newly input coded data. A state transition circuit for generating a value which becomes a new state this time based on a combination with the state stored in the state register; a bit pattern of the newly input encoded data; A decoding information output circuit for generating information of decoded data based on a combination with the state stored in the register; and It is obtained by a decoded data generator for generating the issue data.

(作用) 上記構成によれば、一定ビット長単位の符号化データ
が入力されるたびに、この符号化データのビットパター
ンと前回の未復号データ部分のビットパターンとの組み
合わせに基づいて、今回新たに未復号データとなる部分
のビットパターンを発生するとともに、復号データの情
報を発生させる。
(Operation) According to the above configuration, every time coded data in a fixed bit length unit is input, a new bit data is generated based on a combination of the bit pattern of the coded data and the bit pattern of the previous undecoded data portion. , A bit pattern of a portion to be undecoded data is generated, and information of the decoded data is generated.

こうして、可変の長さを持つ符号化データを一定のビ
ット長単位に詰め込んで順次送り込まれてくる符号化デ
ータ系列に対して、復号できた復号データ部分は順次出
力し、各入力ごとに復号することができなかった未復号
データ部分のビットパターンを、次の符号化データと合
成して復号する。
In this way, for a coded data sequence sequentially packed and packed with coded data having a variable length in a fixed bit length unit, decoded data portions that can be decoded are sequentially output and decoded for each input. The bit pattern of the undecoded data part that could not be obtained is combined with the next encoded data and decoded.

(実施例) 以下、この発明の実施例を図に基づいて詳説する。(Example) Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第1図は、この実施例に係わる情報信号復号装置の回
路構成図である。この情報信号復号装置は、ROMで構成
された2つの大きな構成部分として、未復号データを扱
う状態遷移回路1と、復号データを扱う復号情報出力回
路2とを備え、さらに状態遷移回路1から出力された未
復号データのビットパターンを状態(コード)として記
憶する状態レジスタ3と、復号情報出力回路2から出力
された復号情報を復号データに変換して出力する復号デ
ータ発生器4とを備えている。
FIG. 1 is a circuit configuration diagram of an information signal decoding apparatus according to this embodiment. This information signal decoding device includes a state transition circuit 1 for handling undecoded data and a decoded information output circuit 2 for handling decoded data, as two large components constituted by a ROM. A status register 3 for storing the bit pattern of the obtained undecoded data as a status (code), and a decoded data generator 4 for converting the decoded information output from the decoded information output circuit 2 into decoded data and outputting the decoded data. I have.

前記状態遷移回路1は、復号の過程で発生した未復号
データのビットパターンをあらかじめコード(以下、状
態と呼ぶ)に変換する回路であり、状態/未復号データ
変換器5と、未復号データ遷移器6と、未復号データ/
状態変換器7とから構成されている。
The state transition circuit 1 is a circuit that converts a bit pattern of undecoded data generated in the course of decoding into a code (hereinafter, referred to as a state) in advance, and includes a state / undecoded data converter 5 and an undecoded data transition. Unit 6 and the undecoded data /
And a state converter 7.

また、前記復号情報出力回路2は、状態/未復号デー
タ変換器5と同様じ機能を有する状態/未復号データ変
換器8と、復号情報発生器9とから構成されている。
The decoded information output circuit 2 comprises a state / undecoded data converter 8 having the same function as the state / undecoded data converter 5 and a decoded information generator 9.

なお、第1図において、10は可変の長さの符号化デー
タを一定のビット長単位に詰め込んで送られてくる符号
化データを示し、11は復号情報出力回路2からの復号デ
ータに対応する信号情報を示し、12は回路のクロック、
13は復号データ発生器4から出力される復号データを示
している。
In FIG. 1, reference numeral 10 denotes encoded data which is sent by packing variable-length encoded data in fixed bit length units, and 11 corresponds to decoded data from the decoded information output circuit 2. Indicates signal information, 12 is the circuit clock,
Reference numeral 13 denotes decoded data output from the decoded data generator 4.

次に、上記情報信号復号装置の動作について説明す
る。
Next, the operation of the information signal decoding device will be described.

いま説明を簡単にするために小規模な符号を例にと
る。情報源シンボルの個数をs0〜s7の8個とし、それら
の各シンボルs0〜s7に対する符号語を第2図に示すシン
ボル/符号語テーブルSCTBLの通りとするまた符号化デ
ータ3ビット長単位に、MSBから順に詰め込まれるもの
とする。つまり、第3図に示すように、情報源シンボル
の系列がs0,s4,s6,s1であれば、これらの各符号語は実
際には(00),(110),(11110),(01)であるが、
符号化データ10としては3ビット長単位に詰め込まれて
送り込まれてくるので、それらに対応する符号化データ
系列は(001),(101),(111),(001)となる。
For the sake of simplicity, a small code will be used as an example. The number of information source symbols is s0 to s7, the codewords for each of the symbols s0 to s7 are as shown in the symbol / codeword table SCTBL shown in FIG. MSB shall be packed in order. That is, as shown in FIG. 3, if the sequence of the information source symbols is s0, s4, s6, s1, these codewords are actually (00), (110), (11110), (01 )In Although,
Since the coded data 10 is packed and sent in 3-bit length units, the corresponding coded data sequences are (001), (101), (111), and (001).

一般に瞬時に復号可能な2進符号は2進木によって表
現することができるが、この実施例の場合には第4図の
ような2進木で表わすことができる。この第4図におい
て、各枝に記された数字(0,1)は符号語のビットに対
応する。また、各シンボルs0〜s7の符号語は、ルート
(最上のノード)c0からそのシンボルまでの経路の各枝
に記された数字を順に並べたものになる。ここで、各ノ
ードの記号c0〜c6は、未復号データに対応した状態を表
わしているが、この状態の割り当て方は任意である。そ
して、各状態に対応する未復号データは、ルートc0から
その状態までをたどる経路の各枝に記された数字を順に
並べたものになる。
Generally, a binary code that can be decoded instantaneously can be represented by a binary tree, but in this embodiment, it can be represented by a binary tree as shown in FIG. In FIG. 4, the numbers (0, 1) written on each branch correspond to the bits of the code word. The codewords of the symbols s0 to s7 are obtained by sequentially arranging numbers written on each branch of the path from the root (top node) c0 to the symbol. Here, the symbols c0 to c6 of the respective nodes represent states corresponding to the undecoded data, and the assignment of the states is arbitrary. The undecoded data corresponding to each state is obtained by sequentially arranging numbers written on each branch of the path from the route c0 to the state.

したがって、符号語が(01)であれば、第4図の2進
木をルートc0からノードc1を経てシンボルs1に至ること
ができ、符号語が(1110)であれば、ルートc0からノー
ドc2,c4,c5を経てシンボルs5に至ることができる。
Therefore, if the code word is (01), the binary tree shown in FIG. 4 can reach from the root c0 to the symbol s1 via the node c1, and if the code word is (1110), the root c0 to the node c2 , c4, and c5 to reach the symbol s5.

また、未復号データが(0)であればルートc0からノ
ードc1に至り、未復号データ(0)を状態c1とコード化
することができ、また未復号データが(111)であれば
ルートc0からノードc2,c4を経てノードc5に至り、未復
号データ(111)を状態c5とコード化することができ
る。
Also, if the undecoded data is (0), the route c0 is reached to the node c1, and the undecoded data (0) can be coded as the state c1, and if the undecoded data is (111), the route c0 To the node c5 via the nodes c2 and c4, and the undecoded data (111) can be coded as the state c5.

以下、符号化データ10として第3図に示す入力がある
場合を例にとって、この情報信号復号装置による復号の
動作を説明するとともに、各部の機能について説明す
る。
In the following, taking the case where the encoded data 10 has an input shown in FIG. 3 as an example, the operation of decoding by this information signal decoding device will be described, and the function of each unit will be described.

まず、初期状態では未復号データがないので、状態は
c0(なし)であり、状態レジスタ3には状態c0が蓄えら
れている。この状態c0は、状態レジスタ3から状態/未
復号データ変換器5(及び8)に入力され、この入力に
対応して状態/未復号データ変換器5は、現在の未復号
データが空であるという情報、すなわち状態c0を未復号
データ遷移器6に出力する。ここで第1の符号化データ
(001)が入力されると、未復号データ遷移器6は、状
態/未復号データ変換器5からの情報(状態c0)と、今
回入力された符号化データ(001)をもとに、未復号デ
ータを発生する。すなわち、第4図によって初めの2ビ
ット(00)はルートc0からノードc1を経てシンボルs0に
至ることができて復号できることになるが、残りの1ビ
ット(1)については復号することができず、未復号デ
ータになる。この未復号データ(1)は未復号データ/
状態変換器7に出力される。なお、未復号データが発生
しない場合は、状態レジスタ3に記憶されている現在の
内容がそのまま残ることになる。
First, since there is no undecoded data in the initial state, the state is
c0 (none), and the state register 3 stores the state c0. This state c0 is input from the state register 3 to the state / undecoded data converter 5 (and 8), and in response to this input, the state / undecoded data converter 5 has empty current undecoded data. , Ie, state c0, to the undecoded data transition unit 6. Here, when the first encoded data (001) is input, the undecoded data transition unit 6 outputs the information (state c0) from the state / undecoded data converter 5 and the encoded data ( 001) to generate undecoded data. That is, according to FIG. 4, the first two bits (00) can reach the symbol s0 from the root c0 via the node c1 and can be decoded. However, the remaining one bit (1) cannot be decoded. , Undecoded data. This undecoded data (1) is
Output to the state converter 7. If no undecoded data is generated, the current contents stored in the status register 3 remain.

未復号データ/状態変換器7は、入力された未復号デ
ータを状態に変換する。すなわち、未復号データ(1)
に対して第4図の2進木をたどり、初めの状態であるル
ートc0からノードc2に至り、未復号データ(1)に対応
するコードとして状態c2を得る。そして、この状態c2は
状態レジスタ3に入力される。
The undecoded data / state converter 7 converts the input undecoded data into a state. That is, undecoded data (1)
Then, the binary tree shown in FIG. 4 is traced to reach the node c2 from the root c0, which is the initial state, and obtain the state c2 as a code corresponding to the undecoded data (1). The state c2 is input to the state register 3.

状態レジスタ3に記憶されている現在の内容は、次の
クロック12の入力によって状態c2に更新され、次の符号
化データの復号時に使用される。
The current contents stored in the state register 3 are updated to the state c2 by the input of the next clock 12, and used at the time of decoding the next encoded data.

一方、状態/未復号データ変換器8は状態/未復号デ
ータ変換器5と同一の機能を持ち、その時点での状態レ
ジスタ3の状態値c0(なし)を復号情報発生器9に出力
する。
On the other hand, the state / undecoded data converter 8 has the same function as the state / undecoded data converter 5, and outputs the state value c0 (none) of the state register 3 at that time to the decoded information generator 9.

復号情報発生器9は、状態/未復号データ変換器8か
ら得た状態c0と符号化データ(001)とを得て、ノードc
0から出発して初めの2ビット(00)によりc0−c1を経
てシンボルs0に至り、シンボルs0に対応する復号情報11
を生成する。なおここで、復号情報発生器9が直接、復
号信号を出力しないのは、後の例で示すように一度の復
号処理で複数個のシンボルが復号される可能性があるた
めである。この復号情報11は、復号データ発生器4に受
け渡すパラメータであり、例えば、復号データ発生器4
がROMのようなシンボルテーブルである場合には、その
シンボルテーブルのアドレス情報になる。
The decoded information generator 9 obtains the state c0 obtained from the state / undecoded data converter 8 and the encoded data (001), and
Starting from 0, the first two bits (00) pass through c0-c1 to the symbol s0, and the decoded information 11 corresponding to the symbol s0
Generate Here, the reason why the decoded information generator 9 does not directly output the decoded signal is that a plurality of symbols may be decoded by one decoding process as shown in a later example. The decoded information 11 is a parameter to be passed to the decoded data generator 4, for example,
Is a symbol table such as a ROM, it becomes the address information of the symbol table.

復号データ発生器4は、このような復号情報11を受け
取って復号データ13に変換し、シンボルs0の信号を出力
する。
The decoded data generator 4 receives such decoding information 11, converts it into decoded data 13, and outputs a signal of the symbol s0.

ここまでは、第4図に示す2進木を基にして第1図の
情報信号復号装置の動作を説明したが、実際のハードウ
ェアで実現する場合には、状態遷移回路1および復号情
報出力回路2は、それぞれROMなどのテーブルを用いて
構成される。そして、第5図に示す状態データテーブル
CTBL、第6図に示す復号データテーブルDTBLを用いるこ
とにより、上述した2進木をたどってシンボルに到るの
と同じ結果を得ることができる。
So far, the operation of the information signal decoding apparatus of FIG. 1 has been described based on the binary tree shown in FIG. 4. However, in the case of realizing it with actual hardware, the state transition circuit 1 and the decoded information output The circuit 2 is configured using a table such as a ROM. Then, the state data table shown in FIG.
By using the CTBL and the decoded data table DTBL shown in FIG. 6, it is possible to obtain the same result as tracing the above-described binary tree to reach the symbol.

すなわち、状態遷移回路1は、第5図の状態データテ
ーブルCTBLに基づき、状態レジスタ3の状態値c0(な
し)と入力された符号化データ(001)との組み合わせ
から、次の状態値c2を抽出して出力し、これを状態レジ
スタ3に保持させる。
That is, the state transition circuit 1 determines the next state value c2 from the combination of the state value c0 (none) of the state register 3 and the input encoded data (001) based on the state data table CTBL of FIG. It is extracted and output, and this is stored in the status register 3.

また、復号情報出力回路2は、第6図の復号データテ
ーブルDTBLに基づき、状態レジスタ3の前回の状態値c0
(なし)と入力された符号化データ(001)との組合わ
せから、復号データs0を出力する情報を発生する。
Further, the decoding information output circuit 2 determines the previous state value c0 of the state register 3 based on the decoding data table DTBL in FIG.
From the combination of (none) and the input coded data (001), information for outputting the decoded data s0 is generated.

続いて、第3図に示す第2の符号化データ(101)が
入力されると、第5図の状態データテーブルCTBLによっ
て、状態レジスタ3の状態値c2と、入力された符号化デ
ータ(101)との組み合わせから、次の状態値c2が決定
される。同様に、第6図の復号データテーブルDTBLによ
って、状態レジスタ3の状態値c2と符号化データ(10
1)との組合わせから、復号データs4が決定される。
Subsequently, when the second encoded data (101) shown in FIG. 3 is input, the state value c2 of the status register 3 and the input encoded data (101 ), The next state value c2 is determined. Similarly, the state value c2 of the state register 3 and the encoded data (10
From the combination with 1), the decoded data s4 is determined.

さらに、第3の符号化データ(111)が入力される
と、すでに更新されている状態レジスタ3の状態値c2と
符号化データ(111)との組合わせから、状態値c6が決
定され、これが次の状態値として状態レジスタ3に保持
される。
Further, when the third encoded data (111) is input, a state value c6 is determined from a combination of the already updated state value c2 of the state register 3 and the encoded data (111). It is held in the status register 3 as the next status value.

しかしながら、この組み合わせの場合、第6図の復号
データテーブルDTBLには対応する欄が空白であるため、
復号データは生成されないことになる。したがって、こ
の場合は状態値のみがc6に更新されることになる。
However, in the case of this combination, the corresponding column is blank in the decoded data table DTBL of FIG.
No decrypted data will be generated. Therefore, in this case, only the state value is updated to c6.

次に、第4の符号化データ(001)が入力されると、
これと状態値レジスタ3の保持している状態値c6との組
合わせから、次の状態値c0と復号データs6s1が決定され
る。この復号データs6s1は2個のデータであり、これら
に対応する信号情報を復号データ発生器4に出力して、
ここでシンボルs6,s1の復号データを出力することにな
る。
Next, when the fourth encoded data (001) is input,
From the combination of this and the state value c6 held in the state value register 3, the next state value c0 and the decoded data s6s1 are determined. The decoded data s6s1 is two pieces of data, and outputs corresponding signal information to the decoded data generator 4,
Here, decoded data of the symbols s6 and s1 is output.

こうして、可変の長さの符号語(00)、(110)、(1
1110)、(01)が一定のビット長単位の符号化データ
(001)、(101)、(111)、(001)として順次入力さ
れる場合、これを復号データs0,s4,s6,s1として順次復
号していくことができる。
Thus, variable length codewords (00), (110), (1
1110) and (01) are sequentially input as coded data (001), (101), (111), and (001) in a fixed bit length unit, and these are set as decoded data s0, s4, s6, and s1. Decoding can be performed sequentially.

[発明の効果] 以上説明したように、この発明によれば、符号化デー
タの入力ごとに1個分の符号化データの復号処理ができ
るため、復号速度を向上することができる。また内部で
保持している状態値の個数がシンボルの個数で決まるた
めに、最大語長が大きい符号化データについても、メモ
リの大きくすることなしに復号処理することが可能であ
り、このため小規模な回路で構成することができる。
[Effects of the Invention] As described above, according to the present invention, decoding processing of one piece of encoded data can be performed each time encoded data is input, and thus decoding speed can be improved. In addition, since the number of state values held internally is determined by the number of symbols, it is possible to decode coded data having a large maximum word length without increasing the memory size. It can be composed of a large-scale circuit.

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

第1図はこの発明の一実施例の回路ブロック図、第2図
は上記実施例で用いたシンボル−符号語の対照関係を示
すデータテーブル、第3図は上記実施例で用いた一連の
シンボルの符号化データ系列への変換関係を示す説明
図、第4図は上記実施例で用いた2進木の説明図、第5
図は上記実施例で用いた状態値データテーブル、第6図
は上記実施例で用いた復号データテーブル、第7図は従
来例の回路ブロック図である。 1……状態遷移回路、2……復号情報出力回路 3……状態レジスタ、4……復号データ発生器 5……状態/未復号データ変換器 6……未復号データ遷移器 7……未復号データ/状態変換器 8……状態/未復号データ変換器 9……復号情報発生器、10……符号化データ 11……復号情報、12……クロック 13……復号データ
FIG. 1 is a circuit block diagram of one embodiment of the present invention, FIG. 2 is a data table showing a symbol-codeword contrast relationship used in the above embodiment, and FIG. 3 is a series of symbols used in the above embodiment. FIG. 4 is an explanatory diagram showing a conversion relationship to an encoded data sequence, FIG. 4 is an explanatory diagram of a binary tree used in the above embodiment, and FIG.
FIG. 6 is a state value data table used in the above embodiment, FIG. 6 is a decoded data table used in the above embodiment, and FIG. 7 is a circuit block diagram of a conventional example. 1 state transition circuit 2 decoded information output circuit 3 state register 4 decoded data generator 5 state / undecoded data converter 6 undecoded data transition 7 undecoded Data / state converter 8: State / undecoded data converter 9: Decoded information generator, 10: Encoded data 11: Decoded information, 12: Clock 13: Decoded data

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H03M 7/40 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) H03M 7/40

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数のシンボルに対応する可変のビット長
の符号語が一定のビット長単位に詰め込まれて順次入力
されてくる符号化データに対して、前回の復号処理で復
号することができなかった未復号データ部分のビットパ
ターンを状態として記憶する状態レジスタと、 新たに入力されてくる前記符号化データのビットパター
ンと、前記状態レジスタに記憶されている状態との組み
合わせに基づいて、今回新たに状態となる値を発生させ
る状態遷移回路と、 前記新たに入力されてくる前記符号化データのビットパ
ターンと、前記状態レジスタに記憶されている状態との
組み合わせに基づいて、復号データの情報を発生させる
復号情報出力回路と、 前記復号データの情報から復号データを発生させる復号
データ発生器とを備えてなる情報信号復号装置。
1. Code data of variable bit lengths corresponding to a plurality of symbols are packed in a fixed bit length unit and coded data sequentially inputted can be decoded in a previous decoding process. Based on a combination of a status register that stores the bit pattern of the undecoded data portion that did not exist as a status, a bit pattern of the newly input encoded data, and a status stored in the status register. A state transition circuit for generating a new state value; information on decoded data based on a combination of the bit pattern of the newly input encoded data and the state stored in the state register. An information signal comprising: a decoded information output circuit for generating a decoded data; and a decoded data generator for generating decoded data from the information of the decoded data. No. equipment.
JP02003542A 1990-01-12 1990-01-12 Information signal decoding device Expired - Fee Related JP3083532B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02003542A JP3083532B2 (en) 1990-01-12 1990-01-12 Information signal decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02003542A JP3083532B2 (en) 1990-01-12 1990-01-12 Information signal decoding device

Publications (2)

Publication Number Publication Date
JPH03209924A JPH03209924A (en) 1991-09-12
JP3083532B2 true JP3083532B2 (en) 2000-09-04

Family

ID=11560303

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02003542A Expired - Fee Related JP3083532B2 (en) 1990-01-12 1990-01-12 Information signal decoding device

Country Status (1)

Country Link
JP (1) JP3083532B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3028147U (en) * 1996-02-19 1996-08-30 イズミ商工株式会社 Forging equipment for massaging or acupressure effects

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002344328A (en) * 2001-05-21 2002-11-29 Ricoh Co Ltd Decoder, program and method for decoding variable length code

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3028147U (en) * 1996-02-19 1996-08-30 イズミ商工株式会社 Forging equipment for massaging or acupressure effects

Also Published As

Publication number Publication date
JPH03209924A (en) 1991-09-12

Similar Documents

Publication Publication Date Title
JPS6148298B2 (en)
US3717851A (en) Processing of compacted data
JP3551359B2 (en) Modulator, demodulator
KR100309724B1 (en) Reed solomon coding apparatus and reed solomon coding method
JPS6122826B2 (en)
US4670890A (en) Method of and/or apparatus for encoding and decoding sequential information in data handling systems
JPH0916373A (en) Apparatus for coding and division of variable-length code
US5309156A (en) Variable-length code decoding device
US5870413A (en) CRC code generation circuit for generating a CRC code and a code error detection circuit for detecting a code error in a CRC code word
US5954836A (en) Method and apparatus for pipelined encoding
JP3083532B2 (en) Information signal decoding device
EP0647034B1 (en) A variable word length code decoding method, and a decoder for performing the same
US5471486A (en) Methods and devices for encoding data symbols in accordance with a BCH code to obtain a code word in which parity symbols are located in the middle of the code word
JP3429623B2 (en) High-speed variable-length code decoding device
EP0499225B1 (en) Variable-length code decoding device
JP2537551B2 (en) Variable length code decoding circuit
JP3138342B2 (en) Variable length code decoding device
JP3229690B2 (en) Variable length code decoder
JPS63299412A (en) Sequential decoder
JP3044847B2 (en) Variable-length code decoding device
JPH04100324A (en) Decoding system for variable length code
JPH09298471A (en) Two-dimension cyclic coder, two-dimension cyclic code coding method, two-dimension cyclic code decoder and two-dimension cyclic code decoding method
JP3068077B2 (en) Transmission circuit and reception circuit
JPS63203019A (en) Sequential decoder
JPH03179520A (en) Data decoder

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees