JPH036762A - Direct access method for image memory - Google Patents

Direct access method for image memory

Info

Publication number
JPH036762A
JPH036762A JP14238889A JP14238889A JPH036762A JP H036762 A JPH036762 A JP H036762A JP 14238889 A JP14238889 A JP 14238889A JP 14238889 A JP14238889 A JP 14238889A JP H036762 A JPH036762 A JP H036762A
Authority
JP
Japan
Prior art keywords
image memory
cpu
memory
bus
direct access
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
JP14238889A
Other languages
Japanese (ja)
Other versions
JP3019323B2 (en
Inventor
Takezo Fujishige
藤重 武三
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP1142388A priority Critical patent/JP3019323B2/en
Publication of JPH036762A publication Critical patent/JPH036762A/en
Application granted granted Critical
Publication of JP3019323B2 publication Critical patent/JP3019323B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the overhead and to improve the overall processing speed of a system by using an arbiter to attain a direct access to an image memory from a host CPU. CONSTITUTION:An arbiter 4 arbitrates the access given to an image memory 11 from a host CPU 1 and the access given to the memory 11 from a local CPU 6. Thus a direct access is possible to the memory 11 from the CPU 1. If a direct access is impossible to the memory 11 via a graphic controller 9, a local bus 15 is used to attain the direct access to the memory 11. As a result, a large quantity of image data can be transferred with no intervention of a buffer 5. Thus it is possible to reduce the overhead and to improve the overall processing speed of a system.

Description

【発明の詳細な説明】[Detailed description of the invention]

〔産業上の利用分野] 本発明は、ローカルCPUを持つイメージ処理コントロ
ーラにおけるイメージメモリのダイレクトアクセス方法
に関し、特にシステム全体の処理速度向上が可能なホス
トCPUによるイメージメモリのダイレクトアクセス方
法に関する。 〔従来の技術〕 従来のイメージ処理システムでは、第2図に示すように
、ホストCPU21とのデータ通信用に、ホストCPU
21とイメージメモリ24の間に、デュアルポートメモ
リあるいはレジスタ等から構成されたバッファ23を持
っていた。これにより、ホストCPU21またはローカ
ルCPU25は、そのバッファ23にデータをセットし
てから、相手側がそのデータをリードするのを待って、
再びデータセットを行っていた。 このような方法では、イメージデータのように。 大容量のデータを扱う場合、イメージメモリとバッファ
、およびホストCPUとバッファの間のデータ転送時の
オーバヘッドが大きくなり、トータルのデータ処理時間
が長くなる。 なお、この種の装置として関連するものには、例えば”
特開昭58−20061号″が挙げられる。
[Industrial Application Field] The present invention relates to a method for direct access to an image memory in an image processing controller having a local CPU, and more particularly to a method for direct access to an image memory by a host CPU that can improve the processing speed of the entire system. [Prior Art] In a conventional image processing system, as shown in FIG.
21 and the image memory 24, there was a buffer 23 composed of a dual port memory or a register. As a result, the host CPU 21 or local CPU 25 sets data in its buffer 23, waits for the other side to read the data, and
I was doing the data set again. In such a way, like image data. When handling a large amount of data, the overhead during data transfer between the image memory and the buffer, and between the host CPU and the buffer increases, and the total data processing time increases. In addition, related devices of this type include, for example, “
JP-A No. 58-20061''.

【発明が解決しようとする課題1 従来、ローカルCPUがイメージメモリの内容をリード
して、デュアルポートメモリ(あるいはレジスタ)にラ
イトし、そのデータをホストCPUがリードするか、あ
るいはその逆の経路で、イメージデータの送受信を行っ
ていたため、オーバヘッドを軽減することが難しかった
。 本発明の目的は、このような問題点を改善し、システム
全体の処理速度を向上することが可能なイメージメモリ
のダイレクトアクセス方法を提供することにある。 1課題を解決するための手段〕 上記目的を達成するため1本発明のイメージメモリのダ
イレクトアクセス方法は、グラフィックコントローラ、
イメージメモリ、ローカルCPU、システムメモリ、フ
ァームウェアROMから構成され、ホストCPUに接続
されたイメージ処理コントローラにおいて、ホストCP
Uからイメージメモリへのアクセスと、ローカルCP(
Jからイメージメモリへのアクセス競合を調停するアー
ビタを備え、そのアービタの調停によって、ホストCP
Uからイメージメモリにダイレクトアクセスすることに
特徴がある。 [作用1 本発明においては、アービタにより、ホストCPUから
イメージメモリへのアクセスと、ローカルCPUからイ
メージメモリへのアクセスを調停することによって、ホ
ストCPUからイメージメモリへのダイレクトアクセス
が可能である。また、グラフィックコントローラを介し
てイメージメモリへのダイレクトアクセスができない場
合には、ローカルバスを付加することにより、イメージ
メモリにダイレクトアクセスする。 これにより、バッファを通さずに大量のイメージデータ
を転送することができるため、オーバヘッドを軽減する
とともに、システム全体の処理速度を向上することがで
きる。 〔実施例) 以下、本発明の一実施例を図面により説明する。 第1図は1本発明の一実施例におけるイメージ処理シス
テムの構成図、第3図は本発明の一実施例におけるアー
ビタのアービトレーション部の構成図である。 第1図において、1はホストCPU、2はホストバス、
3はイメージ処理コントローラ、4はアーとり、5はデ
ュアルポートメモリあるいはレジスタ等から構成され、
ホストCPUIとローカルCP[J6間のコマンド、パ
ラメータ、ステータス等の小容量データを保持するバッ
ファ、6はローカルCPU、7はメモリ、8はローカル
CPUバス、9はグラフィックコントローラ、10はフ
ァームウェア用のROM、IIはイメージメモリ、12
はホストCPUIのバス専有リクエスト信号およびバス
使用許可信号の信号線、13はローカルCPU6のバス
許可信号およびバスリクエスト信号の信号線、14はグ
ラフィックコントローラ9のバス専有リクエスト信号お
よびバス使用許可信号の信号線、[5はグラフィックコ
ントローラ9を用いてイメージメモリItをダイレクト
アクセスすることができない場合に付加するローカルバ
スである。 また、アービタ4の構成は第3図に示される。 本実施例では、アービタ4は、L3373等のIC回路
31.インバータ32、アンド回路33゜34から構成
される。これにより、ホストCPU1からイメージメモ
リ11へのアクセスと、ローカルCPU6からイメージ
メモリ+1へのアクセスを調停する。 このような構成により、ホストCPUIからイメージメ
モリ11を直接アクセスする場合、ホストCPUIがバ
ス専有リクエスト信号をアービタ4に出し、アービタ4
はローカルCPU6等のローカルCPUバス8の使用権
を排除し、バス使用許可信号によってホストCPUIに
アクセス権を許可する。その後、ホストCPU]は、グ
ラフィックコントローラ9を介してイメージメモリ1】
を直接ライト/リードする。 また、ホストCPUIあるいはグラフィックコントロー
ラ9がバスを使用していない場合には、ホストCPUI
あるいはグラフィックコントロ−ラ9のバス専有リクエ
スト信号がディゼープルになる事により、ローカルCP
U6にローカルCPUバス8の使用権が戻り、ローカル
CPU6はファームウェアROMl0の制御下で動作す
る。この場合、グラフィックコントローラ9にコマンド
を与え、イメージメモリ11内のデータの加工処理等を
行う、このように、ローカルCPU6にローカルCPU
バス8の使用権が戻った時、ローカルCPU6はイメー
ジメモリ+1にグラフィックコントローラ9を通してダ
イレクトアクセスすることができる。 なお、グラフィックコントローラ9を介してダイレクト
アクセスする機能を有しない場合には、ローカルバス1
5を付加して、イメージメモリ11をアクセスする。 次に、本実施例におけるアービトレーションについて述
べる。 第4図は、本発明の一実施例におけるローカルCPUお
よびアービタの入出力信号の関係を示す説明図、第5図
は本発明の一実施例におけるアービトレーション処理を
示すフローチャートである。 本実施例では、アービタ4はホストCPU1、ローカル
CPU6、グラフィックコントローラ9の3者を調停す
る。 第4図および第5図のように、他のバスマスタ(ホスト
cpui、グラフィックコントローラ9)が信号線12
.14でバス専有リクエスト信号をアービタ4に出力す
る(501)。 アービタ4は、ローカルCPU6以外のバスマスタがバ
ス使用中でなければ(502)、ローカルCPU6へ信
号線13でバスリクエスト信号を出力する(503)。 ローカルCPU6は、実行中のサイクルを終了しく50
4)、バス許可信号をアービタ4に出力する(505)
。 アービタ4は、第3図に示した回路でバス許可信号ON
時の2者(ホストバス2、グラフィックコントローラ9
)のアービトレーションを行い、バス専有リクエスト信
号の選択をして(506)、どちらかのバスマスタにバ
ス使用許可を通知する(507)。 〔発明の効果) 本実施例によれば、ホストCPUよりイメージメモリに
直接アクセスできるため、バッファを通さずに大量のデ
ータを転送することができ、オーバヘッドを軽減するこ
とができる。 また、一般にイメージデータは大容量であるため、その
処理性能を向上することにより、システム全体の処理速
度を向上することができる。
[Problem to be solved by the invention 1] Conventionally, the local CPU reads the contents of the image memory and writes it to the dual port memory (or register), and the host CPU reads the data, or vice versa. , it was difficult to reduce overhead because image data was sent and received. SUMMARY OF THE INVENTION An object of the present invention is to provide an image memory direct access method that can improve the above-mentioned problems and improve the processing speed of the entire system. 1 Means for Solving the Problems] In order to achieve the above object, 1 the image memory direct access method of the present invention provides a graphic controller,
In the image processing controller connected to the host CPU, which consists of an image memory, local CPU, system memory, and firmware ROM, the host CPU
Access from U to image memory and local CP (
It is equipped with an arbiter that arbitrates access conflicts from J to image memory.
The feature is that the image memory is directly accessed from U. [Operation 1] In the present invention, direct access from the host CPU to the image memory is possible by using the arbiter to arbitrate between access from the host CPU to the image memory and access from the local CPU to the image memory. Furthermore, if direct access to the image memory is not possible via the graphics controller, direct access to the image memory is achieved by adding a local bus. This allows a large amount of image data to be transferred without passing through a buffer, reducing overhead and improving the processing speed of the entire system. [Example] Hereinafter, an example of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of an image processing system in one embodiment of the present invention, and FIG. 3 is a block diagram of an arbitration section of an arbiter in one embodiment of the present invention. In FIG. 1, 1 is the host CPU, 2 is the host bus,
3 is an image processing controller, 4 is an armature, 5 is a dual port memory or register, etc.
A buffer that holds small amounts of data such as commands, parameters, and status between the host CPU I and the local CPU [J6, 6 is the local CPU, 7 is the memory, 8 is the local CPU bus, 9 is the graphic controller, and 10 is the ROM for firmware. , II is the image memory, 12
13 is a signal line for the bus exclusive request signal and bus permission signal of the host CPU 6; 13 is a signal line for the bus permission signal and bus request signal of the local CPU 6; 14 is a signal line for the bus exclusive request signal and bus permission signal of the graphic controller 9. The line [5 is a local bus that is added when it is not possible to directly access the image memory It using the graphic controller 9. Further, the configuration of the arbiter 4 is shown in FIG. In this embodiment, the arbiter 4 includes an IC circuit 31.L3373 or the like. It is composed of an inverter 32 and AND circuits 33 and 34. This arbitrates the access from the host CPU 1 to the image memory 11 and the access from the local CPU 6 to the image memory +1. With this configuration, when the host CPUI directly accesses the image memory 11, the host CPUI issues a bus exclusive request signal to the arbiter 4, and the arbiter 4
excludes the right to use the local CPU bus 8 from the local CPU 6, etc., and grants the host CPU the access right by means of a bus use permission signal. Thereafter, the host CPU] uses the image memory 1] via the graphics controller 9.
Directly write/read. In addition, if the host CPUI or graphics controller 9 is not using the bus, the host CPUI
Alternatively, by disabling the bus exclusive request signal of the graphic controller 9, the local CP
The right to use the local CPU bus 8 is returned to U6, and the local CPU 6 operates under the control of the firmware ROM10. In this case, a command is given to the graphic controller 9 to process the data in the image memory 11.
When the right to use bus 8 is restored, local CPU 6 can directly access image memory +1 through graphics controller 9. Note that if the graphics controller 9 does not have a function for direct access, the local bus 1
5 is added and the image memory 11 is accessed. Next, arbitration in this embodiment will be described. FIG. 4 is an explanatory diagram showing the relationship between the input and output signals of the local CPU and the arbiter in one embodiment of the present invention, and FIG. 5 is a flowchart showing arbitration processing in one embodiment of the present invention. In this embodiment, the arbiter 4 arbitrates between the host CPU 1, the local CPU 6, and the graphics controller 9. As shown in FIGS. 4 and 5, other bus masters (host CPU, graphic controller 9)
.. 14, a bus exclusive request signal is output to the arbiter 4 (501). If no bus master other than the local CPU 6 is using the bus (502), the arbiter 4 outputs a bus request signal to the local CPU 6 via the signal line 13 (503). The local CPU 6 terminates the cycle being executed.
4) Output a bus permission signal to arbiter 4 (505)
. The arbiter 4 uses the circuit shown in FIG. 3 to turn on the bus permission signal.
Two parties in time (host bus 2, graphic controller 9
), selects a bus exclusive request signal (506), and notifies one of the bus masters of permission to use the bus (507). [Effects of the Invention] According to this embodiment, since the host CPU can directly access the image memory, a large amount of data can be transferred without passing through a buffer, and overhead can be reduced. Furthermore, since image data generally has a large capacity, by improving its processing performance, the processing speed of the entire system can be improved.

【図面の簡単な説明】 第1図は本発明の一実施例におけるイメージ処理システ
ムの構成図、第2図は従来のイメージメモリアクセス方
法を示す説明図、第3図は本発明の一実施例におけるア
ービタのアービトレーション部の構成図、第4図は本発
明の一実施例におけるローカルCPUおよびアービタの
入出力信号の関係を示す説明図、第5図は本発明の一実
施例におけるアービトレーション処理を示すフローチャ
ートである。 1.21+ホストCPU、2・ホストバス、3゜22:
イメージ処理コントローラ、4:アービタ。 5.23+バツフア、6,25:ローカルCPU。 7:メモリ、8:ローカルCPU6以外、9ニゲラフイ
ツクコントローラ、10 : ROM、l 1,24・
イメージメモリ、12〜14コ信号線、150−カルバ
ス。
[Brief Description of the Drawings] Fig. 1 is a configuration diagram of an image processing system according to an embodiment of the present invention, Fig. 2 is an explanatory diagram showing a conventional image memory access method, and Fig. 3 is an embodiment of the present invention. FIG. 4 is an explanatory diagram showing the relationship between input and output signals of the local CPU and the arbiter in an embodiment of the present invention, and FIG. 5 shows arbitration processing in an embodiment of the present invention. It is a flowchart. 1.21+host CPU, 2・host bus, 3°22:
Image processing controller, 4: arbiter. 5.23 + buffer, 6,25: Local CPU. 7: Memory, 8: Local CPU other than 6, 9 Nigella Flick Controller, 10: ROM, l 1, 24.
Image memory, 12-14 signal lines, 150-Calbus.

Claims (1)

【特許請求の範囲】[Claims] (1)グラフィックコントローラ、イメージメモリ、ロ
ーカルCPU、システムメモリ、ファームウェアROM
から構成され、ホストCPUに接続されたイメージ処理
コントローラにおいて、ホストCPUからイメージメモ
リへのアクセスと、ローカルCPUからイメージメモリ
へのアクセス競合を調停するアービタを備え、該アービ
タの調停によって、ホストCPUからイメージメモリに
ダイレクトアクセスすることを特徴とするイメージメモ
リのダイレクトアクセス方法。
(1) Graphic controller, image memory, local CPU, system memory, firmware ROM
An image processing controller connected to the host CPU includes an arbiter that arbitrates conflicts between accesses from the host CPU to the image memory and accesses from the local CPU to the image memory. An image memory direct access method characterized by directly accessing the image memory.
JP1142388A 1989-06-05 1989-06-05 Direct access to image memory Expired - Fee Related JP3019323B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1142388A JP3019323B2 (en) 1989-06-05 1989-06-05 Direct access to image memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1142388A JP3019323B2 (en) 1989-06-05 1989-06-05 Direct access to image memory

Publications (2)

Publication Number Publication Date
JPH036762A true JPH036762A (en) 1991-01-14
JP3019323B2 JP3019323B2 (en) 2000-03-13

Family

ID=15314205

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1142388A Expired - Fee Related JP3019323B2 (en) 1989-06-05 1989-06-05 Direct access to image memory

Country Status (1)

Country Link
JP (1) JP3019323B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6083106B2 (en) * 2011-11-18 2017-02-22 大日本印刷株式会社 Substrate holding frame transport method

Also Published As

Publication number Publication date
JP3019323B2 (en) 2000-03-13

Similar Documents

Publication Publication Date Title
US4271466A (en) Direct memory access control system with byte/word control of data bus
US5426737A (en) Direct memory access for data transfer within an I/O device
JPH0619760B2 (en) Information processing equipment
JP2591502B2 (en) Information processing system and its bus arbitration system
US5627968A (en) Data transfer apparatus which allows data to be transferred between data devices without accessing a shared memory
US6026455A (en) Architecture and method for providing guaranteed access for a retrying bus master to a data transfer bridge connecting two buses in a computer system
JPH036762A (en) Direct access method for image memory
US20100153610A1 (en) Bus arbiter and bus system
JPS63175964A (en) Shared memory
JP2574821B2 (en) Direct memory access controller
JPH11110342A (en) Method and device for connecting bus
JPH0351943A (en) Sharing system for high/low speed bus lines
JP3028998B2 (en) DMA transfer circuit
JPS6381557A (en) Dual port memory
JPH02211571A (en) Information processor
JPH04120648A (en) Common bus connecting device
JPH01205259A (en) Block transfer circuit
JPS61286956A (en) Data processor
JPH034349A (en) Dma transfer system
JPS642985B2 (en)
JPH0293971A (en) Memory access circuit
JPH08115293A (en) Information processor
JPS635460A (en) Parallel computer
JPH03189755A (en) Inter-memory transfer device
JPH0786852B2 (en) Data transfer method of I / O processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees