JPS6288044A - Memory control system - Google Patents

Memory control system

Info

Publication number
JPS6288044A
JPS6288044A JP60226895A JP22689585A JPS6288044A JP S6288044 A JPS6288044 A JP S6288044A JP 60226895 A JP60226895 A JP 60226895A JP 22689585 A JP22689585 A JP 22689585A JP S6288044 A JPS6288044 A JP S6288044A
Authority
JP
Japan
Prior art keywords
parity
data
error
memory
read
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
JP60226895A
Other languages
Japanese (ja)
Inventor
Mitsunori Maeda
満則 前田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60226895A priority Critical patent/JPS6288044A/en
Publication of JPS6288044A publication Critical patent/JPS6288044A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To output a read out data having no errors and to rewrite the read out data in which the error is detected with the data having no errors by writing the same adding an parity bit on two memories. CONSTITUTION:When a parity error is detected in the read out data on a memory part 11a, the memory part 11a and a parity memory part 11b are switched to a write mode, and also, the read out data on a memory part 12a is outputted. The read out data is added on the memory part 11a and is rewritten automatically to the read out data having no parity error. Also, when the error is detected at the read out data on the memory 12a, an output from an OR circuit 21 becomes '0', and consequently, the memory part 12a and a parity memory part 12b are switched to the write mode, the data being rewritten automatically to the read out data of the memory part 11a.

Description

【発明の詳細な説明】 〔概要〕 2個のメモリに同一のデータをパリティビットを付加し
て書込み、又2個のメモリから同一のデータを読出し、
パリティチェックを行って、エラーのない読出データを
出力し、エラーが検出された読出データに対しては、エ
ラーのない読出データによって書換えるものであり、常
に正しいデータに書換えることと、二重化とにより、高
信頼性のメモリユニットを提供するものである。
[Detailed Description of the Invention] [Summary] Writing the same data with a parity bit added to two memories, reading the same data from the two memories,
A parity check is performed to output error-free read data, and read data in which an error is detected is rewritten with error-free read data. This provides a highly reliable memory unit.

〔産業上の利用分野〕[Industrial application field]

本発明は、メモリを二重化して同一の正しいデータが蓄
積されるように制御するメモリ制御方式%式% 各種のデータ処理システムに於いては、ランダムアクセ
スメモリを備え、データの書込み及び読出しが行われる
。その際、読出データの信頼性を向上させる為に、パリ
ティチェック等の各種のチェック方式が採用されている
The present invention is a memory control method that controls memory duplication so that the same correct data is stored.In various data processing systems, a random access memory is provided, and data is written and read. be exposed. At this time, various check methods such as parity check are employed to improve the reliability of read data.

〔従来の技術〕[Conventional technology]

データにパリティビットを付加してランダムアクセスメ
モリに書込み、そのメモリから読出したデータのパリテ
ィチェックを行って、読出データの信頼性を向上する方
式が比較的多く採用されている。
Relatively many methods have been adopted for improving the reliability of read data by adding a parity bit to data and writing it into a random access memory, and then performing a parity check on the data read from the memory.

又データに、1ビツトエラー訂正2ビツトエラー検出の
エラーチェックビットを付加してランダムアクセスメモ
リに書込み、そのメモリから読出したデータについてエ
ラーチェックビットを基にエラーの有無を検出し、1ビ
ツトエラーの場合は、そのエラー位置を識別して訂正す
る方式も知られている。この方式は、1ビツトエラーに
ついては訂正して正しいデータとして出力することがで
きる。この訂正されたデータでメモリの書換えを行う方
式も知られている。
Also, an error check bit for 1-bit error correction, 2-bit error detection, and 1-bit error correction is added to the data and written to the random access memory, and the presence or absence of an error is detected based on the error check bit in the data read from the memory. In the case of a 1-bit error, A method for identifying and correcting the error position is also known. This method can correct a 1-bit error and output it as correct data. A method for rewriting the memory using this corrected data is also known.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

パリティチェックを行う従来の方式は、メモリからの読
出データのパリティエラーのを無を検出し、パリティエ
ラーなしのデータを使用するものであり、パリティエラ
ーが検出された場合は、そのデータを使用しないように
するものである。従って、正しいデータを得ることがで
きないから、再度圧しいデータをメモリに書込む等の操
作が必要となる。
The conventional method of performing a parity check is to detect parity errors in data read from memory and use the data without parity errors; if a parity error is detected, that data is not used. It is intended to do so. Therefore, since correct data cannot be obtained, operations such as writing overwhelming data into the memory again are required.

又1ビツトエラー訂正2ビツトエラー検出方式は、1ビ
ツトエラーについては訂正して正しいデータを出力する
ことができる利点がある。しかし、エラー訂正の為に、
ソフトウェアのサポートを必要とする欠点がある。
Furthermore, the 1-bit error correction/2-bit error detection method has the advantage of being able to correct 1-bit errors and output correct data. However, for error correction,
The disadvantage is that it requires software support.

本発明は、読出サイクルで検出したエラーを自動訂正し
、且つ正しいデータに吉換えて、読出データの信頼性を
向上させることを目的とするものである。
The present invention aims to improve the reliability of read data by automatically correcting errors detected in a read cycle and replacing them with correct data.

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

本発明のメモリ制御方式は、メモリを二重化すると共に
、パリティチェックによってエラーを検出し、エラー検
出時は、正しい方の読出データを出力すると共に、エラ
ーデータをこの正しい読出データによって書換えるもの
である。第1図を参照して説明すると、第1及び第2の
メモリ1,2と、パリティ発生器3,4と、パリティチ
ェッカ5.6と、データの書込み及び読出しを制御する
書込読出制御部7とを備え、この書込読出制御部7によ
って、第1及び第2のメモリ1. 2に、同一のデータ
をパリティ発生器3,4で発生したパリティビットを付
加して書込む。従って、データ書込みに於いてエラーが
なげれば、第1及び第2のメモリ1.2の蓄積データは
同一となる。
The memory control method of the present invention duplicates the memory, detects errors by parity check, and when an error is detected, outputs the correct read data and rewrites the error data with the correct read data. . To explain with reference to FIG. 1, first and second memories 1 and 2, parity generators 3 and 4, parity checkers 5 and 6, and a write/read controller that controls writing and reading of data. 7, and the write/read controller 7 controls the first and second memories 1. 2, the same data is written with the addition of parity bits generated by parity generators 3 and 4. Therefore, if there is no error in data writing, the stored data in the first and second memories 1.2 will be the same.

又書込読出制御部7によって、第1及び第2のメモリ1
,2からデータを同時に読出し、それぞれパリティチェ
ッカ5,6によりパリティチェックを行い、チェック結
果を書込読出制御部7に加える。書込読出制御部7は、
パリティエラーなしの場合は、予め選定した方のメモリ
の読出データを出力する。又パリティエラーが検出され
ると、パリティエラーなしの方の読出データを選択して
出力すると共に、この読出データを書込データとしてエ
ラー発生のメモリに加えて、データの書換えを行うもの
である。
Also, the write/read controller 7 controls the first and second memories 1
. The write/read control unit 7
If there is no parity error, the read data of the memory selected in advance is output. When a parity error is detected, the read data without a parity error is selected and output, and the read data is added to the memory where the error occurred as write data, and the data is rewritten.

〔作用〕[Effect]

第1及び第2のメモリ1,2の蓄積データは同じもので
あり、それらを読出した時に、通常はパリティエラーが
ないので、予め何れか一方のメモリの読出データを選択
して出力し、第1及び第2のメモリ1.2の何れか一方
の読出データにパリティエラーがあった場合は、書込読
出制御部7によってパリティエラーなしの読出データを
選択して出力し、この読出データを書込データとして、
パリティエラーが検出されたデータを自動的に書換え、
第1及び第2のメモリ1,2の蓄積データをそれぞれパ
リティエラーなしの同一のデータとなるようにするもの
である。
The stored data in the first and second memories 1 and 2 are the same, and there is usually no parity error when they are read. Therefore, the read data of either memory is selected and outputted in advance. If there is a parity error in the read data of either the memory 1 or the second memory 1.2, the write/read controller 7 selects and outputs the read data without a parity error, and writes this read data. As included data,
Automatically rewrites data where a parity error is detected,
The data stored in the first and second memories 1 and 2 are made to be the same data without any parity error.

〔実施例〕〔Example〕

以下図面を参照して本発明の実施例について詳細に説明
する。
Embodiments of the present invention will be described in detail below with reference to the drawings.

第2図は本発明の実施例のブロック図であり、11a、
12aは例えば8ビツトのデータを蓄積するメモリ部、
11b、I2bはメモリ部に書込む8ビツトのデータに
対する1ビツトのパリティビットを蓄積するパリティメ
モリ部、13.14はパリティ発生器、15.I6はパ
リティチェッカ、17.18は双方向ドライバ、19は
アドレスデコーダ、20.21は排他的オア回路、22
〜25はノア回路、26はオア回路、27はインバータ
である。
FIG. 2 is a block diagram of an embodiment of the present invention, 11a,
12a is a memory unit that stores, for example, 8-bit data;
11b and I2b are parity memory sections that store 1-bit parity bit for 8-bit data to be written in the memory section; 13.14 is a parity generator; 15. I6 is a parity checker, 17.18 is a bidirectional driver, 19 is an address decoder, 20.21 is an exclusive OR circuit, 22
25 is a NOR circuit, 26 is an OR circuit, and 27 is an inverter.

メモリ部11aとパリティメモリ部11bが第1図に於
ける第1のメモリ1に相当し、メモリ部12aとパリテ
ィメモリ部12bが第1図に於ける第2のメモリ2に相
当する。又双方向ドライバ17.18やノア回路等のゲ
ート回路が第1図の書込読出制御部7に相当するもので
ある。
The memory section 11a and the parity memory section 11b correspond to the first memory 1 in FIG. 1, and the memory section 12a and the parity memory section 12b correspond to the second memory 2 in FIG. Further, the bidirectional drivers 17 and 18 and gate circuits such as NOR circuits correspond to the write/read controller 7 in FIG.

又ADはアドレスバスからのアドレス信号、RWは制御
バスからの読出し書込みの制御信号、Dはデータバスと
の間のデータを示し、アドレス信号ADは、メモリ部1
1a、12a、パリティメモリ部11b、12bのアド
レス端子へに加えられ、又アドレスデコーダ19に加え
られ、メモリアクセスに於けるアドレス信号のデコード
出力信号は“O”となる。又メモリ部11a、12a及
びパリティメモリ部11b、12bの制御端子R/Wに
、“I”の制御信号が加えられた時に読出モード、“0
”の制御信号が加えられた時に書込モードとなる。又D
ioはデータの入出力端子である。
AD is an address signal from the address bus, RW is a read/write control signal from the control bus, and D is data between the data bus and the address signal AD.
1a, 12a, parity memory sections 11b, 12b, and the address decoder 19, the decoded output signal of the address signal in memory access becomes "O". Also, when a control signal of "I" is applied to the control terminal R/W of the memory sections 11a and 12a and the parity memory sections 11b and 12b, the read mode is set to "0".
The write mode is activated when the control signal “D” is applied.
io is a data input/output terminal.

パリティ発生器13.14は、、メモリ部11a、12
aの入出力端子Dioに加えられるデータからパリティ
ビットPiを形成して、パリティメモリ部11b、12
bへ加える。又パリティチェッカ15.16は、メモリ
部11a、12aの入出力端子Dioからのデータと、
パリティメモリ部11b、12bからのパリティビット
Poとを用いてパリティチェックを行い、パリティエラ
ーを検出すると、“I”の検出信号を出力する。
Parity generators 13 and 14 include memory units 11a and 12.
A parity bit Pi is formed from the data applied to the input/output terminal Dio of the parity memory section 11b, 12.
Add to b. Furthermore, the parity checkers 15 and 16 receive data from the input/output terminals Dio of the memory sections 11a and 12a,
A parity check is performed using the parity bit Po from the parity memory sections 11b and 12b, and when a parity error is detected, a detection signal of "I" is output.

又双方向ドライバ17.18の端子ENは、イネーブル
端子であり、“0”の信号が加えられた時に動作状態と
なる。又端子DIRは方向制御端子で、“0”の信号が
加えられた時に書込方向、即ち、データバス側からのデ
ータDをメモリ側へ送出する動作を行い、又“1”が加
えられた時に読出方向、即ち、メモリから読出したデー
タをデータバス側へ送出する動作を行う。
The terminals EN of the bidirectional drivers 17 and 18 are enable terminals, and become operational when a "0" signal is applied thereto. The terminal DIR is a direction control terminal, and when a "0" signal is added, it performs the write direction, that is, sends data D from the data bus side to the memory side, and when a "1" signal is added. At the same time, it performs an operation in the read direction, that is, sends data read from the memory to the data bus side.

制御信号RWが“0”で書込モードの場合に、アドレス
信号ADとデータDとが加えられると、パリティチェッ
カ15.16の検出信号は“0”であるから、排他的オ
ア回路20.21の出力信号は、′O”となる。従って
、メモリ部11a。
When the control signal RW is "0" and the write mode is applied, when the address signal AD and data D are added, the detection signal of the parity checker 15.16 is "0", so the exclusive OR circuit 20.21 The output signal of the memory section 11a becomes 'O''.

12a及びパリティメモリ部11b、12bの端子R/
Wに“O”の制御信号が加えられ、書込モードとなる。
12a and the terminals R/ of the parity memory sections 11b and 12b.
A control signal of "O" is applied to W to enter the write mode.

又アドレスデコーダ19のデコード出力信号が“O”と
なり、双方向ドライバ17の端子ENにその“O”の信
号が加えられるから動作状態となり、又排他的オア回路
20の“0”の出力信号が双方向ドライバ17の端子D
IRに加えられ、双方向ドライバ17は書込方向に動作
し、データバスからのデータDをメモリ部11aの入出
力端子Dioに加えることになる。従って、そのデータ
Dは、アドレス信号ADによって指示されたメモリ部1
1aのアドレスに書込まれる。又パリティ発生器13で
形成されたパリティビットPiがパリティメモリ部11
bに書込まれる。
In addition, the decoded output signal of the address decoder 19 becomes "O", and the "O" signal is applied to the terminal EN of the bidirectional driver 17, so that it is in an operating state, and the "0" output signal of the exclusive OR circuit 20 becomes "0". Terminal D of bidirectional driver 17
IR, the bidirectional driver 17 operates in the write direction and applies data D from the data bus to the input/output terminal Dio of the memory section 11a. Therefore, the data D is stored in the memory section 1 designated by the address signal AD.
Written to address 1a. Further, the parity bit Pi generated by the parity generator 13 is stored in the parity memory section 11.
written to b.

又オア回路26の出力信号は“l”、ノア回路22の出
力信号は“1”となり、ノア回路23の出力信号は“O
”、又ノア回路24の出力信号は1″となるから、ノア
回路25から双方向ドライバ18の端子ENに加えられ
る信号は“0゛となり、双方向ドライバ18は動作状態
となる。又排他的オア回路21から双方向ドライバ18
の端子DIRに加えられる信号は0″となるから、双方
向ドライバ18は書込方向に動作し、データバスからの
データDをメモリ部12aの入出力端子Dioに加える
ことになる。それによって、そのデータDは、アドレス
信号ADによって指示されたメモリ部12aのアドレス
に書込まれる。又パリティ発生部14によって発生され
たパリティビットPiがパリティメモリ部12bに書込
まれる。
Also, the output signal of the OR circuit 26 is "L", the output signal of the NOR circuit 22 is "1", and the output signal of the NOR circuit 23 is "O".
”, and the output signal of the NOR circuit 24 becomes 1”, so the signal applied from the NOR circuit 25 to the terminal EN of the bidirectional driver 18 becomes “0”, and the bidirectional driver 18 becomes operational. From OR circuit 21 to bidirectional driver 18
Since the signal applied to the terminal DIR becomes 0'', the bidirectional driver 18 operates in the write direction and applies the data D from the data bus to the input/output terminal Dio of the memory section 12a. The data D is written to the address of the memory section 12a designated by the address signal AD. Also, the parity bit Pi generated by the parity generating section 14 is written to the parity memory section 12b.

又制御信号RWが“l゛となり、アドレス信号ADが加
えられると、メモリ部11a、12a。
Further, when the control signal RW becomes "1" and the address signal AD is applied, the memory sections 11a and 12a.

パリティメモリ部11b、12bの端子R/Wに“1”
の信号が加えられて読出モードとなり、メモリ部11a
、12aの入出力端子Dioから出力されたデータは、
パリティチェッカ15゜16及び双方向ドライバ17.
18にそれぞれ加えられる。又パリティメモリ部11b
、12bから読出されたパリティピッl−P oはパリ
ティチェッカ15.16にそれぞれ力■えられる。
“1” in terminal R/W of parity memory sections 11b and 12b
The signal is applied to enter the read mode, and the memory section 11a
, 12a, the data output from the input/output terminal Dio is as follows.
Parity checker 15°16 and bidirectional driver 17.
18 respectively. Also, the parity memory section 11b
, 12b are input to parity checkers 15 and 16, respectively.

パリティチェ・7カ15.’16に於いてパリティチェ
ックを行い、パリティエラーがなければ、検出信号は“
0”となり、パリティエラーが検出されると、検出信号
は“1”となる。
Paritiche 7ka15. Parity check is performed in '16, and if there is no parity error, the detection signal is "
When a parity error is detected, the detection signal becomes "1".

パリティエラーがない場合は、排他的オア回路20.2
1の出力信号は“1”のままとなる。又ノア回路22の
出力信号は“1”、オア回路26の出力信号は“0”で
、ノア回路23の出力信号は”0”、又ノア回路24の
出力信号は“O”となるから、ノア回路25の出力信号
は1”となり、双方向ドライバ18の端子ENに“l”
の信号が加えられるから、非動作状態となる。即ち、メ
モリ部11a、12aの読出データが何れもパリティエ
ラーがない場合は、メモリ部11aの読出データが選択
されて双方向ドライバ17を介して出力される。
If there is no parity error, exclusive OR circuit 20.2
The output signal of 1 remains "1". Also, the output signal of the NOR circuit 22 is "1", the output signal of the OR circuit 26 is "0", the output signal of the NOR circuit 23 is "0", and the output signal of the NOR circuit 24 is "O". The output signal of the NOR circuit 25 becomes 1, and the terminal EN of the bidirectional driver 18 is set to 1.
signal is applied, so it becomes inactive. That is, if there is no parity error in the read data of the memory sections 11a and 12a, the read data of the memory section 11a is selected and outputted via the bidirectional driver 17.

又メモリ部11aの読出データにパリティエラーが検出
された場合は、排他的オア回路20の出力信号は“0″
となり、メモリ部11a及びパリティメモリ部11bは
書込モードに切換えられると共に、双方向ドライバ17
は書込方向に動作する。又ノア回路22の出力信号が“
0゛となるから、ノア回路25の出力信号が“0”とな
り、双方向ドライバ18は動作状態となり、又排他的オ
ア回路21の出力信号は“1”であるから、双方向ドラ
イバ18を介してメモリ部12aの読出データが出力さ
れる。
Furthermore, if a parity error is detected in the read data of the memory section 11a, the output signal of the exclusive OR circuit 20 becomes "0".
Therefore, the memory section 11a and the parity memory section 11b are switched to the write mode, and the bidirectional driver 17 is switched to the write mode.
operates in the write direction. Also, the output signal of the NOR circuit 22 is “
0'', the output signal of the NOR circuit 25 becomes "0", and the bidirectional driver 18 becomes operational. Also, since the output signal of the exclusive OR circuit 21 is "1", the output signal of the NOR circuit 25 becomes "0", so the The read data of the memory section 12a is output.

この読出データは、書込方向に動作する双方向ドライバ
17を介してメモリ部11aに加えられ、メモリ部11
aは書込モードに切換えられているから、パリティエラ
ーが発生したデータは、パリティエラーのない読出デー
タによって自動的に8換えられることになる。又パリテ
ィ発生器13で発生したパリティビットPiがパリティ
メモリ部11bに書込まれる。
This read data is applied to the memory section 11a via the bidirectional driver 17 that operates in the write direction, and is applied to the memory section 11a.
Since a has been switched to the write mode, data in which a parity error has occurred will be automatically replaced by read data without a parity error. Also, the parity bit Pi generated by the parity generator 13 is written into the parity memory section 11b.

又メモリ部1゛2aの読出データにパリティエラーが検
出された場合は、排他的オア回路21の出力信号が“0
”となるから、メモリ部L2a及びパリティメモリ部1
2bは書込モードに切換えられると共に、双方向ドライ
バ18の端子ENにノア回路25の“O”の出力信号が
加えられ、双方向ドライバ18は書込方向に動作する。
Further, if a parity error is detected in the read data of the memory section 1, 2a, the output signal of the exclusive OR circuit 21 becomes "0".
”, so the memory section L2a and the parity memory section 1
2b is switched to the write mode, and the "O" output signal of the NOR circuit 25 is applied to the terminal EN of the bidirectional driver 18, so that the bidirectional driver 18 operates in the write direction.

又双方向ドライバ17は読出方向に動作するから、メモ
リ部11aの読出データは双方向ドライバ17を介して
データバスに送出され、その読出データは双方向トライ
バ18を介して書込モードに切換えられたメモリ部1.
28に加えられ、パリティエラーを発生したデータは、
パリティエラーなしの読出データによって書換えられる
。又パリティ発生器14で発生したパリティビットPi
がパリティメモリ部12bに書込まれる。
Further, since the bidirectional driver 17 operates in the read direction, the read data of the memory section 11a is sent to the data bus via the bidirectional driver 17, and the read data is switched to the write mode via the bidirectional driver 18. Memory section 1.
The data that was added to 28 and caused a parity error is
Rewritten with read data without parity error. Also, the parity bit Pi generated by the parity generator 14
is written into the parity memory section 12b.

従って、パリティエラーなしの読出データが出力される
ので、信頼性を向上することができ、又パリティエラー
が検出されたデータは、パリティエラーなしのデータで
書換えられ、2個のメモリ部11a、12aの蓄積デー
タは同一となる。なお、両方のメモリ部11a、12a
の読出データにパリティエラーが検出された場合は、パ
リティチェッカ15.16の検出信号が共に“1″とな
るから、図示を省略した構成によりアラーム信号を出力
するものである。このような、同時に両方のパリティエ
ラーが検出されることは、殆どないのが実情である。
Therefore, since read data without a parity error is output, reliability can be improved, and data in which a parity error has been detected is rewritten with data without a parity error. The accumulated data of will be the same. Note that both memory units 11a and 12a
If a parity error is detected in the read data, both the detection signals of the parity checkers 15 and 16 become "1", and therefore an alarm signal is output by a configuration not shown. The reality is that both parity errors are rarely detected at the same time.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明は、第1及び第2の二重化
したメモリ1,2に、パリティビットを付加した同一の
データを書込み、データを読出した時は、パリティチェ
ックを行って、パリティエラーのない読出データを出力
し、パリティエラーが検出されたデータを、パリティエ
ラーなしのデータで自動的に書換えるものであり、第1
及び第2のメモリ1.2の蓄積データを常に同一として
おいて、エラーなしの読出データを出力することが可能
となるから、高信頼性のメモリユニットを提供すること
ができる利点がある。
As explained above, the present invention writes the same data with a parity bit added to the first and second duplex memories 1 and 2, and when the data is read, performs a parity check to detect parity errors. The first method is to output read data without a parity error, and automatically rewrite data in which a parity error has been detected with data without a parity error.
Since it is possible to always keep the stored data in the second memory 1.2 the same and output error-free read data, there is an advantage that a highly reliable memory unit can be provided.

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

第1図は本発明の原理ブロック図、第2図は本発明の実
施例のブロック図である。 ■、2は第1及び第2のメモリ、3.4はパリティ発生
器、5,6はパリティチェ7カ、7は書込読出制御部、
lla、12aはメモリ部、11b、12bはパリティ
メモリ部、13.14はパリティ発生器、15.16は
パリティチェッカ、17.18は双方向ドライバ、19
はアドレスデコーダである。
FIG. 1 is a block diagram of the principle of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention. 2, 2 are first and second memories, 3.4 is a parity generator, 5 and 6 are parity checkers, 7 is a write/read controller,
lla and 12a are memory sections, 11b and 12b are parity memory sections, 13.14 is a parity generator, 15.16 is a parity checker, 17.18 is a bidirectional driver, 19
is an address decoder.

Claims (1)

【特許請求の範囲】 第1及び第2のメモリ(1,2)と、該第1及び第2の
メモリ(1,2)に書込むデータにパリティビットを付
加する為のパリティ発生器(3,4)と、該第1及び第
2のメモリ(1,2)の読出データのパリティチェック
を行うパリティチェッカ(5,6)と、データの書込み
及び読出しを制御する書込読出制御部(7)とを備え、 前記書込読出制御部(7)により、前記第1及び第2の
メモリ(1,2)に同一のデータを前記パリティ発生器
(3,4)により発生したパリティビットを付加して書
込み、 前記第1及び第2のメモリ(1,2)から読出したデー
タを前記パリティチェッカ(5,6)によりパリティチ
ェックを行い、パリティエラーがなければ、第1及び第
2のメモリ(1,2)の何れか一方の読出データを出力
し、パリティエラーが検出された時は、パリティエラー
のない読売出データを出力すると共に、パリティエラー
ありのデータをパリティエラーなしのデータで書換える
ことを特徴とするメモリ制御方式。
[Claims] First and second memories (1, 2), and a parity generator (3) for adding parity bits to data written to the first and second memories (1, 2). , 4), a parity checker (5, 6) that performs a parity check on read data of the first and second memories (1, 2), and a write/read controller (7) that controls writing and reading of data. ), the write/read control unit (7) adds parity bits generated by the parity generator (3, 4) to the same data in the first and second memories (1, 2). The data read from the first and second memories (1, 2) is checked for parity by the parity checker (5, 6), and if there is no parity error, the data is written to the first and second memories (1, 2). Output the read data of either 1 or 2), and when a parity error is detected, output Yomiuri data without a parity error, and rewrite the data with a parity error with data without a parity error. A memory control method characterized by:
JP60226895A 1985-10-14 1985-10-14 Memory control system Pending JPS6288044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60226895A JPS6288044A (en) 1985-10-14 1985-10-14 Memory control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60226895A JPS6288044A (en) 1985-10-14 1985-10-14 Memory control system

Publications (1)

Publication Number Publication Date
JPS6288044A true JPS6288044A (en) 1987-04-22

Family

ID=16852265

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60226895A Pending JPS6288044A (en) 1985-10-14 1985-10-14 Memory control system

Country Status (1)

Country Link
JP (1) JPS6288044A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02224044A (en) * 1988-11-10 1990-09-06 Nec Corp Program storage device
JPH02278354A (en) * 1989-04-20 1990-11-14 Nec Corp Storage device
JPH03256149A (en) * 1990-03-07 1991-11-14 Zexel Corp Failure information storage device
JPH04114637U (en) * 1991-03-26 1992-10-09 横河電機株式会社 Measuring device with data duplication mechanism
JPH04332998A (en) * 1991-05-08 1992-11-19 Koufu Nippon Denki Kk Troubleshooting system
WO2012169114A1 (en) * 2011-06-10 2012-12-13 日本電気株式会社 Semiconductor storage device, control method for same, and non-transitory computer readable medium in which control program is stored
JP2014191409A (en) * 2013-03-26 2014-10-06 Nec Engineering Ltd State control device and state control method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02224044A (en) * 1988-11-10 1990-09-06 Nec Corp Program storage device
JPH02278354A (en) * 1989-04-20 1990-11-14 Nec Corp Storage device
JPH03256149A (en) * 1990-03-07 1991-11-14 Zexel Corp Failure information storage device
JPH04114637U (en) * 1991-03-26 1992-10-09 横河電機株式会社 Measuring device with data duplication mechanism
JPH04332998A (en) * 1991-05-08 1992-11-19 Koufu Nippon Denki Kk Troubleshooting system
WO2012169114A1 (en) * 2011-06-10 2012-12-13 日本電気株式会社 Semiconductor storage device, control method for same, and non-transitory computer readable medium in which control program is stored
JP2014191409A (en) * 2013-03-26 2014-10-06 Nec Engineering Ltd State control device and state control method

Similar Documents

Publication Publication Date Title
JPS6288044A (en) Memory control system
JP2606862B2 (en) Single error detection and correction method
JPS6222199B2 (en)
JP2001290710A (en) Device for detecting data error
JPH0816483A (en) Control system for memory device
JP2513615B2 (en) Storage device with ECC circuit
JPH0652065A (en) Memory control circuit
JPS623520B2 (en)
JP2910692B2 (en) Testing method of random access memory
JP2818659B2 (en) Error correction method
JPH04115340A (en) Duplex storage circuit
JP3196094B2 (en) Memory monitoring device
JP2998282B2 (en) Memory device
JPH03266154A (en) Information processor
JPS63269233A (en) Error detecting and correcting circuit
JPS63231553A (en) Partial writing system
JPH10143383A (en) Error detecting and correcting device
JPS59110098A (en) Error correcting device of data storage device
JPH0588992A (en) Memory control system
JPH03154950A (en) Fixed fault detecting device
JPH05128013A (en) Contents display system for parity memory
JPH0588993A (en) Memory control system
JPH07152659A (en) Storage data protection device of computer
JPH03290745A (en) Memory error detecting/correcting method
JPH045222B2 (en)