JPH04349549A - Correction bit position information output method in memory system with ecc - Google Patents

Correction bit position information output method in memory system with ecc

Info

Publication number
JPH04349549A
JPH04349549A JP3151149A JP15114991A JPH04349549A JP H04349549 A JPH04349549 A JP H04349549A JP 3151149 A JP3151149 A JP 3151149A JP 15114991 A JP15114991 A JP 15114991A JP H04349549 A JPH04349549 A JP H04349549A
Authority
JP
Japan
Prior art keywords
position information
bit position
data
correction
bit
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
JP3151149A
Other languages
Japanese (ja)
Inventor
Tatsuya Kitajima
北島 竜也
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 JP3151149A priority Critical patent/JPH04349549A/en
Publication of JPH04349549A publication Critical patent/JPH04349549A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the need of an exclusive bus for outputting correction bit position information, and to contain the number of times of correction in the contents of the outputted correction bit position information. CONSTITUTION:A correction bit position information storage part 13 stores data contained in a memory 14 and correction bit position information having a correction frequency counter corresponding to a position of each bit of a check bit. An error correcting circuit 12 checks whether a bit change exists in the data inputted from the memory 14 and the check bit or not, and in the case the bit change exists, the data in which the bit change is corrected is outputted and by reflecting its correction, the correction bit position information in the correction bit position information storage part 13 is updated. A selecting circuit 15 selects one of an output of the correction bit position information from the correction bit position information storage part 13 and an output of the data from the error correcting circuit 12 as an output to a data bus 21, based on a signal on a system bus 20.

Description

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

【0001】0001

【産業上の利用分野】本発明は、記憶しているデータの
ビット化けの検出・訂正を行い訂正後のデータを出力す
るECC(Error  Checking  &  
Correction)付きメモリシステム(システム
バスに接続されたECC付きメモリシステム)からの訂
正ビット位置情報(訂正ビット位置情報の内容について
は後述する)の出力を行うECC付きメモリシステムに
おける訂正ビット位置情報出力方式に関する。
[Industrial Application Field] The present invention detects and corrects bit garbled bits in stored data and outputs the corrected data.
Corrected bit position information output method in a memory system with ECC that outputs corrected bit position information (the contents of the corrected bit position information will be described later) from a memory system with ECC (memory system with ECC connected to a system bus) Regarding.

【0002】0002

【従来の技術】最近のメモリシステムは、ソフトエラー
(ソフトエラーは発生確率が低いものの不可避的にラン
ダムに発生する)等によるビット化けの発生によってプ
ログラムの処理結果が無意味なものになってしまうこと
を避けるために、ECC付きメモリシステムとして構成
されることが必須となりつつある。なお、一般的に、E
CC付きメモリシステムにおけるチェックビットの生成
およびエラーの訂正(検出を含む)には、SEC−DE
D(Single  Error  Correct−
Double  Error  Detect)ハミン
グ符号系が使用される。この符号系が使用される場合に
は、メモリに記憶された1ワードのデータおよびそのチ
ェックビットの中で1ビットのビット化けが発生したと
きにその訂正を行うことができ、2ビットのビット化け
が発生したときにその検出を行うことができる。
[Background Art] In recent memory systems, program processing results become meaningless due to bit corruption caused by soft errors (soft errors have a low probability of occurrence, but inevitably occur randomly). In order to avoid this, it is becoming essential to configure a memory system with ECC. In addition, in general, E
SEC-DE is used for check bit generation and error correction (including detection) in memory systems with CC.
D (Single Error Correct-
Double Error Detect) Hamming code system is used. When this coding system is used, it is possible to correct 1-bit garbled bits in 1-word data stored in memory and its check bits, and 2-bit garbled bits can be corrected. can be detected when it occurs.

【0003】このようなECC付きメモリシステムでは
、ソフトエラー等が頻発するメモリ素子を交換する指針
とする目的等のために訂正ビット位置情報(メモリ内の
データおよびチェックビットの各ビットの中でビット化
けが発生して訂正の対象となったビットの位置を示す情
報。なお、本発明のECC付きメモリシステムにおける
訂正ビット位置情報出力方式においては、訂正の対象と
なった回数(訂正回数)をも含む)を定期的に出力する
のが望ましい。
[0003] In such a memory system with ECC, correction bit position information (bits in each bit of data and check bits in memory) is used as a guideline for replacing memory elements where soft errors occur frequently. Information indicating the position of a bit that has been corrupted and is subject to correction.In addition, in the corrected bit position information output method in the memory system with ECC of the present invention, the number of times that the bit has been subject to correction (number of corrections) is also indicated. It is desirable to output the following information periodically.

【0004】そこで、ECC付きメモリシステムにおけ
る訂正ビット位置情報出力方式が必要になる。
Therefore, a method for outputting corrected bit position information in a memory system with ECC is required.

【0005】図4は、従来のこの種のECC付きメモリ
システムにおける訂正ビット位置情報出力方式の一例の
構成を示すブロック図である。この図を参照して、従来
のECC付きメモリシステムにおける訂正ビット位置情
報出力方式の動作について説明する。
FIG. 4 is a block diagram showing the structure of an example of a corrected bit position information output method in a conventional memory system with ECC of this type. Referring to this figure, the operation of the corrected bit position information output method in the conventional memory system with ECC will be described.

【0006】■  ECC付きメモリシステム30に対
してシステムバス40(データバス41およびアドレス
バス42)からデータのライト(書込み)が指示された
場合の動作
■ Operation when data write is instructed from the system bus 40 (data bus 41 and address bus 42) to the memory system 30 with ECC

【0007】チェックビット生成回路31はデータバス
41からデータを入力し、メモリ34はアドレスバス4
2からそのデータを記憶すべき領域のアドレスを入力す
る。
The check bit generation circuit 31 receives data from the data bus 41, and the memory 34 receives data from the address bus 4.
2, input the address of the area where the data is to be stored.

【0008】チェックビット生成回路31は、データバ
ス41から入力したデータに対するチェックビットを生
成し、入力したデータと生成したチェックビットとを共
にメモリ34に出力する。
The check bit generation circuit 31 generates check bits for data input from the data bus 41, and outputs both the input data and the generated check bits to the memory 34.

【0009】メモリ34は、アドレスバス42から入力
したアドレスの領域に、チェックビット生成回路31か
ら入力したデータおよびチェックビットを記憶する。
The memory 34 stores the data and check bits input from the check bit generation circuit 31 in the area of the address input from the address bus 42.

【0010】■  ECC付きメモリシステム30に対
してシステムバス40からデータのリード(読出し)が
指示された場合の動作
■ Operation when the memory system 30 with ECC is instructed to read data from the system bus 40

【0011】メモリ34は、データバス41に出力すべ
きデータが記憶されている領域のアドレスをアドレスバ
ス42から入力し、そのアドレスの領域内のデータおよ
びチェックビットをエラー訂正回路32に出力する。
The memory 34 receives from the address bus 42 the address of an area in which data to be outputted to the data bus 41 is stored, and outputs the data and check bits in the area of that address to the error correction circuit 32.

【0012】エラー訂正回路32は、メモリ34から入
力したデータおよびチェックビットにビット化けが発生
していないかどうかをチェックする。このチェックでビ
ット化けが発生していない場合には、そのままそのデー
タをデータバス41に出力する。上述のチェックでビッ
ト化けが発生している場合には、そのビット化けを訂正
した上でそのデータをデータバス41に出力し、訂正し
たビットの位置を示す情報を訂正ビット位置情報記憶部
33に出力する。
The error correction circuit 32 checks whether the data input from the memory 34 and the check bits are garbled. If no bit corruption has occurred in this check, the data is output to the data bus 41 as is. If bit garbled occurs in the above check, the bit garbled is corrected and the data is output to the data bus 41, and information indicating the position of the corrected bit is stored in the corrected bit position information storage unit 33. Output.

【0013】訂正ビット位置情報記憶部33は、訂正し
たビットの位置を示す情報を入力すると、訂正したビッ
トの位置に対応する訂正ビットフラグを1に設定し、記
憶している訂正ビット位置情報(データおよびチェック
ビットの各ビットの位置に対応する訂正ビットフラグの
集合)を更新する。
When the corrected bit position information storage unit 33 receives information indicating the corrected bit position, it sets the corrected bit flag corresponding to the corrected bit position to 1, and stores the stored corrected bit position information ( A set of correction bit flags corresponding to each bit position of data and check bits is updated.

【0014】■  ECC付きメモリシステム30に対
してサービスバス43から訂正ビット位置情報の出力が
指示された場合の動作
■ Operation when the memory system 30 with ECC is instructed to output corrected bit position information from the service bus 43

【0015】訂正ビット位置情報記憶部33は、サービ
スバス43からの指示を受けて、記憶している訂正ビッ
ト位置情報をサービスバス43に出力し、その出力後に
記憶していた内容(訂正ビット位置情報)をクリアする
(全ての訂正ビットフラグを0に設定する)。
The corrected bit position information storage section 33 receives an instruction from the service bus 43, outputs the stored corrected bit position information to the service bus 43, and after outputting the stored content (corrected bit position information) (set all correction bit flags to 0).

【0016】このような従来のECC付きメモリシステ
ムにおける訂正ビット位置情報出力方式は、システムバ
ス以外に訂正ビット位置情報を出力するための専用のバ
ス(サービスバス等)が必要であり、そのような専用の
バスを持つことができる大型の情報処理システムでのみ
採用することができる方式であった。
[0016] The corrected bit position information output method in such a conventional memory system with ECC requires a dedicated bus (such as a service bus) for outputting corrected bit position information in addition to the system bus. This method could only be used in large information processing systems that could have their own dedicated bus.

【0017】[0017]

【発明が解決しようとする課題】上述した従来のECC
付きメモリシステムにおける訂正ビット位置情報出力方
式では、訂正ビット位置情報を出力するための専用のバ
スが必要であるので、そのような専用のバスを設けるこ
とが可能な大型の情報処理システムでしか採用すること
ができなかった。したがって、専用のバスを持たない小
型の情報処理システムでは、訂正ビット位置情報を出力
することができず、ビット化けが発生したビット(訂正
の対象となったビット)の位置を認識することができな
いという欠点があった。
[Problem to be solved by the invention] The above-mentioned conventional ECC
The corrected bit position information output method in memory systems with fixed bits requires a dedicated bus to output the corrected bit position information, so it is only adopted in large information processing systems that can provide such a dedicated bus. I couldn't. Therefore, in a small information processing system that does not have a dedicated bus, it is not possible to output corrected bit position information, and it is not possible to recognize the position of the corrupted bit (bit that is the target of correction). There was a drawback.

【0018】また、出力される訂正ビット位置情報の内
容は訂正の対象となったビットの位置を示す情報だけで
あるので、訂正回数を認識することができないという欠
点があった(訂正回数を認識するためには、特定のプロ
グラムによって一定期間毎に訂正ビット位置情報に基づ
くカウント処理を行う必要があった)。
Furthermore, since the content of the corrected bit position information that is output is only information indicating the position of the bit targeted for correction, there is a drawback that the number of corrections cannot be recognized (the number of corrections cannot be recognized). In order to do this, it was necessary to perform counting processing based on corrected bit position information at regular intervals using a specific program).

【0019】本発明の目的は、上述の点に鑑み、訂正ビ
ット位置情報を出力するための専用のバスを不要として
小型の情報処理システムにおいても訂正ビット位置情報
の出力を可能ならしめ、出力される訂正ビット位置情報
の内容に訂正回数を含めることができるECC付きメモ
リシステムにおける訂正ビット位置情報出力方式を提供
することにある。
In view of the above points, it is an object of the present invention to make it possible to output corrected bit position information even in a small information processing system without requiring a dedicated bus for outputting corrected bit position information. An object of the present invention is to provide a method for outputting corrected bit position information in a memory system with ECC that can include the number of corrections in the contents of corrected bit position information.

【0020】[0020]

【課題を解決するための手段】本発明のECC付きメモ
リシステムにおける訂正ビット位置情報出力方式は、デ
ータおよびチェックビットを記憶するメモリと、データ
およびチェックビットの各ビットの位置に対応する訂正
回数カウンタを有する訂正ビット位置情報を記憶する訂
正ビット位置情報記憶部と、システムバスから入力した
データに対するチェックビットを生成し当該データおよ
び当該チェックビットを前記メモリに出力するチェック
ビット生成回路と、前記メモリから入力したデータおよ
びチェックビットにビット化けがあるか否かをチェック
しビット化けがある場合にビット化けを訂正したデータ
を出力しその訂正を反映して前記訂正ビット位置情報記
憶部内の訂正ビット位置情報の更新を行うエラー訂正回
路と、システムバス上の信号に基づき前記訂正ビット位
置情報記憶部からの訂正ビット位置情報の出力および前
記エラー訂正回路からのデータの出力のいずれかをデー
タバスへの出力として選択する選択回路とを有する。
[Means for Solving the Problems] A correction bit position information output method in a memory system with ECC of the present invention includes a memory for storing data and check bits, and a correction number counter corresponding to the position of each bit of data and check bits. a corrected bit position information storage unit that stores corrected bit position information having a corrected bit position information; a check bit generation circuit that generates check bits for data input from the system bus and outputs the data and the check bits to the memory; It is checked whether or not the input data and check bits have garbled bits, and if there is garbled bits, the data with the garbled bits corrected is output, and the corrected bit position information in the corrected bit position information storage unit is reflected by the correction. an error correction circuit that updates the error correction circuit, and outputs either the correction bit position information from the correction bit position information storage unit or the data output from the error correction circuit to the data bus based on the signal on the system bus. and a selection circuit for selecting the selected one.

【0021】[0021]

【作用】本発明のECC付きメモリシステムにおける訂
正ビット位置情報出力方式では、メモリがデータおよび
チェックビットを記憶し、訂正ビット位置情報記憶部が
データおよびチェックビットの各ビットの位置に対応す
る訂正回数カウンタを有する訂正ビット位置情報を記憶
し、チェックビット生成回路がシステムバスから入力し
たデータに対するチェックビットを生成し当該データお
よび当該チェックビットをメモリに出力し、エラー訂正
回路がメモリから入力したデータおよびチェックビット
にビット化けがあるか否かをチェックしビット化けがあ
る場合にビット化けを訂正したデータを出力しその訂正
を反映して訂正ビット位置情報記憶部内の訂正ビット位
置情報の更新を行い、選択回路がシステムバス上の信号
に基づき訂正ビット位置情報記憶部からの訂正ビット位
置情報の出力およびエラー訂正回路からのデータの出力
のいずれかをデータバスへの出力として選択する。
[Operation] In the corrected bit position information output method in the memory system with ECC of the present invention, the memory stores data and check bits, and the corrected bit position information storage section stores the number of corrections corresponding to the position of each bit of the data and check bits. A check bit generating circuit generates a check bit for data input from the system bus and outputs the data and the check bit to the memory, and an error correction circuit stores the data input from the memory and the check bit position information having a counter. Check whether or not there is bit garble in the check bit, and if there is bit garble, output data with the bit garble corrected, and update corrected bit position information in the corrected bit position information storage unit to reflect the correction; A selection circuit selects either the output of corrected bit position information from the corrected bit position information storage unit or the output of data from the error correction circuit as output to the data bus based on the signal on the system bus.

【0022】[0022]

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

【0023】図1は、本発明のECC付きメモリシステ
ムにおける訂正ビット位置情報出力方式の一実施例の構
成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of a corrected bit position information output method in a memory system with ECC according to the present invention.

【0024】本実施例のECC付きメモリシステムにお
ける訂正ビット位置情報出力方式は、ECC付きメモリ
システム10と、システムバス20とを含んで構成され
ている。
The corrected bit position information output method in the ECC-equipped memory system of this embodiment is configured to include an ECC-equipped memory system 10 and a system bus 20.

【0025】ECC付きメモリシステム10は、チェッ
クビット生成回路11と、エラー訂正回路12と、訂正
ビット位置情報記憶部13と、メモリ14と、選択回路
15とを含んで構成されている。
The memory system 10 with ECC includes a check bit generation circuit 11, an error correction circuit 12, a correction bit position information storage section 13, a memory 14, and a selection circuit 15.

【0026】システムバス20は、データバス21と、
アドレスバス22と、出力選択信号線23とを含んで構
成されている。
The system bus 20 includes a data bus 21 and
It is configured to include an address bus 22 and an output selection signal line 23.

【0027】図2(a)は、メモリ14の構成を示す図
である。メモリ14は、1ワードが一定のビット数(こ
こでは8ビットとする)で構成されるデータを記憶する
データ部と、対応するデータおよび自己の各ビットのビ
ット化けの検出・訂正を行うためのチェックビットを記
憶するチェックビット部とからなる。
FIG. 2(a) is a diagram showing the configuration of the memory 14. The memory 14 includes a data section for storing data in which one word consists of a certain number of bits (in this case, 8 bits), and a section for detecting and correcting bit garbled bits of the corresponding data and itself. and a check bit section that stores check bits.

【0028】図2(b)は、訂正ビット位置情報記憶部
13の構成を示す図である。訂正ビット位置情報記憶部
13は、データ部カウンタ情報とチェックビット部カウ
ンタ情報とかなる訂正ビット位置情報を記憶している。 データ部カウンタ情報はメモリ14内のデータ部の各ビ
ットの位置に対応する訂正回数カウンタを有しており、
チェックビット部カウンタ情報はメモリ14内のチェッ
クビット部の各ビットの位置に対応する訂正回数カウン
タを有している。訂正回数カウンタは、対応する位置に
存在するメモリ14内のビットにビット化けが生じる毎
に1が加算(インクリメント)されるカウンタであり(
初期値は0である)、訂正の対象となったビットの位置
および訂正回数を示すためのカウンタである。
FIG. 2(b) is a diagram showing the configuration of the corrected bit position information storage section 13. The corrected bit position information storage unit 13 stores corrected bit position information consisting of data section counter information and check bit section counter information. The data section counter information has a correction number counter corresponding to the position of each bit of the data section in the memory 14,
The check bit section counter information has a correction number counter corresponding to the position of each bit of the check bit section in the memory 14. The correction number counter is a counter that is incremented by 1 every time a bit in the memory 14 located at a corresponding position is garbled.
(Initial value is 0), the counter indicates the position of the bit to be corrected and the number of corrections.

【0029】図3(a)〜(c)は、複数のECC付き
メモリシステム10がシステムバス20に接続されてい
る情報処理システムにおけるアドレス空間を説明するた
めの図である。
FIGS. 3A to 3C are diagrams for explaining address spaces in an information processing system in which a plurality of memory systems 10 with ECC are connected to a system bus 20.

【0030】次に、このように構成された本実施例のE
CC付きメモリシステムにおける訂正ビット位置情報出
力方式の動作について説明する。
Next, the E of this embodiment configured as described above
The operation of the corrected bit position information output method in the memory system with CC will be explained.

【0031】■  ECC付きメモリシステム10に対
してシステムバス20からデータのライトが指示された
場合の動作
■ Operation when data write is instructed from the system bus 20 to the memory system 10 with ECC

【0032】チェックビット生成回路11はデータバス
21からデータを入力し、メモリ14はアドレスバス2
2からそのデータを記憶すべき領域のアドレスを入力す
る。
The check bit generation circuit 11 receives data from the data bus 21, and the memory 14 receives data from the address bus 2.
2, input the address of the area where the data is to be stored.

【0033】チェックビット生成回路11は、データバ
ス21から入力したデータに対するチェックビットを生
成し、入力したデータと生成したチェックビットとを共
にメモリ14に出力する。
The check bit generation circuit 11 generates check bits for data input from the data bus 21, and outputs both the input data and the generated check bits to the memory 14.

【0034】メモリ14は、アドレスバス22から入力
したアドレスの領域に、チェックビット生成回路11か
ら入力したデータおよびチェックビットを記憶する。
The memory 14 stores the data and check bits input from the check bit generation circuit 11 in the area of the address input from the address bus 22.

【0035】■  ECC付きメモリシステム10に対
してシステムバス20からデータのリードが指示された
場合の動作
■ Operation when the memory system 10 with ECC is instructed to read data from the system bus 20

【0036】メモリ14は、システムバス20に出力す
べきデータが記憶されている領域のアドレスをアドレス
バス22から入力し、そのアドレスの領域内のデータお
よびチェックビットをエラー訂正回路12に出力する。
The memory 14 receives from the address bus 22 the address of an area in which data to be output to the system bus 20 is stored, and outputs the data and check bits in the area of that address to the error correction circuit 12.

【0037】また、選択回路15は、出力選択信号線2
3から「メモリ14内のデータ部に記憶されたデータの
出力の指定」を示す出力選択信号(以下、データ出力選
択信号という)を入力する。
The selection circuit 15 also connects the output selection signal line 2
3, an output selection signal (hereinafter referred to as a data output selection signal) indicating "designation of output of data stored in the data section in the memory 14" is input.

【0038】エラー訂正回路12は、メモリ14から入
力したデータおよびチェックビットにビット化けが発生
していないかどうかをチェックする。このチェックでビ
ット化けが発生していない場合には、そのままそのデー
タを選択回路15に出力する。上述のチェックでビット
化けが発生している場合には、そのビット化けを訂正し
た上でそのデータを選択回路15に出力し、訂正したビ
ットの位置を示す情報を訂正ビット位置情報記憶部13
に出力する。
The error correction circuit 12 checks whether the data input from the memory 14 and the check bits are garbled. If no bit corruption has occurred in this check, the data is output to the selection circuit 15 as is. If bit garbled occurs in the above check, the bit garbled is corrected and the data is output to the selection circuit 15, and information indicating the position of the corrected bit is stored in the corrected bit position information storage section 13.
Output to.

【0039】訂正ビット位置情報記憶部13は、訂正し
たビットの位置を示す情報を入力すると、訂正したビッ
トの位置に対応する訂正回数カウンタに1を加算し、記
憶している訂正ビット位置情報を更新する。
When the corrected bit position information storage section 13 receives information indicating the corrected bit position, it adds 1 to the correction number counter corresponding to the corrected bit position, and stores the stored corrected bit position information. Update.

【0040】選択回路15は、出力選択信号線23から
入力したデータ出力選択信号の指定に基づいて「データ
の出力(読出し)」を選択し、エラー訂正回路12から
入力したデータをデータバス21に出力する。
The selection circuit 15 selects "data output (reading)" based on the designation of the data output selection signal input from the output selection signal line 23 and transfers the data input from the error correction circuit 12 to the data bus 21. Output.

【0041】■  ECC付きメモリシステム10に対
してシステムバス20から訂正ビット位置情報の出力が
指示された場合の動作
■ Operation when the memory system 10 with ECC is instructed to output corrected bit position information from the system bus 20

【0042】訂正ビット位置情報記憶部13は、システ
ムバス20に出力すべき情報(データ部カウンタ情報お
よびチェックビット部カウンタ情報中の訂正回数カウン
タのいずれか)が記憶されている領域のアドレスをアド
レスバス22から入力する。
The correction bit position information storage section 13 stores the address of the area in which the information to be output to the system bus 20 (either the data section counter information or the correction number counter in the check bit section counter information) is stored. Input from bus 22.

【0043】また、選択回路15は、「訂正ビット位置
情報記憶部13に記憶された訂正ビット位置情報の出力
の指定」を示す出力選択信号(以下、訂正ビット位置情
報出力選択信号という)を出力選択信号線23から入力
する。
The selection circuit 15 also outputs an output selection signal (hereinafter referred to as a correction bit position information output selection signal) indicating "designation of output of the correction bit position information stored in the correction bit position information storage unit 13". It is input from the selection signal line 23.

【0044】訂正ビット位置情報記憶部13は、アドレ
スバス22から入力したアドレスが自己の属するECC
付きメモリシステム10に割り当てられたアドレスであ
ることを確認し(一般的に、システムバス20には複数
のECC付きメモリシステム10が接続されている(図
3(a)参照))、訂正ビット位置情報中のどの訂正回
数カウンタを出力すべきかをそのアドレスに基づいて選
択し、該当する訂正回数カウンタを選択回路15に出力
する。
The correction bit position information storage unit 13 stores the address input from the address bus 22 in the ECC to which it belongs.
(Generally, a plurality of memory systems 10 with ECC are connected to the system bus 20 (see FIG. 3(a))), and the correction bit position is confirmed to be the address assigned to the memory system 10 with ECC. Which correction number counter in the information should be output is selected based on the address, and the corresponding correction number counter is output to the selection circuit 15.

【0045】訂正ビット位置情報中の所定の訂正回数カ
ウンタを出力した訂正ビット位置情報記憶部13は、出
力した内容(訂正回数カウンタ)をクリアする(0に設
定する)。
The corrected bit position information storage section 13 that has outputted the predetermined correction number counter in the corrected bit position information clears the outputted content (correction number counter) (sets it to 0).

【0046】選択回路15は、出力選択信号線23から
入力した訂正ビット位置情報出力選択信号の指定に基づ
いて「訂正ビット位置情報の出力」を選択し、訂正ビッ
ト位置情報記憶部13から入力した訂正回数カウンタの
値をデータバス21に出力する。
The selection circuit 15 selects "output of corrected bit position information" based on the specification of the corrected bit position information output selection signal input from the output selection signal line 23, and selects "output of corrected bit position information" based on the specification of the corrected bit position information output selection signal input from the output selection signal line 23 The value of the correction number counter is output to the data bus 21.

【0047】次に、複数のECC付きメモリシステム1
0がシステムバス20に接続されている情報処理システ
ムにおけるアドレス空間(システムバス20から見たと
きのアドレス空間)について説明する。
Next, a plurality of ECC equipped memory systems 1
The address space (address space when viewed from the system bus 20) in the information processing system in which 0 is connected to the system bus 20 will be described.

【0048】図3(a)に示すように、複数のECC付
きメモリシステム10(ECC付きメモリシステム10
−1および10−2等)がシステムバス20に接続され
ており、ECC付きメモリシステム10−1のアドレス
として「0000〜0FFF(アドレスに関しては16
進数で示す。以下同様)」番地が割り当てられており、
ECC付きメモリシステム10−2のアドレスとして「
1000〜1FFF」番地が割り当てられているものと
する。
As shown in FIG. 3(a), a plurality of memory systems 10 with ECC (memory system 10 with ECC)
-1 and 10-2, etc.) are connected to the system bus 20, and the addresses of the memory system 10-1 with ECC are "0000 to 0FFF (16
Shown in base numbers. (Same below)” address is assigned,
As the address of the memory system 10-2 with ECC, "
It is assumed that addresses 1000 to 1FFF are assigned.

【0049】図3(a)に示すような情報処理システム
において、各ECC付きメモリシステム10に関するア
ドレス空間は出力選択信号線23上の出力選択信号の内
容により、図3(b)または(c)に示すようになる。
In the information processing system as shown in FIG. 3(a), the address space for each ECC-equipped memory system 10 is determined as shown in FIG. 3(b) or (c) depending on the content of the output selection signal on the output selection signal line 23. It becomes as shown in .

【0050】■  出力選択信号線13上にデータ出力
選択信号が与えられた場合(図3(b)参照)
■ When a data output selection signal is applied to the output selection signal line 13 (see FIG. 3(b))

【005
1】この場合には、「0000〜0FFF」番地のアド
レスがECC付きメモリシステム10−1内のメモリ1
4のアドレス空間に対応し、「1000〜1FFF」番
地のアドレスがECC付きメモリシステム10−2内の
メモリ14のアドレス空間に対応する。
005
1] In this case, the address “0000 to 0FFF” is memory 1 in the ECC memory system 10-1.
4, and the addresses "1000 to 1FFF" correspond to the address space of the memory 14 in the memory system 10-2 with ECC.

【0052】■  出力選択信号線13上に訂正ビット
位置情報出力選択信号が与えられた場合(なお、訂正ビ
ット位置情報中の訂正回数カウンタの数は図2(b)に
示すように13個であるものとする)(図3(c)参照
■ When the correction bit position information output selection signal is applied to the output selection signal line 13 (the number of correction count counters in the correction bit position information is 13 as shown in FIG. 2(b)). ) (see Figure 3(c))

【0053】この場合には、「0000〜000C」
番地のアドレスがECC付きメモリシステム10−1内
の訂正ビット位置情報記憶部13のアドレス空間に対応
し、データ部カウンタ情報およびチェックビット部カウ
ンタ情報中の各訂正回数カウンタに「0000〜000
C」番地のアドレスが順次割り当てられている。
[0053] In this case, "0000~000C"
The address of the address corresponds to the address space of the correction bit position information storage section 13 in the memory system with ECC 10-1, and each correction number counter in the data section counter information and check bit section counter information is set to "0000 to 000."
C" addresses are sequentially assigned.

【0054】また、「1000〜100C」番地のアド
レスがECC付きメモリシステム10−2内の訂正ビッ
ト位置情報記憶部13のアドレス空間に対応し、データ
部カウンタ情報およびチェックビット部カウンタ情報中
の各訂正回数カウンタに「1000〜100C」番地の
アドレスが順次割り当てられている。
Further, the addresses "1000 to 100C" correspond to the address space of the correction bit position information storage section 13 in the memory system with ECC 10-2, and each address in the data section counter information and check bit section counter information Addresses "1000 to 100C" are sequentially assigned to the correction number counter.

【0055】なお、図3に示すような態様(同一のEC
C付きメモリシステム10に関してメモリ14のアドレ
ス空間と訂正ビット位置情報記憶部13のアドレス空間
とについてアドレスを共用する態様)でアドレスを割り
当てず、メモリ14のアドレス空間と訂正ビット位置情
報記憶部13のアドレス空間とに異なるアドレスを割り
当てて本発明を構成することも可能である。その場合に
は、図1中の破線の矢線で示すように選択回路15はア
ドレスバス22からの指定(信号)に基づいて「データ
の出力(読出し)」と「訂正ビット位置情報の出力」と
の間の選択を行う。この場合には、出力選択信号線23
は不要となる。
[0055] Note that the mode as shown in Fig. 3 (the same EC
Regarding the memory system 10 with C, the address space of the memory 14 and the address space of the corrected bit position information storage unit 13 are shared (a mode in which addresses are shared between the address space of the memory 14 and the address space of the corrected bit position information storage unit 13). It is also possible to configure the present invention by allocating different addresses to the address space. In that case, as shown by the broken arrow in FIG. make a choice between. In this case, the output selection signal line 23
becomes unnecessary.

【0056】[0056]

【発明の効果】以上説明したように本発明は、訂正ビッ
ト位置情報を出力するための専用のバスが不要になるこ
とにより、システムバス以外にそのような専用のバスを
持たない小型の情報処理システムにおいても、訂正ビッ
ト位置情報を出力することができ、ビット化けが発生し
たビットの位置等を認識することができるという効果が
ある。
[Effects of the Invention] As explained above, the present invention eliminates the need for a dedicated bus for outputting corrected bit position information, thereby enabling small-sized information processing that does not have such a dedicated bus other than a system bus. The system also has the advantage of being able to output corrected bit position information and recognizing the position of bits where garbled bits have occurred.

【0057】また、訂正ビット位置情報中に訂正回数カ
ウンタを設けること等により、訂正回数を容易に認識す
ることができるようになる(訂正ビット位置情報に基づ
くカウント処理を行うためのプログラム等を必要とせず
に訂正回数を認識することができる)という効果がある
[0057] Furthermore, by providing a correction number counter in the correction bit position information, the number of corrections can be easily recognized. This has the effect that the number of corrections can be recognized without having to do so.

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

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

【図2】(a)は図1中のメモリの構成を示す図であり
、(b)は図1中の訂正ビット位置情報記憶部の構成を
示す図である。
2(a) is a diagram showing the configuration of a memory in FIG. 1, and FIG. 2(b) is a diagram showing the configuration of a correction bit position information storage unit in FIG. 1. FIG.

【図3】図1中のECC付きメモリシステムがシステム
バスに複数接続された情報処理システムにおけるアドレ
ス空間を説明するための図である。
FIG. 3 is a diagram for explaining an address space in an information processing system in which a plurality of memory systems with ECC shown in FIG. 1 are connected to a system bus.

【図4】従来のECC付きメモリシステムにおける訂正
ビット位置情報出力方式の一例の構成を示すブロック図
である。
FIG. 4 is a block diagram showing the configuration of an example of a corrected bit position information output method in a conventional memory system with ECC.

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

10,10−1,10−2  ECC付きメモリシステ
ム11  チェックビット生成回路 12  エラー訂正回路 13  訂正ビット位置情報記憶部 14  メモリ 15  選択回路 20  システムバス 21  データバス 22  アドレスバス 23  出力選択信号線
10, 10-1, 10-2 Memory system with ECC 11 Check bit generation circuit 12 Error correction circuit 13 Correction bit position information storage section 14 Memory 15 Selection circuit 20 System bus 21 Data bus 22 Address bus 23 Output selection signal line

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  データおよびチェックビットを記憶す
るメモリと、データおよびチェックビットの各ビットの
位置に対応する訂正回数カウンタを有する訂正ビット位
置情報を記憶する訂正ビット位置情報記憶部と、システ
ムバスから入力したデータに対するチェックビットを生
成し当該データおよび当該チェックビットを前記メモリ
に出力するチェックビット生成回路と、前記メモリから
入力したデータおよびチェックビットにビット化けがあ
るか否かをチェックし、ビット化けがある場合にビット
化けを訂正したデータを出力しその訂正を反映して前記
訂正ビット位置情報記憶部内の訂正ビット位置情報の更
新を行うエラー訂正回路と、システムバス上の信号に基
づき前記訂正ビット位置情報記憶部からの訂正ビット位
置情報の出力および前記エラー訂正回路からのデータの
出力のいずれかをデータバスへの出力として選択する選
択回路とを有することを特徴とするECC付きメモリシ
ステムにおける訂正ビット位置情報出力方式。
1. A memory for storing data and check bits, a correction bit position information storage unit for storing correction bit position information having a correction number counter corresponding to the position of each bit of the data and check bits, and a correction bit position information storage section for storing correction bit position information; a check bit generation circuit that generates a check bit for input data and outputs the data and the check bit to the memory; and a check bit generation circuit that checks whether or not the data and check bit input from the memory have garbled bits. an error correction circuit that outputs data with corrected bit garbled bits and updates corrected bit position information in the corrected bit position information storage unit to reflect the correction; Correction in a memory system with ECC, comprising a selection circuit that selects either the output of corrected bit position information from a position information storage unit or the output of data from the error correction circuit as output to a data bus. Bit position information output method.
JP3151149A 1991-05-27 1991-05-27 Correction bit position information output method in memory system with ecc Pending JPH04349549A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3151149A JPH04349549A (en) 1991-05-27 1991-05-27 Correction bit position information output method in memory system with ecc

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3151149A JPH04349549A (en) 1991-05-27 1991-05-27 Correction bit position information output method in memory system with ecc

Publications (1)

Publication Number Publication Date
JPH04349549A true JPH04349549A (en) 1992-12-04

Family

ID=15512440

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3151149A Pending JPH04349549A (en) 1991-05-27 1991-05-27 Correction bit position information output method in memory system with ecc

Country Status (1)

Country Link
JP (1) JPH04349549A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008250671A (en) * 2007-03-30 2008-10-16 Yokogawa Electric Corp Information processor and information processing method
US7610542B2 (en) 2006-03-09 2009-10-27 Kabushiki Kaisha Toshiba Semiconductor memory in which error correction is performed by on-chip error correction circuit
US7823046B2 (en) 2003-03-13 2010-10-26 Kabushiki Kaisha Toshiba Semiconductor device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7823046B2 (en) 2003-03-13 2010-10-26 Kabushiki Kaisha Toshiba Semiconductor device
US7610542B2 (en) 2006-03-09 2009-10-27 Kabushiki Kaisha Toshiba Semiconductor memory in which error correction is performed by on-chip error correction circuit
JP2008250671A (en) * 2007-03-30 2008-10-16 Yokogawa Electric Corp Information processor and information processing method

Similar Documents

Publication Publication Date Title
US6772383B1 (en) Combined tag and data ECC for enhanced soft error recovery from cache tag errors
EP0535086B1 (en) Multiple error correction in a computer memory
US6018817A (en) Error correcting code retrofit method and apparatus for multiple memory configurations
US6662333B1 (en) Shared error correction for memory design
US4168486A (en) Segmented error-correction system
US6442726B1 (en) Error recognition in a storage system
US4800563A (en) Error processing method and apparatus for information processing system
US5369650A (en) Error detection and correction apparatus in a BY-4 RAM Device
US6505318B1 (en) Method and apparatus for partial error detection and correction of digital data
JP2606862B2 (en) Single error detection and correction method
JPH04349549A (en) Correction bit position information output method in memory system with ecc
US20230214295A1 (en) Error rates for memory with built in error correction and detection
US6301682B1 (en) Error recognition in a storage system
US7665009B2 (en) Device, data sector, method of processing data, and signal-bearing medium embodying program of device
JP3170145B2 (en) Memory control system
JPH04349550A (en) Correction bit position information output method in memory system with ecc
US11928027B1 (en) System and method for error checking and correction with metadata storage in a memory controller
RU2390059C2 (en) Read-only memory
JPH01231151A (en) Address distributing system in storage device
JPS61272851A (en) Storage device
JPH0259946A (en) Memory device
JPH06250936A (en) Computer system
JPH0756816A (en) Controller for memory
JPH08166891A (en) Fault tolerant computer system
JPH05165736A (en) Two-bit error correction circuit for semiconductor memory