JPS62249250A - Memory device - Google Patents
Memory deviceInfo
- Publication number
- JPS62249250A JPS62249250A JP61093915A JP9391586A JPS62249250A JP S62249250 A JPS62249250 A JP S62249250A JP 61093915 A JP61093915 A JP 61093915A JP 9391586 A JP9391586 A JP 9391586A JP S62249250 A JPS62249250 A JP S62249250A
- Authority
- JP
- Japan
- Prior art keywords
- data
- storage unit
- read
- storage
- central processing
- 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
- 238000013500 data storage Methods 0.000 claims abstract description 27
- 238000004364 calculation method Methods 0.000 claims abstract description 24
- 230000005856 abnormality Effects 0.000 description 5
- 239000004065 semiconductor Substances 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は記憶装置の改良に関し、更に詳細には二重化構
成された記憶装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an improvement in a storage device, and more particularly to a storage device with a duplex configuration.
中央処理装置と記憶装置とを備えたシステムに於いては
、システムの信頼性を向上させるため、記憶装置を二重
化することが従来より行なわれている。即ち、記+!1
装置を現用系記憶部と予備系記憶部とから構成し、中央
処理装置からのデータを書込む場合は現用系記憶部と予
備系記憶部との双方に同一のデータを書込み、中央処理
装置にデータを転送する場合は現用系記憶部及び予備系
記憶部の双方からデータを読出してリードエラーチェッ
クを行ない、リードエラーチェックの結果によって以下
の処理を行なうものである。現用系記憶部から読出した
データに異常がない場合は現用系記憶部から読出したデ
ータを中央処理装置に転送し、現用系記憶部から読出し
たデータに異常がある場合は再度現用系記憶部及び予備
系記憶部からデータを読出してリードエラーチェックを
行ない、現用系記憶部から読出したデータに異常がない
場合は現用系記憶部から読出したデータを中央処理装置
に転送し、現用系記憶部から読出したデータに異常があ
り、予備系記憶部から読出したデータに異常がない場合
は予備系記憶部から読出したデータを中央処理装置に転
送するものである。2. Description of the Related Art In systems equipped with a central processing unit and a storage device, the storage devices have been duplicated in order to improve the reliability of the system. In other words, Ki+! 1
The device consists of an active storage unit and a backup storage unit, and when writing data from the central processing unit, the same data is written to both the active storage unit and the backup storage unit, and the data is written to the central processing unit. When transferring data, the data is read from both the active storage section and the backup storage section, a read error check is performed, and the following processing is performed depending on the result of the read error check. If there is no abnormality in the data read from the active storage unit, the data read from the active storage unit is transferred to the central processing unit, and if there is an abnormality in the data read from the active storage unit, the data is transferred to the active storage unit and again. Data is read from the backup storage and a read error check is performed, and if there is no abnormality in the data read from the active storage, the data read from the active storage is transferred to the central processing unit and read from the active storage. If there is an abnormality in the read data and there is no abnormality in the data read from the backup storage, the data read from the backup storage is transferred to the central processing unit.
上述したように、記憶装置を二重化構成することにより
、システムの信頼性を向上させることができるが、次の
ような問題があった。即ち、上述した従来例は中央処理
装置にデータを転送する際、現用系記憶部及び予備系記
憶部から読出されたデータそれぞれについてリードエラ
ーチェックを行なっているだけであるので、現用系記憶
部と予備系記憶部とに同一のデータが記憶されているか
否かを判断できない問題があった。As described above, system reliability can be improved by configuring the storage devices in a duplex manner, but there are the following problems. That is, in the conventional example described above, when data is transferred to the central processing unit, a read error check is only performed for each data read from the active storage section and the backup storage section, so There was a problem in that it was not possible to determine whether or not the same data was stored in the backup storage unit.
本発明は前述の如き問題点を解決したものであり、その
目的は現用系記憶部と予備系記憶部とに同一のデータが
記憶されているか否かを確実に判断できるようにするこ
とにある。The present invention solves the above-mentioned problems, and its purpose is to make it possible to reliably determine whether or not the same data is stored in the active storage section and the backup storage section. .
本発明は前述の如き問題点を解決するため、中央処理装
置に接続され、該中央処理装置からの命令に従って動作
する記憶装置に於いて、データが記憶される第1のデー
タ記憶部と該第1のデータ記憶部から読出されたデータ
に対して所定の演算を行ない、演算結果を記憶する第1
の演算記憶手段とを備えた現用系記憶部と、前記第1の
データ記憶部と同一のデータが記憶される第2のデータ
記憶部と該第2のデータ記憶部から読出されたデータに
対して前記第1の演算記憶手段と同一の演算を行ない、
演算結果を記憶する第2の演算記憶手段とを備えた予備
系記憶部と、
前記中央処理装置からの読出命令により前記第1のデー
タ記憶部に記憶されているデータを読込んで前記中央処
理装置に転送すると共に、前記第1、第2のデータ記憶
部に記憶されているデータをそれぞれ前記第1.第2の
演算記憶手段に転送し、データの読出終了により前記第
1.第2の演算記憶手段に記憶されている演算結果を比
較し、比較一致の場合は前記現用系記憶部と予備系記憶
部とに記憶されているデータが一致している旨を前記中
央処理装置に通知し、比較不一致の場合は前記現用系記
憶部と予備系記憶部とに記憶されているデータが同一で
ない旨を前記中央処理装置に通知する制御部とを設けた
ものである。In order to solve the above-mentioned problems, the present invention provides a storage device that is connected to a central processing unit and operates according to instructions from the central processing unit. a first data storage section that performs a predetermined operation on data read out from the first data storage section and stores the operation result;
an active system storage section comprising an arithmetic storage means; a second data storage section in which the same data as the first data storage section is stored; performs the same calculation as the first calculation storage means,
a spare system storage unit comprising a second calculation storage means for storing calculation results; and a spare system storage unit that reads data stored in the first data storage unit according to a read command from the central processing unit, and stores the calculation result in the central processing unit. At the same time, the data stored in the first and second data storage units are transferred to the first and second data storage units, respectively. The data is transferred to the second arithmetic storage means, and upon completion of reading the data, the first. The calculation results stored in the second calculation storage means are compared, and in the case of a match, the central processing unit and a control unit that notifies the central processing unit that the data stored in the active storage unit and the standby storage unit are not the same if the comparison does not match.
現用系記憶部に設けられた第1の演算記憶手段の記憶内
容と予備系記憶部に設けられた第2の演算記憶手段の記
憶内容とが一致するのは、再記憶部から読出された一連
のデータが同一の場合、即ち再記憶部に記憶されている
一連のデータが同一の場合のみであるので、現用系記憶
部と予備系記憶部とに記憶されているデータが同一であ
るか否かを確実に判断することができる。The storage contents of the first arithmetic storage means provided in the active storage section and the storage contents of the second arithmetic storage means provided in the backup storage section match only when the series read from the re-storage section Since the data stored in the active storage unit and the backup storage unit are the same, it is only possible to determine whether the data stored in the active storage unit and the backup storage unit are the same. can be determined with certainty.
次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の実施例のブロック図であり、半導体記
憶装置100は制御部200と、CRC(Co、rre
ction Code)回路310.データ記憶部32
0.レジスタ330.アンドゲート340及びリードエ
ラーチェック回路350を存する現用系記憶部300と
、CRC回路410.データ記憶部420.レジスタ4
30.アンドゲート440及びリードエラーチェック回
路450を存する予備系記憶部400とから構成されて
いる。FIG. 1 is a block diagram of an embodiment of the present invention, in which a semiconductor memory device 100 includes a control section 200, a CRC (Co, rre
ction code) circuit 310. Data storage section 32
0. Register 330. An active storage section 300 including an AND gate 340 and a read error check circuit 350, and a CRC circuit 410. Data storage unit 420. register 4
30. It is composed of a spare storage section 400 including an AND gate 440 and a read error check circuit 450.
尚、CRC回路310,410はそれぞれデータ記憶部
320.420から読出されたデータをある定められた
方式(例えば読出したデータを順次加算する。読出した
データの排他的論理和をとる等)により演算し、演算結
果を記憶するものである。また現用系記憶部300内の
レジスタ330及び予備系記憶部400内のレジスタ4
30には初期設定時にそれぞれ“1”、“0”がセント
されているものとする。Note that the CRC circuits 310 and 410 each perform an operation on the data read out from the data storage units 320 and 420 in a predetermined manner (for example, sequentially adding the read data, taking exclusive OR of the read data, etc.). and stores the calculation results. Also, the register 330 in the active storage unit 300 and the register 4 in the backup storage unit 400
It is assumed that "1" and "0" are respectively set in 30 at the time of initial setting.
制御部200は中央処理装置(図示せず)から信号線2
01を介してデータの読出命令が加えられると、現用系
記憶部300及び予備系記憶部400を同時に選択し、
現用系記憶部300及び予備系記憶部400にそれぞれ
信号線305.405を介してデータの読出指示を加え
る。データの読出指示が加えられることにより、現用系
記憶部300はデータ記憶部320に記憶されているデ
ータを読出し、読出したデータを信号線301を介して
CRC回路310. IJ −ドエラーチェック回路3
50及びアンドゲート340に加え、予備系記憶部40
0はデータ記憶部420に記憶されているデータを読出
し、読出したデータを信号線401を介してCRC回路
410.リードエラーチェック回路450及びアンドゲ
ート440に加える。この場合、レジスタ330,43
0には前述したように′1”1 “OSがセットされて
いるものであり、アンドゲート340.440がそれぞ
れオン、オフ状態になっているものであるから、現用系
記憶部300内のデータ記憶部320から読出されたデ
ータのみがアンドゲート340.信号線302を介して
制御部200に加えられることになる。The control unit 200 is connected to a signal line 2 from a central processing unit (not shown).
When a data read command is applied via 01, the active storage unit 300 and the backup storage unit 400 are simultaneously selected,
A data read instruction is applied to the active storage unit 300 and the backup storage unit 400 via signal lines 305 and 405, respectively. When a data read instruction is applied, the active storage unit 300 reads the data stored in the data storage unit 320, and transmits the read data to the CRC circuit 310 through the signal line 301. IJ - error check circuit 3
50 and the AND gate 340, the spare storage unit 40
0 reads data stored in the data storage section 420, and sends the read data to the CRC circuit 410.0 via the signal line 401. Added to read error check circuit 450 and AND gate 440. In this case, registers 330, 43
0 has the OS set to ``1''1'' as described above, and the AND gates 340 and 440 are in the on and off states, respectively, so the data in the active storage unit 300 Only the data read from the storage section 320 is passed through the AND gate 340 . It will be applied to the control unit 200 via the signal line 302.
信号線301 、401を介してデータが加えられると
、CRC回路310,410は該データに対して所定の
演算を行なって演算結果を記憶し、リードエラーチェッ
ク回路350.450はり一ドエラーチェックを行ない
、リードエラーを検出した場合は信号線303゜403
を介してその旨を制御部200に通知するものである。When data is added via the signal lines 301 and 401, the CRC circuits 310 and 410 perform predetermined calculations on the data and store the calculation results, and the read error check circuits 350 and 450 perform a read error check. If a read error is detected, the signal line 303°403
The controller 200 is notified of this via the .
尚、CRC回路310が行なう演算とCRC回路410
が行なう演算とは同一のものである。Note that the calculations performed by the CRC circuit 310 and the CRC circuit 410
is the same as the calculation performed by .
制御部200は現用系記憶部300内のり−ドエラーチ
ェック回路350でリードエラーが検出されなかった場
合は、アンドゲート340を介してデータ記憶部320
から加えられるデータを信号線202を介して中央処理
装置に転送し、データ転送が終了すると、CRC回路3
10.410に記憶されている演算結果を信号線304
.404を介して読出し、両者を比較する。そして、比
較一致の場合は、制御部200は現用系記憶部300と
予備系記憶部400とに記憶されているデータが一致し
ている舌を中央処理装置に信号線201を介して通知し
、比較不一致の場合は現用系記憶部300と予備系記憶
部400とに記憶されているデータが一致していない旨
を中央処理装置に信号線201を介して通知する。If the read error check circuit 350 in the active storage unit 300 does not detect a read error, the control unit 200 checks the data storage unit 320 via the AND gate 340.
The data added from the CRC circuit 3 is transferred to the central processing unit via the signal line 202, and when the data transfer is completed,
10. The calculation result stored in 410 is transferred to the signal line 304.
.. 404 and compare the two. Then, in the case of a comparison match, the control unit 200 notifies the central processing unit of the tongue whose data stored in the active storage unit 300 and the backup storage unit 400 match via the signal line 201, If the comparison does not match, the central processing unit is notified via the signal line 201 that the data stored in the active storage unit 300 and the backup storage unit 400 do not match.
尚、中央処理Vt置は比較不一致の通知を受けた場合、
例えば所定回までの再試行を行なう、また、現用系記憶
部300のリードエラーチェック回路350でリードエ
ラーが検出された場合は、例えば所定回までの再試行が
行なわれ、なおもリードエラーが解消されない時は制御
部200により、レジスタ330に0°が、レジスタ4
30に“1”がそれぞれセットされ、予備系記憶部40
0内のデータ記憶部420から読出されたデータがアン
トゲ−1−440及び信号&91402を介して制御部
200に加えられ、このデータが使用される。また、上
述した実施例は半導体記憶装置を例にとって説明したが
、コアメモリ等地の記憶装置にも本発明を適用できるこ
とは勿論である。Furthermore, when the central processing terminal receives a notification of comparison discrepancy,
For example, if a read error is detected by the read error check circuit 350 of the active storage unit 300, retries are performed up to a predetermined number of times, and the read error is still resolved. If not, the control unit 200 sets the register 330 to 0° and the register 4
30 is set to “1”, and the backup storage unit 40 is set to “1”.
The data read from the data storage section 420 in 0 is applied to the control section 200 via the game 1-440 and the signal &91402, and this data is used. Further, although the above-described embodiments have been explained using a semiconductor memory device as an example, it goes without saying that the present invention can also be applied to a memory device such as a core memory.
以上説明したように本発明は、現用系記憶部に第1のデ
ータ記憶部から読出されたデータに対して所定の演算を
行ない、演算結果を記憶するCRC回路310等の第1
の演算記憶手段を設け、予備系記憶部に第2のデータ記
憶部から読出されたデータに対して第1の演算記憶手段
と同一の演算を行ない、演算結果を記憶する第2の演算
記憶手段とを設けたものであり、第1.第2の演算記憶
手段に記憶されている演算結果が一致するのは第1゜第
2のデータ記憶部から読出されたデータが同一の場合、
即ち第1.第2のデータ記憶部に記憶されているデータ
が同一の場合のみであるので、現用系記憶部及び予備系
記憶部に同一のデータが記憶されているか否かを確実に
判断することができる利点がある。As described above, the present invention provides a first CRC circuit 310 that performs a predetermined operation on data read out from a first data storage section and stores the operation result in the active storage section.
a second arithmetic storage means which performs the same arithmetic operation as the first arithmetic storage means on the data read from the second data storage part in the spare system storage part and stores the result of the calculation; 1. The calculation results stored in the second calculation storage means match if the data read from the second data storage unit are the same.
That is, the first. Since the data stored in the second data storage section is the same, it is possible to reliably determine whether or not the same data is stored in the active storage section and the backup storage section. There is.
第1図は本発明の実施例のブロック図である。
図に於いて、100・・・半導体記憶装置、200・・
・制御部、300・・・現用系記憶部、400・・・予
備系記憶部、310.410・・・CRC回路、320
,420・・・データ記憶部、330.430・・・レ
ジスタ、340 、440・・・アンドゲート、350
.450・・・リードエラーチェック回路、201,2
02゜301〜306.401〜406・・・信号線。FIG. 1 is a block diagram of an embodiment of the invention. In the figure, 100...semiconductor storage device, 200...
- Control unit, 300... Active storage unit, 400... Backup storage unit, 310.410... CRC circuit, 320
,420...Data storage section, 330.430...Register, 340,440...And gate, 350
.. 450...Read error check circuit, 201,2
02°301~306.401~406...Signal line.
Claims (1)
従って動作する記憶装置に於いて、データが記憶される
第1のデータ記憶部と該第1のデータ記憶部から読出さ
れたデータに対して所定の演算を行ない、演算結果を記
憶する第1の演算記憶手段とを備えた現用系記憶部と、 前記第1のデータ記憶部と同一のデータが記憶される第
2のデータ記憶部と該第2のデータ記憶部から読出され
たデータに対して前記第1の演算記憶手段と同一の演算
を行ない、演算結果を記憶する第2の演算記憶手段とを
備えた予備系記憶部と、 前記中央処理装置からの読出命令により前記第1のデー
タ記憶部に記憶されているデータを読込んで前記中央処
理装置に転送すると共に、前記第1、第2のデータ記憶
部に記憶されているデータをそれぞれ前記第1、第2の
演算記憶手段に転送し、データの読出終了により前記第
1、第2の演算記憶手段に記憶されている演算結果を比
較し、比較一致の場合は前記現用系記憶部と予備系記憶
部とに記憶されているデータが一致している旨を前記中
央処理装置に通知し、比較不一致の場合は前記現用系記
憶部と予備系記憶部とに記憶されているデータが同一で
ない旨を前記中央処理装置に通知する制御部とを備えた
ことを特徴とする記憶装置。[Scope of Claims] In a storage device connected to a central processing unit and operated according to instructions from the central processing unit, a first data storage unit storing data and reading from the first data storage unit an active storage unit comprising a first calculation storage unit that performs a predetermined calculation on the data and stores the calculation result; and a second storage unit that stores the same data as the first data storage unit. a data storage unit; and a second calculation storage unit that performs the same calculation as the first calculation storage unit on the data read from the second data storage unit and stores the calculation result. a system storage unit, and reads data stored in the first data storage unit according to a read command from the central processing unit and transfers it to the central processing unit, and also transfers the data to the first and second data storage units. The stored data is transferred to the first and second arithmetic storage means, and upon completion of data reading, the arithmetic results stored in the first and second arithmetic storage means are compared, and it is determined whether the comparison matches. If the data stored in the active storage unit and the backup storage unit match, the central processing unit is notified that the data stored in the active storage unit and the backup storage unit match, and if the comparison does not match, the data stored in the active storage unit and the backup storage unit are notified. A storage device comprising: a control unit that notifies the central processing unit that data stored in the data are not the same.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61093915A JPS62249250A (en) | 1986-04-23 | 1986-04-23 | Memory device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61093915A JPS62249250A (en) | 1986-04-23 | 1986-04-23 | Memory device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS62249250A true JPS62249250A (en) | 1987-10-30 |
Family
ID=14095761
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61093915A Pending JPS62249250A (en) | 1986-04-23 | 1986-04-23 | Memory device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62249250A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6519668B1 (en) | 1998-05-13 | 2003-02-11 | Fujitsu Limited | Additional extension device having universal applicability |
-
1986
- 1986-04-23 JP JP61093915A patent/JPS62249250A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6519668B1 (en) | 1998-05-13 | 2003-02-11 | Fujitsu Limited | Additional extension device having universal applicability |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS62249250A (en) | Memory device | |
JPH0122653B2 (en) | ||
JPH01271856A (en) | Battery back-up memory | |
JP2626127B2 (en) | Backup route test method | |
JPS62249251A (en) | Memory device | |
JPH0238969B2 (en) | ||
JPS63238655A (en) | Information processor | |
JP2943926B2 (en) | Error recovery control device | |
JPH0335327A (en) | Majority decision fault processor | |
JPS61134856A (en) | Ram check circuit | |
JPH07287694A (en) | Multiplex processing system and memory synchronous control method | |
JPS5994160A (en) | Data equalizing system of composite electronic computer system | |
JPS608962A (en) | Storage information temporary failure detection method | |
JP3012402B2 (en) | Information processing system | |
JPS63132357A (en) | Memory access controller | |
JPH0251950A (en) | Electronic exchange duplex system | |
JPS63132358A (en) | multiplexed memory device | |
JPS61150041A (en) | Duplex information processing system | |
JPS63125032A (en) | Data bus repeating installation | |
JPS61161549A (en) | Parity check method for microprogram storage memory | |
JPS62245360A (en) | Duplicated switching device for multicontroller system | |
JPS6027293A (en) | Memory check system | |
JPH06348604A (en) | Memory copy system | |
JPS59116998A (en) | Main storage failure detection method | |
JPH02297650A (en) | Receiver |