JPH05257860A - Information processing equipment - Google Patents
Information processing equipmentInfo
- Publication number
- JPH05257860A JPH05257860A JP5563292A JP5563292A JPH05257860A JP H05257860 A JPH05257860 A JP H05257860A JP 5563292 A JP5563292 A JP 5563292A JP 5563292 A JP5563292 A JP 5563292A JP H05257860 A JPH05257860 A JP H05257860A
- Authority
- JP
- Japan
- Prior art keywords
- processing
- signal
- access request
- cpu
- circuit
- 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
Links
Abstract
(57)【要約】
【目的】この発明は、バスを効率良く使用し、システム
の性能を向上させることを目的とする。
【構成】グラフィックスプロセッサ6自身のアクセス要
求により表示メモリ5にアクセスすることができ、CP
U2あるいはDMAC3等の外部デバイスからのアクセ
ス要求の際、停止制御部7を介した停止要求信号によ
り、グラフィックスプロセッサ6のアクセス要求を一時
的に停止させることを可能とし、CPU2あるいはDM
AC3等の外部デバイスからのアクセス要求を優先させ
てグラフィックスプロセッサ6を介して表示メモリ5に
アクセスすることにより、バス8を不必要に占有するこ
となく、バス8の負荷を少なくしてシステムの性能を向
上する。
(57) [Abstract] [Object] An object of the present invention is to efficiently use a bus and improve system performance. [Structure] The display memory 5 can be accessed by the access request of the graphics processor 6 itself.
At the time of an access request from an external device such as U2 or DMAC3, a stop request signal via the stop control unit 7 makes it possible to temporarily stop the access request of the graphics processor 6, and the CPU 2 or DM
By giving priority to an access request from an external device such as AC3 and accessing the display memory 5 via the graphics processor 6, the load of the bus 8 is reduced without unnecessarily occupying the bus 8 and the system is reduced. Improve performance.
Description
【0001】[0001]
【産業上の利用分野】この発明は、プロセッサ内でアド
レスを生成してメモリへのアクセスを行なう機能と、さ
らに外部からのアクセス要求により、プロセッサ内のア
ドレスまたは、外部からのアドレスを用いてメモリへの
アクセスを行なう機能とを有する情報処理装置に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a function of generating an address in a processor to access a memory, and a memory using an address in the processor or an address from the outside according to an access request from the outside. The present invention relates to an information processing device having a function of accessing to.
【0002】[0002]
【従来の技術】プロセッサ内でアドレスを生成してメモ
リへのアクセスを行なう機能と、さらに外部からのアク
セス要求により、プロセッサ内のアドレスまたは、外部
からのアドレスを用いてメモリへのアクセスを行なう機
能とを有する従来の情報処理装置において、プロセッサ
内のアクセス要求と外部からのアクセス要求が同時に出
された場合、プロセッサ内の排他制御により、どちらか
一方のアクセス要求を先に処理し、終了後にもう一方の
アクセス要求を処理している。これを、さらに詳しく説
明する。2. Description of the Related Art A function for generating an address in a processor to access a memory, and a function for accessing a memory by using an address in the processor or an address from the outside according to an access request from the outside. In the conventional information processing apparatus having the above, when an access request in the processor and an access request from the outside are simultaneously issued, either access request is processed first by the exclusive control in the processor, and after the completion, another access request is processed. Processing one access request. This will be described in more detail.
【0003】図8は、例えばグラフィックスプロセッサ
を用いた場合の従来の情報処理装置のシステム全体を示
すものである。すなわち、プログラムやデータを記憶す
るメモリ51、プログラムによりデータ処理やデバイス
制御等を行なうCPU52、CPU52に代わってデー
タの転送制御を行なうダイレクトメモリアクセスコント
ローラ(DMAC)53、ディスプレイ54に表示する
データを記憶する表示メモリ55、表示メモリ55にC
PU2の指示に従って図形等の描画を行なうグラフィッ
クスプロセッサ56とから構成されている。FIG. 8 shows the entire system of a conventional information processing apparatus using a graphics processor, for example. That is, a memory 51 that stores programs and data, a CPU 52 that performs data processing and device control by the programs, a direct memory access controller (DMAC) 53 that controls data transfer on behalf of the CPU 52, and data that is displayed on the display 54 are stored. Display memory 55, C in display memory 55
It is composed of a graphics processor 56 that draws a figure or the like according to an instruction from the PU 2.
【0004】メモリ51,CPU52,DMAC53,
グラフィックスプロセッサ56は、共通のバス57にて
接続されている。ここで、グラフィックスプロセッサ5
6は、CPU52からの指示に従ってグラフィックスプ
ロセッサ56内でアドレス生成を行ない、自動的に表示
メモリ55に描画することができる。また、CPU52
またはDMAC53などの外部デバイスは、あたかも自
分自身がアクセスしているかのごとく、グラフィックス
プロセッサ56を介して表示メモリ55へアクセスする
ことも可能である。A memory 51, a CPU 52, a DMAC 53,
The graphics processors 56 are connected by a common bus 57. Where the graphics processor 5
6 can generate an address in the graphics processor 56 according to an instruction from the CPU 52 and automatically draw it in the display memory 55. In addition, the CPU 52
Alternatively, an external device such as the DMAC 53 can access the display memory 55 via the graphics processor 56 as if it were accessing itself.
【0005】次に、CPU52がグラフィックスプロセ
ッサ56を介して表示メモリ55をアクセスすると、グ
ラフィックスプロセッサ56内の描画シーケンサが動作
していない場合、連続的にCPU52から表示メモリ5
5へアクセスをすることができる。Next, when the CPU 52 accesses the display memory 55 via the graphics processor 56, if the drawing sequencer in the graphics processor 56 is not operating, the CPU 52 continuously displays the display memory 5.
5 can be accessed.
【0006】しかしながら、グラフィックスプロセッサ
56内の描画シーケンサが動作している最中にCPU5
2からアクセス要求が出されると、これと競合するため
排他制御により、CPU52からのアクセス要求のアク
セス要求信号は出されたままの状態で待たされることに
なる。However, while the drawing sequencer in the graphics processor 56 is operating, the CPU 5
When the access request is issued from 2, the access request signal of the access request from the CPU 52 is kept waiting by the exclusive control because it conflicts with this.
【0007】この結果、バス57は、グラフィックスプ
ロセッサ56内の描画シーケンサのアクセスが終了とな
るまでCPU52のアクセス要求信号により占有され続
け、バス57に接続されている他のデバイスのアクセス
の妨げとなってシステムの性能を著しく低下させてい
た。As a result, the bus 57 continues to be occupied by the access request signal of the CPU 52 until the access of the drawing sequencer in the graphics processor 56 is completed, which hinders the access of other devices connected to the bus 57. As a result, the system performance was significantly reduced.
【0008】[0008]
【発明が解決しようとする課題】上記したように、プロ
セッサ自身のアクセス要求と外部からのアクセス要求が
出された場合、排他制御によりどちらか一方のアクセス
要求を先に処理し、終了後にもう一方のアクセス要求の
処理を行なっていた。しかしながら、プロセッサ自身が
アクセスしている最中にCPU等の外部からのアクセス
要求がバスを介して発生した場合、このアクセス要求は
排他制御により待たされることになる。そのため、バス
は、プロセッサのアクセスが終了するまで占有されてし
まい、バスに他のアクセス要求を出すことが出来ず、結
果としてシステムの性能を著しく低下させてしまうとい
う問題があった。そこで、この発明は、バスを効率良く
使用し、システムの性能を向上させることのできる情報
処理装置を提供することを目的とする。As described above, when the access request from the processor itself and the access request from the outside are issued, either access request is processed first by the exclusive control, and the other is processed after the completion. Was processing the access request. However, if an access request from the outside such as a CPU is generated via the bus while the processor itself is accessing the access request, the access request is kept waiting by the exclusive control. Therefore, there is a problem that the bus is occupied until the access of the processor is completed, another access request cannot be issued to the bus, and as a result, the system performance is significantly deteriorated. Therefore, it is an object of the present invention to provide an information processing device that can efficiently use a bus and improve system performance.
【0009】[0009]
【課題を解決するための手段】第1の発明に係る情報処
理装置は、情報を記憶する記憶手段と、この記憶手段に
記憶されている情報を用いて情報の処理を行なう第1の
処理手段と、この第1の処理手段を通して上記記憶手段
に対するアクセスを行なう第2の処理手段と、この第2
の処理手段からのアクセス要求信号を検出して上記第1
の処理手段による処理を中断させる手段とから構成され
ている。An information processing apparatus according to a first invention is a storage means for storing information, and a first processing means for processing information using the information stored in the storage means. And second processing means for accessing the storage means through the first processing means, and the second processing means.
Detecting the access request signal from the processing means
And means for interrupting the processing by the processing means.
【0010】第2の発明に係る情報処理装置は、情報を
記憶する記憶手段と、この記憶手段に記憶されている情
報を用いて情報の処理を行なう第1の処理手段と、上記
第1の処理手段を通して上記記憶手段に対するアクセス
を行なう第2の処理手段と、この第2の処理手段に代っ
て処理情報の転送制御を行なうダイレクトメモリアクセ
スコントローラと、このダイレクトメモリアクセスコン
トローラと上記第2の処理手段と上記第1の処理手段と
を接続するバスと、上記第2の処理手段または上記ダイ
レクトメモリアクセスコントローラからのアクセス要求
信号を検出して上記第1の処理手段による処理を中断さ
せる手段とから構成されている。An information processing apparatus according to a second aspect of the invention is a storage means for storing information, a first processing means for processing information using the information stored in the storage means, and the above-mentioned first means. Second processing means for accessing the storage means through the processing means, a direct memory access controller for controlling transfer of processing information in place of the second processing means, the direct memory access controller, and the second A bus connecting the processing means and the first processing means, and means for detecting an access request signal from the second processing means or the direct memory access controller to interrupt the processing by the first processing means. It consists of
【0011】[0011]
【作用】第1の発明に係る情報処理装置は、情報を記憶
手段に記憶し、記憶された情報を用いて第1の処理手段
で処理し、この第1の処理手段を通して上記記憶手段に
対するアクセスを第2の処理手段で行ない、第2の処理
手段からのアクセス要求信号を検出して第1の処理手段
による処理を中断し、第2の処理手段による処理を優先
して実行するようにしたものである。In the information processing apparatus according to the first aspect of the present invention, information is stored in the storage means, the stored information is processed by the first processing means, and the storage means is accessed through the first processing means. Is performed by the second processing means, the access request signal from the second processing means is detected, the processing by the first processing means is interrupted, and the processing by the second processing means is preferentially executed. It is a thing.
【0012】第2の発明に係る情報処理装置は、情報を
記憶手段に記憶し、記憶された情報を用いて第1の処理
手段で処理し、この第1の処理手段を通して上記記憶手
段に対するアクセスを第2の処理手段あるいはダイレク
トメモリアクセスコントローラで行ない、この際、第1
の処理手段と第2の処理手段とダイレクトメモリアクセ
スコントローラとはバスで接続され、第2の処理手段あ
るいはダイレクトメモリアクセスコントローラからのア
クセス要求信号を検出して第1の処理手段による処理を
中断し、第2の処理手段あるいはダイレクトメモリアク
セスコントローラによる処理を優先して実行することに
より第2の処理手段あるいはダイレクトメモリアクセス
コントローラによるバスの占有時間を最少になるように
したものである。An information processing apparatus according to a second aspect of the present invention stores information in storage means, uses the stored information for processing by the first processing means, and accesses the storage means through the first processing means. Is performed by the second processing means or the direct memory access controller.
The processing means, the second processing means, and the direct memory access controller are connected by a bus, and an access request signal from the second processing means or the direct memory access controller is detected to interrupt the processing by the first processing means. By preferentially executing the processing by the second processing means or the direct memory access controller, the bus occupation time by the second processing means or the direct memory access controller is minimized.
【0013】[0013]
【実施例】以下、この発明の一実施例について図面を参
照して説明する。本実施例のプロセッサとして、図形の
描画処理等を行なうグラフィックスプロセッサを用いて
説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. As the processor of this embodiment, a graphics processor that performs graphic drawing processing and the like will be described.
【0014】図1は、本発明の情報処理装置の一実施例
に係るシステム全体を示すものである。すなわち、プロ
グラムやデータを記憶するメモリ1、プログラムにより
データ処理やデバイス制御等を行なうCPU2、CPU
2に代わってデータの転送制御を行なうダイレクトメモ
リアクセスコントローラ(DMAC)3、ディスプレイ
4に表示するデータを記憶する表示メモリ5、表示メモ
リ5にCPU2の指示に従って図形等の描画を行なうグ
ラフィックスプロセッサ6、CPU2の指示に従ってグ
ラフィックスプロセッサ6に対して内部の描画シーケン
サを一時停止させる停止要求信号を生成し、また、グラ
フィックスプロセッサ6からの停止ステータスを検知す
る停止制御部7とから構成されている。メモリ1とCP
U2とDMAC3とグラフィックスプロセッサ6と停止
制御部7は、共通のバス8にて接続されている。FIG. 1 shows the entire system according to an embodiment of the information processing apparatus of the present invention. That is, a memory 1 for storing programs and data, a CPU 2 for performing data processing, device control, etc. by the programs, a CPU
Direct memory access controller (DMAC) 3 for controlling data transfer in place of 2, display memory 5 for storing data to be displayed on display 4, graphics processor 6 for drawing graphics and the like on display memory 5 in accordance with instructions from CPU 2. , A stop control unit 7 for generating a stop request signal for temporarily suspending an internal drawing sequencer to the graphics processor 6 according to an instruction from the CPU 2 and detecting a stop status from the graphics processor 6. .. Memory 1 and CP
The U2, the DMAC3, the graphics processor 6, and the stop control unit 7 are connected by a common bus 8.
【0015】CPU2は、バス8を介してメモリ1にア
クセスしたり、DMAC3のレジスタや停止制御部7あ
るいはグラフィックスプロセッサ6にアクセスするとと
もに、グラフィックスプロセッサ6を介して表示メモリ
5があたかもバス8に直接接続されているかのごとくア
クセスすることができる。DMAC3も同様に、メモリ
1や表示メモリ5にアクセスすることができる。The CPU 2 accesses the memory 1 via the bus 8, accesses the register of the DMAC 3, the stop control unit 7 or the graphics processor 6, and the display memory 5 as if the display memory 5 was accessed via the graphics processor 6. You can access it as if you were directly connected to. Similarly, the DMAC 3 can access the memory 1 and the display memory 5.
【0016】グラフィックスプロセッサ6は、内部に直
線描画や矩形描画、コピー等の後述する描画シーケンサ
を持ち、グラフィックスプロセッサ6自身がアドレスを
生成して表示メモリ5にアクセスすることができる。The graphics processor 6 has a drawing sequencer, which will be described later, for straight line drawing, rectangular drawing, copying, etc., and the graphics processor 6 itself can access the display memory 5 by generating an address.
【0017】図2は、停止制御部7の構成を示すもの
で、夫々バス8に接続されたデコーダ11、コントロー
ラ12、レジスタ13およびバッファ14で構成され、
CPU2、またはDMAC3からバス8を介して送られ
たアクセス要求信号bを受けて、レジスタ13からグラ
フィックスプロセッサ6へ停止要求信号を出力する。ま
た、グラフィックスプロセッサ6からの停止ステータス
信号をバッファ14で検知してCPU2へ送る。FIG. 2 shows the configuration of the stop control unit 7, which is composed of a decoder 11, a controller 12, a register 13 and a buffer 14 each connected to a bus 8.
Upon receiving the access request signal b sent from the CPU 2 or the DMAC 3 via the bus 8, the register 13 outputs a stop request signal to the graphics processor 6. Further, the stop status signal from the graphics processor 6 is detected by the buffer 14 and sent to the CPU 2.
【0018】図3は、グラフィックスプロセッサ6の構
成を示すものである。すなわち、CPU2または、外部
デバイスとバス8を介してインターフェースを行なうシ
ステムインターフェース20、描画のシーケンスをコン
トロールする描画シーケンサ21、停止制御部7から停
止要求信号Sが入力された場合に描画シーケンサ21か
らのアクセス要求信号aに対してマスクをかけるアンド
回路でなるマスク部22、描画シーケンサ21からマス
ク部22を介してのアクセス要求信号aとCPU2等の
外部デバイスからシステムインタフェース20を介して
のアクセス要求信号bとの排他制御を行ない、どちらの
処理を実行するかを決定する優先順位決定部(アービタ
ー)23、描画シーケンサ21による処理が中断され、
描画シーケンサ21のリクエストに対する処理が行なわ
れていないことを示す停止ステータスを生成するアンド
回路でなる停止ステータス生成部24、表示メモリ5の
制御やグラフィックスプロセッサ6全体の制御を行なう
コントローラ25、表示メモリ5へアクセスをするため
のアドレスを生成したり、外部からのアクセスの場合に
はバス8上のアドレス、または指定されたアドレスを生
成するアドレス生成部26、バス8からのデータや表示
メモリ5からのデータの処理を行なうデータ処理部27
とから構成されている。FIG. 3 shows the configuration of the graphics processor 6. That is, the system interface 20 that interfaces with the CPU 2 or an external device via the bus 8, the drawing sequencer 21 that controls the drawing sequence, and the drawing sequencer 21 that receives the stop request signal S from the stop control unit 7 A mask section 22 formed of an AND circuit for masking the access request signal a, an access request signal a from the drawing sequencer 21 via the mask section 22, and an access request signal from an external device such as the CPU 2 via the system interface 20. The processing by the priority order determination unit (arbiter) 23 and the drawing sequencer 21 that performs exclusive control with b and determines which processing is executed is interrupted,
A stop status generator 24, which is an AND circuit that generates a stop status indicating that the request from the drawing sequencer 21 is not being processed, a controller 25 that controls the display memory 5 and the entire graphics processor 6, and a display memory. 5, from the address generator 26 that generates an address for accessing 5, or an address on the bus 8 in the case of an external access, or a specified address, data from the bus 8 and the display memory 5. Data processing unit 27 for processing the data of
It consists of and.
【0019】図4は、優先順位決定部23の構成を示す
もので、アンド回路31〜39、オア回路40〜43、
およびフリップフロップ回路44,45とから構成さ
れ、コントローラ25からリセット信号とクロック信号
が供給されている。ここでは、アクセス要求信号a,b
が同時にかつ連続的に生じた場合に後述するように信号
aと信号bとが交互に処理されるように動作する。FIG. 4 shows the configuration of the priority order determining unit 23. The AND circuits 31 to 39, the OR circuits 40 to 43,
And a flip-flop circuit 44, 45, and a reset signal and a clock signal are supplied from the controller 25. Here, the access request signals a and b
When signals occur simultaneously and continuously, the signal a and the signal b are alternately processed as described later.
【0020】信号A,信号Bは、それぞれ信号aまたは
信号bが選択された時にイネーブルとなる信号とする
と、信号Aは、a・!b+a・b・Bの条件でイネーブ
ルとなり、信号Bは、!a・b+a・b・!Bの条件で
イネーブルとなる。次に、このような構成において動作
を説明する。If the signals A and B are signals that are enabled when the signal a or the signal b is selected, the signal A is a. It is enabled under the condition of b + a ・ b ・ B, and the signal B is! a ・ b + a ・ b ・! It is enabled under the condition of B. Next, the operation in such a configuration will be described.
【0021】まず、CPU2がバス8を経由してグラフ
ィックスプロセッサ6内へ必要なパラメータをセットす
る。グラフィックスプロセッサ6による表示メモリ5へ
の描画は、グラフィックスプロセッサ6の描画シーケン
サ21からアクセス要求信号aが出され、停止制御部7
からの停止要求信号Sが入力されていなければ信号aが
イネーブルとなって、優先順位決定部23に入力され
る。First, the CPU 2 sets necessary parameters in the graphics processor 6 via the bus 8. When the graphics processor 6 draws on the display memory 5, an access request signal a is issued from the drawing sequencer 21 of the graphics processor 6, and the stop control unit 7
If the stop request signal S from is not input, the signal a is enabled and input to the priority order determination unit 23.
【0022】優先順位決定部23は、CPU2等の外部
からのアクセス要求信号bがなければ信号aを選択し、
信号Aをイネーブルとする。コントローラ25は、信号
Aを受けてアドレス生成部26より必要なアドレスを表
示メモリ5へ出力し、データ処理部27よりデータを表
示メモリ5へ出力して表示メモリ5へのアクセス制御を
行なう。If there is no access request signal b from the outside such as the CPU 2, the priority order determining section 23 selects the signal a,
Signal A is enabled. Upon receiving the signal A, the controller 25 outputs a necessary address from the address generation unit 26 to the display memory 5, and outputs the data from the data processing unit 27 to the display memory 5 to control access to the display memory 5.
【0023】コントローラ25は、1回のアクセスが終
了すると描画シーケンサ21に終了信号を出して終了を
しらせるとともに、リセット信号を出し再び優先順位決
定部23にて優先順位決定を行なう。CPU2からのア
クセス要求信号bが出されていなければ、描画シーケン
サ21のシーケンスが終了して続けてアクセス要求信号
aがなくなるまで繰り返す。Upon completion of one access, the controller 25 issues an end signal to the drawing sequencer 21 to terminate it, and also issues a reset signal to cause the priority determining section 23 to determine the priority again. If the access request signal b is not output from the CPU 2, the sequence of the drawing sequencer 21 is completed and is repeated until the access request signal a disappears.
【0024】また、描画シーケンサ21からの信号aが
なく、バス8を介したCPU2またはDMAC3の外部
からの信号bのみの場合は、信号bがイネーブルとなっ
て優先順位決定部23では、信号Bがイネーブルとな
る。コントローラ25は、1回のアクセスが終了すると
システムインタフェース20およびバス8を介してCP
U2またはDMAC3に終了信号を出して終了をしらせ
るとともに、リセット信号を出し再び優先順位決定部2
3にて優先順位決定を行なう。描画シーケンサ21から
のアクセス要求信号aが出されていなければ、CPU2
またはDMAC3のシーケンスが終了して続けてアクセ
ス要求信号bがなくなるまで繰り返す。(図5参照)If there is no signal a from the drawing sequencer 21 and only the signal b from the outside of the CPU 2 or the DMAC 3 via the bus 8, the signal b is enabled and the priority order determining unit 23 receives the signal B. Is enabled. Upon completion of one access, the controller 25 sends the CP via the system interface 20 and the bus 8.
An end signal is issued to U2 or DMAC3 to end the process, and a reset signal is issued to re-establish the priority order determination unit 2
At 3, the order of priority is determined. If the access request signal a is not issued from the drawing sequencer 21, the CPU 2
Alternatively, the sequence is repeated until the access request signal b disappears after the sequence of DMAC3 is completed. (See Figure 5)
【0025】次に、描画シーケンサ21とCPU2との
両方からアクセス要求信号a,bがきた場合の処理動作
について説明する。ここでは、図2に示した停止制御部
7からの停止要求信号Sがマスク22に入力されない状
態を考える。Next, the processing operation when the access request signals a and b come from both the drawing sequencer 21 and the CPU 2 will be described. Here, consider a state in which the stop request signal S from the stop control unit 7 shown in FIG. 2 is not input to the mask 22.
【0026】描画シーケンサ21からのアクセス要求信
号aとCPU2からのアクセス要求信号bが優先順位決
定部23に入力される。優先順位決定部23において、
まず、アンド回路31は信号aの「1」と信号bが反転
された「0」が入力されて出力「0」となり、アンド回
路32は信号aの「1」と信号bの「1」が入力されて
出力「1」となり、アンド回路33は信号aが反転され
た「0」と信号bの「1」が入力されて出力「0」とな
る。An access request signal a from the drawing sequencer 21 and an access request signal b from the CPU 2 are input to the priority order determining section 23. In the priority order determination unit 23,
First, the AND circuit 31 inputs “1” of the signal a and “0” which is the inverted signal b and outputs “0”, and the AND circuit 32 outputs “1” of the signal a and “1” of the signal b. The AND circuit 33 receives the output "1", and the AND circuit 33 receives the inverted "0" of the signal a and the signal "1" of the signal b and outputs "0".
【0027】この時点でのフリップフロップ回路45
は、コントローラ25からのクリア信号により出力
「0」で、アンド回路34の一方の入力を「0」とし、
アンド回路35の一方の入力を反転して「1」としてい
る。アンド回路34はフリップフロップ回路45の出力
「0」とアンド回路32の出力「1」が入力されて出力
「0」となり、アンド回路35はフリップフロップ回路
45の出力「0」が反転された「1」とアンド回路32
の出力「1」が入力されて出力「1」となる。The flip-flop circuit 45 at this point
Is an output “0” by a clear signal from the controller 25, and one input of the AND circuit 34 is “0”,
One input of the AND circuit 35 is inverted to be "1". The AND circuit 34 receives the output “0” of the flip-flop circuit 45 and the output “1” of the AND circuit 32 and becomes an output “0”, and the AND circuit 35 inverts the output “0” of the flip-flop circuit 45. 1 "and AND circuit 32
Output "1" is input to output "1".
【0028】オア回路40は、アンド回路31の出力
「0」とアンド回路34の出力「0」とが入力されて出
力「0」となる。この時点でのフリップフロップ回路4
4は、コントローラ25からのクリア信号により出力
「0」である。アンド回路36は、フリップフロップ回
路44の出力「0」とリセット信号の「0」とで出力
「0」となる。The output "0" of the AND circuit 31 and the output "0" of the AND circuit 34 are input to the OR circuit 40 to become the output "0". Flip-flop circuit 4 at this point
4 is an output “0” according to a clear signal from the controller 25. The AND circuit 36 becomes an output "0" by the output "0" of the flip-flop circuit 44 and the reset signal "0".
【0029】アンド回路37は、オア回路40の出力
「0」とリセット信号の「0」が反転された「1」とが
入力されて出力「0」となる。オア回路42は、アンド
回路36の出力「0」とアンド回路37の出力「0」と
が入力されて出力「0」となる。フリップフロップ回路
44は、オア回路42の出力が「0」であるので、結果
として信号aは選択されない。The AND circuit 37 receives the output “0” of the OR circuit 40 and the inverted signal “1” of the reset signal “0” and becomes an output “0”. The output “0” of the AND circuit 36 and the output “0” of the AND circuit 37 are input to the OR circuit 42, and the output becomes “0”. In the flip-flop circuit 44, since the output of the OR circuit 42 is "0", the signal a is not selected as a result.
【0030】オア回路41は、アンド回路33の出力
「0」とアンド回路35の出力「1」とが入力されて出
力「1」となる。アンド回路38は、フリップフロップ
回路45の出力「0」とリセット信号の「0」とで出力
「0」となる。アンド回路39は、オア回路41の出力
「1」とリセット信号の「0」が反転された「1」とが
入力されて出力「1」となる。オア回路43は、アンド
回路38の出力「0」とアンド回路39の出力「1」と
が入力されて出力「1」となる。フリップフロップ回路
45は、入力されたオア回路43の出力「1」とクロッ
ク信号によって信号Bをイネーブルとする。こうして、
最初にCPU2からのアクセス要求信号bが選択されて
信号Bがイネーブルとなり、CPU2側からの表示メモ
リ5へのアクセスが行なわれる。The output "0" of the AND circuit 33 and the output "1" of the AND circuit 35 are input to the OR circuit 41, and the output becomes "1". The AND circuit 38 becomes an output "0" by the output "0" of the flip-flop circuit 45 and the reset signal "0". The AND circuit 39 receives the output “1” of the OR circuit 41 and the inverted signal “1” of “0”, and outputs “1”. The output “0” of the AND circuit 38 and the output “1” of the AND circuit 39 are input to the OR circuit 43 and become the output “1”. The flip-flop circuit 45 enables the signal B by the output "1" of the OR circuit 43 and the clock signal which are input. Thus
First, the access request signal b from the CPU 2 is selected, the signal B is enabled, and the display memory 5 is accessed from the CPU 2 side.
【0031】これが終了すると優先順位決定部23は次
のアクセスの優先順位決定を行ない、前回CPU2の信
号bを選択したので次は描画シーケンサ21の信号aが
選択され、信号Aがイネーブルとなり、描画シーケンサ
21側からの表示メモリ5へのアクセスが行なわれる。
すなわち、フリップフロップ回路45の出力が「1」に
なったのでアンド回路34には、フリップフロップ回路
45の出力「1」とアンド回路32の出力「1」が入力
されて出力「1」となる。When this is completed, the priority order determination unit 23 determines the priority order of the next access, and since the signal b of the CPU 2 was selected last time, the signal a of the drawing sequencer 21 is selected next, the signal A is enabled, and the drawing is performed. The display memory 5 is accessed from the sequencer 21 side.
That is, since the output of the flip-flop circuit 45 becomes "1", the output "1" of the flip-flop circuit 45 and the output "1" of the AND circuit 32 are input to the AND circuit 34 and become the output "1". ..
【0032】オア回路40は、アンド回路31の出力
「0」とアンド回路34の出力「1」とが入力されて出
力「1」となる。アンド回路37は、オア回路40の出
力「1」とリセット信号の「0」が反転された「1」と
が入力されて出力「1」となる。オア回路42は、アン
ド回路36の出力「0」とアンド回路37の出力「1」
とが入力されて出力「1」となる。The output "0" of the AND circuit 31 and the output "1" of the AND circuit 34 are input to the OR circuit 40 to become the output "1". The AND circuit 37 receives the output “1” of the OR circuit 40 and the inverted signal “1” of the reset signal “0” and outputs “1”. The OR circuit 42 outputs the output “0” of the AND circuit 36 and the output “1” of the AND circuit 37.
And are input and the output becomes "1".
【0033】フリップフロップ回路44は、入力された
オア回路42の出力「1」とクロック信号によって信号
Aをイネーブルとする。こうして、2番目に描画シーケ
ンサ21からのアクセス要求信号aが選択されて信号A
がイネーブルとなり、描画シーケンサ21側からの表示
メモリ5へのアクセスが行なわれる。The flip-flop circuit 44 enables the signal A by the input "1" of the OR circuit 42 and the clock signal. In this way, the access request signal a from the drawing sequencer 21 is secondly selected and the signal A
Are enabled, and the display memory 5 is accessed from the drawing sequencer 21 side.
【0034】このように描画シーケンサ21とCPU2
とによるアクセスを交互に繰り返すことにより、描画シ
ーケンサ(DS)21側とCPU2側との処理が図6に
示すように交互に繰り返される。したがって、描画シー
ケンサ21からの信号aによるアクセスを行なっている
間は、CPU2からの信号bが待たされ、この間、バス
8は占有されているのでバス8を利用する他の動作を妨
げることとなる。次に、本発明に係る処理動作について
図7を参照して説明する。Thus, the drawing sequencer 21 and the CPU 2
By alternately repeating the access by and, the processing on the drawing sequencer (DS) 21 side and the CPU 2 side are alternately repeated as shown in FIG. Therefore, while the access by the signal a from the drawing sequencer 21 is being performed, the signal b from the CPU 2 is kept waiting, and during this time, the bus 8 is occupied, so that other operations using the bus 8 are hindered. .. Next, the processing operation according to the present invention will be described with reference to FIG.
【0035】図3の停止要求信号Sがディスエーブル状
態で、且つ、グラフィックスプロセッサ6の描画シーケ
ンサ21が動作していない状態では停止ステータス生成
部24の出力が「1」、すなわち、グラフィックスプロ
セッサ6の停止ステータス信号がイネーブル状態とな
る。このときに描画シーケンサ21から信号aが出力さ
れると、マスク部22のゲートが開いているので優先順
位決定部23において信号Aが選択され、描画シーケン
サ21による表示メモリ5へのアクセスが行なわれる。When the stop request signal S of FIG. 3 is disabled and the drawing sequencer 21 of the graphics processor 6 is not operating, the output of the stop status generator 24 is "1", that is, the graphics processor. The stop status signal 6 is enabled. At this time, when the signal a is output from the drawing sequencer 21, the gate of the mask section 22 is open, so the signal A is selected in the priority order determining section 23, and the drawing sequencer 21 accesses the display memory 5. ..
【0036】CPU2が表示メモリ5にアクセスをする
際は、まず、CPU2からアクセス要求信号bが図2の
停止制御部7に与えられる。これにより停止要求信号S
がグラフィックスプロセッサ6に与えられる。これによ
り、図3において描画シーケンサ21からの信号aは、
出力されていてもマスク部22にてマスクされ、ディス
エーブルとなって優先順位決定の対象とならなくなる。When the CPU 2 accesses the display memory 5, first, the CPU 2 gives an access request signal b to the stop controller 7 in FIG. As a result, the stop request signal S
Are provided to the graphics processor 6. As a result, the signal a from the drawing sequencer 21 in FIG.
Even if it is output, it is masked by the masking unit 22, becomes disabled, and is not subject to priority order determination.
【0037】従って、このときにCPU2が表示メモリ
5にアクセスすると、アクセスを待たされることなく処
理することができ、CPU2がアクセス要求信号bを解
除するまで続けて処理することができる。これによって
アクセス要求の待ち時間等の不必要な時間でバス8を占
有することがなくなり、システムの性能を向上させるこ
とができる。そして、CPU2がアクセス要求信号bを
解除すれば描画シーケンサ21は直ちにアクセス可能と
なる。Therefore, when the CPU 2 accesses the display memory 5 at this time, the processing can be performed without waiting for the access, and the processing can be continued until the CPU 2 releases the access request signal b. As a result, the bus 8 is not occupied for an unnecessary time such as a waiting time for an access request, and the system performance can be improved. Then, if the CPU 2 releases the access request signal b, the drawing sequencer 21 becomes immediately accessible.
【0038】以上説明したように上記実施例によれば、
CPU2あるいはDMAC3等の外部デバイスからのア
クセス要求の際、停止制御部7を介して出力された停止
要求信号により、グラフィックスプロセッサ6の描画シ
ーケンサ21からのアクセス要求を一時的に停止させ
て、CPU2あるいはDMAC3等の外部デバイスから
のアクセス要求を優先させることができる。従って、バ
ス8を不必要に占有することがないのでバス8の負荷が
少なくなり、システムの性能が向上する。外部からのア
クセスにI/O機器がともなった場合、I/O機器は待
たすことができないため、この発明は特に有効となる。
なお、本実施例ではグラフィックスプロセッサを用いた
がこれに限定するものではなく、また、外部デバイスも
CPUでなくてもよい。また、停止要求信号も停止制御
部を介す必要はなく、外部デバイスから直接入力するよ
うにしてもよい。As described above, according to the above embodiment,
At the time of an access request from an external device such as the CPU 2 or the DMAC 3, the stop request signal output via the stop control unit 7 temporarily stops the access request from the drawing sequencer 21 of the graphics processor 6, and the CPU 2 Alternatively, the access request from the external device such as the DMAC 3 can be prioritized. Therefore, since the bus 8 is not unnecessarily occupied, the load on the bus 8 is reduced and the system performance is improved. When the I / O device is accompanied by an access from the outside, the I / O device cannot wait, so the present invention is particularly effective.
Although the graphics processor is used in this embodiment, the invention is not limited to this, and the external device may not be the CPU. Further, the stop request signal does not have to be passed through the stop control unit, and may be directly input from an external device.
【0039】[0039]
【発明の効果】以上詳述したようにこの発明によれば、
バスを効率良く使用し、システムの性能を向上させるこ
とのできる情報処理装置を提供することができる。As described in detail above, according to the present invention,
It is possible to provide an information processing device that can efficiently use a bus and improve system performance.
【図1】この発明の一実施例における情報処理装置の概
略構成を示すブロック図。FIG. 1 is a block diagram showing a schematic configuration of an information processing apparatus according to an embodiment of the present invention.
【図2】停止制御部の構成を示す図。FIG. 2 is a diagram showing a configuration of a stop control unit.
【図3】グラフィックスプロセッサの構成を示す図。FIG. 3 is a diagram showing a configuration of a graphics processor.
【図4】優先順位決定部の構成を示す図。FIG. 4 is a diagram showing a configuration of a priority order determination unit.
【図5】CPU動作時のタイミングを示す図。FIG. 5 is a diagram showing a timing at the time of CPU operation.
【図6】CPUと描画シーケンサの動作時のタイミング
を示す図。FIG. 6 is a diagram showing a timing when the CPU and a drawing sequencer operate.
【図7】この発明におけるタイミングを示す図。FIG. 7 is a diagram showing timing in the present invention.
【図8】従来の情報処理装置の概略構成を示す図。FIG. 8 is a diagram showing a schematic configuration of a conventional information processing apparatus.
1…メモリ、2…CPU、3…DMAC、4…ディスプ
レイ、5…表示メモリ、6…グラフィックスプロセッ
サ、7…停止制御部、21…描画シーケンサ、22…マ
スク部、23…優先順位決定部、24…停止ステータス
生成部、25…コントローラ、26…アドレス生成部、
27…データ処理部。1 ... Memory, 2 ... CPU, 3 ... DMAC, 4 ... Display, 5 ... Display memory, 6 ... Graphics processor, 7 ... Stop control unit, 21 ... Drawing sequencer, 22 ... Mask unit, 23 ... Priority order determining unit, 24 ... Stop status generator, 25 ... Controller, 26 ... Address generator,
27 ... Data processing unit.
Claims (2)
を行なう第1の処理手段と、 この第1の処理手段を通して上記記憶手段に対するアク
セスを行なう第2の処理手段と、 この第2の処理手段からのアクセス要求信号を検出して
上記第1の処理手段による処理を中断させる手段と、 を具備したことを特徴とする情報処理装置。1. Storage means for storing information, first processing means for processing information using the information stored in the storage means, and access to the storage means through the first processing means. An information processing apparatus comprising: a second processing unit to perform; and a unit for detecting an access request signal from the second processing unit to interrupt the processing by the first processing unit.
を行なう第1の処理手段と、 上記第1の処理手段を通して上記記憶手段に対するアク
セスを行なう第2の処理手段と、 この第2の処理手段に代って処理情報の転送制御を行な
うダイレクトメモリアクセスコントローラと、 このダイレクトメモリアクセスコントローラと上記第2
の処理手段と上記第1の処理手段とを接続するバスと、 上記第2の処理手段または上記ダイレクトメモリアクセ
スコントローラからのアクセス要求信号を検出して上記
第1の処理手段による処理を中断させる手段と、 を具備したことを特徴とする情報処理装置。2. Storage means for storing information, first processing means for processing information using the information stored in the storage means, and access to the storage means through the first processing means. Second processing means for performing, a direct memory access controller for controlling transfer of processing information in place of the second processing means, the direct memory access controller, and the second
And a means for interrupting the processing by the first processing means by detecting an access request signal from the bus connecting the processing means and the first processing means, and the second processing means or the direct memory access controller. An information processing apparatus comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5563292A JPH05257860A (en) | 1992-03-13 | 1992-03-13 | Information processing equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5563292A JPH05257860A (en) | 1992-03-13 | 1992-03-13 | Information processing equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH05257860A true JPH05257860A (en) | 1993-10-08 |
Family
ID=13004167
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5563292A Pending JPH05257860A (en) | 1992-03-13 | 1992-03-13 | Information processing equipment |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH05257860A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008293270A (en) * | 2007-05-24 | 2008-12-04 | Mitsubishi Electric Corp | Arithmetic processing unit |
-
1992
- 1992-03-13 JP JP5563292A patent/JPH05257860A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008293270A (en) * | 2007-05-24 | 2008-12-04 | Mitsubishi Electric Corp | Arithmetic processing unit |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0354375B2 (en) | ||
| US5659760A (en) | Microprocessor having interrupt vector generation unit and vector fetching command unit to initiate interrupt processing prior to returning interrupt acknowledge information | |
| JP2996183B2 (en) | Data processing device with DMA function | |
| JPH05257860A (en) | Information processing equipment | |
| JPH07295947A (en) | Data transfer management device and method | |
| JP4592944B2 (en) | CPU interface circuit | |
| US6085271A (en) | System bus arbitrator for facilitating multiple transactions in a computer system | |
| JPH064314A (en) | Inter-task synchronizing communication equipment | |
| JPH10320349A (en) | Processor and data transfer system using the processor | |
| JPH05334233A (en) | Data transferring device | |
| JP2000172553A (en) | Data processing device | |
| JPH08249266A (en) | Data transfer circuit | |
| JPS63889A (en) | Controller for magnetic bubble memory device | |
| JPH05120205A (en) | Processor system with address conversion device for dma transfer and dma transfer method | |
| JPH02143364A (en) | Processing priority control method and processor system | |
| JPH1195812A (en) | Programmable controller | |
| JP2000181432A (en) | Graphic processing unit | |
| JPH11143816A (en) | Data transfer device | |
| JPS5854462A (en) | shared memory device | |
| JPS6269353A (en) | Decentralized function type multi-processor system | |
| JPH04266152A (en) | High speed parallel processor | |
| JPH05342116A (en) | Microprocessor | |
| JPH0120455B2 (en) | ||
| JPS61156454A (en) | Data transfer control device | |
| JPH05165705A (en) | Memory controller |