JPH04241653A - Error correcting system - Google Patents

Error correcting system

Info

Publication number
JPH04241653A
JPH04241653A JP3003024A JP302491A JPH04241653A JP H04241653 A JPH04241653 A JP H04241653A JP 3003024 A JP3003024 A JP 3003024A JP 302491 A JP302491 A JP 302491A JP H04241653 A JPH04241653 A JP H04241653A
Authority
JP
Japan
Prior art keywords
bank
section
request
processor
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.)
Pending
Application number
JP3003024A
Other languages
Japanese (ja)
Inventor
Hiroshi Kikuchi
宏 菊池
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP3003024A priority Critical patent/JPH04241653A/en
Publication of JPH04241653A publication Critical patent/JPH04241653A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To lower the probability of occurring such a case that overlapping of one-bit errors results in a fatal two-bit error. CONSTITUTION:A used bank discriminating section 11 discriminates banks in a storing section used by a processor from the contents of requests in a request buffer 10. A bank busy managing section 15 manages the used state of each bank in the currently used storing section under the control of a main control section 14. A test request generating section 12 generates a test readout request to a vacant bank so that the request does not conflict with the access from the processor by discriminating the used state of each bank in the storing section from the outputted results of the discriminating section 11 and managing section 15. A write request generating section 13 generates a write request for correction when the section 13 detects a correctable error as a result of test readout.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はエラー訂正方式、特に、
記憶装置のエラー訂正方式に関する。
[Industrial Application Field] The present invention relates to an error correction method, in particular,
This invention relates to an error correction method for storage devices.

【0002】0002

【従来の技術】従来、この種のエラー訂正方式は、通常
のアクセスでエラーを検出した場合に訂正書込みを実施
する方式や、リフレッシュサイクル中にエラー検出・訂
正書込みを行う方式,パトロール方式の様にプロセッサ
等から定期的にエラー検出・訂正書込みを行う方式等が
ある。
[Prior Art] Conventionally, this type of error correction method includes a method in which corrective writing is performed when an error is detected during normal access, a method in which error detection and corrective writing is performed during a refresh cycle, and a patrol method. There is a method of periodically performing error detection and correction writing from a processor or the like.

【0003】0003

【発明が解決しようとする課題】上述した従来のエラー
訂正方式は、エラーが発生してからエラー発生箇所を検
出出来るまでの時間が比較的長時間を必要とする可能性
があり、放射線の発生源に近い場合などの悪い環境にお
いては1ビットエラーから1ビットエラーの重複による
致命的な2ビットエラーになる確率が高くなるという欠
点がある。
[Problems to be Solved by the Invention] The conventional error correction method described above may require a relatively long time from the occurrence of an error until the location of the error occurrence can be detected, and the generation of radiation may occur. In a bad environment such as when it is close to the source, there is a disadvantage that there is a high probability that a 1-bit error will turn into a fatal 2-bit error due to the duplication of 1-bit errors.

【0004】0004

【課題を解決するための手段】本発明のエラー訂正方式
は、2つ以上のバンクから成る記憶部と、前記バンクを
制御する複数のバンク制御部と、複数のバンク制御部と
プロセッサとのデータ転送及び各バンク制御部とバンク
ビジー管理部の制御を行う主制御部と、プロセッサから
のリクエストを受け取り保持するリクエストバッファと
、リクエストバッファ内のリクエスト内容によりプロセ
ッサの使用する記憶部のバンクを判断する使用バンク判
定部と、主制御部からの制御により現在の記憶部各バン
クの使用状況を管理するバンクビジー管理部と、使用バ
ンク判定部とバンクビジー管理部の出力結果により記憶
部各バンクの使用状況を見てプロセッサのアクセスと競
合しない様に空きバンクへのテスト読出し要求を発生す
るテスト要求発生部と、テスト読出しにより訂正可能エ
ラーを検出した場合訂正のための書込要求を発生する書
込み要求発生部とを含んで構成される。
[Means for Solving the Problems] The error correction method of the present invention includes a storage section consisting of two or more banks, a plurality of bank control sections that control the banks, and data between the plurality of bank control sections and a processor. A main control unit that controls transfer and each bank control unit and bank busy management unit, a request buffer that receives and holds requests from the processor, and determines the bank of the storage unit used by the processor based on the request contents in the request buffer. A bank busy management unit that manages the current usage status of each bank in the storage unit under the control of the bank usage determination unit and the main control unit, and a bank busy management unit that manages the usage status of each bank in the storage unit based on the output results of the bank usage determination unit and the bank busy management unit. A test request generation unit that monitors the situation and generates a test read request to an empty bank so as not to conflict with processor access, and a write request that generates a write request for correction when a correctable error is detected by test read. The generator includes a generating section.

【0005】[0005]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings.

【0006】第1図は本発明の一実施例を示すブロック
図である。通常プロセッサからのアクセスにおいて、記
憶装置1は入力端子2,出力端子3を介してプロセッサ
からのリクエスト,アドレス,コマンド等のリクエスト
情報を受け取り、また書込みデータ及び読出しデータの
転送を行う。入力端子3から入力したリクエスト情報は
、リクエストバッファ10に保持され主制御部14がリ
クエスト実行可能な場合リクエスト情報は主制御部14
へ渡される。
FIG. 1 is a block diagram showing one embodiment of the present invention. In normal access from a processor, the storage device 1 receives request information such as a request, address, and command from the processor via the input terminal 2 and output terminal 3, and also transfers write data and read data. Request information input from the input terminal 3 is held in the request buffer 10, and when the main control unit 14 can execute the request, the request information is stored in the main control unit 14.
passed to.

【0007】主制御部14は、受け取ったリクエストの
コマンドをデコードし使用するバンク制御部30〜33
に対してアドレス,制御信号,書込みデータ等を出力し
、読出し時にはバンク制御部30〜33から読出しデー
タを受け取る。また、主制御部14はリクエストで現在
使用中の記憶部の各バンク(0)〜(3)40〜43の
ビジー管理のためのバンクビジー管理部15の制御を行
う。
The main control unit 14 includes bank control units 30 to 33 that decode and use commands of received requests.
It outputs addresses, control signals, write data, etc. to the bank controllers, and receives read data from the bank controllers 30 to 33 during reading. Further, the main control unit 14 controls the bank busy management unit 15 for busy management of each bank (0) to (3) 40 to 43 of the storage unit currently in use in response to a request.

【0008】バンク(0)〜(3)制御部30〜33は
、主制御部14からの制御信号により記憶部の各バンク
(0)〜(3)記憶部40〜43に対してそれぞれデー
タの書込み,読出しと、読出しデータのエラー検出・訂
正を行い、訂正可能エラー検出時には報告を書込み要求
発生部13に出力する。報告を受けた書込み要求発生部
13は、訂正書込みを実行するための書込み要求を発生
し主制御部14へ出力する。
The bank (0) to (3) control units 30 to 33 respectively store data in the banks (0) to (3) storage units 40 to 43 of the storage unit based on control signals from the main control unit 14. It performs writing, reading, and error detection/correction of read data, and outputs a report to the write request generating section 13 when a correctable error is detected. After receiving the report, the write request generating section 13 generates a write request for executing corrective writing and outputs it to the main control section 14 .

【0009】主制御部14では、リクエストバッファ1
0からのリクエスト情報の受け取りを中断し訂正書込み
のための制御をエラーを検出したバンク制御部(30〜
33のいづれか)に対して出力し、制御信号を受け取っ
たバンク制御部はそれぞれの記憶部に対して訂正書込み
を実行する。
[0009] In the main control unit 14, the request buffer 1
The bank control unit (30 to 30) that detected the error interrupts the reception of request information from
33), and the bank control section receiving the control signal executes correction writing to each storage section.

【0010】一方、プロセッサからのアクセスにおいて
は常時記憶部のすべてのバンク40〜43が使用されて
いるとは限らず一時的にリクエスト待ちでフリーの状態
となるバンクが存在する。このバンクに対してプロセッ
サのアクセスと競合しない様にテスト読出しを実行する
ため、使用バンク判定部11においてリクエストバッフ
ァ10内のリクエスト情報を見てプロセッサで使用しな
いバンクを判定しテスト要求発生部12に出力する。
On the other hand, when accessing from a processor, not all banks 40 to 43 of the storage section are always in use, and some banks are temporarily in a free state waiting for a request. In order to perform test reading to this bank so as not to conflict with processor access, the used bank determination unit 11 checks the request information in the request buffer 10 and determines which banks are not used by the processor, and then sends the test request generation unit 12 Output.

【0011】テスト要求発生部12では、使用バンク判
定部11の出力及びバンクビジー管理部15の値からテ
スト読出しを実行する時間以上フリーとなるバンクに対
するテスト要求を発生し主制御部14へ出力する。今、
フリーとなるバンクをバンク(1)記憶部41とすると
、主制御部14はバンク(1)制御部31に対してテス
ト読出しのための制御信号を出力する。バンク(1)制
御部31は、受け取った制御信号によりバンク(1)記
憶部41のテスト読出しを実行し、読出しデータに対し
てエラーをチェックして訂正可能エラーを検出した場合
にはエラー報告を書込み要求発生部13へ出力する。
The test request generation section 12 generates a test request for a bank that will be free for more than the time required to execute the test read based on the output of the used bank determination section 11 and the value of the bank busy management section 15, and outputs it to the main control section 14. . now,
When the free bank is the bank (1) storage section 41, the main control section 14 outputs a control signal for test reading to the bank (1) control section 31. The bank (1) control unit 31 executes test reading of the bank (1) storage unit 41 according to the received control signal, checks the read data for errors, and issues an error report if a correctable error is detected. It is output to the write request generation section 13.

【0012】報告を受けた書込み要求発生部13は、訂
正書込みを実行するための書込み要求を発生し主制御部
14へ出力する。主制御部14では、リクエストバッフ
ァ10からのリクエスト情報の受け取り及びテスト要求
発生部12からのテスト要求の受け付けを中断し、訂正
書込みのための制御をエラーを検出したバンク制御部3
1に対して出力し、制御信号を受け取った(1)制御部
31はバンク(1)記憶部41に対して訂正書込みを実
行する。テスト読出しアドレスはテスト要求発生部12
において、インクリメント等の方法によって発生され、
各バンクに対応してそれぞれ発生する。
Upon receiving the report, the write request generation section 13 generates a write request for executing corrective writing and outputs it to the main control section 14. The main control unit 14 interrupts the reception of request information from the request buffer 10 and the test request from the test request generation unit 12, and controls correction writing to the bank control unit 3 where the error has been detected.
1, and upon receiving the control signal, the (1) control unit 31 executes correction writing to the bank (1) storage unit 41. The test read address is the test request generator 12
is generated by a method such as increment,
Each occurs corresponding to each bank.

【0013】[0013]

【発明の効果】以上説明したように本発明は、プロセッ
サのアクセス時に訂正可能エラー検出時には訂正書込み
をただちに実行し、またフリーのバンク記憶部に対して
はテスト読出しを実行して訂正可能エラーを検出すると
訂正書込みをただちに実行することにより、1ビットエ
ラーが重複して致命的な2ビットエラーになる確率を低
く出来る効果がある。
As explained above, the present invention immediately executes a correction write when a correctable error is detected during processor access, and also executes a test read to a free bank storage section to detect a correctable error. Immediately executing corrective writing upon detection has the effect of lowering the probability that a 1-bit error will overlap and become a fatal 2-bit error.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

【符号の説明】[Explanation of symbols]

10    リクエストバッファ 11    使用バンク判定部 12    テスト要求発生部 13    書込み要求発生部 14    主制御部 15    バンクビジー管理部 10 Request buffer 11 Used bank determination section 12 Test request generation section 13 Write request generation section 14 Main control section 15 Bank Busy Management Department

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  2つ以上のバンクから成る記憶部と、
各バンク制御部とプロセッサとのデータ転送及び各バン
ク制御部とバンクビジー管理部の制御を行う主制御部と
、プロセッサからのリクエストを保持するリクエストバ
ッファと、バンクビジーを管理するバンクビジー管理部
と、プロセッサからのリクエストでの使用バンク判定部
と、前記バンクビジー管理部と前記使用バンク判定部の
出力結果によりプロセッサが使用せず現在もフリーのバ
ンクに対するテスト読出し要求を発生するテスト要求発
生部と、訂正可能エラーを検出した場合に主制御部に対
して訂正書込み要求を出力する書込み要求発生部とを含
むことを特徴とするエラー訂正方式。
Claim 1: A storage unit consisting of two or more banks;
A main control unit that transfers data between each bank control unit and the processor and controls each bank control unit and bank busy management unit, a request buffer that holds requests from the processor, and a bank busy management unit that manages bank busy. , a used bank determination unit based on a request from the processor, and a test request generation unit that generates a test read request for a bank that is not used by the processor and is currently free based on the output results of the bank busy management unit and the used bank determination unit. and a write request generating section that outputs a correction write request to a main control section when a correctable error is detected.
JP3003024A 1991-01-16 1991-01-16 Error correcting system Pending JPH04241653A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3003024A JPH04241653A (en) 1991-01-16 1991-01-16 Error correcting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3003024A JPH04241653A (en) 1991-01-16 1991-01-16 Error correcting system

Publications (1)

Publication Number Publication Date
JPH04241653A true JPH04241653A (en) 1992-08-28

Family

ID=11545759

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3003024A Pending JPH04241653A (en) 1991-01-16 1991-01-16 Error correcting system

Country Status (1)

Country Link
JP (1) JPH04241653A (en)

Similar Documents

Publication Publication Date Title
US4532628A (en) System for periodically reading all memory locations to detect errors
US4456993A (en) Data processing system with error processing apparatus and error processing method
GB2502700A (en) Error management in a memory device
US5210867A (en) Method and apparatus for memory retry
JPH04241653A (en) Error correcting system
JPH02135562A (en) Queue buffer control system
JPH03108044A (en) Storage device
JPH06149685A (en) Memory error recovering circuit
JPS63187500A (en) Semiconductor storage device
JP2853555B2 (en) Storage controller
KR0121442B1 (en) The method of cache error detecting for multi-processor system
JPH038040A (en) 1-bit error information storage device
US5617544A (en) Interface having receive and transmit message label memories for providing communication between a host computer and a bus
JPH02297235A (en) Memory data protecting circuit
JPH02168314A (en) Memory control system in semiconductor disk device
JPH02202655A (en) Storage device
JPH0778747B2 (en) Data processing device
JPH05210597A (en) Patrol circuit for storage device
JPH05108496A (en) Patrol control system
JPH05274220A (en) Memory bank busy control system
JPS6042506B2 (en) Error correction method for memory contents
JPH0230060B2 (en)
JPH1083357A (en) Data storage control method and its device
JPH0529934B2 (en)
JPS59168997A (en) Method of main memory patrolling of computer