JP2002169788A - Multiprocessor system - Google Patents

Multiprocessor system

Info

Publication number
JP2002169788A
JP2002169788A JP2000366073A JP2000366073A JP2002169788A JP 2002169788 A JP2002169788 A JP 2002169788A JP 2000366073 A JP2000366073 A JP 2000366073A JP 2000366073 A JP2000366073 A JP 2000366073A JP 2002169788 A JP2002169788 A JP 2002169788A
Authority
JP
Japan
Prior art keywords
reset signal
microprocessor
subsystem
reset
master
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
JP2000366073A
Other languages
Japanese (ja)
Inventor
Ikuo Shimazaki
育男 嶋崎
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2000366073A priority Critical patent/JP2002169788A/en
Publication of JP2002169788A publication Critical patent/JP2002169788A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent a plurality of subsystems from mutually resetting due to the dispersion of the timing of monitoring and resetting and the instability of a signal at the time of resetting and to prevent a whole system from stopping. SOLUTION: At least one subsystem in a plurality of subsystems invalidates the reset signal transmitted to the microprocessor of the self-subsystem by the other subsystem while the self-subsystem transmits the reset signal to the microprocessor of the other subsystem. Thus, the careless stop of the system is prevented.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は,複数のマイクロプ
ロセッサを備え,互いに暴走を監視して,暴走したマイ
クロプロセッサをリセットさせることの可能なマルチプ
ロセッサシステムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multiprocessor system having a plurality of microprocessors, capable of monitoring runaway from each other and resetting the runaway microprocessor.

【0002】[0002]

【従来の技術】複数のマイクロプロセッサを備え,互い
に暴走を監視して,暴走したマイクロプロセッサをリセ
ットさせることの可能なマルチプロセッサシステムに関
する技術は,例えば特開平2−206866号公報や特
開平3−38737号公報などに記載されている。特開
平2−206866号公報に記載の技術は,複数のマイ
クロプロセッサが共有する共有メモリにいずれかのマイ
クロプロセッサが書き込んだデータ(が正常か否か)
を,他のマイクロプロセッサが監視することにより,マ
イクロプロセッサが暴走したか否かを判定し,暴走した
マイクロプロセッサをリセットするものである。また,
特開平3−38737号公報に記載の技術では,互いに
通信している電気回路システムの複数のマイクロプロセ
ッサそれぞれにより,例えば相手との通信が一定時間間
隔内に行われているか否かが監視され,相手との通信が
一定時間以上なく,相手との通信が途絶えたことが検出
されると,システムが安全な状態に停止させられるか,
システムが再起動させられる。
2. Description of the Related Art A technique relating to a multiprocessor system having a plurality of microprocessors and capable of monitoring runaway from each other and resetting the runaway microprocessor is disclosed in, for example, JP-A-2-206866 and JP-A-3-206866. 38737 and the like. The technique described in Japanese Patent Application Laid-Open No. Hei 2-206866 discloses a technique in which data written by any one of microprocessors to a shared memory shared by a plurality of microprocessors (whether or not data is normal)
Is monitored by another microprocessor to determine whether or not the microprocessor has runaway, and resets the microprocessor that has runaway. Also,
In the technique described in Japanese Patent Application Laid-Open No. 3-38737, each of a plurality of microprocessors of an electric circuit system communicating with each other monitors whether or not communication with a partner is performed within a predetermined time interval. If it is detected that communication with the other party has not been performed for a certain period of time and communication with the other party has been interrupted, the system is stopped in a safe state,
The system is restarted.

【0003】[0003]

【発明が解決しようとする課題】前記公報に記載のよう
に,複数のマイクロプロセッサを備え,互いに暴走を監
視して,暴走したマイクロプロセッサをリセットさせる
ことが可能な場合,仮に互いにリセットを掛け合える構
成になっていると,監視及びリセットのタイミングのば
らつきや不安定さなどによって,リセットのタイミング
が重なってしまい,不用意にシステムが停止してしまう
恐れがある。本発明は,このような従来の技術における
課題を鑑みてなされたものであり,複数のサブシステム
のうち 少なくとも一つのサブシステムは,自サブシス
テムが他のサブシステムのマイクロプロセッサにリセッ
ト信号を送出している間,他のサブシステムが自サブシ
ステムのマイクロプロセッサに送出したリセット信号を
無効にするマルチプロセッサシステムを提供することを
目的とするものである。
As described in the above-mentioned publication, when a plurality of microprocessors are provided, and the runaway microprocessors can be monitored, and the runaway microprocessors can be reset, they can be reset to each other. With the configuration, reset timings overlap due to variations and instability of monitoring and reset timings, and the system may be inadvertently stopped. The present invention has been made in view of such problems in the conventional technology, and at least one of a plurality of subsystems transmits a reset signal to a microprocessor of another subsystem. It is an object of the present invention to provide a multiprocessor system in which a reset signal sent from another subsystem to a microprocessor of the own subsystem during the operation is invalidated.

【0004】[0004]

【課題を解決するための手段】上述の目的を達成するた
めに,本発明は,マイクロプロセッサを有した複数のサ
ブシステムそれぞれが,暴走した他のサブシステムのマ
イクロプロセッサを再起動するリセット信号を送出する
リセット信号送出手段を備えたマルチプロセッサシステ
ムであって,少なくとも一つのサブシステムは,自サブ
システムの前記リセット信号送出手段が他のサブシステ
ムのマイクロプロセッサに前記リセット信号を送出して
いる間,他のサブシステムの前記リセット信号送出手段
が自サブシステムのマイクロプロセッサに送出した前記
リセット信号を無効にするリセット信号ゲート手段を備
えてなることを特徴とするマルチプロセッサシステムと
して構成されている。本発明に係るマルチプロセッサシ
ステムでは,マイクロプロセッサを備える複数のサブシ
ステムのうち,少なくとも一つのサブシステムは,自サ
ブシステムが他のサブシステムのマイクロプロセッサに
リセット信号を送出している間,他のサブシステムが自
サブシステムのマイクロプロセッサに送出したリセット
信号を無効にするリセット信号ゲート手段を備えている
ため,監視やリセットのタイミングのばらつきやリセッ
ト時の信号の不安定さにより,複数のサブシステムが互
いにリセットし合ってシステム全体が停止することを防
止することができる。さらに,前記リセット信号ゲート
手段が,前記リセット信号を無効にしてから,自サブシ
ステムの前記リセット信号送出手段が他のサブシステム
のマイクロプロセッサに前記リセット信号を送出しなく
なっても,自サブシステムのマイクロプロセッサに対す
る全ての前記リセット信号がなくなるまで,自サブシス
テムのマイクロプロセッサに対する前記リセット信号の
無効状態を継続することによって,前記リセット信号が
アクティブな時間のばらつきの影響も防止することがで
きる。さらに,前記マルチプロセッサシステムにおい
て,前記リセット信号ゲート手段は,例えば複数のサブ
システムのうちシステム全体を制御するマスタサブシス
テムに備えられる。これにより,相互リセットによる停
止を効果的に防止することができる。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides a system in which a plurality of subsystems each having a microprocessor are provided with a reset signal for restarting the microprocessor of another subsystem that has runaway. A multiprocessor system having reset signal transmitting means for transmitting, wherein at least one subsystem transmits the reset signal to a microprocessor of another subsystem while the reset signal transmitting means of its own subsystem transmits the reset signal. The reset signal sending means of the other subsystem includes reset signal gate means for invalidating the reset signal sent to the microprocessor of the own subsystem. In the multiprocessor system according to the present invention, at least one of a plurality of subsystems including a microprocessor transmits a reset signal to a microprocessor of another subsystem while another subsystem transmits a reset signal to a microprocessor of another subsystem. Since the subsystem has reset signal gating means to invalidate the reset signal sent to the microprocessor of its own subsystem, multiple subsystems may be monitored due to variations in monitoring and reset timing and instability of the signal at reset. Can be prevented from resetting each other and stopping the entire system. Further, even if the reset signal gating means invalidates the reset signal and the reset signal sending means of the own subsystem stops sending the reset signal to the microprocessor of another subsystem, By maintaining the invalid state of the reset signal for the microprocessor of the own subsystem until all the reset signals for the microprocessor disappear, the influence of the variation in the time during which the reset signal is active can also be prevented. Further, in the multiprocessor system, the reset signal gate means is provided, for example, in a master subsystem that controls the entire system among a plurality of subsystems. Thereby, stop due to mutual reset can be effectively prevented.

【0005】[0005]

【発明の実施の形態】以下,添付図面を参照して,本発
明の実施の形態につき説明し,本発明の理解に供する。
なお,以下の実施の形態は,本発明の具体的な例であっ
て,本発明の技術的範囲を限定する性格のものではな
い。図1に本発明の実施の形態に係るマルチプロセッサ
システムの概略構成を示す。本発明の実施の形態に係る
マルチプロセッサシステムは,図1に示す如く,マスタ
基板(マスタサブシステム(サブシステムの一つ))1
と,一つの周辺基板(サブシステム)2とを備える。前
記マスタ基板1は,マイクロプロセッサ11,リセット
信号送出手段12,強制リセット手段13,リセット信
号ゲート手段14などを備え,マルチプロセッサシステ
ム全体を制御するまた,前記周辺基板2は,マイクロプ
ロセッサ21,リセット信号送出手段22などを備え
る。2つのマイクロプロセッサ11,21は,定期的に
他のマイクロプロセッサ21,11が暴走していか否か
を互いに監視しており,他のマイクロプロセッサ21,
11が暴走している場合に,前記リセット信号送出手段
12,22を動作させる。前記リセット信号送出手段1
1,22は,マイクロプロセッサ21,11をリセット
するリセット信号を送出するものである。前記マスタ基
板1側の前記リセット信号送出手段12の出力は,前記
周辺基板2側のマイクロプロセッサ22のリセット入力
23に接続されている。このリセット入力23に前記リ
セット信号送出手段12が送出した負論理のパルスが入
力されると,前記周辺基板2側のマイクロプロセッサ2
1のリセットが行われる。一方,前記周辺基板2側の前
記リセット信号送出手段22の出力は,前記マスタ基板
1側のマイクロプロセッサ11のリセット入力15にで
はなく,前記リセット信号ゲート手段14の入力に接続
されている。前記マスタ基板1側のマイクロプロセッサ
11のリセット入力15には,前記リセット信号ゲート
手段14の出力と前記強制リセット手段13の出力とを
入力とするand素子の出力が接続される。
Embodiments of the present invention will be described below with reference to the accompanying drawings to provide an understanding of the present invention.
The following embodiments are specific examples of the present invention and do not limit the technical scope of the present invention. FIG. 1 shows a schematic configuration of a multiprocessor system according to an embodiment of the present invention. As shown in FIG. 1, a multiprocessor system according to an embodiment of the present invention includes a master board (master subsystem (one of subsystems)) 1
And one peripheral board (subsystem) 2. The master board 1 includes a microprocessor 11, a reset signal sending unit 12, a forced reset unit 13, a reset signal gate unit 14, and the like, and controls the entire multiprocessor system. Signal transmission means 22 and the like are provided. The two microprocessors 11 and 21 periodically monitor each other to determine whether or not the other microprocessors 21 and 11 run away.
When 11 runs out of control, the reset signal sending means 12 and 22 are operated. Reset signal sending means 1
Numerals 1 and 22 are for transmitting reset signals for resetting the microprocessors 21 and 11. The output of the reset signal sending means 12 on the master board 1 side is connected to the reset input 23 of the microprocessor 22 on the peripheral board 2 side. When a negative logic pulse sent by the reset signal sending means 12 is input to the reset input 23, the microprocessor 2 on the peripheral substrate 2 side
1 is reset. On the other hand, the output of the reset signal sending means 22 on the peripheral board 2 side is connected to the input of the reset signal gate means 14 instead of the reset input 15 of the microprocessor 11 on the master board 1 side. The reset input 15 of the microprocessor 11 on the master substrate 1 side is connected to the output of an AND element which receives the output of the reset signal gate means 14 and the output of the forced reset means 13 as inputs.

【0006】前記リセット信号ゲート手段14は,前記
マスタ基板1側の前記リセット信号送出手段12が前記
周辺基板2側のマイクロプロセッサ21に前記リセット
信号を送出している間,前記周辺基板2側の前記リセッ
ト信号送出手段22が前記マスタ基板1側のマイクロプ
ロセッサ11に送出した前記リセット信号を無効にする
ものである。前記リセット信号ゲート手段14の具体的
構成を図2に示す。前記リセット信号ゲート手段14
は,例えば図2に示す如く,フリップフロップ141,
ディレイ素子142,and素子143,or素子14
4から構成される。前記周辺基板2側の前記リセット信
号送出手段22の出力は,前記or素子144の一方の
入力と,前記and素子143の一方の入力とに接続さ
れている。前記or素子144のもう一方の入力には,
前記フリップフロップ141のQ出力が接続されてい
る。前記フリップフロップ141のD入力は接地されて
おり,前記フリップフロップ141のクロックパルス入
力には前記and素子143の出力,前記フリップフロ
ップ141のプリセット入力には前記マスタ基板1側の
前記リセット信号送出手段12の出力が接続されてい
る。前記and素子143のもう一方の入力には前記デ
ィレイ素子142の出力が接続されており,前記ディレ
イ素子142の入力は前記マスタ基板1側の前記リセッ
ト信号送出手段12の出力に接続されている。そして,
前記or素子144の出力と前記強制リセット手段13
の出力とが前記and素子145の入力に接続される。
前記強制リセット手段13は,初期動作時などに前記マ
スタ基板1側のマイクロプロセッサ11を強制的にリセ
ットするためのものである。前記強制リセット手段13
又は前記or素子145から負論理のパルスが出力され
たときに,前記マスタ基板1側のマイクロプロセッサ1
1がリセットされる。前記リセット信号ゲート手段14
が,前記周辺基板1側の前記リセット信号送出手段22
から前記マスタ基板1側のマイクロプロセッサ11に送
出された前記リセット信号を無効にするとは,この例で
は,前記and素子143及び前記or素子144の入
力(前記リセット信号ゲート手段14の入力)に前記周
辺基板2側の前記リセット信号送出手段22から送出さ
れた前記リセット信号が入力されていても,前記or素
子144の出力(前記リセット信号ゲート手段14の出
力)には負論理のパルスが出力されないことを意味す
る。
The reset signal gate means 14 keeps the reset signal transmission means 12 on the master substrate 1 side transmitting the reset signal to the microprocessor 21 on the peripheral substrate 2 side while the reset signal transmitting means 12 on the peripheral substrate 2 side transmits the reset signal. The reset signal sending means 22 invalidates the reset signal sent to the microprocessor 11 on the master substrate 1 side. FIG. 2 shows a specific configuration of the reset signal gate means 14. The reset signal gate means 14
Are, for example, as shown in FIG.
Delay element 142, and element 143, or element 14
4 The output of the reset signal sending means 22 on the side of the peripheral substrate 2 is connected to one input of the or element 144 and one input of the and element 143. The other input of the or element 144 is
The Q output of the flip-flop 141 is connected. The D input of the flip-flop 141 is grounded, the clock pulse input of the flip-flop 141 is the output of the AND element 143, and the preset input of the flip-flop 141 is the reset signal transmitting means on the master substrate 1 side. Twelve outputs are connected. The other input of the AND element 143 is connected to the output of the delay element 142, and the input of the delay element 142 is connected to the output of the reset signal sending means 12 on the master substrate 1 side. And
The output of the or element 144 and the forced reset means 13
Is connected to the input of the AND element 145.
The forcible resetting means 13 is for forcibly resetting the microprocessor 11 on the master substrate 1 at the time of initial operation or the like. The forced reset means 13
Alternatively, when a negative logic pulse is output from the or element 145, the microprocessor 1 on the master substrate 1 side
1 is reset. The reset signal gate means 14
The reset signal transmitting means 22 on the peripheral substrate 1 side
To invalidate the reset signal sent to the microprocessor 11 on the master substrate 1 side in this example, in this example, the input of the and element 143 and the or element 144 (the input of the reset signal gate means 14) is Even if the reset signal sent from the reset signal sending means 22 on the peripheral substrate 2 side is input, no negative logic pulse is output to the output of the or element 144 (the output of the reset signal gate means 14). Means that.

【0007】図3,図4それぞれに,図2の前記リセッ
ト信号ゲート手段に対応するタイミングチャートを示
す。図3に示す如く,前記強制リセット手段13から負
論理のパルス(リセット信号)が出力されている間,前
記マスタ基板1側のマイクロプロセッサ11のリセット
入力15に前記リセット信号がそのまま入力される。前
記マスタ基板1側のマイクロプロセッサ11がリセット
されると,前記マスタ基板1側の前記リセット信号送出
手段11は自動的に前記周辺基板2側のマイクロプロセ
ッサ21に対して前記リセット信号を送出する(図3の
マスタ→周辺リセット信号を参照)。このとき,前記フ
リップフロップ141のプリセット入力に前記リセット
信号が入力されるため,前記フリップフロップ141の
Q出力の値は前記リセット信号が反転した値(この場
合,H(high))にセットされる。一方,図3の周
辺→マスタリセット信号に示されるように,前記周辺基
板2側の前記リセット信号送出手段22からの前記マス
タ基板1側のマイクロプロセッサ11に対する前記リセ
ット信号がない状態(Hが継続する状態)で,前記マス
タ基板1側の前記リセット信号送出手段11から前記周
辺基板2側のマイクロプロセッサ21に対して前記リセ
ット信号が送出されると,当該リセット信号が前記ディ
レイ素子143によるディレイの分だけ遅れた信号(負
論理のパルス)が,前記フリップフロップ141のクロ
ックパルス入力に入力される。このクロックパルス入力
への信号が立ち下がったときには,前記フリップフロッ
プ141のQ出力の値は維持されるが,前記リセット信
号が送出された後,前記クロックパルス入力への信号が
立ち上がると,前記フリップフロップ141のD入力の
値が常にL(low)であるから,前記フリップフロッ
プ141のQ出力の値はHからLに変わる。このように
して前記フリップフロップのQ出力は,図3に示す如く
変化するが,この例では,前記周辺基板2側の前記リセ
ット信号送出手段22から送出された前記マスタ基板1
側のマイクロプロセッサ11に対する前記リセット信号
がない状態が続いているから,前記強制リセット手段1
3からの前記リセット信号だけが,前記マスタ基板1側
のマイクロプロセッサ11のリセット入力に入力される
ことになる。
FIGS. 3 and 4 show timing charts corresponding to the reset signal gate means of FIG. As shown in FIG. 3, while a pulse of a negative logic (reset signal) is being output from the forced reset means 13, the reset signal is directly input to the reset input 15 of the microprocessor 11 on the master substrate 1 side. When the microprocessor 11 of the master board 1 is reset, the reset signal sending means 11 of the master board 1 automatically sends the reset signal to the microprocessor 21 of the peripheral board 2 ( (Refer to the master → peripheral reset signal in FIG. 3). At this time, since the reset signal is input to the preset input of the flip-flop 141, the value of the Q output of the flip-flop 141 is set to a value obtained by inverting the reset signal (in this case, H (high)). . On the other hand, as shown by the peripheral → master reset signal in FIG. 3, there is no reset signal from the reset signal sending means 22 on the peripheral board 2 side to the microprocessor 11 on the master board 1 side (H continues. When the reset signal is sent from the reset signal sending means 11 on the master board 1 side to the microprocessor 21 on the peripheral board 2 side, the reset signal is delayed by the delay element 143. A signal (pulse of negative logic) delayed by an amount is input to the clock pulse input of the flip-flop 141. When the signal to the clock pulse input falls, the value of the Q output of the flip-flop 141 is maintained. However, when the signal to the clock pulse input rises after the reset signal is sent, the flip-flop 141 receives the signal. Since the value of the D input of the flip-flop 141 is always L (low), the value of the Q output of the flip-flop 141 changes from H to L. In this way, the Q output of the flip-flop changes as shown in FIG. 3, but in this example, the master board 1 sent from the reset signal sending means 22 on the peripheral board 2 side
Since the state where the reset signal to the microprocessor 11 on the side is not present continues, the forced reset means 1
Only the reset signal from No. 3 is input to the reset input of the microprocessor 11 on the master substrate 1 side.

【0008】例えば上述のようにして,初期動作時の前
記マスタ基板1及び前記周辺基板2のリセットが行われ
た後は,通常処理となり,2つのマイクロプロセッサ1
1,21が互いの暴走を監視する状態となる。通常処理
の途中,例えば図4に示す如く,前記マスタ基板1側の
前記リセット信号送出手段12から前記周辺基板2側の
マイクロプロセッサ21に対する前記リセット信号が送
出されていないときに,前記周辺基板2側の前記リセッ
ト信号送出手段21から前記マスタ基板1側のマイクロ
プロセッサ11に対して前記リセット信号が送出された
ときには(周辺→マスタリセット信号参照),当該リセ
ット信号がそのまま前記or素子144の出力,すなわ
ち前記リセット信号ゲート手段14の出力となり,前記
and素子145を通じて,前記マスタ基板1側のマイ
クロプロセッサ11のリセット入力15に前記リセット
信号が入力され,前記マスタ基板1側のマイクロプロセ
ッサ11がリセットされる。その間に,前記マスタ基板
1側の前記リセット信号送出手段12から前記周辺基板
2側のマイクロプロセッサ21に対する前記リセット信
号が送出されると(図4のマスタ→周辺リセット信号参
照),それが前記フリップフロップ141のプリセット
入力にも入力されるから,前記フリップフロップ141
のQ出力の値はHに変わり,前記or素子144の出
力,すなわち前記リセット信号ゲート手段の出力145
もHに変わる。これにより,前記マスタ基板1側の前記
リセット信号送出手段12から前記フリップフロップ1
41のプリセット入力に前記リセット信号が供給されて
いる間,前記周辺基板2側の前記リセット信号送出手段
22から送出された前記マスタ基板1側のマイクロプロ
セッサ11に対する前記リセット信号が無効にされる。
前記リセット信号の無効状態が状態が解除されるのは
(前記フリップフロップ141のQ出力がLとなるの
は),前記マスタ基板1側の前記リセット信号送出手段
11からの前記リセット信号がなくなってから前記ディ
レイ素子143によるディレイの分だけ時間が経過した
ときである(図4のCLK(クロックパルス入力に対
応),Q(Q出力に対応)参照)。
For example, after the master board 1 and the peripheral board 2 are reset during the initial operation as described above, normal processing is performed, and the two microprocessors 1
1 and 21 are in a state of monitoring each other's runaway. During normal processing, for example, as shown in FIG. 4, when the reset signal is not sent from the reset signal sending means 12 on the master board 1 side to the microprocessor 21 on the peripheral board 2 side, the peripheral board 2 When the reset signal is transmitted from the reset signal transmitting means 21 on the side to the microprocessor 11 on the master substrate 1 side (refer to peripheral → master reset signal), the reset signal is output from the or element 144 as it is, That is, the reset signal is output from the reset signal gate means 14, and the reset signal is input to the reset input 15 of the microprocessor 11 on the master substrate 1 through the AND element 145, and the microprocessor 11 on the master substrate 1 is reset. You. In the meantime, if the reset signal is sent from the reset signal sending means 12 on the master board 1 side to the microprocessor 21 on the peripheral board 2 side (see the master → peripheral reset signal in FIG. 4), the reset signal is sent to the flip-flop. Input to the preset input of the flip-flop 141,
The value of the Q output changes to H, and the output of the or element 144, ie, the output 145 of
Also changes to H. As a result, the reset signal transmitting means 12 on the master substrate 1 side sends the flip-flop 1
While the reset signal is being supplied to the preset input 41, the reset signal sent from the reset signal sending means 22 on the peripheral board 2 to the microprocessor 11 on the master board 1 is invalidated.
When the invalid state of the reset signal is released (when the Q output of the flip-flop 141 becomes L), the reset signal from the reset signal transmitting means 11 on the master substrate 1 side disappears. This is when the time has elapsed since the delay by the delay element 143 (see CLK (corresponding to clock pulse input) and Q (corresponding to Q output) in FIG. 4).

【0009】さらに,仮に前記周辺基板2側の前記リセ
ット信号送出手段22が前記マスタ基板1側のマイクロ
プロセッサ11に対して送出した前記リセット信号の幅
が,図4の周辺→マスタリセット信号の破線に示す如く
長くなったときには,前記マスタ基板1側の前記リセッ
ト信号送出手段12が前記周辺基板2側のマイクロプロ
セッサ21に対して送出した前記リセット信号がなくな
った後も,図4のQに示す如く,前記フリップフロップ
のQ出力がHの状態,ひいては前記無効の状態は,前記
周辺基板2側の前記リセット信号送出手段22が前記マ
スタ基板1側のマイクロプロセッサ11に対して送出し
た前記リセット信号がなくなるまで維持される。このよ
うに,本発明の実施の形態に係るマルチプロセッサシス
テムでは,システム全体を制御するマスタ基板が,自基
板のリセット信号送出手段により周辺基板のマイクロプ
ロセッサに対してリセット信号が送出されている間,前
記周辺基板のリセット信号送出手段によりマスタ基板に
対してマイクロプロセッサに送出されたリセット信号を
無効にするリセット信号ゲート手段を備えているため,
監視やリセットのタイミングのばらつきやリセット時の
信号の不安定さにより,複数の基板が互いにリセットし
合ってシステム全体が停止することを防止することがで
きる。しかも,前記リセット信号ゲート手段が,前記リ
セット信号を無効にしてから,マスタ基板の前記リセッ
ト信号送出手段が周辺基板のマイクロプロセッサに前記
リセット信号を送出しなくなっても,マスタ基板のマイ
クロプロセッサに対する全ての前記リセット信号がなく
なるまで,マスタ基板のマイクロプロセッサに対する前
記リセット信号の無効状態を継続するため,前記リセッ
ト信号がアクティブな時間のばらつきの影響を防止する
ことができる。さらに,前記リセット信号ゲート手段
は,マスタサブシステムに備えられるため,相互リセッ
トによる停止を効果的に防止することができる。
Furthermore, the width of the reset signal temporarily sent by the reset signal sending means 22 on the peripheral board 2 side to the microprocessor 11 on the master board 1 side is as shown in FIG. If the reset signal sent from the reset signal sending means 12 on the master board 1 side to the microprocessor 21 on the peripheral board 2 ceases as shown in FIG. As described above, the state in which the Q output of the flip-flop is H, and thus the invalid state, is caused by the reset signal transmitted by the reset signal transmitting means 22 on the peripheral substrate 2 side to the microprocessor 11 on the master substrate 1 side. Is maintained until disappears. As described above, in the multiprocessor system according to the embodiment of the present invention, the master board that controls the entire system operates while the reset signal sending unit of the own board sends the reset signal to the microprocessor on the peripheral board. And reset signal gate means for invalidating the reset signal sent to the microprocessor by the reset signal sending means of the peripheral board to the master board.
It is possible to prevent the plurality of boards from resetting each other and stopping the entire system due to variations in monitoring and reset timings and instability of signals at the time of reset. Moreover, even if the reset signal gate means invalidates the reset signal and the reset signal sending means on the master board no longer sends the reset signal to the microprocessor on the peripheral board, the reset signal gate means does not send the reset signal to the microprocessor on the master board. Until the reset signal disappears, the reset signal is kept invalid with respect to the microprocessor on the master substrate, so that the influence of the variation in the time during which the reset signal is active can be prevented. Further, since the reset signal gate means is provided in the master subsystem, the stop due to the mutual reset can be effectively prevented.

【0010】なお,本発明の実施の形態に係るマルチプ
ロセッサシステムは,2つのサブシステムから構成され
ていたが,これに限られるものではなく,3つ以上のサ
ブシステムを有するマルチプロセッサシステムにも本発
明を適用することは可能である。例えば図5に示すの
は,3つのサブシステム(マスタ基板1,周辺基板2,
周辺基板3)を備えたマルチプロセッサシステムであ
り,前記実施の形態と同じく,前記リセット信号ゲート
手段14は前記マスタ基板1に設けられている。図5に
示す構成と,前記実施の形態の場合(図1に示す構成)
とで異なる点は,前記マスタ基板1の前記リセット信号
発生手段12の2つの出力が,2つの前記周辺基板2,
3のマイクロプロセッサ21,31のリセット入力2
3,33それぞれと,前記リセット信号ゲート手段14
に接続されており,また前記周辺基板2の前記リセット
信号発生手段22の出力だけではなく,前記周辺基板3
側のリセット信号発生手段32の出力も前記リセット信
号ゲート手段14に接続されている点である。この場合
の前記リセット信号ゲート手段14の具体的な構成は例
えば図6に示すようなものとなる。図6の例と図2の例
とで異なる点は,図6の例では,図2の例に対して2つ
のand素子146,147が加えられている点であ
る。前記and素子146には,前記マスタ基板1の前
記リセット信号送出手段12が前記周辺基板2の前記マ
イクロプロセッサ21に対して送出する前記リセット信
号と,前記周辺基板3の前記マイクロプロセッサ31に
対して送出する前記リセット信号とがそれぞれ入力さ
れ,前記and素子146の出力は,前記フリップフロ
ップ141のプリセット入力及び前記ディレイ素子14
2の入力と接続される。また,前記and素子147の
2つの入力には,前記周辺基板2の前記リセット信号送
出手段22の出力と前記周辺基板3の前記リセット信号
送出手段32の出力とがそれぞれ接続され,前記and
素子147の出力は,前記and素子143及び前記o
r素子144の入力に接続される。すなわち,図5,図
6の例では,前記マスタ基板1の前記リセット信号送出
手段12から2つの周辺基板2,3のマイクロプロセッ
サ21,31の少なくともいずれかに対して前記リセッ
ト信号が送出されている間は,前記周辺基板2,3の前
記リセット信号送出手段23,33により送出された前
記マスタ基板1の前記マイクロプロセッサ11に対する
いずれの前記リセット信号も無効状態とされるのであ
る。
Although the multiprocessor system according to the embodiment of the present invention is composed of two subsystems, the present invention is not limited to this, and a multiprocessor system having three or more subsystems may be used. It is possible to apply the present invention. For example, FIG. 5 shows three subsystems (master board 1, peripheral board 2,
This is a multiprocessor system including a peripheral board 3), and the reset signal gate means 14 is provided on the master board 1 as in the above embodiment. The configuration shown in FIG. 5 and the case of the embodiment (configuration shown in FIG. 1)
The difference between the two is that the two outputs of the reset signal generating means 12 of the master board 1 are
Reset input 2 of microprocessors 21 and 31 of 3
3 and 33 and the reset signal gate means 14
And not only the output of the reset signal generating means 22 of the peripheral substrate 2 but also the peripheral substrate 3
The output of the reset signal generating means 32 on the side is also connected to the reset signal gate means 14. The specific configuration of the reset signal gate means 14 in this case is as shown in FIG. 6, for example. The difference between the example of FIG. 6 and the example of FIG. 2 is that two and elements 146 and 147 are added to the example of FIG. The and element 146 includes the reset signal sent from the reset signal sending means 12 of the master board 1 to the microprocessor 21 of the peripheral board 2 and the reset signal sent to the microprocessor 31 of the peripheral board 3. The reset signal to be sent is input, and the output of the AND element 146 is used as the preset input of the flip-flop 141 and the delay element 14.
2 inputs. The two inputs of the AND element 147 are connected to the output of the reset signal transmitting means 22 of the peripheral board 2 and the output of the reset signal transmitting means 32 of the peripheral board 3, respectively.
The output of the element 147 is output from the and element 143 and the o element.
Connected to the input of r element 144. That is, in the examples of FIGS. 5 and 6, the reset signal is transmitted from the reset signal transmitting means 12 of the master substrate 1 to at least one of the microprocessors 21 and 31 of the two peripheral substrates 2 and 3. During this period, any of the reset signals to the microprocessor 11 of the master board 1 sent by the reset signal sending means 23, 33 of the peripheral boards 2, 3 are invalidated.

【0011】この場合の前記マスタ基板1の初期動作,
前記周辺基板2,3の初期動作は,それぞれ例えば図7
(a),図7(b)のフローチャートに示す通りとな
る。前記マスタ基板1ではまず前記強制リセット手段1
3により前記マイクロプロセッサ11がリセット(この
場合初期化と同じ)され(S101),次に自動的に前
記マスタ基板1の前記リセット信号送出手段12から,
2つの前記周辺基板2,3の前記マイクロプロセッサ2
1,31それぞれへ前記リセット信号が出力され(S1
02),前記周辺基板2,3の前記マイクロプロセッサ
21,31がリセットされる(S201)。次に,前記
周辺基板2,3では通常処理に移行し(S202),前
記マスタ基板1では,再び前記マイクロプロセッサ1の
リセットが行われた後(S103),通常処理に移行す
る(S104)。通常処理に移行した後の前記マスタ基
板1の監視動作,前記周辺基板2,3の監視動作は,そ
れぞれ例えば図7(c),図7(d)のフローチャート
に示す通りとなる。前記マスタ基板1では,まず前記周
辺基板2の(前記マイクロプロセッサ21の)応答チェ
ックが行われ(S105),その応答が正常であるか否
かが判定される(S106)。その応答が正常でなけれ
ば,前記マスタ基板1の前記リセット信号送出手段12
から前記周辺基板2の前記マイクロプロセッサ21に対
して前記リセット信号が送出される(S107)。一方
前記応答が正常の場合,又は前記マスタ基板1の前記リ
セット信号送出手段12から前記周辺基板2の前記マイ
クロプロセッサ21に対して前記リセット信号を送出し
た後,前記周辺基板3の(前記マイクロプロセッサ31
の)応答チェックが行われ(S108),その応答が正
常であるか否かが判定される(S109)。その応答が
正常でなければ,前記マスタ基板1の前記リセット信号
送出手段12から前記周辺基板3の前記マイクロプロセ
ッサ31に対して前記リセット信号が送出される(S1
10)。一方前記応答が正常の場合,又は前記マスタ基
板1の前記リセット信号送出手段12から前記周辺基板
3の前記マイクロプロセッサ31に対して前記リセット
信号を送出した後,前記手順S105乃至前記S110
が(定期的に)繰り返される。前記周辺基板2,3で
は,これと並列的に,前記マスタ基板1の(前記マイク
ロプロセッサ11の)応答チェックがそれぞれにおいて
行われ(S203),その応答が正常であるか否かが判
定される(S204)。その応答が正常でなければ,前
記周辺基板2,3の前記リセット信号送出手段22,3
2から前記マスタ基板1の前記マイクロプロセッサ11
に対して前記リセット信号が送出される(S205)。
一方前記応答が正常の場合,又は前記周辺基板2,3の
前記リセット信号送出手段22,32から前記マスタ基
板1の前記マイクロプロセッサ11に対して前記リセッ
ト信号を送出した後,前記手順S203乃至前記S20
5が(定期的に)繰り返される。
In this case, the initial operation of the master substrate 1
The initial operation of the peripheral substrates 2 and 3 is, for example, as shown in FIG.
(A), as shown in the flowchart of FIG. 7 (b). First, in the master substrate 1, the forced reset means 1
3, the microprocessor 11 is reset (in this case, the same as the initialization) (S101), and then automatically transmitted from the reset signal sending means 12 of the master substrate 1.
The microprocessor 2 of the two peripheral boards 2 and 3
1 and 31 are output (S1
02), the microprocessors 21, 31 of the peripheral boards 2, 3 are reset (S201). Next, the peripheral boards 2 and 3 shift to normal processing (S202), and the master board 1 resets the microprocessor 1 again (S103) and shifts to normal processing (S104). The monitoring operation of the master substrate 1 and the monitoring operation of the peripheral substrates 2 and 3 after shifting to the normal processing are as shown in the flowcharts of FIGS. 7C and 7D, respectively. The master board 1 first checks the response of the peripheral board 2 (of the microprocessor 21) (S105), and determines whether or not the response is normal (S106). If the response is not normal, the reset signal transmitting means 12 of the master substrate 1
Then, the reset signal is sent to the microprocessor 21 of the peripheral board 2 (S107). On the other hand, when the response is normal, or after the reset signal is sent from the reset signal sending means 12 of the master board 1 to the microprocessor 21 of the peripheral board 2, the reset signal of the peripheral board 3 (the microprocessor 31
Is checked (S108), and it is determined whether or not the response is normal (S109). If the response is not normal, the reset signal is sent from the reset signal sending means 12 of the master board 1 to the microprocessor 31 of the peripheral board 3 (S1).
10). On the other hand, when the response is normal, or after the reset signal is sent from the reset signal sending means 12 of the master board 1 to the microprocessor 31 of the peripheral board 3, the steps S105 to S110 are performed.
Is repeated (periodically). In the peripheral boards 2 and 3, a response check (of the microprocessor 11) of the master board 1 is performed in parallel with this (S203), and it is determined whether or not the response is normal. (S204). If the response is not normal, the reset signal sending means 22, 3 of the peripheral boards 2, 3
2 to the microprocessor 11 of the master board 1
, The reset signal is transmitted (S205).
On the other hand, when the response is normal or after the reset signal is sent from the reset signal sending means 22 and 32 of the peripheral boards 2 and 3 to the microprocessor 11 of the master board 1, the steps S203 to S203 are executed. S20
5 is repeated (periodically).

【0012】[0012]

【発明の効果】以上説明した通り,本発明に係るマルチ
プロセッサシステムでは,マイクロプロセッサを備える
複数のサブシステムのうち,少なくとも一つのサブシス
テムは,自サブシステムが他のサブシステムのマイクロ
プロセッサにリセット信号を送出している間,他のサブ
システムが自サブシステムのマイクロプロセッサに送出
したリセット信号を無効にするリセット信号ゲート手段
を備えているため,監視やリセットのタイミングのばら
つきやリセット時の信号の不安定さにより,複数のサブ
システムが互いにリセットし合ってシステム全体が停止
することを防止することができる。しかも,前記リセッ
ト信号ゲート手段が,前記リセット信号を無効にしてか
ら,自サブシステムが他のサブシステムのマイクロプロ
セッサにリセット信号を送出しなくなっても,自サブシ
ステムのマイクロプロセッサに対する全ての前記リセッ
ト信号がなくなるまで,自サブシステムのマイクロプロ
セッサに対する前記リセット信号の無効状態を継続する
ことによって,前記リセット信号がアクティブな時間の
ばらつきの影響を防止することができる。さらに,前記
マルチプロセッサシステムにおいて,前記リセット信号
ゲート手段を複数のサブシステムのうちシステム全体を
制御するマスタサブシステムに備えれば,相互リセット
による停止を効果的に防止することができる。
As described above, in the multiprocessor system according to the present invention, at least one of a plurality of subsystems including a microprocessor has its own subsystem reset to the microprocessor of another subsystem. Since the reset signal gate means disables the reset signal sent from other subsystems to the microprocessor of the own subsystem while the signal is being sent, fluctuations in monitoring and reset timing and reset signals are provided. , The plurality of subsystems can be prevented from resetting each other and stopping the entire system. Further, even if the reset signal gate means invalidates the reset signal and the own subsystem stops sending the reset signal to the microprocessors of the other subsystems, all the resets for the microprocessors of the own subsystem are performed. By keeping the reset signal invalid for the microprocessor of the own subsystem until the signal disappears, it is possible to prevent the influence of variations in the time during which the reset signal is active. Further, in the multiprocessor system, if the reset signal gating means is provided in a master subsystem that controls the entire system among a plurality of subsystems, stop due to mutual reset can be effectively prevented.

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

【図1】 本発明の実施の形態に係るマルチプロセッサ
システムの概略構成を示す図。
FIG. 1 is a diagram showing a schematic configuration of a multiprocessor system according to an embodiment of the present invention.

【図2】 本発明の実施の形態に係るマルチプロセッサ
システムが備えるリセット信号ゲート手段の具体的構成
例を示す図。
FIG. 2 is a diagram showing a specific configuration example of reset signal gate means provided in the multiprocessor system according to the embodiment of the present invention.

【図3】 図2に示される前記リセット信号ゲート手段
の動作例を説明するタイミングチャート。
FIG. 3 is a timing chart for explaining an operation example of the reset signal gate unit shown in FIG. 2;

【図4】 図2に示される前記リセット信号ゲート手段
の他の動作例を説明するタイミングチャート。
FIG. 4 is a timing chart illustrating another operation example of the reset signal gate unit shown in FIG. 2;

【図5】 本発明の実施例に係るマルチプロセッサシス
テムの概略構成を示す図。
FIG. 5 is a diagram showing a schematic configuration of a multiprocessor system according to an embodiment of the present invention.

【図6】 本発明の実施例に係るマルチプロセッサシス
テムが備えるリセット信号ゲート手段の具体的構成例を
示す図。
FIG. 6 is a diagram showing a specific configuration example of reset signal gate means provided in the multiprocessor system according to the embodiment of the present invention.

【図7】 本発明の実施例に係るマルチプロセッサシス
テムにおける各サブシステムの初期動作,及び監視動作
例を説明するフローチャート。
FIG. 7 is a flowchart illustrating an example of an initial operation and a monitoring operation of each subsystem in the multiprocessor system according to the embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1…マスタ基板 2,3…周辺基板 11,21,31…マイクロプロセッサ 12,22,32…リセット信号送出手段 14…リセット信号ゲート手段 DESCRIPTION OF SYMBOLS 1 ... Master board 2, 3 ... Peripheral board 11, 21, 31 ... Microprocessor 12, 22, 32 ... Reset signal sending means 14 ... Reset signal gate means

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 マイクロプロセッサを有した複数のサブ
システムそれぞれが,暴走した他のサブシステムのマイ
クロプロセッサを再起動するリセット信号を送出するリ
セット信号送出手段を備えたマルチプロセッサシステム
であって, 少なくとも一つのサブシステムは,自サブシステムの前
記リセット信号送出手段が他のサブシステムのマイクロ
プロセッサに前記リセット信号を送出している間,他の
サブシステムの前記リセット信号送出手段が自サブシス
テムのマイクロプロセッサに送出した前記リセット信号
を無効にするリセット信号ゲート手段を備えてなること
を特徴とするマルチプロセッサシステム。
1. A multiprocessor system comprising reset signal transmitting means for transmitting a reset signal for restarting a microprocessor of another subsystem which has runaway, wherein each of the plurality of subsystems having a microprocessor is at least one of: In one subsystem, while the reset signal sending means of the own subsystem sends the reset signal to the microprocessor of another subsystem, the reset signal sending means of the other subsystem sends the reset signal to the microprocessor of the own subsystem. A multiprocessor system comprising reset signal gate means for invalidating the reset signal sent to a processor.
【請求項2】 前記リセット信号ゲート手段が,前記リ
セット信号を無効にしてから,自サブシステムの前記リ
セット信号送出手段が他のサブシステムのマイクロプロ
セッサに前記リセット信号を送出しなくなっても,自サ
ブシステムのマイクロプロセッサに対する全ての前記リ
セット信号がなくなるまで,自サブシステムのマイクロ
プロセッサに対する前記リセット信号の無効状態を継続
してなる請求項1記載のマルチプロセッサシステム。
2. The method according to claim 1, wherein said reset signal gating means invalidates said reset signal and said reset signal sending means of the own subsystem stops sending said reset signal to a microprocessor of another subsystem. 2. The multiprocessor system according to claim 1, wherein the reset signal for the microprocessor of the own subsystem is kept invalid until all the reset signals for the microprocessor of the subsystem disappear.
【請求項3】 複数のサブシステムのうちシステム全体
を制御するマスタサブシステムに前記リセット信号ゲー
ト手段を備えてなる請求項1又は2記載のマルチプロセ
ッサシステム。
3. The multiprocessor system according to claim 1, wherein said reset signal gate means is provided in a master subsystem which controls the entire system among a plurality of subsystems.
JP2000366073A 2000-11-30 2000-11-30 Multiprocessor system Pending JP2002169788A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000366073A JP2002169788A (en) 2000-11-30 2000-11-30 Multiprocessor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000366073A JP2002169788A (en) 2000-11-30 2000-11-30 Multiprocessor system

Publications (1)

Publication Number Publication Date
JP2002169788A true JP2002169788A (en) 2002-06-14

Family

ID=18836747

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000366073A Pending JP2002169788A (en) 2000-11-30 2000-11-30 Multiprocessor system

Country Status (1)

Country Link
JP (1) JP2002169788A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8959402B2 (en) 2012-10-04 2015-02-17 Qualcomm Incorporated Method for preemptively restarting software in a multi-subsystem mobile communication device to increase mean time between failures

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8959402B2 (en) 2012-10-04 2015-02-17 Qualcomm Incorporated Method for preemptively restarting software in a multi-subsystem mobile communication device to increase mean time between failures

Similar Documents

Publication Publication Date Title
US6128747A (en) System for delaying propagation of wake-up signal to processor through the sleep control means until the memory is awakened
KR100329344B1 (en) Power management apparatus and method
US7925954B2 (en) Techniques for entering a low-power link state
US20030131268A1 (en) Dynamic power control in integrated circuits
KR970022792A (en) Information processing system
TWI417731B (en) Bus-handling device and method
TWI546635B (en) Method and apparatus for power management and related integrated circuit
JP2005515546A (en) Low power bus interface
JP2002169788A (en) Multiprocessor system
US10055193B2 (en) Data transfer between clock domains
KR101285665B1 (en) multi core system on chip supporting a sleep mode
JP2003256091A (en) Information processor
JP2003114863A (en) Nonsynchronous bus interface device
JP6906369B2 (en) Computer systems, their control methods, and programs
KR0158491B1 (en) Circuit of malfunction check using program counter data
JP2002024049A (en) Computer for controlling space machine
JPH03222020A (en) Reset system for multi-micro processor system
JPS5954354A (en) Signal transmitting method
CN111565444A (en) Communication device
JP2003162412A (en) Power-saving circuit for cpu
JPH07129278A (en) Resetting control circuit of multiprocessor system
JP2007199887A (en) Interrupt control apparatus and method
JPH01223521A (en) Large scale integrated circuit
JPH0887468A (en) Cpu system
JPH0944276A (en) Power saving system