JPS6380371A - Coordinate transforming device - Google Patents

Coordinate transforming device

Info

Publication number
JPS6380371A
JPS6380371A JP61225143A JP22514386A JPS6380371A JP S6380371 A JPS6380371 A JP S6380371A JP 61225143 A JP61225143 A JP 61225143A JP 22514386 A JP22514386 A JP 22514386A JP S6380371 A JPS6380371 A JP S6380371A
Authority
JP
Japan
Prior art keywords
data
coordinate
unit
clock
multiplication
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
JP61225143A
Other languages
Japanese (ja)
Inventor
Makoto Okawa
誠 大川
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.)
Daikin Industries Ltd
Original Assignee
Daikin Industries 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 Daikin Industries Ltd filed Critical Daikin Industries Ltd
Priority to JP61225143A priority Critical patent/JPS6380371A/en
Publication of JPS6380371A publication Critical patent/JPS6380371A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the unnecessary latency time of each coordinate unit to efficiently perform the coordinate transform operation by running the same software with a primary delay in each coordinate transform unit. CONSTITUTION:In a distributing unit 1, coordinate data temporarily stored in a FIFO memory 11 is delayed by one clock and is successively stored in FIFO memories 21, 31, 41, and 51 of coordinate transform units 2, 3, 5, and matrix element data read out from a matrix stack 8 is delayed by one clock and is successively stored in FIFO memories 21, 31, 41, and 51. The same control data is delayed by one clock and is supplied to units 2...5 by a control unit and a timing control unit. The same accumulating operation is successively performed with one clock delay on the basis of data stored in FIFO memories 21-51, and the accumulation result is successively obtained with one clock delay.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 この発明は座標変換装置に関し、さらに詳細にいえば、
グラフィックディスプレイ装置等において使用される座
標変換装置に関する。
[Detailed Description of the Invention] <Industrial Application Field> The present invention relates to a coordinate conversion device, and more specifically,
The present invention relates to a coordinate conversion device used in a graphic display device, etc.

〈従来の技術〉 従来からグラフィックディスプレイ装置においては、図
形を回転させて表示したり、拡大、あるいは縮小して表
示したりすることが一般的に行なわれている。そして、
上記のように、各種の変形処理が施された図形を表示す
るために、基本になる図形データに、変形処理に対応す
るマトリックスを乗算し、乗算結果に基いて図形表示を
行なうことにより、回転、拡大、縮小等が施された図形
を可視的に表示するようにしている。
<Prior Art> Conventionally, in graphic display devices, it has been common practice to display figures by rotating them, enlarging them, or reducing them. and,
As mentioned above, in order to display a shape that has been subjected to various transformation processes, the basic shape data is multiplied by a matrix corresponding to the transformation process, and the figure is displayed based on the multiplication result. , enlarged, reduced, etc. figures are displayed visually.

ところで、上記の乗算は、例えば3次元の図形であれば
、 のようなマトリックスの乗算を行なうことを意味するの
であり、変換後の座標として、X座標がa11x+a2
1y+a31z+a41、y座標がa12x+ a22
y + a32z + a42.2座標がa 13x 
+a23y + a33z + a43、W座標(透視
用の座標)がa 14+ a 24+ a 34+ a
 44として求められることになる。
By the way, for example, in the case of a three-dimensional figure, the above multiplication means performing matrix multiplication such as
1y+a31z+a41, y coordinate is a12x+a22
y + a32z + a42.2 coordinates are a 13x
+a23y + a33z + a43, W coordinate (coordinate for perspective) is a 14+ a 24+ a 34+ a
44.

第3図は上記の変換座標値を算出するための座標変換装
置の従来例を示す電気回路図であり、上位プロセッサ 
(121)から順次伝送されてくる原座標データをそれ
ぞれXレジスタ (122)、yレジスタ (123)
、および2レジスタ (124)に−時格納し、上記各
レジスタからのデータを、マルチプレクサ(12B) 
(127) (128)を介してシリアル入力・パラレ
ル入力・シリアル出力乗算器(129) (130) 
(131)に供給しているとともに、スタックメモリ 
(125)からのx、y、z座標変換用のデータが供給
されるシフトレジスタ(132) (133) (13
4)からの1ビツトずつのデータをもシリアル入力・パ
ラレル入力・シリアル出力乗算器(129) (130
) (131)に供給し、シリアル入力・パラレル入力
・シリアル出力乗算器(129)(130)(131)
 、およびシフトレジスタ(132)(133) (1
34)に乗算用システムクロックが供給される毎に乗算
動作を遂行し、シリアル入力・パラレル入力・シリアル
出力乗算器 (129) (130) (131)から
の1ビツトずつの乗算結果データと、平行移動変換用の
データがスタックメモリ (125)から供給されるシ
フトレジスタ (IH)のデータを、乗算用システムク
ロックにより動作するシリアル加算器(135)に供給
し、シリアル加算器(135)からの加算出力を、スタ
ックメモリ (125>からのW座標変換用のデータが
供給されるシフトレジスタ(13B)に供給している。
FIG. 3 is an electrical circuit diagram showing a conventional example of a coordinate conversion device for calculating the above-mentioned converted coordinate values, and is
The original coordinate data sequentially transmitted from (121) to X register (122) and y register (123)
, and 2 registers (124), and the data from each of the above registers is sent to the multiplexer (12B).
(127) Serial input/parallel input/serial output multiplier (129) (130) via (128)
(131) and stack memory
Shift registers (132) (133) (13) supplied with data for x, y, z coordinate transformation from (125)
4) is also applied to the serial input/parallel input/serial output multiplier (129) (130
) (131), serial input/parallel input/serial output multiplier (129) (130) (131)
, and shift registers (132) (133) (1
34) performs a multiplication operation every time the system clock for multiplication is supplied to the serial input/parallel input/serial output multiplier (129), (130), and (131). The data of the shift register (IH), in which data for movement conversion is supplied from the stack memory (125), is supplied to the serial adder (135) operated by the system clock for multiplication, and the data is added from the serial adder (135). The output is supplied to a shift register (13B) to which data for W coordinate conversion from the stack memory (125>) is supplied.

したがって、乗算用システムクロックが供給される毎に
1ビツトずつ乗算結果を得、シリアル加算器 (135
)により加算して、最終的にシフトレジスタ (13B
)に座標変換データを格納することができる。
Therefore, each time the system clock for multiplication is supplied, the multiplication result is obtained one bit at a time, and the serial adder (135
) and finally the shift register (13B
) can store coordinate transformation data.

したがって、シフトレジスタ (13B)の内容をパラ
レル出力することにより、座標変換データを得ることが
できる。
Therefore, coordinate conversion data can be obtained by outputting the contents of the shift register (13B) in parallel.

尚、行列と行列の演算(掛算)の場合にはマルチプレク
サ(12G) (127) (128)によりスタック
メモリ (125)からのデータが乗算器(129) 
(130) (131)に供給される。
In addition, in the case of matrix-matrix operations (multiplication), data from the stack memory (125) is transferred to the multiplier (129) by the multiplexer (12G) (127) (128).
(130) is supplied to (131).

〈発明が解決しようとする問題点〉 上記の構成の座標変換装置においては、最終的に座標変
換データを得るまでにデータ長に依存する多数のシステ
ムクロックが必要となるのであるから、原図形データか
ら座標変換データを得るまでの所要時間が長くかかると
いう問題がある。
<Problems to be Solved by the Invention> In the coordinate conversion device with the above configuration, a large number of system clocks depending on the data length are required until the coordinate conversion data is finally obtained. There is a problem in that it takes a long time to obtain coordinate transformation data.

そして、グラフィックディスプレイ装置においては、頻
繁に多数の座標変換処理を行なうのであるから、上記問
題が特に顕著となり、ひいては描画速度を余り速くする
ことができないという問題を発生させることになる。
In a graphic display device, since a large number of coordinate conversion processes are frequently performed, the above-mentioned problem becomes particularly noticeable, resulting in the problem that the drawing speed cannot be increased very much.

〈発明の目的〉 この発明は上記の問題点に鑑みてなされたものであり、
座標変換速度を高速化することができる座標変換装置を
提供することを目的としている。
<Object of the invention> This invention was made in view of the above problems,
It is an object of the present invention to provide a coordinate conversion device that can increase the speed of coordinate conversion.

く問題点を解決するための手段〉 上記の目的を達成するための、この発明の座標変換装置
は、入出力用FIFOメモリと、入出力用FIFOメモ
リから読出したデータに基いて乗累算を行なうパラレル
乗累算器と、パラレル乗累算結果を保持する保持レジス
タとを有する座標変換ユニットを複数組併設していると
ともに、座標変換ユニットの動作を制御する制御データ
を生成する制御手段、および制御手段から出力される制
御データを、所定タイミングずつずらせて各座標変換ユ
ニットに供給するタイミング制御手段を有している。
Means for Solving Problems> To achieve the above object, the coordinate conversion device of the present invention includes an input/output FIFO memory and multiplication/accumulation based on data read from the input/output FIFO memory. a plurality of sets of coordinate transformation units each having a parallel multiplication/accumulation unit for performing multiplication and accumulation, and a holding register for holding the parallel multiplication/accumulation results, and a control means for generating control data for controlling the operation of the coordinate transformation unit; It has timing control means for supplying the control data output from the control means to each coordinate transformation unit while shifting the control data by a predetermined timing.

く作用〉 以上の構成の座標変換装置であれば、各座標変換ユニッ
トにおいて、入出力用FIFOメモリに格納されている
図形データを順次読出してパラレル乗累算器に供給する
ことにより、座標データとマトリクス要素データとの乗
算、および既に行なわれた乗算結果との累算を行ない、
保持レジスタに乗累算結果を一時的に格納し、保持レジ
スタの内容を変換後の座標データとして出力することが
できる。そして、各座標変換ユニットの保持レジスタか
ら出力される座標データは、それぞれX座標データ、y
座標データの如く区分されている。
Effects> With the coordinate conversion device having the above configuration, each coordinate conversion unit sequentially reads the graphic data stored in the input/output FIFO memory and supplies it to the parallel multiplication accumulator, thereby converting the coordinate data and Performs multiplication with matrix element data and accumulation with already performed multiplication results,
The multiplication and accumulation results can be temporarily stored in a holding register, and the contents of the holding register can be output as converted coordinate data. The coordinate data output from the holding register of each coordinate conversion unit is X coordinate data and y coordinate data, respectively.
It is divided like coordinate data.

以上の座標変換動作を行なう場合において、各座標変換
ユニットには、制御手段から出力される制御データが供
給され、この制御データに基いて所定の順序で乗累算動
作を遂行するのであり、しかも、制御手段から出力され
る制御データは、タイミング制御手段により、所定タイ
ミングづつずれた状態で各座標変換ユニットに供給され
るのであるから、各座標変換ユニットは、上記所定タイ
ミングずつずれた状態で同一の座標変換動作を遂行し、
必要な変換が施された座標データを得ることができる。
When performing the above coordinate transformation operation, each coordinate transformation unit is supplied with control data output from the control means, and performs the multiplication and accumulation operation in a predetermined order based on this control data. Since the control data output from the control means is supplied to each coordinate transformation unit with a predetermined timing shift by the timing control means, each coordinate transformation unit is supplied with the same data with a predetermined timing shift. perform the coordinate transformation operation of
Coordinate data that has been subjected to necessary transformations can be obtained.

〈実施例〉 以下、実施例を示す添付図面によって詳細に説明する。<Example> Hereinafter, embodiments will be described in detail with reference to the accompanying drawings showing examples.

第1図はこの発明の座標変換装置の一実施例を示すブロ
ック図であり、上位プロセッサ(9)から伝送されてく
る座標データ、およびマトリクススタック(8)から読
出したマトリクス要素データを振分る振分ユニット(1
)と、互に併設された4組の座標変換ユニット(2) 
(3) [4) [5]とを有している。
FIG. 1 is a block diagram showing an embodiment of the coordinate conversion device of the present invention, which distributes coordinate data transmitted from a host processor (9) and matrix element data read from a matrix stack (8). Sorting unit (1
) and four sets of coordinate transformation units (2) installed together
(3) [4] [5].

上記振分ユニット(1)は、上位プロセッサ(9)から
伝送されてくる座標データを一時的に格納するFIFO
メモリ(11)を有しているとともに、上記FIFOメ
モリ(11)から読出した座標データ、またはマトリク
ススタック(8)から読出したマトリクス要素データを
順次各座標変換ユニット[2) (3) (4) (5
)に伝送するデータバス(12)を有している。
The distribution unit (1) is a FIFO that temporarily stores the coordinate data transmitted from the host processor (9).
Each coordinate conversion unit [2] (3) (4) has a memory (11) and sequentially converts coordinate data read from the FIFO memory (11) or matrix element data read from the matrix stack (8). (5
) has a data bus (12).

上記4組の座標変換ユニット(2) (3) (4) 
(5)は、全て同一の構成であるから、座標変換ユニッ
ト(2)の構成のみを説明する。
The above four sets of coordinate transformation units (2) (3) (4)
(5) all have the same configuration, so only the configuration of the coordinate transformation unit (2) will be explained.

上記座標変換ユニット(aは、上記振分ユニット(1)
から伝送されてくるデータを一時的に格納するFIFO
メモリ(21)と、上記FIFOメモリ(21)から読
出したデータを入力として乗累算を行なうシングルポー
ト乗累算器(22)と、上記シングルポート乗累算器(
22)から出力される乗累算結果を一時的に格納するパ
イプラインレジスタ(23)と、上記パイプラインレジ
スタ(23)の内容を読出して一時的に格納し、上記マ
トリクススタック(8)、或は下位プロセッサIに向か
って伝送するFIFOメモリ(24)とを有している。
The above coordinate conversion unit (a is the above distribution unit (1)
FIFO that temporarily stores data transmitted from
a memory (21), a single port multiplier/accumulator (22) that performs multiplication/accumulation by inputting data read from the FIFO memory (21);
a pipeline register (23) for temporarily storing the multiplication and accumulation results output from the matrix stack (8); has a FIFO memory (24) for transmitting data towards the lower processor I.

尚、上記パイプラインレジスタ(23)の内容は、一連
の乗累算動作が終了した場合にのみFIFOメモリ(2
4)に伝送され、一連の乗累算動作が終了するまでの間
はシングルポート乗累算器(22)に伝送される。
Note that the contents of the pipeline register (23) are stored in the FIFO memory (23) only when a series of multiplication and accumulation operations are completed.
4) and is transmitted to the single-port multiplication/accumulation unit (22) until a series of multiplication/accumulation operations are completed.

第2図は上記振分ユニット(1)、および4組の座標変
換ユニット(2) (3) (4) (5)に対して制
御データを供給するための制御ユニット(6)、および
タイミング制御ユニット(7)の構成を示すブロック図
であり、システムクロックが供給される第1のマイクロ
プログラムシーケンサ(61)、第2のマイクロプログ
ラムシーケンサ(62)、第1から第5のパイプライン
レジスタ(85) (6B) (87) (88) (
89)を有している。
Figure 2 shows the distribution unit (1), a control unit (6) for supplying control data to the four coordinate transformation units (2), (3), (4), and (5), and a timing control unit. It is a block diagram showing the configuration of the unit (7), which includes a first microprogram sequencer (61) to which a system clock is supplied, a second microprogram sequencer (62), and first to fifth pipeline registers (85). ) (6B) (87) (88) (
89).

さらに詳細に説明すれば、上記第2のマイクロプログラ
ムシーケンサ(82)、および第5のパイプラインレジ
スタ(65)は、振分ユニット(1)に対して制御デー
タを供給するためのものであり、上記第2のマイクロプ
ログラムシーケンサ(62)から出力されるアドレスデ
ータを第2のマイクロプログラムメモリ(64)に供給
することにより、当該アドレスに格納されている制御デ
ータを読出し、上記第5のパイプラインレジスタ(B9
)を通して上記振分ユニット(1)に供給する。
To explain in more detail, the second microprogram sequencer (82) and the fifth pipeline register (65) are for supplying control data to the distribution unit (1), By supplying the address data output from the second microprogram sequencer (62) to the second microprogram memory (64), the control data stored at the address is read, and the fifth pipeline Register (B9
) is supplied to the above-mentioned distribution unit (1).

上記第1のマイクロプログラムシーケンサ(61)、お
よび第1から第4のパイプラインレジスタ(65)(8
B) (67) (88)は、座標変換ユニット(2)
 (3) (4) (5]に対して制御データを供給す
るためのものであり、上記第1のマイクロプログラムシ
ーケンサ(61)から出力されるアドレスデータを第1
のマイクロプログラムメモリ(63)に供給することに
より、当該アドレスに格納されている制御データを読出
し、上記第1から第4のパイプラインレジスタ(85)
 (6G)(67)(68)を通して上記座標変換ユニ
ット(2) (3) (4) (5)に供給する。具体
的には、上記パイプラインレジスタ(65)から出力さ
れた制御データを座標変換ユニット(2)に供給し、上
記パイプラインレジスタ(6B)から出力された制御デ
ータを座標変換ユニット(3]に供給し、上記パイプラ
インレジスタ(67)から出力された制御データを座標
変換ユニット(4)に供給し、上記パイプラインレジス
タ(68)から出力された制御データを座標変換ユニッ
ト(5)に供給する。
The first microprogram sequencer (61) and the first to fourth pipeline registers (65) (8
B) (67) (88) is the coordinate transformation unit (2)
(3) (4) This is for supplying control data to (5), and the address data output from the first microprogram sequencer (61) is
The control data stored at the address is read by supplying the control data to the microprogram memory (63) of the above-mentioned first to fourth pipeline registers (85).
It is supplied to the coordinate transformation units (2) (3) (4) (5) through (6G) (67) and (68). Specifically, the control data output from the pipeline register (65) is supplied to the coordinate transformation unit (2), and the control data output from the pipeline register (6B) is supplied to the coordinate transformation unit (3). The control data output from the pipeline register (67) is supplied to the coordinate transformation unit (4), and the control data output from the pipeline register (68) is supplied to the coordinate transformation unit (5). .

したがって、上記マイクロプログラムメモリ(63)か
ら読出された制御データは、1クロック遅れで、順次上
記座標変換ユニット[21(3) (4) (5)に供
給される。
Therefore, the control data read from the microprogram memory (63) is sequentially supplied to the coordinate transformation unit [21 (3) (4) (5) with a delay of one clock.

上記の構成の座標変換装置による座標変換動作を以下に
説明する。
The coordinate transformation operation by the coordinate transformation device having the above configuration will be explained below.

尚、以下の説明においては、 の座標変換に基いて説明する。In addition, in the following explanation, The explanation will be based on the coordinate transformation of .

[1)  振分ユニット(1)の動作 先ず、FIFOメモリ(11)からXデータを読出し、
1クロツクずつ遅れたタイミングでFIFOメモリ(2
1) (31) (41) (51)に格納する。次い
で、1クロツクずつ遅れたタイミングで、マトリクスス
タック(8)からマトリクス要素データa 11+  
a lLa13.a14をそれぞれ下位ビット、上位ビ
ットの順に読出し、各マトリクス要素データを読出す毎
に対応するFIFOメモリ(21) (31) (41
) (51)に格納する。
[1] Operation of the distribution unit (1) First, read the X data from the FIFO memory (11),
The FIFO memory (2
1) Store in (31) (41) (51). Next, at a timing delayed by one clock, matrix element data a 11+ is sent from the matrix stack (8).
a lLa13. A14 is read in the order of lower bit and upper bit, and each time each matrix element data is read, the corresponding FIFO memory (21) (31) (41
) (51).

次に、FIFOメモリ(11)からyデータを読出し、
1クロツクずつ遅れたタイミングでFIFOメモリ(2
1) (31)(41)(51)に格納する。次いで、
1クロツクずつ遅れたタイミングで、マトリクススタッ
ク(8)からマトリクス要素データa 21.  a 
22゜a23.a24をそれぞれ下位ビット、上位ビッ
トの順に読出し、各マトリクス要素データを読出す毎に
対応するFIFOメモリ(21)(31) (41)(
51)に格納する。
Next, read the y data from the FIFO memory (11),
The FIFO memory (2
1) Store in (31) (41) (51). Then,
Matrix element data a from the matrix stack (8) at a timing delayed by one clock 21. a
22°a23. A24 is read in the order of lower bit and upper bit, and each time each matrix element data is read, the corresponding FIFO memory (21) (31) (41) (
51).

以下、同様にして、Zデータの格納、マトリクス要素デ
ータa 31.  a 32.  a 33.  a 
34の格納、Wデータの格納、マトリクス要素データa
 41.  a 42゜a43.a44の格納を行なう
Thereafter, Z data is stored and matrix element data a is stored in the same manner.31. a32. a33. a
34 storage, W data storage, matrix element data a
41. a 42°a43. Store a44.

(Ill  座標変換ユニット(2)の動作先ず、パイ
プラインレジスタ(23)の16ビツトずつの格納領域
PR(MM)、 PR(ML)、 PR(LM)、 P
R(LL)の内容を0クリアするとともに、シングルボ
ート乗累算器(22)の領域ACCを0クリアしておく
(Ill) Operation of coordinate conversion unit (2) First, storage areas of 16 bits each in the pipeline register (23) PR (MM), PR (ML), PR (LM), P
The contents of R(LL) are cleared to 0, and the area ACC of the single-vote multiplication accumulator (22) is cleared to 0.

そして、上記振分ユニット(1)によるデータ振分は動
作に伴なって、FIFOメモリ(21)から読出したX
データを上記シングルポート乗累算器(22)の乗数レ
ジスタにセットし、FIFOメモリ(21)から読出し
たマトリクス要素データallの下位ビットall(L
)をシングルボート乗累算器(22)の被乗数レジスタ
にセットし、乗数レジスタの内容と被乗数レジスタの内
容とを乗算し、かつ領域ACCの内容を加算することに
より得られた乗累算データをパイプラインレジスタ(2
3)の格納領域PR(LH)。
Then, the data distribution by the distribution unit (1) is carried out with the operation of the data distribution unit (1).
The data is set in the multiplier register of the single port multiplier/accumulator (22), and the lower bits all (L
) in the multiplicand register of the single-vote multiplier-accumulator (22), multiply the contents of the multiplier register by the contents of the multiplicand register, and add the contents of the area ACC to obtain the multiplication-accumulation data. Pipeline register (2
3) storage area PR (LH).

PR(LL)に格納する。Store in PR (LL).

以下、上記の一連の動作を ACC+ a 11(L) x −PR(LM)、 P
R(LL)と略称する。
Hereinafter, the above series of operations will be expressed as ACC+ a 11(L) x -PR(LM), P
It is abbreviated as R(LL).

次に、パイプラインレジスタ(23)の領域PR(ML
) 。
Next, the area PR (ML) of the pipeline register (23)
).

PR(LM)に格納されている内容をシングルポート乗
累算2S(22)の領域ACCに格納しく以下、この動
作をACC−PR(ML)、 PR(LM)と略称する
)、その後、ACC+ a 11(M) x −PR(
ML)、 PR(LM)の動作を行なう。
The contents stored in PR(LM) are stored in the area ACC of the single port multiplication/accumulation 2S (22) (hereinafter, this operation is abbreviated as ACC-PR(ML) and PR(LM)), and then ACC+ a 11(M) x -PR(
ML) and PR (LM) operations.

以下、順次 ACC←PR(LM)、 PR(LL)、ACC十a 
21(L) y =PR(LM)、 PR(LL)、A
CC←PR(ML)、 PR(LM)、ACC+ a 
21(M) y −PR(ML)、 PR(LM)、A
CC−PR(LM)、 PR(LL)、ACC+ a 
31(L) z −1’R(LM)、 PR(LL)、
ACC←PR(ML)、 PR(LM)、ACC+ a
 31(M) z −hPR(ML)、 PR(LM)
、ACC←PR(LM)、 PR(LL)、ACC+ 
a 41(L) w−PR(LM)、 PR(LL)、
ACC←PR(ML)、 PR(LM)、ACC+ a
 41(M) w 4PR(ML)、 PR(LM)、
の動作を行なうことにより、 a11x+a21y+a31z+a41wの演算結果を
得ることができるので、最後に、パイプラインレジスタ
(23)の領域PR(ML)、 PR(LM)。
Below, ACC←PR(LM), PR(LL), ACC10a
21(L) y = PR(LM), PR(LL), A
CC←PR(ML), PR(LM), ACC+a
21(M)y-PR(ML), PR(LM), A
CC-PR(LM), PR(LL), ACC+ a
31 (L) z -1'R (LM), PR (LL),
ACC←PR(ML), PR(LM), ACC+ a
31(M) z-hPR(ML), PR(LM)
, ACC←PR(LM), PR(LL), ACC+
a 41(L) w-PR(LM), PR(LL),
ACC←PR(ML), PR(LM), ACC+ a
41(M) w 4PR(ML), PR(LM),
By performing the following operations, the calculation result of a11x+a21y+a31z+a41w can be obtained.Finally, the areas PR(ML) and PR(LM) of the pipeline register (23).

PR(LL)に格納されている乗累算結果をFIFOメ
モリ(24)に−時的に格納し、下位プロセッサ(財)
に向かって伝送することができる。
The multiplication and accumulation results stored in PR (LL) are temporarily stored in the FIFO memory (24), and the lower processor (goods)
It can be transmitted towards.

(5)座標変換ユニット(3) (4) [5)の動作
これら各座標変換ユニット(3) (4) (5)の動
作は、単に与えられるデータが異なるのみであり、実際
の乗累算動作は同一であるから詳細な説明は省略する。
(5) Operations of coordinate transformation units (3), (4), and [5] The operations of these coordinate transformation units (3), (4), and (5) differ only in the data given; Since the operations are the same, detailed explanation will be omitted.

以上、要約すれば、振分ユニット(1)においてFIF
Oメモリに一時的に格納されている座標データを1クロ
ック遅れで順次多座標変換ユニット(2](3) (4
] (5)のFIFOメモリ(21) (31) (4
1) (51)に格納し、マトリクススタック(8)か
ら読出されたマトリクス要素データをも1クロック遅れ
で順次上記FIFOメモリ(21) (31) (41
) (51)に格納する。
To summarize the above, in the distribution unit (1), FIF
The coordinate data temporarily stored in the O memory is sequentially converted into multi-coordinate transformation units (2) (3) (4) with a one-clock delay.
] (5) FIFO memory (21) (31) (4
1) The matrix element data stored in (51) and read out from the matrix stack (8) is also sequentially transferred to the FIFO memory (21) (31) (41) with a one clock delay.
) (51).

そして、上記各座標変換ユニット[2] (31(4)
 (5]には、上記制御ユニット(6)、およびタイミ
ング制御ユニット(7)により同一の制御データが1ク
ロック遅れで供給されているのであるから、上記のよう
にFIFOメモリに格納されたデータに基いて、1クロ
ック遅れで順次同一の乗累算動作を行ない、1クロック
遅れで順次乗累算結果を得ることができる。
And each of the above coordinate transformation units [2] (31 (4)
(5) is supplied with the same control data by the control unit (6) and the timing control unit (7) with a one-clock delay, so the data stored in the FIFO memory as described above is Based on this, the same multiplication and accumulation operations can be performed sequentially with a one clock delay, and the multiplication and accumulation results can be obtained sequentially with a one clock delay.

したがって、第2図に示すように、各座標変換ユニット
(2) (3) (4) (5)は−次遅れで同一のソ
フトウェアが走ることになり、各座標変換ユニットの無
駄な待ち時間を解消させ、効率よく座標変換動作を行な
うことができる。
Therefore, as shown in Figure 2, each coordinate transformation unit (2), (3), (4), and (5) runs the same software with a - next delay, resulting in unnecessary waiting time for each coordinate transformation unit. This makes it possible to efficiently perform coordinate conversion operations.

以上には、単純に回転、拡大、縮小、平行移動等のうち
何れか1種類のみの座標変換を行なう場合について説明
したが、2種類以上の座標変換を行なう場合にも適用す
ることができる。
The above description has been made of the case where only one type of coordinate transformation such as rotation, enlargement, reduction, parallel movement, etc. is performed, but the present invention can also be applied to the case where two or more types of coordinate transformation are performed.

即ち、2種類以上の座標変換を行なう場合には、各座標
変換を行なうためのマトリクス同士の演算を行なって、
新たなマトリクスを得、得られたマトリクスに基いて上
記の座標変換を行なえばよいのである。具体的には、乗
累算動作の回数が増加することになるが、演算を行なう
べき2つのマトリクスから順次マトリクス要素データを
読出して上記のように乗累算を行なえばよく、2種類の
座標変換を施す場合に対応するマトリクスを得ることが
できる。したがって、その後、上記得られたマトリクス
と上位プロセッサ(9)から伝送されてきた座標データ
とに基いて座標変換を行なうことにより、所望の座標変
換が施されたデータを得ることができる。
That is, when performing two or more types of coordinate transformation, calculations are performed between the matrices for each coordinate transformation,
All that is required is to obtain a new matrix and perform the above coordinate transformation based on the obtained matrix. Specifically, although the number of multiplication and accumulation operations will increase, it is sufficient to sequentially read the matrix element data from the two matrices to be operated on and perform the multiplication and accumulation as described above. When applying the transformation, a corresponding matrix can be obtained. Therefore, by subsequently performing coordinate transformation based on the obtained matrix and the coordinate data transmitted from the host processor (9), it is possible to obtain data that has been subjected to the desired coordinate transformation.

但し、上記の説明から明らかなように、−次遅れの処理
を行なわせるためには、各FIFOメモリ(11)(2
1)(31) (41) (51)のフォールスルー時
間、およびレディ確定時間を同一(好ましくは0に近い
時間)にすることが必要であり、しかも、上位プロセッ
サ(9)、および下位プロセッサ(至)はデータをバー
スト的にインプットし、或はアウトプットすることが必
要である。
However, as is clear from the above explanation, in order to perform -th delay processing, each FIFO memory (11) (2
1) (31) (41) It is necessary to make the fall-through time and ready confirmation time of (51) the same (preferably close to 0), and in addition, the upper processor (9) and lower processor ( (to) requires data to be input or output in bursts.

尚、この発明は上記の実施例に限定されるものではなく
、例えばシングルボート乗累算器に代えてマルチボート
乗累算器を使用することにより、座標変換処理速度を一
層高速化することが可能である他、この発明の要旨を変
更しない範囲内において種々の設計変更を施すことが可
能である。
Note that the present invention is not limited to the above-described embodiments; for example, by using a multi-vote multiplier/accumulator instead of a single-vote multiplier/accumulator, the coordinate conversion processing speed can be further increased. In addition, it is possible to make various design changes without changing the gist of the invention.

〈発明の効果〉 以上のようにこの発明は、共通のソフトウェアを同形の
ハードウェアユニットに所定のタイミングだけ遅らせた
状態で供給するので、ハードウェアの無駄な待ち時間を
解消して、順序よく効率的に座標変換結果を得ることが
できるとともに、各ハードウェアの制御ユニットを共用
することができるので、構成を簡素化できるという特有
の効果を奏する。
<Effects of the Invention> As described above, the present invention supplies common software to identical hardware units with a predetermined timing delay, thereby eliminating unnecessary waiting time for hardware and providing orderly and efficient software. It is possible to obtain coordinate transformation results in a single manner, and the control unit of each hardware can be shared, which has the unique effect of simplifying the configuration.

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

第1図はこの発明の座標変換装置の一実施例を示すブロ
ック図、 第2図は各ユニットの動作を概略的に示す図、第3図は
従来例を示すブロック図。
FIG. 1 is a block diagram showing an embodiment of the coordinate transformation device of the present invention, FIG. 2 is a diagram schematically showing the operation of each unit, and FIG. 3 is a block diagram showing a conventional example.

Claims (1)

【特許請求の範囲】 1、入出力用FIFOメモリと、入出力用 FIFOメモリから読出したデータに基 いて乗累算を行なうパラレル乗累算器と、 パラレル乗累算結果を保持する保持レジ スタとを有する座標変換ユニットを複数 組併設しているとともに、座標変換ユニ ットの動作を制御する制御データを生成 する制御手段、および制御手段から出力 される制御データを、所定タイミングづ つずらせて各座標変換ユニットに供給す るタイミング制御手段を有していること を特徴とする座標変換装置。[Claims] 1. FIFO memory for input/output and input/output Based on data read from FIFO memory a parallel multiplier and accumulator that performs multiplication and accumulation; A holding register that holds the parallel multiply-accumulate results. Multiple coordinate transformation units with It also has a coordinate conversion unit. Generates control data that controls the operation of the cut control means and output from the control means The control data that is It is supplied to each coordinate conversion unit by have timing control means to A coordinate conversion device characterized by:
JP61225143A 1986-09-24 1986-09-24 Coordinate transforming device Pending JPS6380371A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61225143A JPS6380371A (en) 1986-09-24 1986-09-24 Coordinate transforming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61225143A JPS6380371A (en) 1986-09-24 1986-09-24 Coordinate transforming device

Publications (1)

Publication Number Publication Date
JPS6380371A true JPS6380371A (en) 1988-04-11

Family

ID=16824623

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61225143A Pending JPS6380371A (en) 1986-09-24 1986-09-24 Coordinate transforming device

Country Status (1)

Country Link
JP (1) JPS6380371A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS533218A (en) * 1976-06-29 1978-01-12 Ricoh Co Ltd Diaphragm device for variable magnification copier of slit exposure type
JPS5640949A (en) * 1979-09-11 1981-04-17 Nec Corp Parallel arithmetic processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS533218A (en) * 1976-06-29 1978-01-12 Ricoh Co Ltd Diaphragm device for variable magnification copier of slit exposure type
JPS5640949A (en) * 1979-09-11 1981-04-17 Nec Corp Parallel arithmetic processor

Similar Documents

Publication Publication Date Title
EP0243085B1 (en) Coprocessor architecture
KR970008527B1 (en) High level instructions processing device and method
US5864706A (en) Digital signal processing apparatus and information processing system
US4719588A (en) Matrix multiplication circuit for graphic display
JP2001516916A (en) Data processing device with digital signal processing capability
US8078661B2 (en) Multiple-word multiplication-accumulation circuit and montgomery modular multiplication-accumulation circuit
JPH0760423B2 (en) Data transfer method
JPH0660106A (en) Method and apparatus for forming covariance matrix
CN111581595B (en) Matrix multiplication calculation method and calculation circuit
JPH08329261A (en) Parameteric curve generator
US7284113B2 (en) Synchronous periodical orthogonal data converter
EP1532582B1 (en) Method and apparatus for image data processing using image strips and circular addressing arrangement
JPS6380371A (en) Coordinate transforming device
US6047366A (en) Single-instruction multiple-data processor with input and output registers having a sequential location skip function
US5559532A (en) Method and apparatus for parallel pixel hardware cursor
JP2583774B2 (en) High-speed numerical operation device
JPH05143633A (en) Isogeometric fast fourier transform realizing system
US20240070223A1 (en) Increased computation efficiency with multi-stage 8-bit floating point matrix multiplication with format conversion
KR970008189B1 (en) Memory space control method and memory apparatus
JP2005235216A (en) Direct memory access control
JPH01194081A (en) Image memory device
JP2945726B2 (en) Parallel processing system
JPS62274426A (en) Coordinate converting device
JPS61101872A (en) Fast fourier transform arithmetic circuit
JPS60254378A (en) Transfer device of information