[go: up one dir, main page]

JPH03129478A - Graphic processor, data processor using the same, graphic drawing method and central processing unit - Google Patents

Graphic processor, data processor using the same, graphic drawing method and central processing unit

Info

Publication number
JPH03129478A
JPH03129478A JP1266143A JP26614389A JPH03129478A JP H03129478 A JPH03129478 A JP H03129478A JP 1266143 A JP1266143 A JP 1266143A JP 26614389 A JP26614389 A JP 26614389A JP H03129478 A JPH03129478 A JP H03129478A
Authority
JP
Japan
Prior art keywords
processing
data
main memory
processing device
graphic
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
JP1266143A
Other languages
Japanese (ja)
Inventor
Shigeru Matsuo
茂 松尾
Tadashi Fukushima
忠 福島
Toru Komagawa
融 駒川
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP1266143A priority Critical patent/JPH03129478A/en
Priority to US07/596,366 priority patent/US5369744A/en
Priority to KR1019900016443A priority patent/KR100226088B1/en
Publication of JPH03129478A publication Critical patent/JPH03129478A/en
Priority to US08/301,016 priority patent/US5507026A/en
Priority to US08/472,741 priority patent/US5664161A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To reduce the overhead of a software by providing an exclusive input terminal to receive control from an external part for interrupting and restarting the execution of a processing using a main memory. CONSTITUTION:When a graphic processor 100 executes slave operation, terminals A31-A2 become address input terminals for a frame buffer 205 or the internal register of the graphic processor 100 and when the graphic processor 100 executes the slave operation, terminals D31-D0 become data input terminals for writing data to the internal register of the graphic processor 100. According to a signal from the exclusive input terminal to receive the control from the external part for interrupting and restarting the execution of the processing to a main memory 203, the graphic processor 100 can detect not only the request of an emergent processing to a central processing unit 201 but also the end of the processing. Thus, the overhead of the software can be reduced.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、ビットマツプデータを扱うデータ処理装置並
びに、このデータ処理装置を構成する中央処理装置と、
このデータ処理装置におけるビットマツプデータの処理
の方法及び、この処理方法を構成する図形処理装置に関
する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a data processing device that handles bitmap data, a central processing unit that constitutes this data processing device,
The present invention relates to a method of processing bitmap data in this data processing device and a graphic processing device constituting this processing method.

[従来の技術] 従来のデータ処理装置では、ダイレクトメモリアクセス
制御装置等のデータ転送装置が、システムバスを用いて
データ転送を行う場合、−旦データ転送を開始したら、
転送処理が終了するまで。
[Prior Art] In a conventional data processing device, when a data transfer device such as a direct memory access control device transfers data using a system bus, once data transfer is started,
Until the transfer process is finished.

システムバスを占有し続ける方式(バースト転送方式)
と、システムバスの占有率をあらかじめ設定しておいて
、中央処理装置とデータ転送装置が。
A method that keeps the system bus occupied (burst transfer method)
The system bus occupancy rate is set in advance, and the central processing unit and data transfer device.

交互にシステムバスを使用する方式(サイクルスチール
方式)とがあった。
There was a method of using the system bus alternately (cycle steal method).

[発明が解決しようとする課題] 上記従来技術において、バースト転送方式は。[Problem to be solved by the invention] In the above conventional technology, the burst transfer method is used.

サイクルスチール方式と比べて、バス調停のためのソフ
トウェアオーバヘッドが少なく、データ転送効率が高い
反面、外部からの要因やシステム内部の要因により、デ
ータ転送装置が転送処理中に。
Compared to the cycle steal method, there is less software overhead for bus arbitration and the data transfer efficiency is higher, but on the other hand, the data transfer device may be in the middle of the transfer process due to external factors or internal system factors.

中央処理装置が緊急の処理を行う必要が生じた場合、デ
ータ転送装置の処理が終了するまで、中央処理装置は処
理を実行できないという問題点力1あった。また、デー
タ転送装置の処理を強制曲番こ中断させて、中央処理装
置がシステムバスを獲得し、処理を実行する手段はある
が、この場合、中央処理装置は、処理が中断された装置
が何である力\を識別するだけでなく、緊急処理の終了
後は、その装置の処理の再開を指示する必要がある。こ
れは、例外処理ルーチンの手続きが煩雑になることと、
バス調停装置が複雑になるという問題があった。
One problem is that when the central processing unit needs to perform urgent processing, the central processing unit cannot perform the processing until the processing of the data transfer device is completed. Additionally, there is a method for forcibly interrupting the processing of the data transfer device so that the central processing unit acquires the system bus and executes the processing, but in this case, the central processing unit may In addition to identifying the force, it is necessary to instruct the device to resume processing after the emergency processing is completed. This is because the exception handling routine procedure becomes complicated, and
There was a problem that the bus arbitration device became complicated.

一方、サイクルスチール方式でデータ転送を行う場合に
は、中央処理装置は随時処理を実行できるが、データ転
送装置がシステムバスを獲得するためのソフトウェアオ
ーバヘッドが大きく、バースト転送方式と比べて、デー
タ転送効率が低く、処理に時間を要するという問題点が
あった。これらのことは、データ転送装置の代わりに図
形処理装置を用いて、メインメモリへの描画処理や、メ
インメモリとフレームバッファ間でのデータ転送処理を
実行する場合にもあてはまる。
On the other hand, when data transfer is performed using the cycle steal method, the central processing unit can execute processing at any time, but the software overhead for the data transfer device to acquire the system bus is large, and compared to the burst transfer method, the data transfer There were problems in that efficiency was low and processing took time. These matters also apply when a graphic processing device is used instead of a data transfer device to execute drawing processing to the main memory or data transfer processing between the main memory and the frame buffer.

本発明は、ソフトウェアオーバヘッドが小さく、データ
転送効率が高く、かつバス調停装置の構成が簡単となる
、図形描画方法とデータ転送方法。
The present invention provides a graphic drawing method and a data transfer method that have low software overhead, high data transfer efficiency, and a simple configuration of a bus arbitration device.

及びそれを実現する図形処理装置、並びにデータ処理装
置を提供することを目的とする。
The object of the present invention is to provide a graphic processing device and a data processing device that realize the same.

[問題を解決するための手段] 上記目的を達成するために、図形処理装置に、メインメ
モリに対する処理の実行の中断及び再開の制御を、外部
から受けるための専用の入力端子と、中央処理装置への
緊急処理の要求を検出手段と、その処理が終了したこと
を検出する手段とを持たせることにしたものである。
[Means for Solving the Problem] In order to achieve the above object, the graphic processing device is provided with a dedicated input terminal for receiving external control for suspending and resuming execution of processing on the main memory, and a central processing unit. The system includes means for detecting a request for emergency processing, and means for detecting that the processing has been completed.

さらに、バス調停装置の構成を簡単にするために、中央
処理装置に1例外処理の終了を外部に伝えるための出力
端子を持たせることにしたものである。また、中央処理
装置に上記の出力端子がない場合に対応できるよう、中
央処理装置に、現在実行中の例外処理の優先レベルを外
部に伝えるための手段、もしくはそれと同等の機能を外
部に設けることにしたものである。
Furthermore, in order to simplify the configuration of the bus arbitration device, the central processing unit is provided with an output terminal for communicating the completion of one exception handling to the outside. In addition, in order to cope with the case where the central processing unit does not have the above output terminal, the central processing unit should be provided with an external means for communicating the priority level of the exception handling currently being executed, or an equivalent function. This is what I did.

[作用] メインメモリに対する処理の実行の中断及び再開の制御
を、外部から受けるための専用の入力端子からの信号に
より1図形処理装置は、中央処理装置へ緊急処理の要求
のあったことだけでなく、その処理が終了したことも検
知できる。この信号には、中央処理装置に例外処理の終
了を外部に伝えるための出力端子があれば、その端子の
出力信号が用いられるが、この出力端子がなければ、現
在実行中の例外処理の優先レベルを外部に伝えるための
手段からの信号を解読して生成する。この信号により、
図形処理装置は、メインメモリへの処理を実行中に、中
央処理装置への緊急処理、つまり優先レベルの高い例外
処理の発生と終了を検出でき、−時、描画処理やデータ
転送処理を中断した後、ソフトウェア処理を介すること
なく、元の処理の再開が可能となり、中央処理装置の緊
急処理に迅速に対応できるようになる。
[Function] A graphics processing unit receives a signal from a dedicated input terminal for receiving control from the outside to interrupt and resume execution of processing on the main memory, and the graphics processing unit is able to control the interruption and resumption of processing in the main memory only when there is an emergency processing request to the central processing unit. It is also possible to detect that the process has ended. If the central processing unit has an output terminal to notify the outside of the end of exception processing, the output signal of that terminal is used for this signal, but if there is no output terminal, priority is given to the exception processing currently being executed. Deciphers and generates signals from means for communicating levels to the outside. This signal causes
The graphics processing unit can detect the occurrence and termination of emergency processing to the central processing unit, that is, high-priority exception processing, while executing processing to the main memory, and interrupts drawing processing and data transfer processing at - times. After that, the original process can be resumed without any software processing, allowing the central processing unit to quickly respond to emergency processing.

[実施例] 以下、本発明の実施例を、図面を用いて説明する。各図
面において、同じ記号のものは同一のものを示す。
[Examples] Examples of the present invention will be described below with reference to the drawings. In each drawing, like symbols indicate the same thing.

〈システム構成〉 図1に、本発明を実施したシステム構成例を示す、中央
処理装置(以下、MPUとも言う)201及び図形処理
装置100は、アドレスバス210、データバス209
.コントロールバス208からなるシステムバスを介し
てメインメモリ203に接続されている。バスアービタ
202は、中央処理装置201とデータ転送装置100
のどちらがメインメモリをアクセスするかの調停を行う
。フレームバッファ205は、表示装置207に表示す
るための表示データを記憶するメモリである。
<System Configuration> FIG. 1 shows an example of a system configuration in which the present invention is implemented.
.. It is connected to the main memory 203 via a system bus consisting of a control bus 208. The bus arbiter 202 connects the central processing unit 201 and the data transfer device 100.
Arbitrates which accesses the main memory. The frame buffer 205 is a memory that stores display data to be displayed on the display device 207.

ビデオ信号生成回路206は、フレームバッファ207
に記憶されているデータを、表示装置207に表示する
ための制御を行う。図形処理袋rt io。
The video signal generation circuit 206 includes a frame buffer 207
Control is performed to display data stored in the display device 207 on the display device 207. Graphic processing bag rt io.

は・フレームバッファ205とメインメモリ203の間
でのデータ転送、フレームバッファ205内でのデータ
転送、メインメモリ300内でのデータ転送を行う、デ
コーダ211は、MPUが図形処理装置tiooの内部
レジスタやフレームバッファ205をアクセスするため
のLSI選択信号を生成する。SUS制御回8212は
lMPUへの割込み信号を検出して1図形処理装置10
0のシステムバスの使用を中断させるための信号を生成
する0割込み制御回路213は、他の入出力デバイス(
図示はしない)からMPUに対して割込みを発生させる
ための、優先順位を制御する回路である。RTE発生回
路214は、MPU201が割込み処理を終了したこと
を検出し、図形処理袋fiflooにシステムバスの使
用を再開させる。
The decoder 211 transfers data between the frame buffer 205 and the main memory 203, within the frame buffer 205, and within the main memory 300. Generates an LSI selection signal for accessing the frame buffer 205. The SUS control circuit 8212 detects an interrupt signal to the 1 MPU and
The 0 interrupt control circuit 213, which generates a signal for interrupting the use of the 0 system bus, interrupts the use of other input/output devices (
This is a priority control circuit for generating an interrupt from the MPU (not shown) to the MPU. The RTE generation circuit 214 detects that the MPU 201 has finished interrupt processing, and causes the graphic processing bag fifloo to resume using the system bus.

本実施例では1図形処理装置100はLSI化されてい
るものとする。
In this embodiment, it is assumed that one graphic processing device 100 is implemented as an LSI.

く端子構成〉 第2図は、図形処理装置100の端子構成を示す、電源
(VCC)及びアース(GND)を除く総端子数は、1
39本である。
Terminal configuration> Figure 2 shows the terminal configuration of the graphic processing device 100.The total number of terminals excluding power supply (VCC) and ground (GND) is 1.
There are 39 pieces.

(1)システム・クロック(SYSCLK)端子5YS
CLKに入力されるクロック信号に同期して、図形処理
装置100の処理が全て実行される。
(1) System clock (SYSCLK) terminal 5YS
All processing of the graphic processing device 100 is executed in synchronization with the clock signal inputted to CLK.

(2)アドレス・バス(A31−A2)端子A31−A
2は5図形処理装置100がスレーブ動作する場合、フ
レームバッファ205、もしくは図形処理装置100の
内部レジスタの、アドレス入力端子となる。また。
(2) Address bus (A31-A2) terminal A31-A
2 becomes an address input terminal of the frame buffer 205 or an internal register of the graphic processing device 100 when the graphic processing device 100 operates as a slave. Also.

図形処理装置100がバスマスタとして動作する場合は
、メインメモリ203の物理アドレスを出力する。
When the graphic processing device 100 operates as a bus master, it outputs the physical address of the main memory 203.

(3)データ・バス(D31−Do) 端子D31−Doは1図形処理装置工OOがスレーブ動
作する場合、図形処理装置100の内部レジスタへの書
き込み時にはデータ入力端子となり、内部レジスタから
の読み出し時にはデータ出力端子となる。また、図形処
理1m!100がバスマスタとして動作する場合、メイ
ンメモリ203への書き込み時にはデータ出力端子とな
り、メインメモリ203からの読み出し時にはデータ入
力端子となる。
(3) Data bus (D31-Do) When the graphics processing device OO operates as a slave, the terminal D31-Do becomes a data input terminal when writing to the internal register of the graphics processing device 100, and when reading from the internal register. Serves as a data output terminal. Also, figure processing 1m! When 100 operates as a bus master, it becomes a data output terminal when writing to the main memory 203, and becomes a data input terminal when reading from the main memory 203.

(4)アドレス・ステータス(ADS#)端子ADS#
は1図形処理装置100がスレーブ動作する場合には、
ハイ・インピーダンス状態となり、図形処理装置100
がバスマスタとして動作する場合には、アドレス・バス
(A31−A2)のデータが、確定したことを示す出力
端子となる。
(4) Address status (ADS#) terminal ADS#
1 When the graphics processing device 100 operates as a slave,
The graphics processing device 100 enters a high impedance state.
When the address bus (A31-A2) operates as a bus master, the data on the address bus (A31-A2) becomes an output terminal indicating that it has been determined.

(5)クイック(QUICK#) 端子QUICK#は、スタティク・カラムモードを用い
て、メインメモリ203へ高速アクセスするか否かを示
す出力端子である。
(5) Quick (QUICK#) The terminal QUICK# is an output terminal that indicates whether or not to access the main memory 203 at high speed using the static column mode.

(6)ライト・リード(W/R#) 端子W/R#は、図形処理袋faE100がスレーブ動
作する場合には、”Low”レベルが入力されれば1図
形処理装置100の内部レジスタへの書き込み動作であ
ることを示し”Hi gh″レベルが入力されれば、図
形処理装置100の内部レジスタからの読み出し動作で
あることを示す。また、図形処理装置100がバスマス
タとして動作する場合にはメインメモリ203への書き
込み動作時に”High”レベルを出力し、メインメモ
リ203からの読み出し動作に”Low”レベルを出力
する。
(6) Write/Read (W/R#) When the graphic processing bag faE100 operates as a slave, if a “Low” level is input to the terminal W/R#, it will write to the internal register of the graphic processing device 100. This indicates a write operation, and if a "High" level is input, it indicates a read operation from the internal register of the graphic processing device 100. Furthermore, when the graphic processing device 100 operates as a bus master, it outputs a "High" level when writing to the main memory 203, and outputs a "Low" level when reading from the main memory 203.

(7)データ・レディ (READY#)端子READ
Y#は、図形処理袋w100がスレーブ動作する場合に
は、データ・バス(D31−Do)のデータが確定した
ことを示す出力端子となり、図形処理装置100がバス
マスタとして動作する場合には、データ・バス(D31
−Do)のデータが確定したことを示す入力端子となる
(7) Data ready (READY#) terminal READ
When the graphic processing bag w100 operates as a slave, Y# becomes an output terminal indicating that the data on the data bus (D31-Do) is finalized, and when the graphic processing device 100 operates as a bus master, the data・Bus (D31
-Do) serves as an input terminal indicating that the data has been finalized.

(8)チップ・セレクト(C3#) 端子C8#に、” Low”レベルが入力された場合に
のみ、中央処理装置201は、図形処理袋ziooの内
部レジスタにアクセスできる。
(8) Chip Select (C3#) Only when a "Low" level is input to the terminal C8#, the central processing unit 201 can access the internal register of the graphic processing bag zioo.

(9)フレーム・バッファ・セレクト(FS#)端子F
S#に、’Low”レベルが入力された場合にのみ、中
央処理装置201は、図形処理装置100のアドレス・
バス(A31−A2)とデータ・バス(D31−Do)
を介して、フレームバッファ205にアクセスできる。
(9) Frame buffer select (FS#) terminal F
Only when a 'Low' level is input to S#, the central processing unit 201 inputs the address of the graphic processing unit 100.
Bus (A31-A2) and Data Bus (D31-Do)
The frame buffer 205 can be accessed via.

(10)バス・ホールド・リクエスト()TOLD)端
子HOLDには、図形処理装置100がシステムバス2
11の使用を要求している場合に、”Low”レベルが
出力される。
(10) At the bus hold request ()TOLD) terminal HOLD, the graphics processing device 100
11, a "Low" level is output.

(II)バス・ホールド・アクノリッジ(HLDA)端
子HLDAに、’Low’レベルが入力された場合1図
形処理装置100にシステムバス211が開放されたこ
とを示す。一方。
(II) Bus Hold Acknowledge (HLDA) When a 'Low' level is input to the terminal HLDA, this indicates that the system bus 211 has been released to the graphic processing device 100. on the other hand.

図形処理装置!100がシステムバス211を使用中に
、’ Hi gh”レベルが入力されると、図形処理装
置100は、システムバス211を開放する。
Graphic processing device! If a 'High' level is input while the graphics processing device 100 is using the system bus 211, the graphics processing device 100 releases the system bus 211.

(12)バス・マスタ(BM#) 端子BM#には、図形処理装置100がバスマスタとな
って、システムバス211を使用している間、”Low
”レベルが出力される。
(12) Bus Master (BM#) Terminal BM# is set to “Low” while the graphics processing device 100 is the bus master and uses the system bus 211.
”The level is output.

(13)リセット(RES#) 端子RES#に、”Low”レベルが入力されたとき2
図形処理装置100は、初期状態となる。
(13) Reset (RES#) When “Low” level is input to terminal RES#2
The graphic processing device 100 is in an initial state.

(14)サスペンド(SUS$t) 端子SUS#に、”Low”レベルが入力された場合1
図形処理袋W1ooは、メインメモリ203へのアクセ
スを一時停止する。
(14) Suspend (SUS$t) 1 when “Low” level is input to terminal SUS#
The graphic processing bag W1oo temporarily suspends access to the main memory 203.

一方、メインメモリ203へのアクセスを一時停止して
いる時に、”High’レベルが入力された場合、メイ
ンメモリ203へのアクセスを再開する。
On the other hand, if a "High" level is input while access to the main memory 203 is temporarily stopped, access to the main memory 203 is resumed.

(15)インタラブド・リクエスト(IRQ#)端子I
RQ#には、図形処理装置100が中央処理装置201
に割込み処理を要求する314合、 n L 0wpH
レベルが出力される。
(15) Interwoven request (IRQ#) terminal I
RQ# indicates that the graphic processing device 100 is the central processing unit 201.
314 to request interrupt processing, n L 0wpH
The level will be output.

(16)表示’)oッ’)(I)ISPCLK)端子D
ISPCLKに入力されるクロックの1/2の周波数で
、CRTデイスプレィ装置207の表示を制御する、図
形処理装置100の内部回路が動作する。
(16) Display ') o') (I) ISPCLK) Terminal D
The internal circuit of the graphic processing device 100, which controls the display of the CRT display device 207, operates at half the frequency of the clock input to ISPCLK.

(17)表示基準クロック(CLKOUT)端子CLK
OUTには、CRTデイスプレィ装置1207の表示を
制御する、図形処理装置I!100の内部回路の動作ク
ロックが出力される。
(17) Display reference clock (CLKOUT) terminal CLK
OUT is the graphic processing device I! which controls the display of the CRT display device 1207. Operation clocks for 100 internal circuits are output.

(18) メモリー7ドl/ス(MAI L−MAO)
端子MAIL−MAOには、端子RASf7立ち下がり
時に、フレームバッファ206(7:ロウ・アドレスが
出力され、端子CASの9ち下がり時に、フレームバッ
ファ205のカラム・アドレスが出力される。
(18) Memory 7 dollars/s (MAI L-MAO)
The frame buffer 206 (7: row address) is output to the terminal MAIL-MAO when the terminal RASf7 falls, and the column address of the frame buffer 205 is output when the terminal CAS falls 9.

(19)メモリ・データ(MD31−MDO)端子MD
31−MDOには、書き込み時にフレームバッファ20
5への書き込みデータが出力され、読み出し時に、フレ
ームバッファ205からの読み出しデータが入力される
(20)ロウ・アドレス・ストローブ(RAS#端子R
AS#の出力が、”Hi g h ”レベルから“Lo
w“レベルに変化する時、メモリ・アドレス(MAl 
1−MAO)に、フレームバッファ205のロウ・アド
レスが出力されていることを示す。
(19) Memory data (MD31-MDO) terminal MD
31-MDO has frame buffer 20 when writing.
(20) Row address strobe (RAS# terminal R
The AS# output changes from “High” level to “Lo
w” level, the memory address (MAl
1-MAO) indicates that the row address of the frame buffer 205 is being output.

(21)カラム・アドレス・ストローブ(CAS#端子
CAS#の出力が、”High”レベルからLow”レ
ベルに変化する時、メモット(SIlo)を用いたアク
セスであることを示し、端子DT#/○E#が71 H
igh uレベルならば、VRAMのインプット・アウ
トプット(Ilo)を用いたアクセスであることを示す
、さらに、図形処理装置100からフレームバッファ2
05へ、データを書き込む場合は、カラム・アドレス・
ストローブ(CAS#)の出力が、’High”レベル
から”Low″レベルに変化する時、端子DT#/○E
#は#Hi g h”レベルとなる。
(21) Column address strobe (When the output of the CAS# terminal CAS# changes from the "High" level to the "Low" level, it indicates that the access is using the memot (SIlo), and the terminal DT#/○ E# is 71H
If it is the high u level, it indicates that the access is using the input/output (Ilo) of the VRAM.
When writing data to 05, write the column address.
When the strobe (CAS#) output changes from 'High' level to 'Low' level, terminal DT#/○E
# becomes #High h” level.

一方、フレームバッファ205から図形処理装置100
にデータを読みだす場合は、カラム・アドレス・ストロ
ーブ(CAS#)の出力が、“Hi g h ”レベル
から”Low”レベルに変化する時、端子DT#10E
#は” Low”レベルとなる。
On the other hand, from the frame buffer 205 to the graphic processing device 100
When reading data, when the column address strobe (CAS#) output changes from “High” level to “Low” level, the terminal DT#10E
# becomes "Low" level.

(24)アウトプット・イネーブル(OE#)端子OE
#は、フレームバッファ205に、DRAMが使用され
ている場合にのみ用いられる出力端子である0図形処理
袋fa100かす・アドレX (MA 11−MAO)
 &:、7L/−ムバツフア205のカラム・アドレス
が出力されていることを示す。
(24) Output enable (OE#) terminal OE
# is an output terminal used only when DRAM is used in the frame buffer 205.
&:, 7L/- indicates that the column address of buffer 205 is being output.

(22)ライト・イネーブル(WE#)カラム・アドレ
ス・ストローブ(CAS#)の出力が、” Hi g 
h”レベルからL o w”レベルに変化する時、端子
WEBの出力が。
(22) Write enable (WE#) column address strobe (CAS#) output is “High”
When the level changes from "H" level to "Low" level, the output of terminal WEB.

”High”レベルならばリード・サイクルであること
を示し、”Low’レベルならばライト・サイクルであ
ることを示す。
A "High" level indicates a read cycle, and a "Low" level indicates a write cycle.

(23)データ・トランスファ/アウトプット・イネー
ブル(DT$t10E#) 端子DT#/○E#は、フレームバッファ205に、V
RAM (2ポ一トDRAM)が使用されている場合に
のみ用いられる出力端子である。ロウ・アドレス・スト
ローブ(RAS#)の出力が、”Hi gh”レベルか
ら”Low”レベルに変化する時、端子DT#10E#
が”Low”レベルならば、VRAMのシリアル・イン
プット・アウトプらフレームバッファ205へ、データ
を書き込む場合は、カラム・アドレス・ストローブ(C
AS#)の出力が M Hi g)、 I+レベルから
”Low″レベルに変化する時、端子OE#は“Hig
h”レベルとなる。一方、フレームバッファ205から
図形処理装置100にデータを読みだす場合は、カラム
・アドレス・ストローブ(CAS#)の出力が、”Hi
 g h ”レベルから”Low”レベルに変化する時
、端子OE#は”Low”レベルとなる。
(23) Data transfer/output enable (DT$t10E#) Terminal DT#/○E# is connected to the frame buffer 205 at V
This is an output terminal used only when RAM (2-point DRAM) is used. When the output of the row address strobe (RAS#) changes from "High" level to "Low" level, the output from terminal DT#10E#
When writing data from the VRAM serial input/output to the frame buffer 205, the column address strobe (C
When the output of AS#) changes from M High (M High), I+ level to "Low" level, terminal OE# becomes "High" level.
On the other hand, when reading data from the frame buffer 205 to the graphic processing device 100, the output of the column address strobe (CAS#) becomes "Hi" level.
When the level changes from "gh" level to "Low" level, terminal OE# becomes "Low" level.

(25)表示ステータス(DS#) 端子DS#には、フレームバッファ205を表示メモリ
・サイクルにする期間のみ、”Low”レベルが出力さ
れる。
(25) Display Status (DS#) A "Low" level is output to the terminal DS# only during the period when the frame buffer 205 is in the display memory cycle.

(26)水平同期(H5YNC#) 端子HS Y N CR1mは、CRTデイスプレィ装
置207の水平同期のための信号が出力される。
(26) Horizontal synchronization (H5YNC#) A signal for horizontal synchronization of the CRT display device 207 is output to the terminal HS Y N CR1m.

(27)垂直同期(VSYNC#) 端子V S Y N C# ニは、CRTデイスプレィ
装置207の垂直同期のための信号が出力される。
(27) Vertical synchronization (VSYNC#) A signal for vertical synchronization of the CRT display device 207 is output from the terminal VSYNC#.

(28)表示タイミング(DISP#)l子DIsP#
に”Low”レベルが出力されている期間が、CRTデ
イスプレィ装置207の画面表示期間であることを示す
(28) Display timing (DISP#) Child DIsP#
The period during which "Low" level is output is the screen display period of the CRT display device 207.

(29)カーソル・データ(CU RD 3−CURD
O)端子CURD3−CURDOには、CRTデイスプ
レィ装置207に表示する、カーソルデータが出力され
る。
(29) Cursor data (CURD 3-CURD
O) Cursor data to be displayed on the CRT display device 207 is output to the terminals CURD3-CURDO.

(30)カーソル・マスク・データ(CURM、3−C
URMO) 端子CURM3−CURMOには、CRTデイスフレイ
装置207にカーソルを表示するための、マスクデータ
が出力される。
(30) Cursor mask data (CURM, 3-C
URMO) Mask data for displaying a cursor on the CRT display device 207 is output to terminals CURM3-CURMO.

(31)カーソル表示タイミング(CURDISP#)
端子CURDISP$tに”Low”レベルが出力され
ている期間が、力、−ツルの表示期間であることを示す
(31) Cursor display timing (CURDISP#)
The period in which the "Low" level is output to the terminal CURDISP$t indicates the period in which the force and the crane are displayed.

く内部構成〉 第3図に、図形処理装置100の内部構成を示す1図形
処理装置100は、描画処理ユニット(DPU)101
.メモリ管理ユニット(MMU>102、バス制御ユニ
ット(BCU)103゜CRT制御ユニット(CCU)
104.システム・バス・インタフェース(SBI)1
05.及びローカル・バス・インタフェース(LBI)
106で構成される。
Internal Configuration> FIG. 3 shows the internal configuration of the graphic processing device 100. The graphic processing device 100 includes a drawing processing unit (DPU) 101.
.. Memory management unit (MMU>102, bus control unit (BCU) 103°CRT control unit (CCU)
104. System bus interface (SBI) 1
05. and local bus interface (LBI)
106.

描画処理ユニット101は、システム・バス・インタフ
ェース105から送られる描画コマンドを解読して、処
理対象データのアドレスを計算する。この時、処理対象
データがメインメモリ203上にある場合、そのアドレ
スをメモリ管理ユニット102に転送し、処理対象デー
タのフェッチを依頼する。一方、処理対象データがフレ
ームバッファ205上にある場合は、そのアドレスをロ
ーカル・バス・インタフェース106に転送し、処理対
象データのフェッチを依頼する。処理対象データは、シ
ステム・バス・インタフェース105もしくはローカル
・バス・インタフェース106を介して、描画処理ユニ
ット101に転送される。
The drawing processing unit 101 decodes the drawing command sent from the system bus interface 105 and calculates the address of the data to be processed. At this time, if the data to be processed is on the main memory 203, the address is transferred to the memory management unit 102 and a request is made to fetch the data to be processed. On the other hand, if the data to be processed is on the frame buffer 205, the address is transferred to the local bus interface 106 and a request is made to fetch the data to be processed. Data to be processed is transferred to the drawing processing unit 101 via the system bus interface 105 or the local bus interface 106.

描画処理ユニット101は、内部の演算器及びレジスタ
を用いて、フェッチした処理対象データを描画コマンド
に従って処理する0次に描画処理ユニット101は、処
理されたデータの格納アドレスを計算する。格納アドレ
スがメインメモリ203上であれば、処理データがメイ
ンメモリ203に格納されるよう、処理データはシステ
ム・バス・インタフェース105に、格納アドレスはメ
モリ管理ユニット102に転送されてる。一方、格納ア
ドレスがフレームバッファ205上であれば。
The drawing processing unit 101 uses internal arithmetic units and registers to process the fetched data to be processed according to the drawing command.The zero-order drawing processing unit 101 calculates the storage address of the processed data. If the storage address is on the main memory 203, the processing data is transferred to the system bus interface 105 and the storage address is transferred to the memory management unit 102 so that the processing data is stored in the main memory 203. On the other hand, if the storage address is on the frame buffer 205.

処理データがフレームバッファ205に格納されるよう
、処理データと格納アドレスは、ローカル・バス・イン
タフェース106に転送される。
The processing data and storage address are transferred to local bus interface 106 so that the processing data is stored in frame buffer 205 .

メモリ管理ユニット102は、描画処理ユニット101
から転送されるアドレス(仮想アドレス)を、メモリ管
理ユニット102内のアドレス変換テーブルを参照して
、物理アドレスに変換する。
The memory management unit 102 is a drawing processing unit 101.
The address (virtual address) transferred from the memory management unit 102 is translated into a physical address by referring to the address translation table in the memory management unit 102.

変換された物理アドレスは、システム・バス・インタフ
ェース105に転送する。この物理アドレスを用いてメ
インメモリ203にアクセスする際、まず、システムバ
ス211の使用権を獲得する必要がある。このために、
メモリ管理ユニット102は、バス制御ユニット103
に対して、システムバス211の使用権の獲得を依頼す
る。また、仮想アドレスを物理アドレスに変換するため
にアドレス変換テーブルを参照した際、アドレス変換の
ためのデータの欠如を検出した場合には、メモリ管理ユ
ニット102は、バス制御ユニット103にシステムバ
ス211の使用権を獲得してもらった後、システム・バ
ス・インタフェース105を介して、メインメモリ20
3上にあるページテーブルにアクセスして、メモリ管理
ユニット102内のアドレス変換テーブルを変更し、必
要なアドレス変換データを作成する。この際、変換対象
の仮想アドレスに関連するページテーブル、もしくは仮
想アドレスが指すデータを含むページフレームが、メイ
ンメモリ203上に無いことを検出した場合には、メモ
リ管理ユニット102は、バス制御ユニット103に対
して、中央処理装置201にページ・スワツピングを行
わせるよう依頼する。
The translated physical address is transferred to system bus interface 105. When accessing the main memory 203 using this physical address, it is first necessary to acquire the right to use the system bus 211. For this,
The memory management unit 102 is connected to the bus control unit 103.
to acquire the right to use the system bus 211. Further, when referring to the address conversion table to convert a virtual address to a physical address, if a lack of data for address conversion is detected, the memory management unit 102 sends the bus control unit 103 to the system bus 211. After obtaining usage rights, the main memory 20 is transferred via the system bus interface 105.
3, the address translation table in the memory management unit 102 is changed, and necessary address translation data is created. At this time, if it is detected that there is no page table related to the virtual address to be converted or a page frame containing data pointed to by the virtual address on the main memory 203, the memory management unit 102 , the central processing unit 201 is requested to perform page swapping.

さらにメモリ管理ユニット102は、描画処理ユニット
101がメインメモリ203上のあるページフレームに
、初めてデータの書き込みを行う場合は、そのページフ
レームに対応するメインメモリ203上のページテーブ
ルエントリの中の、そのページフレームを参照したこと
を示すアクセスビットと、そのページフレームの内容を
変更したことを示す変更ビットをセットする。また読み
込みの場合でも、メモリ管理ユニット102は、そのペ
ージフレームに対応するメインメモリ203上のページ
テーブルエントリの中の、上記アクセスビットだけはセ
ットする。
Furthermore, when the drawing processing unit 101 writes data to a certain page frame on the main memory 203 for the first time, the memory management unit 102 writes the data in the page table entry on the main memory 203 corresponding to that page frame. An access bit indicating that the page frame has been referenced and a modification bit indicating that the contents of the page frame have been changed are set. Also, in the case of reading, the memory management unit 102 sets only the access bit in the page table entry on the main memory 203 corresponding to the page frame.

バス制御ユニット103は、メモリ管理ユニット102
からの依頼を受け、システム・バス・インタフェース1
05を介して1図形処理装置100外部のバス調停装置
202と調停を行って、システムバス211の使用権を
獲得する。
The bus control unit 103 is connected to the memory management unit 102.
System bus interface 1 at the request of
05 to obtain the right to use the system bus 211.

CRT制御lユニット104は、ノンインタレース・モ
ード及びインタレースシンク&ビデオ・モードの、2種
類の走査モードに対応する同期信号を生成して、ローカ
ル・バス・インタフェース106を介してCRTデイス
プレィ装置207に出力する。また、フレームバッファ
205に用いられるDRAM、VRAMをリフレッシュ
するためのアドレス情報を生成する。アドレス情報は、
ローカル・バス・インタフェース106を介して、メモ
リ・アドレス(MA 11−MA O)から出力される
。さらに、フレームバッファ205上に定義されたカー
ソルデータを、メモリ・データ(Mn31−MDO)か
ら、ローカル・バス・インタフェース106を介して読
み込んで、シフト処理した後、ローカル・バス・インタ
フェース106を介して、カーソル・データ(CtJR
D3−CURDO)とカーソル・マスク・データ(CU
RM3−CURMO)から出力する。これによって、カ
ーソルの高速表示を実現する。
The CRT control unit 104 generates synchronization signals corresponding to two types of scanning modes, non-interlaced mode and interlaced sync & video mode, and controls the CRT display device 207 via the local bus interface 106. Output to. It also generates address information for refreshing the DRAM and VRAM used in the frame buffer 205. The address information is
Output from memory addresses (MA 11-MA O) via local bus interface 106. Furthermore, the cursor data defined on the frame buffer 205 is read from the memory data (Mn31-MDO) via the local bus interface 106, shifted, and then transferred via the local bus interface 106. , cursor data (CtJR
D3-CURDO) and cursor mask data (CU
RM3-CURMO). This achieves high-speed cursor display.

システム・バス・インタフェース105は、図形処理装
置E100内の各ユニットに対して、処理実行の同期を
取るための内部クロックを供給する他、アドレス・バス
(A31−A2)、データ・バス(D31−Do)、ア
ドレス・ステータス(ADS#)、クイック(QUIC
K#)、ライト・リード(W/R#)、データ・レディ
 (READY#)、チップ・セレクト(C8#)、フ
レーム・バッファ・セレクト(FS#)、バス・ホール
ド・リクエスト(HOLD)、バス・ホールド・アクノ
リッジ(HLDA)、バス・マスク(BM#)、リセッ
ト(RES#) 、サスペンド(SUS#)、インタラ
ブド・リクエスト(IRQ#)を用いて1図形処理装置
100外部の、中央処理装置201.メインメモリ20
3、バス調停装置202と交信する。また、制御レジス
タを内蔵して、各ユニットにおける処理動作の同期を取
ったり、データ転送のタイミングを制御したりする。
The system bus interface 105 supplies an internal clock for synchronizing processing execution to each unit in the graphic processing device E100, as well as an address bus (A31-A2) and a data bus (D31-A2). Do), address status (ADS#), quick (QUIC)
K#), write/read (W/R#), data ready (READY#), chip select (C8#), frame buffer select (FS#), bus hold request (HOLD), bus・Central processing unit 201 external to graphics processing unit 100 using hold acknowledge (HLDA), bus mask (BM#), reset (RES#), suspend (SUS#), and interrelated request (IRQ#) .. main memory 20
3. Communicates with the bus arbitration device 202. It also includes a control register to synchronize processing operations in each unit and control data transfer timing.

ローカル・バス・インタフェース106は、システム・
バス・インタフェース105から供給される内部クロッ
クと、端子DISPCLKから入力される表示制御用の
クロックとの同期を取りながら5表示基準クロック(C
LKOUT)、メモリ・アドレス(MAl 1−MAO
)、メモリ・データ(Mn21−MDO)、ロウ・アド
レス・ストローブ(RAS#)、カラム・アドレス・ス
トローブ(CAS#)、ライト・イネーブ/L/ (w
E#)、データ・トランスファ/アウトプット・イネー
ブル(DT#10E#)、アウトプット・イネーブル(
○E#)、表示ステータス(DS#)、水平同期(H8
YNC#)、垂直同期(VSYNC#)、表示タイミン
グ(DISP$t)、カーソル・データ(CURD3−
CURDO)、カーソル・マスク・データ(CURM3
−CURMO)、カーソル表示タイミング(CURD 
I S P #)を用いて1図形処理装置100外部の
、フレームバッファ205、ビデオコンバータ20G、
CRTデイスプレィ装置1207と交信する。
Local bus interface 106 is a system
While synchronizing the internal clock supplied from the bus interface 105 with the display control clock input from the terminal DISPCLK,
LKOUT), memory address (MAl 1-MAO
), memory data (Mn21-MDO), row address strobe (RAS#), column address strobe (CAS#), write enable/L/ (w
E#), data transfer/output enable (DT#10E#), output enable (
○E#), display status (DS#), horizontal synchronization (H8
YNC#), vertical synchronization (VSYNC#), display timing (DISP$t), cursor data (CURD3-
CURDO), cursor mask data (CURM3
-CURMO), cursor display timing (CURD)
A frame buffer 205, a video converter 20G,
Communicates with CRT display device 1207.

〈図形処理装置100のシステムバスアクセス〉図形処
理装置100は、メインメモリ203とフレームバッフ
ァ205との間でデータ転送を行うために、システムバ
スを使用する。まず、その手順を第1図と第4図を用い
て説明する。システムバスは、通常、MPU201が使
用しているため、図形処理装置100は、バスの使用権
を得るために、バスアービタ202にバスリクエスト信
号(HOLD)を出力する。バスアービタ202は、前
記HOLD信号がアサートされると。
<System Bus Access of Graphic Processing Apparatus 100> The graphic processing apparatus 100 uses a system bus to transfer data between the main memory 203 and the frame buffer 205. First, the procedure will be explained using FIGS. 1 and 4. Since the system bus is normally used by the MPU 201, the graphic processing device 100 outputs a bus request signal (HOLD) to the bus arbiter 202 in order to obtain the right to use the bus. The bus arbiter 202, when the HOLD signal is asserted.

MPU201に対し、システムバスを開放するように要
求する。MPU201は、実行中のメモリアクセスが終
了すると、バスを開放し、バスアービタにバスを開放し
たことを告げる。ノくスアービタ202は、図形処理装
置iooに対し、システムバスが開放されたことをHL
DA信号を用魁)て知らせる0図形処理装置100は、
前記HLDA信号でシステムバスが開放されたことを認
識すると、メインメモリ203のアクセスを開始し、シ
ステムバスを使用中であることを示すBM#信号をアサ
ートする0図形処理装置100は、メモリアクセスが終
了したら、HOLD信号をネゲートし、MPU201に
システムバスの使用権を返却する。
Requests the MPU 201 to release the system bus. When the memory access being executed is completed, the MPU 201 releases the bus and notifies the bus arbiter that the bus has been released. The node arbiter 202 informs the graphics processing device ioo that the system bus has been released.
The graphics processing device 100 that sends the DA signal is
When the graphics processing device 100 recognizes that the system bus has been released by the HLDA signal, it starts accessing the main memory 203 and asserts the BM# signal indicating that the system bus is in use. Upon completion, the HOLD signal is negated and the right to use the system bus is returned to the MPU 201.

第4図の処理で問題となることは、処理速度の向上を図
るために、図形処理装置100とMPU201間のバス
調停の制御を効率良く行う必要があることである。MP
U201は、緊急な処理を行う必要があるので、図形処
理装置100は、従来のバーストモードを用いたシステ
ムバスの長時間の使用はできない。また、1回のメモリ
アクセスごとにMPU201と図形処理装置100を切
り替えると、調停の時間が多くなり性能低下になる。一
般に、MPU201の緊急処理は1割込みによって起動
される。そこで5本発明では、MPU201への割込み
信号が発生した場合に。
A problem with the process shown in FIG. 4 is that in order to improve the processing speed, it is necessary to efficiently control bus arbitration between the graphic processing device 100 and the MPU 201. M.P.
Since U201 needs to perform urgent processing, the graphic processing device 100 cannot use the system bus for a long time using the conventional burst mode. Furthermore, if the MPU 201 and the graphic processing device 100 are switched for each memory access, the arbitration time will increase and the performance will deteriorate. Generally, the emergency processing of the MPU 201 is activated by one interrupt. Therefore, in the present invention, when an interrupt signal to the MPU 201 is generated.

図形処理装置100に対して、システムバスの使用を中
断させるようにする新しい方式によって。
By a new method that allows the graphics processing device 100 to suspend use of the system bus.

図形処理装置100がシステムバスを長時間連続して使
用することができるようにした。
A graphic processing device 100 is enabled to use a system bus continuously for a long time.

第5図は、SUS#制御回路212が、MPU201へ
の割込みが発生したとき、図形処理装置100に対し、
SUS#信号をアサートする動作を示すタイムチャート
である0図形処理装置io。
FIG. 5 shows that the SUS# control circuit 212 sends a message to the graphic processing device 100 when an interrupt to the MPU 201 occurs.
0 graphic processing device io which is a time chart showing the operation of asserting the SUS# signal.

は、5tJS#信号がアサートされると、システムバス
を開放し、HOLD信号とBM#信号をネゲートする。
When the 5tJS# signal is asserted, the system bus is released and the HOLD signal and BM# signal are negated.

MPU201は、その後システムバスを使用できる。M
PU201の緊急処理終了後。
MPU 201 can then use the system bus. M
After the emergency processing of PU201 is completed.

SUS#制御回路212がSUS#信号をネゲートする
ことによって1図形処理装置100は処理を再開できる
When the SUS# control circuit 212 negates the SUS# signal, the graphic processing device 100 can resume processing.

第6図は、図形処理装置100がメインメモリをアクセ
ス時のタイムチャートである。リード及びライト動作は
、内部動作クロックの1サイクルを1ステートとして5
4ステートを基準としている。ライトサイクルは、W/
R#信号がハイレベルになることによって示される。リ
ードサイクルは、W/R#信号をローレベルにすること
によって示される。リードまたはライトサイクルの終了
時に、READY$を信号がハイレベルになっていると
、そのサイクルは延長される。第6図では、リードサイ
クルの4ステート目と、その次のステートにREADY
#信号がハイレベルになっているので、2ステートのウ
ェイトサイクルが挿入されている場合を示している。
FIG. 6 is a time chart when the graphic processing device 100 accesses the main memory. Read and write operations are performed in 5 states, with one cycle of the internal operation clock being one state.
It is based on 4 states. The light cycle is W/
This is indicated by the R# signal going high. A read cycle is indicated by bringing the W/R# signal low. If the READY$ signal is high at the end of a read or write cycle, the cycle is extended. In Figure 6, READY is set to the fourth state of the read cycle and the next state.
Since the # signal is at a high level, a two-state wait cycle is inserted.

次に、前記SUS#信号を制御する方式について説明す
る。
Next, a method for controlling the SUS# signal will be explained.

第7図は、SUS#信号を制御するために必要なハード
ウェア構成を示す1図形処理装置100とMPU201
のほかに、SUS#制御回路212、割込み制御回路2
13.RTE発生回路214がある0割込み制御回路2
13は1図示しない他のデバイスからの割込み信号群の
優先処理を行った後、MPU201に対し、INT信号
で割込みを要求する。一方、MPU210は1割込み制
御回路213に対し、前記割込み信号に対する応答信号
をINTA信号として返す、SUS#制御回1212は
、前記INT及びINTA信号によって、SUS#信号
をアサートする。RTE発生回路214は、MPU20
1の割込み処理が終了したことを、RTE信号を用いて
SUS#制御回路212に知らせる。SUS$を制御回
路212は、前記RTE信号によって、SUS#信号を
ネゲートする。
FIG. 7 shows the hardware configuration necessary for controlling the SUS# signal. 1 graphic processing device 100 and MPU 201
In addition to, SUS# control circuit 212, interrupt control circuit 2
13. 0 interrupt control circuit 2 with RTE generation circuit 214
13 performs priority processing on a group of interrupt signals from other devices (not shown), and then requests an interrupt to the MPU 201 using an INT signal. On the other hand, the MPU 210 returns a response signal to the interrupt signal as an INTA signal to the 1-interrupt control circuit 213, and the SUS# control circuit 1212 asserts the SUS# signal in response to the INT and INTA signals. The RTE generation circuit 214 is the MPU 20
The RTE signal is used to notify the SUS# control circuit 212 that the interrupt processing of No. 1 has been completed. The SUS$ control circuit 212 negates the SUS# signal using the RTE signal.

第8図は、SUS#信号制御回路212の論理図である
。INTA信号でセットされ、RTE信号でリセットさ
れるフリップフロップ2121と、前記ブリップフロッ
プ2121の信号とINT信号との論理和をとるオアゲ
ート2122で構成される。第8図に示す構成は、まず
INT信号によってSUS#信号を発生することで、M
PU201が割込み処理を素早く実行できるようにする
。ここで、INT信号は、アサートされた後、MPU2
01がINTA信号を発生する前に9図示しないデバイ
スの都合によって、すぐにネゲートされる可能性がある
。つまり、INT信号が発生しても、MPU201は割
込み処理を実行しない場合がある。そこで、MPU20
1がINTA信号をアサートして、確実に割込み処理を
実行することがわかった時に前記フリップフロップ21
21をセットする。第9Sに、第8図のタイムチャート
を示す、第10図は、MPU201の処理内容を示すフ
ローチャートである。MPU201が、通常の処理を行
っているときに、前記INT信号tこよって割込みが発
生すると、前記通常の処理を中断して、緊急処理を行う
、緊急処理を行った後、第7図に示すRTE発生回路2
14を用いてSU]$信号をネゲートする処理を行い、
通常処理に戻る。
FIG. 8 is a logic diagram of the SUS# signal control circuit 212. It consists of a flip-flop 2121 which is set by the INTA signal and reset by the RTE signal, and an OR gate 2122 which takes the logical sum of the signal of the flip-flop 2121 and the INT signal. The configuration shown in FIG. 8 first generates the SUS# signal using the INT signal.
To enable a PU 201 to quickly execute interrupt processing. Here, after the INT signal is asserted, the MPU2
01 may be negated immediately before generating the INTA signal depending on the circumstances of a device (not shown). That is, even if the INT signal is generated, the MPU 201 may not execute interrupt processing. Therefore, MPU20
1 asserts the INTA signal and the flip-flop 21
Set 21. 9S shows the time chart of FIG. 8, and FIG. 10 is a flowchart showing the processing contents of the MPU 201. When the MPU 201 is performing normal processing, when an interrupt occurs due to the INT signal t, the normal processing is interrupted and emergency processing is performed.After performing the emergency processing, the processing shown in FIG. RTE generation circuit 2
14 to negate the SU]$ signal,
Return to normal processing.

第10図のように、緊急処理は1つではなく。As shown in Figure 10, there is not one emergency process.

割込みの数に応じて複数個ある。従って、 SUS#を
ネゲートする処理はそれぞれの割込みルーチンに設けな
ければならない。MPU201のソフトウェアが、本実
施例で示す図形処理装置100を用いることを前提とし
て、最初から作成される場合は問題ないが、図形処理装
置100を、後で追加するシステムでは、既存ソフトウ
ェアに対するSUS#のネゲート処理の追加部分が多岐
にわたるため大きな問題となる。そこで、既存ソフトウ
ェアの変更をできるだけ少なくする方式が望まれる。第
11図は、このような問題を解決するためのハードウェ
ア構成を示したものである。この第11図は、前記第7
図の構成に対し、図形処理装置100からの割込み信号
IRQ3Fを、割込み制御回路213に接続したもので
ある。SUS#信号がアサートされると、前記IR(l
信号もアサートされる。このようにすることによって。
There are multiple depending on the number of interrupts. Therefore, processing for negating SUS# must be provided in each interrupt routine. There is no problem if the software for the MPU 201 is created from the beginning on the premise that the graphic processing device 100 shown in this embodiment is used, but in a system where the graphic processing device 100 is added later, the SUS# for the existing software is This is a big problem because the additional parts of the negation process are wide-ranging. Therefore, a method that minimizes changes to existing software is desired. FIG. 11 shows a hardware configuration for solving such problems. This FIG. 11 shows the seventh
In contrast to the configuration shown in the figure, the interrupt signal IRQ3F from the graphic processing device 100 is connected to the interrupt control circuit 213. When the SUS# signal is asserted, the IR(l
A signal is also asserted. By doing it this way.

MPU201の処理は、第12図のようになる。The processing of the MPU 201 is as shown in FIG.

MPU201は、図示しないデバイスからの割込み処理
を終了したあと、−旦通常処理に戻るが、すぐに図形処
理装置100の割込みによって。
After the MPU 201 finishes processing an interrupt from a device (not shown), it returns to normal processing, but is immediately interrupted by an interrupt from the graphic processing device 100.

S U S #をネゲートする処理を実行する。従って
Executes processing to negate SUS#. Therefore.

既存ソフトウェアの変更は、図形処理装置100の割込
みを追加するだけで良い。
Existing software can be changed by simply adding an interrupt for the graphic processing device 100.

次に、第13図に、SUS#信号をネゲートする処理が
ソフトウェアによらない方式について説明する。MPU
201が、実行中の割込みレベル信号を出力する機能を
持つ割込みilJ御@1213を用い、RTE発生回路
214で前記割込みレベル信号をデコードするように構
成する。第13図のソフトウェアは1図形処理装置10
0を用いないシステムでも1割込み制御回路213に対
し、MPU201が実行する割込みレベルを指示するよ
うに構成されているので、SUS#をネゲートするため
のソフトウェアの変更は必要ない。
Next, with reference to FIG. 13, a method in which the process of negating the SUS# signal does not depend on software will be described. MPU
201 uses an interrupt ilJ control @ 1213 having a function of outputting an interrupt level signal during execution, and the RTE generating circuit 214 is configured to decode the interrupt level signal. The software in FIG. 13 is 1 graphic processing device 10.
Even in a system that does not use 0, the 1 interrupt control circuit 213 is configured to instruct the interrupt level to be executed by the MPU 201, so there is no need to change the software to negate SUS#.

その他の実施例として、第14図において。As another example, in FIG.

MPU201が5割込み処理終了信号であるRTE信号
を出力する機能を持つ場合について説明する。
A case will be described in which the MPU 201 has a function of outputting an RTE signal, which is a 5-interrupt processing end signal.

割込み制御回路213は1図示しないデバイスからの割
込み信号を受けて優先順位の判定を行ったのち、MPU
201にINT信号で割込みをかける。SUS#制御回
路212は、前記INT信号により、図形処理装置io
oのSUS#端子をアサートする。その後、MPU20
1は1割込み処理を実行し、最後に割込み終了命令を実
行すると。
The interrupt control circuit 213 receives an interrupt signal from a device (not shown), determines the priority order, and then sends an interrupt signal to the MPU.
201 with an INT signal. The SUS# control circuit 212 controls the graphic processing device io by the INT signal.
Assert the SUS# terminal of o. After that, MPU20
1 executes one interrupt process and finally executes the interrupt end instruction.

RTE端子を所定の時間だけアサートする。Assert the RTE terminal for a predetermined period of time.

SUS#制御回路212は、前記RTE信号がアサート
されると、SUS#信号をネゲートする。
The SUS# control circuit 212 negates the SUS# signal when the RTE signal is asserted.

このように、第14図の構成によれば、SUS#信号の
制御に関してソフトウェアの処理を必要としないので、
既存ソフトウェアの変更を少なくすることができる。
As described above, according to the configuration shown in FIG. 14, no software processing is required for controlling the SUS# signal.
Changes to existing software can be reduced.

以上述べた実施例によると、メインメモリ203とフレ
ームバッファ205の間でビットマップデ−夕の転送を
行うシステムにおいて、図形処理装置100が、システ
ムバスのアクセスを実行中にMPU201の割込み処理
が発生したとき、バスを開放するための端子(SUS#
)を持つことによって、図形処理装置100は、システ
ムバスを連続して使用できるので、システムバスの使用
効率を向上させることができる。従って、処理速度の向
上を図ることができる。また、既存システムに対して、
ソフトウェアの変更が少なくて済むので1図形処理装置
100を後で追加することが容易である。
According to the embodiment described above, in a system that transfers bitmap data between the main memory 203 and the frame buffer 205, interrupt processing of the MPU 201 occurs while the graphic processing device 100 is accessing the system bus. When the bus is opened, the terminal (SUS#
), the graphic processing device 100 can use the system bus continuously, thereby improving system bus usage efficiency. Therefore, it is possible to improve the processing speed. In addition, for existing systems,
Since only a few software changes are required, it is easy to add one graphic processing device 100 later.

[発明の効果] 本発明によれば1図形処理装置がメインメモリをアクセ
スするシステムにおいて、図形処理装置は、システムバ
スをアクセス中にMPUへの割込みが発生したことを検
出するとともにシステムバスの開放を行うため、−時、
描画処理やデータ転送を中断してMPUに処理を実行さ
せた後、ソフトウェアの介在を必要とすることなく1元
の処理の再開が可能となり、システムバスの使用効率を
向上させると共に、MPUの緊急処理にも迅速に対応で
きるようになる。
[Effects of the Invention] According to the present invention, in a system in which one graphics processing device accesses the main memory, the graphics processing device detects that an interrupt to the MPU occurs while accessing the system bus, and also releases the system bus. In order to do - time,
After interrupting drawing processing or data transfer and letting the MPU execute the processing, it is possible to resume the single processing without requiring software intervention. It will also be possible to respond quickly to processing.

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

第1図は本発明の一実施例を示したシステム構成例を示
す図、第2図は図形処理装置100をLSI化した場合
の端子構成を示す図、第3図は図形処理装置100の内
部構成を示した図、第4図は図形処理装置100のシス
テムバスをアクセスする時の調停タイミングを示す図、
第5図は図形処理装置100のSUS#端子を用いてシ
ステムバスを一時MPUに開放するタイミングを示す図
、第6図は図形処理装置100がメインメモリをアクセ
スする時のメモリサイクルを示す図、第7図はソフトウ
ェアによるSUS#信号の制御を行うためのハードウェ
ア構成を示す図、第8図はSUS#制御回路212の論
理構成を示す図、第9図はS U S # 制御回路2
12の動作タイミングを示す図、第10図は第7図に対
応したMPU201の処理フローを示す図、第11図は
SUS#の制御ソフトウェアの変更を少なくするシステ
ムの構成例を示す図、第12図は第11図に対応したM
PU201の処理フローを示す図、第13図は割込み制
御回路213が割込みレベル信号を出力することで、M
PU201(7)SUS#*H#(7)’/7トウエア
が必要でなくなる構成例を示す図、第14図はM P 
U 20 Lが割込み処理を終了したことを示す端子を
持つことで、MPU201の5usn制御のソフトウェ
アが必要でなくなる構成例を示す図である。 100・・・図形処理装置、201・・・中央処理装置
、202・・・バスアービタ、203・・・メインメモ
リ、205・・・フレームバッファ、206・・・ビデ
オ信号生成回路、207・・・表示装置、208・・・
コントロールバス、209・・・データバス、210・
・・アドレスバス、211・・・デコーダ、212・・
・SUS制御回路、213・・・割り込み制御回路、2
14・・・RTE発生回路。
FIG. 1 is a diagram showing an example of a system configuration according to an embodiment of the present invention, FIG. 2 is a diagram showing a terminal configuration when the graphic processing device 100 is implemented as an LSI, and FIG. 3 is an internal diagram of the graphic processing device 100. FIG. 4 is a diagram showing the configuration, and FIG. 4 is a diagram showing the arbitration timing when accessing the system bus of the graphic processing device 100.
FIG. 5 is a diagram showing the timing of temporarily releasing the system bus to the MPU using the SUS# terminal of the graphic processing device 100, FIG. 6 is a diagram showing the memory cycle when the graphic processing device 100 accesses the main memory, FIG. 7 is a diagram showing the hardware configuration for controlling the SUS# signal by software, FIG. 8 is a diagram showing the logical configuration of the SUS# control circuit 212, and FIG. 9 is a diagram showing the SUS# control circuit 2.
FIG. 10 is a diagram showing the processing flow of the MPU 201 corresponding to FIG. 7. FIG. The figure is M corresponding to Figure 11.
FIG. 13, a diagram showing the processing flow of the PU 201, shows that the interrupt control circuit 213 outputs an interrupt level signal to
PU201(7) SUS#*H#(7)'/7 A diagram showing an example of a configuration where toeware is no longer required, Figure 14 is M P
FIG. 12 is a diagram illustrating a configuration example in which software for 5usn control of the MPU 201 is no longer required by having a terminal indicating that U 20 L has finished interrupt processing. 100... Graphic processing device, 201... Central processing unit, 202... Bus arbiter, 203... Main memory, 205... Frame buffer, 206... Video signal generation circuit, 207... Display Device, 208...
Control bus, 209...Data bus, 210...
...Address bus, 211...Decoder, 212...
・SUS control circuit, 213...Interrupt control circuit, 2
14...RTE generation circuit.

Claims (1)

【特許請求の範囲】 1、少なくともデータ処理を実行する中央処理装置と図
形処理装置との間と、上記中央処理装置が処理するデー
タを格納するメインメモリと上記図形処理装置との間と
でのデータ交換を可能とするためのシステムバスインタ
フェースと、上記システムバスインタフェースより得ら
れるデータから処理内容を検出するとともに、上記メイ
ンメモリ上にある少なくとも一つの処理対象データを指
すアドレスを算出し、上記処理対象データを指すアドレ
スに従って、上記メインメモリから少なくとも一つのデ
ータを読み出すことを、上記システムバスインタフェー
スに要求し、その結果として上記システムバスインタフ
ェースから得られる少なくとも一つのデータを、上記処
理内容に従って処理し、上記処理結果を格納するための
アドレスに従って、上記処理結果を上記メインメモリへ
書き込むことを、上記システムバスインタフェースに要
求する描画処理ユニットを有する上記図形処理装置にお
いて、 上記メインメモリを用いた処理の実行の中断及び再開の
制御を、外部から受けるために、専用の入力端子を持つ
ことを特徴とする図形処理装置。 2、特許請求の範囲第1項の図形処理装置において、上
記システムバスインタフェースを介して外部のバス調停
回路との間でバス調停を行い、上記メインメモリへのア
クセス権を獲得し、上記システムバスインタフェースが
、上記メインメモリから処理対象データを読み出すこと
と、上記メイン・メモリへ処理結果を書き込むこととを
制御するバス制御ユニットを有する図形処理装置。 3、少なくともデータ処理を実行する中央処理装置と図
形処理装置との間と、上記中央処理装置が処理するデー
タを格納するメインメモリと上記図形処理装置との間と
でのデータ交換を可能とするためのシステムバスインタ
フェースと、表示装置に表示するデータを格納するフレ
ームバッファと上記図形処理装置との間でのデータ交換
を可能とするためのローカルバスインタフェースと、 上記システムバスインタフェースより得られるデータか
ら処理内容を検出するとともに、上記メインメモリ上に
ある少なくとも一つの処理対象データを指すアドレスと
、上記フレーム・バッファに処理結果を格納するための
アドレスとを算出し、上記処理対象データを指すアドレ
スに従って、上記メインメモリから少なくとも一つのデ
ータを読み出すことを、上記システムバスインタフェー
スに要求し、その結果として上記システムバスインタフ
ェースから得られる、少なくとも一つのデータを上記処
理内容に従って処理し、上記処理結果を格納するための
アドレスに従って、上記処理結果を上記フレームバッフ
ァへ書き込むことを上記ローカル・バスインタフェース
に要求する描画処理ユニットを有する上記図形処理装置
において、 上記メインメモリを用いた処理の実行の中断及び再開の
制御を、外部から受けるために、専用の入力端子を持つ
ことを特徴とする上記図形処理装置。 4、特許請求の範囲第3項の図形処理装置において、上
記システムバスインタフェースを介して外部のバス調停
回路との間でバス調停を行い、上記メインメモリへのア
クセス権を獲得し、上記システムバスインタフェースが
、上記メインメモリから処理対象データを読み出すこと
と、上記メインメモリへ処理結果を書き込むこととを制
御するバス制御ユニットを有する図形処理装置。 5、装置間でのデータ交換を可能とするためのシステム
バスに、データを格納するメインメモリと、少なくとも
メインメモリ上のデータを処理する中央処理装置と、上
記中央処理装置からの指示に従って、少なくとも上記メ
インメモリ上に存在するビットマップデータの処理を行
う際に、図形処理装置とが接続されるデータ処理装置に
おいて、 上記メインメモリ上に存在するビットマップデータに対
する、上記図形処理装置の処理の実行の中断及び再開を
、外部からの割込み要求信号を用いて制御することを特
徴とするデータ処理装置。 6、装置間でのデータ交換を可能とするためのシステム
バスに、データを格納するメインメモリと、少なくとも
メインメモリ上のデータを処理する中央処理装置と、上
記中央処理装置からの指示に従って、上記メインメモリ
上に存在するビットマップデータと、表示装置に表示す
るためのデータを格納するフレームバッファ上に存在す
るビットマップデータの処理を行う際に、図形処理装置
とが接続され、上記システムバスとは物理的に切り離さ
れたローカルバスに、上記図形処理装置と上記フレーム
バッファとが接続されるデータ処理装置において、 上記メインメモリ上に存在するビットマップデータに対
する、上記図形処理装置の処理の実行の中断及び再開を
、外部からの割込み要求信号を用いて制御することを特
徴とするデータ処理装置。 7、データ処理のための中央処理装置と、少なくともメ
インメモリ上に存在するビットマップデータを処理する
図形処理装置を備えたデータ処理装置を用いる図形描画
方法において、 上記中央処理装置による例外処理の実行の最初に、上記
メインメモリ上に存在するビットマップデータに対する
、上記図形処理装置の処理の実行の中断処理を行い、 上記例外処理の実行の最後に、上記メインメモリ上に存
在するビットマップデータに対する、上記図形処理装置
の処理の実行の再開処理を行う ことを特徴とする図形描画方法。 8、データ処理のための中央処理装置において、例外処
理の実行の終了を外部に伝えるための出力端子を備えた
ことを特徴とする中央処理装置。 9、データ処理のための中央処理装置において、現在実
行中の例外処理の優先レベルを外部に伝えるための出力
端子を備えたことを特徴とする中央処理装置。 10、データ処理のための中央処理装置において、割込
み要求を受けた場合に、例外処理の実行に必要なシステ
ムバスを獲得するための機能を備えたことを特徴とする
中央処理装置。
[Claims] 1. At least between a central processing unit that executes data processing and a graphic processing unit, and between a main memory that stores data processed by the central processing unit and the graphic processing unit. A system bus interface for enabling data exchange, and detecting the processing content from the data obtained from the system bus interface, calculating an address pointing to at least one data to be processed in the main memory, and executing the above processing. Requesting the system bus interface to read at least one data from the main memory according to an address pointing to the target data, and processing the at least one data obtained from the system bus interface as a result according to the processing contents. , in the graphic processing device having a drawing processing unit that requests the system bus interface to write the processing result to the main memory according to an address for storing the processing result, the processing using the main memory is performed. A graphics processing device characterized by having a dedicated input terminal for receiving control for suspending and resuming execution from the outside. 2. In the graphic processing device according to claim 1, bus arbitration is performed with an external bus arbitration circuit via the system bus interface to obtain access rights to the main memory, and the system bus A graphics processing device, wherein the interface includes a bus control unit that controls reading of data to be processed from the main memory and writing of processing results to the main memory. 3. Enable data exchange at least between the central processing unit that executes data processing and the graphic processing device, and between the main memory that stores data processed by the central processing unit and the graphic processing device. a local bus interface to enable data exchange between the frame buffer that stores data to be displayed on the display device and the graphic processing device; In addition to detecting the processing content, the address pointing to at least one data to be processed in the main memory and the address for storing the processing result in the frame buffer are calculated, and the address pointing to the data to be processed is calculated according to the address pointing to the data to be processed. , requests the system bus interface to read at least one data from the main memory, processes the at least one data obtained from the system bus interface according to the processing content, and stores the processing result. In the graphics processing device, the graphic processing device includes a drawing processing unit that requests the local bus interface to write the processing result to the frame buffer according to an address for interrupting and resuming execution of processing using the main memory. The graphic processing device described above has a dedicated input terminal for receiving control from the outside. 4. In the graphic processing device according to claim 3, bus arbitration is performed with an external bus arbitration circuit via the system bus interface to obtain access rights to the main memory, and the system bus A graphics processing device, wherein the interface includes a bus control unit that controls reading processing target data from the main memory and writing processing results to the main memory. 5. A main memory for storing data, a central processing unit for processing at least the data on the main memory, and at least a system bus for enabling data exchange between devices, according to instructions from the central processing unit. When processing the bitmap data existing on the main memory, the data processing device connected to the graphics processing device executes the processing of the graphics processing device on the bitmap data existing on the main memory. What is claimed is: 1. A data processing device that controls interruption and resumption of data processing using an external interrupt request signal. 6. A main memory for storing data, a central processing unit for processing at least the data on the main memory, and a system bus for enabling data exchange between devices, and a central processing unit for processing at least the data on the main memory; When processing bitmap data existing on the main memory and bitmap data existing on a frame buffer that stores data to be displayed on a display device, a graphic processing device is connected, and the system bus and In a data processing device in which the graphic processing device and the frame buffer are connected to a physically separated local bus, the graphic processing device executes processing on bitmap data existing in the main memory. A data processing device characterized in that suspension and resumption are controlled using an external interrupt request signal. 7. In a graphic drawing method using a data processing device that includes a central processing unit for data processing and a graphic processing device that processes at least bitmap data existing on the main memory, execution of exception processing by the central processing unit. At the beginning of the processing, the processing of the graphic processing device is interrupted for the bitmap data existing on the main memory, and at the end of the execution of the exception handling, the execution of the processing of the bitmap data existing on the main memory is interrupted. , a graphic drawing method characterized by performing a process of restarting execution of processing by the graphic processing device. 8. A central processing unit for data processing, characterized in that the central processing unit is equipped with an output terminal for transmitting to the outside the end of execution of exception processing. 9. A central processing unit for data processing, characterized in that the central processing unit is equipped with an output terminal for transmitting to the outside the priority level of exception processing currently being executed. 10. A central processing unit for data processing, characterized in that the central processing unit is equipped with a function for acquiring a system bus necessary for executing exception processing when an interrupt request is received.
JP1266143A 1989-10-16 1989-10-16 Graphic processor, data processor using the same, graphic drawing method and central processing unit Pending JPH03129478A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP1266143A JPH03129478A (en) 1989-10-16 1989-10-16 Graphic processor, data processor using the same, graphic drawing method and central processing unit
US07/596,366 US5369744A (en) 1989-10-16 1990-10-12 Address-translatable graphic processor, data processor and drawing method with employment of the same
KR1019900016443A KR100226088B1 (en) 1989-10-16 1990-10-16 Address convertible figure processing device, data processing device and figure drawing method using same
US08/301,016 US5507026A (en) 1989-10-16 1994-09-06 Address-translatable graphic processor, data processor and drawing method with employment of the same
US08/472,741 US5664161A (en) 1989-10-16 1995-06-07 Address-translatable graphic processor, data processor and drawing method with employment of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1266143A JPH03129478A (en) 1989-10-16 1989-10-16 Graphic processor, data processor using the same, graphic drawing method and central processing unit

Publications (1)

Publication Number Publication Date
JPH03129478A true JPH03129478A (en) 1991-06-03

Family

ID=17426908

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1266143A Pending JPH03129478A (en) 1989-10-16 1989-10-16 Graphic processor, data processor using the same, graphic drawing method and central processing unit

Country Status (1)

Country Link
JP (1) JPH03129478A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020081508A (en) * 2018-11-28 2020-06-04 株式会社藤商事 Game machine
JP2022060443A (en) * 2019-01-16 2022-04-14 株式会社藤商事 Pachinko machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020081508A (en) * 2018-11-28 2020-06-04 株式会社藤商事 Game machine
JP2022060443A (en) * 2019-01-16 2022-04-14 株式会社藤商事 Pachinko machine

Similar Documents

Publication Publication Date Title
US5369744A (en) Address-translatable graphic processor, data processor and drawing method with employment of the same
US5533204A (en) Split transaction protocol for the peripheral component interconnect bus
JP3579461B2 (en) Data processing system and data processing device
EP0559408B1 (en) A method and apparatus for performing bus arbitration using an arbiter in a data processing system
KR940005346B1 (en) Computer system ensuring the timing separability between the consecutive r/w signals
TW508501B (en) Memory controller hub
TW452696B (en) Method for arbitrating multiple memory access requests in a unified memory architecture via a non unified memory controller
JP2003114825A (en) Memory control method, memory control circuit using the control method, and integrated circuit incorporating the memory control circuit
US6272583B1 (en) Microprocessor having built-in DRAM and internal data transfer paths wider and faster than independent external transfer paths
US5623645A (en) Method and apparatus for acquiring bus transaction data with no more than zero-hold-time
JPH0792962A (en) Port-address input / output priority architecture
JP3342352B2 (en) Display memory controller
JPH06214945A (en) Computer system and high-speed transfer method of information
JPH03129478A (en) Graphic processor, data processor using the same, graphic drawing method and central processing unit
US6954873B2 (en) Implementation of wait-states
JPH07295947A (en) Equipment and method for data transfer management
JP3610029B2 (en) Data processing system
JP2000172553A (en) Data processing device
JP2003122626A (en) High performance graphics controller
JP3610030B2 (en) Data processing system
JP3610031B2 (en) Data processing system
JP2003122623A (en) Graphics controller for high-speed transmission of write commands
JPH05334239A (en) Bus system
JPH0388082A (en) Image processor
JPH0683695A (en) Picture processing circuit