JPH11219323A - Data path fault detection method and information processor - Google Patents

Data path fault detection method and information processor

Info

Publication number
JPH11219323A
JPH11219323A JP10020621A JP2062198A JPH11219323A JP H11219323 A JPH11219323 A JP H11219323A JP 10020621 A JP10020621 A JP 10020621A JP 2062198 A JP2062198 A JP 2062198A JP H11219323 A JPH11219323 A JP H11219323A
Authority
JP
Japan
Prior art keywords
data
data path
processor
register
registers
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.)
Withdrawn
Application number
JP10020621A
Other languages
Japanese (ja)
Inventor
Sadahisa Furukawa
禎久 古川
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 Engineering Ltd
Original Assignee
NEC Engineering Ltd
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 Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP10020621A priority Critical patent/JPH11219323A/en
Publication of JPH11219323A publication Critical patent/JPH11219323A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a data path fault detection method and an information processor, by which software in the processor writes/reads data in a register in an objective controller into/from a register at prescribed intervals and the fault of a data path can always be detected without the need of parity functions for the processor and the objective controller. SOLUTION: In the data path fault detection method for detecting the fault of the data path contains a stage for writing same data in first and second registers 4 and 11 provided at both ends of the data path and a stage for comparing data stored in the first and second registers 4 and 11. Furthermore, a data path fault detection program and the information processor operating based on the method are provided.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、情報処理装置にお
けるハードウェア故障の検出に関し、特に、プロセッサ
と、プロセッサに制御される対象の装置(以下、制御対
象装置と記す)間のデータパスの故障検出に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to detection of a hardware failure in an information processing apparatus, and more particularly, to a failure of a data path between a processor and a device controlled by the processor (hereinafter referred to as a controlled device). Regarding detection.

【0002】[0002]

【従来の技術】プロセッサと制御対象装置間のデータパ
スにおける従来の故障検出には、パリティチェックによ
る故障検出と、初期診断による故障検出がある。
2. Description of the Related Art Conventional fault detection in a data path between a processor and a device to be controlled includes fault detection by parity check and fault detection by initial diagnosis.

【0003】パリティチェックによる故障検出では、プ
ロセッサと制御対象装置間でパリティチェックを行うこ
とにより、データパスの故障検出を行う。従って、パリ
ティ生成回路、パリティ比較回路、パリティ信号のパス
が必要である。
In the failure detection by the parity check, a data path failure is detected by performing a parity check between the processor and the device to be controlled. Therefore, a parity generation circuit, a parity comparison circuit, and a path for a parity signal are required.

【0004】図3は、パリティチェックによりデータパ
スの故障診断を行う情報処理装置の一例である。プロセ
ッサ6と制御対象装置7との間の接続には、データ信号
線25とパリティ信号線26が必要となる。これはデー
タ信号1バイト(8ビット)に対して1ビットのパリテ
ィ信号が必要なためである。例えば、データが4バイト
の場合はパリティ信号を4本、8バイトの場合はパリテ
ィ信号を8本、データ信号とは別に必要とする。
FIG. 3 shows an example of an information processing apparatus for diagnosing a data path failure by parity check. The connection between the processor 6 and the control target device 7 requires a data signal line 25 and a parity signal line 26. This is because a 1-bit parity signal is required for one byte (8 bits) of the data signal. For example, when the data is 4 bytes, four parity signals are required, and when the data is 8 bytes, eight parity signals are required separately from the data signal.

【0005】一方、初期診断による故障検出では、情報
処理装置の初期診断動作時にテストプログラムを実行し
てデータの書き込み/読み出し動作を行うことにより、
データパスの故障検出を行う。
On the other hand, in the failure detection by the initial diagnosis, a test program is executed at the time of the initial diagnosis operation of the information processing apparatus to perform a data write / read operation.
Performs data path failure detection.

【0006】[0006]

【発明が解決しようとする課題】パリティチェックによ
る故障検出では、プロセッサを内蔵する集積回路と制御
対象装置の両方の入出力ピン数がパリティ信号に必要な
分多くなってしまうという欠点がある。また、パリティ
機能の実現にはパリティ生成回路とパリティ比較回路が
必要となり、その分回路が複雑になるという欠点があ
る。
In the failure detection by the parity check, there is a disadvantage that the number of input / output pins of both the integrated circuit including the processor and the control target device is increased by the amount required for the parity signal. In addition, realization of the parity function requires a parity generation circuit and a parity comparison circuit, which has the disadvantage that the circuit becomes complicated.

【0007】一方、初期診断による故障検出は装置の初
期診断時に行われるが、情報処理装置が通常動作に移行
した後は故障検出を実行できないという欠点がある。
On the other hand, the failure detection by the initial diagnosis is performed at the time of the initial diagnosis of the apparatus. However, there is a disadvantage that the failure detection cannot be performed after the information processing apparatus shifts to the normal operation.

【0008】本発明が解決しようとする課題は、プロセ
ッサと対象制御装置双方にパリティ機能を必要とせず、
一定間隔でプロセッサ内のソフトウェアが対象制御装置
内のレジスタにデータを書き込み、読み出しして、常時
データパスの故障を検出できるデータパスの故障検出方
法及び情報処理装置を提供することである。
The problem to be solved by the present invention is that neither the processor nor the target control device requires a parity function,
It is an object of the present invention to provide a data path failure detection method and an information processing device which can always detect a data path failure by writing and reading data in a register in a target control device by software in a processor at regular intervals.

【0009】[0009]

【課題を解決するための手段】前述の課題を解決するた
め、本発明は、データパスの故障を検出するデータパス
故障検出方法において、データパスの両端に備えられた
第1及び第2のレジスタに同一のデータを書き込む段階
と、第1及び第2のレジスタに格納されたデータを比較
する段階とを含むことを特徴とするデータパス故障検出
方法を提供する。
In order to solve the above-mentioned problems, the present invention relates to a data path failure detecting method for detecting a failure in a data path, wherein first and second registers provided at both ends of the data path are provided. And a step of comparing the data stored in the first and second registers with each other.

【0010】本発明のデータパス故障検出方法をより具
体的に述べると、情報処理装置のプロセッサ及び制御対
象装置を接続するデータパスの故障を検出するデータパ
ス故障検出方法において、データパスを介して、データ
パスの制御対象装置側に備えられた第1のレジスタにデ
ータを書き込むと共に、データパスのプロセッサ側に備
えられた第2のレジスタに同一のデータを書き込む段階
と、プロセッサが、第1のレジスタに格納された第1の
データをデータパスを介して読み出すと共に、第2のレ
ジスタに格納された第2のデータを読み出す段階と、プ
ロセッサが第1及び第2のデータを比較する段階とを含
むことを特徴とするデータパス故障検出方法である。
The data path failure detection method of the present invention will be described more specifically. In a data path failure detection method for detecting a failure of a data path connecting a processor of an information processing device and a control target device, Writing data to a first register provided on the control target device side of the data path, and writing the same data to a second register provided on the processor side of the data path; Reading the first data stored in the register via the data path and reading the second data stored in the second register; and the step of the processor comparing the first and second data. A data path failure detection method characterized by including:

【0011】本発明のデータパス故障検出方法は、デー
タパス故障検出プログラムとして実行可能である。よっ
て、本発明は、情報処理装置のプロセッサ及び制御対象
装置を接続するデータパスの故障を検出するデータパス
故障検出プログラムを記録した記録媒体において、制御
対象装置に備えられた第1のレジスタにデータを書き込
むと共に、プロセッサ側に備えられた第2のレジスタに
同一のデータを書き込むデータ書き込み処理と、プロセ
ッサが、第1のレジスタに格納された第1のデータをデ
ータパスを介して読み出すと共に、第2のレジスタに格
納された第2のデータを読み出すデータ読み出し処理
と、プロセッサが、第1及び第2のデータを比較するデ
ータ比較処理とを情報処理装置に実行させることを特徴
とするデータパス故障検出プログラムを記録した機械読
み取り可能な記録媒体を提供する。この場合、データパ
ス故障検出プログラムは、予め定められた時間毎に、デ
ータ書き込み処理、データ読み出し処理及びデータ比較
処理を繰り返すことによりデータパスの故障を常に監視
することが可能となる。
The data path failure detection method of the present invention can be executed as a data path failure detection program. Therefore, the present invention provides a storage medium storing a data path failure detection program for detecting a failure of a data path connecting a processor of an information processing device and a control target device, wherein the data is stored in a first register provided in the control target device. While writing the same data to a second register provided on the processor side, and the processor reads out the first data stored in the first register via a data path, A data readout process for reading out the second data stored in the second register and a data comparison process in which the processor compares the first and second data with the information processing apparatus. Provided is a machine-readable recording medium on which a detection program is recorded. In this case, the data path failure detection program can constantly monitor a data path failure by repeating data write processing, data read processing, and data comparison processing at predetermined time intervals.

【0012】本発明のデータパス故障動作検出方法を実
行する情報処理装置は、内部にデータパスを備える情報
処理装置において、データパスの1端に第1のレジスタ
を備えると共にデータパスの他端に第2のレジスタ及び
2つのレジスタに格納されたデータを比較する比較回路
を備え、第1及び第2のレジスタに同一のデータを書き
込んだ後、比較回路が前記第1及び第2のレジスタから
データを読み出して比較することを特徴とする情報処理
装置となる。また、プロセッサ、制御対象装置及びプロ
セッサと制御対象装置を接続するデータパスを備える情
報処理装置において、プロセッサが第1のレジスタ及び
比較回路を備えると共に制御対象装置が第2のレジスタ
を備え、第1及び第2のレジスタに同一のデータを書き
込んだ後、比較回路が第1及び第2のレジスタからデー
タを読み出して比較することを特徴とする情報処理装置
となる。
An information processing apparatus for executing a data path failure operation detecting method according to the present invention is an information processing apparatus having a data path therein, the information processing apparatus having a first register at one end of the data path and a second register at the other end of the data path. A second register and a comparison circuit for comparing data stored in the two registers, wherein after writing the same data in the first and second registers, the comparison circuit reads data from the first and second registers; Are read and compared. Further, in an information processing apparatus including a processor, a control target device, and a data path connecting the processor and the control target device, the processor includes a first register and a comparison circuit, and the control target device includes a second register. And after writing the same data to the second register and the second register, the comparison circuit reads the data from the first and second registers and compares them.

【0013】[0013]

【発明の実施の形態】本発明の情報処理装置は、コマン
ドデータの書き込み/読み出し可能な複数の汎用レジス
タと、その汎用レジスタの出力を比較する比較回路とを
備え、プロセッサと、プロセッサにより制御され、書き
込み/読み出し可能なレジスタを有する制御対象装置と
の間のデータパスの故障検出を行う。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An information processing apparatus according to the present invention includes a plurality of general-purpose registers capable of writing / reading command data, and a comparison circuit for comparing outputs of the general-purpose registers. And a failure detection of a data path between the control target device having a writable / readable register.

【0014】本発明の一実施の形態である情報処理装置
1の構成を図1を参照して説明する。
A configuration of an information processing apparatus 1 according to an embodiment of the present invention will be described with reference to FIG.

【0015】情報処理装置1はプロセッサ2と制御対象
装置3からなる。プロセッサ2は、データの書き込み/
読み出し可能な汎用レジスタ4と、比較回路5とを有
し、パリティ機能を有さない。制御対象装置3は、プロ
セッサ2により制御され、書き込み/読み出し可能なレ
ジスタ11を有し、プロセッサ2と同様にパリティ機能
を有さない。プロセッサ2と制御対象装置3はデータパ
ス21で接続される。
The information processing device 1 includes a processor 2 and a control target device 3. The processor 2 writes data /
It has a readable general-purpose register 4 and a comparison circuit 5, and has no parity function. The control target device 3 is controlled by the processor 2, has a writable / readable register 11, and does not have a parity function like the processor 2. The processor 2 and the control target device 3 are connected by a data path 21.

【0016】次に、情報処理装置1の動作を図2を参照
して説明する。
Next, the operation of the information processing apparatus 1 will be described with reference to FIG.

【0017】情報処理装置1の通常動作時は、プロセッ
サ2は制御対象装置3に対して、命令/データの書き込
み/データの読み出しを行っている。
At the time of normal operation of the information processing apparatus 1, the processor 2 writes / reads instructions / data / reads data to / from the control target apparatus 3.

【0018】予め定められた時間間隔(例えば1秒おき
等)に、情報処理装置1は通常動作から故障検出動作に
移行する(104)。
At a predetermined time interval (for example, every one second), the information processing apparatus 1 shifts from the normal operation to the failure detection operation (104).

【0019】故障検出動作時は、プロセッサ2はまず、
レジスタ11に書き込み命令を出してデータパス21を
介してレジスタ11にデータを書き込むと同時に、レジ
スタ4にも書き込み命令を出してデータを書き込む(1
01)。
At the time of the failure detection operation, the processor 2 first
At the same time that a write command is issued to the register 11 to write data to the register 11 via the data path 21, a write command is also issued to the register 4 to write data (1
01).

【0020】次にプロセッサ2は、レジスタ11に格納
されているデータをデータパス21を介して読み出して
比較回路5に送信すると同時に、レジスタ4に格納され
ているデータをデータパス22を介して比較回路5へ送
信する(102)。
Next, the processor 2 reads out the data stored in the register 11 via the data path 21 and sends it to the comparison circuit 5, and at the same time compares the data stored in the register 4 via the data path 22. The data is transmitted to the circuit 5 (102).

【0021】レジスタ4と11からデータを受信した比
較回路5は両者のデータを比較する(103)。比較し
た結果、レジスタ4と11に格納されたデータが一致し
ていれば、プロセッサ2は引き続き通常動作に戻り、規
定時間後に故障検出動作を再び実行する。両データが一
致しなければ装置外部にエラーとして通知する。
The comparison circuit 5 receiving the data from the registers 4 and 11 compares the two data (103). As a result of the comparison, if the data stored in the registers 4 and 11 match, the processor 2 returns to the normal operation, and executes the failure detecting operation again after a specified time. If the two data do not match, an error is notified to the outside of the device.

【0022】この繰り返しにより、常にプロセッサ2と
制御対象装置3とのデータパスの故障検出を行うことが
できる。
By repeating this, it is possible to always detect the failure of the data path between the processor 2 and the device 3 to be controlled.

【0023】[0023]

【発明の効果】本発明のデータパス故障検出方法及び情
報処理装置によれば、パリティ機能を必要とすることな
く常時データパスの故障検出を行うことできるので、デ
ータパスの故障検出に関する信頼性を損なうことなく情
報処理装置の構成を簡単にすることが可能である。
According to the data path failure detection method and information processing apparatus of the present invention, data path failure detection can be performed at all times without requiring a parity function. The configuration of the information processing apparatus can be simplified without any loss.

【0024】以上、本発明を実施の形態に基づいて説明
したが、本発明はこれに限定されるものではなく、当業
者の通常の知識の範囲内でその変更や改良が可能である
ことは勿論である。
As described above, the present invention has been described based on the embodiments. However, the present invention is not limited to these embodiments, and it is understood that changes and improvements can be made within the ordinary knowledge of those skilled in the art. Of course.

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

【図1】本発明の一実施の形態の情報処理装置1のブロ
ック図である。
FIG. 1 is a block diagram of an information processing apparatus 1 according to an embodiment of the present invention.

【図2】情報処理装置1の動作を説明するフローチャー
トである。
FIG. 2 is a flowchart illustrating an operation of the information processing apparatus 1.

【図3】パリティチェックにより故障検出を行う従来の
情報処理装置10のブロック図である。
FIG. 3 is a block diagram of a conventional information processing apparatus 10 that detects a failure by a parity check.

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

1、10 情報処理装置 2、6 プロセッサ 3、7 制御対象装置 4、11、15 レジスタ 5 比較回路 16 パリティ生成回路 17 パリティ比較回路 21、22 データパス 25 データ信号線 26 パリティ信号線 1, 10 Information processing device 2, 6 Processor 3, 7 Control target device 4, 11, 15 Register 5 Comparison circuit 16 Parity generation circuit 17 Parity comparison circuit 21, 22 Data path 25 Data signal line 26 Parity signal line

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 データパスの故障を検出するデータパス
故障検出方法において、 前記データパスの両端に備えられた第1及び第2のレジ
スタに同一のデータを書き込む段階と、 前記第1及び第2のレジスタに格納されたデータを比較
する段階とを含むことを特徴とするデータパス故障検出
方法。
1. A data path failure detection method for detecting a failure in a data path, comprising: writing the same data to first and second registers provided at both ends of the data path; Comparing the data stored in the registers of the data path.
【請求項2】 情報処理装置のプロセッサ及び制御対象
装置を接続するデータパスの故障を検出するデータパス
故障検出方法において、 前記データパスを介して、前記データパスの前記制御対
象装置側に備えられた第1のレジスタにデータを書き込
むと共に、前記データパスの前記プロセッサ側に備えら
れた第2のレジスタに同一のデータを書き込む段階と、 前記プロセッサが、前記第1のレジスタに格納された第
1のデータを前記データパスを介して読み出すと共に、
前記第2のレジスタに格納された第2のデータを読み出
す段階と、 前記プロセッサが前記第1及び第2のデータを比較する
段階とを含むことを特徴とするデータパス故障検出方
法。
2. A data path failure detection method for detecting a failure of a data path connecting a processor of an information processing device and a control target device, the method being provided on the control target device side of the data path via the data path. Writing the same data to a second register provided on the processor side of the data path, and writing the same data to a second register provided on the processor side of the data path. While reading out the data via the data path,
A method of detecting a data path failure, comprising: reading out second data stored in the second register; and comparing the first and second data by the processor.
【請求項3】 情報処理装置のプロセッサ及び制御対象
装置を接続するデータパスの故障を検出するデータパス
故障検出プログラムを記録した記録媒体において、 前記制御対象装置に備えられた第1のレジスタにデータ
を書き込むと共に、前記プロセッサ側に備えられた第2
のレジスタに同一のデータを書き込むデータ書き込み処
理と、 前記プロセッサが、前記第1のレジスタに格納された第
1のデータを前記データパスを介して読み出すと共に、
前記第2のレジスタに格納された第2のデータを読み出
すデータ読み出し処理と、 前記プロセッサが、前記第1及び第2のデータを比較す
るデータ比較処理とを情報処理装置に実行させることを
特徴とするデータパス故障検出プログラムを記録した機
械読み取り可能な記録媒体。
3. A recording medium storing a data path failure detection program for detecting a failure in a data path connecting a processor of an information processing device and a control target device, wherein the data is stored in a first register provided in the control target device. And the second provided on the processor side.
A data write process of writing the same data to the register of the processor; and the processor reads out the first data stored in the first register via the data path,
A data read process for reading second data stored in the second register, and the processor causes the information processing device to execute a data comparison process for comparing the first and second data. A machine-readable recording medium that records a data path failure detection program.
【請求項4】 請求項3記載の記録媒体において、前記
データパス故障検出プログラムは、予め定められた時間
毎に、前記データ書き込み処理、データ読み出し処理及
びデータ比較処理を繰り返すことを特徴とする機械読み
取り可能な記録媒体。
4. The recording medium according to claim 3, wherein said data path failure detection program repeats said data write processing, data read processing and data comparison processing at predetermined time intervals. A readable recording medium.
【請求項5】 内部にデータパスを備える情報処理装置
において、 前記データパスの1端に第1のレジスタを備えると共に
前記データパスの他端に第2のレジスタ及び2つのレジ
スタに格納されたデータを比較する比較回路を備え、 前記第1及び第2のレジスタに同一のデータを書き込ん
だ後、前記比較回路が前記第1及び第2のレジスタから
データを読み出して比較することを特徴とする情報処理
装置。
5. An information processing apparatus having a data path therein, comprising: a first register at one end of the data path, and data stored in a second register and two registers at the other end of the data path. A comparison circuit that writes the same data to the first and second registers, and then reads the data from the first and second registers and compares the data. Processing equipment.
【請求項6】 プロセッサ、制御対象装置及び前記プロ
セッサと制御対象装置を接続するデータパスを備える情
報処理装置において、 前記プロセッサが第1のレジスタ及び比較回路を備える
と共に前記制御対象装置が第2のレジスタを備え、 前記第1及び第2のレジスタに同一のデータを書き込ん
だ後、前記比較回路が前記第1及び第2のレジスタから
データを読み出して比較することを特徴とする情報処理
装置。
6. An information processing apparatus comprising a processor, a control target device, and a data path connecting the processor and the control target device, wherein the processor includes a first register and a comparison circuit, and the control target device includes a second register. An information processing apparatus comprising: a register; and after writing the same data to the first and second registers, the comparison circuit reads data from the first and second registers and compares the data.
JP10020621A 1998-02-02 1998-02-02 Data path fault detection method and information processor Withdrawn JPH11219323A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10020621A JPH11219323A (en) 1998-02-02 1998-02-02 Data path fault detection method and information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10020621A JPH11219323A (en) 1998-02-02 1998-02-02 Data path fault detection method and information processor

Publications (1)

Publication Number Publication Date
JPH11219323A true JPH11219323A (en) 1999-08-10

Family

ID=12032323

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10020621A Withdrawn JPH11219323A (en) 1998-02-02 1998-02-02 Data path fault detection method and information processor

Country Status (1)

Country Link
JP (1) JPH11219323A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6944801B2 (en) 2000-12-20 2005-09-13 Nec Corporation Skew adjusting circuit and semiconductor integrated circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6944801B2 (en) 2000-12-20 2005-09-13 Nec Corporation Skew adjusting circuit and semiconductor integrated circuit
US7430142B2 (en) 2000-12-20 2008-09-30 Nec Corporation Skew adjusting circuit and semiconductor integrated circuit

Similar Documents

Publication Publication Date Title
JPH11219323A (en) Data path fault detection method and information processor
JP2806856B2 (en) Diagnostic device for error detection and correction circuit
KR950012495B1 (en) Memory device diagnosis apparatus and method thereof
JPH04115339A (en) Memory error processing system
JP2002244934A (en) Memory monitoring device and method
JPH09311825A (en) Rom monitoring circuit
JP2808983B2 (en) Memory diagnosis method
JP3270357B2 (en) Storage device diagnostic system
JPH0553924A (en) System for testing storage device
JPH02252043A (en) External transfer circuit inspecting system
JPH01309421A (en) Error correction system
JPH0520215A (en) Information processor
JP2000207289A (en) Data error detecting system and its method
JP2002215471A (en) Memory port, storage device and information processing system
JPH0612273A (en) Data memory monitor system
JPH0752398B2 (en) Check circuit diagnostic device
JPS58186851A (en) Error checking device
JP2000010871A (en) Method and system for memory patrol
JPH07160586A (en) Method and circuit for memory monitoring
JPS6158063A (en) Data processing device
JPS6142304B2 (en)
JPH01106248A (en) Storage device
JPH01263738A (en) Information processing system
JPH0830522A (en) Input/output device
JPS6398747A (en) Test system for microprogram

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050405