JPH036760A - Ram fault processing system - Google Patents
Ram fault processing systemInfo
- Publication number
- JPH036760A JPH036760A JP1141089A JP14108989A JPH036760A JP H036760 A JPH036760 A JP H036760A JP 1141089 A JP1141089 A JP 1141089A JP 14108989 A JP14108989 A JP 14108989A JP H036760 A JPH036760 A JP H036760A
- Authority
- JP
- Japan
- Prior art keywords
- ram
- data
- circuit
- rams
- parity check
- 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
Links
- 238000000034 method Methods 0.000 claims description 7
- 238000001514 detection method Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 102100031584 Cell division cycle-associated 7-like protein Human genes 0.000 description 1
- 101000777638 Homo sapiens Cell division cycle-associated 7-like protein Proteins 0.000 description 1
- 239000002253 acid Substances 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 1
- 239000010931 gold Substances 0.000 description 1
- 229910052737 gold Inorganic materials 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、RAMに障害が発生した際、リアルタイムに
正しいデータ全供給するRAMの障害処理方式である。DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention is a RAM fault handling method that supplies all correct data in real time when a fault occurs in the RAM.
従来、上述のようにRAMに障害が発生して該データが
読み出された際の処理として2例えハウエラーコレクテ
ィング・コード(FCCりを用いて誤まりビットに訂正
する方式が知られている。ところで、EOO金用いて誤
まりビット全訂正する場合には、RAMにデータを記憶
する際、gCCCC符号酸生成ための生成回路。Conventionally, as described above, when a failure occurs in the RAM and the data is read out, two methods have been known in which error bits are corrected using a Howe error correcting code (FCC). By the way, when all erroneous bits are corrected using EOO money, a generation circuit for generating gCCCC code acid is required when storing data in RAM.
RAMからデータを読み出す際、データのどのビットに
誤まりがあるか全Ecc符号に基づいて検出する検出回
路、及び誤まりビットに反転させる反転回路全必要とし
ている。When reading data from the RAM, a detection circuit that detects which bit of the data has an error based on all Ecc codes and an inversion circuit that inverts the error bit are required.
以下憩日
〔発明が解決しようとする問題点〕
ところで、従来のRAM障害等における処理では、EC
C符号生成回路誤まり検出、訂正のための回路(検出回
路及び反転回路)が非常に複雑で、膨大数のゲートを必
要とする。[Problem to be solved by the invention] Hereinafter, the problem to be solved by the invention is
C code generation circuit The circuit for detecting and correcting errors (detection circuit and inversion circuit) is very complicated and requires a huge number of gates.
上記のように、誤まり検出訂正回路が複雑であるから、
データ読み出しの際における遅延が大きくなり、1マシ
ンサイクル内で誤まりを訂正することができず、2〜3
マシンサイクルで誤まシビ、トの訂正が行われることに
なり、誤まり訂正の間他の処理を停止させる制御を行わ
なければならな(・。As mentioned above, since the error detection and correction circuit is complicated,
The delay when reading data becomes large, and errors cannot be corrected within one machine cycle, resulting in 2 to 3
Mistakes will be corrected during the machine cycle, and control must be performed to stop other processing while the error is being corrected.
このように、RAMに固定的な障害が発生した場合にも
常に上述し7’C誤まp検出・訂正及び停止制御が行わ
れ、計算システムの実質的な性能低下となってしまう。In this way, even if a fixed failure occurs in the RAM, the above-described 7'C error p detection, correction, and stop control are always performed, resulting in a substantial performance drop of the computing system.
さらに、zCal用いた誤まジ訂正の場合。Furthermore, in the case of error correction using zCal.
同一アドレス内のデータにおいて、多数のピットが誤ま
っていたり、RAM全体に障害が発生すると誤まり検出
及び訂正ができないという問題点がある。There is a problem that if a large number of pits are erroneous in data within the same address or a fault occurs in the entire RAM, it is impossible to detect and correct the error.
本発明の目的は簡単な回路構成で計算システムの性能低
下につながることのない障害処理方式全提供することに
ある。SUMMARY OF THE INVENTION An object of the present invention is to provide an entire fault handling method with a simple circuit configuration that does not lead to a decrease in the performance of a computing system.
本発明の他の目的はRAM全体に障害が発生しても実質
的に誤まり検出及び訂正ができる障害処理方式全提供す
ることにある。Another object of the present invention is to provide a fault handling system that can substantially detect and correct errors even if a fault occurs in the entire RAM.
C問題点全解決するための手段〕
本発明によれば、少なくとも2つのRAM’i備え、該
RAMの同一アドレスに同一データを書き込む書き込み
手段を行う前記各RAMからの読み出しデータをそれぞ
れ独立してパリティチエ、りを行うパリティチエツク手
段と、前記パリティチエツクの結果に基づいて前記RA
Mのうち一つを選択するRAM決定手段と金有すること
を特徴とするRAMの障害処理方式が得られる。Means for Solving All Problems C] According to the present invention, at least two RAM'i are provided, and read data from each of the RAM's is independently read from each of the RAM's for writing the same data to the same address of the RAM. a parity check means for performing a parity check; and a parity check means for performing a parity check;
A RAM fault handling method is obtained, which is characterized by having a RAM determining means for selecting one of M.
さらに9本発明によれば、少なくとも3つのRAM1備
え、該RAM2、少なくとも3つのRAMを書き込む書
き込み手段と、前記各RAMからの読み出しデータをピ
ット毎に比較して多数矢金とる多数決手データ金ビット
毎に比較して多数決の結果に基づいてピットの値を選択
するようにしたことを特徴とするRAMの障害処理方式
が得られる。Furthermore, according to the present invention, at least three RAMs 1 are provided, the RAM 2 includes a write means for writing into the at least three RAMs, and a majority decision data bit that compares read data from each of the RAMs pit by pit and determines the majority. A RAM fault handling method is obtained, which is characterized in that the pit value is selected based on the result of the majority decision.
次に本発明について実施例によって説明する。 Next, the present invention will be explained with reference to examples.
第1図全参照して1本発明が適用されるシステムでは少
なくとも2つのRAM1備えている(第1図ではRAM
1−1及び2〜1全備えている)。RAM 1−1及
び2−1に対し書き込みを行う際には、アドレスレジス
タ3に書き込みアドレスがセットされ、ライトレジスタ
4にライトデータがセットされる。そして、ライトイネ
ーブル(wa)si上セツトることによってRAM1−
1及びRAM 2−1の同一アドレスに同一データが書
き込まれる。Referring to FIG. 1, a system to which the present invention is applied is equipped with at least two RAMs 1 (in FIG.
1-1 and 2-1 are all included). When writing to the RAMs 1-1 and 2-1, a write address is set in the address register 3 and write data is set in the write register 4. Then, by setting write enable (wa) si, RAM1-
The same data is written to the same address of RAM 2-1 and RAM 2-1.
RAM 1−1及び2−1からデータを読み出す際には
、読み出すべきデータのアドレスをアドレスレジスタ6
にセットすることによってRAM1−1及びRAM 2
−1に書き込まれている該当アドレスのデータが出方さ
れる。When reading data from RAM 1-1 and 2-1, the address of the data to be read is set in the address register 6.
RAM1-1 and RAM2
The data of the corresponding address written in -1 is output.
RAM 1−1及び2−1からの読み出しデータはそれ
ぞれパリティチエツク回路1−2及び2−2に与えられ
、ここでパリティチエツクを受ける。パリティチエツク
回路1−2及び2−211:tRAM決定回路6に対し
て、エラー無しを報告する。この場合、RA、M決定回
路6はRAM1−1及び2−1のうち予め定められたR
AMの出力を選択してリードレジスタ7にセットする。The read data from RAMs 1-1 and 2-1 is applied to parity check circuits 1-2 and 2-2, respectively, where they undergo a parity check. Parity check circuits 1-2 and 2-211: Report to the tRAM decision circuit 6 that there is no error. In this case, the RA, M determining circuit 6 selects a predetermined R out of the RAMs 1-1 and 2-1.
Select the AM output and set it in the read register 7.
ここで9例えば、RAM1−1の読み出しデータにパリ
ティエラーがあると、パリティチエツク回路1−2はR
AM決定決定回路対してパリティエラーありを報告する
。一方、パリティチエツク回路2−2はRAM2−1の
読み出しデータが正常であると報告する。その結果、R
AM決定回路6は、RAM2−1の出方が有効であると
判断して、RAM 2−1からの読み出しデータを選択
しリードレジスタ7にセラトスる。For example, if there is a parity error in the read data of RAM 1-1, the parity check circuit 1-2 will
A parity error is reported to the AM decision making circuit. On the other hand, the parity check circuit 2-2 reports that the read data from the RAM 2-1 is normal. As a result, R
The AM determining circuit 6 determines that the output of the RAM 2-1 is valid, selects the read data from the RAM 2-1, and stores it in the read register 7.
なお、上述の実施例では、pAMffi2重化した場合
について説明したが、RAM全n (n≧2)重化する
ことにより、n−1個のRA Mの障害に対応すること
ができる。In the above embodiment, the case where pAMffi is duplicated is explained, but by duplicating all n RAMs (n≧2), failures of n-1 RAMs can be coped with.
次に本発明の第2の実施例について説明する。Next, a second embodiment of the present invention will be described.
第2図を参照して9本発明が適用されるシステムでは少
なくとも5つのRAM’i備えている。Referring to FIG. 2, the system to which the present invention is applied includes at least five RAM'i.
RAM 1−1.2−1及び8−1に対して書き込みを
行う場合、アドレスレジスタ5に書き込みアドレスをセ
ットするとともにライトレジスタ4にライトデータ全セ
ットする。そして、ライトイネーブル(図示せず)をセ
ットしてRAM 1−1 、RAM 2−1及びRAM
8−1に対して同一アドレスに同一データを書き込む
。When writing to RAMs 1-1, 2-1 and 8-1, a write address is set in the address register 5 and all write data is set in the write register 4. Then, write enable (not shown) is set and the RAM 1-1, RAM 2-1, and RAM
Write the same data to the same address for 8-1.
RAM 1−1.2−1及び8−1からデータ音読み出
す際には、読み出すべきデータのアドレスをアドレスレ
ジスタ6にセットすることによって、RAM 1−1.
2−1及び8−1に書き込まれている該当アドレスのデ
ータが出力される。When reading sound data from RAM 1-1.
The data of the corresponding addresses written in 2-1 and 8-1 are output.
これら読み出されたデータは、それぞれ多数決回路6に
入力されど、ト毎に多数決演算が行われる。RAM 1
−1.2−1及び8−1が正常に動作している場合、読
み出されたデータの任意のビット金兄ると、それぞれの
出力は(0゜0.0ン又は(r、1.1)とな9.多数
決回路6の出力は(0,0,CI)のときは”0”(1
,1,1)のときは”1″となる。These read data are respectively input to the majority decision circuit 6, and a majority decision calculation is performed for each data. RAM 1
-1.2-1 and 8-1 are operating normally, when any bit of the read data is read out, the respective outputs are (0°0.0n or (r,1. 1) 9. When the output of the majority circuit 6 is (0, 0, CI), it is "0" (1
, 1, 1), it becomes "1".
RAM 1−1の読み出しデータが誤まっていると、R
AM 1−1.2−1及び8−1の出力は任意のビット
でみると(1,010)又は(Q、?、1)となる。こ
の際、多数決回路6は(1,Q、O)のときは”0”、
(0,1,1)のときは”1”を出力する。つまり、任
意のビットの多数決をとって値の多い方全正しい値と初
析して、リードレジスタ7にセラトスる。If the read data of RAM 1-1 is incorrect, R
The outputs of AM 1-1.2-1 and 8-1 are (1,010) or (Q, ?, 1) in terms of arbitrary bits. At this time, the majority circuit 6 is "0" when (1, Q, O),
When it is (0, 1, 1), it outputs "1". That is, by taking a majority vote of arbitrary bits, the one with the largest value is determined to be the correct value, and the result is stored in the read register 7.
なお、第2の実施例では、RAMを5重化した場合につ
いて説明したがRAMfn (n≧3)重化することで
、任意の1ビツト当たりinteget((n −1)
/ 2 )個までの誤まりを訂正することができる。In the second embodiment, a case was explained in which the RAM is quintupled, but by multiplying the RAMfn (n≧3), integet((n - 1)
/2) errors can be corrected.
以上説明したように9本発明ではRAM1多重化しそれ
ぞれの読み出しデータのパリティチエツクの結果から正
しいデータ金レジスタにセットするようにしたから、簡
単な回路でリアルタイムにRAMの障害に対応できると
いう効果がある。As explained above, in the present invention, RAM 1 is multiplexed and the correct data is set in the gold register based on the result of parity check of each read data, so there is an effect that RAM failure can be dealt with in real time with a simple circuit. .
また、読み出しデータをビット毎に多数決演算全行うよ
うにすれば、RAMにおいて同一のアドレスのデータ内
に多数の誤まりが発生した場合でも、リアルタイムにR
AMの障害に対応できるという効果がある。従って、計
算システムの性能低下がない。In addition, if the read data is subjected to all majority calculations for each bit, even if many errors occur in the data at the same address in RAM, the read data can be read in real time.
This has the effect of being able to deal with AM failures. Therefore, there is no deterioration in the performance of the calculation system.
さらに、今後、LSIの集積度、特にRAMの集積度の
向上によりシステムの信頼度1稼動率の向上がはかれる
。Furthermore, in the future, the reliability and operation rate of the system will be improved by increasing the degree of integration of LSIs, especially RAMs.
は本発明の他の実施例の構成図である。FIG. 2 is a configuration diagram of another embodiment of the present invention.
1−1.2−1.8−1・・・RAM、1−2.2−1
・・・パリティチエツク回路、5・・・アドレスレジス
タ、4・・・ライトデータレジスタ、6・・・RAM決
定回路、7・・・リードレジスタ、9・・多数決回路。1-1.2-1.8-1...RAM, 1-2.2-1
... Parity check circuit, 5... Address register, 4... Write data register, 6... RAM decision circuit, 7... Read register, 9... Majority decision circuit.
第1図は本発明の一実施例の礪成図、第2図漉 1 図 柩2図 Fig. 1 is a completed drawing of an embodiment of the present invention, Fig. 2 is a drawing of an embodiment of the present invention. 1 figure Coffin 2
Claims (1)
ドレスに同一データを書き込む書き込み手段と、前記各
RAMからの読み出しデータをそれぞれ独立してパリテ
イチェックを行うパリテイチェック手段と、前記パリテ
イチェックの結果に基づいて前記RAMのうち一つを選
択するRAM決定手段とを有することを特徴とするRA
Mの障害処理方式。 2、少なくとも3つのRAMを備え、該RAMの同一ア
ドレスに同一のデータを書き込む書き込み手段と、前記
各RAMからの読み出しデータをビット毎に比較して多
数決をとる多数決手段回路とを有し、該多数決の結果に
基づいてビットの値を選択するようにしたことを特徴と
するRAMの障害処理方式。[Scope of Claims] 1. Writing means that includes at least two RAMs and writes the same data to the same address of the RAMs, and parity check means that independently performs a parity check on data read from each of the RAMs. and RAM determining means for selecting one of the RAMs based on the result of the parity check.
M's failure handling method. 2. It is equipped with at least three RAMs, and has a write means for writing the same data into the same address of the RAM, and a majority means circuit that compares the read data from each RAM bit by bit and takes a majority decision, A fault handling method for a RAM, characterized in that a bit value is selected based on a majority vote result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1141089A JPH036760A (en) | 1989-06-05 | 1989-06-05 | Ram fault processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1141089A JPH036760A (en) | 1989-06-05 | 1989-06-05 | Ram fault processing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH036760A true JPH036760A (en) | 1991-01-14 |
Family
ID=15283948
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1141089A Pending JPH036760A (en) | 1989-06-05 | 1989-06-05 | Ram fault processing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH036760A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011248654A (en) * | 2010-05-27 | 2011-12-08 | Mitsutoyo Corp | Information processing method |
WO2012169114A1 (en) * | 2011-06-10 | 2012-12-13 | 日本電気株式会社 | Semiconductor storage device, control method for same, and non-transitory computer readable medium in which control program is stored |
-
1989
- 1989-06-05 JP JP1141089A patent/JPH036760A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011248654A (en) * | 2010-05-27 | 2011-12-08 | Mitsutoyo Corp | Information processing method |
WO2012169114A1 (en) * | 2011-06-10 | 2012-12-13 | 日本電気株式会社 | Semiconductor storage device, control method for same, and non-transitory computer readable medium in which control program is stored |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6009548A (en) | Error correcting code retrofit method and apparatus for multiple memory configurations | |
US4236247A (en) | Apparatus for correcting multiple errors in data words read from a memory | |
US8429485B2 (en) | Method and apparatus for detecting free page and a method and apparatus for decoding error correction code using the method and apparatus for detecting free page | |
CA2017099C (en) | Sequential parity correction | |
CN114442953B (en) | Data verification method, system, chip and electronic equipment | |
JPH036760A (en) | Ram fault processing system | |
JP2806856B2 (en) | Diagnostic device for error detection and correction circuit | |
JPS6024493B2 (en) | Memory control method | |
SU1029230A2 (en) | Device for checking memory error correcting units | |
JPS61269738A (en) | Data processing circuit | |
SU1249590A1 (en) | Storage with self-checking | |
SU951407A1 (en) | Device for checking memory error correcting units | |
JPH01162300A (en) | Rom checking circuit testing system | |
JPS58169253A (en) | Error detection system | |
JPS598061A (en) | Diagnosing method of error correction and detection circuit | |
JPH05108385A (en) | Error correction circuit diagnostic system | |
JPS61196341A (en) | System for correcting memory error | |
JPS58172760A (en) | Error recovery system of control memory | |
JPH03105630A (en) | Error correcting system | |
JPH0198033A (en) | Detecting circuit for data error | |
JPS61224044A (en) | Error check circuit | |
JPH02188835A (en) | Checking system for file write data | |
JPH01205357A (en) | System for testing memory error detecting circuit | |
JPS59144099A (en) | Detector for error data of memory | |
JPH0259946A (en) | Memory device |