JPS648863B2 - - Google Patents

Info

Publication number
JPS648863B2
JPS648863B2 JP55082380A JP8238080A JPS648863B2 JP S648863 B2 JPS648863 B2 JP S648863B2 JP 55082380 A JP55082380 A JP 55082380A JP 8238080 A JP8238080 A JP 8238080A JP S648863 B2 JPS648863 B2 JP S648863B2
Authority
JP
Japan
Prior art keywords
memory
access
access request
switching
error
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.)
Expired
Application number
JP55082380A
Other languages
Japanese (ja)
Other versions
JPS578998A (en
Inventor
Moryuki Takamura
Shohei Ikehara
Tokuji Furuto
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 JP8238080A priority Critical patent/JPS578998A/en
Publication of JPS578998A publication Critical patent/JPS578998A/en
Publication of JPS648863B2 publication Critical patent/JPS648863B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/70Masking faults in memories by using spares or by reconfiguring

Description

【発明の詳細な説明】 本発明は交替メモリの制御方式に関するもので
あり、更に詳しく謂えば通常のメモリと該メモリ
の代替えとして使用される交替メモリを有する記
憶装置において、通常のメモリから交替メモリに
切替えて使用するときの切替え制御方式に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a control method for a replacement memory, and more specifically, in a storage device having a regular memory and a replacement memory used as a substitute for the memory, the present invention relates to a method for controlling a replacement memory from a regular memory to a replacement memory. The present invention relates to a switching control method when switching to use.

従来、交替メモリはチヤネル装置、CPUなど
からのアクセス要求に従つて記憶装置より読出さ
れたデータに対し、誤り訂正回路(ECC)によ
り誤りが検出された場合に、通常メモリから切替
えられる。
Conventionally, replacement memory is switched from normal memory when an error correction circuit (ECC) detects an error in data read from a storage device in response to an access request from a channel device, CPU, or the like.

つまり、第1図に示すように、記憶装置2に対
するCPU又はチヤネルなどのアクセス要求源1
,12…1nにより記憶モジユール3より読み出
されたデータに、記憶制御部4で誤りが検出され
た場合に通常メモリから交替メモリへ切替えが実
行される。
In other words, as shown in FIG. 1, an access request source 1 such as a CPU or a channel to the storage device 2
When the storage control unit 4 detects an error in the data read out from the storage module 3 by 1, 1 2 . . . 1n, switching from the normal memory to the alternate memory is executed.

第2図を用いて従来の切替方式を一層詳しく説
明しよう。
The conventional switching method will be explained in more detail using FIG.

第2図において、101,102,…10oは、
アクセス要求源11,12,…1oに対応する起動
信号(GO)であり、セレクタ30に入力され
る。セレクタ30においては、起動信号の優先的
選択制御を行い、その出力11は、アドレス/制
御回路31と32に入力される。31は通常メモ
リのアドレス/制御回路であり、32は交替メモ
リのそれである。31,32の出力12,13に
より、通常メモリ33、交替メモリ34が駆動さ
れる。それから読出されたデータ14,15は、
各々データレジスタ35,36に格納される。一
方、アクセス要求源11,12…,1oに対応する
書込みデータ201,202,…20oは、セレク
タ40に入力され、その出力21は、通常メモリ
用書込みデータレジスタ41と、セレクタ42と
に入力される。セレクタ42に於いては、データ
21中の交替すべきビツト位置を、後述する交替
制御レジスタ39の出力19により選択出力し、
交替メモリ用書込みデータレジスタ43に格納す
る。レジスタ41,43の出力22,23は、通
常メモリ33、交替メモリ34に入力され、アド
レス/制御回路31,32の起動で、データが書
込まれる。さて、今通常メモリ33に誤りがない
としよう。このような場合は、交替制御レジスタ
39の出力19により、セレクタ37において、
通常メモリ用読出しデータレジスタ35の出力1
6と交替メモリ用読出しデータレジスタ36の出
力17とのうち、出力16が選ばれて出力され
る。回路42および32においては、これらの回
路の動作を実行しても抑止しても構わないセレク
タ37の出力18は、誤り訂正回路38に入力さ
れ、38に於ては、誤りの有無の検出と訂正を実
行し、出力24は、読出しデータ送出回路44に
入力され要求源11,12,…1oに対応した読出
しデータ251,…25oを送出すると同時に、交
替制御レジスタ39に対し、交替ビツトロケーシ
ヨンの情報を通知する。
In Figure 2, 10 1 , 10 2 ,...10 o are
This is a start signal (GO) corresponding to the access request sources 1 1 , 1 2 , . . . 1 o and is input to the selector 30 . The selector 30 performs preferential selection control of the activation signal, and its output 11 is input to address/control circuits 31 and 32. 31 is an address/control circuit for the normal memory, and 32 is that for the alternate memory. The outputs 12 and 13 of 31 and 32 drive the normal memory 33 and the alternate memory 34. The data 14 and 15 read from it are
The data are stored in data registers 35 and 36, respectively. On the other hand, the write data 20 1 , 20 2 , . The signal is input to the selector 42. The selector 42 selects and outputs the bit position to be replaced in the data 21 using the output 19 of the replacement control register 39, which will be described later.
The data is stored in the write data register 43 for spare memory. The outputs 22 and 23 of the registers 41 and 43 are input to a normal memory 33 and an alternate memory 34, and data is written therein when the address/control circuits 31 and 32 are activated. Now, let us assume that there is no error in the normal memory 33. In such a case, the output 19 of the alternation control register 39 causes the selector 37 to
Output 1 of normal memory read data register 35
6 and the output 17 of the read data register 36 for spare memory, the output 16 is selected and output. In the circuits 42 and 32, the output 18 of the selector 37, which can execute or inhibit the operation of these circuits, is input to an error correction circuit 38, which detects whether or not there is an error. The correction is executed, and the output 24 is input to the read data sending circuit 44 and sends out the read data 25 1 , ... 25 o corresponding to the request sources 1 1 , 1 2 , ... 1 o , and at the same time, the output 24 is sent to the alternation control register 39. , to notify information on alternate bit locations.

このような状態で、アクセス要求源11,12
…,1oより、書込み又は読出しを実行する訳で
ある。
In this state, access request sources 1 1 , 1 2 ,
..., 1 o , writing or reading is executed.

ここで、上述したアクセス態様で動作している
とき、通常メモリ33から読出したデータに誤り
が発生したとしよう。該誤りは誤り訂正回路38
により確認されることは言うまでもない。そうす
ると、交替制御レジスタ39においては、交替ビ
ツトロケーシヨン情報を、その出力19に送出
し、これによりセレクタ42においては、データ
21より所与のビツトを選択し、セレクタ37に
おいては、出力16のうちの所与のビツトを出力
17より選択し、かつ、アドレス/制御回路32
においては、出力11の起動を可能ならしめる。
かくして、通常メモリに発生した誤りは、交替メ
モリにこれが代行をせしめるための切替を行うこ
とにより、システムからとり除かれることにな
る。しかし、上述の従来方式においては、アクセ
ス要求源によりアクセスされる読出された記憶装
置の番地の誤りしか交替の対象になつていないた
め、アクセスされない番地に内在している誤りは
放置されるという欠点がある。更には又、1処理
サイクル中に切替動作を行なうための時間が固定
的に含まれる場合において、例えば交替動作が行
なわれない場合はデータ転送効率の低下を招きア
クセス源よりみてアクセス時間が伸びるという欠
点がある。また、通常アクセスの1処理サイクル
に交替動作のための時が含まれず、交替動作の対
象となるエラーが検出されたときのみアクセス時
間を伸ばすことが考えられるが、これは制御が複
雑になる。
Let us now assume that an error occurs in the data read from the normal memory 33 while operating in the access mode described above. The error is detected by the error correction circuit 38
Needless to say, this is confirmed by. Then, the replacement control register 39 sends the replacement bit location information to its output 19, the selector 42 selects a given bit from the data 21, and the selector 37 selects a given bit from the output 16. select a given bit from output 17 and address/control circuit 32
In this case, activation of the output 11 is enabled.
In this way, errors occurring in the normal memory can be removed from the system by switching to the spare memory to take over. However, in the above-mentioned conventional method, only errors in addresses of the storage device that are read and accessed by the access request source are subject to replacement, so errors inherent in addresses that are not accessed are left unattended. There is. Furthermore, in the case where one processing cycle includes a fixed amount of time for performing a switching operation, for example, if the switching operation is not performed, the data transfer efficiency decreases and the access time increases from the perspective of the access source. There are drawbacks. Furthermore, it is conceivable that one processing cycle of normal access does not include time for a replacement operation, and the access time is extended only when an error that is a target of the replacement operation is detected, but this would complicate control.

本発明は、上記欠点を除去し、記憶装置のすべ
ての番地に対応する番地に潜在する誤りを交替の
対象とし、かつアクセス要求源よりはアクセスタ
イムの伸長をきたさない交替メモリへの交替制御
方式を提供するものである。
The present invention eliminates the above-mentioned drawbacks, provides a replacement control method for replacement memory that targets errors latent in addresses corresponding to all addresses of a storage device, and does not cause an increase in access time compared to an access request source. It provides:

そこで本発明は、アクセス要求源からのアクセ
ス要求に対応して読み出されたデータに対し、記
憶制御部にて誤りが検出された場合に通常メモリ
から交替メモリに切り替える。交替メモリの切替
制御方式において、前記通常メモリの全番地に対
応する番地を巡回的に生成し、且つ前記アクセス
要求源からのアクセス要求動作とは独立に動作す
る巡回アクセス生成回路を設け、該アクセス要求
源からのアクセス要求に加えて該巡回アクセス生
成回路より常時所定周期で発生されるアクセス要
求を前記記憶制御部で処理し、上記通常メモリの
当該エラーの代替えとして上記交替メモリを使用
する場合は、該巡回アクセス生成回路よりのアク
セス要求により読み出されたデータにエラーが発
生した時のみ行なうことを特徴とする。
Therefore, the present invention switches from the normal memory to the spare memory when the storage control unit detects an error in data read in response to an access request from an access request source. In the alternate memory switching control system, a cyclic access generation circuit is provided that cyclically generates addresses corresponding to all addresses of the normal memory and operates independently of an access request operation from the access request source, and In addition to the access requests from the request source, the storage control unit processes access requests that are always generated at a predetermined period from the cyclic access generation circuit, and the spare memory is used as a replacement for the error in the normal memory. , is characterized in that it is performed only when an error occurs in the data read by the access request from the cyclic access generation circuit.

第3図、第4図を用いて、本発明の動作を説明
しよう。
The operation of the present invention will be explained using FIGS. 3 and 4.

第3図においては、1〜3は第1図を全く同じ
であり、巡回アクセス生成回路51が設けられて
いる点およびアクセス要求源11〜1oに加えて巡
回アクセス生成回路51よりのアクセス要求も記
憶制御部50において処理する点が異る。更に、
回路51は所定周期でアクセス要求を発信し、制
御部50に於ては、高い優先度で選択制御を行
い、かつ回路51よりのアクセスで読み出された
データに誤りが検出された場合、かつこの場合だ
けを交替メモリへの切替対象とする点が、本発明
の従来発明と根本的に異る点である。
In FIG. 3, 1 to 3 are completely the same as in FIG. 1, except that a cyclic access generation circuit 51 is provided, and in addition to access request sources 1 1 to 1 The difference is that requests are also processed in the storage control unit 50. Furthermore,
The circuit 51 issues an access request at a predetermined period, and the control unit 50 performs selection control with a high priority, and if an error is detected in the data read by the access from the circuit 51, and The present invention is fundamentally different from conventional inventions in that only this case is targeted for switching to the spare memory.

第4図にて、本発明の動作を一層詳しく説明し
よう。
Referring to FIG. 4, the operation of the present invention will be explained in more detail.

第2図と同一番号の回路、出力線は第2図と全
く同一の動作である。巡回アクセス生成回路10
0が設けられており、この出力10pがセレクタ
30および交替制御レジスタ39に入力されてい
る点が異る。本回路100においては、通常メモ
リの全番地に対応した番地を、順次歩進しつつ定
期的にアクセスを発生するものである。
Circuits and output lines with the same numbers as in FIG. 2 operate exactly the same as in FIG. Cyclic access generation circuit 10
0 is provided, and the difference is that this output 10p is input to the selector 30 and the alternation control register 39. In this circuit 100, accesses are periodically generated while sequentially incrementing addresses corresponding to all addresses in the normal memory.

この回路の構成は、カウンタ等の通常の論理回
路で容易に組立てることができる極く一般的回路
であるのでこれ以上述べない。回路100により
発生せしめられたアクセス要求10pにより通常
メモリ33より読出したデータに誤りがあること
が、誤り訂正回路38において認識されるや、前
述の従来方式と同じ手順で交替メモリ34の側へ
切替る。通常のアクセス要求源11,12,…1o
による読出しデータに誤りがあろうとも、誤り訂
正回路38においては、誤りの有無検出および訂
正を行うのみで、交替メモリへの切替制御は一切
行なわない。
The configuration of this circuit is a very general circuit that can be easily assembled using ordinary logic circuits such as counters, so it will not be described further. When the error correction circuit 38 recognizes that there is an error in the data read from the normal memory 33 due to the access request 10p generated by the circuit 100, it switches to the alternate memory 34 using the same procedure as the conventional method described above. Ru. Normal access request source 1 1 , 1 2 ,...1 o
Even if there is an error in the read data, the error correction circuit 38 only detects the presence or absence of the error and corrects it, and does not control switching to the alternate memory at all.

以上述べた本発明に拠れば、通常メモリに内在
している誤りに対し、アクセス要求源よりのアク
セスの有無に拘わらず交替メモリへ切替るので、
記憶装置の誤りが一掃されるばかりでなく、通常
のアクセス源よりのアクセスタイムが、交替メモ
リへの切替処理のために伸長するという欠点をの
がれることができるという利点がある。
According to the present invention described above, in response to an error inherent in the normal memory, switching to the alternate memory is performed regardless of whether or not there is an access from the access request source.
There is an advantage that not only errors in the storage device are eliminated, but also the disadvantage that the access time from the normal access source is lengthened due to the process of switching to the alternate memory can be avoided.

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

第1図、第2図は一従来例の交替制御を発明す
るためのブロツク図、第3図、第4図は本発明の
一実施例交替制御を説明するためのブロツク図で
ある。 30,37,40,42……セレクタ、31,
32……アドレス/制御回路、33……通常メモ
リ、34……交替メモリ、35,36,41,4
3……データレジスタ、38……誤り訂正回路、
39……交替制御レジスタ、44……データ送出
回路、100……巡回アクセス生成回路。
1 and 2 are block diagrams for inventing a conventional alternation control, and FIGS. 3 and 4 are block diagrams for explaining an embodiment of alternation control of the present invention. 30, 37, 40, 42...Selector, 31,
32...Address/control circuit, 33...Normal memory, 34...Alternative memory, 35, 36, 41, 4
3...Data register, 38...Error correction circuit,
39...Alternative control register, 44...Data sending circuit, 100...Cyclic access generation circuit.

Claims (1)

【特許請求の範囲】 1 アクセス要求源からのアクセス要求に対応し
て読み出されたデータに対し、記憶制御部にて誤
りが検出された場合に通常メモリから交替メモリ
に切り替える、交替メモリの切替制御方式におい
て、 前記通常メモリの全番地に対応する番地を巡回
的に生成し、且つ前記アクセス要求源からのアク
セス要求動作とは独立に動作する巡回アクセス生
成回路を設け、該アクセス要求源からのアクセス
要求に加えて該巡回アクセス生成回路より常時所
定周期で発生されるアクセス要求を前記記憶制御
部で処理し、上記通常メモリから交替メモリへの
切り替え制御は、該巡回アクセス生成回路よりの
アクセス要求により読み出されたデータにエラー
が発生した時のみ行なうことを特徴とする交替メ
モリの切替制御方式。
[Claims] 1. Switching of the spare memory, which switches from the normal memory to the spare memory when an error is detected in the storage control unit in data read in response to an access request from an access request source. In the control method, a cyclic access generation circuit is provided that cyclically generates addresses corresponding to all addresses of the normal memory and operates independently of the access request operation from the access request source, and In addition to access requests, the storage control unit processes access requests that are always generated at predetermined intervals from the cyclic access generation circuit, and the switching control from the normal memory to the alternate memory is performed based on the access requests from the cyclic access generation circuit. A switching control method for a spare memory is characterized in that switching is performed only when an error occurs in data read by.
JP8238080A 1980-06-18 1980-06-18 Switching control system for substitution memory Granted JPS578998A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8238080A JPS578998A (en) 1980-06-18 1980-06-18 Switching control system for substitution memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8238080A JPS578998A (en) 1980-06-18 1980-06-18 Switching control system for substitution memory

Publications (2)

Publication Number Publication Date
JPS578998A JPS578998A (en) 1982-01-18
JPS648863B2 true JPS648863B2 (en) 1989-02-15

Family

ID=13772967

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8238080A Granted JPS578998A (en) 1980-06-18 1980-06-18 Switching control system for substitution memory

Country Status (1)

Country Link
JP (1) JPS578998A (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5517857A (en) * 1978-07-25 1980-02-07 Hitachi Ltd Ic memory trouble switching system

Also Published As

Publication number Publication date
JPS578998A (en) 1982-01-18

Similar Documents

Publication Publication Date Title
KR102350538B1 (en) DDR memory error recovery
CN108701081B (en) Apparatus and method for simultaneously accessing multiple partitions of a non-volatile memory
JP5032027B2 (en) Semiconductor disk control device
EP0138964B1 (en) Apparatus for controlling access to a memory
US8086939B2 (en) XOR circuit, RAID device capable of recovering a plurality of failures and method thereof
US8429496B2 (en) Semiconductor memory device and error correcting method
JP2004523049A (en) Method of using a RAM buffer with multiple access in a flash-based storage system
KR20190003591A (en) Recovering after an integrated package
CN1963950A (en) Semiconductor storage device equipped with ecc function
JP4966404B2 (en) MEMORY CONTROL DEVICE, STORAGE DEVICE, AND MEMORY CONTROL METHOD
US7689895B2 (en) On-the fly error checking and correction CODEC system and method for supporting non-volatile memory
JP2006185535A (en) Semiconductor memory device
US8176388B1 (en) System and method for soft error scrubbing
JP4745613B2 (en) Information processing apparatus and information processing method
US6360307B1 (en) Circuit architecture and method of writing data to a memory
JPS648863B2 (en)
WO2012014505A1 (en) Nonvolatile memory and storage device
JPS6129024B2 (en)
US7917826B2 (en) Error correction apparatus and method for data stored in memory
JPS58199498A (en) Memory system
JPS6024492B2 (en) memory system
JPH04351764A (en) Magnetic disk device
CN117873390A (en) FC-2 layer network data recording method of comprehensive processing platform
JPS6127781B2 (en)
JPH0520215A (en) Information processor