JPH0752411B2 - Failure detection method - Google Patents

Failure detection method

Info

Publication number
JPH0752411B2
JPH0752411B2 JP60180278A JP18027885A JPH0752411B2 JP H0752411 B2 JPH0752411 B2 JP H0752411B2 JP 60180278 A JP60180278 A JP 60180278A JP 18027885 A JP18027885 A JP 18027885A JP H0752411 B2 JPH0752411 B2 JP H0752411B2
Authority
JP
Japan
Prior art keywords
reply
request
received
receiving means
failure
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.)
Expired - Fee Related
Application number
JP60180278A
Other languages
Japanese (ja)
Other versions
JPS6240544A (en
Inventor
孝三 山野
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 JP60180278A priority Critical patent/JPH0752411B2/en
Publication of JPS6240544A publication Critical patent/JPS6240544A/en
Publication of JPH0752411B2 publication Critical patent/JPH0752411B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Hardware Redundancy (AREA)
  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は情報処理装置の障害検出方式に関し、特にリク
エストリプライ方式で情報処理装置間の送受信を制御す
る障害検出方式に関する。
Description: TECHNICAL FIELD The present invention relates to a failure detection method for an information processing apparatus, and more particularly to a failure detection method for controlling transmission / reception between information processing apparatuses by a request reply method.

(従来の技術) 従来、リクエストリプライ方式により情報処理装置間で
の送受信制御の障害を検出する場合には、特にその障害
に着目した検出回路はもたず、送信側の情報処理装置の
内部で一つの命令の最大実行時間内にある命令の処理が
完了しないことを検出(リプライが受信されないときに
検出される)することによつて済ませていた。
(Prior Art) Conventionally, when a failure in transmission / reception control between information processing apparatuses is detected by the request reply method, there is no detection circuit that focuses on the failure and the internal information processing apparatus on the transmission side does not have a detection circuit. This was done by detecting that the processing of an instruction within the maximum execution time of one instruction was not completed (detected when no reply was received).

第2図は、従来技術によるリクエストリプライ方式を採
用したメモリアクセス方式を実現する一例を示すブロツ
ク図である。第2図において、201は演算制御部、202〜
204はそれぞれ形式の異なつたリクエストコードレジス
タ、205は論理アドレスレジスタ、206は実アドレスレジ
スタ、207,208,214はそれぞれ形式の異なつた書込みデ
ータレジスタ、209は実アドレス変換バツフア、210はキ
ヤツシユ、211はメモリアクセスアドレスレジスタ、212
は選択回路、213はリプライデータレジスタ、215はメモ
リアクセス制御回路、216はリクエストフリツプフロツ
プ、217はリクエストフラグバツフア書込みアドレスレ
ジスタ、218はリクエストフラグバツフア読出しアドレ
スレジスタ、219はリクエストフラグバツフア、220は第
1のリプライ受信フリツプフロツプ、221は第2以降の
リプライ受信フリツプフロツプ、222はメモリ制御部で
ある。
FIG. 2 is a block diagram showing an example of realizing the memory access method adopting the request reply method according to the prior art. In FIG. 2, 201 is an arithmetic and control unit, 202-
204 is a request code register of a different format, 205 is a logical address register, 206 is a real address register, 207, 208 and 214 are write data registers of different formats, 209 is a real address conversion buffer, 210 is a cache, and 211 is a memory access address. Register, 212
Is a selection circuit, 213 is a reply data register, 215 is a memory access control circuit, 216 is a request flip-flop, 217 is a request flag buffer write address register, 218 is a request flag buffer read address register, and 219 is a request flag buffer. Reference numeral 220 is a first reply reception flip-flop, 221 is a second reply reception flip-flop, and 222 is a memory control unit.

第2図において、演算制御部201からメモリへアクセス
するための情報としてリクエストコードがリクエストコ
ードレジスタ202へセツトされ、論理アドレスが論理ア
ドレスレジスタ205へセツトされ、ストアデータが書込
みデータレジスタ207へセツトされ、演算制御部201から
メモリアクセス制御回路215へリクエストが送出され
る。メモリアクセス制御回路215ではリクエストコード
レジスタ202の内容からメモリアクセスの種類を判定
し、実アドレス変換バツフア209で実アドレス変換した
結果を実アドレスレジスタ206へセツトし、リクエスト
コードをリクエストコードレジスタ203へセツトし、ス
トアデータを書込みデータレジスタ208へセツトする。
リードリクエストでデータがキヤツシユ210に存在する
ならば、メモリ制御部222からのリプライデータを選択
することができる選択回路212を通して演算制御部201へ
データを戻す。もし、ライトリクエストであるならば書
込みデータレジスタ208のデータをキヤツシユ210へ書込
む指示を与える。
In FIG. 2, the request code is set in the request code register 202, the logical address is set in the logical address register 205, and the store data is set in the write data register 207 as information for accessing the memory from the arithmetic control unit 201. A request is sent from the arithmetic control unit 201 to the memory access control circuit 215. The memory access control circuit 215 determines the type of memory access from the contents of the request code register 202, sets the result of real address conversion by the real address conversion buffer 209 to the real address register 206, and sets the request code to the request code register 203. Then, the store data is set in the write data register 208.
If data is present in the cache 210 in the read request, the data is returned to the operation control unit 201 through the selection circuit 212 capable of selecting reply data from the memory control unit 222. If it is a write request, an instruction to write the data in the write data register 208 to the cache 210 is given.

リードリクエストでデータがキヤツシユ210に存在しな
い場合、あるいはライトリクエストのときメモリ制御部
222に対してデータのリード/ライトを指示すべくリク
エストコードをリクエストコードレジスタ204にセツト
し、メモリリード/ライトアドレスをメモリアクセスア
ドレスレジスタ211にセツトし、ライトデータを書込み
データレジスタ214にセツトし、加えてリクエストフリ
ツプフロツプ216をセツトしてリクエストを送出する。
When data is not present in the cache 210 for read request, or for write request, memory controller
A request code is set in the request code register 204 to indicate data read / write to 222, a memory read / write address is set in the memory access address register 211, and write data is set in the write data register 214. In addition, the request flip-flop 216 is set and the request is sent.

リクエストフリツプフロツプ216がセツトされると、リ
クエストフラグバツフア219にリクエストコードレジス
タ204からのリクエストフラグを書込み、次の書込みの
ためにバツフア書込みアドレスレジスタ217を更新す
る。同様にして、連続してメモリ制御部222へのリクエ
ストがあれば、リクエストフラグをリクエストフラグバ
ツフア219にバツフアしてバツフア書込みアドレスレジ
スタ217の内容を更新する。
When the request flip-flop 216 is set, the request flag from the request code register 204 is written in the request flag buffer 219, and the buffer write address register 217 is updated for the next writing. Similarly, if there are continuous requests to the memory control unit 222, the request flag is buffered to the request flag buffer 219 and the content of the buffer write address register 217 is updated.

その後、メモリアクセスの終了に伴つてメモリ制御部22
2から第1のリプライ、または第2以降のリプライが返
される。
After that, as the memory access ends, the memory control unit 22
2 returns the first reply or the second and subsequent replies.

一般的には、メモリの8バイトリードを行つた後、ブロ
ツクリード(8バイトの8回転送)の最初の8バイトの
データを返送したとき、およびストアに対して第1のリ
プライを与え、ブロツクリードの最初以外の後続8バイ
トを転送して7回分のデータを返送したときには第2以
降のリプライが返される。
Generally, after reading 8 bytes of memory, when the first 8 bytes of data in block read (8 transfers of 8 bytes) are returned, and the first reply is given to the store, the block is read. When the subsequent 8 bytes other than the first read are transferred and the data for 7 times are returned, the second and subsequent replies are returned.

第1のリプライを第1のリプライ受信フリツプフロツプ
220で受信すると、リクエストフラグバツフア219の内容
とともに第1のリプライをメモリアクセス制御回路215
に送り、メモリアクセス制御回路215でリプライの種別
を判断し、演算制御部201へ要求データを返送するか否
か制御する。同時に、次のリクエストフラグバツフア21
9の内容を読出すためにリクエストフラグバツフア読出
しアドレスレジスタ218を更新する。
1st reply 1st reply reception flip-flop
When received at 220, the first reply is sent together with the contents of the request flag buffer 219 to the memory access control circuit 215.
Then, the memory access control circuit 215 determines the type of reply and controls whether or not the request data is returned to the arithmetic control unit 201. At the same time, the next request flag buffer 21
The request flag buffer read address register 218 is updated to read the contents of 9.

第2以降のリプライを第2以降のリプライ受信フリツプ
フロツプ221で受信すると、メモリアクセス制御回路215
へ第2以降のリプライがあつたことを報告し、メモリ制
御部222からリプライ信号と同期して転送されるメモリ
読出しデータレジスタ213にセツトされたブロツクロー
ドデータをキヤツシユ210へ書込む制御を行つている。
When the second and subsequent replies are received by the second and subsequent reply reception flip-flops 221, the memory access control circuit 215
To the cache 210 to report that the second and subsequent replies have occurred, and to write the block load data set in the memory read data register 213 transferred in synchronization with the reply signal from the memory control unit 222 to the cache 210. There is.

以上説明したように、従来技術においては特にリクエス
トリプライ制御に関する特別な障害検出回路が準備され
ていなかつた。
As described above, in the prior art, no special failure detection circuit for request reply control has been prepared.

(発明が解決しようとする問題点) 上述した従来のリクエストリプライ方式の制御障害は直
接的な検出手段がないため、間接的に命令間タイムアウ
ト(例えば、待つているリプライが返つてこなかつたた
めに命令の実行が終了しない。)、あるいはデータ化け
による予測不能な事態(例えば、リプライが多く返つた
り、あるいはリプライの順番を間違つたりする事態)に
おち入り、障害箇所を指摘することは困難であるという
欠点があった。なお、プロセッサからメモリへリクエス
トに起動番号を付加して送出し、応答を受け取ったとき
に、リクエストの起動番号とリプライの起動番号を比較
してエラーを検出する障害検出方式がメモリアクセス方
式(特開昭58−169264号公報)に示されているが、この
方式では、プロセッサ側に起動番号のバッファは持た
ず、あるプロセッサから見た場合は、1つの起動しか許
されないという欠点がある。
(Problems to be Solved by the Invention) Since the control failure of the above-mentioned conventional request reply method has no direct detection means, it indirectly causes an inter-instruction time-out (for example, because the waiting reply does not return). Execution of instructions does not end.) Or, it becomes impossible to point out the failure point by entering into an unpredictable situation due to garbled data (for example, many replies are returned or the order of replies is incorrect). It had the drawback of being difficult. A failure detection method that detects an error by comparing the request start number with the reply start number when a response is received from the processor with the start number added to the request is sent to the memory. However, this system has a drawback in that the processor does not have a buffer for the activation number and only one activation is allowed from a certain processor's point of view.

本発明の目的は、一つのリクエストに対応して第1のリ
プライ、または複数の第2以降のリプライを受信し、リ
クエスト送出後の第1のリプライを受信する以前にリク
エストフラグバツフアにより連続してリクエストの送出
を可能化し、第2以降のリプライの受信数が規定値を超
えたか否かを検出することにより上記欠点を除去し、障
害箇所を指摘することができるように構成した障害検出
方式を提供することにある。
An object of the present invention is to receive a first reply, or a plurality of second and subsequent replies in response to one request, and continuously send a request flag buffer before receiving the first reply after sending a request. A failure detection method configured to enable the sending of requests and detect whether or not the number of replies received after the second exceeds a specified value to eliminate the above-mentioned drawbacks and point out the failure location. To provide.

(問題点を解決するための手段) 本発明による障害発生方式は、リクエストリプライ方式
により情報処理装置間の送受信を制御するシステムにお
ける障害検出方式であって、 一つのリクエストに対応して第1のリプライを受信する
第1の受信手段と、 前記リクエストに対応して第2以降の複数のリプライを
受信するための第2の受信手段と、 前記リクエストの送出後に前記リクエストの第1のリプ
ライを前記第1の受信手段で受信するまでの間に連続し
てリクエストを送出することが可能な容量を有するリク
エストフラグバッファと、 このリクエストフラグバッファの書込みアドレスを保持
して前記リクエストの送出時に更新されるリクエストフ
ラグバッファ書込みアドレスレジスタと、 前記リクエストフラグバッファの読出しアドレスを保持
して前記第1の受信手段でのリプライの受信時に更新さ
れるリクエストフラグバッファ読出しアドレスレジスタ
と、 前記リクエストフラグバッファによってセットされるリ
プライ有効待ちフラグと、 前記第1の受信手段でのリプライの受信時にクリアさ
れ、前記第2の受信手段での第2以降のリプライの受信
時に受信数をカウントするリプライカウンタと、 このリプライカウンタの受信数カウント値が規定値を超
えたことを検出するための規定値超え検出手段と、 この規定値超え検出手段で規定値超えを検出したときに
前記第2の受信手段で第2以降のリプライを受信した場
合に前記リプライ有効待ちフラグをリセットするリプラ
イ有効待ちフラグリセット手段と、 前記リプライ有効待ちフラグがリセット状態にあるとき
に前記第2の受信手段で第2以降のリプライを受信した
場合に前記送受信を制御するシステムにおいて障害が発
生した旨を検出する障害発生検出手段とを有するもので
ある。
(Means for Solving Problems) A failure occurrence method according to the present invention is a failure detection method in a system for controlling transmission / reception between information processing devices by a request reply method, and is a first method in response to one request. First receiving means for receiving a reply, second receiving means for receiving a plurality of replies of second and subsequent replies in response to the request, and a first reply of the request after sending the request. A request flag buffer having a capacity capable of continuously sending requests until it is received by the first receiving means, and a write address of the request flag buffer is held and updated when the request is sent. Request flag buffer write address register and read address of the request flag buffer A request flag buffer read address register which is held and updated when a reply is received by the first receiving unit, a reply valid waiting flag set by the request flag buffer, and a reply valid reply flag by the first receiving unit. A reply counter which is cleared upon reception and which counts the number of receptions when the second and subsequent replies are received by the second receiving means, and for detecting that the number of receptions count value of this reply counter exceeds a prescribed value. Specified value excess detection means, and reply valid wait for resetting the reply valid wait flag when the second and subsequent replies are received by the second receiving means when the specified value excess detection means detects the specified value excess Flag resetting means and the second means when the reply valid waiting flag is in a reset state. And a failure occurrence detecting means for detecting that a failure has occurred in the system for controlling transmission / reception when the second and subsequent replies are received by the receiving means.

また、上記障害検出方式においては、前記リプライカウ
ンタの上位ビットが“1"となった場合に前記送受信を制
御するシステムにおいて障害が発生した旨を検出する。
Further, in the fault detection method, it is detected that a fault has occurred in the system for controlling the transmission / reception when the upper bit of the reply counter becomes "1".

(実施例) 次に、本発明について図面を参照して説明する。(Example) Next, this invention is demonstrated with reference to drawings.

第1図は本発明による障害検出方式を実現する一実施例
を示すブロツク図であり、第2図に示した従来技術によ
るブロツク図とは異なつたリクエストリプライ制御部の
みを示している。
FIG. 1 is a block diagram showing an embodiment for realizing the failure detection method according to the present invention, and shows only a request reply control unit different from the block diagram according to the conventional technique shown in FIG.

第1図において、101はリクエストコードレジスタ、102
はメモリアクセスアドレスレジスタ、103はリプライデ
ータレジスタ、104は書込みデータレジスタ、105はリク
エストフリツプフロツプ、106はメモリアクセス制御回
路、107はリクエストフラグバツフア読出しアドレスレ
ジスタ、108はリクエストフラグバツフア書込みアドレ
スレジスタ、109はリクエストフラグバツフア、110〜11
2,122,116はそれぞれ第1〜第5の比較回路、113,117,1
18はそれぞれ第1〜第3のANDゲート114は第2以降のリ
プライ有効表示フラグ、115は第2以降のリプライカウ
ンタ、119,120はそれぞれ第1および第2以降のリプラ
イ受信フリツプフロツプ、121はリクエストリプライカ
ウンタ、123はリプライフラグレジスタ、124は障害処理
制御部、126,127はそれぞれNANDゲート、125はメモリ制
御部である。
In FIG. 1, 101 is a request code register, 102
Is a memory access address register, 103 is a reply data register, 104 is a write data register, 105 is a request flip-flop, 106 is a memory access control circuit, 107 is a request flag buffer read address register, and 108 is a request flag buffer write. Address register, 109 is request flag buffer, 110 to 11
2, 122 and 116 are first to fifth comparison circuits, 113, 117 and 1 respectively.
Reference numeral 18 is a first to third AND gate 114, a second and subsequent reply valid indication flags, 115 is a second and subsequent reply counters, 119 and 120 are first and second and subsequent reply reception flip-flops, and 121 is a request reply counter. , 123 is a reply flag register, 124 is a failure processing control unit, 126 and 127 are NAND gates respectively, and 125 is a memory control unit.

本実施例ではリクエストの種類をリードリクエスト1、
リードリクエスト2、ならびにライトリクエストの3種
類に限定する。リードリクエスト1はリクエスト1個に
対して第1のリプライのみを与え、リードリクエスト2
はリクエスト1個に対して第1のリプライとそれに続く
第2〜第8のリプライを与え、ライトリクエストはリク
エスト1個に対して第1のリプライを与える。また、リ
プライ受信以前に連続して送出可能なリクエストの数は
15個として以下に説明する。
In this embodiment, the type of request is read request 1,
It is limited to three types, read request 2 and write request. Read request 1 gives only the first reply to one request, read request 2
Gives a first reply followed by second to eighth replies for one request, and a write request gives a first reply for one request. In addition, the number of requests that can be continuously sent before the reply is received is
It is explained below as 15 pieces.

まず、リクエスト送出時の動作を説明する。First, the operation when sending a request will be described.

リクエストフリツプフロツプ105がセツトされてリクエ
スト送出状態になると、リクエストコードレジスタ101
の内容のうちでリードリクエスト1/リードリクエスト2/
ライトリクエストを分類する情報を16ワードで構成され
るリクエストフラグバツフア109へ格納する。すなわ
ち、この場合にはリクエストフラグバツフア109の5ビ
ツトで構成されるリクエストフラグバツフア書込みアド
レスレジスタ108(初期値は全ビツト“0")で示された
ワード位置に上記情報を格納し、同時にリクエストフラ
グバツフア書込みアドレスレジスタ108の内容を次のワ
ード位置を示すべくカウントアツプする。また、初期値
は全ビツト“0"で5ビツトから構成されたリクエストリ
プライカウンタ121をカウントアツプし、リプライ待ち
のリクエスト数を表示する。ここで、リプライ受信時に
はカウントアツプは抑止される。
When the request flip-flop 105 is set and is in the request sending state, the request code register 101
Of the contents of read request 1 / read request 2 /
Information for classifying the write request is stored in the request flag buffer 109 composed of 16 words. That is, in this case, the above information is stored in the word position indicated by the request flag buffer write address register 108 (initial value is all bits “0”) composed of 5 bits of the request flag buffer 109, and at the same time, The contents of the request flag buffer write address register 108 are counted up to indicate the next word position. The initial value is all "0" and the request reply counter 121, which is composed of 5 bits, is counted up and the number of requests waiting for reply is displayed. Here, the count-up is suppressed when the reply is received.

次に、リプライ受信時の動作を説明する。Next, the operation when receiving a reply will be described.

リードリクエスト1に対しては第1のリプライが第1の
リプライ受信フリツプフロツプ119をセツトすることに
より報告される。5ビツトで構成され、初期値が全ビツ
ト“0"にセツトされるリクエストフラグバツフア読出し
アドレスレジスタ107によつて示されるリクエストフラ
グバツフア109のワード位置から読出されたリクエスト
フラグと、第1のリプライと同時に報告されるリプライ
フラグレジスタ123のリプライフラグとが第3の比較回
路112で比較される。両者間が不一致のときには予測し
たリプライとは異なると判断され、障害処理部124へリ
クエストリプライ制御障害として報告される。さらに、
リクエストリプライカウンタ121をカウントダウンし、
次のリクエストフラグバツフア109の動作を準備するた
めリクエストフラグバツフア読出しアドレスレジスタ10
7をカウントアツプする。
For read request 1, the first reply is reported by setting the first reply receive flip-flop 119. A request flag read from the word position of the request flag buffer 109 indicated by the request flag buffer read address register 107, which is composed of 5 bits and whose initial value is set to all bits "0", and the first flag The reply flag of the reply flag register 123, which is reported at the same time as the reply, is compared by the third comparison circuit 112. When the two do not match, it is determined that the reply is different from the predicted reply, and is reported to the failure processing unit 124 as a request reply control failure. further,
Count down the request reply counter 121,
Request flag buffer read address register 10 to prepare for the next operation of request flag buffer 109.
Count up 7.

リードリクエスト2に対しては第1のリプライが第1の
リプライ受信フリツプフロツプ119をセツトすることに
よりリプライが報告され、リードリクエスト1と同様の
動作に加えて、当該リプライに続く第2以降のリプライ
の数をカウントするための4ビツトで構成されるリプラ
イカウンタ115を初期値(全ビツト“0")にクリアして
第2以降のリプライを待つ。続いて、第2以降のリプラ
イが第2のリプライ受信フリツプフロツプ120セツトす
ることにより報告されると、リプライカウンタ115をカ
ウントアツプし、リードリクエスト2に対するリプライ
有効待ちフラグV114(第1のリプライ受信以前にリクエ
ストフラグバツフア109から読出されて保持されてい
る。)がリセツトされているときには、第2以降のリプ
ライを受信したことを第2のANDゲート117で検出する
と、予測したリプライとは異なると判断し、障害処理制
御部124へリクエストリプライ制御障害として報告す
る。
For the read request 2, the reply is reported by the first reply setting the first reply reception flip-flop 119. In addition to the operation similar to the read request 1, the reply of the second and subsequent replies following the reply is sent. The reply counter 115 consisting of 4 bits for counting the number is cleared to the initial value (all bits "0") and the second and subsequent replies are waited. Then, when the second and subsequent replies are reported by setting the second reply reception flip-flop 120, the reply counter 115 is counted up, and the reply valid waiting flag V114 for the read request 2 (before the first reply reception is received). When the second AND gate 117 detects that the second and subsequent replies have been received, it is determined that the reply is different from the predicted reply. Then, it reports to the failure processing control unit 124 as a request reply control failure.

さらに、リプライカウンタ115が第2以降のリプライに
よりカウントアツプされ、最後の第2以降のリプライ待
ちを検出するため、NANDゲート126,127により送られて
くるリプライカウンタ115の内容R2C=6を第5の比較回
路116で検出し、そのとき第2以降のリプライを受信す
ると第3のANDゲート118の出力によりVフラグF/F114を
リセツトしてリードリクエスト2に対するリプライ待ち
を無効化する。さらに第2以降のリプライを受信すると
R2C>7となり、リプライカウンタ115の上位1ビツトが
“1"となると、余分なリプライを受信したものと判断し
て障害処理制御部124へリクエストリプライ制御障害と
して報告する。
Further, the reply counter 115 is counted up by the second and subsequent replies, and the contents R2C = 6 of the reply counter 115 sent by the NAND gates 126 and 127 are compared with the fifth comparison in order to detect the last wait for the second and subsequent replies. When the circuit 116 detects the second and subsequent replies at that time, the V flag F / F 114 is reset by the output of the third AND gate 118 to invalidate the reply wait for the read request 2. If you receive the second and subsequent replies,
When R2C> 7 and the upper 1 bit of the reply counter 115 becomes "1", it is judged that an extra reply has been received, and it is reported to the failure processing control section 124 as a request reply control failure.

ストアリクエストに対しては、動作はリードリクエスト
1と同様である。
The operation for the store request is the same as that for the read request 1.

さらに、リクエストフラグバツフア109の書込み/読出
しを制御するバツフア書込みアドレスレジスタ108とリ
クエストフラグバツフア読出しアドレスレジスタ107と
は常にその差は最大15であり、リクエスト先行によりリ
クエストリプライ制御が不測の事態におちいらないよう
にバツフア書込みアドレスレジスタ108とリクエストフ
ラグバツフア読出しアドレスレジスタ107との間で上位
ビツトの第1の比較回路110での不一致出力と、下位4
ビツトの第2の比較回路111での一致出力との論理積を
第1のANDゲート113により検出して、障害処理制御部12
4へリクエストリプライ制御障害として報告する。
Further, the difference between the buffer write address register 108 for controlling the writing / reading of the request flag buffer 109 and the request flag buffer reading address register 107 is always 15 at maximum, and the request reply control becomes unexpected due to the request preceding. In order not to go down, a mismatch output at the first comparison circuit 110 of the upper bit between the buffer write address register 108 and the request flag buffer read address register 107, and a lower 4
The AND circuit 113 of the bit and the coincidence output in the second comparison circuit 111 is detected by the first AND gate 113, and the failure processing control unit 12
Report to request 4 as request reply control failure.

また、リクエスト未送出時のリプライ先行によりリクエ
ストリプライ制御が不測の事態におちいらないように、
リクエストリプライカウンタ121が全ビツト“1"(カウ
ンタ値が“−1")であることを第4の比較回路122で検
出し、さらにリクエスト先行によりリクエストリプライ
制御が不測の事態におちいらないようにリクエストリプ
ライカウンタ121の上位1ビツトが“1"(カウンタ:オ
ーバフロー)であることを検出して、障害処理制御部12
4へリクエストリプライ制御障害を報告する。
Also, in order not to fall into an unexpected situation of request reply control due to the reply preceding when the request is not sent,
The request reply counter 121 detects that all the bits are "1" (counter value is "-1") by the fourth comparison circuit 122, and further requests the request reply so that the request reply control does not fall into an unexpected situation. The failure processing control unit 12 detects that the upper 1 bit of the reply counter 121 is "1" (counter: overflow).
Report request reply control failure to 4.

(発明の効果) 以上説明したように本発明は、一つのリクエストに対応
して第1のリプライ、または複数の第2以降のリプライ
を受信し、リクエスト送出後に第1のリプライを受信す
る以前にリクエストフラグバツフアにより連続してリク
エストの送出を可能化し、第2以降のリプライの受信数
が規定値を超えたか否かを検出することにより、少ない
ハードウエアを追加してリクエストリプライ方式の制御
障害を早急に検出でき、さらに障害箇所を正しく限定で
きるという効果がある。
(Effects of the Invention) As described above, according to the present invention, the first reply or the plurality of second and subsequent replies is received in response to one request, and before the first reply is received after the request is transmitted. Request flag buffer enables continuous sending of requests and detects whether or not the number of replies received from the second and subsequent replies exceeds a specified value, adding a small amount of hardware and making a control failure in the request reply method. Can be detected promptly, and moreover, the location of the failure can be correctly limited.

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

第1図は、本発明による障害検出方式を実現する一実施
例を示すブロツク図である。 第2図は、従来技術による障害検出方式を実現する一例
を示すブロツク図である。 101,202〜204……リクエストコードレジスタ 102,211……メモリアクセスアドレスレジスタ 103,213……リプライデータレジスタ 104,207,208,214……書込みデータレジスタ 105,216……リクエストフリツプフロツプ 106,215……メモリアクセス制御回路 107,218……リクエストフラグバツフア読出しアドレス
レジスタ 108,217……リクエストフラグバツフア書込みアドレス
レジスタ 109,219……リクエストフラグバツフア 110〜112,122,116……比較回路 113,117,118……ANDゲート 114……第2以降のリプライ有効表示フラグ 115……第2以降のリプライカウンタ 119……第1のリプライ受信フリツプフロツプ 120,221……第2以降のリプライ受信フリツプフロツプ 121……リクエストリプライカウンタ 123……リプライフラグレジスタ 124……障害処理制御部 125,222……メモリ制御部 126,127……NANDゲート 201……演算制御部 205……論理アドレスレジスタ 206……実アドレスレジスタ 210……キヤツシユ 212……選択回路
FIG. 1 is a block diagram showing an embodiment for realizing the failure detection system according to the present invention. FIG. 2 is a block diagram showing an example of realizing the fault detection method according to the prior art. 101,202 to 204 …… Request code register 102,211 …… Memory access address register 103,213 …… Reply data register 104,207,208,214 …… Write data register 105,216 …… Request flip-flop 106,215 …… Memory access control circuit 107,218 …… Request flag buffer read Address register 108,217 …… Request flag buffer write Address register 109,219 …… Request flag buffer 110 to 112,122,116 …… Comparison circuit 113,117,118 …… AND gate 114 …… Second and subsequent replies valid display flag 115 …… Second and subsequent replies Counter 119 …… First reply reception flip-flop 120,221 …… Second and subsequent reply reception flip-flops 121 …… Request reply counter 123 …… Reply flag register 124 …… Fault processing control unit 125,222 …… Memory control unit 126,127… … NAND gate 201 …… Operation control unit 205 …… Logical address register 206 …… Real address register 210 …… Cashing 212 …… Selection circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】リクエストリプライ方式により情報処理装
置間の送受信を制御するシステムの障害検出方式であっ
て、 一つのリクエストに対応して第1のリプライを受信する
第1の受信手段と、 前記リクエストに対応して第2以降の複数のリプライを
受信するための第2の受信手段と、 前記リクエストの送出後に前記リクエストの第1のリプ
ライを前記第1の受信手段で受信するまでの間に連続し
てリクエストを送出することが可能な容量を有するリク
エストフラグバッファと、 このリクエストフラグバッファの書込みアドレスを保持
して前記リクエストの送出時に更新されるリクエストフ
ラグバッファ書込みアドレスレジスタと、 前記リクエストフラグバッファの読出しアドレスを保持
して前記第1の受信手段でのリプライの受信時に更新さ
れるリクエストフラグバッファ読出しアドレスレジスタ
と、 前記リクエストフラグバッファによってセットされるリ
プライ有効待ちフラグと、 前記第1の受信手段でのリプライの受信時にクリアさ
れ、前記第2の受信手段での第2以降のリプライの受信
時に受信数をカウントするリプライカウンタと、 このリプライカウンタの受信数カウント値が規定値を超
えたことを検出するための規定値超え検出手段と、 この規定値超え検出手段で規定値超えを検出したときに
前記第2の受信手段で第2以降のリプライを受信した場
合に前記リプライ有効待ちフラグをリセットするリプラ
イ有効待ちフラグリセット手段と、 前記リプライ有効待ちフラグがリセット状態にあるとき
に前記第2の受信手段で第2以降のリプライを受信した
場合に前記送受信を制御するシステムにおいて障害が発
生した旨を検出する障害発生検出手段とを有することを
特徴とする障害検出方式。
1. A failure detection method for a system for controlling transmission / reception between information processing apparatuses by a request reply method, comprising: first receiving means for receiving a first reply in response to one request; and the request. Corresponding to the second receiving means for receiving a plurality of replies of the second and subsequent ones, and continuously until the first reply of the request is received by the first receiving means after the request is transmitted. And a request flag buffer having a capacity capable of sending a request, a request flag buffer write address register that holds a write address of the request flag buffer and is updated when the request is sent, and a request flag buffer The read address is retained and updated when the reply is received by the first receiving means. A request flag buffer read address register, a reply valid waiting flag set by the request flag buffer, cleared when a reply is received by the first receiving means, and a second or subsequent one by the second receiving means Reply counter that counts the number of receptions when receiving a reply, and a specified value excess detection means for detecting that the received count value of this reply counter exceeds the specified value, and the specified value exceeded detection means Reply valid wait flag resetting means for resetting the reply valid waiting flag when the second and subsequent replies are received by the second receiving means when the excess is detected, and when the reply valid waiting flag is in a reset state When the second and subsequent replies are received by the second receiving means, Fault detection method characterized by having a failure detection means for detecting that a failure occurs in the system for controlling the signal.
【請求項2】前記リプライカウンタの上位ビットが“1"
となった場合に前記送受信を制御するシステムにおいて
障害が発生した旨を検出することを特徴とする特許請求
の範囲第1項記載の障害検出方式。
2. The upper bit of the reply counter is "1"
The failure detection method according to claim 1, wherein the failure detection method detects the occurrence of a failure in the system that controls the transmission and reception.
JP60180278A 1985-08-16 1985-08-16 Failure detection method Expired - Fee Related JPH0752411B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60180278A JPH0752411B2 (en) 1985-08-16 1985-08-16 Failure detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60180278A JPH0752411B2 (en) 1985-08-16 1985-08-16 Failure detection method

Publications (2)

Publication Number Publication Date
JPS6240544A JPS6240544A (en) 1987-02-21
JPH0752411B2 true JPH0752411B2 (en) 1995-06-05

Family

ID=16080425

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60180278A Expired - Fee Related JPH0752411B2 (en) 1985-08-16 1985-08-16 Failure detection method

Country Status (1)

Country Link
JP (1) JPH0752411B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58169264A (en) * 1982-03-31 1983-10-05 Hitachi Ltd Memory access system

Also Published As

Publication number Publication date
JPS6240544A (en) 1987-02-21

Similar Documents

Publication Publication Date Title
US4115851A (en) Memory access control system
US4347567A (en) Computer system apparatus for improving access to memory by deferring write operations
US4685057A (en) Memory mapping system
US7146533B2 (en) Method for and system producing shared usage of intercommunication fabric error logging registers in a multiprocessor environment
EP0165823B1 (en) Tag control circuit for buffer storage
US20020112105A1 (en) Method and apparatus for efficient messaging between memories across a PCI bus
US5578953A (en) Self-resetting status register
EP0206657B1 (en) Apparatus for input/output notification to a processor
JPH0752411B2 (en) Failure detection method
US5561672A (en) Apparatus for preventing computer data destructively read out from storage unit
US5101486A (en) Processor having a stackpointer address provided in accordance with connection mode signal
US5598578A (en) Data processing system having event word handling facility which can send event word of higher significance without failure
US7836222B2 (en) System and method for tracking messages between a processing unit and an external device
JPH03147157A (en) Information processor
JPH06187256A (en) Bus trace mechanism
US6345332B1 (en) Bus interchange apparatus and dual system for accessing a fault information register without regard to buffer conditions
EP0076098A2 (en) Key storage error processing system
JPS6240543A (en) Fault detecting system
JPS6240542A (en) Fault detecting system
JPS6240545A (en) Fault detecting system
JPH07129414A (en) Data processor
EP0432807B1 (en) Microprocessor having internal cache memory
US6182174B1 (en) Memory card interface method using multiplexed storage protect key to indicate command acceptance
JP3082196B2 (en) Error access processing method
SU1432522A1 (en) Device for shaping an interrupt signal

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees