JPH056313A - Memory acceess control device - Google Patents

Memory acceess control device

Info

Publication number
JPH056313A
JPH056313A JP3183009A JP18300991A JPH056313A JP H056313 A JPH056313 A JP H056313A JP 3183009 A JP3183009 A JP 3183009A JP 18300991 A JP18300991 A JP 18300991A JP H056313 A JPH056313 A JP H056313A
Authority
JP
Japan
Prior art keywords
memory
data
unit
access
error 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.)
Pending
Application number
JP3183009A
Other languages
Japanese (ja)
Inventor
Kenji Yamamoto
憲治 山本
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 JP3183009A priority Critical patent/JPH056313A/en
Publication of JPH056313A publication Critical patent/JPH056313A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To more rapidly execute convensional nibble mode memory access by simultaneously advancing the memory access and error correction. CONSTITUTION:Data read out of a memory part 2 are temporarily stored in a data storing part 6 and data reading and the error correcting processing of an error correcting part 3 are executed by pipeline processing to speed up access operation. Since the simultaneous writing of corrected data is impossible, the address of the data is stored or corrected data are stored, and after completing the memory access of a processor 5, rewriting processing is executed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はメモリから読み出された
データの誤りを訂正する誤り訂正機能を有し、高速アク
セスの可能なメモリアクセス制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory access control device having an error correction function for correcting an error in data read from a memory and capable of high speed access.

【0002】[0002]

【従来の技術】図2に、従来のメモリアクセス制御装置
ブロック図を示す。図の装置には、メモリ制御部1と、
これによってアクセスを制御されるメモリ部2と、誤り
訂正部3が設けられ、これらがプロセッサ4によりアク
セスされる構成となっている。このメモリ部2は、例え
ばダイナミックランダムアクセスメモリ(DRAM)か
らなる。また、誤り訂正部3は、メモリ部2から読み出
されたデータの誤りをチェックしてデータを修正し、プ
ロセッサ4に転送したりメモリ部2に書き戻す処理を行
う回路である。図のプロセッサ4からは、メモリ部2を
アクセスするための信号Address (10)がメモリ制御
部1に向け出力される。また、この他に通常の速度でメ
モリアクセスを要求する信号MREQ1(100)と高
速メモリアクセスを要求する信号MREQ2(101)
が出力される。
2. Description of the Related Art FIG. 2 shows a block diagram of a conventional memory access control device. The device shown in the figure includes a memory control unit 1 and
A memory unit 2 whose access is controlled by this and an error correction unit 3 are provided, and these are accessed by the processor 4. The memory unit 2 is composed of, for example, a dynamic random access memory (DRAM). The error correction unit 3 is a circuit that checks an error in the data read from the memory unit 2, corrects the data, and transfers the data to the processor 4 or writes the data back to the memory unit 2. The signal Address (10) for accessing the memory unit 2 is output from the processor 4 in the figure to the memory control unit 1. In addition to this, a signal MREQ1 (100) requesting memory access at a normal speed and a signal MREQ2 (101) requesting high-speed memory access.
Is output.

【0003】一方、メモリ制御部1からは、プロセッサ
4の要求を受け付けアクセス処理を実行する場合に出力
される正常応答信号DTACK(102)あるいは、異
常応答信号MERR(103)がプロセッサ4に向け出
力される。また、メモリ制御部1からメモリ部2に対し
ては、アクセスのためのメモリアドレスMA(200)
と、ローアドレス制御信号RAS(201)と、コラム
アドレス制御信号CAS(202)と、ライトイネーブ
ル信号WE(203)が出力される。メモリ部2から読
み出されたデータ20は、誤り訂正部3に入力し、誤り
訂正部3からは、1ビット誤りが発生した場合これを通
知する信号ERR1を、2ビット誤りが発生した場合同
じくERR2を、メモリ制御部1に向け出力する構成と
されている。誤り訂正部3からは、訂正済みデータ21
がメモリ部2に向け出力され、書き戻し処理が行われる
一方、データバス11を介してメモリ部2から読み出さ
れたデータがプロセッサ4に向け出力される。
On the other hand, the memory controller 1 outputs to the processor 4 a normal response signal DTACK (102) or an abnormal response signal MERR (103) which is output when the request of the processor 4 is accepted and the access processing is executed. To be done. Further, from the memory control unit 1 to the memory unit 2, a memory address MA (200) for access
Then, a row address control signal RAS (201), a column address control signal CAS (202), and a write enable signal WE (203) are output. The data 20 read from the memory unit 2 is input to the error correction unit 3, and the error correction unit 3 outputs the signal ERR1 for notifying the occurrence of a 1-bit error when the 2-bit error occurs. The ERR2 is configured to be output to the memory control unit 1. From the error correction unit 3, the corrected data 21
Is output to the memory unit 2 and the write back process is performed, while the data read from the memory unit 2 via the data bus 11 is output to the processor 4.

【0004】図3に、従来の通常のメモリリードアクセ
ス動作のタイムチャートを示す。図(a)は、メモリア
ドレスMA(200)を示し、(b)はローアドレス制
御信号RAS(201)、(c)はコラムアドレス制御
信号CAS(202)、(d)はメモリ部2から読み出
されたデータRD(20)、(e)は訂正済みデータDa
ta(11)、(f)は正常応答信号DTACK(10
2)を示している。図において、メモリ制御部1からメ
モリ部2に対し、ローアドレスとコラムアドレスが図の
(a)に示すように所定のタイミングで出力される。
FIG. 3 shows a time chart of a conventional normal memory read access operation. FIG. 6A shows a memory address MA (200), (b) a row address control signal RAS (201), (c) a column address control signal CAS (202), and (d) a read from the memory section 2. The issued data RD (20), (e) is the corrected data Da
ta (11) and (f) are normal response signals DTACK (10
2) is shown. In the figure, the memory control unit 1 outputs a row address and a column address to the memory unit 2 at a predetermined timing as shown in FIG.

【0005】ローアドレス制御信号RAS(201)
は、時刻T1に有効になり時刻T5までその状態を保持
する[図3(b)]。また、コラムアドレス制御信号C
AS(202)は、時刻T2に有効になり、時刻T5ま
でその状態を継続する[図3(c)]。ローアドレスと
コラムアドレスが共に有効になるとメモリ部2からデー
タRD(20)が図3(d)に示すように読み出され、
時刻T3〜時刻T4の間に誤り訂正部3において、その
誤り訂正が行われる。そして、正常な場合はそのまま、
誤りがあった場合は訂正後のデータが時刻T4〜T5の
間有効になり、図3(f)に示すようにメモリ制御部1
から正常応答信号DTACK(102)がプロセッサ4
に向け出力される。このDTACK(102)が有効な
間、プロセッサ4がデータData(11)を受け入れる。
なお、このような通常のメモリリードアクセス動作の際
には、プロセッサ4からアクセス要求信号MREQ1
(100)がメモリ制御部1に向け出力され、そのアク
セス動作が開始される。そして図のように時間tAの間
メモリアクセス処理が実行され、時刻tEの間誤り訂正
処理が実行されることになる。
Row address control signal RAS (201)
Becomes valid at time T1 and holds that state until time T5 [FIG. 3 (b)]. In addition, the column address control signal C
The AS (202) becomes valid at time T2 and continues in that state until time T5 [FIG. 3 (c)]. When both the row address and the column address are valid, the data RD (20) is read from the memory section 2 as shown in FIG.
The error correction is performed in the error correction unit 3 between time T3 and time T4. And if it is normal,
If there is an error, the corrected data will be valid from time T4 to T5, and as shown in FIG.
The normal response signal DTACK (102) from the processor 4
Is output to. While this DTACK (102) is valid, the processor 4 accepts the data Data (11).
During such a normal memory read access operation, the processor 4 requests the access request signal MREQ1.
(100) is output to the memory control unit 1, and the access operation is started. Then, as shown in the figure, the memory access process is executed for the time tA, and the error correction process is executed for the time tE.

【0006】図4に、従来の通常のメモリリードアクセ
ス動作の際に読み出されたデータに1ビット誤りが発生
したときの動作タイムチャートを示す。図の(a)
(b)(c)は、図3に示した(a)(b)(c)と同
様の信号で、(d)は図2のメモリ制御部1からメモリ
部2に向けて出力されるライトイネーブル信号WE(2
03)、(e)はメモリ部2から読み出されたリードデ
ータRD(20)、(f)は、図2の誤り訂正部3がメ
モリ部2から読み出されたデータに誤りを検出した場合
に、メモリ制御部1に向け出力される1ビット誤り信号
ERR1(300)、(g)はメモリ部2に対する書き
戻しデータWD(21)を示している。なお、(h)
(i)は図3の(e)(f)と同様の内容の信号であ
る。図に示すように、(e)に示すメモリ部2から読み
出されたデータRD(20)が誤り訂正(ECC)処理
によって誤りを発見されると、誤り訂正部3は訂正後の
データData(11)をプロセッサ4に向け出力すると共
に、メモリ部2に対し、書き戻しデータWD(21)を
出力する。このようにしてメモリ部2に格納されたデー
タの訂正が行われる。
FIG. 4 shows an operation time chart when a 1-bit error occurs in the data read during the conventional normal memory read access operation. Figure (a)
(B) and (c) are signals similar to (a), (b), and (c) shown in FIG. 3, and (d) is a write output from the memory control unit 1 toward the memory unit 2 in FIG. Enable signal WE (2
03) and (e) are read data RD (20) read from the memory unit 2, and (f) is when the error correction unit 3 of FIG. 2 detects an error in the data read from the memory unit 2. Further, 1-bit error signals ERR1 (300) and (g) output to the memory control unit 1 indicate write-back data WD (21) for the memory unit 2. Note that (h)
(I) is a signal having the same contents as (e) and (f) in FIG. As shown in the figure, when an error is found in the data RD (20) read from the memory unit 2 shown in (e) by an error correction (ECC) process, the error correction unit 3 causes the corrected data Data ( 11) is output to the processor 4, and the write-back data WD (21) is output to the memory unit 2. In this way, the data stored in the memory unit 2 is corrected.

【0007】上記図3及び図4に示した通常のメモリリ
ードアクセス動作は、図2に示すプロセッサ4から任意
のアドレス信号が出力され、これによってメモリ部2が
アクセスする場合に適する。しかしながら、メモリ部2
をダイナミックランダムアクセスメモリにより構成する
と、ローアドレスを変化させずにコラムアドレスのみを
変化させるような比較的狭い範囲のメモリアクセスが行
える。こうすれば、アクセス速度が向上し、演算処理の
高速化を図ることができることが知られている。この動
作をニブルモードと呼んでいる。このモードでは、ロー
アドレスを一定にしたまま、コラムアドレスを1ずつイ
ンクリメントしてメモリアクセスを行う。
The normal memory read access operation shown in FIGS. 3 and 4 is suitable when the memory section 2 is accessed by outputting an arbitrary address signal from the processor 4 shown in FIG. However, the memory unit 2
Is configured by a dynamic random access memory, it is possible to perform a memory access in a relatively narrow range such that only the column address is changed without changing the row address. By doing so, it is known that the access speed can be improved and the arithmetic processing can be speeded up. This operation is called nibble mode. In this mode, the column address is incremented by 1 while the row address is kept constant, and memory access is performed.

【0008】図5には、従来の高速なメモリリードアク
セス動作のタイムチャートを示す。図5(a)〜(f)
に示す信号は、図3(a)〜(f)に示す信号と同様で
ある。図5(a)に示すように、図2に示すメモリ制御
部1はメモリアドレスMA(200)をACからAC+
3…というように順に出力する。ここでまず、ローアド
レス制御信号RAS(201)は、時刻T1に有効にな
りその後継続してその状態を保持する[図5(b)]。
一方、図5(c)に示すように、コラムアドレス制御信
号CAS(202)は、時刻T2に有効になり、時刻T
5に一旦無効になると再び時刻T6で有効になり、時刻
T9で再び無効になる。このような周期でコラムアドレ
ス制御信号が“1”ずつインクリメントされ。ここで
(d)に示すように、時刻T3〜T5、時刻T7〜T9
というタイミングでデータが読み出され、これが図2に
示す誤り訂正部3のチェックを経てプロセッサ4に向け
出力される[図5(e)]。正常応答信号DTACK
(102)の出力タイミング[図5(f)]は、図3に
示すものと同様である。図5を見て分かるように、この
モードにおけるメモリアクセスは、最初のアドレスのメ
モリアクセス処理時間tAは図3に示したものと変わら
ないが、その後のコラムアドレスの切り替えが短時間t
A′に行われるため、全体として高速アクセスが可能と
なっている。
FIG. 5 shows a time chart of a conventional high speed memory read access operation. 5 (a)-(f)
The signals shown in are the same as the signals shown in FIGS. As shown in FIG. 5A, the memory control unit 1 shown in FIG. 2 changes the memory address MA (200) from AC to AC +.
3 ... and so on. Here, first, the row address control signal RAS (201) becomes effective at time T1 and continues to hold its state [FIG. 5 (b)].
On the other hand, as shown in FIG. 5C, the column address control signal CAS (202) becomes effective at time T2 and changes to time T2.
Once it becomes invalid at 5, it becomes valid again at time T6 and becomes invalid again at time T9. In such a cycle, the column address control signal is incremented by "1". Here, as shown in (d), times T3 to T5 and times T7 to T9.
The data is read out at such a timing, and the data is output to the processor 4 after being checked by the error correction unit 3 shown in FIG. 2 [FIG. 5 (e)]. Normal response signal DTACK
The output timing of (102) [FIG. 5 (f)] is the same as that shown in FIG. As can be seen from FIG. 5, in the memory access in this mode, the memory access processing time tA of the first address is the same as that shown in FIG. 3, but the column address switching after that is short time t.
Since it is performed on A ', high-speed access is possible as a whole.

【0009】[0009]

【発明が解決しようとする課題】ところで、上記の図5
のタイムチャートに示したような高速メモリリードアク
セスにおいても、図4で示したようなデータの訂正と書
き戻し処理が実行される。従って、図5に示すように例
えば時刻T3〜T4の間に誤り訂正処理のための時間t
Eを設けなければならない。このために、メモリアクセ
ス動作をさらに高速化しようとすれば、この誤り訂正機
能を削除しなければならないという問題がある。しかし
ながら、このような誤り訂正機能を削除すればデータの
信頼性が低下し、高精度の演算処理が困難になる。本発
明は以上の点に着目してなされたもので、誤り訂正機能
を損なうことなく、従来よりさらに高速なメモリアクセ
スが可能なメモリアクセス制御装置を提供することを目
的するものである。
By the way, the above-mentioned FIG.
Even in the high speed memory read access as shown in the time chart of FIG. 4, the data correction and write back processing as shown in FIG. 4 are executed. Therefore, as shown in FIG. 5, for example, the time t for the error correction processing is performed between times T3 and T4.
E must be provided. Therefore, if the memory access operation is further speeded up, there is a problem that the error correction function must be deleted. However, if such an error correction function is deleted, the reliability of the data is reduced and it becomes difficult to perform highly accurate arithmetic processing. The present invention has been made in view of the above points, and an object of the present invention is to provide a memory access control device capable of faster memory access than before without impairing the error correction function.

【0010】[0010]

【課題を解決するための手段】本発明の第1発明は、プ
ロセッサのアクセスによってメモリ部から読み出された
データの誤りを訂正する誤り訂正部と、メモリアクセス
と誤り訂正のパイプライン処理のために、前記メモリ部
から読み出されたデータを一時的に保持し、前記誤り訂
正部に向けて出力するデータ保持部と、前記誤り訂正部
により訂正されたデータが格納されていたメモリアドレ
スを保持する誤りアドレス保持部と、前記プロセッサの
メモリアクセス終了後、前記誤りアドレス保持部に保持
されたメモリアドレスをアクセスして、前記誤り訂正部
により訂正された訂正済みデータを前記メモリ部に書き
戻す書き戻し制御部とを備えたことを特徴とするメモリ
アクセス制御装置に関する。
A first invention of the present invention is for an error correction unit for correcting an error of data read from a memory unit by access of a processor, and a pipeline process of memory access and error correction. A data holding unit that temporarily holds the data read from the memory unit and outputs the data to the error correction unit, and a memory address in which the data corrected by the error correction unit is stored. The error address holding unit and the memory address held in the error address holding unit after the memory access of the processor is completed, and the corrected data corrected by the error correction unit is written back to the memory unit. The present invention relates to a memory access control device including a return control unit.

【0011】さらに本発明の第2発明は、プロセッサの
アクセスによってメモリから読み出されたデータの誤り
を訂正する誤り訂正部と、メモリアクセスと誤り訂正の
パイプライン処理のために、前記メモリから読み出され
たデータを一時的に保持し、前記誤り訂正部に向けて出
力するデータ保持部と、前記プロセッサによるメモリア
クセスの際に前記誤り訂正部からプロセッサに向けて出
力された全てのデータをアクセスアドレス順に記憶する
出力データ記憶部と、そのメモリアクセスの際に最初に
アクセスされたメモリアドレスを保持する先頭アドレス
保持部と、前記プロセッサによるメモリアクセス終了
後、前記先頭アドレス保持部から読み出したメモリアド
レスから順に前記出力データ記憶部中のデータを前記メ
モリに書き戻す書き戻し制御部とを備えたことを特徴と
するメモリアクセス制御装置に関する。
A second invention of the present invention further comprises an error correction unit for correcting an error of data read from the memory by the access of the processor, and a read from the memory for pipeline processing of the memory access and the error correction. A data holding unit that temporarily holds the output data and outputs the data to the error correction unit, and accesses all data output from the error correction unit to the processor when the memory is accessed by the processor. An output data storage unit that stores the addresses in order, a head address holding unit that holds the memory address that was first accessed during the memory access, and a memory address that is read from the head address holding unit after the memory access by the processor is completed. Write back data in the output data storage unit to the memory in order from A memory access control apparatus characterized by comprising a control unit.

【0012】[0012]

【作用】この装置は、メモリ部から読み出されたデータ
をデータ保持部に一時的に保持し、データの読み出しと
誤り訂正部の誤り訂正処理とをパイプライン処理により
行いアクセスを高速化する。この場合、訂正済みデータ
の同時書き戻しが不可能なため、そのデータのアドレス
を保持しておき、あるいは訂正済みのデータを記憶して
おき、プロセッサのメモリアクセス終了後、書き戻し処
理を行う。これによりメモリアクセスと誤り訂正が同時
進行し、従来のニブルモードのよりメモリアクセスの高
速化を図ることができる。
In this device, the data read from the memory unit is temporarily held in the data holding unit, and the reading of the data and the error correction process of the error correction unit are performed by the pipeline process to speed up the access. In this case, since it is impossible to write back the corrected data at the same time, the address of the data is held or the corrected data is stored, and the writing back process is performed after the memory access of the processor is completed. As a result, the memory access and the error correction proceed at the same time, and the memory access can be made faster than in the conventional nibble mode.

【0013】[0013]

【実施例】以下、本発明を図の実施例を用いて詳細に説
明する。図1は、本発明の第1発明のメモリアクセス制
御装置実施例を示すブロック図である。この装置におい
て、メモリ制御部1とメモリ部2及び誤り訂正部3の構
成は、従来装置と変わるところはない。ここで、本発明
の装置には、メモリ部2から読み出されたデータRD
(20)が一時的に保持されるデータ保持部6が設けら
れている。このデータ保持部6には、メモリ制御部1か
ら所定のタイミングで読み出されたデータをラッチする
ための指示信号DLT(400)が出力される。
The present invention will be described in detail below with reference to the embodiments shown in the drawings. 1 is a block diagram showing an embodiment of a memory access control device of the first invention of the present invention. In this device, the configurations of the memory control unit 1, the memory unit 2 and the error correction unit 3 are the same as those of the conventional device. Here, in the device of the present invention, the data RD read from the memory unit 2 is
A data holding unit 6 for temporarily holding (20) is provided. An instruction signal DLT (400) for latching the data read from the memory control unit 1 at a predetermined timing is output to the data holding unit 6.

【0014】メモリ制御部1からメモリ部2に向け出力
される各信号200〜203は、すでに図2を用いて説
明した信号と同一の内容のものである。また、誤り訂正
部3からメモリ制御部1に向け出力される信号300及
び301もすでに図2を用いて説明したものと同様の内
容のものである。さらに、プロセッサ5からメモリ制御
部1に向け出力される信号10、100、101、10
2、103も図2において説明したものと同様の内容の
信号である。ここで、この発明においては、プロセッサ
5から出力されるアドレス信号10が、誤りアドレス保
持部7に向け出力されるよう構成されている。この誤り
アドレス保持部7は、誤り訂正部3から出力される1ビ
ット誤り信号ERR1(300)が、NORゲート8を
介して入力し、これによりアドレス信号10をラッチす
る構成とされている。
The signals 200 to 203 output from the memory control unit 1 to the memory unit 2 have the same contents as the signals already described with reference to FIG. Also, the signals 300 and 301 output from the error correction unit 3 to the memory control unit 1 have the same contents as those already described with reference to FIG. Further, signals 10, 100, 101, 10 output from the processor 5 to the memory control unit 1
2 and 103 are signals having the same contents as those described in FIG. Here, in the present invention, the address signal 10 output from the processor 5 is configured to be output to the error address holding unit 7. The error address holding unit 7 is configured to input the 1-bit error signal ERR1 (300) output from the error correction unit 3 via the NOR gate 8 and latch the address signal 10 accordingly.

【0015】また、このアドレス信号は、プロセッサ5
から出力される読み出し信号ERARD(105)によ
って、プロセッサ5に読み出される構成とされている。
なお、NORゲート8には、プロセッサ5から出力され
るメモリアクセスの要求信号MREQ2(101)が入
力するよう構成されている。また、プロセッサ5には、
プロセッサ5がメモリ部2のメモリアクセスを終了した
後、そのメモリアクセスによってデータ誤りが発見され
た場合、そのデータの書き戻しを請求する書き戻し制御
部9が設けられている。この書き戻し制御部9には、N
ORゲート8の出力信号が入力する。NORゲート8の
出力信号104は、1ビット誤りが発生したことを通知
する割込み信号INTとされる。
Further, this address signal is sent to the processor 5
A read signal ERARD (105) output from the processor 5 is read by the processor 5.
The NOR gate 8 is configured to receive the memory access request signal MREQ2 (101) output from the processor 5. In addition, the processor 5
After the processor 5 finishes the memory access of the memory unit 2, if a data error is found by the memory access, a write-back control unit 9 is provided for requesting the write-back of the data. The write-back control unit 9 has N
The output signal of the OR gate 8 is input. The output signal 104 of the NOR gate 8 is the interrupt signal INT which notifies that a 1-bit error has occurred.

【0016】図6に、上記のような本発明の第1発明の
装置の動作を示すタイムチャートを図示した。図の
(a)から(d)は、先に図3を用いて説明した(a)
から(d)に示す内容の信号と同様で、(a)は、メモ
リ制御部1から出力されるメモリアドレスMA(20
0)。(b)は、ローアドレス制御信号RAS(20
1)。(c)は、コラムアドレス制御信号CAS(20
2)。(d)は、メモリ2から読み出されたデータRD
(20)である。また、(e)は、データRD(20)
をデータ保持部6に保持する指示信号DLT(400)
で、(f)は、データ保持部6に保持されて、所定のタ
イミングで誤り訂正部3に向け出力されるデータRDL
(22)である。さらに、誤り訂正部3でチェックさ
れ、あるいは訂正されたデータData(11)を図6
(g)に示し、正常応答信号DTACK(102)を図
6(h)に示した。
FIG. 6 is a time chart showing the operation of the apparatus of the first aspect of the present invention as described above. (A) to (d) of the figure have been described above with reference to FIG.
(A) is the same as the signal having the contents shown in (a) to (d).
0). (B) shows the row address control signal RAS (20
1). (C) shows the column address control signal CAS (20
2). (D) is data RD read from the memory 2
(20). Also, (e) is the data RD (20).
Signal DLT (400) for holding the data in the data holding unit 6
(F) is data RDL held in the data holding unit 6 and output to the error correction unit 3 at a predetermined timing.
(22). Further, the data Data (11) checked or corrected by the error correction unit 3 is shown in FIG.
6G, the normal response signal DTACK (102) is shown in FIG. 6 (h).

【0017】また、図6(i)は、誤り訂正部3から出
力される1ビット誤り通知用の信号ERR1(300)
で、(j)はプロセッサ5からメモリ制御部1に向け出
力されるアドレス信号Address (10)、さらに、
(k)は、高速メモリリードアクセスを要求するための
信号MREQ2(101)、(l)は、1ビット誤りが
発生したことをプロセッサ5に通知するための割り込み
信号INT(104)である。なお、以下の説明はいず
れもニブルモードによる高速アクセスを実行する動作で
ある。
Further, FIG. 6 (i) shows a signal ERR1 (300) for 1-bit error notification output from the error correction unit 3.
Where (j) is the address signal Address (10) output from the processor 5 to the memory control unit 1,
(K) is a signal MREQ2 (101) for requesting high-speed memory read access, and (l) is an interrupt signal INT (104) for notifying the processor 5 that a 1-bit error has occurred. It should be noted that the following explanations are all about operations for executing high-speed access in the nibble mode.

【0018】図6に示すように、まず、プロセッサ5か
ら予め先頭アドレスを示すアドレス信号MA(200)
が(j)に示すように出力され、同時に高速アクセスを
要求する信号MREQ2(101)が(k)に示すよう
に出力される。これに従ってメモリ制御部1からメモリ
部2に向けメモリアドレスMA(200)が出力され
[図6(a)]、(b)に示すように、ローアドレス制
御信号RAS(201)が時刻T1に有効になる。その
後(c)に示すように時刻T2にコラムアドレス制御信
号CAS(202)が有効になり、時刻T3に(d)に
示すようにメモリ2からデータRD(20)が読み出さ
れる。
As shown in FIG. 6, first, the address signal MA (200) indicating the head address is given from the processor 5 in advance.
Is output as shown in (j), and at the same time, the signal MREQ2 (101) requesting high-speed access is output as shown in (k). In accordance with this, the memory control unit 1 outputs the memory address MA (200) to the memory unit 2, and the row address control signal RAS (201) is valid at time T1 as shown in [FIG. 6 (a)] and (b). become. After that, as shown in (c), the column address control signal CAS (202) becomes valid at time T2, and at time T3, the data RD (20) is read from the memory 2 as shown in (d).

【0019】なお、(e)に示すようにデータが読み出
された時刻T3からデータラッチ信号DLT(400)
が有効になり、これによってデータ保持部6がメモリ部
2から出力されたデータを保持する。そして、時刻T3
〜時刻T7の間は、データ保持部6の出力するデータR
DL(22)が有効となり、これが、誤り訂正部3に向
け出力され、チェックあるいは誤り訂正を受ける。これ
は図6(g)に示すようにプロセッサ5に対し、データ
Data(11)となって出力される。このデータData(1
1)は、時刻T5〜時刻T7まで有効となり、その間図
6(h)に示すように正常応答信号DTACK(10
2)が有効となる。なお、このように時刻T1〜時刻T
3までが、最初のデータアクセスに使用される時間tA
とされ、時刻T3〜時刻T5までが誤り訂正のための時
間tEとされる。
As shown in (e), the data latch signal DLT (400) is started from time T3 when the data is read.
Becomes valid, whereby the data holding unit 6 holds the data output from the memory unit 2. And time T3
Between time T7 and time T7, the data R output from the data holding unit 6
DL (22) becomes valid, and this is output to the error correction unit 3 for checking or error correction. As shown in FIG.
It is output as Data (11). This data Data (1
1) is valid from time T5 to time T7, during which the normal response signal DTACK (10) as shown in FIG.
2) is effective. It should be noted that, in this way, time T1 to time T
Up to 3 is the time tA used for the first data access
Thus, the time from T3 to T5 is the time tE for error correction.

【0020】一方、時刻T4においてコラムアドレス制
御信号CAS(202)が無効となり[図6(c)]、
時刻T5に再び有効となって、この時メモリ制御部1か
ら新たなメモリアドレスが出力される。これによって、
時刻T6にメモリ部2から次のデータが読み出され[図
6(f)]、データラッチ信号DLT(400)が時刻
T7に無効となり、再び時刻T8に有効となるため、こ
の時読み出された信号が改めてデータ保持部6に保持さ
れる、従って、2番目以降のデータアクセス時間はは、
図に示す時間tA′となり、これは先に図5において示
したアクセス時間に比べて十分短縮化される。
On the other hand, at time T4, the column address control signal CAS (202) becomes invalid [FIG. 6 (c)],
It becomes valid again at time T5, and a new memory address is output from the memory control unit 1 at this time. by this,
The next data is read from the memory unit 2 at time T6 [FIG. 6 (f)], and the data latch signal DLT (400) becomes invalid at time T7 and becomes valid again at time T8. Signal is stored in the data storage unit 6 again. Therefore, the data access time after the second data is
The time tA 'shown in the figure is reached, which is sufficiently shortened as compared with the access time shown in FIG.

【0021】即ち、本発明においては、図6に示すよう
に、メモリ部2からのデータの読み出しと、誤り訂正部
3におけるデータの誤り訂正とをそれぞれタイミングを
ずらして同時進行させ、いわゆるパイプライン処理を行
うようにしたため、メモリアクセス時間にデータ誤り訂
正のための時間が含まれず、高速アクセスが可能となっ
ている。
That is, according to the present invention, as shown in FIG. 6, the reading of data from the memory unit 2 and the error correction of the data in the error correction unit 3 are simultaneously performed at different timings, so-called pipeline. Since the processing is performed, the memory access time does not include the time for data error correction, and high speed access is possible.

【0022】ところで、図6(i)に示すように、時刻
T12において読み出されたデータに1ビット誤りが発
生した場合、誤り訂正部3からその旨の信号ERR1
(300)が出力され、これが図1に示すNORゲート
8において反転されて、プロセッサ5に割り込み信号I
NT(104)として入力する[図6(l)]。また、
同時にこの信号が誤りアドレス保持部7に向け出力さ
れ、この時メモリアクセスに使用されたアドレス信号
が、誤りアドレス保持部7に保持される。
By the way, as shown in FIG. 6 (i), when a 1-bit error occurs in the data read at time T12, the error correcting unit 3 outputs a signal ERR1 indicating that error.
(300) is output, and this is inverted in the NOR gate 8 shown in FIG.
Input as NT (104) [Fig. 6 (l)]. Also,
At the same time, this signal is output to the error address holding unit 7, and the address signal used for memory access at this time is held in the error address holding unit 7.

【0023】なお、このような1ビット誤りが発見され
た場合、従来は直ちにメモリ部2へそのデータの書き戻
しを行っていたが、本発明においてはパイプライン処理
を行っているために、このような書き戻しを行うことが
できない。従って、本発明の場合、プロセッサ5による
メモリ部2のアクセスが終了した後、適当な空き時間を
利用して、そのデータの書き戻し処理が行われる。この
書き戻しの処理のために、誤りの発生したデータのアド
レスを誤りアドレス保持部7に保持しておくのである。
通常、メモリアクセスの際に誤りが発生する率は極めて
低く、2以上の誤りが連続して発生する場合はほとんど
ない。従って、この第1発明の実施例においては、誤り
の発生したアドレスを誤りアドレス保持部7に一つだけ
保持するよう構成している。しかしながら、さらに信頼
性を向上させるためには、誤りアドレス保持部7は、例
えば先入れ先出しメモリにより構成し、2以上のアドレ
スを格納するようにすればよい。
When such a 1-bit error is found, the data is immediately written back to the memory unit 2 in the prior art. However, in the present invention, the pipeline process is performed. It is not possible to write back like that. Therefore, in the case of the present invention, after the access of the memory unit 2 by the processor 5 is completed, the write-back processing of the data is performed by utilizing an appropriate free time. The address of the data in which an error has occurred is held in the error address holding unit 7 for this write-back process.
Normally, the rate of error occurrence during memory access is extremely low, and there is almost no case where two or more errors occur consecutively. Therefore, in this embodiment of the first invention, only one address in which an error has occurred is held in the error address holding unit 7. However, in order to further improve reliability, the error address holding unit 7 may be configured by, for example, a first-in first-out memory and store two or more addresses.

【0024】次に、図1に示すプロセッサ5中の書き戻
し制御部9による書き戻し処理の動作説明を行う。書き
戻し処理自体は、図4においてすでに従来例で説明した
動作と全く同様の内容となる。まず、書き戻し制御部9
は、プロセッサ5のメモリアクセス中に、NORゲート
8から出力される割り込み信号INTを監視し、1ビッ
ト誤りが発生したか否かを記憶しておく。そして、メモ
リアクセス時誤りが発生しなかった場合には書き戻し処
理は行われず、誤りが発生した場合には、プロセッサ5
のメモリアクセス終了後、適当なタイミングでアドレス
読み出しのための信号ERARD(105)を、誤りア
ドレス保持部7に向け出力する。
Next, the operation of the write-back processing by the write-back control unit 9 in the processor 5 shown in FIG. 1 will be described. The write-back process itself has exactly the same contents as the operation already described in the conventional example in FIG. First, the write-back control unit 9
Monitors the interrupt signal INT output from the NOR gate 8 during memory access of the processor 5 and stores whether or not a 1-bit error has occurred. If no error occurs during memory access, write-back processing is not performed, and if an error occurs, the processor 5
After the memory access is completed, the signal ERARD (105) for address reading is output to the error address holding unit 7 at an appropriate timing.

【0025】これにより、該当するアドレス信号がプロ
セッサ5に読み出され、この信号がアドレス信号Addres
s (10)としてメモリ制御部1に向け出力される。こ
の時同時に、通常アクセスのための要求MREQ1がメ
モリ制御部1に出力される。これによって、図4に示す
タイムチャートと同様にして、誤りの生じたアドレスか
らデータが読み出され、誤り訂正部3によって、そのデ
ータが訂正されてメモリ部2に書き戻される。なお、こ
の場合、データ保持部6は動作せず、メモリ部2から読
み出されたデータが誤り訂正部3にそのまま入力し、図
2で説明した従来装置と全く同様の構成の動作が実行さ
れることになる。
As a result, the corresponding address signal is read by the processor 5, and this signal is added to the address signal Addres.
It is output to the memory control unit 1 as s (10). At the same time, a request MREQ1 for normal access is output to the memory control unit 1. As a result, similar to the time chart shown in FIG. 4, the data is read from the address in which the error has occurred, the error correction unit 3 corrects the data, and the data is written back to the memory unit 2. In this case, the data holding unit 6 does not operate, the data read from the memory unit 2 is input to the error correction unit 3 as it is, and the operation of the same configuration as that of the conventional device described in FIG. 2 is executed. Will be.

【0026】図7に、本発明の第2発明のメモリアクセ
ス制御装置実施例ブロック図を示す。この装置は、図1
に示した装置と異なり、書き戻し制御部17がプロセッ
サ14からメモリ制御部13の側に移されている。この
ほかにメモリ制御部13には、プロセッサ14のアクセ
スする先頭アドレスを保持しておくための先頭アドレス
保持部18が設けられている。また、メモリ部2から出
力されるデータを保持するためのデータ保持部16は、
図1に示すものと同様であるが、誤り訂正部3の出力す
るデータがプロセッサ14に向け出力されるとともに、
出力データ記憶部15に記憶されるように構成されてい
る。また、書き戻し制御部17から出力データ記憶部1
5に対し、データ書き込みを指示するイネーブル信号L
T(500)とデータ読み出しを指示するイネーブル信
号EN(500)が入力するよう構成されている。その
他プロセッサ14からメモリ制御部13に向け出力され
る信号、メモリ制御部13からメモリ部2に出力される
信号、誤り訂正部3からメモリ制御部13に向け出力さ
れる信号等は図1に示したものと同様であり、重複する
説明を省略する。
FIG. 7 shows a block diagram of a second embodiment of the memory access control device of the present invention. This device is shown in FIG.
Unlike the device shown in FIG. 6, the write-back control unit 17 is moved from the processor 14 to the memory control unit 13 side. In addition, the memory control unit 13 is provided with a head address holding unit 18 for holding a head address accessed by the processor 14. Further, the data holding unit 16 for holding the data output from the memory unit 2 is
Similar to that shown in FIG. 1, except that the data output from the error correction unit 3 is output to the processor 14 and
It is configured to be stored in the output data storage unit 15. In addition, the write-back control unit 17 outputs the output data storage unit 1
5, enable signal L for instructing data writing
T (500) and an enable signal EN (500) for instructing data reading are input. Other signals output from the processor 14 to the memory control unit 13, signals output from the memory control unit 13 to the memory unit 2, signals output from the error correction unit 3 to the memory control unit 13, and the like are shown in FIG. The description is the same as that described above, and a duplicate description will be omitted.

【0027】図7に示す本発明の第2発明の装置は、次
のように動作する。図8は、本発明の第2発明の装置の
動作を示すタイムチャートである。図の(a)〜(h)
に示す信号は、図6において説明した(a)〜(h)に
示す信号と同様である。また、図8(i)に示す信号L
T(501)は、メモリ制御部13から出力され、先に
説明したように出力データ記憶部15に対し、誤り訂正
部3からプロセッサ14に向け出力されるデータのラッ
チを指示する信号である。図において、ローアドレス制
御信号RAS(201)は、時刻T1に有効になり、コ
ラムアドレス制御信号CAS(202)は、時刻T2に
有効になる。その後、コラムアドレス制御信号CAS
(202)は、時刻T2、時刻T5…というタイミング
で有効になり、アドレス信号MA(200)がインクリ
メントされて、高速アクセスが実行される[図8
(a)]。
The apparatus of the second invention of the present invention shown in FIG. 7 operates as follows. FIG. 8 is a time chart showing the operation of the device of the second invention of the present invention. (A) to (h) in the figure
The signals shown in are the same as the signals shown in (a) to (h) described in FIG. In addition, the signal L shown in FIG.
T (501) is a signal output from the memory control unit 13 and instructing the output data storage unit 15 to latch the data output from the error correction unit 3 to the processor 14 as described above. In the figure, the row address control signal RAS (201) becomes effective at time T1, and the column address control signal CAS (202) becomes effective at time T2. After that, the column address control signal CAS
(202) becomes valid at the timings of time T2, time T5, ..., The address signal MA (200) is incremented, and high speed access is executed [FIG.
(A)].

【0028】そして、(d)に示すように、データRD
(20)が、時刻T3、時刻T6…のタイミングで読み
出される。図8の(e)に示すデータラッチ信号DLT
(400)が有効になった時、そのデータがデータ保持
部16にラッチされる。次に、図8(f)に示すよう
に、データ保持部16の出力するデータRDL(22)
が時刻T3〜時刻T7の間有効になり、誤り訂正部3に
おいて、そのチェックあるいは誤り訂正が実行され、図
8(g)に示すようにプロセッサ14に対しデータが出
力される。同時に、正常応答信号DTACK(102)
が同一タイミングで有効となる。これらの動作はすでに
図1において説明した装置の動作と同様である。
Then, as shown in (d), the data RD
(20) is read at the timing of time T3, time T6, .... Data latch signal DLT shown in (e) of FIG.
When (400) becomes valid, the data is latched in the data holding unit 16. Next, as shown in FIG. 8F, the data RDL (22) output from the data holding unit 16 is output.
Is valid from time T3 to time T7, the error correction unit 3 performs the check or error correction, and the data is output to the processor 14 as shown in FIG. At the same time, the normal response signal DTACK (102)
Are valid at the same timing. These operations are similar to those of the apparatus already described in FIG.

【0029】なお、図7の第2発明の装置においては、
図8(i)に示すように、正常応答信号DTACK(1
02)が有効となった直後に、データラッチ信号LT
(501)によってプロセッサ14に向け出力されるデ
ータが出力データ記憶部15に記憶される。この出力デ
ータ記憶部15は、この実施例では先入れ先出しメモリ
とされる。従って、図8(g)(i)に示すように、
、、…というようにデータが読み出されると、こ
れらのデータがすべて順に出力データ記憶部15に格納
されることになる。このような動作は、プロセッサ14
によるメモリ部2のアクセス動作が完了するまで続けら
れる。なお、この第2発明においては、データに誤りの
生じたアドレスの記憶は行われない。しかしながら、メ
モリ制御部13に設けられた書き戻し制御部17は、誤
り訂正部3の出力する信号ERR1(300)とERR
2(301)を監視し、メモリアクセス中に誤りが発生
したか否かの認識を行う。そして、これらメモリアクセ
スの際のアクセス開始アドレスを図7の先頭アドレス保
持部18に記憶しておく。図9に、そのようなメモリア
クセス終了後における第2発明の装置の書き戻し動作タ
イムチャートを示す。
In the device of the second invention of FIG. 7,
As shown in FIG. 8 (i), the normal response signal DTACK (1
02) becomes valid immediately after the data latch signal LT
The data output to the processor 14 by (501) is stored in the output data storage unit 15. The output data storage unit 15 is a first-in first-out memory in this embodiment. Therefore, as shown in FIGS.
When the data is read out, such as ..., All of these data are stored in the output data storage unit 15 in order. Such an operation is performed by the processor 14
The operation is continued until the access operation of the memory section 2 is completed. In the second aspect of the invention, the address in which the data has an error is not stored. However, the write-back control unit 17 provided in the memory control unit 13 controls the signals ERR1 (300) and ERR output from the error correction unit 3.
2 (301) is monitored to recognize whether an error has occurred during memory access. Then, the access start addresses for these memory accesses are stored in the head address holding unit 18 of FIG. FIG. 9 shows a write-back operation time chart of the device of the second invention after the end of such memory access.

【0030】なお、この第2発明においても、パイプラ
イン制御により、データ読み出しと同時の書き戻しがで
きないため、空き時間を利用しての書き戻しが実行され
る。図9に示すように、メモリ制御部13から、その直
前の高速メモリリードアクセスの最後のサイクルにおい
て、時刻T1に再びそのアクセスの最初のアドレスが出
力され[図9(a)]、時刻T2において、ローアドレ
ス制御信号RAS(201)が有効になると[図9
(b)]、その後メモリ制御部13からは、コラムアド
レス制御信号CAS(202)がアドレスのインクリメ
ントの都度所定のタイミングで有効となるよう出力され
る[図9(c)]。
In the second aspect of the present invention as well, the pipeline control prevents the write-back from being performed at the same time as the data read. Therefore, the write-back is executed using the idle time. As shown in FIG. 9, in the last cycle of the high-speed memory read access immediately before that, the memory control unit 13 outputs the first address of the access again at time T1 [FIG. 9 (a)], and at time T2. , When the row address control signal RAS (201) becomes effective [Fig.
(B)], and thereafter, the column address control signal CAS (202) is output from the memory control unit 13 so as to be valid at a predetermined timing each time the address is incremented [FIG. 9 (c)].

【0031】図9(d)に示すように、時刻T2以降、
メモリ部2に対して書き込みイネーブル信号WE(20
3)が有効になるよう出力される。そして出力データ記
憶部15に対し、図9(g)に示すように、イネーブル
信号EN(500)が、時刻T4〜時刻T6の間出力さ
れ、同時にデータData(11)が時刻T5〜時刻T6の
間、誤り訂正部3からメモリ部2に向け出力され有効と
なる[図9(f)]。こうして、メモリ部2に対し、出
力データ記憶部15に記憶されたデータが順次書き戻さ
れる。この動作は、先に高速メモリアクセスによりアク
セスされた全ての番地に対し実行される。こうして、誤
り訂正部3自体は動作せず、書き戻し処理が行われる。
As shown in FIG. 9D, after time T2,
The write enable signal WE (20
3) is output so that it becomes valid. Then, as shown in FIG. 9G, the enable signal EN (500) is output to the output data storage unit 15 from time T4 to time T6, and at the same time, the data Data (11) is output from time T5 to time T6. During this period, it is output from the error correction unit 3 to the memory unit 2 and becomes valid [FIG. 9 (f)]. In this way, the data stored in the output data storage unit 15 is sequentially written back to the memory unit 2. This operation is executed for all the addresses previously accessed by the high speed memory access. In this way, the error correction unit 3 itself does not operate, and the write back process is performed.

【0032】図1に示した第1発明と図7に示した第2
発明の動作を比較すると、図1に示した第1発明の場合
には、プロセッサ5によるメモリアクセス終了後、書き
戻し制御部9が書き戻し処理を開始する。この書き戻し
制御部9は、実際にはプロセッサ5の動作プログラムの
一部によって構成される。従って、書き戻し処理にはプ
ロセッサ5に負担がかかることになる。一方、図7に示
す第2発明の装置の場合、メモリ制御部13の中に比較
的簡単な論理回路等で構成した書き戻し制御部17を設
けることにより、プロセッサ14のメモリ部2に対する
アクセス終了後、直ちに書き戻し処理が実行される。従
って、プロセッサ14に対する負担を軽くすることがで
きる。
The first invention shown in FIG. 1 and the second invention shown in FIG.
Comparing the operations of the invention, in the case of the first invention shown in FIG. 1, the write-back control unit 9 starts the write-back processing after the memory access by the processor 5 is completed. The write-back control unit 9 is actually composed of a part of the operation program of the processor 5. Therefore, the write-back process imposes a burden on the processor 5. On the other hand, in the case of the device of the second invention shown in FIG. 7, by providing the write-back controller 17 composed of a relatively simple logic circuit in the memory controller 13, the access termination of the processor 14 to the memory 2 is completed. After that, the write back process is immediately executed. Therefore, the burden on the processor 14 can be reduced.

【0033】本発明は以上の実施例に限定されない。第
1発明のメモリアクセス装置実施例においては、誤りデ
ータが生じた誤りアドレスを記憶して、その書き戻しを
行うよう説明したが、プロセッサのメモリアクセス開始
時の先頭アドレスを記憶し、その先頭アドレスからプロ
セッサがアクセスを行った全てのアドレスに対し、従来
装置の通常のアクセスと同様の図4に示したような書き
戻し処理を実行するようにしてもよい。また、第2発明
の実施例においては、メモリアクセスによって読み出さ
れたデータ全てを出力データ記憶部15に記憶し、メモ
リ部2に対し書き戻し処理を行うよう説明したが、誤り
データのみを出力データ記憶部に記憶すると共に、別途
そのアドレスを記憶し、該当するアドレスに誤りデータ
を書き込む処理を行うことによって書き戻し処理を実行
するようにしてもよい。
The present invention is not limited to the above embodiments. In the embodiment of the memory access device of the first invention, the error address in which the error data is generated is stored and written back. However, the start address at the start of memory access of the processor is stored and the start address is stored. The write-back process as shown in FIG. 4 similar to the normal access of the conventional device may be executed for all the addresses accessed by the processor. In the embodiment of the second invention, it is described that all the data read by the memory access is stored in the output data storage unit 15 and the write back process is performed on the memory unit 2, but only the error data is output. The write-back process may be performed by storing the address in the data storage unit and separately storing the address and performing the process of writing the error data to the corresponding address.

【0034】[0034]

【発明の効果】以上説明した本発明のメモリアクセス制
御装置によれば、メモリアクセスとデータの誤り訂正を
パイプライン化し、誤り訂正の時間だけアクセス時間の
短縮化を図るようにしたので、メモリアクセスのより一
層の高速化と演算処理の高速化を図ることができる。さ
らに誤りデータは、メモリ部アクセスの空き時間を利用
して書き戻すようにしたので、プロセッサの動作を妨げ
ることなくデータの信頼性向上を図ることができる。
According to the memory access control apparatus of the present invention described above, the memory access and the error correction of data are pipelined so that the access time can be shortened by the error correction time. It is possible to further increase the processing speed and the calculation processing speed. Further, since the error data is written back by using the free time of the memory access, the reliability of the data can be improved without hindering the operation of the processor.

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

【図1】第1発明のメモリアクセス制御装置実施例を示
すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a memory access control device of the first invention.

【図2】従来のメモリアクセス制御装置のブロック図で
ある。
FIG. 2 is a block diagram of a conventional memory access control device.

【図3】従来の通常のメモリリードアクセス動作のタイ
ムチャートである。
FIG. 3 is a time chart of a conventional normal memory read access operation.

【図4】従来の1ビット誤りが発生したときの動作タイ
ムチャートである。
FIG. 4 is an operation time chart when a conventional 1-bit error occurs.

【図5】従来の高速なメモリリードアクセス動作のタイ
ムチャートである。
FIG. 5 is a time chart of a conventional high speed memory read access operation.

【図6】第1発明の装置の動作を示すタイムチャートで
ある。
FIG. 6 is a time chart showing the operation of the device of the first invention.

【図7】第2発明のメモリアクセス制御装置実施例を示
すブロック図である。
FIG. 7 is a block diagram showing an embodiment of a memory access control device of the second invention.

【図8】第2発明の装置の動作を示すタイムチャートで
ある。
FIG. 8 is a time chart showing the operation of the device of the second invention.

【図9】第2発明の装置における書き戻し動作のタイム
チャートである。
FIG. 9 is a time chart of a write back operation in the device of the second invention.

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

1 メモリ制御部 2 メモリ部 3 誤り訂正部 5 プロセッサ 6 データ保持部 7 誤りアドレス保持部 9 書き戻し制御部 1 Memory controller 2 memory section 3 Error correction section 5 processors 6 Data storage 7 Error address storage 9 Write-back control section

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 プロセッサのアクセスによってメモリ部
から読み出されたデータの誤りを訂正する誤り訂正部
と、メモリアクセスと誤り訂正のパイプライン処理のた
めに、前記メモリ部から読み出されたデータを一時的に
保持し、前記誤り訂正部に向けて出力するデータ保持部
と、前記誤り訂正部により訂正されたデータが格納され
ていたメモリアドレスを保持する誤りアドレス保持部
と、前記プロセッサのメモリアクセス終了後、前記誤り
アドレス保持部に保持されたメモリアドレスをアクセス
して、前記誤り訂正部により訂正された訂正済みデータ
を前記メモリ部に書き戻す書き戻し制御部とを備えたこ
とを特徴とするメモリアクセス制御装置。
1. An error correction unit that corrects an error of data read from a memory unit by access of a processor, and data read from the memory unit for pipeline processing of memory access and error correction. A data holding unit that holds the data temporarily and outputs it to the error correction unit, an error address holding unit that holds a memory address in which the data corrected by the error correction unit is stored, and a memory access of the processor And a write-back control unit for accessing the memory address held in the error address holding unit and writing back the corrected data corrected by the error correction unit to the memory unit after the end. Memory access control device.
【請求項2】 プロセッサのアクセスによってメモリか
ら読み出されたデータの誤りを訂正する誤り訂正部と、
メモリアクセスと誤り訂正のパイプライン処理のため
に、前記メモリから読み出されたデータを一時的に保持
し、前記誤り訂正部に向けて出力するデータ保持部と、
前記プロセッサによるメモリアクセスの際に前記誤り訂
正部からプロセッサに向けて出力された全てのデータを
アクセスアドレス順に記憶する出力データ記憶部と、そ
のメモリアクセスの際に最初にアクセスされたメモリア
ドレスを保持する先頭アドレス保持部と、前記プロセッ
サによるメモリアクセス終了後、前記先頭アドレス保持
部から読み出したメモリアドレスから順に前記出力デー
タ記憶部中のデータを前記メモリに書き戻す書き戻し制
御部とを備えたことを特徴とするメモリアクセス制御装
置。
2. An error correction unit for correcting an error of data read from a memory by access of a processor,
A data holding unit that temporarily holds the data read from the memory and outputs the data to the error correction unit for pipeline processing of memory access and error correction;
An output data storage unit that stores all the data output from the error correction unit to the processor when the memory is accessed by the processor in the order of access addresses, and a memory address that is accessed first when the memory is accessed And a write-back control unit that writes back the data in the output data storage unit to the memory in order from the memory address read from the head address holding unit after the memory access by the processor is completed. And a memory access control device.
JP3183009A 1991-06-27 1991-06-27 Memory acceess control device Pending JPH056313A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3183009A JPH056313A (en) 1991-06-27 1991-06-27 Memory acceess control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3183009A JPH056313A (en) 1991-06-27 1991-06-27 Memory acceess control device

Publications (1)

Publication Number Publication Date
JPH056313A true JPH056313A (en) 1993-01-14

Family

ID=16128146

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3183009A Pending JPH056313A (en) 1991-06-27 1991-06-27 Memory acceess control device

Country Status (1)

Country Link
JP (1) JPH056313A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7079444B2 (en) 2004-02-26 2006-07-18 Samsung Electronics Co., Ltd. Memory system using simultaneous bi-directional input/output circuit on an address bus line
JP2011108306A (en) * 2009-11-16 2011-06-02 Sony Corp Nonvolatile memory and memory system
JP2013250594A (en) * 2012-05-30 2013-12-12 Renesas Electronics Corp Self-restoration memory circuit and restoration method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7079444B2 (en) 2004-02-26 2006-07-18 Samsung Electronics Co., Ltd. Memory system using simultaneous bi-directional input/output circuit on an address bus line
JP2011108306A (en) * 2009-11-16 2011-06-02 Sony Corp Nonvolatile memory and memory system
US8683290B2 (en) 2009-11-16 2014-03-25 Sony Corporation Save area for retaining corrected data
JP2013250594A (en) * 2012-05-30 2013-12-12 Renesas Electronics Corp Self-restoration memory circuit and restoration method thereof

Similar Documents

Publication Publication Date Title
JP3463816B2 (en) Data processing system and method for preventing overwriting
US7380076B2 (en) Information processing apparatus and method of accessing memory
GB2075730A (en) Refresch and error detection and correction technique for a data processing system
JPH056313A (en) Memory acceess control device
JPH1011348A (en) Controller for dram, and the dram
JPH05107314A (en) Ic testing device
JP2004199608A (en) Memory control circuit
JPS6074174A (en) Memory access system
JPH10187119A (en) Display control device
JP2851777B2 (en) Bus control method and information processing device
JPH047761A (en) Memory access method
JP2762798B2 (en) Information processing apparatus of pipeline configuration having instruction cache
JPH04104345A (en) Write control system for partial rewrite data of main storage device with ecc mechanism
JPS6010368A (en) Address conversion buffer control system
JPH02151930A (en) Storage buffer managing system
JPS6235146B2 (en)
JPH0668671A (en) Memory device
JP2762797B2 (en) Information processing apparatus of pipeline configuration having instruction cache
JPH05257807A (en) Cache memory controller
JPH04246764A (en) Data processor
JP3153063B2 (en) Micro program controller
KR100223297B1 (en) Parity error checking apparatus of dram
JPH07248976A (en) Storage controller
JPH0855065A (en) Memory access controller
JPH03288945A (en) Memory control method