JPH0348978A - Bus arbitrating device for picture memory device - Google Patents

Bus arbitrating device for picture memory device

Info

Publication number
JPH0348978A
JPH0348978A JP18429489A JP18429489A JPH0348978A JP H0348978 A JPH0348978 A JP H0348978A JP 18429489 A JP18429489 A JP 18429489A JP 18429489 A JP18429489 A JP 18429489A JP H0348978 A JPH0348978 A JP H0348978A
Authority
JP
Japan
Prior art keywords
image memory
bus
signal
memory bus
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP18429489A
Other languages
Japanese (ja)
Inventor
Toshihiro Ono
大野 俊広
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP18429489A priority Critical patent/JPH0348978A/en
Publication of JPH0348978A publication Critical patent/JPH0348978A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the utilization efficiency of a picture memory bus by measuring the time required for a drawing controller to arbitrate the picture memory bus and granting the use of the bus before the measurement of the time is through. CONSTITUTION:A strobe signal (a) is set at a low level based on a request given from a host CPU for use of a picture memory bus 5. Thus a control circuit 2 sets an access request signal (b) synchronized with the rise of a clock signal CK at a low level. Then a request is given to a drawing controller 1 for use of the bus 5. The controller 1 sets an acknowledge signal (c) at a low level after a proper arbitrating time. Hereafter the host CPU can occupy the bus 5 and give an access to a picture memory. As a result, the accessible time rate is improved for the host CPU to the picture memory. Then the system through put is improved.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 この発明は、パーソナルコンピュータやワークスチーシ
ランなどにおける画像メモリ装置に関連し、殊にこの発
明は、画像メモリバスの使用に対する要求を調停するた
めのバス調停装置に関する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to image memory devices in personal computers, workstations, etc., and in particular, the present invention relates to image memory devices in personal computers, workstations, etc. The present invention relates to a bus arbitration device.

〈従来の技術〉 例えばワークステーションなどでは、ホストCPUがグ
ラフィックプロセッサである描画コントローラLSIを
用いて画像メモリをアクセスし所定の描画を行っている
。この描画コントローラは、画像メモリバスの使用に対
する他からの要求を調停する機能をもっており、例えば
ホストCPUから画像メモリバスの使用に対する要求が
あると、描画コントローラが適当な調停時間経過後に画
像メモリバスの使用を承諾する承諾信号を出力して、画
像メモリバスの使用を許可している。そして再び描画コ
ントローラが画像メモリをアクセスするときは、適当な
タイミングで前記承諾信号をオフしてホストCPUへの
画像メモリの使用を禁止し、調停時間経過後に描画コン
トローラが画像メモリのアクセスを開始する。
<Prior Art> For example, in a workstation or the like, a host CPU uses a drawing controller LSI, which is a graphics processor, to access an image memory and perform predetermined drawing. This drawing controller has a function of arbitrating requests from others for the use of the image memory bus. For example, when there is a request for the use of the image memory bus from the host CPU, the drawing controller adjusts the use of the image memory bus after an appropriate arbitration time has elapsed. The image memory bus is permitted to be used by outputting a consent signal for consenting to its use. When the drawing controller accesses the image memory again, the permission signal is turned off at an appropriate timing to prohibit the host CPU from using the image memory, and after the arbitration time has elapsed, the drawing controller starts accessing the image memory. .

〈発明が解決しようとする問題点〉 しかしながらホストCPUが高性能化して処理速度が高
速化すると、ホストCPUにとって前記描画コントロー
ラによる画像メモリバスの調停時間はかなり長いものと
なって時間的な無駄が多く、また画像メモリバスの利用
効率も十分ではない。このためホストCPUが画像メモ
リをアクセスすることができる時間割合を高めることの
要請が強くあるが、現在のところ有効な方法は提案され
ていない。
<Problems to be Solved by the Invention> However, as the performance of the host CPU increases and its processing speed increases, the time it takes for the host CPU to arbitrate the image memory bus by the drawing controller becomes quite long, resulting in wasted time. In addition, the utilization efficiency of the image memory bus is not sufficient. For this reason, there is a strong demand for increasing the percentage of time that the host CPU can access the image memory, but no effective method has been proposed at present.

この発明は、描画コントローラによる画像メモリバスの
調停時間がCPUによる画像メモリのアクセス時間より
長いことに着目し、この調停時間中の他からの画像メモ
リのアクセスを可能となすことにより1画像メモリバス
の利用効率を最大限に発揮させて、ホストCPUによる
画像メモリのアクセス可能な時間割合を高めることので
きる新規な画像メモリ装置のバス調停装置を提供するこ
とを目的とする。
This invention focuses on the fact that the image memory bus arbitration time by the drawing controller is longer than the image memory access time by the CPU, and by making it possible to access the image memory from other devices during this arbitration time, one image memory bus An object of the present invention is to provide a new bus arbitration device for an image memory device that can maximize the usage efficiency of the image memory and increase the percentage of time that the image memory can be accessed by a host CPU.

く問題点を解決するための手段〉 上記目的を達成するため、この発明では、画像メモリバ
スの使用に対する要求を調停する機能をもつ描画コント
ローラを具備し、この描画コントローラが画像メモリバ
スの使用を承諾する承諾信号を出力することにより画像
メモリバスの使用を許可するようにした画像メモリ装置
において、前記承諾信号がオフした後に描画コントロー
ラが画像メモリバスを調停するのに要する時間を計測す
るための計時部と、この計時部による計測が完了するま
での時間につき画像メモリバスの使用を許可する信号を
生成する信号生成部とでバス調停装置を構成することに
した。
Means for Solving the Problems In order to achieve the above object, the present invention includes a drawing controller that has a function of arbitrating requests for the use of the image memory bus. In an image memory device configured to permit use of an image memory bus by outputting a consent signal, a method for measuring the time required for a drawing controller to arbitrate the image memory bus after the consent signal is turned off. A bus arbitration device is constituted by a clock section and a signal generation section that generates a signal to permit use of the image memory bus for the time taken until the measurement by the clock section is completed.

〈作用〉 画像メモリバスの使用に対するホス)CPUからの要求
があると、描画コントローラは調停時間の経過後に画像
メモリバスの使用を承諾する承諾信号を出力して画像メ
モリバスの使用を許可する。その後に描画コントローラ
が画像メモリのアクセスを開始する際、前記承諾信号を
オフし、計時部により描画コントローラによる画像メモ
リバスの調停時間を計測する。そしてこの計時部による
計測が完了するまでの時間は、信号生成部が画像メモリ
バスの使用を許可する信号を生成して出力し、ホストC
PUによる画像メモリのアクセスを可能となす。これに
より画像メモリバスの利用効率が最大限に発揮され、ホ
ストCPUによる画像メモリのアクセス可能な時間割合
が高められる。
<Operation> When there is a request from the CPU for use of the image memory bus, the drawing controller outputs a consent signal to approve the use of the image memory bus after the arbitration time has elapsed, thereby permitting use of the image memory bus. After that, when the drawing controller starts accessing the image memory, the consent signal is turned off, and the timer measures the time required for the image memory bus to be arbitrated by the drawing controller. The time until the measurement by the clock unit is completed is determined by the signal generation unit generating and outputting a signal to permit the use of the image memory bus, and the host C
Enables the PU to access the image memory. This maximizes the utilization efficiency of the image memory bus and increases the percentage of time during which the image memory can be accessed by the host CPU.

〈実施例〉 第1図および第2図はこの発明の一実施例にかかる画像
メモリ装置のバス調停装置の回路構成例を、また第3図
はそのタイムチャートを、それぞれ示している。
<Embodiment> FIGS. 1 and 2 show an example of a circuit configuration of a bus arbitration device for an image memory device according to an embodiment of the present invention, and FIG. 3 shows a time chart thereof.

第1図に示すバス調停装置は、描画コントローラ1.コ
ントロール回路22発振器3.バッファ回路4などを含
んでおり、図示しない画像メモリに画像メモリバス5を
介して前記描画コントローラ1が接続しである。
The bus arbitration device shown in FIG. 1 includes a drawing controller 1. Control circuit 22 oscillator 3. It includes a buffer circuit 4 and the like, and the drawing controller 1 is connected to an image memory (not shown) via an image memory bus 5.

描画コントローラ1は汎用の描画LSI(例えば日本A
DM社製のrAm95C60J )であって、画像メモ
リバス5を介して画像メモリをアクセスする機能に加え
て、画像メモリバス5の使用に対するホストCPU(図
示せず)などからの要求を調停する機能を備えている。
The drawing controller 1 is a general-purpose drawing LSI (for example, Japan A
rAm95C60J manufactured by DM), in addition to the function of accessing the image memory via the image memory bus 5, it also has the function of arbitrating requests from a host CPU (not shown) etc. regarding the use of the image memory bus 5. We are prepared.

コントロール回路2は、ホストCPUからホストCPU
バス6を通じて画像メモリバス5の使用を要求するスト
ローブ信号aを入力すると、このストローブ信号aをク
ロック信号Cにに同期させることによりアクセス要求信
号すを生成し、これを描画コントローラlへ出力する。
The control circuit 2 is connected from the host CPU to the host CPU.
When a strobe signal a requesting use of the image memory bus 5 is input through the bus 6, the strobe signal a is synchronized with the clock signal C to generate an access request signal S, which is output to the drawing controller l.

なおホス)CPUは高速なデータ転送が可能な32ピッ
1−クラスのものであって、例えばモトローラ社製のr
Mc68030」などが用いられる。
Note that the host CPU is a 32-pin 1-class CPU capable of high-speed data transfer, such as Motorola's R
Mc68030'' etc. are used.

前記アクセス要求信号すを受けて描画コントローラ1が
画像メモリバス5の使用を承諾する信号(以下、「承諾
信号」という)Cをコントロール回路2へ出力すると、
コントロール回路2はバッファ回路4に対し画像メモリ
バス5のホストCPUによる使用を許可するための許可
信号dを出力する。前記バッファ回路4はホストCPU
バス6と画像メモリバス5との間に介在し、双方向ゲー
トとして機能する。
When the drawing controller 1 receives the access request signal and outputs a signal (hereinafter referred to as "approval signal") C for consenting to the use of the image memory bus 5 to the control circuit 2,
The control circuit 2 outputs a permission signal d to the buffer circuit 4 for permission to use the image memory bus 5 by the host CPU. The buffer circuit 4 is a host CPU.
It is interposed between bus 6 and image memory bus 5 and functions as a bidirectional gate.

なお第1図中、発振器3は、コントロール回路2と描画
コントローラ1とにクロック信号CKを供給するための
もので、前記のストローブ信号a以外は全てこのクロッ
ク信号CKの立上がりに同期して変化する。
In FIG. 1, an oscillator 3 is used to supply a clock signal CK to the control circuit 2 and the drawing controller 1, and all signals except the strobe signal a change in synchronization with the rise of this clock signal CK. .

第2図は、前記コントロール回路2の具体例を示すもの
で、計時部7と信号生成部8とを具備している。
FIG. 2 shows a specific example of the control circuit 2, which includes a clock section 7 and a signal generation section 8. As shown in FIG.

前記計時部7は、複数個(n個)のフリップフロップF
F、〜FF、を0段接続して成るアップカウンタ9をも
って構成される。このアップカウンタ9は前記承諾信号
Cがオフした後の描画コントローラ1による調停時間り
を計測するためのもので、承諾信号Cがオフした直後の
クロック信号CKの入力に同期してカウントアツプ動作
する。なお第2図中、各段のフリップフロップFFI〜
FF、におけるDはデータ入力を、QはQ(正)出力を
、Rはリセット入力を、それぞれ示すもので、初段のフ
リップフロップFF、のデータ入力はプルアップされ、
2段目以降のフリップフロップFF!〜FF、のデータ
入力には前段のフリップフロップのQ出力が与えられ、
また各段フリップフロップFF、〜FF、のリセット人
力πには承諾信号Cが与えられる。
The time measurement section 7 includes a plurality of (n) flip-flops F.
It is constituted by an up counter 9 formed by connecting 0 stages of F, to FF. This up counter 9 is for measuring the arbitration time by the drawing controller 1 after the consent signal C is turned off, and counts up in synchronization with the input of the clock signal CK immediately after the consent signal C is turned off. . In addition, in Fig. 2, each stage of flip-flop FFI~
In the FF, D indicates data input, Q indicates Q (positive) output, and R indicates reset input, and the data input of the first stage flip-flop FF is pulled up.
Flip-flop FF from 2nd stage onwards! The Q output of the previous stage flip-flop is given to the data input of ~FF,
Further, a consent signal C is given to the manual reset π of each stage of flip-flops FF, -FF.

信号生成部8は、アンドゲート10とバッフアゲ−)1
1とを含んでいる。アンドゲート10は最終段のフリッ
プフロップFF、のQ出力と前記承諾信号Cとの論理積
により許可信号dを生成する。この実施例では9クロツ
クサイクルの調停時間む、に対し8クロツクサイクルを
計時したとき、最終段のフリップフロップ FF、、が
立ち上がって許可信号dが出力される。なおパンファゲ
ート11はストローブ信号aをクロック信号CKに同期
させてアクセス要求信号すを生成する。
The signal generation section 8 includes an AND gate 10 and a buffer gate 1
1. The AND gate 10 generates the permission signal d by ANDing the Q output of the final stage flip-flop FF and the permission signal C. In this embodiment, when 8 clock cycles are counted for the arbitration time of 9 clock cycles, the final stage flip-flop FF rises and the permission signal d is output. Note that the expansion gate 11 synchronizes the strobe signal a with the clock signal CK to generate an access request signal S.

つぎに回路動作を第3図に示すタイムチャートに基づき
説明する。
Next, the circuit operation will be explained based on the time chart shown in FIG.

いま画像メモリバス5の使用に対するホストCPUから
の要求に基づきストローブ信号aが’ LOW″のレベ
ルになると、コントロール回路2はクロック信号GKの
立上がりに同期したアクセス要求信号すを“LOW”の
レベルとなし、描画コントローラ1に対し画像メモリバ
ス5の使用を要求する。
Now, when the strobe signal a goes to the LOW level based on a request from the host CPU to use the image memory bus 5, the control circuit 2 sets the access request signal a to the LOW level in synchronization with the rise of the clock signal GK. None, requests the drawing controller 1 to use the image memory bus 5.

描画コントローラ1は、適当な調停時間の経過後、承諾
信号Cを“LOW”のレベルとすると、この時刻以降、
ホス)CPUは画像メモリバス5を占有して画像メモリ
をアクセスすることが可能となる。
When the drawing controller 1 sets the consent signal C to the "LOW" level after an appropriate arbitration time has elapsed, from this time on,
The (host) CPU can occupy the image memory bus 5 and access the image memory.

かくして第3図の時刻T、になると、描画コントローラ
1は他に優先する描画メモリサイクルを実行するため、
承諾信号Cを“HIGH”のレベルに戻す。この承諾信
号Cの立上がり時刻をT。
Thus, at time T in FIG. 3, the drawing controller 1 executes a drawing memory cycle that takes priority over others.
The consent signal C is returned to the "HIGH" level. The rising time of this consent signal C is T.

とし、時刻T、〜T、の9クロツクサイクルの時間幅り
、を描画コントローラlにて保証されている調停時間と
すると、ホストCPUの1メモタアクセスサイクルt2
は調停時間t、よりも短い(Lx<t、)ため、この間
、ホストCPUによる画像メモリのアクセスを可能とし
ている。
Assuming that the time width of 9 clock cycles between times T and T is the arbitration time guaranteed by the drawing controller l, one memory access cycle t2 of the host CPU
Since Lx is shorter than the arbitration time t (Lx<t), the image memory can be accessed by the host CPU during this time.

このような方式の場合、ホストCPUによる画像メモリ
のアクセスタイムがシステムで一定時間に規定できるた
め、クリティカルな動作条件にてこのシステムが誤動作
しない限界時刻までホストCPUによる新たなメモリア
クセスを許可するようにして、画像メモリバス5の利用
効率を最大限に発揮させている。
In such a system, since the access time of the image memory by the host CPU can be specified by the system as a fixed time, new memory accesses by the host CPU are allowed until the limit time when the system does not malfunction under critical operating conditions. This maximizes the utilization efficiency of the image memory bus 5.

〈発明の効果〉 この発明は上記の如く、画像メモリバスの使用を承諾す
る承諾信号がオフした後に描画コントローラが画像メモ
リバスを調停するのに要する時間を計測して、この計測
が完了するまでの時間につき画像メモリバスの使用を許
可するようにしたから、画像メモリバスの利用効率が最
大限に発揮されて、ホストCPUによる画像メモリのア
クセス可能な時間割合が高められ、システムのスルーブ
ツトが向上するなど、発明目的を達成した顕著な効果を
奏する。
<Effects of the Invention> As described above, the present invention measures the time required for the drawing controller to arbitrate the image memory bus after the consent signal for consenting to use of the image memory bus is turned off, and waits until this measurement is completed. Since the image memory bus is allowed to be used for every hour, the efficiency of image memory bus usage is maximized, increasing the percentage of time when image memory can be accessed by the host CPU, and improving system throughput. The invention has a remarkable effect of achieving the purpose of the invention.

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

第1図はこの発明の一実施例にかかる画像メモリ装置の
バス調停装置の回路ブロック図、第2図はコントロール
回路の具体例を示す電気回路図、第3図は第1図および
第2図に示す回路のタイムチャートである。 1・・・・描画コントローラ 2・トコントロール回路 5・・・・画像メモリバス
FIG. 1 is a circuit block diagram of a bus arbitration device for an image memory device according to an embodiment of the present invention, FIG. 2 is an electric circuit diagram showing a specific example of a control circuit, and FIG. 3 is a diagram similar to FIGS. 1 and 2. 2 is a time chart of the circuit shown in FIG. 1... Drawing controller 2... Control circuit 5... Image memory bus

Claims (1)

【特許請求の範囲】 画像メモリバスの使用に対する要求を調停する機能をも
つ描画コントローラを具備し、この描画コントローラが
画像メモリバスの使用を承諾する承諾信号を出力するこ
とにより画像メモリバスの使用を許可するようにした画
像メモリ装置において、 前記承諾信号がオフした後に描画コントローラが画像メ
モリバスを調停するのに要する時間を計測するための計
時部と、 この計時部による計測が完了するまでの時間につき画像
メモリバスの使用を許可する信号を生成する信号生成部
とを具備して成る画像メモリ装置のバス調停装置。
[Scope of Claims] A drawing controller is provided which has a function of arbitrating requests for use of the image memory bus, and the drawing controller outputs a consent signal for consenting to the use of the image memory bus, thereby requesting use of the image memory bus. In the image memory device that is configured to allow permission, there is provided a timer for measuring the time required for the drawing controller to arbitrate the image memory bus after the consent signal is turned off, and a time until the measurement by the timer completes the measurement. 1. A bus arbitration device for an image memory device, comprising: a signal generation unit that generates a signal for permitting use of an image memory bus.
JP18429489A 1989-07-17 1989-07-17 Bus arbitrating device for picture memory device Pending JPH0348978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18429489A JPH0348978A (en) 1989-07-17 1989-07-17 Bus arbitrating device for picture memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18429489A JPH0348978A (en) 1989-07-17 1989-07-17 Bus arbitrating device for picture memory device

Publications (1)

Publication Number Publication Date
JPH0348978A true JPH0348978A (en) 1991-03-01

Family

ID=16150814

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18429489A Pending JPH0348978A (en) 1989-07-17 1989-07-17 Bus arbitrating device for picture memory device

Country Status (1)

Country Link
JP (1) JPH0348978A (en)

Similar Documents

Publication Publication Date Title
JPS6290742A (en) Method and apparatus for upgrading performance of cpu
JPH0348978A (en) Bus arbitrating device for picture memory device
JP3987750B2 (en) Memory control device and LSI
JP2624388B2 (en) DMA device
JP2617132B2 (en) Direct memory access method
JPH02101560A (en) Bus interface device
JP2570271B2 (en) Semiconductor memory controller
JP3353368B2 (en) Bus relay device
JPH05282246A (en) Microcomputer
JPS60138661A (en) Processor control system
JPS63298555A (en) Shared memory control system
JPH03122746A (en) Dma control system
JPH0216667A (en) Processor system
JPS60211688A (en) Initializing circuit of dynamic memory
JPH0258152A (en) Microprocessor
JPH09297990A (en) Memory refresh control method and memory refresh controller
JPS61112272A (en) Microcomputer applied device
JPH0142017B2 (en)
JPS63271561A (en) Dma control circuit
JPS63155351A (en) Multi-processor system
JPS626360A (en) Memory control circuit
JPS61112271A (en) Data processor
JPH03240855A (en) Bus access system
JP2004272370A (en) Control device and data access method
JPH03191460A (en) Shared memory system