JPS6272053A - Processor unit - Google Patents

Processor unit

Info

Publication number
JPS6272053A
JPS6272053A JP21162585A JP21162585A JPS6272053A JP S6272053 A JPS6272053 A JP S6272053A JP 21162585 A JP21162585 A JP 21162585A JP 21162585 A JP21162585 A JP 21162585A JP S6272053 A JPS6272053 A JP S6272053A
Authority
JP
Japan
Prior art keywords
processor
bus
transmission
unit
task
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
Application number
JP21162585A
Other languages
Japanese (ja)
Other versions
JPH054708B2 (en
Inventor
Hisashi Inada
久 稲田
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP21162585A priority Critical patent/JPS6272053A/en
Publication of JPS6272053A publication Critical patent/JPS6272053A/en
Publication of JPH054708B2 publication Critical patent/JPH054708B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To shorten widely the waiting time by receiving the task request for the number of the set receiving buffer only and receiving the enquiry response. CONSTITUTION:When the task request to a processor unit 100 occurs at a processor unit 102, the accumulating of the task request for the processor unit 100, which is the transmitting information, to a transmitting buffer memory 40 through a processor interface part 20 is executed, the setting of the empty selection to a transmitting control part 60 is executed, the designation of the data transferring bus between processors used for the transmission is executed and thereafter, the transmitting execution is instructed. At a bus 0 interface part 70, the transmitting permission is sent, the information is received, and thereafter, a processor 10 sets the equipment busy condition as the receiving condition to a bus 0 receiving control part through the processor interface part 20. Thus, respective receiving buffers can receive one task request or the enquiry, and after all, the task request or the enquiry for the number of the set receiving buffer only can be received.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、各々のプロセッサユニットが2組以上のプロ
セッサ間データ転送バスを介して通信を行なうマルチプ
ロセッサシステムに用いられるプロセッサユニットに関
する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a processor unit used in a multiprocessor system in which each processor unit communicates via two or more sets of inter-processor data transfer buses.

(従来の技術) システムの処理能力向上と、プロセッサユニットのソフ
トウェアの構成の簡単化を目的として、個々にはシング
ルタスクのプロセッサユニットを複数段は互いにデータ
転送バスで結び負荷分散型のマルチプロセッサシステム
として構成する場合があるが、プロセッサユニットの各
々において実行されるタスク中に他のプロセッサユニッ
トに対する問い合わせ処理がある場合にはタスク実行中
にプロセッサ間データ転送バスの受信バッファを常時監
視し、その受信されたメツセージが別の新たなタスク要
求であるか、問い合わせに対する応答であるかを判定す
る必要がある。
(Prior art) A load-distributing multiprocessor system in which multiple stages of individual single-task processor units are connected to each other via a data transfer bus, with the aim of improving system processing power and simplifying the software configuration of the processor units. However, if there is inquiry processing for other processor units during a task executed in each processor unit, the reception buffer of the inter-processor data transfer bus is constantly monitored during task execution, and the reception It is necessary to determine whether the received message is another new task request or a response to an inquiry.

なぜならば上記のプロセッサユニットはシングルタスク
のみ実行可能であるから受信メツセージが問い合わせに
対する応答であれば問題ないが別の新たなタスク要求の
場合には、その要求が実行不能であることを要求元のプ
ロセッサユニットに知らせなければならないからである
This is because the above processor unit can only execute a single task, so if the received message is a response to an inquiry, there is no problem, but if it is a request for another new task, the requester will be notified that the request cannot be executed. This is because the processor unit must be notified.

しかしながら容易に想像される様に上記の判定並びに応
答をソフトウェアで実行していたのでは、各プロセッサ
ユニットにおけるソフトウェア処理時間が増大し処理能
力を高めることが難しい。
However, as can be easily imagined, if the above judgment and response were executed by software, the software processing time in each processor unit would increase, making it difficult to increase the processing capacity.

この欠点を補うため次に述べるプロセッサ間データ転送
方式が提案されている。これは各プロセッサユニットに
おいて互いに排他的な機器話中状態と機器空状態の2種
類の受信状態とともにそのどちらかを各プロセッサユニ
ットにおいて設定する手段を有し、さらに送信先のプロ
セッサユニットの受信状態が機器空状態の場合に送信許
可が与えられる空選択送信要求と、機器話中状態の場合
に送信許可が与えられる話中選択送信要求とを有すると
ともにそのどちらを使用するかを指定できる手段とをハ
ードウェアにて提供する方法である。
In order to compensate for this drawback, the following inter-processor data transfer method has been proposed. This has two mutually exclusive reception states, a device busy state and a device idle state, in each processor unit, and means for setting either of them in each processor unit, and furthermore, the reception state of the destination processor unit. Means having an empty selection transmission request to which transmission permission is granted when the device is in an idle state and a busy selection transmission request to which transmission permission is granted when the device is in a busy state, and specifying which one to use. This is a method of providing hardware.

すなわち各プロセッサユニットは、他のプロセッサユニ
ットへのタスク要求の必要が生じると空選択送信要求を
相手プロセッサユニットへ送信し、送信許可を受けた後
タスク要求を送信する。
That is, when each processor unit needs to request a task to another processor unit, it transmits an empty selection transmission request to the other processor unit, and after receiving transmission permission, transmits the task request.

一方他のプロセッサユニットからタスク要求を受は付け
たプロセッサユニットは、受信状態を機器話中状態に設
定し、機器話中状態に設定した該プロセッサユニットか
らの問い合わせに応答する他のプロセッサユニットは話
中選択送信要求にて応答情報を送信する。従って新たな
タスク要求は空選択送信要求であり、一方タスク実行中
のプロセッサユニットは機器話中状態であるので、送信
許可が与えられることは無く、ソフトウェアが受、言し
た情報を判定して新たなタスク実行不可を知らせる必要
が無い。
On the other hand, a processor unit that has accepted a task request from another processor unit sets its receiving state to a device busy state, and other processor units that respond to inquiries from the processor unit set to a device busy state are not set to a device busy state. Send response information with a medium selection transmission request. Therefore, the new task request is an empty selection transmission request, and on the other hand, since the processor unit that is executing the task is in a device busy state, transmission permission is not granted, and the software judges the information received and sent and sends a new request. There is no need to notify users that certain tasks cannot be executed.

(発明が解決しようとする問題点) しかしながら上記従来技術はいずれもシングルタスクシ
ステムであるため、タスク実行の途中で他のプロセッサ
ユニットに対する問い合、わせを行なうと、タスク実行
中のプロセッサユニットにとって問い合わせに対する応
答待ち時間が実質的タスク実行に必要な処理時間とは関
係ない完全に無駄な時間として生じるとともに、タスク
実行中における他プロセツサユニットに対する問い合わ
せが多く成ると前記問い合わせ時間のタスク実行時間に
占める割合が大きく成り、マルチプロセッサ化の利点が
十分に生かせないという欠点がある。
(Problems to be Solved by the Invention) However, since the above-mentioned conventional technologies are all single-task systems, if an inquiry is made to another processor unit during the execution of a task, the processor unit executing the task will receive an inquiry. Waiting time for a response occurs as completely wasted time that has nothing to do with the processing time required to actually execute the task, and if there are many inquiries to other processor units during task execution, the inquiry time will take up less of the task execution time. The disadvantage is that the ratio becomes large and the advantages of multiprocessorization cannot be fully utilized.

問い合わせに対する応答の待時間を短縮するためにはマ
ルチタスクシステムを採用する必要があるが、従来のハ
ード構成のプロセッサユニットを用いたマルチプロセッ
サシステムにおいて、マルチタスクシステムを採用しよ
うとするとソフトウェアが複雑大規模となり負担が大き
くなるという問題点があった。
In order to reduce the waiting time for responses to inquiries, it is necessary to adopt a multitasking system, but in a multiprocessor system using conventional hardware-configured processor units, trying to adopt a multitasking system requires software that is extremely complex. There was a problem that the scale of the project would increase the burden.

本発明の目的は、上記従来技術の問題点を解決すべく、
各プロセッサユニットにおけるソフトウェアの構成が、
シングルタスクシステムにおけると同程度の簡単な構成
でマルチタスクシステムを実現できるプロセッサユニッ
トを提供しようとするものである。
The purpose of the present invention is to solve the problems of the prior art described above.
The software configuration in each processor unit is
The present invention aims to provide a processor unit that can realize a multitasking system with a configuration as simple as that of a singletasking system.

(問題点を解決するための手段) 本発明は上記の目的を達成するために次の構成を有する
。即ち、本発明のマルチタスクプロセッサユニットは、
プロセッサと; 接続される複数系統のプロセッサ間デ
ータ転送バスの各系統別に対応して設けられた複数のバ
スインターフェイス部と; 前記各転送バスを介して受
信された情報を各転送バス別に蓄積する受信バッファメ
モリ部と; 各転送バス別に設けられ、前記プロセッサ
からの指令により、当該転送バスを介してタスク実行の
ための情報を受けていない時には機器空状態が設定され
、前記情報を受けた後は機器話中状態が設定され、該設
定された機器状態に従って、対応するバスインターフェ
イス部が、機器空状態の時に到来した全選択送信要求に
対しては送信許可を与え、機器話中状態の時に到来した
全選択送信要求に対しては送信許可を与えず話中選択送
信要求に対しては送信許可を与えるよう当該バスインタ
ーフェイス部を制御するとともに前記受信バッファメモ
リ部を制御する受信制御部と; 送信すべき情報を蓄積
する送信バッファメモリ部と;前記プロセッサからの指
令により送信要求の空又は話中の選択と、バスインター
フェイス部に対する送信用転送バスの選択制御と、前記
送信バッファメモリ部に対する制御を行う送信制御部と
;を有することを特徴とする。
(Means for Solving the Problems) The present invention has the following configuration to achieve the above object. That is, the multitask processor unit of the present invention has the following features:
a processor; a plurality of bus interface units provided corresponding to each system of the plurality of connected inter-processor data transfer buses; a reception unit that stores information received via each of the transfer buses for each transfer bus; Buffer memory unit: Provided for each transfer bus, and according to a command from the processor, when information for executing a task is not received via the transfer bus, a device empty state is set, and after receiving the information, A device busy state is set, and according to the set device state, the corresponding bus interface section grants transmission permission to all selection transmission requests that arrive when the device is idle, and sends permission to send requests that arrive when the device is busy. a reception control unit that controls the bus interface unit so as to grant transmission permission to the selected all-selection transmission request and to grant transmission permission to the busy selection transmission request, and also controls the reception buffer memory unit; a transmission buffer memory section for accumulating information to be transmitted; and a transmission buffer memory section that controls selection of an empty or busy transmission request, selection of a transmission transfer bus for a bus interface section, and control of the transmission buffer memory section according to instructions from the processor. and a transmission control unit that performs the transmission.

(作 用) 本発明のプロセッサユニットは、バスインターフェイス
部と、受信制御部および受信バッファメモリとからなる
回路(受信バッファという)を複数個有し、各バスイン
ターフェイス部はそれぞれプロセッサユニットを共通に
接続する複数のプロセッサ間データ転送バスのうち異な
った転送バスに接続される。受信バッファは他のプロセ
ッサユニットからタスク実行のため情報を受けていない
間は機器空状態であり、受けた後は機器話中状態となる
0機器空状態の時に他のプロセッサユニットからタスク
要求や問い合わせの全選択送信要求(送信したいという
予備信号)が来たときにはバスインターフェイス部は送
信許可を与えタスク実行のための情報の送信を受ける。
(Function) The processor unit of the present invention has a plurality of circuits (referred to as receive buffers) each consisting of a bus interface section, a reception control section, and a reception buffer memory, and each bus interface section commonly connects the processor unit. The processors are connected to different transfer buses among a plurality of inter-processor data transfer buses. The receive buffer is in the device empty state while it is not receiving information for task execution from other processor units, and after receiving it, it is in the device busy state. 0 When the device is in the empty state, it does not accept task requests or inquiries from other processor units When an all-select transmission request (a preliminary signal indicating a desire to transmit) arrives, the bus interface section grants transmission permission and receives the transmission of information for task execution.

これに対し、機器話中状態の時には、全選択送信要求が
来てもバスインターフェイス部は送信許可を与えず、話
中選択送信要求が来た時には送信許可を与える。一方送
信の方は、他のプロセッサユニットに対してタスク要求
や問い合わせを行う場合には全選択送信要求を、また問
い合わせに対する応答を送信する場合には話中選択送信
要求を、送信制御部で選択し、更に、送信制御部は送信
する転送バスを選択するためにバスインターフェイス部
を制御する。
On the other hand, when the device is in a busy state, the bus interface section does not grant transmission permission even if an all selection transmission request comes, but grants transmission permission when a busy selection transmission request comes. On the other hand, for transmission, the transmission control unit selects an all selection transmission request when making a task request or inquiry to another processor unit, and a busy selection transmission request when sending a response to an inquiry. Furthermore, the transmission control section controls the bus interface section in order to select a transfer bus for transmission.

従って、本発明のプロセッサユニットは、各受信バッフ
ァは1つのタスク要求或いは問い合わせを受は付けるこ
とができ、結局、設けられている受信バッファの数だけ
のタスク要求或いは問い合すせを受は付けることができ
る。
Therefore, in the processor unit of the present invention, each receive buffer can accept one task request or inquiry, and in the end, the processor unit can accept as many task requests or inquiries as the number of reception buffers provided. be able to.

またタスク要求を受は付けた受信バッファであっても、
そのタスクを実行するに当り他のプロセッサユニットに
対して行った問い合わせに対する応答は機器話中状態で
あっても受は付けることができる。
Also, even if the receive buffer accepts task requests,
Responses to inquiries made to other processor units in executing the task can be accepted even when the device is busy.

従って、今、プロセッサが第0番目の受信バッファで受
は付けたタスクを実行中、他のプロセッサユニットへの
タスク要求や問い合わせの必要が生じてタスク要求や問
い合わせを行った場合その結果や応答が戻って来る迄の
間プロセッサでのそのタスクの実行が中断するが、その
間、例えば第1番目の受信バッファで受は付けたタスク
を実行させるということが可能となり、受は付けたタス
クがある限りプロセッサの稼働に空きを生じさせないよ
うにすることができる。
Therefore, if the processor is currently executing a task accepted in the 0th receive buffer and it becomes necessary to request a task or make an inquiry to another processor unit, the result or response will be The execution of the task in the processor is suspended until it returns, but during that time, for example, it is possible to execute the accepted task in the first receive buffer, and as long as there is an accepted task, the accepted task will be executed. It is possible to prevent the processor from being idle.

このことは結局、順繰りに、自プロセッサユニットが自
己のタスクを実行するに当って、途中で、他のプロセッ
サユニットへタスク実行要求をしたり問い合わせをした
りした場合の待ち時間が大幅に短縮されることを意味す
る。
This means that the waiting time when a processor unit issues a task execution request or makes an inquiry to another processor unit while executing its own task is greatly reduced. It means to do something.

そして、これを実現するための各プロセッサユニットに
おけるソフトウェアの構成は、シングルタスクシステム
のソフトウェアの構成と同程度である。
The software configuration in each processor unit for realizing this is comparable to the software configuration of a single-task system.

即ち、本発明のプロセッサユニットを用いたマルチプロ
セッサシステムにおいては各プロセッサユニットにおけ
るソフトウェアの構成がシングルタスクシステムと同程
度の簡単な構成でマルチタスクシステムが実現できる。
That is, in a multiprocessor system using the processor unit of the present invention, a multitask system can be realized with a software configuration in each processor unit as simple as a single task system.

(実 施 例) 次に本発明のプロセッサユニットの実施例について図面
を参照して説明する。
(Example) Next, an example of the processor unit of the present invention will be described with reference to the drawings.

第1図は、本発明によるプロセッサユニットの一実施例
の構成を示すブロック図である0本実施例は、第0プロ
セッサ問データ転送バス110と第1プロセッサ間デー
タ転送バス111の2組のプロセッサ間データ転送バス
を接続するプロセッサユニット100を示すものである
FIG. 1 is a block diagram showing the configuration of an embodiment of a processor unit according to the present invention. This embodiment shows two sets of processors, a 0th processor data transfer bus 110 and a 1st interprocessor data transfer bus 111. 1 shows a processor unit 100 to which an inter-data transfer bus is connected.

第0プロセッサ間データ転送バス110はバス0インタ
ーフエイス部70を介して、バスO受信バッファ80と
送信バッファ90に各々接続されている。同様に第1プ
ロセッサ間データ転送バス111は、バス1インターフ
エイス部71を介してバス1受信バツフア81と送信バ
ッファ90に各々接続されている。一方プロセッサ10
は、プロセッサインターフェイス部20を介してバス0
受信バッファ80.バス1受信バツフア81および送信
バッファ90に接続されている。
The 0th inter-processor data transfer bus 110 is connected to a bus 0 reception buffer 80 and a transmission buffer 90 via a bus 0 interface section 70, respectively. Similarly, the first inter-processor data transfer bus 111 is connected to a bus 1 reception buffer 81 and a transmission buffer 90 via a bus 1 interface section 71, respectively. On the other hand, processor 10
is connected to bus 0 via the processor interface section 20.
Receive buffer 80. It is connected to bus 1 receive buffer 81 and transmit buffer 90.

バスO受信バッファ80は、第Oプロセッサ間データ転
送バス110を介して受信した情報を蓄積するバスO受
信バッファメモリ部30と、プロセッサインターフェイ
ス部20を介してプロセッサ10が機器空状態と機器話
中状態の2種類の受信状態のどちらかを設定するバスO
受信制御部50から成り、バスO受信制御部50はこの
設定された受信状態に従って、バス0インターフエイス
部70とバス0受信バッファメモリ部30をそれぞれ制
御する。同様に、バス1受信バンフア81は、第1プロ
セッサ間データ転送バス111を介して受信した情報を
蓄積するバス1受信バッファメモリ部31とプロセッサ
インターフェイス部20を介してプロセッサ10が機器
空状態と機器話中状態の2種類の受信状態のどちらかを
設定するバス1受信制御部51から成り、バス1受信制
御部51はこの設定された受信状態に従ってバス1イン
ターフエイス部71とバス1受信バッファメモリ部31
をそれぞれ制御する。
The bus O reception buffer 80 includes a bus O reception buffer memory section 30 that stores information received via the O-th inter-processor data transfer bus 110, and a bus O reception buffer memory section 30 that stores information received via the O-th inter-processor data transfer bus 110. Bus O for setting one of two types of reception status
The bus O reception control section 50 controls the bus 0 interface section 70 and the bus 0 reception buffer memory section 30 according to the set reception state. Similarly, the bus 1 reception buffer 81 stores the information received via the first inter-processor data transfer bus 111 and the bus 1 reception buffer memory unit 31 and the processor interface unit 20. It consists of a bus 1 reception control section 51 that sets one of two reception states (busy state), and the bus 1 reception control section 51 controls the bus 1 interface section 71 and the bus 1 reception buffer memory according to the set reception state. Part 31
control each.

送信バッファ90は、第0プロセッサ間データ転送バス
110または、第1プロセッサ間データ転送バス111
を介して他のプロセッサユニットへ送出する情報を蓄積
する送信バッファメモリ部40と、プロセッサインター
フェイス部20を介してプロセッサ10が空選択と話中
選択の2種類の送信要求のどちらを使用するか、および
送信に使用するプロセッサ間データ転送バスを2組の内
どちらにするかを設定する送信制御部60から成り、送
信制御部60は、設定された使用プロセッサ間データ転
送バスに接続されているバスインターフェイス部と送信
バッファメモリ部40を制御する。
The transmission buffer 90 is connected to a 0th inter-processor data transfer bus 110 or a 1st inter-processor data transfer bus 111.
The transmission buffer memory unit 40 stores information to be sent to other processor units via the processor interface unit 20, and the processor 10 determines which of the two types of transmission requests, empty selection and busy selection, to use. and a transmission control unit 60 that sets which of the two sets of inter-processor data transfer buses will be used for transmission. Controls the interface section and the transmission buffer memory section 40.

第2図は第1図に示す本発明によるプロセッサユニット
100およびこれと同じ構成のプロセッサユニット10
1〜同103によって構成されたプロセッサ間データ転
送系の一実施例を示すブロック図であり、各々のプロセ
ッサユニット100〜同103は第0プロセッサ間デー
タ転送バス110と第1プロセッサ間データ転送バス1
11によって接続される。
FIG. 2 shows a processor unit 100 according to the present invention shown in FIG. 1 and a processor unit 10 having the same configuration.
1 is a block diagram showing an embodiment of an inter-processor data transfer system configured by processor units 1 to 103, each of which has a 0th inter-processor data transfer bus 110 and a 1st inter-processor data transfer bus 1.
11.

本実施例において各プロセッサユニットは、タスクを実
行していない場合には、各プロセッサユニットの中のプ
ロセッサ10が、プロセッサインターフェイス部20を
介して、それぞれバス0受信制御部50とバス1受信制
御部51に受信状態として機器空状態を設定し、タスク
実行中もしくは他プロセツサユニットに対する問い合わ
せの応答情報を待っている時、機器話中状態を設定する
、また、送信を行なう場合他プロセツサユニットに対す
るタスク要求情報の送信ならプロセッサ10は、プロセ
ッサインターフェイス部20を介して、送信制御部60
に空選択を設定し、他プロセツサユニットからの問い合
わせに対する応答情報の送信なら話中選択を設定する。
In this embodiment, when each processor unit is not executing a task, the processor 10 in each processor unit communicates with the bus 0 reception control unit 50 and the bus 1 reception control unit, respectively, via the processor interface unit 20. 51 as the receiving state, and set the device busy state when executing a task or waiting for response information to an inquiry to another processor unit. Also, when transmitting, set the equipment idle state as the receiving state. When transmitting task request information, the processor 10 sends the transmission control unit 60 via the processor interface unit 20.
If the response information to an inquiry from another processor unit is to be sent, the busy selection is set.

次に、プロセッサユニットの通信動作について説明する
。プロセッサユニット100に対するタスク要求がプロ
セッサユニット102に生じたとすると、プロセッサユ
ニット102の内部において以下の動作を行なう。すな
わちブロモ・ソサ10は、プロセッサインターフェイス
部20を介して送信バッファメモリ40に送信情報にあ
たるプロセッサユニット100に対するタスク要求の蓄
積および送信制御部60への空選択の設定と、送信に使
用するプロセッサ間データ転送バスの指定をそれぞれ行
ない、この後送信実行を命令する。
Next, the communication operation of the processor unit will be explained. When a task request for the processor unit 100 occurs in the processor unit 102, the following operations are performed inside the processor unit 102. That is, the Bromo Sosa 10 stores task requests for the processor unit 100 corresponding to transmission information in the transmission buffer memory 40 via the processor interface section 20, sets empty selection to the transmission control section 60, and stores interprocessor data used for transmission. Each transfer bus is designated, and then transmission execution is commanded.

今、送信に使用するプロセッサ間データ転送バスとして
、第0プロセッサ間データ転送バス110を指定したと
すれば、送信制御部60は、バスインターフェイス部7
0を制御して、第Oプロセッサ間データ転送バス110
に空選択の送信要求を送出する。この空選択送信要求に
対して、プロセッサユニット100においては、第Oプ
ロセ・・・す間データ転送バス110に対応するバス0
受信制聞部50に機器空受信状態が設定されているので
バスOインターフェイス部70では、受信した送信要求
と自分の受信状態が対応していることを判定し、ただち
に第1プロセツサ閏データ転送バス111を介して送信
許可を送出し、情報受信後、プロセッサ10は、プロセ
ッサインターフェイス部20を介して、バス0受信制御
部50に受信状態として機器話中状態を設定する。
Now, if we specify the 0th inter-processor data transfer bus 110 as the inter-processor data transfer bus used for transmission, the transmission control unit 60 controls the bus interface unit 7.
0, the O-th inter-processor data transfer bus 110
Sends a request to send an empty selection. In response to this empty selection transmission request, in the processor unit 100, the bus 0 corresponding to the data transfer bus 110 between the Oth process...
Since the device empty reception state is set in the reception monitoring unit 50, the bus O interface unit 70 determines that the received transmission request corresponds to its own reception state, and immediately switches the first processor data transfer bus 111, and after receiving the information, the processor 10 sets the device busy state as the receiving state in the bus 0 reception control section 50 via the processor interface section 20.

したがってプロセッサユニット100においては、以後
第0プロセッサ間データ転送バス110を介して送られ
てくる空選択送信要求に対してはバス0インターフエイ
ス部70が自受信状態と送信要求が対応していないと判
定して、−切送信許可を与えない、すなわち、プロセッ
サユニット100においては、第0プロセッサ間データ
転送バス110を介しての別の新たなタスク要求を受は
付けないことに成る。
Therefore, in the processor unit 100, in response to an empty selection transmission request sent via the 0th inter-processor data transfer bus 110, the bus 0 interface unit 70 determines that the self-receiving state and the transmission request do not correspond. It is determined that the -cut transmission permission is not granted, that is, the processor unit 100 will not accept another new task request via the 0th inter-processor data transfer bus 110.

一方、プロセッサユニット100におけるバス1受信制
御部51には機器空受信状態が設定されたままであるの
で、第1プロセツサ閏データ転送バス111を介して送
られて来る空選択送信要求に対して送信許可を与えるこ
とができる。
On the other hand, since the device idle reception state is still set in the bus 1 reception control section 51 in the processor unit 100, transmission is permitted in response to an idle selection transmission request sent via the first processor leap data transfer bus 111. can be given.

すなわち第0プロセッサ間データ転送バス側と同様の動
作で一つだけタスク要求を受は付けることが可能である
That is, it is possible to accept and accept only one task request with the same operation as on the 0th inter-processor data transfer bus side.

一方、各プロセッサユニットにおいて、前述のタスク要
求にもとづいて、タスクを実行中、他のプロセッサユニ
ットに対する問い合わせ等の通信の必要が生じる場合が
ある。今、プロセッサユニット100が第0プロセッサ
間データ転送バス110を介して受信したタスク要求に
対して、タスクを実行している時、プロセッサユニット
101に対する問い合わせの必要が生じたとすれば、上
記のタスク要求の送信の場合と同様の動作でプロセッサ
ユニット101への問い合わせ情報を第1プロセツサ閏
データ転送バス111を介して送信する0問い合わせ情
報を受信したプロセッサユニット101においては送信
制御部70に話中選択を設定し、第0プロセッサ間デー
タ転送バス110を介して応答情報の送信を行なう。
On the other hand, while each processor unit is executing a task based on the above-described task request, there may be a need for communication such as inquiries to other processor units. Now, when the processor unit 100 is executing a task in response to a task request received via the 0th inter-processor data transfer bus 110, if it becomes necessary to make an inquiry to the processor unit 101, the above task request The processor unit 101 that receives the 0 inquiry information sends the inquiry information to the processor unit 101 via the first processor data transfer bus 111 in the same manner as in the case of sending the 0 inquiry information to the transmission control section 70 to select busy. The response information is transmitted via the 0th inter-processor data transfer bus 110.

すなわち、プロセッサユニット100のバスO受信制御
部50は、タスク実行中のため機器話中受信状態が設定
されているため空選択送信要求に対しては許可を与えな
いがプロセッサユニット101から送られて来る話中選
択送信要求に対してはバスOインターフェイス部70が
自受信状態と対応していると判定して送信許可を与える
ため、問い合わせに対する応答情報を受信することがで
きる。
That is, the bus O reception control unit 50 of the processor unit 100 does not grant permission to the empty selection transmission request because the device busy reception state is set because the task is being executed. In response to the incoming busy selection transmission request, the bus O interface unit 70 determines that it corresponds to the own receiving state and grants transmission permission, so that response information to the inquiry can be received.

以上のようにして各プロセッサユニットはプロセッサ間
データ転送バス対応にタスクを1つだけ受は付けること
が可能であるとともに、タスク実行中における特定プロ
セッサユニットとの通信も確立可能となる。
As described above, each processor unit can accept only one task corresponding to the inter-processor data transfer bus, and can also establish communication with a specific processor unit during task execution.

(発明の効果) 本発明のプロセッサユニットは以上説明した構成と作用
を有しているので、受信バッファ1つ当り1つのタスク
要求および該受信バッファを介して他のプロセッサユニ
ットに対してなした問い合わせに対する応答を受けるこ
とができ、従って設けられている受信バッファの数だけ
のタスク要求の受は付けおよび問い合わせ応答の受は付
けを行うことができる。
(Effects of the Invention) Since the processor unit of the present invention has the configuration and operation described above, one task request per receiving buffer and inquiries made to other processor units via the receiving buffer can be made. Therefore, it is possible to receive as many task requests and inquiry responses as there are reception buffers provided.

そして、プロセッサがいずれかの受信バッファの受は付
けたタスクの実行中に、他のプロセッサに対するタスク
要求や問い合わせの必要を生じ、これを行い応答が来る
迄の待時間の間、他の受信バッファが受け1寸けたタス
クを実行できるので受は付けたタスクがある限りプロセ
ッサを遊ばせずに稼働させることができシングルタスク
システムに較べ待ち時間を大幅に短縮できる。
Then, while a processor is executing a task that has been accepted by one of the receive buffers, it becomes necessary to make a task request or inquiry to another processor, and during the waiting time until a response arrives, Since the processor can execute the task one step ahead of the receiver, as long as there is a task assigned to the receiver, the processor can be operated without idleness, and the waiting time can be significantly reduced compared to a single-task system.

そして、これを実現するための各プロセッサユニットに
おけるソフトウェアの構成は、シングルタスクシステム
のソフトウェアの構成と同程度であるので本発明のプロ
セッサユニットを用いたマルチプロセッサシステムにお
いては各プロセッサユニットにおけるソフトウェアの構
成がシングルタスクシステムと同程度の簡単な構成でマ
ルチタスクシステムが実現できるという効果がある。
The software configuration in each processor unit to achieve this is comparable to the software configuration in a single-task system, so in a multiprocessor system using the processor unit of the present invention, the software configuration in each processor unit is The effect is that a multitasking system can be realized with a configuration as simple as that of a single-tasking system.

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

第1図は、本発明のプロセッサユニットの一実施例の構
成を示すブロック図、第2図は第1図に示す本発明のプ
ロセッサユニットを複数個用いたマルチプロセッサシス
テムの構成図である。 10・・・・・・プロセッサ、 20・・・・・・プロ
セッサインターフェイス部、 30・・・・・・バスO
受信バッファメモリ部、 31・・・・・・バス1受信
バッファメモリ部、 40・・・・・・送信バッファメ
モリ部、50・・・・・・バスO受信制御部、 51・
・・・・・バス1受信制御部、 60・・・・・・送信
制御部、70・・・・・・バス0インターフエイス部、
71・・・・・・バス1インターフエイス部、80・・
・・・・バスO受信バッファ、 81・・・・・・バス
1受信バツフア、 90・・・・・・送信バッファ、1
00〜103・・・・・・プロセッサユニット、110
・・・・・・第0プロセッサ間データ転送バス、111
・・・・・・第1プロセッサ間データ転送バス。 代理人 弁理士  八 幡  義 博 本え所のプT7tツサユニットの犬光例の」シ成第1図 11θ−−−−−−*0プロ1−1ヅ間テータ転送バズ
/II −−−−−一第1グ17tzYrJテ:−、v
零iyス寮2 図
FIG. 1 is a block diagram showing the configuration of an embodiment of a processor unit of the present invention, and FIG. 2 is a configuration diagram of a multiprocessor system using a plurality of processor units of the present invention shown in FIG. 10...Processor, 20...Processor interface section, 30...Bus O
Reception buffer memory section, 31... Bus 1 reception buffer memory section, 40... Transmission buffer memory section, 50... Bus O reception control section, 51.
... Bus 1 reception control section, 60 ... Transmission control section, 70 ... Bus 0 interface section,
71... Bus 1 interface section, 80...
... Bus O reception buffer, 81 ... Bus 1 reception buffer, 90 ... Transmission buffer, 1
00-103...Processor unit, 110
...0th inter-processor data transfer bus, 111
...First inter-processor data transfer bus. Agent Patent Attorney Yoshi Hachiman Esho Hiromoto's Inumitsu Example of T7t Tsusa Unit Figure 1 11θ ------*0 Pro 1-1 Theta Transfer Buzz/II --- -11st G17tzYrJte:-,v
Zero iys dormitory 2 diagram

Claims (1)

【特許請求の範囲】[Claims] プロセッサと;接続される複数系統のプロセッサ間デー
タ転送バスの各系統別に対応して設けられた複数のバス
インターフェイス部と;前記各転送バスを介して受信さ
れた情報を各転送バス別に蓄積する受信バッファメモリ
部と;各転送バス別に設けられ、前記プロセッサからの
指令により、当該転送バスを介してタスク実行のための
情報を受けていない時には機器空状態が設定され、前記
情報を受けた後は機器話中状態が設定され、該設定され
た機器状態に従って、対応するバスインターフェイス部
が、機器空状態の時に到来した空選択送信要求に対して
は送信許可を与え、機器話中状態の時に到来した空選択
送信要求に対しては送信許可を与えず話中選択送信要求
に対しては送信許可を与えるよう当該バスインターフェ
イス部を制御するとともに前記受信バッファメモリ部を
制御する受信制御部と;送信すべき情報を蓄積する送信
バッファメモリ部と;前記プロセッサからの指令により
送信要求の空又は話中の選択と、バスインターフェイス
部に対する送信用転送バスの選択制御と、前記送信バッ
ファメモリ部に対する制御を行う送信制御部と;を有す
ることを特徴とするプロセッサユニット。
A processor; a plurality of bus interface units provided corresponding to each system of a plurality of connected inter-processor data transfer buses; and a reception unit that stores information received via each transfer bus for each transfer bus. Buffer memory unit: Provided for each transfer bus, and according to a command from the processor, when information for executing a task is not received via the transfer bus, the device is set to an empty state, and after receiving the information, A device busy state is set, and according to the set device state, the corresponding bus interface section grants transmission permission to an empty selection transmission request that arrives when the device is idle, and sends a request that arrives when the device is busy. a reception control unit that controls the bus interface unit so as to grant transmission permission to an empty selection transmission request and to grant transmission permission to a busy selection transmission request, and also controls the reception buffer memory unit; a transmission buffer memory section for accumulating information to be transmitted; and a transmission buffer memory section that controls selection of an empty or busy transmission request, selection of a transmission transfer bus for a bus interface section, and control of the transmission buffer memory section according to instructions from the processor. A processor unit characterized in that it has a transmission control section that performs the following operations.
JP21162585A 1985-09-25 1985-09-25 Processor unit Granted JPS6272053A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21162585A JPS6272053A (en) 1985-09-25 1985-09-25 Processor unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21162585A JPS6272053A (en) 1985-09-25 1985-09-25 Processor unit

Publications (2)

Publication Number Publication Date
JPS6272053A true JPS6272053A (en) 1987-04-02
JPH054708B2 JPH054708B2 (en) 1993-01-20

Family

ID=16608867

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21162585A Granted JPS6272053A (en) 1985-09-25 1985-09-25 Processor unit

Country Status (1)

Country Link
JP (1) JPS6272053A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58158732A (en) * 1982-03-16 1983-09-21 Nippon Telegr & Teleph Corp <Ntt> Communication system between processors
JPS58192159A (en) * 1982-05-06 1983-11-09 Nippon Telegr & Teleph Corp <Ntt> Communication system among processors

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58158732A (en) * 1982-03-16 1983-09-21 Nippon Telegr & Teleph Corp <Ntt> Communication system between processors
JPS58192159A (en) * 1982-05-06 1983-11-09 Nippon Telegr & Teleph Corp <Ntt> Communication system among processors

Also Published As

Publication number Publication date
JPH054708B2 (en) 1993-01-20

Similar Documents

Publication Publication Date Title
US5392446A (en) Multiple cluster signal processor architecture
EP0278264A2 (en) Data processing system with overlap bus cycle operations
EP0205801A1 (en) Interrupt mechanism for multi-microprocessing system having multiple busses
JPS6115263A (en) Control system for command transfer between processors
JPS6272053A (en) Processor unit
JPS61255461A (en) Multi cpu communicating device
JPH01305461A (en) Right of using bus control system
JP2666782B2 (en) Multiple bus control system
JPS615361A (en) Communication interface circuit
JP2705955B2 (en) Parallel information processing device
JPH01191967A (en) Data communication processing system
JPH03210654A (en) Distributed control processor
JPH06224975A (en) Method for resetting modules connected with each other, and system using this method
JP2737179B2 (en) Bus system
JPH0225963A (en) Inter-processor communication system
JPH02210567A (en) Input/output control system
JPS58202643A (en) Controlling system of communication bus route
JPH06161951A (en) Bus control system
JPH0282342A (en) Data communication equipment
JPS6326758A (en) Packet communication equipment by dynamic polling
JPS61221863A (en) Control system for main memory access
JPS6055463A (en) Multiprocessor system
JPH0447433A (en) Multi-processor control system
JPH03265250A (en) Communication controller
JPH01241660A (en) Communication system between processor