JPH0764869A - Method for controlling error ceneration for test in storage device and device therefor - Google Patents

Method for controlling error ceneration for test in storage device and device therefor

Info

Publication number
JPH0764869A
JPH0764869A JP5216345A JP21634593A JPH0764869A JP H0764869 A JPH0764869 A JP H0764869A JP 5216345 A JP5216345 A JP 5216345A JP 21634593 A JP21634593 A JP 21634593A JP H0764869 A JPH0764869 A JP H0764869A
Authority
JP
Japan
Prior art keywords
address
error
data
error occurrence
condition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5216345A
Other languages
Japanese (ja)
Other versions
JP3512442B2 (en
Inventor
Masatoshi Kira
雅敏 吉良
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP21634593A priority Critical patent/JP3512442B2/en
Publication of JPH0764869A publication Critical patent/JPH0764869A/en
Application granted granted Critical
Publication of JP3512442B2 publication Critical patent/JP3512442B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To make it possible to generate a fixed fault and an intermittent fault in an arbitrary address in a storage device without stopping a device which performs and access to the storage device. CONSTITUTION:This device is equipped with an error condition address setting part 1 which stores error generating condition and error generating address designated from the outside, an address data setting part 2 which stores writing address and writing data designated by the other device, an address comparing part 3 which compares the error generating address with the writing address and generates a matching signal, an error condition control part 4 which controls the error generating condition according to an error generating situation, and a data inverting part 6 which inverts the bits of the writing data according to the error generating condition when the address are matched, and stores the data in a data storage part 5. Error data are written in the data storage part 5 according to an instruction from the outside.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は記憶装置の試験用エラー
発生制御装置に係り、特に、記憶装置の任意のアドレス
に固定障害や間欠障害と同様のエラーを発生させる記憶
装置の試験用エラー発生制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage device test error generation control device, and more particularly to a storage device test error generation which causes an error similar to a fixed failure or an intermittent failure to an arbitrary address of the storage device. Regarding the control device.

【0002】[0002]

【従来の技術】近年、記憶装置は複数の装置に接続され
て、これらの複数の装置から共通に使用されるものとし
てアクセスされものが多い。また、データベース情報や
トランザクションログを残し、信頼性を向上させるため
記憶装置を二重化することも多い。
2. Description of the Related Art In recent years, storage devices are often connected to a plurality of devices and accessed by the plurality of devices as commonly used devices. In addition, the storage device is often duplicated in order to leave the database information and the transaction log and improve the reliability.

【0003】このため二重化した記憶装置に障害が発生
した場合に記憶装置を切り換えるためのハードウェアや
ソフトウェアに各種の機構や機能が追加されている。特
に記憶装置であるRAM内の1または2ビットエラーに
関しては、ハードウェアからエラーアドレスや二重化の
情報やマシンチェックコードを送出し、ソフトウェアは
ハードウェアからの報告を基にそのアドレスを有効化
し、再度リードアクセスし、固定障害か間欠障害かを判
断するものがある。ここで、その障害が固定障害なら主
系の記憶装置を切り離し、また、間欠障害なら主系の記
憶装置を切り離し、従系を主系にしてから再度切り離し
た記憶装置を接続し、エラーアドレスを含むページを切
り離すなどの複雑な作業を行なうものとしている。
Therefore, various mechanisms and functions are added to the hardware and software for switching the storage device when a failure occurs in the duplicated storage device. Especially for 1 or 2 bit error in RAM which is a memory device, hardware sends error address, duplication information and machine check code, software validates the address based on the report from hardware and Some have read access to determine whether a fixed failure or an intermittent failure. Here, if the fault is a fixed fault, the main storage unit is disconnected, and if it is an intermittent fault, the main storage unit is disconnected, the slave unit becomes the main system, and then the storage unit that was disconnected again is connected. It is supposed to perform complicated work such as separating the included pages.

【0004】また、記憶装置の各アドレスにはOSで管
理する制御テーブルや、ユーザでアクセスするエリアが
あり、記憶装置の各アドレスによって制御が変わること
もある。そのため、これらの機能が正常に作動するかを
試験するため、記憶装置の任意のアドレスに固定障害、
または間欠障害を発生させ、これらの制御を行うソフト
ウェアやハードウェアの確認を行うことが必要となる。
Further, each address of the storage device has a control table managed by the OS and an area accessed by the user, and the control may change depending on each address of the storage device. Therefore, in order to test whether these functions operate normally, fixed failure at any address of the storage device,
Alternatively, it is necessary to generate an intermittent failure and check the software and hardware that perform these controls.

【0005】[0005]

【発明が解決しようとする課題】これまで、上述したこ
れらの機能を確認するためには、スキャンインやバック
パネルからのタイアップなどで障害を発生させること等
を行うものとしていたが、このような手段では記憶装置
内のRAM内の任意のアドレスに障害を発生させたり、
任意の回数の障害を発生させることは困難である。
Up to now, in order to confirm these functions described above, it has been supposed that a trouble is caused by scan-in or tie-up from the back panel. With such means, it may cause a failure at any address in the RAM in the storage device,
It is difficult to generate an arbitrary number of failures.

【0006】また装置を停止して、シングルクロックで
ライトタイミングにライトデータレジスタを書き換えよ
うとしても、システムには、装置間で互いに生存確認が
行われ、障害を発生させようと停止した装置を他装置か
ら数秒間でシステム構成から切離す「ホットスタンバイ
機能」があり、この方法でも二重化された記憶装置を有
するシステムの試験を行うことはできない。
Further, even if the devices are stopped and the write data register is rewritten at the write timing with a single clock, the system confirms that the devices are alive to each other, and other devices are stopped in order to cause a failure. There is a "hot standby function" that disconnects the system configuration from the device within a few seconds, and this method cannot test a system having a redundant storage device.

【0007】また全装置を停止することが可能であった
としても、アクセス発生元と記憶装置がクロック同期し
ていない場合があり、シングルクロックによるアクセス
も不可能となってきている。また、記憶装置内の特定ア
ドレスにエラーを発生する方法として、間欠障害の時は
装置を停止し、メモリーアクセスをシングルクロックに
よって実行しRAMに書き込むタイミングでライトデー
ターレジスタの内容をスキャンインで反転させていた。
しかしこの方法では障害は1回のみしか発生できない。
Even if it is possible to stop all the devices, the access source and the storage device may not be clock-synchronized with each other, and access using a single clock is becoming impossible. Also, as a method of generating an error at a specific address in the storage device, the device is stopped at the time of intermittent failure, the memory access is executed by a single clock, and the contents of the write data register are inverted by scan-in at the timing of writing to RAM. Was there.
However, with this method, the failure can occur only once.

【0008】このように、1または2ビットエラーを任
意のアドレス、固定のアドレスに発生させソフトウェア
やハードウェアのRAS機能をデバッグするのは困難に
なってきている。このため、システムの開発作業を早め
るため、記憶装置のRAM内における1または2ビット
エラーを任意のアドレスに装置を停止させることなく発
生させることが要求されている。
As described above, it has become difficult to generate a 1-bit or 2-bit error at an arbitrary address or a fixed address and debug the RAS function of software or hardware. Therefore, in order to speed up the system development work, it is required to generate a 1-bit or 2-bit error in the RAM of the storage device at an arbitrary address without stopping the device.

【0009】本発明はこのような点に鑑みて創作された
ものであって、記憶装置にアクセスしている装置を停止
することなく、記憶装置内の任意のアドレスに固定障害
や間欠障害を発生させることができる記憶装置の試験用
エラー発生制御装置を提供することを目的とする。
The present invention was created in view of the above point, and a fixed failure or an intermittent failure occurs at an arbitrary address in the storage device without stopping the device accessing the storage device. An object of the present invention is to provide a test error occurrence control device for a storage device.

【0010】[0010]

【課題を解決するための手段】上記の課題を解決するた
めの第1の手段は、図1に示すように、記憶装置の試験
用エラー発生制御方法を、外部からエラー発生条件、エ
ラー発生アドレスを指定し(ST1)、他装置から書き
込みアドレスと書き込みデータを指定し(ST2)、上
記エラー発生アドレスと上記書き込みアドレスとを比較
して(ST3)、アドレスが一致した時にエラー発生条
件に従って書き込みデータのビットを反転させてデータ
格納部(5)に格納して(ST4)、外部からの指定に
従って、データ格納部(5)にエラーデータを書き込む
ものとした。
As shown in FIG. 1, a first means for solving the above-mentioned problems is to use a test error occurrence control method for a storage device by externally applying error occurrence conditions and error occurrence addresses. (ST1), a write address and write data are specified from another device (ST2), the error occurrence address is compared with the write address (ST3), and when the addresses match, the write data is written according to the error occurrence condition. The bit is inverted and stored in the data storage unit (5) (ST4), and the error data is written in the data storage unit (5) according to the designation from the outside.

【0011】また、本発明の第2の手段は、図2に示す
ように、記憶装置の試験用エラー発生制御方法を、外部
からエラー発生条件とエラー発生アドレスを指定し(S
T11)、他装置から読み出しアドレスを指定し(ST
12)、上記エラー発生アドレスと上記読み出しアドレ
スとを比較して(ST13)、アドレスが一致した時に
エラー発生条件に従ってデータ格納部(15)から読み
出したデータのビットを反転させて出力して(ST1
4)、外部からの指定に従って、データ格納部(15)
に読み出しエラーを発生するものとした。
The second means of the present invention, as shown in FIG. 2, specifies a test error occurrence control method for a storage device by externally designating an error occurrence condition and an error occurrence address (S).
T11), and specify a read address from another device (ST
12) The error occurrence address and the read address are compared (ST13), and when the addresses match, the bit of the data read from the data storage section (15) is inverted and output (ST1).
4), the data storage unit (15) according to the designation from the outside
It is assumed that a read error will occur.

【0012】本発明において上記の課題を解決するため
の第3の手段は、図1に示すように、記憶装置の試験用
エラー発生制御装置を、外部から指定したエラー発生条
件、エラー発生アドレスを格納するエラー条件アドレス
設定部1と、他装置が指定した書き込みアドレスと書き
込みデータを格納するアドレスデータ設定部2と、上記
エラー発生アドレスと上記書き込みアドレスとを比較し
て一致信号を発生するアドレス比較部3と、上記エラー
発生状況に従ってエラー発生条件を制御するエラー条件
制御部4と、アドレスが一致した時にエラー発生条件に
従って書き込みデータのビットを反転させデータ格納部
5に格納するデータ反転部6とを有し、外部からの指定
に従って、データ格納部5にエラーデータを書き込むよ
うにした。
A third means for solving the above problems in the present invention is, as shown in FIG. 1, a test error occurrence control device for a storage device, which is provided with an error occurrence condition and an error occurrence address specified externally. An error condition address setting unit 1 for storing, an address data setting unit 2 for storing a write address and write data designated by another device, and an address comparison for generating a coincidence signal by comparing the error occurrence address and the write address. A unit 3, an error condition control unit 4 for controlling an error occurrence condition according to the error occurrence situation, and a data inverting unit 6 for inverting a bit of write data according to the error occurrence condition and storing it in the data storage unit 5 when addresses match. Therefore, the error data is written in the data storage unit 5 according to the designation from the outside.

【0013】また、本発明において、上記の課題を解決
するための第4の手段は、図2に示すように、記憶装置
の試験用エラー発生装置を、外部から指定したエラー発
生条件とエラー発生アドレスを格納するエラー条件アド
レス設定部11と、他装置が指定した読み出しアドレス
を格納するアドレス設定部12と、上記エラー発生アド
レスと上記読み出しアドレスとを比較して一致信号を発
生するアドレス比較部13と上記エラー発生状況に従っ
てエラー条件を制御するエラー条件制御部14とアドレ
スが一致した時にエラー発生条件に従ってデータ格納部
15から読み出したデータのビットを反転させて出力す
るデータ反転部16とを有し、外部からの指定に従っ
て、データ格納部15に読み出しエラーを発生するよう
にした。
Further, in the present invention, a fourth means for solving the above-mentioned problems is, as shown in FIG. 2, an error occurrence condition and an error occurrence condition in which a test error occurrence device of a storage device is designated from the outside. An error condition address setting unit 11 that stores an address, an address setting unit 12 that stores a read address designated by another device, and an address comparison unit 13 that compares the error occurrence address with the read address and generates a match signal. And an error condition control unit 14 for controlling an error condition according to the error occurrence condition and a data inverting unit 16 for inverting and outputting the bit of the data read from the data storage unit 15 according to the error occurrence condition when the address matches. A read error is generated in the data storage unit 15 according to designation from the outside.

【0014】[0014]

【作用】本発明の第1及び第3の手段によれば、外部は
エラー発生条件、エラー発生アドレスを指定しエラー条
件アドレス設定部1に格納する。他装置は書き込みアド
レスと書き込みデータを指定し、アドレスデータ設定部
2に格納する。アドレス比較部3は上記エラー発生アド
レスと上記書き込みアドレスとを比較して一致信号を発
生し、エラー条件制御部4は上記エラー発生状況に従っ
てエラー発生条件を制御しつつ、データ反転部6はアド
レスが一致した時にエラー発生条件に従って書き込みデ
ータのビットを反転させデータ格納部5に格納する。
According to the first and third means of the present invention, the outside specifies the error occurrence condition and the error occurrence address and stores them in the error condition address setting unit 1. The other device specifies the write address and the write data and stores it in the address data setting unit 2. The address comparison unit 3 compares the error occurrence address with the write address and generates a coincidence signal, the error condition control unit 4 controls the error occurrence condition according to the error occurrence condition, and the data inversion unit 6 determines the address. When they match, the bit of the write data is inverted according to the error occurrence condition and stored in the data storage unit 5.

【0015】従って、記憶装置の任意のアドレスに、指
定した条件で反転したエラー信号を書き込むことがで
き、当該エラーデータを読みだすことにより、エラー発
生時のシステムの試験を行うことができる。本発明の第
2及び第4の手段によれば、外部はエラー発生条件、エ
ラー発生アドレスを指定し、エラー条件アドレス設定部
11に格納する。他装置は書き込みアドレスと書き込み
データを指定し、アドレスデータ設定部12に格納す
る。アドレス比較部13は上記エラー発生アドレスと上
記書き込みアドレスとを比較して一致信号を発生し、エ
ラー条件制御部14は上記エラー発生状況に従ってエラ
ー発生条件を制御しつつ、データ反転部6はアドレスが
一致した時にエラー発生条件に従ってデータ格納部5か
ら読み取ったデータのビットを反転させて出力する。
Therefore, it is possible to write an inverted error signal to an arbitrary address of the storage device under a specified condition, and by reading the error data, it is possible to test the system when an error occurs. According to the second and fourth means of the present invention, the outside specifies the error occurrence condition and the error occurrence address, and stores them in the error condition address setting unit 11. The other device specifies the write address and the write data, and stores it in the address data setting unit 12. The address comparison unit 13 compares the error occurrence address with the write address and generates a coincidence signal, and the error condition control unit 14 controls the error occurrence condition according to the error occurrence situation, while the data inversion unit 6 determines the address. When they match, the bit of the data read from the data storage unit 5 is inverted and output according to the error occurrence condition.

【0016】従って、記憶装置の任意のアドレスから、
指定した条件で反転したエラー信号を読み出すことがで
き、エラー発生時のシステムの試験を行うことができ
る。
Therefore, from an arbitrary address of the storage device,
The inverted error signal can be read out under the specified conditions, and the system can be tested when an error occurs.

【0017】[0017]

【実施例】以下、本発明に係る記憶装置の試験用エラー
発生制御装置の実施例を図面に基づいて説明する。図3
は本発明に係る記憶装置の試験用エラー発生制御装置の
第1の実施例を示すものである。本実施例は上述した第
1及び第3の手段に対応するものである。即ち、本実施
例に係る記憶装置の試験用エラー発生制御装置はデータ
格納部であるアレイへのデータ書込時に指定したアドレ
スに1または2ビットのデータが反転したエラーデータ
を間欠的あるいは固定的に書き込むものである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a test error occurrence control device for a storage device according to the present invention will be described below with reference to the drawings. Figure 3
Shows a first embodiment of a test error occurrence control device for a storage device according to the present invention. The present embodiment corresponds to the above-mentioned first and third means. That is, the test error occurrence control device for a storage device according to the present embodiment intermittently or fixedly fixes error data in which 1 or 2 bits of data are inverted at an address designated when writing data to an array which is a data storage unit. To write to.

【0018】本実施例では記憶装置の試験用エラー発生
制御装置は当該装置の外部から、例えばサービスプロセ
ッサ(SVP)が指定したエラー発生条件、エラー発生
アドレスを格納するエラー条件アドレス設定部としての
エラー制御レジスタ21と、他装置が指定した書き込み
アドレスと書き込みデータを格納するアドレスデータ設
定部としてのライトデータレジスタ22、アドレスレジ
スタ23及び書き込み許可信号(WE)レジスタ24
と、上記エラー発生アドレスと上記書き込みアドレスと
を比較して一致信号を発生するアドレス比較部としての
アドレス比較回路25と、上記エラー発生状況に従って
エラー発生条件を制御するエラー条件制御部としてのエ
ラー発生回数比較回路26及びエラー選択回路27と、
アドレスが一致した時にエラー発生条件に従って書き込
みデータのビットを反転させアレイ29に格納するデー
タ反転部としてのライトデータ反転回路28とを有して
いる。
In this embodiment, the test error occurrence control device for the storage device is an error condition address setting unit for storing the error occurrence condition and the error occurrence address specified by the service processor (SVP) from the outside of the device. A control register 21, a write data register 22 as an address data setting unit that stores a write address and write data designated by another device, an address register 23, and a write enable signal (WE) register 24.
And an address comparison circuit 25 as an address comparison unit that compares the error occurrence address with the write address and generates a match signal, and an error occurrence as an error condition control unit that controls the error occurrence condition according to the error occurrence situation. A frequency comparison circuit 26 and an error selection circuit 27,
It has a write data inversion circuit 28 as a data inversion unit which inverts the bit of the write data according to the error occurrence condition and stores it in the array 29 when the addresses match.

【0019】本実施例では、エラー制御レジスタ21
は、SVP等から、どのアドレスをエラーとするかを指
定されるアドレスレジスタ(CR)41と、1または2
ビットエラーいずれかを指示するエラービット指示ビッ
ト(2B)42と、間欠障害か固定障害かを指示する固
定障害有効ビット(PV)43、間欠障害有効ビット
(TV)44と、間欠障害の時に何回障害を発生させる
かを指定する間欠障害発生回数指示レジスタ(TC)4
5とを有している。
In this embodiment, the error control register 21
Is an address register (CR) 41 which is designated by the SVP or the like as to which address is to be in error, and 1 or 2
An error bit designating bit (2B) 42 that indicates any bit error, a fixed fault valid bit (PV) 43 that indicates whether the fault is an intermittent fault or a fixed fault, an intermittent fault valid bit (TV) 44, and Intermittent failure occurrence frequency instruction register (TC) 4 that specifies whether to generate a failure
5 and 5.

【0020】これにより、エラーを発生させるアドレス
の指定、及び、障害条件として1または2ビットエラー
の指定、間欠障害か固定障害かの指定、間欠障害であれ
ば何回障害を発生させるかを指定するものとしている。
また、ライトデータレジスタ22には他装置から指定さ
れたライトすべきデータがビット0、ビット1、ビット
2〜ビットnまで格納され、さらにアドレスレジスタ2
3には当該データが格納されるアドレスが格納される。
As a result, designation of an address at which an error is generated, designation of a 1-bit or 2-bit error as a fault condition, designation of an intermittent fault or a fixed fault, and how many times the fault is generated in the case of an intermittent fault are designated. It is supposed to do.
Further, the write data register 22 stores data to be written specified by another device from bit 0, bit 1, bit 2 to bit n, and further the address register 2
An address where the data is stored is stored in 3.

【0021】アドレス比較回路25は上記エラー制御レ
ジスタ21のアドレスレジスタ41が格納したアドレス
と上記他装置が指定しアドレスレジスタ23が格納した
アドレスとを比較して、一致したときには一致信号をオ
ンとする。また、エラー選択回路27は、2つのアンド
ゲート30,31を有し、上記エラービット指示レジス
タ42の値、アドレス比較比較回路25の一致信号と、
他装置からのライト許可信号(WE)をうけ、ライトデ
ータ反転回路28に1または2ビットのビット反転信号
を出力する。
The address comparison circuit 25 compares the address stored in the address register 41 of the error control register 21 with the address designated by the other device and stored in the address register 23, and turns on a match signal when they match. . Further, the error selection circuit 27 has two AND gates 30 and 31, a value of the error bit instruction register 42, a match signal of the address comparison / comparison circuit 25, and
Upon receiving a write enable signal (WE) from another device, it outputs a 1 or 2 bit bit inversion signal to the write data inversion circuit 28.

【0022】ライトデータ反転回路28は、上記エラー
選択回路27からのビット反転信号を受け、上記ライト
データレジスタ22が格納したデータのビット0及びビ
ット1の値を反転する排他的論理輪(EOR)ゲート3
2,33を有し、指定されたビット0またはビット1の
データを反転して出力する。尚、ビット2からビットn
までのデータはそのままアレイに出力される。
The write data inversion circuit 28 receives the bit inversion signal from the error selection circuit 27 and inverts the values of bit 0 and bit 1 of the data stored in the write data register 22 in an exclusive logic loop (EOR). Gate 3
2 and 33, and inverts the designated bit 0 or bit 1 data and outputs it. Bit 2 to bit n
The data up to is output to the array as it is.

【0023】そして本実施例では、エラー発生回数比較
回路26は、上記エラー制御レジスタ21の障害発生回
数指示レジスタ45の値と、実際の障害発生回数を計数
する障害発生計数レジスタ(FC)46との値を比較し
て、間欠障害発生が指定されているとき、即ち間接障害
有効ビット45が立っている場合に障害発生回数が指定
回数になったとき間欠障害有効レジスタ45をリセット
して、エラーの発生を停止する。
In the present embodiment, the error occurrence count comparison circuit 26 has a value of the failure occurrence count instruction register 45 of the error control register 21 and a failure occurrence count register (FC) 46 for counting the actual failure occurrence count. When the intermittent fault occurrence is designated, that is, when the indirect fault valid bit 45 is set and the number of fault occurrences reaches the designated number, the intermittent fault valid register 45 is reset and an error occurs. Stop the occurrence of.

【0024】尚、固定障害有効ビット43が立っている
ときには、データの反転は固定的になされ、計数はされ
ない。また、符号34は、固定障害有効ビット43、間
欠障害有効ビット44のいずれかのビットがオンのとき
に、エラー選択回路27を作動状態とするオアゲートで
ある。従って本実施例によれば、間欠障害有効ビット4
4がオンの時、他装置からのアクセス情報を基に、書き
込み許可があるならば、アドレス比較回路25は、先に
SVP等より設定したアドレスレジスタ41と他装置の
アドレスレジスタ23と比較し、一致した時に一致信号
を発生する。
When the fixed fault valid bit 43 is set, data inversion is fixed and counting is not performed. Reference numeral 34 is an OR gate that activates the error selection circuit 27 when either the fixed fault valid bit 43 or the intermittent fault valid bit 44 is ON. Therefore, according to this embodiment, the intermittent failure valid bit 4
When 4 is on, if there is write permission based on access information from another device, the address comparison circuit 25 compares the address register 41 previously set by SVP or the like with the address register 23 of the other device, When they match, a match signal is generated.

【0025】ライトデータ反転回路28はエラー選択回
路27で指定された1または2ビットのライトデータを
反転する。すると、間欠障害発生回数計数レジスタ46
には1が加算(+1)され、エラー発生回数比較回路2
6は、この値と先に設定した間欠障害発生回数指示レジ
スタ45と比較し一致すると、所定回数のエラーを発生
したものとして間欠障害有効ビット44をリセットし
て、一連の処理は終了する。
The write data inversion circuit 28 inverts the 1 or 2 bit write data designated by the error selection circuit 27. Then, the intermittent failure occurrence count register 46
1 is added (+1) to the error occurrence frequency comparison circuit 2
6 compares this value with the previously set intermittent failure occurrence frequency instruction register 45, and if they match, resets the intermittent failure valid bit 44 as having generated a predetermined number of errors, and the series of processing ends.

【0026】また、エラー制御レジスタの固定障害有効
ビット43が設定されているときは、他装置からのアク
セスがライトのときに、アドレス比較回路25が、他装
置からのアドレスと一致がとれると、装置は1または2
ビットのライトデータを障害発生回数に関係なく反転し
続ける。従って本実施例によれば、記憶装置の任意のア
ドレスに、指定した1または2ビットの反転したエラー
信号を指定した間欠障害または固定障害として書き込む
ことができ、エラー発生時のシステムの試験を行うこと
ができる。
Further, when the fixed fault valid bit 43 of the error control register is set, and when the access from the other device is a write, the address comparison circuit 25 can match the address from the other device, Device is 1 or 2
Continues to invert the bit write data regardless of the number of failures. Therefore, according to the present embodiment, the designated 1 or 2 bit inverted error signal can be written as the designated intermittent fault or fixed fault in any address of the storage device, and the system is tested when the error occurs. be able to.

【0027】次に本発明に係る記憶装置の試験用エラー
発生制御装置の第2の実施例を説明する。図4は本実施
例に係る記憶装置の試験用エラー発生制御装置の第2の
実施例を示すものである。本実施例は、上述した第2及
び第4の手段に相当するものである。本実施例では、本
実施例に係る記憶装置の試験用エラー発生制御装置はデ
ータ格納部であるアレイからのデータ読取り時に指定し
たアドレスから1または2ビットのデータが反転したエ
ラーデータを間欠的あるいは固定的に読み出すものであ
る。
Next, a second embodiment of the test error occurrence control device for a storage device according to the present invention will be described. FIG. 4 shows a second embodiment of the test error occurrence control device for the storage device according to the present embodiment. The present embodiment corresponds to the above-mentioned second and fourth means. In the present embodiment, the test error occurrence control device for a storage device according to the present embodiment intermittently outputs error data obtained by inverting 1 or 2 bits of data from an address designated when reading data from an array which is a data storage unit. It is a fixed read.

【0028】本実施例では記憶装置の試験用エラー発生
制御装置はサービスプロセッサが指定したエラー発生条
件、エラー発生アドレスを格納するエラー条件アドレス
設定部としてのエラー制御レジスタ51と、他装置が指
定した書き込みアドレスと書き込みデータを格納するア
ドレス設定部としてのアドレスレジスタ53及び読み出
し許可信号(RE)レジスタ54と、上記エラー発生ア
ドレスと上記書き込みアドレスとを比較して一致信号を
発生するアドレス比較部としてのアドレス比較回路55
と、上記エラー発生状況に従ってエラー発生条件を制御
するエラー条件制御部としてのエラー発生回数比較回路
56及びエラー選択回路57と、アドレスが一致した時
にアレイ59から読み取ったデータをエラー発生条件に
従って反転させ、リードデータレジスタ52に格納する
データ反転部としてのリードデータ反転回路58とを有
している。
In this embodiment, the test error occurrence control device of the storage device is designated by the service processor as an error control register 51 as an error condition address setting section for storing the error occurrence condition and error occurrence address specified by the service processor. An address register 53 and a read enable signal (RE) register 54 as an address setting unit for storing a write address and write data, and an address comparing unit for generating a coincidence signal by comparing the error occurrence address with the write address. Address comparison circuit 55
And an error occurrence count comparison circuit 56 and an error selection circuit 57 as an error condition control unit that controls the error occurrence condition according to the error occurrence condition, and inverts the data read from the array 59 when the addresses match in accordance with the error occurrence condition. , And a read data inversion circuit 58 as a data inversion unit for storing in the read data register 52.

【0029】本実施例では、エラー制御レジスタ51
は、SVP等から、どのアドレスをエラーとするかを指
定されるアドレスレジスタ(CR)71と、1または2
ビットエラーいずれかを指示するエラービット指示ビッ
ト(2B)72と、間欠障害か固定障害かを指示する固
定障害有効ビット(PV)73、間欠障害有効ビット
(TV)74と、間欠障害の時に何回障害を発生させる
かを指定する間欠障害発生回数指示レジスタ(TC)7
5とを有している。
In this embodiment, the error control register 51
Is an address register (CR) 71 which is designated by the SVP or the like as to which address is an error, and 1 or 2
An error bit designating bit (2B) 72 that indicates either a bit error, a fixed fault valid bit (PV) 73, an intermittent fault valid bit (TV) 74 that indicates whether the fault is an intermittent fault or a fixed fault. Intermittent fault occurrence frequency instruction register (TC) 7 that specifies whether to generate a round fault
5 and 5.

【0030】これにより、エラーを発生させるアドレス
の指定、及び、障害条件として1または2ビットエラー
の指定、間欠障害か固定障害かの指定、間欠障害であれ
ば何回障害を発生させるかを指定するものとしている。
また、アドレスレジスタ53には当該データを読み出す
アドレスが格納される。
As a result, designation of an address at which an error occurs, designation of a 1-bit or 2-bit error as a fault condition, designation of an intermittent fault or a fixed fault, and how many times the fault will occur if it is an intermittent fault is designated. It is supposed to do.
Further, the address register 53 stores an address for reading the data.

【0031】アドレス比較回路55は上記エラー制御レ
ジスタ51のアドレスレジスタ71が格納したアドレス
と上記他装置が指定しアドレスレジスタ53が格納した
アドレスとを比較して、一致したときには一致信号をオ
ンとする。また、エラー選択回路57は、2つのアンド
ゲート60,61を有し、上記エラービット指示レジス
タ72の値、アドレス比較回路55の一致信号と、他装
置からのリード許可信号(RE)をうけ、リードデータ
反転回路58に1または2ビットのビット反転信号を出
力する。
The address comparison circuit 55 compares the address stored in the address register 71 of the error control register 51 with the address designated by the other device and stored in the address register 53, and turns on a match signal when they match. . The error selection circuit 57 has two AND gates 60 and 61, and receives the value of the error bit instruction register 72, the match signal of the address comparison circuit 55, and the read permission signal (RE) from another device. It outputs a bit inversion signal of 1 or 2 bits to the read data inversion circuit 58.

【0032】リードデータ反転回路58は、上記エラー
選択回路57からのビット反転信号を受け、上記アレイ
59から読みだしたデータのビット0及びビット1の値
を反転する排他的論理輪(EOR)ゲート62,63を
有し、指定されたビット0またはビット1のデータを反
転してリードレジスタ52のビット0及びビット1に出
力する。尚、リードデータレジスタのビット2からビッ
トnまでのデータはアレイ59からそのまま格納され
る。
The read data inversion circuit 58 receives the bit inversion signal from the error selection circuit 57 and inverts the values of bit 0 and bit 1 of the data read from the array 59, and an exclusive logic loop (EOR) gate. 62 and 63, and inverts the designated bit 0 or bit 1 data and outputs it to bit 0 and bit 1 of the read register 52. The data from bit 2 to bit n of the read data register is stored as it is from the array 59.

【0033】そして、本実施例では、エラー発生回数比
較回路56は、上記エラー制御レジスタ51の障害発生
回数指示レジスタ75の値と、実際の障害発生回数を計
数する障害発生計数レジスタ(FC)76との値を比較
して、間欠障害発生が指定されているとき、即ち間接障
害有効ビット75が立っている場合に障害発生回数が指
定回数になったとき間欠障害有効レジスタ75をリセッ
トして、エラーの発生を停止する。
In the present embodiment, the error occurrence count comparison circuit 56 includes the value of the failure occurrence count instruction register 75 of the error control register 51 and the failure occurrence count register (FC) 76 for counting the actual failure occurrence count. When the occurrence of the intermittent failure is designated, that is, when the indirect failure valid bit 75 is set and the number of failure occurrences reaches the designated number of times, the intermittent failure valid register 75 is reset, Stop the error from occurring.

【0034】尚、固定障害有効ビット73が立っている
ときには、データの反転は固定的になされ、計数はされ
ない。また、符号64は、上記第1の実施例と同様のオ
アゲートである。従って本実施例によれば、間欠障害有
効ビット74がオンの時、他装置からのアクセス情報を
基に、読み出し許可があるならば、アドレス比較回路5
5は、先にSVP等より設定したアドレスレジスタ71
と他装置のアドレスレジスタ53と比較し、一致した時
に一致信号を発生する。
When the fixed fault valid bit 73 is set, data inversion is fixed and counting is not performed. Further, reference numeral 64 is an OR gate similar to that of the first embodiment. Therefore, according to the present embodiment, when the intermittent failure valid bit 74 is on, if there is read permission based on access information from another device, the address comparison circuit 5
5 is the address register 71 previously set by SVP or the like.
Is compared with the address register 53 of another device, and when they match, a match signal is generated.

【0035】リードデータ反転回路58はエラー選択回
路57で指定された1または2ビットのリードデータを
反転する。すると、間欠障害発生回数計数レジスタ76
には1が加算(+1)され、エラー発生回数比較回路5
6は、この値と先に設定した間欠障害発生回数指示レジ
スタ75と比較し一致すると、所定回数のエラーを発生
したものとして間欠障害有効ビット74をリセットし
て、一連の処理は終了する。
The read data inversion circuit 58 inverts the 1 or 2 bit read data designated by the error selection circuit 57. Then, the intermittent failure occurrence count register 76
1 is added (+1) to the error occurrence number comparison circuit 5
6 compares this value with the previously set intermittent failure occurrence number instruction register 75, and if they match, it resets the intermittent failure valid bit 74 by assuming that a predetermined number of errors have occurred, and the series of processing ends.

【0036】また、エラー制御レジスタの固定障害有効
ビット73が設定されているときは、他装置からのアク
セスがリードのときに、アドレス比較回路55が、他装
置からのアドレスと一致がとれると、装置は1または2
ビットのリードデータを障害発生回数に関係なく反転し
続ける。従って本実施例によれば、記憶装置の任意のア
ドレスから、指定した1または2ビットの反転したエラ
ー信号を指定した間欠障害または固定障害として読み出
すことができ、エラー発生時のシステムの試験を行うこ
とができる。
Further, when the fixed fault valid bit 73 of the error control register is set, when the access from the other device is a read, the address comparison circuit 55 can match the address from the other device, Device is 1 or 2
Bit read data is continuously inverted regardless of the number of failures. Therefore, according to the present embodiment, the designated 1 or 2 bit inverted error signal can be read from the arbitrary address of the storage device as the designated intermittent fault or fixed fault, and the system is tested when the error occurs. be able to.

【0037】[0037]

【発明の効果】以上説明したように本発明によれば、任
意のアドレスに所定条件でエラーデータを発生させるこ
とにより、記憶装置にアクセスしている装置を停止する
ことなく、記憶装置内の任意のアドレスに固定障害や間
欠障害を発生させることができ、ハードウェアとソフト
ウェアの記憶装置に関するデバッグを簡単に行うことが
できるという効果を奏する。
As described above, according to the present invention, error data is generated at an arbitrary address under a predetermined condition, so that any device in the memory device can be accessed without stopping the device accessing the memory device. There is an effect that a fixed fault or an intermittent fault can be generated in the address of, and the hardware and software storage devices can be easily debugged.

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

【図1】本発明に係るの第1及び第3の手段の原理を示
す図である。
FIG. 1 is a diagram showing a principle of first and third means according to the present invention.

【図2】本発明に係るの第2及び第4の手段の原理を示
す図である。
FIG. 2 is a diagram showing the principle of second and fourth means according to the present invention.

【図3】本発明の記憶装置の試験用エラー発生制御装置
の第1の実施例の構成を説明する図
FIG. 3 is a diagram illustrating a configuration of a first embodiment of a test error occurrence control device for a storage device of the present invention.

【図4】本発明の記憶装置の試験用エラー発生制御装置
の第2の実施例の構成を説明する図
FIG. 4 is a diagram for explaining a configuration of a second embodiment of a test error occurrence control device for a storage device of the present invention.

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

1 エラー条件アドレス設定部 2 アドレスデータ設定部 3 アドレス比較部 4 エラー条件制御部 5 データ格納部 6 エラー条件制御部 11 エラー条件アドレス設定部 12 アドレス設定部 13 アドレス比較部 14 エラー条件制御部 15 データ格納部 16 エラー条件制御部 1 error condition address setting unit 2 address data setting unit 3 address comparison unit 4 error condition control unit 5 data storage unit 6 error condition control unit 11 error condition address setting unit 12 address setting unit 13 address comparison unit 14 error condition control unit 15 data Storage unit 16 Error condition control unit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 外部からエラー発生条件、エラー発生ア
ドレスを指定し(ST1)、 他装置から書き込みアドレスと書き込みデータを指定し
(ST2)、 上記エラー発生アドレスと上記書き込みアドレスとを比
較して(ST3)、 アドレスが一致した時にエラー発生条件に従って書き込
みデータのビットを反転させてデータ格納部(5)に格
納して(ST4)、 外部からの指定に従って、データ格納部(5)にエラー
データを書き込む記憶装置の試験用エラー発生制御方
法。
1. An error occurrence condition and an error occurrence address are designated from the outside (ST1), a write address and write data are designated from another device (ST2), and the error occurrence address and the write address are compared ( ST3), when the addresses match, the bit of the write data is inverted according to the error occurrence condition and stored in the data storage unit (5) (ST4), and the error data is stored in the data storage unit (5) according to the designation from the outside. An error occurrence control method for testing a writing storage device.
【請求項2】 外部からエラー発生条件とエラー発生ア
ドレスを指定し(ST11)、 他装置から読み出しアドレスを指定し(ST12)、 上記エラー発生アドレスと上記読み出しアドレスとを比
較して(ST13)、 アドレスが一致した時にエラー発生条件に従ってデータ
格納部(15)から読み出したデータのビットを反転さ
せて出力して(ST14)、外部からの指定に従って、
データ格納部(15)に読み出しエラーを発生する記憶
装置の試験用エラー発生制御方法。
2. An error occurrence condition and an error occurrence address are specified from the outside (ST11), a read address is specified from another device (ST12), and the error occurrence address and the read address are compared (ST13). When the addresses match, the bit of the data read from the data storage section (15) is inverted and output according to the error occurrence condition (ST14), and according to the designation from the outside,
A test error occurrence control method for a storage device that causes a read error in a data storage section (15).
【請求項3】 外部から指定したエラー発生条件、エラ
ー発生アドレスを格納するエラー条件アドレス設定部
(1)と、 他装置が指定した書き込みアドレスと書き込みデータを
格納するアドレスデータ設定部(2)と、 上記エラー発生アドレスと上記書き込みアドレスとを比
較して一致信号を発生するアドレス比較部(3)と、 上記エラー発生状況に従ってエラー発生条件を制御する
エラー条件制御部(4)と、 アドレスが一致した時にエラー発生条件に従って書き込
みデータのビットを反転させデータ格納部(5)に格納
するデータ反転部(6)とを有し、 外部からの指定に従って、データ格納部(5)にエラー
データを書き込む記憶装置の試験用エラー発生制御装
置。
3. An error condition address setting unit (1) for storing an error occurrence condition and an error occurrence address specified from the outside, and an address data setting unit (2) for storing a write address and write data specified by another device. The addresses match the address comparison unit (3) that compares the error occurrence address with the write address and generates a match signal, and the error condition control unit (4) that controls the error occurrence condition according to the error occurrence situation. And a data inversion unit (6) that inverts the bit of the write data according to the error occurrence condition and stores it in the data storage unit (5), and writes the error data in the data storage unit (5) according to the designation from the outside. Storage device test error control device.
【請求項4】 外部から指定したエラー発生条件とエラ
ー発生アドレスを格納するエラー条件アドレス設定部
(11)と、 他装置が指定した読み出しアドレスを格納するアドレス
設定部(12)と、 上記エラー発生アドレスと上記読み出しアドレスとを比
較して一致信号を発生するアドレス比較部(13)と上
記エラー発生状況に従ってエラー条件を制御するエラー
条件制御部(14)とアドレスが一致した時にエラー発
生条件に従ってデータ格納部(15)から読み出したデ
ータのビットを反転させて出力するデータ反転部(1
6)とを有し、 外部からの指定に従って、データ格納部(15)に読み
出しエラーを発生する記憶装置の試験用エラー発生制御
装置。
4. An error condition address setting section (11) for storing an error occurrence condition and an error occurrence address specified from the outside, an address setting section (12) for storing a read address specified by another device, and the error occurrence An address comparison unit (13) that compares an address with the read address and generates a coincidence signal, and an error condition control unit (14) that controls an error condition according to the error occurrence situation, and data according to the error occurrence condition when the address matches. A data inversion unit (1 that inverts and outputs the bits of the data read from the storage unit (15)
6) and a test error generation control device for a storage device, which has a read error in the data storage section (15) according to an external specification.
JP21634593A 1993-08-31 1993-08-31 Error generation control device for storage device test Expired - Fee Related JP3512442B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21634593A JP3512442B2 (en) 1993-08-31 1993-08-31 Error generation control device for storage device test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21634593A JP3512442B2 (en) 1993-08-31 1993-08-31 Error generation control device for storage device test

Publications (2)

Publication Number Publication Date
JPH0764869A true JPH0764869A (en) 1995-03-10
JP3512442B2 JP3512442B2 (en) 2004-03-29

Family

ID=16687100

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21634593A Expired - Fee Related JP3512442B2 (en) 1993-08-31 1993-08-31 Error generation control device for storage device test

Country Status (1)

Country Link
JP (1) JP3512442B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007116487A1 (en) * 2006-03-31 2007-10-18 Fujitsu Limited Memory apparatus, error correction supporting method thereof, supporting program thereof, memory card, circuit board and electronic device
US8159886B2 (en) 2006-03-31 2012-04-17 Fujitsu Limited Memory device, control method for the same, control program for the same, memory card, circuit board and electronic equipment
JP2014531681A (en) * 2011-09-29 2014-11-27 インテル・コーポレーション Method and apparatus for injecting errors into memory

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007116487A1 (en) * 2006-03-31 2007-10-18 Fujitsu Limited Memory apparatus, error correction supporting method thereof, supporting program thereof, memory card, circuit board and electronic device
JPWO2007116487A1 (en) * 2006-03-31 2009-08-20 富士通株式会社 MEMORY DEVICE, ERROR CORRECTION SUPPORT METHOD, ITS SUPPORT PROGRAM, MEMORY CARD, CIRCUIT BOARD AND ELECTRONIC DEVICE
KR101019443B1 (en) * 2006-03-31 2011-03-07 후지쯔 가부시끼가이샤 Memory apparatus, error correction supporting method thereof, computer readable recording medium having supporting program thereof recorded, memory card, circuit board and electronic device
US8159886B2 (en) 2006-03-31 2012-04-17 Fujitsu Limited Memory device, control method for the same, control program for the same, memory card, circuit board and electronic equipment
JP2014531681A (en) * 2011-09-29 2014-11-27 インテル・コーポレーション Method and apparatus for injecting errors into memory

Also Published As

Publication number Publication date
JP3512442B2 (en) 2004-03-29

Similar Documents

Publication Publication Date Title
KR20010047221A (en) Circuits for setting operation mode of semiconductor memory device and method for setting thereof
JPS63200249A (en) Pseudo fault generating system for cache memory device
US10910082B1 (en) Apparatus and method
JP3512442B2 (en) Error generation control device for storage device test
EP0652568A1 (en) Memory card tester
JPH06309185A (en) Information processor
JPH04143690A (en) Radiation identification circuit and electronic circuit used for it
JP3173648B2 (en) Failure detection method
JPS5991558A (en) Method for testing program
JPS61240335A (en) Artificial trouble generating device
JP2022148854A (en) Storage device
JPH03105630A (en) Error correcting system
SU1376121A2 (en) Device for recording and checking programmed read-only memory
SU1456996A1 (en) Device for monitoring memory units
JPS63753A (en) Test system for memory error checking and correcting circuit
JPH096685A (en) Memory device and its error test method
JPH0266668A (en) Data tracing method for multi-processor bus
JPH04170655A (en) Duplex memory unit
JPH0341538A (en) Main storage device
JPS5922319B2 (en) Logic circuit diagnosis method for main memory controller
JPH10149318A (en) Memory monitoring device
JPS6252649A (en) Hard error detector for memory element
JPS62140152A (en) Memory diagnosing system
JPS61294556A (en) Detection system for program malfunction
JPS617947A (en) Control storage device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040106

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040107

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080116

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090116

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100116

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110116

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110116

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120116

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees