JPS61118842A - Generating system of pseudo soft error - Google Patents

Generating system of pseudo soft error

Info

Publication number
JPS61118842A
JPS61118842A JP59241345A JP24134584A JPS61118842A JP S61118842 A JPS61118842 A JP S61118842A JP 59241345 A JP59241345 A JP 59241345A JP 24134584 A JP24134584 A JP 24134584A JP S61118842 A JPS61118842 A JP S61118842A
Authority
JP
Japan
Prior art keywords
circuit
soft error
inversion
read
ram
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
JP59241345A
Other languages
Japanese (ja)
Inventor
Katsuyuki Iwata
勝行 岩田
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 JP59241345A priority Critical patent/JPS61118842A/en
Publication of JPS61118842A publication Critical patent/JPS61118842A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring

Abstract

PURPOSE:To attain a soft error check by breaking the part of a read data given from a RAM in the stage of the storage of it to a data register. CONSTITUTION:An inverting circuit 14 is set between a RAM10 and a read register (RDR)12. A counter 20 works at every time the RAM10 receives a read access for the extraction of the output of the highest stage. A production circuit 22 produces the pulse '1' of the prescribed width. This pulse is delivered to an inversion indicating circuit 16. When an inversion mode is indicated by a signal source 18, the inversion is given to a prescribed access frequency to produce a state similar to an error generation mode.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、エラー検出訂正回路(ECC)の動作試験用
などに適当な擬似ソフトエラー発生方式〔従来の技術〕 計算機の主記憶などに用いられるランダムアクセスメモ
リ (RAM)は、α線照射などによってソフトエラー
を発生することが知られている。RAM読出しデータは
一旦読出しデータレジスタ(RDR)に入り、それによ
りバスなどを経て要求元へ送られるが、このレジスタR
DRfl’S分にECC回路が設けられており、読出し
データはECC回路でチェックされ、該回路の構成によ
り定まる少数ピント、一般には全体で若しくはブロック
化したその各ブロックで1ビツトのエラーなら訂正され
て出力される。RAMに記憶されているデータに生じた
ソフトエラーは正しいデータで再書込みしない限りエラ
ーのま\であり、この状態で伯のデータにソフトエラー
が新たに発生すると2ビツトエラーになりECC回路で
の訂正は不可能、従って動作停止となってしまうから、
ECC回路での訂正結果はRAMに書込んで記憶データ
を訂正しておく。
[Detailed description of the invention] [Industrial field of application] The present invention is a pseudo soft error generation method suitable for testing the operation of error detection and correction circuits (ECC) [Prior art] Used in the main memory of computers, etc. Random access memory (RAM) is known to generate soft errors due to alpha ray irradiation. RAM read data is first entered into the read data register (RDR) and then sent to the request source via a bus etc.
An ECC circuit is provided for the DRfl'S, and the read data is checked by the ECC circuit, and if there is a small number of pinpoints determined by the configuration of the circuit, generally a 1-bit error in the whole or in each block, it is corrected. is output. A soft error that occurs in the data stored in RAM remains an error unless it is rewritten with correct data. If a new soft error occurs in the data in this state, it will become a 2-bit error and will be corrected by the ECC circuit. is impossible, so the operation will stop,
The correction result in the ECC circuit is written into the RAM to correct the stored data.

このようなECC回路は、それが正常であるか否かチェ
ックしておく必要がある。これはシステムの試験時、定
期的点検時などに行なえばよいが、RAM記憶データの
ソフトエラー発生率は月に1度などの稀な現象であるか
ら、試験点検時には擬似的(人工的)にソフトエラーを
発生させる必要がある。
It is necessary to check whether such an ECC circuit is normal. This can be done during system tests or periodic inspections, but since the soft error occurrence rate of RAM storage data is a rare phenomenon, such as once a month, pseudo (artificial) It is necessary to generate a soft error.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

RAMソフトエラ一対策に関しては、ECCの池に様々
なエラー訂正、リトライ方法があり、それぞれ実用化さ
れているが、この機能を実時間で、できるだけ実際の発
生状況と似た環境でチェ7りすることは容易でない、サ
ービスプロセッサ(SVP)の助けを借りてRAM内容
をわざとこわし、ECC回路などが動作したか否かをチ
j−ツクするという方法もあるが、この方式ではSvP
が介在するので実時間の動作環境を作ることは困難であ
る。
Regarding RAM soft error countermeasures, there are various error correction and retry methods in the ECC field, and each has been put into practical use, but this function should be tested in real time in an environment as similar to the actual situation as possible. This is not easy; there is a method of intentionally destroying the RAM contents with the help of a service processor (SVP) and checking whether the ECC circuit etc. is working, but this method
, it is difficult to create a real-time operating environment.

本発明は実時間で、実際に似た発生態様で、ソフトエラ
ーを人為的に発生させ、ECC回路などの試験に供しよ
うとするものである。
The present invention aims to artificially generate soft errors in a manner similar to the actual occurrence in real time, and to test ECC circuits and the like.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の擬似ソフトエラー発生方式は、ランダムアクセ
スメモリとその読出しデータを格納するレジスタとの間
に、該メモリの読出しデータ中の所定ビー/ )を反転
させ得る回路を設け、 該反転回路を、ソフトエラー発
生モードであるとき該メモリの複数回の読出しに対して
1回の間欠的な割合で反転動作させることを特徴とする
ものである。
The pseudo soft error generation method of the present invention is provided with a circuit capable of inverting a predetermined bea/ ) in the read data of the memory between a random access memory and a register storing read data thereof, and the inverting circuit: When in the soft error occurrence mode, the inversion operation is performed intermittently once for every plural read of the memory.

〔実施例〕〔Example〕

図面で説明すると、第1図で10はRAM、12はその
読出しデータを格納するレジスタである。
To explain this with reference to the drawings, in FIG. 1, 10 is a RAM, and 12 is a register that stores the read data.

本発明ではこのRAMI OSI出しデータレシス゛り
12間に反転回路14を設ける。RAM読出しデータは
32ビツトとすると、反転回路14はその1ビツト、若
しくは各8ビツトの4ブロツク構成ならその各ブロック
の1ビツトに設ける。こ−で1ビツトとは信号線1本と
いうことでもあるから、反転回路14はその1本の信号
線に挿入される。信号ビットの反転にはインバータを用
いればよいが、こ−では反転したりしなくしたりである
ので排他オア(EOR)ゲートを用いる0反転回路14
を何個設けるかはECC回路の構成により、ビット反転
しても訂正可能で動作に支障のない範囲で定める。RA
M読出しデータのどのビットに挿入するかは格別問題で
はなく、従って適当なビットに固定的に挿入しておけば
よい。
In the present invention, an inverting circuit 14 is provided between the RAMI OSI output data register 12. If the RAM read data is 32 bits, the inversion circuit 14 is provided for 1 bit, or for 1 bit of each block in the case of a 4 block configuration of 8 bits each. Since one bit also means one signal line, the inverting circuit 14 is inserted into that one signal line. An inverter may be used to invert the signal bits, but in this case the 0 inversion circuit 14 uses an exclusive OR (EOR) gate because the signal bits are inverted or not inverted.
The number of bits to be provided is determined depending on the configuration of the ECC circuit within a range that allows correction even if the bits are inverted and does not affect operation. R.A.
There is no particular problem as to which bit of the M read data should be inserted, and therefore it may be inserted fixedly into an appropriate bit.

ビット反転は試験点検時などに行ない、常時は行なうべ
きものではないから、反転回路14にはy列回路を設け
る0反転を旨示回路16がそれであり、これはEORゲ
ート14に対して“1”を出力して反転指示、“0”を
出力してスルー指示、を行なう。18は反転指示回路1
6に対する信号源(ソフトエラー発生モード指示用)で
、例えばパネルに設けたスイッチを閉じると“1“を出
力し、該スイッチを開くと“0”を出力する。20は3
ビツト又は4ビツト等のカウンタで、RAM10がリー
ドアクセスされる度にRAMリードアクセス信号RAが
入り、これを計数する。カウンタ20の最上位段の出力
が取り出され、成形回路22で所定パルス幅 の“11
パルスにされて反転指示回路16に入力される0反転指
示回路16は本例ではアンドゲートであり、信号源18
が“1”を出力しつまり反転モードが指令され、カウン
タ最上位段出力°が“1゛に立上るとき、成形回路22
で定まる期間中“1”を出力する。カウンタ20が3ピ
ントとするとこの“1°出力従ってビット反転はRAM
l0の8回のリードアクセスに対し1回となり、カウン
タ20が4ビツトとすればビット反転はRAMl0の1
6回のリードアクセスに対して1回となる。
Since bit inversion is performed during testing and inspection, and should not be done all the time, the inversion circuit 14 is provided with a y-column circuit, and a 0 inversion indicating circuit 16 is used. ” is output to instruct inversion, and “0” is output to instruct through. 18 is a reversal instruction circuit 1
A signal source (for soft error generation mode instruction) for 6, for example, outputs "1" when a switch provided on the panel is closed, and outputs "0" when the switch is opened. 20 is 3
Each time the RAM 10 is read accessed, a RAM read access signal RA is input and counted by a bit or 4-bit counter. The output of the top stage of the counter 20 is taken out, and the shaping circuit 22 generates a predetermined pulse width of “11”.
The 0 inversion instruction circuit 16, which is pulsed and input to the inversion instruction circuit 16, is an AND gate in this example, and the signal source 18
outputs "1", that is, inversion mode is commanded, and when the top stage output ° of the counter rises to "1", the shaping circuit 22
Outputs “1” during the period determined by . If the counter 20 has 3 pins, this "1° output therefore the bit inversion is RAM
If the counter 20 has 4 bits, the bit inversion is 1 for every 8 read accesses of RAM 10.
This is one time for every six read accesses.

このような常時は正常、時折ビットエラー発生は、通常
のRAMソフトエラー発生と似ている。
This normally normal occurrence of bit errors at times is similar to the occurrence of normal RAM soft errors.

勿論頻度は大きく異なるが、これは寿命試験などで適業
採用されるところである。テスト開始指示、即ち前記の
スイッチ操作は点検時などにCE(Customer’
s Engineer )がすればよい、このとき流す
プログラムはテストプログラムがよく、このプログラム
ならシステムの何処かに異常があればストップしてしま
うように構成されている。従ってテスト開始を指示し、
テストプログラムが正常終了すればECC回路正常とや
1vfrシてよい。またECC回路は訂正動作を行なう
と第2図に示すようにマシンチェック報告MCKを上げ
るから、ログデータをプリントアウトしてみるという手
段で、ECC回路の動作を確認することができる。
Of course, the frequency varies greatly, but this is what is commonly used in life tests and the like. The test start instruction, that is, the switch operation described above, is performed by CE (Customer's
The program to be run at this time is preferably a test program, which is configured to stop if there is any abnormality in the system. Therefore, instruct to start the test,
If the test program ends normally, the ECC circuit is considered to be normal. Furthermore, when the ECC circuit performs a correction operation, it raises the machine check report MCK as shown in FIG. 2, so the operation of the ECC circuit can be confirmed by printing out the log data.

第2図はRAMI O,読出しデータレジスタ12、お
よびECC回路などを示し、24が該ECC回路で、チ
ェック回路及び誤り訂正回路からなる。26はセレクタ
で、読出しデータレジスタ12のデータにエラーがある
とECC回路側に切換えられ、その誤り訂正回路が出力
する訂正後のデータを出力する。またこの訂正後のデー
タは書込みデータレジスタ28を通してRAMl0の当
該データのアドレスへ再書込みされ、記憶データの訂正
がなされる0反転回路14によるエラー発生ではRAM
記憶データに誤りはないから再書込みは不要である。勿
論再書込みしても支障はなく、この方が制御は通常通り
で、簡単である。RAM10の記憶データには間知のよ
うにECC用のビットが付加されており、このビットに
よりエラー訂正される。
FIG. 2 shows a RAM I O, a read data register 12, an ECC circuit, etc., and 24 is the ECC circuit, which consists of a check circuit and an error correction circuit. A selector 26 is switched to the ECC circuit side when there is an error in the data in the read data register 12, and outputs the corrected data output by the error correction circuit. Further, this corrected data is rewritten to the address of the data in RAM10 through the write data register 28, and if an error occurs by the 0 inversion circuit 14 that corrects the stored data, the RAM
Since there are no errors in the stored data, rewriting is not necessary. Of course, there is no problem even if the data is rewritten, and the control is normal and simpler in this case. An ECC bit is added to the data stored in the RAM 10, and errors are corrected using this bit.

カウンタ20のビット数は適宜増減してよい。The number of bits in the counter 20 may be increased or decreased as appropriate.

ビット数が少ない従ってビット反転頻度が大であるとそ
の都度ビット訂正動作が入るのでプログラム実行速度が
遅くなるから、余りに少数ビットなのは好ましくない、
また特別にカウンタを設けずに、システムに通常存在す
るタイマカウンタを用いて1μs毎あるいは1mS毎な
どのある周期でビット反転させる方法も有効である。
If the number of bits is small and the frequency of bit inversion is high, a bit correction operation will be required each time, slowing down the program execution speed, so it is not desirable to have too few bits.
It is also effective to use a timer counter normally present in the system to invert bits at a certain period, such as every 1 μs or 1 mS, without providing a special counter.

なお本方式でエラーを起すときはシステムは正常状態で
あるのがよく、エラー処理中のRAMアクセス時などで
これを行なうと2重障害でエラー処理続行不能になる恐
れがあるから、これは避けるのがよい、また本方式はE
CC回路チェック用のみではなく、例えばパリティチェ
ック回路、リトライ制御系などの動作チェックにも利用
できる。
Note that when an error occurs using this method, it is best when the system is in a normal state, and if this is done when accessing RAM during error processing, there is a risk of a double failure and the error processing cannot be continued, so avoid this. This method is suitable for E
It can be used not only for checking CC circuits, but also for checking the operation of parity check circuits, retry control systems, etc.

但し前者ではビット反転させればエラーとなり、リトラ
イなどが行なわれるから、これらが予定通り動作したか
により動作チェックすることになる。
However, in the former case, if the bits are inverted, an error will occur and a retry will be performed, so the operation will be checked to see if these things worked as planned.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明ではRA Mの記憶データそ
れ自体ではな(、RAMをアクセスしてその読取りデー
タを読出しデータレジスタへ格納する段階でパリティな
いしデータビットを一部こわし、そしてこのピント破壊
は、エラー発生モードではRAMリードアクセスの度に
必らず起すのではなく、適当な頻度で間欠的に起すので
、通常動作に格別支障を与えず、実時間で、実際に似た
環境でソフトエラー発生、それに対する各部の機能の正
常、異常をチェックでき、甚だ有効である。
As explained above, in the present invention, the data stored in the RAM itself is not destroyed, but the parity or data bits are partially destroyed at the stage of accessing the RAM and storing the read data in the read data register. In the error generation mode, the error does not occur every time a RAM read access is performed, but occurs intermittently at an appropriate frequency, so it does not particularly interfere with normal operation, and soft errors can be detected in real time in a similar environment. It is extremely effective because it allows you to check the occurrence of the occurrence and whether the functions of each part are normal or abnormal.

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

第1図および第2図は本発明の実施例を示すブロック図
である。 図面で、10はランダムアクセスメモリ、12は読出し
データレジスタ、14は反転回路、18はソフトエラー
発生モード指示信号源、20は間欠動作用カウンタであ
る。
1 and 2 are block diagrams showing embodiments of the present invention. In the drawing, 10 is a random access memory, 12 is a read data register, 14 is an inversion circuit, 18 is a soft error generation mode instruction signal source, and 20 is an intermittent operation counter.

Claims (2)

【特許請求の範囲】[Claims] (1)ランダムアクセスメモリとその読出しデータを格
納するレジスタとの間に、該メモリの読出しデータ中の
所定ビットを反転させ得る回路を設け、該反転回路を、
ソフトエラー発生モードであるとき該メモリの複数回の
読出しに対して1回の間欠的な割合で反転動作させるこ
とを特徴とする擬似ソフトエラー発生方式。
(1) A circuit capable of inverting a predetermined bit in the read data of the memory is provided between the random access memory and the register that stores the read data, and the inverting circuit is
A pseudo soft error generation method characterized in that when in a soft error generation mode, an inversion operation is performed intermittently once for every plural read of the memory.
(2)反転回路は、読出しデータレジスタの出力データ
をエラー検出訂正する回路の訂正可能ビット数範囲で、
ランダムアクセスメモリ読出しデータ線中に挿入される
ことを特徴とする特許請求の範囲第1項記載の擬似ソフ
トエラー発生方式。
(2) The inverting circuit is within the correctable bit number range of the circuit that detects and corrects errors in the output data of the read data register.
2. The pseudo soft error generation method according to claim 1, wherein the pseudo soft error generation method is inserted into a random access memory read data line.
JP59241345A 1984-11-15 1984-11-15 Generating system of pseudo soft error Pending JPS61118842A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59241345A JPS61118842A (en) 1984-11-15 1984-11-15 Generating system of pseudo soft error

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59241345A JPS61118842A (en) 1984-11-15 1984-11-15 Generating system of pseudo soft error

Publications (1)

Publication Number Publication Date
JPS61118842A true JPS61118842A (en) 1986-06-06

Family

ID=17072916

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59241345A Pending JPS61118842A (en) 1984-11-15 1984-11-15 Generating system of pseudo soft error

Country Status (1)

Country Link
JP (1) JPS61118842A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009238359A (en) * 2008-03-28 2009-10-15 Fujitsu Microelectronics Ltd Error-correcting function checking circuit, error-correcting function checking method, computer program therefor, and storage device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009238359A (en) * 2008-03-28 2009-10-15 Fujitsu Microelectronics Ltd Error-correcting function checking circuit, error-correcting function checking method, computer program therefor, and storage device

Similar Documents

Publication Publication Date Title
US4535455A (en) Correction and monitoring of transient errors in a memory system
US4456993A (en) Data processing system with error processing apparatus and error processing method
US3735105A (en) Error correcting system and method for monolithic memories
JPS63200249A (en) Pseudo fault generating system for cache memory device
JPS61118842A (en) Generating system of pseudo soft error
JPH01133163A (en) 1-bit inversion error processing system
JP3512442B2 (en) Error generation control device for storage device test
JP2513615B2 (en) Storage device with ECC circuit
CN115904797B (en) CPU memory diagnosis method, system and equipment based on field programmable gate array
US20190052286A1 (en) Error detector and/or corrector checker method and apparatus
JPS598061A (en) Diagnosing method of error correction and detection circuit
JP2998282B2 (en) Memory device
SU1287240A1 (en) Storage with self-check
JPS6261974B2 (en)
JPS59230342A (en) Device for testing operation of failure detector
JPS60118956A (en) Parity check system of memory system
JPS6054059A (en) Storage device
JPH01123345A (en) Self-diagnosing circuit for error correcting device
JPH01140356A (en) System for checking ecc circuit
JPS63200250A (en) Pseudo fault generating system for cache memory device
JPH02271432A (en) Method and device for testing microcode
JPS5860497A (en) Error detection control system
JPH01156834A (en) Diagnosing system for check circuit
JPS58189748A (en) Storage device of state information
JPS63279348A (en) Check system for memory