JP2004304855A - Image forming apparatus - Google Patents

Image forming apparatus Download PDF

Info

Publication number
JP2004304855A
JP2004304855A JP2004210911A JP2004210911A JP2004304855A JP 2004304855 A JP2004304855 A JP 2004304855A JP 2004210911 A JP2004210911 A JP 2004210911A JP 2004210911 A JP2004210911 A JP 2004210911A JP 2004304855 A JP2004304855 A JP 2004304855A
Authority
JP
Japan
Prior art keywords
data
memory
bus
data bus
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2004210911A
Other languages
Japanese (ja)
Other versions
JP4010310B2 (en
Inventor
Tomohiro Suzuki
友弘 鈴木
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta 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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2004210911A priority Critical patent/JP4010310B2/en
Publication of JP2004304855A publication Critical patent/JP2004304855A/en
Application granted granted Critical
Publication of JP4010310B2 publication Critical patent/JP4010310B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image forming apparatus provided with an image processing apparatus capable of executing other data processing by allowing other CPU and other DMAC to use other data bus even when one CPU and one DMAC exclusively use a data bus. <P>SOLUTION: A first interface control section controls a first FIFO memory and a memory control section controls a third FIFO memory to attain transfer of data from a scanner section or a communication control section to the memories and a second interface control section controls a second FIFO memory and the memory control section controls the third FIFO memory to attain transfer of data from the memories to a printer section or the communication control section so as to allow the memories to access the first and second data buses in time series. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は複写機やプリンタ、ファクシミリなどの画像形成装置に関する。   The present invention relates to an image forming apparatus such as a copying machine, a printer, and a facsimile.

近年、原稿画像から取得した画像データに基づいて画像形成を行うデジタル複写機が使用されるに至っている。この種の複写機では原稿の画像情報がスキャナ等により読み込まれ、その原稿の画像情報が一旦、画像メモリに蓄えられる。そして、該画像メモリに蓄えられた画像情報はユーザの要求に応じて画像の縮小、拡大及び回転などの画像処理が施される。これにより、画像処理された画像データに基づいてその原稿の画像を所定の転写紙に複写することができる。   In recent years, digital copiers that form images based on image data obtained from document images have been used. In this type of copier, image information of a document is read by a scanner or the like, and the image information of the document is temporarily stored in an image memory. The image information stored in the image memory is subjected to image processing such as reduction, enlargement, and rotation of the image in response to a user request. Thus, the image of the original can be copied onto a predetermined transfer sheet based on the image data on which the image processing has been performed.

ところで、この種のデジタル複写機では原稿の画像情報を一旦蓄積するために大容量のメモリが設けられ、その画像情報を効率良くデータ転送する技術が必要になる。   In this type of digital copying machine, a large-capacity memory is provided for temporarily storing image information of a document, and a technique for efficiently transferring the image information is required.

図7はこの種の画像メモリを用いた従来方式の画像形成装置500の構成例を示すブロック図である。この画像形成装置500は図7に示すCPUバス1を有している。このCPUバス1には、システム制御手段2、画像メモリ3、ダイレクトメモリアクセスコントローラ(以下単にDMACという)4、画像取得手段5及び画像再生手段6とが接続されている。   FIG. 7 is a block diagram showing a configuration example of a conventional image forming apparatus 500 using this type of image memory. This image forming apparatus 500 has a CPU bus 1 shown in FIG. The CPU bus 1 is connected to a system control unit 2, an image memory 3, a direct memory access controller (hereinafter simply referred to as a DMAC) 4, an image acquisition unit 5, and an image reproduction unit 6.

このCPUバス1に接続されたシステム制御手段2はCPU2a,ROM2b,RAM2c及び操作部2dを有している。CPU2aは画像形成装置500の全体制御を行うICで、その制御プログラムはROM2bに格納されている。RAM2cはCPU2aが演算を行うときに、一時的に使用されるメモリで、制御プログラムの実行上必要になるものである。   The system control means 2 connected to the CPU bus 1 has a CPU 2a, a ROM 2b, a RAM 2c, and an operation unit 2d. The CPU 2a is an IC that controls the entire image forming apparatus 500, and its control program is stored in the ROM 2b. The RAM 2c is a memory temporarily used when the CPU 2a performs an operation, and is necessary for executing a control program.

例えば、画像取得手段5や画像再生手段6に起動指示などの制御命令が出力されたとき、CPU2aによってRAM2cにその制御命令が書き込まれ、その後、画像データの書き込み終了通知などがあった場合にこの制御命令に対するものかが照合される。   For example, when a control instruction such as a start instruction is output to the image acquisition unit 5 or the image reproduction unit 6, the control instruction is written into the RAM 2 c by the CPU 2 a, and thereafter, when a write end notification of the image data is given, It is checked whether it is for the control command.

また、操作部2dはユーザと本装置との間のインタフェースに必要なものであり、この指示によりCPU2aは所定のデータ処理を実行する。CPUバス1に接続された画像メモリ3は複数ページ分の容量をもつ比較的大きな容量のメモリで、図示しないが符号化処理を行うことにより符号データの蓄積も行われる。DMAC4はCPU2aの介在なしに各デバイス間のデータ転送を実行するもので、CPU2aに比べ高速にデータ転送を行うことができる。   The operation unit 2d is necessary for an interface between the user and the apparatus, and the CPU 2a executes predetermined data processing according to the instruction. The image memory 3 connected to the CPU bus 1 is a relatively large-capacity memory having a capacity for a plurality of pages. Although not shown, code data is accumulated by performing an encoding process. The DMAC 4 performs data transfer between devices without the intervention of the CPU 2a, and can perform data transfer at a higher speed than the CPU 2a.

このCPUバス1に接続された画像取得手段5はスキャナ用インタフェース5a、スキャナ部5b及びページメモリ5cを有している。スキャナ用インタフェース5aはスキャナ部5bの駆動制御及びページメモリ5cにおける画像データ(DATA)の書き込み読み出し制御を行うものである。ページメモリ5cはスキャナ部5bからの画像データを1ページ分格納するメモリで、スキャナ部5bとCPU2aのデータ転送速度の整合及びCPUバス1の使用効率の向上のため必要になるものである。   The image acquisition unit 5 connected to the CPU bus 1 has a scanner interface 5a, a scanner unit 5b, and a page memory 5c. The scanner interface 5a controls the driving of the scanner unit 5b and controls the writing and reading of image data (DATA) in the page memory 5c. The page memory 5c is a memory for storing one page of image data from the scanner unit 5b, and is necessary for matching the data transfer speed between the scanner unit 5b and the CPU 2a and improving the use efficiency of the CPU bus 1.

更に、CPUバス1に接続された画像再生手段6はプリンタ用インタフェース6a,ページメモリ6b及びプリンタ部6cを有している。プリンタ用インタフェース6aはプリンタ部6cの駆動制御及びページメモリ6bにおける画像データの書き込み読み出し制御を行うものである。ページメモリ6bはプリンタ部6cへの書き込みデータを1ページ分格納するメモリで、プリンタ6cとCPU2aのデータ転送速度の整合及びCPUバス1の使用効率の向上のため必要になるものである。   Further, the image reproducing means 6 connected to the CPU bus 1 has a printer interface 6a, a page memory 6b, and a printer section 6c. The printer interface 6a controls the driving of the printer unit 6c and controls the writing and reading of image data in the page memory 6b. The page memory 6b is a memory for storing one page of data to be written to the printer unit 6c, and is necessary for matching the data transfer speed between the printer 6c and the CPU 2a and improving the use efficiency of the CPU bus 1.

次に、画像形成装置500の動作を説明する。始めに、単一原稿時のコピー動作について説明する。まず、操作部2dから1ページコピーの指示を受けると、CPU2aから画像取得手段5へスキャナ駆動が指示される。この指示を受けたスキャナ用インタフェース5aではスキャナ部5bが駆動されると共に、スキャナ部5bから原稿の画像データが取得され、その画像データが順次ページメモリ5cに格納される。1ページ分の画像データがページメモリ5cに格納されると、スキャナ用インタフェース5aはCPU2aに対して画像データの読み取り終了を通知する。   Next, the operation of the image forming apparatus 500 will be described. First, a copy operation for a single original will be described. First, when a one-page copy instruction is received from the operation unit 2d, the CPU 2a instructs the image acquisition unit 5 to drive the scanner. Upon receiving this instruction, the scanner interface 5a drives the scanner section 5b, acquires image data of the document from the scanner section 5b, and sequentially stores the image data in the page memory 5c. When one page of image data is stored in the page memory 5c, the scanner interface 5a notifies the CPU 2a of the end of reading the image data.

この通知を受けたCPU2aからDMAC4に対して、スキャナ用インタフェース5aからプリンタ用インタフェース6aへ画像データを転送するように指示が与えられる。そして、1ページ分の画像データがスキャナ用のページメモリ5cからプリンタ用のページメモリ6bに転送される。この1ページの画像データの転送が終わると、DMAC4からCPU2aに対して、転送終了が通知される。この通知を受けたCPU2aから画像再生手段6へプリンタ駆動が指示される。この指示を受けたプリンタ用インタフェース6aによって、ページメモリ6bから画像データが読み出され、その画像データがプリンタ部6cに出力される。プリンタ部6cでは1ページの画像データに基づいて、原稿の画像を転写紙などに複写することができる。   The CPU 2a receiving this notification instructs the DMAC 4 to transfer image data from the scanner interface 5a to the printer interface 6a. Then, the image data for one page is transferred from the page memory 5c for the scanner to the page memory 6b for the printer. When the transfer of the image data of one page is completed, the DMAC 4 notifies the CPU 2a of the completion of the transfer. The CPU 2a receiving this notification instructs the image reproducing means 6 to drive the printer. The image data is read from the page memory 6b by the printer interface 6a receiving this instruction, and the image data is output to the printer unit 6c. The printer unit 6c can copy the image of the document on a transfer paper or the like based on the image data of one page.

次に、複数枚の原稿を複数部コピーするときの動作について説明する。まず、操作部2dからの指示を受けたCPU2aによって画像取得手段5に対してスキャナ駆動が指示される。この指示を受けたスキャナ用インタフェース5aでは、スキャナ部5bによって取得された1ページ分の画像データがページメモリ5cに格納されると、その後、スキャナ用インタフェース5aからCPU2aへ1ページ分の画像データの読み取り終了が通知される。この通知を受けたCPU2aからDMAC4にデータ転送が指示されるので、ページメモリ5cに格納された画像データが画像メモリ3に転送される。   Next, the operation when copying a plurality of copies of a plurality of documents will be described. First, the CPU 2a that has received the instruction from the operation unit 2d instructs the image acquisition unit 5 to drive the scanner. In the scanner interface 5a receiving this instruction, the image data for one page acquired by the scanner unit 5b is stored in the page memory 5c, and then the image data for one page is sent from the scanner interface 5a to the CPU 2a. The end of reading is notified. The CPU 2a that has received this notification instructs the DMAC 4 to transfer data, so that the image data stored in the page memory 5c is transferred to the image memory 3.

この一連の動作が原稿枚数分だけ繰り返され、全ての画像データが画像メモリ3に蓄積される。その後、蓄積された画像データはCPU2aの指示によりプリンタ用インタフェース6aに転送される。このとき、DMAC4により1ページ分の画像データが画像メモリ3からプリンタ用のページメモリ6dに格納されると、CPU2aからプリンタ用インタフェース6aに対してプリンタ起動が指示される。   This series of operations is repeated by the number of documents, and all image data is stored in the image memory 3. Thereafter, the stored image data is transferred to the printer interface 6a according to an instruction from the CPU 2a. At this time, when one page of image data is stored in the printer page memory 6d from the image memory 3 by the DMAC 4, the CPU 2a instructs the printer interface 6a to start the printer.

この指示を受けたプリンタ用インタフェース6aによって1ページ分の画像データがプリンタ部6cに出力されると、CPU2aに対して印刷終了が通知される。この通知を受けたCPU2aからDMAC4へ次ページの画像データの転送が指示され、その印刷が開始される。   When one page of image data is output to the printer unit 6c by the printer interface 6a receiving this instruction, the CPU 2a is notified of the end of printing. The CPU 2a having received the notification instructs the DMAC 4 to transfer the image data of the next page, and the printing is started.

この一連の動作が原稿枚数分だけ繰り返されるので、最初の1部のコピーが完了する。この例ではCPU2aに対して複数部のコピーが指示されているので、DMAC4に対して、再度1ページ目の画像データを画像メモリ3からプリンタ用インタフェース6aへ転送するように指示される。これ以降は、同一動作を設定された部数分だけ繰り返すことにより、複数部のコピーを行うことができる。   This series of operations is repeated by the number of documents, so that the first copy is completed. In this example, since multiple copies are instructed to the CPU 2a, the DMAC 4 is instructed to transfer the image data of the first page from the image memory 3 to the printer interface 6a again. Thereafter, the same operation is repeated for the set number of copies, so that a plurality of copies can be made.

ところで、従来方式の画像形成装置10によれば、本装置に通信手段を付加することにより、複写機能にプリンタ、ファクシミリ機能を複合させたデータ処理装置の要求がある。この要求に対して、いわゆるメモリ通信や同報通信などを行うために画像メモリ3を効率良く使用しなければならない。しかしながら、従来方式では1本のCPUバス1に画像メモリ3、DMCA4、画像取得手段5及び画像再生手段6が接続され、しかも、各々の手段5,6毎にページメモリ5cや6bが接続されている。   By the way, according to the conventional image forming apparatus 10, there is a demand for a data processing apparatus in which a printer and a facsimile function are combined with a copying function by adding communication means to the apparatus. In response to this request, the image memory 3 must be used efficiently for performing so-called memory communication or broadcast communication. However, in the conventional method, the image memory 3, the DMCA 4, the image acquisition unit 5 and the image reproduction unit 6 are connected to one CPU bus 1, and the page memories 5 c and 6 b are connected to each of the units 5 and 6. I have.

従って、スキャナ部5c及びプリンタ部6cの動作時以外はスキャナー用及びプリンタ用のページメモリ5c,6bが使用されないので、メモリ使用効率が悪くなるというシステム構築上の問題がある。因なみに、ページメモリ5c,6bは一番大きな原稿サイズ(例えばA3サイズ)の画像データが記録できるような容量を有している。これにより、A3サイズより小さな原稿を複写する場合は、使用しないメモリ領域が発生してしまいメモリ使用効率が低下する。   Therefore, since the page memories 5c and 6b for the scanner and the printer are not used except during the operation of the scanner unit 5c and the printer unit 6c, there is a problem in system construction that the memory use efficiency is deteriorated. Incidentally, the page memories 5c and 6b have a capacity for recording image data of the largest document size (for example, A3 size). As a result, when copying a document smaller than the A3 size, an unused memory area is generated, and the memory use efficiency is reduced.

また、複数枚の原稿を複数部コピーするとき、すなわち、1ページの画像データを読み込んだ後に、1ページ目の原稿をプリントアウトしながら複数部のコピーを同時に行う場合に、DMAC4によってスキャナ用のページメモリ5cから画像メモリ3とプリンタ用のページメモリ6bとの両方に画像データを転送しなければならない。従って、画像データを2度に分けて転送しなければならず、単一原稿時のデータ転送時間の約2倍になる。   Further, when copying a plurality of copies of a plurality of originals, that is, when reading one page of image data and then simultaneously performing a plurality of copies while printing out the first page of the original, the DMAC 4 is used for a scanner. Image data must be transferred from the page memory 5c to both the image memory 3 and the page memory 6b for the printer. Therefore, the image data must be transferred twice, which is about twice as long as the data transfer time for a single original.

更に、CPUバス1に接続されたDMAC4の転送速度がCPU2aのバス占有率によって変化するので、DMAC4によって前ページの画像データ上に次ページの画像データが上書きされてしまう場合がある。これは、CPU2aのバス占有率の変化によって、DMAC4の転送速度が低下したときなどに、1ページ分の画像データがページメモリ5aから画像メモリ3へ全て転送される前に、次ページの画像データの読み込みが開始された場合に発生する。   Further, since the transfer speed of the DMAC 4 connected to the CPU bus 1 changes depending on the bus occupancy of the CPU 2a, the DMAC 4 may overwrite the image data of the previous page with the image data of the next page. This is because, when the transfer speed of the DMAC 4 is reduced due to a change in the bus occupancy of the CPU 2a, the image data of the next page is not transferred before all the image data of one page is transferred from the page memory 5a to the image memory 3. Occurs when the reading of a has started.

同様に、1ページ分の画像データをページメモリ6bに格納する前に、プリンタの起動指示がなされると、画像データのアンダーフローが発生して原稿の上部が複写されない場合がある。このような状態を避けるために、CPU2aに優先してDMAC(以下外部機器ともいう)4にCPUバス1を専有させるようにすると、CPU2aの処理速度が低下したり、CPUバス(以下データバスともいう)1や画像メモリ(以下データ用のメモリともいう)3を使用したファックス処理などをCPU(以下外部機器ともいう)2aに実行させることが困難になるという問題がある。   Similarly, if an instruction to start up the printer is given before the image data for one page is stored in the page memory 6b, an underflow of the image data may occur and the upper part of the document may not be copied. If the DMAC (hereinafter also referred to as an external device) 4 is made to occupy the CPU bus 1 in preference to the CPU 2a in order to avoid such a state, the processing speed of the CPU 2a is reduced or the CPU bus (hereinafter also referred to as a data bus) is used. 1) and a facsimile process using an image memory (hereinafter also referred to as data memory) 3 by a CPU (hereinafter referred to as an external device) 2a.

そこで、この発明は上述した課題を解決したものであって、一方の外部機器がデータバスを専有していた場合でも、他方の外部機器が他のデータバスを使用して他のデータ処理を実行できるようにすると共に、各々のデータバスに接続された外部機器によってデータ用のメモリを時系列的に共用できるようにしたデータ処理装置を具備した画像形成装置を提供することを目的とする。   In view of the above, the present invention has solved the above-described problem. Even when one external device occupies a data bus, the other external device executes another data process using another data bus. It is another object of the present invention to provide an image forming apparatus including a data processing device capable of chronologically sharing a data memory with an external device connected to each data bus.

請求項1に係る発明は、第1のデータバスと、
前記第1のデータバスと接続される通信制御部と、
第2のデータバスと、
前記第2のデータバスと接続され、データに基づいて画像形成を行うプリンタ部と、
データ用のメモリと、
前記メモリと前記第1のデータバスとの間でのデータの書き込み読み出しをし、前記メモリと前記第2のデータバスとの間でのデータの書き込み読み出しをし、及び、前記第1のデータバスと前記第2のデータバスとの間でのデータ転送を行う3方向性のインタフェース手段とを備え、
前記3方向性のインタフェース手段は、
前記第1のデータバスと接続する第1のインタフェース部と、
前記第2のデータバスと接続する第2のインタフェース部と、
前記メモリへのデータの書き込み読み出しを制御するメモリ制御手段と、
前記第1のインタフェース部から入力されるデータを一時記憶する第1のFIFOメモリと、
前記第2のインタフェース部へ出力されるデータを一時記憶する第2のFIFOメモリと、
前記メモリ制御手段によって書き込み読み出し制御されるデータを一時記憶する第3のFIFOメモリと、
第1のインタフェース部および前記メモリ制御手段を制御することにより、前記通信制御部から前記メモリへのデータ転送を可能とし、
第1のインタフェース部および前記メモリ制御手段を制御することにより、前記メモリから前記プリンタ部へのデータ転送を可能とし、
前記メモリに対して前記第1のデータバス及び前記第2のデータバスを時系列的にアクセス可能に制御する制御部とを有していること
を特徴とする画像形成装置である。
The invention according to claim 1 includes a first data bus,
A communication control unit connected to the first data bus;
A second data bus;
A printer unit connected to the second data bus and performing image formation based on data;
Memory for data,
Writing and reading data between the memory and the first data bus, writing and reading data between the memory and the second data bus, and And three-way interface means for performing data transfer between the first data bus and the second data bus.
The three-way interface means includes:
A first interface unit connected to the first data bus;
A second interface unit connected to the second data bus;
Memory control means for controlling writing and reading of data to and from the memory,
A first FIFO memory for temporarily storing data input from the first interface unit;
A second FIFO memory for temporarily storing data output to the second interface unit;
A third FIFO memory for temporarily storing data to be written and read by the memory control means;
By controlling the first interface unit and the memory control unit, it is possible to transfer data from the communication control unit to the memory,
By controlling the first interface unit and the memory control unit, it is possible to transfer data from the memory to the printer unit,
An image forming apparatus, comprising: a control unit that controls the first data bus and the second data bus so as to be able to access the memory in a time-series manner.

請求項2に係る発明は、データに基づいて画像形成を行うプリンタ部を有する画像形成装置において、
第1のデータバスと、
前記第1のデータバスと接続される通信制御部と、
第2のデータバスと、
前記第2のデータバスと接続されるスキャナ部と、
前記データ用のメモリと、
前記メモリと前記第1のデータバスとの間でのデータの書き込み読み出をし、前記メモリと前記第2のデータバスとの間でのデータの書き込み読み出をし、及び、前記第1のデータバスと前記第2のデータバスとの間でのデータ転送を行う3方向性のインタフェース手段とを備え、
前記3方向性のインタフェース手段は、
前記第1のデータバスと接続する第1のインタフェース部と、
前記第2のデータバスと接続する第2のインタフェース部と、
前記メモリへのデータの書き込み読み出しを制御するメモリ制御手段と、
前記第1のインタフェース部へ出力されるデータを一時記憶する第1のFIFOメモリと、
前記第2のインタフェース部から入力されるデータを一時記憶する第2のFIFOメモリと、
前記メモリ制御手段によって書き込み読み出し制御されるデータを一時記憶する第3のFIFOメモリと、
第2のインタフェース部および前記メモリ制御手段を制御することにより、前記スキャナ部から前記メモリへのデータ転送を可能とし、
第1のインタフェース部および前記メモリ制御手段を制御することにより、前記メモリから前記通信制御部へのデータ転送を可能とし、
前記メモリに対して前記第1のデータバス及び前記第2のデータバスを時系列的にアクセス可能に制御する制御部とを有していることを特徴とする画像形成装置である。
The invention according to claim 2 is an image forming apparatus having a printer unit that forms an image based on data,
A first data bus;
A communication control unit connected to the first data bus;
A second data bus;
A scanner unit connected to the second data bus;
A memory for the data;
Writing and reading data between the memory and the first data bus, writing and reading data between the memory and the second data bus, and Three-way interface means for performing data transfer between a data bus and the second data bus,
The three-way interface means includes:
A first interface unit connected to the first data bus;
A second interface unit connected to the second data bus;
Memory control means for controlling writing and reading of data to and from the memory,
A first FIFO memory for temporarily storing data output to the first interface unit;
A second FIFO memory for temporarily storing data input from the second interface unit;
A third FIFO memory for temporarily storing data to be written and read by the memory control means;
By controlling a second interface unit and the memory control unit, it is possible to transfer data from the scanner unit to the memory,
By controlling the first interface unit and the memory control unit, it is possible to transfer data from the memory to the communication control unit,
An image forming apparatus, comprising: a control unit that controls the first data bus and the second data bus so as to be able to access the memory in a time-series manner.

請求項3に係る発明は、前記第1のインタフェース部、前記第2のインタフェース部、及び前記メモリ制御手段を入出力制御するための制御命令と、前記第1、第2及び第3のFIFOメモリのデータ書き込み読み出し制御するための制御命令とを一時記憶する制御用のメモリを有することを特徴とする請求項1又は2に記載の画像形成装置である。   The invention according to claim 3, wherein a control command for input / output control of the first interface unit, the second interface unit, and the memory control unit, and the first, second, and third FIFO memories 3. The image forming apparatus according to claim 1, further comprising a control memory for temporarily storing a control command for performing the data write / read control. 4.

本発明によれば、スキャナ部及びプリンタ部などによってメモリを共用できるので、従来方式のようなページメモリが不要となると共に、メモリの使用効率が向上する。   According to the present invention, since the memory can be shared by the scanner unit and the printer unit, a page memory as in the conventional system is not required, and the use efficiency of the memory is improved.

また、1本のデータバスを2つに分断したデータ転送制御をすることができるので、例えば、第1のデータバスに接続された外部機器が、データ用のメモリとの間でデータの書き込み読み出しを行っているときに、第2のデータバスとデータ用のメモリとの間におけるデータの書き込み読み出しを停止させたり、データ用のメモリから読み出された同じデータを第2のデータバスに転送したりすることができる。   In addition, since data transfer control in which one data bus is divided into two can be performed, for example, an external device connected to the first data bus writes and reads data to and from a data memory. The data writing / reading between the second data bus and the data memory is stopped, or the same data read from the data memory is transferred to the second data bus. Or you can.

従って、第1のデータバスに接続された外部機器が、データ用のメモリとの間でデータを書き込み読み出しを行っているときは、第2のデータバスを他の外部機器に開放することができる。これと共に、第1のデータバスに接続された外部機器と、第2のデータバスに接続された外部機器とでデータ用のメモリを時系列的若しくは同時に共用することができる。   Therefore, when an external device connected to the first data bus is writing and reading data to and from the data memory, the second data bus can be opened to another external device. . At the same time, an external device connected to the first data bus and an external device connected to the second data bus can share a data memory in chronological order or simultaneously.

また、本発明によれば、1本のデータバスを2つに分断して、2つのデータバス間でデータ転送を行うことが可能で、しかも、上位の制御装置などに過度な制御負担などをかけないようなデータ処理システムを構築することができる。   Further, according to the present invention, it is possible to divide one data bus into two and perform data transfer between the two data buses, and to place an excessive control burden on a higher-level control device or the like. It is possible to construct a data processing system that does not run.

以下、図面を参照しながら、この発明の実施形態としてのデータ処理装置及びシステム構築方法について説明をする。   Hereinafter, a data processing device and a system construction method according to an embodiment of the present invention will be described with reference to the drawings.

(1)インタフェース装置の構成例
図1は、この実施形態としてのデータ処理装置に適用されるインタフェース装置の構成例を示す図である。
(1) Configuration Example of Interface Device FIG. 1 is a diagram illustrating a configuration example of an interface device applied to a data processing device according to this embodiment.

本実施の形態では、データ用のメモリと2つに分断されたデータバスに3方向性のインタフェース手段を接続して、一方のデータバスに接続された外部機器が、データ用のメモリとの間でデータを書き込み読み出しを行っているときは、他方のデータバスを他の外部機器に開放できるようにすると共に、各々のデータバスに接続された外部機器によってデータ用のメモリを時系列的若しくは同時に共用できるようにしたものである。   In the present embodiment, a three-way interface is connected to a data memory and a data bus divided into two, and an external device connected to one data bus is connected to the data memory. When writing / reading data at the same time, the other data bus can be opened to other external devices, and the data memory can be stored in time series or simultaneously by external devices connected to each data bus. It is designed to be shared.

このインタフェース装置100は図1に示す第1のデータバス11及び第2のデータバス12の間に接続されて使用される。データバス11には双方向性の第1のインタフェース部13が接続され、このデータバス11との間でデータが入出力される。インタフェース部13の内部への出力段にはデータ用の第1のメモリとしてのFIFOメモリ14aが接続され、データバス11から入力されたデータが一時記録される。FIFOメモリ14aは2つのデータバス間のデータ転送速度を整合するために必要となる。FIFOメモリ14aによるデータは最初に入力されたものから最初に出力される。   The interface device 100 is used by being connected between the first data bus 11 and the second data bus 12 shown in FIG. A bidirectional first interface unit 13 is connected to the data bus 11, and data is input and output to and from the data bus 11. A FIFO memory 14a as a first data memory is connected to an output stage to the inside of the interface unit 13, and data input from the data bus 11 is temporarily recorded. The FIFO memory 14a is required to match the data transfer speed between the two data buses. Data from the FIFO memory 14a is output first from the first input.

FIFOメモリ14aの出力段には内部データバス15aを介在して第2のインタフェース部16が接続される。インタフェース部16の外部への出力段にはデータバス12が接続され、データバス11からのデータがデータバス12に出力される。   A second interface unit 16 is connected to an output stage of the FIFO memory 14a via an internal data bus 15a. A data bus 12 is connected to an output stage to the outside of the interface unit 16, and data from the data bus 11 is output to the data bus 12.

また、インタフェース部16の内部への出力段にはデータ用の第2のメモリとしてのFIFOメモリ14bが接続され、上述した理由からデータバス12より入力されたデータが一時記録される。このデータは最初に入力されたものから、最初に出力される。このFIFOメモリ14bの出力段には内部データバス15bを介在してインタフェース部13が接続される。インタフェース部13の外部への出力段にはデータバス11が接続され、データバス12からのデータがデータバス11に出力される。   Further, a FIFO memory 14b as a second memory for data is connected to an output stage to the inside of the interface unit 16, and the data input from the data bus 12 is temporarily recorded for the above-described reason. This data is output first from the first input. The interface section 13 is connected to an output stage of the FIFO memory 14b via an internal data bus 15b. A data bus 11 is connected to an output stage to the outside of the interface unit 13, and data from the data bus 12 is output to the data bus 11.

更に、上述の2つのインタフェース部13及び16間には制御用のメモリ17が接続され、例えばこのインタフェース装置100を含めたデータ処理システムを構築したときに、そのシステム上位の制御装置などからの制御命令D1が一時記録される。この例で制御用のメモリ17はコマンドレジスタ17a及びステータスレジスタ17bを有している。上述の制御命令D1はこのコマンドレジスタ17aに記録される。   Further, a control memory 17 is connected between the two interface units 13 and 16. For example, when a data processing system including this interface device 100 is constructed, control from a higher-level control device or the like is performed. The command D1 is temporarily recorded. In this example, the control memory 17 has a command register 17a and a status register 17b. The control command D1 described above is recorded in the command register 17a.

このインタフェース装置100へのアクセス方法には、一義的に決めたチップセレクト信号を使用する方法や、アドレスデコード方式を使用する方法などが考えられる。アドレスデコード方式は予めROMなどにマッピンクされたアドレスAddをアクセス時に制御装置などによって、データバス11上にそのアドレスをドライブする。これにより、インタフェース装置100内のアドレスレジスタに設定するようにして、そのインタフェース装置100内でアドレスをデコードすることによりアクセスを受け付ける方法である。以降の説明では、後者の場合を想定して説明をする。   As a method of accessing the interface device 100, a method using a uniquely determined chip select signal, a method using an address decoding method, and the like can be considered. In the address decoding method, when an address Add mapped in advance to a ROM or the like is accessed, the address is driven onto the data bus 11 by a control device or the like at the time of access. This is a method of setting an address register in the interface device 100 and receiving an access by decoding the address in the interface device 100. In the following description, the latter case will be described.

例えば、インタフェース部13又はインタフェース部16内にはインタフェース制御部18が設けられ、コマンドレジスタ17aに記録された制御命令D1に基づいてFIFOメモリ14a,14bのデータ書き込み読み出し制御が行われ、しかも、インタフェース部13、16、内部データバス15a,15bの入出力が制御される。   For example, an interface control unit 18 is provided in the interface unit 13 or the interface unit 16, and performs data write / read control of the FIFO memories 14a and 14b based on a control command D1 recorded in a command register 17a. Input / output of the units 13, 16 and the internal data buses 15a, 15b is controlled.

インタフェース制御部18には図2に示すアドレスレジスタ18a,デコーダ18b,タイミング発生回路18cなどが設けられる。アドレスレジスタ18aには、アクセス時に本インタフェース装置100宛のアドレスが設定される。本インタフェース装置100宛のアクセスであるかは、そのアドレスがデコーダ18bによって解読されることで判断される。このデコーダ18bは制御命令D1の解読にも使用される。この制御命令D1のデコード結果に基づいてタイミング発生回路18cではスイッチ制御信号S1〜S4が発生される。   The interface control unit 18 includes an address register 18a, a decoder 18b, a timing generation circuit 18c, and the like shown in FIG. An address addressed to the interface device 100 is set in the address register 18a at the time of access. Whether the access is addressed to the interface device 100 is determined by decoding the address by the decoder 18b. This decoder 18b is also used for decoding the control instruction D1. The switch control signals S1 to S4 are generated in the timing generation circuit 18c based on the decoding result of the control instruction D1.

スイッチ制御信号S1はインタフェース部13のバス切換えに使用され、スイッチ制御信号S2はインタフェース部16のバス切換えに使用される。メモリ制御信号S3はFIFOメモリ14aの書き込み読み出しに使用され、メモリ制御信号S4はFIFOメモリ14bの書き込み読み出しに使用される。   The switch control signal S1 is used for bus switching of the interface unit 13, and the switch control signal S2 is used for bus switching of the interface unit 16. The memory control signal S3 is used for writing and reading of the FIFO memory 14a, and the memory control signal S4 is used for writing and reading of the FIFO memory 14b.

ステータスレジスタ17bには制御通知情報が一時記録される。この制御通知情報は制御命令D1に関して実行されたデータ転送結果などを示す終了ステータスデータD2のようなものであり、システム上位の制御装置などはこの終了ステータスデータD2を受信することで、先にインタフェース装置100に与えた制御命令D1に対するデータ処理が終了したかを判断することができる。   Control notification information is temporarily recorded in the status register 17b. The control notification information is such as end status data D2 indicating the result of data transfer executed with respect to the control command D1, and the control device or the like in the upper system receives the end status data D2, and then receives the interface status first. It can be determined whether the data processing for the control command D1 given to the device 100 has been completed.

次に、図2を参照しながら、インタフェース装置100の動作を説明する。この例ではデータバス11,12間でデータ転送をするときに、コマンドレジスタ17aに制御命令D1が書き込まれるようになされたものである。   Next, the operation of the interface device 100 will be described with reference to FIG. In this example, when data is transferred between the data buses 11 and 12, the control command D1 is written in the command register 17a.

例えば、データバス11からデータバス12へデータを転送する場合には、その旨の制御命令D1がコマンドレジスタ17aに書き込まれる。この制御命令D1がインタフェース制御部18に受信されると、この制御命令D1がインタフェース制御部18でデコードされ、このデコード結果であるスイッチ制御信号S1に基づいてインタフェース部13ではデータバス11が内部データバス15aに接続され、インタフェース部16ではスイッチ制御信号S2に基づいて内部データバス15aがデータバス12に接続される。   For example, when data is transferred from the data bus 11 to the data bus 12, a control instruction D1 to that effect is written to the command register 17a. When the control command D1 is received by the interface control unit 18, the control command D1 is decoded by the interface control unit 18, and the data bus 11 is connected to the internal data The internal data bus 15a is connected to the data bus 12 in the interface unit 16 based on the switch control signal S2.

そして、データバス11から入力されたデータはメモリ制御信号S3に基づいてFIFOメモリ14aに一時記録される。これはデータバス11上のデータ転送速度とデータバス12上のデータ転送速度とを整合させるためである。このFIFOメモリ14aに最初に記録されたデータから順にメモリ制御信号S3に基づいて読み出され、インタフェース部16を通過してデータバス12に出力される。   Then, the data input from the data bus 11 is temporarily recorded in the FIFO memory 14a based on the memory control signal S3. This is to match the data transfer speed on the data bus 11 with the data transfer speed on the data bus 12. The data is first read out from the FIFO memory 14a in order based on the memory control signal S3, and is output to the data bus 12 through the interface unit 16.

また、データバス12からデータバス11へデータを転送する場合には、その旨の制御命令D1がコマンドレジスタ17aに書き込まれる。この制御命令D1がインタフェース制御部18に受信されると、インタフェース制御部18でデコードされたスイッチ制御信号S1に基づいてインタフェース部13ではデータバス11が内部データバス15bに接続され、インタフェース部16ではスイッチ制御信号S2に基づいて内部データバス15bがデータバス12に接続される。そして、データバス12から入力されたデータはメモリ制御信号S4に基づいてFIFOメモリ14bに一時記録され、データバス11及び12のデータ転送速度がマッチングされる。このFIFOメモリ14bに最初に記録されたデータから順に、メモリ制御信号S4に基づいて読み出され、インタフェース部13を通過してデータバス11に出力される。   When data is transferred from the data bus 12 to the data bus 11, a control instruction D1 to that effect is written to the command register 17a. When the control command D1 is received by the interface control unit 18, the data bus 11 is connected to the internal data bus 15b in the interface unit 13 based on the switch control signal S1 decoded by the interface control unit 18, and the interface unit 16 Internal data bus 15b is connected to data bus 12 based on switch control signal S2. Then, the data input from the data bus 12 is temporarily recorded in the FIFO memory 14b based on the memory control signal S4, and the data transfer speeds of the data buses 11 and 12 are matched. The data is first read out from the FIFO memory 14b based on the memory control signal S4, and is output to the data bus 11 through the interface unit 13 in order.

このデータ転送が終了すると、ステータスレジスタ17bには終了ステータスデータD2が書き込まれる。なお、ステータスレジスタ17bにはインタフェース装置100自身の終了ステータスデータD2が書き込まれることは勿論のこと、この種のインタフェース装置100をデータバスを分断する節目、節目に多数配置してデータ処理システムを構築したときに、他のインタフェース装置100からの終了ステータスデータD2をも記録するようになされている。   When this data transfer is completed, the end status data D2 is written into the status register 17b. It is to be noted that the end status data D2 of the interface device 100 itself is written into the status register 17b, and a large number of such interface devices 100 are arranged at nodes at which the data bus is divided, thereby constructing a data processing system. Then, the end status data D2 from another interface device 100 is also recorded.

このようにすると、システムの制御装置に対して最も近い位置に配置したインタフェース装置100のステータスレジスタ17bの記録内容を確認することで、そのデータ処理システムで端末装置に近いインタフェース装置100に与えた制御命令D1に対するデータ処理が終了したかを容易に判断することができる。   By doing so, by confirming the recorded contents of the status register 17b of the interface device 100 arranged closest to the control device of the system, the control given to the interface device 100 close to the terminal device in the data processing system can be confirmed. It is possible to easily determine whether the data processing for the instruction D1 has been completed.

このように、本実施の形態に係るインタフェース装置100によれば、コマンドレジスタ17aに一旦、制御命令D1が書き込まれた後は、その制御命令D1に基づいてインタフェース部13,16及び内部データバス15a,15bの入出力制御及びFIFOメモリ14a,14bの書き込み読み出し制御をすることができるので、インタフェース装置100に接続されたシステム上位の制御装置などと独立してデータバス11,12間でデータを転送することができる。   As described above, according to the interface device 100 according to the present embodiment, after the control command D1 is once written in the command register 17a, the interface units 13, 16 and the internal data bus 15a are based on the control command D1. , 15b, and write / read control of the FIFO memories 14a, 14b, so that data can be transferred between the data buses 11, 12 independently of a higher-level control device connected to the interface device 100. can do.

従って、制御命令D1を書き込んだ後は、その制御装置自らがインタフェース装置100の入出力を管理しなくても済むので、その制御装置のデータ処理負担を軽減することができる。   Therefore, after writing the control command D1, the control device does not need to manage the input / output of the interface device 100 itself, so that the data processing load on the control device can be reduced.

また、本実施の形態では制御命令D1に関して実行されたデータ転送結果を示す終了ステータスデータD2がステータスレジスタ17bに一時記録されるので、このコマンドレジスタ17bからそのデータD2を読み出すことにより、制御命令D1に関して実行されたデータの転送結果を容易に確認することができる。従って、制御装置とインタフェース装置100との間において、ハンドシェイクによるデータ処理を行うこと、及び、複数のインタフェース装置100間において、ハンドシェイクによるデータ処理を行うことができる。   Further, in the present embodiment, the end status data D2 indicating the data transfer result executed with respect to the control command D1 is temporarily recorded in the status register 17b. Therefore, by reading the data D2 from the command register 17b, the control command D1 is read. Can easily confirm the result of data transfer executed for. Therefore, data processing by handshaking can be performed between the control device and the interface device 100, and data processing by handshaking can be performed between the plurality of interface devices 100.

続いて、本実施の形態としての3方向性のインタフェース装置200について説明をする。図3は本実施の形態としての3方向性のインタフェース装置200の構成例を示すブロック図である。   Next, the three-way interface device 200 according to the present embodiment will be described. FIG. 3 is a block diagram illustrating a configuration example of a three-way interface device 200 according to the present embodiment.

この実施形態では、内部データバス15a,15bから分岐した分岐データバスが接続され、この分岐データバスにメモリ制御手段が接続され、インタフェース部13,16よって入出力されるデータが制御命令D1に基づいて書き込み読み出し制御されるようにしたものである。なお、インタフェース装置100と同じ符号及び同じ名称のものは同じ機能を有するので、その説明を省略する。   In this embodiment, a branch data bus branched from the internal data buses 15a and 15b is connected, a memory control means is connected to the branch data bus, and data input and output by the interface units 13 and 16 are based on the control instruction D1. In this case, writing and reading are controlled. Note that the components having the same reference numerals and the same names as those of the interface device 100 have the same functions, and the description thereof is omitted.

この3方向性のインタフェース装置200には図3に示す内部バスセレクタ21が設けられる。内部バスセレクタ21は図4に示す2回路1選択用のスイッチ回路21a,単一スイッチ回路21b及び21cを有している。勿論、これらのスイッチ回路21a〜21cは電界効果トランジスタやバイポーラトランジスタなどにより集積化されたトランジスタ回路を用いてもよい。   The three-way interface device 200 is provided with an internal bus selector 21 shown in FIG. The internal bus selector 21 has a switch circuit 21a for selecting two circuits and one switch circuits 21b and 21c shown in FIG. Of course, these switch circuits 21a to 21c may use a transistor circuit integrated by a field effect transistor, a bipolar transistor, or the like.

スイッチ回路21aのa点はFIFOメモリ14aの出力段の内部データバス15aに接続され、そのb点はFIFOメモリ14bの出力段の内部データバス15bに接続される。スイッチ回路21aの中性点nは分岐データバスとしての書き込み用のメモリバス22aに接続される。このメモリバス22aにはデータ用の第3のメモリとしてのFIFOメモリ23aに接続され、内部データバス15a又は15bから分岐された書き込み用のデータが一時記憶される。このFIFOメモリ23aの出力段にはメモリ制御手段24が接続され、内部データバス15a又は15bから分岐されたデータの書き込み読み出し制御が行われる。このメモリ制御手段24の外部への出力段には画像メモリ3などのデータ用のメモリが接続される。   The point a of the switch circuit 21a is connected to the internal data bus 15a of the output stage of the FIFO memory 14a, and the point b is connected to the internal data bus 15b of the output stage of the FIFO memory 14b. The neutral point n of the switch circuit 21a is connected to a write memory bus 22a as a branch data bus. The memory bus 22a is connected to a FIFO memory 23a as a third memory for data, and temporarily stores write data branched from the internal data bus 15a or 15b. A memory control unit 24 is connected to an output stage of the FIFO memory 23a, and controls writing and reading of data branched from the internal data bus 15a or 15b. A data memory such as the image memory 3 is connected to an output stage to the outside of the memory control means 24.

また、メモリ制御手段24の内部への出力段にはFIFOメモリ23bが接続され、内部データバス15a又は15bへ出力するための読み出し用のデータが一時記憶される。このFIFOメモリ23bの出力段には読み出し用のメモリバス22bが接続される。このメモリバス22bはスイッチ回路21b,21cの接点nに接続される。スイッチ回路21bのa点は内部データバス15aを通じてインタフェース部16の入力段に接続され、スイッチ回路21cのb点は内部データバス15bを通じてインタフェース部13の入力段に接続される。   In addition, a FIFO memory 23b is connected to an output stage to the inside of the memory control means 24, and read data to be output to the internal data bus 15a or 15b is temporarily stored. A read memory bus 22b is connected to an output stage of the FIFO memory 23b. This memory bus 22b is connected to the contact n of the switch circuits 21b and 21c. The point a of the switch circuit 21b is connected to the input stage of the interface unit 16 via the internal data bus 15a, and the point b of the switch circuit 21c is connected to the input stage of the interface unit 13 via the internal data bus 15b.

上述のインタフェース部13又はインタフェース部16内にはインタフェース制御部18に代わってインタフェース制御部28が設けられる。インタフェース制御部28はアドレスレジスタ28a、デコーダ28b及びタイミング発生回路28cを有しており、これらの機能はインタフェース制御部18のアドレスレジスタ18a、デコーダ18b及びタイミング発生回路18cとほぼ同じである。このインタフェース制御部28では、コマンドレジスタ17aに記録された制御命令D1に基づいてFIFOメモリ14a,14b及び23a,23bのデータ書き込み読み出し制御と、インタフェース部13、16、内部データバス15a,15bの入出力制御と、スイッチ回路21a〜21cのスイッチ制御などが行われる。   An interface control unit 28 is provided in the interface unit 13 or 16 in place of the interface control unit 18. The interface control unit 28 has an address register 28a, a decoder 28b and a timing generation circuit 28c, and these functions are almost the same as those of the address register 18a, the decoder 18b and the timing generation circuit 18c of the interface control unit 18. The interface control unit 28 controls the data writing and reading of the FIFO memories 14a and 14b and 23a and 23b based on the control command D1 recorded in the command register 17a, and controls the input and output of the interface units 13 and 16 and the internal data buses 15a and 15b. Output control and switch control of the switch circuits 21a to 21c are performed.

インタフェース制御部28ではインタフェース制御部18と同様に制御命令D1をデコードしてスイッチ制御信号S1〜S4を発生する他に、タイミング発生回路28cによって、スイッチ回路21aのバス切換えに使用されるスイッチ制御信号S5と、スイッチ回路21bのバス切換えに使用されるスイッチ制御信号S6と、FIFOメモリ23aの書き込み読み出しに使用されるメモリ制御信号S7と、FIFOメモリ23bの書き込み読み出しに使用されるメモリ制御信号S8と、スイッチ回路21cのバス短絡に使用されるスイッチ制御信号S9などが発生される。   The interface control unit 28 decodes the control command D1 to generate the switch control signals S1 to S4 in the same manner as the interface control unit 18, and also uses the timing generation circuit 28c to switch the switch control signal used for switching the bus of the switch circuit 21a. S5, a switch control signal S6 used for switching the bus of the switch circuit 21b, a memory control signal S7 used for writing and reading in the FIFO memory 23a, and a memory control signal S8 used for writing and reading in the FIFO memory 23b. , A switch control signal S9 used for short-circuiting the bus of the switch circuit 21c and the like are generated.

次に、図4を参照しながら、インタフェース装置200の動作を説明する。この例では以下の9つのデータ転送事象に関する制御命令D1がコマンドレジスタ17aに書き込まれるようになされたものである。このデータ転送事象は、
(1) データバス11からデータバス12へデータを転送(データスルー)する場合、
(2) データバス11から画像メモリ3へデータを書き込む場合、
(3) データバス11から画像メモリ3へデータを書き込むと同時にデータバス12へ同じデータを転送する場合、
(4) データバス12からデータバス11へデータを転送(データスルー)する場合、
(5) データバス12から画像メモリ3へデータを書き込む場合、
(6) データバス12から画像メモリ3へデータを書き込むと同時にデータバス11へ同じデータを転送する場合、
(7) 画像メモリ3からデータバス11へデータを読み出す場合、
(8) 画像メモリ3からデータバス12へデータを読み出す場合、及び
(9) 画像メモリ3からデータバス11及びデータバス12へ同じデータを読み出す場合である。
Next, the operation of the interface device 200 will be described with reference to FIG. In this example, a control instruction D1 relating to the following nine data transfer events is written in the command register 17a. This data transfer event
(1) When transferring data (data through) from the data bus 11 to the data bus 12,
(2) When writing data from the data bus 11 to the image memory 3,
(3) When writing data from the data bus 11 to the image memory 3 and simultaneously transferring the same data to the data bus 12,
(4) When transferring data from the data bus 12 to the data bus 11 (data through),
(5) When writing data from the data bus 12 to the image memory 3,
(6) When writing data from the data bus 12 to the image memory 3 and simultaneously transferring the same data to the data bus 11,
(7) When reading data from the image memory 3 to the data bus 11,
(8) Reading data from the image memory 3 to the data bus 12, and (9) Reading the same data from the image memory 3 to the data bus 11 and the data bus 12.

例えば、データ転送事象(1)に関する制御命令D1がコマンドレジスタ17aに書き込まれた場合には、この制御命令D1がインタフェース制御部28に受信されると、この制御命令D1がインタフェース制御部28でデコードされ、このデコード結果であるスイッチ制御信号S1に基づいてインタフェース部13ではデータバス11が内部データバス15aに接続され、インタフェース部16ではスイッチ制御信号S2に基づいて内部データバス15aがデータバス12に接続される。   For example, when the control command D1 relating to the data transfer event (1) is written in the command register 17a, when the control command D1 is received by the interface control unit 28, the control command D1 is decoded by the interface control unit 28. The data bus 11 is connected to the internal data bus 15a in the interface unit 13 based on the switch control signal S1, which is the decoding result, and the internal data bus 15a is connected to the data bus 12 in the interface unit 16 based on the switch control signal S2. Connected.

スイッチ回路21aではスイッチ制御信号S5に基づいてメモリバス22aが内部データバス15aから切り離され、同様にスイッチ回路21aではスイッチ制御信号S6に基づいてメモリバス22bが内部データバス15bから切り離される。そして、データバス11から入力されたデータはメモリ制御信号S3に基づいてFIFOメモリ14aに一時記録される。このFIFOメモリ14aに最初に記録されたデータから順にメモリ制御信号S3に基づいて読み出され、インタフェース部16を通過してデータバス12に出力される。これによりデータバス11からデータバス12へデータを転送(データスルー)することができる。また、データ転送事象(2)に関する制御命令D1がコマンドレジスタ17aに書き込まれた場合には、インタフェース制御部28でデコードされたスイッチ制御信号S1に基づいてデータバス11が内部データバス15aに接続され、スイッチ回路21aではスイッチ制御信号S5に基づいてメモリバス22aと内部データバス15aとが接続される。   In the switch circuit 21a, the memory bus 22a is disconnected from the internal data bus 15a based on the switch control signal S5. Similarly, in the switch circuit 21a, the memory bus 22b is disconnected from the internal data bus 15b based on the switch control signal S6. Then, the data input from the data bus 11 is temporarily recorded in the FIFO memory 14a based on the memory control signal S3. The data is first read out from the FIFO memory 14a in order based on the memory control signal S3, and is output to the data bus 12 through the interface unit 16. Thereby, data can be transferred (data through) from the data bus 11 to the data bus 12. When the control command D1 relating to the data transfer event (2) is written in the command register 17a, the data bus 11 is connected to the internal data bus 15a based on the switch control signal S1 decoded by the interface control unit 28. In the switch circuit 21a, the memory bus 22a and the internal data bus 15a are connected based on the switch control signal S5.

そして、データバス11から入力されたデータはメモリ制御信号S3に基づいてFIFOメモリ14aに一時記録される。このFIFOメモリ14aに最初に記録されたデータから順にFIFOメモリ23aに記録される。FIFOメモリ23aに記録されたデータはメモリ制御信号S7に基づいて読み出され、画像メモリ3に書き込まれる。   Then, the data input from the data bus 11 is temporarily recorded in the FIFO memory 14a based on the memory control signal S3. The data recorded first in the FIFO memory 14a is sequentially recorded in the FIFO memory 23a. The data recorded in the FIFO memory 23a is read out based on the memory control signal S7 and written in the image memory 3.

このとき、メモリバス22bは内部データバス15bから切り離されたままである。この場合にデータバス12と内部データバス15a,15bとはどのような接続の仕方をしていてもよい。これにより、データバス11から画像メモリ3へデータを書き込むことができる。   At this time, the memory bus 22b remains disconnected from the internal data bus 15b. In this case, the data bus 12 and the internal data buses 15a and 15b may be connected in any manner. Thereby, data can be written from the data bus 11 to the image memory 3.

更に、データ転送事象(3)に関する制御命令D1がコマンドレジスタ17aに書き込まれた場合には、インタフェース制御部28でデコードされたスイッチ制御信号S1に基づいてデータバス11が内部データバス15aに接続され、スイッチ制御信号S2に基づいて内部データバス15aがデータバス12に接続される。スイッチ回路21aではスイッチ制御信号S5に基づいてメモリバス22aと内部データバス15aとが接続される。   Further, when the control command D1 related to the data transfer event (3) is written in the command register 17a, the data bus 11 is connected to the internal data bus 15a based on the switch control signal S1 decoded by the interface control unit 28. The internal data bus 15a is connected to the data bus 12 based on the switch control signal S2. In the switch circuit 21a, the memory bus 22a and the internal data bus 15a are connected based on the switch control signal S5.

そして、データバス11から入力されたデータはメモリ制御信号S3に基づいてFIFOメモリ14aに一時記録される。このFIFOメモリ14aに最初に記録されたデータから順にFIFOメモリ23aに記録される。これと共に、FIFOメモリ14aに記録されたデータがデータバス12に出力される。FIFOメモリ23aに記録されたデータはメモリ制御信号S7に基づいて読み出され、画像メモリ3に書き込まれる。これにより、データバス11から画像メモリ3へデータを書き込むと同時にデータバス12へ同じデータを転送することができる。   Then, the data input from the data bus 11 is temporarily recorded in the FIFO memory 14a based on the memory control signal S3. The data recorded first in the FIFO memory 14a is sequentially recorded in the FIFO memory 23a. At the same time, data recorded in the FIFO memory 14a is output to the data bus 12. The data recorded in the FIFO memory 23a is read out based on the memory control signal S7 and written in the image memory 3. Thereby, the same data can be transferred from the data bus 11 to the image memory 3 and transferred to the data bus 12 at the same time.

また、データ転送事象(4)に関する制御命令D1がコマンドレジスタ17aに書き込まれた場合には、インタフェース制御部28でデコードされたスイッチ制御信号S1に基づいてデータバス11が内部データバス15bに接続され、スイッチ制御信号S2に基づいて内部データバス15bがデータバス12に接続される。   When the control command D1 relating to the data transfer event (4) is written in the command register 17a, the data bus 11 is connected to the internal data bus 15b based on the switch control signal S1 decoded by the interface control unit 28. The internal data bus 15b is connected to the data bus 12 based on the switch control signal S2.

スイッチ回路21aではスイッチ制御信号S5に基づいてメモリバス22aが内部データバス15aから切り離され、同様にスイッチ回路21aではスイッチ制御信号S6に基づいてメモリバス22bが内部データバス15bから切り離される。そして、データバス12から入力されたデータはメモリ制御信号S4に基づいてFIFOメモリ14bに一時記録される。このFIFOメモリ14bに最初に記録されたデータから順にメモリ制御信号S4に基づいて読み出され、インタフェース部13を通過してデータバス11に出力される。これによりデータバス12からデータバス11へデータを転送(データスルー)することができる。次に、データ転送事象(5)に関する制御命令D1がコマンドレジスタ17aに書き込まれた場合には、インタフェース制御部28でデコードされたスイッチ制御信号S2に基づいてデータバス12が内部データバス15bに接続され、スイッチ回路21aではスイッチ制御信号S5に基づいてメモリバス22aと内部データバス15aとが接続される。   In the switch circuit 21a, the memory bus 22a is disconnected from the internal data bus 15a based on the switch control signal S5. Similarly, in the switch circuit 21a, the memory bus 22b is disconnected from the internal data bus 15b based on the switch control signal S6. Then, the data input from the data bus 12 is temporarily recorded in the FIFO memory 14b based on the memory control signal S4. The data is first read out from the FIFO memory 14b based on the memory control signal S4, and is output to the data bus 11 through the interface unit 13 in order. As a result, data can be transferred from the data bus 12 to the data bus 11 (data through). Next, when the control command D1 relating to the data transfer event (5) is written into the command register 17a, the data bus 12 is connected to the internal data bus 15b based on the switch control signal S2 decoded by the interface control unit 28. In the switch circuit 21a, the memory bus 22a and the internal data bus 15a are connected based on the switch control signal S5.

そして、データバス12から入力されたデータはメモリ制御信号S4に基づいてFIFOメモリ14bに一時記録される。このFIFOメモリ14bに最初に記録されたデータから順にFIFOメモリ23aに記録される。FIFOメモリ23aに記録されたデータはメモリ制御信号S7に基づいて読み出され、画像メモリ3に書き込まれる。   Then, the data input from the data bus 12 is temporarily recorded in the FIFO memory 14b based on the memory control signal S4. The data recorded first in the FIFO memory 14b are sequentially recorded in the FIFO memory 23a. The data recorded in the FIFO memory 23a is read out based on the memory control signal S7 and written in the image memory 3.

このとき、メモリバス22bは内部データバス15bから切り離されたままである。この場合にデータバス11と内部データバス15a,15bとはどのような接続の仕方をしていてもよい。これにより、データバス12から画像メモリ3へデータを書き込むことができる。   At this time, the memory bus 22b remains disconnected from the internal data bus 15b. In this case, the data bus 11 and the internal data buses 15a and 15b may be connected in any manner. Thereby, data can be written from the data bus 12 to the image memory 3.

データ転送事象(6)に関する制御命令D1がコマンドレジスタ17aに書き込まれた場合には、インタフェース制御部28でデコードされたスイッチ制御信号S1に基づいてデータバス11が内部データバス15bに接続され、スイッチ制御信号S2に基づいて内部データバス15bがデータバス12に接続される。スイッチ回路21aではスイッチ制御信号S5に基づいてメモリバス22aと内部データバス15aとが接続される。   When the control command D1 related to the data transfer event (6) is written in the command register 17a, the data bus 11 is connected to the internal data bus 15b based on the switch control signal S1 decoded by the interface control unit 28, and Internal data bus 15b is connected to data bus 12 based on control signal S2. In the switch circuit 21a, the memory bus 22a and the internal data bus 15a are connected based on the switch control signal S5.

そして、データバス12から入力されたデータはメモリ制御信号S4に基づいてFIFOメモリ14bに一時記録される。このFIFOメモリ14bに最初に記録されたデータから順にFIFOメモリ23aに記録される。これと共に、FIFOメモリ14bに記録されたデータがデータバス11に出力される。FIFOメモリ23aに記録されたデータはメモリ制御信号S7に基づいて読み出され、画像メモリ3に書き込まれる。これにより、データバス12から画像メモリ3へデータを書き込むと同時にデータバス11へ同じデータを転送することができる。   Then, the data input from the data bus 12 is temporarily recorded in the FIFO memory 14b based on the memory control signal S4. The data recorded first in the FIFO memory 14b are sequentially recorded in the FIFO memory 23a. At the same time, the data recorded in the FIFO memory 14b is output to the data bus 11. The data recorded in the FIFO memory 23a is read out based on the memory control signal S7 and written in the image memory 3. Thus, the same data can be transferred from the data bus 12 to the image memory 3 and transferred to the data bus 11 at the same time.

データ転送事象(7)に関する制御命令D1がコマンドレジスタ17aに書き込まれた場合には、インタフェース制御部28でデコードされたスイッチ制御信号S1に基づいてデータバス11が内部データバス15bに接続され、スイッチ回路21bではスイッチ制御信号S6に基づいてメモリバス22bと内部データバス15bとが接続される。この例ではスイッチ制御信号S9によってスイッチ回路21cがオンされる。   When the control command D1 related to the data transfer event (7) is written in the command register 17a, the data bus 11 is connected to the internal data bus 15b based on the switch control signal S1 decoded by the interface control unit 28, and the switch In the circuit 21b, the memory bus 22b and the internal data bus 15b are connected based on the switch control signal S6. In this example, the switch circuit 21c is turned on by the switch control signal S9.

そして、画像メモリ3から読み出されたデータはメモリ制御信号S8に基づいてFIFOメモリ23bに一時記録される。このFIFOメモリ23bに最初に記録されたデータから順にインタフェース部13を通ってデータバス11に出力される。このとき、メモリバス22aは内部データバス15bから切り離された状態である。この場合に、内部データバス15bはスイッチ制御信号S2に基づいてデータバス12から切り離されている。これにより、画像メモリ3からデータバス11へデータを読み出すことができる。   Then, the data read from the image memory 3 is temporarily recorded in the FIFO memory 23b based on the memory control signal S8. The data recorded first in the FIFO memory 23b is output to the data bus 11 through the interface unit 13 in order from the first. At this time, the memory bus 22a is disconnected from the internal data bus 15b. In this case, the internal data bus 15b is separated from the data bus 12 based on the switch control signal S2. Thus, data can be read from the image memory 3 to the data bus 11.

データ転送事象(8)に関する制御命令D1がコマンドレジスタ17aに書き込まれた場合には、インタフェース制御部28でデコードされたスイッチ制御信号S1に基づいてデータバス11が内部データバス15aから切り離され、スイッチ回路21bではスイッチ制御信号S6に基づいてメモリバス22bと内部データバス15aとが接続される。   When the control command D1 relating to the data transfer event (8) is written in the command register 17a, the data bus 11 is disconnected from the internal data bus 15a based on the switch control signal S1 decoded by the interface control unit 28, and In the circuit 21b, the memory bus 22b and the internal data bus 15a are connected based on the switch control signal S6.

そして、画像メモリ3から読み出されたデータはメモリ制御信号S8に基づいてFIFOメモリ23bに一時記録される。このFIFOメモリ23bに最初に記録されたデータから順にインタフェース部16を通ってデータバス12に出力される。このとき、メモリバス22aは内部データバス15bから切り離された状態である。この場合に、内部データバス15aはスイッチ制御信号S1に基づいてデータバス11から切り離されている。これにより、画像メモリ3からデータバス12へデータを読み出すことができる。なお、データ転送事象(1)〜(6),(8)に関する制御命令D1を実行する場合には、スイッチ制御信号S9によってスイッチ回路21cをオフした状態が保たれる。   Then, the data read from the image memory 3 is temporarily recorded in the FIFO memory 23b based on the memory control signal S8. The data recorded in the FIFO memory 23b is output to the data bus 12 through the interface unit 16 in order from the data recorded first. At this time, the memory bus 22a is disconnected from the internal data bus 15b. In this case, the internal data bus 15a is separated from the data bus 11 based on the switch control signal S1. Thus, data can be read from the image memory 3 to the data bus 12. When the control command D1 relating to the data transfer events (1) to (6) and (8) is executed, the switch circuit 21c is kept off by the switch control signal S9.

(9)に関する制御命令D1がコマンドレジスタ17aに書き込まれた場合には、インタフェース制御部28でデコードされたスイッチ制御信号S1に基づいてデータバス11が内部データバス15bに接続されると共に、スイッチ制御信号S2に基づいてデータバス12が内部データバス15aに接続される。しかも、スイッチ回路21bではスイッチ制御信号S6に基づいてメモリバス22bと内部データバス15aとが接続され、スイッチ制御信号S9に基づいてスイッチ回路21cがオンされて内部データバス15a及び15bが短絡される。   When the control command D1 relating to (9) is written into the command register 17a, the data bus 11 is connected to the internal data bus 15b based on the switch control signal S1 decoded by the interface control unit 28, and the switch control is performed. Data bus 12 is connected to internal data bus 15a based on signal S2. Moreover, in the switch circuit 21b, the memory bus 22b and the internal data bus 15a are connected based on the switch control signal S6, and the switch circuit 21c is turned on based on the switch control signal S9, and the internal data buses 15a and 15b are short-circuited. .

そして、画像メモリ3から読み出されたデータはメモリ制御信号S8に基づいてFIFOメモリ23bに一時記録される。このFIFOメモリ23bに最初に記録されたデータから順にインタフェース部13を通ってデータバス11に出力されると共に、インタフェース部16を通ってデータバス12に出力される。このとき、メモリバス22aは内部データバス15a,15bから切り離された状態である。これにより、画像メモリ3からデータバス11及びデータバス12へ同じデータを読み出すことができる。これらのいずれかのデータ転送事象(1)〜(9)が終了すると、ステータスレジスタ17bにはデータ転送結果を通知するために終了ステータスデータD2が書き込まれる。   Then, the data read from the image memory 3 is temporarily recorded in the FIFO memory 23b based on the memory control signal S8. The data recorded first in the FIFO memory 23b is sequentially output to the data bus 11 through the interface unit 13 and is output to the data bus 12 through the interface unit 16. At this time, the memory bus 22a is disconnected from the internal data buses 15a and 15b. Thereby, the same data can be read from the image memory 3 to the data bus 11 and the data bus 12. When any of these data transfer events (1) to (9) ends, end status data D2 is written to the status register 17b to notify the result of the data transfer.

このように、本実施の形態としての3方向性のインタフェース装置200によれば、システムの制御装置からコマンドレジスタ17aに制御命令D1が書き込まれた後は、制御装置と独立してデータバス11から画像メモリ3などへデータを書き込んだり、この画像メモリ3からデータバス12上にデータを読み出すことができる。   As described above, according to the three-way interface device 200 of the present embodiment, after the control command D1 is written from the control device of the system to the command register 17a, the data bus 11 is connected independently of the control device. Data can be written to the image memory 3 or the like, and data can be read from the image memory 3 onto the data bus 12.

従って、オフィースコンピユータシステムや画像形成装置などのデータ処理システムを構築する場合であって、1つのデータバスを2つに分断し、この2つのデータバス11、12間でデータ転送をする場合などは、本実施の形態としての双方向性のインタフェース装置100を2つのデータバス11,12の間に配置するように設計する。   Therefore, when a data processing system such as an office computer system or an image forming apparatus is constructed, one data bus is divided into two, and data is transferred between the two data buses 11 and 12. The bidirectional interface device 100 according to the present embodiment is designed to be arranged between the two data buses 11 and 12.

また、唯一の画像メモリ3とデータバス11との間でデータの書き込み読み出をしたり、その画像メモリ3とデータバス12との間でデータの書き込み読み出をしたり、及び、データバス11、12間でデータ転送をする場合などは、本実施の形態としての3方向性のインタフェース装置200を画像メモリ3、データバス11及び12間に配置するようにする。そして、これらのインタフェース装置100,200内にコマンドレジスタ17aを設け、このコマンドレジスタ17aに制御命令D1を書き込むようにしてインタフェース装置100や200の入出力を制御するようにするとよい。   In addition, data can be written and read between the only image memory 3 and the data bus 11, data can be written and read between the image memory 3 and the data bus 12, and , And 12, the three-way interface device 200 according to the present embodiment is arranged between the image memory 3 and the data buses 11 and 12. A command register 17a may be provided in each of the interface devices 100 and 200, and the control command D1 may be written in the command register 17a to control the input and output of the interface devices 100 and 200.

続いて、インタフェース装置100や200を用いたデータ処理装置について説明する。   Subsequently, a data processing device using the interface devices 100 and 200 will be described.

(2)データ処理装置の構成例
図5は本実施の形態としてのデータ処理装置300の構成例を示すブロック図である。
(2) Configuration Example of Data Processing Device FIG. 5 is a block diagram illustrating a configuration example of the data processing device 300 according to the present embodiment.

この実施形態では図5に示す主記憶装置30と、2つに分断されたデータバスA,B間に3方向性のインタフェース装置200を接続して、一方のデータバスBに接続された端末装置40が主記憶装置30との間でデータの書き込み読み出しを行っているときは、他方のデータバスAを主制御装置10に開放できるようにすると共に、各々のデータバスA又はBに接続された主制御装置10、副制御装置20及び端末装置40,50などによって主記憶装置30を時系列的若しくは同時に共用できるようにしたものである。   In this embodiment, a three-way interface device 200 is connected between a main storage device 30 shown in FIG. 5 and two divided data buses A and B, and a terminal device connected to one data bus B. When the data writing / reading is performed between the main control device 40 and the main storage device 30, the other data bus A can be opened to the main control device 10, and the data bus A is connected to each data bus A or B. The main storage device 30 can be shared in time series or simultaneously by the main control device 10, the sub-control device 20, the terminal devices 40, 50, and the like.

このデータ処理装置300にはデータ用のメモリとしての図5に示す主記憶装置30が設けられる。この主記憶装置30には上述した3方向性のインタフェース装置200が接続され、その内部のコマンドレジスタ17aに書き込まれた制御命令D1によって、この主記憶装置30とデータバスAとの間でデータの書き込み読み出をしたり、主記憶装置30とデータバスBとの間でデータの書き込み読み出をしたり、及び、2つのデータバスA,B間でデータ転送がなされる。   The data processing device 300 is provided with a main storage device 30 shown in FIG. 5 as a data memory. The above-described three-way interface device 200 is connected to the main storage device 30, and data is transferred between the main storage device 30 and the data bus A by a control command D1 written in a command register 17a therein. Writing and reading are performed, data is written and read between the main storage device 30 and the data bus B, and data transfer is performed between the two data buses A and B.

この例で、データバスAには2つの双方向性のインタフェース装置101及び102が設けられる。一方のインタフェース装置101はデータバスAに接続されて他方のインタフェース装置102及び3方向性のインタフェース装置200に接続されると共に、CPUバス1aを通じて外部機器としての主制御装置10に接続される。   In this example, the data bus A is provided with two bidirectional interface devices 101 and 102. One interface device 101 is connected to the data bus A, to the other interface device 102 and the three-way interface device 200, and to the main control device 10 as an external device through the CPU bus 1a.

他方のインタフェース装置102は同様にデータバスAに接続されて3方向性のインタフェース装置200に接続されると共に、CPUバス1bを通じて外部機器としての副制御装置20に接続される。更に、データバスAには第1の調停手段としてのバス調停手段60が接続され、データ衝突が生じないようにインタフェース装置101及び102のバス使用権の調停がなされる。   Similarly, the other interface device 102 is connected to the data bus A to be connected to the three-way interface device 200, and is also connected to the sub-control device 20 as an external device through the CPU bus 1b. Further, a bus arbitration unit 60 as a first arbitration unit is connected to the data bus A, and arbitration of the right to use the bus of the interface devices 101 and 102 is performed so that data collision does not occur.

また、データバスBにも2つの双方向性のインタフェース装置103及び104が設けられる。一方のインタフェース装置103はデータバスBに接続されて他方のインタフェース装置104及び3方向性のインタフェース装置200に接続されると共に、端末用のバス40aを通じて外部機器としての端末装置40に接続される。   The data bus B is also provided with two bidirectional interface devices 103 and 104. One interface device 103 is connected to the data bus B, to the other interface device 104 and the three-way interface device 200, and to the terminal device 40 as an external device through the terminal bus 40a.

他方のインタフェース装置104は同様にデータバスBに接続されて3方向性のインタフェース装置200に接続されると共に、端末用のバス50aを通じて外部機器としての端末装置50に接続される。更に、データバスBには第2の調停手段としてのバス調停手段70が接続され、インタフェース装置103及び104のバス使用権の調停がなされる。   Similarly, the other interface device 104 is connected to the data bus B and connected to the three-way interface device 200, and is also connected to the terminal device 50 as an external device through the terminal bus 50a. Further, a bus arbitration unit 70 as a second arbitration unit is connected to the data bus B, and arbitration of the bus use right of the interface devices 103 and 104 is performed.

上述したインタフェース装置101〜104はいずれも本実施の形態としての双方向性のインタフェース装置100が使用され、内部に設けられたコマンドレジスタ17aに書き込まれた制御命令D1によって、データ転送制御がなされる。この例では、少なくともデータバスAと主記憶装置30の間でデータ転送を行うとき、主記憶装置30とデータバスBとの間でデータ転送を行うとき、または、データバスA,B間でデータ転送を行うときに、インタフェース装置200内のコマンドレジスタ17aに制御命令D1が書き込まれる。この制御命令D1は主制御装置10又は副制御装置20によって書き込まれる。   As the interface devices 101 to 104 described above, the bidirectional interface device 100 according to the present embodiment is used, and data transfer control is performed by a control command D1 written in a command register 17a provided therein. . In this example, at least when data is transferred between the data bus A and the main storage device 30, when data is transferred between the main storage device 30 and the data bus B, or when data is transferred between the data buses A and B. When performing the transfer, the control command D1 is written to the command register 17a in the interface device 200. The control command D1 is written by the main control device 10 or the sub control device 20.

次に、データ処理装置300の動作を説明する。例えば、端末装置40から主記憶装置30にデータを書き込む場合を想定して説明をする。この場合には、上述したデータ転送事象(5)に関する制御命令D1がインタフェース装置200のコマンドレジスタ17aに書き込まれる。   Next, the operation of the data processing device 300 will be described. For example, the description will be made on the assumption that data is written from the terminal device 40 to the main storage device 30. In this case, the control command D1 related to the data transfer event (5) described above is written in the command register 17a of the interface device 200.

これに先立っては、まず、主制御装置10からインタフェース装置101内の図示ないコマンドレジスタ17a及びインタフェース装置200内の以下図示ないコマンドレジスタ17aにはデータ転送事象(1)に関する制御命令D1が書き込まれる。次に、主制御装置10からインタフェース装置103にデータ転送事象(4)に関する制御命令D1が書き込まれ、その後、インタフェース装置200にデータ転送事象(5)に関する制御命令D1が書き込まれる。   Prior to this, first, a control command D1 relating to the data transfer event (1) is written from the main controller 10 to a command register 17a (not shown) in the interface device 101 and a command register 17a (not shown) in the interface device 200. . Next, the control command D1 related to the data transfer event (4) is written from the main control device 10 to the interface device 103, and then the control command D1 related to the data transfer event (5) is written to the interface device 200.

インタフェース装置101、200及び103で各々の制御命令D1がデコードされると、インタフェース装置103ではデータバスBと端末用のバス40aとが接続され、インタフェース装置200ではデータバスBとメモリバス30aとが接続される。各々のインタフェース装置101、200及び103の内部での動作は上述した通りである。例えば、インタフェース装置103及び200の接続動作により、端末装置40からデータバスBを経由して主記憶装置30へデータを書き込むことができる。   When each of the control commands D1 is decoded by the interface devices 101, 200, and 103, the data bus B and the terminal bus 40a are connected in the interface device 103, and the data bus B and the memory bus 30a are connected in the interface device 200. Connected. The operation inside each of the interface devices 101, 200 and 103 is as described above. For example, data can be written from the terminal device 40 to the main storage device 30 via the data bus B by the connection operation of the interface devices 103 and 200.

この例では端末装置40から主記憶装置30へデータを書き込んでいるとき、及び、主記憶装置30から端末装置50にデータを読み出しているときは、3方向性のインタフェース装置200によって、データバスAがデータバスBから切り離されるので、データバスAを主制御装置10や副制御装置20に開放することができる。これにより、データバスAに接続された主制御装置10が、インタフェース装置101及び102を通して副制御装置20と他のデータのやりとりを行うことができる。   In this example, when data is being written from the terminal device 40 to the main storage device 30 and when data is being read from the main storage device 30 to the terminal device 50, the data bus A is output by the three-way interface device 200. Is separated from the data bus B, so that the data bus A can be opened to the main control device 10 and the sub control device 20. Thereby, the main control device 10 connected to the data bus A can exchange other data with the sub-control device 20 through the interface devices 101 and 102.

また、上述したデータ転送事象(9)に関する制御命令D1に基づいて主記憶装置30から読み出された同じデータを主制御装置10を始め、副制御装置20及び端末装置50などに転送することができる。これにより、データバスAに接続された主制御装置10や副制御装置20と、データバスBに接続された端末装置40及び50とで主記憶装置30を時系列的若しくは同時に共用することができる。   Further, the same data read from the main storage device 30 based on the control command D1 relating to the data transfer event (9) described above can be transferred to the main control device 10, the sub-control device 20, the terminal device 50, and the like. it can. Thereby, the main storage device 30 can be shared in time series or simultaneously between the main control device 10 and the sub control device 20 connected to the data bus A and the terminal devices 40 and 50 connected to the data bus B. .

このように本実施の形態としてのデータ処理装置300によれば、双方向性のインタフェース装置101〜104及び3方向性のインタフェース装置200によって2つのデータバスA,Bを時系列的に入出力制御することができるので、従来方式の画像形成装置500のような1本のCPUバス1を2つに分断したデータ転送制御をすることができる。   As described above, according to the data processing device 300 of the present embodiment, the two data buses A and B are input / output controlled in time series by the bidirectional interface devices 101 to 104 and the three-directional interface device 200. Therefore, it is possible to perform data transfer control in which one CPU bus 1 is divided into two as in the conventional image forming apparatus 500.

続いて、データ処理装置300を応用した画像形成装置について説明する。   Next, an image forming apparatus to which the data processing apparatus 300 is applied will be described.

(3)データ処理装置の応用例
図6は本実施の形態としての画像形成装置400の構成例を示すブロック図である。この実施形態では、図7に示す画像メモリ3と2つに分断されたデータバスA,Bにメモリ用のバスブリッジ201を接続し、このバスブリッジ201に制御命令D1を与えた後は、この制御命令D1によってスキャナ部42及びプリンタ部52をCPU2aとは独立して時系列的に入出力を制御させるようにして、この間にCPU2aが他のデータ処理を実行できるようになされたものである。
(3) Application Example of Data Processing Apparatus FIG. 6 is a block diagram illustrating a configuration example of an image forming apparatus 400 according to the present embodiment. In this embodiment, a memory bus bridge 201 is connected to the image memory 3 shown in FIG. 7 and the two divided data buses A and B, and after a control command D1 is given to this bus bridge 201, The control unit D1 controls the scanner unit 42 and the printer unit 52 to control the input and output in a time-series manner independently of the CPU 2a, during which the CPU 2a can execute other data processing.

この画像形成装置400には3方向性のインタフェース手段としての図6に示すバスブリッジ201が設けられる。このバスブリッジ201には本実施の形態に係る3方向性のインタフェース装置200が使用される。   This image forming apparatus 400 is provided with a bus bridge 201 shown in FIG. 6 as three-way interface means. For the bus bridge 201, the three-way interface device 200 according to the present embodiment is used.

このバスブリッジ201には画像メモリ3が接続され、原稿などの画像データが一時記憶される。この例ではバスブリッジ201内のコマンドレジスタ17aに書き込まれた制御命令D1によって、この画像メモリ3とデータバスAとの間で画像データの書き込み読み出をしたり、画像メモリ3とデータバスBとの間で画像データの書き込み読み出をしたり、及び、2つのデータバスA,B間で画像データ転送がなされる。   The bus bridge 201 is connected to the image memory 3 and temporarily stores image data such as a document. In this example, image data can be written and read between the image memory 3 and the data bus A by the control command D1 written in the command register 17a in the bus bridge 201. , And image data is transferred between the two data buses A and B.

この例で、データバスAには2つの双方向性のバスブリッジ31及び32が設けられる。一方のバスブリッジ31はデータバスAに接続されて他方のバスブリッジ32及びメモリ用のバスブリッジ201に接続されると共に、CPUバス1aを通じてCPU2aに接続される。CPU2aには従来方式と同様に、ROM2b,RAM2c及び操作部2dが接続され、画像形成装置400の全体制御が行われる。これらの機能については説明を省略する(図7参照)。   In this example, the data bus A is provided with two bidirectional bus bridges 31 and 32. One bus bridge 31 is connected to the data bus A and connected to the other bus bridge 32 and the memory bus bridge 201, and is also connected to the CPU 2a through the CPU bus 1a. The ROM 2b, the RAM 2c, and the operation unit 2d are connected to the CPU 2a in the same manner as in the conventional method, and the entire control of the image forming apparatus 400 is performed. The description of these functions is omitted (see FIG. 7).

他方のバスブリッジ32はデータバスAに接続されてバスブリッジ201に接続されると共に、CPUバス1bを通じて通信モデムなどを制御するCPU25に接続される。CPUバス1bに接続されたROM26及びRAM27はCPU25をサポートするものである。更に、データバスAには第1の調停手段としてのバスアービタ61が接続され、データ衝突が生じないようにバスブリッジ31及びバスブリッジ32のバス使用権の調停がなされる。   The other bus bridge 32 is connected to the data bus A and connected to the bus bridge 201, and is also connected to the CPU 25 that controls a communication modem and the like via the CPU bus 1b. The ROM 26 and the RAM 27 connected to the CPU bus 1b support the CPU 25. Further, a bus arbiter 61 as first arbitration means is connected to the data bus A, and arbitration of the bus use right of the bus bridge 31 and the bus bridge 32 is performed so that data collision does not occur.

また、データバスBにも2つの双方向性のバスブリッジ33及び34が設けられる。一方のバスブリッジ33はデータバスBに接続されて他方のバスブリッジ34及びバスブリッジ201に接続されると共に、スキャナ用のバス41を通して画像取得手段としてのスキャナ部42に接続される。スキャナ部41ではバスブリッジ33の入力制御に基づいて原稿の画像が取得され、その原稿の画像データが出力される。   The data bus B is also provided with two bidirectional bus bridges 33 and 34. The one bus bridge 33 is connected to the data bus B and connected to the other bus bridge 34 and the bus bridge 201, and is connected to a scanner unit 42 as an image acquisition unit through a scanner bus 41. The scanner unit 41 acquires an image of the document based on the input control of the bus bridge 33, and outputs image data of the document.

他方のバスブリッジ34は同様にデータバスBに接続されてバスブリッジ201に接続されると共に、プリンタ用のバス51を通して画像再生手段としてのプリンタ部52に接続される。プリンタ部52ではバスブリッジ34の出力制御に基づいて画像データが与えられ、その画像データに基づいて原稿の画像が再生される。更に、データバスBには第2の調停手段としてのバスアービタ71が接続され、バスブリッジ33及び34のバス使用権の調停がなされる。   Similarly, the other bus bridge 34 is connected to the data bus B and is connected to the bus bridge 201, and is also connected to the printer section 52 as image reproducing means through the printer bus 51. In the printer unit 52, image data is given based on output control of the bus bridge 34, and an image of a document is reproduced based on the image data. Further, a bus arbiter 71 as second arbitration means is connected to the data bus B, and arbitration of the right to use the buses of the bus bridges 33 and 34 is performed.

上述したバスブリッジ101〜104はいずれも本実施の形態としての双方向性のインタフェース装置100が使用され、内部に設けられたコマンドレジスタ17aに書き込まれた制御命令D1によって、データ転送制御がなされる。この例では、少なくともデータバスAと画像メモリ3の間でデータ転送を行うとき、画像メモリ3とデータバスBとの間でデータ転送を行うとき、または、データバスA,B間でデータ転送を行うときに、バスブリッジ201内のコマンドレジスタ17aに制御命令D1が書き込まれる。   In each of the bus bridges 101 to 104 described above, the bidirectional interface device 100 according to the present embodiment is used, and data transfer is controlled by a control command D1 written in a command register 17a provided therein. . In this example, at least when data is transferred between the data bus A and the image memory 3, when data is transferred between the image memory 3 and the data bus B, or when data is transferred between the data buses A and B. When performing, the control command D1 is written to the command register 17a in the bus bridge 201.

この例では制御命令D1がCPU2a又はCPU25によってバスブリッジ201に書き込まれた後は、この制御命令D1によってスキャナ部42及びプリンタ部52が時系列的に入出力制御されるようにしたものである。   In this example, after the control command D1 is written into the bus bridge 201 by the CPU 2a or the CPU 25, the scanner unit 42 and the printer unit 52 are controlled to input and output in time series by the control command D1.

次に、本実施の形態としての画像形成装置400の動作を説明する。始めに、単一(1ページ)の原稿をコピーする場合について説明する。この例ではスキャナ部42で取得された原稿の画像データが一旦、画像メモリ3に転送され、その後、画像メモリ3から画像データが読み出されてプリンタ部52に供給される場合を想定して説明する。   Next, an operation of the image forming apparatus 400 according to the present embodiment will be described. First, a case of copying a single (one page) document will be described. In this example, it is assumed that the image data of the document obtained by the scanner unit 42 is temporarily transferred to the image memory 3, and then the image data is read from the image memory 3 and supplied to the printer unit 52. I do.

例えば、操作部2dからCPU2aに1ページのコピーが指示されると、CPU2aはスキャナ部42を駆動するためにバスブリッジ33に対してスキャナ駆動指示をする。このとき、バスブリッジ33とCPU2aとは直接データバスA,Bが接続されていないので、バスブリッジ31とバスブリッジ201を介してスキャナ駆動指示が送られる。   For example, when the operation unit 2d instructs the CPU 2a to copy one page, the CPU 2a instructs the bus bridge 33 to drive the scanner to drive the scanner unit. At this time, since the bus bridge 33 and the CPU 2a are not directly connected to the data buses A and B, a scanner driving instruction is sent via the bus bridge 31 and the bus bridge 201.

このスキャナ駆動指示に際して、CPU2aからバスブリッジ31へ制御命令D1が送出される。この際に、CPU2aで発生されるアドレスは予めマッピングされたバスブリッジ31を示している。従って、バスブリッジ31はこの制御命令D1及びアドレスをデータバスAにドライブする。このデータバスAに接続されたバスブリッジ201では、この制御命令D1に付されたアドレスがデータバスBに接続されたバスブリッジ33を指定するものなので、この制御命令D1及びアドレスがデータバスBにドライブされる。これにより、バスブリッジ33ではバスブリッジ201からの制御命令D1及びアドレスが受信され、スキャナ部42の駆動制御が行われる。   At the time of this scanner driving instruction, a control command D1 is sent from the CPU 2a to the bus bridge 31. At this time, the address generated by the CPU 2a indicates the bus bridge 31 mapped in advance. Therefore, the bus bridge 31 drives the control command D1 and the address onto the data bus A. In the bus bridge 201 connected to the data bus A, since the address assigned to the control instruction D1 specifies the bus bridge 33 connected to the data bus B, the control instruction D1 and the address are assigned to the data bus B. Driven. Thus, the bus bridge 33 receives the control command D1 and the address from the bus bridge 201, and controls the driving of the scanner unit 42.

次に、CPU2aからバスブリッジ33に対して、スキャナ部42から出力される画像データの転送先、転送バイト数などが指示される。このとき、上述したようにCPU2aはCPUバス1aを通して、データバスA上にバスブリッジ33のアドレスと画像データの格納先などを指示する制御命令D1がドライブされる。これにより、バスブリッジ31及びバスブリッジ201を通って、制御命令D1がバスブリッジ33に転送される。この制御命令D1を受け取ったバスブリッジ33では、スキャナ部42からの画像データを指示された画像メモリ3のアドレスに書き込むべき準備が開始される。   Next, the destination of the image data output from the scanner unit 42, the number of transfer bytes, and the like are instructed from the CPU 2a to the bus bridge 33. At this time, as described above, the CPU 2a drives the control command D1 for instructing the address of the bus bridge 33, the storage location of the image data, and the like on the data bus A via the CPU bus 1a. Thereby, the control command D1 is transferred to the bus bridge 33 through the bus bridge 31 and the bus bridge 201. The bus bridge 33 that has received the control command D1 starts preparations for writing the image data from the scanner unit 42 to the specified address of the image memory 3.

この書き込みに際して、バスブリッジ33はバスアービタ71に対してデータバスBの使用を要求する。バスアービタ71は内蔵する所定のアルゴリズムに従って、その時の最優先のバス使用要求に対してデータバスBの使用を許可する。この場合は、バスブリッジ201及びバスブリッジ34からバス使用要求がなされていないので、バスブリッジ33に対してデータバスBの使用が許可される。許可を受けたバスブリッジ33では、指定された画像メモリ3のアドレスがデータバスBにドライブされる。   At the time of this writing, the bus bridge 33 requests the bus arbiter 71 to use the data bus B. The bus arbiter 71 permits the use of the data bus B in response to the highest-priority bus use request at that time according to a predetermined algorithm contained therein. In this case, since no bus use request has been made from the bus bridge 201 and the bus bridge 34, the use of the data bus B is permitted to the bus bridge 33. In the bus bridge 33 having the permission, the specified address of the image memory 3 is driven to the data bus B.

この画像メモリ3のアドレスを受けたバスブリッジ201では、制御命令D1をデコードすることにより、画像メモリ3に対するアクセスであることが検知される。従って、データバスB上にドライブされた画像データが、バスブリッジ201の上述した内部データバス15b及びFIFOメモリ23aを通って画像メモリ3に格納される(図4参照)。   The bus bridge 201 receiving the address of the image memory 3 decodes the control command D1 to detect that the access is to the image memory 3. Therefore, the image data driven on the data bus B is stored in the image memory 3 through the above-described internal data bus 15b of the bus bridge 201 and the FIFO memory 23a (see FIG. 4).

ここで、CPU2aのアドレスマップ上で画像メモリ3のアドレスとバスブリッジ34のアドレスとを同じ値に設定すると、スキャナ部42からの画像データを画像メモリ3に格納しつつ、プリンタ部52によって同時に原稿の画像をプリントアウトすることができる。   Here, if the address of the image memory 3 and the address of the bus bridge 34 are set to the same value on the address map of the CPU 2a, the image data from the scanner unit 42 is stored in the image memory 3 while the document Can be printed out.

このバスブリッジ33によって、CPU2aより指定された転送バイト数の画像データが画像メモリ3に格納されている間は、CPUバス1a及びデータバスAは画像データの転送には使用されていないので、CPU2aやCPU25等は新たに指示された通信処理などのジョブを処理することができる。   While the image data of the transfer byte number specified by the CPU 2a is stored in the image memory 3 by the bus bridge 33, the CPU bus 1a and the data bus A are not used for the transfer of the image data. The CPU 25 and the like can process a job such as a newly designated communication process.

そして、指定されたバイト数分の画像データの転送が終了すると、バスブリッジ33はCPU2aに対してデータ転送終了を通知する。このとき、バスブリッジ33ではバスブリッジ31内のステータスレジスタ17bに終了ステータスデータD2を記録するために、バスブリッジ31のアドレスを指示すべくデータバスBがドライブされる。   When the transfer of the specified number of bytes of image data is completed, the bus bridge 33 notifies the CPU 2a of the end of the data transfer. At this time, in the bus bridge 33, the data bus B is driven to indicate the address of the bus bridge 31 in order to record the end status data D2 in the status register 17b in the bus bridge 31.

このデータバスBがドライブされるので、バスブリッジ201ではアドレスがデコードされ、バスブリッジ31のアドレスと終了ステータスデータD2とがデータバスAにドライブされる。これにより、バスブリッジ31では当該バスブリッジ自身宛のアドレスがドライブされているので、終了ステータスデータD2が上述したステータスレジスタ17bに格納される。   Since the data bus B is driven, the address is decoded in the bus bridge 201, and the address of the bus bridge 31 and the end status data D2 are driven to the data bus A. Thus, in the bus bridge 31, since the address addressed to the bus bridge itself is driven, the end status data D2 is stored in the status register 17b.

このバスブリッジ31ではステータスレジスタ17bの内容が変化するので、この内容がCPU2aに通知される。従って、CPU2aはバスブリッジ31のレジスタ17bをリードすることにより、スキャナ部42から画像メモリ3への画像データの転送が終了したことを検知することができる。   Since the contents of the status register 17b change in the bus bridge 31, the contents are notified to the CPU 2a. Therefore, by reading the register 17b of the bus bridge 31, the CPU 2a can detect that the transfer of the image data from the scanner unit 42 to the image memory 3 has been completed.

このデータ転送終了通知を受け取ったCPU2aは、今度はバスブリッジ34に対してプリンタ部52の起動を指示する。このとき、CPUバス1aにドライブされたアドレスはバスブリッジ34を指示するものである。従って、バスブリッジ34に対する制御命令D1はバスブリッジ31及びバスブリッジ201を通って、バスブリッジ34のコマンドレジスタ17aに格納される。その後、CPU2aからバスブリッジ34に対して、画像データの格納元、そのバイト数が指示され、プリント開始の準備がなされる。   The CPU 2a that has received the data transfer end notification instructs the bus bridge 34 to start the printer unit 52. At this time, the address driven on the CPU bus 1a indicates the bus bridge 34. Accordingly, the control command D1 for the bus bridge 34 passes through the bus bridge 31 and the bus bridge 201 and is stored in the command register 17a of the bus bridge 34. Thereafter, the CPU 2a instructs the bus bridge 34 on the storage source of the image data and the number of bytes, and prepares for the start of printing.

そして、バスブリッジ34ではデータ転送のためにバスアービタ71に対してデータバスBの使用が要求される。この要求を受けたバスアービタ71では所定のアルゴリズムに従って、その時最優先のバス使用要求に対して許可が与えられる。この場合は、バスブリッジ201及びバスブリッジ33からのバス使用要求がないので、バスブリッジ34に対してデータバスBの使用の許可が与えられる。この許可を受けたバスブリッジ34では画像メモリ3のアドレスがデータバスBにドライブされる。   The bus bridge 34 requires the bus arbiter 71 to use the data bus B for data transfer. Upon receiving this request, the bus arbiter 71 is given permission for the highest priority bus use request according to a predetermined algorithm. In this case, since there is no bus use request from the bus bridge 201 and the bus bridge 33, the bus bridge 34 is given permission to use the data bus B. In the bus bridge 34 having received the permission, the address of the image memory 3 is driven to the data bus B.

この画像メモリ3のアドレスを受けたバスブリッジ201では、このアドレスがデコードされ、このデコード結果によって画像メモリ3に対するアクセスであることが検知される。これにより、バスブリッジ201ではCPU2aによって指定されたアドレスの画像メモリ3から画像データが読み出され、その画像データがデータバスB上にドライブされる。このデータバスB上にドライブされた画像データがバスブリッジ34によって取り込まれ、その画像データがプリンタ部52に出力される。   In the bus bridge 201 receiving the address of the image memory 3, the address is decoded, and an access to the image memory 3 is detected based on the decoded result. Thus, in the bus bridge 201, the image data is read from the image memory 3 at the address specified by the CPU 2a, and the image data is driven onto the data bus B. The image data driven on the data bus B is captured by the bus bridge 34, and the image data is output to the printer unit 52.

このバスブリッジ34では、指定されたバイト分だけプリントアウトが済むと、上述したバスブリッジ31内のステータスレジスタ17bに転送終了ステータスが格納される。このように、バスブリッジ33に起動コマンドを送ってから原稿の1ページのコピー終了まで、CPUバス1a及びデータバスAをCPU2aの次のジョブのために使用することができる。   In the bus bridge 34, when the specified bytes have been printed out, the transfer end status is stored in the status register 17b in the bus bridge 31 described above. In this manner, the CPU bus 1a and the data bus A can be used for the next job of the CPU 2a from the time when the start command is sent to the bus bridge 33 until the end of copying one page of the document.

次に、原稿が複数枚で、しかも、複数部の転写紙にコピーする場合について説明する。この場合も、操作部2dからの指示によりCPU2aはバスブリッジ33に対してスキャナ部42の駆動制御のための制御命令D1を送る。さらに、スキャナ部42で読み取られた画像データの格納先アドレス及び読み込みバイト数が設定され、画像データの読み取りが開始される。このとき、前述したように、バスブリッジ34のアドレスを画像メモリ3のアドレスと同一に設定することにより、読み込まれた画像データをプリントアウトしながら画像メモリ3に格納することもできる。   Next, a case where a plurality of documents are copied on a plurality of copies of transfer paper will be described. Also in this case, the CPU 2a sends a control command D1 for controlling the drive of the scanner unit 42 to the bus bridge 33 in response to an instruction from the operation unit 2d. Further, the storage destination address and the number of read bytes of the image data read by the scanner unit 42 are set, and reading of the image data is started. At this time, by setting the address of the bus bridge 34 to be the same as the address of the image memory 3 as described above, the read image data can be stored in the image memory 3 while being printed out.

この例では原稿の第1ページ目の画像データの読み込みが終了したら、CPU2aはバスブリッジ34に対してプリンタ部52の起動を指示する。また、このとき、画像メモリ3に1ページ分のメモリ領域に空きがあれば、CPU2aはバスブリッジ33に対して第2ページ目の読み込みの開始を指示する。各ブリッジ33、34はバスアービタ71に対してデータバスBの使用を要求する。この許可を受け取ったバスブリッジ33又は34が上述したようなデータ転送が行われる。上述した同一動作を第1ページ目の原稿の枚数分だけ行われると、第1ページ目の原稿の1部コピーが終了する。複数部のコピーをとるためには、バスブリッジ34に対して順次起動をかけ、予め設定された部数のコピーが終了する。   In this example, when the reading of the image data of the first page of the document is completed, the CPU 2a instructs the bus bridge 34 to start the printer unit 52. At this time, if there is free space in the memory area for one page in the image memory 3, the CPU 2a instructs the bus bridge 33 to start reading the second page. Each of the bridges 33 and 34 requests the bus arbiter 71 to use the data bus B. The bus bridge 33 or 34 receiving this permission performs the data transfer as described above. When the same operation described above is performed for the number of originals on the first page, one copy of the original on the first page is completed. In order to copy a plurality of copies, the bus bridge 34 is sequentially activated, and the copy of a preset number of copies is completed.

このようにして、本実施の形態としての画像形成装置400によれば、CPU2aとは独立してメモリ専用のバスブリッジ201により画像データの入出力制御を行うことができるので、スキャナ部42が画像メモリ3に画像データを書き込んでいるときに、同時に、スキャナ部42からの画像データに基づいてプリンタ部42で、原稿の画像を複写することができる。従って、CPU2aからバスブリッジ201へ制御命令D1が与えられた後は、CPU2aに通信処理などの他のデータ処理を実行させることができる。   As described above, according to the image forming apparatus 400 of the present embodiment, the input / output control of the image data can be performed by the bus bridge 201 dedicated to the memory independently of the CPU 2a. While writing the image data in the memory 3, the image of the original can be copied by the printer unit 42 based on the image data from the scanner unit 42 at the same time. Therefore, after the control command D1 is given from the CPU 2a to the bus bridge 201, the CPU 2a can execute other data processing such as communication processing.

この例ではCPU25に通信手段38が接続され、スキャナ部42による原稿の画像データが通信回線39に送信され、又は通信回線39を使用して送られてくる原稿の画像データが受信される。この通信手段38によって受信された原稿の画像データをプリンタ部52により再生出力するようにしてもよい。   In this example, the communication unit 38 is connected to the CPU 25, and the image data of the original by the scanner unit 42 is transmitted to the communication line 39, or the image data of the original transmitted by using the communication line 39 is received. The image data of the document received by the communication unit 38 may be reproduced and output by the printer unit 52.

なお、CPU2aとCPU25とは同一のものであっても構わない。CPU2aとCPU25が同一の場合には、バスブリッジ31とバスブリッジ32とを同一構成とすることができる。ROM2bなどに設備するアドレスマップ内容が簡略化する。   Note that the CPU 2a and the CPU 25 may be the same. When the CPU 2a and the CPU 25 are the same, the bus bridge 31 and the bus bridge 32 can have the same configuration. The contents of the address map provided in the ROM 2b and the like are simplified.

本実施の形態では、スキャナ部42及びプリンタ部52などによって画像メモリ3を共用できるので、従来方式のようなページメモリが不要となると共に、画像メモリ3の使用効率が向上する。   In the present embodiment, since the image memory 3 can be shared by the scanner unit 42, the printer unit 52, and the like, the page memory unlike the conventional method is not required, and the use efficiency of the image memory 3 is improved.

また、従来方式のような1つのデータバスをA、Bの2つに分けることができたので、CPU2aとの影響を懸念することなく、DMACを導入することができる。従って、バスブリッジ31〜34内のインタフェース制御部18やバスブリッジ201内のインタフェース制御部28にDMAC機能を備えることにより、画像データなどの転送速度の高速化が図れる。   Further, since one data bus can be divided into two, A and B, as in the conventional system, the DMAC can be introduced without concern about the influence on the CPU 2a. Therefore, by providing the interface control unit 18 in the bus bridges 31 to 34 and the interface control unit 28 in the bus bridge 201 with the DMAC function, the transfer speed of image data and the like can be increased.

本発明の実施の形態としてのインタフェース装置100の構成例を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration example of an interface device 100 according to an embodiment of the present invention. インタフェース装置100の動作例を示す構成図である。FIG. 2 is a configuration diagram illustrating an operation example of the interface apparatus. 本発明の実施の形態としての3方向性のインタフェース装置200の構成例を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration example of a three-way interface device 200 according to an embodiment of the present invention. インタフェース装置200の動作例を示す構成図である。FIG. 4 is a configuration diagram illustrating an operation example of the interface apparatus 200. 本発明の実施の形態としてのデータ処理装置300の構成例を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration example of a data processing device 300 according to an embodiment of the present invention. 本発明の実施の形態としての画像形成装置400の構成例を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration example of an image forming apparatus according to an embodiment of the present invention. 従来方式の画像形成装置500の構成例を示すブロック図である。FIG. 5 is a block diagram illustrating a configuration example of a conventional image forming apparatus 500.

符号の説明Explanation of reference numerals

1 CPUバス
2 システム制御手段
3 画像メモリ
5 画像取得手段
6 画像再生手段
10 主制御装置
13,16 インタフェース部
17 制御用のメモリ
17a コマンドレジスタ
17b ステータスレジスタ
20 副制御装置
21 内部バスセレクタ
24 メモリ制御手段
28 インタフェース制御部
30 主記憶装置
31〜34,201 バスブリッジ
60,70 バス調停手段
100,200 インタフェース装置
DESCRIPTION OF SYMBOLS 1 CPU bus 2 System control means 3 Image memory 5 Image acquisition means 6 Image reproduction means 10 Main control unit 13, 16 Interface unit 17 Control memory 17a Command register 17b Status register 20 Sub-control unit 21 Internal bus selector 24 Memory control unit 28 Interface control unit 30 Main storage device 31-34, 201 Bus bridge 60, 70 Bus arbitration means 100, 200 Interface device

Claims (3)

第1のデータバスと、
前記第1のデータバスと接続される通信制御部と、
第2のデータバスと、
前記第2のデータバスと接続され、データに基づいて画像形成を行うプリンタ部と、
データ用のメモリと、
前記メモリと前記第1のデータバスとの間でのデータの書き込み読み出しをし、前記メモリと前記第2のデータバスとの間でのデータの書き込み読み出しをし、及び、前記第1のデータバスと前記第2のデータバスとの間でのデータ転送を行う3方向性のインタフェース手段とを備え、
前記3方向性のインタフェース手段は、
前記第1のデータバスと接続する第1のインタフェース部と、
前記第2のデータバスと接続する第2のインタフェース部と、
前記メモリへのデータの書き込み読み出しを制御するメモリ制御手段と、
前記第1のインタフェース部から入力されるデータを一時記憶する第1のFIFOメモリと、
前記第2のインタフェース部へ出力されるデータを一時記憶する第2のFIFOメモリと、
前記メモリ制御手段によって書き込み読み出し制御されるデータを一時記憶する第3のFIFOメモリと、
第1のインタフェース部および前記メモリ制御手段を制御することにより、前記通信制御部から前記メモリへのデータ転送を可能とし、
第1のインタフェース部および前記メモリ制御手段を制御することにより、前記メモリから前記プリンタ部へのデータ転送を可能とし、
前記メモリに対して前記第1のデータバス及び前記第2のデータバスを時系列的にアクセス可能に制御する制御部とを有していること
を特徴とする画像形成装置。
A first data bus;
A communication control unit connected to the first data bus;
A second data bus;
A printer unit connected to the second data bus and performing image formation based on data;
Memory for data,
Writing and reading data between the memory and the first data bus, writing and reading data between the memory and the second data bus, and And three-way interface means for performing data transfer between the first data bus and the second data bus.
The three-way interface means includes:
A first interface unit connected to the first data bus;
A second interface unit connected to the second data bus;
Memory control means for controlling writing and reading of data to and from the memory,
A first FIFO memory for temporarily storing data input from the first interface unit;
A second FIFO memory for temporarily storing data output to the second interface unit;
A third FIFO memory for temporarily storing data to be written and read by the memory control means;
By controlling the first interface unit and the memory control unit, it is possible to transfer data from the communication control unit to the memory,
By controlling the first interface unit and the memory control unit, it is possible to transfer data from the memory to the printer unit,
An image forming apparatus, comprising: a control unit that controls the first data bus and the second data bus so that the memory can be accessed in time series.
データに基づいて画像形成を行うプリンタ部を有する画像形成装置において、
第1のデータバスと、
前記第1のデータバスと接続される通信制御部と、
第2のデータバスと、
前記第2のデータバスと接続されるスキャナ部と、
前記データ用のメモリと、
前記メモリと前記第1のデータバスとの間でのデータの書き込み読み出をし、前記メモリと前記第2のデータバスとの間でのデータの書き込み読み出をし、及び、前記第1のデータバスと前記第2のデータバスとの間でのデータ転送を行う3方向性のインタフェース手段とを備え、
前記3方向性のインタフェース手段は、
前記第1のデータバスと接続する第1のインタフェース部と、
前記第2のデータバスと接続する第2のインタフェース部と、
前記メモリへのデータの書き込み読み出しを制御するメモリ制御手段と、
前記第1のインタフェース部へ出力されるデータを一時記憶する第1のFIFOメモリと、
前記第2のインタフェース部から入力されるデータを一時記憶する第2のFIFOメモリと、
前記メモリ制御手段によって書き込み読み出し制御されるデータを一時記憶する第3のFIFOメモリと、
第2のインタフェース部および前記メモリ制御手段を制御することにより、前記スキャナ部から前記メモリへのデータ転送を可能とし、
第1のインタフェース部および前記メモリ制御手段を制御することにより、前記メモリから前記通信制御部へのデータ転送を可能とし、
前記メモリに対して前記第1のデータバス及び前記第2のデータバスを時系列的にアクセス可能に制御する制御部とを有していることを特徴とする画像形成装置。
In an image forming apparatus having a printer unit that forms an image based on data,
A first data bus;
A communication control unit connected to the first data bus;
A second data bus;
A scanner unit connected to the second data bus;
A memory for the data;
Writing and reading data between the memory and the first data bus, writing and reading data between the memory and the second data bus, and Three-way interface means for performing data transfer between a data bus and the second data bus,
The three-way interface means includes:
A first interface unit connected to the first data bus;
A second interface unit connected to the second data bus;
Memory control means for controlling writing and reading of data to and from the memory,
A first FIFO memory for temporarily storing data output to the first interface unit;
A second FIFO memory for temporarily storing data input from the second interface unit;
A third FIFO memory for temporarily storing data to be written and read by the memory control means;
By controlling a second interface unit and the memory control unit, it is possible to transfer data from the scanner unit to the memory,
By controlling the first interface unit and the memory control unit, it is possible to transfer data from the memory to the communication control unit,
An image forming apparatus, comprising: a control unit that controls the first data bus and the second data bus so that the memory can be accessed in time series.
前記第1のインタフェース部、前記第2のインタフェース部、及び前記メモリ制御手段を入出力制御するための制御命令と、前記第1、第2及び第3のFIFOメモリのデータ書き込み読み出し制御するための制御命令とを一時記憶する制御用のメモリを有することを特徴とする請求項1又は2に記載の画像形成装置。 A control command for controlling input / output of the first interface unit, the second interface unit, and the memory control unit; and a control command for controlling data writing and reading of the first, second and third FIFO memories. 3. The image forming apparatus according to claim 1, further comprising a control memory for temporarily storing a control command.
JP2004210911A 2004-07-20 2004-07-20 Image forming apparatus Expired - Fee Related JP4010310B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004210911A JP4010310B2 (en) 2004-07-20 2004-07-20 Image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004210911A JP4010310B2 (en) 2004-07-20 2004-07-20 Image forming apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP35380897A Division JP4114988B2 (en) 1997-12-22 1997-12-22 Data processing device

Publications (2)

Publication Number Publication Date
JP2004304855A true JP2004304855A (en) 2004-10-28
JP4010310B2 JP4010310B2 (en) 2007-11-21

Family

ID=33411435

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004210911A Expired - Fee Related JP4010310B2 (en) 2004-07-20 2004-07-20 Image forming apparatus

Country Status (1)

Country Link
JP (1) JP4010310B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013073425A (en) * 2011-09-28 2013-04-22 Kyocera Document Solutions Inc Information processing device and information processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013073425A (en) * 2011-09-28 2013-04-22 Kyocera Document Solutions Inc Information processing device and information processing method

Also Published As

Publication number Publication date
JP4010310B2 (en) 2007-11-21

Similar Documents

Publication Publication Date Title
JP5438371B2 (en) Image processing apparatus and image processing method
US6240481B1 (en) Data bus control for image forming apparatus
JP2008310798A (en) Image processing controller and image forming apparatus
JP4114988B2 (en) Data processing device
JP5173707B2 (en) Information processing apparatus and control method thereof
JP2007058786A (en) Bridge and its control method
JPH11184801A (en) Interface device and data processing system
JP3920168B2 (en) Image forming apparatus, control method therefor, image forming system, and recording medium
JP4446968B2 (en) Data processing device
JP4010310B2 (en) Image forming apparatus
JP2004220575A (en) Interface circuit of card type memory, asic carrying its circuit and image forming apparatus carrying asic
US20150032885A1 (en) Image processing apparatus and control method
JP2007164552A (en) Memory controller and data transfer method
JP2007037017A (en) Image processing apparatus, image processing method, image processing program, and recording medium with image processing program recorded thereon
JPH11187230A (en) Image forming device
JP2002314740A (en) Network system for digital copying machine
US20210216240A1 (en) Information processing apparatus and control method therefor
JP4455566B2 (en) DMA transfer method
JP2006236211A (en) Information processing system
JPH11203059A (en) Image input and output device and its memory access method, and storage medium storing computer readable program
JP2007280373A (en) Data processing device, image processing device, image forming apparatus, and computer program
JP2006195888A (en) Print system
JP4158575B2 (en) Data processing system
JP2001167046A (en) Image processor
JP2002024159A (en) Controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040720

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050624

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050726

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050920

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060509

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060706

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070306

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070420

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070514

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070529

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070717

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070814

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070827

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100914

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees