JPH02257251A - Information processor - Google Patents

Information processor

Info

Publication number
JPH02257251A
JPH02257251A JP1079809A JP7980989A JPH02257251A JP H02257251 A JPH02257251 A JP H02257251A JP 1079809 A JP1079809 A JP 1079809A JP 7980989 A JP7980989 A JP 7980989A JP H02257251 A JPH02257251 A JP H02257251A
Authority
JP
Japan
Prior art keywords
bus
input
data
address
memory
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
JP1079809A
Other languages
Japanese (ja)
Inventor
Hisaharu Sakamoto
坂本 久治
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP1079809A priority Critical patent/JPH02257251A/en
Publication of JPH02257251A publication Critical patent/JPH02257251A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Multi Processors (AREA)
  • Bus Control (AREA)

Abstract

PURPOSE:To monitor which CPU and access to be executed cause the generation of abnormality by monitoring a bus master for occupying a common bus as a position of a third person. CONSTITUTION:A 1-chip central processing unit 3 measures a time interval of a transfer response for showing a fact that a bus request from an OR input part 1 and an access are ended, and in the case when its time interval is longer than the time of a normal time determined in advance, an address 6, data 7, commands 8 - 11, a bus request and a but priority input 12 in that case are divided and inputted through a multiplexer part 2. Subsequently, a module of the CPU 3 in which abnormality is caused is decided from the bus request, and from information of the address 6, the data 7 and the commands 8 - 11, error information such as which data 7 is brought to memory write or input/ output write to any address 6, and which data is brought to memory read or input/output read is obtained, worked and informed. In such a way, even if the bus master is brought to stall, bus time-out can be detected, and abnormality information is obtained.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマルチCPUで構成される情報処理装置に利用
する。本発明はバスマスタを第三者の立場で監視する監
視専用のCPUを備えた情報処理装置のバスマスタの監
視に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention is applied to an information processing device configured with multiple CPUs. The present invention relates to monitoring of a bus master in an information processing apparatus equipped with a CPU dedicated to monitoring the bus master from the standpoint of a third party.

〔概要〕〔overview〕

本発明は複数のCPUが共通バスにより接続された情報
処理装置において、 共通バスを占有しているバスマスタを第三者の立場で監
視することにより、 バスマスタがストールしてもバスタイムアウトを検出す
ることができ、どのCPUがどのようなアクセスを行お
うとして異常が発生したのかを監視できるようにしたも
のである。
The present invention detects a bus timeout even if the bus master stalls by monitoring the bus master occupying the common bus from a third party's perspective in an information processing device in which a plurality of CPUs are connected by a common bus. This makes it possible to monitor which CPU is attempting to perform what kind of access and whether an error has occurred.

〔従来の技術〕[Conventional technology]

従来、この種のマルチCPU構成を使用できるバスとし
てはインテルMULTIBUS (IEEE796)が
ある。これは共有バスを調停する手段は備えているが、
共有バスを占有しているバスマスタを監視する第三者的
立場の監視手段はなく、長時間共有バスを占有する異常
はバスマスタがタイマを使ってバスタイムアウトの形で
検出していた。
Conventionally, Intel MULTIBUS (IEEE796) is a bus that can use this type of multi-CPU configuration. Although it provides a means to arbitrate the shared bus,
There is no third-party monitoring means to monitor the bus master occupying the shared bus, and the bus master uses a timer to detect an abnormality in which the bus master occupies the shared bus for a long time in the form of a bus timeout.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のバスマスタの監視は、バスマスタになる
CPUがバスの占有時間を監視しているため、共有バス
を通じて共有入出力装置または共有メモリにアクセスし
た場合、共有入出力装置または共有メモリの故障が原因
で転送応答が無くバスの占有が異常と判断できるほど長
時間続いたときバスマスタは正常であるためにバスタイ
ムアウトとして異常を検出することができるが、バスマ
スタ内のローカルメモリが故障したり、プログラムが暴
走して誤って、共有入出力装置や共有メモリをアクセス
した場合は、監視する立場のCPUが正常動作をしてい
ないためにバスタイムアウトを検出できないことがある
欠点を有している。
In the conventional bus master monitoring described above, the CPU that becomes the bus master monitors the bus occupancy time, so if a shared input/output device or shared memory is accessed through the shared bus, there is no risk of failure of the shared input/output device or shared memory. When there is no transfer response due to the cause and the bus occupancy continues for a long enough time to be considered abnormal, the bus master is normal and the abnormality can be detected as a bus timeout. However, if the local memory in the bus master malfunctions or the program If a shared input/output device or a shared memory is accidentally accessed due to runaway, the bus timeout may not be detected because the CPU in the monitoring position is not operating normally.

本発明はこのような欠点を除去するもので、バスマスタ
内のローカルメモリの故障やプログラム暴走によって共
有入出力装置や共有メモリがアクセスされた場合もバス
タイムアウトを検出できる装置を提供することを目的と
する。
The present invention aims to eliminate such drawbacks, and aims to provide a device that can detect a bus timeout even when a shared input/output device or shared memory is accessed due to a local memory failure or program runaway in the bus master. do.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、複数の中央処理装置が共通バスにより接続さ
れた情報処理装置において、前記各中央処理装置のモジ
ュールがバスマスタになることを要求するバス要求を人
力する論理和入力部と、アドレス、データ、メモリコマ
ンド、メモリライトコマンド、入出カリ−トコマント、
人出カライドコマンド、バス要求、およびバス優先度入
力をポート人力に分割するマルチプレクサ部と、前記論
理和入力部からのバス要求とアクセスが終了したことを
示す転送応答の時間間隔を計測し、あらかじめ定められ
た正常時の時間より長い場合はそのトキのアドレス、デ
ータ、コマンド、バス要求、バス優先度入力を前記マル
チプレクサ部を通じて入力し、バス要求から異常を起こ
した中央処理装置のモジュールを判断し、アドレス、デ
ータ、コマンドの情報からどのアドレスに対してどのよ
うなデータをメモリライトまたは人出カライドしたか、
どのアドレスに対してメモリリードまたは入出力リード
しようとしたかのエラー情報の入手、加工、および通知
を行う1チップ中央処理装置とを含むバスマスタ監視手
段を備えたことを特徴とする。
The present invention provides an information processing apparatus in which a plurality of central processing units are connected by a common bus, including a logical sum input unit for manually inputting a bus request requesting that a module of each central processing unit become a bus master, and an address, data, and , memory command, memory write command, input/output command,
measuring the time interval between the bus request from the bus request and the transfer response indicating that the access has been completed; If the time is longer than a predetermined normal time, the address, data, command, bus request, and bus priority input of that bird are input through the multiplexer section, and the module of the central processing unit that caused the abnormality is determined from the bus request. Then, from the address, data, and command information, determine what data was written to memory or written to which address.
The present invention is characterized by comprising a bus master monitoring means including a one-chip central processing unit that obtains, processes, and notifies error information regarding which address an attempt is made to read memory or read input/output.

〔作用〕[Effect]

1チップ中央処理装置が論理和入力部からのバス要求と
アクセスが終了したことを示す転送応答の時間間隔を計
測し、あらかじめ定められた正常時の時間よりその時間
間隔が長い場合はそのときのアドレス、データ、コマン
ド、バス要求、およびバス優先度入力をマルチプレクサ
部を通じて分割して人力し、バス要求から異常を起こし
たCPUのモジニールを判断し、アドレス、データコマ
ンドの情報からどのアドレスに対してどういうデータを
メモリライトまたは入出カライドしたのか、どのアドレ
スに対してメモリリードまたは人出力リードしようとし
たのかといったエラー情報の入手、加工、および通知を
行う。
The one-chip central processing unit measures the time interval between the bus request from the OR input unit and the transfer response indicating that the access has ended, and if the time interval is longer than the predetermined normal time, the time interval is Addresses, data, commands, bus requests, and bus priority inputs are divided manually through the multiplexer section, the module of the CPU that caused the error is determined from the bus requests, and which address is assigned based on the address and data command information. Obtain, process, and notify error information such as what kind of data was written to memory or input/outputted, and which address was attempted to be read from memory or read from human output.

これにより、バスマスタがストールしてもバスタイムア
ウトを検出することができ、バスマスタになろうとして
どのCPUがどのようなアクセスを行おうとしていると
きに異常が起きたのかなどの異常情報を得ることができ
る。
This makes it possible to detect a bus timeout even if the bus master stalls, and to obtain abnormal information such as which CPU is attempting to become the bus master and which CPU is attempting to perform what kind of access when an error occurs. can.

〔実施例〕〔Example〕

次に、本発明実施例を図面に基づいて説明する。 Next, embodiments of the present invention will be described based on the drawings.

第1図は本発明実施例の構成を示すブロック図、第2図
は本発明実施例のバス異常時と異常時におけるタイミン
グチャートである。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is a timing chart of the embodiment of the present invention when the bus is abnormal and when it is abnormal.

本発明実施例は、各CPUのモジュールがバスマスタに
なることを要求するバス要求(B RE Qii=Q、
1.2、 )4の論理和入力部1と、アドレx (AD
Rn n=o、1.2、 )6、データ(DATmm=
0.1.2、 )7、メモリリードコマンド(MRDc
)8、メモリライトコマンド(MWTc)9、人出カリ
−トコマント(I ORc)10、人出カライドコマン
ド(IOWcHLバス要求(BREQi  i=Q、1
.2、 )4、バス要求の中で最も優先順位の高いCP
Uモジュールにバス使用の許可を与えるバス優先度入力
(BPRNii=0.1.2、・・)12を8本のポー
ト入力に分けるマルチプレクサ部2と、バス要求(BR
EQi)4とアクセスが終了したことを示す転送応答(
XACK)50時間間隔を計測し、あらかじめ定められ
た正常時の時間より長い場合はそのときのアドレス(A
DRn)6、データ (DATm)7、各コマンド(M
RDc 、MWTc 、l0Rc 、10Wc)8.9
.10.11、バス要求(BREQi)4、バス優先度
入力(BPRNi)12をマルチプレクサ部2を通じて
人力し、バス要求(BREQi)4から異常を起こした
CPUモジニールを判断し、アドレス、データおよびコ
マンドの情報からどのアドレスに対してどういうデータ
をメモリライトまたは入出カライドしたのか、どのアド
レスに対してメモリリードまたは入出力リードしようと
したのかのエラー情報の入手、加工、および通知を行う
ROM、RAM、入出力ポート、およびタイマを1チッ
プに組込んだ1チップCPUを含むバスマスタ監視手段
を備える。
The embodiment of the present invention uses a bus request (B RE Qii=Q,
1.2, )4 logical sum input part 1 and address x (AD
Rn n=o, 1.2, )6, data (DATmm=
0.1.2, )7, Memory read command (MRDc
) 8, Memory write command (MWTc) 9, Output card command (IORc) 10, Output card command (IOWcHL bus request (BREQi = Q, 1
.. 2. ) 4. CP with the highest priority among bus requests
A multiplexer unit 2 divides the bus priority input (BPRNii=0.1.2,...) 12 that gives permission to the U module to use the bus into eight port inputs, and a bus request (BR
EQi) 4 and a transfer response (
XACK) 50 hour intervals, and if it is longer than the predetermined normal time, the address at that time (A
DRn) 6, data (DATm) 7, each command (M
RDc, MWTc, l0Rc, 10Wc) 8.9
.. 10.11, manually input the bus request (BREQi) 4 and bus priority input (BPRNi) 12 through the multiplexer unit 2, determine the CPU module that caused the abnormality from the bus request (BREQi) 4, and input the address, data, and command. ROM, RAM, input/output information that obtains, processes, and reports error information such as what kind of data was written to memory or input/output to which address, and what address was attempted to be read from memory or input/output. The bus master monitoring means includes a one-chip CPU incorporating an output port and a timer on one chip.

論理和(以下ORという)入力部1は各CPUモジュー
ルからのバス要求(BREQi)4のORをとり、マル
チプレクサ2はアドレス(A D Rn)6、データ(
DATn)?、メモリリードコマンド(MRDC)8、
メモリライトコマンド(MWTc)9、人出カリ−トコ
マント(I ORc) 10.入出カライドコマンド(
IOWc)11、バス要求(BREQi)4、バス優先
度入力(BPRNi)12の信号を選択信号(SELE
CT)13によって8本単位に選択し、1チップCPU
3の入力ポートに分割して入力する。
A logical sum (hereinafter referred to as OR) input unit 1 takes the OR of bus requests (BREQi) 4 from each CPU module, and a multiplexer 2 outputs the address (A D Rn) 6 and data (
DATn)? , memory read command (MRDC) 8,
Memory write command (MWTc) 9, crowd control command (IORc) 10. Input/output Kalide command (
IOWc) 11, bus request (BREQi) 4, and bus priority input (BPRNi) 12 signals as the selection signal (SELE).
CT) 13 to select in units of 8, 1 chip CPU
Divide and input into 3 input ports.

1チップCPU3はバス要求(BREQi)4のOR人
力を監視し、いずれかのCPUモジュールがバス要求(
BREQi)4をオンすると、その時点からバスマスタ
のアクセスが終了したことを示す転送応答(XACK)
5がオンするまでの時間を計測し、あらかじめ定められ
た正常時の時間内に転送応答(XACK)5がオンにな
らない場合は、存在しないメモリまたは入出力をアクセ
スしたなど何らかの異常が発生したと判断しマルチプレ
クサ2から各種情報を取り込む。
The 1-chip CPU 3 monitors the OR of the bus request (BREQi) 4, and any CPU module responds to the bus request (BREQi).
When BREQi)4 is turned on, a transfer response (XACK) indicating that the bus master access has ended from that point on.
If the transfer response (XACK) 5 does not turn on within a predetermined normal time, it is assumed that some abnormality has occurred, such as accessing non-existent memory or input/output. It makes a judgment and takes in various information from the multiplexer 2.

各種情報とは、異常を検出した時点でのアドレス(AD
Rn)6、データ(DATn)7、メモリリードコマン
ド(MRDc)8、メモリライトコマンド(MWTc)
9、入出カリ−トコマント(IORC)10、入出カラ
イドコマンド(I 0WC)11、バス要求(BREQ
i)4、バス優先度入力(BPRNi)12の状態であ
る。
Various information includes the address (AD) at the time the abnormality was detected.
Rn) 6, data (DATn) 7, memory read command (MRDc) 8, memory write command (MWTc)
9, Input/output command (IORC) 10, Input/output command (I0WC) 11, Bus request (BREQ)
i) 4, the bus priority input (BPRNi) is in the state of 12.

バス要求(BREQi)4からどのCPUモジュールが
バスマスタになろうとしてバス要求を出しており、それ
が許可されたか否かがバス優先度入力(BPRNi)1
2で判断できる。次にバスマスタになったCPUモジュ
ールがどのアドレスのメモリまたは入出力に対してデー
タをリードしたのか、またはデータをライトしたのかが
アドレス(ADRn)6、データ (DATn)7、メ
モリ!J−)’:I7ンド(MRDc)8、メモリライ
トコマンド(MWTc)9、入出カリ−トコマント(I
ORc)、入出カライドコマンド(IOWc)11の状
態から判断することができ、これらの情報をデータ(D
ATO〜DAT7)14 、!J−t’ (RD)15
.5イ)  (WR)16 、チップセレクト (C3
)17、アドレス(AO)18、割込(INT)19を
使ッテ上位CPUにも通知できる。
From bus request (BREQi) 4, bus priority input (BPRNi) 1 indicates which CPU module is issuing a bus request in an attempt to become the bus master, and whether or not it has been granted.
You can judge by 2. Next, the CPU module that became the bus master reads data from or writes data to which memory or input/output address, address (ADRn) 6, data (DATn) 7, memory! J-)': I7 command (MRDc) 8, memory write command (MWTc) 9, input/output command (I
ORc) and input/output command (IOWc) 11.
ATO~DAT7)14,! J-t' (RD)15
.. 5a) (WR)16, Chip Select (C3
) 17, address (AO) 18, and interrupt (INT) 19 can also be used to notify the upper CPU.

第2図はデータをメモリに対してライトする場合のタイ
ミングチャートを正常時は実線で、異常時は点線で示す
。バスマスタになろうとするCPUモジ、−ルがバス要
求(BREQI)4をオンすると他のバス要求と優先度
を比較して最も優先度が高ければバス要求の許可を示す
バス優先度入力(BPRNi)12がオンされ、アドレ
ス(ADRn)6、データ(DATm)?、メモリライ
トコマンド(MWTC)9が共有バスに出力できるよう
になる。
FIG. 2 shows a timing chart for writing data to the memory, with solid lines in normal times and dotted lines in abnormal times. When a CPU module that wants to become a bus master turns on bus request (BREQI) 4, it compares the priority with other bus requests and if it has the highest priority, the bus priority input (BPRNi) indicates permission for the bus request. 12 is turned on, address (ADRn) 6, data (DATm)? , memory write command (MWTC) 9 can be output to the shared bus.

アドレス(ADRn)6によって選択されたメモリにデ
ータ(DATm)7が書き込まれればメモリモジュール
によって転送応答(XACK)5がオンされ、バス要求
(BREQi)4、バス優先度入力(B P RN1)
12、メモリライトコマンド(MWTc)9がオフされ
、アドレス(A D RD)6、データ (DATm)
7も解放される。異常時は一定時間を経過しても転送応
答(XACK)5がオンとならず共有バスが占有された
ままの状態となっている。
When data (DATm) 7 is written to the memory selected by address (ADRn) 6, transfer response (XACK) 5 is turned on by the memory module, bus request (BREQi) 4, and bus priority input (B P RN1).
12. Memory write command (MWTc) 9 is turned off, address (A D RD) 6, data (DATm)
7 will also be released. In the event of an abnormality, the transfer response (XACK) 5 is not turned on even after a certain period of time has elapsed, and the shared bus remains occupied.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によれば、バスの状態を第三
者の立場で1チップCPUが監視することにより、バス
マスタがストールすることによってバスタイムアウトが
検出できない問題を解消することができ、バスマスタに
なろうとしてどのCPUモジュールがどのようなアクセ
スを行ふうとしているときに異常が起きたのかなどの情
報を得ることができる効果がある。
As explained above, according to the present invention, by having a single-chip CPU monitor the bus status from a third party's perspective, it is possible to solve the problem of not being able to detect a bus timeout due to the bus master stalling. This has the effect of being able to obtain information such as which CPU module is attempting to perform what kind of access when an error occurs.

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

第1図は本発明実施例の構成を示すブロック図。 第2図は本発明実施例のバスの正常時と異常時のタイミ
ングチャート。 1・・・論理和(OR)入力部、2・・・マルチプレク
サ、3・・・1チップCPU、4・・・バス要求(BR
EQii=Q、1.2、−・・)、5・・・転送応答(
XACK) 、6・・・アドレx (ADRn n=o
、1.2、−)、7−・・データ (DATmm=O1
1,2、・・・)8・・・メモリリードコマンド(MR
Dc)、9・・・メモリライトコマンド(MWTc)、
10・・・入出カリ−トコマント(IORc)、11・
・・入出カライドコマンド(IOWc)、12・・・バ
ス優先度入力(BPRNi  i=0.1.2、・・・
)、13・・・選択(SELECT)、14・・・デー
タ (DATO〜DAT?)、15・・・リード(RD
) 、16・・・ライト (WR) 、17・・・チッ
プセレクト (C3)、18・・・アドレス(AO)、
19・・・割込(INT)。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. FIG. 2 is a timing chart of the bus in normal and abnormal states according to the embodiment of the present invention. 1... Logical sum (OR) input section, 2... Multiplexer, 3... 1-chip CPU, 4... Bus request (BR
EQii=Q, 1.2, -...), 5... Transfer response (
XACK), 6...address x (ADRn n=o
, 1.2, -), 7-...Data (DATmm=O1
1, 2,...) 8...Memory read command (MR
Dc), 9...Memory write command (MWTc),
10... Input/output card command (IORc), 11.
...I/O Kalide command (IOWc), 12...Bus priority input (BPRNi i=0.1.2,...
), 13...SELECT, 14...Data (DATO~DAT?), 15...Read (RD
), 16...Write (WR), 17...Chip select (C3), 18...Address (AO),
19...Interrupt (INT).

Claims (1)

【特許請求の範囲】 1、複数の中央処理装置が共通バスにより接続された情
報処理装置において、 前記各中央処理装置のモジュールがバスマスタになるこ
とを要求するバス要求を入力する論理和入力部と、 バス上の情報をポート入力に分割するマルチプレクサ部
と、 前記論理和入力部からの監視情報の入手、加工、および
通知を行う1チップ中央処理装置と を含むバスマスタ監視手段を備えたことを特徴とする情
報処理装置。
[Scope of Claims] 1. In an information processing device in which a plurality of central processing units are connected by a common bus, a logical sum input unit that inputs a bus request requesting that a module of each central processing unit become a bus master; , bus master monitoring means including a multiplexer section that divides information on the bus into port inputs, and a one-chip central processing unit that obtains, processes, and notifies monitoring information from the logical sum input section. Information processing equipment.
JP1079809A 1989-03-29 1989-03-29 Information processor Pending JPH02257251A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1079809A JPH02257251A (en) 1989-03-29 1989-03-29 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1079809A JPH02257251A (en) 1989-03-29 1989-03-29 Information processor

Publications (1)

Publication Number Publication Date
JPH02257251A true JPH02257251A (en) 1990-10-18

Family

ID=13700538

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1079809A Pending JPH02257251A (en) 1989-03-29 1989-03-29 Information processor

Country Status (1)

Country Link
JP (1) JPH02257251A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0944378A (en) * 1995-07-28 1997-02-14 Nec Corp Bus fault detector

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0944378A (en) * 1995-07-28 1997-02-14 Nec Corp Bus fault detector

Similar Documents

Publication Publication Date Title
JPH0666821B2 (en) Data communication controller
JPS6155743A (en) Error detection/separation/recovery unit
JPH02257251A (en) Information processor
JPH02130666A (en) System reconfiguration method for multiprocessor systems
JPH06324957A (en) Bus monitoring device
JP2993694B2 (en) Information processing device
JP3626292B2 (en) Bus interface control method
JP2702317B2 (en) Exclusive control processor for shared memory
JPS59229662A (en) Common memory control circuit
KR100238175B1 (en) Bus control logic
JPS63286949A (en) Bus control method
JP3211264B2 (en) External bus control method
JP6992295B2 (en) Electronic device
JPH02103619A (en) Adapter device
JPH0746337B2 (en) Adapter control method
JPH054710B2 (en)
JP2825589B2 (en) Bus control method
JPS5840619A (en) Sequence controller and its control method
JPH02133835A (en) System control system
JPH0520259A (en) Internal bus control system of process module
JPH01316851A (en) Channel control system
JPS603778A (en) Processor reset system
JPH0354374B2 (en)
JPH0217563A (en) Method for initializing shared memory
JPS61234447A (en) bus acquisition controller