JP2000181432A - Graphic processor - Google Patents

Graphic processor

Info

Publication number
JP2000181432A
JP2000181432A JP10352269A JP35226998A JP2000181432A JP 2000181432 A JP2000181432 A JP 2000181432A JP 10352269 A JP10352269 A JP 10352269A JP 35226998 A JP35226998 A JP 35226998A JP 2000181432 A JP2000181432 A JP 2000181432A
Authority
JP
Japan
Prior art keywords
circuit
bus
memory
bus arbitration
priority
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
JP10352269A
Other languages
Japanese (ja)
Inventor
Tetsuya Shimomura
哲也 下村
Manabu Jo
学 城
Shigeru Matsuo
松尾  茂
Yasuhiro Nakatsuka
康弘 中塚
Kazushige Yamagishi
一繁 山岸
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 JP10352269A priority Critical patent/JP2000181432A/en
Publication of JP2000181432A publication Critical patent/JP2000181432A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

PROBLEM TO BE SOLVED: To place respective circuits in correct operation by guaranteeing memory access time in the worst case for circuits which need to finish processes within a prescribed time without fail when an integrated memory system is employed. SOLUTION: A bus control circuit 200 performs bus arbitration while sequentially switching a priority decision circuit A210 and a priority decision circuit B220 which differ in priority in bus arbitration timing. Consequently, even when circuits which need to gain memory access within the prescribed time without fail like a display circuit 340 and a video input circuit 330 are incorporated, the memory access time can be guaranteed even in the worst case for the respective circuit, so the circuits can be placed in correct operation.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、文字や図形データ
を発生,表示する図形処理装置に関するもので、特に表
示用画素データを記憶するためのフレームバッファを主
記憶装置内に一体化する、統合化メモリ方式で構成され
る図形処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic processing apparatus for generating and displaying character and graphic data, and more particularly to an integrated processing apparatus for integrating a frame buffer for storing pixel data for display in a main storage device. More specifically, the present invention relates to a graphic processing device configured by a generalized memory system.

【0002】[0002]

【従来の技術】従来の技術による統合化メモリ方式で構
成される図形処理装置の一例として、特開平4−1084192
号公報に記載されている。この方式は、表示回路が他の
回路に優先してメモリアクセスを行いたい場合に、その
ことをメモリ管理ユニットに通知する優先制御信号を設
け、メモリ管理ユニットは優先制御信号が入力されると
表示回路のメモリアクセスの優先度を上げる制御を行う
ことで、メモリ統合化によりメモリアクセスの競合が増
えてもCRTなどへの画面表示を途切れさせることなく
制御する方式である。
2. Description of the Related Art Japanese Patent Application Laid-Open No. 4-1084192 discloses an example of a graphics processing apparatus constituted by an integrated memory system according to the prior art.
No., published in Japanese Unexamined Patent Publication No. In this method, when the display circuit wants to access the memory in preference to another circuit, a priority control signal is provided to notify the memory management unit of the priority, and the memory management unit displays when the priority control signal is input. This is a method in which the control for increasing the priority of memory access of the circuit is performed without interrupting the screen display on a CRT or the like even if memory access competition increases due to memory integration.

【0003】[0003]

【発明が解決しようとする課題】上記技術は、ある規定
時間内に必ず処理を終了する必要のある回路が、優先的
にメモリアクセスを行うための手段として優先制御信号
を設けたものである。しかしながら上記発明では、ある
規定時間内に必ず処理を終了する必要のある回路が複数
存在する構成については記述されていない。例えば、あ
る規定時間内に必ず処理を終了する必要のある回路とし
て表示回路とビデオ入力回路を備える構成を考えると、
表示回路はCRTへの表示が途切れないようにメモリか
ら表示データを読み出す必要があり、一方ビデオ入力回
路についても、常に入力され続けるビデオデータを取り
こぼさないようにビデオ入力データをメモリに書き込む
必要がある。すなわち、表示回路は1画面を表示する時
間内に1画面分全ての表示データをメモリから読み出す
必要があり、ビデオ入力回路も同様にビデオ入力データ
が1画面分入力される時間内に1画面分全てのビデオ入
力データをメモリに書き込む必要がある。
In the above-mentioned technique, a circuit which needs to complete processing within a certain prescribed time is provided with a priority control signal as means for preferentially performing memory access. However, the above-mentioned invention does not describe a configuration in which there are a plurality of circuits that need to complete processing within a certain specified time. For example, considering a configuration in which a display circuit and a video input circuit are provided as circuits that need to complete processing within a certain specified time,
The display circuit needs to read the display data from the memory so that the display on the CRT is not interrupted. On the other hand, the video input circuit also needs to write the video input data to the memory so as not to miss the video data that is always input. is there. That is, the display circuit needs to read all display data for one screen from the memory within the time for displaying one screen. Similarly, the video input circuit also needs to read one screen within the time for inputting one screen of video input data. All video input data needs to be written to memory.

【0004】本発明の目的は、統合化メモリ方式を採用
し、かつある規定時間内に必ず処理を終了する必要のあ
る回路を複数備えた図形処理装置において、これらのあ
る規定時間内に必ず処理を終了する必要のある複数の回
路に対し、最悪時のメモリアクセス時間を保証し、それ
によって各回路を正しく動作させることである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a graphic processing apparatus employing an integrated memory system and having a plurality of circuits which must complete processing within a certain specified time. Is to guarantee the worst-case memory access time for a plurality of circuits that need to be terminated, thereby operating each circuit correctly.

【0005】[0005]

【課題を解決するための手段】本発明では上記目的,メ
モリをアクセスするためにバスに接続されたCPU,表
示制御回路,規定時間内に必ず処理を終了する必要のあ
る処理回路を調停するために、優先度が異なる複数の優
先度判定回路を用いることによって達成するものであ
る。
SUMMARY OF THE INVENTION In the present invention, the above-mentioned object is to arbitrate a CPU connected to a bus for accessing a memory, a display control circuit, and a processing circuit which must terminate processing within a specified time. In addition, this is achieved by using a plurality of priority determination circuits having different priorities.

【0006】つまり、CPUを優先する優先度判定回
路,表示制御回路を優先する優先度判定回路,処理回路
を優先する優先度判定回路をそれぞれ切り替えることに
より、それぞれの回路が所定時間内にメモリにアクセス
することが可能となる。
That is, by switching between the priority determination circuit that gives priority to the CPU, the priority determination circuit that gives priority to the display control circuit, and the priority determination circuit that gives priority to the processing circuit, the respective circuits are stored in the memory within a predetermined time. It becomes possible to access.

【0007】[0007]

【発明の実施の形態】次に、本発明について図面を参照
して詳細に説明する。
Next, the present invention will be described in detail with reference to the drawings.

【0008】図1に本発明の第1の実施例の全体構成図
を示す。図1において、100はグラフィックスプロセ
ッサ、110は内部バス、200はバス制御回路、21
0は優先度判定回路A、220は優先度判定回路B、2
40はバス制御シーケンサ、310はCPU I/F回
路、320は描画回路、330はビデオ入力回路、34
0は表示回路、500はCPU、510はI/Oコント
ローラ、520はCDROM、530はキーボード、5
40はマウス、550はCPUバス、600はNTSCデ
コーダ、610はアンテナ、620はDAC、630は
CRT、700はメモリ、710は主記憶、720は描
画用データ、730はビデオ入力データ、740はフレ
ームバッファである。
FIG. 1 shows an overall configuration diagram of a first embodiment of the present invention. In FIG. 1, 100 is a graphics processor, 110 is an internal bus, 200 is a bus control circuit, 21
0 is a priority determination circuit A, 220 is a priority determination circuit B, 2
40 is a bus control sequencer, 310 is a CPU I / F circuit, 320 is a drawing circuit, 330 is a video input circuit, 34
0 is a display circuit, 500 is a CPU, 510 is an I / O controller, 520 is a CDROM, 530 is a keyboard, 5
40 is a mouse, 550 is a CPU bus, 600 is an NTSC decoder, 610 is an antenna, 620 is a DAC, 630 is a CRT, 700 is a memory, 710 is a main memory, 720 is drawing data, 730 is video input data, and 740 is a frame. It is a buffer.

【0009】図1において、主記憶710はCPU500が動
作するために必要なプログラム,データ,作業領域など
を保持する領域であり、描画用データ720は描画回路
320が動作するために必要なコマンド,データ,作業領
域などを保持する領域であり、ビデオ入力データ730
はビデオ入力回路330によって作成されたビデオ入力
データを保持する領域であり、フレームバッファ740
は表示回路340が読み出してCRT630に表示するための
表示データを保持する領域である。グラフィックスプロ
セッサ100内の各回路について、以下説明を行う。C
PU I/F回路310はCPU500からメモリ700への
アクセス要求を受けると、バス制御回路200に内部バ
ス110のバス権を取得するためリクエスト311を出
力する。CPU I/F回路310はバス制御回路20
0からアクノリッジ312が出力されるのを受けて、内
部バス110を通してメモリ700にアクセスを行い、
CPU500からのアクセス内容が読み出しアクセスであれば
メモリ700から読み出したデータをCPUバス550
を通してCPU500に転送し、書き込みアクセスであればメ
モリ700にそのデータの書き込みを行う。描画回路3
20は、描画用データ720から描画コマンドを読み出
してグラフィック描画データを作成し、フレームバッフ
ァ740に書き込む。描画回路320は、描画処理実行
中に描画コマンドの読み出しや、作成したグラフィック
描画データの書き込みが必要になると、リクエスト32
1とアクノリッジ322を使ってメモリ700にアクセ
スする。ビデオ入力回路330は、アンテナ610で受
信後NTSCデコーダ600でディジタルデータに変換
されたビデオデータを読み込む。ビデオ入力回路330は
入力されたビデオデータを一時内部でバッファに保持
し、バッファが一杯になる前にリクエスト331とアク
ノリッジ332を使ってメモリ700へデータを出力す
る。NTSCデコーダ600は継続的にビデオデータを
出力するため、ビデオ入力回路330はそのデータを取
りこぼさないように、決まった時間内に必ずメモリにデ
ータを出力する必要がある。表示回路340は、メモリ
700から表示データとビデオ入力データを読み出し、
DAC620を通してCRT630に出力する。表示回路340はCR
T630での画面表示を途切れさせないようにするために、
表示データとビデオ入力データを画面表示に合わせてメ
モリ700から読み出す必要がある。表示回路340は
CRT630に出力するこれらのデータを一時内部のバッファ
に保持しCRT630に出力しているが、バッファ内のデータ
が無くならないようにCRT630の掃引周波数に合わせてこ
れらのデータを決まった時間内に必ずメモリから読み出
さなければならない。バス制御回路200は、内部バス
110のバス調停の優先度が、表示回路340が最も高
い優先度判定回路A210と、ビデオ入力回路330が
最も高い優先度判定回路B220を内蔵している。優先
度判定回路A210,優先度判定回路B220は、受け
付けているリクエスト311〜341の中で最も優先度
の高い回路からのアクセス要求を判定結果211,221
としてそれぞれ出力する。例えば、リクエスト311と
リクエスト341が同時に出力されている場合、優先度
判定回路A210は判定結果211として表示回路34
0がメモリアクセス要求を出力していることを出力し、
優先度判定回路B220は判定結果221としてCPU
I/F回路310がメモリアクセス要求を出力してい
ることを出力する。バス制御シーケンサ240は、判定
結果211,221を使ってアクノリッジ312〜342を
出力し、内部バス110の使用を許可する。この際バス
制御シーケンサ240は、あるタイミングのバス調停に
判定結果211すなわち優先度判定回路A210の出力
値を使った場合には、次のバス調停タイミングでは判定
結果221すなわち優先度判定回路B220の出力値を
使い、さらにその次のバス調停タイミングでは判定結果
211すなわち優先度判定回路A210の出力値を使
う、というようにバス調停を行うごとに使用する判定結
果を順次切り替えてバス調停を行う。このとき、例えば
表示回路340のメモリアクセス時間の最大値は以下の
ように求めることができる。
In FIG. 1, a main memory 710 is an area for holding programs, data, work areas, and the like necessary for the operation of the CPU 500, and the drawing data 720 is a drawing circuit.
320 is an area for holding commands, data, work areas, and the like necessary for operating the video input data 730.
Is an area for holding video input data created by the video input circuit 330, and is a frame buffer 740.
Is an area for holding display data to be read by the display circuit 340 and displayed on the CRT 630. Each circuit in the graphics processor 100 will be described below. C
When receiving a request to access the memory 700 from the CPU 500, the PU I / F circuit 310 outputs a request 311 to the bus control circuit 200 to acquire the bus right of the internal bus 110. The CPU I / F circuit 310 is connected to the bus control circuit 20.
In response to the output of the acknowledge 312 from 0, the memory 700 is accessed through the internal bus 110,
If the access content from the CPU 500 is a read access, the data read from the memory 700 is transferred to the CPU bus 550.
The data is transferred to the CPU 500 via the CPU 500, and the data is written to the memory 700 for write access. Drawing circuit 3
20 reads out a drawing command from the drawing data 720, creates graphic drawing data, and writes it to the frame buffer 740. When the drawing circuit 320 needs to read a drawing command or write the created graphic drawing data during the execution of the drawing process, the request 32
The memory 700 is accessed using 1 and the acknowledge 322. The video input circuit 330 reads the video data converted into digital data by the NTSC decoder 600 after being received by the antenna 610. The video input circuit 330 temporarily stores the input video data in a buffer, and outputs the data to the memory 700 using the request 331 and the acknowledge 332 before the buffer becomes full. Since the NTSC decoder 600 continuously outputs video data, the video input circuit 330 must always output data to the memory within a fixed time so as not to miss the data. The display circuit 340 reads display data and video input data from the memory 700,
Output to CRT630 through DAC620. The display circuit 340 is CR
In order not to interrupt the screen display on the T630,
The display data and the video input data need to be read from the memory 700 in accordance with the screen display. The display circuit 340
These data to be output to the CRT630 are temporarily stored in an internal buffer and output to the CRT630.However, these data must be stored in a fixed time according to the sweep frequency of the CRT630 so that the data in the buffer is not lost. Must be read from In the bus control circuit 200, the display circuit 340 has the highest priority judgment circuit A210 and the video input circuit 330 has the highest priority judgment circuit B220 in the bus arbitration of the internal bus 110. The priority determination circuit A210 and the priority determination circuit B220 determine the access request from the highest priority circuit among the received requests 311 to 341 in the determination results 211 and 221.
Respectively. For example, when the request 311 and the request 341 are output at the same time, the priority determination circuit A210 determines that the display circuit 34
0 indicates that a memory access request has been output,
The priority determination circuit B220 outputs the determination result 221 to the CPU.
It outputs that I / F circuit 310 is outputting a memory access request. The bus control sequencer 240 outputs acknowledgments 312 to 342 using the determination results 211 and 221 to permit use of the internal bus 110. At this time, when the bus control sequencer 240 uses the determination result 211, that is, the output value of the priority determination circuit A 210, for the bus arbitration at a certain timing, the bus control sequencer 240 determines the determination result 221, that is, the output of the priority determination circuit B 220 at the next bus arbitration timing. A value is used, and at the next bus arbitration timing, the determination result 211, that is, the output value of the priority determination circuit A210 is used. At this time, for example, the maximum value of the memory access time of the display circuit 340 can be obtained as follows.

【0010】表示回路340のメモリアクセス時間の最
大値=(判定結果211を使ったバス調停を行うときに
表示回路340がリクエスト341を出力するのが間に
合わずにメモリアクセスできない時間)+(判定結果2
21を使ったバス調停の処理時間)+(判定結果221
を使ったバス調停によって表示回路340よりも優先度
の高い回路がメモリアクセスする時のメモリアクセス時
間の最大値)+(2回目の判定結果211を使ったバス
調停処理時間)+(2回目の判定結果211を使ったバ
ス調停により表示回路340が行うメモリアクセス時
間) すなわち、この場合の表示回路340の最悪ケースのメ
モリアクセス時間は、判定結果211を使ったバス調停
(=表示回路340の優先度が最も高いバス調停)を行
うときに表示回路340がメモリアクセス要求を出力す
るのが間に合わずにバス権を取ることができず、続く判
定結果221を使ったバス調停(=ビデオ入力回路33
0の優先度が最も高いバス調停)を行うときにも表示回
路340よりも優先度の高い回路からのメモリアクセス
要求が出力されているために表示回路340がバス権を
取ることができず、結局2回目の判定結果211を使っ
たバス調停でようやくバス権を取得できメモリアクセス
を実行できる場合である。ビデオ入力回路330につい
ても同様にしてメモリアクセス時間の最大値を求めるこ
とができる。
The maximum value of the memory access time of the display circuit 340 = (the time during which the display circuit 340 cannot output the request 341 in time for performing the bus arbitration using the determination result 211 and the memory cannot be accessed) + (the determination result 2
Processing time of bus arbitration using 21) + (judgment result 221)
(The maximum value of the memory access time when a circuit having a higher priority than the display circuit 340 accesses the memory by the bus arbitration using), (the bus arbitration processing time using the second determination result 211) + (the second time) That is, the worst case memory access time of the display circuit 340 in this case is determined by the bus arbitration using the determination result 211 (= the priority of the display circuit 340). When performing the bus arbitration with the highest degree, the display circuit 340 cannot obtain the bus right because it cannot output the memory access request in time, and the bus arbitration using the subsequent determination result 221 (= the video input circuit 33)
When performing a bus arbitration having the highest priority of 0), the display circuit 340 cannot take the bus right because a memory access request is output from a circuit having a higher priority than the display circuit 340. Eventually, this is the case where the bus right can be finally acquired and the memory access can be executed by the bus arbitration using the second determination result 211. The maximum value of the memory access time can be similarly obtained for the video input circuit 330.

【0011】上記のように、表示回路340が最も優先
度が高い優先度判定回路A210と、ビデオ入力回路3
30が最も優先度が高い優先度判定回路B220とをバ
ス調停を行う毎に切り替えて使用してバス調停を行うこ
とによって、表示回路340やビデオ入力回路330の
ようにある規定時間内に必ずメモリアクセスを行う必要
のある回路を複数内蔵している場合でも、それぞれの回
路について最悪時のメモリアクセス時間を保証できるた
め、各回路を正しく動作させることができる。図2に図
1における優先度判定回路A210,優先度判定回路B
220の優先度の設定例を示す。
As described above, the display circuit 340 has the highest priority determination circuit A210 and the video input circuit 3
The bus arbitration is performed by switching and using the priority determination circuit B 220 having the highest priority every time the bus arbitration is performed, so that the memory is always stored within a specified time, such as the display circuit 340 or the video input circuit 330. Even when a plurality of circuits that need to be accessed are built in, the worst case memory access time can be guaranteed for each circuit, so that each circuit can operate properly. FIG. 2 shows the priority determination circuits A210 and B in FIG.
An example of setting the priority of 220 is shown.

【0012】図3に図1におけるバス制御シーケンサ2
40の状態遷移図を示す。図3において、表示回路優先
バス調停とは判定結果211を使うバス調停であり、ビ
デオ入力回路優先バス調停とは判定結果221を使うバ
ス調停である。
FIG. 3 shows the bus control sequencer 2 in FIG.
FIG. 40 shows a state transition diagram 40. In FIG. 3, the display circuit priority bus arbitration is a bus arbitration using the determination result 211, and the video input circuit priority bus arbitration is a bus arbitration using the determination result 221.

【0013】図3において、表示回路優先バス調停を行
う場合、バス制御シーケンサ240は判定結果211を
使って状態遷移する。この場合例えば、リクエスト34
1が立っていれば表示回路340にメモリアクセスを実
行させ、表示回路340のメモリアクセス終了後、ビデ
オ入力回路優先バス調停に状態遷移する。また、リクエ
スト311〜341がいずれも立っていなければ、どの
回路にもバス権を渡さず、直ちに次のビデオ入力回路優
先バス調停に状態遷移する。ビデオ入力回路優先バス調
停を行う場合は、バス制御シーケンサ240は判定結果
221を使って状態遷移する。この場合例えば、リクエ
スト331が立っていればビデオ入力回路330にメモ
リアクセスを実行させ、ビデオ入力回路330のメモリ
アクセス終了後、表示回路優先バス調停に状態遷移す
る。また、リクエスト311〜341がいずれも立ってい
なければ、どの回路にもバス権を渡さず、直ちに次の表
示回路優先バス調停に状態遷移する。
In FIG. 3, when the display circuit priority bus arbitration is performed, the bus control sequencer 240 makes a state transition using the judgment result 211. In this case, for example, request 34
If 1 is set, the display circuit 340 is made to execute memory access, and after the memory access of the display circuit 340 is completed, the state transition is made to the video input circuit priority bus arbitration. If none of the requests 311 to 341 are set, the bus right is not given to any circuit, and the state immediately transitions to the next video input circuit priority bus arbitration. When performing video input circuit priority bus arbitration, the bus control sequencer 240 makes a state transition using the determination result 221. In this case, for example, if the request 331 is set, the video input circuit 330 is made to execute memory access, and after the memory access of the video input circuit 330 is completed, the state transition is made to the display circuit priority bus arbitration. If none of the requests 311 to 341 is set, the bus right is not passed to any circuit, and the state immediately transits to the next display circuit priority bus arbitration.

【0014】図4に図1における表示回路340のメモ
リアクセスのタイムチャートを示す。
FIG. 4 shows a time chart of memory access of the display circuit 340 in FIG.

【0015】図4において、バス調停実行のサイクル数
は1サイクル、CPU I/F回路310,描画回路3
20,ビデオ入力回路330,表示回路340がメモリ
アクセスを行うサイクル数をそれぞれTc,Tr,T
v,Tdとしている。この場合の表示回路340のメモ
リアクセスサイクル数は以下のようになる。
In FIG. 4, the number of cycles for executing the bus arbitration is one, and the CPU I / F circuit 310 and the drawing circuit 3
20, the video input circuit 330, and the display circuit 340 perform the memory access cycles Tc, Tr, and T, respectively.
v and Td. The number of memory access cycles of the display circuit 340 in this case is as follows.

【0016】 表示回路340のメモリアクセスサイクル数 =(表示回路優先バス調停を行うときに表示回路340がリクエスト341 を出力するのが間に合わずにCPU I/F回路310がメモリアクセス を行うことで表示回路340がメモリアクセスできないサイクル数) +(ビデオ入力回路優先調停を行うサイクル数) +(ビデオ入力回路330のメモリアクセスサイクル数) +(2回目の表示回路優先バス調停を行うサイクル数) +(表示回路340のメモリアクセスサイクル数) =Tc+1+Tv+1+Td =Tc+Tv+Td+2 同様に考えると表示回路340のメモリアクセスサイク
ル数の最悪値は、表示回路優先調停を行うときに表示回
路340からのメモリアクセス要求が間に合わないため
に待たされるサイクル数と、ビデオ入力回路優先調停で
表示回路340より優先度の高い回路がメモリアクセス
要求を出力しているために待たされるサイクル数と、バ
ス調停実行のためのサイクル数の合計になるので、 表示回路340のメモリアクセスサイクル数の最悪値 =(表示回路優先バス調停を行うときに表示回路340がリクエスト341 を出力するのが間に合わずに他の回路がメモリアクセスする場合の最長の メモリアクセスサイクル数) +(ビデオ入力回路優先調停を行うサイクル数) +(ビデオ入力回路優先調停によって表示回路340よりも優先度の高い 回路がメモリアクセスする場合の最長のメモリアクセスサイクル数) +(2回目の表示回路優先バス調停を行うサイクル数) +(表示回路340のメモリアクセスサイクル数) =max(Tc,Tr,Tv)+1 +max(Tv,Tc,Tr)+1+Td =max(Tc,Tr,Tv)+max(Tv,Tc,Tr)+Td+2 となる。ここで、max(T1,T2,…)はT1,T2,
…の中から最大値を返す関数である。ビデオ入力回路3
30についても同様にメモリアクセスサイクル数の最悪
値を求めることができる。
The number of memory access cycles of the display circuit 340 = (When the display circuit 340 outputs the request 341 when the display circuit priority bus arbitration is performed, the display is performed by the CPU I / F circuit 310 performing the memory access. (Number of cycles in which circuit 340 cannot access memory) + (Number of cycles for performing video input circuit priority arbitration) + (Number of cycles for memory access of video input circuit 330) + (Number of cycles for performing second display circuit priority bus arbitration) + ( The number of memory access cycles of the display circuit 340) = Tc + 1 + Tv + 1 + Td = Tc + Tv + Td + 2 Considering the same, the worst value of the number of memory access cycles of the display circuit 340 is that the memory access request from the display circuit 340 cannot be made when the display circuit priority arbitration is performed. Cycles waited for Since the video input circuit priority arbitration is the sum of the number of cycles to wait for a circuit having higher priority than the display circuit 340 to output the memory access request and the number of cycles for executing bus arbitration, the display circuit 340 Worst value of the number of memory access cycles of: = (the longest number of memory access cycles when another circuit accesses the memory because the display circuit 340 cannot output the request 341 when the display circuit priority bus arbitration is performed) + (Number of cycles for performing video input circuit priority arbitration) + (Longest memory access cycle number when a circuit with higher priority than display circuit 340 accesses memory due to video input circuit priority arbitration) + (Second display circuit priority) Number of cycles for performing bus arbitration) + (Number of memory access cycles of display circuit 340) = max (Tc Tr, Tv) +1 + max (Tv, Tc, Tr) + 1 + Td = max (Tc, Tr, Tv) + max (Tv, Tc, Tr) + the Td + 2. Here, max (T1, T2,...) Is T1, T2,
It is a function that returns the maximum value from ... Video input circuit 3
Similarly, the worst value of the number of memory access cycles for 30 can be obtained.

【0017】図5に本発明の第2の実施例の全体構成図
を示す。図5において、11700,11800はメモ
リである。
FIG. 5 shows an overall configuration diagram of a second embodiment of the present invention. In FIG. 5, 11700 and 11800 are memories.

【0018】図5において、メモリ11800は主記憶
11810を保持するメモリで、メモリ11700は描
画用データ11720,ビデオ入力データ11730,
フレームバッファ11740を保持するメモリである。
このような構成においても、バス制御回路200がバス
調停タイミングごとに優先度の異なる複数の優先度判定
回路を順次切り替えながらバス調停を行うことによっ
て、表示回路340やビデオ入力回路330のようにあ
る規定時間内に必ずメモリアクセスを行う必要のある回
路を複数内蔵している場合でも、それぞれの回路につい
て最悪時のメモリアクセス時間を保証できるため、各回
路を正しく動作させることができる。
In FIG. 5, a memory 11800 is a memory for holding a main memory 11810, and a memory 11700 is for drawing data 11720, video input data 11730,
This is a memory that holds the frame buffer 11740.
Even in such a configuration, the bus control circuit 200 performs bus arbitration while sequentially switching a plurality of priority determination circuits having different priorities at each bus arbitration timing, thereby providing a display circuit 340 and a video input circuit 330. Even in the case where a plurality of circuits that need to perform memory access within the specified time are built in, the worst case memory access time can be guaranteed for each circuit, so that each circuit can be operated properly.

【0019】図6に本発明の第3の実施例の全体構成図
を示す。このような構成においても、バス制御回路20
0がバス調停タイミングごとに優先度の異なる複数の優
先度判定回路を順次切り替えながらバス調停を行うこと
によって、表示回路340やビデオ入力回路330のよ
うにある規定時間内に必ずメモリアクセスを行う必要の
ある回路を複数内蔵している場合でも、それぞれの回路
について最悪時のメモリアクセス時間を保証できるた
め、各回路を正しく動作させることができる。
FIG. 6 shows an overall configuration diagram of a third embodiment of the present invention. Even in such a configuration, the bus control circuit 20
0 performs bus arbitration while sequentially switching a plurality of priority determination circuits having different priorities at each bus arbitration timing, so that memory access must be performed within a certain specified time as in the display circuit 340 and the video input circuit 330. Even when a plurality of circuits having the above-mentioned characteristics are incorporated, the worst case memory access time can be guaranteed for each circuit, so that each circuit can be operated correctly.

【0020】図7に本発明を使用した際の表示画面例を
示す。図7において、7010はTV画面、7020は
地図画面である。車載のカーナビゲーションシステム
で、地図の表示をTVの表示と同時に行った場合には、
図7のように地図画面7020の上にTV画面7010を重
ねて表示することがある。この場合、ビデオ入力処理と
表示処理を同時に行う必要があり、ビデオ入力処理によ
るメモリアクセスと表示処理によるメモリアクセスが競
合することになるが、本発明を用いればそれぞれのメモ
リアクセスを正しく行わせることができるため、TV画
面7010の取り込み画像の乱れや、画面表示の乱れな
どを防ぐことができる。
FIG. 7 shows an example of a display screen when the present invention is used. 7, reference numeral 7010 denotes a TV screen, and 7020 denotes a map screen. When the map is displayed at the same time as the TV on the car navigation system mounted on the car,
As shown in FIG. 7, a TV screen 7010 may be displayed on a map screen 7020 so as to be superimposed. In this case, the video input processing and the display processing need to be performed at the same time, and the memory access by the video input processing and the memory access by the display processing conflict. However, by using the present invention, it is necessary to correctly perform each memory access. Therefore, it is possible to prevent the image captured on the TV screen 7010 from being disturbed and the screen display from being disturbed.

【0021】[0021]

【発明の効果】以上本発明によれば、ビデオ入力回路3
30,表示回路340を備えたグラフィックスプロセッ
サ100のように、規定時間内に必ずメモリアクセスを
行わなければならない回路が複数ある場合でも、それぞ
れの回路について最悪時のメモリアクセス時間を保証で
きるため、各回路を正しく動作させることができる。
According to the present invention, the video input circuit 3
30, the worst case memory access time can be guaranteed for each circuit even when there are a plurality of circuits that must always perform memory access within a specified time, such as the graphics processor 100 including the display circuit 340. Each circuit can operate correctly.

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

【図1】本発明の第1の実施例の全体構成図である。FIG. 1 is an overall configuration diagram of a first embodiment of the present invention.

【図2】図1における優先度判定回路A210,優先度
判定回路B220の優先度の設定例である。
FIG. 2 is a setting example of priorities of a priority determination circuit A210 and a priority determination circuit B220 in FIG.

【図3】図1におけるバス制御シーケンサ240の状態
遷移図である。
FIG. 3 is a state transition diagram of a bus control sequencer 240 in FIG.

【図4】図1における表示回路340のメモリアクセス
のタイムチャートである。
FIG. 4 is a time chart of memory access of a display circuit 340 in FIG. 1;

【図5】本発明の第2の実施例の全体構成図である。FIG. 5 is an overall configuration diagram of a second embodiment of the present invention.

【図6】本発明の第3の実施例の全体構成図である。FIG. 6 is an overall configuration diagram of a third embodiment of the present invention.

【図7】本発明を使用した際の表示画面例である。FIG. 7 is an example of a display screen when the present invention is used.

【符号の説明】[Explanation of symbols]

100,12100…グラフィックスプロセッサ、11
0…内部バス、200…バス制御回路、210…優先度
判定回路A、220…優先度判定回路B、240…バス制
御シーケンサ、310…CPU I/F回路、320…
描画回路、330…ビデオ入力回路、340…表示回路、
500,12500…CPU、510,12510…I
/Oコントローラ、520…CDROM、530…キー
ボード、540…マウス、550,12550…CPU
バス、600…NTSCデコーダ、610…アンテナ、
620…DAC、630…CRT、700,1170
0,11800,12700…メモリ、710,118
10,12710…主記憶、720,11720,12
720…描画用データ、730,11730,1273
0…ビデオ入力データ、740,11740,1274
0…フレームバッファ、7010…TV画面、7020
…地図画面。
100, 12100 ... graphics processor, 11
0: Internal bus, 200: Bus control circuit, 210: Priority judgment circuit A, 220: Priority judgment circuit B, 240 ... Bus control sequencer, 310: CPU I / F circuit, 320 ...
Drawing circuit, 330: video input circuit, 340: display circuit,
500,12,500 ... CPU, 510,12510 ... I
/ O controller, 520 CDROM, 530 keyboard, 540 mouse, 550, 12550 CPU
Bus, 600 NTSC decoder, 610 antenna
620: DAC, 630: CRT, 700, 1170
0, 11800, 12700... Memory, 710, 118
10, 12710 ... main memory, 720, 11720, 12
720: drawing data, 730, 11730, 1273
0: Video input data, 740, 11740, 1274
0: frame buffer, 7010: TV screen, 7020
… Map screen.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 松尾 茂 茨城県日立市大みか町七丁目1番1号 株 式会社日立製作所日立研究所内 (72)発明者 中塚 康弘 茨城県日立市大みか町七丁目1番1号 株 式会社日立製作所日立研究所内 (72)発明者 山岸 一繁 東京都小平市上水本町五丁目20番1号 株 式会社日立製作所半導体事業部内 Fターム(参考) 5C082 AA02 AA22 AA24 AA37 AA39 BA02 BA12 BA27 BB03 BB13 BB15 CA55 DA53 DA86 DA87 DA89 EA12 MM02 MM10  ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Shigeru Matsuo 7-1-1, Omikacho, Hitachi City, Ibaraki Prefecture Within Hitachi Research Laboratory, Hitachi, Ltd. (72) Inventor Yasuhiro Nakatsuka 7-1 Omikacho, Hitachi City, Ibaraki Prefecture No. 1 Hitachi, Ltd. Hitachi Research Laboratory (72) Inventor Kazushige Yamagishi 5-20-1, Kamimizuhonmachi, Kodaira-shi, Tokyo F-term in the Semiconductor Division, Hitachi, Ltd. F-term (reference) 5C082 AA02 AA22 AA24 AA37 AA39 BA02 BA12 BA27 BB03 BB13 BB15 CA55 DA53 DA86 DA87 DA89 EA12 MM02 MM10

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】演算処理を実行するCPUと、 画素ごとの表示データを制御する表示制御回路と、 上記表示制御回路に加えて少なくとも1つ以上のある規
定時間内に必ず処理を終了する必要のある処理回路と、 少なくとも前記CPUによって作成された演算結果と前
記表示データとを記憶するメモリと、 前記メモリの調停を行うバス制御回路とを有し、 前記バス調停回路はバス調停の優先度が異なる複数の優
先度判定回路を有し、前記バス調停回路はバス調停を行
う際に前記複数の優先度判定回路から一つの優先度判定
回路を使用してバス調停を行い、また前記バス調停回路
はバス調停を行う毎に使用する前記優先度判定回路を切
り替えてバス調停を行うこと、を特徴とする図形処理装
置。
1. A CPU for executing an arithmetic processing, a display control circuit for controlling display data for each pixel, and at least one or more of the display control circuits, the processing must be completed within a certain specified time. A processing circuit; a memory for storing at least the operation result created by the CPU and the display data; and a bus control circuit for arbitrating the memory, wherein the bus arbitration circuit has a priority of bus arbitration. A plurality of different priority determination circuits, wherein the bus arbitration circuit performs bus arbitration using one priority determination circuit from the plurality of priority determination circuits when performing bus arbitration, and the bus arbitration circuit Wherein the bus arbitration is performed by switching the priority determination circuit to be used each time bus arbitration is performed.
【請求項2】請求項1において、 前記バス調停回路は、バス調停の際に使用する前記優先
度判定回路を順次切り換えながらバス調停を行うこと、
を特徴とする図形処理装置。
2. The bus arbitration circuit according to claim 1, wherein the bus arbitration circuit performs bus arbitration while sequentially switching the priority determination circuit used in bus arbitration.
A graphic processing device characterized by the following.
【請求項3】請求項1において、 前記規定時間内に必ず処理を終了する必要のある処理回
路として、ビデオデータを取り込んで前記メモリに出力
するビデオ入力制御回路を有すること、を特徴とする図
形処理装置。
3. A graphic according to claim 1, further comprising a video input control circuit for fetching video data and outputting the video data to said memory, as a processing circuit which must end the processing within said prescribed time. Processing equipment.
【請求項4】少なくともCPUが実行するためのプログ
ラムと、表示するための表示データとを記憶するメモリ
と、 上記メモリから読み出したプログラムを実行するCPU
と、 上記メモリから表示データを読み出す表示制御回路と、 外部から読み込んだ表示するためのデータを上記メモリ
に書き込む処理回路と、 上記メモリ,上記CPU,上記表示制御回路,上記処理
回路が接続された複数の信号線からなるバスと、 上記CPU,上記表示制御回路,上記処理回路のうち優
先度が高いものが上記バスを占有でき、かつ上記表示制
御,上記処理回路のいずれもが所定時間内に上記バスを
占有できるよう調停を行うバス制御回路とを有する図形
処理装置。
4. A memory for storing at least a program to be executed by the CPU and display data to be displayed, and a CPU for executing the program read from the memory.
A display control circuit for reading display data from the memory; a processing circuit for writing display data read from the outside into the memory; and the memory, the CPU, the display control circuit, and the processing circuit. A bus composed of a plurality of signal lines, a higher priority one of the CPU, the display control circuit, and the processing circuit can occupy the bus, and both of the display control and the processing circuit can operate within a predetermined time. And a bus control circuit that performs arbitration so as to occupy the bus.
JP10352269A 1998-12-11 1998-12-11 Graphic processor Pending JP2000181432A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10352269A JP2000181432A (en) 1998-12-11 1998-12-11 Graphic processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10352269A JP2000181432A (en) 1998-12-11 1998-12-11 Graphic processor

Publications (1)

Publication Number Publication Date
JP2000181432A true JP2000181432A (en) 2000-06-30

Family

ID=18422911

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10352269A Pending JP2000181432A (en) 1998-12-11 1998-12-11 Graphic processor

Country Status (1)

Country Link
JP (1) JP2000181432A (en)

Similar Documents

Publication Publication Date Title
JP3573614B2 (en) Image processing apparatus and image processing system
US6286070B1 (en) Shared memory access device and method
JPH11296154A (en) Device and method for graphic processing
US6229543B1 (en) Microprocessor, and graphics processing apparatus and method using the same
US6272583B1 (en) Microprocessor having built-in DRAM and internal data transfer paths wider and faster than independent external transfer paths
US7185133B2 (en) Data processor
US6563505B1 (en) Method and apparatus for executing commands in a graphics controller chip
JP4053545B2 (en) Graphics processor and graphics processing apparatus
JP2000181432A (en) Graphic processor
US5327565A (en) Data processing apparatus
US6727903B1 (en) Microprocessor, and graphics processing apparatus and method using the same
JP3610029B2 (en) Data processing system
JP2000172553A (en) Data processor
JP3810175B2 (en) Graphics processor and graphics processing apparatus
JPH1139278A (en) Processor and memory access method
JP3610031B2 (en) Data processing system
JP2704011B2 (en) Drawing processor
JP3610030B2 (en) Data processing system
JPH10134013A (en) Multi-cpu system
JPH10283303A (en) Picture processor and method therefor
JPH06332867A (en) Bus interface inside buffer control system
JPH11115258A (en) Apparatus and method for controlling output
JPH05257860A (en) Information processor
JP2007058424A (en) Memory access controller
JPH06314249A (en) Data transfer equipment

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040126

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20040309

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040615