JPH02236657A - Information processing system - Google Patents
Information processing systemInfo
- Publication number
- JPH02236657A JPH02236657A JP5622489A JP5622489A JPH02236657A JP H02236657 A JPH02236657 A JP H02236657A JP 5622489 A JP5622489 A JP 5622489A JP 5622489 A JP5622489 A JP 5622489A JP H02236657 A JPH02236657 A JP H02236657A
- Authority
- JP
- Japan
- Prior art keywords
- processing unit
- processing
- memory means
- information
- instruction
- 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
Links
- 230000010365 information processing Effects 0.000 title description 5
- 238000010586 diagram Methods 0.000 description 13
- 238000000034 method Methods 0.000 description 13
- 238000001514 detection method Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 241000282326 Felis catus Species 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Landscapes
- Multi Processors (AREA)
- Processing Or Creating Images (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は、マスタ処理ユニットと一部の処理動作だけを
行なうスレーブ処理ユニットとを有する情報処理システ
ムに関し、例えば、CAD/CAM(コンピュータ援用
による設計製遣》システムやCG(コンピュータグラフ
ィックス)システム等の図形処理システムに適用して好
適なものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an information processing system having a master processing unit and a slave processing unit that performs only a part of the processing operations. The present invention is suitable for application to graphic processing systems such as design/manufacturing systems and CG (computer graphics) systems.
[従来の技術]
例えば、CAD/CAMシステムは、マスタ処理ユニッ
トたる中央処理ユニット(CPU)が例えばオペレータ
との対話を通じて設計製造処理を実行するものであり、
CGシステムはCPUが例えばオペレータとの対話を通
じて図形処理を行なうものである。このような本来の処
理の実行中にオペレータに対して処理内容等を知得させ
たい処理段階になると、ディスプレイ装置に対して図形
出力を表示させる.
一般には、CPUの処理能力を図形出力時でも落とすこ
とがないように、第2図のブロック図に示すように、C
PUに代わって画像制御装置(スレーブ処理ユニツ【−
)が図形出力動作を制御するようになされている。[Prior Art] For example, in a CAD/CAM system, a central processing unit (CPU) serving as a master processing unit executes design and manufacturing processing through interaction with an operator, for example.
In a CG system, a CPU performs graphic processing through interaction with, for example, an operator. During the execution of such original processing, when a processing step is reached where the operator wants to know the processing details, the graphical output is displayed on the display device. Generally, in order to not reduce the processing power of the CPU even when outputting graphics, the CPU is
An image control device (slave processing unit [-
) controls the graphic output operation.
すなわち、CPUIは、円や直線線分等の描画形状等を
指示する描画命令と、その描画命令にかかるデータ群(
例えば、円描画命令であれば中心座標及び半径、直線線
分描画命令であれば開始点座標及び終了点座標等の位置
に関するデータや、その図形部分に対する表示色データ
等)とを画像制御装置2に出力し、その出力が終了する
と、表示出力状態に関係なく、直ちに、次の処理を実行
する。In other words, the CPU provides drawing commands that instruct drawing shapes such as circles and straight line segments, and data groups related to the drawing commands (
For example, data regarding the center coordinates and radius for a circle drawing command, data regarding the position such as start point coordinates and end point coordinates for a straight line segment drawing command, display color data for the figure part, etc.) are sent to the image control device 2. When the output is finished, the next process is executed immediately regardless of the display output state.
画像制御装置2では、入力された描画命令及びその命令
にかかるデータ群(以下ではこれらをまとめて描画情報
と呼ぶ)を入カバッファ回路3に格納し、格納した描画
情報に基づいて画像演算回路4が色階調付与処理や画素
展開処理( 1”l tiA両命令であれば円周上の画
素又は円周内の画素に展開する》等を行ない、演算結果
をディスプレイメモリ装W5に与えて格納させてディス
プレイ装置6に表示させる。In the image control device 2, an input drawing command and a data group related to the command (hereinafter collectively referred to as drawing information) are stored in an input buffer circuit 3, and an image calculation circuit 4 is stored based on the stored drawing information. performs color gradation imparting processing, pixel expansion processing (in the case of 1"l tiA command, expands to pixels on the circumference or pixels within the circumference), etc., and gives the calculation results to the display memory device W5 and stores them. and display it on the display device 6.
しかし、画像制御装置2が1個の猫画命令に対する処理
を終了するまでの時間は、CPUIの処理速度に比べて
相対的に長い時間であり、ある描画命令を実行中に次の
描画命令がC}.) U1から出力されることが多く発
生ずる。C I−) U 1が次のfuT画命令を発生
しようとしても、画像制御装置2が受け付けてくれなけ
ればCPUIは次の処理に進むことができず、画像$1
1御装置2を別個に設けた利点が半減する.
そこで、従来、画像制御装置2として、ある描画命令の
処理中においても、以降に発生した描画命令を受け付け
ることができるものが提案されている。However, the time it takes for the image control device 2 to finish processing one cat drawing command is relatively long compared to the processing speed of the CPU, and while one drawing command is being executed, the next drawing command is executed. C}. ) Often output from U1. CI-) Even if U1 tries to generate the next fuT image command, unless the image control device 2 accepts it, the CPUI cannot proceed to the next process, and the image $1
The advantage of having separate control device 2 is halved. Therefore, conventional image control devices 2 have been proposed that can accept subsequent drawing commands even while a certain drawing command is being processed.
第3図はかかる従来例を示すプロ・ノク図である(文献
「日経エレクトロニクス・ブックス マイク口プロセッ
サ周辺LSIJ、日経マグロウヒル社発行、1984年
10月、ppl94−195参照》。FIG. 3 is a professional diagram showing such a conventional example (refer to the document "Nikkei Electronics Books, Microphone Port Processor Peripheral LSIJ, Published by Nikkei McGraw-Hill, October 1984, ppl 94-195").
第3図において、画像制御装置2の入カバ・ノファ回路
3は、CPU1からの描画情報を順次格納していく例え
ば20段程度の先入れ先出し(FIFO)メモリ部3a
と、画像演算回路4が実行中の命令処理にかかる描画命
令を格納する命令レジスタ部3blと、画像演算回路4
が実行中の命令処理にかかるデータ群を格納する複数の
データレジスタ部3b2とから梧成されている。In FIG. 3, the input/output circuit 3 of the image control device 2 includes a first-in first-out (FIFO) memory section 3a having, for example, about 20 stages, which sequentially stores drawing information from the CPU 1.
, an instruction register section 3bl that stores drawing instructions related to instruction processing being executed by the image calculation circuit 4, and
It is composed of a plurality of data register sections 3b2 that store data groups related to the instruction processing being executed.
ここで、画像演算回路4が命令レジスタ部3b1、デー
タレジスタ部3b2に格納されている描画情報を用いて
演算処理中にCPUIから他の描画情報が与えられても
、FIFOメモリ部3aに格納することができ、CPU
Iからの描画情報を受け入れることができてCPU1の
処理を停止させることを防止している。なお、実行中の
演算処埋が終了した段階で、FIFOメモリ部3aに描
画情報が格納されていると、・FIFOメモリ部3aか
ら次の描画情報を命令レジスタ部3bl及びデータレジ
スタ部3b2に転送させて、画像演算回路4は、直ちに
次の演算処理を進む。Here, even if the image calculation circuit 4 is given other drawing information from the CPUI during calculation processing using the drawing information stored in the instruction register section 3b1 and data register section 3b2, it will not be stored in the FIFO memory section 3a. CPU
It is possible to accept drawing information from I, thereby preventing the processing of the CPU 1 from being stopped. Note that if the drawing information is stored in the FIFO memory section 3a at the stage where the arithmetic processing being executed is completed, the next drawing information is transferred from the FIFO memory section 3a to the instruction register section 3bl and the data register section 3b2. Then, the image calculation circuit 4 immediately proceeds to the next calculation process.
し発明が解決しようとする課!]
しかし、実際上、画像制御装置2はLSI等の集積回路
で構成されており、画像演算回路4等に多く構成を割か
れているため、FIFOメモリ部3aの容呈は小さくな
っている。そのため、CPU1からの多くの描画情報を
格納することができない.
特に、描画情報の中には多くのデータを含むものがあり
、FIFOメモリ部3aが描画命令とデータとを区別せ
ずに格納しているため、このようなデータが多い描画情
報に対してはFIFOメモリ部3aの大半の容量を使用
し、CPUIからのその後の描画情報を受け付けれなく
なることが多く生じる。The problem that this invention tries to solve! However, in reality, the image control device 2 is composed of an integrated circuit such as an LSI, and a large portion of the structure is devoted to the image calculation circuit 4, etc., so that the size of the FIFO memory section 3a is small. Therefore, much drawing information from the CPU 1 cannot be stored. In particular, some drawing information includes a lot of data, and the FIFO memory unit 3a stores drawing commands and data without distinguishing between them. Most of the capacity of the FIFO memory unit 3a is used, and subsequent drawing information from the CPUI is often not accepted.
かかる不都合はFIFOメモリ部3aの容量を大きくす
ることで解決できるが、上述したようにLSIチップ上
の制約を有する。また、FIFOメモリ部3aの容量を
大きくしても、画像制御装置2を適用する図形処理シス
テムによっては、FIFOメモリ部3aの容呈として小
さくて良いものもあり、このようなシステムに容量の大
きいFIFOメモリ部3aを適用しても無駄である。This inconvenience can be solved by increasing the capacity of the FIFO memory section 3a, but as mentioned above, there are restrictions on the LSI chip. Furthermore, even if the capacity of the FIFO memory section 3a is increased, depending on the graphic processing system to which the image control device 2 is applied, the FIFO memory section 3a may be small in size; It is useless to apply the FIFO memory section 3a.
すなわち、第3図の画像制御装置2の構成では、描画情
報を待機させておくj一にシステムとしての自由度が少
なくなっていた。That is, in the configuration of the image control device 2 shown in FIG. 3, the degree of freedom as a system is reduced because drawing information is kept on standby.
そこで、第4図のブロック図に示すような図形処理シス
テムも、従来、提案されていたく雑誌「日経エレク1・
ロニクス4 1987年2月、no.415、ppl3
3−149 )。Therefore, a graphic processing system as shown in the block diagram of Figure 4 has been proposed in the magazine "Nikkei Elec 1.
Ronix 4 February 1987, no. 415, ppl3
3-149).
この従来例では、画像制御装置2の入カバッファ回路は
、画像演算囲路4が実行中の命令処理にかかる描画命令
を格納する命令レジスタ部3clと、画像演算回路4が
実行中の命令処理にかかるデータ群を格納する複数のデ
ータレジスタ部3C2とから構成されているだけであり
、その後に発生してこれらレジスタ部3cl、3c2に
格納できない描画情報をCPUIのメモリ1aに格納す
るようにしたものである。In this conventional example, the input buffer circuit of the image control device 2 includes an instruction register section 3cl that stores drawing instructions related to the instruction processing that the image processing circuit 4 is currently executing, and an instruction register section 3cl that stores drawing instructions related to the instruction processing that the image processing circuit 4 is currently executing. It consists of a plurality of data register sections 3C2 that store such data groups, and any drawing information that is generated afterwards and cannot be stored in these register sections 3cl and 3c2 is stored in the memory 1a of the CPUI. It is.
この従来例では、CPUIは第5図のフローチャートの
ように処理して描画情報の転送又はメモリ1aの格納を
制御する。In this conventional example, the CPUI processes as shown in the flowchart of FIG. 5 to control the transfer of drawing information or the storage of the drawing information in the memory 1a.
メインルーチンの処理中において、描画命令の転送の必
要性が生じると、描画処理ルーチンをコールする(ステ
ップ100〉。描画処理ルーチンでは、まず、画像演算
回路4から与えられるビジー信号の状態によって画像制
御装置3が演算処理を実行中であるか否かを判断する(
ステップ101)。実行していない場合には、描画命令
及びデータ群を画像制御装置2に出力してメインルーチ
ンに戻る(ステップ102》。他方、実行中であると、
ビジー信号が有意でなくなったときに割込み処理を実行
させるようにセットし、その後、出力しようとした描画
命令及びデータ群をメモリ1aに格納させてメインルー
チンに戻る(ステップ103、104)。During the processing of the main routine, when it becomes necessary to transfer a drawing command, the drawing processing routine is called (step 100). Determine whether the device 3 is executing arithmetic processing (
Step 101). If it is not being executed, the drawing command and data group are output to the image control device 2 and the process returns to the main routine (step 102).On the other hand, if it is being executed,
The interrupt process is set to be executed when the busy signal becomes insignificant, and then the drawing command and data group to be output are stored in the memory 1a, and the process returns to the main routine (steps 103 and 104).
その後、画像制御装置2が実行中の演算処理を終了して
ビジー信号を有意でなくして割込みが発生すると、CP
UIは割込み処理ルーチンをコールする(ステップ10
5》。これにより、メモリ1aから格納されている描画
命令及びデータ群を収出して画像制御装置2に転送し、
メインルーチンに戻る(ステップ106、107)。After that, when the image control device 2 finishes the arithmetic processing being executed and makes the busy signal insignificant and an interrupt occurs, the CP
UI calls interrupt handling routine (step 10)
5》. As a result, the drawing command and data group stored in the memory 1a are retrieved and transferred to the image control device 2,
Return to the main routine (steps 106, 107).
この従来例においては、メモリ1aを用いているので多
くの描画情報を格納させておくことができる。しかし、
画像制御装置2が演算処理を実行している際に次の描画
命令及びデータ群が発生した場合には、メモリ1aに対
する格納処理及びその後の割込み処理をC }) U
1が実行しなければならず、描画情報の画像制御装置2
への転送のために多くの処理ステップを必要とし、画像
制御装置2をCPUIと切り離して設けたCPUIの処
理能力上の利点を軽減している。In this conventional example, since the memory 1a is used, a large amount of drawing information can be stored. but,
When the next drawing command and data group are generated while the image control device 2 is executing arithmetic processing, the storage processing in the memory 1a and the subsequent interrupt processing are performed as follows: C }) U
1 must execute, the image control device 2 of the drawing information
Many processing steps are required for the transfer to the CPU, which reduces the advantage in terms of processing ability of the CPU that the image control device 2 is provided separately from the CPU.
本発明は、以上の点を考慮してなされたものであり、マ
スタ処理ユニツ【・の処理能力を低下させることなく、
スレーブ処理ユニットの処理実行中にもマスタ処理ユニ
ットからスレーブ処理ユニツI・に処理命令を転送する
ことができる、しかも、スレーブ処理ユニットの処理実
行中に転送する処理命令の涸数の制約が少ない情報処理
システムを提供しようとするものである。The present invention has been made in consideration of the above points, and it is possible to
Information that allows processing instructions to be transferred from the master processing unit to the slave processing unit I even while the slave processing unit is executing processing, and that there is less restriction on the number of processing instructions to be transferred while the slave processing unit is executing processing. The aim is to provide a processing system.
[課題を解決するための手段]
かかる課題を解決するため、本発明においては、マスタ
処理ユニットとスレーブ処理ユニットとが設けられてお
り、スレーブ処理ユニットがマスタ処理ユニットからの
命令を実行するものであってその実行処理中にも他の命
令が到来することがある情報処理システムにおけるスレ
ーブ処理ユニットを、以下の各手段によって構成した.
すなわち、スレーブ処理ユニットは、命令を実行する実
行手段と、実行中の命令情報を格納するバッファメモリ
手段と、実行手段が実行した処理結果を格納すると共に
、一部の領域に実行されていない命令情報を格納するメ
モリ手段とを備える。[Means for Solving the Problems] In order to solve the problems, the present invention includes a master processing unit and a slave processing unit, and the slave processing unit executes instructions from the master processing unit. A slave processing unit in an information processing system in which other instructions may arrive even during execution of the slave processing unit was configured using the following means.
That is, the slave processing unit includes an execution means for executing instructions, a buffer memory means for storing information about the instruction being executed, and a buffer memory means for storing the processing results executed by the execution means. and memory means for storing information.
また、実行手段が非実行中にマスタ処理ユニットから与
えられた命令情報をバッファメモリ手段に与えると共に
、実行手段が実行中にマスタ処理ユニットから与えられ
た命令情報をメモリ手段に与え、メモリ手段に命令情報
が格納されている状態で実行手段の実行が終了した場合
にメモリ手段に・格納されている最も古い命令情報をバ
ッファメモリ手段に転送させる命令情報転送制御手段を
備える。Further, while the execution means is not executing, the instruction information given from the master processing unit is given to the buffer memory means, and while the execution means is executing, the instruction information given from the master processing unit is given to the memory means. The instruction information transfer control means is provided for transferring the oldest instruction information stored in the memory means to the buffer memory means when execution of the execution means ends while the instruction information is stored.
[作用]
スレーブ処理ユニットにおいて、実行手段はバッファメ
モリ手段に格納されている命令情報に応じた命令を実行
する。[Operation] In the slave processing unit, the execution means executes an instruction according to the instruction information stored in the buffer memory means.
実行手段が非実行中にマスタ処理ユニットから与えられ
た命令情報は、バッファメモリ手段に直ちに格納するこ
とができ、命令情報転送制御手段は到来した命令情報を
バッファメモリ手段に格納させる.
他方、命令手段が実行中には、バッファメモリ手段の命
令情報を利用しているので、新たな命令情報をバッファ
メモリ手段に格納することができない。また、マスタ処
理ユニットからの命令情報をスレーブ処理ユニッ1・が
受け付けないことは、マスタ処理ユニットの処理能力を
低下させることになる。Instruction information given from the master processing unit while the execution means is not executing can be immediately stored in the buffer memory means, and the instruction information transfer control means causes the incoming instruction information to be stored in the buffer memory means. On the other hand, while the command means is being executed, new command information cannot be stored in the buffer memory means, since the command information in the buffer memory means is used. Furthermore, if the slave processing unit 1. does not accept command information from the master processing unit, the processing capacity of the master processing unit will be reduced.
そこで、命令情報を格納するものとして実行手段の処理
結果を格納するメモリ手段の一部の領域を用い、すなわ
ち、バッファメモリ手段とは別個パラレルに設け、命令
情報転送制御手段は、実行手段が実行中にマスタ処理ユ
ニットから与えられた命令情報をメモリ手段に与えて格
納させ、メモリ手段に命令情報が格納されている状悪で
実行手段の実行が終了した場合にメモリ手段に格納され
ている最も古い命令情報をバッファメモリ手段に転送さ
せて次の処理を実行させるようにした。Therefore, a part of the memory means that stores the processing results of the execution means is used to store the instruction information, that is, it is provided separately and in parallel with the buffer memory means, and the instruction information transfer control means is used to store the processing results of the execution means. The instruction information given from the master processing unit is given to the memory means for storage, and when the instruction information is stored in the memory means and the execution of the execution means is finished, the most stored in the memory means is stored. The old instruction information is transferred to the buffer memory means to execute the next process.
[実施例]
以下、本発明を図形処理システムに適用した一実施例を
図面を参照しながら詳述する.ここで、第1図はこの実
施例の全体構成を示すブロック図、第6図はその画像制
御装置の詳m楕成を示すブロック図、第7図はそのパス
セレクタ部の切換内容を示す図表、第8図はこのシステ
ムのCPUが実行する描画命令転送処理を示すフローチ
ャートである。[Example] Hereinafter, an example in which the present invention is applied to a graphic processing system will be described in detail with reference to the drawings. Here, FIG. 1 is a block diagram showing the overall configuration of this embodiment, FIG. 6 is a block diagram showing the detailed configuration of the image control device, and FIG. 7 is a diagram showing switching contents of the path selector section. , FIG. 8 is a flowchart showing the drawing command transfer process executed by the CPU of this system.
第1図において、CPUIOは処理中において描画の必
要が生じたときに、描画情報(描画命令とその描画命令
にかかるデータ群)を画像制御装置11に出力するもの
であり、この実施例の場合には後述するように、画像制
御装置11が描画情報を受け付けないことがないので、
内部のメモリに描画情報を格納する構成は設けられてい
ない。In FIG. 1, the CPUIO outputs drawing information (a drawing command and a data group related to the drawing command) to the image control device 11 when drawing is required during processing, and in this embodiment, As will be described later, since the image control device 11 does not fail to accept drawing information,
A structure for storing drawing information in internal memory is not provided.
画像制御装置11は転送制御回N12と画像演算回路1
3とでなり、CI)UIOから与えられた描画情報を演
算処理して表示情報に変換してディスプレイメモリ装i
f 1 4に出力する。かくして、ディスプレイメモリ
装置14に格納された表示情報がディスプレイ装it
1 5に与えられて表示されるようになされている。The image control device 11 has a transfer control circuit N12 and an image calculation circuit 1.
3, and CI) calculates the drawing information given from the UIO and converts it into display information and stores it in the display memory device i.
Output to f 1 4. Thus, the display information stored in the display memory device 14 is stored in the display device it.
15 and is displayed.
この実施例においては、画像演算回路13が演算実行中
にCPUIOが出力した描画情報は、ディスプレイメモ
リ装置14の一部の領域14aに格納されるようになさ
れている。すなわち、ディスプレイメモリ装置14は、
表示情報を格納する表示情報領域14bと、描画情報を
格納する描画情報領域14aとに区分されており、恰も
2個のメモリ装置があるように使用される。実際−ヒ、
表示情報を格納するに要する領域14bは、ディスプレ
イメモリ装置14の容量の内の一部の領域であり、多く
の描画情報を格納し得る空き容地が存在する。In this embodiment, the drawing information output by the CPUIO while the image calculation circuit 13 is performing calculations is stored in a part of the area 14a of the display memory device 14. That is, the display memory device 14 is
It is divided into a display information area 14b for storing display information and a drawing information area 14a for storing drawing information, and is used as if there were two memory devices. Actually - Hee,
The area 14b required to store display information is a part of the capacity of the display memory device 14, and there is a free space that can store a lot of drawing information.
ディスプレイメモリ装置14の表示情報領域14bは、
画像制御装置11の画像演算回路13及びディスプレイ
装置15によってアクセスされ、ディスプレイメモリ装
置14の措画情報領域14aは、画像制御装置11の転
送制御回路12によってアクセスされる。すなわち、こ
の実施例では、転送制御回路12が、画像演算回路13
が演算実行中である場合にもCPUIOからの描画情報
を受け付けることができるように制御する。The display information area 14b of the display memory device 14 is
It is accessed by the image calculation circuit 13 and display device 15 of the image control device 11 , and the program information area 14 a of the display memory device 14 is accessed by the transfer control circuit 12 of the image control device 11 . That is, in this embodiment, the transfer control circuit 12 is connected to the image calculation circuit 13.
Control is performed so that drawing information from the CPUIO can be accepted even when the CPU IO is executing calculations.
転送制御回路12は、画像演算回i/8 1 3が演算
を実行していないときにCPUIOから描画情報が与え
られると、画像演算回路13にその描画情報を直接与え
る。また、転送制御回路12は、画像演算回路13が演
算を実行しているときにC })UIOから描画情報が
与えられると、ディスプレイメモリ装置14の描画情報
領域14aに格納させる。さらに、転送制御回路12は
、画像演算回路13が演算を終了したときに他の、描画
情報が描画情報領域14aに格納されている場合にはこ
の描画情報領域14aに格納されている最も古い描画情
報を読出して画像演算回2813に与えて演算を実行さ
せる。When the transfer control circuit 12 receives drawing information from the CPUIO when the image calculation circuits i/8 1 3 are not executing calculations, the transfer control circuit 12 directly provides the drawing information to the image calculation circuit 13 . Furthermore, when the image calculation circuit 13 is executing calculations, the transfer control circuit 12 receives drawing information from the UIO and stores it in the drawing information area 14a of the display memory device 14. Further, when the image calculation circuit 13 finishes the calculation, the transfer control circuit 12 transfers the oldest drawing information stored in the drawing information area 14a to another drawing information stored in the drawing information area 14a. The information is read out and given to the image calculation circuit 2813 to perform calculations.
次に、転送制御回路12の詐#lI横成及び動作につい
て、第6図及び第7図を参照しながら説明する。Next, the configuration and operation of the transfer control circuit 12 will be explained with reference to FIGS. 6 and 7.
第6図において、転送制御回路12は、画像演算回路1
3が実行中の描画命令及びデータ群を格納する命令レジ
スタ部20及びデータレジスタ部21を備えている。In FIG. 6, the transfer control circuit 12 includes the image calculation circuit 1
3 includes an instruction register section 20 and a data register section 21 for storing drawing commands and data groups being executed.
これらレジスタ部20、21,に対する内部データバス
B1と、CPUIOに接続されているシステムバスB2
と、ディスプレイメモリ装置14の描画情報領域14a
に接続されているメモリデータバスB3との接続切換は
、パスセレクタ部22が実行する。パスセレクタ部22
は、転送刊御部本体23によって制御される。転送制御
部本休23は、画像演算回路13から与えられるビジー
信号BSYと、描画情報領域14aに対するアドレスを
制御するアドレス制御部24から与えられる第1の一致
不一致信号C1に基づいてパスセレクタ部22を制御す
る。Internal data bus B1 for these register units 20, 21, and system bus B2 connected to CPUIO
and the drawing information area 14a of the display memory device 14.
The path selector section 22 performs connection switching with the memory data bus B3 connected to the memory data bus B3. Path selector section 22
is controlled by the transfer publication control unit main body 23. The transfer control section Honkyu 23 selects the path selector section 22 based on the busy signal BSY given from the image calculation circuit 13 and the first match/mismatch signal C1 given from the address control section 24 that controls the address for the drawing information area 14a. control.
アドレス制御部24は、描画情報領域14aの先頭アド
レスSAを格納する先頭アドレスレジスタ部25と、描
画情報領域14aの終端アドレスEAを格納する終端ア
ドレスレジスタ部26と、描画情報領域1.4aに対す
る読出しアドレスRAを格納する読出しアドレス発生部
27と、描画情報領域14aに対する書込みアドレスW
Aを格納する書込みアドレス発生部28と、読出しアド
レスRAと書込みアドレスWAとの一致不一致を検出し
て第1の一致不一致信号CIを転送制御部本体23に出
力する第1の一致検出部29と、終端アドレスEAと読
出しアドレスRAとの一致不一致、又は、終端アドレス
EAと書込みアドレスWAとの一致不一致を検出して第
2の一致不一致信号C2を転送制御部本体23に出力す
る第2の一致検出部30と、読出しアドレスRA又は書
込みアドレスWAの一方を選択して描画情報領域14a
に接続されているアドレスバスBAにアドレスを出力さ
せるアドレスセレクタ部31とからなる.ここで、第1
の一致検出部29が読出しアドレスRAと書込みアドレ
スWAとの一致をみていることは、読出しアドレスRA
が書込みアドレスWAに追い付いた状懲を検出すること
であり、描画情報領域t4a内の描画情報を全て読出し
たが否かを検出することである。The address control section 24 includes a start address register section 25 that stores the start address SA of the drawing information area 14a, an end address register section 26 that stores the end address EA of the drawing information area 14a, and a readout section 25 that stores the start address SA of the drawing information area 14a. A read address generation unit 27 that stores the address RA and a write address W for the drawing information area 14a.
A write address generation section 28 that stores A, and a first coincidence detection section 29 that detects coincidence and mismatch between the read address RA and the write address WA and outputs a first coincidence and mismatch signal CI to the transfer control section main body 23. , a second match which detects a match or mismatch between the end address EA and the read address RA, or a match or mismatch between the end address EA and the write address WA, and outputs a second match or mismatch signal C2 to the transfer control unit main body 23. The detection unit 30 selects either the read address RA or the write address WA and prints the drawing information area 14a.
and an address selector section 31 that outputs an address to an address bus BA connected to the address bus BA. Here, the first
The fact that the match detection unit 29 detects a match between the read address RA and the write address WA means that the read address RA
The purpose of this is to detect a situation in which the write address WA has caught up with the write address WA, and to detect whether all the drawing information in the drawing information area t4a has been read out.
また、第2の一致検出部30が終端アドレスEAと読出
しアドレスRAとの一致不一致、又ハ、終端アドレスE
Aと書込みアドレスWAとの一致不一致を検出すること
は、読出しアドレスRA又は書込みアドレスWAを終端
アドレスEAがら先頭アドレスSAに戻す必要があるが
否かを検出することを息昧している。Further, the second coincidence detection section 30 detects whether the terminal address EA and the read address RA match or do not match, or c.
Detecting a match or mismatch between A and the write address WA involves detecting whether it is necessary to return the read address RA or the write address WA from the end address EA to the start address SA.
以上の構成において、転送制御部本体23は、第7図の
第1欄に示すように、ビジー信号BSYが非演算状態を
指示し、第1の一致不一致信号C1が読出しアドレスR
Aと書込みアドレスWAの不一致を示している場合には
、内部データバスB1とメモリデータバスB3とをパス
セレクタ部22によって接続させ、その後、そのときの
読出しアドレスRAをインクリメントしてアドレスセレ
クタ部31を介して描画情報領域14aに与えて描画情
報を読み出させて命令レジスタ部20及びデータレジス
タ部21に転送させ、画像演算回路13に新たな描画情
報についての演算を実行させる.
なお、この場合において、第2の一致不一致信号C2が
、読出しアドレスrtAが終端アドレスEAでないこと
を表していることを確認して、読出しアドレス発生部2
7内の読出しアドレスRAをインクリメントする。なお
、読出しアドレスRAが終端アドレスEAである場合に
は、先頭アドレスレジスタ部25に格納されている先頭
アドレスSAを読出しアドレス発生部27にロードさせ
て出力させる。In the above configuration, in the transfer control unit main body 23, as shown in the first column of FIG.
If there is a mismatch between A and the write address WA, the internal data bus B1 and the memory data bus B3 are connected by the path selector section 22, and then the read address RA at that time is incremented and the address selector section 31 is applied to the drawing information area 14a through the drawing information area 14a to cause the drawing information to be read out and transferred to the instruction register section 20 and the data register section 21, and to cause the image calculation circuit 13 to execute calculations on the new drawing information. In this case, after confirming that the second match/mismatch signal C2 indicates that the read address rtA is not the end address EA, the read address generator 2
The read address RA in 7 is incremented. Note that when the read address RA is the end address EA, the start address SA stored in the start address register section 25 is loaded into the read address generation section 27 and output.
かかる第1欄に示す処理によっては、ビジー信号BSY
が演算状態を表すものとなるので、後述する第3冊又は
第4棚の処理に進む。Depending on the processing shown in the first column, the busy signal BSY
Since this represents the calculation state, the process proceeds to the third book or the fourth shelf, which will be described later.
また、転送制御部本体23は、第7図の第2欄に示すよ
うに、ビジー信号[3SYが非演算状態を指示し、第1
の一致不一致信号C1が読出しアドレスRAと書込みア
ドレスWAの一致していること(処理されていない格納
描画情報がないこと)を示している場合には、内部デー
タバスB1とシステムバス132とをパスセレクタ部2
2によって接続させ、(,r)UIOからの描画情報を
命令レジスタ部20及びデータレジスタ部21に転送さ
せる状悪どし、転送された場合に直ちに画像演算回路1
3に新たな描画情報についての演算を実行させる.
かかる第2欄に示す処理によって画像演算回路13に描
画情報が与えられて演算処理が開始され、ビジー信号B
SYが演算状態を表すものとなると、後述する第3a又
は第4欄の処理に進む。In addition, as shown in the second column of FIG.
If the match/mismatch signal C1 indicates that the read address RA and write address WA match (there is no stored drawing information that has not been processed), the internal data bus B1 and system bus 132 are passed. Selector section 2
2, and the drawing information from the (,r) UIO is transferred to the instruction register section 20 and the data register section 21.
3 to perform calculations on the new drawing information. Through the processing shown in the second column, drawing information is given to the image calculation circuit 13 to start calculation processing, and the busy signal B
When SY represents the calculation state, the process proceeds to column 3a or 4, which will be described later.
また、転送制御部本体23は、第7図の第3欄及び第4
欄に示すように、ビジー信号BSYが演算状悪を指示し
ている場合には、第1の一致不一致信号C1の一致不一
致には関係なく、システムバスB2とメモリデータバス
B3とをパスセレクタ部22によって接続させ、その後
、そのときの書込みアドレスWAをアドレスセレクタ部
31を介して描画情報領域14aに与えて、C PU
I Oから描画情報が到来したときに描画情報領域14
aに直ちに格納させることができる状態にする。In addition, the transfer control unit main body 23 is connected to the third column and the fourth column in FIG.
As shown in the column, if the busy signal BSY indicates a bad operation state, the system bus B2 and memory data bus B3 are connected to the path selector unit regardless of whether the first match/mismatch signal C1 matches or does not match. 22, and thereafter, the write address WA at that time is given to the drawing information area 14a via the address selector section 31, and the CPU
When drawing information arrives from IO, the drawing information area 14
a so that it can be stored immediately.
この状態でCPUIOから描画情報が到来して描画情報
領域14aに描画情報が格納されると、ディスプレイメ
モリ装置14から転送制御部本木23に制御信号が与え
られ、このとき、転送制御部本体23は、第2の一致不
一致信号C2がその書込みアドレスWAが終端アドレス
EAでないことを表していることを確認して書込みアド
レスレジスタ部28内の書込みアドレスWAをインクリ
メントする.なお、終端アドレスEAである場合には、
先頭アドレスレジスタ部25に格納されている先頭アド
レスSAを書込みアドレス発生部28にロードさせる。When drawing information arrives from the CPUIO in this state and is stored in the drawing information area 14a, a control signal is given from the display memory device 14 to the transfer control unit main tree 23. confirms that the second match/mismatch signal C2 indicates that the write address WA is not the end address EA, and increments the write address WA in the write address register section 28. In addition, if the terminal address is EA,
The start address SA stored in the start address register section 25 is loaded into the write address generation section 28.
かかる第3欄及び第4aに示す処理を行なっても、画像
演算回路13の演算処理が終了するまでは、継続して第
3欄及び第4欄の処理を実行し、演算が終了してビジー
信号BSYが非演算状態を表すものとなると、第18又
は第2欄の処理に進む。Even if the processing shown in the third column and 4a is performed, the processing in the third column and the fourth column will continue to be executed until the image calculation circuit 13 finishes the calculation processing, and the processing in the third column and the fourth column will be continued. When the signal BSY indicates a non-operation state, the process proceeds to the 18th or second column.
従って、上述の実施例によれば、画像演算回路13の演
算中にCPUIOから到来した描画情報を格納するメモ
リ部(14a>を、命令レジスタ部20及びデータレジ
スタ部21とパラレルに設け、しかも、メモリ部(14
a)に対する書込みアドレスWA及び読出しアドレスR
Aを巡回させるようにしなので、画像制御装置11側に
おいて多くの描画情報を格納することができ、CPUI
Oの処理を制約することがない。Therefore, according to the above-described embodiment, the memory section (14a> for storing the drawing information received from the CPUIO during the operation of the image operation circuit 13 is provided in parallel with the instruction register section 20 and the data register section 21, and Memory section (14
Write address WA and read address R for a)
Since A is circulated, a lot of drawing information can be stored on the image control device 11 side, and the CPU
There is no restriction on the processing of O.
すなわち、(j)UIOは、メインルーチンの処埋中に
おいて、第8図に示すように、描画命令の転送の必要性
が生じて描画処理ルーチンをコールすると、画像制御装
置11の状懲を確認することなく、また、描画情報を内
部のメモリに記憶することなく、描画処理ルーチンによ
って、直ちに描画情報を転送することができ、すぐにメ
インルーチンに戻ることができる(ステップ200、2
01).
また、上述の実施例によれば、画像制御装置11と関連
した描画情報メモリとしてディスプレイメモリ装置14
の空き容旦を利用するようにしたので、メモリを有効に
利用していると共に、多くの描画情報を格納させること
ができる。すなわち、画像制御装置11内にメモリを設
けるより、多くの容皿を用いることができる.さらに、
先頭アドレスSA及び終端アドレスEAを可変ずること
によって、描画情報を格納し得る容量を任意に可変する
ことができ、この点からもメモリの有効利川を達成して
いる。In other words, (j) the UIO checks the status of the image control device 11 when the need to transfer a drawing command arises and calls the drawing processing routine during processing of the main routine, as shown in FIG. The drawing processing routine can immediately transfer the drawing information without having to do so or store the drawing information in the internal memory, and the main routine can be returned immediately (steps 200 and 2).
01). Further, according to the embodiment described above, the display memory device 14 serves as a drawing information memory associated with the image control device 11.
Since the free space is used, the memory can be used effectively and a large amount of drawing information can be stored. That is, more containers can be used than by providing memory in the image control device 11. moreover,
By varying the start address SA and the end address EA, the storage capacity of drawing information can be arbitrarily varied, and from this point of view as well, the effective utilization of the memory is achieved.
なお、上述の実施例では、図形処理システムに本発明を
適用したものを示したが、他の情報処理システムに対し
ても適用することができる。すなわち、マスタ処理ユニ
ッI・とスレーブ処理ユニットとが設けられており、ス
レーブ処哩ユニッ1・がマスタ処理ユニットからの命令
を実行するものであってその処理中にも池の処理命令が
到来することがあるシステムに適用することができる。In the above-described embodiment, the present invention is applied to a graphic processing system, but the present invention can also be applied to other information processing systems. That is, a master processing unit I and a slave processing unit are provided, and the slave processing unit 1 executes instructions from the master processing unit, and other processing instructions arrive even during processing. It can be applied to certain systems.
[発明の効果]
従って、上述の実施例によれば、スレーブ処理ユニット
が処理中にマスタ処理ユニットから到来した命令情報を
、処理用のバッファメモリ手段とは異なるスレーブ処理
ユニットの管理下にある別個独立の、しかも、処理結果
を格納するメモリ手段に記憶するようにしたので、スレ
ーブ処理ユニット側において実行していない多くの命令
情報を格納することができ、マスタ処理ユニットの処理
能力を命令転送処理が低一ドさせることのない情報処理
システムを得ることができる。[Effects of the Invention] Therefore, according to the above-described embodiment, the slave processing unit stores the instruction information received from the master processing unit during processing in a separate buffer memory means under the control of the slave processing unit different from the processing buffer memory means. Since the processing results are stored in an independent memory means, it is possible to store a lot of instruction information that is not being executed on the slave processing unit side, and the processing power of the master processing unit can be used for instruction transfer processing. It is possible to obtain an information processing system that does not cause low power consumption.
第1図は本発明を図形処理システムに適用した一実施例
の全体槽成を示すブロック図、第2図は従来システムの
全体構成を示すブロック図、第3図及び第4図はそれぞ
れ従来システムの画像制御装置周りの構成を示すブロッ
ク図、第5図は第4図の従来システムのCPUが実行す
る描画情報転送処理を示すフローチャート、第6図は上
記実施例の画像制御装置の詳細構成を示すブロック図、
第7図はその動作状悪を制御信号との関係で場合わけし
て示す図表、第8図は実施例システムのCPUが実行す
る描画情報転送処理を示すフローチャートである。
10・・・CPU、11・・・画像制御装置、12・・
・転送制御回路、13・・・画像演算回路、14・・・
ディスプレイメモリ装置、14a・・・描画情報領域、
15・・・ディスプレイ装置。
実施例の図形処理ゾステ▲の全体7゛ロフク図第I図
l2
画像制御装置の従来例のフ゛助ク図(1)第3図
従来の図形処理ノλテムの全体フ゛ロック図第2図
2′
画像制御装置の従来例の7’rJ7ク図(2)第4図
第4図のCPtIの処理7トチ會−ト
第
図
第
図Fig. 1 is a block diagram showing the overall configuration of an embodiment in which the present invention is applied to a graphic processing system, Fig. 2 is a block diagram showing the overall configuration of a conventional system, and Figs. 3 and 4 are respectively related to the conventional system. FIG. 5 is a flowchart showing the drawing information transfer process executed by the CPU of the conventional system in FIG. 4, and FIG. 6 shows the detailed configuration of the image control device in the above embodiment. Block diagram shown,
FIG. 7 is a diagram illustrating poor operating conditions in relation to control signals, and FIG. 8 is a flowchart illustrating drawing information transfer processing executed by the CPU of the system of the embodiment. 10... CPU, 11... Image control device, 12...
・Transfer control circuit, 13... Image calculation circuit, 14...
Display memory device, 14a... drawing information area,
15...Display device. An overall block diagram of the graphic processing system according to the embodiment ▲ Fig. I 12 An auxiliary block diagram of the conventional example of the image control device (1) Fig. 3 An overall block diagram of the conventional graphic processing system λ item Fig. 2 2'7'rJ7 diagram (2) of a conventional example of an image control device
Claims (1)
れており、スレーブ処理ユニットがマスタ処理ユニット
からの命令を実行するものであってその実行処理中にも
他の命令が到来することがある情報処理システムにおい
て、 上記スレーブ処理ユニットは、 命令を実行する実行手段と、 実行中の命令情報を格納するバッファメモリ手段と、 上記実行手段が実行した処理結果を格納すると共に、一
部の領域に実行されていない命令情報を格納するメモリ
手段と、 上記実行手段が非実行中に上記マスタ処理ユニットから
与えられた命令情報を上記バッファメモリ手段に与える
と共に、上記実行手段が実行中に上記マスタ処理ユニッ
トから与えられた命令情報を上記メモリ手段に与え、上
記メモリ手段に命令情報が格納されている状態で上記実
行手段の実行が終了した場合に上記メモリ手段に格納さ
れている最も古い命令情報を上記バッファメモリ手段に
転送させる命令情報転送制御手段とを有する構成したこ
とを特徴とする情報処理システム。[Claims] A master processing unit and a slave processing unit are provided, and the slave processing unit executes an instruction from the master processing unit, and other instructions arrive even during execution processing. In an information processing system, the slave processing unit has an execution means for executing an instruction, a buffer memory means for storing instruction information being executed, a processing result executed by the execution means, and a part of the slave processing unit. memory means for storing unexecuted instruction information in an area; and a memory means for supplying instruction information given from the master processing unit to the buffer memory means while the execution means is not executing; When the instruction information given from the master processing unit is given to the memory means and the execution of the execution means is completed while the instruction information is stored in the memory means, the oldest instruction stored in the memory means An information processing system comprising: command information transfer control means for transferring information to the buffer memory means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5622489A JPH02236657A (en) | 1989-03-10 | 1989-03-10 | Information processing system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5622489A JPH02236657A (en) | 1989-03-10 | 1989-03-10 | Information processing system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02236657A true JPH02236657A (en) | 1990-09-19 |
Family
ID=13021136
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5622489A Pending JPH02236657A (en) | 1989-03-10 | 1989-03-10 | Information processing system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02236657A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2013024506A1 (en) * | 2011-08-15 | 2013-02-21 | 三菱電機株式会社 | Drawing control device |
-
1989
- 1989-03-10 JP JP5622489A patent/JPH02236657A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2013024506A1 (en) * | 2011-08-15 | 2013-02-21 | 三菱電機株式会社 | Drawing control device |
| JPWO2013024506A1 (en) * | 2011-08-15 | 2015-03-05 | 三菱電機株式会社 | Drawing control device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4412303A (en) | Array processor architecture | |
| JP2829091B2 (en) | Data processing system | |
| US4365292A (en) | Array processor architecture connection network | |
| US6820187B2 (en) | Multiprocessor system and control method thereof | |
| US4967350A (en) | Pipelined vector processor for executing recursive instructions | |
| JP3797570B2 (en) | Apparatus and method using semaphore buffer for semaphore instructions | |
| US6563505B1 (en) | Method and apparatus for executing commands in a graphics controller chip | |
| JPH02236657A (en) | Information processing system | |
| US5781182A (en) | Line buffer apparatus with an extendible command | |
| EP0560393A1 (en) | Microprocessor and data processing system with register file | |
| US5694584A (en) | Information processing system capable of quickly processing a parameter and a command necessary for drawing processing | |
| JP2000040057A (en) | Computer system, buffer controller and transferring method | |
| US6085297A (en) | Single-chip memory system including buffer | |
| JP2723412B2 (en) | Main memory pre-port control method | |
| JPH04205047A (en) | Data processor | |
| JP2867148B2 (en) | Memory access end condition judgment method | |
| JPS60193044A (en) | Data buffer device | |
| JP3467188B2 (en) | Multiplexing bus order guarantee system. | |
| JPH04111149A (en) | Circuit system for dma device | |
| JP2506591B2 (en) | Auxiliary processor | |
| JPS63284673A (en) | Information processor | |
| JPH03191412A (en) | Input display control device | |
| JPS61223965A (en) | Data transfer circuit | |
| JPH10293718A (en) | Buffer controller | |
| JPH02183342A (en) | Interruption controller |