JPS6191743A - Control system of dedicated arithmetic device - Google Patents

Control system of dedicated arithmetic device

Info

Publication number
JPS6191743A
JPS6191743A JP59213817A JP21381784A JPS6191743A JP S6191743 A JPS6191743 A JP S6191743A JP 59213817 A JP59213817 A JP 59213817A JP 21381784 A JP21381784 A JP 21381784A JP S6191743 A JPS6191743 A JP S6191743A
Authority
JP
Japan
Prior art keywords
dedicated arithmetic
processing unit
dedicated
central processing
program
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
JP59213817A
Other languages
Japanese (ja)
Inventor
Akira Kanda
明 神田
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP59213817A priority Critical patent/JPS6191743A/en
Publication of JPS6191743A publication Critical patent/JPS6191743A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the input/output overhead between a central processor and a dedicated arithmetic device and to perform program processing by both devices in parallel by allowing the central processor and dedicated arithmetic device to share a main storage device. CONSTITUTION:The central processor 22 sets up a program to be executed and data in a main storage device 21, the dedicated arithmetic device 24 transfers information which indicates the location from the address converting mechanism 23 of the central processor 22 to the address converting mechanism 25 of the dedicated arithmetic device 24 and also supplies an execution start command to the dedicated device 24. The dedicated arithmetic device 24 also refers to the common main storage device 21 by an address converting mechanism 25 similar to that of the central processor 22 to eliminate the input/output overhead.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は電子計算機システムに関し、特に、専用化さ
れた1つあるいは複数の演算装置を用いて特定の演算機
能を分担させるための制御方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an electronic computer system, and in particular to a control method for sharing specific arithmetic functions using one or more dedicated arithmetic units. .

〔従来の技術〕[Conventional technology]

第2図(A)は例えば配列専用演算装置などの専用演算
装置を有する電子計算機システムの従来の代表的な構成
を示している。図において(1)は主記憶装置、(2)
はホスト側の中央処理装置、(3)は入出力制御装置、
(4)は入出力制御装置(3)を介して中央処理装置(
2)に接続された専用演算装置であシ、専用演算装置(
4)は記憶部(5)と演算部(6)とを有する。
FIG. 2A shows a typical conventional configuration of an electronic computer system having a dedicated arithmetic unit such as an array-dedicated arithmetic unit. In the figure, (1) is the main memory, (2)
is the central processing unit on the host side, (3) is the input/output control unit,
(4) is connected to the central processing unit (
2) A dedicated arithmetic unit connected to the dedicated arithmetic unit (
4) has a storage section (5) and an arithmetic section (6).

第2図(B)は上記システムの機能ブロック図であシ、
(7)は中央処理装置(2)側の機能系を示し、(13
)は専用演算装置(4)側の機能系を示す。中央゛処理
装置系(7)において、(8)は制御プログラム、(9
)は専用演算装置(4)とのインターフェイス、(lO
)は中央処理装置(2)上で実行される応用プログラム
、(11)は専用演算装置(4)上で実行される応用プ
ログラム、(12)は専用演算装置(4)との間でデー
タを交換するための入出カッくツファである。また専用
演算装置系(13)において、(14)は制御プログラ
ム、(15)は専用演算装置(4)上で走る応用プログ
ラム、(16)は入出カッくツファ(12)K対応した
人出力バツファである。
FIG. 2(B) is a functional block diagram of the above system.
(7) shows the functional system on the central processing unit (2) side, and (13
) indicates the functional system on the dedicated arithmetic unit (4) side. In the central processing unit system (7), (8) is a control program, (9
) is the interface with the dedicated arithmetic unit (4), (lO
) is an application program executed on the central processing unit (2), (11) is an application program executed on the dedicated arithmetic unit (4), and (12) is an application program that executes on the dedicated arithmetic unit (4). This is an inlet/outlet cutter for exchange. In addition, in the dedicated arithmetic unit system (13), (14) is a control program, (15) is an application program that runs on the dedicated arithmetic unit (4), and (16) is an input/output buffer (12) that is a human output buffer corresponding to K. It is.

以下の説明で明らかになるように、応用プログラム(1
5)は応用プログラム(11)のコピーである。
As will become clear in the following explanation, the application program (1
5) is a copy of the application program (11).

次に動作を説明する。中央処理装置(2)上で走り始め
た応用プログラム(10)は、まず主記憶部(1)に格
納されている応用プログラム(11)を専用演算装置(
4)へ転送し、そのコピーである応用プログラム(15
)を記憶部(5)に格納する。次に演算用データを入出
力バッファ(12)に準備し、それを入出力バッファ(
16)へ送出する。専用演算装置(4)の制御プログラ
ム(14)は、演算用データを受けとったならば応用プ
ログラム(15)の実行を開始させる。専用演算装置(
4)による演算処理が終了すると、人出力バツファ(1
6)中に蓄見られた演算結果データが入出力バッファ(
12)へ返送されるとともに1応用プログラム(lO)
に対して演算の終了が報告される。
Next, the operation will be explained. The application program (10) that has started running on the central processing unit (2) first runs the application program (11) stored in the main memory (1) on the dedicated arithmetic unit (
4) and the copy of the application program (15
) is stored in the storage unit (5). Next, prepare the calculation data in the input/output buffer (12) and transfer it to the input/output buffer (12).
16). The control program (14) of the dedicated arithmetic unit (4) starts execution of the application program (15) upon receiving the arithmetic data. Dedicated computing device (
When the arithmetic processing in 4) is completed, the human output buffer (1
6) The calculation result data stored in the input/output buffer (
12) Returned to 1 application program (lO)
The completion of the operation is reported for .

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記のような従来の制御方式では、専用演算装置(4)
による演算実行に先だって応用プログラム(11)およ
び演算用データを中央処理装置(2)から転送し、また
演算完了時に演算結果データを中央処理装置(2)へ送
シ戻す必要がある。このデータ転送時間が大きなオーバ
ーヘッドとなシ、システムの効率を低下させる。また上
記データ転送のためにインターフェイス(9)が複雑に
なって、プログラム(10)の記述性も悪かった。
In the conventional control method as described above, a dedicated arithmetic unit (4)
It is necessary to transfer the application program (11) and calculation data from the central processing unit (2) before executing the calculation, and to send the calculation result data back to the central processing unit (2) upon completion of the calculation. This data transfer time is a large overhead and reduces the efficiency of the system. In addition, the interface (9) became complicated due to the above-mentioned data transfer, and the program (10) was not easy to write.

この発明は上述した従来の問題点に鑑みなされたもので
あシ、その目的は、中央処理装置と専用演算装置とで主
記憶装置を共用することによシ、両装置間の入出力オー
バーヘッドをなくシ、両装置で並列的にそれぞれのプロ
グラム処理を行なうことができるようにした専用演算装
置の制御方式を提供することにある。
This invention was made in view of the above-mentioned conventional problems, and its purpose is to reduce the input/output overhead between the central processing unit and the dedicated arithmetic unit by sharing the main storage unit. Another object of the present invention is to provide a control system for a dedicated arithmetic unit that allows both units to process their respective programs in parallel.

〔問題点を解決するための手段〕[Means for solving problems]

この発明においては、中央処理装置が主記憶装置をアク
セスする際に使用するアドレス変換機構と同様なアドレ
ス変換機構を専用演算装置に設け、それを介して専用演
算装置が主記憶装置を直接アクセスできるように構成し
ている。そして、専用演算装置が実行すべきプログラム
とデータとを中央処理装置が主記憶装置に準備した後、
その所在を示す情報を中央処理装置の上記アドレス変換
機構から専用演算装置の上記アドレス変換機構に転送す
るとともに、専用演算装置に実行開始指令を与える。こ
の命令を受けて専用演算装置が中央処理装置と並列的に
主記憶装置をアクセスし、上記データに従って上記プロ
グラムを実行する。
In this invention, the dedicated arithmetic unit is provided with an address translation mechanism similar to the address translation mechanism used when the central processing unit accesses the main memory, so that the dedicated arithmetic unit can directly access the main memory. It is composed of After the central processing unit prepares the program and data to be executed by the dedicated arithmetic unit in the main memory,
Information indicating its location is transferred from the address translation mechanism of the central processing unit to the address translation mechanism of the dedicated arithmetic unit, and an execution start command is given to the dedicated arithmetic unit. Upon receiving this instruction, the dedicated arithmetic unit accesses the main memory in parallel with the central processing unit, and executes the program according to the data.

〔作用〕[Effect]

上記の制御方式では、上記のプログラムとデータの所在
を示す情報を転送するだけで、専用演算装置は直ちにそ
れを実行可能で、また演算結果データを転送する必要が
ない。専用演算装置の演算処理中にも、中央処理装置は
プログラム処理を実行できる。
In the above control method, the dedicated arithmetic unit can immediately execute the program by simply transferring information indicating the location of the program and data, and there is no need to transfer the arithmetic result data. The central processing unit can execute program processing even while the dedicated arithmetic unit is performing arithmetic processing.

〔実施例〕〔Example〕

゛ 第1図(A)はこの発明の制御方式を適用した電子
計算機システムの構成例を示している。図のように、中
央処理装置(22)と専用演算装置(24)とが主記憶
装置(21)に共通接続されている0中央処理装置(2
2)には主記憶装置(21)をアクセスする際に使用す
るアドレス変換機構(23)があシ、これと同様なアド
レス変換機構(25)が専用演算装置(24)に設けら
れている。専用演算装置(24)は、このアドレス変換
機構(25)を介して主記憶装置(2,1)に直接アク
セスできる。
゛ Fig. 1(A) shows an example of the configuration of an electronic computer system to which the control method of the present invention is applied. As shown in the figure, a central processing unit (22) and a dedicated arithmetic unit (24) are commonly connected to a main storage device (21).
2) has an address conversion mechanism (23) used when accessing the main memory (21), and a similar address conversion mechanism (25) is provided in the dedicated arithmetic unit (24). The dedicated arithmetic unit (24) can directly access the main memory (2, 1) via this address translation mechanism (25).

第2図(B)は上記の構成に対応した機能ブロック図で
あり、(26)は中央処理装置(22)側の機能系を示
し、(31)は専用演算装置(24)側の機能系を示す
FIG. 2(B) is a functional block diagram corresponding to the above configuration, where (26) shows the functional system on the central processing unit (22) side, and (31) shows the functional system on the dedicated arithmetic unit (24) side. shows.

中央処理装置系(26)において、(27)は制御プロ
グラム、(28)は中央処理装置(22)上で走る応用
プログラム、(29)は専用演算装置(24)上で走る
応用プログラム、(30)は演算データである。応用プ
ログラム(28)と応用プログラム(29)と演算デー
タ(30)とは1つのプログラム実行モジュールとして
作られている。また専用演算装置系(31)において、
(32)は専用演算装置(24)上で走るプログラム、
(33)は演算データを示す。プログラム(32)とデ
ータ(33)の実体はプログラム(29)とデータ(3
0)と同じである。
In the central processing unit system (26), (27) is a control program, (28) is an application program running on the central processing unit (22), (29) is an application program running on the dedicated arithmetic unit (24), and (30) is an application program running on the dedicated arithmetic unit (24). ) is calculation data. The application program (28), the application program (29), and the calculation data (30) are created as one program execution module. In addition, in the dedicated arithmetic unit system (31),
(32) is a program running on the dedicated arithmetic unit (24),
(33) indicates calculation data. The entities of program (32) and data (33) are program (29) and data (3).
0).

これらプログラムとデータとはただ1組のみ主記憶装置
(21)上に存在する。
Only one set of these programs and data exists on the main storage device (21).

次に動作について説明する。いまプログラム(28)が
中央処理装置(22)上で走り始め、演算データ(30
)を準備した時点で、専用演算装置(24)の実行開始
命令を発行する。すると、中央処理装置(22)内のア
ドレス変換機構(23)の内容が専用演算装置(24)
側のアドレス変換機構(25)ヘコビーされ、かつプ筒
グラム(29)すなわちプログラム(32)を実行開始
せよという指令が専用演算装置(24)に伝えられる。
Next, the operation will be explained. Now the program (28) starts running on the central processing unit (22), and the calculation data (30
), an instruction to start execution of the dedicated arithmetic unit (24) is issued. Then, the contents of the address conversion mechanism (23) in the central processing unit (22) are converted to the dedicated arithmetic unit (24).
The address conversion mechanism (25) on the side is activated, and a command to start executing the program (29), that is, the program (32) is transmitted to the dedicated arithmetic unit (24).

一方、中央処理装置(22)の制御プログラム(27)
にもプログラム(29)すなわち(32)の開゛始が通
知される。制御プログラム(27)は、前記プログラム
実行モジュール(28) (29) (30)を待ち(
つま・シ専用演算装置(24)の処理待ち)状態にし、
他のプログラム実行モジュールを中央処理装e(22)
上で開始する。この際、アドレス変換機構(23)の内
容は新しいプログラム用に書換えられる。
On the other hand, the control program (27) of the central processing unit (22)
The start of program (29), ie, program (32), is also notified. The control program (27) waits for the program execution modules (28) (29) (30) (
Waiting for processing by the processing unit (24) for Tsuma-shi,
Central processing unit e (22)
Start above. At this time, the contents of the address translation mechanism (23) are rewritten for the new program.

専用演算装置(24)においては、コピーされたアドレ
ス変換機構(25)の内容によシブログラム(32)の
実行とデータ(33)のアクセスが可能である。やがて
専用演算装fi(24)の演算が完了し、その結果がデ
ータ(33)としてすべて設定されると、中央処理装置
(22)へ割込みが伝わり、プログラム実行モジュール
(2g) (29) (ao)の処理待ち状態は解除さ
れ、引き続きプログラム(28)の処理を再開できるよ
うになる。
In the dedicated arithmetic unit (24), it is possible to execute the siprogram (32) and access the data (33) based on the copied contents of the address translation mechanism (25). Eventually, when the calculations of the dedicated processing unit fi (24) are completed and all the results are set as data (33), an interrupt is transmitted to the central processing unit (22), and the program execution module (2g) (29) (ao ) is released from the processing waiting state, and the processing of program (28) can be resumed.

なお、上記の実施例では専用演算装置(24)側には制
御プログラムを設けなかったが、中央処理装置から専用
演算装置へのアドレス変換機構の内容設定や、プログラ
ム(32)の実行開始動作を専用演算装置側の制御プロ
グラムの助けを借りて行表うように構成しても良い。そ
の場合、両装置間の制御のやり取りのためのハードウェ
アが簡略化される。
In the above embodiment, a control program was not provided on the dedicated arithmetic unit (24) side, but the content setting of the address translation mechanism from the central processing unit to the dedicated arithmetic unit and the execution start operation of the program (32) were provided. It may also be configured to be performed with the help of a control program on the dedicated arithmetic unit side. In that case, the hardware for exchanging control between the two devices is simplified.

また上記実施例の変形例として、専用演算装置(24)
側でのプログラム(32)の開始において、中央処理装
置(22)側でプログラム(28)を待状態とせずに走
らせ続け、該プログラム(28)から専用演算装置(2
4)側の処理完了を待つ要求が発せられたときに、両プ
ログラム(28)と(32)の実行同期をとるように具
現化することも可能である。
In addition, as a modification of the above embodiment, a dedicated arithmetic unit (24)
When starting the program (32) on the central processing unit (22) side, the program (28) continues to run without entering a standby state, and the program (28) continues running the program (28) on the central processing unit (22) side.
It is also possible to synchronize the execution of both programs (28) and (32) when a request to wait for the completion of processing on the 4) side is issued.

また、アドレス変換機構の具現化の方法としては、その
実体となるアドレス変換テーブルは主記憶装置上に配置
することとし、中央処理装置から専用演算装置ヘフビー
する内容は、上記変換テーブルへのポインタ値だけとす
ることも可能である。
In addition, as a method of implementing the address translation mechanism, the address translation table that is the substance of the mechanism is placed on the main memory, and the content transmitted from the central processing unit to the dedicated arithmetic unit is the pointer value to the above translation table. It is also possible to do only one.

〔発明の効果〕〔Effect of the invention〕

以上詳細に説明したように、この発明においては、専用
演算装置も中央処理装置と同様なアドレス変換機構によ
り共通の主記憶装置を参照するようにしたので、入出力
オーバーヘッドをなくすことができる。また、専用演算
装置の処理実行に先だって、アドレス変換機構の内容を
コピーする方式としたので、専用演算装置の実行中に、
それと並行して中央処理装置ではアドレス変換機構の内
容を更新して、別のプログラム実行モジュールを走らせ
ることができる。
As described in detail above, in the present invention, the dedicated arithmetic unit also references the common main storage device using the same address translation mechanism as the central processing unit, so input/output overhead can be eliminated. In addition, since the content of the address translation mechanism is copied prior to execution of processing by the dedicated processing unit, while the dedicated processing unit is running,
In parallel, the central processing unit can update the contents of the address translation mechanism and run another program execution module.

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

第1図(A) (B)は本発明の制御方式を適用した電
子計算機システムのハードウェア構成図とその機能ブロ
ック図、第2図(A) (B)は従来システムのハード
ウェア構成図とその機能ブロック図である0 図において、(21)は主記憶装置、(22)は中央処
理装置、(23)はアドレス変換機構、(24)は専用
演算装置、(25)はアドレス変換機構である。 代理人  弁理士  大 岩 増 雄 (i尊≠蔦2夕) 第1図 (A) (B) 第2図 (A) (B)
Figures 1 (A) and (B) are hardware configuration diagrams and functional block diagrams of a computer system to which the control method of the present invention is applied, and Figures 2 (A) and (B) are hardware configuration diagrams and functional block diagrams of a conventional system. In Figure 0, which is its functional block diagram, (21) is the main memory, (22) is the central processing unit, (23) is the address conversion mechanism, (24) is the dedicated arithmetic unit, and (25) is the address conversion mechanism. be. Agent Patent Attorney Masuo Oiwa (Ison≠Tsuta 2 Yu) Figure 1 (A) (B) Figure 2 (A) (B)

Claims (1)

【特許請求の範囲】[Claims] (1)中央処理装置が主記憶装置をアクセスする際に使
用するアドレス変換機構と同様なアドレス変換機構を専
用演算装置に設け、それを介して上記専用演算、装置が
上記主記憶装置を直接アクセスできるように構成し、上
記専用演算装置が実行すべきプログラムとデータとを上
記中央処理装置が上記主記憶装置に準備した後、その所
在を示す情報を上記中央処理装置の上記アドレス変換機
構から上記専用演算装置の上記アドレス変換機構に転送
するとともに上記専用演算装置に実行開始指令を与え、
これを受けて上記専用演算装置が上記中央処理装置と並
列的に上記主記憶装置をアクセスし、上記データに従つ
て上記プログラムを実行するようにしたことを特徴とす
る専用演算装置の制御方式。
(1) The dedicated arithmetic unit is provided with an address translation mechanism similar to the address translation mechanism used when the central processing unit accesses the main memory, through which the dedicated arithmetic and device can directly access the main memory. After the central processing unit prepares the program and data to be executed by the dedicated arithmetic unit in the main storage device, information indicating the location thereof is transferred from the address conversion mechanism of the central processing unit to the dedicated processing unit. Transferring the address to the address conversion mechanism of the arithmetic unit and giving an execution start command to the dedicated arithmetic unit,
In response to this, the dedicated processing unit accesses the main storage device in parallel with the central processing unit, and executes the program according to the data.
JP59213817A 1984-10-12 1984-10-12 Control system of dedicated arithmetic device Pending JPS6191743A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59213817A JPS6191743A (en) 1984-10-12 1984-10-12 Control system of dedicated arithmetic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59213817A JPS6191743A (en) 1984-10-12 1984-10-12 Control system of dedicated arithmetic device

Publications (1)

Publication Number Publication Date
JPS6191743A true JPS6191743A (en) 1986-05-09

Family

ID=16645518

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59213817A Pending JPS6191743A (en) 1984-10-12 1984-10-12 Control system of dedicated arithmetic device

Country Status (1)

Country Link
JP (1) JPS6191743A (en)

Similar Documents

Publication Publication Date Title
JPS5841538B2 (en) Multiprocessor system instructions
JPH0354375B2 (en)
JPS5925258B2 (en) processor control system
JPS6191743A (en) Control system of dedicated arithmetic device
JPS59220866A (en) Distributed processing system
JPS6336023B2 (en)
JPS6146552A (en) Information processor
JPS61166631A (en) Microprogram control processor
JPS6273335A (en) Stack control system
JPS6165342A (en) Artificial disk device transfer processor
JPH0145657B2 (en)
JPS63298638A (en) Data processor
JPS62210564A (en) Processor
JPS6210758A (en) Processor module
JPS61216069A (en) Channel controlling system
JPS6293742A (en) Inter-processor interface system
JPS5837577B2 (en) common bass
JPS63155254A (en) Information processor
JPS60136853A (en) Data transfer system
JPH01142962A (en) Data transfer control system
JPH03182945A (en) Transfer system for data in main storage
JPS63307566A (en) Channel device
JPS63310053A (en) Channel interface circuit
JPH0133865B2 (en)
JPH01125150A (en) Line communication control system