JPS63240658A - Memory device - Google Patents

Memory device

Info

Publication number
JPS63240658A
JPS63240658A JP62075436A JP7543687A JPS63240658A JP S63240658 A JPS63240658 A JP S63240658A JP 62075436 A JP62075436 A JP 62075436A JP 7543687 A JP7543687 A JP 7543687A JP S63240658 A JPS63240658 A JP S63240658A
Authority
JP
Japan
Prior art keywords
error correction
data
correction code
error
system bus
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
JP62075436A
Other languages
Japanese (ja)
Inventor
Masatoshi Tominaga
冨永 正敏
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 JP62075436A priority Critical patent/JPS63240658A/en
Publication of JPS63240658A publication Critical patent/JPS63240658A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the memory access time and to decrease the number of input/output pins of a memory controller MCU by outputting the data read out of a RAM directly onto a system bus. CONSTITUTION:A data part and an error correction code are outputted to a system bus 5 from a RAM 200 and sent back directly to a requester by the read requests given from an arithmetic processor EPU 3 and input/output controllers IOC 41 and 42. In this case, an MCU 100 checks the presence or absence of a correctable error of the data part of the data outputted onto the bus 5. If no correctable error is detected, this fact is informed to the requester and the data is processed as it is. When an error is detected, the RAM 200 is inactivated and the corrected data is outputted onto the bus 5. Thus the requester reads out the corrected data and uses it as its request data. Therefore no intervention of the MCU 100 is needed so that the memory access time is shortened and the number of pins of the MCU 100 is decreased.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はメモリ装置に関し、特にデータ処理システムに
おいてシステムバスに接続されているメモリ装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to memory devices, and more particularly to memory devices connected to a system bus in a data processing system.

〔従来の技術〕[Conventional technology]

伝送するデータ部にパリティ部を付加して伝送するシス
テムバスに接続されてエラー訂正符号を有する情報を記
憶するメモリ装置は多種存在するが、従来この種のメモ
リ装置を有するデータ処理システムの多くは第3図に示
すように構成されていた。
There are many types of memory devices that add a parity section to the data section to be transmitted and are connected to the transmission system bus and store information having an error correction code. It was constructed as shown in Figure 3.

第3図に示すデータ処理システムにおいて、メモリ装置
はメモリ制御装置(以下、MCLl、(Memory 
 Contror  UniL)という)6と記憶素子
(以下、RAM(Random  Access  M
emory)という)7とから構成され、アドレスとデ
ータとを伝送するシステムバスlOを介して演算処理装
置(以下、EPU(ExecuLion  Proce
ssing  Unit)という)8と、入出力側1n
Vjt’ll (以下、IOC(Input  0ut
put  Contr。
In the data processing system shown in FIG.
Controller UniL) 6 and a memory element (hereinafter referred to as RAM (Random Access M
An arithmetic processing unit (hereinafter referred to as EPU)
) 8 and the input/output side 1n
Vjt'll (hereinafter referred to as IOC (Input 0ut
put Contr.

l  unit)という)91および92とに接続され
ている。
(1 unit) 91 and 92.

このデータ処理システムにおいては、RAM7からの読
出しデータはMCU6でエラーチェ・ツクされシステム
バスlOに出力される。また、RAM7からの出力に訂
正可能エラーが検出された場合には、MCU6にてエラ
ー訂正が行われた後にシステムバス10に出力される。
In this data processing system, data read from the RAM 7 is error checked by the MCU 6 and output to the system bus IO. Furthermore, if a correctable error is detected in the output from the RAM 7, the error is corrected by the MCU 6 and then output to the system bus 10.

なお、RAM7へのエラー訂正符号付き情報の書込みの
場合には、MCIJ6でエラー訂正符号付き情報のデー
タ部に基づくエラー訂正符号が付加されてデータ部とと
もにRAM7に供給されて書き込まれる。
In addition, in the case of writing information with an error correction code to the RAM 7, an error correction code based on the data part of the information with an error correction code is added by the MCIJ 6, and is supplied to the RAM 7 and written together with the data part.

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

上述した従来のメモリ装置では、RAM7からの読出し
データが、訂正可能エラーがない場合には必要がないに
もかかわらずいったんMCLl64こ入力されてエラー
チェックが行われた後にシステムバス10に出力される
ので、情報がMCU6を通過するための遅延時間が増加
し、MCLl6の入出力ピン数が増加するという欠点が
ある。
In the conventional memory device described above, the data read from the RAM 7 is once input to the MCL164 and output to the system bus 10 after error checking, although it is not necessary if there is no correctable error. Therefore, there is a drawback that the delay time for information to pass through the MCU 6 increases and the number of input/output pins of the MCL 16 increases.

この欠点は、特にデータ処理システムを構成する論理素
子や記憶素子のVLS I化が進む昨今では他の処理時
間および装置容積と相対的に考慮して無視できず問題視
されている。
This drawback cannot be ignored and is being viewed as a problem, especially in recent years when logic elements and storage elements constituting data processing systems are becoming more and more VLSI-based, in consideration of other processing times and device volumes.

本発明の目的は、上述の点に鑑み、RAMからの読出し
データを直接システムバスに出力することにより、メモ
リアクセスタイムを改善することが可能になり、MCU
の入出力ビン数を削減することができるメモリ装置を提
供することにある。
In view of the above-mentioned points, an object of the present invention is to output read data from RAM directly to a system bus, thereby making it possible to improve memory access time and
An object of the present invention is to provide a memory device that can reduce the number of input/output bins.

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

本発明のメモリ装置は、パリティ部でデータ部が保護さ
れた情報を伝送するシステムバスに接続されてシステム
バスにより転送された情報にエラー訂正符号を付加して
記憶するメモリ装置において、システムバスを介して送
られてくる読出し要求に応答し指定されたアドレスの記
憶素子が記憶しているエラー訂正符号付き情報のデータ
部をシステムバスに出力して読出し要求元に返送するデ
ータ部出力手段と、システムバスを介して送られてくる
読出し要求に応答し指定されたアドレスの記憶素子が記
憶しているエラー訂正符号付き情報のエラー訂正符号を
システムバスに出力してそのエラー訂正符号の一部をパ
リティ部として読出し要求元に返送するエラー訂正符号
出力手段と、前記データ部出力手段によりシステムバス
に出力されたデータ部と前記エラー訂正符号出力手段に
より出力されたエラー訂正符号とを入力する受信手段と
、この受信手段により入力されたデータ部とエラー訂正
符号とに基づき訂正可能エラーの有無を判定し訂正可能
エラーを検出した場合に前記データ部出力手段と前記エ
ラー訂正符号出力手段とを不動作状態とし訂正可能エラ
ー報告信号をシステムバス上に出力し読出し要求元にエ
ラーを通知しデータ部の訂正と訂正後のデータ部に基づ
くパリティ部の生成とを行い出力するエラー検出訂正回
路と、このエラー検出訂正回路により出力された訂正後
のデータ部と訂正後のデータ部に基づくパリティ部とを
受信して保持するエラー訂正データレジスタと、このエ
ラー訂正データレジスタに保持されている訂正後のデー
タ部と訂正後のデータ部に基づくパリティ部とをシステ
ムバスに出力して読出し要求元に返送するレジスタ情報
出力手段とを有する。
A memory device of the present invention is a memory device that is connected to a system bus that transmits information whose data section is protected by a parity section, and that stores information transferred by the system bus with an error correction code added thereto. data part output means for outputting a data part of information with an error correction code stored in a storage element at a designated address to the system bus in response to a read request sent through the system bus and returning the data part to the read request source; In response to a read request sent via the system bus, the error correction code of the information with error correction code stored in the storage element at the specified address is output to the system bus, and a part of the error correction code is output. error correction code output means for returning the parity part to the read request source, and reception means for inputting the data part outputted to the system bus by the data part output means and the error correction code outputted by the error correction code output means. Then, the presence or absence of a correctable error is determined based on the data part and error correction code inputted by the receiving means, and when a correctable error is detected, the data part output means and the error correction code output means are inactivated. an error detection and correction circuit that outputs a correctable error report signal onto the system bus, notifies the read request source of the error, corrects the data portion, generates a parity portion based on the corrected data portion, and outputs the correctable error report signal; An error correction data register that receives and holds the corrected data section output by the error detection and correction circuit and the parity section based on the corrected data section, and the corrected data held in this error correction data register. and a parity part based on the corrected data part to the system bus and return it to the read request source.

C作用〕 本発明のメモリ装置では、データ部出力手段がシステム
バスを介して送られてくる読出し要求に応答し指定され
たアドレスの記憶素子が記憶しているエラー訂正符号付
き情報のデータ部をシステムバスに出力して読出し要求
元に返送し、エラー訂正符号出力手段がシステムバスを
介して送られてくる読出し要求に応答し指定されたアド
レスの記tα素子が記憶しているエラー訂正符号付き情
報のエラー訂正符号をシステムバスに出力してそのエラ
ー訂正符号の一部をパリティ部として読出し要求元に返
送し、受信手段がデータ部出力手段によりシステムバス
に出力されたデータ部とエラー訂正符号出力手段により
出力されたエラー訂正符号とを入力し、エラー検出訂正
回路が受信手段により入力されたデータ部とエラー訂正
符号とに基づき訂正可能エラーの有無を判定し訂正可能
エラーを検出した場合にデータ部出力手段とエラー訂正
符号出力手段とを不動作状態とし訂正可能エラー報告信
号をシステムバス上に出力し読出し要求元にエラーを通
知しデータ部の訂正と訂正後のデータ部に基づくパリテ
ィ部の生成とを行い出力し、エラー訂正データレジスタ
がエラー検出訂正回路により出力された訂正後のデータ
部と訂正後のデータ部に基づくパリティ部とを受信して
保持し、レジスタ情報出力手段がエラー訂正データレジ
スタに保持されている訂正後のデータ部と訂正後のデー
タ部に基づくパリティ部とをシステムバスに出力して読
出し要求元に返送する。
C Effect] In the memory device of the present invention, the data portion output means responds to a read request sent via the system bus and outputs the data portion of the information with error correction code stored in the storage element at the specified address. The error correction code output means outputs the error correction code to the system bus and returns it to the read request source, and the error correction code output means responds to the read request sent via the system bus. The error correction code of the information is output to the system bus, a part of the error correction code is read as a parity part, and returned to the source of the read request, and the receiving means outputs the data part and the error correction code output to the system bus by the data part output means. The error correction code outputted by the output means is input, and the error detection and correction circuit determines the presence or absence of a correctable error based on the data part and the error correction code inputted by the reception means, and when a correctable error is detected. The data part output means and the error correction code output means are made inactive, a correctable error report signal is outputted onto the system bus, the read request source is notified of the error, and the data part is corrected and the parity part is based on the corrected data part. The error correction data register receives and holds the corrected data part output by the error detection and correction circuit and the parity part based on the corrected data part, and the register information output means detects the error. The corrected data portion held in the corrected data register and the parity portion based on the corrected data portion are output to the system bus and returned to the read request source.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は、本発明のメモリ装置の一実施例の構成を示す
ブロック図である0本実施例のメモリ装置は、M CU
 100と、データ部を記憶しているRAM201およ
びエラー訂正符号を記憶しているRAM202  (R
AM200  (第2図参照)の一部を代表的に示して
いる)とを含んで構成されている。
FIG. 1 is a block diagram showing the configuration of an embodiment of the memory device of the present invention.
100, a RAM 201 that stores the data part, and a RAM 202 that stores the error correction code (R
AM200 (a part of which is representatively shown in FIG. 2).

MC[Jlooは、ドライバ回路101 、 IO2、
103。
MC [Jloo is driver circuit 101, IO2,
103.

106および109(ドライバ回路102 、103お
よび106は制御回路114から動作状態を制御するこ
とができる)と、レシーバ回路104 、105 、1
07および108と、エラー検出訂正回路(以下、EC
CCError  Checking and  C。
106 and 109 (driver circuits 102 , 103 and 106 can have their operating states controlled by control circuit 114 ), and receiver circuits 104 , 105 , 1
07 and 108, and an error detection and correction circuit (hereinafter referred to as EC
CCError Checking and C.

rrecting  circuit)という)110
と、エラー訂正データレジスタ(以下、ECR(Err
or  Correcting  data  Reg
ister)という)111 と、エラー訂正符号発生
回路(以下、ECG(ErrorCorrecting
  code  GeneraLor)という)112
と、アドレス判定回路113と、制御回路114とを含
んで構成されている。
110
and error correction data register (ECR).
or Correcting data Reg
ister) 111, and an error correction code generation circuit (hereinafter referred to as ECG) 111.
code GeneraLor) 112
, an address determination circuit 113 , and a control circuit 114 .

RA M2O1は、レシーバ回路210と、ドライバ回
路220  (MCUlooの制御回路114から動作
状態を制御することかで゛きる)とを含んで構成されて
いる。
RAM2O1 is configured to include a receiver circuit 210 and a driver circuit 220 (the operating state of which can be controlled from the control circuit 114 of MCUloo).

RAM202は、レシーバ回路211 と、ドライバ回
路221  (MCUlooの制御回路114から動作
状態を制御することができる)とを含んで構成されてい
る。
The RAM 202 includes a receiver circuit 211 and a driver circuit 221 (the operating state of which can be controlled by the MCUloo control circuit 114).

このメモリ装置が接続されているシステムバス5 (第
2図参照)により伝送される信号の代表的なものには、
メモリ読出しコマンド等のコマンドの内容を示しアドレ
ス信号(以下、ADR信号という)およびデータビット
信号(以下、DTB信号という)等による情報とともに
処理を要求する信号で与るバスリクエスト信号(以下、
BRQ(3号という)と、書込み要求があった場合には
書込み動作完了を通知し読出し要求があった場合にはD
TB信号の返送のタイミングを通知するアクノリッジ信
号(以下、ACK信号という)と、RAM 200のア
ドレスを指定する(例えば、1メガ語のアドレス空間を
I旨定する場合には20ビツトのデータビットと1ビツ
トのパリティビットとからなっでいる)、ADH信号と
、データ部を示し16ビツトからなるDTB信号と、一
部がパリティ部を示す2ビツトからなるパリティ信号(
以下、PTY信号という)に一致して読出し要求があっ
た場合にはそのPTY信号が直接読出し要求元に返送さ
れる5ED−DED−3BDコード(第4図参照)で表
現されエラー訂正符号を示す8ビツトからなるエラー訂
正デジット信号(以下、ECD信号という)と、RAM
200から読み出されたデータ部に訂正可能エラーが発
生した場合に直接RAM200から返送されたデータ部
は訂正が必要であり使用してはならないということを通
知する訂正可能エラー報告信号(以下、COR信号とい
う)とがある。
Typical signals transmitted by the system bus 5 (see Figure 2) to which this memory device is connected include:
A bus request signal (hereinafter referred to as a bus request signal) is a signal that indicates the contents of a command such as a memory read command and requests processing along with information such as an address signal (hereinafter referred to as an ADR signal) and a data bit signal (hereinafter referred to as a DTB signal).
BRQ (referred to as No. 3) and notification of write operation completion when there is a write request, and D when there is a read request.
An acknowledge signal (hereinafter referred to as ACK signal) that notifies the timing of returning the TB signal and an address of the RAM 200 are specified (for example, when specifying an address space of 1 megaword as I, 20 data bits and ADH signal, a 16-bit DTB signal indicating the data section, and a 2-bit parity signal (part of which indicates the parity section).
When a read request is made in accordance with the PTY signal (hereinafter referred to as the PTY signal), the PTY signal is expressed as a 5ED-DED-3BD code (see Figure 4) that is directly returned to the read request source and indicates an error correction code. An error correction digit signal (hereinafter referred to as ECD signal) consisting of 8 bits and a RAM
If a correctable error occurs in the data section read from RAM 200, a correctable error report signal (hereinafter referred to as COR) notifies that the data section directly returned from RAM 200 requires correction and must not be used. There is a signal (called a signal).

また、MCUlooの制御回路114からは、上述(7
)ACK信号と、RAM201 (Dドライバ回路22
0およびRA M2O2のドライバ回路221等の動作
状態をイネーブルの状態(動作可能の状態。以下同様)
にするり−ドイネープル信号(以下、REN信号という
)と、RA M2O1およびRAM202のセルへの情
報の書込みを可能にするライトイネーブル信号(以下、
WEN信号という)と、MCUlooのドライバ回路1
06の動作状態をイネーブルの状態にするライトサイク
ル信号(以下、WCY信号という)と、MCUlooの
ドライバ回路102および103の動作状態をイネーブ
ルの状態にする修正サイクル信号(以下、CCY信号と
いう)とが出力される。
In addition, from the control circuit 114 of MCUloo, the above-mentioned (7)
)ACK signal and RAM201 (D driver circuit 22
The operating state of the driver circuit 221, etc. of 0 and RAM M2O2 is enabled (operable state; the same applies below).
A read enable signal (hereinafter referred to as the REN signal) and a write enable signal (hereinafter referred to as the REN signal) that enables information to be written to the cells of RAM M2O1 and RAM202.
WEN signal) and MCUloo driver circuit 1
A write cycle signal (hereinafter referred to as WCY signal) that enables the operating state of MCUloo 06 and a correction cycle signal (hereinafter referred to as CCY signal) that enables the operating state of MCUloo driver circuits 102 and 103. Output.

なお、第1図において、レシーバ回路107および10
Bによる入力ならびにアドレス判定回路+13による判
定に基づきRA M2O1等に記憶されているデータ部
をドライバ回路220等を駆動することによりシステム
バス5に出力する制御回路114の機能がデータ部出力
手段を実現し、レシーバ回路107および108による
入力ならびにアドレス゛1′11定回路+13による判
定に基づきRA M2O2等に記412されているエラ
ー訂正符号をドライバ回路221等を駆動することによ
りシステムバス5に出カスる制御回路114の機能がエ
ラー訂正符号出力手段を実現し、DTB信号とECD信
号とをE CC110に入力するレシーバ回路104お
よび105の機能が受信手段を実現し、ドライバ回路1
02および103を駆動することによりECRIIIに
保持されている情報をシステムバス5に出力する制御回
路114の機能がレジスタ情報出力手段を実現する。
In addition, in FIG. 1, receiver circuits 107 and 10
The function of the control circuit 114 to output the data part stored in the RAM M2O1 etc. to the system bus 5 by driving the driver circuit 220 etc. based on the input by B and the determination by the address judgment circuit +13 realizes the data part output means. Then, based on the input by the receiver circuits 107 and 108 and the judgment by the address 1'11 constant circuit +13, the error correction code 412 recorded in the RAM2O2 etc. is output to the system bus 5 by driving the driver circuit 221 etc. The function of the control circuit 114 realizes an error correction code output means, the function of the receiver circuits 104 and 105 which inputs the DTB signal and ECD signal to the ECC 110 realizes a receiving means, and the driver circuit 1
The function of the control circuit 114, which outputs the information held in the ECRIII to the system bus 5 by driving the registers 02 and 103, realizes register information output means.

第2図は、本実施例のメモリ装置を含んで実現されたデ
ータ処理システムの構成を示すブロック図である。この
データ処理システムは、本実施例のメモリ装置中に記憶
されているプログラム(命令語)の実行および演算を行
うEPU3と、EPU3ならびにl0C41および42
と本実施例のメモリ装置との間のデータ転送路(アドレ
スの情報も転送する)を提供するシステムバス5(例え
ば、I E E E796のMu l L 1−Bus
 Iのアドレスラインとデータラインとにパリティライ
ンを追加してデータインテグリテイの強化を実現したバ
スが使用される)と、磁気テープ装置や磁気ディスク装
置等の入出力装置(図示せず)と本実施例のメモリ装置
との間のデータ転送を制御するl0C41および42と
、本実施例のメモリ装置を構成するMCUlooおよび
RAM200とを含んで構成されている。
FIG. 2 is a block diagram showing the configuration of a data processing system implemented including the memory device of this embodiment. This data processing system includes an EPU 3 that executes programs (command words) stored in the memory device of this embodiment and performs calculations;
A system bus 5 (for example, IEEE E796 Mul L 1-Bus) that provides a data transfer path (also transfers address information) between
A bus is used in which a parity line is added to the address line and data line of the I to enhance data integrity), input/output devices such as magnetic tape devices and magnetic disk devices (not shown), and books. It is configured to include 10Cs 41 and 42 that control data transfer with the memory device of this embodiment, and MCUloo and RAM 200 that constitute the memory device of this embodiment.

第4図を参照すると、本実施例のメモリ装置で採用され
ているエラー訂正符号(ECD信号のコード)は、1ビ
ツトのエラーの修正および4ビ・7ト以下のエラーの検
出を行うコードで、rlBMJournal  or 
 RES、DEVELOP−VOL23・No2  M
ARCH’  84Error−Correcting
  CodeFor  Sem1conductor 
 Mem。
Referring to FIG. 4, the error correction code (ECD signal code) employed in the memory device of this embodiment is a code that corrects 1-bit errors and detects errors of 4 bits and 7 bits or less. , rlBMJournal or
RES, DEVELOP-VOL23・No2 M
ARCH'84Error-Correcting
CodeFor Sem1conductor
Mem.

ry  AppliCaLiOnS:5Late−or
−the−Art  ReviewJにおいてrSED
−DED−3BD(Single  Error  C
orrecLing、DoubleError  De
tecting  and  Stngle  Byt
e  Error  DeLecLing)Jとして紹
介されているコードである。
ry AppliCaLiOnS:5Late-or
-the-Art ReviewJ rSED
-DED-3BD (Single Error C
orrecLing, DoubleError De
tecting and stingle byt
This code is introduced as e Error DeLecLing)J.

第4図において、データビット(DTB)の16ビツト
中の「1」で示される仝ビットの排他的論理和が対応す
るエラー訂正デジット(ECD)の8ピント中の「1」
で示されるビットのイ直となる。
In FIG. 4, the exclusive OR of the bits shown as "1" among the 16 bits of the data bit (DTB) corresponds to "1" among the 8 pins of the error correction digit (ECD).
The bit shown by is corrected.

したがって、このエラー訂正符号のデジット2および3
 (第2ビ、トおよび第3ビツト)がそれぞれデータビ
ットの第0〜第7ビツト中のバイト0(第0〜第7ビツ
ト)のパリティピント (PTYのO)およびバイト1
 (第8〜第15ビツト)のパリティビット(PTYの
1)とにそれぞれ一致している。
Therefore, digits 2 and 3 of this error correction code
(2nd bit, bit and 3rd bit) are the parity pins of byte 0 (0th to 7th bits) of the 0th to 7th bits of data bits (O of PTY) and byte 1, respectively.
(8th to 15th bits) respectively match the parity bit (1 of PTY).

なお、その一部がデータビットに付加されるパリティビ
ットに対応するエラー訂正符号であれば、他のエラー訂
正符号であっても本発明のメモリ装置に適用できること
はいうまでもない。
Note that it goes without saying that other error correction codes can be applied to the memory device of the present invention as long as part of the error correction code corresponds to the parity bit added to the data bits.

次に、このように構成された本実施例のメモリ装置の動
作について説明する。
Next, the operation of the memory device of this embodiment configured as described above will be explained.

El”U3や1Oc41および42から出力された読出
し要求の内容をなすメモリ読出しコマンドを示すB R
Q信号はシステムバス5を介してMCUlooのレシー
バ回路108に受信され、BRQ信号とともに出力され
たアクセス対象のアドレスを示すADR信号はシステム
バス5を介してMCUlooのレシーバ回路107に受
信される。
BR indicating the memory read command that is the content of the read request output from El"U3 and 1Oc41 and 42.
The Q signal is received by the MCUloo receiver circuit 108 via the system bus 5, and the ADR signal indicating the address to be accessed, which is output together with the BRQ signal, is received by the MCUloo receiver circuit 107 via the system bus 5.

受信されたADR信号はレシーバ回路107によりデコ
ードされ、そのアドレスがRAM201および202を
含むRA M2O0のアドレスの範囲内にあるか否かが
アドレス判定回路113  (アドレス判定回路113
にはレシーバ回路10Bを介してBr?Q信号により読
出し要求であることが通知されている)により判定され
る。また、ADR信号はRAM201および202等に
も分配される。
The received ADR signal is decoded by the receiver circuit 107, and the address determination circuit 113 determines whether the address is within the address range of RAM M2O0 including RAMs 201 and 202.
Br? through the receiver circuit 10B. The read request is notified by the Q signal). Further, the ADR signal is also distributed to the RAMs 201 and 202, etc.

アドレス判定回路113による判定でADR信号により
RAM200中のアドレスが選択されていると判断され
ると(ここでは、RA M2O1および202を含む領
域のアドレスが選択されているとする)、制御回路11
4によりPEN信号がRAM201および202等に分
配される。
When the address determination circuit 113 determines that an address in the RAM 200 is selected by the ADR signal (here, it is assumed that an address in an area including RAM M2O1 and 202 is selected), the control circuit 11
4, the PEN signal is distributed to the RAMs 201, 202, etc.

レシーバ回路107によりデコードされMCUlooか
ら出力されたADR+ε号がRA M2O1および20
2等に与えられると、ADR信号が示すアドレスに該当
するセルの領域の読出しが行われ、制御回路114から
出力されたPEN信号によりRAM201および202
等の出力部に設けられたドライバ回路220および22
1等がイネーブルの状態にされて駆動される。その結果
、システムバス5上にDTB信号および2ビツトのPT
Y信号を含む8ビツトのECD信号が出力され、データ
部を示すDTB信号とパリティ部を示すPTY信号とが
RAM200からEPU3や[0C41および42の読
出し要求元にシステムバス5を介して直接返送される(
ECD信号の8ビツト中のPTY信号以外の6ビツトを
伝送する信号線は読出し要求元には接続されていない)
The ADR+ε signal decoded by the receiver circuit 107 and output from MCUloo is sent to RAM M2O1 and 20.
2, etc., the area of the cell corresponding to the address indicated by the ADR signal is read, and the PEN signal output from the control circuit 114 causes the RAM 201 and 202 to be read.
Driver circuits 220 and 22 provided at the output section of
The first class is enabled and driven. As a result, the DTB signal and the 2-bit PT
An 8-bit ECD signal including the Y signal is output, and a DTB signal indicating the data section and a PTY signal indicating the parity section are directly returned from the RAM 200 to the read request sources of the EPU 3 and [0C41 and 42 via the system bus 5. (
(The signal line that transmits 6 bits other than the PTY signal among the 8 bits of the ECD signal is not connected to the read request source.)
.

システムバス5に出力されたDTB信号(データ部)と
RA M2O2等から出力されるECD信号(エラー訂
正符号)とは、MCUlooのレシーバ回路104およ
び105で受信されECCll0によりデータ部の訂正
可能エラーの有無がチェックされる。
The DTB signal (data part) output to the system bus 5 and the ECD signal (error correction code) output from the RAM2O2 etc. are received by the receiver circuits 104 and 105 of MCUloo, and the ECCll0 detects a correctable error in the data part. Presence is checked.

このチェックでデータ部に訂正可能エラーが検出されな
かったときには、制御回路114にその旨が伝えられ、
八CK(3号が制御回路114によりドライバ回路10
9を介して読出し要求元であるEPU3や1Oc41お
よび42に通知される。
If no correctable error is detected in the data section during this check, the control circuit 114 is notified of this, and
8CK (No. 3 is connected to the driver circuit 10 by the control circuit 114
9 to the EPU 3 and 1Oc 41 and 42 which are the sources of the read request.

ECCll0のチェックでデータ部に訂正可能エラーが
検出されたときには、ドライバ回路101が駆動されて
システムバス5を介してCOR信号が読出し要求元に伝
送されてエラー通知が行われる。
When a correctable error is detected in the data portion by checking ECCll0, the driver circuit 101 is driven and a COR signal is transmitted to the read request source via the system bus 5 to notify the error.

これとともに、訂正されたデータ部およびそのデータ部
に基づくパリティ部がECCll0で生成されECRI
IIに格納される。
Along with this, a corrected data section and a parity section based on the data section are generated in ECCll0 and ECRI
II.

また、ECCll0による訂正可能エラーの検出がある
と、制御回路114でPEN信号が出力されなくなり、
RA M2O1および202等のドライバ回tPI22
0および221等がディスイネーブルの状態(不動作状
態。以下同様)にされる。
Furthermore, if a correctable error is detected by ECCll0, the control circuit 114 will no longer output the PEN signal.
Driver circuit tPI22 such as RAM M2O1 and 202
0, 221, etc. are placed in a disabled state (inoperative state; the same applies hereinafter).

さらに、修正サイクル(訂正可能エラーを修正するため
の一連の動作)が起動され、制御回路114からCCY
信号が出力されてドライバ回路102および103がイ
ネーブルの状態にされECR111に格納されている訂
正されたデータ部および訂正されたデータ部に基づくパ
リティ部がDTB(1およびPTY信号としてシステム
バス5上に出力され、読出し要求元であるIEPU3や
l0C41オよび42に対して訂正されたデータ部とパ
リティ部として出力される(同時に、制御回路114か
らDTB信号の返送のタイミングを通知するためにAC
K信号が出力される)。
Furthermore, a correction cycle (a series of operations for correcting the correctable error) is activated, and the CCY
The signal is output to enable the driver circuits 102 and 103, and the corrected data section stored in the ECR 111 and the parity section based on the corrected data section are output on the system bus 5 as DTB (1 and PTY signals). The corrected data part and parity part are output to the IEPU 3 and 10C 41o and 42, which are the sources of read requests.
K signal is output).

読出し要求元であるEPU3やI OC41および42
では、RA M2O0か、ら直接送られたデータ部等に
ついてはCOR信号の通知により無効にされ、ECRI
IIから送られたデータ部等(COR信号なしのACK
信号により返送のタイミングが通知される)が読出し要
求の対象の情報として用いられる。
EPU3 and IOC41 and 42 that are the read request sources
In this case, the data section directly sent from RAM M2O0 is invalidated by the notification of the COR signal, and the ECRI
Data section etc. sent from II (ACK without COR signal)
The timing of the return is notified by a signal) is used as the target information of the read request.

最後に、上述のように読出し動作が行われる前提として
EPU3やl0C41および42からMCUlooおよ
びRA M2O0に書込み要求が行われる場合の動作に
ついて説明しておく。
Finally, as a premise that the read operation is performed as described above, the operation in the case where a write request is made from the EPU 3 and the 10Cs 41 and 42 to the MCUloo and the RAM 2O0 will be described.

この書込み動作においても、アドレスの判定やADR信
号の分配については上述の読出し動作と同様であるが、
RA M2O0に書き込む情報のデータ部を示すDTB
(3号とパリティ部を示すPTY信号とはシステムバス
5からレシーバ回路210および211等を介してRA
M201および202等に直接供給される。
In this write operation, address determination and ADR signal distribution are the same as in the read operation described above.
DTB indicating the data part of the information written to RAM M2O0
(No. 3 and the PTY signal indicating the parity section are transmitted from the system bus 5 to the RA via receiver circuits 210 and 211, etc.)
It is directly supplied to M201 and 202, etc.

一方、エラー訂正符号を示すECD信号のパリティ部以
外の6ビツトはMCU100内のレシーバ回路105を
介して受信されるDTB信号に基づきECG112によ
り生成され(PTY信号もレシーバ回路104を介して
ECG112に入力されてDTB信号のエラーチェック
が行われる)、ドライバ回路106が駆動されることに
よりシステムバス5を介してECD信号がRA M2O
2等に供給される(ドライバl!iJ路106はレシー
バ回路I08およびアドレス判定回路113を介して制
御回路114に伝送される書込み要求の内容をなすBR
Q信号に基づき制御回路114から出力されるwcy信
号によりイネーブルの状態にされて駆動される)。
On the other hand, the 6 bits other than the parity part of the ECD signal indicating the error correction code are generated by the ECG 112 based on the DTB signal received via the receiver circuit 105 in the MCU 100 (the PTY signal is also input to the ECG 112 via the receiver circuit 104). The driver circuit 106 is driven to send the ECD signal to the RAM 2O via the system bus 5.
(Driver l!iJ path 106 is supplied to
It is enabled and driven by the wcy signal output from the control circuit 114 based on the Q signal).

このようにして、エラー訂正符号付き情報がRAM20
0に供給されたところで、M CU too内の制御回
路114からADR信号で指示されたR A M2O0
内のアドレスの領域(例えば、RAM201および20
2を含む領域)にWEN信号が出力されエラー訂正符号
付き情報がRAM200に書き込まれる。
In this way, the error correction coded information is stored in the RAM 20.
0, R A M2O0 instructed by the ADR signal from the control circuit 114 in MCU too
area of addresses within (for example, RAM 201 and 20
The WEN signal is output to the area (including area 2), and information with an error correction code is written into the RAM 200.

この書込みが終了すると、制御回路114からドライバ
回路109を介してACK信号が出力され、書込み完了
の旨が書込み要求元であるEPU3や10c41および
42に通知される。
When this writing is completed, an ACK signal is output from the control circuit 114 via the driver circuit 109, and the EPU 3, 10c 41, and 42 that requested the writing are notified of the completion of the writing.

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

以上説明したように本発明は、RAMに記憶されている
エラー訂正符号付き情報のデータ部とパリティ部とを直
接システムバスに出力することにより、メモリアクセス
タイムを改善することが可能になり、MCUの入出力ピ
ン数を削減することができるという効果がある。
As explained above, the present invention makes it possible to improve memory access time by directly outputting the data part and parity part of information with error correction codes stored in the RAM to the system bus, thereby making it possible to improve the memory access time. This has the effect of reducing the number of input/output pins.

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

第1図は本発明の一実施例の構成を示すブロック図、 第2図は本実施例のメモリ装置を含むデータ処理システ
ムの構成を示すブロック図、 第3図は従来のメモリ装置を含むデータ処理システムの
構成を示すブロック図、 第4図は本実施例のメモリ装置で使用されるエラー訂正
符号とデータビットとの関係を示す図である。 図において、 3・・・・・・・EPU。 5・・・・・・・システムバス、 41、42・・・・・IOc。 100  ・・・・・・MCLI。 101、102.103.106.109.220,2
21  ・ドライバ回路、104.105,107,1
08,210,211  ・・・レシーバ回路、110
  ・・・・・・ECC。 111  ・・・・・・ECR。 112  ・・・・・・ECG。 113  ・・・・・・アドレス判定回路、114  
・・・・・・制御回路、 200〜202  ・・・RAMである。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a block diagram showing the configuration of a data processing system including the memory device of this embodiment, and FIG. 3 is a block diagram showing the configuration of a data processing system including the conventional memory device. FIG. 4 is a block diagram showing the configuration of the processing system. FIG. 4 is a diagram showing the relationship between error correction codes and data bits used in the memory device of this embodiment. In the figure, 3...EPU. 5...System bus, 41, 42...IOc. 100...MCLI. 101, 102.103.106.109.220,2
21 ・Driver circuit, 104.105,107,1
08,210,211...Receiver circuit, 110
...ECC. 111...ECR. 112...ECG. 113... Address determination circuit, 114
. . . Control circuit, 200 to 202 . . . RAM.

Claims (1)

【特許請求の範囲】 パリテイ部でデータ部が保護された情報を伝送するシス
テムバスに接続されてシステムバスにより転送された情
報にエラー訂正符号を付加して記憶するメモリ装置にお
いて、 システムバスを介して送られてくる読出し要求に応答し
指定されたアドレスの記憶素子が記憶しているエラー訂
正符号付き情報のデータ部をシステムバスに出力して読
出し要求元に返送するデータ部出力手段と、 システムバスを介して送られてくる読出し要求に応答し
指定されたアドレスの記憶素子が記憶しているエラー訂
正符号付き情報のエラー訂正符号をシステムバスに出力
してそのエラー訂正符号の一部をパリテイ部として読出
し要求元に返送するエラー訂正符号出力手段と、 前記データ部出力手段によりシステムバスに出力された
データ部と前記エラー訂正符号出力手段により出力され
たエラー訂正符号とを入力する受信手段と、 この受信手段により入力されたデータ部とエラー訂正符
号とに基づき訂正可能エラーの有無を判定し訂正可能エ
ラーを検出した場合に前記データ部出力手段と前記エラ
ー訂正符号出力手段とを不動作状態とし訂正可能エラー
報告信号をシステムバス上に出力し読出し要求元にエラ
ーを通知しデータ部の訂正と訂正後のデータ部に基づく
パリテイ部の生成とを行い出力するエラー検出訂正回路
と、 このエラー検出訂正回路により出力された訂正後のデー
タ部と訂正後のデータ部に基づくパリテイ部とを受信し
て保持するエラー訂正データレジスタと、 このエラー訂正データレジスタに保持されている訂正後
のデータ部と訂正後のデータ部に基づくパリテイ部とを
システムバスに出力して読出し要求元に返送するレジス
タ情報出力手段と、 を有することを特徴とするメモリ装置。
[Claims] A memory device in which a parity part is connected to a system bus for transmitting protected information, and the memory device stores information transferred by the system bus with an error correction code added thereto. a data part output means for outputting a data part of information with an error correction code stored in a storage element at a specified address to a system bus in response to a read request sent by the system; In response to a read request sent via the bus, an error correction code for information with an error correction code stored in a storage element at a specified address is output to the system bus, and a part of the error correction code is parity-coded. an error correction code output means for returning the error correction code to the read request source as a part; and a reception means for inputting the data part outputted to the system bus by the data part output means and the error correction code outputted by the error correction code output means. , The presence or absence of a correctable error is determined based on the data part and error correction code inputted by the receiving means, and when a correctable error is detected, the data part output means and the error correction code output means are put into an inoperable state. an error detection and correction circuit that outputs a correctable error report signal onto a system bus to notify a read request source of an error, corrects a data section, generates a parity section based on the corrected data section, and outputs the error; an error correction data register that receives and holds a corrected data section output by the detection and correction circuit and a parity section based on the corrected data section; and a corrected data section held in the error correction data register. and register information output means for outputting a parity part based on the corrected data part to a system bus and returning it to a read request source.
JP62075436A 1987-03-27 1987-03-27 Memory device Pending JPS63240658A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62075436A JPS63240658A (en) 1987-03-27 1987-03-27 Memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62075436A JPS63240658A (en) 1987-03-27 1987-03-27 Memory device

Publications (1)

Publication Number Publication Date
JPS63240658A true JPS63240658A (en) 1988-10-06

Family

ID=13576178

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62075436A Pending JPS63240658A (en) 1987-03-27 1987-03-27 Memory device

Country Status (1)

Country Link
JP (1) JPS63240658A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05334110A (en) * 1992-06-04 1993-12-17 Nec Corp Delay error correcting device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5694597A (en) * 1979-12-28 1981-07-31 Fujitsu Ltd Memory data control system
JPS57143799A (en) * 1981-02-27 1982-09-06 Hitachi Ltd Storage device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5694597A (en) * 1979-12-28 1981-07-31 Fujitsu Ltd Memory data control system
JPS57143799A (en) * 1981-02-27 1982-09-06 Hitachi Ltd Storage device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05334110A (en) * 1992-06-04 1993-12-17 Nec Corp Delay error correcting device

Similar Documents

Publication Publication Date Title
EP0141743B1 (en) Pipeline error correction
US7206891B2 (en) Multi-port memory controller having independent ECC encoders
US6772383B1 (en) Combined tag and data ECC for enhanced soft error recovery from cache tag errors
US4884271A (en) Error checking and correcting for read-modified-write operations
EP0380853A2 (en) Write back buffer with error correcting capabilities
JP2001249854A (en) Shared error correction for designing memory
US5455939A (en) Method and apparatus for error detection and correction of data transferred between a CPU and system memory
US5771247A (en) Low latency error reporting for high performance bus
US5838892A (en) Method and apparatus for calculating an error detecting code block in a disk drive controller
CN112068985B (en) NORFLASH memory ECC (error correction code) error checking and correcting method and system with programming instruction identification
JP3562818B2 (en) Device and method for detecting bus configuration error in disk array system
CN105023616A (en) Method for storing and retrieving data based on Hamming code and integrated random access memory
JPS63240658A (en) Memory device
JPH07129427A (en) Comparative check method for data with ecc code
JPH0316655B2 (en)
JPH0773114A (en) Memory control circuit for space digital computer
JP2875435B2 (en) Memory module and computer using the same
JPS62125453A (en) Storage device
JPH0675864A (en) Memory error recovery system
JPS62130444A (en) Memory access controller
JP2586072B2 (en) Storage device
JPH04233052A (en) Duplex memory device
JPS58199498A (en) Memory system
JPH05289947A (en) Ecc check system
JPH038040A (en) 1-bit error information storage device