JPS63271654A - Multiprocessor system - Google Patents

Multiprocessor system

Info

Publication number
JPS63271654A
JPS63271654A JP10706387A JP10706387A JPS63271654A JP S63271654 A JPS63271654 A JP S63271654A JP 10706387 A JP10706387 A JP 10706387A JP 10706387 A JP10706387 A JP 10706387A JP S63271654 A JPS63271654 A JP S63271654A
Authority
JP
Japan
Prior art keywords
interrupt
processor
address
section
bit
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
JP10706387A
Other languages
Japanese (ja)
Inventor
Hidehiko Tobe
戸部 英彦
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.)
GE Healthcare Japan Corp
Original Assignee
Yokogawa Medical Systems 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 Yokogawa Medical Systems Ltd filed Critical Yokogawa Medical Systems Ltd
Priority to JP10706387A priority Critical patent/JPS63271654A/en
Publication of JPS63271654A publication Critical patent/JPS63271654A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To speedily enable a processor to judge an interruption destination by realizing a communication function even by a processor which has no read- modify-write function. CONSTITUTION:When a processor 11 initiates an interruption to a processor 10, the MSB of an address #1 of an interruption register part 2 corresponding to the processor 10 is set. When this bit is set, its output is passed through an OR gate 3 to interrupt the processor 10. Further, a bit is set for data of an interruption status part 4 assigned to the processor 11. Further, the interrupted processor 10 judges which processor initiates the interruption from the data. Then the processor 10 resets the MSB of the address #1 of the interruption register part 2 to clear the interruption.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、共有バスを介して互いに接続された複数のプ
ロセッサ(CPtJ)からなるマルチプロセッサシステ
ムに関し、更に詳しくは、各プロセッサ間の通信手段と
しての割込方式の政庁に関するものである。
Detailed Description of the Invention (Field of Industrial Application) The present invention relates to a multiprocessor system consisting of a plurality of processors (CPtJ) connected to each other via a shared bus. This is related to government offices using the interruption method.

(従来の技術) 第4図は、通信割込機能を備えた従来のマルチプロセッ
サシステムの一例を示す構成ブロック図であ葛。図にお
いて、10,11.・・・、1nは共有バスBSを介し
て互いに接続されたプロセッサ、2は共有バスBS上の
ある1つのアドレス(例えばAdrs#o)上に置かれ
たレジスタで、データの1ビット(bit )に対応し
て順番にプロセッサio、i1.・・・、Inを割当て
である。3はレジスタ2の各ビットからの出力を入力す
るオアゲートで、その出力端はプロセッサio、i1.
・・・。
(Prior Art) FIG. 4 is a configuration block diagram showing an example of a conventional multiprocessor system equipped with a communication interrupt function. In the figure, 10, 11. ..., 1n is a processor connected to each other via the shared bus BS, 2 is a register placed on one address (for example, Adrs#o) on the shared bus BS, and 1n is a register placed on a certain address (for example, Adrs#o) on the shared bus BS, and 1n is a register placed on a certain address (for example, Adrs#o) on the shared bus BS. Processors io, i1 . ..., In is assigned. 3 is an OR gate that inputs the output from each bit of register 2, and its output terminal is connected to processors io, i1 .
....

1nの割込入力端に接続されている。It is connected to the interrupt input terminal of 1n.

今、プロセッサ10は、他のプロセッサ(例えばプロセ
ッサ11)が割込を発生するときは、レジスタ2におい
て、プロセッサ11に割当てられているD+にビットを
立てることにより割込が発生し、プロセッサ10がこの
アドレス(△drs #0)を読むことにより、どのプ
ロセッサからの割込であるか知ることができるようにな
っている。
Now, when another processor (for example, processor 11) generates an interrupt, processor 10 sets a bit in D+, which is assigned to processor 11, in register 2, and the interrupt is generated. By reading this address (Δdrs #0), it is possible to know which processor the interrupt is from.

この割込はアドレス(Adrs#O)のDlのビットを
落すことによりクリアされる。
This interrupt is cleared by dropping the Dl bit of address (Adrs#O).

従来装置によれば、最大共有バスBSのデータ幅までの
プロセッサ数を有するシステムを構成することができる
According to the conventional device, it is possible to configure a system having the number of processors up to the maximum data width of the shared bus BS.

(発明が解決しようとする問題点) 第4図に示すように構成された従来システムによれば、
プロセッサが割込を判断し、その割込をクリアする前に
別のプロセッサからの割込が発生し、レジスタ2のその
プロセッサに割付けられたビットが新たに立てられたと
しても、はじめの割込をクリアする際、新たに立てられ
たビットまで同時にクリアすることがある。このため、
レジスタ2のアクセスには、1つのバスサイクルで、読
込み・書込みができる(ビット単位の操作ができる)リ
ード・モディファイ・ライト機能を有するプロセッサを
使用しなければならないという問題がある。
(Problems to be solved by the invention) According to the conventional system configured as shown in FIG.
Even if an interrupt from another processor occurs before the processor recognizes the interrupt and clears the interrupt, and the bit assigned to that processor in register 2 is newly set, the first interrupt When clearing a bit, newly set bits may also be cleared at the same time. For this reason,
A problem with accessing the register 2 is that it is necessary to use a processor having read/modify/write functions that can read and write (capable of bit-by-bit operations) in one bus cycle.

本発明はこのような問題点に鑑みてなされたもので、そ
の目的は、リード・モディファイ・ライト機能のないプ
ロセッサによっても、同様の通信割込を行うことの可能
なマルチブロセツリ′システムを実現することにある。
The present invention was made in view of these problems, and its purpose is to realize a multi-processor system that can perform similar communication interrupts even with processors that do not have read/modify/write functions. It's about doing.

(問題点を解決するための手段) 第1図は本発明の原理的な構成ブロック図である。図に
おいて、10,11.・・・、Inは共有バスBSを介
して互いに接続されたプロセッサ、2は共有バスBS上
のある1つのアドレス61−に置かれた割込レジスタ部
で、プロセッサの数(n個)に応じて予め割付けられた
アドレス空間をもっている。3は割込レジスタ部2のア
ドレスの1ビット(例えばMSB:最上位ビット)のい
ずれかが立てられることにより割込を発生する割込発生
部で、その出力端は対応するプロセッサの割込端子に接
続されている。4は割込レジスタ部2のMSBをあるア
ドレスのデータ1ビットに割当て、どのプロセッサから
割込が発生しているかを読出すための割込ステータス部
で対応するプロセッサに結合している。割込レジスタ部
22割込発生部3及び割込ステータス部4は各プロセッ
サに対応してそれぞれ設けられ、割込レジスタ部は、各
プロセッサに応じて異なるアドレス空間をもっている。
(Means for Solving the Problems) FIG. 1 is a block diagram of the basic configuration of the present invention. In the figure, 10, 11. ..., In is a processor connected to each other via the shared bus BS, 2 is an interrupt register section placed at a certain address 61- on the shared bus BS, and In is an interrupt register section placed at a certain address 61- on the shared bus BS, depending on the number of processors (n pieces). It has a pre-allocated address space. Reference numeral 3 denotes an interrupt generation section that generates an interrupt when one bit (for example, MSB: most significant bit) of the address of the interrupt register section 2 is set, and its output terminal is connected to the interrupt terminal of the corresponding processor. It is connected to the. Reference numeral 4 allocates the MSB of the interrupt register section 2 to 1 bit of data at a certain address, and connects it to the corresponding processor in an interrupt status section for reading which processor has generated an interrupt. An interrupt register section 22, an interrupt generating section 3, and an interrupt status section 4 are provided corresponding to each processor, and the interrupt register section has a different address space depending on each processor.

(作用) あるプロセッサからの割込は、割込レジスタ部2に入力
され、割込発生部3により該当するプロセッサに割込が
入力される。割込を受けたプロセッサは、割込ステータ
ス部を読むことによりどのプロセッサからの割込か判断
し、その後、割込レジスタ部2をクリアする。
(Operation) An interrupt from a certain processor is input to the interrupt register section 2, and the interrupt generating section 3 inputs the interrupt to the corresponding processor. A processor that receives an interrupt determines which processor has caused the interrupt by reading the interrupt status section, and then clears the interrupt register section 2.

(実施例) 以下、図面を参照して本発明の一実施例を詳細に説明す
る。
(Example) Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第2図は、本発明システムの一例を示す構成ブロック図
である。図において、第1図の各部分と対応するものに
は同一符号を付して示す。この実施例では、プロセッサ
10.12.・・・、1F(アドレス#0〜#F)に1
6ビットマイクロプロセツサを用い、これらの各プロセ
ッサを16ビットデータバスBSを介して結ぶことによ
りシステムを構成している。ここで、共有バスBSは、
パスアービトレーシミン機能を有する。割込レジスタ部
2は、プロセッサ10〜1Fの数(#O〜#F)と同じ
割込レジスタからなり、1つの割込レジスタのアドレス
は、1つのプロセッサに対応している。割込発生部3は
割込レジスタ部2の各割込レジスタの全てのMSBのデ
ータを入力するオアゲートで構成され、その出力端が対
応するプロセッサの割込端子に接続されている。割込ス
テータス部4は、各割込レジスタのすべてのMSBをあ
るアドレスのデータ1ビットに割当てたレジスタが用い
られ、その内容は対応するプロセッサが読出すことがで
きるように構成されている。
FIG. 2 is a configuration block diagram showing an example of the system of the present invention. In the figure, parts corresponding to those in FIG. 1 are designated by the same reference numerals. In this example, processors 10.12. ..., 1 on 1F (address #0 to #F)
The system is constructed by using 6-bit microprocessors and connecting these processors via a 16-bit data bus BS. Here, the shared bus BS is
Has a path arbitrage simulator function. The interrupt register unit 2 includes the same number of interrupt registers as the processors 10 to 1F (#O to #F), and the address of one interrupt register corresponds to one processor. The interrupt generating section 3 is composed of an OR gate that inputs all MSB data of each interrupt register of the interrupt register section 2, and its output terminal is connected to the interrupt terminal of the corresponding processor. The interrupt status section 4 uses a register in which all MSBs of each interrupt register are assigned to 1 bit of data at a certain address, and the contents thereof are configured so that the corresponding processor can read them.

ここでは、プロセッサ10(アドレス#0)に対応する
回路についてのみ例示するが、各プロセッIIJ″11
〜1F(アドレス#1〜アドレス#F)についても同様
の回路がそれぞれ設けられている。
Here, only the circuit corresponding to the processor 10 (address #0) is illustrated, but each processor
Similar circuits are provided for ~1F (address #1 to address #F), respectively.

このように構成したシステムの動作を説明すれば、以下
の通りである。
The operation of the system configured as described above will be explained as follows.

第3図は、その動作の一例を示すフローチャートである
。ここでは、プロセッサ11(アドレス#1)がプロセ
ッサ10(アドレス#O)に割込を出す場合を想定して
いる。
FIG. 3 is a flowchart showing an example of the operation. Here, it is assumed that the processor 11 (address #1) issues an interrupt to the processor 10 (address #O).

はじめに、プロセッサ11がプロセッサ10に対応して
設けられている割込レジスタ部2のアドレス#1 (A
drs #1 )のMSBにビットを立てる。これによ
って割込を発生さぜる(ステップ1)。MSBにビット
が立てられると、その出力はオアゲートを通ってプロセ
ッサ10に割込が入力される(ステップ2)。又、割込
ステータス部4のプロセッサ11に割当てられたデータ
D14にビットが立てられる。割込を受けたプロセッサ
10は1割込ステータス部4の内部を読み、どのプロセ
ッサからの割込か、この場合は、データD14にビット
が立てられているところからプロセッサ11からの割込
であると判断する(ステップ3)。
First, the processor 11 selects address #1 (A
Set a bit in the MSB of drs #1). This causes an interrupt to be generated (step 1). When the MSB bit is set, the output passes through the OR gate and an interrupt is input to the processor 10 (step 2). Further, a bit is set in the data D14 assigned to the processor 11 of the interrupt status section 4. The processor 10 that received the interrupt reads the inside of the 1-interrupt status section 4 and determines which processor the interrupt came from.In this case, the bit set in the data D14 indicates that it is the interrupt from the processor 11. (Step 3).

続いて、プロセッサ10は割込レジスタ部2のアドレス
#1のMSBのビットを落す。これによって割込をクリ
アする(ステップ4)。
Subsequently, the processor 10 drops the MSB bit of address #1 of the interrupt register section 2. This clears the interrupt (step 4).

以上のような動作により、割込を受けたブロセッtすは
、割込ステータス部4を読むことによってどのプロセッ
サからの割込であるか判断し、割込のクリアは割込レジ
スタ部2のビットを落すというライト(write )
 1回の動作で行うことができる。従って、各プロセッ
サはリード・モディファイ・ライト機能のないものが使
用可能となる。
Through the operations described above, the processor that receives the interrupt determines which processor the interrupt is from by reading the interrupt status field 4, and clears the interrupt by checking the bits in the interrupt register section 2. write
This can be done in one motion. Therefore, each processor without read/modify/write functions can be used.

(発明の効果) 以上詳細に説明したように、本発明によれば、リード・
モディファイ・ライト機能のないプロセッサによっても
、通信割込機能を備えたマルチプロセッサシステムを構
成することができる。又、割込ステータス部は共有バス
上に置くような構成ではないため、アービトレーション
を介さず、ブロセッナが割込相手先を迅速に判断するこ
とができる。
(Effects of the Invention) As explained in detail above, according to the present invention, the lead
A multiprocessor system with a communication interrupt function can be configured even with a processor without a modify/write function. Furthermore, since the interrupt status section is not configured to be placed on a shared bus, Brossena can quickly determine the destination of the interrupt without going through arbitration.

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

第1図は本発明の原理的な構成ブロック図、第2図は本
発明システムの一例を示す構成ブロック図、第3図はそ
の動作の一例を示すフローチャート、第4図は通信割込
機能を備えた従来システムの構成ブロック図である。
FIG. 1 is a basic configuration block diagram of the present invention, FIG. 2 is a configuration block diagram showing an example of the system of the present invention, FIG. 3 is a flowchart showing an example of its operation, and FIG. 4 is a communication interrupt function. FIG. 2 is a block diagram illustrating the configuration of a conventional system.

Claims (1)

【特許請求の範囲】 共有バスを介して互いに接続された複数のプロセッサと
、前記共有バス上のある1つのアドレス上に置かれ前記
プロセッサの数に応じて割付けられたアドレス空間を持
つ割込レジスタ部と、この割込レジスタ部のアドレスの
1ビットのいずれかが立てられることより対応するプロ
セッサに対して割込を発生する割込発生部と、前記割込
レジスタ部のMSBをあるアドレスのデータ1ビットに
割当て、どのプロセッサから割込が発生しているか読出
すことができるようにした割込ステータス部とを備え、 前記割込レジスタ部、割込発生部及び割込ステータス部
は各プロセッサに対応してそれぞれ設けられ、前記割込
レジスタ部は各プロセッサに応じて異なるアドレス空間
をもっていることを特徴とするマルチプロセッサシステ
ム。
[Claims] A plurality of processors connected to each other via a shared bus, and an interrupt register having an address space placed on a certain address on the shared bus and allocated according to the number of processors. an interrupt generating section that generates an interrupt to the corresponding processor when one bit of the address of this interrupt register section is set; and an interrupt status section allocated to one bit so that it is possible to read from which processor an interrupt is generated, and the interrupt register section, interrupt generation section, and interrupt status section are assigned to each processor. A multiprocessor system, wherein the interrupt register sections are provided correspondingly to each other, and the interrupt register section has a different address space depending on each processor.
JP10706387A 1987-04-30 1987-04-30 Multiprocessor system Pending JPS63271654A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10706387A JPS63271654A (en) 1987-04-30 1987-04-30 Multiprocessor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10706387A JPS63271654A (en) 1987-04-30 1987-04-30 Multiprocessor system

Publications (1)

Publication Number Publication Date
JPS63271654A true JPS63271654A (en) 1988-11-09

Family

ID=14449549

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10706387A Pending JPS63271654A (en) 1987-04-30 1987-04-30 Multiprocessor system

Country Status (1)

Country Link
JP (1) JPS63271654A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53102643A (en) * 1977-02-21 1978-09-07 Hitachi Ltd Interrupt processing system for computer
JPS54153543A (en) * 1978-05-25 1979-12-03 Oki Electric Ind Co Ltd Interruption system between processors
JPS56118128A (en) * 1980-02-22 1981-09-17 Matsushita Electric Ind Co Ltd Interruption controlling system for peripheral control chip of microcomputer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53102643A (en) * 1977-02-21 1978-09-07 Hitachi Ltd Interrupt processing system for computer
JPS54153543A (en) * 1978-05-25 1979-12-03 Oki Electric Ind Co Ltd Interruption system between processors
JPS56118128A (en) * 1980-02-22 1981-09-17 Matsushita Electric Ind Co Ltd Interruption controlling system for peripheral control chip of microcomputer

Similar Documents

Publication Publication Date Title
US4777591A (en) Microprocessor with integrated CPU, RAM, timer, and bus arbiter for data communications systems
EP0194462B1 (en) System bus means for inter-processor communication
US4542455A (en) Signal-processing multiprocessor system
JPS62243058A (en) Control method of interruption for multi-processor system
US4641308A (en) Method of internal self-test of microprocessor using microcode
EP0150084B1 (en) Architecture for intelligent control of data communication adapters
JPS5826584B2 (en) data processing equipment
JPS63271654A (en) Multiprocessor system
JPH01305460A (en) Inter-processor communication system
JPH0323940B2 (en)
JPH0227696B2 (en) JOHOSHORISOCHI
JP3710798B2 (en) Compound processing unit
JPS63250763A (en) Inter-processor communication system
JPS61153770A (en) Image processor
JPS59188900A (en) Data processor
JPH01276241A (en) Multiple interrupting device
JPH03175538A (en) Duplex processor
JPS6013502B2 (en) Configuration control specification method
JPS61269545A (en) Computer system
JPS5880751A (en) Data processor
JPS60539A (en) Monitoring system of process progress
JPH0370238A (en) Method and circuit for deciding number of transferring words
JPS59121455A (en) Prefixing system
JPH0628152A (en) Data input type logical operation unit
JPS59211149A (en) Comparison stopping system