JPS6247750A - Storage device - Google Patents

Storage device

Info

Publication number
JPS6247750A
JPS6247750A JP60187578A JP18757885A JPS6247750A JP S6247750 A JPS6247750 A JP S6247750A JP 60187578 A JP60187578 A JP 60187578A JP 18757885 A JP18757885 A JP 18757885A JP S6247750 A JPS6247750 A JP S6247750A
Authority
JP
Japan
Prior art keywords
error
register
pseudo
errors
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
JP60187578A
Other languages
Japanese (ja)
Inventor
Toru Takishima
瀧島 亨
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 JP60187578A priority Critical patent/JPS6247750A/en
Publication of JPS6247750A publication Critical patent/JPS6247750A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To attain the diagnosis for success of a retry by instructing the generating frequency of errors through an error frequency setting register to produce an optional frequency of errors and therefore preventing the generation of errors to the access of the frequencies at and after said optional frequency. CONSTITUTION:The diagnosis data are first sent to signal lines 10 and 14 and '1' is set to an error frequency setting register 1 and a pseudo trouble register 2 respectively. Then the control signal for a normal writing or reading action is supplied to a control circuit 3 from a signal line 16. Thus the action instructing signal on a signal line 17 is set at '1' and an error detecting circuit 8 is actuated to transmit the error signals. At the same time, '1' is set to a diagnosis register 6. The error signal is also transmitted with a normal writing or reading action and the output of an AND gate 7 is set at '1'. Thus an error frequency selecting circuit 4 is set at '0' and registers 1, 2 and 6 are reset. As a result, no error is produced with access following at and after the 3rd access.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は保守診断機能を有する記憶装置に関し、特にそ
の疑似故障の発生方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a storage device having a maintenance/diagnosis function, and particularly to a method of generating pseudo failures therein.

(従来の技術) 従来、保守診断機能によって診断レジスタに疑似故障を
セットした状態で、システム制御装置から書込み/読出
し命令を実行すると、常時エラーが発生していた。
(Prior Art) Conventionally, when a write/read command is executed from a system control device with a pseudo failure set in a diagnostic register by a maintenance diagnostic function, an error always occurs.

(発明が解決しようとする問題点) 上述した従来の診断レジスタに疑似故障をセットするだ
けの方式では、システム制御装置からエラーが固定的に
みえてしまう。よって、命令リトライ機能によってエラ
ーの発生したアドレスに再度アクセスしてもエラーが発
生し、アクセスしたアドレス領域が切離されるため、命
令リトライ機能の固定エラーに対する診断は実行できる
が、再度アクセスしたときにエラーにならないでリトラ
イ成功の診断ができることはないという欠点があつた。
(Problems to be Solved by the Invention) In the above-described conventional method of simply setting a pseudo failure in the diagnostic register, errors appear fixed to the system control device. Therefore, even if the address where the error occurred is accessed again using the instruction retry function, an error will occur and the accessed address area will be separated. The drawback was that it was impossible to diagnose whether a retry was successful without causing an error.

本発明の目的は、保守診断機能を有して疑似故障をセッ
トすることができる記憶装置において、エラー回数セッ
トレジスタによりエラーの発生回数を指示し、疑似故障
レジスタにより疑似故障をセットしておき、疑似故障レ
ジスタの内容とシステム制御装置からの動作指示信号と
の論理積を求め、さらにエラー回数に応じた診断レジス
タとANDゲートとの対を複数個備え、上記複数のAN
Dゲートの論理積出力信号の一つをエラー回数セレクト
回路でセレクトし、任意の回数のエラーを発生させるこ
とによって上記欠点を除去し、IJ )ライ成功を診断
できるように構成した記憶装置を提供することにある。
An object of the present invention is to provide a storage device having a maintenance diagnosis function and capable of setting a pseudo-failure, in which the number of occurrences of an error is specified by an error count set register, and a pseudo-fault is set by a pseudo-fault register. The logical product of the contents of the pseudo-fault register and the operation instruction signal from the system control device is calculated, and a plurality of pairs of diagnostic registers and AND gates are provided according to the number of errors, and the plurality of AN
To provide a storage device configured to remove the above drawback by selecting one of the AND output signals of a D gate by an error number selection circuit and generating an arbitrary number of errors, and to diagnose whether the IJ) write is successful. It's about doing.

(問題点を解決するだめの手段) 本発明による記憶装置は、疑似故障レジスタと、エラー
回数セットレジスタと、ANDゲートト、複数のAND
ゲート付き診断レジスタと、エラー回数セレクト回路と
、エラー検出回路とを具備し、7ステム制御装置からの
書込み/読出し命令に対して書込み/読出し動作を実行
し、保守診断を行うことができるとともに疑似故障をセ
ットすることができるように構成したものである。
(Means for solving the problem) The storage device according to the present invention includes a pseudo-fault register, an error count set register, an AND gate, and a plurality of AND gates.
Equipped with a gated diagnostic register, an error count select circuit, and an error detection circuit, it can execute write/read operations in response to write/read commands from the 7-stem control device, perform maintenance diagnosis, and simulate It is configured so that a failure can be set.

疑似故障レジスタは、疑似故障をセットするためのもの
であり、エラー回数セットレジスタはエラーの発生回数
を指示するためのものである。
The pseudo fault register is for setting a pseudo fault, and the error count set register is for indicating the number of times an error has occurred.

ANDゲートは、疑似故障レジスタの出力信号と、シス
テム制御装置からの書込み/読出し動作指示信号との論
理積を求めるためのものである。
The AND gate is for calculating the logical product of the output signal of the pseudo-fault register and the write/read operation instruction signal from the system control device.

複数のANDゲート付き診断レジスタは、〔(最大エラ
ー回数)−1〕個の直列に接続されたものである。
The plurality of diagnostic registers with AND gates are connected in series in [(maximum number of errors)-1].

エラー回数セレクト回路は、エラー回数セットレジスタ
の出力信号によって〔(最大エラー回数)−1〕個の出
力信号の一つを選択するためのものである。
The error count select circuit is for selecting one of the [(maximum error count)-1] output signals based on the output signal of the error count set register.

エラー検出回路は、疑似故障レジスタの出力信号からエ
ラーを検出するためのものである。
The error detection circuit is for detecting errors from the output signal of the pseudo-fault register.

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

第1図はエラー回数が2回の場合の記憶装置の一実施例
を示すブロック図である。第1図において、1はエラー
回数セットレジスタ、2は疑似故障レジスタ、3は制御
回路、4はエラー回数セレクト回路、5はANDゲート
、6は診断レジスタ、7はANDゲート、8はエラー検
出回路、9はエラーレジスタである。
FIG. 1 is a block diagram showing an embodiment of a storage device in which the number of errors is two. In Fig. 1, 1 is an error count set register, 2 is a pseudo-fault register, 3 is a control circuit, 4 is an error count select circuit, 5 is an AND gate, 6 is a diagnostic register, 7 is an AND gate, and 8 is an error detection circuit. , 9 are error registers.

第2図は、第1図の動作で示すタイミングチャートであ
り、第2図においては、システム制御装置から診断書込
み動作が実行され、続いて通常の書込動作、または読出
し動作が8回続き、順にリクエスト等の制御信号が送ら
れてきた場合のシーケンスを示す。システム制御装置(
図示してない)からリクエスト等の制御信号が信号線1
6上に送出されてくると、制御回路3で診断書込み動作
を指示する。信号線16上のリクエストよシも1クロツ
クだけ遅れて診断デー名が信号線10.14上に送出さ
れ、それぞれエラー回数セットレジスタ1、および疑似
故障レジスタ2にtlNがセットされる。診断書込み動
作の要求後に、診断書込み動作のリクエストの次のクロ
ックで通常の書込み動作、または通常の読出し動作のリ
クエスト等の制御信号が信号線16上に送出され、制御
回路3で通常の書込み動作、または通常の読出し動作を
指示する。通常の書込み動作、または通常の読出し動作
の場合には、信号線17上の動作指示信号が%11にな
る。信号線17上の動作指示信号および信号線15上の
疑似故障信号が111であるため、エラー検出回路8が
動作して信号線21上にエラー信号が発生し、エラーレ
ジスタ9を介してシステム制御装置(図示してない)に
エラーが送出される。
FIG. 2 is a timing chart showing the operation of FIG. 1. In FIG. 2, a diagnostic write operation is executed from the system control device, followed by a normal write operation or read operation eight times. The sequence is shown when control signals such as requests are sent in order. System controller (
Control signals such as requests are sent from signal line 1 (not shown).
6, the control circuit 3 instructs a diagnostic writing operation. A diagnostic data name is sent out on signal line 10.14 with a delay of one clock after the request on signal line 16, and tIN is set in error count set register 1 and pseudo failure register 2, respectively. After a request for a diagnostic write operation, a control signal such as a request for a normal write operation or a normal read operation is sent onto the signal line 16 at the clock next to the request for a diagnostic write operation, and the control circuit 3 performs a normal write operation. , or direct a normal read operation. In the case of a normal write operation or a normal read operation, the operation instruction signal on signal line 17 becomes %11. Since the operation instruction signal on the signal line 17 and the pseudo failure signal on the signal line 15 are 111, the error detection circuit 8 operates and an error signal is generated on the signal line 21, and the system control is performed via the error register 9. An error is sent to a device (not shown).

一方、診断レジスタ6に%IJFがセットされると同時
に、次の通常の書込み動作、または読出し命令に対する
動作指示信号が信号線17上で%11になる。また、信
号線15上の疑似故障信号が亀IIのままであるため、
エラー検出回路8が動作して2回目のエラー信号が発生
し、システム制御装置に送出される。2回目の通常の書
込み動作、または読出し動作の命令に対する動作指示信
号が信号線11上で%11であるとき、診断レジスタ6
の出力信号は信号線23上で% 11であるから、信号
線19上の論理積信号が%11になる。また、このとき
エラー回数セット信号は信号線11上で111であるた
め、2回エラーがセレクトされてリセット信号が信号線
13上で−O1になる。よって、疑似故障レジスタ2と
、エラー回数セットレジスタ1と、レジスタ6とがリセ
ットされる。
On the other hand, at the same time that %IJF is set in the diagnostic register 6, the operation instruction signal for the next normal write operation or read command becomes %11 on the signal line 17. In addition, since the pseudo fault signal on signal line 15 remains Kame II,
The error detection circuit 8 operates to generate a second error signal, which is sent to the system controller. When the operation instruction signal for the second normal write operation or read operation instruction is %11 on the signal line 11, the diagnostic register 6
Since the output signal on signal line 23 is %11, the AND signal on signal line 19 is %11. Further, since the error count set signal is 111 on the signal line 11 at this time, two errors are selected and the reset signal becomes -O1 on the signal line 13. Therefore, the pseudo failure register 2, the error count set register 1, and the register 6 are reset.

したがって、3回目以降の通常の書込み動作、または通
常の読出し動作の命令に対してはエラーは発生しない。
Therefore, no error occurs for the third or subsequent normal write operation or normal read operation command.

以上、2回のエラーを発生する場合の動作を説明したが
、4回までのエラーを発生するには、診断レジスタ6と
ANDゲート7とから成る対をANDゲート7の後に直
列に2回路接続するとともに、この2回路のANDゲー
トの出力をエラー回数セレクト回路4に入力する。エラ
ー回数セレクト回路4から信号線13上への出力信号を
2回路のレジスタに入力する。また、エラー回数セット
レジスタ10入力は2ビツト必要で、2ビツトによって
1〜4のエラー発生回数をセレクトする。
The operation in the case where two errors occur has been explained above, but in order to generate up to four errors, two circuits of a pair consisting of the diagnostic register 6 and the AND gate 7 are connected in series after the AND gate 7. At the same time, the outputs of the AND gates of these two circuits are input to the error count selection circuit 4. The output signal from the error count selection circuit 4 onto the signal line 13 is input to two circuits of registers. Further, the input to the error count set register 10 requires 2 bits, and the 2 bits select the number of error occurrences from 1 to 4.

同様にして、4回以上のエラーも発生することができる
Similarly, more than four errors can occur.

第3図に、エラーをN(エラー最大発生回数)回発生さ
せる場合の一般的なブロック図を示す。
FIG. 3 shows a general block diagram when an error is caused to occur N times (maximum number of error occurrences).

第8図において、第1図と同様な要素には同じ番号が付
しである。また、6−1〜6−(N−1)は(N−1)
個の診断レジスタを示し、1−1〜7−(N−1)は(
N−1)個のANDゲートを示す。
In FIG. 8, elements similar to those in FIG. 1 are numbered the same. Also, 6-1 to 6-(N-1) is (N-1)
1-1 to 7-(N-1) are (
N-1) AND gates are shown.

、(発明の効果) 以上説明したように本発明は、保守診断機能を有して疑
似故障をセットすることができる記憶装置において、エ
ラー回数セットレジスタによシェラ−の発生回数を指示
し、疑似故障レジスタにょシ疑似故障をセットししおき
、疑似故障レジスタの内容と7ステム制御装置からの動
作指示信号との論理積を求め、さらにエラー回数に応じ
た診断レジスタとANDゲートとの対を複数個備え、上
記複数のANDゲートの論理積出力信号の一つをエラー
回数セレクト回路でセレクトし、任意の回数のエラーを
発生することによシ、各システム制御装置の命令リトラ
イ機能に合致した診断を容易に実行できるという効果が
ある。
(Effects of the Invention) As explained above, the present invention has a storage device that has a maintenance diagnosis function and can set pseudo-faults, by instructing the number of occurrences of Sheller in the error count set register and setting pseudo-faults. A pseudo-fault is set in the fault register, the logical product of the content of the pseudo-fault register and the operation instruction signal from the 7-stem control device is calculated, and a plurality of pairs of diagnostic registers and AND gates are created according to the number of errors. By selecting one of the AND output signals of the plurality of AND gates in the error count selection circuit and generating an arbitrary number of errors, diagnosis can be made in accordance with the command retry function of each system control device. This has the effect of making it easy to carry out.

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

第1図および第3図は、それぞれ本発明による記憶装置
の実施例を示すブロック図である。 第2図は、第1図に示す記憶装置の動作例を示すタイミ
ングチャートである。 1曇・・エラー回数セットレジスタ 2・・・疑似故障レジスタ 3・・・制御回路 4・・・エラー回数セレクト回路 5 、7 、7−1 、1−2 、・・−1−(N−1
)・―・―・ANDゲート 6 、6−1 、6−2 、・・・6−(N−1)@・
・・・・診断レジスタ 8・・・エラー検出回路 9・・・エラーレジスタ 1G、11.13〜23.19−1〜19−(N−1)
、23−1〜25−(N−1)・・・・・・信号線
FIGS. 1 and 3 are block diagrams each showing an embodiment of a storage device according to the present invention. FIG. 2 is a timing chart showing an example of the operation of the storage device shown in FIG. 1 Cloud...Error count set register 2...Pseudo failure register 3...Control circuit 4...Error count select circuit 5, 7, 7-1, 1-2,...-1-(N-1
)・---・AND gate 6 , 6-1 , 6-2 , ... 6-(N-1)@・
...Diagnostic register 8...Error detection circuit 9...Error register 1G, 11.13~23.19-1~19-(N-1)
, 23-1 to 25-(N-1)...Signal line

Claims (1)

【特許請求の範囲】 疑似故障をセットするための疑似故障レジスタと、エラ
ーの発生回数を指示するためのエラー回数セットレジス
タと、前記疑似故障レジスタの出力信号とシステム制御
装置からの書込み/読出し動作指示信号との論理積を求
めるためのANDゲートと、〔(最大エラー回数)−1
〕個の直列に接続された複数のANDゲート付き診断レ
ジスタと、前記エラー回数セットレジスタの出力信号に
よつて前記〔(最大エラー回数)−1〕個の出力信号の
一つを選択するためのエラー回数セレクト回路と、前記
疑似故障レジスタの出力信号からエラーを検出するため
のエラー検出回路とを具備し、システム制御装置からの
書込み/読出し命令に対して書込み/読出し動作を実行
し、保守診断を行うことができるとともに疑似故障をセ
ットすることができるように構成したことを特徴とする
記憶装置。
[Claims] A pseudo-fault register for setting a pseudo-fault, an error count set register for indicating the number of times an error has occurred, and an output signal of the pseudo-fault register and a write/read operation from a system control device. An AND gate for calculating the logical product with the instruction signal, and [(maximum number of errors) -1
] for selecting one of the [(maximum number of errors) - 1] output signals based on the output signal of the plurality of serially connected diagnostic registers with AND gates and the output signal of the error number set register. It is equipped with an error count selection circuit and an error detection circuit for detecting errors from the output signal of the pseudo-fault register, and executes write/read operations in response to write/read instructions from the system control device, and performs maintenance diagnosis. What is claimed is: 1. A storage device characterized in that the storage device is configured to be able to perform the above operations and also to set a pseudo failure.
JP60187578A 1985-08-27 1985-08-27 Storage device Pending JPS6247750A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60187578A JPS6247750A (en) 1985-08-27 1985-08-27 Storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60187578A JPS6247750A (en) 1985-08-27 1985-08-27 Storage device

Publications (1)

Publication Number Publication Date
JPS6247750A true JPS6247750A (en) 1987-03-02

Family

ID=16208551

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60187578A Pending JPS6247750A (en) 1985-08-27 1985-08-27 Storage device

Country Status (1)

Country Link
JP (1) JPS6247750A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5422062A (en) * 1977-07-18 1979-02-19 Sumitomo Electric Ind Ltd Combined pressure reducing valve for two lines
JPS5987560A (en) * 1982-11-12 1984-05-21 Fujitsu Ltd Pseudo error generating system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5422062A (en) * 1977-07-18 1979-02-19 Sumitomo Electric Ind Ltd Combined pressure reducing valve for two lines
JPS5987560A (en) * 1982-11-12 1984-05-21 Fujitsu Ltd Pseudo error generating system

Similar Documents

Publication Publication Date Title
JPS60124744A (en) Error testing and diagnosing apparatus
KR870000114B1 (en) Data processing system
JPS581447B2 (en) Data transmission control method between central device and multiple peripheral devices
JPS6247750A (en) Storage device
JPS6292042A (en) Memory device
JPS5849899B2 (en) Test method for data processing equipment
JP2806645B2 (en) Scan path error detection circuit
SU1249488A1 (en) Automatic system for testing and diagnostic checking of digital units
JPS6161427B2 (en)
JPH0748192B2 (en) Storage device
JPS5917465B2 (en) Check device
JPS60221842A (en) Fault diagnosing circuit of logical device
JPS60101649A (en) Diagnosis device of electronic computer
JPH04105140A (en) Collection system for switch operation history
JPS6010379A (en) Data transfer system of data processing system
JPH0619733B2 (en) Tracer device
JPS6136641B2 (en)
JPH0474254A (en) Microprocessor diagnostic system
JPS5860363A (en) Operation hysteresis storing system for logical device
JPS58121459A (en) Service processor of electronic computer
JPS5833574B2 (en) New Year's Day Warranty
JPS62241041A (en) Information processor
JPS5931800B2 (en) Control memory diagnostic method
JPH0289300A (en) Semiconductor memory element
JPS62166449A (en) History storage device for logical unit