[go: up one dir, main page]

JPH0156418B2 - - Google Patents

Info

Publication number
JPH0156418B2
JPH0156418B2 JP60258224A JP25822485A JPH0156418B2 JP H0156418 B2 JPH0156418 B2 JP H0156418B2 JP 60258224 A JP60258224 A JP 60258224A JP 25822485 A JP25822485 A JP 25822485A JP H0156418 B2 JPH0156418 B2 JP H0156418B2
Authority
JP
Japan
Prior art keywords
task
control block
spu
main
mpu
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.)
Expired
Application number
JP60258224A
Other languages
Japanese (ja)
Other versions
JPS62117056A (en
Inventor
Takenosuke Harada
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP60258224A priority Critical patent/JPS62117056A/en
Publication of JPS62117056A publication Critical patent/JPS62117056A/en
Publication of JPH0156418B2 publication Critical patent/JPH0156418B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Description

【発明の詳細な説明】 〔概要〕 1つのメインプロセツサ(MPU)と主記憶装
置(MS)をメインバスに接続し、該メインバス
とは独立に設けられている拡張バスに複数個のサ
ブプロセツサ(SPU)を接続することによつて、
システムの増設を行い、マルチタスクを実行する
計算機システムにおいて、上記メインバスと拡張
バスとの間に、コミユニケーシヨンレジスタ
(CR)と、アドレス変換レジスタ(ACR)とを
設け、メインプロセツサ(MPU)がサブプロセ
ツサ(SPU)に割り込むことによつてタスクの
依頼を行う際、依頼先を同定するタスクビツト
と、主記憶装置(MS)上で選択したコントロー
ルブロツク(CB)情報とを上記アドレス変換レ
ジスタ(ACR)に記憶しておく手段を設けるこ
とにより、上記サブプロセツサ(SPU)が、該
タスクを実行するとき、該サブプロセツサ
(SPU)が認識しているコントロールブロツク
(CB)をアクセスするだけで、上記アドレス変換
レジスタに記憶されているタスクビツトとコント
ロールブロツク(CB)情報とによつて、上記メ
インプロセツサ(MPU)が選択したコントロー
ルブロツク(CB)をアクセスできるようにした
ものである。
[Detailed Description of the Invention] [Summary] A main processor (MPU) and a main memory (MS) are connected to a main bus, and a plurality of sub-processors are connected to an expansion bus that is provided independently of the main bus. By connecting (SPU),
In a computer system that performs multitasking by expanding the system, a communication register (CR) and an address translation register (ACR) are provided between the main bus and the expansion bus, and the main processor (MPU) ) requests a task by interrupting the subprocessor (SPU), it transfers the task bit that identifies the request destination and the control block (CB) information selected on the main memory (MS) to the address translation register ( By providing a means for storing information in the ACR), when the sub-processor (SPU) executes the task, it simply accesses the control block (CB) recognized by the sub-processor (SPU), and the above address is stored. The control block (CB) selected by the main processor (MPU) can be accessed by the task bit and control block (CB) information stored in the conversion register.

〔産業上の利用分野〕[Industrial application field]

本発明は、1つのメインプロセツサ(MPU)
と主記憶装置(MS)をメインバスに接続し、該
メインバスとは独立に設けられている拡張バスに
複数個のサブプロセツサ(SPU)を接続するこ
とによつて、システムの増設を行う計算機システ
ムにおけるマルチタスク処理方式に関する。
The present invention uses one main processor (MPU)
A computer system in which the system can be expanded by connecting a main memory (MS) to a main bus and multiple subprocessors (SPU) to an expansion bus that is provided independently of the main bus. This paper relates to a multi-task processing method.

最近の計算機技術の進歩に伴つて、該計算機シ
ステムで処理されるデータの増大化と多様化が進
み、それに対応した機能の追加が必要になつてき
ている 一方、最近の高集積化技術の著しい進歩に伴つ
て、大きな機能ブロツク(例えば、プロセツサ)
単位で、計算機システムの機能を追加することが
多くなつてきており、従来方式においては、該機
能追加の度に、既存のオペレイテイングシステム
(OS)等に対する影響があり、対応が困難になつ
てきた。
With recent advances in computer technology, the amount of data processed by computer systems has increased and become more diverse, and it has become necessary to add corresponding functions. With advancement, large functional blocks (e.g. processors)
It is becoming more common for computer system functions to be added on a per-unit basis, and with conventional methods, each addition of a function has an impact on the existing operating system (OS), making it difficult to handle. It's here.

こうした事情から、既存システムに何らの手を
加えることなく、プロセツサ単位のオプシヨンの
追加を行い、マルチタスクの実行を簡単に可能と
する方式が要求されるようになつてきた。
Under these circumstances, there has been a demand for a method that allows the addition of processor-based options and easily enables multitasking without making any changes to the existing system.

〔従来の技術と発明が解決しようとする問題点〕[Problems to be solved by conventional technology and invention]

第4図は従来のタスク実行方式を説明する図で
ある。
FIG. 4 is a diagram illustrating a conventional task execution method.

即ち、従来方式においては、メインバス上のホ
ストプロセツサ{メインプロセツサ(MPU)}1
が、コミユニケーシヨンレジスタ(CR)を介し
て、拡張バス上のサブプロセツサ(SPU)2に
対しタスクを指令する場合、両プロセツサからア
クセス可能な、例えば、メインバス上の主記憶装
置(MS)3にコントロールブロツク(CB)3
1を設け、コマンドの指令、及び該タスクの処理
結果の受け取りを行つていた。
That is, in the conventional system, the host processor {main processor (MPU)}1 on the main bus
When a processor instructs a task to a subprocessor (SPU) 2 on an expansion bus via a communication register (CR), for example, a main memory (MS) 3 on the main bus that can be accessed by both processors is control block (CB) 3
1 was established to issue commands and receive processing results of the task.

更に、具体的に述べれば、両プロセツサが、主
記憶装置(MS)3上の上記コントロールブロツ
ク(CB)31を使用中は、該領域に対するコン
フリクシヨンの面から、他のサブプロセツサ
(SPU)2に対して、タスクを多重に依頼するこ
とができない問題があつた。
Furthermore, to be more specific, while both processors are using the control block (CB) 31 on the main memory (MS) 3, the control block (CB) 31 on the main memory (MS) 3 is being However, there was a problem where it was not possible to request multiple tasks.

従つて、タスクを多重化する場合、ホスト側1
でのオペレイテイングシステム(OS)の変更ば
かりでなく、サブプロセツサ(SPU)2側のオ
ペレイテイングシステム(OS)にも大幅な変更
を伴うと云う問題があつた。
Therefore, when multiplexing tasks, host side 1
The problem was that not only the operating system (OS) on the subprocessor (SPU) 2 side had to be changed significantly, but also the operating system (OS) on the subprocessor (SPU) 2 side.

又、メインプロセツサ(MPU)1が別々のタ
スクを出力するタイミングと、サブプロセツサ
(SPU)2がステータスを返送してくるタイミン
グとの間に、衝突を防止する制御が必要であつ
た。
Further, control was required to prevent collision between the timing at which the main processor (MPU) 1 outputs separate tasks and the timing at which the sub-processor (SPU) 2 returns the status.

本発明は上記従来の欠点に鑑み、サブプロセツ
サ(SPU)より、メインプロセツサ(MPU)が
接続されているメインバス上の主記憶装置
(MS)をアクセスする場合、該メインプロセツ
サ(MPU)からの情報に基づいて、該サブプロ
セツサ(SPU)からのアドレスの変換を行うこ
とにより、メイン/サブ両プロセツサからのタス
クを多重化することを容易にする方法を提供する
ことを目的とするものである。
In view of the above-mentioned conventional drawbacks, the present invention provides that when a sub-processor (SPU) accesses a main memory (MS) on a main bus to which a main processor (MPU) is connected, the main processor (MPU) The purpose of this invention is to provide a method that facilitates multiplexing of tasks from both the main and sub processors by converting addresses from the sub processor (SPU) based on the information of the sub processor (SPU). .

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

第1図は本発明の概念を説明する図であり、第
2図は本発明の一実施例をブロツク図で示した図
である。
FIG. 1 is a diagram for explaining the concept of the present invention, and FIG. 2 is a block diagram showing an embodiment of the present invention.

本発明においては、第1図に示した如く、メイ
ンプロセツサ(MPU)が、主記憶装置(MS)
3上に設けられている複数個のコントロールブロ
ツク(CB0〜n)の空きブロツクを捕捉して、サ
ブプロセツサ(SPU)にタスクを依頼した場合、
該タスク依頼を受けたサブプロセツサ(SPU)
は見掛け上、図示の如き特定の固定のアドレスの
コントロールブロツク(CB)31′をアクセスす
ることにより、上記メインプロセツサ(MPU)
が選択したコントロールブロツク(CB0〜n)3
1をアクセスできるように、アドレス変換レジス
タ4を設けるように構成する。
In the present invention, as shown in Figure 1, the main processor (MPU) is connected to the main memory (MS).
When the empty blocks of multiple control blocks (CB0 to CBn) provided on 3 are captured and a task is requested to the subprocessor (SPU),
Subprocessor (SPU) that received the task request
Apparently, the main processor (MPU) is accessed by accessing the control block (CB) 31' at a specific fixed address as shown in the figure.
Control block (CB0~n) 3 selected by
The configuration is such that an address translation register 4 is provided so that 1 can be accessed.

具体的には、第2図の実施例で示した如く、1
つのメインプロセツサ(MPU)1と主記憶装置
(MS)3をメインバスに接続し、該メインバス
とは独立に設けらている拡張バスに複数個のサブ
プロセツサ(SPU1〜n)2を接続することによ
つて、システムの増設を行う計算機システムにお
いて、上記メインバスと拡張バスとの間に、コミ
ユニケーシヨンレジスタ(CR)5と、アドレス
変換レジスタ(ACR)4とを設け、上記メイン
プロセツサ(MPU)1からサブプロセツサ
(SPU1〜n)2に対して、タスクを指令する場
合、上記メインプロセツサ(MPU)1が主記憶
装置(MS)3上のコントロールブロツク(CB)
31の空き領域に制御情報をセツトすると共に、
上記コミユニケーシヨンレジスタ(CR)5にサ
ブプロセツサ(SPU1〜n)2に対する割り込み
要求ビツトと、タスクビツトを設定した後、上記
アドレス変換レジスタ(ACR)4に、当該コン
トロールブロツク(CB)31情報と、タスクビ
ツト情報を記憶しておき、上記サブプロセツサ
(SPU1〜n)2が、自己に対する割り込み要求
であることを、上記タスクビツトを取り込むこと
によつて認識し、該割り込みビツトをエコーリセ
ツトして、上記メインプロセツサ(MPU)1か
ら指示されたタスクを実行する為に、上記コント
ロールブロツク(CB)31をアクセスする際、
当該サブプロセツサ(SPU1〜n)2が認識して
いるコントロールブロツク(CB)31′のアドレ
スをアクセスするだけで、該アドレスが上記アド
レス変換レジスタ(ACR)4に記憶されている
タスクビツト情報と、コントロールブロツク
(CB)31情報とによつてアドレス変換され、上
記メインバスの主記憶装置(MS)3上のコント
ロールブロツク(CB)31をアクセスできるよ
うに構成する。
Specifically, as shown in the example of FIG.
A main processor (MPU) 1 and a main memory device (MS) 3 are connected to a main bus, and a plurality of subprocessors (SPU1 to SPU n) 2 are connected to an expansion bus that is provided independently of the main bus. In particular, in a computer system where the system is expanded, a communication register (CR) 5 and an address translation register (ACR) 4 are provided between the main bus and the expansion bus, and the main processor When the (MPU) 1 instructs a task to the sub-processors (SPU1 to n) 2, the main processor (MPU) 1 executes a control block (CB) on the main memory (MS) 3.
In addition to setting the control information in the free area of 31,
After setting the interrupt request bit and task bit for the sub-processors (SPU1 to SPU n) 2 in the communication register (CR) 5, the control block (CB) 31 information and the task bit are set in the address translation register (ACR) 4. The information is stored, and the sub-processors (SPU1 to SPU n) 2 recognize that the interrupt request is for itself by taking in the task bit, echo-reset the interrupt bit, and send the request to the main processor. When accessing the control block (CB) 31 to execute a task instructed by the (MPU) 1,
By simply accessing the address of the control block (CB) 31' recognized by the sub-processor (SPU1-n) 2, the address can be converted to the task bit information stored in the address conversion register (ACR) 4 and the control block. (CB) 31 information, so that the control block (CB) 31 on the main memory (MS) 3 of the main bus can be accessed.

〔作用〕[Effect]

即ち、本発明によれば、1つのメインプロセツ
サ(MPU)と主記憶装置(MS)をメインバス
に接続し、該メインバスとは独立に設けられてい
る拡張バスに複数個のサブプロセツサ(SPU)
を接続することによつて、システムの増設を行い
マルチタスクを実行する計算機システムにおい
て、上記メインバスと拡張バスとの間に、コミユ
ニケーシヨンレジスタ(CR)と、アドレス変換
レジスタ(ACR)とを設け、メインプロセツサ
(MPU)がサブプロセツサ(SPU)に割り込む
ことによつてタスクの依頼を行う際、依頼先を同
定するタスクビツトと、主記憶装置(MS)上で
選択したコントロールブロツク(CB)情報とを、
上記アドレス変換レジスタ(ACR)に記憶して
おく手段を設けることにより、上記サブプロセツ
サ(SPU)が、該タスクを実行するとき、該サ
ブプロセツサ(SPU)が認識しているコントロ
ールブロツク(CB)をアクセスするだけで、上
記アドレス変換レジスタ(ACR)に記憶されて
いるタスクビツト情報と、コントロールブロツク
(CB)情報とによつて、上記メインプロセツサ
(MPU)が選択したコントロールブロツク(CB)
をアクセスできるようにしたものであるので、メ
インプロセツサ(MPU)、及びサブプロセツサ
(SPU)側のソフトウエアの変更を行うことなく
システムアツプを行い、マルチタスクの実行が容
易にできる効果がある。
That is, according to the present invention, one main processor (MPU) and main memory (MS) are connected to a main bus, and a plurality of sub-processors (SPUs) are connected to an expansion bus that is provided independently of the main bus. )
In a computer system that expands the system and executes multitasking by connecting a communication register (CR) and an address translation register (ACR) between the main bus and the expansion bus. When the main processor (MPU) requests a task by interrupting the sub-processor (SPU), the task bit that identifies the request destination and the control block (CB) information selected on the main memory (MS) are and,
By providing a means for storing information in the address translation register (ACR), the sub-processor (SPU) accesses the control block (CB) recognized by the sub-processor (SPU) when executing the task. The control block (CB) selected by the main processor (MPU) is determined based on the task bit information and control block (CB) information stored in the address translation register (ACR).
The system can be accessed without changing the software on the main processor (MPU) and sub-processor (SPU) sides, making it possible to easily perform multitasking.

〔実施例〕〔Example〕

以下本発明の実施例を図面によつて詳述する。
前述の第2図が本発明の一実施例をブロツク図で
示した図であり、第3図はコミユニケーシヨンレ
ジスタ(CR)の詳細を示した図であり、第2図
におけるアドレス変換レジスタ(ACR)4、及
びコミユニケーシヨンレジスタ(CR)5が本発
明を実施するのに必要な機能ブロツクである。
尚、全図を通して同じ符号は同じ対象物を示して
いる。
Embodiments of the present invention will be described in detail below with reference to the drawings.
The above-mentioned FIG. 2 is a block diagram showing one embodiment of the present invention, and FIG. 3 is a diagram showing details of the communication register (CR), and the address translation register (CR) in FIG. ACR) 4 and communication register (CR) 5 are the functional blocks necessary to implement the present invention.
Note that the same reference numerals indicate the same objects throughout the figures.

先ず、メインプロセツサ(以下、MPUと云
う)1がサブプロセツサ(以下、SPUと云う)
2にタスクを依頼する場合、コミユニケーシヨ
ンレジスタ(CR)5に対して、該タスクを依
頼するサブプロセツサ(SPU1〜n)2に対応
したタスクビツト51をセツトする。{第3図
aにおいて、斜線で示す} MPU1は引き続き、主記憶装置(MS)3
上のコントロールブロツク(CB)31の使用
可能なブロツク(1〜n)(第1図参照)を選
択し、制御情報をセツトする。
First, the main processor (hereinafter referred to as MPU) 1 is the sub-processor (hereinafter referred to as SPU).
When requesting a task to a subprocessor (SPU1 to SPUn) 2, a task bit 51 corresponding to the subprocessor (SPU1 to SPUn) 2 to which the task is requested is set in the communication register (CR) 5. {Indicated by diagonal lines in FIG. 3a} The MPU 1 continues to use the main memory (MS) 3
Select the available blocks (1 to n) of the upper control block (CB) 31 (see FIG. 1) and set the control information.

このとき、アドレス変換レジスタ(ACR)
4に、どのコントロールブロツク(CB0〜n)
を使用し、どのタスクビツトに対応しているか
を記憶しておく。
At this time, the address translation register (ACR)
4.Which control block (CB0~n)
and remember which task bit it corresponds to.

次に、MPU1はコミユニケーシヨンレジス
タ(CR)5に割り込み要求ビツト{第3図a
において、MSBビツトで示す}をセツトし、
SPU(1〜n)2の何れかに割り込みをかけ
る。(第3図参照) 該割り込みを受けたSPU(k)2は自己に対す
るタスク依頼であるかどうかを、上記タスクビ
ツト位置51によつてチエツクし、若し違つて
いると、当該割り込み要求をSPU(k+1)2
にデイジーチエインで通知する。
Next, MPU 1 sets the interrupt request bit to communication register (CR) 5 {Figure 3a
}, indicated by the MSB bit,
Interrupt any one of SPU(1 to n)2. (See Figure 3.) SPU(k)2, which received the interrupt, checks whether the task request is for itself by checking the task bit position 51, and if it is different, sends the interrupt request to SPU(k)2. k+1)2
be notified via Daisy Chain.

該当SPU(j)2は、自己に対する割り込みで
あることを、上記タスクビツト位置51から認
識すると、上記コミユニケーシヨンレジスタ
(CR)5上の割り込みビツト(第3図参照)を
エコーリセツトする。
When the corresponding SPU(j) 2 recognizes from the task bit position 51 that the interrupt is for itself, it echo-resets the interrupt bit on the communication register (CR) 5 (see FIG. 3).

該SPU(j)2は、上記コミユニケーシヨンレ
ジスタ(CR)5の該当位置{第3図bにおい
て、斜線で示す}に自分のタスクビツトを立
て、MPU1に割り込みをかけて、上記タスク
に対応したコントロールブロツク(CB)31
に対するアクセスを行う。(第1図参照) SPU(j)2から、上記コントロールブロツク
(CB)アクセスが起こると、バスアービトレー
シヨンコントローラ6により、メインバスの使
用許諾信号が発生され、該コントロールブロツ
ク(CB)31に対するアドレス情報の、例え
ば、特定の4ビツトが、当該アドレス変換レジ
スタ(ACR)4においてアドレス変換され、
マルチプレクサ7を通して、メインバスに送出
されることにより、該アドレス変換を受けない
他のアドレス情報と共働して、当該コントロー
ルブロツク(CB)31の該当エリアに対する
アクセスが行われる。
The SPU(j)2 sets its own task bit in the corresponding position of the communication register (CR)5 (indicated by diagonal lines in FIG. 3b), interrupts the MPU1, and responds to the task. Control block (CB) 31
access. (See Figure 1) When the SPU(j) 2 accesses the control block (CB), the bus arbitration controller 6 generates a main bus usage permission signal and accesses the control block (CB) 31. For example, specific 4 bits of address information are address translated in the address translation register (ACR) 4,
By being sent to the main bus through the multiplexer 7, access to the corresponding area of the control block (CB) 31 is performed in cooperation with other address information that is not subjected to the address conversion.

SPU(j)2では、上記コントロールブロツク
(CB)31から読み取つた制御情報を元に、タ
スクを実行し、該タスクを終了すると、終了情
報を、上記と同じようにして、当該コントロー
ルブロツク(CB)31のエリアに書き込むよ
うに機能する。
The SPU(j) 2 executes a task based on the control information read from the control block (CB) 31, and when the task is finished, the end information is sent to the control block (CB) in the same way as above. )31 area.

該SPU(j)2は、最後にタスクビツト52と、
MPU1に対する割り込み要求{第3図bの
MSBビツト参照}をコミユニケーシヨンレジ
スタ(CR)5にセツトする。
The SPU(j)2 finally has a task bit 52,
Interrupt request to MPU1 {Figure 3b
MSB bit reference} is set in communication register (CR) 5.

該SPU(j)2からの割り込み要求を受けた
MPU1は、コミユニケーシヨンレジスタ
(CR)2のタスクビツト52を見て、該ビツト
をエコーリセツトし、当該コントロールブロツ
ク(CB)より終了情報を引き取ることにより、
一連のタスクの実行を終了する。
An interrupt request was received from the SPU(j)2.
The MPU 1 looks at the task bit 52 of the communication register (CR) 2, echo-resets the bit, and receives the completion information from the control block (CB).
Finish executing a series of tasks.

尚、通常の主記憶装置(MS)3に対するア
クセスは、上記アドレス変換を受けることなく
実行されるように動作する。
Note that normal access to the main memory (MS) 3 operates without undergoing the above address conversion.

このように、本発明は、メインプロセツサ
(MPU)がサブプロセツサ(SPU)に対し、割
り込みによつてタスク依頼を行う際、主記憶装置
(MS)上のコントロールブロツク(CB)の空き
ブロツクを選択したその選択情報と、サブプロセ
ツサ(SPU)を同定するタスクビツト情報を、
アドレス変換レジスタ(ACR)に記憶しておき、
サブプロセツサ(SPU)が該タスクを実行する
のに必要なコントロールブロツク(CB)に対す
るアクセスがあると、該アドレスを、上記コント
ロールブロツク(CB)選択情報と、タスクビツ
ト情報とに基づいて、上記メインプロセツサ
(MPU)が選択したコントロールブロツク(CB)
のアドレスに変換するようにして、複数個のサブ
プロセツサ(SPU)に対応したタスクの多重化
を可能とした所に特徴がある。
In this way, the present invention selects an empty block of the control block (CB) on the main memory (MS) when the main processor (MPU) requests a task to the sub-processor (SPU) using an interrupt. The selected information and the task bit information that identifies the subprocessor (SPU) are
Store it in the address translation register (ACR),
When the subprocessor (SPU) accesses the control block (CB) necessary to execute the task, the address is transferred to the main processor based on the control block (CB) selection information and the task bit information. Control block (CB) selected by (MPU)
The feature is that it enables multiplexing of tasks corresponding to multiple subprocessors (SPUs) by converting the addresses into addresses of .

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

以上、詳細に説明したように、本発明のマルチ
タスク処理方式は、1つのメインプロセツサ
(MPU)と主記憶装置(MS)をメインバスに接
続し、該メインバスとは独立に設けられている拡
張バスに複数個のサブプロセツサ(SPU)を接
続することによつて、システムの増設を行いマル
チタスクを実行する計算機システムにおいて、上
記メインバスと拡張バスとの間に、コミユニケー
シヨンレジスタ(CR)と、アドレス変換レジス
タ(ACR)とを設け、メインプロセツサ
(MPU)がサブプロセツサ(SPU)に割り込む
ことによつてタスクの依頼を行う際、依頼先を同
定するタスクビツトと、主記憶装置(MS)上で
選択したコントロールブロツク(CB)情報とを、
上記アドレス変換レジスタ(ACR)に記憶して
おく手段を設けることにより、上記サブプロセツ
サ(SPU)が、該タスクを実行するとき、該サ
ブプロセツサ(SPU)が認識しているコントロ
ールブロツク(CB)をアクセスするだけで、上
記アドレス変換レジスタ(ACR)に記憶されて
いるタスクビツト情報と、コントロールブロツク
(CB)情報とによつて、上記メインプロセツサ
(MPU)が選択したコントロールブロツク(CB)
をアクセスできるようにしたものであるので、メ
インプロセツサ(MPU)、及びサブプロセツサ
(SPU)側のソフトウエアの変更を行うことなく
システムアツプを行い、マルチタスクの実行が容
易にできる効果がある。
As explained above in detail, the multitask processing method of the present invention connects one main processor (MPU) and main memory (MS) to a main bus, and is provided independently from the main bus. In a computer system that expands the system and executes multitasking by connecting multiple subprocessors (SPUs) to an expansion bus, a communication register (CR) is installed between the main bus and the expansion bus. ) and an address translation register (ACR), and when the main processor (MPU) requests a task by interrupting the sub-processor (SPU), it uses a task bit that identifies the request destination and a main memory (MS ) and the control block (CB) information selected above.
By providing a means for storing information in the address translation register (ACR), the sub-processor (SPU) accesses the control block (CB) recognized by the sub-processor (SPU) when executing the task. The control block (CB) selected by the main processor (MPU) is determined based on the task bit information and control block (CB) information stored in the address translation register (ACR).
The system can be accessed without changing the software on the main processor (MPU) and sub-processor (SPU) sides, making it possible to easily perform multitasking.

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

第1図は本発明の概念を説明する図、第2図は
本発明の一実施例をブロツク図で示した図、第3
図はコミユニケーシヨンレジスタ(CR)の詳細
を示した図、第4図は従来のタスク実行方式を説
明する図、である。 図面において、1はメインプロセツサ
(MPU)、2はサブプロセツサ(SPU0〜n)、3
は主記憶装置(MS)、31はコントロールブロ
ツク(CB、CB0〜n)、4はアドレス変換レジス
タ(ACR)、5はコミユニケーシヨンレジスタ
(CR)、6はバスアービトレーシヨンコントロー
ラ、をそれぞれ示す。
Fig. 1 is a diagram explaining the concept of the present invention, Fig. 2 is a block diagram showing an embodiment of the invention, and Fig. 3 is a diagram illustrating the concept of the present invention.
The figure shows details of a communication register (CR), and FIG. 4 is a diagram explaining a conventional task execution method. In the drawing, 1 is the main processor (MPU), 2 is the sub-processor (SPU0~n), and 3 is the main processor (MPU).
31 is the main memory (MS), 31 is the control block (CB, CB0 to n), 4 is the address translation register (ACR), 5 is the communication register (CR), and 6 is the bus arbitration controller. .

Claims (1)

【特許請求の範囲】 1 1つのメインプロセツサ(MPU)1と主記
憶装置(MS)3をメインバスに接続し、該メイ
ンバスとは独立に設けられている拡張バスに複数
個のサブプロセツサ(SPU1〜n)2を接続する
ことによつて、システムの増設を行い、マルチタ
スクを実行する計算機システムにおいて、 上記メインバスと拡張バスとの間に、コミユニ
ケーシヨンレジスタ(CR)5と、アドレス変換
レジスタ(ACR)4とを設け、 上記メインプロセツサ(MPU)1からサブプ
ロセツサ(SPU1〜n)2に対して、タスクを指
令する場合、上記メインプロセツサ(MPU)1
が主記憶装置(MS)3上のコントロールブロツ
ク(CB)31の空き領域に制御情報をセツトす
ると共に、 上記コミユニケーシヨンレジスタ(CR)5に
サブプロセツサ(SPU1〜n)2に対する割り込
み要求ビツトと、該タスクを依頼するサブプロセ
ツサ(SPU1〜n)2に対応したタスクビツトを
設定した後、 上記アドレス変換レジスタ(ACR)4に、当
該コントロールブロツク(CB)31情報と、タ
スクビツト情報を記憶しておき、 上記サブプロセツサ(SPU1〜n)2が、自己
に対する割り込み要求であることを、上記タスク
ビツトを取り込むことによつて認識し、該割り込
みビツトをエコーリセツトして、上記メインプロ
セツサ(MPU)1から指示されたタスクを実行
する為に、上記コントロールブロツク(CB)3
1をアクセスする際、当該サブプロセツサ
(SPU1〜n)2の認識しているコントロールブ
ロツク(CB)31′をアクセスするだけで、上記
アドレス変換レジスタ(ACR)4に記憶されて
いるタスクビツトと、コントロールブロツク
(CB)31情報とによつて、該アクセスアドレス
が変換され、上記メインバスの主記憶装置
(MS)3上の、上記メインプロセツサ(MPU)
1が捕捉したコントロールブロツク(CB)31
をアクセスできるように制御することを特徴とす
るマルチタスク処理方式。
[Claims] 1. One main processor (MPU) 1 and main memory (MS) 3 are connected to a main bus, and a plurality of sub-processors ( In a computer system that expands the system and executes multitasking by connecting SPU1 to n)2, a communication register (CR) 5 and address A conversion register (ACR) 4 is provided, and when commanding a task from the main processor (MPU) 1 to the sub-processors (SPU1 to SPU n) 2, the main processor (MPU) 1
sets control information in the free area of the control block (CB) 31 on the main storage device (MS) 3, and also sets interrupt request bits for the subprocessors (SPU1 to n) 2 in the communication register (CR) 5. After setting the task bit corresponding to the subprocessor (SPU1 to SPU n) 2 that requests the task, the control block (CB) 31 information and task bit information are stored in the address translation register (ACR) 4, and the above The sub processors (SPU1 to SPU n) 2 recognize that the interrupt request is for themselves by taking in the task bit, echo-reset the interrupt bit, and respond to the instruction from the main processor (MPU) 1. In order to execute the task, the above control block (CB) 3
1, by simply accessing the control block (CB) 31' recognized by the subprocessor (SPU1 to SPU n) 2, the task bit and control block stored in the address translation register (ACR) 4 can be accessed. (CB) 31 information, the access address is converted and the main processor (MPU) on the main memory (MS) 3 of the main bus
Control block (CB) 31 captured by 1
A multitasking processing method characterized by controlling access to.
JP60258224A 1985-11-18 1985-11-18 Multi-task processing system Granted JPS62117056A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60258224A JPS62117056A (en) 1985-11-18 1985-11-18 Multi-task processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60258224A JPS62117056A (en) 1985-11-18 1985-11-18 Multi-task processing system

Publications (2)

Publication Number Publication Date
JPS62117056A JPS62117056A (en) 1987-05-28
JPH0156418B2 true JPH0156418B2 (en) 1989-11-30

Family

ID=17317240

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60258224A Granted JPS62117056A (en) 1985-11-18 1985-11-18 Multi-task processing system

Country Status (1)

Country Link
JP (1) JPS62117056A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010003151A (en) * 2008-06-20 2010-01-07 Renesas Technology Corp Data processing apparatus
JP2014063510A (en) * 2013-11-19 2014-04-10 Renesas Electronics Corp Data processing apparatus

Also Published As

Publication number Publication date
JPS62117056A (en) 1987-05-28

Similar Documents

Publication Publication Date Title
JPH11250228A (en) Image processing apparatus and image processing system
JPH04246745A (en) Information processing device and method
JP3619532B2 (en) Semiconductor integrated circuit device
JPH0156418B2 (en)
JP2001167058A (en) Information processing device
JP2000222226A (en) Access control device and access method
JP2001134486A (en) Microprocessor and storage device
JP2618223B2 (en) Single chip microcomputer
US6032173A (en) Synchronization of a computer system having a plurality of processors
JPH05128078A (en) Parallel processor
EP0510617B1 (en) Data processing apparatus with high-speed "macroservice" interrupt
JP2705955B2 (en) Parallel information processing device
JPH0535507A (en) Central processing unit
JPH08221106A (en) Programmable controller
JPH04307652A (en) Inter-multiprocessor communication system
JP2006023808A (en) Data transfer apparatus and data transfer method
JPS63155254A (en) Information processor
JPS6036615B2 (en) Memory control method
JPH05233525A (en) Input/otuput processor
JPH03262064A (en) Data transfer system using system bus
JPH0424733B2 (en)
JPH05173936A (en) Data transfer processing device
JPS6336339A (en) Memory expanding circuit for cpu
JPH10134013A (en) Multi CPU system
JPS61285565A (en) Load decentralized data processor