JPS5945756A - Line buffer device - Google Patents

Line buffer device

Info

Publication number
JPS5945756A
JPS5945756A JP15617982A JP15617982A JPS5945756A JP S5945756 A JPS5945756 A JP S5945756A JP 15617982 A JP15617982 A JP 15617982A JP 15617982 A JP15617982 A JP 15617982A JP S5945756 A JPS5945756 A JP S5945756A
Authority
JP
Japan
Prior art keywords
line
signal
ram
address
buffer
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.)
Pending
Application number
JP15617982A
Other languages
Japanese (ja)
Inventor
Nobukiyo Sakai
阪井 宣清
Noritoku Ooshima
大島 昇徳
Motoyoshi Nagai
元芳 永井
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.)
Panasonic System Solutions Japan Co Ltd
Original Assignee
Matsushita Graphic Communication Systems Inc
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 Matsushita Graphic Communication Systems Inc filed Critical Matsushita Graphic Communication Systems Inc
Priority to JP15617982A priority Critical patent/JPS5945756A/en
Publication of JPS5945756A publication Critical patent/JPS5945756A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Input (AREA)
  • Storing Facsimile Image Data (AREA)

Abstract

PURPOSE:To form a line buffer having >=2 kinds of constitution, by changing the rule of generation of an address generating circuit to an RAM so as to use efficiently a prescribed memory space. CONSTITUTION:An input data 14 is written in the RAM1 accessed with the address generating circuit 20 in an access control circuit 31 via function circuits 8-10 shown in the figure, and outputted via function circuits 4, 5. The write mode and the readout mode are switched in time division in the RAM1, and the RAM1 is used as a line buffer for the input data 14 from a facsimile device or the like. The address generating circuit 20 receives a buffer constituting designation signal 21 and gives an address based on the signal from counters 2, 36, 7 with the designated rule to the RAM1. Thus, the RAM1 functions as the line buffer applicable to each mode of a facsimile where the variable speed transfer of white and black binary value and the constant speed transfer of intermediate tone.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、画情報等の緩衝記憶のために用いるラインバ
ッファ装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a line buffer device used for buffer storage of image information and the like.

従来例の構成とその問題点 例えばンアクシミ1.1装置においては、読取部。Conventional configuration and its problems For example, in the N-Axismi 1.1 device, the reading section.

復号化部と記録部、符号化部との間等にラインパツアア
を介在させ、画情報の速度変換等を行う必要がある。
It is necessary to interpose a line path between the decoding section, the recording section, and the encoding section to perform speed conversion of image information.

このようなラインバッファは、単一モードの場合は、1
ライン当りの容量とライン数のいずれも固定でき、ライ
ンバッファの実現に格別の支障はなかった。しかし最近
、画情報の転送形式として、白黒2値の可変速転送(符
号化/復号化等の処理を伴うディジタル伝送)と、中間
調の定速転送(アナログ伝送等)とが混在するファクシ
ミリ装置が出現し、ラインバッファのコストが嵩むとい
う問題が生じている。
Such a line buffer is 1 for single mode.
Both the capacity per line and the number of lines could be fixed, and there were no particular problems in realizing the line buffer. Recently, however, facsimile machines have adopted a mix of black and white binary variable speed transfer (digital transmission with processing such as encoding/decoding) and halftone constant speed transfer (analog transmission, etc.) as image information transfer formats. has appeared, causing the problem of increasing line buffer costs.

この問題について、画像サイズを34判、画像走置密度
を8ドツト/wLlとして説明する。
This problem will be explained assuming that the image size is 34 and the image scanning density is 8 dots/wLl.

白黒2値の可変速転送の場合、ラインバッファの1ライ
ン当りの容量は2048ビツトであるが、可変速なので
、読取りムラや記憶ムラに対処するために、ライン数を
多くとる必要があり、例えば8本必衆である。一方、中
間調の定速転送の場合は、定速であるからラインバッフ
ァのライン数は最低2本で足りるが、中間調であるから
1ライン当りの容量は大きくなる。例えば16階調とす
ると、画情報は1ドツトを4ビツトで表現するので、ラ
インバッファは1本当り8192ビットの容量が必要で
ある。
In the case of black and white binary variable speed transfer, the capacity per line of the line buffer is 2048 bits, but since it is variable speed, it is necessary to have a large number of lines in order to deal with reading unevenness and storage unevenness. Eight copies are a must. On the other hand, in the case of constant speed transfer of halftones, the number of lines in the line buffer is at least two because the speed is constant, but since the transfer is halftones, the capacity per line becomes large. For example, in the case of 16 gradations, one dot of image information is expressed by 4 bits, so each line buffer requires a capacity of 8192 bits.

このように、ラインバッフ7の構成は、一方では小容量
多本数、他方では大容量少本数が要求される。このよう
な場合、従来は、1ライン当りの容量を中間調の定速転
送に合せて決め、ライン数を白黒2値の可変速転送に合
せている。したがって、ラインバッファの総容量は、必
要とされる最大のライン容量と最大のライン数の積で決
まり、その実現コストが著しく上昇するという問題があ
った。
As described above, the line buffer 7 is required to have a large number of small capacitances on the one hand, and a small number of large capacitances on the other hand. In such a case, conventionally, the capacity per line is determined according to the constant speed transfer of halftones, and the number of lines is determined according to the variable speed transfer of black and white binary. Therefore, the total capacity of the line buffer is determined by the product of the maximum required line capacity and the maximum number of lines, and there is a problem in that the cost of realizing this increases significantly.

発明の目的 本発明の目的は、前述したような問題を解決するために
、ランダムアクセスメモリ(以下、RAMと略記する〕
の一定のメモリ空間を効率良く使用し、2挿以上の異な
る構成のラインバッファを低コストで実現するラインバ
ッファ装置を提供することにある。
OBJECT OF THE INVENTION An object of the present invention is to solve the above-mentioned problems by using a random access memory (hereinafter abbreviated as RAM).
An object of the present invention is to provide a line buffer device that efficiently uses a certain memory space and realizes line buffers with two or more different configurations at low cost.

発明の構成 本発明のラインバッファ装置は、RAMと、このRAM
を、その動作モードを入力モードと出力モードに時分割
で切り換えてアクセスするアクセス制御回路とを具備す
る。このアクセス制御回路は、RAMアドレス信号を生
成し、それを前記RAMに供給するアドレス生成回路を
有するが、実現しょう′とするラインバッファの構成に
応じ、このアドレス生成回路における前記RAMアドレ
ス信号の生成規則を切り変えることにより、前記RAM
のメモリ空間の分割を切9換える。このようにして分割
した各メモリ空間が、ラインバッファの1ラインに割り
当てられる。
Structure of the Invention The line buffer device of the present invention includes a RAM and a
, and an access control circuit that switches its operation mode between an input mode and an output mode in a time-division manner. This access control circuit has an address generation circuit that generates a RAM address signal and supplies it to the RAM, but the generation of the RAM address signal in this address generation circuit depends on the configuration of the line buffer to be realized. By switching the rules, the RAM
9. Switch the division of the memory space. Each memory space divided in this way is allocated to one line of the line buffer.

実施例の説明 以下、本発明を一実施例について詳細に説明する0 第1図は、本発明の一実施例を示すブロック図である。Description of examples Hereinafter, the present invention will be described in detail with reference to one embodiment. FIG. 1 is a block diagram showing one embodiment of the present invention.

本実施例のラインバッファ装置は、RAM1と、アクセ
ス制御回路31とに大きく分けることができる。アクセ
ス制御回路31は、RAM1の動作モードを入力(書込
み)モードと出力(読出し)モードとに時分割で切り換
えながら、RAM1をアクセスするもので、入力モード
対応部、出力モード対応部、および両モード共通部から
構成される0 出力モード対応部は、ラインセレクトカウンタ2とライ
ンアドレスカウンタ3(いずれも2進カウンタである)
、出力データバッファ4、および並列/直列変換器5か
ら成る。出力データバッファ4は、例えば8ビツトのレ
ジスタあるいはランチから構成される。また、並列/直
列変換器6は、例えば並列入力、直列出力の8ビツトの
シフトレジスタである。
The line buffer device of this embodiment can be broadly divided into a RAM 1 and an access control circuit 31. The access control circuit 31 accesses the RAM 1 while switching the operation mode of the RAM 1 between an input (write) mode and an output (read) mode in a time-division manner. The 0 output mode compatible unit consisting of common parts is a line select counter 2 and a line address counter 3 (both are binary counters).
, an output data buffer 4, and a parallel/serial converter 5. The output data buffer 4 is composed of, for example, an 8-bit register or launch. The parallel/serial converter 6 is, for example, an 8-bit shift register with parallel input and serial output.

入力モード対応部は、ラインセレクトカウンタ6とライ
ンアドレスカウンタ7(いずれも2進カウンタである)
、直列/並列変換器8、入力データバソ7ア9、および
バスドライバ1oからなる。
The input mode compatible section includes a line select counter 6 and a line address counter 7 (both are binary counters).
, a serial/parallel converter 8, an input data bus 7a 9, and a bus driver 1o.

直列/並列変換器8は、例えば直列入力、並列出力の8
ビツトのシフトレジスタである。入力デークバッファ9
は8ビツトのレジスタあるいはラッチである。寸だ、バ
スドライバ10は3ステートのドライバであり、イネー
ブル状態では、入力データバノファ10の内容をRAM
1の双方向データバス3oに乗せるが、ディセーブル状
態では、その出力をフローティング状態にしてデータバ
ス3oを解放する。
For example, the serial/parallel converter 8 has a serial input and a parallel output.
This is a bit shift register. Input data buffer 9
is an 8-bit register or latch. The bus driver 10 is a three-state driver, and in the enabled state, the contents of the input data vanifer 10 are transferred to the RAM.
1 bidirectional data bus 3o, but in the disabled state, its output is set to a floating state to release the data bus 3o.

アクセス制御回路31内の前記両モード共通部は、2つ
のセレクタ18,19.およびアドレス生成回路20と
から構成される。セレクタ18は、ラインセレクトカウ
ンタ2,6の一力の出カイ言号を選択し、ラインセレク
ト信号27としてアドレス生成回路20へ送る。もう一
方のセレクタ19は、ラインアドレスカウンタ3,7の
一方の出力信号を選択し、ラインアドレス信号28とし
てアドレス生成回路2oに供給する。アドレス生成回路
2oは、バッファ構成指定信号21で指定される生成規
則に従ってラインセレクト信号27とラインアドレス信
号28を組み合せ、RAMアドレス信号29を生成する
。この生成規則の切り換えにより、RAM1のメモリ空
間の分割の仕方を切り換える。分割された各メモリ空間
は、それぞれラインバッファの1ラインとして割り当て
られるから、上記のバッファ構成指定信号21によって
、構成(1ライン当りの容量、およびライン数)の異な
る複数種類のラインバッファをRA M 1上に実現で
きる。
The common part for both modes in the access control circuit 31 includes two selectors 18, 19 . and an address generation circuit 20. The selector 18 selects one output word from the line select counters 2 and 6 and sends it to the address generation circuit 20 as a line select signal 27. The other selector 19 selects the output signal of one of the line address counters 3 and 7 and supplies it as a line address signal 28 to the address generation circuit 2o. The address generation circuit 2o combines the line select signal 27 and the line address signal 28 according to the generation rule specified by the buffer configuration designation signal 21, and generates the RAM address signal 29. By switching this generation rule, the method of dividing the memory space of the RAM 1 is switched. Each divided memory space is allocated as one line of the line buffer, so the buffer configuration designation signal 21 allows multiple types of line buffers with different configurations (capacity per line and number of lines) to be allocated to RAM. It can be achieved on the level of 1.

本実施例では、前述した白黒2値の可変速転送と、中間
調(16階調)の定速転送の混在するファクシミリ装置
に適用することを想定している(これは、あく捷で一例
としてである)。RAM1のサイズは、8ビツト/ワー
ドX2048ワード(16384ビツト)である。この
RA M 1の一定の連続したメモリ空間を、256ワ
ード(2048ビツト)単位に8分割し、白黒2値可変
転送用のラインバッファ(ライン数は8,1ライン当り
容量は2o48ビツト)として用いる。あるいは、RA
M1のメモリ空間を1024ワード(8192ピント)
単位に2分割し、中間調定速転送用のラインバッファ(
ライン数は2.1ライン当り容量は8192ビツト)を
実現する。
In this example, it is assumed that it is applied to a facsimile machine that mixes the above-mentioned black and white binary variable speed transfer and halftone (16 gradation) constant speed transfer. ). The size of RAM1 is 8 bits/word x 2048 words (16384 bits). This fixed continuous memory space of RAM 1 is divided into 8 units of 256 words (2048 bits) and used as a line buffer (number of lines is 8, capacity per line is 2048 bits) for variable transfer of black and white binary values. . Or, R.A.
M1 memory space is 1024 words (8192 pintos)
It is divided into two units, and a line buffer (
The number of lines is 2. The capacity per line is 8192 bits).

なお、RAM1に対するデータ(画情報)の入出力は1
ワ一ド単位で行われ、そのアドレスはRAMアドレス信
号29によって指定される0また、RAM1の動作モー
ドは、入力モード信号17が“1″の時に入力モードと
なり @ OI+の時に出力モードとなる。
Note that the input/output of data (image information) to RAM1 is 1.
The operation mode of the RAM 1 is input mode when the input mode signal 17 is "1", and output mode when @OI+.

以上の説明で触れなかった各種制御信号11〜17は、
図示しない外部回路より供給されるが、その詳細は後述
する。また、14は入力データで直列信号、26は出力
データで、直列信号である。
Various control signals 11 to 17 not mentioned in the above explanation are as follows:
It is supplied from an external circuit (not shown), the details of which will be described later. Further, 14 is input data, which is a serial signal, and 26 is output data, which is a serial signal.

本実施例のラインバッファ装置を、ファクシミリ装置の
読取部と1次元符号化部の間で用いる時は、読取部の出
力データを入力データ14として入力し、出力データ2
6を1次元符号化部へ入力する。
When the line buffer device of this embodiment is used between the reading section and the one-dimensional encoding section of a facsimile machine, the output data of the reading section is input as input data 14, and the output data 2
6 is input to the one-dimensional encoding section.

また、1次元後号化部と記録部の間に用いる場合であれ
ば、入力データ14として1次元後号化部の出力データ
を割り当て、出力データ26を記録部の入力データとす
る。
Further, when used between a one-dimensional post-encoding unit and a recording unit, output data of the one-dimensional post-encoding unit is assigned as input data 14, and output data 26 is used as input data of the recording unit.

なお、前記アクセス制御回路31の出力モード対応部と
同様の回路をもう1組追加し、それを参照モード用に割
り当てれば、同様の構成で2次元遂次符号化/復号化に
対応できる。
Note that by adding another set of circuits similar to the output mode compatible section of the access control circuit 31 and assigning it to the reference mode, it is possible to support two-dimensional sequential encoding/decoding with the same configuration.

以後、本実施例のラインバッファ装置の動作を詳細に説
明するが、理解を容易にするために、第1図中の主要信
号の波形図を第2図に示す。
Hereinafter, the operation of the line buffer device of this embodiment will be explained in detail. For ease of understanding, a waveform diagram of the main signals in FIG. 1 is shown in FIG. 2.

初期状態は、クリア信号11,12.13によってライ
ンセレクトカウンタ2,6.およびラインアドレスカウ
ンタ3,7がクリアされ、その値は0(ゼロ)になって
いる。
In the initial state, line select counters 2, 6, . And line address counters 3 and 7 are cleared, and their values are 0 (zero).

まず入力モードの動作を説明すると、入力データ14は
ビット直列に外部(例えばファクシミリ装置の読取部)
から送られてくる。この入力データ14は入力クロック
15のタイミングで直列/並列変換器8に順次取り込捷
れ、8ビツトのワードに組み立てられる。8ビツトの入
力データの組立てが完成すると、入力データラノチ信号
16が発生し、その入力データは並列に入力データバソ
ファ9にラッチされる。
First, to explain the operation in the input mode, the input data 14 is bit-serially transmitted to an external device (for example, a reading section of a facsimile machine).
It is sent from. This input data 14 is sequentially taken into the serial/parallel converter 8 at the timing of the input clock 15 and assembled into 8-bit words. When the assembly of 8-bit input data is completed, an input data lanch signal 16 is generated, and the input data is latched into the input data buffer 9 in parallel.

ついで、入力モード信号17がオンしく″1″状態に立
ち上がる1)、バスドライバ10がイネーブル状態(動
作状態)になり、入力データガソファ9内の入力データ
(8ビツト)ヲテータバス30に乗せる。入力イネーブ
ル信号17はセレクタ18.19にも与えられてお・す
、セレクタ18と19は入力モード対応部のラインセレ
クトカウンタ6とラインアドレスカウンタ7の出力信号
をそれぞれ選択し、ラインセレクト信号27とラインア
ドレス信号28としてアドレス生成回路20へ送る。本
実施例では、ラインセレク]・信号27は3ビツトの2
進コード、ラインアドレス信号28は10ビツトの2進
コードである。
Then, the input mode signal 17 turns on and rises to the "1" state (1), the bus driver 10 becomes enabled (operating state), and the input data (8 bits) in the input data gas sofa 9 is transferred to the data bus 30. The input enable signal 17 is also applied to selectors 18 and 19. The selectors 18 and 19 select the output signals of the line select counter 6 and line address counter 7 of the input mode corresponding section, respectively, and output the line select signals 27 and 19 respectively. It is sent to the address generation circuit 20 as a line address signal 28. In this embodiment, the line select signal 27 is a 3-bit 2
The line address signal 28 is a 10-bit binary code.

今、バッファ構成指定信号21がll OI+状態であ
るとすると、アドレス生成回路2oは、ラインセレクト
信号2γとラインアドレス信号28を第3図(b)に示
すような生成規則によって組み合せ、11ビツトのRA
Mアドレス信号29を生成する。第4図(a)に示すR
AM1のメモリ空間32を同図(b)に示すように8等
分し、2048ビツト/ライン、ライン数8の構成のラ
インバッファを実現する場合である。なお、第3図のL
SBは、ラインセレクト信号2了、ラインアドレス信号
28、RAMアドレス信号29の最下位ビットをそれぞ
れ示す。
Now, assuming that the buffer configuration designation signal 21 is in the llOI+ state, the address generation circuit 2o combines the line select signal 2γ and the line address signal 28 according to the generation rule shown in FIG. 3(b), and generates an 11-bit signal. R.A.
M address signal 29 is generated. R shown in Figure 4(a)
This is a case in which the memory space 32 of AM1 is divided into eight equal parts as shown in FIG. 2(b) to realize a line buffer having a configuration of 2048 bits/line and 8 lines. In addition, L in Figure 3
SB indicates the least significant bit of the line select signal 2, line address signal 28, and RAM address signal 29, respectively.

入力モード信号17のオンによりRA M 1は入力モ
ードとなっているので、データバス30」二の入力デー
タがRAMアドレス信号29の指定するアドレスに書き
込まれる。現時点では、RAM1の0(ゼロ)番地に書
き込まれる。
Since the RAM 1 is in the input mode due to the input mode signal 17 being turned on, the input data on the data bus 30'2 is written to the address specified by the RAM address signal 29. At present, it is written to address 0 (zero) of RAM1.

書込みを終了すると入力モード信号17がオフし、その
立ち下がりでラインアドレスカウンタ7が1だけカウン
トアンプする(第2図の時刻t、、B次の入力データが
直列/並列変換器8で組み立てられ、入力データバッフ
ァ9にラッチされると、入力モード信号17が再びオン
し、前述と同様にしてRA M 1に書き適寸れる。こ
の時の書込みアドレスは1番地である(第2図の時刻t
2)。
When writing is completed, the input mode signal 17 turns off, and at the falling edge of the signal, the line address counter 7 counts and amplifies by 1 (at time t in FIG. 2, the next input data is assembled by the serial/parallel converter 8. , is latched in the input data buffer 9, the input mode signal 17 is turned on again, and the appropriate size is written to RAM 1 in the same manner as described above.The write address at this time is address 1 (the time shown in FIG. 2). t
2).

このようにして1ライン分の入力データがRAM1に書
き込まれると、クリア信号13でラインアドレスカウン
タ7がクリアされ、同時にインクリメント信号22が発
生してラインセレクトカウンタ6を1だけインクリメン
トさせる(第2図の時刻t3)。
When one line of input data is written to the RAM 1 in this way, the line address counter 7 is cleared by the clear signal 13, and at the same time, the increment signal 22 is generated to increment the line select counter 6 by 1 (see Figure 2). time t3).

その後は、入力モード信号17がオンするたびK、RA
M1の266番地、つまり第2ラインの先頭位置から順
次上位のアドレスに入力データが書き適寸れてゆく。そ
の1ライン分の入力データの書込みを終了すると、ライ
ンセレクトカウンタ6が1だけインクリメントされ、寸
だラインアドレスカウンタ7がクリアされる。ラインセ
レクトカウンタ6は値が(111)2に達すると、次の
インクリメント信号22で(Ooo)2に戻り、再びカ
ウントを開始する。
After that, each time the input mode signal 17 is turned on, K, RA
Input data is written to address 266 of M1, that is, to sequentially higher addresses from the head position of the second line, and is sized to an appropriate size. When writing of the input data for one line is completed, the line select counter 6 is incremented by 1, and the line address counter 7 is immediately cleared. When the value of the line select counter 6 reaches (111)2, it returns to (Ooo)2 with the next increment signal 22 and starts counting again.

上の説明から明らかなように、ラインセレクト信号27
は、−RAMI上に実現されるラインバッファの中の特
定の1ラインを指定するだめの信号である。一方、ライ
ンアドレス信号28は、ラインバッファの任意のライン
上における特定の記憶位置(桁位@)を指定するだめの
信号である。
As is clear from the above description, the line select signal 27
is a signal for specifying one specific line in the line buffer implemented on -RAMI. On the other hand, the line address signal 28 is a signal for specifying a specific storage position (digit position @) on an arbitrary line of the line buffer.

以−1−は第4図(b)に示すようなラインバッファ構
成の場合であるが、バッファ構成指定信号21がa1″
状態の場合は、RAM1のメモリ空間32は1o24ワ
一ド単位に2等分され、第4図(C)に示すようにライ
ン数2.1ライン当り容量8192ビツトの構成の2イ
ンバツフアがRAM1上に実現される。そのために、ア
ドレス生成回路20のRAMアドレス信号の生成規則は
、第3図(a)に示すように変更になる。すなわち、R
AMアドレン信号29の最上位ビットにラインセレクト
信号27の最下位ビットを、それ以下の10ビツトにラ
インアドレス信号28をそれぞれ割り当てる。また、ラ
インセレクトカウンタ6は、値が(00o)2.(o○
1)2とインクリメントし、その次は、(olo)2に
なるが第3図(−)に示す様にLSBLか意味がないだ
め(××o)2となる。(但し×はDon′t Car
e )これ以外は、前述と同様である。
The following -1- is a case of a line buffer configuration as shown in FIG. 4(b), where the buffer configuration designation signal 21 is a1''
In this case, the memory space 32 of RAM1 is divided into two equal parts of 1024 words, and as shown in FIG. will be realized. Therefore, the rules for generating the RAM address signal of the address generation circuit 20 are changed as shown in FIG. 3(a). That is, R
The least significant bit of the line select signal 27 is assigned to the most significant bit of the AM address signal 29, and the line address signal 28 is assigned to the following 10 bits. Also, the line select counter 6 has a value of (00o)2. (o○
1) It is incremented by 2, and then it becomes (olo) 2, but as shown in FIG. 3 (-), it becomes LSBL or meaningless (xxo) 2. (However, × means Don't Car.
e) The rest is the same as above.

次に、出力モードの動作について説明する。便宜上、第
4図(b)に示すラインバッファ構成がバッファ構成指
定信号21で指定されているとずる0 出力すべきラインのデータ入力が終了しており、出力デ
ータバノファ4が空であると、出力モード信号23がオ
ンする。RAM1は入力モードと出力モードに時分割に
切り換えてアクセスするので、出力モード信号23と入
力モード信号17は排他的に制御されており、当然、現
時点では入力モード信号1′7はオフ状態であり、RA
M1の動作モードは出力モードとなっている。
Next, the operation in the output mode will be explained. For convenience, if the line buffer configuration shown in FIG. 4(b) is specified by the buffer configuration designation signal 21, the output will be zero. Mode signal 23 is turned on. Since the RAM 1 is accessed by switching between the input mode and the output mode in a time-sharing manner, the output mode signal 23 and the input mode signal 17 are exclusively controlled, and of course the input mode signal 1'7 is in the off state at the moment. , R.A.
The operation mode of M1 is output mode.

出力モード信号23のオンで、セレクタ18と19は出
力モード用のラインセレクトカウンタ2とラインアドレ
スカウンタ3の出力信号を選択し、アドレス生成回路2
0へ送る。RAMアドレス信号29(第3図(b)に示
す生成規則により生成される)で指定されるR A M
 1のアドレスの記憶データ(8ビツト)がデータバス
3oに出力され、出力モード信号23がオフすると、そ
の立ち下がりで出力データバソンア4にラッチされる。
When the output mode signal 23 is turned on, the selectors 18 and 19 select the output signals of the line select counter 2 and the line address counter 3 for the output mode, and the address generation circuit 2
Send to 0. RAM specified by the RAM address signal 29 (generated according to the generation rule shown in FIG. 3(b))
The stored data (8 bits) at address 1 is output to the data bus 3o, and when the output mode signal 23 turns off, it is latched into the output data bus 4 at the falling edge of the output mode signal 23.

同時に、ラインアドレスカウンタ3が1だけインクリメ
ントされる(第2図の時刻t4)。
At the same time, the line address counter 3 is incremented by 1 (time t4 in FIG. 2).

その後、並列/直列変換器5が空であることを条件にロ
ード信号24が発生し、出力データバソファ4にランチ
されているデータが並列/直列変換器6にロードされ、
出力クロノク信号25のタイミングでビット直列に出力
データ26として外部へ送出される。
Thereafter, on condition that the parallel/serial converter 5 is empty, a load signal 24 is generated, and the data launched in the output data buffer sofa 4 is loaded into the parallel/serial converter 6.
At the timing of the output clock signal 25, the bits are sent out in series as output data 26 to the outside.

同様にして、1ラインの出力が終了すど、インクリメン
ト信号32が発生し、ラインセレクトカウンタ2はまた
けインクリメントされ(値が(111)2であれば、(
00o)2にクリアする)、またクリア信号12により
ラインアドレスカウンタ3はクリアされる(第2図の時
刻15)。
Similarly, when the output of one line is completed, the increment signal 32 is generated, and the line select counter 2 is incremented (if the value is (111)2, then (
00o)2), and the line address counter 3 is cleared by the clear signal 12 (time 15 in FIG. 2).

第4図(C)に示すバッファ構成が指定された場合は、
RAMアドレス信号29が第3図(a’)に示すような
生成規則で生成されること、およびラインセレクトカウ
ンタ2の値が(001)2になった後は、(olo)2
となるが、第3図(a)に示すようにLSBしか意味が
ないため(××o)2となる。(但し×はDon’t 
Care )以外は、前述と同様の動作によってデータ
出力が行われる。
If the buffer configuration shown in Figure 4(C) is specified,
The RAM address signal 29 is generated according to the generation rule shown in FIG. 3(a'), and after the value of the line select counter 2 reaches (001)2,
However, as shown in FIG. 3(a), only the LSB is significant, so it becomes (XXo)2. (However, × is Don't
Data output is performed by the same operations as described above except for (Care).

このように、本実施例によれば、RAM1の一定のメモ
リ空間を利用して、第4図(b)と(c)に示すいずれ
の構成のラインバッファも実現できる。従来技術で同じ
目的を達成するためには、8192ビットX8:656
36ビソトものメモリ空間を必要とすることを考えると
、ラインバッファを実現するためのメモリ空間の削減効
果は顕著である。
In this way, according to this embodiment, by using a certain memory space in the RAM 1, line buffers having either of the configurations shown in FIGS. 4(b) and 4(c) can be realized. To achieve the same purpose with the prior art, 8192 bits x 8:656
Considering that 36 bits of memory space is required, the effect of reducing the memory space to realize the line buffer is remarkable.

なお、前記アドレス生成回路2oは、布線論理P L 
A (Programmable Logic Arr
ay )  等、公知の手段により容易に実現できるの
で、その具体的な回路例の呈示は省略する。
Note that the address generation circuit 2o has a wiring logic P L
A (Programmable Logic Arr.
Since it can be easily realized by known means such as ay), a specific circuit example thereof will be omitted.

一実施例について説明しだが、本発明はその構成だけに
限定されるものではなく、種々の変形した実施態様が許
されるものである。まだ本発明のラインバッファ装置は
、ファクシミリ装置以外の画像処理装置、その他の装置
においても同様に適用できるものである。
Although one embodiment has been described, the present invention is not limited to this configuration, and various modified embodiments are possible. The line buffer device of the present invention can be similarly applied to image processing devices and other devices other than facsimile devices.

発明の効果 以上に説明したように、本発明によれば、RAMのメモ
リ空間を効率良く使用して、ライン数および1ライン当
9容量の異なる異構成のラインバッファを最小のメモリ
空間上に実現できる。したがって、本発明は、白黒2値
の可変速転送と中間調の定速転送の混在するファクシミ
リ装置等に適用すれば、画情報等の緩衝記憶のだめのメ
モリ空間を削減し、装置コストを引き下げることができ
る等、その効果は極めて大きい。
Effects of the Invention As explained above, according to the present invention, the RAM memory space is efficiently used to realize line buffers with different configurations with different numbers of lines and 9 capacities per line in the smallest memory space. can. Therefore, if the present invention is applied to a facsimile machine or the like that uses both black and white binary variable speed transfer and halftone constant speed transfer, it is possible to reduce the memory space for buffer storage of image information, etc., and reduce the device cost. The effect is extremely large.

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図中の主要信号の波形図、第3図は第1図中のアド
レス生成回路におけるRAMアドレス信号の生成規則の
説明図、第4図は第1図中のRAMのメモリ空間の分割
の様子を示す図である0 1・・・・・・ランダムアクセスメモリ(RAM)、2
゜6・・・・・・ラインセレクトカウンタ、3.了・・
・・・・ラインアドレスカウンタ、4・・・・・・出力
データバノファ、9・・・・・・入カデータバソファ、
1o・・・・・・バスドライバ、18.19・・・・・
・セレクタ、2o・・・・・・アドレス生成回路、27
・・・・・・ラインセレクト信号、28・・・・・・ラ
インアドレス信号、29・・・・・・RAMアドレス信
号、30・・・・・・データバス。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a waveform diagram of the main signals in FIG. An explanatory diagram, FIG. 4 is a diagram showing how the memory space of the RAM in FIG. 1 is divided.0 1...Random access memory (RAM), 2
゜6...Line selection counter, 3. Finished...
...Line address counter, 4...Output data buffer, 9...Input data buffer,
1o...Bus driver, 18.19...
・Selector, 2o...Address generation circuit, 27
...Line select signal, 28...Line address signal, 29...RAM address signal, 30...Data bus.

Claims (2)

【特許請求の範囲】[Claims] (1)  ライン数および1ライン当りの容量が可変の
ラインバッファを一定のメモリ空間上に実現するライン
バッファ装置であって、前記メモリ空間を提供するラン
ダムアクセスメモリ(RAM)と、このRAMを、同R
AMの動作モードを入力モードと出力モードとに時分割
で切シ換えてアクセスするアクセス制御回路とを具備し
、このアクセス制御回路は前記RAMに対するアドレス
信号(RAMアドレス信号)を生成するアドレス生成回
路を有し、このアドレス生成回路における前記RAMア
ドレス信号の生成規則を切り換えることにより、前記メ
モリ空間の分割を切り換え、その分割した個々のメモリ
空間を前記ラインバッファの1ラインに割り当てるよう
にして成るラインバッファ装置。
(1) A line buffer device that realizes a line buffer with a variable number of lines and a capacity per line in a fixed memory space, which comprises a random access memory (RAM) that provides the memory space, and this RAM. Same R
The access control circuit includes an access control circuit that switches and accesses the operation mode of the AM between an input mode and an output mode in a time division manner, and the access control circuit includes an address generation circuit that generates an address signal (RAM address signal) for the RAM. and which switches the division of the memory space by switching the generation rule of the RAM address signal in the address generation circuit, and allocates each divided memory space to one line of the line buffer. buffer device.
(2)前記アクセス制御回路は、前記ラインバッファの
特定のラインを指定するだめのラインセレクト信号と、
そのライン上の記憶位置を指定するだめのラインアドレ
ス信号とを発生するカウンタを、前記の入力モード用と
出力モード用とに別々に備え、前記RAMの動作モード
に対応させて前記カウンタの中の一方で発生する前記ラ
インセレクト信号と前記ラインアドレス信号とをセレク
タによって選択して前記アドレス生成回路に入力し、こ
のアドレス生成回路は入力された前記ラインセレクト信
号と前記ラインアドレス信号とを前記生成規則に従って
組み合わせることにより前記RAMアドレス信号を生成
するようにして成る特許請求の範囲第1項記載のライン
バッファ装置。
(2) The access control circuit sends a line select signal for specifying a specific line of the line buffer;
A counter for generating a line address signal for specifying a storage location on the line is provided separately for the input mode and for the output mode, and a counter for generating a line address signal for specifying a storage location on the line is provided separately, and a The line select signal and the line address signal generated on the other hand are selected by a selector and inputted to the address generation circuit, and this address generation circuit converts the inputted line select signal and line address signal into the generation rule. 2. The line buffer device according to claim 1, wherein said RAM address signal is generated by combining the following.
JP15617982A 1982-09-08 1982-09-08 Line buffer device Pending JPS5945756A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15617982A JPS5945756A (en) 1982-09-08 1982-09-08 Line buffer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15617982A JPS5945756A (en) 1982-09-08 1982-09-08 Line buffer device

Publications (1)

Publication Number Publication Date
JPS5945756A true JPS5945756A (en) 1984-03-14

Family

ID=15622077

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15617982A Pending JPS5945756A (en) 1982-09-08 1982-09-08 Line buffer device

Country Status (1)

Country Link
JP (1) JPS5945756A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6246379A (en) * 1985-08-23 1987-02-28 Hitachi Ltd Line buffer variable in bit constitution
JPH03223973A (en) * 1990-01-29 1991-10-02 Fujitsu Ltd Image processor
WO2009078544A1 (en) * 2007-12-17 2009-06-25 Electronics And Telecommunications Research Institute Binary value input/output processing apparatus and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6246379A (en) * 1985-08-23 1987-02-28 Hitachi Ltd Line buffer variable in bit constitution
JPH03223973A (en) * 1990-01-29 1991-10-02 Fujitsu Ltd Image processor
WO2009078544A1 (en) * 2007-12-17 2009-06-25 Electronics And Telecommunications Research Institute Binary value input/output processing apparatus and method
KR100909703B1 (en) 2007-12-17 2009-07-29 한국전자통신연구원 Binary value input / output processing device and method

Similar Documents

Publication Publication Date Title
RU2134447C1 (en) Data transfer device and video game using it
US4858107A (en) Computer device display system using conditionally asynchronous memory accessing by video display controller
US5497478A (en) Memory access system and method modifying a memory interleaving scheme so that data can be read in any sequence without inserting wait cycles
JPS60181942A (en) Memory control device
JP3166447B2 (en) Image processing apparatus and image processing method
EP1026600A2 (en) Method and apparatus for interfacing with RAM
US6031546A (en) Image processing apparatus and method
US5323488A (en) Memory access method and circuit in which access timing to a memory is divided into N periods to be accessed from N access request sources
JPS5945756A (en) Line buffer device
US5337409A (en) Parallel/serial data conversion system
US6311199B1 (en) Sign extension unit
US5499383A (en) DMA control device controlling sequential storage of data
JP3152157B2 (en) Facsimile apparatus having image data rotation function and image data rotation method of facsimile apparatus
JPH0721121A (en) Communication control lsi
JP3114577B2 (en) Color image transfer device
KR100469284B1 (en) Device for controling buffer bank of digital TV
JPS60168677A (en) Rule image generator
JPH064436A (en) Serial data transmitting circuit
JPH09147096A (en) System for storing pixel data into memory
GB2287808A (en) Addressing and accessing RAM and data buffering
JPH05289938A (en) Memory access device
JPH0363846A (en) Look-up table device
JPH09297732A (en) Serial i/o
JPS62182883A (en) Image processor
JPS636647A (en) Selecting circuit