JPH04369030A - Fault detecting system - Google Patents

Fault detecting system

Info

Publication number
JPH04369030A
JPH04369030A JP3145125A JP14512591A JPH04369030A JP H04369030 A JPH04369030 A JP H04369030A JP 3145125 A JP3145125 A JP 3145125A JP 14512591 A JP14512591 A JP 14512591A JP H04369030 A JPH04369030 A JP H04369030A
Authority
JP
Japan
Prior art keywords
processing
write pointer
information
request
signal
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
JP3145125A
Other languages
Japanese (ja)
Inventor
Izuyuki Uehara
上原 出之
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 JP3145125A priority Critical patent/JPH04369030A/en
Publication of JPH04369030A publication Critical patent/JPH04369030A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To improve the reliability of request processing between a processor and a system controller. CONSTITUTION:A processor 0 (100) sends a request signal 13 to a system control device 101 and simultaneously writes request information in a request buffer 1 by means of a writing pointer 3. An arithmetic circuit 32 finds out exclusive OR between the value of the pointer 3 and the value of a processor number storing part 30 in accordance with the sending of the signal 13 and outputs a signal 33. The system controller 101 delays the signal 33 only by 5 machine cycles and outputs the delayed signal as a signal 28 together with a response signal 20. In the processor 0 (100), a signal 15 is read out of the buffer 1 by a reading pointer 2, exclusive OR between the value of the pointer 2 and the value of a processor number storing part 30 is found out by an arithmetic circuit 34 and compared with a signal 28, and at the time of detecting unmatched between both the signals, an error signal 16 is outputted.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は情報処理装置における障
害検出方式に関し、特に処理装置から発生する処理要求
の処理に伴う障害検出方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a failure detection system in an information processing apparatus, and more particularly to a failure detection system associated with the processing of processing requests generated from a processing apparatus.

【0002】0002

【従来の技術】複数の処理装置とシステム制御装置及び
主記憶装置等で構成されるシステムにおいては、従来、
以下の様な構成となっていた。すなわち処理装置内でメ
モリアクセス等の処理要求が発生すると処理装置からシ
ステム制御装置に対して処理要求を送出し、処理要求が
メモリアクセスか否か、書込みか読出しであるか、その
他当該処理要求に付随する処理情報をリクエストバッフ
ァに格納する。処理要求は処理装置内で連続的に発生し
処理要求のスループットを向上させるため処理要求に対
する応答が返却される前に次々に処理要求を送出するこ
とになる。従ってリクエストバッファはシステム性能に
よって異るが数ワードから数十ワード必要になる。
2. Description of the Related Art Conventionally, in a system composed of a plurality of processing units, a system control unit, a main storage unit, etc.,
The structure was as follows. In other words, when a processing request such as memory access occurs in a processing device, the processing device sends a processing request to the system control device, and determines whether the processing request is a memory access, a write or a read, and other information regarding the processing request. Store the accompanying processing information in the request buffer. Processing requests are generated continuously within the processing device, and in order to improve the throughput of processing requests, processing requests are sent out one after another before a response to the processing request is returned. Therefore, the request buffer requires from several words to several tens of words, depending on the system performance.

【0003】このリクエストバッファは書込みポインタ
、読出しポインタで制御され処理要求の送出時に書込み
ポンイタの更新が、処理要求の応答返却時に読出しポイ
ンタの更新がそれぞれ行なわれる。また、処理装置から
システム制御装置へ送出される処理要求としてはアドレ
ス,コマンド,書込みデータ,書込みマスク等の実際の
処理に必要な情報のみを送出する構成となっていた。
This request buffer is controlled by a write pointer and a read pointer, and the write pointer is updated when a processing request is sent, and the read pointer is updated when a response to the processing request is returned. Further, as processing requests sent from the processing device to the system control device, only information necessary for actual processing such as addresses, commands, write data, write masks, etc. is sent.

【0004】またシステム制御装置から返却される情報
としては主記憶読出しデータ、処理要求成功情報といっ
た情報のみを返却する構成となっていた。
[0004] Furthermore, the system control device has been configured to return only information such as main memory read data and processing request success information.

【0005】[0005]

【発明が解決しようとする課題】上述した従来の構成で
は、処理装置内で連続的に発生する処理要求に対してリ
クエストバッファの書込みポインタ、読出しポインタの
更新不正等による処理要求と処理結果の対応のずれ、処
理装置とシステム制御装置間のインタフェース障害によ
る処理要求と処理結果のずれ、またシステム制御装置内
の処理不正による処理要求と処理結果の対応のずれある
いは、処理結果の送出先の処理装置のとりまちがいとい
った障害は検出することができず間欠点に発生する障害
では一度対応がずれた処理はずれたまま続行されること
になり、最悪の場合にはデータ化けを引き起こす可能性
があるという問題点がある。
[Problems to be Solved by the Invention] In the conventional configuration described above, it is difficult to correspond to processing requests and processing results due to incorrect updating of the write pointer and read pointer of the request buffer, etc., with respect to processing requests that occur continuously within the processing device. Discrepancies between processing requests and processing results due to interface failure between the processing device and system control device, mismatch between processing requests and processing results due to improper processing within the system control device, or processing device to which processing results are sent. Problems such as errors in data processing cannot be detected, and in the case of failures that occur in between, processes that have been mismatched will continue as they are, and in the worst case, this may cause data corruption. There is a point.

【0006】[0006]

【課題を解決するための手段】第1の発明は、複数の処
理装置そ前記複数の処理装置からの処理要求を受付け調
停処理を行うシステム制御装置とから構成され、前記処
理装置は前記システム制御装置に対して処理要求を送出
すると同時にリクエスト内容を示す処理情報を予め具備
したリクエストバッファの書込みポインタの値の示すア
ドレスに書込み、送出された前記処理要求の処理結果が
前記システム制御装置から返却されると前記処理情報と
して前記リクエストバッファの読出しポインタの値の示
すアドレスの内容を読出す情報処理システムにおける障
害検出方式において、前記処理装置が前記システム制御
装置に対する前記処理要求の送出に伴って前記書込みポ
インタの値と予め用意された前記処理装置固有の識別情
報を予め決められたアルゴリズムにより演算した書込み
ポインタ演算情報を出力する書込みポインタ演算手段と
、書込みポインタ返却情報を受けて前記読出しポインタ
の値と前記処理装置固有の識別情報を前記アルゴリズム
により演出した値と前記書込みポインタ返却情報と比較
し不一致であればエラー信号を出力する比較手段を備え
、前記システム制御装置が前記処理要求とともに前記書
込みポインタ演算情報を受けて前記書込みポインタ演算
情報を予め決められた時間だけ遅延させ前記処理結果の
出力とともに遅延させた前記書込みポインタ演算情報を
前記書込みポインタ返却情報として出力する書込みポイ
ンタ返却手段を備えたことを特徴とする。
[Means for Solving the Problems] A first invention comprises a plurality of processing devices and a system control device that receives processing requests from the plurality of processing devices and performs arbitration processing, and the processing device controls the system control device. At the same time as sending a processing request to the device, processing information indicating the contents of the request is written to the address indicated by the value of the write pointer of a request buffer provided in advance, and the processing result of the sent processing request is returned from the system control device. Then, in the failure detection method in the information processing system, in which the contents of the address indicated by the value of the read pointer of the request buffer are read out as the processing information, the processing device performs the write operation as the processing request is sent to the system control device. write pointer calculation means for outputting write pointer calculation information obtained by calculating the pointer value and identification information unique to the processing device prepared in advance according to a predetermined algorithm; Comparing means compares the identification information unique to the processing device with the value produced by the algorithm and the write pointer return information and outputs an error signal if they do not match, and the system control device calculates the write pointer together with the processing request. The present invention further includes a write pointer return means for receiving the information, delaying the write pointer calculation information by a predetermined time, and outputting the delayed write pointer calculation information as the write pointer return information together with the output of the processing result. Features.

【0007】[0007]

【実施例】次に本発明について図面を参照して説明する
。図1は本発明の一実施例を示す構成図である。図1は
プロセッサ0(100),システム制御装置101,プ
ロセッサ1(102)で構成され、プロセッサ0(10
0),プロセッサ1(102)は同一の論理で構成され
ている。プロセッサ0(100)からシステム制御装置
101へ処理要求が発生した場合について図1を参照し
て説明する。まずプロセッサ0(100)内で処理要求
が発生すると主処理部(図示せず)よりリクエスト信号
13及びリクエスト情報14がシステム制御装置101
に発行されると同時に書込みポインタ3で指示された書
込みポインタ情報18の値に従ってリクエストバッファ
1の指示されたワードにリクエスト情報14が書込まれ
る。同時に書込みポインタ3の値が1つカウントアップ
される。プロセッサ番号保持部30は書込みポインタ3
と同じビット幅で構成されたフリップフロップで、あら
かじめリセット時に値が格納されており、プロセッサ個
別に異る値がセットされる様になっている。このプロセ
ッサ番号保持部30の出力信号31と書込みポインタ3
の出力である書込みポインタ情報18は演算回路32に
入力されそれぞれの入力ビット単位に排他的論理和がと
られ演算後の出力信号がポインタ補正信号33としてリ
クエスト信号13,リクエスト情報14とともにシステ
ム制御装置101に送出される。プロセッサ0(100
)内では次々に処理要求が発生し、連続して上述した動
作と同様の処理が行なわれる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings. FIG. 1 is a block diagram showing one embodiment of the present invention. FIG. 1 consists of a processor 0 (100), a system control device 101, and a processor 1 (102).
0) and processor 1 (102) are configured with the same logic. A case in which a processing request is issued from processor 0 (100) to system control device 101 will be described with reference to FIG. 1. First, when a processing request occurs in the processor 0 (100), a request signal 13 and request information 14 are sent from the main processing unit (not shown) to the system control device 100.
At the same time as the request information 14 is issued, the request information 14 is written into the designated word of the request buffer 1 according to the value of the write pointer information 18 designated by the write pointer 3. At the same time, the value of write pointer 3 is counted up by one. Processor number holding unit 30 is write pointer 3
This is a flip-flop configured with the same bit width as , and a value is stored in advance at reset, so that a different value can be set for each processor. The output signal 31 of this processor number holding unit 30 and the write pointer 3
The write pointer information 18, which is the output of 101. Processor 0 (100
), processing requests are generated one after another, and the same processing as described above is performed continuously.

【0008】システム制御装置101ではプロセッサ0
(100),プロセッサ1(102)からそれぞれ処理
要求を受付ける。これらは、リクエスト信号13,21
が調停部5に入力され所定の優先順位に従って各プロセ
ッサのリクエストが選択される。ここでプロセッサ0(
100)よりリクエスト信号13がオンとなり調停部5
によりプロセッサ0(100)のリクエストが選択され
た場合、選択信号24が“0”となりリクエスト情報選
択回路6及び書込みポインタ選択回路7に入力されたリ
クエスト情報14,22及びポインタ補正信号33,2
3はそれぞれプロセッサ0(100)側が選択され、選
択リクエスト情報25及び選択ポインタ26が出力され
る。調停部5で処理要求を受付けたことを示すリクエス
ト受付信号29及び選択リクエスト情報25は制御部(
図示せず)に送出されメモリアクセス等の処理が行なわ
れる。
In the system control device 101, processor 0
(100) and processor 1 (102), respectively. These are the request signals 13, 21
is input to the arbitration unit 5, and requests from each processor are selected according to a predetermined priority order. Here processor 0 (
100), the request signal 13 is turned on and the arbitration unit 5
When the request of the processor 0 (100) is selected by
3, the processor 0 (100) side is selected, and selection request information 25 and selection pointer 26 are output. The request acceptance signal 29 indicating that the processing request has been accepted by the arbitration unit 5 and the selection request information 25 are sent to the control unit (
(not shown) and processes such as memory access are performed.

【0009】リクエスト受付信号29がオンとなった後
は、システム制御装置内では、5マシンサイクルで処理
が完了し、所定の処理結果としてプロセッサ0(100
),プロセッサ1(102)に対してそれぞれ対応信号
20,27が送出される。その間選択ポインタ26の情
報は書込みポインタバッファ8,9,10,11,12
に対して1マシンサイクルずつ順次伝播され書込みポイ
ンタ返却情報28として各プロセッサへ送出される。 これは、書込みポインタバッファが5つで構成されてい
るため応答信号20,27と同一タイミングで送出され
る。
After the request acceptance signal 29 is turned on, processing is completed in 5 machine cycles within the system control device, and processor 0 (100
), corresponding signals 20 and 27 are sent to processor 1 (102), respectively. During that time, the information of the selection pointer 26 is written to the write pointer buffers 8, 9, 10, 11, 12.
are sequentially propagated one machine cycle at a time and sent to each processor as write pointer return information 28. This is sent out at the same timing as the response signals 20 and 27 because the write pointer buffer is composed of five.

【0010】プロセッサ0(100)では応答信号20
を受取ると読出しポインタ2で指定された読出しポイン
タ情報17の値に従ってリクエストバッファ1の内容が
読出されリクエストバッファ情報15が主処理部へ送出
されると同時に読出しポインタ2の内容が1つカウンタ
アップされる。読出しポインタ2と書込みポインタ3の
内容は初期値が同じに設定されているのでリクエスト送
出時にリクエストバッファに格納された情報が応答信号
20返却時に読出されることになる。ここで比較回路4
に入力された読出しポインタ情報17とプロセッサ番号
保持部30の内容は演算回路34に入力され、演算回路
34では演算回路32と同一の演算が実施される。演算
回路34の出力は比較回路4に入力され書込みポインタ
返却情報28の内容と応答信号20の返却タイミングで
比較され不一致であればエラー信号16が主処理部へ返
却される。
[0010] In processor 0 (100), response signal 20
When the request buffer 1 is received, the contents of the request buffer 1 are read according to the value of the read pointer information 17 specified by the read pointer 2, the request buffer information 15 is sent to the main processing section, and at the same time the contents of the read pointer 2 are incremented by one. Ru. Since the initial values of the contents of the read pointer 2 and the write pointer 3 are set to be the same, the information stored in the request buffer when the request is sent will be read when the response signal 20 is returned. Here, comparison circuit 4
The read pointer information 17 and the contents of the processor number holding section 30 are input to the arithmetic circuit 34, and the arithmetic circuit 34 performs the same arithmetic operation as the arithmetic circuit 32. The output of the arithmetic circuit 34 is input to the comparison circuit 4 and compared with the contents of the write pointer return information 28 at the return timing of the response signal 20. If they do not match, an error signal 16 is returned to the main processing section.

【0011】処理要求に伴ってリクエストバッファ1に
格納されたときの書込みポインタの内容を演算した結果
と、当該処理要求が返却されたときの読出しポインタに
対して同一の演算をした結果の内容は正常に動作してい
る場合、同一の内容を示すはずであり、エラー信号16
は“0”となっているはずである。
[0011] The result of calculating the contents of the write pointer when it is stored in request buffer 1 in response to a processing request and the result of performing the same calculation on the read pointer when the processing request is returned are as follows. If it is working normally, it should show the same content and the error signal 16
should be “0”.

【0012】本発明では、以下の様な障害が発生した場
合、エラー信号16が“1”となることで容易に障害を
検出することができる。すなわち書込みポインタ3、読
出しポインタ2の更新不正、リクエスト信号13の障害
によりシステム制御装置101にリクエストが伝わらな
かった場合、システム制御装置内の制御部でのリクエス
ト処理順序あるいは処理装置選択の不正、応答信号20
の障害のよりプロセッサ0(100)へ対応信号が返却
されなかった場合等、一連のリクエスト処理に関する様
々な障害により結果的にリクエストと処理結果にずれが
生じるケースはすべて検出することが可能である。
According to the present invention, when the following failure occurs, the failure can be easily detected because the error signal 16 becomes "1". In other words, if a request is not transmitted to the system control device 101 due to an incorrect update of the write pointer 3 and read pointer 2 or a failure of the request signal 13, an incorrect request processing order or processing device selection in the control unit in the system control device, or an incorrect response. signal 20
It is possible to detect all cases in which there is a discrepancy between the request and the processing result due to various failures related to a series of request processing, such as when a corresponding signal is not returned to processor 0 (100) due to a failure. .

【0013】[0013]

【発明の効果】以上説明したように本発明は処理要求発
生から処理結果の返却までに関する一連のリクエスト処
理に関する様々な障害を検出することができるため、シ
ステムの信頼性を大きく向上できるという効果がある。
[Effects of the Invention] As explained above, the present invention can detect various failures related to a series of request processing from the generation of a processing request to the return of processing results, and has the effect of greatly improving system reliability. be.

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

【図1】本発明の一実施例を示すブロック図構成図であ
る。
FIG. 1 is a block diagram showing an embodiment of the present invention.

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

1    リクエストバッファ 2    派出しポインタ 3    書込みポインタ 4    比較回路 5    調停部 6    リクエスト情報選択回路 7    書込みポインタ選択回路 8,9,10,11,12    書込みポインタバッ
ファ30    プロセッサ番号保持部 32,34    演算回路 100    プロセッサ0 101    システム制御装置 102    プロセッサ1
1 Request buffer 2 Output pointer 3 Write pointer 4 Comparison circuit 5 Arbitration section 6 Request information selection circuit 7 Write pointer selection circuit 8, 9, 10, 11, 12 Write pointer buffer 30 Processor number holding section 32, 34 Arithmetic circuit 100 Processor 0 101 System control device 102 Processor 1

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  複数の処理装置と前記複数の処理装置
からの処理要求を受付け調停処理を行うシステム制御装
置とから構成され、前記処理装置は前記システム制御装
置に対して処理要求を送出すると同時にリクエスト内容
を示す処理情報を予め具備したリクエストバッファの書
込みポインタの値を示すアドレスに書込み、送出された
前記処理要求の処理結果が前記システム制御装置から返
却されると前記処理情報として前記リクエストバッファ
の読出しポインタの値の示すアドレスの内容を読出す情
報処理システムにおける障害検出方式において、前記処
理装置が前記システム制御装置に対する前記処理要求の
送出に伴って前記書込みポインタの値と予め用意された
前記処理装置固有の識別情報を予め決められたアルゴリ
ズムにより演算した書込みポインタ演算情報を出力する
書込みポインタ演算手段と、書込みポインタ返却情報を
受けて前記読出しポインタの値と前記処理装置固有の識
別情報を前記アルゴリズムにより演算した値と前記書込
みポインタ返却情報と比較し不一致であればエラー信号
を出力する比較手段を備え、前記システム制御装置が前
記処理要求とともに前記書込みポインタ演算情報を受け
て前記書込みポインタ演算情報を予め決められた時間だ
け遅延させ前記処理結果の出力とともに遅延させた前記
書込みポインタ演算情報を前記書込みポインタ返却情報
として出力する書込みポインタ返却手段を備えたことを
特徴とする障害検出方式。
1. Consisting of a plurality of processing devices and a system control device that receives processing requests from the plurality of processing devices and performs arbitration processing, the processing device simultaneously sends processing requests to the system control device. Processing information indicating the contents of the request is written to the address indicating the value of the write pointer of the request buffer that is provided in advance, and when the processing result of the sent processing request is returned from the system control device, the processing information is written in the request buffer as the processing information. In a failure detection method in an information processing system that reads the contents of an address indicated by a value of a read pointer, the processing device reads the value of the write pointer and the previously prepared process upon sending the processing request to the system control device. a write pointer calculation means for outputting write pointer calculation information obtained by calculating device-specific identification information according to a predetermined algorithm; and a write pointer calculation means that receives write pointer return information and calculates the read pointer value and the processing device-specific identification information by the algorithm. The system control device receives the write pointer calculation information together with the processing request and transmits the write pointer calculation information to the write pointer return information. A fault detection method characterized by comprising a write pointer return means for outputting the write pointer calculation information delayed by a predetermined time together with the output of the processing result as the write pointer return information.
JP3145125A 1991-06-18 1991-06-18 Fault detecting system Pending JPH04369030A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3145125A JPH04369030A (en) 1991-06-18 1991-06-18 Fault detecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3145125A JPH04369030A (en) 1991-06-18 1991-06-18 Fault detecting system

Publications (1)

Publication Number Publication Date
JPH04369030A true JPH04369030A (en) 1992-12-21

Family

ID=15377983

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3145125A Pending JPH04369030A (en) 1991-06-18 1991-06-18 Fault detecting system

Country Status (1)

Country Link
JP (1) JPH04369030A (en)

Similar Documents

Publication Publication Date Title
US4456993A (en) Data processing system with error processing apparatus and error processing method
US4535455A (en) Correction and monitoring of transient errors in a memory system
US4604750A (en) Pipeline error correction
US7237172B2 (en) Error detection and correction in a CAM
GB2075730A (en) Refresch and error detection and correction technique for a data processing system
AU597140B2 (en) Efficient address test for large memories
EP0709782A2 (en) Error detection system for mirrored memory between dual disk storage controllers
JPH04369030A (en) Fault detecting system
JPH09288619A (en) Main storage device
JPH0316655B2 (en)
JPH0484226A (en) Fault detection system
JP7477574B2 (en) MEMORY MIRRORING DEVICE AND MEMORY MIRRORING METHOD
JP2768371B2 (en) Inspection method of random access memory
JPH0553924A (en) System for testing storage device
JP2943926B2 (en) Error recovery control device
JPH06309185A (en) Information processor
JPH0863406A (en) Memory access controller
JPS61134856A (en) Ram check circuit
JPH0335327A (en) Majority decision fault processor
JP3071846B2 (en) Parity error detection method and parity error detection circuit
JPH05158810A (en) Error detection circuit
JPH07248976A (en) Storage controller
JPH04257044A (en) Bus parity error generating position detecting system
JPS617947A (en) Control storage device
JPS62208150A (en) Data access device