Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0769874B2 - Error detection device in memory system - Google Patents
[go: Go Back, main page]

JPH0769874B2 - Error detection device in memory system - Google Patents

Error detection device in memory system

Info

Publication number
JPH0769874B2
JPH0769874B2 JP62170587A JP17058787A JPH0769874B2 JP H0769874 B2 JPH0769874 B2 JP H0769874B2 JP 62170587 A JP62170587 A JP 62170587A JP 17058787 A JP17058787 A JP 17058787A JP H0769874 B2 JPH0769874 B2 JP H0769874B2
Authority
JP
Japan
Prior art keywords
data
error
bit
error detection
correction
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
Application number
JP62170587A
Other languages
Japanese (ja)
Other versions
JPS6413653A (en
Inventor
芳文 竹中
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP62170587A priority Critical patent/JPH0769874B2/en
Publication of JPS6413653A publication Critical patent/JPS6413653A/en
Publication of JPH0769874B2 publication Critical patent/JPH0769874B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はメモリ部とエラー検出・訂正回路を具備するメ
モリシステムにおけるエラー検出装置に関するものであ
る。
The present invention relates to an error detection device in a memory system including a memory unit and an error detection / correction circuit.

〔従来技術〕[Prior art]

第2図は、従来のエラー検出方式を実施するためのメモ
リシステムのシステム構成を示すブロック図である。図
示するように、メモリシステムはエラー検出・訂正回路
10及びメモリ部20とで構成されている。
FIG. 2 is a block diagram showing the system configuration of a memory system for implementing the conventional error detection method. As shown in the figure, the memory system has an error detection / correction circuit.
It is composed of 10 and a memory unit 20.

エラー検出・訂正回路10は、1ビットエラー訂正・複数
ビットエラー検出用のチェックビット生成回路11、オン
・オフ制御端子付ドライバ12、オン・オフ制御端子付レ
シーバ13、1ビットエラー訂正・複数ビットエラー検出
用のシンドローム生成回路14、シンドロームデコード回
路15、データ訂正回路16及びオン・オフ制御端子付ドラ
イバ17を具備する。
The error detection / correction circuit 10 is a check bit generation circuit 11 for 1-bit error correction / multi-bit error detection, a driver 12 with ON / OFF control terminals, a receiver 13 with ON / OFF control terminals, 1-bit error correction / multi-bits. A syndrome generation circuit 14 for error detection, a syndrome decoding circuit 15, a data correction circuit 16 and a driver 17 with an ON / OFF control terminal are provided.

また、メモリ部20は、データワードエリア21及び冗長・
ワードメモリ部22を具備している。
In addition, the memory unit 20 includes a data word area 21 and a redundant
The word memory unit 22 is provided.

上記構成のメモリシステムにおいて、メモリ部20に書込
み時(以下「メモリ書込みサイクル」という)は、中央
処理装置(以下「CPU」という)が複数のnビットの書
込みデータS1を出力し、書込み制御信号S2をオン、読取
り要求信号S4をオフ、読取り制御信号S7をオフに設定す
る。
In the memory system having the above-described configuration, during writing into the memory unit 20 (hereinafter referred to as "memory write cycle"), the central processing unit (hereinafter referred to as "CPU") outputs the write data S 1 of a plurality of n bits, the write control The signal S 2 is turned on, the read request signal S 4 is turned off, and the read control signal S 7 is turned off.

これにより、nビットの書込みデータS1は書込み制御信
号S2のオン信号によりオンの状態にあるオン・オフ制御
端子付ドライバ12を経由し、書込みデータS9となり、次
にメモリ部20のデータワードエリア21のCPUに指定され
た番地に書込まれる。
As a result, the n-bit write data S 1 becomes the write data S 9 via the driver 12 with the ON / OFF control terminal that is in the ON state by the ON signal of the write control signal S 2 , and then the data of the memory unit 20. It is written to the address specified by the CPU in word area 21.

同時に書込みデータS1は、1ビットエラー訂正・複数ビ
ットエラー検出用のチェックビット生成回路11(以下
「チェックビット生成回路11」という)に入力され、エ
ラーの訂正能力のある決まった規則にてmビットのエラ
ー訂正用チェックビットS8となり、書込み制御信号S2
オン信号によりオン状態にあるオン・オフ制御端子付ド
ライバ12を経由し、エラー訂正用チェックビットS10
なり、次にメモリ部20の冗長・ワードエリア22のCPUに
より指定された番地に書込まれる。
At the same time, the write data S 1 is input to the check bit generation circuit 11 (hereinafter referred to as “check bit generation circuit 11”) for 1-bit error correction / multi-bit error detection, and m is used according to a fixed rule with error correction capability. It becomes a check bit S 8 for error correction of the bit, passes through the driver 12 with an ON / OFF control terminal which is in an ON state by the ON signal of the write control signal S 2 , and becomes a check bit S 10 for error correction, and then the memory section 20. It is written in the address specified by the CPU in the redundant / word area 22 of.

また、読取り制御信号S7がオフのためオン・オフ制御端
子付レシーバ13がオフの状態になりnビットの書込みデ
ータS9及びmビットのエラー訂正用チェックビットS10
はオン・オフ制御端子付レシーバ13にて抑止される。
Further, since the read control signal S 7 is off, the receiver 13 with the on / off control terminal is turned off, and the n-bit write data S 9 and the m-bit error correction check bit S 10 are obtained.
Is suppressed by the receiver 13 with an ON / OFF control terminal.

また、読取り要求信号S4がオフのためオン・オフ制御端
子付ドライバ17がオフの状態になり訂正された読取りデ
ータS3は出力されない。
Further, since the read request signal S 4 is off, the driver 17 with the on / off control terminal is turned off, and the corrected read data S 3 is not output.

以上、メモリ書込みサイクルにてエラー訂正用チェック
ビットS8の生成を行ない、それぞれ冗長・ワードエリア
22に書込むことと、書込みデータS1をデータワードエリ
ア21に書込むことを行なう。
As described above, the error correction check bit S 8 is generated in the memory write cycle, and the redundancy / word area is generated.
22 and the write data S 1 are written in the data word area 21.

次に、メモリ部20より読取る時(以下「メモリ読取りサ
イクル」という)は、読取る番地をCPUよりメモリ部20
に指示し、データワードエリア21よりnビットの読取り
データS9と冗長・ワードエリア22よりmビットのエラー
訂正用チェックビットS10をオン・オフ制御端子付レシ
ーバ13で受ける。この時、CPUより書込み制御信号S2
オフ、読取り要求信号S4をオン、読取り制御信号S7をオ
ンに設定することにより、オン・オフ制御端子付レシー
バ13はオン状態になり、書込みデータS9及びエラー訂正
用チェックビットS10を受信し、それぞれ無訂正読取り
データS11及びエラー訂正用チェックビットS12として、
1ビットエラー訂正・複数ビットエラー検出用のシンド
ローム生成回路14(以下「シンドローム生成回路14」と
いう)に入力される。シンドローム生成回路14は、無訂
正読取りデータS11とエラー訂正用チェックビットS12
より、書込み時に行なうエラー訂正用チェックビット生
成規則と逆の決められた規則にて、エラー時はエラーの
起こったビットが判定できるシンドロームビットS13
生成する。
Next, when reading from the memory unit 20 (hereinafter referred to as “memory read cycle”), the address to be read is read from the CPU by the memory unit 20.
Then, the read word S 9 of n bits from the data word area 21 and the check bit S 10 of m bits of error correction from the redundant word area 22 are received by the receiver 13 with the ON / OFF control terminal. At this time, by turning off the write control signal S 2 , turning on the read request signal S 4 and turning on the read control signal S 7 from the CPU, the receiver 13 with on / off control terminal is turned on and the write data receiving the S 9 and error correction check bits S 10, as no correction read data S 11 and error correction check bits S 12, respectively,
It is input to the syndrome generation circuit 14 for 1-bit error correction / multi-bit error detection (hereinafter referred to as "syndrome generation circuit 14"). The syndrome generation circuit 14 uses the uncorrected read data S 11 and the error correction check bit S 12 to determine the error correction check bit generation rule at the time of writing according to the reverse rule. Generates a syndrome bit S 13 that can be determined.

このシンドロームビットS13は、シンドロームデコード
回路15に入力され、該シンドロームデコード回路15に
て、シンドロームビットS13よりエラーの起こったビッ
ト数及び1ビットエラーの場合は、エラービットのデコ
ードを行ない、1ビットエラー検出時は、訂正データS
14を出力すると同時に1ビットエラー検出信号S5をCPU
に報告し、複数ビットエラー検出時は複数ビットエラー
検出信号S6をCPUに報告する。
This syndrome bit S 13 is input to the syndrome decoding circuit 15, and the syndrome decoding circuit 15 decodes the error bit if the number of bits in which an error has occurred and 1 bit error occurs from the syndrome bit S 13. When a bit error is detected, the correction data S
At the same time that 14 is output, the 1-bit error detection signal S 5 is sent to the CPU
When a multi-bit error is detected, the multi-bit error detection signal S 6 is reported to the CPU.

次にシンドロームデコード回路15でデコードされたビッ
ト及び無訂正読取りデータS11は、データ訂正回路16に
てビットエラーの場合は訂正され、訂正読取りデータS
15となり、オン・オフ制御端子付ドライバ17に入力され
る。オン・オフ制御端子付ドライバ17は読取り要求信号
S4がオン信号であるからオン状態であり、訂正読取りデ
ータS15を訂正された読取りデータS3としてCPUに送出す
る。
Next, the bit and the uncorrected read data S 11 decoded by the syndrome decoding circuit 15 are corrected by the data correction circuit 16 in the case of a bit error, and the corrected read data S 11
It becomes 15 and is input to the driver 17 with ON / OFF control terminal. Driver 17 with ON / OFF control terminal is a read request signal
Since S 4 is the ON signal, it is in the ON state, and the corrected read data S 15 is sent to the CPU as the corrected read data S 3 .

以上、メモリ読取りサイクルにて、エラーの検出を行な
い、1ビットエラー検出時はエラーの発生したビットの
訂正と1ビットエラー検報告をCPUに行なう。複数ビッ
トエラー検出時は、複数ビットエラー検出報告をCPUに
行なう。
As described above, the error is detected in the memory read cycle, and when the 1-bit error is detected, the bit in which the error has occurred is corrected and the 1-bit error detection is reported to the CPU. When a multi-bit error is detected, a multi-bit error detection report is sent to the CPU.

〔発明が解決しようとする問題点〕 しかしながら上記従来のエラー検出方式では、メモリ読
取りサイクル時のみエラー検出・訂正を行なっているの
で、エラー検出時はメモリ書込みサイクル時に誤ったデ
ータをメモリ部20に書込んだのか、メモリ部20にてその
データを保持中にそのデータが反転したのか、メモリ部
20からデータを読取り中にデータが誤まったのかの判定
判断がつかず、エラー発生個所が限定できないという問
題があった。
[Problems to be Solved by the Invention] However, in the above conventional error detection method, since error detection / correction is performed only during the memory read cycle, erroneous data is stored in the memory unit 20 during the memory write cycle during error detection. Whether the data was written, or the data was inverted while the memory unit 20 was holding the data,
There was a problem that it was not possible to determine whether or not the data was erroneous while reading the data from 20, and the location of the error could not be limited.

本発明は上述の点に鑑みてなされたもので、検出したエ
ラーがどの時点で発生したのか判断がつかないという問
題点を解決し、的確なエラー発生情報を提供できるメモ
リシステムにおけるエラー検出装置を提供することにあ
る。
The present invention has been made in view of the above points, and solves the problem of not being able to determine when a detected error has occurred, and provides an error detection device in a memory system that can provide accurate error occurrence information. To provide.

〔問題点を解決するための手段〕[Means for solving problems]

上記問題点を解決するため本発明は、第1図に示すよう
に、前記メモリシステムのエラー検出・訂正回路10に書
込み制御信号S2及び読取り制御信号S7の論理和信号を生
成する論理和回路18を設け、メモリ書込みサイクル時に
書込みデータS9及びエラー訂正用チェックビットS10
受信するためのオン・オフ制御端子付レシーバ13を該論
理和回路18からの論理和信号により動作させるように構
成した。
In order to solve the above problems, the present invention, as shown in FIG. 1, generates a logical sum of a write control signal S 2 and a read control signal S 7 in the error detection / correction circuit 10 of the memory system. A circuit 18 is provided so that the receiver 13 with an on / off control terminal for receiving the write data S 9 and the error correction check bit S 10 in the memory write cycle is operated by the logical sum signal from the logical sum circuit 18. Configured.

〔作用〕[Action]

上記の如く構成することにより、メモリ書込みサイクル
時にもエラー検出が可能となり、エラー発生個所の限定
ができることになり、エラー発生個所の調査時間の短縮
とエラー発生個所の確実な検知ができる。
With the above-described configuration, it is possible to detect an error even during a memory write cycle, limit an error occurrence point, shorten the investigation time of the error occurrence point, and reliably detect the error occurrence point.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面に基づいて説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明に係るエラー検出方式を実施するための
メモリシステムのシステム構成を示すブロック図であ
る。同図において、第2図と同一符号を付した部分は同
一又は相当部分を示す。
FIG. 1 is a block diagram showing the system configuration of a memory system for implementing the error detection method according to the present invention. In the same figure, the parts given the same reference numerals as in FIG. 2 indicate the same or corresponding parts.

第1図において、18は論理和回路で、本発明のエラー検
出方式を採用するために設けたものである。該論理和回
路18の一方の入力には書込み制御信号S2が接続され、も
う一方の入力には読取り制御信号S7が接続される。ま
た、出力はオン・オフ制御端子付レシーバ13に接続され
ている。
In FIG. 1, reference numeral 18 denotes an OR circuit, which is provided to adopt the error detecting method of the present invention. The write control signal S 2 is connected to one input of the OR circuit 18, and the read control signal S 7 is connected to the other input. The output is also connected to the receiver 13 with an on / off control terminal.

上記の如く構成されたメモリシステムにおいて、先ずメ
モリ書込みサイクル時は、従来と同様にCPUが複雑のn
ビットの書込みデータS1を出力し、書込み制御信号S2
オン、読取り要求信号S4をオフ、読取り制御信号S7をオ
フに設定する。
In the memory system configured as described above, in the memory write cycle, the CPU is complicated as in the conventional case.
Bit write data S 1 is output, write control signal S 2 is turned on, read request signal S 4 is turned off, and read control signal S 7 is turned off.

これにより、nビットの書込みデータS1は書込み制御信
号S2のオン信号によりオンの状態にあるオン・オフ制御
端子付ドライバ12を経由し、書込みデータS9となり、次
にメモリ部20のデータワードエリア21のCPUに指定され
た番地に書込まれる。
As a result, the n-bit write data S 1 becomes the write data S 9 via the driver 12 with the ON / OFF control terminal that is in the ON state by the ON signal of the write control signal S 2 , and then the data of the memory unit 20. It is written to the address specified by the CPU in word area 21.

同時に書込みデータS1はチェックビット生成回路11に入
力され、エラー訂正能力のある決まった規則にてmビッ
トのエラー訂正用チェックビットS8となり、オン状態に
あるオン・オフ制御端子付ドライバ12を経由して、エラ
ー訂正用チェックビットS10となり、次にメモリ部20の
冗長・ワードエリア22のCPUにより指定された番地に書
込まれる。以上は、従来と同様の動作である。
At the same time, the write data S 1 is input to the check bit generation circuit 11 and becomes the m-bit error correction check bit S 8 according to a fixed rule with error correction capability, and the on / off control terminal driver 12 in the on state is set. It becomes an error correction check bit S 10 via the data and is written in the address of the redundancy / word area 22 of the memory unit 20 designated by the CPU. The above is the same operation as the conventional one.

次に本発明のエラー検出方式を採用するにあたって追加
した前記論理回路18の出力は、一方の書込み制御信号S2
がオンのためオン状態となる。これによりオン・オフ制
御端子付レシーバ13は、オン状態となり、nビットの書
込みデータS9及びmビットのエラー訂正用チェックビッ
トS10を受信する。
Next, the output of the logic circuit 18 added in adopting the error detection method of the present invention is one write control signal S 2
Is on because it is on. As a result, the receiver with on / off control terminal 13 is turned on and receives the n-bit write data S 9 and the m-bit error correction check bit S 10 .

この受信した無訂正読取りデータS11及びエラー訂正用
チェックビットS12としてシンドローム生成回路14に入
力される。シンドローム生成回路14は、無訂正読取りデ
ータS11とエラー訂正用チェックビットS12より、書込み
時に行なうエラー訂正用チェックビット生成規則と逆の
決められた規則にて、エラーの起こったビットが判定で
きるシンドロームビットS13を生成する。
The received uncorrected read data S 11 and the error correction check bit S 12 are input to the syndrome generation circuit 14. The syndrome generation circuit 14 can determine the bit in which an error has occurred from the uncorrected read data S 11 and the error correction check bit S 12 according to a rule that is the reverse of the rule for the error correction check bit generation rule performed at the time of writing. Generates syndrome bit S 13 .

このシンドロームビットS13はシンドロームデコード回
路15に入力され、シンドロームデコード回路15にてシン
ドリームビットS13よりエラーの起こったビット数及び
1ビットエラーの場合は、エラービットのデコードを行
ない、1ビットエラー検出時は、訂正データS14を出力
すると同時に、1ビットエラー検出信号S5をCPUに報告
し、複数ビットエラー検出時は、複数ビットエラー検出
信号S6をCPUに報告する。
This syndrome bit S 13 is input to the syndrome decoding circuit 15, and in the syndrome decoding circuit 15, the error bit is decoded from the syndrome bit S 13 and in the case of 1 bit error, the error bit is decoded and the 1 bit error is generated. At the time of detection, the correction data S 14 is output, and at the same time, the 1-bit error detection signal S 5 is reported to the CPU, and at the time of detection of the multi-bit error, the multi-bit error detection signal S 6 is reported to the CPU.

次に、シンドロームデコード回路15でデコードされたビ
ット及び無訂正読取りデータS11は、データ訂正回路16
にて1ビットエラーの場合は訂正され、訂正読取りデー
タS15となり、オン・オフ制御端子付ドライバ17に入力
される。オン・オフ制御端子付ドライバ17は読取り要求
信号S4がオフであるからオフ状態にあり、訂正読取りデ
ータS15は出力されない。
Next, the bits decoded by the syndrome decoding circuit 15 and the uncorrected read data S 11 are
In the case of a 1-bit error, the data is corrected to be corrected read data S 15 , which is input to the driver 17 with an ON / OFF control terminal. The driver 17 with ON / OFF control terminal is in the OFF state because the read request signal S 4 is OFF, and the corrected read data S 15 is not output.

以上、メモリ書込みサイクルでは、エラー訂正用チェッ
クビットの生成を行ない、それを冗長・ワードエリア22
に書込むことと書込みデータをデータワードエリア21に
書込むこと及びエラーの検出を行ない、1ビットエラー
検出時は1ビットエラー検出報告をCPUに行なう。ま
た、複数ビットエラー検出時は複数ビットエラー検出報
告をCPUに行なう。
As described above, in the memory write cycle, the check bit for error correction is generated, and it is used as the redundancy / word area 22
To the data word area 21 and detect an error. When a 1-bit error is detected, a 1-bit error detection report is sent to the CPU. When a multi-bit error is detected, a multi-bit error detection report is sent to the CPU.

次に、メモリ読取りサイクル時は、従来のメモリ読取り
サイクル時と同時にCPUより書込み制御信号S2をオフ、
読取り要求信号S4をオン、読取り制御信号S7をオンに設
定することにより、本発明により追加された論理和回路
18の出力は、一方の入力の読取り制御信号S7がオンのた
めオン状態になる。これによりオン・オフ制御端子付レ
シーバ13がオン状態となり、以下従来のメモリ読取りサ
イクルと同様の働きを行なう。
Next, during the memory read cycle, the CPU turns off the write control signal S 2 simultaneously with the conventional memory read cycle.
The OR circuit added by the present invention by setting the read request signal S 4 to ON and the read control signal S 7 to ON
The output of 18 is turned on because the read control signal S 7 of one input is turned on. As a result, the receiver with on / off control terminal 13 is turned on, and the same operation as the conventional memory read cycle is performed.

これにより、従来の回路と同様、メモリ読取りサイクル
にてエラーの検出を行ない、1ビットエラー検出時はエ
ラーの発生したビットの訂正と1ビットエラー検出報告
をCPUに行なう。複数ビットエラー検出時は、複数ビッ
トエラー検出報告をCPUに行なう。
As a result, similarly to the conventional circuit, the error is detected in the memory read cycle, and when the 1-bit error is detected, the bit in which the error has occurred is corrected and the 1-bit error detection report is sent to the CPU. When a multi-bit error is detected, a multi-bit error detection report is sent to the CPU.

以上説明したように、上記実施例によれば、エラー検出
・訂正回路10にメモリ書込みサイクル時に書込みデータ
S9及びエラー訂正用チェックビットS10を受信するため
のオン・オフ制御端子付レシーバ13をオンする論理回路
18を設けることでメモリ書込みサイクル時にもエラー検
出が可能となり、エラー発生個所の限定ができることに
より、エラー発生個所の調査時間の短縮とエラー発生個
所の確実な検知ができる。
As described above, according to the above-described embodiment, the error detection / correction circuit 10 writes the write data during the memory write cycle.
A logic circuit for turning on the receiver 13 with an on / off control terminal for receiving S 9 and the error correction check bit S 10.
By providing 18, it is possible to detect an error even during a memory write cycle, and by limiting the error occurrence location, it is possible to shorten the investigation time of the error occurrence location and reliably detect the error occurrence location.

〔発明の効果〕〔The invention's effect〕

以上、説明したように本発明によれば下記のような優れ
た効果が得られる。
As described above, according to the present invention, the following excellent effects can be obtained.

書込み制御信号と読込み制御信号の論理和信号を生成す
る論理和回路を設け、該論理和回路の出力を第2のオン
・オフ制御端子付ドライバの読取り制御信号入力端子に
接続するので、論理和回路を設けるという簡単な構成で
メモリ書込みサイクル時にもエラー検出が可能となると
共に、エラー発生個所の限定ができ、エラー発生個所の
確実性の向上が図れる。
An OR circuit for generating an OR signal of the write control signal and the read control signal is provided, and the output of the OR circuit is connected to the read control signal input terminal of the second driver with ON / OFF control terminal. With a simple configuration of providing a circuit, an error can be detected even during a memory write cycle, and an error occurrence location can be limited, so that the reliability of the error occurrence location can be improved.

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

第1図は本発明に係るエラー検出方式を実施するための
メモリシステムのシステム構成を示すブロック図、第2
図は従来のエラー検出方式を実施するためのメモリシス
テムのシステム構成を示すブロック図である。 図中、10……エラー検出・訂正回路、11……チェックビ
ット生成回路、12……オン・オフ制御端子付ドライバ、
13……オン・オフ制御端子付ドライバ、13……オン・オ
フ制御端子付レシーバ、14……シンドローム生成回路、
15……シンドロームデコード回路、16……データ訂正回
路、17……オン・オフ制御端子付ドライバ、18……論理
和回路、20……メモリ部、21……データワードエリア、
22……冗長・ワードエリア。
FIG. 1 is a block diagram showing a system configuration of a memory system for implementing an error detection method according to the present invention, and FIG.
FIG. 1 is a block diagram showing a system configuration of a memory system for implementing a conventional error detection method. In the figure, 10 ... Error detection / correction circuit, 11 ... Check bit generation circuit, 12 ... Driver with ON / OFF control terminal,
13 …… Driver with ON / OFF control terminal, 13 …… Receiver with ON / OFF control terminal, 14 …… Syndrome generation circuit,
15 …… Syndrome decode circuit, 16 …… Data correction circuit, 17 …… Driver with ON / OFF control terminal, 18 …… OR circuit, 20 …… Memory section, 21 …… Data word area,
22 …… Redundant / word area.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】メモリ部(20)及びエラー検出・訂正回路
(10)を具備し、 前記メモリ部(20)は書込みデータを格納するデータ・
ワードエリア(21)と、エラー検出・訂正用チェックビ
ットを格納する冗長・ワードエリア(22)とを具備し、 前記エラー検出・訂正回路(10)はCPUからの書込みデ
ータを受信しエラー検出・訂正用チェックビットを生成
するチェックビット生成回路(11)と、前記CPUからの
書込み制御信号を受信し該書込み制御信号がオンの時、
前記書込みデータ及び該エラー検出・訂正用チェックビ
ットをそれぞれ前記メモリ部(20)のデータ・ワードエ
リア(21)及び冗長・ワードエリア(22)へ出力する第
1のオン・オフ制御端子付ドライバ(12)と、該第1の
オン・オフ制御端子付ドライバ(12)の出力端子が接続
されたメモリ部(30)の端子に入力端子が接続され前記
CPUからの読取り制御信号が受信し該読取り制御信号が
オンの時、前記メモリ部(20)のデータ・ワードエリア
(21)及び冗長・ワードエリア(22)からの前記書込み
データ及び該エラー検出・訂正用チェックビットを取込
むオン・オフ制御端子付レシーバ(13)と、該オン・オ
フ制御端子付レシーバ(13)で受信した前記無訂正書込
みデータとエラー検出・訂正用チェックビットを入力し
書込み時に行なうエラー訂正用チェックビット生成規則
と逆の決められた規則にてシンドロームビットを生成す
るシンドローム生成回路(14)と、該シンドロームビッ
トを入力しエラーの起こったビットを判定し訂正データ
を出力するシンドロームデーコード回路(15)と、該訂
正データと前記無訂正書込みデータを入力し訂正読取り
データを出力するデータ訂正回路(16)と、前記CPUか
らの読取り要求信号を受信し該読取り要求信号がオンの
時、該CPUへ前記訂正読取りデータを出力する第2のオ
ン・オフ制御端子付ドライバ(17)を具備するメモリシ
ステムにおけるエラー検出装置において、 前記書込み制御信号と前記読取り制御信号の論理和信号
を生成する論理和回路(18)を設け、該論理和回路(1
8)の出力を前記オン・オフ制御端子付レシーバ(13)
の前記読取り制御信号入力端子に接続することを特徴と
するメモリシステムにおけるエラー検出装置。
1. A memory unit (20) and an error detection / correction circuit (10) are provided, and the memory unit (20) stores data for storing write data.
A word area (21) and a redundant word area (22) for storing error detection / correction check bits are provided. The error detection / correction circuit (10) receives write data from the CPU and detects an error. A check bit generation circuit (11) for generating a check bit for correction and a write control signal from the CPU, and when the write control signal is on,
A driver with a first on / off control terminal for outputting the write data and the error detection / correction check bit to the data word area (21) and the redundancy word area (22) of the memory section (20), respectively ( 12) and the input terminal is connected to the terminal of the memory section (30) to which the output terminal of the first on / off control terminal-equipped driver (12) is connected.
When the read control signal from the CPU is received and the read control signal is on, the write data from the data word area (21) and the redundant word area (22) of the memory section (20) and the error detection A receiver (13) with an on / off control terminal that takes in a check bit for correction, and the uncorrected write data received by the receiver (13) with an on / off control terminal and an error detection / correction check bit are input and written. A syndrome generation circuit (14) that generates a syndrome bit according to a rule that is the reverse of the error correction check bit generation rule that is sometimes used, and inputs the syndrome bit, determines the bit in which an error has occurred, and outputs corrected data. Syndrome day code circuit (15), data for inputting the corrected data and the uncorrected write data and outputting corrected read data A positive circuit (16) and a second driver (17) with an on / off control terminal for receiving the read request signal from the CPU and outputting the corrected read data to the CPU when the read request signal is on. An error detection device in a memory system comprising: a logical sum circuit (18) for generating a logical sum signal of the write control signal and the read control signal.
The output of 8) is the receiver with the ON / OFF control terminal (13)
2. An error detecting device in a memory system, wherein the error detecting device is connected to the read control signal input terminal.
JP62170587A 1987-07-07 1987-07-07 Error detection device in memory system Expired - Lifetime JPH0769874B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62170587A JPH0769874B2 (en) 1987-07-07 1987-07-07 Error detection device in memory system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62170587A JPH0769874B2 (en) 1987-07-07 1987-07-07 Error detection device in memory system

Publications (2)

Publication Number Publication Date
JPS6413653A JPS6413653A (en) 1989-01-18
JPH0769874B2 true JPH0769874B2 (en) 1995-07-31

Family

ID=15907599

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62170587A Expired - Lifetime JPH0769874B2 (en) 1987-07-07 1987-07-07 Error detection device in memory system

Country Status (1)

Country Link
JP (1) JPH0769874B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS548936A (en) * 1977-06-22 1979-01-23 Hitachi Ltd Memory unit
JPS5634194A (en) * 1979-08-22 1981-04-06 Nec Corp Memory unit

Also Published As

Publication number Publication date
JPS6413653A (en) 1989-01-18

Similar Documents

Publication Publication Date Title
US6009548A (en) Error correcting code retrofit method and apparatus for multiple memory configurations
KR920002575B1 (en) Byte write error code method and apparatus
US6044483A (en) Error propagation operating mode for error correcting code retrofit apparatus
US4712216A (en) Method and device for correcting errors in memories
JPS6061837A (en) Error corrector
JP2001249854A (en) Shared error correction for designing memory
US4926426A (en) Error correction check during write cycles
JPH0529935B2 (en)
US3898443A (en) Memory fault correction system
JPH0769874B2 (en) Error detection device in memory system
JPH08130480A (en) Error correction decoder
JPH0816488A (en) Electronic disk device
JPH06103469B2 (en) Memory control circuit
JP2000099410A (en) Memory control circuit and information processor
JP2930239B2 (en) Storage device failure detection method and storage control device
JPH0746517B2 (en) Semiconductor memory and its testing method
JPS6395550A (en) Memory device
JPH05197580A (en) Two-bit error correction circuit
JPH1011284A (en) Controlled storage device
JPH0675864A (en) Memory error recovery system
JPH05165736A (en) Two-bit error correction circuit for semiconductor memory
JPH06101240B2 (en) Semiconductor memory
JPS6223337B2 (en)
JPH05181757A (en) Address incoincidence detecting circuit
JPS5837638B2 (en) Kiokusouchi