Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0250504B2 - - Google Patents
[go: Go Back, main page]

JPH0250504B2 - - Google Patents

Info

Publication number
JPH0250504B2
JPH0250504B2 JP817181A JP817181A JPH0250504B2 JP H0250504 B2 JPH0250504 B2 JP H0250504B2 JP 817181 A JP817181 A JP 817181A JP 817181 A JP817181 A JP 817181A JP H0250504 B2 JPH0250504 B2 JP H0250504B2
Authority
JP
Japan
Prior art keywords
bus
interrupt
shared
processor
processors
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
JP817181A
Other languages
Japanese (ja)
Other versions
JPS57121726A (en
Inventor
Eiichi Kagawa
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP817181A priority Critical patent/JPS57121726A/en
Publication of JPS57121726A publication Critical patent/JPS57121726A/en
Publication of JPH0250504B2 publication Critical patent/JPH0250504B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/24Handling requests for interconnection or transfer for access to input/output bus using interrupt

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)

Description

【発明の詳細な説明】 この発明は、複数のプロセツサ及びこれらに共
有されるデバイスを含むマルチプロセツサシステ
ムに関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a multiprocessor system including a plurality of processors and devices shared by these processors.

マルチプロセツサシステムは、複数台のプロセ
ツサがデバイス(例えば、メモリ、プロセス入出
力装置、又はタイプライタ、フロツプーデイス
ク、CRTなどの周辺機器当)。を共有する場合に
一般に採用されるシステム構成である。通常、高
速でしか安価な方法としてコモンバスを用いたバ
ス構成によるマルチプロセツサシステムが適用さ
れている。
A multiprocessor system is a system in which multiple processors are used as devices (e.g., memory, process input/output devices, or peripherals such as typewriters, floppy disks, CRTs, etc.). This is a system configuration commonly adopted when sharing. Usually, a multiprocessor system with a bus configuration using a common bus is used as a high-speed and inexpensive method.

従来この種の装置として第1図に示すものがあ
つた。第1図において11〜1nは複数n台のプ
ロセツサ、2はバスコントローラ、3はバス切換
装置、4a〜4bは共有デバイス、51〜5nは
ローカルバス、6はコモンバスを示す。
A conventional device of this type is shown in FIG. In FIG. 1, 11 to 1n are a plurality of n processors, 2 is a bus controller, 3 is a bus switching device, 4a to 4b are shared devices, 51 to 5n are local buses, and 6 is a common bus.

バスコントローラ2はコモンバス6を制御する
ものである。
The bus controller 2 controls the common bus 6.

次に動作について説明する。第1図の構成にお
いて、各プロセツサ11〜1nは共有デバイス4
a,4bを使用しようとした時、バスコントロー
ラ2にバスリクエスト信号REQ1〜REQnを送信
する。バスコントローラ2はこのバスリクエスト
信号を受信すると、当該プロセツサのローカルバ
ス51〜5nのいずれか一つとコモンバス6を結
合するようにバス切換装置3に指令を出す。この
ようにして各プロセツサ11〜1nは共有デバイ
ス4a,4bを占有することができる。
Next, the operation will be explained. In the configuration shown in FIG. 1, each processor 11 to 1n is connected to a shared device 4.
When attempting to use a, 4b, bus request signals REQ1 to REQn are sent to the bus controller 2. When the bus controller 2 receives this bus request signal, it issues a command to the bus switching device 3 to connect the common bus 6 to any one of the local buses 51 to 5n of the processor concerned. In this way, each of the processors 11-1n can occupy the shared devices 4a, 4b.

ところで、一般にプロセツサが一台のスタンド
アロンシステムにおいて、デバイスの側からプロ
セツサに対して要求を出す場合、通常割込制御の
方法が使用される。即ち、デバイス側でプロセツ
サに対して緊急処理の要求が発生した場合(たと
えばプロセス入力については外部信号からのタイ
ミングの発生、周辺機器等については、ジヨブ完
了或いはデータ満杯或いはデータ空などの状態変
化信号発生など)、要求の要因毎に割込No.を設け
ておき、プロセツサに割込をかけて該当する割込
No.を認識して対応した割込処理を実行させるよう
にする。割込はデバイス単位に行い、割込No.の数
は割込を必要とするデバイスの数だけ必要とな
る。
By the way, in a stand-alone system with one processor, when a device issues a request to the processor, an interrupt control method is generally used. In other words, when an emergency processing request is made to the processor on the device side (for example, for process input, timing is generated from an external signal, for peripheral equipment, etc., a status change signal such as job completion, data full, or data empty) is generated. ), set an interrupt number for each request factor, and send an interrupt to the processor to generate the corresponding interrupt.
Recognize the No. and execute the corresponding interrupt processing. Interrupts are performed on a device-by-device basis, and the number of interrupt numbers required is equal to the number of devices that require interrupts.

さて、マルチプロセツサシステム構成において
も同様に共有デバイスの側からプロセツサに対し
て割込要求を行う場合があり割込制御が必要とな
る。しかるに、マルチプロセツサシステムにおけ
る割込制御は前記スタンドアロンシステムに比し
てはるかに複雑で共有デバイスからの要求を該当
する任意のプロセツサに対して割込をかけなけれ
ばならない。即ち、割込要求を持つた共有デバイ
スがn台有つた時、mケの割込要求をn台のプロ
セツサのどれに対して行うかの判断が必要であ
る。
Now, in a multiprocessor system configuration as well, interrupt requests may be made from the shared device to the processor, and interrupt control is required. However, interrupt control in a multiprocessor system is much more complex than in the standalone system, and a request from a shared device must be interrupted by any corresponding processor. That is, when there are n shared devices that have interrupt requests, it is necessary to determine which of the n processors the m interrupt requests should be made to.

従来のシステム構成では共有デバイス4a,4
bからの割込制御は特に無く、以下の様な方法に
対処していた。即ち、共有デバイス4a,4bか
らの割込要求の方法としては、コモンバス6を通
して割込データ信号を設け各プロセツサが(全て
のプロセツサ)常に定期的にスキヤン(プログラ
ムによるスキヤン)して割込発生を認識する方
法、或いは割込を必要とするデバイスを共有デバ
イスとして置かず、割込先のプロセツサのローカ
ルバスに接続し専用デバイスとしてスタンドアロ
ンシステムと同じ割込制御法(デバイスの専有
化)を用いる方法等があつた。
In the conventional system configuration, shared devices 4a, 4
There is no particular interrupt control from b, and the following methods were used to deal with it. That is, as a method for requesting an interrupt from the shared devices 4a and 4b, an interrupt data signal is provided through the common bus 6, and each processor (all processors) always periodically scans (scans by program) to detect the occurrence of an interrupt. A method of recognizing the device, or a method of using the same interrupt control method (dedicated device) as a standalone system by connecting the device that requires interrupts to the local bus of the interrupt destination processor instead of placing it as a shared device and treating it as a dedicated device. And so on.

従来のマルチプロセツサシステムは以上の様に
構成されているので該当するプロセツサ11〜1
nに対して、共有デバイス4a,4bからの割込
要求を行う場合、各プロセツサ11〜1n毎のプ
ログラムスキヤンの際の割込応答の低下、或いは
デバイスを特定のプロセツサに専有化した際、他
のプロセツサは該デバイスを共有できないこと、
又デバイスを専有化するとそのデバイスを必要と
するプロセツサの数だけ専有デバイスが必要なた
めシステムが高価なものになるなどの欠点があつ
た。
Since the conventional multiprocessor system is configured as described above, the corresponding processors 11 to 1
When an interrupt request is made from the shared devices 4a, 4b to the shared device 4a, 4b, a drop in the interrupt response during program scan of each processor 11 to 1n, or when the device is exclusive to a specific processor, etc. processors cannot share the device;
Further, when a device is made exclusive, there is a drawback that the system becomes expensive because the number of exclusive devices is equal to the number of processors that require the device.

この発明は、上記のような従来のものの欠点を
除去する為になされたもので、共有の割込を認識
し、割込先のプロセツサを判別する為に割込No.テ
ーブルを設け、任意の共有デバイスの割込を1
台、またはそれ以上の任意のプロセツサに対して
行うことを可能とし、しかも安価でシステム効率
を低下させないマルチプロセツサシステムを提供
することを目的としている。
This invention was made to eliminate the drawbacks of the conventional ones as described above, and it recognizes shared interrupts and provides an interrupt number table to determine the processor to which the interrupt occurs. 1 shared device interrupt
It is an object of the present invention to provide a multiprocessor system that can be used for any number of processors, including one or more processors, is inexpensive, and does not reduce system efficiency.

以下、この発明の一実施例を図について説明す
る。第2図において、7は割込No.テーブルであ
る。共有デバイス4a,4bからの割込要求は、
コモンバス6を通してITリクエスト信号ITRと
してバスコントローラ2′に送られ、バスコント
ローラ2′のIT認識信号の発生により、当該共有
デバイスに対応するITNo.をバスコントローラ
2′へ送る。バスコントローラ2′からは各プロセ
ツサ11〜1nに対して割込要求をITリクエス
ト信号ITR1〜ITRnとして送られる。
An embodiment of the present invention will be described below with reference to the drawings. In FIG. 2, 7 is an interrupt number table. Interrupt requests from shared devices 4a and 4b are
It is sent to the bus controller 2' as an IT request signal ITR through the common bus 6, and when the bus controller 2' generates an IT recognition signal, the IT No. corresponding to the shared device is sent to the bus controller 2'. The bus controller 2' sends interrupt requests to the respective processors 11-1n as IT request signals ITR1-ITRn.

又第3図は共有デバイスの割込No.テーブルを示
す。今割込を必要とする共有デバイスがm台とす
ると、割込No.はIT0〜IT(m−1)として各ITリ
クエスト信号に対応してメモリを1番地(1ワー
ド)ずつ割付け割込先プロセツサの要/否を1ワ
ードの中で1ビツトずつ割付けておく、たとえ
ば、第3図においてIT0はプロセツサ11,cpu
1に対して割込をかける、IT2はプロセツサ1
3,cpu3とプロセツサ1n,cpunの2台に同時
に割込をかけるといつた具合に設定される。
Further, FIG. 3 shows the interrupt number table of the shared device. Assuming that there are m shared devices that require interrupts, the interrupt numbers are IT0 to IT(m-1), and the memory is allocated one address (one word) at a time in response to each IT request signal. One bit is assigned in each word to indicate whether a processor is necessary or not. For example, in Figure 3, IT0 is processor 11, cpu.
1, IT2 is processor 1
3. The settings are as follows: interrupts are applied to two CPUs, cpu3, processor 1n, and cpun, at the same time.

又第4図は本発明の動作を示すバスコントロー
ラ2′の制御動作フローチヤートである。
FIG. 4 is a flow chart of the control operation of the bus controller 2' showing the operation of the present invention.

次に、本発明の動作を第3図、及び第5図に沿
つて説明する。まず、コモンバス6以下の共有デ
バイス4a,4bからの割込は全てバスコントロ
ーラ2′の管理下におかれる。共有デバイス4a,
4bからコモンバス6にITリクエスト信号を発
生すると、その信号をコモンバス6に接続された
信号線を介してバスコントローラ2′が受取り、
割込要求が発生したことを認識する。バスコント
ローラ2′はITリクエスト信号を受け取ると、信
号線及びコモンバス6を介してIT認識信号を各
共有デバイス4a,4bに送る。各共有デバイス
の内、ITリクエスト信号を発生した共有デバイ
スは、バスコントローラ2′からIT認識信号を受
け取ると、ITNo.をコモンバス6及びこのコモン
バス6に接続されたデータバスを介してバスコン
トローラ2′へ送信する。このITNo.は、任意の共
有デバイスに対応したものであり、バスコントロ
ーラ2′はどの共有デバイスから割込要求があつ
たかを認識する。次いで、バスコントローラ2′
は、どのプロセツサ11〜1nに対して割込要求
を行うのかを判別するため、割込No.テーブル7を
参照する。割込No.テーブルには、ITNo.に対応し
て割込先プロセツサNo.が格納されているから該当
のプロセツサNo.(cpuNo.)を読み出して来る。次
に、バスコントローラ2′から該当のプロセツサ
に対してITリクエスト信号と割込要因に対応す
るITNo.を発生して割込をかける。プロセツサの
数はn台であり、割込要因が各プロセツサ11〜
1nのタイミング的な同期を必要とする要因のと
きは、n台のプロセツサに順次割込む必要があ
り、プロセツサ11からプロセツサ1n迄順次割
込要求を行う。即ち、1つの割込要因に対して最
大n回の割込要求を行う。
Next, the operation of the present invention will be explained with reference to FIGS. 3 and 5. First, all interrupts from the shared devices 4a, 4b on the common bus 6 and below are under the control of the bus controller 2'. shared device 4a,
When an IT request signal is generated from 4b to the common bus 6, the bus controller 2' receives the signal via the signal line connected to the common bus 6.
Recognize that an interrupt request has occurred. When the bus controller 2' receives the IT request signal, it sends an IT recognition signal to each shared device 4a, 4b via the signal line and the common bus 6. When the shared device that has generated the IT request signal among the shared devices receives the IT recognition signal from the bus controller 2', it sends the IT No. to the bus controller 2' via the common bus 6 and the data bus connected to this common bus 6. Send to. This IT No. corresponds to an arbitrary shared device, and the bus controller 2' recognizes from which shared device the interrupt request has been made. Next, the bus controller 2'
refers to the interrupt number table 7 in order to determine which processors 11 to 1n should receive an interrupt request. Since the interrupt number table stores interrupt destination processor numbers corresponding to IT numbers, the corresponding processor number (cpu number) is read out. Next, the bus controller 2' generates an IT request signal and an IT number corresponding to the interrupt factor to cause an interrupt to the corresponding processor. The number of processors is n, and the interrupt factor is
In the case of a factor requiring timing synchronization of 1n, it is necessary to sequentially interrupt n processors, and interrupt requests are made sequentially from processor 11 to processor 1n. That is, a maximum of n interrupt requests are made for one interrupt factor.

なお、上記実施例では割込No.テーブル7はバス
コントローラ2′の管理下におかれ、割込先プロ
セツサNo.はあらかじめ設定されていたが、割込No.
テーブル7をコモンバス以下の共有デバイスの一
つとみなしてもよく、そうした場合、プロセツサ
側からいつでも任意に割込先プロセツサNo.を設定
することが可能である。
In the above embodiment, the interrupt number table 7 is under the control of the bus controller 2', and the interrupt destination processor number is set in advance.
Table 7 may be regarded as one of the shared devices below the common bus, and in such a case, the interrupt destination processor number can be arbitrarily set from the processor side at any time.

以上のようにこの発明によれば、共有デバイス
から割込の為に割込No.テーブルを設けたので各プ
ロセツサは任意の共有デバイスから割込を受ける
ことが可能で、また各共有デバイスは、任意のプ
ロセツサに割込が可能となつたので、プロセツサ
の性能向上、デバイスの共有化が行え、安価で効
率の良いシステム構成が組めるという効果があ
る。
As described above, according to the present invention, since an interrupt number table is provided for interrupts from shared devices, each processor can receive interrupts from any shared device, and each shared device can Since it is now possible to interrupt any processor, the performance of the processor can be improved, devices can be shared, and an inexpensive and efficient system configuration can be constructed.

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

第1図は従来のマルチプロセツサシステムを示
す系統図、第2図はこの発明の一実施例によるマ
ルチプロセツサシステムを示す系統図、第3図は
共有デバイスに対応した割込先プロセツサNo.を格
納した割込No.テーブル、第4図は本発明の動作を
示すフローチヤートである。 11…1n…プロセツサ、2,2′…バスコン
トローラ、3…バス切換装置、4a,4b…共有
デバイス、51,5n…ローカルバス、6…コモ
ンバス、7…割込No.テーブル。尚、図中同一符号
は同一、又は相当部分を示す。
FIG. 1 is a system diagram showing a conventional multiprocessor system, FIG. 2 is a system diagram showing a multiprocessor system according to an embodiment of the present invention, and FIG. 3 is a system diagram showing interrupt destination processor numbers corresponding to shared devices. FIG. 4 is a flowchart showing the operation of the present invention. 11...1n...Processor, 2, 2'...Bus controller, 3...Bus switching device, 4a, 4b...Shared device, 51, 5n...Local bus, 6...Common bus, 7...Interrupt No. table. Note that the same reference numerals in the figures indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】 1 各々ローカルバスを有する複数台のプロセツ
サと、 上記各プロセツサが共有して使用できるコモン
バスと、 上記コモンバスに接続され上記各プロセツサが
共有して使用できる複数の共有デバイスと、 上記各プロセツサと上記コモンバスとに接続さ
れ上記コモンバスを制御するとともに上記共有デ
バイスからの割込要求を制御するバスコントロー
ラと、 上記各ローカルバスと上記コモンバスと上記バ
スコントローラに接続され上記バスコントローラ
からの出力によつて上記各ローカルバスのいずれ
か一つを選択して上記コモンバスに接続するバス
切換装置と、 上記バスコントローラに接続され上記共有デバ
イスからの割込要求に対応して任意の数の割込先
プロセツサNo.を格納した割込No.テーブルとを備
え、 上記各プロセツサは上記共有デバイスを使用す
るときに上記バスコントローラにバスリクエスト
信号を送信する機能を有し、 上記バスコントローラは上記バスリクエスト信
号を受信して上記バス切換装置に当該プロセツサ
の上記ローカルバスのいずれか一つと上記コモン
バスを結合するように上記バス切換装置に指令を
出す機能を有し、 上記バス切換装置は上記指令を受信して当該プ
ロセツサの上記ローカルバスのいずれか一つと上
記コモンバスを結合する機能を有し、 上記共有デバイスは上記各プロセツサに対して
割込要求が発生した際上記コモンバスを通して
ITリクエスト信号を上記バスコントローラに送
る機能を有し、 上記バスコントローラは上記ITリクエスト信
号を受信してその割込要因を認識し上記割込No.テ
ーブルを参照して該当する任意の数のプロセツサ
に対して上記割込要求に対応するITリクエスト
信号を送る機能を有する。 ことを特徴とするマルチプロセツサシステム。
[Scope of Claims] 1. A plurality of processors each having a local bus, a common bus that can be shared by the processors, and a plurality of shared devices that are connected to the common bus and can be shared by the processors; A bus controller connected to each of the above processors and the common bus to control the common bus and control interrupt requests from the shared device; a bus switching device that selects any one of the local buses and connects it to the common bus according to the output; and a bus switching device that selects any one of the local buses and connects it to the common bus; each processor has a function of transmitting a bus request signal to the bus controller when using the shared device, and the bus controller The bus switching device has a function of receiving a request signal and issuing a command to the bus switching device to connect one of the local buses of the processor to the common bus, and the bus switching device receives the command. It has a function to receive and connect one of the local buses of the processor to the common bus, and the shared device connects the common bus with one of the local buses of the processor.
The bus controller has a function of sending the IT request signal to the bus controller, and the bus controller receives the IT request signal, recognizes the interrupt cause, refers to the interrupt number table, and sends the corresponding arbitrary number of processors. It has a function to send an IT request signal corresponding to the above-mentioned interrupt request. A multiprocessor system characterized by:
JP817181A 1981-01-21 1981-01-21 Multiprocessor system Granted JPS57121726A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP817181A JPS57121726A (en) 1981-01-21 1981-01-21 Multiprocessor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP817181A JPS57121726A (en) 1981-01-21 1981-01-21 Multiprocessor system

Publications (2)

Publication Number Publication Date
JPS57121726A JPS57121726A (en) 1982-07-29
JPH0250504B2 true JPH0250504B2 (en) 1990-11-02

Family

ID=11685877

Family Applications (1)

Application Number Title Priority Date Filing Date
JP817181A Granted JPS57121726A (en) 1981-01-21 1981-01-21 Multiprocessor system

Country Status (1)

Country Link
JP (1) JPS57121726A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH077379B2 (en) * 1983-06-22 1995-01-30 株式会社日立製作所 Interrupt selection method for multi-processing system
JPS6214255A (en) * 1985-07-11 1987-01-22 Nec Corp Multi processing system for input output interruption

Also Published As

Publication number Publication date
JPS57121726A (en) 1982-07-29

Similar Documents

Publication Publication Date Title
EP0063334B1 (en) Data processing apparatus for a multiprocessor system
US4796176A (en) Interrupt handling in a multiprocessor computing system
US6141715A (en) Method and system for avoiding live lock conditions on a computer bus by insuring that the first retired bus master is the first to resubmit its retried transaction
US4381542A (en) System for interrupt arbitration
US5805844A (en) Control circuit for an interface between a PCI bus and a module bus
JPH04312160A (en) Multiprocessor system and its message transmission and reception controller
US6061757A (en) Handling interrupts by returning and requeuing currently executing interrupts for later resubmission when the currently executing interrupts are of lower priority than newly generated pending interrupts
JPS6119062B2 (en)
JPH0250504B2 (en)
EP2096550B1 (en) Information processing apparatus and control method thereof
EP0533429B1 (en) Computer bus control system
CA1299295C (en) Dma access arbitration device in which cpu can arbitrate on behalfof attachment having no arbiter
JP2576934B2 (en) Memory-mapped interrupt method
JPS5850410Y2 (en) Interrupt priority controller
JP3211694B2 (en) Multiprocessor connection method
JP2667285B2 (en) Interrupt control device
KR0171772B1 (en) I / O Device Board Identification Method
JP3050131B2 (en) Arbitration method
JPH07334453A (en) Memory access system
GB2334415A (en) Interfacing multiplexed and non- multiplexed busses
JPH02730B2 (en)
JPH0535507A (en) Central processing unit
JPS6379161A (en) semiconductor storage device
JPS61165160A (en) Bus controlling system
JPS6134654A (en) Bus master control device