JPH0722316B2 - Image information line buffer device - Google Patents
Image information line buffer deviceInfo
- Publication number
- JPH0722316B2 JPH0722316B2 JP57156180A JP15618082A JPH0722316B2 JP H0722316 B2 JPH0722316 B2 JP H0722316B2 JP 57156180 A JP57156180 A JP 57156180A JP 15618082 A JP15618082 A JP 15618082A JP H0722316 B2 JPH0722316 B2 JP H0722316B2
- Authority
- JP
- Japan
- Prior art keywords
- image information
- signal
- bus
- line
- line 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.)
- Expired - Lifetime
Links
- 239000000872 buffer Substances 0.000 title claims description 91
- 238000010586 diagram Methods 0.000 description 30
- 238000000034 method Methods 0.000 description 20
- 239000000203 mixture Substances 0.000 description 9
- 230000007704 transition Effects 0.000 description 9
- 230000002194 synthesizing effect Effects 0.000 description 7
- 239000002131 composite material Substances 0.000 description 6
- 238000006243 chemical reaction Methods 0.000 description 4
- 230000015572 biosynthetic process Effects 0.000 description 3
- 238000003786 synthesis reaction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000010485 coping Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/04—Scanning arrangements, i.e. arrangements for the displacement of active reading or reproducing elements relative to the original or reproducing medium, or vice versa
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Image Processing (AREA)
- Facsimile Scanning Arrangements (AREA)
- Storing Facsimile Image Data (AREA)
- Editing Of Facsimile Originals (AREA)
- Image Input (AREA)
Description
【発明の詳細な説明】 産業上の利用分野 本発明は、ファクシミリ装置等に用いる画情報ラインバ
ッファ装置に関する。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image information line buffer device used in a facsimile machine or the like.
従来の技術 従来のファクシミリ装置に用いられている画情報ライン
バッファ装置は、画情報の流れが読み取り部→符号器、
復号器→記録部というようにハードウェアで固定的に選
択されてしまっており、また、マイクロコンピュータ
(MPU)のバスとの間で画情報を直接入出力することは
できなかった。また従来の画情報ラインバッファ装置
は、ライン数および1ライン当り容量が固定していた。
更に、従来の画情報ラインバッファ装置は、文字発生器
とは切り離されていた。2. Description of the Related Art In the image information line buffer device used in a conventional facsimile apparatus, the flow of image information is read from the reading section to the encoder,
It has been fixedly selected by hardware such as decoder → recording unit, and it was not possible to directly input / output image information to / from the bus of a microcomputer (MPU). In the conventional image information line buffer device, the number of lines and the capacity per line are fixed.
Further, the conventional image information line buffer device is separated from the character generator.
発明が解決しようとする課題 このように、従来の画情報ラインバッファ装置の構成
は、画情報の入出力に関するフレキシビリティに乏し
く、今後のファクシミリ装置の画情報処理機能の多様
化、高度化に対応できない。また、文字画情報の合成に
ついてもフレキシビリティに乏しく、特定の入力画情報
もしくは出力画情報との合成のみに限られてしまう。更
に、前述のようにライン数と1ライン当り容量が固定し
ているため、可変速2値画情報用と定速階調画情報用と
に別々に画情報ラインバッファ装置を用意しなければな
らず、不経済である。As described above, the configuration of the conventional image information line buffer device lacks flexibility regarding input / output of image information, and is compatible with future diversification and sophistication of image information processing functions of facsimile devices. Can not. Further, the composition of the character image information is poor in flexibility, and is limited to only composition with specific input image information or output image information. Furthermore, since the number of lines and the capacity per line are fixed as described above, separate image information line buffer devices must be prepared for variable speed binary image information and constant speed gradation image information. It is uneconomical.
本発明は、上記従来の問題点を除去し、ファクシミリ装
置等の多様な画情報の入出力に関して柔軟に対応するこ
とが可能なラインバッファ装置を提供することを目的と
する。SUMMARY OF THE INVENTION It is an object of the present invention to eliminate the above-mentioned conventional problems and provide a line buffer device capable of flexibly coping with input / output of various image information such as a facsimile device.
課題を解決するための手段 本発明は、上記目的を達成するために、読取部、記録部
等に対する画情報の入出力を行なう入出力制御部と、総
容量が予め規定された画情報ラインバッファ用の記憶手
段と、この記憶手段に対するアドレス交換に関する制御
情報を保持する制御レジスタ部と、この制御レジスタ部
に保持された制御情報にしたがって前記記憶手段に転送
される画情報の1ライン当りの容量を設定するとともに
前記入出力制御部を介して転送される画情報の読み書き
を前記1ライン当りの容量を単位として実行するライン
バッファ制御手段とを具備し、前記制御レジスタ部に保
持された制御情報は外部マイクロコンピュータに接続さ
れるバスを介して可変設定可能としたことを特徴とする
ものである。Means for Solving the Problems In order to achieve the above object, the present invention provides an input / output control unit for inputting / outputting image information to / from a reading unit, a recording unit, and an image information line buffer whose total capacity is defined in advance. Storage means, a control register section for holding control information relating to address exchange for the storage means, and a capacity per line of image information transferred to the storage means in accordance with the control information held in the control register section. And a line buffer control unit for executing reading and writing of image information transferred through the input / output control unit in units of the capacity per line, and the control information held in the control register unit. Is variably settable through a bus connected to an external microcomputer.
作用 本発明は、上記構成により、総容量が予め規定された記
憶手段をファクシミリ装置等の、機種に合わせて外部マ
イクロコンピュータにより1ライン当りの容量の異なる
ラインバッファ装置として設定することができ、多様な
画情報の入出力に柔軟に対応することができる。According to the present invention, with the above configuration, the storage means whose total capacity is defined in advance can be set as a line buffer device having different capacities per line by an external microcomputer according to the model such as a facsimile device. It is possible to flexibly handle input and output of various image information.
実施例 第1図は、本発明の一実施例による画情報ラインバッフ
ァ装置の全体構成を示す概略ブロック図である。Embodiment FIG. 1 is a schematic block diagram showing the overall configuration of an image information line buffer device according to an embodiment of the present invention.
同図において、1はファクシミリ装置の汎用マイクロコ
ンピュータ(MPU)、2は制御レジスタ部、3は入出力
制御部、4はラインバッファ制御部、5は文字発生部、
6はラインバッファ用RAM(BRAM)、7はダイレクトメ
モリアクセス制御部(DMAC)である。In the figure, 1 is a general-purpose microcomputer (MPU) of a facsimile machine, 2 is a control register unit, 3 is an input / output control unit, 4 is a line buffer control unit, 5 is a character generation unit,
Reference numeral 6 is a line buffer RAM (BRAM), and 7 is a direct memory access control unit (DMAC).
201,202,203,301,309,501,502,503はレジスタで、MPUバ
スS1に直結されている。504は文字コードバッファ用RAM
(CRAM)であり、MPUバスS1に直結されている。S2〜S
6、S8〜S10、S11〜S22については後述する。201, 202, 203, 301, 309, 501, 502, 503 are registers, which are directly connected to the MPU bus S1. 504 is RAM for character code buffer
(CRAM) and is directly connected to the MPU bus S1. S2 ~ S
6, S8 to S10 and S11 to S22 will be described later.
第1図のブロック図は主にレジスタに注目したもので、
各部分の詳細については後に示す。The block diagram in Figure 1 mainly focuses on registers,
Details of each part will be shown later.
この画情報ラインバッファ装置は、MPU1の制御の下に、
MPUバスS1に直結するレジスタのリード/ライトを行う
ことにより、前述したような画情報の入出力制御、文字
画情報の発生と画情報との合成の制御、ラインバッファ
構成の切替え等を行う。This image information line buffer device, under the control of MPU1,
By reading / writing the register directly connected to the MPU bus S1, the input / output control of the image information, the control of the generation of the character image information and the combination with the image information, the switching of the line buffer configuration, etc. are performed.
即ち、制御レジスタ部2では、CROレジスタ201とCR1レ
ジスタ202にてラインバッファモード等の設定を行う。
また、iRQレジスタ203を用いて、画情報ラインバッファ
装置内部で割込み要因が生じるとMPU1に対する割込み信
号S10のイネーブルの設定、および割込み処理時のボー
リングに対する応答を行う。さらに、CROレジスタ201と
CR1レジスタ202の内容にしたがって、S2,S3、S4を制御
する。S2はラインバッファ区分信号バスで、この制御に
よってBRAM6のメモリ空間の分割方法を設定し、第15図
に示すような8種類のラインバッファを実現させるS3は
文字画情報合成方式制御バスで、これにより第16図に示
す4種類の合成方式の1つを設定する。各合成方式によ
る合成例は第17図に示されており、方式(1)は画情報
と文字画情報の単なる論理和処理、方式(2)は画情報
と文字画情報の排他的論理和処理、方式(3)は文字画
情報の存在する部分の画情報を消して文字画情報を優先
的に合成する処理、方式(4)は方式(3)と同様に文
字画情報を優先し、かつ文字画情報を白黒反転させて合
成する処理である。S4はラインバッファ制御バスで、画
情報入出力の選択と画情報データレジスタ(DTR)301か
ら画情報を入出力する際の1ラインのイネーブル信号
(Line)を含んでおり、入出力の選択は第18図に示すよ
うに10種類の入出力モードを選択できる。即ち、画情報
または文字画情報の入力元として、ファクシミリ装置の
読取り部、復号器、それとMPUバスS1、文字発生部5の
いずれかを選択でき、画情報または文字画情報の出力先
として、ファクシミリ装置の記録部、復号器、それとMP
UバスS1のいずれかを選択できる。That is, in the control register unit 2, the CRO register 201 and the CR1 register 202 are used to set the line buffer mode and the like.
Further, the iRQ register 203 is used to set the enable of the interrupt signal S10 to the MPU1 when an interrupt factor occurs in the image information line buffer device and to respond to the boring at the time of interrupt processing. In addition, with CRO register 201
It controls S2, S3, and S4 according to the contents of the CR1 register 202. S2 is a line buffer division signal bus. By this control, the division method of the memory space of BRAM6 is set, and 8 types of line buffers as shown in FIG. 15 are realized. S3 is a character image information composition method control bus. Is used to set one of the four types of combining methods shown in FIG. An example of composition by each composition method is shown in FIG. 17. Method (1) is a simple OR operation of image information and character image information, and method (2) is an exclusive OR operation of image information and character image information. The method (3) is a process of erasing the image information in a portion where the character image information exists and preferentially synthesizing the character image information, the method (4) prioritizes the character image information as in the method (3), and This is a process of inverting the character image information in black and white and combining them. S4 is a line buffer control bus, which includes one line enable signal (Line) for selecting image information input / output and inputting / outputting image information from the image information data register (DTR) 301. As shown in Fig. 18, 10 types of input / output modes can be selected. That is, as the input source of the image information or the character image information, any one of the reading unit, the decoder, the MPU bus S1 and the character generating unit 5 of the facsimile device can be selected, and the facsimile is output as the output destination of the image information or the character image information. Recorder of device, decoder, and MP
Either U bus S1 can be selected.
入出力制御部3については、第2図も参照して説明す
る。この第2図は、入出力制御部3の内部構成を示す概
略ブロック図である。The input / output control unit 3 will be described with reference to FIG. FIG. 2 is a schematic block diagram showing an internal configuration of the input / output control unit 3.
入出力制御部3は、符号器/復号器専用入出力回路10、
読取り専用入力回路11、記録専用出力回路12、およびMP
Uバス専用入出力回路13(画情報バスインターフェイ
ス)から成っている。符号器/復号専用入出力回路10
は、出力画情報バスS11、入力画情報バスS12、参照出力
画情報バスS13(2次元の符号化/復号化の場合のみ)
と、符号器/復号器インターフェイスバスS17との間の
インターフェイスバスをとる。また、LSRレジスタ309の
内容によって符号器/復号器の1ラインの長さが設定さ
れ、その1ライン長にしたがった1ラインイネーブル信
号を符号器/復号器インターフェイスバスS17に出力す
る。この符号器/復号器専用入出力回路10の入力動作と
出力動作の選択、その開始と停止はラインバッファ制御
バスS4によって制御される。記録部インターフェイスバ
スS18は、記録専用出力回路12によって出力画情報バスS
11および文字発生部インターフェイスバスS14とインタ
ーフェイスされる。この記録専用出力回路12の起動停止
はラインバッファ制御バスS4によって制御される。MPU
バス専用入出力回路13は、ラインバッファ制御バスS4お
よびMPUバスS1によって動作が制御されるもので、DTRレ
ジスタ301を介してMPUバスS1、出力画情報バスS11、入
出画情報バスS12、文字発生部インターフェイスバスS14
の信号を生成しインターフェイスする。このMPUバス専
用入出力回路13は、画情報レジスタデータ要求信号S8、
画情報データDMA(ダイレクトメモリアクセス)要求信
号S15、DMA受付け信号S16を入出力するが、これについ
ては後述する。読取り専用入力回路11は、読取り部イン
ターフェイスバスS19と入力画情報バスS12と文字発生部
インターフェイスバスS14のインターフェイスバスをと
り、その動作はラインバッファ制御バスS4によって制御
される。The input / output control unit 3 includes an encoder / decoder dedicated input / output circuit 10,
Read-only input circuit 11, record-only output circuit 12, and MP
It consists of a U bus dedicated input / output circuit 13 (image information bus interface). Encoder / decoder dedicated input / output circuit 10
Is an output image information bus S11, an input image information bus S12, a reference output image information bus S13 (only in the case of two-dimensional encoding / decoding)
And an encoder / decoder interface bus S17. Further, the length of one line of the encoder / decoder is set by the contents of the LSR register 309, and the one line enable signal according to the one line length is output to the encoder / decoder interface bus S17. Selection of input operation and output operation of the encoder / decoder dedicated input / output circuit 10 and its start and stop are controlled by the line buffer control bus S4. The recording interface bus S18 is an output image information bus S by the recording-dedicated output circuit 12.
11 and the character generator interface bus S14. The start / stop of the recording dedicated output circuit 12 is controlled by the line buffer control bus S4. MPU
The operation of the bus dedicated input / output circuit 13 is controlled by the line buffer control bus S4 and the MPU bus S1, and the MPU bus S1, the output image information bus S11, the input / output image information bus S12, and the character generation are performed via the DTR register 301. Part interface bus S14
Generate and interface the signal. This MPU bus dedicated input / output circuit 13 is provided with an image information register data request signal S8,
The image information data DMA (direct memory access) request signal S15 and the DMA acceptance signal S16 are input and output, which will be described later. The read-only input circuit 11 takes an interface bus of a reading section interface bus S19, an input image information bus S12, and a character generating section interface bus S14, and its operation is controlled by a line buffer control bus S4.
ラインバッファ制御部4について、第9図も参照して説
明する。第9図はラインバッファ制御部4の内部構成の
概略を示すブロック図である。このラインバッファ制御
部4は、ラインバッファ区分信号バスS2で指定される方
法で、BRAMアドレスバスS20を通じてBRAM6のアドレス指
定を行うアドレス制御回路20、BRAMデータバスS21を通
じてBRAM6に対する書込みを行うための書込み回路21、
読出しを行う読出し回路22、および2次元符号化/復号
化で必要となる参照ラインの読出しを行う参照読出し回
路23、文字画情報と画情報の合成を行う合成回路24、こ
れら各回路を内部バスS25を通じて制御する制御回路25
から成る。制御回路25はラインバッファ制御バスS4、文
字発生部インターフェイスバスS11、出力画情報バスS1
4、入力画情報バスS12、参照出力画情報バスS13とイン
ターフェイスしており、各バス11,12,13に入力可/出力
可信号を出して入出力制御部3の画情報の入出力制御す
るとともに、制御レジスタ部2に対するラインバッファ
室信号S6とBRAM6に対するデータ方向信号S22を制御す
る。参照読出し回路23は内部バスS25を介して参照出力
画情報バスS13とインターフェイスしている。合成回路2
4は文字画像合成方式制御バスS3と直接インターフェイ
スしている。The line buffer control unit 4 will be described with reference to FIG. FIG. 9 is a block diagram showing the outline of the internal configuration of the line buffer control unit 4. The line buffer control unit 4 uses the line buffer division signal bus S2 to specify the address of the BRAM 6 via the BRAM address bus S20, and the BRAM data bus S21. Circuit 21,
A read circuit 22 for reading, a reference read circuit 23 for reading a reference line required for two-dimensional encoding / decoding, a synthesizing circuit 24 for synthesizing character image information and image information, and each of these circuits on an internal bus. Control circuit 25 controlled through S25
Consists of. The control circuit 25 includes a line buffer control bus S4, a character generator interface bus S11, and an output image information bus S1.
4. Interfaces with the input image information bus S12 and the reference output image information bus S13, and outputs an input enable / output enable signal to each of the buses 11, 12, 13 to control the input / output of the image information of the input / output control unit 3. At the same time, it controls the line buffer room signal S6 for the control register unit 2 and the data direction signal S22 for the BRAM6. The reference read circuit 23 interfaces with the reference output image information bus S13 via the internal bus S25. Synthesis circuit 2
4 directly interfaces with the character image composition method control bus S3.
文字発生部5は、文字発生イネーブル信号S5によって起
動がかかり、文字発生位置、文字倍率、行間の制御を以
下のように行う。The character generation unit 5 is activated by the character generation enable signal S5, and controls the character generation position, character magnification, and line spacing as follows.
i RLRレジスタ501の設定によって副走査クロックのカ
ウントを行い、副走査位置を決定する。By setting the i RLR register 501, the sub-scanning clock is counted to determine the sub-scanning position.
ii CLRレジスタ502の設定によって主走査クロックのカ
ウントを行い、主走査位置を決定する。ii The main scanning clock is counted by setting the CLR register 502 to determine the main scanning position.
iii CRAMに予め入っている文字コードに合わせて文字
パターン(文字画情報)を発生する。その際、PROレジ
スタ503の値にしたがって、第20図に示すように拡大倍
率を制御する。CRAM504からの改行コードの読出し、ま
たは走査の終了、またはCRAM504からの最後の文字コー
ドの読出しによて、1ラインの文字パターンの発生を終
了する。iii Generate a character pattern (character image information) according to the character code stored in the CRAM beforehand. At that time, the enlargement ratio is controlled as shown in FIG. 20 according to the value of the PRO register 503. By reading the line feed code from the CRAM 504, or ending the scanning, or reading the last character code from the CRAM 504, the generation of the character pattern of one line is completed.
iv 前記のii,iiiの動作を1行分繰り返し、1行発生終
了と同時に文字発生終了信号S9をオンする。iv The above operations ii and iii are repeated for one line, and the character generation end signal S9 is turned on at the same time when the generation of one line is completed.
v PROレジスタ503の値にしたがって、第21図に示すよ
うな行間を発生する。この行間発生中に次の文字コード
がCRAM504に入力される。この文字コードの入力終了で
前記の文字発生終了信号S9はリセットされる。Line spacing as shown in FIG. 21 is generated according to the value of the v PRO register 503. The following character code is input to the CRAM 504 during this line spacing. When the input of this character code is completed, the character generation end signal S9 is reset.
vi 行間の発生が終了すると、再度iiから繰り返す。When the occurrence of the line between vi ends, it repeats from ii again.
以上の動作を文字発生イネーブル信号S5がオフされるま
で繰り返す。The above operation is repeated until the character generation enable signal S5 is turned off.
文字発生のフォーマット例を第22図に示す。Fig. 22 shows an example of the character generation format.
前記の主走査クロックと副走査クロック等は、入出力制
御部3で作られ、文字発生部インターフェイスバスS14
によって文字発生部5に与えられる。文字発生部5で
は、発生した文字画情報と文字画情報イネーブルを同バ
スS14にてラインバッファ制御部4の制御回路25へ送
る。The main scanning clock and the sub-scanning clock are generated by the input / output control unit 3, and the character generator interface bus S14
Is given to the character generator 5. The character generator 5 sends the generated character / image information and the character / image information enable to the control circuit 25 of the line buffer controller 4 via the same bus S14.
第3図は、第2図中のMPUバス専用入出力回路13の一部
を省略した詳細ブロック図である。FIG. 3 is a detailed block diagram in which a part of the MPU bus dedicated input / output circuit 13 in FIG. 2 is omitted.
302は画情報のパラレル/シリアル変換用のシフトレジ
スタ、303は状態遷移用のDフリップフロップ、304は3
ビットのカウンタである。305はMPUバスS1に直結された
制御ゲート回路、306はR/Sフリップフロップでデータ転
送要求フラグとして用いられる。307はアンゲート、308
はPLA(Programmable Logic Array)であるS301はPLA30
8の現在の状態を決める状態信号バス、S317はPLA308の
次の状態を決める状態信号バスである。信号関係につい
ては後述する。302 is a shift register for parallel / serial conversion of image information, 303 is a D flip-flop for state transition, and 304 is 3
It is a bit counter. Reference numeral 305 is a control gate circuit directly connected to the MPU bus S1, and 306 is an R / S flip-flop used as a data transfer request flag. 307 is an ungate, 308
Is PLA (Programmable Logic Array) S301 is PLA30
8 is a status signal bus that determines the current status of the PLA308, and S317 is a status signal bus that determines the next status of the PLA308. The signal relationship will be described later.
第4図はMPUバスS1から画情報を入出するモード時のPLA
308の状態遷移図であり、第5図は第4図に示す各状態
におけるPLA出力信号の状態を示す図である。ST1は待機
状態、ST2は画情報レジスタデータ要求信号S8をオンに
する状態、ST3はDTRレジスタ301のデータ転送待ち状
態、ST4はDTRレジスタ301からシフトレジスタ302への転
送状態、ST5は画情報シフト状態、ST6はラインバッファ
への転送完了待ち状態、ST7は1ライン転送終了状態で
ある。Fig. 4 shows PLA in the mode of inputting and outputting image information from MPU bus S1.
FIG. 5 is a state transition diagram of 308, and FIG. 5 is a diagram showing states of PLA output signals in respective states shown in FIG. ST1 is a standby state, ST2 is a state where the image information register data request signal S8 is turned on, ST3 is a data transfer waiting state of the DTR register 301, ST4 is a transfer state from the DTR register 301 to the shift register 302, and ST5 is an image information shift. The state, ST6 is a waiting state for completion of transfer to the line buffer, and ST7 is a one-line transfer end state.
第6図はMPUバスS1へ画情報を出力するモード時のPLA30
8の状態遷移図であり、第7図は第6図中の各状態にお
けるPLA出力信号の状態を示す図である。ST1は第4図の
ST1と同じ待機状態、ST8は画情シフト状態、ST9はDTRレ
ジスタ301からMPUバスS1へ転送待ち状態、ST10はシフト
レジスタ302からDTRレジスタ301への転送状態、ST11は
1ライン転送終了状態である。Fig. 6 shows PLA30 in the mode of outputting image information to MPU bus S1.
8 is a state transition diagram of FIG. 8, and FIG. 7 is a diagram showing states of PLA output signals in respective states in FIG. ST1 is shown in Fig. 4.
The same standby state as ST1, ST8 is the image shift state, ST9 is the transfer wait state from the DTR register 301 to the MPU bus S1, ST10 is the transfer state from the shift register 302 to the DTR register 301, and ST11 is the one-line transfer end state. .
MPUバス→ラインバッファ(BRAM6)のモードにおける動
作について、第3図ないし第5図を参照して説明する。
ラインバッファ制御バスS4中のBUSRX信号S307がオンに
なっており、PLA308はST1状態で待機しS311〜S316の各
信号をすべてオフしている。The operation in the MPU bus → line buffer (BRAM6) mode will be described with reference to FIGS.
The BUS RX signal S307 in the line buffer control bus S4 is turned on, and the PLA 308 waits in the ST1 state and turns off all the signals of S311 to S316.
ラインバッファ制御バスS4中の画情報バスインターフェ
イスラインイネーブル(LINE)信号S305がオンになり、
かつ入力画情報バスS12中のラインバッファ画情報入力
可(OR)信号S303がオンすると、PLA308なST2状態に遷
移し、1ラインの転送が始まる。即ち、データ転送要求
フラグセット信号S312をオンしてR/Sフリップフロップ3
06をセットし、画情報レジスタデータ要求信号S8をオン
する。PLA308はST3状態に遷移し、前記信号S8がオフす
るのを待つ。The image information bus interface line enable (LINE) signal S305 in the line buffer control bus S4 is turned on,
When the line buffer image information input enable (OR) signal S303 in the input image information bus S12 is turned on, the PLA308 transitions to the ST2 state, and the transfer of one line starts. That is, the data transfer request flag set signal S312 is turned on to turn on the R / S flip-flop 3
Set 06 and turn on the image information register data request signal S8. The PLA 308 transits to the ST3 state and waits for the signal S8 to turn off.
MPU1からMPUバスS1へ画情報が転送される時、制御ゲー
ト回路305が信号S323をオンし、MPUバスS1上の画情報
(8ビット)をパラレルにDTRレジスタ301にラッチさ
せ、同時の信号S320をオンしてR/Sフリップフロップ306
をリセットする。When the image information is transferred from the MPU1 to the MPU bus S1, the control gate circuit 305 turns on the signal S323 to cause the image information (8 bits) on the MPU bus S1 to be latched in parallel in the DTR register 301, and the simultaneous signal S320 Turns on and R / S flip-flop 306
To reset.
R/Sフリップフロップ306のリセットで画情報レジスタデ
ータ要求信号S8がオフになると、PLA308はST4状態に遷
移する。ST4状態ではシフトレジスタロード信号S315を
オンし、DTRレジスタ301からシフトレジスタ302にバス3
26を介して画情報をパラレルにロードさせる。同時に、
データ転送要求フラグセット信号S312をオンし、R/Sフ
リップフロップ306をセットして画情報レジスタデータ
要求信号S8をオンし、次の画情報の転送を要求する。When the image information register data request signal S8 is turned off by resetting the R / S flip-flop 306, the PLA 308 transits to the ST4 state. In ST4 state, the shift register load signal S315 is turned on and the bus 3 is transferred from the DTR register 301 to the shift register 302.
Image information is loaded in parallel via 26. at the same time,
The data transfer request flag set signal S312 is turned on, the R / S flip-flop 306 is set, and the image information register data request signal S8 is turned on to request the transfer of the next image information.
ついでPLA308はST5状態に遷移し、画情報シフトイネー
ブル信号S316おオンし、シフトレジスタ302に内部クロ
ックS325と同期させてシフト動作させ、かつ、カウンタ
304に内部クロックS325のカウンタを開始させる。これ
により、シフトレジスタ302よりシリアルな画情報S319
が出力され、入力画情報バスS12を経由してラインバッ
ファ制御部4へ送られ、BRAM6に書き込まれる。カウン
タ304のキャリー信号S309がオンすると、PLA308はST3状
態に戻る。これ以降、LINE信号S305がオフするまで、PL
A308はST3−ST4−ST5−ST3のループを繰り返し、MPUバ
スS1からラインバッファ制御部4への画情報の転送が行
われる。Then, the PLA 308 transits to the ST5 state, turns on the image information shift enable signal S316, causes the shift register 302 to perform the shift operation in synchronization with the internal clock S325, and also the counter.
Causes 304 to start the counter for internal clock S325. As a result, serial image information S319 from the shift register 302
Is output, sent to the line buffer control unit 4 via the input image information bus S12, and written in the BRAM 6. When carry signal S309 of counter 304 turns on, PLA 308 returns to the ST3 state. After this, until the LINE signal S305 turns off, PL
The A308 repeats the loop of ST3-ST4-ST5-ST3 to transfer the image information from the MPU bus S1 to the line buffer control unit 4.
ST3状態で信号S8がオンでLINE信号S305がオフすると、P
LA308はST6状態に遷移し、データ転送要求フラグリセッ
ト信号S311をオンしてR/Sフリップフロップ306をリセッ
トし、信号S8をオフする。そして、入力画情報バスS12
上のラインバッファ入力画情報残(WTLR)信号S304のオ
フを待つ。When the signal S8 is on and the LINE signal S305 is off in the ST3 state, P
The LA 308 transits to the ST6 state, turns on the data transfer request flag reset signal S311 to reset the R / S flip-flop 306, and turns off the signal S8. And input image information bus S12
Wait for the upper line buffer input image information remaining (WTLR) signal S304 to turn off.
WTLR信号S304がオフすると、PLA308はST7状態に遷移
し、ラインバッファ制御バスS4上の1ライン転送終了信
号S314をオンし、初期のST1状態に戻る。When the WTLR signal S304 turns off, the PLA 308 transits to the ST7 state, turns on the 1-line transfer end signal S314 on the line buffer control bus S4, and returns to the initial ST1 state.
このようにして、MPUバス→ラインバッファの方向の画
情報転送が1ラインずつ行われる。In this way, image information transfer from the MPU bus to the line buffer is performed line by line.
次に、ラインバッファ→MPUバスの方向の画情報転送モ
ードを、第3図,第6図および第7図を参照して説明す
る。Next, the image information transfer mode in the line buffer → MPU bus direction will be described with reference to FIGS. 3, 6, and 7.
この転送モードでは、ラインバッファ制御バスS4中のBU
STX信号S306がオンになり、PLA308はST1状態で待機して
いる。LINE信号S305がオンになり、出力画情報バスS11
中のラインバッファ画情報出力可(OR)信号S302がオン
すると、PLA308はST8状態に遷移し、画情報シフMネー
ブル信号S316をオンする。これにより、カウンタ304が
内部クロックS325のカウンタを開始し、また、出力画情
報バスS11上のシリアル画情報S318がシフトレジスタ302
に内部クロックS325と同期してシフトインされる。カウ
ンタ304のキャリー信号S309がオンした時に、画情報レ
ジスタデータ要求信号S8がオンであればPLA308はST9状
態に遷移し、同信号S8がオフであればPLA308はST10に遷
移する。ST9状態からST10状態への遷移は、信号S8のオ
フによって起こる。In this transfer mode, BU in line buffer control bus S4
The STX signal S306 is turned on and the PLA 308 is waiting in the ST1 state. The LINE signal S305 turns on and the output image information bus S11
When the inside line buffer image information output enable (OR) signal S302 turns on, the PLA 308 transits to the ST8 state and turns on the image information shift M enable signal S316. As a result, the counter 304 starts counting the internal clock S325, and the serial image information S318 on the output image information bus S11 shifts to the shift register 302.
Is shifted in in synchronization with the internal clock S325. When the carry signal S309 of the counter 304 is turned on, the PLA 308 transits to the ST9 state if the image information register data request signal S8 is on, and the PLA 308 transits to ST10 if the signal S8 is off. The transition from the ST9 state to the ST10 state occurs by turning off the signal S8.
ST10状態では、PLA308はDTRロード信号S313をオンして
シフトレジスタ302内の画情報をバスS326を通じパラレ
ルにDTRレジスタ301にロードし、またデータ転送要求フ
ラグリセット信号S312をオンしてR/Sフリップフロップ3
06をセットし、画情報レジスタデータ要求信号S8をオン
にする。その後、PLA308はST8状態に戻る。DTRレジスタ
301内の画情報は、制御ゲート回路305からの信号S321が
オンするとバスS327を通じてMPUバスS1に出される。In the ST10 state, the PLA 308 turns on the DTR load signal S313 to load the image information in the shift register 302 into the DTR register 301 in parallel through the bus S326, and turns on the data transfer request flag reset signal S312 to turn on the R / S flip-flop. 3
Set 06 and turn on the image information register data request signal S8. After that, the PLA 308 returns to the ST8 state. DTR register
The image information in 301 is output to the MPU bus S1 through the bus S327 when the signal S321 from the control gate circuit 305 turns on.
LINE信号S305がオフするまで、PLA308はST8(±ST9)−
ST10−ST8の状態遷移を繰り返し、ラインバッファから
のシリアル画情報S318のパラレルデータ(8ビット)へ
の変換、MPUバスS1への出力が行われる。Until the LINE signal S305 turns off, PLA308 keeps ST8 (± ST9) −
By repeating the state transition of ST10-ST8, conversion of the serial image information S318 from the line buffer into parallel data (8 bits) and output to the MPU bus S1 are performed.
ST8,ST9,ST10のいずれかの状態において、LINE信号S305
がオフすると、PLA308は直ちにST11状態に遷移し、信号
S311をオンしてR/Sフリップフロップ306をリセットする
ことにより、画情報レジスタデータ要求信号S8をオフ
し、同時に1ライン転送終了信号S314をオンにしてST1
状態に戻る。In any of ST8, ST9, ST10, LINE signal S305
When turns off, the PLA308 immediately transitions to the ST11 state,
By turning on S311 and resetting the R / S flip-flop 306, the image information register data request signal S8 is turned off, and at the same time, the 1-line transfer end signal S314 is turned on and ST1
Return to the state.
なお、前記の画情報転送をプログラムモードで行う場
合、MPUバスS1からバスS328を介してレジスタセレクト
とリード/ライトの信号が与えられると、制御ゲート回
路305が信号S323または信号S321と、信号S320をオンす
る。When the image information transfer is performed in the program mode, when the register select and read / write signals are given from the MPU bus S1 via the bus S328, the control gate circuit 305 causes the signal S323 or the signal S321 and the signal S320. Turn on.
一方、DMAモードで画情報の転送を行う場合、ラインバ
ッファ制御バスS4中のDMAイネーブル信号S324のオン
で、画情報レジスタデータ要求信号S8がアンドゲート30
7から画情報データDMA要求信号S15としてDMAC7へ送られ
る。この画情報データDMA要求がDMAC7で受け付られ、DM
A受付け信号S16がオンすると、制御ゲート回路305は信
号S320と、信号S323(BUSRX信号S307がオンの場合)ま
たは信号S321(BUSTX信号S306がオンの場合)をオンす
る。このDMAモード時における画情報データDMA要求信号
S15、DMA受付け信号S16、およびMPUバスS1のタイミング
を第8図に示す。On the other hand, when transferring image information in the DMA mode, the image information register data request signal S8 is sent to the AND gate 30 when the DMA enable signal S324 in the line buffer control bus S4 is turned on.
The image information data DMA request signal S15 is sent from 7 to the DMAC7. This image information data DMA request is accepted by DMAC7, and DM
When the A acceptance signal S16 turns on, the control gate circuit 305 turns on the signal S320 and the signal S323 (when the BUSRX signal S307 is on) or the signal S321 (when the BUSTX signal S306 is on). Image information data DMA request signal in this DMA mode
The timing of S15, the DMA acceptance signal S16, and the MPU bus S1 is shown in FIG.
第10図は、ラインバッファ制御部4内のアドレス制御回
路20(第9図)の内部構成を示す詳細ブロック図であ
る。FIG. 10 is a detailed block diagram showing the internal configuration of the address control circuit 20 (FIG. 9) in the line buffer control unit 4.
405は入力ラインセレクト(WLS)カウンタ、406は出力
ラインセレクト(RLS)カウンタ、407は参照出力ライン
セレクト(RFLS)カウンタで、いずれも4ビットのカウ
ンタである。408は入力ラインアドレス(WLA)カウン
タ、409は出力ラインアドレス(RLA)カウンタ、410は
参照出力ラインアドレス(RFLA)カウンタであり、これ
らは10ビットのカウンタである。これら各カウンタのイ
ンクリメントやリセットは、内部バスS25を通じて制御
回路25により行われる。411,412はセレクタである。セ
レクタ411は、制御回路25から内部バスS25によって与え
られるラインバッファモード選択信号S410にしたがっ
て、WLSカウンタ405の出力バスS411、RLSカウンタ406の
出力バスS412、RFLSカウンタ407の出力バスS413のいず
れかを選択し、ラインセレクトバスS414と接続する。セ
レクタ412は、ラインバッファモード選択信号S410にし
たがって、WLAカウンタ408、RLAカウンタ409、RFLAカウ
ンタ410の各出力バスS416、S417、S418のいずれかを選
択してラインバッファアドレスバスS415に接続する。ラ
インセレクトバスS414は全ビットともラインバッファ区
分ゲート回路413に入力されるが、ラインアドレスバスS
415は上位の2ビットのみ同ゲート回路413に入力され、
残りの下位8ビットはそのままBRAMアドレスバスS20(1
3ビット)の下位8ビットとなる。BRAMアドレスバスS20
の上位5ビットは同ゲート回路413より出力される。405 is an input line select (WLS) counter, 406 is an output line select (RLS) counter, and 407 is a reference output line select (RFLS) counter, all of which are 4-bit counters. 408 is an input line address (WLA) counter, 409 is an output line address (RLA) counter, 410 is a reference output line address (RFLA) counter, and these are 10-bit counters. The control circuit 25 increments or resets these counters through the internal bus S25. 411 and 412 are selectors. The selector 411 selects one of the output bus S411 of the WLS counter 405, the output bus S412 of the RLS counter 406, and the output bus S413 of the RFLS counter 407 according to the line buffer mode selection signal S410 provided by the internal circuit S25 from the control circuit 25. Select and connect to the line select bus S414. The selector 412 selects one of the output buses S416, S417, and S418 of the WLA counter 408, RLA counter 409, and RFLA counter 410 according to the line buffer mode selection signal S410, and connects it to the line buffer address bus S415. All bits of the line select bus S414 are input to the line buffer division gate circuit 413.
Only the upper 2 bits of 415 are input to the same gate circuit 413,
The remaining lower 8 bits remain as they are in the BRAM address bus S20 (1
The lower 8 bits (3 bits). BRAM address bus S20
The upper 5 bits of are output from the gate circuit 413.
WLSカウンタ405とWLAカウンタ408は、画情報入力モード
のためのラインバッファのラインセレクトとラインアド
レスを管理するためのもので、RLSカウンタ406とRLAカ
ウンタ409は画情報出力モードでのラインセレクトとラ
インアドレスを管理する。また、参照出力モードのため
のラインバッファのラインセレクトとラインアドレスを
管理するのが、RFLSカウンタ407とRFLAカウンタ410であ
る。ラインバッファのモードに応じて、ラインバッファ
モード選択信号S410によりセレクタ411,412を制御し、
該当するカウンタを選択し、選択したカウンタの値に基
づいてBRAMアドレスを生成し、BRAM6をアクセスする。The WLS counter 405 and WLA counter 408 are for managing the line select and line address of the line buffer for the image information input mode, and the RLS counter 406 and RLA counter 409 are the line select and line for the image information output mode. Manage addresses. The RFLS counter 407 and the RFLA counter 410 manage the line select and line address of the line buffer for the reference output mode. Depending on the line buffer mode, the line buffer mode selection signal S410 controls the selectors 411, 412,
A corresponding counter is selected, a BRAM address is generated based on the value of the selected counter, and BRAM6 is accessed.
ラインバッファ区分ゲート回路413は、ラインバッファ
モード区分信号バスS2にしたがって8種類の異なった方
法でアドレス変換を行う。つまり、ラインバッファ区分
信号バスS2によって、BRAM6のアドレス指定方法を8種
類に切り替え、BRAM6のメモリ空間の分割の仕方を切り
替える。これにより、BRAM6上に、第15図に示すような
8通りの異構成のラインバッファを実現できる。The line buffer division gate circuit 413 performs address conversion in eight different ways according to the line buffer mode division signal bus S2. In other words, the line buffer division signal bus S2 switches the addressing method of the BRAM 6 to eight types and switches the method of dividing the memory space of the BRAM 6. As a result, on the BRAM 6, it is possible to realize eight different line buffers as shown in FIG.
第11図は、ラインバッファ区分ゲート回路413の詳細構
成を示す回路図である。FIG. 11 is a circuit diagram showing a detailed configuration of the line buffer division gate circuit 413.
414はPLA(Programable Logic Array)であり、ライン
バッファ区分信号バスS2の値(m1〜m8)に応じて、信号
S430〜S438を第12図に示すように制御して出力する。第
12図中で、丸印はオンする信号を示す。414 is a PLA (Programmable Logic Array), which is a signal depending on the value (m 1 to m 8 ) of the line buffer division signal bus S2.
S430 to S438 are controlled and output as shown in FIG. First
In FIG. 12, a circle indicates a signal that turns on.
415〜419はゲートである。信号S419(ラインアドレスバ
スS415の上位の2ビット目)と信号S435との論理積信号
と、信号S421(ラインセレクトバスS414の最下位ビッ
ト)と信号S436の論理積信号の論理和信号が、ゲート41
5より信号S425として出力される。信号S420(ラインア
ドレスバス415の最上位ビット)と信号S438の論理積信
号、信号S421と信号S437の論理積信号、信号S422(ライ
ンセレクトバス414の第2ビット)と信号S436の論理積
信号の論理和信号が、ゲート416より信号S426として出
力される。信号S421と信号S438の論理積信号、信号S422
と信号S437の論理積信号、信号S432(ラインセレクトバ
スS414の第3ビット)と信号S436の論理積信号を論理和
した信号S427がゲート417より出力される。信号S422と
信号S434の論理積信号、信号S423と信号S433の論理積信
号、信号S424(ラインセレクトバスS414の最上位ビッ
ト)と信号S432の論理積信号を論理和した信号S428がゲ
ート418から出る。ゲート419からは、信号S423と信号S4
31の論理積信号と、信号S424と信号S430の論理積信号の
論理和信号S429が出る。信号S425〜S429はBRAMアドレス
バスS20の上位の5ビットとなり、信号S429が最上位ビ
ットである。415 to 419 are gates. The logical sum signal of the signal S419 (the second upper bit of the line address bus S415) and the signal S435 and the logical sum signal of the logical product signal of the signal S421 (the least significant bit of the line select bus S414) and the signal S436 are gated. 41
5 is output as signal S425. Of the logical product signal of the signal S420 (most significant bit of the line address bus 415) and the signal S438, the logical product signal of the signal S421 and the signal S437, and the logical product signal of the signal S422 (the second bit of the line select bus 414) and the signal S436. The OR signal is output from the gate 416 as the signal S426. AND signal of signal S421 and signal S438, signal S422
The gate 417 outputs the logical product signal of the signal S437 and the logical product signal of the signal S432 (the third bit of the line select bus S414) and the signal S436. A signal S428 obtained by logically adding the logical product signal of the signals S422 and S434, the logical product signal of the signals S423 and S433, the logical product signal of the signal S424 (the most significant bit of the line select bus S414) and the signal S432 is output from the gate 418. . From gate 419, signal S423 and signal S4
The logical product signal of 31 and the logical sum signal S429 of the logical product signals of the signals S424 and S430 are output. The signals S425 to S429 are the upper 5 bits of the BRAM address bus S20, and the signal S429 is the most significant bit.
このような構成であるから、ラインバッファ区分信号バ
スS2の各値(m1〜m8)に対し、第13図に示すような方法
でBRAMアドレス(S20)が作られ、それに応じてBRAM6の
メモリ空間が分割され、第15図に示すようなライン数と
1ライン当り容量のラインバッファがBRAM6上に作られ
る。即ち、m1では8192ビット/ライン×2ライン、m2で
は4096ビット/ライン×4ライン、……、m8では4096ビ
ット/ライン×16ラインの構成のラインバッファが作ら
れる。With such a configuration, a BRAM address (S20) is created for each value (m 1 to m 8 ) of the line buffer division signal bus S2 by the method shown in FIG. The memory space is divided, and a line buffer having the number of lines and the capacity per line as shown in FIG. 15 is formed on the BRAM6. That is, in the m 1 8192 bit / line × 2 lines, m 2 at 4096 bits / line × 4 lines, ..., line buffer configuration of m 8 4096 bits / line × 16 lines is made.
第14図は、合成回路24(第9図)の内部構成を示す詳細
ブロック図である。FIG. 14 is a detailed block diagram showing the internal structure of the synthesizing circuit 24 (FIG. 9).
401,403,404はセレクタ,402は合成論理ゲート、40はBRA
M6内に作られるラインバッファである。S401は入力画情
報バスS12からの入力画情報であり、内部バスS25を経由
してセレクタ401に入力する。S402とS405は文字発生部
インターフェイスバスS14上の文字画情報と文字画情報
イネーブル(CPE)信号で、内部バスS25を経由して合成
論理ゲート402に入力される。S409はラインバッファ制
御バスS4上の合成画情報選択信号であり、内部バスS25
を通じてセレクタ401,403,404に入力される。S408はラ
インバッファ入力画情報、S403はラインバッファ出力画
情報であり、これらは実際には第9図の各回路21,22を
通じてBRAM6との間で入出力される。401, 403, 404 are selectors, 402 is a composite logic gate, 40 is BRA
It is a line buffer created in M6. S401 is input image information from the input image information bus S12 and is input to the selector 401 via the internal bus S25. S402 and S405 are character image information and character image information enable (CPE) signals on the character generator interface bus S14, which are input to the synthesis logic gate 402 via the internal bus S25. S409 is a composite image information selection signal on the line buffer control bus S4, and the internal bus S25
Through selectors 401, 403, 404. S408 is line buffer input image information, and S403 is line buffer output image information, which are actually input / output to / from the BRAM 6 through the circuits 21 and 22 in FIG.
復号器インタ→フェイス以外の場合は、合成画情報選択
信号S409の制御により、セレクタ401は入力画情報バスS
12からの入力画情報S401を選択し、合成入力画情報S404
として合成論理ゲート402に入力する。合成論理ゲート4
02は合成入力画情報S404と文字画情報S405とを合成した
画情報を合成出力画情報S407として出力する。この時の
合成処理の内容は、前述したように文字画情報合成方式
制御バスS3によって指定される。この合成出力画情報S4
07はセレクタ403によってラインバッファ入力画情報S40
8として選択され、ラインバッファ40に入力される。ラ
インバッファ出力画情報S403はセレクタ404によって、
出力画情報バスS11に出す出力画情報S318として選択さ
れる。In cases other than the decoder interface → interface, the selector 401 controls the input image information bus S by the control of the composite image information selection signal S409.
Input image information S401 from 12 is selected, and composite input image information S404 is selected.
Is input to the synthesis logic gate 402. Synthetic logic gate 4
02 outputs image information obtained by synthesizing the synthetic input image information S404 and the character image information S405 as synthetic output image information S407. The contents of the combining process at this time are specified by the character image information combining system control bus S3 as described above. This composite output image information S4
07 is the line buffer input image information S40 by the selector 403
8 is selected and input to the line buffer 40. The line buffer output image information S403 is output by the selector 404.
It is selected as the output image information S318 to be output to the output image information bus S11.
さて、2次元逐次符号の復号の場合、復号した画情報を
再度参照して次ラインの復号を行うので、復号器から入
力される画情報をそのまま文字画情報と合成してライン
バッファ40に入れてしまうと、次のラインで参照すべき
参照画情報が文字画情報を含んだ形となり、復号が不可
能になってしまう。そこで、復号器インターフェイスの
場合、セレクタ403で入力画情報S401(復号器からの入
力画情報)をラインバッファ入力画情報S408として選択
し、ラインバッファ40にそのまま入力する。そして、現
在の復号ラインの参照ラインより前のラインに対するラ
インバッファ出力画情報S403をセレクタ401で合成入力
画情報S404として選択させ、それに対し文字画情報S405
との合成を行う。合成出力画情報S407はセレクタ404を
通って出力画情報S318として出力される。In the case of decoding the two-dimensional sequential code, since the decoded image information is referenced again to decode the next line, the image information input from the decoder is directly combined with the character image information and placed in the line buffer 40. If so, the reference image information to be referred to in the next line will be in a form including the character image information, and decoding will be impossible. Therefore, in the case of the decoder interface, the selector 403 selects the input image information S401 (input image information from the decoder) as the line buffer input image information S408 and inputs it to the line buffer 40 as it is. Then, the line buffer output image information S403 for the line before the reference line of the current decoding line is selected by the selector 401 as the combined input image information S404, while the character image information S405 is selected.
And synthesize with. The composite output image information S407 is output as output image information S318 through the selector 404.
第19図は、文字発生部5(第1図)内の主,副走査カウ
ンタ部分を示すブロック図である。FIG. 19 is a block diagram showing the main and sub-scanning counter portions in the character generator 5 (FIG. 1).
505,506は副走査カウンタ(1),(2)である。507,5
08,509は主走査カウンタ(1),(2),(3)であ
る。S501は副走査カウンタ(1)505,(2)506のリセ
ット信号、S502は主走査カウンタ(1)507,(2)508,
(3)509のリセット信号,S507は副走査クロック、S503
は主走査クロックである。これらの信号は文字発生器イ
ンターフェイスバスS14から供給される。S509は倍率1
設定信号、S510は倍率2設定信号であり、前述のPROレ
ジスタ503から与えられる。Reference numerals 505 and 506 are sub-scanning counters (1) and (2). 507,5
08 and 509 are main scanning counters (1), (2) and (3). S501 is a reset signal for the sub-scanning counters (1) 505 and (2) 506, and S502 is a main scanning counter (1) 507, (2) 508,
(3) Reset signal of 509, S507 is sub-scanning clock, S503
Is the main scanning clock. These signals are provided by the character generator interface bus S14. S509 is 1 magnification
The setting signal, S510, is a magnification 2 setting signal, which is given from the PRO register 503 described above.
副走査カウンタ(1)505は倍率1設定信号S509の値を
初期値として副走査クロックS507をカウントし、そのキ
ャリー信号S508を副走査カウンタ(2)506でカウント
する。この副走査カウンタ(2)506より、文字発生部
5内の文字発生器(図示せず)に対するロウアドレスを
発生する。主走査カウンタ507は倍率2設定信号S510の
値を初期値として主走査クロックS503をカウントする。
主走査カウンタ(2)508は倍率2設定信号S509の値を
初期値として主走査カウンタ(2)508のキャリー信号S
504をカウントと、そのキャリー信号S505を主走査カウ
ンタ(3)509でカウントする。主走査位カウンタ
(3)509のキャリー信号S506は文字クロックであり、
この文字クロックが出るたびに、CRAM504から文字コー
ドが順次読み出され、前記の文字発生器に送られる。The sub-scanning counter (1) 505 counts the sub-scanning clock S507 with the value of the magnification 1 setting signal S509 as an initial value, and the carry signal S508 is counted by the sub-scanning counter (2) 506. The sub-scanning counter (2) 506 generates a row address for a character generator (not shown) in the character generator 5. The main scanning counter 507 counts the main scanning clock S503 with the value of the magnification 2 setting signal S510 as an initial value.
The main scanning counter (2) 508 carries the carry signal S of the main scanning counter (2) 508 with the value of the magnification 2 setting signal S509 as the initial value.
When 504 is counted, the carry signal S505 is counted by the main scanning counter (3) 509. The carry signal S506 of the main scanning position counter (3) 509 is a character clock,
Each time the character clock is output, the character code is sequentially read from the CRAM 504 and sent to the character generator.
このような構成により、ラスタスキャン方式の文字画情
報(文字パターン)の拡大を行うことができ、主,副走
査倍率はPROレジスタ503の設定によって第20図に示すよ
うに多様に変えることができる。副走査倍率は倍率1設
定信号S509で設定される倍率1、主走査倍率は倍率1と
倍率2設定信号S510で設定される倍率2の積で決まる。With such a configuration, the raster scan type character image information (character pattern) can be enlarged, and the main and sub-scanning magnifications can be variously changed by setting the PRO register 503 as shown in FIG. . The sub-scanning magnification is determined by the product of the magnification 1 set by the magnification 1 setting signal S509, and the main scanning magnification by the product of the magnification 1 and the magnification 2 set by the magnification 2 setting signal S510.
動作を説明すると、初期状態では、リセット信号S501,S
502がオンし、各カウンタはクリアされる。副走査カウ
ンタ(2)506は第1ロウを示している。文字発生部イ
ネーブル信号S5がオンすると、主走査クロックS503が主
走査カウンタ(1)507に入り、1ライン目の文字画情
報の生成が始まる。キャリー信号S505の主走査クロック
S503に対する分周比は、1/(倍率1×倍率2)である。
主走査カウンタ(3)509はキャリー信号S505でカラム
カウントを行い、1文字毎にキャリー信号S506(文字ク
ロック)を出す。したがって、主走査倍率=倍率1×倍
率2となるわけである。このようにして、1ラインの文
字画情報の発生を終了すると、副走査クロックS507が副
走査カウンタ(1)505に入いる。キャリー信号S508が
出るまでは、副走査カウンタ506は第1ロウを示し続
け、その間のラインでは文字パターンの第1ロウの文字
画情報が出される。キャリー信号S508の副走査クロック
S507に対する分周比は、1/倍率1である。したがって、
副走査倍率=倍率1となる。To explain the operation, in the initial state, the reset signals S501, S
502 turns on and each counter is cleared. The sub-scanning counter (2) 506 indicates the first row. When the character generator enable signal S5 is turned on, the main scanning clock S503 enters the main scanning counter (1) 507, and the generation of the character image information for the first line starts. Main scan clock for carry signal S505
The frequency division ratio for S503 is 1 / (magnification 1 × magnification 2).
The main scanning counter (3) 509 performs column counting with the carry signal S505 and outputs the carry signal S506 (character clock) for each character. Therefore, main scanning magnification = magnification 1 × magnification 2. When the generation of the character image information for one line is completed in this way, the sub-scanning clock S507 is input to the sub-scanning counter (1) 505. The sub-scanning counter 506 continues to indicate the first row until the carry signal S508 is output, and the character image information of the first row of the character pattern is output on the lines between them. Sub-scanning clock for carry signal S508
The division ratio for S507 is 1 / magnification 1. Therefore,
Sub-scanning magnification = magnification 1.
発明の効果 以上の説明から明らかなように本発明は、総容量が予め
規定された記憶手段のアドレス変換に関する制御情報を
保持する制御レジスタ部を備え、この制御情報を外部マ
イクロコンピュータに接続されるバスを介して可変設定
可能としたことにより、ファクシミリ装置等の機種に合
わせて1ライン当りの容量の異なるラインバッファ装置
を設定することができ、多様な画情報の入出力に柔軟に
対応することを可能とすると共に、ファクシミリ装置等
の新機種の開発期間の短縮化を図り、装置の高機能化、
低価格化をも実現できるという優れた効果を有するもの
である。EFFECTS OF THE INVENTION As is apparent from the above description, the present invention is provided with a control register unit that holds control information relating to address conversion of a storage unit whose total capacity is defined in advance, and this control information is connected to an external microcomputer. By enabling variable settings via the bus, it is possible to set line buffer devices with different capacities per line according to the model of the facsimile device, etc., and flexibly support input / output of various image information. In addition to making it possible to shorten the development period for new models such as facsimile machines,
It has an excellent effect that the price can be reduced.
第1図は本発明の一実施例による画情報ラインバッファ
装置の全体構成を示す概略ブロック図、第2図は第1図
中の入出力制御部の構成を示す概略ブロック図、第3図
は第2図中のMPUバス専用入出力回路の詳細ブロック
図、第4図は第3図中のPLAの状態遷移図、第5図は第
4図中の各状態における信号の制御を示す図、第6図は
第3図中のPLAの他のモードにおける状態遷移図、第7
図中は第6図中の各状態における信号の制御を示す図、
第8図はDMAモードで画情報を入力する時のタイミング
を説明するタイミング図、第9図は第1図中のラインバ
ッファ制御部の構成を示すブロック図、第10図は第9図
中のアドレス制御回路の詳細ブロック図、第11図は第10
図中のラインバッファ区分ゲート回路の回路図、第12図
は第11図中のPLAの出力信号の制御を示す図、第13図はB
RAMアドレスの生成方法を説明する図、第14図は第9図
中の合成回路24の詳細ブロック図、第15図はラインバッ
ファ区分の説明図、第16図は文字画情報と画情報の合成
方式の説明図、第17図は第16図に示す各合成方式による
合成例を示す図、第18図は画情報の入出力選択の説明
図、第19図は第1図中の文字発生部の一部の構成を示す
ブロック図、第20図は文字画情報の拡大倍率の説明図、
第21図は行間設定の説明図、第22図は文字発生のフォー
マット例を示す図である。 1……汎用マイクロコンピュータ(MPU)、2……制御
レジスタ部、3……入出力制御部、4……ラインバッフ
ァ制御部、5……文字発生部、6……ラインバッファ用
RAM(BRAM)、7……ダイレクトメモリアクセス制御部
(DMAC)、S1……MPUバス、S2……ラインバッファ区分
信号バス、S3……文字画情報合成方式制御バス、S4……
ラインバッファ制御バス、S5……文字発生イネーブル信
号、S6……ラインバッファ空信号、S8……画情報レジス
タデータ要求信号、S9……文字発生終了信号、S10……
割込み信号、S11出力画情報バス、S12……入力画情報バ
ス、S13……参照出力画情報バス、S14……文字発生部イ
ンターフェイスバス、S15……画情報データDMA要求信
号、S16……DMA受付け信号、S17……符号器/復号器イ
ンターフェイスバス、S18……記録部インターフェイス
バス、S19……読取り部インターフェイスバス、S20……
BRAMアドレスバス、S21……BRAMデータバス、S22……デ
ータ方向信号、201,202,203,301,309,501,502,503……
レジスタ、504……文字コードバッファ用RAM(CRAM)。FIG. 1 is a schematic block diagram showing an overall configuration of an image information line buffer device according to an embodiment of the present invention, FIG. 2 is a schematic block diagram showing a configuration of an input / output control unit in FIG. 1, and FIG. A detailed block diagram of the MPU bus dedicated input / output circuit in FIG. 2, FIG. 4 is a state transition diagram of the PLA in FIG. 3, and FIG. 5 is a diagram showing signal control in each state in FIG. FIG. 6 is a state transition diagram in another mode of PLA in FIG. 3, FIG.
The figure shows the control of the signal in each state in FIG.
FIG. 8 is a timing diagram for explaining the timing of inputting image information in the DMA mode, FIG. 9 is a block diagram showing the configuration of the line buffer control unit in FIG. 1, and FIG. A detailed block diagram of the address control circuit, FIG.
Circuit diagram of the line buffer division gate circuit in the figure, FIG. 12 is a diagram showing the control of the output signal of the PLA in FIG. 11, and FIG. 13 is B
FIG. 14 is a diagram for explaining a method of generating a RAM address, FIG. 14 is a detailed block diagram of the synthesizing circuit 24 in FIG. 9, FIG. 15 is an explanatory diagram of line buffer division, and FIG. 16 is synthesizing character image information and image information. FIG. 17 is an explanatory view of the method, FIG. 17 is a view showing an example of composition by each composition method shown in FIG. 16, FIG. 18 is an explanatory view of input / output selection of image information, and FIG. 19 is a character generation part in FIG. FIG. 20 is a block diagram showing a part of the configuration of FIG.
FIG. 21 is an explanatory diagram of line spacing setting, and FIG. 22 is a diagram showing a format example of character generation. 1 ... General purpose microcomputer (MPU), 2 ... Control register section, 3 ... Input / output control section, 4 ... Line buffer control section, 5 ... Character generation section, 6 ... For line buffer
RAM (BRAM), 7 ... Direct memory access control unit (DMAC), S1 ... MPU bus, S2 ... Line buffer division signal bus, S3 ... Character image information composition method control bus, S4 ...
Line buffer control bus, S5 …… Character generation enable signal, S6 …… Line buffer empty signal, S8 …… Image information register data request signal, S9 …… Character generation end signal, S10 ……
Interrupt signal, S11 output image information bus, S12 …… input image information bus, S13 …… reference output image information bus, S14 …… character generator interface bus, S15 …… image information data DMA request signal, S16 …… DMA acceptance Signal, S17 ... Encoder / decoder interface bus, S18 ... Recording interface bus, S19 ... Reading interface bus, S20 ...
BRAM address bus, S21 …… BRAM data bus, S22 …… Data direction signal, 201,202,203,301,309,501,502,503 ……
Register, 504 ... RAM for character code buffer (CRAM).
───────────────────────────────────────────────────── フロントページの続き (72)発明者 大島 昇徳 東京都目黒区下目黒2丁目3番8号 松下 電送株式会社内 (72)発明者 山谷 誠 大阪府門真市大字門真1006番地 松下電子 工業株式会社内 (56)参考文献 特開 昭57−157687(JP,A) 特開 昭57−14247(JP,A) 特開 昭54−89521(JP,A) 特開 昭54−55329(JP,A) 欧州特許出願公開55374(1982.7.7) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Shonori Oshima 2-3-8 Shimomeguro, Meguro-ku, Tokyo Within Matsushita Electric Transmission Co., Ltd. (72) Makoto Yamatani 1006 Kadoma, Kadoma-shi, Osaka Matsushita Electronics Industrial Incorporated (56) Reference JP 57-157687 (JP, A) JP 57-14247 (JP, A) JP 54-89521 (JP, A) JP 54-55329 (JP, A) European Patent Application Publication 55374 (1982.7.7)
Claims (1)
を行なう入出力制御部と、総容量が予め規定された画情
報ラインバッファ用の記憶手段と、この記憶手段に対す
るアドレス交換に関する制御情報を保持する制御レジス
タ部と、この制御レジスタ部に保持された制御情報にし
たがって前記記憶手段に転送される画情報の1ライン当
りの容量を設定するとともに前記入出力制御部を介して
転送される画情報の読み書きを前記1ライン当りの容量
を単位として実行するラインバッファ制御手段とを具備
し、前記制御レジスタ部に保持された制御情報は外部マ
イクロコンピュータに接続されるバスを介して可変設定
可能としたことを特徴とする画情報ラインバッファ装
置。1. An input / output control unit for inputting / outputting image information to / from a reading unit, a recording unit, etc., a storage unit for an image information line buffer whose total capacity is defined in advance, and a control relating to address exchange for this storage unit. A control register unit for holding information, and a capacity per line of image information transferred to the storage unit is set according to the control information held in the control register unit and is transferred via the input / output control unit. Line buffer control means for executing reading and writing of image information according to the capacity per line, and the control information held in the control register section is variably set via a bus connected to an external microcomputer. An image information line buffer device characterized in that it is possible.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57156180A JPH0722316B2 (en) | 1982-09-08 | 1982-09-08 | Image information line buffer device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57156180A JPH0722316B2 (en) | 1982-09-08 | 1982-09-08 | Image information line buffer device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5945760A JPS5945760A (en) | 1984-03-14 |
| JPH0722316B2 true JPH0722316B2 (en) | 1995-03-08 |
Family
ID=15622099
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57156180A Expired - Lifetime JPH0722316B2 (en) | 1982-09-08 | 1982-09-08 | Image information line buffer device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0722316B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0170977A3 (en) * | 1984-08-06 | 1988-03-16 | Honeywell Bull Inc. | Display subsystem |
| JPS623382A (en) * | 1985-06-28 | 1987-01-09 | Toshiba Corp | Picture processor |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5455329A (en) * | 1977-10-13 | 1979-05-02 | Mitsubishi Electric Corp | Display unit |
| JPS5489521A (en) * | 1977-12-27 | 1979-07-16 | Ricoh Co Ltd | Synthesizer for recording picture signal |
| JPS5714247A (en) * | 1980-06-30 | 1982-01-25 | Canon Inc | Information retrieval device |
| US4476522A (en) * | 1981-03-09 | 1984-10-09 | International Business Machines Corporation | Programmable peripheral processing controller with mode-selectable address register sequencing |
-
1982
- 1982-09-08 JP JP57156180A patent/JPH0722316B2/en not_active Expired - Lifetime
Non-Patent Citations (1)
| Title |
|---|
| 欧州特許出願公開55374(1982.7.7) |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5945760A (en) | 1984-03-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0071296A1 (en) | Office system comprising terminals, a data processor and peripheral apparatuses and a switching device for mass data transport between the peripheral apparatuses and a switching device for use in such an office system | |
| JP2862242B2 (en) | Image reading device | |
| US5577182A (en) | Image processing apparatus | |
| JP2549642B2 (en) | Image processing device | |
| JPS5948393B2 (en) | display device | |
| JPH02230383A (en) | Image processing device | |
| JPH0722316B2 (en) | Image information line buffer device | |
| JP3260913B2 (en) | Image playback device | |
| JPS60124764A (en) | Direct memory access controller | |
| US6628289B1 (en) | Rendering apparatus and method, and storage medium | |
| JP3359977B2 (en) | Image forming device | |
| JP2711673B2 (en) | Image data transfer control method and device | |
| EP1163640B1 (en) | Bit string conversion device and method | |
| JPS62128329A (en) | Print image display system | |
| KR940005003Y1 (en) | Dynamic memory access system | |
| JPH0563959A (en) | Method and device for processing picture | |
| JP3546527B2 (en) | Image data rotation processing device | |
| JP2945028B2 (en) | Image processing designated area information calculation device | |
| JP2546247B2 (en) | Character scaling circuit | |
| JPH0438389Y2 (en) | ||
| JPH02235181A (en) | Image input device | |
| EP0242139A2 (en) | Display controller | |
| JPH1040399A (en) | Drawing apparatus, oblique line drawing data generating apparatus, oblique line drawing address generating apparatus, and broken line pattern generating apparatus | |
| JPH09198027A (en) | Character display device | |
| JPH03268040A (en) | Address generator |