JPH11144064A - Processor and method for information processing - Google Patents

Processor and method for information processing

Info

Publication number
JPH11144064A
JPH11144064A JP25895898A JP25895898A JPH11144064A JP H11144064 A JPH11144064 A JP H11144064A JP 25895898 A JP25895898 A JP 25895898A JP 25895898 A JP25895898 A JP 25895898A JP H11144064 A JPH11144064 A JP H11144064A
Authority
JP
Japan
Prior art keywords
information
unit
processing
memory
pipeline
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP25895898A
Other languages
Japanese (ja)
Other versions
JP3097956B2 (en
Inventor
Hideki Yoshizawa
英樹 吉沢
Tatsushi Ootsuka
竜志 大塚
Shigeru Sasaki
繁 佐々木
Ritsuko Tatematsu
律子 立松
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Publication of JPH11144064A publication Critical patent/JPH11144064A/en
Application granted granted Critical
Publication of JP3097956B2 publication Critical patent/JP3097956B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To change the function of a processing unit without stopping the operation of a drawing pipeline by providing a selector means which receives control lines for processing contents together with information obtained from a host device and supplies it to the drawing pipeline. SOLUTION: The information processing system 11 converts three-dimensional data into data which can be displayed on a display part 17 such as a display and outputs them. A host computer 12 decomposes the three-dimensional data into graphic elements and performs geometric transformation and then supplies result as data in packet form to the information processor 13. The information processor 13 performs a previously set process for the three-dimensional data supplied from the host computer 12 and generates and expands image data to be drawn on a frame memory 14. A microprogram execution part 19 analyzes the date in packet form supplied from the host computer 12.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は情報処理装置及び情
報処理方法に係り、特に三次元グラフィックスの情報処
理を行なう情報処理装置及び情報処理方法に関する。近
年、マルチメディア用情報処理装置を実現するための半
導体集積回路の開発が活発に行なわれている。マルチメ
ディア分野では、動画、音声、CGデータなど多種多様
のデータを1つの装置上で実現することが求められる。
しかも、半導体集積回路の進歩に伴い、今まで複数の半
導体集積回路を用いて実現していたものも、現在では1
素子内に等価な機能を実現することが可能になってき
た。しかし、多種多様のデータを扱い、且つ、限られた
規模の半導体集積回路内に全ての機能を作り込むことは
極めて難しい。
The present invention relates to an information processing apparatus and an information processing method, and more particularly to an information processing apparatus and an information processing method for performing information processing of three-dimensional graphics. In recent years, semiconductor integrated circuits for realizing multimedia information processing apparatuses have been actively developed. In the multimedia field, it is required to realize various types of data such as moving images, audio, and CG data on one device.
In addition, with the progress of semiconductor integrated circuits, those that have been realized by using a plurality of semiconductor integrated circuits have now become one.
It has become possible to realize equivalent functions in the device. However, it is extremely difficult to handle various types of data and to build all functions in a semiconductor integrated circuit of a limited scale.

【0002】したがって、ストアードプログラム方式に
よる制御方式(一般的に用いられているマイクロプログ
ラムによって必要な論理機能を実現する方式)によっ
て、半導体集積回路に具備された基本的な論理演算機能
をプログラムを記述して様々に組み合わせて所望の機能
を実現している。上記の方式では、全体として同一の論
理機能を実現できても、組合わせるべき命令の数が増減
するため、実際には決められた時間内に処理を完了でき
ない場合もあり、処理の均一化の面から実際にはあらゆ
る分野の処理機能(アルゴリズム)を1組の論理機能
(命令セット)だけで実現する訳にはいかない。
Therefore, a basic logical operation function provided in a semiconductor integrated circuit is described in a program by a control method based on a stored program method (a method for realizing a necessary logical function by a generally used microprogram). Thus, the desired functions are realized in various combinations. In the above method, even if the same logical function can be realized as a whole, the number of instructions to be combined increases or decreases, so that processing may not actually be completed within a predetermined time. In terms of aspects, processing functions (algorithms) in all fields cannot be realized by only one set of logical functions (instruction sets).

【0003】そこで、利用目的や主に使用される使用頻
度の高い論理機能を、予め1つの命令として定義してし
まい、それをハードウェアで高速に実行できるように最
適化を施すことが行なわれている。一方、三次元グラフ
ィックスの情報処理を高速に行なう場合には、比較的単
調な処理と、処理を簡単に行なうために行なわれる比較
的複雑な捕捉的な処理とを組み合わせて実行することが
有効であり、これにはストアードプログラム方式による
処理とハードウェアによる処理とを組み合わせた処理装
置が必要となる。
[0003] Therefore, the purpose of use and the frequently used logic function that is mainly used are defined in advance as one instruction, and optimization is performed so that the instruction can be executed at high speed by hardware. ing. On the other hand, when high-speed information processing of three-dimensional graphics is performed, it is effective to execute a combination of relatively monotonous processing and relatively complicated capturing processing performed to simplify the processing. This requires a processing device that combines processing by the stored program method and processing by hardware.

【0004】[0004]

【従来の技術】図55に従来の情報処理装置の一例のブ
ロック構成図を示す。ホストコンピュータ41は、グラ
フィック処理部42及びフレームメモリ43を介して表
示装置44と接続されている。ホストコンピュータ41
内で形成された三次元画像データは、グラフィック処理
部42により二次元に展開処理され、フレームメモリ4
3に記憶され、表示装置44に表示される。
2. Description of the Related Art FIG. 55 is a block diagram showing an example of a conventional information processing apparatus. The host computer 41 is connected to a display device 44 via a graphic processing unit 42 and a frame memory 43. Host computer 41
The three-dimensional image data formed in the frame memory is expanded two-dimensionally by the graphic processing unit 42, and the frame memory 4
3 and displayed on the display device 44.

【0005】グラフィック処理部42は、ホストコンピ
ュータ41からのポリゴンの各頂点のデータに基づいて
データを補間するDDA(線形補間処理)部42a、ポ
リゴンにパターンのはり付け処理を行なうテクスチャ処
理部42b、データの関数等に基づいてデータの描画、
非描画の判定を行なう描画条件判定部42c及びピクセ
ルの前後の色をまぜ合わせるブレンダ処理を行なうブレ
ンダ部42dより構成されており、各部の処理はパイプ
ライン処理により行われる。
The graphic processing section 42 includes a DDA (linear interpolation processing) section 42a for interpolating data based on the data of each vertex of the polygon from the host computer 41, a texture processing section 42b for performing a pattern attaching process on the polygon, Drawing data based on data functions, etc.
The image forming apparatus includes a drawing condition determining unit 42c for determining non-drawing and a blender unit 42d for performing a blender process for mixing colors before and after a pixel. The processing of each unit is performed by pipeline processing.

【0006】グラフィック処理部42で処理されたデー
タは、フレームメモリ43上に展開される。表示装置4
4は、フレームメモリ43上に展開されたデータに応じ
た画像を表示する。グラフィック処理部42は、パイプ
ライン処理により専用の処理しか実行できない構成とさ
れており、グラフィック処理部42で処理を行なうため
のデータの補正、例えば、描画しようとするポリゴンの
座標を表示画素の座標にマッチングする等の捕捉的な処
理は、ホストコンピュータ41内で予め処理していた。
The data processed by the graphic processing section 42 is developed on a frame memory 43. Display device 4
4 displays an image corresponding to the data developed on the frame memory 43. The graphic processing unit 42 is configured to execute only dedicated processing by pipeline processing, and corrects data for processing by the graphic processing unit 42, for example, by changing coordinates of a polygon to be drawn to coordinates of display pixels. Capturing processing such as matching with the host computer has been performed in the host computer 41 in advance.

【0007】[0007]

【発明が解決しようとする課題】従来の情報処理装置で
は、ポリゴン図形の頂点間の端点の算出は補正等の複雑
な処理が必要であるため、処理の自由度の大きいホスト
コンピュータ側で実行していた。このため、ホストコン
ピュータ側での処理の負担が大きくなってしまうと共
に、データをホストコンピュータ側から読み出さなけれ
ばならないため、視点位置等の切換えを高速に行なえ
ず、三次元画像の処理を効率的に行なえない等の問題点
があった。
In the conventional information processing apparatus, the calculation of the end points between the vertices of the polygonal figure requires complicated processing such as correction, and is therefore performed on the host computer having a high degree of freedom in processing. I was As a result, the processing load on the host computer increases, and data must be read from the host computer. Therefore, switching of the viewpoint position and the like cannot be performed at high speed, and the processing of the three-dimensional image can be efficiently performed. There were problems such as inability to do so.

【0008】本発明は上記の点に鑑みてなされたもの
で、情報の処理を効率的に行なえる情報処理装置及び情
報処理方法を提供することを目的とする。
[0008] The present invention has been made in view of the above points, and an object of the present invention is to provide an information processing apparatus and an information processing method capable of efficiently processing information.

【0009】[0009]

【課題を解決するための手段】図1は本発明の原理説明
図である。同図中、第1の情報処理手段1は、入力情報
に対して予め設定された専用の処理を実行する。第2の
情報処理手段2は、第1の情報処理手段とは並列に処理
が実行でき、前記入力情報に対して制御情報に応じて処
理を実行する。
FIG. 1 is a diagram illustrating the principle of the present invention. In FIG. 1, a first information processing means 1 executes a dedicated process set in advance on input information. The second information processing means 2 can execute processing in parallel with the first information processing means, and executes processing on the input information according to control information.

【0010】上記の課題は、請求項1記載の、表示する
べき画像情報の生成に間接的に関与する第1の情報を格
納するメモリ手段に接続される情報処理装置であって、
該第1の情報及び表示するべき画像情報の生成に直接関
与する第2の情報に対してパイプライン処理を施し、該
メモリ手段に生成画像情報を供給する描画パイプライン
と、該描画パイプラインは、nを自然数とすると、該第
2の情報の演算を行う演算手段及び該第1の情報の解釈
を行う解釈手段を有する処理ユニットと、該処理ユニッ
トの出力を格納するレジスタとが交互にn段設けられて
おり、該n段の各処理ユニットに対応する処理内容の制
御線を上位装置から得られる該第2の情報と共に一括し
て受け付けて該描画パイプラインに供給するセレクタ手
段とを備えた情報処理装置によっても達成できる。
An object of the present invention is an information processing apparatus connected to a memory means for storing first information indirectly involved in generation of image information to be displayed.
A drawing pipeline for performing pipeline processing on the first information and second information directly related to generation of image information to be displayed, and supplying generated image information to the memory unit; , N is a natural number, a processing unit having an operation means for calculating the second information and an interpretation means for interpreting the first information, and a register for storing the output of the processing unit are alternately set to n. And selector means for collectively receiving a control line of processing contents corresponding to each of the n-stage processing units together with the second information obtained from a higher-level device and supplying the control line to the drawing pipeline. It can also be achieved by an information processing device.

【0011】請求項2記載の発明では、請求項1記載の
発明において、該第1及び第2の情報の両方を扱うため
の情報と、該第1及び第2の情報のうちどちらの情報で
あるかを示すタグとからなる情報を該描画パイプライン
に供給する手段を更に備え、該描画パイプラインの各処
理ユニットは該タグを検出して供給された情報を該演算
手段で処理するか該解釈手段で処理するかを決定する。
According to a second aspect of the present invention, in the first aspect of the invention, information for handling both the first and second information and one of the first and second information are used. Means for supplying information comprising a tag indicating whether there is a tag to the drawing pipeline, wherein each processing unit of the drawing pipeline detects the tag and processes the supplied information by the arithmetic means. Decide whether to process with the interpretation means.

【0012】請求項3記載の発明では、請求項1又は2
記載の発明において、該描画パイプラインの前段に設け
られ、上位装置からの多角形情報を点に分解する際に多
角形の最後の点には終点を意味する終点タグを付加して
該第2の情報を出力する出力手段と、該描画パイプライ
ン内で該メモリ手段からの該第1の情報を必要とする処
理ユニットの直前の段に設けられているロックユニット
とを更に備え、該ロックユニットは入力されてくる該第
2の情報に付加されている終点タグがオンの場合にこの
第2の情報を多角形の終点情報とみなし、この第2の情
報を含めて該描画パイプライン上に残っている情報が全
て該描画パイプラインから出力されるまで以降の情報を
止めておく処理を行う。
According to the third aspect of the present invention, the first or second aspect is provided.
In the invention described above, an end point tag indicating an end point is added to the last point of the polygon when the polygon information from a higher-level device is decomposed into points, the end point tag being added to the second stage. And a lock unit provided in a stage immediately before the processing unit that needs the first information from the memory unit in the drawing pipeline. When the end point tag added to the input second information is on, the second information is regarded as the end point information of the polygon, and the second information is included in the drawing pipeline including the second information. Processing is performed to stop the subsequent information until all the remaining information is output from the drawing pipeline.

【0013】請求項4記載の発明では、請求項3記載の
発明において、該出力手段は待ち合わせ処理が必要な場
合にのみ終点タグを出力する手段を有する。請求項5記
載の発明では、請求項3又は4記載の発明において、該
ロックユニットは、該描画パイプライン上に残っている
情報が全て該描画パイプラインから出力されるまで以降
の情報を止めるロック機構と、待ち合わせ処理が有る場
合にのみ終点タグにより該ロック機構を起動する手段と
を有する。
According to a fourth aspect of the present invention, in the third aspect of the present invention, the output means has means for outputting an end point tag only when a waiting process is required. According to a fifth aspect of the present invention, in the third or fourth aspect, the lock unit stops the subsequent information until all the information remaining on the drawing pipeline is output from the drawing pipeline. A mechanism and means for activating the lock mechanism by the end point tag only when there is a waiting process.

【0014】請求項6記載の発明では、請求項1記載の
発明において、該描画パイプラインは、アドレス提示ユ
ニットとして使用され該メモリ手段に対してアドレスを
与えるだけに使用される第1の処理ユニットと、該メモ
リ手段から出力されるデータを受けデータ受付ユニット
として使用される第2の処理ユニットと、該第1及び第
2の処理ユニットの間のレイテンシに相当する遅れを吸
収する複数のパイプラインレジスタとを有する。
According to a sixth aspect of the present invention, in the first aspect of the present invention, the first processing unit is used as an address presenting unit and used only for giving an address to the memory means. A second processing unit for receiving data output from the memory means and used as a data receiving unit; and a plurality of pipelines for absorbing a delay corresponding to a latency between the first and second processing units. And a register.

【0015】請求項7記載の発明では、請求項6記載の
発明において、該メモリ手段と該描画パイプラインとの
間に設けられ、該メモリ手段が読み出し動作中は、読み
出し待ち行列の要求を優先的に処理させて読み出し動作
を連続して行わせると共に、該メモリ手段が書き込み動
作中は、書き込み待ち行列の要求を優先的に処理させて
書き込み動作を連続して行わせることで、書き込み動作
と読み出し動作との切り換えによるロス時間を抑さえる
調停手段を更に備えた。
According to a seventh aspect of the present invention, in the sixth aspect of the present invention, the request is provided between the memory means and the drawing pipeline, and when the memory means is performing a read operation, a request for a read queue is prioritized. While the memory means is performing the write operation, the request in the write queue is preferentially processed and the write operation is continuously performed so that the write operation is performed continuously. Arbitration means for suppressing a loss time due to switching to a read operation is further provided.

【0016】請求項8記載の発明では、請求項1〜7の
いずれか記載の発明において、該メモリ手段はシンクロ
ナスメモリからなる。上記の課題は、請求項9記載の、
表示するべき画像情報の生成に間接的に関与する第1の
情報を格納するメモリ手段に接続される情報処理装置で
あって、該第1の情報及び表示するべき画像情報の生成
に直接関与する第2の情報に対してパイプライン処理を
施し、該メモリ手段に生成画像情報を供給する描画パイ
プラインを備え、該描画パイプラインは、nを自然数と
すると、該第2の情報の演算を行う演算手段及び該第1
の情報の解釈を行う解釈手段を有する処理ユニットと、
該処理ユニットの出力を格納するレジスタとが交互にn
段設けられており、該メモリ手段はシンクロナスメモリ
からなり該調停回路に接続された第1のメモリと、表示
手段に接続される第2のメモリとからなり、第1のメモ
リに対しては該描画パイプラインから読み出し動作及び
書き込み動作の両方の動作が行われ、該第2のメモリに
対しては該描画パイプラインからの書き込み動作と該表
示手段からのアクセス要求処理の両方が行われ、該第1
のメモリは、本来の画像情報を記憶する第1の記憶領域
と、該本来の画像情報と1対1に設けられた制御情報を
記憶する第2の記憶領域とを有する情報処理装置によっ
ても達成される。
According to an eighth aspect of the present invention, in the first aspect of the present invention, the memory means comprises a synchronous memory. The above object is achieved by claim 9,
An information processing apparatus connected to a memory unit for storing first information indirectly involved in generation of image information to be displayed, wherein the information processing apparatus is directly involved in generation of the first information and image information to be displayed. A drawing pipeline for performing pipeline processing on the second information and supplying generated image information to the memory unit; the drawing pipeline performs an operation on the second information when n is a natural number; Arithmetic means and the first
A processing unit having interpretation means for interpreting the information of
The register for storing the output of the processing unit is alternately n
The memory means is composed of a synchronous memory and comprises a first memory connected to the arbitration circuit, and a second memory connected to the display means. Both the read operation and the write operation are performed from the drawing pipeline, and both the write operation from the drawing pipeline and the access request processing from the display unit are performed on the second memory, The first
Is achieved by an information processing apparatus having a first storage area for storing original image information and a second storage area for storing control information provided one-to-one with the original image information. Is done.

【0017】請求項10記載の発明では、請求項9記載
の発明において、該描画パイプラインは該調停手段に接
続されたアドレス提示ユニットとデータ受け付けユニッ
トとを有し、該アドレス提示ユニット及び該データ受け
付けユニットは夫々制御情報をキャッシングする手段を
含む。請求項11記載の発明では、請求項10記載の発
明において、該アドレス提示ユニットは、該第2の記憶
領域のどのアドレスをキャッシングしているかを示す情
報を保持する手段を含み、既に制御情報をキャッシング
している場合には本来の画像情報が格納されているアド
レスを該第1のメモリに提示すると共に、制御情報をキ
ャッシングしていないか、或いは、キャッシングしてい
る制御情報とは別のアドレスの制御情報が必要となった
場合には、制御情報が格納されているアドレスを該第1
のメモリに提示し、該データ受け付けユニットは、制御
情報が第1の値の場合には該第1のメモリから受け付け
たデータを該描画パイプラインの次段のユニットへ伝達
すると共に、制御情報が第2の値の場合には該描画パイ
プラインの次段のユニットへ所定値を伝達する。
According to a tenth aspect of the present invention, in the ninth aspect of the present invention, the drawing pipeline has an address presenting unit and a data accepting unit connected to the arbitrating means, and the address presenting unit and the data The receiving units each include means for caching control information. According to an eleventh aspect of the present invention, in the invention of the tenth aspect, the address presentation unit includes a unit for storing information indicating which address of the second storage area is being cached, and the control information has already been stored. When caching is performed, the address at which the original image information is stored is presented to the first memory, and the control information is not cached, or an address different from the cached control information is used. When the control information is required, the address at which the control information is stored is changed to the first address.
When the control information is the first value, the data receiving unit transmits the data received from the first memory to the next unit of the drawing pipeline, and the control information is In the case of the second value, a predetermined value is transmitted to the next unit of the drawing pipeline.

【0018】請求項12記載の発明では、請求項9記載
の発明において、該描画パイプラインは、その最終段に
組み込まれており制御情報のキャッシング機能を備えた
処理ユニットを有する。上記の課題は、請求項13記載
の、表示するべき画像情報の生成に間接的に関与する第
1の情報を格納するメモリ手段に接続される情報処理装
置における情報処理方法であって、該第1の情報及び表
示するべき画像情報の生成に直接関与する第2の情報に
対してパイプライン処理を施し、該メモリ手段に生成画
像情報を供給する第1のステップと、該第1のステップ
は、nを自然数とすると、該第2の情報の演算を行う演
算手段及び該第1の情報の解釈を行う解釈手段を有する
処理ユニットと、該処理ユニットの出力を格納するレジ
スタとが交互にn段設けられている描画パイプラインを
用い、該n段の各処理ユニットに対応する処理内容の制
御線を上位装置から得られる該第2の情報と共に一括し
て受け付けて該描画パイプラインに供給する第2のステ
ップとを含む情報処理方法によっても達成できる。
According to a twelfth aspect of the present invention, in the ninth aspect of the present invention, the drawing pipeline has a processing unit that is incorporated in a final stage thereof and has a control information caching function. An object of the present invention is an information processing method in an information processing apparatus connected to a memory means for storing first information indirectly involved in generation of image information to be displayed, according to claim 13, A first step of performing pipeline processing on the first information and second information directly involved in generation of image information to be displayed, and supplying the generated image information to the memory means; , N is a natural number, a processing unit having an operation means for calculating the second information and an interpretation means for interpreting the first information, and a register for storing the output of the processing unit are alternately n. Using a drawing pipeline provided in a stage, a control line of processing contents corresponding to each processing unit of the n stages is collectively received together with the second information obtained from a higher-level device and supplied to the drawing pipeline. It can be achieved by an information processing method including a second step.

【0019】請求項1及び2記載の発明によれば、描画
パイプラインの動作を止めることなく各処理ユニットの
機能を変更することができる。請求項3〜5記載の発明
によれば、重なりのある画像に関する情報であっても生
成画像情報に矛盾を生じることなく描画パイプラインを
動作させることが可能となる。
According to the first and second aspects of the present invention, the function of each processing unit can be changed without stopping the operation of the drawing pipeline. According to the third to fifth aspects of the present invention, it is possible to operate the drawing pipeline without causing inconsistency in the generated image information even for information related to overlapping images.

【0020】請求項6〜12記載の発明によれば、シク
ロナスメモリ等の高速メモリを使用して描画パイプライ
ンを高速に動作させることができる。請求項13記載の
発明によれば、描画パイプラインの動作を止めることな
く各処理ユニットの機能を変更することができる。
According to the present invention, the drawing pipeline can be operated at high speed by using a high-speed memory such as a cyclonic memory. According to the thirteenth aspect, the function of each processing unit can be changed without stopping the operation of the drawing pipeline.

【0021】[0021]

【発明の実施の形態】以下に、本発明の実施の形態を、
各種実施例を例にとって説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below.
Various embodiments will be described as examples.

【0022】[0022]

【実施例】図2は、本発明になる情報処理装置の第1実
施例のブロック構成図を示す。本実施例が適用される情
報処理システム11は、三次元画像データをディスプレ
イ等の表示部17に表示できるデータに変換して出力す
る。この情報処理システム11は、三次元画像データを
供給して上位システムとして動作するホストコンピュー
タ12、ホストコンピュータ12から供給されるデータ
を処理し、描画しようとする画像のデータに展開する情
報処理装置13、情報処理装置13で展開された画像デ
ータを格納するフレームメモリ14、情報処理装置13
での処理プログラムや表示しようとする三次元画像デー
タ等が格納されるローカルメモリ15、表示体表面に文
様をはり付けるためのテクスチャデータが格納されたテ
クスチャメモリ16、及びフレームメモリ14に格納さ
れた二次元の画像データを読み出して表示する表示部1
7より構成される。
FIG. 2 is a block diagram showing a first embodiment of the information processing apparatus according to the present invention. The information processing system 11 to which the present embodiment is applied converts three-dimensional image data into data that can be displayed on a display unit 17 such as a display, and outputs the data. The information processing system 11 supplies three-dimensional image data and operates as a host system. The information processing apparatus 13 processes data supplied from the host computer 12 and develops the data into image data to be drawn. , A frame memory 14 for storing image data developed by the information processing apparatus 13, an information processing apparatus 13
A local memory 15 for storing a processing program for 3D image data and three-dimensional image data to be displayed, a texture memory 16 for storing texture data for attaching a pattern to the surface of a display body, and a frame memory 14 Display unit 1 for reading and displaying two-dimensional image data
7.

【0023】ホストコンピュータ12は、三次元の画像
データを図形要素に分解し、幾何変換を行なった後、パ
ケット形式のデータとして情報処理装置13に供給す
る。情報処理装置13は、ホストコンピュータ12から
供給される三次元の画像データに対して予め設定された
処理を実行し、描画しようとする画像データを作成して
フレームメモリ14上に展開する。情報処理装置13
は、請求項中の第1の情報処理手段に相当し、供給され
た画像データを内部に予め設定された専用ハードウェア
により処理するグラフィック専用ハードウェア部18、
請求項中の第2の情報処理手段に相当し、グラフィック
専用ハードウェア部18と並列に動作してプログラムに
応じた処理を実行するマイクロプログラム(μP)実行
部19、グラフィック専用ハードウェア部18、マイク
ロプログラム実行部19からの指示に応じてフレームメ
モリ14に対して画像データの書込み、読み出しを制御
するフレームメモリ制御部20、ローカルメモリ15に
対してマイクロプログラム及び処理済みの画像データの
書き込み、読み出し制御を行なうローカルメモリ制御部
21、及びテクスチャメモリ16に対してテクスチャデ
ータの書き込み、読み出し制御を行なうテクスチャメモ
リ制御部22より構成される。
The host computer 12 decomposes the three-dimensional image data into graphic elements, performs geometric transformation, and supplies the data to the information processing apparatus 13 as data in a packet format. The information processing device 13 executes a predetermined process on the three-dimensional image data supplied from the host computer 12, creates image data to be drawn, and develops the image data on the frame memory 14. Information processing device 13
Corresponds to a first information processing means in the claims, and is a graphic dedicated hardware unit 18 for processing supplied image data by dedicated hardware set in advance therein;
A microprogram (μP) execution unit 19 that operates in parallel with the graphics-dedicated hardware unit 18 and executes processing according to the program, a graphics-dedicated hardware unit 18, A frame memory control unit 20 that controls writing and reading of image data to and from the frame memory 14 in accordance with an instruction from the microprogram execution unit 19, and writing and reading of a microprogram and processed image data to and from the local memory 15. It is composed of a local memory control unit 21 that performs control, and a texture memory control unit 22 that controls writing and reading of texture data to and from the texture memory 16.

【0024】フレームメモリ14は、第3の情報記憶手
段に相当するVRAM(ビデオ・ランダム・アクセス・
メモリ)等よりなり、R,G,Bの色データ及びα値を
各8ビットで格納する。ローカルメモリ15は、第1の
情報記憶手段に相当するSDRAM等よりなり、マイク
ロプログラム、R,G,Bの色データ、ブレンディング
に関するα値、奥行に関するZ値等の描画データやユー
ザデータを格納する。
The frame memory 14 has a VRAM (Video Random Access Memory) corresponding to a third information storage means.
), And stores the R, G, B color data and α value in 8 bits each. The local memory 15 is composed of an SDRAM or the like corresponding to the first information storage means, and stores drawing data and user data such as microprograms, R, G, and B color data, α values for blending, and Z values for depth. .

【0025】テクスチャメモリ16は、第2の情報記憶
手段に相当するSDRAM,SRAM,PROM等より
なり、R,G,Bの色データ、α値より構成されるテク
スチャデータを格納する。テクスチャメモリ16では、
テクスチャデータのパターン毎にページ単位でデータが
管理されていており、ページ毎にデータを参照すればよ
いため、テクスチュアメモリ16へのアクセスは高速で
行なえる。
The texture memory 16 is composed of SDRAM, SRAM, PROM and the like corresponding to the second information storage means, and stores texture data composed of R, G, B color data and α value. In the texture memory 16,
Since data is managed in page units for each pattern of the texture data, and data may be referred to for each page, access to the texture memory 16 can be performed at high speed.

【0026】グラフィック専用ハードウェア部18は、
三次元グラフィックス描画を行なう為の専用のハードウ
ェア部で、三次元グラフィックスを構成する図形(ポリ
ゴン)の内部を構成する各ピクセルを補間する処理を行
なう線形補間演算(DDA)部23、線形補間演算部2
3で補間された部分の文様を設定する処理をテクスチャ
メモリ16内のデータに基づいて実行するテクスチャ処
理部24、画素単位のデータをもとにその画素を描画す
べきか否かの判定を行う描画条件判定部25、及び描画
する画素の色値とその画素の下にすでに描画されている
画素の色値との混ぜ合わせを行なうブレンダ部26より
構成され、必要なパラメータを設定して起動をかけるこ
とによりマイクロプログラム実行部19とは独立して処
理が行われる。
The graphics-specific hardware unit 18
A dedicated hardware unit for performing three-dimensional graphics drawing, a linear interpolation operation (DDA) unit 23 for performing a process of interpolating each pixel constituting the inside of a figure (polygon) constituting three-dimensional graphics; Interpolator 2
A texture processing unit 24 that executes a process of setting the pattern of the portion interpolated in step 3 based on the data in the texture memory 16, and determines whether or not to draw the pixel based on the data in units of pixel. A condition determination unit 25 and a blender unit 26 that mixes a color value of a pixel to be drawn with a color value of a pixel already drawn under the pixel are set, and necessary parameters are set and activated. Thus, the processing is performed independently of the microprogram execution unit 19.

【0027】線形補間演算部23には補間の開始点のピ
クセルの座標(X,Y,Z)、色(R,G,B,α)、
テクスチャ座標(S,T,Q)、デプスキュー値
(D)、補間の開始点への各値の増分値(ΔX,ΔY,
ΔZ,ΔR,ΔG,ΔB,ΔA,ΔS,ΔT,ΔQ,Δ
D)及び補間演算の回数が与えられる。線形補間演算部
23は、設定された補間演算回数だけ初期値に増分値を
加算し、補間値として出力する。
The linear interpolation calculator 23 calculates the coordinates (X, Y, Z) of the pixel at the interpolation start point, the colors (R, G, B, α),
Texture coordinates (S, T, Q), depth skew value (D), increment value (ΔX, ΔY,
ΔZ, ΔR, ΔG, ΔB, ΔA, ΔS, ΔT, ΔQ, Δ
D) and the number of interpolation operations. The linear interpolation calculation unit 23 adds the increment value to the initial value by the set number of interpolation calculations and outputs the result as an interpolation value.

【0028】マイクロプログラム実行部19は、ホスト
コンピュータ12から供給されるパケット形式のデータ
の解析処理を行なうと共に、情報処理装置13と接続さ
れるフレームメモリ14、ローカルメモリ15及びテク
スチャメモリ16に対するアクセス制御を行なうホスト
インタフェース(I/F)部27、情報処理装置13全
体をローカルメモリ15に格納されたプログラムに従っ
て制御する実行制御部28、請求項中、処理情報記憶手
段に対応し、実行制御部28により解釈・実行される命
令ブロックを一時格納する命令キャッシュ29、請求項
中、第1の演算部に対応し、実行制御部28からの命令
に従って各種演算を実行する主演算部30、実行制御部
28からの命令に従って主演算部30と並列に各種演算
を実行する副演算部31、請求項中、共有記憶手段に対
応し、主演算部30及び副演算部31に対して並列にデ
ータの読み出し、書き込み可能な共有レジスタ32、及
び共有メモリ33より構成される。
The microprogram execution unit 19 analyzes packet data supplied from the host computer 12 and controls access to the frame memory 14, the local memory 15 and the texture memory 16 connected to the information processing apparatus 13. A host interface (I / F) unit 27 for performing the control, an execution control unit 28 for controlling the entire information processing apparatus 13 according to a program stored in the local memory 15, and an execution control unit 28 corresponding to a processing information storage unit in claims. An instruction cache 29 for temporarily storing an instruction block interpreted and executed by the CPU, a main operation unit 30 corresponding to a first operation unit in the claims, and executing various operations in accordance with an instruction from an execution control unit 28; A sub-operation that executes various operations in parallel with the main operation unit 30 according to the instruction from 28 31, In the claims, the shared corresponds to the storage means, reading data in parallel to the main calculating section 30 and the sub calculation section 31, composed of a writable shared registers 32, and the shared memory 33.

【0029】ホストインタフェース部27は、描画しよ
うとするポリゴンのデータを一時的に格納するバッファ
(図示せず)を有し、データはホストインタフェース部
27から順次読み込まれる。主演算部30はプログラム
実行制御機能を有し、副演算部31はグラフィック専用
ハードウェア部18を制御する機能を有する。又、主副
演算部30,31は並列命令コードによって同期して動
作する構成とされている。
The host interface unit 27 has a buffer (not shown) for temporarily storing polygon data to be drawn, and data is sequentially read from the host interface unit 27. The main operation unit 30 has a program execution control function, and the sub operation unit 31 has a function of controlling the graphic dedicated hardware unit 18. The main and sub arithmetic units 30 and 31 are configured to operate synchronously with parallel instruction codes.

【0030】マイクロプログラム実行部19は、処理を
マイクロプログラムにより制御するため、基本的な命令
を組み合わせることにより各種処理に対応するRISC
型命令セットに対応する構成とされている。フレームメ
モリ制御部20はフレームメモリ14、グラフィック専
用ハードウェア部18及びマイクロプログラム実行部1
9のメインバスと接続されていて、グラフィック専用ハ
ードウェア部18及びマイクロプログラム実行部19か
らの要求に応じてグラフィック専用ハードウェア部1
8、マイクロプログラム実行部19からフレームメモリ
14への画像データの書き込み、フレームメモリ14か
らグラフィック専用ハードウェア部18及びマイクロプ
ログラム実行部19への画像データの読み出しを制御す
る。
The microprogram execution section 19 controls RISC corresponding to various processes by combining basic instructions in order to control the processes by the microprogram.
It is configured to correspond to a type instruction set. The frame memory control unit 20 includes a frame memory 14, a graphics dedicated hardware unit 18, and a microprogram execution unit 1.
9 in response to requests from the graphics dedicated hardware unit 18 and the microprogram execution unit 19.
8. It controls writing of image data from the microprogram execution unit 19 to the frame memory 14 and reading of image data from the frame memory 14 to the graphic dedicated hardware unit 18 and the microprogram execution unit 19.

【0031】フレームメモリ制御部20は、三次元画像
描画時にはフレームメモリ14へのアクセスを書き込み
専用とし、フレームメモリ14へのアクセス速度を向上
させている。ローカルメモリ制御部21は、ローカルメ
モリ15、グラフィック専用ハードウェア部18及びマ
イクロプログラム実行部19と接続されていて、グラフ
ィック専用ハードウェア部18、マイクロプログラム実
行部19からローカルメモリ15へのμプログラム、色
データ(R,G,B,α)、Z値、ウィンドウID等の
各種データの書き込みやローカルメモリ15からグラフ
ィック専用ハードウェア部18及びマイクロプログラム
実行部19への各種データの読み出しを制御する。
The frame memory control unit 20 makes the access to the frame memory 14 write-only at the time of drawing a three-dimensional image, thereby improving the access speed to the frame memory 14. The local memory control unit 21 is connected to the local memory 15, the graphic dedicated hardware unit 18, and the microprogram execution unit 19, and executes the μ program from the graphic dedicated hardware unit 18, the microprogram execution unit 19 to the local memory 15, It controls writing of various data such as color data (R, G, B, α), Z value, window ID, etc., and reading of various data from the local memory 15 to the graphic dedicated hardware unit 18 and the microprogram execution unit 19.

【0032】ローカルメモリ制御部21は、三次元画像
描画時にはローカルメモリに色系データ(R,G,B,
α)の他に(Z,S,T,Q,D)等のテクスチャ系の
データをコピーさせる。このため、フレームメモリ14
へのテクスチャ系データの記憶が不要となり、フレーム
メモリ14へのアクセス速度を向上させることができ、
処理の高速化が実現されている。
The local memory controller 21 stores color system data (R, G, B,
In addition to (α), texture-based data such as (Z, S, T, Q, D) is copied. Therefore, the frame memory 14
It is not necessary to store the texture data in the frame memory 14, and the access speed to the frame memory 14 can be improved.
Higher processing speed has been realized.

【0033】テクスチャメモリ制御部22はテクスチャ
メモリ16、グラフィック専用ハードウェア部18及び
マイクロプログラム実行部19と接続され、グラフィッ
ク専用ハードウェア部18及びマイクロプログラム実行
部19からの要求によりテクスチャメモリ16からグラ
フィック専用ハードウェア部18及びマイクロプログラ
ム実行部19へのテクスチャデータの読み出しを制御す
ると共にマイクロプログラム実行部19からの要求によ
りマイクロプログラム実行部19からテクスチャメモリ
22へのテクスチャデータの書き込みを制御する。
The texture memory control unit 22 is connected to the texture memory 16, the graphics dedicated hardware unit 18 and the microprogram execution unit 19, and receives the graphics data from the texture memory 16 in response to a request from the graphics dedicated hardware unit 18 and the microprogram execution unit 19. The reading of the texture data to the dedicated hardware unit 18 and the microprogram execution unit 19 is controlled, and the writing of the texture data from the microprogram execution unit 19 to the texture memory 22 is controlled by a request from the microprogram execution unit 19.

【0034】フレームメモリ制御部20、ローカルメモ
リ制御部21、テクスチャメモリ制御部22によりグラ
フィック専用ハードウェア部18、マイクロプログラム
実行部19から夫々フレームメモリ14、ローカルメモ
リ15、テクスチャメモリ16にアクセスできるため、
メモリへのアクセスの競合が生じず、処理にデータの待
ち時間が生じないため、効率的にデータ処理が行なえ
る。
The frame memory control unit 20, local memory control unit 21, and texture memory control unit 22 can access the frame memory 14, local memory 15, and texture memory 16 from the graphic dedicated hardware unit 18 and the microprogram execution unit 19, respectively. ,
Since there is no contention for access to the memory and there is no data waiting time in the processing, data processing can be performed efficiently.

【0035】実行制御部28は4ステージパイプライン
によって命令フェッチ(F)、命令解釈(D)、データ
読み込み(R)、演算実行・データ格納(E)の順で実
行を制御する。実行制御部28は主演算部30、副演算
部31、グラフィック専用ハードウェア部17の処理を
制御する3フィールド命令系統を有し、夫々に処理の制
御が行なえる構成とされている。
The execution control unit 28 controls execution of an instruction fetch (F), an instruction interpretation (D), a data read (R), and an operation execution / data storage (E) in the order of a four-stage pipeline. The execution control unit 28 has a three-field instruction system for controlling the processing of the main processing unit 30, the sub-processing unit 31, and the hardware unit 17 for graphics, and is configured to be able to control each of them.

【0036】表示部18はフレームメモリ14に格納さ
れた色系データ(R,G,B,α)に基づいて画像を表
示する。図3は、第1実施例における情報処理時の全体
的な流れを示す動作フローチャートを示す。本実施例の
情報処理装置13では情報処理を行なう際にはまず、初
期化を行なう(ステップS1−1)。
The display unit 18 displays an image based on the color system data (R, G, B, α) stored in the frame memory 14. FIG. 3 is an operation flowchart showing an overall flow at the time of information processing in the first embodiment. When performing information processing, the information processing apparatus 13 of the present embodiment first performs initialization (step S1-1).

【0037】次に、未処理パケットの有無が判断され、
未処理パケットが有れば、パケットに対応したテーブル
処理を実行する(ステップS1−2,S1−3)。パケ
ットに対応したパケット処理が終了すると次の未処理パ
ケットに対してパケットに対応したデータ処理を実行す
る(ステップS1−4,S1−2,S1−3)。
Next, the presence or absence of an unprocessed packet is determined.
If there is an unprocessed packet, a table process corresponding to the packet is executed (steps S1-2 and S1-3). When the packet processing corresponding to the packet is completed, the data processing corresponding to the packet is executed for the next unprocessed packet (steps S1-4, S1-2, S1-3).

【0038】また、未処理パケットが無い場合には次の
パケットが供給されるまで待機する(ステップS1−
2)。以上のように本実施例の情報処理装置13はホス
トコンピュータ12から処理データをパケット形式で受
け取り、パケット毎に処理を実行する。次に具体的なデ
ータ処理三次元グラフィックス情報の描画処理について
説明する。
If there is no unprocessed packet, the process stands by until the next packet is supplied (step S1--).
2). As described above, the information processing apparatus 13 of the present embodiment receives the processing data from the host computer 12 in the form of a packet, and executes the processing for each packet. Next, a description will be given of a specific data processing drawing process of three-dimensional graphics information.

【0039】図4は、第1実施例におけるラスタライズ
処理時のマイクロプログラム実行部19の動作フローチ
ャートを示す。マイクロプログラム実行部19ではま
ず、ホストインタフェース部27より画像の描画に必要
となるポリゴンの頂点の座標(X,Y,Z)色値(R,
G,B,α)、テクスチャ座標(S,T,Q)、デプス
キュー値(D)よりなる初期値(X,Y,Z,R,G,
B,α,D,S,T,Q)頂点間における各値の増分値
(dX,dY,dZ,dR,dG,dB,dα,dD,
dS,dT,dQ)を読み込む(ステップS2−1)。
FIG. 4 is a flowchart showing the operation of the microprogram execution unit 19 during the rasterizing process in the first embodiment. First, in the microprogram executing unit 19, the coordinates (X, Y, Z) of the vertices of the polygon necessary for drawing the image from the host interface unit 27 (R,
G, B, α), texture coordinates (S, T, Q), and depth skew values (D) (X, Y, Z, R, G,
B, α, D, S, T, Q) increment values (dX, dY, dZ, dR, dG, dB, dα, dD,
dS, dT, dQ) are read (step S2-1).

【0040】次にポリゴンの頂点間の辺を構成する端点
を算出する(ステップS2−2)。このとき、後述する
ようにポリゴンの辺と画素とは必ずしも一致しないた
め、ポリゴンが正確に描画されるように端点の補正計算
が実行される。次にグラフィック専用ハードウェア部1
8からの一つの端点に対する補間処理が終了したことを
示す補間処理終了通知の有無を判断する(ステップS2
−3)。
Next, the end points forming the sides between the vertices of the polygon are calculated (step S2-2). At this time, as will be described later, since the sides of the polygon do not always coincide with the pixels, correction calculation of the end point is executed so that the polygon is accurately drawn. Next, the graphic dedicated hardware unit 1
It is determined whether there is an interpolation processing end notification indicating that the interpolation processing for one end point has been completed from step S8 (step S2).
-3).

【0041】ここで、マイクロプログラム実行部19は
グラフィック専用ハードウェア部18から補間処理終了
通知が供給されると、グラフィック専用ハードウェア部
18の線形補間処理を実行する専用ハードウェアである
DDA部23にステップS1−2で既に計算した端点の
(X,Y,Z,R,G,B,α,D,S,T,Q)値を
供給する(ステップS2−4)。
Here, upon receiving the interpolation processing completion notification from the graphic dedicated hardware unit 18, the microprogram execution unit 19 provides the DDA unit 23, which is dedicated hardware for executing the linear interpolation processing of the graphic dedicated hardware unit 18. Is supplied with the (X, Y, Z, R, G, B, α, D, S, T, Q) values of the end points already calculated in step S1-2 (step S2-4).

【0042】このとき、マイクロプログラム実行部19
はグラフィック専用ハードウェア部18より補間処理終
了通知が供給されない、つまり、グラフィック専用ハー
ドウェア部18のDDA部23での補間処理が終了して
いない間は次の処理を行なわず、待機状態となる(ステ
ップS2−5)。上記ステップS2−2〜S2−5の処
理を繰り返し、一つのポリゴンが形成されるまで実行す
る(ステップS2−6)。
At this time, the microprogram execution unit 19
Is not supplied from the graphics-dedicated hardware unit 18, that is, while the interpolation process is not completed in the DDA unit 23 of the graphics-dedicated hardware unit 18, the next process is not performed and a standby state is set. (Step S2-5). The processing of steps S2-2 to S2-5 is repeated until a single polygon is formed (step S2-6).

【0043】図5は、第1実施例におけるラスタライズ
処理時のグラフィック処理専用ハードウェア部18のD
DA部23動作フローチャートを示す。グラフィック専
用ハードウェア部18はまず、マイクロプログラム実行
部19から補正計算された端点の(X,Y,Z,R,
G,B,α,D,S,T,Q)値及び一ラインの補間に
必要な補間処理回数n、隣接する画素間の(X,Y,
Z,R,G,B,α,D,S,T,Q)値の増分値(d
X,dY,dZ,dR,dG,dB,dα,dD,d
S,dT,dQ)を読み込む(ステップS3−1)。
FIG. 5 shows the D of the hardware unit 18 dedicated to graphic processing at the time of rasterizing processing in the first embodiment.
5 shows an operation flowchart of the DA unit 23. First, the graphic-dedicated hardware unit 18 first calculates (X, Y, Z, R,
G, B, α, D, S, T, Q) values, the number of interpolation processes n required for interpolation of one line, and (X, Y,
Z, R, G, B, α, D, S, T, Q) value increment (d
X, dY, dZ, dR, dG, dB, dα, dD, d
(S, dT, dQ) are read (step S3-1).

【0044】次にグラフィック専用ハードウェア部18
での読み込んだ補間処理回数nをグラフィック専用ハー
ドウェア部18に内蔵されたリピートカウンタ(RC)
にセットする(ステップS3−2)。次にグラフィック
専用ハードウェア部18はマイクロプログラム実行部1
9から読み込まれた端点の(X0 ,Y0 ,Z0 ,R0
0 ,B0 ,α0 ,D0 ,S 0 ,T0 ,Q0 )値をDD
A部23での初回のデータとしてテクスチャ処理部24
に供給する(ステップ(S3−3)。
Next, the graphic dedicated hardware section 18
The number of interpolation processes n read by
Repeat counter (RC) built in the hardware unit 18
(Step S3-2). Then graphic
The dedicated hardware unit 18 is the microprogram execution unit 1
(X) of the end point read from0, Y0, Z0, R0,
G0, B0, Α0, D0, S 0, T0, Q0) Value DD
The texture processing unit 24 as the first data in the A unit 23
(Step (S3-3)).

【0045】次に、グラフィック専用ハードウェア部1
8のDDA部23では初回の値(X 0 ,Y0 ,Z0 ,R
0 ,G0 ,B0 ,α0 ,D0 ,S0 ,T0 ,Q0 )にス
テップS2−1で読み込んだ増分値(dX(=1),d
Y(=0),dZ,dR,dG,dB,dα,dD,d
S,dT,dQ)を加算した値(X0 +1,Y0 ,Z 0
+dZ,R0 +dR,G0 +dG,B0 +dB,α0
dα,D0 +dD,S 0 +dS,T0 +dT,Q0 +d
Q)を今回の画素の値とする(ステップS3−4)。
Next, the graphic dedicated hardware unit 1
8 in the DDA unit 23, the initial value (X 0, Y0, Z0, R
0, G0, B0, Α0, D0, S0, T0, Q0)
The increment value (dX (= 1), d read in step S2-1)
Y (= 0), dZ, dR, dG, dB, dα, dD, d
S, dT, dQ) (X0+1, Y0, Z 0
+ DZ, R0+ DR, G0+ DG, B0+ DB, α0+
dα, D0+ DD, S 0+ DS, T0+ DT, Q0+ D
Q) is set as the value of the current pixel (step S3-4).

【0046】次に今回求めた画素の値(X0 +1,
0 ,Z0 +dZ,R0 +dR,G0 +dG,B0 +d
B,α0 +dα,D0 +dD,S0 +dS,T0 +d
T,Q0 +dQ)をテクスチャ処理部24に供給し、リ
ピートカウンタRCを起動して、セトされた補間処理回
数nから1を減算し、補間処理回数を(n−1)とする
(ステップ(S3−5)。
Next, the pixel value (X 0 +1,
Y 0 , Z 0 + dZ, R 0 + dR, G 0 + dG, B 0 + d
B, α 0 + dα, D 0 + dD, S 0 + dS, T 0 + d
T, Q 0 + dQ) is supplied to the texture processing unit 24, the repeat counter RC is started, and 1 is subtracted from the set number of times of interpolation processing n to set the number of times of interpolation processing to (n-1) (step ( S3-5).

【0047】次にグラフィック専用ハードウェア部18
は前回の画素値(Xn-1,Yn-1,Zn-1,Rn-1,G
-1,Bn-1,αn-1,Dn-1,Sn-1,Tn-1,Qn
-1)に増分値(1,0,dZ,dR,dG,dB,d
α,dD,dS,dT,dQ)を加算し、今回の画素値
とし、テクスチャ処理部24に供給し、補間処理回数か
ら1を減算する(ステップS3−6)。
Next, the graphic dedicated hardware unit 18
Is the previous pixel value (Xn -1 , Yn -1 , Zn -1 , Rn -1 , G
n -1 , Bn -1 , αn -1 , Dn -1 , Sn -1 , Tn -1 , Qn
−1 ) to the increment value (1, 0, dZ, dR, dG, dB, d
α, dD, dS, dT, and dQ) are added to obtain the current pixel value, which is supplied to the texture processing unit 24, and subtracts 1 from the number of interpolation processes (step S3-6).

【0048】上記ステップS3−5,S3−6をリピー
トカウンタRCの値が‘0’となるまで繰り返し、リピ
ートカウンタRCの値が‘0’となった時点で補間処理
終了通知をマイクロプログラム実行部19に通知する
(ステップS3−7,S3−8)。以上のように端点か
ら所定の補間処理を設定回数分繰り返すだけでポリゴン
内部のデータの補間が実行できる。このため、補間のた
めの処理が単純化され、簡単なパイプライン処理で実現
できる。
The above steps S3-5 and S3-6 are repeated until the value of the repeat counter RC becomes "0". When the value of the repeat counter RC becomes "0", a notice of the completion of the interpolation processing is sent to the microprogram execution unit. 19 is notified (steps S3-7, S3-8). As described above, the interpolation of the data inside the polygon can be executed only by repeating the predetermined interpolation process from the end point a predetermined number of times. For this reason, the processing for interpolation is simplified, and can be realized by simple pipeline processing.

【0049】図6乃至図9は、夫々第1実施例における
ラスタライズ処理時の動作説明図を示す。図6は三角形
ポリゴン描画時に与えられるデータと処理手順を説明す
るための図を示す。三角形のポリゴンを描画時には図6
に示すように2つの頂点s,aの画素値(xs,ys,
rs,gs,bs,αs,zs,ss,ts,qs)、
(xa,ya,ra,ga,ba,za,sa,ta,
qa)及び頂点sから頂点aに向う矢印A方向の増分値
(dxDv,drDv,dgDv,dαDv,dzD
v,dsDv,dtDv,dqDv)、頂点aから残り
の頂点bに向う矢印B方向の増分値(dxDv2 ,dr
Dv2 ,dgDv2 ,dbDv2 ,dzDv2 ,dsD
2 ,dtDv2 ,dqDv2 )及び、頂点s,aの画
素と矢印A方向の増分値から決まる端点から矢印C方向
(矢印y方向)に向う値の増分値(dxDu,drD
u,dgDu,dbDu,daDu,dzDu,dsD
u,dtDu,dqDu)が与えられ、これらの値に基
づいて画素を補間することにより描画される。
FIGS. 6 to 9 are explanatory diagrams of the operation during the rasterizing process in the first embodiment. FIG. 6 is a diagram for explaining data provided at the time of drawing a triangular polygon and a processing procedure. Figure 6 when drawing a triangular polygon
As shown in the figure, the pixel values (xs, ys,
rs, gs, bs, αs, zs, ss, ts, qs),
(Xa, ya, ra, ga, ba, za, sa, ta,
qa) and incremental values (dxDv, drDv, dgDv, dαDv, dzD) in the direction of arrow A from vertex s to vertex a.
v, dsDv, dtDv, dqDv), the increment value (dxDv 2 , dr) in the direction of arrow B from the vertex a to the remaining vertex b
Dv 2 , dgDv 2 , dbDv 2 , dzDv 2 , dsD
v 2 , dtDv 2 , dqDv 2 ) and the increment value (dxDu, drD) of the value in the direction of the arrow C (the direction of the arrow y) from the end point determined from the pixel of the vertex s, a and the increment value of the direction of the arrow A.
u, dgDu, dbDu, daDu, dzDu, dsD
u, dtDu, dqDu), and are rendered by interpolating pixels based on these values.

【0050】まず、マイクロプログラム実行部19によ
り頂点sの画素値とその増分値から頂点sから頂点aへ
(矢印A方向)の端点が算出され、一端点の算出毎にグ
ラフィック専用ハードウェア部18のDDA部23によ
りマイクロプログラム実行部19で算出された一端点の
画素値と矢印C方向の増分値よりポリゴン内部の画素値
が求められる。
First, the microprogram execution unit 19 calculates an end point from the vertex s to the vertex a (in the direction of the arrow A) from the pixel value of the vertex s and the increment value thereof. The pixel value inside the polygon is determined from the pixel value at one end point calculated by the microprogram execution unit 19 and the increment value in the arrow C direction by the DDA unit 23.

【0051】また、マイクロプログラム実行部19は頂
点Sから頂点aまでの満点の算出を行なった後は頂点a
の画素値と矢印B方向の増分値とより頂点aから頂点b
までの端点を算出し、一端点算出毎にグラフィック専用
ハードウェア部18のDDA部23により端点の画素値
と矢印C方向の増分値とより補間処理が実行されたポリ
ゴン内部の画素値が求められる。
After calculating the full score from the vertex S to the vertex a, the microprogram execution unit 19 calculates the vertex a
From the vertex a to the vertex b from the pixel value of
The endpoints up to are calculated, and each time the one-end point is calculated, the DDA unit 23 of the graphic-dedicated hardware unit 18 obtains the pixel value inside the polygon subjected to the interpolation processing from the pixel value of the endpoint and the increment value in the direction of arrow C. .

【0052】図7は端点計算処理と補間処理の動作説明
図を示す。図7に実線で示すような座標に対応した辺の
描画が要求されたとすると、頂点のデータと画素のデー
タとが一致しない。このようなときは辺の内部の画素が
描画されるように補正が必要となる。このような補正の
計算はマイクロプログラム実行部19で端点の計算の際
に実行される。
FIG. 7 is a diagram for explaining the operation of the end point calculation processing and the interpolation processing. If it is requested to draw a side corresponding to the coordinates indicated by the solid line in FIG. 7, the vertex data and the pixel data do not match. In such a case, correction is necessary so that pixels inside the side are drawn. The calculation of such correction is executed by the microprogram execution unit 19 when calculating the end points.

【0053】端点の計算式を以下に示す。なお、頂点s
のX座標(Sx)を含む、画素の座標Xa,Xvbを求
める。 xa(0)=xs xb(0)=xe このとき、Xa(0),Xb(0)はポリゴンの外部に
位置するため描画しないものとする。頂点sの次の端点
の値は次のように求められる。
The calculation formula of the end point is shown below. The vertex s
Pixel coordinates Xa and Xvb including the X coordinate (Sx) are obtained. xa (0) = xs xb (0) = xe At this time, it is assumed that Xa (0) and Xb (0) are not drawn since they are located outside the polygon. The value of the next end point of the vertex s is obtained as follows.

【0054】まず、y座標は ys(n)=ys(n−1)+1 とされ、画素の存在する位置の値となるように順次増加
される。また、X座標終端値はX座標の増加分に応じて xb(n)=xb(n−1)+dxeDv で求められ、開始点のX座標は増分が順次加算され、 xa(n)=xa(n−1)+dxDv 以下他の値も同様に増分値が順次加算され、 ra(n)=ra(n−1)+drDv ga(n)=ga(n−1)+dgDv ba(n)=ba(n−1)+dbDv aa(n)=aa(n−1)+daDv za(n)=za(n−1)+dzDv sa(n)=sa(n−1)+dsDv ta(n)=ta(n−1)+dtDv qa(n)=qa(n−1)+dqDv で求まる。
First, the y coordinate is set to ys (n) = ys (n-1) +1, and is sequentially increased so as to have a value at a position where a pixel exists. Further, the X coordinate end value is obtained by xb (n) = xb (n-1) + dxeDv according to the increment of the X coordinate, and the X coordinate of the start point is sequentially incremented, and xa (n) = xa ( Similarly, the increment value is sequentially added to other values below n (1) + dxDv, and ra (n) = ra (n-1) + drDv ga (n) = ga (n-1) + dgDv ba (n) = ba ( n-1) + dbDv aa (n) = aa (n-1) + daDv za (n) = za (n-1) + dzDv sa (n) = sa (n-1) + dsDv ta (n) = ta (n- 1) + dtDv It is obtained by qa (n) = qa (n-1) + dqDv.

【0055】また、上記計算式で計算された補正端点の
値に基づいて以下の式に従って補間される画素の値が算
出される。まず、端点の値(初期値)は xu(n)(0)=xa(n) ru(n)(0)=ra(n) gu(n)(0)=ga(n) bu(n)(0)=ba(n) au(n)(0)=aa(n) zu(n)(0)=za(n) su(n)(0)=sa(n) tu(n)(0)=ta(n) qu(n)(0)=qa(n) で求められる。初期値に続く、補間点の値は xu(n)(m)=xa(n)(m−1)+1 ru(n)(m)=ra(n)(m−1)+duDr gu(n)(m)=ga(n)(m−1)+duDg bu(n)(m)=ba(n)(m−1)+duDb au(n)(m)=aa(n)(m−1)+duDa zu(n)(m)=za(n)(m−1)+DuDz su(n)(m)=sa(n)(m−1)+duDs tu(n)(m)=ta(n)(m−1)+duDt qu(n)(m)=qa(n)(m−1)+duDq により求められる。なお、このとき、xu(n)(m)
<xb(n)の画素が描画される。
The value of the pixel to be interpolated is calculated according to the following equation based on the value of the correction end point calculated by the above equation. First, the values (initial values) of the end points are xu (n) (0) = xa (n) ru (n) (0) = ra (n) gu (n) (0) = ga (n) bu (n) (0) = ba (n) au (n) (0) = aa (n) zu (n) (0) = za (n) su (n) (0) = sa (n) tu (n) (0 ) = Ta (n) qu (n) (0) = qa (n) The value of the interpolation point following the initial value is xu (n) (m) = xa (n) (m-1) +1 ru (n) (m) = ra (n) (m-1) + duDr gu (n) (M) = ga (n) (m-1) + duDg bu (n) (m) = ba (n) (m-1) + duDb au (n) (m) = aa (n) (m-1) + duDa zu (n) (m) = za (n) (m-1) + DuDzsu (n) (m) = sa (n) (m-1) + duDstu (n) (m) = ta (n) (m -1) + duDt qu (n) (m) = qa (n) (m-1) + duDq At this time, xu (n) (m)
<Xb (n) pixels are drawn.

【0056】図8にラスタライシング処理時のDDA処
理のタイミングチャートを示す。マイクロプログラム実
行部19により時間T0 で最初端点の補正計算が実施さ
れると、計算が終了した時刻t0 で最初の端点の画素値
がグラフイック専用ハードウェア部18に供給され、マ
イクロプログラム実行部19から供給された端点の画素
値に基づいて時刻t0 からの時間T1 ’で補間する画素
値が算出される。マイクロプログラム実行部19はグラ
フィック専用ハードウェア部18に最初の端点の画素値
を供給した後は時刻t0 から次の端点の補正計算を実施
する。このとき、マイクロプログラム実行部19は時刻
1 で計算を終了したとするとマイクロプログラム実行
部19はグラフィック専用ハードウェア18の補間処理
が終了するまで待機し、グラフィック専用ハードウェア
部18の処理が終了し、補間処理終了通知が供給される
時刻t2 で時刻t0 〜t1 の時間T1 で算出しておいた
端点の画素値をグラフィック専用ハードウェア部18に
供給する。
FIG. 8 is a timing chart of the DDA process during the rasterizing process. When the correction calculation of the first end point is performed at time T 0 by the microprogram execution unit 19, the pixel value of the first end point is supplied to the graphic dedicated hardware unit 18 at the time t 0 at which the calculation is completed, and the microprogram execution unit The pixel value to be interpolated at time T 1 ′ from time t 0 is calculated based on the pixel value of the end point supplied from 19. After supplying the pixel value of the first end point to the graphic dedicated hardware unit 18, the microprogram execution unit 19 performs correction calculation of the next end point from time t 0 . In this case, when completing the calculations in microprogram execution unit 19 at time t 1 microprogram execution unit 19 waits until the interpolation processing graphics dedicated hardware 18 is completed, the processing of the graphics dedicated hardware portion 18 terminates and supplies the pixel values of the end point which has been calculated at time t 0 ~t 1 time T 1 at time t 2 when the interpolation processing end notification is supplied to the graphics dedicated hardware portion 18.

【0057】以下、同様にマイクロプログラム実行部1
9で前回算出された端点の画素値に基づいてグラフィッ
ク専用ハードウェア部18で補間する画素値が算出され
る間に次回の処理でグラフィック専用ハードウェア部1
8で用いられる端点の画素値がマイクロプログラム実行
部19で算出される。図9は、第1実施例のデータフロ
ーを示す図である。ホストコンピュータ12からの幾何
変換されただけのパケット形式のデータがホストI/F
部27でパケット解析処理され、マイクロプログラム実
行部19で端点の補正計算が行なわれつつ、DDA部2
3で補正端点が算出され、補間計算が実行される。
Hereinafter, similarly, the microprogram execution unit 1
While the pixel value to be interpolated is calculated by the graphic dedicated hardware unit 18 based on the pixel value of the end point previously calculated in 9, the graphic dedicated hardware unit 1 is executed in the next process.
The pixel value of the end point used in 8 is calculated by the microprogram execution unit 19. FIG. 9 is a diagram illustrating a data flow of the first embodiment. The data in the packet format from the host computer 12 which has just been subjected to the geometric conversion is transmitted to the host I / F.
The packet analysis processing is performed by the unit 27, the correction calculation of the end point is performed by the microprogram execution unit 19, and the DDA unit 2
In step 3, the correction end point is calculated, and the interpolation calculation is performed.

【0058】補間された画素データはパイプライン処理
によりテクスチャ処理部24でテクスチャデータにより
テクスチャ処理が実行され、描画条件判定部25でZ値
比較処理等の描画条件判定が行なわれた後、ブレンダ部
26で色計算論理演算等が実行される処理されたすべて
の画素値(X,Y,Z,R,G,B,α,D,S,T,
Q)はローカルメモリ15に格納され、画素値のうち色
系のデータ(R,G,B,α)のみがフレームメモリ1
4の座標(X,Y)に応じた格納部分に格納される。
After the interpolated pixel data is subjected to texture processing by the texture processing unit 24 by the pipeline processing by the texture processing unit 24 and the drawing condition determination unit 25 determines the drawing condition such as the Z value comparison process, and then blended by the blender unit 26, all the processed pixel values (X, Y, Z, R, G, B, α, D, S, T,
Q) is stored in the local memory 15 and only the color data (R, G, B, α) among the pixel values is stored in the frame memory 1.
4 is stored in a storage portion corresponding to the coordinates (X, Y).

【0059】このように、マイクロプログラム実行部1
9とグラフック専用ハードウェア部18を並列に動作さ
せつつ、端点算出と補間処理とを行なうことにより画像
の描画を効率的に実行できる。なお、本実施例ではマイ
クロプログラム実行部19は端点の補正計算を実行する
例を示したが、これに限ることはなく、ローカルメモリ
15に記憶するμプログラムにより音声等のデータの処
理も行なえ、マルチメディアへの対応を容易に行なえ
る。
As described above, the microprogram execution unit 1
The image drawing can be efficiently executed by performing the endpoint calculation and the interpolation processing while operating the hardware unit 9 and the graphic dedicated hardware unit 18 in parallel. In this embodiment, the example in which the microprogram execution unit 19 executes the correction calculation of the end point has been described. However, the present invention is not limited to this. Support for multimedia is easy.

【0060】図10は、第1実施例における主副演算部
の共有レジスタへのアクセス動作フローチャートを示
す。共有レジスタ32へのアクセス制御ではアクセス要
求が発生すると書き込み要求か、読み出し要求かを判断
する(ステップS4−1,S4−2)。書き込み要求発
生時に主・副演算部30,31から同時に要求が発生し
た場合には主演算部29からのデータを共有レジスタ3
2に書き込み、副演算部31からのデータは無視する
(ステップS4−3,S4−4)。
FIG. 10 is a flowchart showing an operation of accessing the shared register of the main / sub arithmetic unit in the first embodiment. In the access control to the shared register 32, when an access request occurs, it is determined whether the request is a write request or a read request (steps S4-1 and S4-2). If a request is issued from the main / sub operation units 30 and 31 at the same time when a write request is issued, the data from the main operation unit 29 is transferred to the shared register 3.
2 and the data from the sub-operation unit 31 is ignored (steps S4-3, S4-4).

【0061】また、主演算部30からのみ書き込み要求
があった場合には主演算部30からのデータが、副演算
部31からの書き込み要求があった場合には副演算部3
1からのデータが共有レジスタ32に書込まれる(ステ
ップS4−5,S4−4,S4−6)。読み出し要求発
生時には主・副演算部30,31から同時に要求が発生
した場合には主・副演算部30,31両方に共有レジス
タ32に書込まれたデータを同時に供給し、どちらか一
方から要求が発生した場合には要求のあった方に共有レ
ジスタ32のデータが供給される(ステップS4−7,
S4−11)。
When there is a write request only from the main processing unit 30, the data from the main processing unit 30 is stored.
1 is written into the shared register 32 (steps S4-5, S4-4, S4-6). When a read request is issued, if the request is issued from the main / sub-operation units 30 and 31 at the same time, the data written in the shared register 32 is supplied to both the main / sub-operation units 30 and 31 at the same time. Occurs, the data of the shared register 32 is supplied to the requestor (step S4-7,
S4-11).

【0062】図11は、第1実施例の共有メモリ32を
説明するための図を示す。図11(A)は共有メモリ3
3の構成図、図11(B)は共有メモリ33のデータの
分配を示す図、図11(C)は共有メモリ33のリード
タイミング、図11(D)は共有メモリのライトタイミ
ングを示す。共有メモリ33はメインバスMBに接続さ
れ、メインバスMSを介して処理されるデータの書き込
みを行なうメインバス系メモリ部33a、サブバスSB
に接続され、サブバスSBを介して処理されるデータの
書き込みを行なうサブバス系メモリ部33bより構成さ
れる。
FIG. 11 is a diagram for explaining the shared memory 32 of the first embodiment. FIG. 11A shows the shared memory 3
3, FIG. 11B shows the distribution of data in the shared memory 33, FIG. 11C shows the read timing of the shared memory 33, and FIG. 11D shows the write timing of the shared memory. The shared memory 33 is connected to the main bus MB, and writes a data to be processed via the main bus MS.
And a sub-bus memory unit 33b for writing data to be processed via the sub-bus SB.

【0063】メインバス系メモリ部33a、サブバス系
メモリ部33bは例えば40ビット128ワードで構成
されるメモリ33a−1,33b−1、メモリ33a−
1へのアクセスを制御するアドレスデコーダ33a−
2,33b−2、アドレスデコーダ33a−2,33b
−2からの制御信号に応じてメモリ33a−1又はメモ
リ33b−1から読み出されたデータを切換え出力する
ゲート部33a−3,33b−3より構成される。
The main bus system memory unit 33a and the sub bus system memory unit 33b are composed of, for example, memories 33a-1, 33b-1, and 33a- each composed of 40 bits and 128 words.
Address decoder 33a-
2, 33b-2, address decoders 33a-2, 33b
The gate units 33a-3 and 33b-3 switch and output data read from the memory 33a-1 or the memory 33b-1 in response to the control signal from the memory -2.

【0064】アドレスデコーダ33a−2,33b−2
にはメインバスMB及びサブバスSBからアクチュエー
タが供給される。また、アドレスデコーダ33a−2に
はメインバス系の書込み制御信号WEAが、アドレスデ
コーダ33b−2にはサブバス系の書込み制御信号WE
Bが供給され、アドレスデコーダ33a−1はメインバ
スMBからのデータの書き込みのみを制御し、アドレス
デコーダ33b−1はサブバスSBからのデータの書き
込みのみを制御する構成とされている。
Address decoders 33a-2 and 33b-2
Are supplied with actuators from the main bus MB and the sub-bus SB. The address decoder 33a-2 receives a main bus write control signal WEA, and the address decoder 33b-2 outputs a sub bus write control signal WE.
B is supplied, the address decoder 33a-1 controls only the writing of data from the main bus MB, and the address decoder 33b-1 controls only the writing of data from the sub-bus SB.

【0065】例えば、アドレス00H〜FFH(16進
表示)を共有メモリ33の全アドレスとして設定したと
すると図11(B)に示すようにメモリ33b−1には
00H〜7FHが割り振られ、メモリ33a−1にはア
ドレス80H〜FFHが割り振られ、メモリ33a−1
にはメインバスMBから書込みデータが供給され、メモ
リ33b−1にはサブバスSBから書込みデータが供給
され、読み出しデータはゲート33a−3,33b−3
を介してメインバスMB、及びサブバスSBに供給され
る。
For example, if addresses 00H to FFH (hexadecimal notation) are set as all addresses of the shared memory 33, 00H to 7FH are allocated to the memory 33b-1 as shown in FIG. -1 are assigned addresses 80H to FFH, and the memory 33a-1
Is supplied with write data from the main bus MB, the memory 33b-1 is supplied with write data from the sub-bus SB, and the read data is supplied to the gates 33a-3 and 33b-3.
Are supplied to the main bus MB and the sub-bus SB via

【0066】このとき、データの書き込み、読み出しの
タイミングは図11(C),(D)に示すタイミングで
行なわれる。ゲート33a−3,33b−3はアドレス
デコーダ33a−2,33b−2から出力切換信号を供
給される。アドレスデコーダ33a−2,33b−2は
アドレスが自分が管理しているアドレス以外のときには
他のメモリの出力データを出力するようにゲート33a
−3,33b−3を制御する。
At this time, data is written and read at the timings shown in FIGS. 11 (C) and 11 (D). The gates 33a-3 and 33b-3 are supplied with output switching signals from the address decoders 33a-2 and 33b-2. The address decoders 33a-2 and 33b-2 output the gate data of the other memory when the address is not the address managed by itself.
-3, 33b-3.

【0067】以上により、メモリ33aにはメインバス
MB系からのみ書込みが可能な構成とされ、メモリ33
bにはサブバスSB系からのみ書込みが可能な構成と
し、メモリ33a,33bからのデータの読み出しはメ
インバスMB、サブバスSBの両方から同時に読み出し
可能な構成とすることができる。このため、メインバス
MBからのデータの書き込みとサブバスSBからのデー
タの書き込みとが競合し合うことがなくデータを書き込
めると共に、読み出しもメモリ33a,33bから同時
に行なえるため、メモリ33a,33bへのアクセスの
競合がなくなり、主演算部30及び副演算部31でのデ
ータの処理を効率よく行なえる。
As described above, the memory 33a can be written only from the main bus MB system.
b can be written only from the sub-bus SB system, and data can be read from the memories 33a and 33b simultaneously from both the main bus MB and the sub-bus SB. Therefore, data can be written without competing between data writing from the main bus MB and data writing from the sub-bus SB, and reading can be performed simultaneously from the memories 33a and 33b. Access conflicts are eliminated, and data processing in the main processing unit 30 and the sub-processing unit 31 can be performed efficiently.

【0068】共有メモリ33は、データの読み出し時に
は主副演算部30,31のいずれに対応する領域に対し
てもアクセス可能で、主演算部30で演算されたデータ
を副演算部31、副演算部31で演算されたデータを主
演算部30に供給することができる。このため、データ
を主演算部30と副演算部31とで共有しつつ、データ
の処理が行なえるため、効率的なデータ処理が行なえ
る。
The shared memory 33 can access the area corresponding to any of the main and sub operation units 30 and 31 at the time of reading data. The data calculated by the unit 31 can be supplied to the main calculation unit 30. Therefore, data processing can be performed while sharing the data between the main processing unit 30 and the sub-processing unit 31, so that efficient data processing can be performed.

【0069】図12は、第1実施例におけるプログラム
実行時のマイクロプログラム実行部19の動作フローチ
ャートを示す。マイクロプログラム実行時部19ではま
ず、プログラムカウンタPCがリセットされる(ステッ
プS5−1)。次に命令キャッシュ29に命令があれば
命令キャッシュ29無いの命令を実行し、PCを更新す
る(ステップS5−2〜S5−4)。
FIG. 12 is a flowchart showing the operation of the microprogram execution unit 19 when executing a program in the first embodiment. First, in the microprogram execution section 19, the program counter PC is reset (step S5-1). Next, if there is an instruction in the instruction cache 29, the instruction of no instruction cache 29 is executed and the PC is updated (steps S5-2 to S5-4).

【0070】また、命令キャッシュ29に命令がなくな
るとパイプラインを停止して待機させ、ローカルメモリ
15から命令を読み込む(ステップS5−5)。以上命
令キャッシュ29にプログラムを保持することにより、
一命令毎にローカルメモリ15にアクセスして、プログ
ラムを読み出す必要がなくなり、したがって、プログラ
ム実行時にμプログラムの読み出しとグラフィック専用
ハードウェア部18からローカルメモリ15へのアクセ
スとが競合してしまうことがなく、データの処理を効率
よく実行できる。
When there are no more instructions in the instruction cache 29, the pipeline is stopped and made to wait, and the instructions are read from the local memory 15 (step S5-5). By holding the program in the instruction cache 29,
There is no need to access the local memory 15 for each instruction to read out the program. Therefore, when the program is executed, there is a conflict between the reading of the μ program and the access to the local memory 15 from the graphic dedicated hardware unit 18. And can efficiently execute data processing.

【0071】図13は、第1実施例の実行制御部28の
構成図を示す。実行制御部28は実行制御手段に相当
し、第1の実行制御手段に相当する主演算制御部28−
1、第2の実行制御手段に相当する副演算制御部28−
2、第3の実行制御手段に相当するグラフィック専用ハ
ードウェア制御部28−3、命令キャッシュ29からの
命令のフェッチを制御するフェッチ制御部28−4、グ
ラフィック専用ハードウェア制御部28−3の動作を制
御するパイプライン制御部28−5より構成される。
FIG. 13 is a block diagram of the execution control unit 28 according to the first embodiment. The execution control unit 28 corresponds to an execution control unit, and the main operation control unit 28- corresponds to a first execution control unit.
1. a sub-operation control unit 28- corresponding to a second execution control unit;
2. Operation of graphic dedicated hardware control unit 28-3 corresponding to third execution control means, fetch control unit 28-4 for controlling fetching of instructions from instruction cache 29, and graphic dedicated hardware control unit 28-3 Is controlled by a pipeline control unit 28-5.

【0072】主演算部28−1、副演算部28−2は情
報の流れを制御する制御パイプライン部28−11,,
28−21、命令キャッシュ29からの命令コードをデ
コードするデコード部28−12,28−22、データ
の流れを制御するデータパイプライン28−12,28
−22、共有レジスタ32、共有メモリ33へのアクセ
スを制御するデータアクセス制御部28−13,28−
23、データアドレスを生成するデータアクチュエータ
生成部28−14,28−24、データアドレス生成部
28−15,28−25で生成されたデータアドレスに
応じてアクセス競合を制御するためのパイプライン停止
要求信号を生成するアクセス競合制御部28−16,2
8−26、命令コードに応じた演算制御を行なう演算制
御部28−17,28−27、拡張演算時のデータの流
れを制御する拡張演算制御部28−18,28−28よ
り構成される。また、グラフィック専用ハードウェア制
御部28−3は制御パイプライン28−31より構成さ
れる。
The main operation unit 28-1 and the sub-operation unit 28-2 are control pipeline units 28-11,.
28-21, decoding units 28-12 and 28-22 for decoding instruction codes from the instruction cache 29, and data pipelines 28-12 and 28 for controlling data flow.
−22, data access control units 28-13 and 28− that control access to the shared register 32 and the shared memory 33.
23, a data actuator generating unit 28-14, 28-24 for generating a data address, and a pipeline stop request for controlling access competition according to the data address generated by the data address generating unit 28-15, 28-25. Access contention control units 28-16, 2 for generating signals
8-26, operation control units 28-17 and 28-27 for performing operation control according to the instruction code, and extended operation control units 28-18 and 28-28 for controlling the flow of data during the extended operation. Further, the graphic dedicated hardware control unit 28-3 includes a control pipeline 28-31.

【0073】主演算制御部28−1、副演算制御部28
−2、グラフィック専用ハードウェア制御部28−3は
パイプライン制御部28−5からの信号に応じて命令、
及びデータの流れを全体として動作が同期して行なわれ
るように制御する。パイプライン制御部28−5はフェ
ッチ制御部28−4、アクセス競合制御部28−16,
28−26、拡張演算制御部28−18,28−28か
ら発生するパイプライン停止要求(パイプライン延長要
求)に対して、各部からの要求を調停し、全ての延長要
求が解除されるまで、制御パイプライン部28−11に
ラッチ制御信号を供給し、パイプラインを停止させる。
Main operation control unit 28-1, sub operation control unit 28
-2, the graphic dedicated hardware control unit 28-3 issues an instruction in accordance with a signal from the pipeline control unit 28-5,
And controls the data flow so that the operations are performed in synchronism as a whole. The pipeline control unit 28-5 includes a fetch control unit 28-4, an access contention control unit 28-16,
In response to the pipeline stop request (pipeline extension request) generated from the extended operation control units 28-18 and 28-28, the request from each unit is arbitrated and until all the extension requests are released. A latch control signal is supplied to the control pipeline unit 28-11 to stop the pipeline.

【0074】フェッチ制御部28−4より発生する停止
要求は、必要とするプログラムがキャッシュメモリ上に
無く、外部メモリから読みだし操作が起動された(いわ
ゆるキャッシュミスビット)時に発生する。アクセス競
合制御部28−16,28−26より発生する停止要求
は、外部メモリに対するアクセスを実行する際の時間延
長時、またはR及びEステージで同時にメモリ読み出し
と書き込みが起きた場合に発生する。
The stop request generated by the fetch control unit 28-4 is generated when a required program is not in the cache memory and a read operation is started from the external memory (so-called cache miss bit). The stop request generated by the access contention control units 28-16 and 28-26 is generated when the time for executing the access to the external memory is extended, or when the memory read and the write are simultaneously performed in the R and E stages.

【0075】拡張演算制御部28−18,28−28よ
り発生する停止要求は、条件付きロード命令やストア命
令、乗算命令のように、1サイクルで実行を終了出来な
い命令が実行された場合に発生する。図14にパイプラ
イン制御部28−5の動作説明図を示す。図14は図1
3に示したブロック図の一部を機能でロックに分けたも
ので、図13のフェッチ制御部28−4がフェッチステ
ージ28a、デコード部28−14,28−24、デー
タアドレス生成部28−15,28−25がデコードス
テージ28b、アクセス競合制御部28−16,18−
26、データアクセス制御部28−13,28−23が
リードステージ28c、演算制御部28−17,28−
27、拡張演算制御部28−18,28−28、主演算
部30、副演算部31が実行ステージ28d、制御パイ
プライン28−11が各ステージ28a,28b,28
c,28d間に設けられた制御パイプライン28e,2
8f,28g,28hに相当する。
A stop request generated by the extended operation control units 28-18 and 28-28 is generated when an instruction such as a conditional load instruction, a store instruction, or a multiplication instruction that cannot be completed in one cycle is executed. Occur. FIG. 14 is a diagram for explaining the operation of the pipeline control unit 28-5. FIG. 14 shows FIG.
3 is divided into locks by function. The fetch control unit 28-4 of FIG. 13 includes a fetch stage 28a, decode units 28-14, 28-24, and a data address generation unit 28-15. , 28-25 are the decoding stage 28b and the access contention control units 28-16, 18-
26, the data access control units 28-13 and 28-23 are read stage 28c, and the operation control units 28-17 and 28-
27, extended operation control units 28-18, 28-28, main operation unit 30, sub operation unit 31 is execution stage 28d, and control pipeline 28-11 is each stage 28a, 28b, 28.
c, a control pipeline 28e, 2 provided between 28d
8f, 28g, 28h.

【0076】フェッチステージ28aはPC(プログラ
ムカウンタ)で示されるアドレスから1命令を読み出
す。デコードステージ28bは命令解決及びデータアク
セス用アドレス生成の実行を行なう。リードステージ2
8cはレジスタ,メモリ等よりデータを読み出す。
The fetch stage 28a reads one instruction from an address indicated by a PC (program counter). The decode stage 28b performs instruction resolution and data access address generation. Lead stage 2
8c reads data from a register, a memory or the like.

【0077】実行ステージ28dは演算及びレジスタ、
メモリ等へのデータの書き込みを行なう。フェッチステ
ージ28aとデコードステージ28bとの間にはトラン
スペアレントラッチよりなる制御パイプライン28e、
及びDフリップフロップよりなる制御パイプライン28
fが配置され、フェッチステージ28aでフェッチされ
た命令をパイプライン制御部28−5からのラッチ制御
信号(Latch EN) によりラッチすると共にパイプライ
ン制御部28−5からのパイプライン停止要求(Pipe-L
ine Stop) に応じてデコードステージ28bへ供給され
る命令を前の状態に保持させる。
The execution stage 28d includes an operation and a register,
Write data to a memory or the like. A control pipeline 28e composed of a transparent latch is provided between the fetch stage 28a and the decode stage 28b.
Control pipeline 28 consisting of D and flip-flops
f, an instruction fetched in the fetch stage 28a is latched by a latch control signal (Latch EN) from the pipeline control unit 28-5, and a pipeline stop request (Pipe- L
(ine Stop), the instruction supplied to the decode stage 28b is held in the previous state.

【0078】デコードステージ28bとリートステージ
28cとの間及びリードステージ28cと実行ステージ
28dとの間にはDフリップフロップよりなる制御パイ
プライン28f,28hが配置され、パイプライン制御
部28−5からのパイプライン停止要求(Pipe-Line St
op) に応じてリードステージ28c、実行ステージ28
dに供給される命令を前の状態に保持する。
Control pipelines 28f and 28h composed of D flip-flops are arranged between the decode stage 28b and the REIT stage 28c and between the read stage 28c and the execution stage 28d. Pipeline stop request (Pipe-Line St
op), the read stage 28c and the execution stage 28
Hold the instruction supplied to d in its previous state.

【0079】図15は実行制御部28の状態遷移図であ
り、図16乃至図19は実行制御部28の動作説明図で
ある。図15においてS0〜S5は異なる機能を示し、
(0,0),(0,1)(1,0),(1,1)は
(P,Q)のPが0又は1,Qが0又は1の状態である
ことを示しており、Pが0であればキャッシュミスは発
生していない状態、1であればキャッシュミスが発生し
た状態を示し、Qが0であればイベントが発生していな
い状態、1であればイベントが発生した状態を示す。ま
た、ASはラッチ制御信号(Latch EN) がアサートさ
れた状態を示す。
FIG. 15 is a state transition diagram of the execution control unit 28, and FIGS. 16 to 19 are explanatory diagrams of the operation of the execution control unit 28. In FIG. 15, S0 to S5 indicate different functions,
(0, 0), (0, 1) (1, 0), (1, 1) indicate that P of (P, Q) is 0 or 1, and Q is 0 or 1, If P is 0, no cache miss has occurred. If 1, P indicates a cache miss occurred. If Q is 0, no event has occurred. If 1 is 1, an event has occurred. Indicates the status. AS indicates a state in which the latch control signal (Latch EN) is asserted.

【0080】状態SDは(P,Q)=(0,0)の状
態、状態S1は(P,Q)=(0,0)→(0,1)の
状態、状態S2は(P,Q)=(0,1)→(1,1)
の状態、状態S3は(P,Q)=(1,1)→(1,
0)の状態、状態S4は(P,Q)=(0,0)→
(1,1)の状態、状態S5は(P,Q)=(1,1)
→(0,1)の状態を示す。
The state SD is (P, Q) = (0, 0), the state S1 is (P, Q) = (0, 0) → (0, 1), and the state S2 is (P, Q). ) = (0,1) → (1,1)
The state S3 is (P, Q) = (1, 1) → (1,
0), the state S4 is (P, Q) = (0, 0) →
The state of (1,1) and state S5 are (P, Q) = (1,1)
→ Indicates the state of (0, 1).

【0081】図16(A)はキャッシュミス以外の延長
要求のみが発生した場合、つまり、(P,Q)=(0,
1)の状態に遷移した場合(状態S0→S1)を示し、
この場合、反転ラッチ制御信号(反転Latch EN) がロ
ーレベルとなり、制御パイプライン28eを停止させA
S状態とすると共に反転パイプライン停止要求(反転Pi
pe-Line Stop) をローレベルとなり、制御パイプライン
28f,28g,28hを停止させる。
FIG. 16A shows a case where only an extension request other than a cache miss has occurred, that is, (P, Q) = (0,
A case where the state transits to the state of 1) (state S0 → S1)
In this case, the inverted latch control signal (Latch EN) becomes low level, the control pipeline 28e is stopped, and A
S state and inversion pipeline stop request (inversion Pi
pe-Line Stop) goes low to stop the control pipelines 28f, 28g, 28h.

【0082】図16(B)はキャッシュミス発生による
延長要求がある場合、つまり、(P,Q)=(1,0)
の状態に遷移する場合を示し、この場合、反転パイプラ
イン停止要求(反転Pipe-Line Stop) がローレベルとな
り制御パイプライン28f,28g,28hを停止させ
る。図17(A)にキャッシュミス発生の1サイクル前
に他の延長要求があり後に、キャッシュミスが解除され
た場合、つまり、(P,Q)=(0,1)→(1,1)
→(0,1)状態S1→S2→S1の遷移を行なう場合
を示し、この場合、状態S1と同じ状態を保持する。つ
まり、反転パイプライン停止要求(反転Pipe-Line Sto
p) をロー、反転ラッチ制御信号(反転Latch EN) を
ローとし、制御パイプライン28e〜28hをすべて停
止させる。
FIG. 16B shows a case where there is an extension request due to the occurrence of a cache miss, that is, (P, Q) = (1, 0).
In this case, the inverted pipeline stop request (inverted Pipe-Line Stop) becomes low level, and the control pipelines 28f, 28g, and 28h are stopped. FIG. 17A shows a case where another extension request is issued one cycle before the occurrence of a cache miss and then the cache miss is released, that is, (P, Q) = (0, 1) → (1, 1).
→ (0, 1) A state where a transition is made from state S1 → S2 → S1 is shown. In this case, the same state as state S1 is maintained. That is, the inversion pipeline stop request (inversion Pipe-Line Sto
p) is set low, the inverted latch control signal (Latch EN) is set low, and all the control pipelines 28e to 28h are stopped.

【0083】図17(B)にキャッシュミス発生の1サ
イクル前に他の延長要求があり、後に延長要求が解除さ
れた場合、つまり、(P,Q)=(0,1)→(1,
1)→(1,0)、状態S1→S2→S3の遷移を行な
う場合を示しており、この場合、図17(A)と同様な
状態に保持する。図18(A)はキャッシュミスと他の
延長要求が同時に発生し、同時に解除する場合、(P,
Q)=(0,0)→(1,1)→(0,0)を示し、こ
の場合、反転パイプライン停止要求(反転Pipe-Line St
op) のみがローレベルとされ、制御パイプライン28f
〜28hが停止され(0,0)となると同時に反転パイ
プライン停止要求(反転Pipe-Line Stop) がハイレベル
とされ、制御パイプライン28f〜28hの停止が解除
される。
FIG. 17B shows a case where another extension request is issued one cycle before the occurrence of a cache miss and the extension request is released later, that is, (P, Q) = (0, 1) → (1,
1) → (1, 0) and the transition from state S1 → S2 → S3 are performed. In this case, the state is maintained as in FIG. 17 (A). FIG. 18A shows a case where a cache miss and another extension request are generated at the same time and released at the same time.
Q) = (0,0) → (1,1) → (0,0). In this case, an inverted pipeline stop request (inverted Pipe-Line St
op) is set to low level and the control pipeline 28f
28h are stopped (0, 0), and at the same time, the inverted pipeline stop request (inverted Pipe-Line Stop) is set to the high level, and the stop of the control pipelines 28f to 28h is released.

【0084】図18(B)はキャッシュミスと他の延長
要求が同時に発生し、後に延長要求が解除された場合、
(P,Q)=(0,0)→(1,1)→(0,1)→
(0,0)を示し、この場合、図18(A)と同様な状
態に保持し、(0,0)と同時に復帰する。図19
(A)はキャッシュミスと他の延長要求が同時に発生
し、後にキャッシュミスのみが解除されその後、延長要
求が解除された場合つまり、(P,Q)=(0,0)→
(1,1)→(0,1)→(0,0)を示し、この場
合、(P,Q)=(1,1)となると反転パイプライン
停止要求(Pipe-Line Stop) がローレベルとなり、制御
パイプライン28f〜28hが停止され、(P,Q)=
(1,1)→(0,1)では制御パイプライン28f〜
28hが停止されたまま反転ラッチ制御信号(反転Latc
h EN) がローレベルとなり、制御パイプライン28e
がラッチ制御され、(0,0)で復帰する。
FIG. 18B shows a case where a cache miss and another extension request occur at the same time, and the extension request is released later.
(P, Q) = (0,0) → (1,1) → (0,1) →
(0, 0). In this case, the state is maintained as in FIG. FIG.
(A) is a case where a cache miss and another extension request occur at the same time, only the cache miss is subsequently released, and then the extension request is released. That is, (P, Q) = (0, 0) →
(1,1) → (0,1) → (0,0). In this case, when (P, Q) = (1,1), the inverted pipeline stop request (Pipe-Line Stop) becomes low level. And the control pipelines 28f to 28h are stopped, and (P, Q) =
In (1,1) → (0,1), the control pipeline 28f ~
28h is stopped and the inverted latch control signal (Latc inverted)
h EN) becomes low level and the control pipeline 28e
Are latched and returned at (0,0).

【0085】図19(B)はキャッシュミス発生の1サ
イクル前に他の延長要求があり、その後キャッシュミス
及び延長要求が同時に解除された場合、(P,Q)=
(0,0)→(0,1)→(1,1)→(0,0)を示
し、この場合、(P,Q)=(0,1)になると反転ラ
ッチ制御信号(反転Latch EN)及び反転パイプライン
停止要求(反転Pipe-Line Stop) がローレベルとなり、
制御パイプライン28e〜28hがラッチ状態に制御さ
れ、(P,Q)=(1,1)となっても同様の状態を保
持し、(P,Q)=(0,0)で復帰する。
FIG. 19B shows a case where another extension request is issued one cycle before the occurrence of a cache miss, and then the cache miss and the extension request are simultaneously released. Then, (P, Q) =
(0,0) → (0,1) → (1,1) → (0,0). In this case, when (P, Q) = (0,1), the inverted latch control signal (Latch EN ) And the inverted pipeline stop request (inverted Pipe-Line Stop) go low,
The control pipelines 28e to 28h are controlled to the latched state, maintain the same state even when (P, Q) = (1, 1), and return when (P, Q) = (0, 0).

【0086】以上のようにして、制御パイプライン28
f〜28hによりデコードステージ28b,リードステ
ージ28c,実行ステージ28dを待機状態に保持でき
ると共に、制御パイプライン28eによりフェッチステ
ージ28aでフェッチされた命令を待機させ、フェッチ
ステージ28aにより次の命令をフェッチ可能となる。
As described above, the control pipeline 28
The decode stage 28b, the read stage 28c, and the execution stage 28d can be held in a standby state by f to 28h, the instruction fetched in the fetch stage 28a can be made to wait by the control pipeline 28e, and the next instruction can be fetched by the fetch stage 28a. Becomes

【0087】したがって、制御パイプライン28e〜2
8hにより各制御部28−1,─28−2,28−3で
の処理状態を同期させながら処理でき、例えば上述した
マイクロプログラム実行部19の処理をグラフィックハ
ードウェア18の処理に同期させながら三次元グラフィ
ック処理を高速で実行することを可能としている。本実
施例によれば、各種描画制御、メモリ管理・制御を非同
期・並列実行できるグラフィック専用ハードウェア部を
プログラム制御できるため、すでに処理方法が確定して
いて、メモリと結合して処理する必要がある。処理はグ
ラフィック専用ハードウェア部で実行し、各種アプリケ
ーションに対応するデータ管理や、音声データや他のメ
ディアデータ等の処理はマイクロプログラム実行部でグ
ラフィック専用ハードウェア部と同期させながら実行さ
せることにより、高速で効率的な情報処理を行なうこと
が可能となる。
Therefore, the control pipelines 28e to 28e-2
8h, processing can be performed while synchronizing the processing states of the control units 28-1, # 28-2, and 28-3. For example, tertiary processing can be performed while synchronizing the processing of the microprogram execution unit 19 with the processing of the graphic hardware 18. The original graphic processing can be executed at high speed. According to this embodiment, since the graphics-specific hardware unit capable of asynchronously / parallel execution of various drawing control and memory management / control can be program-controlled, the processing method has already been determined, and it is necessary to perform processing in combination with the memory. is there. The processing is executed by the graphics-dedicated hardware unit, and the data management corresponding to various applications and the processing of audio data and other media data are executed by the microprogram execution unit in synchronization with the graphics-dedicated hardware unit. High-speed and efficient information processing can be performed.

【0088】ところで、図2に示すグラフィック専用ハ
ードウェア部18は、マイクロプログラム実行部19、
フレームメモリ制御部20、ローカルメモリ制御部21
及びテクスチュアメモリ制御部22等の図示を省略する
と、基本的には図20に示す構成を有する。図20中、
図2と同一部分には同一符号を付し、その説明は省略す
る。
By the way, the graphic dedicated hardware unit 18 shown in FIG.
Frame memory control unit 20, local memory control unit 21
If the illustration of the texture memory control unit 22 and the like is omitted, the configuration basically has the configuration shown in FIG. In FIG.
The same parts as those in FIG. 2 are denoted by the same reference numerals, and description thereof will be omitted.

【0089】上記の如く、ローカルメモリ15にはSD
RAM等の高速アクセスが可能なメモリを用いることが
でき、テクスチュアメモリ16にもSDRAM、SRA
M、PROM等の高速アクセスが可能なメモリを用いる
ことができる。しかし、フレームメモリ14には表示部
17との接続上デュアルポートVRAM等が用いられる
のが一般的である。このデュアルポートVRAMは、表
示のためのデータ読み出しが画像生成のためのデータ読
み書きを妨げないために読み出し専用の端子を備えた
り、データの一括書き込み等の機能を有するものの、ア
クセス速度はあまり速くないので、全体のパイプライン
処理はフレームメモリ14のアクセス速度により決定さ
れてしまう。
As described above, the local memory 15 has the SD
A memory such as a RAM that can be accessed at a high speed can be used, and the texture memory 16 can be used as the SDRAM or the SRA.
A memory that can be accessed at high speed, such as an M or PROM, can be used. However, a dual port VRAM or the like is generally used as the frame memory 14 for connection to the display unit 17. This dual-port VRAM has a read-only terminal to prevent data reading for display from interfering with data reading and writing for image generation, and has a function of batch writing of data, but the access speed is not very fast. Therefore, the entire pipeline processing is determined by the access speed of the frame memory 14.

【0090】そこで、フレームメモリ14にもSDRA
M等の高速アクセスが可能なメモリを用いることが考え
られるが、表示部17との接続等を考慮すると、現存す
るシステムとの互換性が取れなくなってしまい、表示部
17等の構成を変更しなければならずあまり好ましくな
い。つまり、図20の構成では、ローカルメモリ15及
びテクスチュアメモリ16に高速アクセスが可能なメモ
リを用いても、最もアクセス要求が多いフレームメモリ
14にアクセス速度が比較的遅いVRAMを用いるの
で、ローカルメモリ15及びテクスチュアメモリ16に
用いる高速アクセスが可能なメモリのメリットをフルに
生かすことは難しい。又、個々のメモリには、リフレッ
シュ等の処理の流れとは無関係な別要因によるアクセス
待ち時間が生じる。このため、仮にローカルメモリ15
がアクセス可能な状態であっても、テクスチュアメモリ
16がアクセス待ち状態にあると、テクスチュア処理部
24の動作が完了するまで描画条件判定部25の動作が
待たされる。このように、個々のメモリ毎に発生するア
クセス待ち時間によっても全体のパイプライン処理が乱
されることになる。
Therefore, the SDRA is also stored in the frame memory 14.
It is conceivable to use a memory that can be accessed at high speed, such as M, but if connection with the display unit 17 is taken into consideration, compatibility with existing systems cannot be obtained, and the configuration of the display unit 17 and the like will be changed. Must be less preferred. In other words, in the configuration shown in FIG. 20, even if a memory capable of high-speed access is used for the local memory 15 and the texture memory 16, a VRAM having a relatively slow access speed is used for the frame memory 14 which has the highest access request. It is difficult to fully utilize the merit of the high-speed accessible memory used for the texture memory 16. Each memory has an access waiting time due to another factor unrelated to the flow of processing such as refreshing. Therefore, if the local memory 15
When the texture memory 16 is in an access waiting state even when the texture memory 16 is accessible, the operation of the drawing condition determination unit 25 waits until the operation of the texture processing unit 24 is completed. As described above, the entire pipeline processing is disturbed by the access waiting time generated for each memory.

【0091】そこで、現存するシステムとの互換性を保
ちつつ高速アクセスが可能なメモリのメリットをフルに
生かし、全体のパイプライン処理を更に高速化すること
のできる実施例を次に説明する。図21は、本発明にな
る情報処理装置の第2実施例の要部の概略構成を示すブ
ロック図である。同図中、図2と同一部分には同一符号
を付し、その説明は省略する。図21では、表示部17
を制御する表示制御部や図2に示すマイクロプログラム
実行部19、フレームメモリ制御部20、ローカルメモ
リ制御部21及びテクスチュアメモリ制御部22等の図
示を省略する。本実施例では、テクスチュア処理部24
及び描画条件判定部25が並列に処理を行う構成となっ
ている。
An embodiment that can further speed up the entire pipeline processing by fully utilizing the merit of the memory that can be accessed at high speed while maintaining compatibility with the existing system will be described below. FIG. 21 is a block diagram showing a schematic configuration of a main part of a second embodiment of the information processing apparatus according to the present invention. 2, the same parts as those of FIG. 2 are denoted by the same reference numerals, and the description thereof will be omitted. In FIG. 21, the display unit 17
The illustration of the display control unit for controlling the operation, the microprogram execution unit 19, the frame memory control unit 20, the local memory control unit 21, the texture memory control unit 22, and the like shown in FIG. In the present embodiment, the texture processing unit 24
And the drawing condition determination unit 25 performs processing in parallel.

【0092】図21に示すグラフィック専用ハードウェ
ア部18は、図示の如く接続された同一構成を有するD
DA部23−1,23−2、テクスチュア処理部24、
描画条件判定部25、バッファ51−1,51−2、及
びブレンダ部26からなる。DDA部23−1,23−
2は、夫々これらを制御する制御部23−1a,23−
2aを含む。テクスチュア処理部24はこれを制御する
制御部24aを含み、描画条件判定部25はこれを制御
する制御部25aを含む。バッファ51−1,51−2
は、夫々これらを制御する制御部51−1a,51−2
aを含む。又、ブレンダ部26はこれを制御する制御部
26aを含む。フレームメモリ14はこれを制御する制
御部14aを含む。
The graphic-specific hardware unit 18 shown in FIG. 21 is connected to the D
DA units 23-1, 23-2, texture processing unit 24,
It comprises a drawing condition determination unit 25, buffers 51-1 and 51-2, and a blender unit 26. DDA units 23-1, 23-
2 are control units 23-1a, 23-
2a. The texture processing unit 24 includes a control unit 24a for controlling the texture processing unit, and the drawing condition determination unit 25 includes a control unit 25a for controlling the drawing unit. Buffers 51-1 and 51-2
Are control units 51-1a and 51-2 for controlling these, respectively.
a. Further, the blender unit 26 includes a control unit 26a for controlling the blender. The frame memory 14 includes a control unit 14a for controlling this.

【0093】多角形は、図22に示すように、表示部1
7の画素(ピクセル)によって近似的に表現される。上
位装置であるホストコンピュータ12は、図22に示す
ピクセルのうち、水平方向上描画するべきピクセルの始
点と変化量を算出してDDA部23−1,23−2の夫
々に供給する。DDA部23−1,23−2は、各々ホ
ストコンピュータ12からの情報に基づいて個々のピク
セルに描画するべき値を算出し、テクスチュア処理部2
4、描画条件判定部25及びブレンダ部26は以下に説
明する処理をピクセル毎に行う。
The polygon is, as shown in FIG.
It is approximately represented by seven pixels. The host computer 12, which is a higher-level device, calculates the starting point and the amount of change of the pixel to be drawn in the horizontal direction among the pixels shown in FIG. The DDA units 23-1 and 23-2 calculate values to be drawn on individual pixels based on information from the host computer 12, respectively.
4. The drawing condition determination unit 25 and the blender unit 26 perform the processing described below for each pixel.

【0094】テクスチュアメモリ16には、多角形に模
様等を付けるために用意された色データやα値からなる
テクスチュアデータを格納する。フレームメモリ14
は、表示部17により表示するべき多角形の色データを
格納する。ローカルメモリ15は、マイクロプログラ
ム、色データ、α値、奥行に関するZ値等の描画データ
やユーザデータを格納する。尚、フレームメモリ14、
ローカルメモリ15及びテクスチュアメモリ16のうち
少なくとも2つのメモリを単一のメモリ装置により構成
しても良いことは言うまでもない。
The texture memory 16 stores color data prepared for attaching a pattern or the like to a polygon and texture data composed of α values. Frame memory 14
Stores color data of a polygon to be displayed by the display unit 17. The local memory 15 stores drawing data and user data such as microprograms, color data, α values, and Z values related to depth. Note that the frame memory 14,
It goes without saying that at least two of the local memory 15 and the texture memory 16 may be constituted by a single memory device.

【0095】テクスチュア処理部24は、テクスチュア
メモリ16からのテクスチュアデータを読み出してピク
セルに模様を張り付ける処理を行う。描画条件判定部2
5は、ローカルメモリ15から奥行データ等を読み出し
てピクセルを描画するべきか否かを判定する。又、ブレ
ンダ部26は、描画するべきピクセルに対して、既に描
画されているピクセルの奥行データ等をローカルメモリ
15から読み出して描画するべき色データとブレンド
(混合)し、最終的にフレームメモリ14に書き込むデ
ータを求める。
The texture processing section 24 reads the texture data from the texture memory 16 and pastes the pattern on the pixel. Drawing condition determination unit 2
5 determines whether to read depth data or the like from the local memory 15 and draw a pixel. Also, the blender unit 26 reads the depth data and the like of the already drawn pixels from the local memory 15 for the pixels to be drawn and blends (mixes) them with the color data to be drawn. Find the data to be written to

【0096】本実施例では、図2に示すフレームメモリ
14に格納されているのと同じ色データ及びα値をロー
カルメモリ15に格納する。又、グラフィック専用ハー
ドウェア部18からフレームメモリ14に対しては、書
き込みのみを行うようにして、図2の第1実施例ではフ
レームメモリ14から読み出していた色データ及びα値
を他のデータと共にローカルメモリ15から読み出す。
つまり、フレームメモリ14からの読み出しは、表示部
17からのみ行われる。ローカルメモリ15は、表示部
17に直接接続されるものではないので、SDRAM等
の高速アクセスが可能なメモリをローカルメモリ15と
して使用することができる。これにより、フレームメモ
リ14に図2の第1実施例と同様にデュアルポートVR
AMを使用しても、フレームメモリ15に対するアクセ
ス頻度は第1実施例の場合の約半分になり、システム全
体としての処理効率を向上することができる。
In this embodiment, the same color data and α values as those stored in the frame memory 14 shown in FIG. Also, only writing is performed from the graphic dedicated hardware unit 18 to the frame memory 14, so that the color data and the α value read from the frame memory 14 in the first embodiment of FIG. Read from the local memory 15.
That is, reading from the frame memory 14 is performed only from the display unit 17. Since the local memory 15 is not directly connected to the display unit 17, a memory that can be accessed at a high speed such as an SDRAM can be used as the local memory 15. Thereby, the dual port VR is stored in the frame memory 14 as in the first embodiment of FIG.
Even if the AM is used, the access frequency to the frame memory 15 is about half that of the first embodiment, and the processing efficiency of the entire system can be improved.

【0097】更に、ローカルメモリ15をアクセスして
行う描画条件判定部25の処理と、テクスチュアメモリ
16をアクセスして行うテクスチュア処理部24の処理
とは、互いに並列に行われる。このため、描画条件判定
部25はローカルメモリ15に最適なタイミングで動作
することができ、テクスチュア処理部24もテクスチュ
アメモリ16に最適なタイミングで動作することができ
る。
Further, the processing of the drawing condition determination unit 25 accessing the local memory 15 and the processing of the texture processing unit 24 accessing the texture memory 16 are performed in parallel with each other. Therefore, the drawing condition determination unit 25 can operate at the optimal timing for the local memory 15, and the texture processing unit 24 can operate at the optimal timing for the texture memory 16.

【0098】ブレンダ部26では、描画条件判定部25
及びテクスチュア処理部24の両方の処理結果を統合す
るので、描画条件判定部25及びテクスチュア処理部2
4の両方の処理結果を受け取らない限りブレンド処理を
進めることができない。他方、描画条件判定部25及び
テクスチュア処理部24の処理は、システム全体として
の処理とは非同期に行われるので、バッファ51−1,
51−2がブレンダ部26と描画条件判定部25及びテ
クスチュア処理部24との間に設けられている。
In the blender unit 26, the drawing condition determination unit 25
And the processing results of both the texture processing unit 24 and the drawing condition determination unit 25 and the texture processing unit 2 are integrated.
The blending process cannot proceed unless both processing results of Step 4 are received. On the other hand, the processing of the drawing condition determination unit 25 and the texture processing unit 24 is performed asynchronously with the processing of the entire system.
51-2 is provided between the blender unit 26, the drawing condition determination unit 25, and the texture processing unit 24.

【0099】バッファ51−1は、描画条件判定部25
の処理結果を一時的に保持する。これにより、ブレンダ
部26の処理が止ってブレンダ部26がデータを受け取
れない状態であっても、バッファ51−1がブレンダ部
26が受け取るべきデータを一時的に保持することで、
描画条件判定部25は次のデータの処理を進めることが
可能となる。同様にして、バッファ51−2は、テクス
チュア処理部24の処理結果を一時的に保持する。これ
により、ブレンダ部26の処理が止ってブレンダ部26
がデータを受け取れない状態であっても、バッファ51
−2がブレンダ部26が受け取るべきデータを一時的に
保持することで、テクスチュア処理部24は次のデータ
の処理を進めることが可能となる。バッファ51−1,
51−2は、例えば複数ピクセル分のデータを保持する
構成とすれば、複数ピクセル分だけブレンダ部26の状
態に拘らず先行して処理を進めることができる。これに
より、最終的にはブレンダ部26でデータが矛盾なく処
理されるための同期を取りつつ描画条件判定部25及び
テクスチュア処理部24が互いに非同期に処理を進める
という、効率的な調停が行われる。
The buffer 51-1 is provided in the drawing condition determination section 25.
The processing result of is temporarily stored. As a result, even when the processing of the blender unit 26 is stopped and the blender unit 26 cannot receive data, the buffer 51-1 temporarily stores data to be received by the blender unit 26.
The drawing condition determination unit 25 can proceed with the processing of the next data. Similarly, the buffer 51-2 temporarily holds the processing result of the texture processing unit 24. As a result, the processing of the blender unit 26 is stopped and the blender unit 26 is stopped.
Buffer 51 cannot receive data.
-2 temporarily holds the data to be received by the blender unit 26, so that the texture processing unit 24 can proceed with the processing of the next data. Buffers 51-1,
If the 51-2 is configured to hold, for example, data for a plurality of pixels, the process can proceed in advance for a plurality of pixels regardless of the state of the blender unit 26. As a result, efficient arbitration is performed, in which the rendering condition determination unit 25 and the texture processing unit 24 proceed with processing asynchronously with each other while synchronizing for the data to be processed without contradiction in the blender unit 26. .

【0100】次に、図20に示すグラフィック専用ハー
ドウェア部18及び図21に示すグラフィック専用ハー
ドウェア部18の処理シーケンスを図23及び図24と
共に説明する。図23は、図20に示すグラフィック専
用ハードウェア部18の処理シーケンスを示す図であ
り、図24は、図21に示すグラフィック専用ハードウ
ェア部18の処理シーケンスを示す図である。
Next, the processing sequence of the graphic dedicated hardware unit 18 shown in FIG. 20 and the graphic dedicated hardware unit 18 shown in FIG. 21 will be described with reference to FIG. 23 and FIG. FIG. 23 is a diagram showing a processing sequence of the graphic-dedicated hardware unit 18 shown in FIG. 20, and FIG. 24 is a diagram showing a processing sequence of the graphic-dedicated hardware unit 18 shown in FIG.

【0101】図23中、「DDA」はDDA部23によ
る処理、「テクスチュアメモリリード」はテクスチュア
メモリ16からの読み出し処理、「テクスチュア処理」
はテクスチュア処理部24による処理、「ローカルメモ
リリード」はローカルメモリ18からの読み出し処理、
「描画条件判定」は描画条件判定部25の処理、「フレ
ームメモリリード」はフレームメモリ14からの読み出
し処理、及び「ブレンド処理」はブレンダ部26による
処理を示す。又、数字の「1」、「2」、...は、各
処理の対応関係を示す。つまり、例えば「テクスチュア
メモリリード1」なる処理は、「DDA 1」なる処理
に対して行われ、「テクスチュア処理1」なる処理は、
「テクスチュアメモリリード 1」なる処理に対して行
われる。
In FIG. 23, "DDA" indicates processing by the DDA unit 23, "texture memory read" indicates reading processing from the texture memory 16, and "texture processing".
Is a process by the texture processing unit 24, "local memory read" is a process of reading from the local memory 18,
"Drawing condition determination" indicates processing by the drawing condition determination unit 25, "frame memory read" indicates processing for reading from the frame memory 14, and "blend processing" indicates processing by the blender unit 26. The numbers "1", "2",. . . Indicates the correspondence between the processes. That is, for example, the process of “texture memory read 1” is performed on the process of “DDA 1”, and the process of “texture process 1” is
This is performed for the process of “texture memory read 1”.

【0102】図23からもわかるように、この場合のフ
レームメモリ14に対するアクセス頻度は比較的高い。
又、例えば「フレームメモリライト 1」なる処理は、
同じフレームメモリ14による「フレームメモリリード
2」なる処理が実行中であるために、この「フレーム
メモリリード 2」なる処理が終了するまで待ち状態と
なる。同様の理由で、例えば「フレームメモリリード
3」なる処理は、同じフレームメモリ14による「フレ
ームメモリライト 1」なる処理が実行中であるため
に、この「フレームメモリライト 1」なる処理が終了
するまで待ち状態となる。尚、図23ではフレームメモ
リ14のリード処理及びライト処理が他の処理の約2倍
の時間を要するものとして図示されているが、実際には
他の処理の2倍以上の時間を必要とすることが多い。
As can be seen from FIG. 23, the frequency of access to the frame memory 14 in this case is relatively high.
For example, the process of “frame memory write 1”
Since the process of “frame memory read 2” by the same frame memory 14 is being executed, the process waits until the process of “frame memory read 2” is completed. For the same reason, for example, "frame memory read
The process "3" is in a standby state until the process "frame memory write 1" is completed because the process "frame memory write 1" by the same frame memory 14 is being executed. In FIG. 23, the read processing and the write processing of the frame memory 14 are illustrated as requiring about twice as much time as other processing. Often.

【0103】図24中、図23と同一部分には同一符号
を付す。又、「DDA1」は図21に示すDDA部23
−1による処理を示し、「DDA2」は図21に示すD
DA部23−2による処理を示す。図24の場合、処理
シーケンスは大きく分けて3つの流れに分れている。つ
まり、テクスチュア処理部24に関連した処理の流れ
と、描画条件判定部25に関連した処理の流れと、ブレ
ンダ部26に関連した処理の流れとがある。
In FIG. 24, the same parts as those in FIG. 23 are denoted by the same reference numerals. “DDA1” is the DDA unit 23 shown in FIG.
−1, and “DDA2” is the D
The processing by the DA unit 23-2 is shown. In the case of FIG. 24, the processing sequence is roughly divided into three flows. That is, there is a flow of processing related to the texture processing unit 24, a flow of processing related to the drawing condition determination unit 25, and a flow of processing related to the blender unit 26.

【0104】図24を図23と比較するとわかるよう
に、図24の場合には全体のパイプライン自体が短く、
グラフィック専用ハードウェア部18からはフレームメ
モリ14に対するリード処理がなく、ライト処理のみが
存在するので、処理効率が図23の場合より向上されて
いる。又、フレームメモリ14からのリード処理に妨げ
られることなく即座にフレームメモリ14へのライト処
理を行えるので、パイプラインの乱れも少ない。更に、
グラフィック専用ハードウェア部18からはフレームメ
モリ14に対してライト処理のみが行われるので、フレ
ームメモリ14に対してより効率的なアクセス方法を選
択することも可能である。
As can be seen by comparing FIG. 24 with FIG. 23, in the case of FIG. 24, the entire pipeline itself is short,
Since there is no read processing to the frame memory 14 from the graphic dedicated hardware unit 18 and only write processing, the processing efficiency is improved as compared with the case of FIG. Further, since the write processing to the frame memory 14 can be performed immediately without being hindered by the read processing from the frame memory 14, the disturbance of the pipeline is small. Furthermore,
Since only the write processing is performed on the frame memory 14 from the graphic dedicated hardware unit 18, it is possible to select a more efficient access method for the frame memory 14.

【0105】図25は、リフレッシュ等によるアクセス
停止要因が発生した場合の図20に示すグラフィック専
用ハードウェア部18の処理シーケンスを示す図であ
り、図26は、リフレッシュ等によるアクセス停止要因
が発生した場合の図21に示すグラフィック専用ハード
ウェア部18の処理シーケンスを示す図である。図25
及び図26中、図23及び図24と同一部分には同一符
号を付し、その説明は省略する。
FIG. 25 is a diagram showing a processing sequence of the graphic dedicated hardware unit 18 shown in FIG. 20 when an access stop factor due to refresh or the like occurs. FIG. 26 shows an access stop factor due to refresh or the like. FIG. 22 is a diagram illustrating a processing sequence of the graphic-specific hardware unit 18 illustrated in FIG. 21 in the case. FIG.
26, the same parts as those in FIGS. 23 and 24 are denoted by the same reference numerals, and the description thereof will be omitted.

【0106】図25の場合、最初の「テクスチュアメモ
リリード 1」の後にテクスチュアメモリ16のリフレ
ッシュが開始されるため、それ以降のピクセルに関する
テクスチュア処理が停止する。このため、ローカルメモ
リ15がアクセス可能であるにも拘らず、最初の「ロー
カルメモリリード 1」以降テクスチュアメモリ16へ
のアクセスが行われない。その後、テクスチュアメモリ
16のリフレッシュが終了してテクスチュア処理が再開
されるが、今度はローカルメモリ15のリフレッシュが
開始されるので、同様にしてパイプラインが停止してし
まう。
In the case of FIG. 25, the refresh of the texture memory 16 is started after the first "texture memory read 1", so that the texture processing for the pixels thereafter is stopped. For this reason, although the local memory 15 is accessible, access to the texture memory 16 is not performed after the first “local memory read 1”. After that, the refresh of the texture memory 16 is completed and the texture processing is restarted. However, since the refresh of the local memory 15 is started this time, the pipeline is similarly stopped.

【0107】他方、図26の場合には、テクスチュア処
理がテクスチュアメモリ16のリフレッシュにより停止
し、「ブレンド処理 1」以降の全体の処理が停止して
いる間であっても、ローカルメモリ15に関連した処理
は引き続き行われている。又、描画条件判定部25まで
の処理結果は、バッファ51−1,51−2に保持され
る。この後、テクスチュアメモリ16のリフレッシュが
終了してテクスチュア処理部24の処理が再開される
と、今度はローカルメモリ15のリフレッシュが開始さ
れる。このように、ローカルメモリ15のリフレッシュ
が開始されて描画条件判定部25の処理が停止状態とな
っても、先行して処理済みのピクセルがバッファ51−
1,51−2に保持されているので、ブレンダ部26で
はそのままブレンド処理を進めることが可能である。
On the other hand, in the case of FIG. 26, the texture processing is stopped by the refresh of the texture memory 16 and even if the whole processing after the “blend processing 1” is stopped, the texture processing is not related to the local memory 15. The processing has been continued. Processing results up to the drawing condition determination unit 25 are stored in the buffers 51-1 and 51-2. Thereafter, when the refresh of the texture memory 16 is completed and the processing of the texture processing unit 24 is restarted, the refresh of the local memory 15 is started. As described above, even if the refresh of the local memory 15 is started and the processing of the drawing condition determination unit 25 is stopped, the pixels which have been processed earlier are stored in the buffer 51-.
1, 51-2, so that the blender unit 26 can proceed with the blending process as it is.

【0108】尚、リフレッシュは、必ずしも図25及び
図26のように行われるとは限らないが、図20の場合
ではパイプラインの動作がリフレッシュ等の動作停止要
因に大きく影響されるのに対し、図21の場合ではパイ
プライン動作がリフレッシュ等の動作停止要因にあまり
影響されないことがわかる。次に、ブレンダ部26の制
御部26a以外の制御部23−1a,23−2a,24
a,25a,51−1a,51−2a,14aの動作を
図27及び図28と共に説明する。図27は制御部26
a以外の制御部の入出力を示す図であり、図28は図2
7に示す制御部の動作説明用フローチャートである。
The refresh is not always performed as shown in FIGS. 25 and 26. In the case of FIG. 20, the operation of the pipeline is greatly affected by the operation stop factor such as refresh. In the case of FIG. 21, it can be seen that the pipeline operation is not so affected by the operation stop factors such as refresh. Next, the control units 23-1a, 23-2a, 24 other than the control unit 26a of the blender unit 26
The operations of a, 25a, 51-1a, 51-2a, and 14a will be described with reference to FIGS. FIG. 27 shows the control unit 26.
FIG. 28 is a diagram showing input / output of a control unit other than the control unit a.
8 is a flowchart for explaining the operation of the control unit shown in FIG.

【0109】制御部23−1a,23−2a,24a,
25a,51−1a,51−2a,14aは夫々同じ構
成を有するので、ここでは便宜上描画条件判定部25の
制御部25aを例に取って図27及び図28と共に説明
し、他の制御部23−1a,23−2a,24a,51
−1a,51−2a,14aの図示及び説明は省略す
る。
The control units 23-1a, 23-2a, 24a,
25a, 51-1a, 51-2a, and 14a have the same configuration. For convenience, the control unit 25a of the drawing condition determination unit 25 will be described with reference to FIGS. 27 and 28 for convenience. -1a, 23-2a, 24a, 51
Illustration and description of -1a, 51-2a, and 14a are omitted.

【0110】図27において、制御部25aには、前段
のブロックであるDDA部23−1からの書き込み要求
U−WE及び後段のブロックであるバッファ51−1か
らの書き込み可能応答LRDYが供給される。又、制御
部25aからは、前段のブロックであるDDA部23−
1への書き込み可能応答URDY及び後段のブロックで
あるバッファ51−1への書き込み要求L−WEが出力
される。つまり、制御部25aは制御情報U−WE,L
RDY,L−WE,URDYを前段及び後段のブロック
に対して入出力し、描画条件判定部25の本体は画像情
報に対して処理を施す。
In FIG. 27, the control unit 25a is supplied with a write request U-WE from the DDA unit 23-1, which is the preceding block, and a writable response LRDY from the buffer 51-1, which is the subsequent block. . Also, the control unit 25a sends a DDA unit 23-
1 and a write request L-WE to the buffer 51-1 which is a subsequent block are output. That is, the control unit 25a controls the control information U-WE, L
RDY, L-WE, and URDY are input and output to the preceding and subsequent blocks, and the main body of the drawing condition determination unit 25 performs processing on the image information.

【0111】制御部25aは、図28に示す如き処理を
行う。図28において、ステップS11は、内部にデー
タを保持しているか否かを判定し、判定結果がYESで
あるとステップS12で後段のブロックからの書き込み
可能応答LRDYに基づいて後段のブロックに書き込み
が可能であるか否かを判定する。ステップS11の判定
結果がNO、或いは、ステップS12の判定結果がYE
Sの場合、ステップS13で後段のブロックに対して書
き込み要求L−WEを出力して書き込みを要求すると共
に、前段のブロックに対して書き込み可能応答URDY
を出力して書き込みを許可する。ステップS14は、前
段のブロックから書き込み要求U−WEがあるか否かを
判定し、判定結果がYESであるとステップS15で前
段のブロックからのデータを制御部25a内部に取り込
むと共に、前段のブロックに対して書き込み不可とする
/URDYを出力する。他方、ステップS12の判定結
果がNOであると、ステップS16で後段のブロックに
対して書き込み要求L−WEを出力すると共に、前段の
ブロックに対して書き込み不可とする/URDYを出力
する。ステップS14の判定結果がNO及びステップS
15又はS16の後に、処理はステップS11へ戻る。
The control section 25a performs a process as shown in FIG. In FIG. 28, a step S11 decides whether or not data is held therein. If the decision result in the step S11 is YES, in the step S12 the writing to the subsequent block is performed based on the write enable response LRDY from the subsequent block. It is determined whether or not it is possible. If the decision result in the step S11 is NO, or the decision result in the step S12 is YE
In the case of S, in step S13, a write request L-WE is output to the subsequent block to request writing, and a write enable response URDY is sent to the previous block.
Is output to allow writing. A step S14 decides whether or not there is a write request U-WE from the preceding block. If the decision result is YES, the data from the preceding block is taken into the control unit 25a in a step S15, and the data of the preceding block is read. / URDY is output to disable writing. On the other hand, if the decision result in the step S12 is NO, a write request L-WE is output to a subsequent block in a step S16, and / URDY to disable writing is output to a preceding block. If the determination result of step S14 is NO and step S
After 15 or S16, the process returns to step S11.

【0112】次に、ブレンダ部26の制御部26aの動
作を図29及び図30と共に説明する。図29は制御部
26aの入出力を示す図であり、図30は図29に示す
制御部26aの動作説明用フローチャートである。図2
9において、制御部26aには、前段のブロックである
描画条件判定部25からの書き込み要求D−WE、前段
のブロックであるテクスチュア処理部24からの書き込
み要求T−WE、後段のブロックであるローカルメモリ
15からの書き込み可能応答LRDY、及び後段のブロ
ックであるフレームメモリ14からの書き込み可能応答
FRDYが供給される。又、制御部26aからは、前段
のブロックである描画条件判定部25への書き込み可能
応答DRDY、前段のブロックであるテクスチュア処理
部24への書き込み可能応答TRDY、後段のブロック
であるローカルメモリ15への書き込み要求L−WE、
及び後段のブロックであるフレームメモリ14への書き
込み要求F−WEが出力される。つまり、制御部26a
は制御情報D−WE,T−WE,LRDY,FRDY,
DRDY,TRDY,L−WE,F−WEを前段及び後
段のブロックに対して入出力し、ブレンダ部26の本体
は画像情報に対して処理を施す。
Next, the operation of the control unit 26a of the blender unit 26 will be described with reference to FIGS. FIG. 29 is a diagram showing input / output of the control unit 26a, and FIG. 30 is a flowchart for explaining the operation of the control unit 26a shown in FIG. FIG.
In FIG. 9, the control unit 26a includes a write request D-WE from the drawing condition determination unit 25 which is a preceding block, a write request T-WE from the texture processing unit 24 which is a preceding block, and a local request which is a subsequent block. A writable response LRDY from the memory 15 and a writable response FRDY from the frame memory 14, which is a subsequent block, are supplied. Also, the control unit 26a sends a write enable response DRDY to the drawing condition determination unit 25, which is the preceding block, a write enabled response TRDY to the texture processing unit 24, which is the previous block, and the local memory 15 which is a subsequent block. Write request L-WE,
Then, a write request F-WE to the frame memory 14, which is a subsequent block, is output. That is, the control unit 26a
Are control information D-WE, T-WE, LRDY, FRDY,
DRDY, TRDY, L-WE, and F-WE are input / output to the preceding and subsequent blocks, and the main body of the blender unit 26 processes the image information.

【0113】制御部26aは、図30に示す如き処理を
行う。図30において、ステップS21は、ブレンド処
理が終わり、内部にデータを保持しているか否かを判定
し、判定結果がYESであるとステップS22でローカ
ルメモリ15及びフレームメモリ14に対する書き込み
が可能であるか否かを書き込み可能応答LRDY,FR
DYに基づいて判定する。ステップS21の判定結果が
NO、或いは、ステップS22の判定結果がYESであ
ると、ステップS23でローカルメモリ15へ書き込み
要求L−WEを出力し、フレームメモリ14へ書き込み
要求F−WEを出力すると共に、描画条件判定部25へ
書き込み可能応答DRDYを出力し、テクスチュア処理
部24へ書き込み可能応答TRDYを出力する。他方、
ステップS22の判定結果がNOであると、ステップS
24はローカルメモリ15へ書き込みなしを示す/L−
WEを出力し、フレームメモリ14へ書き込みなしを示
す/F−WEを出力すると共に、描画条件判定部25へ
書き込み不可を示す/DRDYを出力し、テクスチュア
処理部24へ書き込み不可を示す/TRDYを出力す
る。ステップS24の後、処理はステップS21へ戻
る。
The control section 26a performs a process as shown in FIG. In FIG. 30, in step S21, it is determined whether or not the blending process is completed, and data is held therein. If the determination result is YES, writing to the local memory 15 and the frame memory 14 is possible in step S22. WRDY, FR
The determination is made based on DY. If the decision result in the step S21 is NO, or the decision result in the step S22 is YES, a write request L-WE is output to the local memory 15 in step S23, and a write request F-WE is output to the frame memory 14 and , Outputs a writable response DRDY to the drawing condition determination unit 25, and outputs a writable response TRDY to the texture processing unit 24. On the other hand,
If the decision result in the step S22 is NO, a step S22 is executed.
Numeral 24 indicates no writing to the local memory 15 / L-
WE is output, / F-WE indicating no writing is output to the frame memory 14, and / DRDY indicating no writing is output to the drawing condition determination unit 25, and / TRDY indicating no writing is output to the texture processing unit 24. Output. After step S24, the process returns to step S21.

【0114】ステップS23の後、ステップS25は描
画条件判定部25から書き込み要求D−WEがあるか否
かを判定し、判定結果がYESであるとステップS26
で描画条件判定部25からのデータを内部へ取り込み、
描画条件判定部25へ書き込み不可を示す/DRDYを
出力する。ステップS25の判定結果がNO又はステッ
プS26の後、ステップS27はテクスチュア処理部2
4からの書き込み要求T−WEがあるか否かを判定し、
判定結果がNOであると処理はステップS21へ戻る。
他方、ステップS27の判定結果がYESであると、ス
テップS28でテクスチュア処理部24からのデータを
内部へ取り込み、テクスチュア処理部24へ書き込み不
可を示す/TRDYを出力してから処理がステップS2
1へ戻る。
After step S23, a step S25 decides whether or not there is a write request D-WE from the drawing condition decision unit 25. If the decision result in the step S25 is YES, a step S26 is reached.
Fetches the data from the drawing condition determination unit 25 into
It outputs / DRDY indicating that writing is impossible to the drawing condition determination unit 25. If the decision result in the step S25 is NO or after the step S26, a step S27 is performed in the texture processing section 2
4 to determine whether there is a write request T-WE from
If the decision result is NO, the process returns to step S21.
On the other hand, if the decision result in the step S27 is YES, a step S28 takes in the data from the texture processing unit 24 into the inside, outputs / TRDY indicating that writing is impossible to the texture processing unit 24, and then proceeds to a step S2.
Return to 1.

【0115】図31は、第2実施例が適用されるシステ
ムの全体構成を示すブロック図である。同図中、三次元
画像生成表示システムは、図示の如く接続されたユーザ
入力装置61、ホストプロセッサ62、補助記憶装置6
3、ホストメモリ64、幾何変換プロセッサ65、ワー
クメモリ66、情報処理装置67、表示制御部68、及
びディスプレイ69からなる。ホストプロセッサ62
は、図21に示すホストコンピュータ12に対応する。
情報処理装置67は、ラスタライズプロセッサ67a及
びグラフィック専用ハードウェア部67bとを含み、グ
ラフィック専用ハードウェア部67bは図21に示すグ
ラフィック専用ハードウェア部18に対応する。又、デ
ィスプレイ69は、図21に示す表示部17に対応す
る。
FIG. 31 is a block diagram showing the overall configuration of a system to which the second embodiment is applied. In the figure, a three-dimensional image generation and display system includes a user input device 61, a host processor 62, and an auxiliary storage device 6 connected as shown.
3, a host memory 64, a geometric conversion processor 65, a work memory 66, an information processing device 67, a display control unit 68, and a display 69. Host processor 62
Corresponds to the host computer 12 shown in FIG.
The information processing device 67 includes a rasterizing processor 67a and a graphic-specific hardware unit 67b, and the graphic-specific hardware unit 67b corresponds to the graphic-specific hardware unit 18 illustrated in FIG. The display 69 corresponds to the display unit 17 shown in FIG.

【0116】ホストプロセッサ62は、三次元物体の座
標と視点、光源等の情報を管理する。これらの情報は、
ホストメモリ64又は補助記憶装置63に格納されてお
り、ホストプロセッサ62はキーボード等のユーザ入力
装置61からの入力に従って物体形状の変形や視点移動
等の処理を行い、最終的に描画するべき三次元画像情報
を幾何変換プロセッサ65に供給する。
The host processor 62 manages information such as coordinates of a three-dimensional object, a viewpoint, a light source, and the like. This information is
Stored in the host memory 64 or the auxiliary storage device 63, the host processor 62 performs processing such as deformation of an object shape and movement of a viewpoint in accordance with an input from a user input device 61 such as a keyboard, and finally a three-dimensional image to be drawn. The image information is supplied to the geometric transformation processor 65.

【0117】幾何変換プロセッサ65は、物体の三次元
画像情報を、表示するべき画面の二次元座標の画像情報
に変換する処理を行う。この幾何変換プロセッサ65
は、ホストプロセッサ62の演算能力が十分あれば、省
略可能である。情報処理装置67内のラスタライズプロ
セッサ67aは、二次元座標で表される多角形を水平方
向に分割し、始点や描画回数等の算出を行うのに適した
命令形態を持つ。又、情報処理装置67内のグラフィッ
ク専用ハードウェア部67bは、ラスタライズされた情
報をピクセルに分解し、描画するべき色を決定して上記
フレームメモリ14に書き込む。表示制御部68は、フ
レームメモリ14に格納された情報を読み出してディス
プレイ69に表示する処理を行う。これにより、ユーザ
からの入力に対し、リアルタイムで三次元画像を生成し
て表示することができる。
The geometric conversion processor 65 performs a process of converting three-dimensional image information of an object into image information of two-dimensional coordinates of a screen to be displayed. This geometric transformation processor 65
Can be omitted as long as the host processor 62 has a sufficient calculation capability. The rasterization processor 67a in the information processing device 67 has a command form suitable for dividing a polygon represented by two-dimensional coordinates in the horizontal direction and calculating a start point, the number of times of drawing, and the like. Further, the graphic dedicated hardware unit 67 b in the information processing device 67 decomposes the rasterized information into pixels, determines a color to be drawn, and writes the color into the frame memory 14. The display control unit 68 performs a process of reading information stored in the frame memory 14 and displaying the information on the display 69. Thus, a three-dimensional image can be generated and displayed in real time in response to an input from the user.

【0118】図32は、図31に示す情報処理装置67
の部分の構成を示すブロック図である。図32中、図2
及び図21と同一部分には同一符号を付し、その説明は
省略する。図32において、一点鎖線で囲まれた部分
は、1つの半導体チップ70で構成されている。フレー
ムメモリ14、ローカルメモリ15及びテクスチュアメ
モリ16は、夫々半導体チップ70に対して外付けであ
る。例えば、フレームメモリ14にはMB818251
なるVRAMを使用でき、ローカルメモリ15にはMB
81116821なるSDRAMを使用でき、テクスチ
ュアメモリ16にはMB81116821なるSDRA
M又はMB82208なるSRAMを使用することがで
きる。
FIG. 32 shows an information processing apparatus 67 shown in FIG.
FIG. 4 is a block diagram showing a configuration of a part. In FIG. 32, FIG.
The same reference numerals are given to the same portions as those in FIG. 21 and the description thereof is omitted. In FIG. 32, a portion surrounded by a chain line is formed of one semiconductor chip 70. The frame memory 14, the local memory 15, and the texture memory 16 are each external to the semiconductor chip 70. For example, the frame memory 14 has MB818251
VRAM can be used.
The SDRAM 811181621 can be used in the texture memory 16.
An M or MB 82208 SRAM can be used.

【0119】このように、半導体チップ70からフレー
ムメモリ14に対しては、書き込みのみを行うようにし
て、図2の第1実施例ではフレームメモリ14から読み
出していた色データ及びα値を他のデータと共にローカ
ルメモリ15から読み出す。つまり、フレームメモリ1
4からの読み出しは、ディスプレイ69を制御する表示
制御部68からのみ行われる。ローカルメモリ15は、
表示制御部68に直接接続されるものではないので、S
DRAM等の高速アクセスが可能なメモリをローカルメ
モリ15として使用することができる。これにより、フ
レームメモリ14に図2の第1実施例と同様にデュアル
ポートVRAMを使用しても、フレームメモリ15に対
するアクセス頻度は第1実施例の場合の約半分になり、
システム全体としての処理効率を向上することができ
る。
As described above, only writing from the semiconductor chip 70 to the frame memory 14 is performed, and the color data and α value read from the frame memory 14 in the first embodiment of FIG. The data is read from the local memory 15 together with the data. That is, the frame memory 1
4 is read only from the display controller 68 that controls the display 69. The local memory 15
Since it is not directly connected to the display control unit 68, S
A memory that can be accessed at a high speed, such as a DRAM, can be used as the local memory 15. As a result, even if a dual-port VRAM is used for the frame memory 14 as in the first embodiment of FIG.
The processing efficiency of the entire system can be improved.

【0120】更に、ローカルメモリ15をアクセスして
行う描画条件判定部25の処理と、テクスチュアメモリ
16をアクセスして行うテクスチュア処理部24の処理
とは、互いに並列に行われる。このため、描画条件判定
部25はローカルメモリ15に最適なタイミングで動作
することができ、テクスチュア処理部24もテクスチュ
アメモリ16に最適なタイミングで動作することができ
る。
Further, the processing of the drawing condition determination unit 25 accessing the local memory 15 and the processing of the texture processing unit 24 accessing the texture memory 16 are performed in parallel with each other. Therefore, the drawing condition determination unit 25 can operate at the optimal timing for the local memory 15, and the texture processing unit 24 can operate at the optimal timing for the texture memory 16.

【0121】このように、本実施例では高速な画像生成
及び表示処理を行うことができ、使用するメモリのアク
セス時間に影響されることなくシステム全体としての処
理を高速化することが可能である。ところで、図20に
示したグラフィック専用ハードウェア部18では、処理
の流れに合わせて各部が結合されてパイプライン処理を
行う。図33は、図20に示したグラフィック専用ハー
ドウェア部18におけるDDA部23以降のパイプライ
ン処理を説明するためのブロック図である。図33中、
図20と同一部分には同一符号を付し、その説明は省略
する。
As described above, in this embodiment, high-speed image generation and display processing can be performed, and the processing of the entire system can be sped up without being affected by the access time of the memory used. . By the way, in the graphic dedicated hardware section 18 shown in FIG. 20, the respective sections are combined in accordance with the flow of processing to perform pipeline processing. FIG. 33 is a block diagram for explaining the pipeline processing after the DDA unit 23 in the graphic dedicated hardware unit 18 shown in FIG. In FIG.
The same parts as those in FIG. 20 are denoted by the same reference numerals, and description thereof will be omitted.

【0122】図33において、ホストコンピュータ12
は、描画するべき多角形の座標や色情報を多角形情報と
して用意する。この多角形情報は、DDA部23により
表示部17の画面を構成する各点の情報に分解され、点
の単位の座標や色情報等が元情報Mとして描画パイプラ
イン81に供給される。又、フレームメモリ14に格納
されている、既に生成されている画面に関する情報等が
必要に応じて元情報Nとして描画パイプライン81に供
給される。描画パイプライン81は、これらの元情報
M,Nに対して所定の処理施し、最終的に描画するべき
多角形に関する情報、即ち、生成画像情報をフレームメ
モリ14に格納する処理を行う。
In FIG. 33, the host computer 12
Prepares coordinates and color information of a polygon to be drawn as polygon information. The polygon information is decomposed by the DDA unit 23 into information on each point constituting the screen of the display unit 17, and the coordinates of each point, color information, and the like are supplied to the drawing pipeline 81 as original information M. In addition, information on the already generated screen and the like stored in the frame memory 14 are supplied to the drawing pipeline 81 as original information N as needed. The drawing pipeline 81 performs a predetermined process on the original information M and N, and performs a process of storing information on a polygon to be finally drawn, that is, generated image information in the frame memory 14.

【0123】描画パイプライン81は、図示の如く交互
に接続された処理ユニット82−1〜82−n及びパイ
プラインレジスタ83−1〜83−nを有する。処理ユ
ニット82−1〜82−nは、個々の処理に応じた専用
ハードウェア、即ち、演算部により各種の演算処理を行
う部分である。又、パイプラインレジスタ83−1〜8
3−nは、パイプラインレジスタ群を構成する。
The drawing pipeline 81 has processing units 82-1 to 82-n and pipeline registers 83-1 to 83-n which are alternately connected as shown. The processing units 82-1 to 82-n are dedicated hardware corresponding to individual processes, that is, portions that perform various types of arithmetic processing by an arithmetic unit. Also, pipeline registers 83-1 to 8-3
3-n forms a group of pipeline registers.

【0124】元情報M,Nは、各々の処理ユニット82
−1〜82−nで処理を施されて、最終的には生成画像
情報が描画パイプライン81から出力される。個々の処
理ユニット82−1〜82−nは、基本的には1クロッ
ク以内に処理を終了して処理結果を次段に接続されたパ
イプラインレジスタ83−1〜83−nに書き込むの
で、処理ユニット82−1〜82−nは夫々1クロック
毎に次の処理を行うことができる。このため、元情報M
が入力されてから最初の生成画像情報が出力されるまで
にはnクロックが必要であるが、それ以降は、基本的に
は1クロック毎に処理結果が生成される。
The original information M and N are stored in each processing unit 82.
The processing is performed at -1 to 82-n, and finally, the generated image information is output from the drawing pipeline 81. Each of the processing units 82-1 to 82-n basically finishes the processing within one clock and writes the processing result to the pipeline registers 83-1 to 83-n connected to the next stage. Each of the units 82-1 to 82-n can perform the following processing every clock. Therefore, the original information M
Although n clocks are required until the first generated image information is output after the input of, the processing result is basically generated every clock after that.

【0125】尚、1クロック以上を必要とする処理に対
しては、処理を複数の処理ユニットと複数のパイプライ
ンレジスタに分割して、個々の処理ユニットでは1クロ
ック以内の処理部分を行うようにする。又、個々の処理
ユニット82−1〜82−nの処理内容は、ホストコン
ピュータ12からの処理内容1〜nの選択信号により決
定される。
For processing requiring one or more clocks, the processing is divided into a plurality of processing units and a plurality of pipeline registers, and each processing unit performs processing within one clock. I do. The processing content of each of the processing units 82-1 to 82-n is determined by a selection signal of the processing content 1 to n from the host computer 12.

【0126】上記の如き描画パイプライン81によるパ
イプライン処理は、予め決められた処理に従って連続的
な情報を処理するのには適しているが、画像情報を生成
する場合には常に同じ処理が行われるとは限らず、少な
くとも生成する多角形を単位として処理内容の切り換え
が発生する可能性がある。図34(a)は、n段の描画
パイプライン81の場合の処理を示す図であり、i=1
〜nとすると、同図中、Ui及びRiは夫々処理ユニッ
ト82−i及びパイプラインレジスタ83−iの処理を
表す。このn段の描画パイプライン81には、入力情報
D1,D2,D3,...が順次入力される。
The pipeline processing by the drawing pipeline 81 as described above is suitable for processing continuous information according to a predetermined processing, but the same processing is always performed when image information is generated. It is not always the case that the processing contents are switched at least in units of the generated polygon. FIG. 34A is a diagram showing processing in the case of an n-stage drawing pipeline 81, where i = 1
In the drawing, Ui and Ri in the figure represent the processing of the processing unit 82-i and the pipeline register 83-i, respectively. The input information D1, D2, D3,. . . Are sequentially input.

【0127】図34(b)は、図34(a)と同じn段
の描画パイプライン81において、最初に入力情報D1
〜Dpを処理した後に処理内容を切り換えて更に入力情
報Dp+1〜Dqを処理する場合を説明する図である。
図34(b)は、入力情報Dpまでを描画パイプライン
81に入力した時点での状態を示す。この状態では、各
パイプラインレジスタR1〜Rnには、夫々入力情報D
p〜Dp−(n−1)が残っているため、処理ユニット
U1〜Unの処理内容を切り換えることができない。こ
のため、入力情報Dp+1以降の入力情報を描画パイプ
ライン81に入力できるのは、描画パイプライン81上
で処理中の入力情報Dp〜Dp−(n−1)に対する処
理が完了するnクロック後となってしまうという第1の
不都合がある。
FIG. 34 (b) shows input information D1 first in the same n-stage drawing pipeline 81 as in FIG. 34 (a).
FIG. 10 is a diagram illustrating a case where the processing contents are switched after processing of .about.Dp to further process input information Dp + 1 to Dq.
FIG. 34B shows a state at the time when up to the input information Dp is input to the drawing pipeline 81. In this state, the input information D is stored in each of the pipeline registers R1 to Rn.
Since p to Dp- (n-1) remain, the processing contents of the processing units U1 to Un cannot be switched. Therefore, the input information after the input information Dp + 1 can be input to the drawing pipeline 81 only after n clocks when the processing for the input information Dp to Dp- (n-1) being processed on the drawing pipeline 81 is completed. There is a first disadvantage of becoming

【0128】他方、2つの多角形の処理において、処理
内容の切り換えが生じない場合であっても、図35に示
すように生成するべき多角形の画面上重なる部分がある
場合には、以下に述べる第2の不都合がある。図35
中、画面上に表示される多角形画像Bは、多角形画像A
の一部と重なっており、多角形画像Aの一部が画面上隠
れている。
On the other hand, in the processing of two polygons, even if the processing contents do not change, if there is an overlapping portion of the polygon to be generated on the screen as shown in FIG. There is a second disadvantage mentioned. FIG.
The polygon image B displayed on the screen is a polygon image A
And a part of the polygonal image A is hidden on the screen.

【0129】つまり、多角形画像Aを生成のために多角
形画像A上の点を処理していき、最後の点Paに関する
元情報Nを描画パイプライン81に入力すると、次は多
角形画像Bの最初の点Pbに関する元情報Nを描画パイ
プライン81に入力する必要がある。しかし、上記の如
きパイプライン処理においては、1つの点に関する元情
報Nを描画パイプライン81に入力してからこれに対す
る処理が完了して生成画像情報が得られるまでには、少
なくともパインプライン処理が完了するまでの時間を要
する。又、実際には、パイプライン処理が完了してから
フレームメモリ14に格納されるまでの時間も考慮する
必要がある。従って、パイプライン処理の時間及びフレ
ームメモリ14に格納されるまでの時間を無視して多角
形画像Bの最初の点Pbに関する元情報Nの処理を行う
と、多角形画像Aの元情報Nではなくその前の元情報N
に対して処理が行われる可能性があり、その場合には多
角形の重ね合わせ処理が正しく行えない。つまり、元情
報M,Nを処理するだけのパインプラインでは、多角形
の重ね合わせ等の状態を認識することができず、描画パ
イプライン81を制御するホストコンピュータ12で多
角形単位の待ち合わせ等の処理を行わなくてはならない
という第2の不都合もある。
That is, the points on the polygon image A are processed to generate the polygon image A, and the original information N on the last point Pa is input to the drawing pipeline 81. It is necessary to input the original information N relating to the first point Pb of the drawing pipeline 81. However, in the pipeline processing as described above, at least the pine pipeline processing is performed from the time when the original information N relating to one point is input to the rendering pipeline 81 to the time when the processing for the point is completed and the generated image information is obtained. It takes time to complete. In addition, it is actually necessary to consider the time from completion of the pipeline processing to storage in the frame memory 14. Therefore, if the processing of the original information N relating to the first point Pb of the polygon image B is performed ignoring the pipeline processing time and the time until it is stored in the frame memory 14, the original information N of the polygon image A becomes But the previous information N
May be performed, and in that case, the polygon overlapping process cannot be performed correctly. In other words, with a pipeline that only processes the original information M and N, it is not possible to recognize the state of superimposition of polygons or the like, and the host computer 12 that controls the drawing pipeline 81 performs operations such as waiting for polygons. There is also a second disadvantage that the processing must be performed.

【0130】又、上記の如き論理的な制約の他に、描画
パインプライン81で生成した画像情報を最終的にフレ
ームメモリ14に格納する必要があると共に、元情報N
として既にフレームメモリ14に格納されている情報を
再度読み出して使用する場合もあるため、フレームメモ
リ14の動作に関連した以下に説明する第3の不都合も
ある。
In addition to the above-described logical constraints, it is necessary to finally store the image information generated by the drawing pipeline 81 in the frame memory 14 and to store the original information N
In some cases, the information already stored in the frame memory 14 is read out and used again, and there is also a third disadvantage described below relating to the operation of the frame memory 14.

【0131】図36は、フレームメモリ14の読み出し
動作及び書き込み動作を説明する図である。同図(a)
は読み出し動作の説明図であり、同図(b)は書き込み
動作の説明図である。フレームメモリ14の読み出し時
には、図36(a)に示すように情報処理システムから
与えられたアドレスに対して対応するデータを読み出し
て出力する。情報処理システムが与えたアドレスkに対
して対応するデータkが読み出されて出力されるまでに
は、アクセス時間と呼ばれる一定の時間がかかる。又、
アドレスkに対応するデータkが読み出しが完了し、次
のアドレスk+1のアクセスが開始されるまでには、プ
リチャージ時間と呼ばれる時間を設ける必要がある。こ
のため、1回のアクセスには、最低でも1サイクル時間
と呼ばれる時間以上必要となる。
FIG. 36 is a diagram for explaining a read operation and a write operation of the frame memory 14. FIG.
FIG. 3 is an explanatory diagram of a read operation, and FIG. 3B is an explanatory diagram of a write operation. When reading the frame memory 14, as shown in FIG. 36A, data corresponding to an address given from the information processing system is read and output. It takes a certain time called an access time until the data k corresponding to the address k given by the information processing system is read and output. or,
It is necessary to provide a time called a precharge time from when the reading of the data k corresponding to the address k is completed and the access to the next address k + 1 is started. Therefore, one access requires at least a time called one cycle time.

【0132】他方、フレームメモリ14の書き込み時に
は、図36(b)に示すように情報処理システムからの
アドレスとデータとの両方を与えて書き込み動作を行う
ので、読み出し時のようにデータが出力されるのを待つ
必要はない。しかし、書き込みの完了までに最低必要な
サイクル時間は規定されており、このサイクル時間より
も早く次のアドレスへ書き込み処理に移ることはできな
い。
On the other hand, at the time of writing to the frame memory 14, since both the address and the data from the information processing system are given to perform the writing operation as shown in FIG. 36B, the data is output as at the time of reading. You don't have to wait. However, the minimum cycle time required until the completion of writing is specified, and it is not possible to shift to the writing process to the next address earlier than this cycle time.

【0133】フレームメモリ14にVRAM等を用いた
場合、上記サイクル時間は約30nsec程度である。
このため、仮にパイプライン処理の周期をサイクル時間
より短く設計しても、フレームメモリ14の処理が完了
するまでには次のパイプライン処理を行うことはできな
いので、パイプライン処理は待たされることになる。近
年、同期技術を用いたシンクロノスメモリ等のより高速
なメモリが開発されているので、これらのメモリをフレ
ームメモリ14に使用してフレームメモリ14の動作を
より高速化することも考えられる。しかし、シンクロノ
スメモリはVRAM等とは動作が異なるので、単にフレ
ームメモリ14にシンクロノスメモリを用いるだけでは
パイプライン処理の高速化にはつながらない。
When a VRAM or the like is used for the frame memory 14, the above cycle time is about 30 nsec.
For this reason, even if the cycle of the pipeline processing is designed to be shorter than the cycle time, the next pipeline processing cannot be performed until the processing of the frame memory 14 is completed. Become. In recent years, higher-speed memories such as a synchronous memory using a synchronization technology have been developed. Therefore, it is conceivable to use these memories as the frame memory 14 to further speed up the operation of the frame memory 14. However, since the operation of a synchronous memory is different from that of a VRAM or the like, simply using a synchronous memory for the frame memory 14 does not lead to an increase in the speed of pipeline processing.

【0134】更に、生成画像情報の格納を目的として使
用されるフレームメモリ14には、格納されるのが生成
画像情報であるが故に次の2つの要件を満たす必要があ
る。第1に、生成画像情報の表示のために、表示部17
を制御する表示制御部68からのアクセスに対応する機
能を有する必要があり、第2に、表示部17の画面のク
リア等高速に実現するために、特定の領域に一定値を一
括して書き込む機能を有する必要がある。上記の各実施
例では、これらの2つの要件を満足するものとしてVR
AMが使用されている。これに対して、上記シンクロノ
スメモリには、これらの2つの要件を満足する機能が設
けられていないので、フレームメモリ14として使用す
るには対応が困難である。
Furthermore, since the generated image information is stored in the frame memory 14 used for storing the generated image information, the following two requirements must be satisfied. First, the display unit 17 displays the generated image information.
Secondly, a function corresponding to the access from the display control unit 68 for controlling the display is required. Secondly, in order to realize a high-speed clearing of the screen of the display unit 17 or the like, a fixed value is collectively written to a specific area. Must have function. In each of the above embodiments, it is assumed that the VR
AM is used. On the other hand, the synchronous memory does not have a function that satisfies these two requirements, so that it is difficult to use it as the frame memory 14.

【0135】次に、上記の第1〜第3の不都合を解消し
得る実施例について説明する。図37は、本発明になる
情報処理装置の第3実施例の要部を示すブロック図であ
る。同図中、図33と同一部分には同一符号を付し、そ
の説明は省略する。本実施例では、上記第1の不都合を
解消する。本実施例では、画像情報の生成に間接的に関
与する情報を、図33において画像情報の生成に直接関
与する情報を処理する経路(描画パイプライン81)と
同様の経路(描画パイプライン91)を画像情報の生成
に直接関与する情報と一緒に通して伝達する。又、描画
パイプライン91の各処理ユニット92−1〜92−n
には、図33の場合と同様な演算部92aの他に、画像
情報の生成に間接的に関与する情報を解釈する解釈部9
2bとが設けられている。これにより、描画パイプライ
ン91の各処理ユニット91−1〜91−n毎に、演算
部92aにおける画像情報の生成に直接関与する情報の
演算と、解釈部92bにおける画像情報の生成に間接的
に関与する情報の解釈との両方の処理を行うようにす
る。尚、描画パイプライン91の各パイプラインレジス
タ93−1〜93−nは、夫々図33のパイプラインレ
ジスタ83−1〜83−nと同じである。又、描画パイ
プライン91自体が行う処理は、例えば上記実施例のテ
クスチュア処理部24、描画条件判定部25、及びブレ
ンダ部26等が行う処理に対応する。
Next, an embodiment capable of solving the first to third disadvantages will be described. FIG. 37 is a block diagram showing a main part of a third embodiment of the information processing apparatus according to the present invention. 33, those parts which are the same as those corresponding parts in FIG. 33 are designated by the same reference numerals, and a description thereof will be omitted. In the present embodiment, the first disadvantage is solved. In this embodiment, information indirectly involved in the generation of image information is replaced with a path (drawing pipeline 91) similar to the path (drawing pipeline 81) for processing information directly involved in the generation of image information in FIG. With the information directly involved in the generation of the image information. Also, each processing unit 92-1 to 92-n of the drawing pipeline 91
In addition to the operation unit 92a similar to that of FIG. 33, the interpretation unit 9 for interpreting information indirectly involved in the generation of image information
2b are provided. Thereby, for each of the processing units 91-1 to 91-n of the drawing pipeline 91, the calculation of information directly related to the generation of image information in the calculation unit 92a and the generation of image information in the interpretation unit 92b are indirectly performed. Try to do both the interpretation of the information involved. The pipeline registers 93-1 to 93-n of the drawing pipeline 91 are the same as the pipeline registers 83-1 to 83-n of FIG. 33, respectively. The processing performed by the drawing pipeline 91 itself corresponds to, for example, the processing performed by the texture processing unit 24, the drawing condition determination unit 25, the blender unit 26, and the like in the above-described embodiment.

【0136】又、本実施例では、画像情報の生成に間接
的に関与する情報を、画像情報の生成に直接関与する情
報と同じ経路を伝達させるので、図33中、直接各処理
ユニット82−1〜82−nに接続されている処理内容
1〜nの制御線を、図37ではセレクタ95により一括
して受け付けて描画パイプライン91に供給している。
尚、このセレクタ95は、DDA部23内に設けても良
い。
In this embodiment, information indirectly involved in the generation of image information is transmitted through the same path as information directly involved in the generation of image information. In FIG. 37, the control lines of processing contents 1 to n connected to 1 to 82-n are collectively received by the selector 95 and are supplied to the drawing pipeline 91.
The selector 95 may be provided in the DDA unit 23.

【0137】尚、画像情報の生成に直接関与する情報と
は、例えばDDA部23の出力する情報であり、画像情
報の生成に間接的に関与する情報とは、例えば図20に
フレームメモリ14からブレンダ部26に読み出される
情報或いは例えば図21のローカルメモリ15から描画
条件判定部25に読み出される情報である。描画パイプ
ライン91上の画像情報の生成に直接関与する情報がM
ビットで、画像情報の生成に間接的に関与する情報がN
ビットであるとすると、図38(a)に示すように、両
方の情報を合わせてM+Nビットの情報を描画パイプラ
イン91で処理しても良い。しかし、通常の場合、画像
情報の生成に間接的に関与する情報は頻繁に変わること
はなく、少なくとも1つの多角形を処理する期間は一定
である。このため、常に画像情報の生成に間接的に関与
する情報を描画パイプライン91に供給するのでは、必
要となる信号線の数やパイプラインレジスタ93−1〜
93−nのビット数が大きくなり無駄が生じてしまう。
The information directly involved in the generation of the image information is, for example, the information output from the DDA unit 23. The information indirectly involved in the generation of the image information is, for example, as shown in FIG. The information is read by the blender unit 26 or, for example, information read from the local memory 15 in FIG. 21 to the drawing condition determination unit 25. Information directly related to the generation of image information on the drawing pipeline 91 is M
Bits, the information indirectly involved in the generation of image information is N
If it is a bit, as shown in FIG. 38 (a), M + N-bit information may be processed by the drawing pipeline 91 by combining both pieces of information. However, in the normal case, the information indirectly involved in the generation of image information does not change frequently, and the period for processing at least one polygon is constant. Therefore, by always supplying information indirectly involved in the generation of image information to the drawing pipeline 91, the number of necessary signal lines and the pipeline registers 93-1 to 93-1 are required.
The number of bits 93-n becomes large and waste occurs.

【0138】そこで、本実施例では、図38(b)に示
すように、画像情報の生成に直接関与する情報及び画像
情報の生成に間接的に関与する情報の両方を扱うための
Kビットの情報と、とちらの情報であるかを示す1ビッ
トのタグFとからなるK+1ビットの情報を描画パイプ
ライン91に供給する。処理内容1〜nで変更があった
場合には、画像情報の生成に直接関与する情報の列に、
処理変更を示す画像情報の生成に間接的に関与する情報
を割り込ませ、どちらの情報であるかをタグFで識別可
能なようにして描画パイプライン91に供給する。各処
理ユニット92−1〜92−nでは、このタグFを検出
して、供給された情報を演算部92aで処理するか解釈
部92bで処理するかを決定する。
Therefore, in this embodiment, as shown in FIG. 38 (b), K bits of K bits for handling both information directly involved in the generation of image information and information indirectly involved in the generation of image information. The K + 1-bit information including information and a 1-bit tag F indicating whether the information is the one of the information is supplied to the drawing pipeline 91. When there is a change in the processing contents 1 to n, a column of information directly related to the generation of the image information includes
Information that is indirectly involved in the generation of image information indicating a process change is interrupted, and the information is supplied to the drawing pipeline 91 so that the tag F can identify the information. Each of the processing units 92-1 to 92-n detects the tag F, and determines whether the supplied information is processed by the calculation unit 92a or the interpretation unit 92b.

【0139】尚、画像情報の生成に直接関与するMビッ
トの情報は完全に描画パイプライン91に伝達する必要
があるので、Kの値は少なくともM以上である必要があ
る。又、画像情報の生成に間接的に関与するNビットの
情報が仮にMより大きい場合には、単純にKをNとする
手段の他に、処理内容1〜nを適当にグループ化してど
の処理内容に変化があったかを識別する識別子と共に情
報を再構築することで情報をMビット以下に収めるよう
にすれば、K=Mとすることも可能である。
Since the M-bit information directly involved in the generation of the image information needs to be completely transmitted to the drawing pipeline 91, the value of K needs to be at least M or more. If the N-bit information indirectly involved in the generation of image information is larger than M, in addition to simply setting K to N, the processing contents 1 to n are appropriately grouped and By reconstructing the information together with an identifier for identifying whether or not the content has changed, the information can be stored in M bits or less, so that K = M can be set.

【0140】図39は、第3実施例におけるパイプライ
ン処理を説明する図である。同図中、n段の描画パイプ
ライン81の場合の処理を示す図であり、i=1〜nと
すると、同図中、Ui及びRiは夫々処理ユニット92
−i及びパイプラインレジスタ93−iの処理を表し、
Sはセレクタ95を表す。このn段の描画パイプライン
91には、入力情報D1,D2,D3,...が順次入
力される。
FIG. 39 is a view for explaining the pipeline processing in the third embodiment. FIG. 9 is a diagram showing processing in the case of an n-stage drawing pipeline 81 in the figure, where i = 1 to n, Ui and Ri in the figure are processing units 92, respectively.
-I and the processing of the pipeline register 93-i,
S represents the selector 95. The input information D1, D2, D3,. . . Are sequentially input.

【0141】図39(a)は、描画パイプライン91が
入力情報D1〜Dpまでを処理している状態を示す。図
39(b)は、入力情報Dqと処理内容Xの変更が行わ
れる状態を示す。この変更は、図39(c)に示すよう
に、セレクタSにより処理内容Xの変更を示す情報Dx
が描画パイプライン91に伝達されることで行われる。
図39(d)は、描画パイプライン91上の入力情報D
p以前の入力情報の出力完了を待たずに入力情報Dqが
描画パイプライン91に伝達される様子を示す。
FIG. 39A shows a state in which the drawing pipeline 91 is processing input information D1 to Dp. FIG. 39B shows a state in which the input information Dq and the processing content X are changed. As shown in FIG. 39 (c), this change is performed by the selector S by the information Dx indicating the change of the processing content X.
Is transmitted to the drawing pipeline 91.
FIG. 39D shows input information D on the drawing pipeline 91.
This shows how the input information Dq is transmitted to the drawing pipeline 91 without waiting for the completion of the output of the input information before p.

【0142】図40は、本発明になる情報処理装置の第
4実施例の要部を示すブロック図である。同図中、図3
7と同一部分には同一符号を付し、その説明は省略す
る。本実施例では、上記第2の不都合を解消する。本実
施例では、図40に示すように、DDA部23内に終点
タグ機能が設けられ、描画パイプライン91内にロック
ユニット96が設けられている。
FIG. 40 is a block diagram showing a main part of a fourth embodiment of the information processing apparatus according to the present invention. In FIG.
The same reference numerals are given to the same portions as 7, and the description thereof will be omitted. In the present embodiment, the second disadvantage is solved. In the present embodiment, as shown in FIG. 40, an end point tag function is provided in the DDA unit 23, and a lock unit 96 is provided in the drawing pipeline 91.

【0143】図37に示す第3実施例等の場合には、D
DA部23はホストコンピュータ12からの多角形情報
を単純に点に分解して描画パイプライン91に供給す
る。これに対し、本実施例では、多角形情報を点に分解
する際に、多角形の最後の点には終点を意味する終点タ
グFEを付加する。図41は、終点タグFEが付加され
た情報を示す図である。図41に示す情報は、図38
(b)に示す情報に終点タグFEが付加されたものであ
る。
In the case of the third embodiment shown in FIG.
The DA unit 23 simply decomposes the polygon information from the host computer 12 into points and supplies the points to the drawing pipeline 91. On the other hand, in this embodiment, when the polygon information is decomposed into points, an end point tag FE indicating an end point is added to the last point of the polygon. FIG. 41 is a diagram illustrating information to which the end point tag FE is added. The information shown in FIG.
The end point tag FE is added to the information shown in FIG.

【0144】図40に示すロックユニット96は、描画
パイプライン91内でフレームメモリ14からの元情報
Nを必要とするユニットの直前の段に設けられている。
ロックユニット96は、入力されてくる情報に付加され
ている終点タグFEがオンの場合、この情報を多角形の
終点情報とみなし、この情報を含めて描画パイプライン
91上に残っている情報が全て描画パイプライン91か
ら出力されるまで、以降の情報を止めておく処理を行
う。
The lock unit 96 shown in FIG. 40 is provided in the drawing pipeline 91 at a stage immediately before a unit requiring the original information N from the frame memory 14.
When the end point tag FE added to the input information is ON, the lock unit 96 regards this information as end point information of the polygon, and the information remaining on the drawing pipeline 91 including this information is determined. Until all the information is output from the drawing pipeline 91, the subsequent information is stopped.

【0145】このように、ハードウェアレベルで情報の
待ち合わせ処理を行うため、ホストコンピュータ12に
おいて待ち合わせ処理を行う必要がなくなる。又、ホス
トコンピュータ12で待ち合わせ処理を行った場合に
は、描画パイプライン91の処理が終了したことを認識
してから処理を再開するために、多角形情報の入力から
処理を再開してセレクタ95、DAA部23及び描画パ
イプライン91へと処理を進める必要がある。しかし、
本実施例の如くロックユニット96を描画パイプライン
91内に設けた場合、待ち合わせ処理中であっても、少
なくともセレクタ95、DAA部23及び描画パイプラ
イン91内のロックユニット96の前の処理ユニットま
での処理は実行可能となる。このため、本実施例では、
待ち合わせ処理の完了直後にロックユニット96以降の
処理を開始でき、待ち合わせ処理によるロスタイムを最
小限に抑さえることができる。
As described above, since the information queuing process is performed at the hardware level, the host computer 12 does not need to perform the queuing process. When the host computer 12 performs the waiting process, the process is resumed from the input of the polygon information by recognizing that the process of the drawing pipeline 91 has been completed and then restarting the selector 95. , The DAA unit 23 and the drawing pipeline 91. But,
When the lock unit 96 is provided in the drawing pipeline 91 as in the present embodiment, at least the selector 95, the DAA unit 23, and the processing unit in front of the lock unit 96 in the drawing pipeline 91 even during the waiting process. Can be executed. For this reason, in this embodiment,
Processing immediately after the lock unit 96 can be started immediately after the completion of the queuing process, and loss time due to the queuing process can be minimized.

【0146】尚、アプリケーションによっては、多角形
の描画に重なりが発生しないと仮定できるような場合も
ある。このような場合には、上記待ち合わせ処理は不要
となるが、本実施例ではハードウェアレベルでロックが
行われるため、待ち合わせ処理の要否に応じてロックを
制御する構成とすることが望ましい。図42(a)は、
DDA部23内で終点タグFEのマスクを行う構成を示
す図である。同図中、DAA部23内には終点認識回路
231、待ち合わせ設定回路232及びマスク回路23
3が設けられている。終点認識回路231は、入力情報
に終点タグFEが付加されているか否かに応じて多角形
の終点を検出し、終点タグFEをマスク回路233へ供
給する。他方、待ち合わせ設定回路232は、待ち合わ
せ処理の有無を示す信号をマスク回路233へ供給す
る。これにより、マスク回路233は、待ち合わせ処理
が必要な場合にのみ終点タグFEを出力する。
In some applications, it can be assumed that overlapping of polygons does not occur. In such a case, the above waiting process is not required, but in this embodiment, locking is performed at the hardware level. Therefore, it is desirable to control the locking according to the necessity of the waiting process. FIG. 42 (a)
FIG. 4 is a diagram showing a configuration for masking an end point tag FE in a DDA unit 23. In the figure, an end point recognition circuit 231, a wait setting circuit 232, and a mask circuit 23 are provided in the DAA unit 23.
3 are provided. The end point recognition circuit 231 detects the end point of the polygon according to whether the end point tag FE is added to the input information, and supplies the end point tag FE to the mask circuit 233. On the other hand, the queuing setting circuit 232 supplies a signal indicating the presence or absence of the queuing process to the mask circuit 233. Thus, the mask circuit 233 outputs the end point tag FE only when the waiting process is required.

【0147】図42(b)は、ロックユニット96内で
終点タグFEのマスクを行う構成を示す図である。同図
中、ロックユニット96内には待ち合わせ設定回路96
1、マスク回路962及びロック機構963が設けられ
ている。マスク回路962には、終点タグFE及び待ち
合わせ設定回路961からの待ち合わせ処理の有無を示
す信号が供給される。マスク回路962は、待ち合わせ
処理が有る場合にのみ終点タグFEをロック機構963
に供給してロック機構963を起動する。
FIG. 42B is a diagram showing a configuration for masking the end point tag FE in the lock unit 96. In the figure, a lock setting circuit 96 is provided in a lock unit 96.
1, a mask circuit 962 and a lock mechanism 963 are provided. The mask circuit 962 is supplied with signals indicating the presence / absence of a queuing process from the end point tag FE and the queuing setting circuit 961. The mask circuit 962 locks the end point tag FE only when there is a waiting process.
To activate the lock mechanism 963.

【0148】図43は、フレームメモリ14にシンクロ
ナスメモリを用いた場合の読み出し動作及び書き込み動
作を説明する図である。又、図44は、考えられる情報
処理装置の要部を示すブロック図であり、同図中、図3
7と同一部分には同一符号を付し、その説明は省略す
る。図43(a)は、この場合のフレームメモリ14の
読み出し動作を説明する図である。読み出し動作では、
フレームメモリ14は情報処理システムから与えられた
アドレスに対し、レイテンシと呼ばれるクロック分後に
データを出力する。このレイテンシは、通常のメモリの
サイクル時間に相当し、アドレスkを与えてから対応す
るデータkが出力されるまでの時間だけに着目すると、
通常のメモリの動作速度とあまり変わらない。しかし、
シンクロナスメモリは通常のメモリと異なり、情報処理
システムはデータkが出力されるのを待つことなく次の
アドレスk+1を与えることができるので、連続してア
ドレスを与えることによりデータを連続して出力するこ
とができる。このため、シクロノスメモリは、通常のメ
モリのサイクル時間単位よりも速いクロックの周期で動
作することが可能である。
FIG. 43 is a diagram for explaining a read operation and a write operation when a synchronous memory is used as the frame memory 14. FIG. 44 is a block diagram showing a main part of a possible information processing apparatus.
The same reference numerals are given to the same portions as 7, and the description thereof will be omitted. FIG. 43A is a diagram for explaining the read operation of the frame memory 14 in this case. In a read operation,
The frame memory 14 outputs data to the address given by the information processing system after a clock called latency. This latency corresponds to the cycle time of a normal memory, and if attention is paid only to the time from when an address k is given to when the corresponding data k is output,
It is not much different from normal memory operation speed. But,
The synchronous memory is different from a normal memory, and the information processing system can give the next address k + 1 without waiting for the data k to be output. can do. For this reason, the cyclonos memory can operate at a clock cycle faster than the cycle time unit of a normal memory.

【0149】図43(b)は、フレームメモリ14に同
期技術を用いたシンクロナスメモリを用いた場合の書き
込み動作を説明する図である。書き込み動作では、情報
処理システムがフレームメモリ14にアドレスとデータ
の両方を与えてデータの書き込みを行う。フレームメモ
リ14、即ち、シンクロナスメモリ自体が最終的にその
内部にデータを書き終わるまでには、やはりサイクル時
間に相当する時間だけかかるが、情報処理システムは上
記読み出し動作時の場合と同様にデータの書き込みが終
わるまで待つ必要はなく、次のクロックで次のデータの
書き込み動作に移ることが可能である。
FIG. 43B is a diagram for explaining a write operation when a synchronous memory using a synchronous technique is used for the frame memory 14. In the write operation, the information processing system writes data by giving both the address and the data to the frame memory 14. It also takes a time corresponding to the cycle time until the frame memory 14, that is, the synchronous memory itself finally writes data therein, but the information processing system operates in the same manner as in the above read operation. It is not necessary to wait until the writing of the data is completed, and it is possible to shift to the writing operation of the next data with the next clock.

【0150】上記の如く、フレームメモリ14にシンク
ロノスメモリを用いることで、通常のメモリを用いた場
合と比べるとより高速な動作を行うことが可能となる。
しかし、図44に示すように単にフレームメモリ14に
シンクロノスメモリを用い、描画パイプライン91とフ
レームメモリ14とのやり取りをある1つの処理ユニッ
ト92−jで行っただけでは有効な動作を行うことはで
きない。つまり、図44の場合、フレームメモリ14に
対してアドレスを与えてからフレームメモリ14が描画
パイプライン91から出力されたデータを受け取るまで
の時間、次の動作を行うことができない。このため、フ
レームメモリ14の読み出しタイミングは、シンクロナ
スメモリを用いているにも拘らず図45に示すようなタ
イミングとなってしまう。他方、この場合の書き込み動
作は、描画パイプライン91での処理の完了を待つこと
なく、描画パイプライン91の動作クロックで書き込み
を行うことができる。しかし、シンクロナスメモリは、
書き込み動作から読み出し動作へ、又、これとは逆に読
み出し動作から書き込み動作へと切り替わる際に、一定
のロス時間を生じる。このため、図46に示すように、
高速な書き込み動作を生かす処理を行うことはできな
い。尚、図46中、「R」はリード(読み出し)、
「W」はライト(書き込み)を表す。
As described above, by using the synchronous memory as the frame memory 14, it is possible to perform a higher-speed operation as compared with the case where a normal memory is used.
However, as shown in FIG. 44, an effective operation is performed simply by using a synchronous memory as the frame memory 14 and exchanging the drawing pipeline 91 and the frame memory 14 with one certain processing unit 92-j. Can not. That is, in the case of FIG. 44, the next operation cannot be performed during the time from when an address is given to the frame memory 14 to when the frame memory 14 receives the data output from the drawing pipeline 91. For this reason, the read timing of the frame memory 14 is the timing shown in FIG. 45 despite the use of the synchronous memory. On the other hand, in the writing operation in this case, writing can be performed with the operation clock of the drawing pipeline 91 without waiting for the completion of the processing in the drawing pipeline 91. However, synchronous memory
When switching from a write operation to a read operation, and vice versa, from a read operation to a write operation, a certain loss time occurs. Therefore, as shown in FIG.
It is not possible to perform processing that makes use of a high-speed write operation. In FIG. 46, “R” indicates read (read),
“W” represents write.

【0151】図47は、本発明になる情報処理装置の第
5実施例の要部を示すブロック図である。同図中、図3
7と同一部分には同一符号を付し、その説明は省略す
る。本実施例では、上記第3の不都合を解消する。本実
施例では、図47に示すように、シクロナスメモリから
なるフレームメモリ14と描画パイプライン91との間
に、調停回路97が設けられている。この調停回路97
の構成については、図49と共に後述する。
FIG. 47 is a block diagram showing a main part of a fifth embodiment of the information processing apparatus according to the present invention. In FIG.
The same reference numerals are given to the same portions as 7, and the description thereof will be omitted. In the present embodiment, the third disadvantage is solved. In this embodiment, as shown in FIG. 47, an arbitration circuit 97 is provided between the frame memory 14 composed of a cyclonic memory and the drawing pipeline 91. This arbitration circuit 97
Will be described later with reference to FIG.

【0152】読み出し動作の効率化は、図47に示す描
画パイプライン91内の処理ユニット92−jから処理
ユニット92−j+1の部分で実現されている。上記図
44の場合には処理ユニット92−jでフレームメモリ
14からの読み出しを行うところを、本実施例では処理
ユニット92−jはアドレス提示ユニットとして使用さ
れ、フレームメモリ14に対してアドレスを与えるだけ
に使用される。フレームメモリ14から出力されるデー
タを受けるのは、データ受付ユニットとして使用される
処理ユニット92−j+1である。又、処理ユニット9
2−jと処理ユニット92−j+1との間のレイテンシ
に相当する遅れを吸収するために、パイプラインレジス
タ93−j1〜93−jxが設けられている。この様な
構成とすることにより、読み出し動作が細分化されて実
質的に描画パイプライン91中に組み込まれたようにみ
なすことが可能となる。
Efficiency of the read operation is realized by the processing units 92-j to 92-j + 1 in the drawing pipeline 91 shown in FIG. In the case of FIG. 44, the reading from the frame memory 14 is performed by the processing unit 92-j. In this embodiment, the processing unit 92-j is used as an address presenting unit and gives an address to the frame memory 14. Used only for. Receiving the data output from the frame memory 14 is the processing unit 92-j + 1 used as a data receiving unit. Also, the processing unit 9
Pipeline registers 93-j1 to 93-jx are provided to absorb a delay corresponding to a latency between 2-j and the processing unit 92-j + 1. With such a configuration, it is possible to consider that the read operation is subdivided and substantially incorporated into the drawing pipeline 91.

【0153】図48は、第5実施例の読み出し動作を説
明する図である。処理ユニット92−jは、図示を省略
するDDA部23から供給される元情報Miを受け付け
て、フレームメモリ14に対してアドレスiを与えると
共に、パイプラインレジスタ93−j1に元情報Miを
出力する。これにより、処理ユニット92−jは、次の
クロックでは元情報Mi+1の処理を行うことができ
る。パイプラインレジスタ93−j1〜93−jxは、
フレームメモリ14のレイテンシ時間で規定される遅れ
に対応した段数分設けられているので、処理ユニット9
2−j+1ではパイプラインレジスタ93−j1〜93
−jxを通ってきた元情報Miと、フレームメモリ14
から読み出されてきたデータjとが揃って渡される。従
って、フレームメモリ14及び描画パイプライン91の
動作速度を高めることができる。
FIG. 48 is a diagram for explaining the read operation of the fifth embodiment. The processing unit 92-j receives the original information Mi supplied from the DDA unit 23 (not shown), gives the address i to the frame memory 14, and outputs the original information Mi to the pipeline register 93-j1. . Thereby, the processing unit 92-j can perform the processing of the original information Mi + 1 at the next clock. The pipeline registers 93-j1 to 93-jx are
Since the number of stages corresponding to the delay defined by the latency time of the frame memory 14 is provided, the processing unit 9
For 2-j + 1, pipeline registers 93-j1 to 93-93
-Jx and the original information Mi passed through the frame memory 14
And the data j read out from the memory are passed. Therefore, the operation speed of the frame memory 14 and the drawing pipeline 91 can be increased.

【0154】尚、書き込み動作を効率化するためには、
書き込み動作をなるべく連続させて読み出しとの切り換
えロスを減らす必要があるが、これは以下に説明する調
停回路97の動作により実現できる。図49は、調停回
路97の概略構成を示すブロック図である。同図中、調
停回路97は、大略セレクタ971、読み出しアドレス
待ち行列を格納するバッファ972、スリーステートデ
バイス973、書き込みアドレス/データ待ち行列を格
納するバッファ974及び調停回路97の各部を制御す
る調停回路制御部975からなる。
Incidentally, in order to make the writing operation more efficient,
It is necessary to reduce the switching loss between reading and reading by making the writing operation as continuous as possible. This can be realized by the operation of the arbitration circuit 97 described below. FIG. 49 is a block diagram showing a schematic configuration of the arbitration circuit 97. In the figure, an arbitration circuit 97 generally controls a selector 971, a buffer 972 for storing a read address queue, a three-state device 973, a buffer 974 for storing a write address / data queue, and an arbitration circuit 97. It comprises a control unit 975.

【0155】セレクタ971は、2つの待ち行列のうち
どちらのアドレスをフレームメモリ14に与えるかを調
停回路制御部975の制御下で選択する。スリーステー
トデバイス973は、読み出し要求時には調停回路制御
部975の制御下で、フレームメモリ14の出力するデ
ータを読み出し要求元である描画パイプライン91へ伝
達する。他方、書き込み要求時には、スリーステートデ
バイス973は調停回路制御部975の制御下で、フレ
ームメモリ14に対して書き込み待ち行列のデータを与
えるためのデータの転送方向を選択する。
The selector 971 selects which address of the two queues to give to the frame memory 14 under the control of the arbitration circuit control unit 975. The three-state device 973 transmits data output from the frame memory 14 to the rendering pipeline 91 that is the read request source under the control of the arbitration circuit control unit 975 at the time of a read request. On the other hand, at the time of a write request, the three-state device 973 selects a data transfer direction for giving data of a write queue to the frame memory 14 under the control of the arbitration circuit control unit 975.

【0156】図50は、調停回路制御部975の動作を
説明するフローチャートである。同図中、ステップS3
1は、フレームメモリ14に対して読み出し動作中であ
るか否かを判定し、判定結果がNOであるとステップS
32でフレームメモリ14に対して書き込み動作中であ
るか否かを判定する。ステップS32の判定結果がNO
であると、ステップS33で読み出し待ち行列に要求が
あるか否かを判定し、判定結果がNOであるとステップ
S34で書き込み待ち行列に要求があるか否かを判定す
る。ステップS34の判定結果がNOであると、ステッ
プS35で次のクロックまで待ち状態となり、その後処
理はステップS31へ戻る。
FIG. 50 is a flow chart for explaining the operation of the arbitration circuit control section 975. In the figure, step S3
1 determines whether or not a read operation is being performed on the frame memory 14, and if the determination result is NO, a step S
At 32, it is determined whether a write operation is being performed on the frame memory 14. If the determination result in step S32 is NO
In step S33, it is determined whether there is a request in the read queue, and if the determination result is NO, it is determined in step S34 whether there is a request in the write queue. If the decision result in the step S34 is NO, a step S35 waits until the next clock, and thereafter the process returns to the step S31.

【0157】ステップS31の判定結果がYESの場
合、ステップS36で読み出し待ち行列に要求があるか
否かを判定し、判定結果がYESであるとステップS3
7で読み出し行列の要求アドレスをフレームメモリ14
に与える。他方、ステップS36の判定結果がNOであ
れば、処理はステップS35へ進む。又、ステップS3
2の判定結果がYESの場合、ステップS38で書き込
み待ち行列に要求があるか否かを判定し、判定結果がY
ESであるとステップS39で書き込み行列の要求アド
レス/データをフレームメモリ14に与える。他方、ス
テップS38の判定結果がNOであれば、処理はステッ
プS35へ進む。
If the decision result in the step S31 is YES, a decision is made in a step S36 as to whether there is a request in the read queue, and if the decision result is YES in the step S3
In step 7, the request address of the read matrix is stored in the frame memory 14.
Give to. On the other hand, if the decision result in the step S36 is NO, the process proceeds to a step S35. Step S3
If the result of the determination in step 2 is YES, it is determined in step S38 whether or not there is a request in the write queue.
If it is ES, the request address / data of the write matrix is given to the frame memory 14 in step S39. On the other hand, if the decision result in the step S38 is NO, the process proceeds to a step S35.

【0158】この様にして、フレームメモリ14が読み
出し動作中は、読み出し待ち行列の要求が優先的に処理
されるため、読み出し動作を連続して行うことができ
る。又、フレームメモリ14が書き込み動作中は、書き
込み待ち行列の要求が優先的に処理されるので、書き込
み動作を連続して行うことができる。これにより、書き
込み動作と読み出し動作との切り換えによるロス時間を
最小限に抑さえることが可能となり、シンクロナスメモ
リをフレームメモリ14に用いた場合にシンクロナスメ
モリを効率的に動作させることができる。
As described above, while the frame memory 14 is performing the read operation, the read queue request is processed preferentially, so that the read operation can be performed continuously. Also, while the frame memory 14 is performing the write operation, the request in the write queue is preferentially processed, so that the write operation can be performed continuously. As a result, it is possible to minimize the loss time due to switching between the write operation and the read operation, and to operate the synchronous memory efficiently when the synchronous memory is used for the frame memory 14.

【0159】図51は、本発明になる情報処理装置の第
6実施例の要部を示すブロック図である。同図中、図4
7と同一部分には同一符号を付し、その説明は省略す
る。本実施例では、上記第3の不都合を解消する。本実
施例では、図51に示すように、シンクロナスメモリか
らなるフレームメモリ14−1が調停回路97に接続さ
れ、VRAMからなるフレームメモリ14−2が表示部
17に接続されている。フレームメモリ14−1に対し
ては、描画パイプライン91から読み出し動作及び書き
込み動作の両方の動作が行われる。他方、フレームメモ
リ14−2に対しては、描画パイプライン91からの書
き込み動作と表示部17(表示制御部)からのアクセス
要求処理の両方が行われる。この構成により、フレーム
メモリ14−1は表示制御部から独立して動作可能とな
り、これは図21のローカルメモリ15と同じとみなせ
るようになる。これにより、表示部17からのアクセス
はVRAMであるフレームメモリ14−2に対して行
い、シンクロナスメモリであるフレームメモリ14−1
は描画パイプライン91の処理のみに対応すれば良い。
尚、フレームメモリ14−2は表示制御部との接続のた
めに用意されたものであり、フレームメモリ14−1が
VRAMの機能を包含すれば、単一のメモリにより構成
されていても良いことは言うまでもない。
FIG. 51 is a block diagram showing a main part of a sixth embodiment of the information processing apparatus according to the present invention. In FIG.
The same reference numerals are given to the same portions as 7, and the description thereof will be omitted. In the present embodiment, the third disadvantage is solved. In this embodiment, as shown in FIG. 51, a frame memory 14-1 composed of a synchronous memory is connected to the arbitration circuit 97, and a frame memory 14-2 composed of a VRAM is connected to the display unit 17. For the frame memory 14-1, both the read operation and the write operation are performed from the drawing pipeline 91. On the other hand, both the writing operation from the drawing pipeline 91 and the access request processing from the display unit 17 (display control unit) are performed on the frame memory 14-2. With this configuration, the frame memory 14-1 can operate independently of the display control unit, and can be regarded as the same as the local memory 15 in FIG. Thus, the access from the display unit 17 is made to the frame memory 14-2 which is a VRAM, and the frame memory 14-1 which is a synchronous memory is accessed.
Need only correspond to the processing of the drawing pipeline 91.
Note that the frame memory 14-2 is prepared for connection with the display control unit, and may be constituted by a single memory as long as the frame memory 14-1 includes the function of the VRAM. Needless to say.

【0160】しかし、14−1のシンクロナスメモリは
一括クリアなどVRAMの一部機能を持つものはある
が、全ての機能は包含しておらず、VRAMとの置き換
えは困難であるし、一般的なシンクロナスメモリを使用
するのに比べ画像情報の格納専用にシンクロナスメモリ
を設計して製造するのでは、情報処理装置のコストが高
くなりすぎてしまう。そこで、一括書き込み等の特種な
機能を持たないシンクロナスメモリを用いても等価的に
高速なクリア機能を実現できる本発明になる情報処理装
置の第7実施例を以下に説明する。
However, although the synchronous memory 14-1 has some functions of the VRAM such as batch clear, it does not include all the functions, and is difficult to replace with the VRAM. If a synchronous memory is designed and manufactured exclusively for storing image information as compared with using a complicated synchronous memory, the cost of the information processing apparatus becomes too high. Therefore, a seventh embodiment of the information processing apparatus according to the present invention, which can realize an equivalently high-speed clear function even using a synchronous memory having no special function such as batch write, will be described below.

【0161】第7実施例の構成は、図51に示す第6実
施例の構成と同じであるので、その図示及び説明は省略
する。本実施例では、図52(a)に示すように、シン
クロナスメモリからなるフレームメモリ14−1内に、
本来の情報の記憶領域101の他に、制御情報を記憶す
る制御情報領域102を設けている。図52(b)は、
本来の情報と制御情報との関係を示す図である。
The configuration of the seventh embodiment is the same as the configuration of the sixth embodiment shown in FIG. 51, so that illustration and description thereof are omitted. In this embodiment, as shown in FIG. 52A, a frame memory 14-1 composed of a synchronous memory stores
In addition to the original information storage area 101, a control information area 102 for storing control information is provided. FIG. 52 (b)
It is a figure showing the relation between original information and control information.

【0162】図52(b)に示すように、本来の情報が
ビット0〜ビットXのX+1ビットでフレームメモリ1
4−1に格納されているのに対し、制御情報は1ビット
づつ格納されている。つまり、制御情報ビットC1が本
来の情報1に対して格納され、制御情報ビットC2が本
来の情報2に対して格納されるといった具合に、本来の
情報と制御情報とが1対1に対応する形で格納されてい
る。フレームメモリ14−1から本来の情報を読み出す
際には、対応する制御情報も読み出し、描画パイプライ
ン91内の処理ユニットでは読み出された制御情報ビッ
トをチェックする。チェックされた制御情報ビットが
「1」であれば、読み出した本来の情報の値をそのまま
次段のユニットへ出力する。他方、チェックされたクリ
ア制御情報ビットが「0」であれば、情報がクリアされ
ているものとして、クリア値を次段のユニットへ出力す
る。
As shown in FIG. 52 (b), the original information is X + 1 bits of bits 0 to X, and the frame memory 1
In contrast to 4-1, control information is stored bit by bit. That is, the control information bit C1 is stored for the original information 1 and the control information bit C2 is stored for the original information 2, so that the original information and the control information correspond one-to-one. Stored in the form. When the original information is read from the frame memory 14-1, the corresponding control information is also read, and the processing unit in the drawing pipeline 91 checks the read control information bit. If the checked control information bit is "1", the read original information value is output as it is to the next unit. On the other hand, if the checked clear control information bit is "0", it is determined that the information has been cleared, and the clear value is output to the next unit.

【0163】制御情報ビットC1〜CX+1は、同一ア
ドレス上にあるので、本来の情報を1回アクセスするだ
けでこれらの制御情報ビットC1〜CX+1を得ること
ができる。これらの制御情報ビットC1〜CX+1に
「0」を書き込めば、対応する本来の情報1〜X+1を
クリアしたことと等価となる。従って、本来の情報にク
リア値を書き込みことで画面クリアを実現する場合と比
べると、1/(X+1)の時間でクリア処理を完了する
ことが可能であり、高速のクリア処理を実現できる。
Since control information bits C1 to CX + 1 are on the same address, these control information bits C1 to CX + 1 can be obtained by accessing the original information only once. Writing "0" in these control information bits C1 to CX + 1 is equivalent to clearing the corresponding original information 1 to X + 1. Therefore, the clearing process can be completed in 1 / (X + 1) time compared to the case where the screen clear is realized by writing the clear value to the original information, and the high-speed clearing process can be realized.

【0164】尚、説明の便宜上、画面クリアについて説
明したが、本実施例によれば同様にして本来の情報に対
し、別の情報による意味付けを行う機能が実現できるこ
とがわかる。このため、フレームメモリ14−1からの
読み出し時の描画パイプライン91内の処理ユニットで
の情報の解釈によって、クリア以外の目的で制御情報を
使用することができる。例えば、本来の情報の値を2倍
にして画面中の一定の領域を他の部分より明るく表示し
たり、逆に1/2倍にして画面中の一定の領域を他の部
分より暗く表示すること等の意味付けを行うことが可能
である。
Although the clearing of the screen has been described for the sake of convenience, it can be understood that according to the present embodiment, the function of giving meaning to the original information by different information can be realized in the same manner. Therefore, control information can be used for purposes other than clearing by interpreting information in the processing unit in the drawing pipeline 91 when reading from the frame memory 14-1. For example, the original information value is doubled to display a certain area on the screen brighter than other parts, or conversely, by halving it to display a certain area on the screen darker than other parts. It is possible to give meaning to things.

【0165】制御情報は、本来の情報に対応してX+1
個分設けられるので、1回制御情報を読み出して保持し
ておけば、必ずしも本来の情報のアクセスのたびに制御
情報を読み出す必要はない。そこで、制御情報をキャッ
シングするキャッシュ機能を描画パイプライン91内に
組み込むと非常に便利である。図53は、本発明になる
情報処理装置の第8実施例の要部を示すブロック図であ
る。第8実施例の概略構成は、図51に示す第6実施例
の構成と同じであるので、その図示及び説明は省略す
る。図53(a)は、図51に示す描画パイプライン9
1に組み込まれるアドレス提示ユニット92−jを示
し、図53(b)は、描画パイプライン91に組み込ま
れるデータ受け付けユニット92−j+1を示す。
The control information is X + 1 corresponding to the original information.
Since control information is read out and held once, it is not always necessary to read out control information every time original information is accessed. Therefore, it is very convenient to incorporate a cache function for caching control information into the drawing pipeline 91. FIG. 53 is a block diagram showing a main part of an eighth embodiment of the information processing apparatus according to the present invention. The schematic configuration of the eighth embodiment is the same as the configuration of the sixth embodiment shown in FIG. 51, and the illustration and description thereof are omitted. FIG. 53A shows the drawing pipeline 9 shown in FIG.
1 shows an address presenting unit 92-j incorporated into the drawing pipeline 91, and FIG. 53B shows a data receiving unit 92-j + 1 incorporated into the drawing pipeline 91.

【0166】図53(a)に示すアドレス提示ユニット
92−jは、座標取得部201、クリアアドレスキャッ
シュ(メモリ)202、キャッシュテスト部203、ア
ドレス加工部204及びセレクタ205からなる。座標
取得部201は、描画パイプライン91の前段から受け
付けた元情報Mのうち、座標情報を取り出してフレーム
メモリ14−1に対して読み出しを要求するべきアドレ
スの元とする。クリアアドレスキャッシュ202は、図
52に示す制御情報領域102のどのアドレスをキャッ
シングしているかを示す情報を保持する。アドレス加工
部204は、座標取得部201が取得したアドレスを加
工して、本来の情報が格納されているアドレス或いは制
御情報が格納されているアドレスを生成する。キャッシ
ュテスト部203は、座標取得部201が取得したアド
レスと、キャッシングしているアドレスとを比較する。
既に制御情報をキャッシングしている場合には、アドレ
ス加工部204により本来の情報が格納されているアド
レスをフレームメモリ14−1に提示する。他方、制御
情報をキャッシングしていないか、或いは、キャッシン
グしている制御情報とは別のアドレスの制御情報が必要
となった場合には、制御情報が格納されているアドレス
をフレームメモリ14−1に提示する。更に、後述する
データ受け付けユニット92−j+1に対し、本来の情
報ではなく制御情報をアクセスしたことが識別できるよ
うに、セレクタ205が元情報MにタグFCを付けて次
段のユニットに伝達する。
The address presentation unit 92-j shown in FIG. 53A includes a coordinate acquisition unit 201, a clear address cache (memory) 202, a cache test unit 203, an address processing unit 204, and a selector 205. The coordinate acquisition unit 201 extracts the coordinate information from the original information M received from the preceding stage of the drawing pipeline 91 and sets the coordinate information as the source of the address to request the frame memory 14-1 to read. The clear address cache 202 holds information indicating which address in the control information area 102 shown in FIG. 52 is being cached. The address processing unit 204 processes the address obtained by the coordinate obtaining unit 201 to generate an address at which original information is stored or an address at which control information is stored. The cache test unit 203 compares the address acquired by the coordinate acquisition unit 201 with the cached address.
If the control information has already been cached, the address at which the original information is stored is presented to the frame memory 14-1 by the address processing unit 204. On the other hand, if the control information is not cached, or if control information at an address different from the cached control information is required, the address storing the control information is stored in the frame memory 14-1. To present. Further, the selector 205 attaches a tag FC to the original information M and transmits the original information M to the next unit so that the data accepting unit 92-j + 1 described later can be identified as having accessed the control information instead of the original information.

【0167】図53(b)に示すデータ受け付けユニッ
ト92−j+1は、FC解釈部301、クリアデータキ
ャッシュ(メモリ)302、クリアテスト部303、ク
リア値を出力するレジスタ304及びセレクタ305か
らなる。FC解釈部301は、タグFCに基づいて、フ
レームメモリ14−1から読み出された情報が本来の情
報であるか制御情報であるかを解釈、即ち、認識する。
クリアデータキャッシュ302は、制御情報を保持す
る。FC解釈部301により制御情報が読み出されたと
認識されると、フレームメモリ14−1から受け付けた
データがクリアデータキャッシュ302に書き込まれ
る。クリアテスト部303は、元情報Mから座標を取り
出すと共に、クリアデータキャッシュ302内の対応す
るビットを検索して制御情報が「0」であるか「1」で
あるかを識別する。制御情報が「1」の場合はクリア状
態ではないので、セレクタ305によりフレームメモリ
14−1から受け付けたデータを描画パイプライン91
の次段のユニットへ伝達する。他方、制御情報が「0」
の場合には、クリア状態であるため、描画パイプライン
91の次段のユニットへはレジスタ304に格納された
クリア値を伝達する。
The data receiving unit 92-j + 1 shown in FIG. 53B includes an FC interpreting unit 301, a clear data cache (memory) 302, a clear test unit 303, a register 304 for outputting a clear value, and a selector 305. The FC interpreting unit 301 interprets, that is, recognizes, based on the tag FC, whether the information read from the frame memory 14-1 is the original information or the control information.
The clear data cache 302 holds control information. When the FC interpreting unit 301 recognizes that the control information has been read, the data received from the frame memory 14-1 is written to the clear data cache 302. The clear test unit 303 extracts the coordinates from the original information M and searches the corresponding bit in the clear data cache 302 to identify whether the control information is “0” or “1”. When the control information is "1", the data is not in the clear state, and the data received from the frame memory 14-1 by the selector 305 is stored in the drawing pipeline 91.
To the next unit. On the other hand, the control information is “0”
In the case of (1), since the state is the clear state, the clear value stored in the register 304 is transmitted to the next unit of the drawing pipeline 91.

【0168】本実施例によれば、上記の如き構成のアド
レス提示ユニット92−j及びデータ受け付けユニット
92−j+1を用いることにより、制御情報のアクセス
に伴うロスを最小限に抑さえることができる。図51に
示す描画パイプライン91で生成された画像情報は、最
終的にはフレームメモリ14−1,14−2に書き込ま
れるが、これと同時に上記制御情報も書き込む必要があ
る。しかし、制御情報の数は、本来の情報のX+1個分
設ける必要があるため、制御情報の交信状態を保持して
おき、最後に書き込みを行うことにより制御情報の書き
込み要求を減らすことが可能である。そこで、これを実
現する本発明になる情報処理装置の第9実施例を以下に
説明する。
According to the present embodiment, by using the address presenting unit 92-j and the data receiving unit 92-j + 1 configured as described above, it is possible to minimize the loss accompanying access to control information. The image information generated by the drawing pipeline 91 shown in FIG. 51 is finally written in the frame memories 14-1 and 14-2, but it is necessary to write the control information at the same time. However, since the number of control information needs to be provided for X + 1 pieces of original information, it is possible to reduce the number of control information write requests by maintaining the communication state of the control information and performing the last write. is there. Therefore, a ninth embodiment of the information processing apparatus according to the present invention for realizing this will be described below.

【0169】図54は、第9実施例の要部を示すブロッ
ク図である。第9実施例の概略構成は、図51に示す第
6実施例の構成と同じであるので、その図示及び説明は
省略する。図54は、図51に示す描画パイプライン9
1内の最終段に組み込まれ、制御情報のキャッシング機
能を備えた処理ユニット92−nの構成を示す。図54
中、処理ユニット92−nは、FC解釈部401、クリ
アアドレスキャッシュ(メモリ)402、クリア更新部
403、セレクタ404,405及びアドレス加工部4
06からなる。FC解釈部401は、タグFCに基づい
て、フレームメモリ14−1から読み出された情報が本
来の情報であるか制御情報であるかを解釈、即ち、認識
する。クリアデータアドレスキャッシュ402は、制御
情報を保持する。FC解釈部401により制御情報が読
み出されたと認識された場合、既にクリアデータアドレ
スキャッシュ402に更新された制御情報が保持されて
いればこの制御情報をフレームメモリ14−1に書き込
む必要がある。このため、セレクタ404,405に元
情報Mを待たせて、クリアデータアドレスキャッシュ4
02に保持されているアドレスとデータに従ってフレー
ムメモリ14−1への書き込みを行う。フレームメモリ
14−1への書き込みが行われた後、新しい制御情報を
クリアデータアドレスキャッシュ402に書き込む。ク
リア更新部403は、制御情報、即ち、本実施例ではク
リアに関する制御情報を更新する。つまり、クリア更新
部403は、元情報Mが本来の情報であり、且つ、その
本来の情報がフレームメモリ14−1に書き込まれる
と、制御情報の対応するビットを「1」に設定する。ア
ドレス加工部406は、セレクタ405を会して得られ
るアドレスを加工して、本来の情報が格納されているア
ドレス或いは制御情報が格納されているアドレスを生成
する。
FIG. 54 is a block diagram showing a main part of the ninth embodiment. The schematic configuration of the ninth embodiment is the same as the configuration of the sixth embodiment shown in FIG. 51, and the illustration and description thereof are omitted. FIG. 54 shows the drawing pipeline 9 shown in FIG.
1 shows the configuration of a processing unit 92-n which is incorporated in the last stage and has a control information caching function. FIG.
Medium, the processing unit 92-n includes an FC interpreting unit 401, a clear address cache (memory) 402, a clear updating unit 403, selectors 404 and 405, and an address processing unit 4.
06. The FC interpreting unit 401 interprets, that is, recognizes whether the information read from the frame memory 14-1 is the original information or the control information based on the tag FC. The clear data address cache 402 holds control information. When the FC interpreting unit 401 recognizes that the control information has been read, if the updated control information is already held in the clear data address cache 402, it is necessary to write this control information to the frame memory 14-1. Therefore, the selectors 404 and 405 are caused to wait for the original information M, and the clear data address cache 4
The write to the frame memory 14-1 is performed according to the address and data stored in the address 02. After writing to the frame memory 14-1, new control information is written to the clear data address cache 402. The clear update unit 403 updates control information, that is, control information related to clearing in this embodiment. That is, when the original information M is the original information and the original information is written into the frame memory 14-1, the clear updating unit 403 sets the corresponding bit of the control information to “1”. The address processing unit 406 processes an address obtained by meeting the selector 405 to generate an address at which original information is stored or an address at which control information is stored.

【0170】本実施例によれば、上記の如き構成の処理
ユニット92−nを用いることにより、制御情報のアク
セスに伴うロスを最小限に抑さえることができる。尚、
上記各実施例は、任意に組み合わせても良いことは言う
までもない。例えば、上記第3〜第9実施例は、夫々第
2実施例にも同様にして適用可能である。又、図51に
示す第6実施例を第2実施例に適用する場合、図51の
フレームメモリ14−1は図21のローカルメモリ15
として使用され、図51のフレームメモリ14−2は図
21のフレームメモリ14として使用される。
According to the present embodiment, by using the processing unit 92-n configured as described above, it is possible to minimize the loss accompanying access to control information. still,
It goes without saying that the above embodiments may be arbitrarily combined. For example, the third to ninth embodiments can be similarly applied to the second embodiment. When the sixth embodiment shown in FIG. 51 is applied to the second embodiment, the frame memory 14-1 in FIG.
The frame memory 14-2 in FIG. 51 is used as the frame memory 14 in FIG.

【0171】以上、本発明を実施例により説明したが、
本発明はこれらの実施例に限定されるものではなく、本
発明の範囲内で種々の変形及び改良が可能であることは
言うまでもない。
As described above, the present invention has been described with reference to the embodiments.
The present invention is not limited to these embodiments, and it goes without saying that various modifications and improvements can be made within the scope of the present invention.

【0172】[0172]

【発明の効果】請求項1及び2記載の発明によれば、描
画パイプラインの動作を止めることなく各処理ユニット
の機能を変更することができる。請求項3〜5記載の発
明によれば、重なりのある画像に関する情報であっても
生成画像情報に矛盾を生じることなく描画パイプライン
を動作させることが可能となる。
According to the first and second aspects of the present invention, the function of each processing unit can be changed without stopping the operation of the drawing pipeline. According to the third to fifth aspects of the present invention, it is possible to operate the drawing pipeline without causing inconsistency in the generated image information even for information related to overlapping images.

【0173】請求項6〜12記載の発明によれば、シク
ロナスメモリ等の高速メモリを使用して描画パイプライ
ンを高速に動作させることができる。請求項13記載の
発明によれば、描画パイプラインの動作を止めることな
く各処理ユニットの機能を変更することができる。
According to the present invention, the drawing pipeline can be operated at high speed by using a high-speed memory such as a cyclonic memory. According to the thirteenth aspect, the function of each processing unit can be changed without stopping the operation of the drawing pipeline.

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

【図1】本発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明の第1実施例のブロック図である。FIG. 2 is a block diagram of a first embodiment of the present invention.

【図3】第1実施例における情報処理の動作フローチャ
ートである。
FIG. 3 is an operation flowchart of information processing in the first embodiment.

【図4】第1実施例におけるラスタライズ処理時のマイ
クロプログラム実行部の動作フローチャートである。
FIG. 4 is an operation flowchart of a microprogram execution unit during a rasterizing process in the first embodiment.

【図5】第1実施例におけるラスタライズ処理時のDD
A部の動作フローチャートである。
FIG. 5 is a diagram illustrating DD during rasterization processing according to the first embodiment;
It is an operation flowchart of A part.

【図6】第1実施例におけるラスタライズ処理時の動作
説明図である。
FIG. 6 is an explanatory diagram of an operation at the time of rasterizing processing in the first embodiment.

【図7】第1実施例におけるラスタライズ処理時の動作
説明図である。
FIG. 7 is an explanatory diagram of an operation during a rasterizing process in the first embodiment.

【図8】第1実施例におけるラスタライズ処理時の動作
説明図である。
FIG. 8 is an explanatory diagram of an operation at the time of rasterizing processing in the first embodiment.

【図9】第1実施例におけるラスタライス処理時の動作
説明図である。
FIG. 9 is an explanatory diagram of an operation at the time of raster rice processing in the first embodiment.

【図10】第1実施例における主副演算部の共有レジス
タへのアクセス動作時のフローチャートである。
FIG. 10 is a flowchart at the time of an operation of accessing a shared register of the main / sub arithmetic unit in the first embodiment.

【図11】第1実施例の共有メモリを説明するための図
である。
FIG. 11 is a diagram illustrating a shared memory according to the first embodiment;

【図12】第1実施例におけるプログラム実行時のマイ
クロプログラム実行部の動作フローチャートである。
FIG. 12 is an operation flowchart of the microprogram execution unit at the time of executing a program in the first embodiment.

【図13】第1実施例の実行制御部の構成図である。FIG. 13 is a configuration diagram of an execution control unit according to the first embodiment.

【図14】第1実施例の実行制御部のパイプライン制御
の動作説明図である。
FIG. 14 is an explanatory diagram of the operation of the pipeline control of the execution control unit of the first embodiment.

【図15】第1実施例の実行制御部の動作説明図であ
る。
FIG. 15 is a diagram illustrating the operation of the execution control unit according to the first embodiment.

【図16】第1実施例の実行制御部の動作説明図であ
る。
FIG. 16 is a diagram illustrating the operation of the execution control unit according to the first embodiment.

【図17】第1実施例の実行制御部の動作説明図であ
る。
FIG. 17 is a diagram illustrating the operation of the execution control unit according to the first embodiment.

【図18】第1実施例の実行制御部の動作説明図であ
る。
FIG. 18 is a diagram illustrating the operation of the execution control unit according to the first embodiment.

【図19】第1実施例の実行制御部の動作説明図であ
る。
FIG. 19 is a diagram illustrating the operation of the execution control unit according to the first embodiment.

【図20】第1実施例のグラフィック専用ハードウェア
部の概略構成を示すブロック図である。
FIG. 20 is a block diagram illustrating a schematic configuration of a graphics-dedicated hardware unit according to the first embodiment.

【図21】本発明になる情報処理装置の第2実施例の要
部の概略構成を示すブロック図である。
FIG. 21 is a block diagram showing a schematic configuration of a main part of a second embodiment of the information processing apparatus according to the present invention.

【図22】画素によって近似的に表現される多角形を示
す図である。
FIG. 22 is a diagram illustrating a polygon approximately represented by pixels.

【図23】図20に示すグラフィック専用ハードウェア
部の処理シーケンスを示す図である。
FIG. 23 is a diagram showing a processing sequence of the graphic-specific hardware unit shown in FIG. 20.

【図24】図21に示すグラフィック専用ハードウェア
部の処理シーケンスを示す図である。
FIG. 24 is a diagram showing a processing sequence of the graphic-specific hardware unit shown in FIG. 21.

【図25】アクセス停止要因が発生した場合の図20に
示すグラフィック専用ハードウェア部の処理シーケンス
を示す図である。
FIG. 25 is a diagram showing a processing sequence of the graphic-dedicated hardware unit shown in FIG. 20 when an access stop factor occurs.

【図26】アクセス停止要因が発生した場合の図21に
示すグラフィック専用ハードウェア部の処理シーケンス
を示す図である。
26 is a diagram illustrating a processing sequence of the graphic-dedicated hardware unit illustrated in FIG. 21 when an access stop factor occurs.

【図27】ブレンダ部の制御部以外の制御部の入出力を
説明する図である。
FIG. 27 is a diagram illustrating input and output of a control unit other than the control unit of the blender unit.

【図28】図27に示す制御部の動作説明用フローチャ
ートである。
28 is a flowchart for explaining the operation of the control unit shown in FIG. 27.

【図29】ブレンダ部の制御部の入出力を説明する図で
ある。
FIG. 29 is a diagram illustrating input / output of a control unit of the blender unit.

【図30】図29に示す制御部の動作説明用フローチャ
ートである。
30 is a flowchart for explaining the operation of the control unit shown in FIG. 29.

【図31】第2実施例が適用されるシステムの全体構成
を示すブロック図である。
FIG. 31 is a block diagram showing the overall configuration of a system to which the second embodiment is applied.

【図32】図31に示すシステムの要部を示すブロック
図である。
FIG. 32 is a block diagram showing a main part of the system shown in FIG. 31.

【図33】図20に示すグラフィック専用ハードウェア
部におけるDDA部以降のパイプライン処理を説明する
ためのブロック図である。
FIG. 33 is a block diagram for explaining pipeline processing after the DDA unit in the hardware unit for graphics shown in FIG. 20;

【図34】n段のパイプライン処理を説明する図であ
る。
FIG. 34 is a diagram illustrating an n-stage pipeline process.

【図35】画面上重なって表示される多角形画像を説明
する図である。
FIG. 35 is a diagram illustrating a polygon image displayed on the screen in an overlapping manner.

【図36】フレームメモリの読み出し動作及び書き込み
動作を説明する図である。
FIG. 36 is a diagram illustrating a read operation and a write operation of the frame memory.

【図37】本発明になる情報処理装置の第3実施例の要
部を示すブロック図である。
FIG. 37 is a block diagram showing a main part of a third embodiment of the information processing apparatus according to the present invention.

【図38】第3実施例において描画パイプラインに供給
する画像情報の生成に直接的及び間接的に関与する情報
を説明する図である。
FIG. 38 is a diagram illustrating information directly and indirectly involved in generating image information to be supplied to a drawing pipeline in the third embodiment.

【図39】第3実施例におけるパイプライン処理を説明
する図である。
FIG. 39 is a diagram illustrating pipeline processing in the third embodiment.

【図40】本発明になる情報処理装置の第4実施例の要
部を示すブロック図である。
FIG. 40 is a block diagram showing a main part of a fourth embodiment of the information processing apparatus according to the present invention.

【図41】第4実施例において描画パイプラインに供給
する画像情報の生成に直接的及び間接的に関与する情報
を説明する図である。
FIG. 41 is a diagram illustrating information directly and indirectly involved in generation of image information to be supplied to a drawing pipeline in a fourth embodiment.

【図42】第4実施例における処理の待ち合わせを説明
する図である。
FIG. 42 is a diagram for explaining processing waiting in the fourth embodiment.

【図43】フレームメモリにシンクロナスメモリを用い
た場合の書き込み動作及び読み出し動作を説明する図で
ある。
FIG. 43 is a diagram illustrating a write operation and a read operation when a synchronous memory is used as a frame memory.

【図44】考えられる情報処理装置の要部を示すブロッ
ク図である。
FIG. 44 is a block diagram showing a main part of a possible information processing apparatus.

【図45】図44に示す装置の読み出し動作を説明する
図である。
FIG. 45 is a diagram illustrating a read operation of the device illustrated in FIG. 44.

【図46】図44に示す装置の読み出し/書き込み動作
の切り換えを説明する図である。
FIG. 46 is a view for explaining switching between read / write operations of the device shown in FIG. 44;

【図47】本発明になる情報処理装置の第5実施例の要
部を示すブロック図である。
FIG. 47 is a block diagram showing a main part of a fifth embodiment of the information processing apparatus according to the present invention.

【図48】第5実施例の読み出し動作を説明する図であ
る。
FIG. 48 is a diagram illustrating a read operation of the fifth embodiment.

【図49】第5実施例の調停回路の概略構成を示すブロ
ック図である。
FIG. 49 is a block diagram illustrating a schematic configuration of an arbitration circuit according to a fifth embodiment.

【図50】調停回路制御部の動作を説明するフローチャ
ートである。
FIG. 50 is a flowchart illustrating the operation of the arbitration circuit control unit.

【図51】本発明になる情報処理装置の第6実施例の要
部を示すブロック図である。
FIG. 51 is a block diagram showing a main part of a sixth embodiment of the information processing apparatus according to the present invention.

【図52】本発明になる情報処理装置の第7実施例にお
けるフレームメモリの構成を説明する図である。
FIG. 52 is a diagram illustrating a configuration of a frame memory in a seventh embodiment of the information processing apparatus according to the present invention.

【図53】本発明になる情報処理装置の第8実施例の要
部を示すブロック図である。
FIG. 53 is a block diagram showing a main part of an eighth embodiment of the information processing apparatus according to the present invention.

【図54】本発明になる情報処理装置の第9実施例の要
部を示すブロック図である。
FIG. 54 is a block diagram showing a main part of a ninth embodiment of the information processing apparatus according to the present invention.

【図55】従来の情報処理装置の一例のブロック図であ
る。
FIG. 55 is a block diagram illustrating an example of a conventional information processing apparatus.

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

1 第1の情報処理手段 2 第2の情報処理手段 3 通信手段 4 処理情報記憶手段 5 情報記憶手段 6 第1の情報記憶手段 7 第2の情報記憶手段 8 第3の情報記憶手段 11 情報処理システム 12 ホストコンピュータ 13 情報処理装置 14 フレームメモリ 15 ローカルメモリ 16 テクスチャメモリ 18 グラフィック専用ハードウェア 19 マイクロプログラム実行 23 DDA部 24 テクスチュア処理部 25 描画条件判定部 26 ブレンダ部 27 ホストインタフェース 28 実行制御部 29 命令キャッシュ 30 主演算部 31 副演算部 32 共有レジスタ 33 共有メモリ 61 ユーザ入力装置 62 ホストプロセッサ 63 補助記憶装置 64 ホストメモリ 65 幾何変換プロセッサ 66 ワークメモリ 67 情報処理装置 68 表示制御部 69 ディスプレイ 70 半導体チップ 81,91 描画パイプライン 92−1〜92−n 処理ユニット 93−1〜93−n パイプラインレジスタ 95 セレクタ 96 ロックユニット 97 調停回路 REFERENCE SIGNS LIST 1 first information processing means 2 second information processing means 3 communication means 4 processing information storage means 5 information storage means 6 first information storage means 7 second information storage means 8 third information storage means 11 information processing System 12 Host computer 13 Information processing device 14 Frame memory 15 Local memory 16 Texture memory 18 Graphic-specific hardware 19 Microprogram execution 23 DDA unit 24 Texture processing unit 25 Drawing condition determination unit 26 Blender unit 27 Host interface 28 Execution control unit 29 Command Cache 30 Main operation unit 31 Sub-operation unit 32 Shared register 33 Shared memory 61 User input device 62 Host processor 63 Auxiliary storage device 64 Host memory 65 Geometric conversion processor 66 Work memory 67 Information processing device 68 Table Control unit 69 displays 70 the semiconductor chip 81 and 91 rendering pipeline 92-1 to 92-n processing units 93-1~93-n pipeline register 95 Selector 96 lock unit 97 arbitration circuit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 佐々木 繁 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 立松 律子 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Shigeru Sasaki 1015 Uedanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture Inside Fujitsu Limited (72) Inventor Ritsuko Tatematsu 1015 Kamidadanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture Fujitsu Limited

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 表示するべき画像情報の生成に間接的に
関与する第1の情報を格納するメモリ手段に接続される
情報処理装置であって、 該第1の情報及び表示するべき画像情報の生成に直接関
与する第2の情報に対してパイプライン処理を施し、該
メモリ手段に生成画像情報を供給する描画パイプライン
と、 該描画パイプラインは、nを自然数とすると、該第2の
情報の演算を行う演算手段及び該第1の情報の解釈を行
う解釈手段を有する処理ユニットと、該処理ユニットの
出力を格納するレジスタとが交互にn段設けられてお
り、 該n段の各処理ユニットに対応する処理内容の制御線を
上位装置から得られる該第2の情報と共に一括して受け
付けて該描画パイプラインに供給するセレクタ手段とを
備えた、情報処理装置。
1. An information processing apparatus connected to a memory unit for storing first information indirectly involved in generation of image information to be displayed, wherein the first information and the image information to be displayed are A rendering pipeline for performing pipeline processing on second information directly involved in generation and supplying generated image information to the memory means; and if the rendering pipeline is a natural number, the second information A processing unit having an operation means for performing the above operation and an interpretation means for interpreting the first information, and a register for storing an output of the processing unit are provided alternately in n stages. An information processing apparatus, comprising: selector means for collectively receiving a control line of processing content corresponding to a unit together with the second information obtained from a higher-level device and supplying the control line to the drawing pipeline.
【請求項2】 該第1及び第2の情報の両方を扱うため
の情報と、該第1及び第2の情報のうちどちらの情報で
あるかを示すタグとからなる情報を該描画パイプライン
に供給する手段を更に備え、該描画パイプラインの各処
理ユニットは該タグを検出して供給された情報を該演算
手段で処理するか該解釈手段で処理するかを決定する、
請求項1記載の情報処理装置。
2. A rendering pipeline comprising: information for handling both the first and second information; and a tag indicating which of the first and second information is the information. A processing unit of the drawing pipeline detects the tag and determines whether the supplied information is processed by the calculation unit or the interpretation unit.
The information processing device according to claim 1.
【請求項3】 該描画パイプラインの前段に設けられ、
上位装置からの多角形情報を点に分解する際に多角形の
最後の点には終点を意味する終点タグを付加して該第2
の情報を出力する出力手段と、該描画パイプライン内で
該メモリ手段からの該第1の情報を必要とする処理ユニ
ットの直前の段に設けられているロックユニットとを更
に備え、該ロックユニットは入力されてくる該第2の情
報に付加されている終点タグがオンの場合にこの第2の
情報を多角形の終点情報とみなし、この第2の情報を含
めて該描画パイプライン上に残っている情報が全て該描
画パイプラインから出力されるまで以降の情報を止めて
おく処理を行う、請求項1又は2記載の情報処理装置。
3. The apparatus is provided in a stage preceding the drawing pipeline,
When decomposing polygon information from a higher-level device into points, an end point tag indicating an end point is added to the last point of the polygon,
And a lock unit provided in a stage immediately before the processing unit that needs the first information from the memory unit in the drawing pipeline. When the end point tag added to the input second information is on, the second information is regarded as the end point information of the polygon, and the second information including the second information is displayed on the drawing pipeline. The information processing apparatus according to claim 1, wherein a process of stopping subsequent information until all remaining information is output from the drawing pipeline is performed.
【請求項4】 該出力手段は待ち合わせ処理が必要な場
合にのみ終点タグを出力する手段を有する、請求項3記
載の情報処理装置。
4. The information processing apparatus according to claim 3, wherein said output means has means for outputting an end point tag only when a waiting process is required.
【請求項5】 該ロックユニットは、該描画パイプライ
ン上に残っている情報が全て該描画パイプラインから出
力されるまで以降の情報を止めるロック機構と、待ち合
わせ処理が有る場合にのみ終点タグにより該ロック機構
を起動する手段とを有する、請求項3又は4記載の情報
処理装置。
5. The lock unit comprises: a lock mechanism for stopping subsequent information until all the information remaining on the drawing pipeline is output from the drawing pipeline; and an end point tag only when there is a waiting process. The information processing apparatus according to claim 3, further comprising a unit that activates the lock mechanism.
【請求項6】 該描画パイプラインは、アドレス提示ユ
ニットとして使用され該メモリ手段に対してアドレスを
与えるだけに使用される第1の処理ユニットと、該メモ
リ手段から出力されるデータを受けデータ受付ユニット
として使用される第2の処理ユニットと、該第1及び第
2の処理ユニットの間のレイテンシに相当する遅れを吸
収する複数のパイプラインレジスタとを有する、請求項
1記載の情報処理装置。
6. The drawing pipeline is a first processing unit used as an address presenting unit and used only to give an address to the memory means, and receives data output from the memory means and receives data. The information processing apparatus according to claim 1, further comprising a second processing unit used as a unit, and a plurality of pipeline registers that absorb a delay corresponding to a latency between the first and second processing units.
【請求項7】 該メモリ手段と該描画パイプラインとの
間に設けられ、該メモリ手段が読み出し動作中は、読み
出し待ち行列の要求を優先的に処理させて読み出し動作
を連続して行わせると共に、該メモリ手段が書き込み動
作中は、書き込み待ち行列の要求を優先的に処理させて
書き込み動作を連続して行わせることで、書き込み動作
と読み出し動作との切り換えによるロス時間を抑さえる
調停手段を更に備えた、請求項6記載の情報処理装置。
7. A memory device is provided between the memory means and the drawing pipeline. When the memory means is performing a read operation, a request in a read queue is preferentially processed so that the read operation is performed continuously. During the write operation of the memory means, the arbitration means for suppressing the loss time due to switching between the write operation and the read operation by causing the request of the write queue to be processed preferentially and performing the write operation continuously. The information processing apparatus according to claim 6, further comprising:
【請求項8】 該メモリ手段はシンクロナスメモリから
なる、請求項1〜7のうちいずれか一項記載の情報処理
装置。
8. The information processing apparatus according to claim 1, wherein said memory means comprises a synchronous memory.
【請求項9】 表示するべき画像情報の生成に間接的に
関与する第1の情報を格納するメモリ手段に接続される
情報処理装置であって、 該第1の情報及び表示するべき画像情報の生成に直接関
与する第2の情報に対してパイプライン処理を施し、該
メモリ手段に生成画像情報を供給する描画パイプライン
を備え、 該描画パイプラインは、nを自然数とすると、該第2の
情報の演算を行う演算手段及び該第1の情報の解釈を行
う解釈手段を有する処理ユニットと、該処理ユニットの
出力を格納するレジスタとが交互にn段設けられてお
り、 該メモリ手段はシンクロナスメモリからなり該調停回路
に接続された第1のメモリと、表示手段に接続される第
2のメモリとからなり、第1のメモリに対しては該描画
パイプラインから読み出し動作及び書き込み動作の両方
の動作が行われ、該第2のメモリに対しては該描画パイ
プラインからの書き込み動作と該表示手段からのアクセ
ス要求処理の両方が行われ、 該第1のメモリは、本来の画像情報を記憶する第1の記
憶領域と、該本来の画像情報と1対1に設けられた制御
情報を記憶する第2の記憶領域とを有する、情報処理装
置。
9. An information processing apparatus connected to a memory means for storing first information indirectly involved in generation of image information to be displayed, wherein the first information and the image information to be displayed are stored in a memory. A drawing pipeline for performing pipeline processing on second information directly involved in generation and supplying generated image information to the memory unit; wherein n is a natural number; A processing unit having an operation means for calculating information and an interpretation means for interpreting the first information, and a register for storing an output of the processing unit are provided alternately in n stages. A first memory connected to the arbitration circuit, and a second memory connected to the display means. The first memory reads out and writes data from the drawing pipeline to the first memory. Both of the writing operation are performed, and both the writing operation from the drawing pipeline and the access request processing from the display unit are performed on the second memory. An information processing apparatus, comprising: a first storage area for storing original image information; and a second storage area for storing control information provided one-to-one with the original image information.
【請求項10】 該描画パイプラインは該調停手段に接
続されたアドレス提示ユニットとデータ受け付けユニッ
トとを有し、該アドレス提示ユニット及び該データ受け
付けユニットは夫々制御情報をキャッシングする手段を
含む、請求項9記載の情報処理装置。
10. The drawing pipeline has an address presentation unit and a data reception unit connected to the arbitration unit, and the address presentation unit and the data reception unit each include a unit for caching control information. Item 10. The information processing device according to Item 9.
【請求項11】 該アドレス提示ユニットは、該第2の
記憶領域のどのアドレスをキャッシングしているかを示
す情報を保持する手段を含み、既に制御情報をキャッシ
ングしている場合には本来の画像情報が格納されている
アドレスを該第1のメモリに提示すると共に、制御情報
をキャッシングしていないか、或いは、キャッシングし
ている制御情報とは別のアドレスの制御情報が必要とな
った場合には、制御情報が格納されているアドレスを該
第1のメモリに提示し、 該データ受け付けユニットは、制御情報が第1の値の場
合には該第1のメモリから受け付けたデータを該描画パ
イプラインの次段のユニットへ伝達すると共に、制御情
報が第2の値の場合には該描画パイプラインの次段のユ
ニットへ所定値を伝達する、請求項10記載の情報処理
装置。
11. The address presenting unit includes means for holding information indicating which address of the second storage area is being cached, and when control information has already been cached, the original image information is stored. Is presented to the first memory and the control information is not cached, or when control information of an address different from the cached control information is required. Presenting an address at which control information is stored to the first memory, the data receiving unit, when the control information has a first value, the data received from the first memory to the drawing pipeline 11. The information according to claim 10, wherein a predetermined value is transmitted to a next-stage unit of the drawing pipeline, and when the control information is the second value, a predetermined value is transmitted to a next-stage unit of the drawing pipeline. Processing apparatus.
【請求項12】 該描画パイプラインは、その最終段に
組み込まれており制御情報のキャッシング機能を備えた
処理ユニットを有する、請求項9記載の情報処理装置。
12. The information processing apparatus according to claim 9, wherein said drawing pipeline has a processing unit incorporated in a final stage thereof and having a control information caching function.
【請求項13】 表示するべき画像情報の生成に間接的
に関与する第1の情報を格納するメモリ手段に接続され
る情報処理装置における情報処理方法であって、 該第1の情報及び表示するべき画像情報の生成に直接関
与する第2の情報に対してパイプライン処理を施し、該
メモリ手段に生成画像情報を供給する第1のステップ
と、 該第1のステップは、nを自然数とすると、該第2の情
報の演算を行う演算手段及び該第1の情報の解釈を行う
解釈手段を有する処理ユニットと、該処理ユニットの出
力を格納するレジスタとが交互にn段設けられている描
画パイプラインを用い、 該n段の各処理ユニットに対応する処理内容の制御線を
上位装置から得られる該第2の情報と共に一括して受け
付けて該描画パイプラインに供給する第2のステップと
を含む、情報処理方法。
13. An information processing method in an information processing apparatus connected to a memory means for storing first information indirectly involved in generation of image information to be displayed, wherein the first information and the display information are displayed. A first step of performing pipeline processing on second information directly related to generation of power image information and supplying generated image information to the memory means; and the first step is a step in which n is a natural number. A processing unit having an operation means for performing an operation on the second information and an interpretation means for interpreting the first information, and a register for storing an output of the processing unit being provided alternately in n stages A second step of using a pipeline to collectively receive a control line of processing contents corresponding to each of the n-stage processing units together with the second information obtained from a higher-level device and supplying the control line to the drawing pipeline An information processing method comprising:
JP25895898A 1994-12-01 1998-09-11 Information processing apparatus and information processing method Expired - Fee Related JP3097956B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP6-298552 1994-12-01
JP29855294 1994-12-01

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP7172593A Division JP2889842B2 (en) 1994-12-01 1995-07-07 Information processing apparatus and information processing method

Publications (2)

Publication Number Publication Date
JPH11144064A true JPH11144064A (en) 1999-05-28
JP3097956B2 JP3097956B2 (en) 2000-10-10

Family

ID=17861218

Family Applications (2)

Application Number Title Priority Date Filing Date
JP25895898A Expired - Fee Related JP3097956B2 (en) 1994-12-01 1998-09-11 Information processing apparatus and information processing method
JP25895798A Expired - Fee Related JP3097955B2 (en) 1994-12-01 1998-09-11 Information processing apparatus and information processing method

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP25895798A Expired - Fee Related JP3097955B2 (en) 1994-12-01 1998-09-11 Information processing apparatus and information processing method

Country Status (1)

Country Link
JP (2) JP3097956B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006115092A (en) * 2004-10-13 2006-04-27 Matsushita Electric Ind Co Ltd Device and method for image data processing
CN100447818C (en) * 2006-05-23 2008-12-31 绘展科技股份有限公司 Adjustable tile field depth filtering method
KR100919236B1 (en) * 2007-05-22 2009-09-30 한국전자통신연구원 A method for 3D Graphic Geometric Transformation using Parallel Processor

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7385607B2 (en) * 2004-04-12 2008-06-10 Nvidia Corporation Scalable shader architecture
JP4799171B2 (en) * 2005-12-26 2011-10-26 株式会社東芝 Drawing apparatus and data transfer method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006115092A (en) * 2004-10-13 2006-04-27 Matsushita Electric Ind Co Ltd Device and method for image data processing
JP4658563B2 (en) * 2004-10-13 2011-03-23 パナソニック株式会社 Image data processing apparatus and image data processing method
CN100447818C (en) * 2006-05-23 2008-12-31 绘展科技股份有限公司 Adjustable tile field depth filtering method
KR100919236B1 (en) * 2007-05-22 2009-09-30 한국전자통신연구원 A method for 3D Graphic Geometric Transformation using Parallel Processor

Also Published As

Publication number Publication date
JP3097956B2 (en) 2000-10-10
JPH11167643A (en) 1999-06-22
JP3097955B2 (en) 2000-10-10

Similar Documents

Publication Publication Date Title
JP2889842B2 (en) Information processing apparatus and information processing method
Blythe Rise of the graphics processor
TWI425418B (en) Across-thread out of order instruction dispatch in a multithreaded microprocessor
US6078339A (en) Mutual exclusion of drawing engine execution on a graphics device
US5493644A (en) Polygon span interpolator with main memory Z buffer
TW449730B (en) A three dimensional graphic processor
US7522171B1 (en) On-the-fly reordering of 32-bit per component texture images in a multi-cycle data transfer
US6806883B2 (en) System and method for handling display device requests for display data from a frame buffer
JP6009692B2 (en) Multi-mode memory access technique for graphics processing unit based memory transfer operations
US8135926B1 (en) Cache-based control of atomic operations in conjunction with an external ALU block
JP3096431B2 (en) Computer system, graphics processor, instruction prefetch unit and method of prefetching opcode instructions
Deering et al. FBRAM: a new form of memory optimized for 3D graphics
US8108610B1 (en) Cache-based control of atomic operations in conjunction with an external ALU block
KR102572583B1 (en) Mechanisms for accelerating graphics workloads on multi-core computing architectures.
US20100201703A1 (en) Systems and Methods for Improving Throughput of a Graphics Processing Unit
US9830741B2 (en) Setting downstream render state in an upstream shader
US9922396B2 (en) Reduction of BVH-node bandwidth with incremental traversal
TW200933522A (en) Graphics processing systems, cache systems and data-handling methods
JP2000293709A (en) Device, system and method for processing picture
GB2211706A (en) Local display bus architecture and communications method for raster display
JP2010140480A (en) Deadlock avoidance by marking cpu traffic as special
US8941669B1 (en) Split push buffer rendering for scalability
US7685370B1 (en) Data synchronization with multiple producers
US6952217B1 (en) Graphics processing unit self-programming
US6741256B2 (en) Predictive optimizer for DRAM memory

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000725

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080811

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090811

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090811

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100811

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110811

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120811

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120811

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130811

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees