JPS594255A - Code converting circuit to variable length code - Google Patents
Code converting circuit to variable length codeInfo
- Publication number
- JPS594255A JPS594255A JP57111445A JP11144582A JPS594255A JP S594255 A JPS594255 A JP S594255A JP 57111445 A JP57111445 A JP 57111445A JP 11144582 A JP11144582 A JP 11144582A JP S594255 A JPS594255 A JP S594255A
- Authority
- JP
- Japan
- Prior art keywords
- code
- length
- circuit
- information
- bit
- 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
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M7/00—Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
- H03M7/30—Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
- H03M7/40—Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Dc Digital Transmission (AREA)
Abstract
Description
【発明の詳細な説明】
(1)発明の技術分野
米発明は、可変長符号に対する符号変換回路に関し、特
に並列に入力される可変長符号データを前処理回路にお
いて所定の語長以下の符号に分割するようにした可変長
符号に対する符号変換回路に関する。Detailed Description of the Invention (1) Technical Field of the Invention The present invention relates to a code conversion circuit for variable length codes, and in particular converts variable length code data input in parallel into codes of a predetermined word length or less in a preprocessing circuit. The present invention relates to a code conversion circuit for dividing variable length codes.
(2)技術の背景
一般に、情報伝送においては、情報の内容に応じて1ワ
ードのビット数が変化する可変長符号方式と、1ワード
のビット数が常に一定である固定長符号方式とが用いら
れている。可変長符号方式は、固定長符号方式に比べて
同一の情報量を伝送するために必要な全体のビット数を
減少できる利点があり、画像信号または音声信号等の伝
送に用いられる。しかし、ワード毎にビット数が異なる
だめ、そのままの状態で処理しようとすると不便であり
、又回路が複雑になる。この様な欠点はこれら長さの累
々る符号からなる信号列を一定のビット数毎に区切った
並列データに変換することによシ除去できる。この様な
背景から可変長符号から固定長符号に変換する回路の実
現が望まれている。(2) Background of the technology Generally, in information transmission, variable-length codes are used, in which the number of bits in one word changes depending on the content of the information, and fixed-length codes, in which the number of bits in one word are always constant. It is being The variable length code system has the advantage that the total number of bits required to transmit the same amount of information can be reduced compared to the fixed length code system, and is used for transmitting image signals, audio signals, etc. However, since the number of bits differs from word to word, it is inconvenient to process the words as they are, and the circuit becomes complicated. Such drawbacks can be eliminated by converting a signal string consisting of codes of increasing length into parallel data divided into parts of a fixed number of bits. Against this background, it is desired to realize a circuit that converts variable length codes to fixed length codes.
(3)従来技術と問題点
従来形の可変長符号に対する符号変換回路が第1図に示
される。第1図の杓号変換回路1には最大ビット数ルビ
ノドの可変長符号からなる符号パターン情報DII、D
I2・曲・D工nが並列に入力されるとともに、入力さ
れる可変長符号のビット数をあられす符号長情報BN
1. BN 2・・・・・・BNmが入力される。符
号変換回路1においては、入力された可変長符号データ
が、変換されnビットの固定長符号の出力データDOI
、DO2・・・・・・DOWとして出力される。(3) Prior Art and Problems A code conversion circuit for a conventional variable length code is shown in FIG. The code conversion circuit 1 shown in FIG.
I2, song, and D engineering are input in parallel, and code length information BN is used to indicate the number of bits of the input variable length code.
1. BN 2...BNm is input. In the code conversion circuit 1, the input variable-length code data is converted into output data DOI of n-bit fixed-length code.
, DO2... is output as DOW.
第1図の符号変換回路1の前記の動作は、第2図の入出
力データ例を用いて説明される。例えば、最大8ビツト
の可変長符号として、第2図の入力データ(A)、 (
B)、 (C)・・・(F)が、順々に符号変換回路1
に入力されるとする。第1の入力データ(A)は、6ピ
ツトであるためにこの後尾に次の入力データ(B)の先
頭の2ビツトが付加され8ビツトの出力データ(A′)
として出力される。次に、入力データ(B)の残シの1
ビツトには、次の入力データ(C)の先頭の7ビツトが
付加され8ビツトの出力データ(B′)として出力され
る。次に、入力データ(C)の残りの1ビツトには、次
の入力データ(D)の全4ビツトが付加されさらに次の
入力データ(E)の先頭の3ビツトが付加され、8ビツ
トの出力データ(C′)として出力される。さらに、デ
ータ(E)の残りの2ビツトには、次のデータ(F)の
全6ビツトが付加され出力データ(D′)として出力さ
れる。The above-mentioned operation of the code conversion circuit 1 shown in FIG. 1 will be explained using the input/output data example shown in FIG. For example, input data (A) in Fig. 2, (
B), (C)...(F) are sequentially connected to the code conversion circuit 1.
Suppose that it is input to . Since the first input data (A) has 6 pits, the first 2 bits of the next input data (B) are added to the tail, resulting in 8-bit output data (A').
is output as Next, 1 of the remaining input data (B)
The first 7 bits of the next input data (C) are added to the bits and output as 8-bit output data (B'). Next, all 4 bits of the next input data (D) are added to the remaining 1 bit of the input data (C), and the first 3 bits of the next input data (E) are added to the remaining 1 bit of the 8-bit data. It is output as output data (C'). Further, all 6 bits of the next data (F) are added to the remaining 2 bits of data (E) and output as output data (D').
このような第1図の符号変換回路の動作は、例えば特願
昭55−017,259号に開示される回路により実現
される。ところで、第1図の符号変換回路においては、
処理される最大語長がnビットであるために、入力され
るデータのピント数が大きい場合には、ルを大きくする
必要があシ、それだけ回路構成が複雑になり、装置が大
規模になるという問題がある。The operation of the code conversion circuit shown in FIG. 1 is realized, for example, by a circuit disclosed in Japanese Patent Application No. 55-017,259. By the way, in the code conversion circuit shown in Fig. 1,
Since the maximum word length to be processed is n bits, if the number of points of input data is large, it is necessary to increase the number of input data, which increases the complexity of the circuit configuration and the size of the device. There is a problem.
(4)発明の目的
本発明の主な目的は、前記の従来形の問題点にかんがみ
、入力される可変長符号データを所定の語長以下の複数
のデータに分割することができる前記処理回路を設ける
ことにより、出力データの語長よりも大きな語長を有す
る可変長符号を処理することが可能であり、大きな語長
の入力データを回路規模の比較的小さな装置により処理
することができる、可変長符号に対する符号変換回路を
提供することにある。(4) Object of the Invention In view of the problems of the conventional type described above, the main object of the invention is to provide the processing circuit capable of dividing input variable-length code data into a plurality of data having a predetermined word length or less. By providing this, it is possible to process a variable length code having a word length larger than the word length of the output data, and input data with a large word length can be processed by a device with a relatively small circuit scale. An object of the present invention is to provide a code conversion circuit for variable length codes.
(5)発明の構成
本発明においては、ル語長以下の可変長符号入力データ
が並列に入力され九語長の固定長符号出力データに変換
される符号変換部の前段に、(n+1 )語長以上の符
号をル語長以下の複数の符号に分割するようにした前処
理回路を設け、該分割数に比例した速度において該符号
変換部を動作させるようにしたことを特徴とする、可変
長符号に対する符号変換回路が提供される。(5) Structure of the Invention In the present invention, variable-length code input data having a length of 9 words or less is input in parallel and is converted into fixed-length code output data having a length of 9 words. A variable method characterized in that a preprocessing circuit is provided to divide a code of length or more into a plurality of codes of length or less, and the code converter is operated at a speed proportional to the number of divisions. A code conversion circuit for long codes is provided.
(6)発明の実施例
本発明の一実施例としての、可変長符号に対する符号変
換回路が第3図に示される。第3図の可変長符号に対す
る符号変換回路は、前処理回路2および符号変換部3か
ら構成される。第3図の前処理回路の一構成例が第4図
に示される。(6) Embodiment of the Invention A code conversion circuit for variable length codes as an embodiment of the present invention is shown in FIG. The code conversion circuit for the variable length code shown in FIG. 3 is composed of a preprocessing circuit 2 and a code conversion section 3. An example of the configuration of the preprocessing circuit shown in FIG. 3 is shown in FIG.
第3図の符号変換回路において、前処理回路2には最大
ビット数ル。の可変長符号パターン情報および符号長情
報が入力される。前処理回路2においては、入力された
可変長符号は、最大ビット数n、 (n、 (n、 )
の可変長符号に分割される。例えば、ル。=15.n、
=8 であるとすると、入力データが15ビツトの符
号の時、前処理回路2において、8ビツトと7ビツトの
2つの符号に分割され、それぞれに8ビツトおよび7ビ
ツトを表わす符号長情報を付して符号変換部3に供給さ
れる。In the code conversion circuit shown in FIG. 3, the preprocessing circuit 2 has a maximum number of bits. variable length code pattern information and code length information are input. In the preprocessing circuit 2, the input variable length code has a maximum number of bits n, (n, (n, )
variable-length codes. For example, le. =15. n,
= 8, when the input data is a 15-bit code, it is divided into two codes, 8 bits and 7 bits, in the preprocessing circuit 2, and code length information representing 8 bits and 7 bits is attached to each code. and is supplied to the code conversion section 3.
この場合、入力される1つのデータに対し2つのデータ
が符号変換部3に供給され処理されることになる。符号
変換部3は、前述した第1図の符号変換回路1と同一の
機能を有するものであり、例えば前述の特願昭55−1
7,259号に開示される回路であることができる。In this case, two pieces of data are supplied to the code converter 3 for each input data and processed. The code conversion unit 3 has the same function as the code conversion circuit 1 shown in FIG.
7,259.
前記の前処理回路2の機能は、例えば第4図に示される
回路構成により実現される。第4図の前処理回路2は、
入力符号長情報が入力されるフリップフロッグ回路21
、入力符号パターン情報が入力されるフリップフロップ
回路22、入力符号長情報を分割された符号に対する符
号長情報に変換する回路23、入力符号パターン情報か
ら分割された符号パターンを選択的に出力する選択回路
24、分割された符号の符号長情報を選択的に出力する
選択回路25、分割された符号の符号長情報を出力する
フリツプフロツプ回路26、分割された符号パターン情
報を出力するフリップフロップ回路27、および、前記
の各回路を制御する制御回路28を有する。The functions of the preprocessing circuit 2 described above are realized, for example, by the circuit configuration shown in FIG. The preprocessing circuit 2 in FIG.
Flip-flop circuit 21 to which input code length information is input
, a flip-flop circuit 22 to which input code pattern information is input, a circuit 23 for converting input code length information into code length information for divided codes, and a selection for selectively outputting code patterns divided from input code pattern information. circuit 24, a selection circuit 25 that selectively outputs code length information of divided codes, a flip-flop circuit 26 that outputs code length information of divided codes, a flip-flop circuit 27 that outputs divided code pattern information, It also has a control circuit 28 that controls each of the circuits described above.
前述した例の場合、15ピントの符号長情報および符号
パターン情報がクロック信号により、フリップフロップ
回路21および22にそれぞれ読込まれる。読込まれた
符号長情報は符号長変換回路23において上位8ピツト
と下位7ビツトの2つの符号長情報に変換され、並列に
出力される。In the case of the above example, code length information and code pattern information of 15 pints are read into flip-flop circuits 21 and 22, respectively, by a clock signal. The read code length information is converted into two pieces of code length information, ie, upper 8 bits and lower 7 bits, in a code length conversion circuit 23, and outputted in parallel.
一方、符号パターン情報は、選択回路24において制御
回路28からの選択信号により、上位8ビツトが最初に
出力され、次に下位7ビツトが出力される。これと同期
して、選択回路25においても、最初に8ビツトの符号
長情報が選択され、次に7ビツトの符号長情報が選択さ
れ出力される。On the other hand, in the selection circuit 24, the upper 8 bits of the code pattern information are outputted first, and then the lower 7 bits are outputted, according to a selection signal from the control circuit 28. In synchronization with this, the selection circuit 25 also selects 8-bit code length information first, and then selects and outputs 7-bit code length information.
このようにして、分割された2つの符号に対する符号長
情報および符号パターン情報は、制御回路28からの2
倍のクロック信号により順次フリップフロップ回路26
および27に読込まれ、符号変換部3に供給される。In this way, code length information and code pattern information for the two divided codes are transmitted from the control circuit 28.
Flip-flop circuit 26 sequentially by double clock signal
and 27 and supplied to the code conversion section 3.
従って、第3図の符号変換回路においては、最大16ビ
ツトの可変長符号を8ピツト構成の符号変換回路におい
て処理することが可能である。勿論、前処理回路2にお
ける分割数を増加させることにより16ピント以上の可
変長符号を処理することも可能である。Therefore, in the code conversion circuit shown in FIG. 3, it is possible to process variable length codes of maximum 16 bits in the code conversion circuit having an 8-pit configuration. Of course, by increasing the number of divisions in the preprocessing circuit 2, it is also possible to process variable length codes of 16 pinto or more.
(7)発明の効果
本発明によれば、比較的大きな語長を有する可変長符号
を所定の語長以下の語長を有する複数個の符号に分割す
ることにより、入力される符号の語長のまま処理する回
路に比べて小規模な回路により可変長符号から固定長符
号への変換を行うことができる符号変換回路が提供され
得る。(7) Effects of the Invention According to the present invention, by dividing a variable length code having a relatively large word length into a plurality of codes having word lengths equal to or less than a predetermined word length, the word length of the input code is A code conversion circuit that can convert a variable length code to a fixed length code using a smaller circuit than a circuit that processes the code as is can be provided.
mm1図は、従来形の可変長符号に対する符号変換回路
の回路図、
第2図は、第1図の回路の動作を説明する図、第3図は
、本発明の一実施例としての可変長符号に対する符号変
換回路の回路図、
第4図は、第3図における前処理回路の一構成例の回路
図である。
(符号の説明)
1: 符号変換回路、 2: 前処理回路、3: 符
号変換部、
21.22,26,27: フリップフロップ回路、
23: 符号長変換回路、
24、25: 選択回路、 28二 制御回路。
特許出願人
富士通株式会社
日本電信電話公社
特許出願代理人
弁理士 青 木 朗
弁理士西舘和之
弁理士 内 1)幸 男
弁理士 山 口 昭 之mm1 is a circuit diagram of a code conversion circuit for a conventional variable length code, FIG. 2 is a diagram explaining the operation of the circuit of FIG. 1, and FIG. 3 is a circuit diagram of a code conversion circuit for a conventional variable length code. Circuit Diagram of Code Conversion Circuit for Codes FIG. 4 is a circuit diagram of a configuration example of the preprocessing circuit in FIG. 3. (Description of symbols) 1: code conversion circuit, 2: preprocessing circuit, 3: code conversion unit, 21.22, 26, 27: flip-flop circuit,
23: code length conversion circuit; 24, 25: selection circuit; 282: control circuit. Patent applicant: Fujitsu Corporation Nippon Telegraph and Telephone Corporation Patent agent: Akira Aoki, patent attorney: Kazuyuki Nishidate, patent attorney: 1) Yukio, patent attorney: Akira Yamaguchi
Claims (1)
語長の固定長符号出力データに変換される符号変換部の
前段に(i+ l )語長以上の符号をル語長以下の複
数個の符号に分割するようにした前処理回路を設け、該
分割数に比例した速度において該符号変換部を動作させ
るようにしたことを特徴とする、可変長符号に対する符
号変換回路。Variable-length code input data with word length or less is input in parallel and is converted into fixed-length code output data with word length. At the front stage of the code converter, a plurality of codes with word length of (i + l) or more are input in parallel and converted into fixed-length code output data with word length. A code conversion circuit for a variable length code, characterized in that a preprocessing circuit is provided to divide the code into several codes, and the code conversion unit is operated at a speed proportional to the number of divisions.
Priority Applications (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP57111445A JPS594255A (en) | 1982-06-30 | 1982-06-30 | Code converting circuit to variable length code |
CA000431197A CA1211219A (en) | 1982-06-30 | 1983-06-27 | Digital data code conversion circuit for variable- word-length data code |
EP83303732A EP0098153B1 (en) | 1982-06-30 | 1983-06-28 | Digital data code conversion circuit for variable-word-length data code |
DE8383303732T DE3380833D1 (en) | 1982-06-30 | 1983-06-28 | Digital data code conversion circuit for variable-word-length data code |
US06/509,398 US4593267A (en) | 1982-06-30 | 1983-06-30 | Digital data code conversion circuit for variable-word-length data code |
KR1019830002965A KR860001344B1 (en) | 1982-06-30 | 1983-06-30 | Digital data code conversion circuit for variable word-length data code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP57111445A JPS594255A (en) | 1982-06-30 | 1982-06-30 | Code converting circuit to variable length code |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS594255A true JPS594255A (en) | 1984-01-11 |
JPH0379889B2 JPH0379889B2 (en) | 1991-12-20 |
Family
ID=14561377
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP57111445A Granted JPS594255A (en) | 1982-06-30 | 1982-06-30 | Code converting circuit to variable length code |
Country Status (2)
Country | Link |
---|---|
JP (1) | JPS594255A (en) |
KR (1) | KR860001344B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008173058A (en) * | 2007-01-19 | 2008-07-31 | Iseki & Co Ltd | Threshing device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS52105740A (en) * | 1976-03-01 | 1977-09-05 | Nippon Telegr & Teleph Corp <Ntt> | Buffer memory fead-out control system |
-
1982
- 1982-06-30 JP JP57111445A patent/JPS594255A/en active Granted
-
1983
- 1983-06-30 KR KR1019830002965A patent/KR860001344B1/en not_active IP Right Cessation
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS52105740A (en) * | 1976-03-01 | 1977-09-05 | Nippon Telegr & Teleph Corp <Ntt> | Buffer memory fead-out control system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008173058A (en) * | 2007-01-19 | 2008-07-31 | Iseki & Co Ltd | Threshing device |
Also Published As
Publication number | Publication date |
---|---|
KR860001344B1 (en) | 1986-09-15 |
JPH0379889B2 (en) | 1991-12-20 |
KR840005290A (en) | 1984-11-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0098153B1 (en) | Digital data code conversion circuit for variable-word-length data code | |
KR950035221A (en) | Soft symbol generation method and circuit | |
US4155070A (en) | Code-converter with preservation of parity | |
EP0390309A3 (en) | Data unpacker | |
DE69016063D1 (en) | PCM transmission system. | |
JPS594255A (en) | Code converting circuit to variable length code | |
US3691554A (en) | Code converters | |
US6686856B1 (en) | Clocking domain conversion system and method | |
JPH04252329A (en) | Method for displaying data with variable bit pattern and communication system | |
JP3863652B2 (en) | Variable length code alignment device | |
JP2563239B2 (en) | Synchronous pattern selection method | |
US6115424A (en) | Coding method of dividing information block serving as conversion unit into a plurality of sub-blocks to perform coding for each sub-block, and coding apparatus | |
SU843269A1 (en) | Code shaping device | |
JPS644380B2 (en) | ||
JP3134362B2 (en) | Variable length / fixed length coding circuit | |
JP2861533B2 (en) | In-device transmission system for digital data | |
JPS5868341A (en) | Data signal multiplexing circuit | |
JP2674799B2 (en) | High efficiency digital add / drop device | |
SU1599995A1 (en) | Pulse-code modulated-to-delta-modulated signal converter | |
JP3032239B2 (en) | Variable-length code decoding circuit | |
JPS59169254A (en) | Code converting system | |
JPS5961340A (en) | Integrating value code converting circuit | |
JPH09153821A (en) | Serial-parallel converting system | |
KR960038906A (en) | Data decoding method | |
JPH0568027A (en) | Decoder circuit |