JPH0363097B2 - - Google Patents
Info
- Publication number
- JPH0363097B2 JPH0363097B2 JP56185970A JP18597081A JPH0363097B2 JP H0363097 B2 JPH0363097 B2 JP H0363097B2 JP 56185970 A JP56185970 A JP 56185970A JP 18597081 A JP18597081 A JP 18597081A JP H0363097 B2 JPH0363097 B2 JP H0363097B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- access
- buffer memory
- error
- storage unit
- 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 - Lifetime
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0706—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
- G06F11/0727—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a storage system, e.g. in a DASD or network based storage system
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Description
【発明の詳細な説明】
(1) 発明の技術分野
本発明は大容量の記憶部など、比較的長時間に
わたりアクセスがされずデータに誤りを発生した
時も、それを記憶部制御装置において検出し、且
つ訂正できる記憶部データの誤り訂正方式に関す
る。[Detailed Description of the Invention] (1) Technical Field of the Invention The present invention provides a method for detecting errors in data in a large-capacity storage unit, etc., in a storage unit control device even when the data is not accessed for a relatively long time and an error occurs. The present invention relates to an error correction method for storage data that can be corrected.
(2) 技術の背景
大容量のバツフアメモリを主記憶装置とは別個
に有する情報処理システムにおいては、データが
バツフアメモリ内に存在する事が多いため、主記
憶装置に対するアクセス数は少なくなる。そのよ
うなバツフアメモリを有するシステムにおいて
は、記憶装置に対しα線などの影響によりデータ
に誤りが生じると長期間エラー訂正がなされず、
放置される事になり、訂正不能エラーとなること
が多くなる。(2) Background of the Technology In information processing systems that have a large-capacity buffer memory separate from the main memory, data often resides in the buffer memory, so the number of accesses to the main memory is small. In systems with such buffer memory, if an error occurs in the data due to the influence of alpha rays on the storage device, the error will not be corrected for a long time, and the error will not be corrected for a long time.
As a result, uncorrectable errors often occur.
(3) 従来技術と問題点
一般に記憶装置のデータにはSEC−DED(1ビ
ツトエラー訂正−2ビツトエラー検出)方式のチ
エツクビツトを附しているなどのため、データを
アクセスしたときデータについてその都度チエツ
クを行い、誤りがあれば公知の1ビツトエラー訂
正回路により訂正している。(3) Prior art and problems Generally, data in a storage device is attached with a check bit using the SEC-DED (1-bit error correction-2-bit error detection) method, so it is difficult to check the data each time it is accessed. If there is an error, it is corrected using a known 1-bit error correction circuit.
しかし、前述の主記憶装置のようにアクセスさ
れる機会が少ないときは、一旦発生したエラーが
そのまま保留され、更にその後同一データブロツ
クに再び誤りの発生することが起きる。 However, when there are few access opportunities, such as in the case of the main memory described above, an error that has occurred once is deferred, and furthermore, an error may occur again in the same data block.
その場合は、1ビツトエラー訂正回路によつて
訂正することが出来なくなる。 In that case, it becomes impossible to correct the error using the 1-bit error correction circuit.
また、プログラム等でこれを行うと、中央処理
装置は、本来の動作以外にデータチエツクのため
特別に命令解読と制御の動作を行う必要がある。 Furthermore, if this is done by a program or the like, the central processing unit must perform special command decoding and control operations for data checking in addition to its original operations.
(4) 発明の目的
本発明の目的は前述の欠点を改善し、記憶部制
御装置内に記憶部に対するアクセス発生回路・デ
ータ誤り訂正回路、バツフアメモリなどを設け、
記憶部にバーストエラーが発生した時は、その領
域をバツフアメモリを介して予備領域に切換える
ことにより、記憶部制御装置内においてデータ誤
り訂正のできる方式を提供する。そして、本発明
は、バーストエラーが発生して、予備領域にデー
タを切換えた時、その切換えられた領域のデータ
を保証する必要があるが、その際の動作を簡単な
構成で行わしめるものである。(4) Purpose of the Invention The purpose of the present invention is to improve the above-mentioned drawbacks, provide a storage section access generation circuit, a data error correction circuit, a buffer memory, etc. in a storage section control device,
When a burst error occurs in a storage section, the area is switched to a spare area via a buffer memory, thereby providing a system that can correct data errors within a storage section control device. The present invention is designed to perform operations with a simple configuration, although it is necessary to guarantee the data in the switched area when a burst error occurs and the data is switched to the spare area. be.
(5) 発明の構成
上述の目的を達成するために、本発明は、記憶
部と、それを制御する記憶部制御装置と、記憶部
内データにビツトの誤りを検出した時、誤りを訂
正する訂正回路とを有する情報処理装置におい
て、パトロールアクセス発生回路と、前記パトロ
ールアクセスによつて記憶部からアクセスされた
データのチエツク回路と、バツフアメモリとを具
備し、前記パトロールアクセス発生回路は、アク
セスを行い、前記アクセスを行うアドレスのデー
タが、前記バツフアメモリになかつた場合は、記
憶部からのデータをデータチエツク回路、訂正回
路を通じてバツフアメモリに書込み、且つバツフ
アメモリが該アドレスのデータを有していた場合
は、記憶部をアクセスして読出されたデータをデ
ータチエツク回路でチエツクし、訂正回路を通じ
てバツフアメモリに書込むと共にバツフアメモリ
から読出されたデータを記憶部に書き込むという
アクセスを行い、前記パトロールアクセス発生回
路によるアクセス動作によつて前記データチエツ
ク回路はデータのワード内のエラー位置を検出
し、予め決められたメモリの交替単位内に複数の
エラーが検出された時は、前記メモリを交替し、
その後に、前記パトロールアクセス発生回路のア
クセスを行うことによつて、バツフアメモリを介
して交替されたメモリのデータを保証する構成と
する。(5) Structure of the Invention In order to achieve the above object, the present invention includes a storage unit, a storage unit control device that controls the storage unit, and a correction system that corrects the error when a bit error is detected in data in the storage unit. an information processing device comprising: a patrol access generation circuit; a circuit for checking data accessed from a storage unit by the patrol access; and a buffer memory; the patrol access generation circuit performs access; If the data at the address to be accessed is not stored in the buffer memory, the data from the storage section is written to the buffer memory through a data check circuit and a correction circuit, and if the buffer memory has data at the address, the data is stored in the buffer memory. The data read out by accessing the buffer memory is checked by a data check circuit, and written to the buffer memory through a correction circuit, and the data read from the buffer memory is written to the storage part. Thus, the data check circuit detects error locations within a word of data, and when multiple errors are detected within a predetermined memory replacement unit, replaces the memory;
Thereafter, by accessing the patrol access generation circuit, data in the memory replaced via the buffer memory is guaranteed.
(6) 発明の実施例
以下、図面に示す本発明の実施例について説明
する。第1図に示すシステム全体図において、記
憶部制御装置MCU内には記憶部MSUに対するア
クセス発生回路ACG、記憶部MSUからのデータ
のチエツク回路DCH、アクセス優先順位を決定
する回路PRTとデータの誤り訂正回路CRTを具
備している。優先順位決定回路PRTでは中央処
理装置CPU及びチヤネルCHPからのアクセスに
前記アクセス発生回路ACGからのアクセスを加
え、優先順位を決定している。また、第1図には
バツフアメモリMCUBM201が備えられてお
り、これは中間バツフアともGSU(グローバル・
ストレージ・ユニツト)とも言われるもので、主
記憶装置と、CPU内のキヤツシユメモリとの間
に位置するバツフアである(中間バツフアに関し
ては、特開昭56−19575号公報の記載事項が知ら
れている)。(6) Embodiments of the invention Hereinafter, embodiments of the invention shown in the drawings will be described. In the overall system diagram shown in FIG. 1, the storage controller MCU includes an access generation circuit ACG for the storage MSU, a data check circuit DCH from the storage MSU, a circuit PRT for determining access priority, and a circuit PRT for determining access priority. Equipped with a correction circuit CRT. The priority order determination circuit PRT determines the priority order by adding the accesses from the access generation circuit ACG to the accesses from the central processing unit CPU and the channel CHP. In addition, FIG. 1 is equipped with a buffer memory MCUBM201, which is also an intermediate buffer and GSU (global).
It is also called a storage unit) and is a buffer located between the main storage device and the cache memory in the CPU. ing).
アクセス発生回路ACG、データチエツク回路
DCHなどの構成詳細図を第2図に、その部分的
状態遷移図を第3図に示す。 Access generation circuit ACG, data check circuit
A detailed diagram of the configuration of the DCH etc. is shown in FIG. 2, and a partial state transition diagram thereof is shown in FIG.
第2図において、PTL212はパトロール制
御回路を示し、後述するように主としてアクセス
発生回路ACGで構成されるが、当初はリセツト
されていてアイドル状態IDLにあり、アクセスは
発生されない。 In FIG. 2, PTL 212 indicates a patrol control circuit, which is mainly composed of an access generation circuit ACG as described later, but is initially reset and in an idle state IDL, and no access is generated.
次に、サービスプロセツサSVPの指示により
起動がかけられると、アイドル状態からのデータ
チエツク状態DTCに移り、ポートPAT内に含ま
れるパトロール用アドレスに“0”が設定され
る。優先順位決定回路PRT220では、パトロ
ール制御回路からのアクセスを選択し、ポート
PATが選ばれた時、データパイプラインT1〜
T6に投入される。 Next, when activated in response to an instruction from the service processor SVP, the DTC shifts from the idle state to the data check state, and "0" is set in the patrol address contained in the port PAT. The priority determination circuit PRT220 selects access from the patrol control circuit and
When PAT is selected, data pipeline T1~
Injected into T6.
アドレスに対するデータのバツフアメモリ
MCUBM201上での存否に係わらず、このア
クセスは記憶部MSUへのアクセス制御用ポート
MP0にパイプラインT3から入力され、記憶部
MSUにアクセスされる。また、記憶部MSUから
データが送られてくるタイミングに合わせ、ポー
トLBを通じて再びパイプラインに投入され、そ
の後の動作を制御する。 Buffer memory of data for address
Regardless of whether it exists on the MCUBM201, this access is to the access control port to the storage MSU.
Input from pipeline T3 to MP0, storage section
MSU is accessed. Also, in accordance with the timing when data is sent from the storage unit MSU, it is inputted into the pipeline again through port LB, and the subsequent operation is controlled.
パトロールでの上記アクセスは、以下のパトロ
ールアクセスが行われる。記憶部制御装置のバツ
フアメモリMCUBMに該アドレスのデータが無
かつた場合は、記憶部MSUからのデータをポー
トDRに入力し、データチエツク回路DCH20
6、データ訂正回路CRT218を通じてバツフ
アメモリMCBMに書き込む。バツフアメモリ
MCUBMが該アドレスを有していた場合、前述
の動作に加え、バツフアメモリ内のデータをセレ
クタSEL202を経てポートDR204に入力し、
次にデータチエツク回路DCH206、データ訂
正回路CRT208を経て、誤りの無いデータと
して記憶部に書き込む。バツフアメモリ
MCUBM201にデータがある場合に、記憶部
MSUにデータを書き込むのは正しいデータを反
映させておく為である。 The above-mentioned patrol access is performed as follows. If there is no data at the address in the buffer memory MCUBM of the storage controller, the data from the storage unit MSU is input to the port DR, and the data check circuit DCH20
6. Write to buffer memory MCBM through data correction circuit CRT218. buffer memory
If the MCUBM has the address, in addition to the above operations, it inputs the data in the buffer memory to the port DR204 via the selector SEL202,
Next, it passes through a data check circuit DCH206 and a data correction circuit CRT208, and is written into the storage section as error-free data. buffer memory
If there is data in MCUBM201, the storage section
The purpose of writing data to the MSU is to reflect the correct data.
記憶部MSUからのデータに、誤りが検出され
ない場合は、第3図の状態図において||
となるため、再びデータチエツクDTC状態に入
力される。この場合、記憶部MSU内のアドレス
設定例を第4図に示し、アドレスをチエツクして
行く順序を第5図に示す。誤りが検出されないと
きは第5図Aに示す順序となる。 If no error is detected in the data from the storage unit MSU, in the state diagram shown in Figure 3, | |
Therefore, the data check DTC state is entered again. In this case, an example of address setting in the storage unit MSU is shown in FIG. 4, and the order in which addresses are checked is shown in FIG. When no error is detected, the order is as shown in FIG. 5A.
若し、記憶部MSUからのデータについて誤り
が検出されると、その位置情報が第2図のレジス
タEBL208に設定され、またデータチエツク
回路DCH206から出ている経路SERにより、
パトロール制御回路PTLに対し誤りの検出され
たことを報告する。これ以後パトロール制御回路
PTLの状態は、第3図においてバーストチエツ
ク状態BST(ステツプ2)に移る。 If an error is detected in the data from the storage unit MSU, its location information is set in the register EBL208 in FIG.
Reports the detected error to the patrol control circuit PTL. From now on, the patrol control circuit
The state of PTL moves to burst check state BST (step 2) in FIG.
バーストチエツク状態BST(ステツプ2)で
は、データチエツク状態DTC(ステツプ1)と同
様の動作で記憶部MSUにアクセスする。記憶部
からのデータに誤りが検出されると、誤りの位置
情報がレジスタEBL208の内容と比較され、
一致回路CIN210において一致と判断したとき
パトロール制御回路PTL212内においてバー
スト検出ビツトBST・DRT=“1”と記憶して
おく。 In the burst check state BST (step 2), the storage unit MSU is accessed in the same manner as in the data check state DTC (step 1). When an error is detected in the data from the storage unit, the location information of the error is compared with the contents of the register EBL 208,
When the match circuit CIN210 determines a match, the burst detection bit BST·DRT="1" is stored in the patrol control circuit PTL212.
以上の1アドレスのチエツクが完了すると、ア
ドレスは第4図の64B方向アドレスと示す方向
に加算され、且つ第3図のバーストチエツク状態
BST(ステツプ2)に入力される。バーストチエ
ツク状態では4MBのアドレス領域を全てチエツ
クするが、パトロール制御回路PTL212内で
はアクセス回数を計数しており、その値によつて
バーストチエツク状態を終了し他の状態に移る
か、どうかを制御する。ここで第4図について説
明すると、〇付き数字がそれぞれ1つのメモリセ
ルを表している。第4図のメモリ構成において
と示すものが図面の奥行き方向(72ビツト)のデ
ータを示す。72ビツト中8ビツトはECC符号の
為に使われており、データは64ビツト(8バイ
ト)である。中央処理装置CPUは、1バイトに
1アドレスを附している。しかし実際のメモリの
読出し単位は8バイトである。従つてとは8
バイト×8で64バイト分のアドレス差があること
になり、よりの方向を64B方向と称する。ま
た4MB方向とは、図中の太線が1チツプのメモ
リで64kビツトの構成であり、とは、64バイ
ト×64k=4Mバイトの差があるので、より
の方向を4MB方向と称する。第4図において、
64B方向と示す方向に見て各メモリセルは64B
(バイト)分ずつ離れたアドレスを有しているか
ら、当初のバーストチエツク状態でアクセスする
時、当初のメモリセルにアドレスを設定した以後
は64B方向に同一アドレス数を順次加算すること
で、64B方向の全メモリセルを容易にアクセスす
ることが出来る。また4MB方向に見た各メモリ
セルについてもアドレス関係は64B方向と同様に
なつている。一つのアドレスは72ビツトのデータ
から構成されている。そして図面の縦方向の各ア
ドレスの1ビツトずつが、1つのメモリ素子であ
る。前述したとおり図中では、太線で示した部分
である。 When the above check of one address is completed, the address is added in the direction shown as 64B direction address in FIG. 4, and the burst check state in FIG.
Input to BST (Step 2). In the burst check state, the entire 4MB address area is checked, but the patrol control circuit PTL 212 counts the number of accesses, and depending on this value, it is controlled whether or not to end the burst check state and move to another state. . Now, referring to FIG. 4, each circled number represents one memory cell. In the memory configuration of FIG. 4, the symbol indicates data in the depth direction (72 bits) of the drawing. 8 bits out of 72 bits are used for ECC code, and the data is 64 bits (8 bytes). The central processing unit CPU assigns one address to one byte. However, the actual memory read unit is 8 bytes. 8.
There is an address difference of 64 bytes (bytes x 8), and the direction of twist is called the 64B direction. Furthermore, the thick line in the figure indicates a 64k bit configuration with one chip of memory, and there is a difference of 64 bytes x 64k = 4 Mbytes, so the direction in which it twists is called the 4MB direction. In Figure 4,
Each memory cell is 64B when viewed in the direction shown as 64B direction.
(bytes) apart, so when accessing in the initial burst check state, after setting the address in the initial memory cell, by sequentially adding the same number of addresses in the 64B direction, All memory cells in one direction can be easily accessed. Furthermore, the address relationship for each memory cell viewed in the 4MB direction is the same as in the 64B direction. One address consists of 72 bits of data. One bit of each address in the vertical direction of the drawing corresponds to one memory element. As mentioned above, this is the part indicated by the thick line in the figure.
終了条件ENDが発生するときのアドレスは、
データチエツク状態DTCで誤りを検出したとき
のアドレスと同じである。このアドレスでは誤り
を再び検出しても無視する。終了条件ENDが発
生し、該状態での最後のアクセスが流れたとき
BST・DET=“0”ならば、アドレスを4MB方
向に加算してデータチエツク状態DTCに移る。
このときのアドレス順序を第5図Bに示してい
る。若し、BST・DET=“1”ならばアドレスを
64B方向に加算し待合状態WTに移る。待合状態
ではパトロール制御回路PTLからのサービスプ
ロセツサSVPに対し、4MBのアドレス領域内で
複数回の誤りを検出したことを報告すると。サー
ビスプロセツサはこの信号を受け取ると、レジス
タEBL208などの情報を分析することにより、
どの記憶部MSUのどの位置で誤り検出をしたか
を知り、その記憶部MSUのどのチツプを予備領
域に切り換えるかを指示する。 The address when the termination condition END occurs is
This is the same address used when an error is detected in the data check state DTC. Even if an error is detected again at this address, it will be ignored. When the end condition END occurs and the last access in that state occurs
If BST/DET="0", add the address in the 4MB direction and move to data check state DTC.
The address order at this time is shown in FIG. 5B. If BST・DET="1", the address
Add in direction 64B and move to waiting state WT. In the waiting state, the patrol control circuit PTL reports to the service processor SVP that multiple errors have been detected within the 4MB address area. When the service processor receives this signal, it analyzes the information in register EBL208, etc.
It knows at which location in which storage unit MSU the error was detected, and instructs which chip in that storage unit MSU should be switched to the spare area.
また、記憶部制御装置MCUに対して記憶部
MSUに再書込みし、誤り訂正することを指示す
る。パトロール制御回路PTLはこの指示を受け
取るとリリースゴー信号RLSGOの信号を発信
し、待合状態WT(第3図ステツプ3)からリリ
ース1状態RLS1(ステツプ4)に移る。 In addition, the storage unit control unit MCU
Instructs the MSU to rewrite and correct errors. When the patrol control circuit PTL receives this instruction, it transmits a release go signal RLSGO, and shifts from the waiting state WT (step 3 in FIG. 3) to the release 1 state RLS1 (step 4).
リリース1状態RLS1(ステツプ4)では、
データチエツク状態DTCと同様の動作で記憶部
MSUにアクセスし、同様にデータ訂正を行い、
バツフアメモリMCUBM201と記憶部MSUに
書込む。この場合アドレスは第5図における64B
方向に常に加算される。リリース1状態RLS1
からリリー2状態RLS2に移る。このときもア
ドレスは64B方向に加算される。 In release 1 state RLS1 (step 4),
Data check status The memory section operates in the same way as DTC.
Access the MSU and make data corrections as well.
Write to buffer memory MCUBM201 and storage unit MSU. In this case, the address is 64B in Figure 5.
Always added in the direction. Release 1 state RLS1
to Lily 2 state RLS2. At this time as well, the address is added in the 64B direction.
リリース1、リリース2状態では、前述したパ
トロールアクセスが行われる。前述したとおりパ
トロールアクセスでは、記憶部制御装置のバツフ
アメモリMCUBM201に該アドレスのデータ
が無かつた場合は、記憶部MSUからのデータを
ポートDRに入力し、データチエツク回路DCH2
06、データ訂正回路CRT218を通じてバツ
フアメモリMCUBM201に書き込む。バツフ
アメモリMCUBM201が該アドレスのデータ
を有していた場合、前述の動作に加え、バツフア
メモリ内のデータをセレクタSEL202を経てポ
ートDR204に入力し、次にデータチエツク回
路DCH206、データ訂正回路CRT218を経
て誤りの無いデータとして記憶部に書き込む。し
たがつてリリース1としてリリース2で2回のパ
トロールアクセスを行う。リリース1の状態での
1回目のパトロールアクセスでは、主として記憶
部MSUのデータを訂正してバツフアメモリ
MCUBM201に書き込む動作が行われる。リ
リース2状態RLS2では、リリース1状態RLS
1と同様のパトロールアクセスを行うので、主と
してバツフアメモリMCUBMの内容を記憶部
MSUに書き込む。 In the Release 1 and Release 2 states, the aforementioned patrol access is performed. As mentioned above, in patrol access, if there is no data at the address in the buffer memory MCUBM201 of the storage unit controller, the data from the storage unit MSU is input to the port DR, and the data check circuit DCH2
06. Write to buffer memory MCUBM201 through data correction circuit CRT218. If the buffer memory MCUBM201 has data at the address, in addition to the above operations, the data in the buffer memory is input to the port DR204 via the selector SEL202, and then passed through the data check circuit DCH206 and the data correction circuit CRT218 to correct the error. Write to the storage unit as missing data. Therefore, patrol access is performed twice in Release 1 and Release 2. The first patrol access in the state of Release 1 mainly involves correcting data in the storage unit MSU and updating the buffer memory.
An operation of writing to the MCUBM 201 is performed. In Release 2 state RLS2, Release 1 state RLS
Since the same patrol access as in 1 is performed, the contents of the buffer memory MCUBM are mainly stored in the storage section.
Write to MSU.
リリース2状態RLS2でもバーストチエツク
状態BSTと同様にアクセス数により終了条件を
作成し状態を変える。終了条件が発生するとアド
レスは4BM方向に加算され、データチエツク状
態に移り、以後再び記憶部MSUデータのチエツ
クを行う。以上のアドレス順序を第5図Cに示し
ている。 In the release 2 state RLS2, as in the burst check state BST, a termination condition is created based on the number of accesses and the state is changed. When the termination condition occurs, the address is incremented in the 4BM direction, the state moves to a data check state, and the storage MSU data is checked again. The above address order is shown in FIG. 5C.
上記の動作を第4図と第5図を照らし合わせて
説明する。 The above operation will be explained by comparing FIGS. 4 and 5.
アドレス、、のように上記パトロールア
クセスをする。 Address, , etc., and perform the above patrol access.
エラー検出があつた場合は、検出したアドレス
でアドレス加算の方向が変わり、、…の
方向にアクセスして、前記エラーが検出された位
置と同じビツト位置にエラーがあるかどうかが、
検出される。 When an error is detected, the direction of address addition changes according to the detected address, accesses in the direction of..., and checks whether there is an error at the same bit position as the position where the error was detected.
Detected.
(この動作の詳しい説明は上述したとおりであ
る。ビツト位置はエラービツトロケーシヨン回路
EBL208に記憶されているので、一致回路
CUN210でビツト位置の一致が検出される。)
同じ位置にエラーがあつた時がバーストエラー
である。(The detailed explanation of this operation is as described above. The bit position is determined by the error bit location circuit.
Since it is stored in EBL208, the matching circuit
Matching of bit positions is detected by CUN210. ) A burst error occurs when an error occurs at the same location.
バーストエラーが検出されたら、その素子(素
子は、、で表されるアドレスの縦方向の72
ビツトの内のどれか一つの素子)がサービスプロ
セツサSVPによつてリプレースされる。 When a burst error is detected, the element (the element is
(any one element of the bits) is replaced by the service processor SVP.
次いで、本発明の特徴的なところであるリリー
スRLS1,RLS2の動作が行われる。 Next, release RLS1 and RLS2 operations, which are the characteristic feature of the present invention, are performed.
これは、単にパトロールアクセスを上記アドレ
ス、、…の方向に2回やつているだけであ
る。パトロールアクセスの動作は前述したとおり
である。 This simply makes patrol access twice in the direction of the above addresses, . . . . The operation of patrol access is as described above.
仮にリリースRLS1の時に、指定されたアド
レスのデータがバツフアMCUBM201に格能
されていないとすると、前述の定義通り、
「記憶部制御装置のバツフアメモリMCUBM
に該アドレスのデータが無かつた場合は、記憶部
MSUからのデータをポートDRに入力しデータチ
エツク回路DCH206、データ訂正回路CRT2
18を通じてバツフアメモリMCUBMに書き込
む」動作を行う。したがつてエラーが訂正された
ものがバツフアに入ることになる。 If, at the time of release RLS1, the data at the specified address is not stored in the buffer MCUBM 201, as defined above, "the buffer memory MCUBM of the storage controller
If there is no data at the address, the memory
Input data from MSU to port DR, data check circuit DCH206, data correction circuit CRT2
18 to the buffer memory MCUBM. Therefore, the error-corrected data will be added to the buffer.
次にこのデータはリリースRLS2の時にパト
ロールアクセスで前述したとおり、
「バツフアメモリMCUBMが該アドレスのデ
ータを有していた場合、前述の動作に加えバツフ
アメモリ内のデータをセレクタSEL202を経て
ポートDR204に入力し、次にデータチエツク
回路DCH206、データ訂正回路CRT218を
経て誤りの無いデータとして記憶部に書き込む」
動作がされる。したがつてパトロールアクセスを
2回行うとメモリを交替した後に、正しいデータ
が反映されることになる。従つて本発明ではバー
ストエラーを検出し、メモリを交替した後でのデ
ータ保証が、パトロールアクセス時と同じアクセ
スを2回行うことにより、簡単に行えるという効
果がある。また、同様なアクセスを行つているの
で、別々なアクセスを行う場合は、それ専用のア
アクセス制御や経路が必要となるのに対し、本発
明はその必要がない。 Next, this data is accessed as described above in the patrol access at the time of release RLS2. If the buffer memory MCUBM has data at the address, in addition to the above operation, the data in the buffer memory is input to the port DR204 via the selector SEL202. Then, the data is written into the storage section as error-free data via the data check circuit DCH206 and the data correction circuit CRT218. Therefore, if patrol access is performed twice, the correct data will be reflected after the memory is replaced. Therefore, the present invention has the advantage that data guarantee after detecting a burst error and replacing the memory can be easily performed by performing the same access twice as in the patrol access. Further, since similar accesses are performed, separate access control and routes would be required for separate accesses, but this is not necessary in the present invention.
なお、メモリチツプ(1素子)の置換は1ビツ
ト分について行われる。バーストエラーチエツク
は、エラービツト位置を特定するために行われ、
64ビツト/アドレス(図中の72ビツトはECCコ
ード8ビツトを含む)の何ビツト目にエラーが生
じるかという意味である。例えば複数のアドレス
で何れも10ビツト目にエラーが生じたとすれば、
その10ビツト目を構成しているメモリチツプが故
障しているので、別のチツプと交換される。 Note that the replacement of a memory chip (one element) is performed for one bit. Burst error check is performed to identify the error bit position.
It means at which bit of 64 bits/address (72 bits in the figure includes 8 bits of ECC code) an error occurs. For example, if an error occurs in the 10th bit of multiple addresses,
The memory chip that makes up the 10th bit is defective, so it will be replaced with another chip.
第6図は第2図のパトロール制御回路PTLの
内部構成を示し、アクセス発生回路ACGと2個
のタイミング回路などからなつている。タイミン
グ回路は、2個のカウンタU−CTR、L−CTR
で形成され、C−UP0,CRY0はそれぞれカウ
ンタU−CTRのカウントアツプ信号とキヤリ信
号、C−UP1,CRY1はカウンタL−CTRの
カウントアツプ信号とキヤリイ信号を示す。ま
た、PAT−RQはアクセス発生回路ACGに対し
て第2図のポートPATにアクセスを出力するこ
とを指示する信号、PATC−INCはバーストチエ
ツクBST、リリース1RLS1、リリース2RLS
2のカウントアツプを指示する信号である。 FIG. 6 shows the internal configuration of the patrol control circuit PTL of FIG. 2, which consists of an access generation circuit ACG, two timing circuits, and the like. The timing circuit consists of two counters, U-CTR and L-CTR.
C-UP0 and CRY0 indicate the count-up signal and carry signal of the counter U-CTR, respectively, and C-UP1 and CRY1 indicate the count-up signal and carry signal of the counter L-CTR. In addition, PAT-RQ is a signal that instructs the access generation circuit ACG to output an access to port PAT in Figure 2, and PATC-INC is a signal for burst check BST, release 1RLS1, release 2RLS.
This is a signal instructing a count up of 2.
データチエツク状態DTCでは、このアクセス
を少なくして中央処理装置CPU、及びチヤネル
CHPからのアクセスに与える影響を少なくした
いが、アクセス間隔を非常に大きくすることも出
来ず、適正な値を事前に決定しておくことは困難
である。そこで、カウンタU−CTRに対し任意
の値を初期値として設定することにより、任意の
アクセス間隔とすることが出来る。カウントアツ
プ信号C−UP1は“1”を設定しておくため、
カウンタL−CTRはクロツク毎にカウントアツ
プされ、キヤリCRY1が一定間隔で“1”とな
る。データチエツク状態DCTではカウンタU−
CTRのカウントアツプ信号C−UP0はキヤリ
CRY1が選択されており、カウンタU−CTRは
キヤリCR1によりカウントアツプされる。アク
セス指示信号PAT−RQにはキヤリCRY0が選
ばれており、キヤリ0が“1”のときPAT−RQ
は“1”となる。その時アクセス発生回路ACG
はアクセスを出力すると共に、カウンタU−
CTRに初期値を設定させる。したがつてPAT−
RQは初期値で定まる一定間隔で“1”となり、
アクセスすることになるから、初期値を変えれば
任意のアクセス間隔を得ることが出来る。次にバ
ーストチエツク状態、リリース1、リリース2状
態では検出された誤りに対する処理を早く行う必
要があるために、アクセス指示信号PAT−RQは
キヤリCRY1により発生するように選択器を切
換える。その結果アクセス間隔が短くなり、誤り
訂正は短時間で行われる。この時カウンタU−
CTRは使用しないので、このカウンタによりア
クセス数を計算する。バーストチエツク状態
BSTに入つたときカウンタU−CTRに“0”を
設定し、パイプラインT5からの信号によりアク
セスの流れたことが判ると、カウントアツプ指示
信号PAT−INCを“1”とし、カウントアツプ
を始める。そしてキヤリCRY0が発生したとき
が終了条件ENDであるから各状態の移動条件信
号に使用する。 In the data check state DTC, this access is reduced and the central processing unit CPU and channel
Although we would like to reduce the impact on accesses from CHP, it is not possible to make the access interval very large, and it is difficult to determine an appropriate value in advance. Therefore, by setting an arbitrary value as the initial value for the counter U-CTR, an arbitrary access interval can be set. Since the count up signal C-UP1 is set to “1”,
The counter L-CTR is counted up every clock, and the carry CRY1 becomes "1" at regular intervals. In data check state DCT, counter U-
CTR count-up signal C-UP0 is cancelled.
CRY1 is selected, and the counter U-CTR is counted up by the carry CR1. Carrier CRY0 is selected for the access instruction signal PAT-RQ, and when carrier 0 is "1", PAT-RQ
becomes “1”. At that time, access generation circuit ACG
outputs the access and also outputs the counter U-
Let CTR set the initial value. Therefore PAT−
RQ becomes “1” at regular intervals determined by the initial value,
Since it will be accessed, you can obtain any access interval by changing the initial value. Next, in the burst check state, release 1, and release 2 state, it is necessary to quickly process the detected error, so the selector is switched so that the access instruction signal PAT-RQ is generated by the carry CRY1. As a result, the access interval becomes shorter and error correction is performed in a shorter time. At this time, counter U-
Since CTR is not used, this counter is used to calculate the number of accesses. Burst check status
When entering BST, the counter U-CTR is set to "0", and when it is determined that an access has flown from the signal from the pipeline T5, the count-up instruction signal PAT-INC is set to "1" and the count-up starts. . Since the end condition END is when the carry CRY0 occurs, it is used as a movement condition signal for each state.
以上、本発明の実施例について説明したが、本
実施例でのバツフアメモリMCUBMはストアイ
ン(スワツプ)方式のバツフアを想定して説明し
た。 The embodiments of the present invention have been described above, assuming that the buffer memory MCUBM in this embodiment is a store-in (swap) type buffer.
リリース1を行うことにより、
(a) もともとパツフアに育つたデータについては
正しい値が記憶部MSUに戻され、
(b) バツフアに無かつたデータについては、正し
い値がバツフアに書き込まれる。 By performing Release 1, (a) correct values are returned to the storage unit MSU for data originally grown in the buffer, and (b) correct values are written to the buffer for data that was not present in the buffer.
このままでも、後者の(b)のデータはスワツプ方
式のバツフアであるから、後刻記憶部MSUにム
ーブアウトされるので、リリース2をする必要が
無いように見えるが、本発明では、(a)、(b)の場合
に関係なく、リリース2を行う。 Even if this is the case, the data in the latter (b) is a swap-type buffer and will be moved out to the storage unit MSU later, so it seems that there is no need to perform release 2, but in the present invention, (a), Regardless of (b), perform Release 2.
それはリリース1のみであると、(b)の場合のデ
ータがバツフアMCUBMから記憶部MSUにムー
ブアウトされる前に、再度パトロールアクセスさ
れた場合、そこで再度エラー検出され、バースト
チエツク、チツプ置換などの動作が行われてしま
うからである。また、(b)の場合のデータについて
は、記憶部MSU上で1ビツトエラー状態で放置
されることになり、2ビツトエラーになる可能性
があることから、リリース2を行つている。 In case (b), if the data is patrolled again before it is moved out from the buffer MCUBM to the storage MSU, an error will be detected again and burst check, chip replacement, etc. This is because the action will be performed. Furthermore, the data in case (b) will be left in a 1-bit error state on the storage unit MSU, and there is a possibility that a 2-bit error will occur, so release 2 is performed.
(7) 発明の効果
以上詳細に説明したように、本発明によると、
パトロールアクセスと同様のアクセスを繰り返す
ことにより、エラー検出時にチツプを交換した場
合に簡単にデータの訂正が出来る。(7) Effects of the invention As explained in detail above, according to the present invention,
By repeating access similar to patrol access, data can be easily corrected when replacing the chip when an error is detected.
第1図は本発明の実施例を示すシステム全体
図、第2図は第1図中の部分詳細説明図、第3図
は第2図の動作状態図、第4図は記憶部のアドレ
ス設定図、第5図はアクセス説明図、第6図は第
2図中のパトロール制御回路である。
Fig. 1 is an overall system diagram showing an embodiment of the present invention, Fig. 2 is a detailed explanatory diagram of a portion of Fig. 1, Fig. 3 is an operational state diagram of Fig. 2, and Fig. 4 is an address setting of the storage unit. 5 is an access explanatory diagram, and FIG. 6 is a patrol control circuit in FIG. 2.
Claims (1)
と、記憶部内データにビツトの誤りを検出した時
誤りを訂正する訂正回路とを有する情報処理装置
において、 パトロールアクセス発生回路と、前記パトロー
ルアクセスによつて記憶部からアクセスされたデ
ータのチエツク回路と、バツフアメモリとを具備
し、 前記パトロールアクセス発生回路は、アクセス
を行い、前記アクセスを行うアドレスのデータ
が、前記バツフアメモリになかつた場合は、記憶
部からのデータをデータチエツク回路、訂正回路
を通じてバツフアメモリに書込み、且つバツフア
メモリが該アドレスのデータを有していた場合
は、記憶部をアクセスして読み出されたデータを
データチエツク回路でチエツクし、訂正回路を通
じてバツフアメモリに書込むと共にバツフアメモ
リから読出されたデータを記憶部に書込むという
アクセスを行い、 前記パトロールアクセス発生回路によるアクセ
ス動作によつて前記データチエツク回路はデータ
のワード内のエラー位置を検出し、予め決められ
たメモリの交替単位内に複数のエラーが検出され
た時は、前記メモリを交替し、その後に、前記パ
トロールアクセス発生回路のアクセスを行うこと
によつて、バツフアメモリを介して交替されたメ
モリのデータを保証すること を特徴とする記憶部データの誤り訂正方式。[Scope of Claims] 1. In an information processing device having a storage unit, a storage unit control device that controls the storage unit, and a correction circuit that corrects an error when a bit error is detected in data in the storage unit, a patrol access generation circuit is provided. , a check circuit for data accessed from the storage unit by the patrol access, and a buffer memory, wherein the patrol access generation circuit performs an access and checks whether the data at the address to be accessed is not in the buffer memory. In this case, the data from the storage section is written to the buffer memory through a data check circuit and a correction circuit, and if the buffer memory has data at the address, the storage section is accessed and the read data is data checked. The data check circuit performs access by checking the data in the data word by the access operation by the patrol access generation circuit, and writes the data into the buffer memory through the correction circuit and writes the data read from the buffer memory into the storage unit. detecting the error position of the memory, and when a plurality of errors are detected within a predetermined memory replacement unit, replacing the memory, and then accessing the patrol access generation circuit; 1. An error correction method for storage data, characterized by guaranteeing data in a memory that is replaced via a buffer memory.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56185970A JPS5888896A (en) | 1981-11-19 | 1981-11-19 | Error correcting system for data at storage part |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56185970A JPS5888896A (en) | 1981-11-19 | 1981-11-19 | Error correcting system for data at storage part |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5888896A JPS5888896A (en) | 1983-05-27 |
| JPH0363097B2 true JPH0363097B2 (en) | 1991-09-30 |
Family
ID=16180057
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56185970A Granted JPS5888896A (en) | 1981-11-19 | 1981-11-19 | Error correcting system for data at storage part |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5888896A (en) |
-
1981
- 1981-11-19 JP JP56185970A patent/JPS5888896A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5888896A (en) | 1983-05-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4604750A (en) | Pipeline error correction | |
| US4884271A (en) | Error checking and correcting for read-modified-write operations | |
| US4456993A (en) | Data processing system with error processing apparatus and error processing method | |
| US8140940B2 (en) | Method and apparatus for controlling memory | |
| EP1206739B1 (en) | Methods and apparatus for correcting soft errors in digital data | |
| US4901228A (en) | Pipelined cache system using back up address registers for providing error recovery while continuing pipeline processing | |
| US10037246B1 (en) | System and method for memory control having self writeback of data stored in memory with correctable error | |
| US4317201A (en) | Error detecting and correcting RAM assembly | |
| JPS59162700A (en) | Computer system having dynamic memory | |
| JPH02206843A (en) | Defective data algorithm | |
| US4598402A (en) | System for treatment of single bit error in buffer storage unit | |
| CN115729746A (en) | A method for protecting stored data based on CRC and ECC | |
| JPH0122649B2 (en) | ||
| JPH0816483A (en) | Memory device control method | |
| US12253912B2 (en) | Memory including error correction circuit and operating method thereof | |
| JPH0363097B2 (en) | ||
| US20260086729A1 (en) | Systems, methods, and media for performing copyback operations | |
| CN113808642B (en) | Data access system and method for operating a data access system | |
| JPS6246358A (en) | Error processing system | |
| JPH08166891A (en) | Fault tolerant computer system | |
| JPH01309421A (en) | Error correction system | |
| JPH0675864A (en) | Memory error recovery system | |
| JPS6235146B2 (en) | ||
| JPS6235703B2 (en) | ||
| JPH0481953A (en) | Memory device |