JPH0594384A - Bus monitor circuit for information processor - Google Patents

Bus monitor circuit for information processor

Info

Publication number
JPH0594384A
JPH0594384A JP3252670A JP25267091A JPH0594384A JP H0594384 A JPH0594384 A JP H0594384A JP 3252670 A JP3252670 A JP 3252670A JP 25267091 A JP25267091 A JP 25267091A JP H0594384 A JPH0594384 A JP H0594384A
Authority
JP
Japan
Prior art keywords
bus
fault
circuit
register
data
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
Application number
JP3252670A
Other languages
Japanese (ja)
Other versions
JP2715740B2 (en
Inventor
Yasushi Sudo
裕史 須藤
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 JP3252670A priority Critical patent/JP2715740B2/en
Publication of JPH0594384A publication Critical patent/JPH0594384A/en
Application granted granted Critical
Publication of JP2715740B2 publication Critical patent/JP2715740B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To easily obtain information required for investigating the cause of occurring a fault and to execute a countermeasure against the fault in a short time. CONSTITUTION:When the fault is detected at an input/output bus B2 by a fault detection circuit D3, data turning a bit corresponding to the fault to '1' are outputted. A register R5 holds data turning the bit corresponding to the fault to the '1' to output a stop signal to a memory control circuit M7, and an AND circuit A8 ANDs the data from the detection circuit D3 and the data from the register R5 for each bit. When there is only one pair of bits establishing the AND, an OR circuit 09 outputs the stop signal to the control circuit M7. The memory control circuit M7 always fetches an address, data and control signal from the bus B2 and stores them and when the stop signal is inputted, however, the circuit M7 stops fetching signals and holds an information processor fetched from the input/output bus B2 during a fixed period before the generation of the fault.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、情報処理装置のバス監
視回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus monitoring circuit of an information processing device.

【0002】[0002]

【従来の技術】従来のこの種のバス監視回路は、バス上
で障害が発生するとそのことを割り込みにより中央処理
装置に報告するようになっていた。また、バス監視回路
は、発生した障害の種別を表す情報を所定のレジスタに
保持するようになっており、中央処理装置はそのレジス
タの内容を読み取ることにより、発生した障害の種別を
認識していた。
2. Description of the Related Art A conventional bus monitoring circuit of this type has been designed to report the occurrence of a failure on a bus to a central processing unit by means of an interrupt. Further, the bus monitoring circuit holds information indicating the type of fault that has occurred in a predetermined register, and the central processing unit recognizes the type of fault that has occurred by reading the contents of that register. It was

【0003】[0003]

【発明が解決しようとする課題】しかしこのような従来
のバス監視回路は、バス障害を発生させた装置のIDお
よびその装置によるアクセスの種類などの情報は保持せ
ず、また障害発生以前にバスをアクセスした装置のID
およびアクセスの種類などの情報も保持しない。すなわ
ち、従来のバス監視回路では、障害発生の原因を究明す
るために必要な上述のようなIDや情報が得られないた
め、原因究明のためには、外部の測定器を接続し、バス
の監視を行える環境を整えた上で障害を再現させ、バス
障害に関する詳細な情報を取得する必要があった。また
障害の再現は稼働中の装置で行うことは困難であるた
め、障害再現用の装置を別に用意する必要があった。従
って、障害が発生してから対策を実施するまでに長時間
を要していた。加えて障害を再現することが困難である
場合も多く、そのような場合には対策を実施することは
不可能であった。
However, such a conventional bus monitoring circuit does not hold information such as the ID of a device that has caused a bus failure and the type of access by that device, and the bus monitoring circuit before the failure occurs. ID of the device that accessed the
It also does not hold information such as access type. That is, the conventional bus monitoring circuit cannot obtain the above-mentioned ID and information necessary for investigating the cause of the failure occurrence. Therefore, in order to investigate the cause, an external measuring device is connected and the bus It was necessary to prepare a monitoring environment and reproduce the failure to obtain detailed information about the bus failure. Further, since it is difficult to reproduce a failure in a device that is in operation, it is necessary to separately prepare a device for reproducing a failure. Therefore, it took a long time to take countermeasures after a failure occurs. In addition, it is often difficult to reproduce the failure, and in such a case, it was impossible to take measures.

【0004】本発明の目的は、このような問題を解決
し、障害の原因究明に必要な情報が容易に得られ、短時
間で対策を実施できるようにする情報処理装置のバス監
視回路。
An object of the present invention is to solve the above problems, to easily obtain the information necessary for investigating the cause of a failure, and to take countermeasures in a short time.

【0005】[0005]

【課題を解決するための手段】本発明による情報処理装
置のバス監視回路は、バスの障害を検出する障害検出回
路と、前記バスを伝送される信号を随時取り込んで記憶
し、停止信号が与えられたとき、前記バスからの前記信
号の取組を停止するメモリと、前記障害検出回路がバス
の障害を検出したとき、前記停止信号を前記メモリに出
力するトレース制御回路と、前記障害検出回路が検出し
た前記障害を表す情報を保持する第1のレジスタとを備
えたことを特徴とする。
A bus monitoring circuit of an information processing apparatus according to the present invention includes a failure detection circuit for detecting a failure of a bus and a signal transmitted through the bus, which is fetched and stored at any time, and a stop signal is given. When the fault detection circuit detects a fault in the bus, the memory stops the approach of the signal from the bus, and the trace control circuit outputs the stop signal to the memory when the fault detection circuit detects the fault in the bus. And a first register for holding information indicating the detected failure.

【0006】[0006]

【実施例】次に本発明の実施例について図面を参照して
説明する。図1に本発明による情報処理装置のバス監視
回路の一例を示す。障害検出回路D3は入出力バスB2
で障害が発生するとそれを検出し、発生した障害の種別
を表す障害検出データを出力する。この検出回路D3は
最大32種類の障害を検出する。検出回路D3が出力す
る障害検出データは32ビットのデータであり、データ
の各ビットが障害の種別に対応している。そして検出回
路D3は検出した障害に対応するビットを論理“1”と
する。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 shows an example of a bus monitoring circuit of an information processing device according to the present invention. The fault detection circuit D3 is the input / output bus B2
When a failure occurs, the failure is detected and the failure detection data indicating the type of the failure is output. The detection circuit D3 detects a maximum of 32 types of failures. The fault detection data output by the detection circuit D3 is 32-bit data, and each bit of the data corresponds to the fault type. Then, the detection circuit D3 sets the bit corresponding to the detected fault to logic "1".

【0007】エラーレジスタR4は32ビットのレジス
タであり、障害検出回路D3から障害検出データを受け
取り、それを保持する。中央処理装置(図示せず)はこ
のレジスタR4の内容をメモリバスB1を通じて読み取
ることができ、また逆にデータを書き込むことができ
る。停止条件レジスタR5は32ビットのレジスタであ
り、メモリバスB1を通じて中央処理装置によりデータ
が書き込まれる。そのデータの各ビットは障害検出回路
D3が出力するデータと同様、バス障害の種別に対応し
ている。
The error register R4 is a 32-bit register, receives fault detection data from the fault detection circuit D3, and holds it. A central processing unit (not shown) can read the contents of this register R4 through the memory bus B1 and vice versa. The stop condition register R5 is a 32-bit register, and data is written by the central processing unit through the memory bus B1. Each bit of the data corresponds to the type of bus failure, like the data output by the failure detection circuit D3.

【0008】アンド回路A8は、障害検出回路D3から
の障害検出データと、レジスタR5が保持するデータと
のビットごとの論理積を求め、結果を32本の信号線に
それぞれ出力する。停止レジスタR6はアンド回路A8
が出力する32ビットのデータを取り込んで保持し、中
央処理装置はそのデータをメモリバスB1を通じて読み
取ることができる。オア回路O9は32入力のオア回路
であり、アンド回路A8からの32ビットのデータ論理
和を求め、結果を停止信号として出力する。
The AND circuit A8 calculates the bitwise logical product of the fault detection data from the fault detection circuit D3 and the data held in the register R5, and outputs the result to each of the 32 signal lines. The stop register R6 is an AND circuit A8.
The 32-bit data output by the CPU can be fetched and held, and the central processing unit can read the data through the memory bus B1. The OR circuit O9 is a 32-input OR circuit, which obtains a 32-bit data logical sum from the AND circuit A8 and outputs the result as a stop signal.

【0009】メモリ制御回路M7は、入出力バスB2か
ら、アドレス、データ、ならびに制御信号を随時取り込
んで記憶し、停止信号が与えられた場合には、バスB2
からの信号の取り込みを停止する。中央処理装置はメモ
リバスB1を通じてこのメモリ制御回路M7の内容を読
み取ることができる。なお、メモリ制御回路M7は、全
記憶領域に信号を書き込んだ場合には、アドレスを初期
化し、新たに取り込んだ信号を0番地から上書きする。
The memory control circuit M7 fetches and stores addresses, data, and control signals from the input / output bus B2 at any time and stores them. When a stop signal is given, the bus B2 is used.
Stop capturing signals from. The central processing unit can read the contents of the memory control circuit M7 through the memory bus B1. The memory control circuit M7 initializes the address and overwrites the newly fetched signal from the address 0 when the signal is written in the entire storage area.

【0010】次に動作を説明する。中央処理装置はま
ず、レジスタR4にオール“0”のデータを書き込み、
初期化する。また、レジスタR5には、どの種類の障害
が発生したときメモリ制御回路M7におけるデータの書
き込みを停止させるかを示すデータを書き込む。例え
ば、書き込みを停止させるべき障害が複数ある場合、上
記複数の障害に対応する各ビットを論理“1”としたデ
ータを書き込む。
Next, the operation will be described. The central processing unit first writes all "0" data to the register R4,
initialize. In addition, the register R5 is written with data indicating which kind of failure has caused the memory control circuit M7 to stop writing data. For example, when there are a plurality of faults for which writing should be stopped, data in which each bit corresponding to the plurality of faults is a logical "1" is written.

【0011】このような状態で、入出力バスB2で障害
が発生し、障害検出回路D3がそれを検出すると、その
障害に対応するビットを論理“1”とした障害検出デー
タを出力する。レジスタR4はそのデータを受け取って
保持し、一方、アンド回路A8は、障害検出回路D3か
らの障害検出データと、レジスタR5が保持するデータ
とのビットごとの論理積を求め、結果を32ビットのデ
ータとして出力する。そして、オア回路O9は、この3
2ビットのデータの各ビットの論理輪を求め、一つでも
論理“1”のビットが含まれている場合には、論理
“1”の信号を停止信号としてメモリ制御回路M7に出
力する。また、アンド回路A8が出力するデータはレジ
スタR6に保持される。
When a failure occurs in the input / output bus B2 in this state and the failure detection circuit D3 detects it, the failure detection data in which the bit corresponding to the failure is set to logic "1" is output. The register R4 receives and holds the data, while the AND circuit A8 obtains a bitwise logical product of the fault detection data from the fault detection circuit D3 and the data held by the register R5, and the result is a 32-bit result. Output as data. Then, the OR circuit O9
The logic wheel of each bit of the 2-bit data is obtained, and if even one bit of logic "1" is included, the signal of logic "1" is output to the memory control circuit M7 as a stop signal. The data output from the AND circuit A8 is held in the register R6.

【0012】メモリ制御回路M7は常時、入出力バスか
ら、アドレス、データ、ならびに制御信号を取り込んで
記憶しているが、オア回路O9から停止信号が入力され
ると、信号の取り込みを停止する。その結果、バスで障
害が発生する前の一定の期間中に、入出力バスB2を通
じて伝送された情報がメモリ制御回路M7に保持され
る。
The memory control circuit M7 always fetches and stores the address, data, and control signal from the input / output bus, but when the stop signal is inputted from the OR circuit O9, the fetching of the signal is stopped. As a result, the information transmitted through the input / output bus B2 is held in the memory control circuit M7 during a certain period before the bus failure occurs.

【0013】従って、本実施例のバス監視回路では、レ
ジスタR4,R6に保持されたデータをメモリバスB1
を通じて読み出すことによりどのような障害が発生した
かを知ることができ、さらにメモリ制御回路M7に保持
された情報をメモリアドレスB1を通じて読み出すこと
により、障害発生前の一定期間中にバスB2を伝送され
たアドレス、データ、ならびに制御信号を知ることがで
きる。
Therefore, in the bus monitoring circuit of this embodiment, the data held in the registers R4 and R6 is stored in the memory bus B1.
It is possible to know what kind of failure has occurred by reading through the memory B. Further, by reading the information held in the memory control circuit M7 through the memory address B1, the bus B2 is transmitted during a certain period before the occurrence of the failure. It is possible to know the address, data, and control signal.

【0014】[0014]

【発明の効果】以上説明したように本発発明による情報
処理装置のバス監視回路は、バスの障害を検出する障害
検出回路と、前記バスを伝送される信号を随時取り込ん
で記憶し、停止信号が与えられたときは、バスからの信
号の取り込みを停止するメモリと、障害検出回路がバス
の障害を検出したとき、停止信号を前記メモリに出力す
るトレース制御回路と、障害検出回路が検出した障害を
表す情報を保持する第1のレジスタとを備えたことを特
徴とする。従って、本発明による情報処理装置のバス監
視回路では、メモリに障害発生前の一定期間中にバスを
伝送された信号が記憶されるので、メモリの記憶内容を
調べることにより、どの装置のどのアクセスが障害発生
の原因となったかなどを知ることができる。また、発生
した障害の種別は、第1のレジスタに保持された情報に
より知ることができる。そのため、従来のように測定器
を接続し、障害を再現してバス障害に関する情報を取得
したりする必要がなく、また障害再現用の装置を別に用
意する必要もない。その結果、短時間のうちに障害に対
する対策を講じることが可能となる。さらに、稼働中の
装置でただ一度だけ発生した障害に関しても必要な情報
が得られるので、対策を講じることが可能となる。
As described above, the bus monitoring circuit of the information processing apparatus according to the present invention incorporates a fault detection circuit for detecting a fault in the bus and a signal transmitted through the bus, stores and stores the signal at any time, and outputs a stop signal. Is given, a memory that stops capturing signals from the bus, a trace control circuit that outputs a stop signal to the memory when the fault detection circuit detects a fault in the bus, and a fault detection circuit And a first register that holds information indicating a failure. Therefore, in the bus monitoring circuit of the information processing apparatus according to the present invention, the signal transmitted through the bus is stored in the memory during a certain period before the occurrence of a failure. It is possible to know whether the cause of the failure occurred. Further, the type of fault that has occurred can be known from the information held in the first register. Therefore, it is not necessary to connect a measuring device to reproduce the fault and acquire information about the bus fault as in the conventional case, and it is not necessary to separately prepare a device for fault reproduction. As a result, it becomes possible to take measures against the failure within a short time. Furthermore, since necessary information can be obtained even for a failure that has occurred only once in the operating device, it is possible to take countermeasures.

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

【図1】本発明による情報処理装置のバス監視回路の一
例を示すブロック図である。
FIG. 1 is a block diagram showing an example of a bus monitoring circuit of an information processing device according to the present invention.

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

A8 アンド回路 B1 メモリバス B2 入出力バス D3 障害検出回路 M7 メモリ制御回路 O9 オア回路 R4 エラーレジスタ R5 停止条件レジスタ R6 停止レジスタ A8 AND circuit B1 Memory bus B2 I / O bus D3 Fault detection circuit M7 Memory control circuit O9 OR circuit R4 Error register R5 Stop condition register R6 Stop register

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】バスの障害を検出する障害検出回路と、前
記バスを伝送される信号を随時取り込んで記憶し、停止
信号が与えられたとき、前記バスからの前記信号の取組
を停止するメモリと、 前記障害検出回路がバスの障害を検出したとき、前記停
止信号を前記メモリに出力するトレース制御回路と、 前記障害検出回路が検出した前記障害を表す情報を保持
する第1のレジスタとを備えたことを特徴とする情報処
理装置のバス監視回路。
1. A fault detection circuit for detecting a fault in a bus, and a memory for fetching and storing a signal transmitted through the bus at any time and stopping the approach of the signal from the bus when a stop signal is given. A trace control circuit that outputs the stop signal to the memory when the fault detection circuit detects a bus fault; and a first register that holds information indicating the fault detected by the fault detection circuit. A bus monitoring circuit of an information processing device, which is provided.
【請求項2】前記トレース制御回路は、 特定の一つまたは複数のバス障害を表す情報を保持する
第2のレジスタと、 前記障害検出回路により検出された前記障害が、前記第
2のレジスタに保持された情報が表す障害に含まれてい
るとき、前記停止信号を出力する信号生成手段とを備
え、 前記第1のレジスタは、前記障害検出回路により検出さ
れた前記障害の内、前記第2のレジスタに保持された情
報が表す障害に含まれている障害の情報を保持する第3
のレジスタを含むことを特徴とする請求項1記載の情報
処理装置のバス監視回路。
2. The trace control circuit includes a second register that holds information indicating one or more specific bus faults, and the fault detected by the fault detection circuit is stored in the second register. Signal generation means for outputting the stop signal when included in the fault represented by the held information, wherein the first register is the second one of the faults detected by the fault detection circuit. Holding information on a failure included in the failure represented by the information held in the register
2. The bus monitoring circuit for an information processing apparatus according to claim 1, further comprising:
【請求項3】前記バスは入出力バスであることを特徴と
する請求項1記載の情報処理装置のバス監視回路。
3. The bus monitoring circuit for an information processing apparatus according to claim 1, wherein the bus is an input / output bus.
JP3252670A 1991-10-01 1991-10-01 Bus monitoring circuit for information processing equipment Expired - Lifetime JP2715740B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3252670A JP2715740B2 (en) 1991-10-01 1991-10-01 Bus monitoring circuit for information processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3252670A JP2715740B2 (en) 1991-10-01 1991-10-01 Bus monitoring circuit for information processing equipment

Publications (2)

Publication Number Publication Date
JPH0594384A true JPH0594384A (en) 1993-04-16
JP2715740B2 JP2715740B2 (en) 1998-02-18

Family

ID=17240602

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3252670A Expired - Lifetime JP2715740B2 (en) 1991-10-01 1991-10-01 Bus monitoring circuit for information processing equipment

Country Status (1)

Country Link
JP (1) JP2715740B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6231447A (en) * 1985-08-01 1987-02-10 Meidensha Electric Mfg Co Ltd Bus analyzer
JPS6273352A (en) * 1985-09-27 1987-04-04 Mitsubishi Electric Corp Composite bus trace device
JPS63118964A (en) * 1986-11-07 1988-05-23 Nec Corp Information processor
JPS6397146U (en) * 1986-12-15 1988-06-23

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6231447A (en) * 1985-08-01 1987-02-10 Meidensha Electric Mfg Co Ltd Bus analyzer
JPS6273352A (en) * 1985-09-27 1987-04-04 Mitsubishi Electric Corp Composite bus trace device
JPS63118964A (en) * 1986-11-07 1988-05-23 Nec Corp Information processor
JPS6397146U (en) * 1986-12-15 1988-06-23

Also Published As

Publication number Publication date
JP2715740B2 (en) 1998-02-18

Similar Documents

Publication Publication Date Title
JPS63200249A (en) Pseudo fault generating system for cache memory device
JP2715740B2 (en) Bus monitoring circuit for information processing equipment
KR950012495B1 (en) Memory device diagnosis apparatus and method thereof
JP2609768B2 (en) Error detection method for control information read data
JP3173648B2 (en) Failure detection method
JPS59144246A (en) Data reception control system
JPH0216658A (en) Memory device
JPS63753A (en) Test system for memory error checking and correcting circuit
JPS6218943B2 (en)
JPS63174141A (en) Diagnosing system for test of information processor
JPS6029978B2 (en) Check device
JPH0520131A (en) Address monitoring system
JPH04364552A (en) Memory circuit with parity monitor circuit
JPH0553929A (en) Central processing unit with fault information preserving function
JPH0331953A (en) Information processor
JPS60252971A (en) Memory access control system
JPS5917465B2 (en) Check device
JPH0215352A (en) Dummy fault substitution diagnosis system
JPH0434180B2 (en)
JPH01311332A (en) Error check system
JPH03233639A (en) Microprogram controller
JPS6132153A (en) Memory controller
JPH0414149A (en) Test device for parity check circuit
JPS6237748A (en) Triagger signal generating system by firmware
JPH096685A (en) Memory device and its error test method