Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5829917B2 - Weyl code encoding circuit - Google Patents
[go: Go Back, main page]

JPS5829917B2 - Weyl code encoding circuit - Google Patents

Weyl code encoding circuit

Info

Publication number
JPS5829917B2
JPS5829917B2 JP7342277A JP7342277A JPS5829917B2 JP S5829917 B2 JPS5829917 B2 JP S5829917B2 JP 7342277 A JP7342277 A JP 7342277A JP 7342277 A JP7342277 A JP 7342277A JP S5829917 B2 JPS5829917 B2 JP S5829917B2
Authority
JP
Japan
Prior art keywords
code
length
output
fill
address
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
Application number
JP7342277A
Other languages
Japanese (ja)
Other versions
JPS547225A (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.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP7342277A priority Critical patent/JPS5829917B2/en
Publication of JPS547225A publication Critical patent/JPS547225A/en
Publication of JPS5829917B2 publication Critical patent/JPS5829917B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Reduction Or Emphasis Of Bandwidth Of Signals (AREA)

Description

【発明の詳細な説明】 本発明はファクシミリ信号の符号化回路に係わり、特に
フィル符号化方式による符号化回路の改良に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a facsimile signal encoding circuit, and particularly to an improvement of the encoding circuit using a fill encoding method.

ファクシミリ信号の伝送時間を短縮する方式として白ま
たは黒の画素が継続する長さくランレングス)を符号化
して送出する方法が知られている。
As a method for shortening the transmission time of facsimile signals, a method is known in which a long run length of white or black pixels is encoded and transmitted.

この場合のランレングス符号の与え方は発生頻度の高い
ランレングスには短い符号を与え、発生頻度の低いラン
レングスには長い符号を与えるという可変長符号化が変
換効率を高めるために効果があることが知られている。
In this case, variable-length coding is effective in increasing conversion efficiency by giving short codes to run lengths that occur frequently and long codes to run lengths that occur less frequently. It is known.

このような符号化方式としてフィル符号化方式がよく知
られている。
A fill encoding method is well known as such an encoding method.

第1図はランレングスの長さに応じたフィル符号を示し
たものである。
FIG. 1 shows fill codes depending on the length of the run length.

(フィル符号化回路についてはH,Wyle 、 T
、 Erb 、 R−Banow −ReducedT
ime Facsimile Transmissi
on by Digi −tal Coding 、
IRF Trans 、 C8215頁(Sep。
(For the fill encoding circuit, H, Wyle, T
, Erb, R-Banow-ReducedT
ime Facsimile Transmissi
on by Digi-tal Coding,
IRF Trans, page C8215 (Sep.

1961)および米国特許3061672にくわしい。1961) and US Pat. No. 3,061,672.

)第1図において、アドレスコードは後に続くリメイン
ダーコードの符号長を予知させる符号であり、リメイン
ダーコードはランレングスに対応したランレングス符号
を表わすものである。
) In FIG. 1, the address code is a code that predicts the code length of the subsequent reminder code, and the reminder code represents a run length code corresponding to the run length.

アドレスコードのコード長はランレングス1から4の時
1ビツト、2n+1から2n+1(ただしn≧2)の時
nビットである。
The code length of the address code is 1 bit when the run length is 1 to 4, and n bits when the run length is 2n+1 to 2n+1 (where n≧2).

アドレスコード長が決まれば、第1図に示すようにアド
レスコードは一義的に決まる。
Once the address code length is determined, the address code is uniquely determined as shown in FIG.

ランレングスより1を減じた数を2進数に変換してこれ
の最高位のビットを削除したものがリメインダーコード
となる。
The reminder code is obtained by subtracting 1 from the run length, converting it into a binary number, and deleting the highest bit.

またそのコード長はアドレスコードのコード長と等しい
Further, the code length is equal to the code length of the address code.

ただし、ランレングス1から4の場合は上記の操作で得
た2進数の最高位のビットをはぶかず2ビツトであられ
される。
However, in the case of a run length of 1 to 4, the highest bit of the binary number obtained by the above operation is not omitted and is divided into 2 bits.

したがってこの場合にはコード長は2ビツトである。Therefore, in this case, the code length is 2 bits.

この結果全コード長は第4欄に示すようになる。As a result, the total code length is as shown in the fourth column.

フィル符号の復号化は符号化の逆の手順で行なう。Decoding of the fill code is performed by the reverse procedure of encoding.

アドレスコードの第1ビツトが0″の場合、アドレスコ
ードはこれだけであり、後に続く2ビツトのコードがリ
メインダーコードである。
If the first bit of the address code is 0'', this is the only address code, and the following 2-bit code is the reminder code.

アドレスコードの第1ビツトが111”の場合、アドレ
スコートは後続するビットを有するので、アドレスコー
ドが1ビツトあったことを記憶したのち、次のコードを
読み込んでこれが110”の時アドレスコードは終了し
、アドレスコードのコード長は2ビツトである。
If the first bit of the address code is 111", the address code has subsequent bits, so after remembering that there was one bit of the address code, read the next code, and when this is 110", the address code is finished. However, the code length of the address code is 2 bits.

従って、リメインダーコードのコード長は2ビツトとわ
かり、後に続く2ビツトのコードを記憶する。
Therefore, the code length of the reminder code is found to be 2 bits, and the following 2-bit code is stored.

先に述べた様に、リメインダーコードは最高位のビット
が削除されているので、記憶した2ビツトの先頭にパ1
”のコードを付は加える。
As mentioned earlier, the highest bit of the reminder code has been deleted, so the memory code will be replaced with a pad at the beginning of the two memorized bits.
” code is added.

この3ビツトの2進数はランレングスから1を減じた数
をあられしている。
This 3-bit binary number represents the run length minus 1.

以下同様にアドレスコードの区切りパ0”を見つげて、
そのコード長を記憶しておき、そのコード要分の後に続
くコードを記憶し、その先頭に1”コードを付ける。
Similarly, look at the address code delimiter "pa0" and
The chord length is memorized, and the chord that follows the chord section is memorized, and a 1" code is added to the beginning of the chord.

これはランレングスから1を減じた数であり、これに1
を加えるとランレングスが再現される。
This is the run length minus 1, plus 1
If you add , the run length will be reproduced.

第2図はフィル符号化回路の一例である。FIG. 2 is an example of a fill encoding circuit.

まず、符号化すべき信号が端子8より入力され標本化パ
ルス9を単位としてアンドゲート7を介して量子化され
る。
First, a signal to be encoded is inputted from the terminal 8 and quantized via the AND gate 7 in units of sampling pulses 9.

すなわち7の出力10として、ファクシミリ信号の白あ
るいは黒の長さ、つまりランレングスmを示すm個のパ
ルスが得られる。
That is, m pulses representing the length of white or black of the facsimile signal, that is, the run length m, are obtained as the output 10 of the facsimile signal.

10は2進計数器1に導かれmを表わす2信数信号11
に変換される。
10 is a binary signal 11 which is led to a binary counter 1 and represents m.
is converted to

こうして変換された2進数信号11はコードマトリック
ス2およびコード長マトリックス3に入力される。
The binary signal 11 thus converted is input to a code matrix 2 and a code length matrix 3.

2は直ちに入力11に対応したフィル符号の各ビットを
表わす信号12を出力する。
2 immediately outputs a signal 12 representing each bit of the fill code corresponding to input 11.

3は直ちに入力11に対応したコード長を表わす2進数
を作り信号13を出力する。
3 immediately creates a binary number representing the code length corresponding to input 11 and outputs signal 13.

m個のパルスの計数の終了後、端子15より書込パルス
を印加して、信号12をレジスタ4へ並列転送する。
After counting m pulses, a write pulse is applied from the terminal 15 to transfer the signal 12 to the register 4 in parallel.

次に端子16より入力されるシフトパルスに従ってレジ
スタ4の内容がシフトされ、端子14にフィル符号が出
力される。
Next, the contents of the register 4 are shifted in accordance with a shift pulse inputted from the terminal 16, and a fill code is outputted to the terminal 14.

同時にシフトパルス16は2進計数器6に印加され14
に出力するビット数を計数する。
At the same time, a shift pulse 16 is applied to the binary counter 6 and 14
Count the number of bits output to .

計数された値は信号17として一致回路5に出力される
The counted value is output as a signal 17 to the matching circuit 5.

一致回路5は信号17と信号13を比較して一致すると
一致パルス18を出力し、フィル符号がすべて読み出さ
れたことを示すとともに、2進計数器1および6をクリ
アーして、符号化回路はクリアーされ、系は一巡して初
期状態に戻り、符号変換処理の1サイクルを終了する。
The matching circuit 5 compares the signals 17 and 13, and when they match, outputs a matching pulse 18, indicating that all the fill codes have been read out, clears the binary counters 1 and 6, and returns the encoder to the encoder circuit. is cleared, the system returns to the initial state, and one cycle of code conversion processing is completed.

以上説明した符号化回路は、フィル符号化回路のみなら
ず他のどの様なランレングス符号化方式にも適用可能な
万能型の符号化回路ともいえる構成であるが、大きな欠
点をもっている。
Although the encoding circuit described above can be said to be a versatile encoding circuit that can be applied not only to fill encoding circuits but also to any other run-length encoding method, it has a major drawback.

それはコードマトリックスおよびコード長マトリックス
に非常に大きいハードウェアを必要とする点である。
The problem is that the code matrix and code length matrix require very large hardware.

飼えばこのマトリックスを実現する方法としてリードオ
ンリーメモリ(ROM)を利用するとして、ランレング
スの最大値が1024の場合を考える。
Let us consider a case where the maximum run length is 1024, assuming that a read-only memory (ROM) is used as a method for realizing this matrix.

第1図からランレングスが1024に対してフィル符号
の符号長は18ビツトであり、コード長を表わす2進数
に5ビツト、1024まで計数するために必要な2進計
数器は10ビツト必要である。
From Figure 1, the run length is 1024, and the code length of the fill code is 18 bits, the binary number representing the code length requires 5 bits, and the binary counter required to count up to 1024 requires 10 bits. .

従って、コードマトリックスに必要なROMの容量は2
10×18ピツト約18にビット、コード長マトリック
スに必要なROMの容量は210×5ビツト約5にビッ
トであり、あわせて23にビットになる。
Therefore, the ROM capacity required for the code matrix is 2
The capacity of the ROM required for the 10×18 bits is approximately 18 bits, and the ROM capacity required for the code length matrix is 210×5 bits, approximately 5 bits, making a total of 23 bits.

またランレングスの最大値が1025から2048の間
になると、必要なROMの容量は、約50にビットとな
る。
When the maximum run length is between 1025 and 2048, the required ROM capacity is approximately 50 bits.

本発明の目的は、フィル符号の持つコード割りあての規
則性に着目して、簡単で経済的な構成を用いた実用的な
符号化回路を提供することにある。
An object of the present invention is to provide a practical encoding circuit that uses a simple and economical configuration by focusing on the regularity of code assignment that fill codes have.

以下本発明の一実施例を詳細に説明する。An embodiment of the present invention will be described in detail below.

この実MflJにおいてはランレングスの最大値が20
48の場合を示した。
In this actual MflJ, the maximum run length is 20
48 cases were shown.

第3図は本発明によるフィル符号化回路のブロック図で
ある。
FIG. 3 is a block diagram of a fill encoding circuit according to the present invention.

101は符号化すべき信号201と標本化の単位のクロ
ックパルス202よりランレングスから1減じた値を2
進数に変換しランレングス情報206を出力する計数部
、102はランレングス情報206からアドレスコード
およびリメインダーコードを作るためのコード情報20
8を出力する制御部、103はランレングス情報206
とコード情報208からフィル符号204を合成する符
号合成部である。
101 is the run length of the signal to be encoded 201 and the sampling unit clock pulse 202 minus 1, which is 2.
A counting unit converts into a base number and outputs run length information 206, 102 is code information 20 for creating an address code and a reminder code from the run length information 206.
8, 103 is run length information 206
This is a code synthesis unit that synthesizes a fill code 204 from the code information 208 and the code information 208.

203はコード要求パルス、205は101に含まれる
2進計数器をリセットするリセットパルス、207はア
ドレスコードおよびリメインダーコードの送出終了パル
ス、221はコード送出開始である。
203 is a code request pulse, 205 is a reset pulse for resetting the binary counter included in 101, 207 is an address code and reminder code sending end pulse, and 221 is a code sending start.

第4図は計数部101の具体的な構成を示す。FIG. 4 shows a specific configuration of the counting section 101.

201と202はアンドゲート104を介して量子化さ
れる。
201 and 202 are quantized via an AND gate 104.

すなわち104の出力としてランレングスを示すパルス
209が得られる。
That is, a pulse 209 indicating the run length is obtained as the output of 104.

フリツプフロップ105とアンドゲート106はランレ
ングスから1を減じる働きをする。
Flip-flop 105 and AND gate 106 function to subtract one from the run length.

すなわち、初期状態でリセット状態のフリップフロップ
105が209の最初のパルスでセットされ210がO
かも1になる。
That is, the flip-flop 105, which is in the reset state in the initial state, is set by the first pulse of 209, and 210 is set to O.
It might become 1.

209と210は106を介して11桁のカウンター1
07のクロックパルス211となる。
209 and 210 are 11-digit counter 1 via 106
07 clock pulse 211.

211は210により209の最初のパルスをマスクさ
れているので107はランレングスから1減じた数を計
数する。
Since 211 has the first pulse of 209 masked by 210, 107 counts the run length minus 1.

107の各桁の出力はランレングス情報206として出
力される。
The output of each digit of 107 is output as run length information 206.

ただし、206−aは107の1桁目の出力で、以下順
にす、ep dy e、L gy hp l、jと1
07の各桁の出力をあられし、206−には107の1
1桁目の出力である。
However, 206-a is the output of the first digit of 107, and in the following order: ep dy e, L gy hp l, j and 1
The output of each digit of 07 is output, and 206- is the 1 of 107.
This is the output of the first digit.

フィル符号がすべて送出されるとリセットパルス205
後遂により105と107は初期状態に戻り、新たな符
号化要求にそなえる。
Reset pulse 205 when all fill codes are sent
After that, 105 and 107 return to their initial states and are ready for a new encoding request.

第5図は制御部102の具体的な構成を示す。FIG. 5 shows a specific configuration of the control section 102.

108は10進数から2進数への変換器で、その入力端
子1〜9に入力するロジックレベルのうち、最も上位の
入力端子のロジックレベル1を選択し、その入力端子番
号の2進数の補数を出力端子A〜DK出力する働きをす
る。
108 is a converter from decimal to binary, which selects logic level 1 of the highest input terminal among the logic levels input to input terminals 1 to 9, and converts the binary complement of that input terminal number. It functions to output from output terminals A to DK.

第6図にこの変換規則を示す。FIG. 6 shows this conversion rule.

114は並列入力可能な4桁のカウンターである。114 is a 4-digit counter that can be input in parallel.

ランレングス情報(204−c)〜(206−k)は1
08に入り、各入力のうちロジンフレベル10入力を調
べ、その入力の中の最大桁を判定されて最大桁に対応し
た2進数の補数212〜215に変換される。
Run length information (204-c) to (206-k) is 1
08, the rosinf level 10 input is examined among each input, and the maximum digit in the input is determined and converted into the binary complement number 212-215 corresponding to the maximum digit.

従ってこの出力212〜215に変換される。Therefore, it is converted into these outputs 212-215.

従ってこの出力212〜215はランレングスのアドレ
スコードのコード長数から1減じた数の補数を表わす。
Therefore, the outputs 212 to 215 represent the complement of the code length number of the run length address code minus one.

ただし215が上位の桁である。However, 215 is the upper digit.

212〜215はリメインダーコードのコード長の補数
を作る場合にも用いられる。
212 to 215 are also used when creating the complement of the code length of the reminder code.

リメインダーコードのコード長は第1図からもわかるよ
うにランレングス1から4までの場合をのぞいてアドレ
スコードのコード長と等しいのでランレングス1から4
までの場合のみコード長を2にすればよい。
As can be seen from Figure 1, the code length of the reminder code is equal to the code length of the address code, except for run lengths 1 to 4, so run lengths 1 to 4 are used.
It is only necessary to set the code length to 2 in cases up to .

この変換を行なうのがナントゲート110と、アンドゲ
ート112およびフリップフロップ109である。
This conversion is performed by Nant gate 110, AND gate 112, and flip-flop 109.

ランレングスが60の場合を列としてその動作をさらに
詳しく説明する。
The operation will be explained in more detail using the case where the run length is 60 as a column.

第7図は各信号のタイムチャートである。FIG. 7 is a time chart of each signal.

いま、ランレングス60は101で59を表わす2進数
に変換されランレングス情報206は上位ビットから順
に ”00000111011”となる。
Now, the run length 60 is converted into a binary number representing 59 by 101, and the run length information 206 becomes "00000111011" in order from the upper bit.

上記ランレングス情報206の下位2ビット206a、
bをのぞいた’000001110”は108で変換さ
れて215,214,213,212にアドレスコード
のコード長(5ビツト)から1減じた数の2進数すなわ
ち4の補数である。
The lower two bits 206a of the run length information 206,
'000001110'' excluding b is converted by 108 and becomes 215, 214, 213, 212, which is the binary number of the code length (5 bits) of the address code minus 1, that is, the 4's complement number.

” l O11”を得る。"l O11" is obtained.

初期状態においてはフリップフロップ109はリセット
されておりその出力216はゝ゛O″である。
In the initial state, the flip-flop 109 is reset and its output 216 is "O".

したがってナントゲート110の出力219は1″とな
り、アンドゲート112の出力220は212と同じ信
号になる。
Therefore, the output 219 of the Nant gate 110 becomes 1'', and the output 220 of the AND gate 112 becomes the same signal as 212.

外部よりコード送出開始パルス221が入ると、ノアゲ
ート113を介して極性が反転されロードパルス218
になって並列入力カウンター114に入力され、114
には” 1011”がセットされる。
When the code transmission start pulse 221 is input from the outside, the polarity is reversed through the NOR gate 113 and the load pulse 218 is output.
is input to the parallel input counter 114, and 114
is set to "1011".

同時に109もセットされ216はtt 1ppとなり
、次のメインダーコードのコード長のセットにそなえる
At the same time, 109 is also set, and 216 becomes tt 1pp, preparing for setting the chord length of the next main chord.

カウンター114はコード要求パルス203が入るごと
に+1ずつ計数を行ないその計数内容をコード情報20
8として出力する。
The counter 114 counts +1 each time the code request pulse 203 is received, and stores the counted contents in the code information 20.
Output as 8.

208の信号がすべて1′1”のときアドレスコードの
最終ビットが準備され、(後述の第8図〜第10図参照
)次の203のパルスで最終ビットが読み出されると、
208はすべて′O″になりアドレスコード送出終了と
なる。
When all the signals of 208 are 1'1'', the final bit of the address code is prepared, and when the final bit is read out with the next pulse of 203 (see Figures 8 to 10 described later),
All 208 become 'O', and address code transmission is completed.

208は103の符号合成部で変換されて送出パルス終
了信号207として帰ってくる。
The signal 208 is converted by the code synthesis unit 103 and returned as the sending pulse end signal 207.

207は113を介して極性が反転される21Bとして
114に入力され、カウンターに” 1011 ”を再
びセットする。
207 is input to 114 as 21B whose polarity is inverted via 113, and "1011" is set in the counter again.

以下アドレスコードのときと同様に203に同期して計
数を進めコード情報208を送出し208がすべてtt
Ollになったときすべてのフィル符号の送出(後述
)が終了する。
Below, in the same way as for the address code, counting is carried out in synchronization with 203, and code information 208 is sent out, and all 208 are tt.
When it becomes Oll, transmission of all fill codes (described later) ends.

このとき114をもう一度ロードするのは208がすべ
てゞ゛O″だと207がat 1ppとなり、109が
いつまでもリセットされているのを防ぐためである。
The reason why 114 is loaded again at this time is to prevent 207 from being reset forever if 208 is all "O" and 207 becomes at 1pp.

次にリメインダーコードが特殊になるランレングス1か
ら4のときの動作を説明する。
Next, the operation when the run length is 1 to 4, which makes the reminder code special, will be explained.

ここではランレグス4の場合を例とする。Here, the case of run leg 4 will be taken as an example.

ランレングス4は101で変換されランレングス情報2
06に”00000000011”と出力される。
Run length 4 is converted by 101 and run length information 2
06 is output as "00000000011".

206は下位2ビツトをのぞいた”ooooooooo
”が108に入力され、変換されて212〜215に”
1111 ”となる。
206 is "ooooooooooo" excluding the lower 2 bits.
” is input to 108 and converted to 212-215”
1111”.

アドレスコードのとき109はセットされているので2
16はl″であり213〜215が1”であるから、ナ
ントゲート110の出力219はat Oppとなり、
212を介して220はtt O”となる。
Since 109 is set for the address code, 2
Since 16 is l'' and 213 to 215 are 1'', the output 219 of the Nantes gate 110 is at Opp,
220 becomes tt O'' via 212.

したがって114には”1110”がセットされ、アド
レスコードのコード長を2ビツトにすることができる。
Therefore, "1110" is set in 114, and the code length of the address code can be set to 2 bits.

リメイングーコードの場合は先の列と同じ動作をする。In the case of a remaining goo code, it works the same as the previous column.

第8図は符号合成部103の具体的な構成を示す。FIG. 8 shows a specific configuration of the code synthesis section 103.

111は周知の10ビツトのセレクターで入力A−Dを
示す値に対応した入カフ〜16のうちの1つの信号を出
力Yに選択する。
Reference numeral 111 is a well-known 10-bit selector which selects one of the input signals 16 to 16 corresponding to the value indicating the inputs A-D as the output Y.

この関係を第9図に示す。This relationship is shown in FIG.

117はアドレスコードとリメインダーコードを区別す
るためのフリップフロップでCPへの入力信号207の
立下りで状態が変化するものとし、初期状態は出力22
3がtt On出力224が′1″とする。
Reference numeral 117 is a flip-flop for distinguishing between an address code and a reminder code, and its state changes at the fall of the input signal 207 to the CP, and the initial state is the output 22.
3 is tt On output 224 is '1''.

ここでも制御部102の場合と同様にランレングス60
の場合を列として動作を説明する。
Here, as in the case of the control unit 102, the run length is 60.
The operation will be explained using the case of .

第10図にそのタイムチャートを示す。FIG. 10 shows the time chart.

ランレングスの計数はすでに終了して、ランレングス情
報(206−j)から(206−a)には ”0000111011”が、コード情報(208−d
)から(208−a)には” 1011 ″がそれぞれ
与えられている。
The run length counting has already been completed, and the run length information (206-j) to (206-a) contains "0000111011", and the code information (208-d)
) to (208-a) are given "1011", respectively.

117は初期状態であるから223が“O” 224が
”1”である。
Since 117 is in the initial state, 223 is "O" and 224 is "1".

コード情報208に1つでも0″が含まれるときナント
ゲート116の出力222にはul”が出力され、20
8がすべてtt 1ppのときには′O″が出力され、
従って” 11110”のアドレスコードが出力される
When the code information 208 includes even one 0'', ul'' is output to the output 222 of the Nantes gate 116, and 20
When all 8 are tt 1pp, 'O'' is output,
Therefore, an address code of "11110" is output.

この出力222はアンドゲート120およびオアゲート
121を介してアドレスコード204として出力される
This output 222 is output as an address code 204 via an AND gate 120 and an OR gate 121.

208がすべてat Onになるとノアゲート115を
介して送出終了パルス207が出力され、フリップフロ
ップ117の状態が変わり223がパ1″′に224が
Oになる。
When all the signals 208 are turned on, a sending end pulse 207 is outputted through the NOR gate 115, and the state of the flip-flop 117 changes so that 223 becomes 1'' and 224 becomes 0.

208の内容に対応して111は入力206a〜jのう
ちの1つの信号を選択しりメインダーコード217とし
て出力する。
Corresponding to the contents of 208, 111 selects one signal from inputs 206a to 206j and outputs it as main code 217.

217はアンドゲート119および121を介してコー
ド204として出力される。
217 is output as code 204 via AND gates 119 and 121.

208がすべてtt Onになるとノアゲート115を
介して207が出力される。
When all the signals 208 are turned on, the signal 207 is outputted via the NOR gate 115.

このとき223は1″であるのでナントゲート118を
介してリセットパルス205を出力し同時に117を初
期状態にもどり、フィル符号の送出は終了する。
At this time, since 223 is 1'', a reset pulse 205 is outputted through the Nant gate 118, and at the same time, 117 is returned to its initial state, and the transmission of the fill code is completed.

本発明は以上説明したようにフィル符号化方式の特徴を
利用することでコードおよびコード長情報の作成を著し
く簡単にしており、かつアドレスコードとリメインダー
コードを順次作るように構成することによりコード送出
の回路も簡単化して、経済的な回路としている。
As explained above, the present invention significantly simplifies the creation of codes and code length information by utilizing the characteristics of the fill encoding method, and also by configuring the address code and reminder code to be created sequentially, the code The sending circuit has also been simplified to make it more economical.

前述した米国特許3061672に比して著しく簡単化
されることはもとより、第2図の場合に比しても価格上
約10分の1規模で実現できる。
Not only is it significantly simpler than the above-mentioned US Pat. No. 3,061,672, but it can also be realized at about one-tenth the cost compared to the case shown in FIG.

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

第1図はフィル符号化方式の各ランレングスに対するコ
ードを示し、第2図は従来のフィル符号化回路のブロッ
ク図、第3図は本発明の一実施列のブロック図、第4図
、第5図、第8図は第3図の詳細な回路図であり、第6
図は第5図で示した変換器108の変換規則を示し、第
7図は第5図の各信号線のタイムチャートであり、第9
図は第8図に示したセレクター111の入出力信号の関
係を示し、第10図は第8図の各信号線のタイムチャー
トである。 101は計数部、102は制御部、103はフィル符号
を合成する符号合成部、105はフリップフロップ、1
07はカウンター、108は10進数から2進数への変
換器、109はフリップフロップ、114はカウンター
、111は10ビツトのセレクター、117はフリップ
フロップ、201は符号化すべき信号、202はクロッ
クパルス、203は外部より入力されるコード要求パル
ス、204はフィル符号出力、205はランレングスカ
ウンターのリセットパルス、206はランレングス情報
を表わす並列信号、207はアドレスコードおよびリメ
インダーコードの送出終了パルス、221は外部より入
力されるコード送出開始パルスへ
FIG. 1 shows the code for each run length of the fill encoding method, FIG. 2 is a block diagram of a conventional fill encoding circuit, FIG. 3 is a block diagram of one embodiment of the present invention, and FIGS. Figures 5 and 8 are detailed circuit diagrams of Figure 3, and Figure 6 is a detailed circuit diagram of Figure 3.
The figure shows the conversion rule of the converter 108 shown in FIG. 5, FIG. 7 is a time chart of each signal line in FIG.
The figure shows the relationship between the input and output signals of the selector 111 shown in FIG. 8, and FIG. 10 is a time chart of each signal line in FIG. 8. 101 is a counting section, 102 is a control section, 103 is a code synthesis section for synthesizing fill codes, 105 is a flip-flop, 1
07 is a counter, 108 is a decimal number to binary number converter, 109 is a flip-flop, 114 is a counter, 111 is a 10-bit selector, 117 is a flip-flop, 201 is a signal to be encoded, 202 is a clock pulse, 203 204 is a fill code output, 205 is a run-length counter reset pulse, 206 is a parallel signal representing run-length information, 207 is an address code and reminder code sending end pulse, 221 is a code request pulse input from the outside, To the code transmission start pulse input from the outside

Claims (1)

【特許請求の範囲】 1 人力ランレングス符号をアドレス符号とりメインダ
符号とから構成されるフィル符号に変換するフィル符号
符号化回路において、 前記ランレングス符号を構成するピッドの1″またはa
t Oppの連結数から1を減じた数を計数する計数手
段と、 前記計数手段の出力に基いて前記アドレス符号および前
記リメインダ符号の符号長に対応する制御信号を発生す
る手段と、 前記制御信号に応答して前記アドレス符号の符号長と同
数の制御信号からなる第1の制御信号群および前記リメ
インダ符号の符号長と同数のff51#信号からなる第
2の制御信号群をそれぞれ発生する手段と、 前記第1の制御信号群の各制御信号に応答して前記アド
レス符号を作成するアドレス符号作成手段と、 前記第2の制御信号群の各制御信号に応答して前記リメ
インダ符号を作成する手段とから構成されたことを特徴
とするフィル符号符号化回路。
[Scope of Claims] 1. In a fill code encoding circuit that converts a human run-length code into a fill code composed of an address code and a main code,
a counting means for counting a number obtained by subtracting 1 from the number of concatenations of t Opp; means for generating a control signal corresponding to the code length of the address code and the reminder code based on the output of the counting means; and the control signal. means for generating a first control signal group consisting of the same number of control signals as the code length of the address code and a second control signal group consisting of the same number of ff51# signals as the code length of the reminder code in response to the address code; , address code creation means for creating the address code in response to each control signal of the first control signal group; and means for creating the reminder code in response to each control signal of the second control signal group. A fill code encoding circuit comprising:
JP7342277A 1977-06-20 1977-06-20 Weyl code encoding circuit Expired JPS5829917B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7342277A JPS5829917B2 (en) 1977-06-20 1977-06-20 Weyl code encoding circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7342277A JPS5829917B2 (en) 1977-06-20 1977-06-20 Weyl code encoding circuit

Publications (2)

Publication Number Publication Date
JPS547225A JPS547225A (en) 1979-01-19
JPS5829917B2 true JPS5829917B2 (en) 1983-06-25

Family

ID=13517762

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7342277A Expired JPS5829917B2 (en) 1977-06-20 1977-06-20 Weyl code encoding circuit

Country Status (1)

Country Link
JP (1) JPS5829917B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04199981A (en) * 1990-11-29 1992-07-21 Nec Corp Prompt processing type one-dimensional coder

Also Published As

Publication number Publication date
JPS547225A (en) 1979-01-19

Similar Documents

Publication Publication Date Title
SU1148572A3 (en) Device for converting binary code to magnetic medium code
US4115768A (en) Sequential encoding and decoding of variable word length, fixed rate data codes
US3717851A (en) Processing of compacted data
US3995264A (en) Apparatus for encoding and decoding binary data in a modified zero modulation data code
US4101934A (en) Coding system
US4706299A (en) Frequency encoded logic devices
JPH0479421A (en) Variable length encoder and decoder
US3526855A (en) Pulse code modulation and differential pulse code modulation encoders
US3653035A (en) Chord law companding pulse code modulation coders and decoders
US3594765A (en) Time division multiplex analog-digital or digital-analog converter
JPS5829917B2 (en) Weyl code encoding circuit
US4499498A (en) Run length decoding apparatus
US4139840A (en) Ladderless D/A converter
US3170062A (en) Computer
RU2168857C1 (en) Method and device for compressing sequence of ordered m-th alphabet characters being coded into coded sequence of binary characters
RU2176129C1 (en) Method and device for compressing infinite- alphabet character string being coded to form binary coded character string
US3678459A (en) Optical crossbar switching device
JP2713298B2 (en) Color image signal decoding device
JPS5927504B2 (en) decoding circuit
JPS61179675A (en) Method and apparatus for coding color picture signal
JPS61274425A (en) Digital compressing curcuit
EP0499225A2 (en) Variable-length code decoding device
KR860001344B1 (en) Digital Data Code Conversion Circuit for Variable-Word-Length Data Codes
US3649823A (en) Digital translator
US3478350A (en) Frequency code concept alphabet synthesizing