JPH0737108A - Data communication system - Google Patents

Data communication system

Info

Publication number
JPH0737108A
JPH0737108A JP17919293A JP17919293A JPH0737108A JP H0737108 A JPH0737108 A JP H0737108A JP 17919293 A JP17919293 A JP 17919293A JP 17919293 A JP17919293 A JP 17919293A JP H0737108 A JPH0737108 A JP H0737108A
Authority
JP
Japan
Prior art keywords
data
cpu
vertex
storage area
graphics processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP17919293A
Other languages
Japanese (ja)
Inventor
Hideyuki Fujishima
秀幸 藤嶋
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP17919293A priority Critical patent/JPH0737108A/en
Publication of JPH0737108A publication Critical patent/JPH0737108A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent redundant data transfer and to simplify a pipeline processing by preparing the copy of redundant data. CONSTITUTION:A central processing unit (CPU) 101, a main memory 102 accessed by CPU 101, a communication memory 103 connecting a system bus 106 and a graphics processor 104, the graphics processor 104 receiving plotting data through the communication memory 103 and executing a plotting processing, a display 105 displaying a graphic plotted by the graphics processor 104 and a system bus 106 conencting CPU 101, the main memory 102 and the communication memory 103 are provided. All apex data outputted from CPU 101 are transmitted to the graphics processor 104 and data are copied as the attributes of respective apexes without transferring data on the system bus 106 for a mode where a unique attribute is given to an apex string by the rewriting of a mode register.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、中央処理装置(CPU)
で生成された描画データをグラフィクス処理装置に転送
する際のデータ通信方式に関するものである。
BACKGROUND OF THE INVENTION The present invention relates to a central processing unit (CPU).
The present invention relates to a data communication method for transferring the drawing data generated in (1) to the graphics processing device.

【0002】[0002]

【従来の技術】近年、計算機によって描画データを作成
し、その描画データを表示装置に表示させる装置の発展
には目覚ましいものがある。また、グラフィクス処理を
専用のハードウェアに行わせることにより、描画の高速
化を図る工夫がなされている製品が多く発表されてい
る。このときのデータを転送するためのシステムバスの
転送量が処理の高速化に大きく影響する。
2. Description of the Related Art In recent years, there has been a remarkable progress in the development of a device for creating drawing data by a computer and displaying the drawing data on a display device. In addition, many products have been announced in which devising to speed up drawing is performed by causing dedicated hardware to perform graphics processing. At this time, the transfer amount of the system bus for transferring the data greatly affects the speeding up of the processing.

【0003】以下に、従来のデータ通信方式について説
明する。図4は従来のデータ通信方式の構成を示す図で
ある。図4において、401は中央処理装置(CPU)、402
はCPU401によってアクセスされる主メモリ、403はシ
ステムバス406とグラフィクス処理装置404を結ぶFIF
O(first-in first-out)メモリ、404は、FIFOメモ
リ403を介して描画データを受け取り、描画処理を行う
グラフィクス処理装置、405はグラフィクス処理装置404
によって描画された図形を表示するディスプレイ、406
はCPU401,主メモリ402およびFIFOメモリ403を
結ぶシステムバスである。さらに、FIFOメモリ403
について詳細に説明する。図5はFIFOメモリ内部の
構成を示す図である。図5において、501はFIFOメ
モリ、502はFIFOメモリ501に接続されるシステムデ
ータバス、503はFIFOメモリ501から出力されるデー
タをグラフィクス処理装置404に伝えるグラフィクスデ
ータバス、504はマルチプレクサ505に対して制御信号を
出力する入力カウンタ、505はシステムデータバス502か
ら入力されるデータを記憶領域506に伝達するマルチプ
レクサ、506は入力されたデータを保持する記憶領域、5
07はセレクタ508に対して制御信号を出力する出力カウ
ンタ、508は記憶領域506から出力されるデータを選択し
てグラフィクスデータバス503に伝達するセレクタであ
る。
A conventional data communication system will be described below. FIG. 4 is a diagram showing a configuration of a conventional data communication system. In FIG. 4, 401 is a central processing unit (CPU), 402
Is a main memory accessed by the CPU 401, and 403 is a FIFO connecting the system bus 406 and the graphics processing device 404.
An O (first-in first-out) memory, 404 is a graphics processing device that receives drawing data via the FIFO memory 403, and performs drawing processing, and 405 is a graphics processing device 404.
A display that displays the shapes drawn by 406
Is a system bus connecting the CPU 401, the main memory 402 and the FIFO memory 403. In addition, a FIFO memory 403
Will be described in detail. FIG. 5 shows the internal structure of the FIFO memory. In FIG. 5, 501 is a FIFO memory, 502 is a system data bus connected to the FIFO memory 501, 503 is a graphics data bus for transmitting the data output from the FIFO memory 501 to the graphics processing device 404, and 504 is a multiplexer 505. An input counter for outputting a control signal, 505 a multiplexer for transmitting the data input from the system data bus 502 to the storage area 506, 506 a storage area for holding the input data, 5
Reference numeral 07 is an output counter that outputs a control signal to the selector 508, and reference numeral 508 is a selector that selects the data output from the storage area 506 and transmits it to the graphics data bus 503.

【0004】以上のように構成された従来のデータ通信
方式について以下にその動作を説明する。ここで、描画
データとは線分や多角形などの図形を構成する頂点の列
として与えられるものとする。まず、CPU401が主メ
モリ402から描画データを抽出し、FIFOメモリ403に
対して前記描画データを出力する。この動作はグラフィ
クス処理装置404の動作とは独立に行われる。CPU401
から描画データを受け取ったFIFOメモリ403の動作
を以下に説明する。図5において、システムデータバス
502からFIFOメモリ501はデータを受け取る。マルチ
プレクサ505は入力カウンタ504の示す値に従って入力さ
れたデータを記憶領域506に格納する。さらに、この
後、入力カウンタ504の値がインクリメントされる。さ
らに、次のデータが入力された場合には、同様にして入
力カウンタ504の示す記憶領域506に格納され、入力カウ
ンタ504がインクリメントされる。このようにして記憶
領域506に描画データが蓄積される。次に、グラフィク
スデータバス503に接続されたグラフィクス処理装置404
が描画データを要求してきた際には、出力カウンタ507
によって示された値に従って、セレクタ508がデータを
選択し、該当する記憶領域から描画データを抽出し、グ
ラフィクスデータバス503上に出力する。
The operation of the conventional data communication system configured as described above will be described below. Here, it is assumed that the drawing data is given as a row of vertices forming a figure such as a line segment or a polygon. First, the CPU 401 extracts drawing data from the main memory 402 and outputs the drawing data to the FIFO memory 403. This operation is performed independently of the operation of the graphics processing device 404. CPU401
The operation of the FIFO memory 403 which receives the drawing data from will be described below. In FIG. 5, the system data bus
The FIFO memory 501 receives data from 502. The multiplexer 505 stores the input data in the storage area 506 according to the value indicated by the input counter 504. Further, thereafter, the value of the input counter 504 is incremented. Further, when the next data is input, it is similarly stored in the storage area 506 indicated by the input counter 504, and the input counter 504 is incremented. In this way, drawing data is accumulated in the storage area 506. Next, the graphics processing device 404 connected to the graphics data bus 503.
Output counter 507
The selector 508 selects data in accordance with the value indicated by, the drawing data is extracted from the corresponding storage area, and is output onto the graphics data bus 503.

【0005】図6はこの従来例のFIFOメモリの概念
的な動作を示す図である。図6のようにシステムデータ
バスから与えられたデータは、与えられた順序のままF
IFOメモリ内に蓄えられ、グラフィクス処理装置の要
求によって前記の順序のまま出力される。このようにし
てCPU401はグラフィクス処理装置404の動作とは独立
にデータの転送を行うことができる。
FIG. 6 is a diagram showing a conceptual operation of the conventional FIFO memory. The data given from the system data bus as shown in FIG.
It is stored in the IFO memory and is output in the above order in accordance with the request of the graphics processing device. In this way, the CPU 401 can transfer data independently of the operation of the graphics processing device 404.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記従
来例では、図形を表す頂点列の各頂点に対して色データ
等の属性が付加されている場合と、図形を表す頂点列に
対して唯一の属性が付加されている場合とで必要となる
データの量が異なる場合に、必要なデータのみをシステ
ムバス上に転送すると、グラフィクス処理装置内でデー
タを受け取る際に条件付けにより処理の流れを変更して
やる必要が生じ、結果として条件の判断によりステップ
数が増加し、処理プログラムの増大や処理時間の増加を
招く。また、グラフィクス処理の流れを単一にしてしま
うと、図形を表す頂点列に対して唯一の属性が付加され
ている場合に冗長なデータを与える必要があり、システ
ムバス上を転送されるデータの量が増加してしまうとい
った問題を有していた。本発明は上記従来の問題を解決
するものであり、冗長なデータ転送の防止とパイプライ
ン処理の単純化を図ったデータ通信方式を提供すること
を目的とする。
However, in the above-mentioned conventional example, attributes such as color data are added to each vertex of a vertex row representing a figure, and only one vertex row representing a figure is identified. If the required amount of data differs between when the attribute is added and when only the required data is transferred to the system bus, the processing flow will be changed by conditioning when the data is received in the graphics processing device. Necessity arises, and as a result, the number of steps increases due to the determination of conditions, which causes an increase in processing programs and processing time. Also, if the graphics processing flow is made single, it is necessary to give redundant data when a unique attribute is added to the vertex row representing a figure, and the data transferred on the system bus There was a problem that the amount would increase. The present invention solves the above-mentioned conventional problems, and an object of the present invention is to provide a data communication system that prevents redundant data transfer and simplifies pipeline processing.

【0007】[0007]

【課題を解決するための手段】本発明は上記した目的を
達成するため、データ通信方式は、中央処理装置(CP
U)と、前記CPUからアクセスされる主メモリと、前
記CPUからアクセスされるグラフィクス処理装置と、
前記CPU,前記主メモリおよび前記グラフィクス処理
装置とを結ぶシステムバスと、さらに前記グラフィクス
処理装置と前記システムバスを結ぶ通信用メモリおよび
前記グラフィクス処理装置から出力される画像信号を表
示するための表示装置からなり、前記CPUは前記主メ
モリから描画すべき要素を構成する頂点のデータを抽出
し前記通信用メモリに対して前記データを出力する手段
を備え、前記通信用メモリは頂点単位のデータを複数個
保持するための記憶領域を備え、該記憶領域は前記シス
テムバス上に出力されるアドレスに従って前記記憶領域
を指定する手段と、さらに指定された記憶領域に対して
前記システムバス上に出力されるデータを記憶する手段
と、すべての頂点データに対して相異なる属性が必要と
なる第1のモードと、第1の頂点データの属性を代表と
して第2の頂点以降は前記代表となる属性を持つとする
第2のモードを切り替える手段とを有し、前記第1のモ
ードでは前記システムバスから転送されるすべての頂点
に対する属性データを前記記憶領域に保持する手段と、
前記第2のモードでは始めに転送される第1の頂点デー
タの属性のうち第2の頂点データでは不要となる属性に
ついては第1の頂点の属性を複製して保持する手段を有
し、前記第1および第2のモードにおいて、前記グラフ
ィクス処理装置から出力されるアドレスに従って前記記
憶領域内の頂点データを出力する手段を有するものであ
る。
In order to achieve the above-mentioned object, the present invention provides a data communication system that uses a central processing unit (CP).
U), a main memory accessed from the CPU, a graphics processing device accessed from the CPU,
A system bus connecting the CPU, the main memory and the graphics processing device, a communication memory connecting the graphics processing device and the system bus, and a display device for displaying an image signal output from the graphics processing device. The CPU includes means for extracting from the main memory the data of the vertices forming the element to be drawn and outputting the data to the communication memory, and the communication memory includes a plurality of vertex-unit data. A storage area for holding each storage area is provided, and the storage area is output to the system bus for the specified storage area, and means for specifying the storage area according to an address output to the system bus. First mode that requires a means to store data and different attributes for all vertex data , And a means for switching a second mode in which the attribute of the first vertex data is represented as a representative and the second and subsequent vertexes have the attribute serving as the representative. In the first mode, data is transferred from the system bus. Means for holding the attribute data for all the vertices in the storage area,
In the second mode, there is provided means for copying and retaining the attribute of the first vertex for the attribute which is unnecessary in the second vertex data among the attributes of the first vertex data transferred first, In the first and second modes, there is provided means for outputting the vertex data in the storage area according to the address output from the graphics processing device.

【0008】[0008]

【作用】本発明は上記した構成により、冗長なデータの
複製を準備することによりシステムバス上のデータ転送
量を減少させることができ、グラフィクス処理装置の処
理の流れを単一にすることができる。またモードの切り
替え手段を持つことにより、各頂点に異なる属性が付加
される場合にも対応することができる。
According to the present invention, with the above configuration, the data transfer amount on the system bus can be reduced by preparing redundant data duplication, and the processing flow of the graphics processor can be unified. . Further, by having a mode switching means, it is possible to deal with the case where different attributes are added to each vertex.

【0009】[0009]

【実施例】以下に、本発明の一実施例を示す。図1は本
発明の一実施例におけるデータ通信方式の構成を示す図
である。図1において、101は中央処理装置(CPU)、1
02はCPU101によってアクセスされる主メモリ、103は
システムバス106とグラフィクス処理装置104を結ぶ通信
用メモリ、104は、通信用メモリ103を介して描画データ
を受け取り、描画処理を行うグラフィクス処理装置、10
5はグラフィクス処理装置104によって描画された図形を
表示するディスプレイ、106はCPU101,主メモリ10
2,通信用メモリ103を結ぶシステムバスである。通信用
メモリ103について以下に詳細に説明する。図2は通信
用メモリ内部の構成を示す図である。図2において、20
1は通信用メモリ、202はデータ転送のモードを設定する
モードレジスタ、203はシステムバスの一部であるシス
テムアドレスバス、204はシステムバスの一部であるシ
ステムデータバス、205はグラフィクス処理装置に接続
するためのグラフィクスアドレスバス、206はグラフィ
クス処理装置に接続するためのグラフィクスデータバ
ス、207はシステムアドレスバス203の上位の値が伝えら
れる上位アドレス、208はシステムアドレスバス203の下
位の値が与えられる下位アドレス、209はシステムデー
タバス204から選択されたマルチプレクサ210へデータを
伝えるマルチプレクサ、210はマルチプレクサ209から与
えられたデータを選択された記憶領域212に伝えるマル
チプレクサ、211はマルチプレクサ210-aから与えられる
データと他のマルチプレクサ210-b,210-c,210-nから
与えられるデータから選択して記憶領域212に伝えるセ
レクタ、212は与えられたデータを記憶する記憶領域、2
13は、記憶領域212に記憶されているデータを選択し、
グラフィクスデータバス206に出力するセレクタであ
る。
EXAMPLE An example of the present invention will be described below. FIG. 1 is a diagram showing a configuration of a data communication system in an embodiment of the present invention. In FIG. 1, 101 is a central processing unit (CPU), 1
02 is a main memory accessed by the CPU 101, 103 is a communication memory that connects the system bus 106 and the graphics processing device 104, 104 is a graphics processing device that receives drawing data via the communication memory 103, and performs drawing processing, 10
5 is a display for displaying graphics drawn by the graphics processing device 104, 106 is the CPU 101, main memory 10
2. A system bus connecting the communication memory 103. The communication memory 103 will be described in detail below. FIG. 2 is a diagram showing the internal structure of the communication memory. In FIG. 2, 20
1 is a communication memory, 202 is a mode register for setting a mode of data transfer, 203 is a system address bus which is a part of the system bus, 204 is a system data bus which is a part of the system bus, and 205 is a graphics processor. A graphics address bus for connection, 206 is a graphics data bus for connecting to a graphics processing device, 207 is an upper address to which a higher value of the system address bus 203 is transmitted, and 208 is a lower value of the system address bus 203. Lower address, 209 is a multiplexer that conveys data from the system data bus 204 to the selected multiplexer 210, 210 is a multiplexer that conveys the data provided from the multiplexer 209 to the selected storage area 212, and 211 is provided from the multiplexer 210-a. Data and other multiplexers 210-b, 210-c, 210-n Selectors from given data selected and transmitted to the storage area 212, a storage area for storing given data 212, 2
13 selects the data stored in the storage area 212,
This is a selector for outputting to the graphics data bus 206.

【0010】以上のように構成された本発明のデータ通
信方式について、以下にその動作を説明する。ここで、
描画データとは線分や多角形などの図形を構成する頂点
の列として与えられ、さらに頂点の属性としては頂点の
色が与えられるものとする。まず、CPU101から与え
られる頂点列のすべての頂点に対して相異なる属性が付
加されている第1のモードでの動作を説明する。CPU
101はシステムバス106のシステムアドレスバス20
3上に通信用メモリ201のアドレスを出力すると同時に
システムデータバス204に描画データ(頂点列)を出力す
る。通信用メモリ201内部では上位アドレス207に従って
マルチプレクサ209が、どのマルチプレクサ210に伝える
かを決定しデータを伝達する。ここで、仮にマルチプレ
クサ210-aがデータを受け取ったとする。マルチプレク
サ210-aは下位アドレス208に従って記憶領域212-aにデ
ータを伝達する。CPU101は頂点に関するデータ(各座
標値)を順次出力し、通信用メモリ201は与えられたアド
レスに従ってデータを格納していく。また頂点の色は図
2の記憶領域212-aの頂点1の色の位置に記憶される。
さらに、CPU101は頂点2に関するデータを出力す
る。頂点2のデータは同様にしてマルチプレクサ209,
マルチプレクサ210-bを経て記憶領域212-bに記憶され
る。頂点2の色に関しては、モードレジスタ202からの
信号によりセレクタ211でマルチプレクサ210-bから出力
される信号が選択され、記憶領域212-bの頂点2の色の
項に記憶される。以下、同様にセレクタ211-cではマル
チプレクサ210-cの信号が選択され記憶領域212-cに記憶
される。以上のようにして記憶領域212に記憶された頂
点に関するデータは、図3の301に示すようなデータの
ならびとなる。これをグラフィクス処理装置104からグ
ラフィクスアドレスバス205に出力されるアドレス信号
に従ってセレクタ213が記憶領域212のデータを選択し、
グラフィクスデータバス206に出力する。
The operation of the data communication system of the present invention configured as described above will be described below. here,
The drawing data is given as a sequence of vertices forming a figure such as a line segment or a polygon, and the vertex color is given as the vertex attribute. First, the operation in the first mode in which different attributes are added to all the vertices of the vertex row given from the CPU 101 will be described. CPU
101 is the system address bus 20 of the system bus 106
3 outputs the address of the communication memory 201 to the system 3 and simultaneously outputs drawing data (vertex row) to the system data bus 204. In the communication memory 201, the multiplexer 209 determines which multiplexer 210 to transmit according to the upper address 207 and transmits the data. Here, it is assumed that the multiplexer 210-a receives the data. The multiplexer 210-a transfers the data to the storage area 212-a according to the lower address 208. The CPU 101 sequentially outputs the data (each coordinate value) regarding the vertex, and the communication memory 201 stores the data according to the given address. The vertex color is stored in the color position of vertex 1 in the storage area 212-a in FIG.
Further, the CPU 101 outputs data regarding vertex 2. Similarly, the data of the vertex 2 is the multiplexer 209,
It is stored in the storage area 212-b via the multiplexer 210-b. Regarding the color of the vertex 2, the signal output from the multiplexer 210-b is selected by the selector 211 according to the signal from the mode register 202 and stored in the term of the color of the vertex 2 of the storage area 212-b. Hereinafter, similarly, the signal of the multiplexer 210-c is similarly selected by the selector 211-c and stored in the storage area 212-c. The data relating to the vertices stored in the storage area 212 as described above is a line of data as indicated by 301 in FIG. The selector 213 selects the data in the storage area 212 according to the address signal output from the graphics processing device 104 to the graphics address bus 205,
Output to the graphics data bus 206.

【0011】次に、CPUが出力する描画データが頂点
列とその第1の頂点に対する属性のみで構成される場
合、すなわち1つの頂点列に対して唯一の属性が定義さ
れている場合の第2モードにおける動作の説明を以下に
述べる。ここで、モードレジスタ202は何らかの手段
(例:CPUのアクセスによる書き換え)により更新が行
われているとする。CPU101は、システムバス106のシ
ステムアドレスバス203上に通信用メモリ201のアドレス
を出力すると同時に、システムデータバス204に描画デ
ータ(頂点列)を出力する。通信用メモリ201内部では上
位アドレス207に従ってマルチプレクサ209が、どのマル
チプレクサ210に伝えるかを決定しデータを伝達する。
ここで、仮にマルチプレクサ210-aがデータを受け取っ
たとする。マルチプレクサ210-aは下位アドレス208に従
って記憶領域212-aにデータを伝達する。CPU101は頂
点に関するデータ(各座標値)を順次出力し、通信用メモ
リ201は与えられたアドレスに従ってデータを格納して
いく。さらに頂点の色は図2の頂点1の色の位置に記憶
されると同時に、モードレジスタ202の指示に従いセレ
クタ211によってマルチプレクサ210-aの信号が選択さ
れ、頂点2以降のデータを格納する記憶領域212の色の
項には頂点1の色のデータがすべて記憶される。さら
に、CPU101は頂点2に関するデータを出力する。頂
点2のデータは同様にしてマルチプレクサ209,マルチ
プレクサ210-bを経て記憶領域212-bに記憶される。頂点
2以降の色に関しては、CPU101は出力する必要がな
い。以上のようにして記憶領域212に記憶された頂点に
関するデータは、図3の302のようなならびとなる。こ
れをグラフィクス処理装置104からグラフィクスアドレ
スバス205に出力されるアドレス信号に従ってセレクタ2
13が記憶領域212のデータを選択し、グラフィクスデー
タバス206に出力する。
Next, if the drawing data output by the CPU is composed of only the vertex row and the attributes for the first vertex, that is, if only one attribute is defined for one vertex row, the second The operation of the modes will be described below. Here, the mode register 202 is some means
It is assumed that the update is performed by (example: rewriting by CPU access). The CPU 101 outputs the address of the communication memory 201 onto the system address bus 203 of the system bus 106 and, at the same time, outputs drawing data (vertex row) to the system data bus 204. In the communication memory 201, the multiplexer 209 determines which multiplexer 210 to transmit according to the upper address 207 and transmits the data.
Here, it is assumed that the multiplexer 210-a receives the data. The multiplexer 210-a transfers the data to the storage area 212-a according to the lower address 208. The CPU 101 sequentially outputs the data (each coordinate value) regarding the vertex, and the communication memory 201 stores the data according to the given address. Further, the color of the vertex is stored in the position of the color of vertex 1 of FIG. 2, and at the same time, the signal of the multiplexer 210-a is selected by the selector 211 according to the instruction of the mode register 202, and the storage area for storing the data of vertex 2 and thereafter. All the color data of the vertex 1 is stored in the color term of 212. Further, the CPU 101 outputs data regarding vertex 2. Similarly, the data of the vertex 2 is stored in the storage area 212-b via the multiplexer 209 and the multiplexer 210-b. The CPU 101 does not need to output the colors after the vertex 2. The data relating to the vertices stored in the storage area 212 as described above has a line like 302 in FIG. This is selected by the selector 2 according to the address signal output from the graphics processor 104 to the graphics address bus 205.
13 selects the data in the storage area 212 and outputs it to the graphics data bus 206.

【0012】以上のように、本実施例によれば、CPU
から出力される頂点データをすべてグラフィクス処理装
置に伝達することができるとともに、モードレジスタの
書き換えにより頂点列に対して唯一の属性が与えられる
モードに対しては、システムバス上でのデータ転送を行
うことなしに各頂点の属性としてデータを複製すること
ができ、さらにどちらのモードにおいても次段のグラフ
ィクス処理装置の処理内容は全く同じにすることができ
る。
As described above, according to this embodiment, the CPU
All the vertex data output from the device can be transmitted to the graphics processing device, and data is transferred on the system bus for the mode in which only one attribute is given to the vertex string by rewriting the mode register. The data can be duplicated as the attribute of each vertex without any matter, and the processing contents of the next-stage graphics processing device can be made exactly the same in either mode.

【0013】[0013]

【発明の効果】以上のように、本実施例によれば、第1
のモードによりすべての頂点に対して属性を付加するこ
とができるとともに、モードレジスタの切り替えにより
第2のモードによって頂点列の始めの頂点1の属性をす
べての頂点の属性として複製し記憶することにより、シ
ステムバス上に冗長な属性データを転送することなく他
の頂点の属性が与えられるため、システムバス上のデー
タ転送量を削減できるとともに、第1のモードと同様
に、第2のモードに対しても次段のグラフィクス処理装
置には頂点単位で属性が与えられるため、処理の流れを
変更する必要がなく、グラフィクス処理のステップ数を
少なくすることにより、プログラムサイズを小さく高速
に処理することを可能にするといった優れたデータ通信
方式を実現できるという効果を有する。
As described above, according to this embodiment, the first
By adding the attribute to all the vertices by the mode of, and by switching the mode register, the attribute of the first vertex 1 of the vertex sequence is duplicated and stored as the attribute of all the vertices by the second mode. Since the attributes of other vertices are given without transferring redundant attribute data on the system bus, the amount of data transferred on the system bus can be reduced, and the second mode as well as the first mode can be reduced. However, since the graphics processing device in the next stage is given an attribute for each vertex, it is not necessary to change the flow of processing, and by reducing the number of steps of graphics processing, it is possible to reduce the program size and process at high speed. This has the effect of realizing an excellent data communication method that enables it.

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

【図1】本発明の一実施例におけるデータ通信方式の構
成を示す図である。
FIG. 1 is a diagram showing a configuration of a data communication system according to an embodiment of the present invention.

【図2】本発明の一実施例における通信用メモリの構成
を示す図である。
FIG. 2 is a diagram showing a configuration of a communication memory according to an embodiment of the present invention.

【図3】本発明の一実施例における通信用メモリ内のデ
ータのならびを示す図である。
FIG. 3 is a diagram showing an arrangement of data in a communication memory according to an embodiment of the present invention.

【図4】従来のデータ通信方式の構成を示す図である。FIG. 4 is a diagram showing a configuration of a conventional data communication system.

【図5】従来のデータ通信方式のFIFOメモリ内部の
構成を示す図である。
FIG. 5 is a diagram showing an internal configuration of a FIFO memory of a conventional data communication system.

【図6】従来のデータ通信方式のFIFOメモリ内のデ
ータのならびを示す図である。
FIG. 6 is a diagram showing an arrangement of data in a FIFO memory of a conventional data communication system.

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

101,401…中央処理装置(CPU)、 102,402…主メモ
リ、 103,201…通信用メモリ、 104,404…グラフィ
クス処理装置、 105,405…ディスプレイ、106,406…
システムバス、 201…通信用メモリ、 202…モードレ
ジスタ、203…システムアドレスバス、 204,502…シ
ステムデータバス、 205…グラフィクスアドレスバ
ス、 206,503…グラフィクスデータバス、 207…上
位アドレス、 208…下位アドレス、 209,210,505…
マルチプレクサ、 211,213,508…セレクタ、 212,
506…記憶領域、 301…モード1におけるデータのなら
び、 302…モード2におけるデータのならび、 403,
501…FIFOメモリ、504…入力カウンタ、 507…出
力カウンタ、 601…FIFOメモリのデータのなら
び。
101, 401 ... Central processing unit (CPU), 102, 402 ... Main memory, 103, 201 ... Communication memory, 104, 404 ... Graphics processing unit, 105, 405 ... Display, 106, 406 ...
System bus, 201 ... Communication memory, 202 ... Mode register, 203 ... System address bus, 204, 502 ... System data bus, 205 ... Graphics address bus, 206, 503 ... Graphics data bus, 207 ... Higher address, 208 ... Lower Address, 209, 210, 505 ...
Multiplexer, 211, 213, 508 ... Selector, 212,
506 ... Storage area, 301 ... Data arrangement in mode 1, 302 ... Data arrangement in mode 2, 403,
501 ... FIFO memory, 504 ... Input counter, 507 ... Output counter, 601 ... FIFO memory data.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 中央処理装置(CPU)と、前記CPUか
らアクセスされる主メモリと、前記CPUからアクセス
されるグラフィクス処理装置と、前記CPU,前記主メ
モリおよび前記グラフィクス処理装置とを結ぶシステム
バスと、さらに前記グラフィクス処理装置と前記システ
ムバスを結ぶ通信用メモリおよび前記グラフィクス処理
装置から出力される画像信号を表示するための表示装置
からなり、前記CPUは前記主メモリから描画すべき要
素を構成する頂点のデータを抽出し前記通信用メモリに
対して前記データを出力する手段を備え、前記通信用メ
モリは頂点単位のデータを複数個保持するための記憶領
域を備え、該記憶領域は前記システムバス上に出力され
るアドレスに従って前記記憶領域を指定する手段と、さ
らに指定された記憶領域に対して前記システムバス上に
出力されるデータを記憶する手段と、すべての頂点デー
タに対して相異なる属性が必要となる第1のモードと、
第1の頂点データの属性を代表として第2の頂点以降は
前記代表となる属性を持つとする第2のモードを切り替
える手段とを有し、前記第1のモードでは前記システム
バスから転送されるすべての頂点に対する属性データを
前記記憶領域に保持する手段と、前記第2のモードでは
始めに転送される第1の頂点データの属性のうち第2の
頂点データでは不要となる属性については第1の頂点の
属性を複製して保持する手段を有し、前記第1および第
2のモードにおいて、前記グラフィクス処理装置から出
力されるアドレスに従って前記記憶領域内の頂点データ
を出力することを特徴とするデータ通信方式。
1. A system bus connecting a central processing unit (CPU), a main memory accessed from the CPU, a graphics processing unit accessed from the CPU, the CPU, the main memory and the graphics processing unit. And a display device for displaying an image signal output from the graphics processing device and a communication memory connecting the graphics processing device and the system bus, and the CPU configures elements to be drawn from the main memory. Means for extracting the data of the vertices to be output and outputting the data to the communication memory, wherein the communication memory has a storage area for holding a plurality of vertex-unit data, and the storage area is the system. Means for designating the storage area according to the address output on the bus, and further designated storage Means for storing data to be output onto the system bus with respect to frequency, a first mode in which the different attributes for all the vertex data is required,
And a means for switching a second mode in which the attribute of the first vertex data is represented as a representative and the second and subsequent vertices have the attribute serving as the representative. In the first mode, data is transferred from the system bus. The means for holding the attribute data for all the vertices in the storage area, and the attribute which becomes unnecessary in the second vertex data among the attributes of the first vertex data transferred first in the second mode are the first. Is stored in the storage area according to an address output from the graphics processing device in the first and second modes. Data communication method.
JP17919293A 1993-07-20 1993-07-20 Data communication system Pending JPH0737108A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17919293A JPH0737108A (en) 1993-07-20 1993-07-20 Data communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17919293A JPH0737108A (en) 1993-07-20 1993-07-20 Data communication system

Publications (1)

Publication Number Publication Date
JPH0737108A true JPH0737108A (en) 1995-02-07

Family

ID=16061549

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17919293A Pending JPH0737108A (en) 1993-07-20 1993-07-20 Data communication system

Country Status (1)

Country Link
JP (1) JPH0737108A (en)

Similar Documents

Publication Publication Date Title
US5065343A (en) Graphic display system for process control using a plurality of displays connected to a common processor and using an fifo buffer
US5233690A (en) Video graphics display memory swizzle logic and expansion circuit and method
US5640496A (en) Method and apparatus for management of image data by linked lists of pixel values
JPH0348370A (en) Memory access control circuit
GB2148029A (en) Very large scale integrated circuit subdivided into isochronous regions and methods for the machine-aided design and testing of such a circuit
JPH01302442A (en) Software formable memory structure for data processing system having graphic processing function
JPH0347514B2 (en)
US6094203A (en) Architecture for a graphics processing unit using main memory
US5862407A (en) System for performing DMA byte swapping within each data element in accordance to swapping indication bits within a DMA command
US7038692B1 (en) Method and apparatus for providing a vertex cache
US6157393A (en) Apparatus and method of directing graphical data to a display device
MXPA02005309A (en) Data communication system and method, computer program, and recording medium.
US6091863A (en) Image processor and data processing system using the same processor
EP0752694B1 (en) Method for quickly painting and copying shallow pixels on a deep frame buffer
JPH0737108A (en) Data communication system
EP0803798A1 (en) System for use in a computerized imaging system to efficiently transfer graphics information to a graphics subsystem employing masked direct frame buffer access
EP0529866A2 (en) Processor for a multiprocessor system
JPH06187304A (en) Parallel operation board
JP2000311249A (en) Graphic processor and graphic command processing method therefor
JP2000098996A (en) Image display device
JPH03252848A (en) Variable bus width designation/information reception system for split bus
JP2002132249A (en) Display system, display device and display method
JPS6336021B2 (en)
JPH03196095A (en) External synchronous control device
JPH06187433A (en) Graphic processor