JPS60189058A - Multiprocessor system - Google Patents
Multiprocessor systemInfo
- Publication number
- JPS60189058A JPS60189058A JP59043501A JP4350184A JPS60189058A JP S60189058 A JPS60189058 A JP S60189058A JP 59043501 A JP59043501 A JP 59043501A JP 4350184 A JP4350184 A JP 4350184A JP S60189058 A JPS60189058 A JP S60189058A
- Authority
- JP
- Japan
- Prior art keywords
- abnormality
- main
- register
- slave
- cpu
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Hardware Redundancy (AREA)
Abstract
Description
【発明の詳細な説明】
(技術分野)
本発明ハ、マルチプロセッサシステムに関しさらに詳し
くは、スレーブ中央処理装置(以下、CPUと略す。)
がメインバスを占有するサイクルで異常が生じた時に常
に正確にメインCPUがスレーブCPHに関する異常処
理ルーチンを実行するマルチプロセッサシステムに関ス
ル。DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention (c) relates to a multiprocessor system, and more specifically, a slave central processing unit (hereinafter abbreviated as CPU).
This invention relates to a multiprocessor system in which the main CPU accurately executes an abnormality processing routine regarding a slave CPH whenever an abnormality occurs in a cycle in which a slave CPH occupies the main bus.
(従来技術)
メインCPUとスレーブCPUとから成る従来のマルチ
プロセッサシステムにおいて、スレーブCPUがメイン
バスを使用しているサイクル中に何らかの異常が検出さ
れた場合には、割り込みが発生しメインCPHによって
スレーブCPUの異常処理ルーチンが実行されていた。(Prior Art) In a conventional multiprocessor system consisting of a main CPU and a slave CPU, if some abnormality is detected during a cycle in which the slave CPU is using the main bus, an interrupt is generated and the main CPU interrupts the slave CPU. A CPU error handling routine was being executed.
しかし、この場合、異常が検出されて異常処理ルーチン
へ飛はうとしてもメインCPU自体にホールトがかけら
れていてその動作が停止している時には、メインCPU
自体も異常処理ルーチンケ実行できない。However, in this case, even if an abnormality is detected and an attempt is made to jump to the abnormality handling routine, if the main CPU itself is halted and its operation has stopped, the main CPU
The error handling routine itself cannot be executed.
又、当然異常があったためスレーブCPUは処理を実行
できない。したがって、メインもスレーブも動作が停止
した1′チとなり、システム全体が機能゛しなくなって
しまう。Also, of course, since there was an abnormality, the slave CPU could not execute the process. Therefore, both the main and slave units become inoperable, and the entire system becomes inoperable.
(目的)
本発明は、上記の欠点を除去しマルチプロセッサシステ
ムにおいてスレーブCPUのサイクル時に異常が検出さ
れた場合、常に正確にメインCPHによって異常処理ル
ーチンが実行される装置を提供することを目的とする。(Objective) It is an object of the present invention to provide a device that eliminates the above-mentioned drawbacks and allows the main CPH to always accurately execute an abnormality processing routine when an abnormality is detected during the cycle of a slave CPU in a multiprocessor system. do.
(実施例)
本発明は、スレーブCPUがメインバスを占有するサイ
クルで異常が生じた場合、異常検出回路がそれを検出し
、さらにそれがメインC,PUを制御しているレジスタ
を操作したり、スレーブCPUのメインバス占有率を0
にしてメインCPUがスレーブCPHの異常処理ルーチ
ンを確実に火行し、構成される。(Embodiment) In the present invention, when an abnormality occurs in a cycle in which the slave CPU occupies the main bus, the abnormality detection circuit detects the abnormality and further operates the registers controlling the main C and PU. , set the main bus occupancy rate of the slave CPU to 0
Then, the main CPU reliably executes and configures the slave CPH's abnormality processing routine.
本発明は、たとえはメインバスにおけるスレーブOP
TTの占有率を決定するための可変的な数値を格納する
メインバス占有率設定レジスタを備えメインCPUとス
レーブCPUを2者択一的にメインバスと接続・切断す
る。6スマルチグレクサと、メインバス上に異常が生じ
たことを検出する機能と異常を検出した時に、復旧処理
用レジスタに異常の起きた時の状態をラッチさせる機能
とさらに同時に前記メインバス占有率設電レジスタをク
リアする機能と前記メインCP Uに割シ込みを発生さ
せるための割シ込み発生回路にトリガ信号を入力する機
能とを備える異常検出回路と、前記メインバスとつなが
ジ前記メインcpuを制御しさらに前記割り込み発生回
路からの信号によりクリアされるメインCPU制御レジ
ヌタと、前記メインバスとつながり前記スレーブ(3P
Uを制御するスレーブCPU制御レジスタとから構成さ
れる。For example, the present invention can be applied to a slave OP on the main bus.
A main bus occupancy setting register is provided to store a variable value for determining the TT occupancy, and the main CPU and slave CPU are selectively connected to or disconnected from the main bus. 6 multiplexer, a function to detect that an abnormality has occurred on the main bus, a function to latch the state at the time of the abnormality in the recovery processing register when an abnormality is detected, and a function to set the main bus occupancy rate at the same time. an abnormality detection circuit having a function of clearing a register and a function of inputting a trigger signal to an interrupt generation circuit for generating an interrupt to the main CPU; and an abnormality detection circuit connected to the main bus to control the main CPU. Furthermore, there is a main CPU control register which is cleared by a signal from the interrupt generation circuit, and a main CPU control register which is connected to the main bus and which is connected to the slave (3P) register.
It consists of a slave CPU control register that controls U.
第1図は、本発明の1実施例の概略を示すブロック図で
ある。メインCPU1とスレーブ0PU2はバスマルチ
プレクサ5によってメインバス7と2者択一的に接続・
切断される。又、スレーブCPU2のメインバス7を占
有する比率はバスマルチプレクサレシオ(以下BMRと
略す。)レジスタ乙によって決建される、
このBMRレジスタ6は、メインバス7の占有率を最適
化するためのものであり、たとえはメイン0PU1に対
する負荷が大きく、スレーブCPU2に対する負荷が小
さい時には、とのBMRレジスターの値を小さくシ(す
なわち、メインバス7におけるメイン0PU1の占有率
を大きくしスレーブC!PU2の占有率を小さくするこ
とである。)メインC!PU1とスレーブCPU2の処
理の同期化を割ることができるのである。FIG. 1 is a block diagram schematically showing one embodiment of the present invention. Main CPU1 and slave 0PU2 are selectively connected to main bus 7 by bus multiplexer 5.
disconnected. In addition, the proportion of the main bus 7 occupied by the slave CPU 2 is determined by a bus multiplexer ratio (hereinafter abbreviated as BMR) register B. This BMR register 6 is used to optimize the occupancy rate of the main bus 7. For example, when the load on the main 0PU1 is large and the load on the slave CPU2 is small, the value of the BMR register is decreased (in other words, the occupancy rate of the main 0PU1 on the main bus 7 is increased and the occupancy rate of the slave C!PU2 is decreased). ) Main C! This allows the synchronization of processing between PU1 and slave CPU2 to be interrupted.
異常検出回路3は、メインバス7上での異常を検出しさ
らにトリガ信号66をエラーコードレジスタ(以下、F
ORレジスタと略す。)22に出力しEORレジスタ2
2にバスの異常状態をラッチすることを指示する。EC
Rレジスタ22は、信号62を使って異常状態をラッチ
するものである。The abnormality detection circuit 3 detects an abnormality on the main bus 7 and sends a trigger signal 66 to an error code register (hereinafter referred to as F).
It is abbreviated as OR register. )22 and EOR register 2.
2 to latch the abnormal state of the bus. EC
The R register 22 uses the signal 62 to latch an abnormal state.
メインプロセッサコントロールレジスタ(以下MCRレ
ジスタと略す。)21は、信号34によってメインCP
U 1を直接制御するためのものである。さらに説明す
ると、メインCPU 1は、メインバス7上のメインC
PU制御信号31を用いてMORレジスタ21の内容を
操作し、その操作された結果によって再びメインc’p
uiが制御されるのである。つ1シメイン0PU1はM
O’Eレジスク21を介して自分で自分を制御している
わffテアル。又、スレーブプロセッサコントロールレ
ジスタ(以下SC′Rレジスタと略す。)26は、信号
39によってスレーブC!PU2を制御するレジスタで
あり、その内容(は、メインCPU1が、メインバス7
及びスレーブCPU制御信号33を使って操作する、
又、割り込み発生回路4は、異常検出回路3からの信号
38によって割り込み発生信号35をM ORレジスタ
21及びメイン0PU1に入力し、MORレジスタ21
をクリアしさらにメインCPU1に割り込みを発生させ
るものである。又、メモリ8はメインバス7につながる
メイン0PU1とスレーブCPU2の共有メモリである
。The main processor control register (hereinafter abbreviated as MCR register) 21 controls the main processor control register by a signal 34.
This is for direct control of U1. To explain further, the main CPU 1 is connected to the main CPU 1 on the main bus 7.
The contents of the MOR register 21 are manipulated using the PU control signal 31, and the main c'p is
The ui is controlled. 1 cymain 0PU1 is M
I am controlling myself through O'E Regisc 21. In addition, the slave processor control register (hereinafter abbreviated as SC'R register) 26 receives the slave C! This is a register that controls PU2, and its contents (main CPU1 is connected to main bus 7).
In addition, the interrupt generation circuit 4 inputs the interrupt generation signal 35 to the MOR register 21 and the main 0PU1 in response to the signal 38 from the abnormality detection circuit 3.
, and further generates an interrupt to the main CPU 1. Further, the memory 8 is a shared memory between the main CPU 1 and the slave CPU 2, which is connected to the main bus 7.
次に本発明の動作を第1図を用いて説明する。Next, the operation of the present invention will be explained using FIG.
1ず、スレーブcPu2がメインバス7を占有するサイ
クルで異常が発生すると、異常検出回路がそれを検出し
、信号36によってECPレジスタ22にエラー発生時
のバスの状態をラッチするように命令する。そのため、
Tf;CRレジスタ22は信号52を用いてエラー発生
時のメインバス7の状態をラッチする。又、異常検出回
路5はそれと同時に信号67を発しEMRレジスタ6を
クリアし、さらに信号38を割り込み発生回路4に入力
する。ここで、BM只レジスタ6がクリアされてし1う
とスレーブCPU2のメインバス占有率が0となってし
まうから、メインバス7はそれ以後、完全にメイン0P
U1に占有されることになる。First, when an abnormality occurs in a cycle in which the slave cPu2 occupies the main bus 7, the abnormality detection circuit detects it and uses a signal 36 to instruct the ECP register 22 to latch the state of the bus at the time of the error occurrence. Therefore,
Tf: The CR register 22 uses the signal 52 to latch the state of the main bus 7 when an error occurs. At the same time, the abnormality detection circuit 5 issues a signal 67 to clear the EMR register 6, and further inputs a signal 38 to the interrupt generation circuit 4. Here, if the BM only register 6 is cleared, the main bus occupancy rate of the slave CPU 2 becomes 0, so the main bus 7 becomes completely the main 0P from then on.
It will be occupied by U1.
又、割り込み発生回路4は、信号68を受け取る割り込
み発生信号35をMORレジスタ21及びメインCP
U 1に入力する・このためM CRL/ジスタ21は
、クリアされ、又メイン0PU1には、割り込みがかか
ることになる。ここでs 14%が発生する以前に、メ
インC!PU1がメインバス7及びメインCPU制御信
号31を使ってM ORレジスタ2101ビットにフラ
グを立て自らにボールドをかけていた場合には、割り込
み発生回路4からの割り込み発生信号35によってMO
Rレジスタ21はクリアされてし壕うから、それ萱でメ
インCPU1にかかつていたホールトが異常検出と共に
解除されることになる。Further, the interrupt generation circuit 4 receives the signal 68 and sends the interrupt generation signal 35 to the MOR register 21 and the main CPU.
Input to U1. Therefore, the MCRL/register 21 will be cleared and the main 0PU1 will be interrupted. Here, before s 14% occurs, the main C! If the PU1 uses the main bus 7 and the main CPU control signal 31 to set a flag in the MOR register 2101 bit and bold itself, the interrupt generation signal 35 from the interrupt generation circuit 4 causes the PU1 to
Since the R register 21 is cleared, the halt that was previously placed on the main CPU 1 is canceled along with the abnormality detection.
以上のように、メイン0PU1は、ホールト状態から解
除されるわけであるから先に述べた割り込み要求を受け
つけてEC’Bレジスタ22に、保持されている情報を
もとにスレーブ0PU2のバスサイクルでおきた異常の
排出作業を行なうことができる。As mentioned above, since the main 0PU1 is released from the halt state, it accepts the interrupt request mentioned earlier and uses the information held in the EC'B register 22 to respond to the bus cycle of the slave 0PU2. It is possible to perform work to remove any abnormalities that have occurred.
又、この復旧処理において必要に応じてメイン0PU1
は、メインバス7、信号33経由でSCRレジスタ26
01ビットにフラグを立てそれによってスレーブCPU
2を初期化することが可能である。Also, in this recovery process, if necessary, main 0PU1
is connected to the SCR register 26 via the main bus 7 and signal 33.
Flag the 01 bit so that the slave CPU
2 can be initialized.
(効果)
以上説明したように、本発明はスレーブcPUがメイン
バスを占有しているサイクルで異常が起きた場合、異常
検出回路がそれを検出し、そしてそれがスレーブCPU
のメインバス占有率を0にセットしさらに異常検出回路
によって起動をかけられた割り込み発生回路がメインc
PUを制御するメインcPU制御レジスタをクリアして
メインCPUに対する割シ込みをする構成となっている
。(Effects) As explained above, in the present invention, when an abnormality occurs in a cycle in which the slave CPU occupies the main bus, the abnormality detection circuit detects the abnormality, and then the slave CPU
The main bus occupancy rate of C is set to 0, and the interrupt generation circuit activated by the abnormality detection circuit is
It is configured to clear the main cPU control register that controls the PU and interrupt the main CPU.
したがって本発明によれは、スレーブCPUがメインバ
スを占有しているサイクルで異常が検出された場合たと
えそれ葦でメインcPUにホールトがかかつていてメイ
ンCP’Uが停止状態にあったとしてもそれをフ屑除し
てか〜らメインC!PUK割り込みをかけるので、上記
のような場合メインCPUは富に正確にスレーブCPU
の異常処理ルーチンを実行でき、スレーブCPHの異常
に拘束されることなくメインCP Uが処理を紗けるの
でシステム全体の4S頼性が大幅に向上するという効果
がイ[tられる。Therefore, according to the present invention, if an abnormality is detected in a cycle in which the slave CPU occupies the main bus, even if the main CPU is halted and the main CPU is in a stopped state, After removing the waste, main C! Since a PUK interrupt is issued, the main CPU in the above case is exactly connected to the slave CPU.
Since the main CPU can execute the abnormality processing routine without being restricted by the abnormality of the slave CPH, the 4S reliability of the entire system can be greatly improved.
又、以上では、1つのメインCPUと1つのスレーブC
PUとから成るシステムを例として説明したが本発明は
これに限駕されるもので4く、1つのメインCPUと2
つ以上のスレーブc ’p U。Also, in the above, one main CPU and one slave C
Although the explanation has been given using a system consisting of one main CPU and two main CPUs as an example, the present invention is limited to this.
One or more slaves c 'p U.
あるいは2つ以上のメインcPUと1つのスレーブCP
Uから成るシステムにおいても適用可能である。Or two or more main CPUs and one slave CPU
It is also applicable to a system consisting of U.
第1図は、本発明の一実施例の概略ブロック図である。 、1・・・メインcPU 2・・・スレーブCPU 3・・・異常検出回路 4・・・割り込み発生回路 5・・・バスマルチプレクザ 6・・・FMFレジスタ 以上 出願人 エプソン株式会社 株式会社 諏訪精工舎 FIG. 1 is a schematic block diagram of one embodiment of the present invention. , 1... Main cPU 2...Slave CPU 3... Abnormality detection circuit 4...Interrupt generation circuit 5...Bus multiplexer 6...FMF register that's all Applicant: Epson Corporation Suwa Seikosha Co., Ltd.
Claims (1)
で起きた異常を検出する手段と、その後メイン中央処理
装置を制御する装置を操作する手段と、前記スレーブ中
央処理装置の前記メインバス占有率を0にする手段を持
つ異常検出回路を備えることを特徴とするマルチプロセ
ッサシステム。means for detecting an abnormality occurring in a cycle in which a slave central processing unit occupies a main bus; means for thereafter operating a device that controls the main central processing unit; and a means for reducing the main bus occupancy rate of the slave central processing unit to zero A multiprocessor system characterized by comprising an abnormality detection circuit having means for detecting an abnormality.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59043501A JPS60189058A (en) | 1984-03-07 | 1984-03-07 | Multiprocessor system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59043501A JPS60189058A (en) | 1984-03-07 | 1984-03-07 | Multiprocessor system |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS60189058A true JPS60189058A (en) | 1985-09-26 |
JPH0247778B2 JPH0247778B2 (en) | 1990-10-22 |
Family
ID=12665463
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59043501A Granted JPS60189058A (en) | 1984-03-07 | 1984-03-07 | Multiprocessor system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS60189058A (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS58134359A (en) * | 1982-02-05 | 1983-08-10 | Hitachi Ltd | Bus switching device |
-
1984
- 1984-03-07 JP JP59043501A patent/JPS60189058A/en active Granted
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS58134359A (en) * | 1982-02-05 | 1983-08-10 | Hitachi Ltd | Bus switching device |
Also Published As
Publication number | Publication date |
---|---|
JPH0247778B2 (en) | 1990-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2000187600A (en) | Watchdog timer system | |
US4638432A (en) | Apparatus for controlling the transfer of interrupt signals in data processors | |
JPH0375834A (en) | Apparatus and method of sequentially correcting parity | |
JPS60189058A (en) | Multiprocessor system | |
JPS6146543A (en) | Fault processing system of transfer device | |
JP3240660B2 (en) | Data processing device | |
JP2704137B2 (en) | Current / spare switching method | |
JPH09305423A (en) | Arithmetic processor | |
JP2570108B2 (en) | Software debugging method | |
JPH0212531A (en) | Interruption control system for virtual computer | |
JPH03222020A (en) | Reset system for multi-micro processor system | |
JPH07271625A (en) | Information processor | |
JPS62147538A (en) | Reset system for watchdog timer for device using microcomputer | |
JPH07219798A (en) | Method and device for detecting error in parallel processing system | |
JPS59208652A (en) | Digital control device | |
JPH03109643A (en) | Execution system for data exception procedure | |
JPS60173601A (en) | Digital controller | |
JPH0293953A (en) | Duplex information processor | |
JPS63174149A (en) | Information processing system | |
JPH0271326A (en) | Arithmetic processing system | |
JPS6265134A (en) | Interruption processing system | |
JPS62233853A (en) | Event detection system | |
JPS63167941A (en) | Runaway stopping system for multi-processor | |
JPH01211138A (en) | Resetting circuit for supervising circuit of computer system | |
JPH02118846A (en) | Cpu board circuit for fault tolerant system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
EXPY | Cancellation because of completion of term |