JPH06161720A - Computer system - Google Patents
Computer systemInfo
- Publication number
- JPH06161720A JPH06161720A JP4314853A JP31485392A JPH06161720A JP H06161720 A JPH06161720 A JP H06161720A JP 4314853 A JP4314853 A JP 4314853A JP 31485392 A JP31485392 A JP 31485392A JP H06161720 A JPH06161720 A JP H06161720A
- Authority
- JP
- Japan
- Prior art keywords
- module
- central processing
- additional
- processing unit
- cpu
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 claims description 8
- 230000015654 memory Effects 0.000 abstract description 21
- 230000006870 function Effects 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 4
- 239000013256 coordination polymer Substances 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Landscapes
- Devices For Executing Special Programs (AREA)
- Stored Programmes (AREA)
- Multi Processors (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は複数の中央処理装置を備
えたコンピュータシステムに係わり、特に主中央処理装
置とこれとは異なる命令体系の付加中央処理装置とを備
えたコンピュータシステムに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system having a plurality of central processing units, and more particularly to a computer system having a main central processing unit and an additional central processing unit having an instruction system different from the main central processing unit.
【0002】[0002]
【従来の技術】主中央処理装置(以下主CPUと称す
る。)と、これとは異なる命令体系の付加CPUとを備
えたコンピュータシステムでは、例えば数値演算を行う
場合にそれに適した付加CPUを使用する等によって情
報の効率的な処理を行うことができる。ところで、この
ようなコンピュータシステムでは、主CPUと付加CP
Uの命令体系が異なっているので、付加CPUを使用し
てプログラムの実行を行う場合、主CPUが直接これを
動作させることができない。2. Description of the Related Art In a computer system having a main central processing unit (hereinafter referred to as "main CPU") and an additional CPU having an instruction system different from that of the main CPU, an additional CPU suitable for numerical operation is used. By doing so, the information can be efficiently processed. By the way, in such a computer system, the main CPU and the additional CP
Since the instruction system of U is different, when the program is executed using the additional CPU, the main CPU cannot directly operate it.
【0003】そこで、従来では付加CPUを使用するた
めに予め付加CPU側で制御プログラムを動作させてお
き、主CPUは用意されたシステムコールを用いてその
制御プログラムにアクセスするようになっていた。ま
た、他の手法では、付加CPUに対する実行プログラム
を主CPU側の主メモリ内に格納しておき、付加CPU
のいずれかを動作させるときにはその実行プログラムを
該当する付加CPUにロードし、このロードされた実行
プログラムと通信を行うことで情報の処理を行うように
なっていた。Therefore, conventionally, in order to use the additional CPU, a control program is operated in advance on the side of the additional CPU, and the main CPU uses the prepared system call to access the control program. In another method, the execution program for the additional CPU is stored in the main memory on the main CPU side, and
When any of the above is operated, the execution program is loaded into the corresponding additional CPU, and the information processing is performed by communicating with the loaded execution program.
【0004】[0004]
【発明が解決しようとする課題】このように従来では付
加CPUを使用する際には、主CPUで実行する実行形
式プログラムにこの付加CPUに関する記述を組み込む
方法が採られていた。したがって、実行形式プログラム
格納する主メモリにその分だけ大きな容量を必要とし
た。また、付加CPUが変更されたような場合には、こ
の実行形式プログラムを他のCPUで構成されているコ
ンピュータシステムに移行させる必要があり、実行形式
プログラムそのものを作成し直すことになり、大変であ
った。As described above, conventionally, when the additional CPU is used, the method of incorporating the description about the additional CPU into the executable program executed by the main CPU has been adopted. Therefore, a large capacity is required for the main memory for storing the executable program. In addition, when the additional CPU is changed, it is necessary to transfer this execution format program to a computer system configured by another CPU, and the execution format program itself is recreated, which is troublesome. there were.
【0005】そこで本発明の目的は、付加CPUが変更
されたような場合にも主CPUの主メモリに格納する内
容を変更する必要のないコンピュータシステムを提供す
ることにある。Therefore, an object of the present invention is to provide a computer system which does not need to change the contents stored in the main memory of the main CPU even when the additional CPU is changed.
【0006】[0006]
【課題を解決するための手段】請求項1記載の発明で
は、主CPUと、この主CPUとは異なる命令体系の1
または複数の付加CPUと、主CPUが付加CPUのそ
れぞれを個別に動作させるのに必要な情報を格納した外
部記憶装置と、主CPUが付加CPUのいずれかを動作
させるとき対応する前記した情報を外部記憶装置から読
み出し該当する付加CPUに送出する情報送出手段とを
コンピュータシステムに具備させる。According to a first aspect of the present invention, there is provided a main CPU and an instruction system different from that of the main CPU.
Alternatively, a plurality of additional CPUs, an external storage device that stores information necessary for the main CPU to individually operate each of the additional CPUs, and the above-described information that corresponds when the main CPU operates one of the additional CPUs The computer system is provided with an information sending means for reading from the external storage device and sending it to the corresponding additional CPU.
【0007】すなわち請求項1記載の発明では、外部記
憶装置にそれぞれの付加CPUを動作させるために必要
なプログラム等の情報を格納しておき、主CPUが付加
CPUのいずれかを動作させるときに、必要とされる情
報をこの外部記憶装置から読み出して該当する付加CP
Uに送出することにして、主CPU側の主メモリ(主C
PUメモリ)の内容を変更することなく付加CPUの変
更を可能にした。That is, in the invention described in claim 1, information such as a program necessary for operating each additional CPU is stored in the external storage device, and when the main CPU operates any one of the additional CPUs. , Read the required information from this external storage device and add the corresponding additional CP
The main memory on the main CPU side (main C
The additional CPU can be changed without changing the contents of the PU memory).
【0008】請求項2記載の発明では、主CPUと、こ
れとは異なる命令体系を有する1または複数の付加CP
Uと、手続きモジュールの原始プログラムファイルと手
続きを実行させる付加CPUとを示したモジュール定義
ファイルを格納するモジュール定義ファイル格納手段
と、モジュール定義ファイルを参照して機能モジュール
のインタフェースを定義したモジュールインタフェース
ファイルおよびモジュール定義ファイルで示した付加C
PUで実行することのできる機能モジュールを生成する
モジュール生成手段と、モジュールインタフェースファ
イルおよび原始プログラムファイルを翻訳して得られた
実行形式プログラムが機能モジュールを使用する際に呼
び出され、機能モジュールをモジュール定義ファイルで
示した付加CPUで実行させるモジュール制御手段とを
コンピュータシステムに具備させる。According to the second aspect of the invention, the main CPU and one or a plurality of additional CPs having an instruction system different from the main CPU
U, a module definition file storing means for storing a module definition file indicating a source program file of the procedure module and an additional CPU for executing the procedure, and a module interface file defining an interface of the functional module by referring to the module definition file. And additional C shown in the module definition file
Module generation means for generating a functional module that can be executed by the PU, and an executable program obtained by translating the module interface file and the source program file are called when the functional module is used, and the functional module is defined as a module. The computer system is provided with the module control means to be executed by the additional CPU indicated by the file.
【0009】すなわち請求項2記載の発明では、実行形
式プログラムを構成の異なる他の付加CPU用に移行さ
せる場合に、主メモリ以外の記憶媒体に格納したモジュ
ール定義ファイルの修正によって機能モジュールの再生
成を行い、実行形式プログラムそのものの修正を不要と
している。That is, according to the second aspect of the invention, when the execution format program is transferred to another additional CPU having a different configuration, the functional module is regenerated by modifying the module definition file stored in a storage medium other than the main memory. Therefore, it is not necessary to modify the executable program itself.
【0010】請求項3記載の発明では、請求項1記載の
発明における外部記憶装置は情報の書き換えが自在な記
憶媒体であることを明確にした。すなわち、付加CPU
の変更があったときには外部記憶装置の内容を変更する
ことで、主CPUがその付加CPUに対応することがで
きる。According to the third aspect of the invention, it is clarified that the external storage device in the first aspect of the invention is a storage medium in which information can be rewritten. That is, additional CPU
By changing the contents of the external storage device, the main CPU can correspond to the additional CPU.
【0011】[0011]
【実施例】以下実施例につき本発明を詳細に説明する。EXAMPLES The present invention will be described in detail below with reference to examples.
【0012】図1は本発明の一実施例におけるプログラ
ム実行方法を使用するコンピュータシステムの構成を表
わしたものである。このコンピュータシステムは、主C
PU11と、この主CPU11とは異なる命令体系の第
1および第2の付加CPU121 、122 を備えてい
る。主CPU11には主CPUメモリ13が設けられ、
第1および第2の付加CPU121 、122 にはそれぞ
れローカルメモリとして第1および第2の付加CPUメ
モリ141 、142 が設けられている。FIG. 1 shows the configuration of a computer system using a program executing method according to an embodiment of the present invention. This computer system is mainly C
It has a PU 11 and first and second additional CPUs 12 1 and 12 2 having an instruction system different from that of the main CPU 11. The main CPU 11 is provided with a main CPU memory 13,
The first and second additional CPUs 12 1 and 12 2 are respectively provided with first and second additional CPU memories 14 1 and 14 2 as local memories.
【0013】主CPU11と主CPUメモリ13および
第1、第2の付加CPU121 、122 を接続するバス
15には第1〜第5の外部記録装置161 〜165 が接
続されている。このうち第1の外部記録装置161 には
モジュール定義ファイルが、第2の外部記録装置162
にはモジュールインタフェースファイルが、また第3の
外部記録装置163 には機能モジュールがそれぞれ格納
されている。第4の外部記録装置164 には原始プログ
ラムが、また第5の外部記録装置165 には実行形式プ
ログラムが格納されている。First to fifth external recording devices 16 1 to 16 5 are connected to a bus 15 which connects the main CPU 11, the main CPU memory 13, and the first and second additional CPUs 12 1 and 12 2 . Of these, the module definition file is stored in the first external recording device 16 1 and the second external recording device 16 2
Module interface files, and the third external recording device 16 3 stores functional modules. A source program is stored in the fourth external recording device 16 4 , and an executable program is stored in the fifth external recording device 16 5 .
【0014】図2は、以上説明した構成のコンピュータ
システムにおけるモジュール生成手段とその周辺を表わ
したものである。図1にも示した第1の外部記録装置1
61には、第1の付加CPU121 (図1)で実行可能
な機能モジュール211 の原始プログラムとその対象C
PUとを示すモジュール定義ファイル22が格納されて
いる。モジュール生成手段23は、モジュール定義ファ
イル22を参照して、機能モジュール211 を実行させ
る第1の付加CPU121 を対象にしたオブジェクトを
生成する翻訳手段241 を起動する。そして、機能モジ
ュール211 を第3の外部記録装置163 に生成すると
共に、機能モジュール211 に対する呼び出しインタフ
ェースに関する定義を示すモジュールインタフェースフ
ァイル25を第2の外部記録装置162 に生成する。FIG. 2 shows the module generating means and its peripherals in the computer system having the above-described configuration. The first external recording device 1 also shown in FIG.
6 1 is a source program of the functional module 21 1 executable by the first additional CPU 12 1 (FIG. 1) and its target C
A module definition file 22 indicating PU is stored. The module generation means 23 refers to the module definition file 22 and activates the translation means 24 1 for generating an object for the first additional CPU 12 1 that executes the functional module 21 1 . Then, the functional module 21 1 is generated in the third external recording device 16 3 , and the module interface file 25 indicating the definition regarding the calling interface for the functional module 21 1 is generated in the second external recording device 16 2 .
【0015】以上、第1の付加CPU121 について説
明したが、第2の付加CPU122で所定の処理を実行
する場合には、翻訳手段242 の起動が行われる。そし
て、機能モジュール212 を第3の外部記録装置163
に生成すると共に、機能モジュール212 に対する呼び
出しインタフェースに関する定義を示すモジュールイン
タフェースファイル25を第2の外部記録装置162 に
生成することになる。Although the first additional CPU 12 1 has been described above, when the second additional CPU 12 2 executes a predetermined process, the translation means 24 2 is activated. The functional module 21 2 is connected to the third external recording device 16 3
In addition to the above, the module interface file 25 indicating the definition regarding the call interface to the functional module 21 2 is generated in the second external recording device 16 2 .
【0016】図3は、図2で示されている機能モジュー
ルを呼び出すための実行形式プログラムを生成する部分
を表わしたものである。主CPU11を対象とした翻訳
手段24は、第2の外部記憶装置162 に格納されてい
るモジュールインタフェースファイル25と、第4の外
部記憶装置164 に格納されている原始プログラム31
とを参照して、第5の外部記憶装置165 に実行形式プ
ログラムを生成する。FIG. 3 shows a portion for generating an executable program for calling the functional module shown in FIG. The translation means 24 for the main CPU 11 includes a module interface file 25 stored in the second external storage device 16 2 and a source program 31 stored in the fourth external storage device 16 4.
And an executable program is generated in the fifth external storage device 16 5 .
【0017】図4は、実行形式プログラムをこのコンピ
ュータシステムで実行する様子を表わしたものである。
この図で第1の付加CPUメモリ141 は第1の付加C
PU121 に、また第2の付加CPUメモリ142 は第
2の付加CPU122 にそれぞれ対応して配置されてい
る。実行形式プログラム32が起動され、機能モジュー
ル21に対する呼び出しが発生すると、モジュール制御
手段34が起動される。モジュール制御手段34は機能
モジュール21を参照して、対象となる付加CPUを識
別する。これが第1の付加CPU121 であるとする。
この場合には、対応する付加CPUメモリ141 に機能
モジュールをロードし、第1の付加CPU121 が機能
モジュール12を実行する。この実行結果は、実行形式
プログラム32へ返される。FIG. 4 shows how the execution format program is executed by this computer system.
In this figure, the first additional CPU memory 14 1 is the first additional C
The PU 12 1 and the second additional CPU memory 14 2 are arranged corresponding to the second additional CPU 12 2 , respectively. When the executable program 32 is activated and a call is made to the functional module 21, the module control means 34 is activated. The module control means 34 refers to the functional module 21 to identify the target additional CPU. It is assumed that this is the first additional CPU 12 1 .
In this case, the functional module is loaded into the corresponding additional CPU memory 14 1 , and the first additional CPU 12 1 executes the functional module 12. The execution result is returned to the executable program 32.
【0018】機能モジュール21を付加CPU122 に
実行させる場合も同様である。すなわち、図1あるいは
図2に示したモジュール定義ファイル22での対象とな
る付加CPU12の指定を変更することによって可能と
なる。The same applies when the function module 21 is executed by the additional CPU 12 2 . That is, it is possible by changing the designation of the target additional CPU 12 in the module definition file 22 shown in FIG. 1 or 2.
【0019】以上説明した実施例では主CPUに対して
2つの付加CPUを配置したコンピュータシステムにつ
いて説明したが、付加CPUの数はこれに限るものでな
いことはもちろんである。In the embodiment described above, the computer system in which two additional CPUs are arranged with respect to the main CPU has been described, but it goes without saying that the number of additional CPUs is not limited to this.
【0020】[0020]
【発明の効果】このように本発明によれば、主中央処理
装置に用意されている主メモリ(主CPUメモリ)にそ
れぞれの付加中央処理装置の制御プログラムをアクセス
するための詳細な情報や付加中央処理装置の動作に必要
なプログラムを格納する必要がない。したがって、付加
中央処理装置の変更があったとき実行形式プログラムの
修正のために主メモリの内容を変更する必要がなく、新
たなシステムへの移行が簡単になるばかりでなく、主メ
モリの容量を不必要に大型化する必要がないという効果
がある。As described above, according to the present invention, detailed information for accessing the control programs of the respective additional central processing units and the additional information are added to the main memory (main CPU memory) prepared in the main central processing unit. It is not necessary to store the program necessary for the operation of the central processing unit. Therefore, when there is a change in the additional central processing unit, it is not necessary to change the contents of the main memory to modify the executable program, which not only simplifies the transition to a new system, but also reduces the main memory capacity. The effect is that there is no need to unnecessarily increase the size.
【図1】本発明の一実施例におけるコンピュータシステ
ムの構成を表わしたブロック図である。FIG. 1 is a block diagram showing the configuration of a computer system according to an embodiment of the present invention.
【図2】本実施例でモジュール生成手段とその周辺部分
を表わしたブロック図である。FIG. 2 is a block diagram showing a module generation unit and its peripheral portion in the present embodiment.
【図3】機能モジュールを呼び出すための実行形式プロ
グラムを生成する部分を表わした説明図である。FIG. 3 is an explanatory diagram showing a portion for generating an executable program for calling a functional module.
【図4】実行形式プログラムをこのコンピュータシステ
ムで実行する様子を表わした説明図である。FIG. 4 is an explanatory diagram showing how an executable program is executed by this computer system.
11 主CPU 121 第1の付加CPU 122 第2の付加CPU 13 主CPUメモリ 141 第1の付加CPUメモリ 142 第2の付加CPUメモリ 161 〜165 第1〜第5の外部記憶装置 21 機能モジュール 22 モジュール定義ファイル 23 モジュール生成手段 24 翻訳手段 25 モジュールインタフェースファイル 32 実行形式プログラム 34 モジュール制御手段11 main CPU 12 1 first additional CPU 12 2 second additional CPU 13 main CPU memory 14 1 first additional CPU memory 14 2 second additional CPU memory 16 1 to 16 5 first to fifth external storage Device 21 Functional module 22 Module definition file 23 Module generation means 24 Translation means 25 Module interface file 32 Executable program 34 Module control means
Claims (3)
の付加中央処理装置と、 前記主中央処理装置が前記付加中央処理装置のそれぞれ
を個別に動作させるのに必要な情報を格納した外部記憶
装置と、 前記主中央処理装置が前記付加中央処理装置のいずれか
を動作させるとき対応する前記情報を前記外部記憶装置
から読み出し該当する付加中央処理装置に送出する情報
送出手段とを具備することを特徴とするコンピュータシ
ステム。1. A main central processing unit, one or a plurality of additional central processing units having an instruction system different from that of the main central processing unit, and the main central processing unit individually operating each of the additional central processing units. An external storage device that stores information necessary for the operation, and when the main central processing unit operates one of the additional central processing units, the corresponding information is read from the external storage unit and sent to the corresponding additional central processing unit. A computer system comprising:
央処理装置と、 手続きモジュールの原始プログラムファイルと手続きを
実行させる付加中央処理装置とを示したモジュール定義
ファイルを格納するモジュール定義ファイル格納手段
と、 前記モジュール定義ファイルを参照して機能モジュール
のインタフェースを定義したモジュールインタフェース
ファイルおよび前記モジュール定義ファイルで示した付
加中央処理装置で実行することのできる機能モジュール
を生成するモジュール生成手段と、 前記モジュールインタフェースファイルおよび原始プロ
グラムファイルを翻訳して得られた実行形式プログラム
が機能モジュールを使用する際に呼び出され、前記機能
モジュールを前記モジュール定義ファイルで示した付加
中央処理装置で実行させるモジュール制御手段とを具備
することを特徴とするコンピュータシステム。2. A module definition showing a main central processing unit, one or a plurality of additional central processing units having different instruction systems, a source program file of a procedure module and an additional central processing unit for executing a procedure. A module definition file storing means for storing a file, a module interface file in which an interface of a functional module is defined by referring to the module definition file, and a functional module which can be executed by the additional central processing unit shown in the module definition file. Module generating means for generating, and an executable program obtained by translating the module interface file and the source program file are called when a functional module is used, and the functional module is defined by the module definition file. Computer system characterized by comprising a module control means for executing an additional central processing unit shown in Le.
在な記憶媒体であることを特徴とする請求項1記載のコ
ンピュータシステム。3. The computer system according to claim 1, wherein the external storage device is a storage medium in which information can be rewritten.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP04314853A JP3087477B2 (en) | 1992-11-25 | 1992-11-25 | Computer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP04314853A JP3087477B2 (en) | 1992-11-25 | 1992-11-25 | Computer system |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH06161720A true JPH06161720A (en) | 1994-06-10 |
JP3087477B2 JP3087477B2 (en) | 2000-09-11 |
Family
ID=18058405
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP04314853A Expired - Fee Related JP3087477B2 (en) | 1992-11-25 | 1992-11-25 | Computer system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3087477B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109500702A (en) * | 2019-01-10 | 2019-03-22 | 大连理工大学 | A kind of plastic polishing method of integral wheel |
-
1992
- 1992-11-25 JP JP04314853A patent/JP3087477B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109500702A (en) * | 2019-01-10 | 2019-03-22 | 大连理工大学 | A kind of plastic polishing method of integral wheel |
Also Published As
Publication number | Publication date |
---|---|
JP3087477B2 (en) | 2000-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4812981A (en) | Memory management system improving the efficiency of fork operations | |
JPS62192867A (en) | Work station handling image data | |
JP2004054916A (en) | Method of executing hardware support communication between processors | |
JP3525070B2 (en) | Access control device and access method | |
CN116541336B (en) | Software running method of multi-core chip and coprocessor | |
JPH06161719A (en) | Program executing device | |
JPH06161720A (en) | Computer system | |
CN116974979A (en) | Method, system and circuit for deploying file system on embedded memory | |
CN116126703A (en) | Debugging method, debugging device and readable storage device | |
JPH0554009A (en) | Program load system | |
JPS62168497A (en) | Data base processing system for exchange-processing program | |
JPH0481934A (en) | Information processor | |
JPS5941214B2 (en) | Condition monitoring method | |
JP2507791B2 (en) | Data processing device | |
JP2994917B2 (en) | Storage system | |
JP2845746B2 (en) | Micro program controller | |
JPS6218074B2 (en) | ||
JPH113231A (en) | Software processing method | |
JPS6314242A (en) | Memory expansion method | |
JPH02299024A (en) | Microprogram controller | |
JPH07175661A (en) | User program load system | |
JPH0470929A (en) | Program file reading system | |
JPH01175053A (en) | Segmentation system data processor | |
JP2000330949A (en) | Method and device for paging control over virtual storage system | |
JPS63298463A (en) | System bus system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |