JPH0785357B2 - DRAM refresh controller - Google Patents

DRAM refresh controller

Info

Publication number
JPH0785357B2
JPH0785357B2 JP3181504A JP18150491A JPH0785357B2 JP H0785357 B2 JPH0785357 B2 JP H0785357B2 JP 3181504 A JP3181504 A JP 3181504A JP 18150491 A JP18150491 A JP 18150491A JP H0785357 B2 JPH0785357 B2 JP H0785357B2
Authority
JP
Japan
Prior art keywords
refresh
dram
period
access
refresh operation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP3181504A
Other languages
Japanese (ja)
Other versions
JPH04362593A (en
Inventor
輝彦 大原
浩一 武田
Original Assignee
工業技術院長
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 工業技術院長 filed Critical 工業技術院長
Priority to JP3181504A priority Critical patent/JPH0785357B2/en
Publication of JPH04362593A publication Critical patent/JPH04362593A/en
Publication of JPH0785357B2 publication Critical patent/JPH0785357B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、プロセッサとキャッシ
ュメモリとが実装されたプロセッシング・エレメントを
複数有したマルチプロセッシング装置から共有メモリと
して使用されるDRAM(ダイナミックランダムアクセ
スメモリ)に対して、一定期間内に所定回数のリフレッ
シュ操作を保証するDRAMのリフレッシュ制御装置に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a DRAM (dynamic random access memory) used as a shared memory by a multi-processing apparatus having a plurality of processing elements in which a processor and a cache memory are mounted, for a certain period of time. The present invention relates to a DRAM refresh control device which guarantees a predetermined number of refresh operations.

【0002】[0002]

【従来の技術】DRAM(ダイナミックランダムアクセ
スメモリ)は、メモリセル中の静電容量素子に蓄えられ
た電荷量の多少により情報を記憶するメモリ素子であ
り、アクセスしない時でも一定時間ごとに情報を読み出
して再書き込みするリフレッシュ操作が必要である。D
RAMに対するリフレッシュを制御する方式としては、
次の(1),(2),(3)が知られている。
2. Description of the Related Art A DRAM (Dynamic Random Access Memory) is a memory element that stores information depending on the amount of charge stored in a capacitance element in a memory cell. Even when not accessed, information is stored at regular intervals. A refresh operation is required to read and rewrite. D
As a method for controlling the refresh to the RAM,
The following (1), (2) and (3) are known.

【0003】(1)一時期にDRAMの全てのメモリセ
ルに対してリフレッシュ操作を行うもので、リフレッシ
ュ操作の期間中は、プロセッシング装置のDRAMに対
するアクセスを停止させる方式である。
(1) A refresh operation is performed on all the memory cells of the DRAM at one time, and the access to the DRAM of the processing device is stopped during the refresh operation.

【0004】(2)一定期間内に一定間隔で複数回のリ
フレッシュ操作を行なうことによって、DRAM内の全
てのメモリセルをリフレッシュさせるもので、リフレッ
シュ操作とDRAMへのアクセスとが競合したときだ
け、アクセス要求を出したプロセッシング装置を停止さ
せる方式。
(2) All the memory cells in the DRAM are refreshed by performing a plurality of refresh operations at regular intervals within a fixed period, and only when the refresh operation and the access to the DRAM conflict with each other. A method of stopping the processing device that issued the access request.

【0005】(3)ダイナミックRAM動的リフレッシ
ュ法によるもの。このダイナミックRAM動的リフレッ
シュ法は、後で簡単に説明するが、詳しくは、次の参考
文献1を参照されたい。
(3) Dynamic RAM Dynamic refresh method. This dynamic RAM dynamic refresh method will be briefly described later, but for details, refer to the following reference 1.

【0006】参考文献1:「ダイナミックRAM動的リ
フレッシュ法の応用」 松井祥悟著情報処理学会 計算
機アーキテクチャ研究会報告 90-ARC-80-14
Reference 1: "Application of Dynamic RAM Dynamic Refresh Method" Shogo Matsui, Computer Architecture Research Group, Information Processing Society of Japan 90-ARC-80-14

【0007】[0007]

【発明が解決しようとする課題】ところで、リフレッシ
ュ操作は一定の期間内に確実に行う必要があり、リフレ
ッシュ操作とプロセッシング装置からのDRAMへのア
クセスとが競合を起こした場合、通常では、リフレッシ
ュ操作を優先させる必要がある。従って、競合発生時に
は、プロセッシング装置のDRAMへのアクセスが待た
されることになり、競合の発生する確率によってはアク
セス待ちの時間は、最悪の場合には全リフレッシュ操作
期間となり、その結果、システムのスループットが大幅
に低下するという不都合を招く虞れがある。
By the way, it is necessary to surely perform the refresh operation within a certain period, and when the refresh operation and the access from the processing device to the DRAM conflict with each other, the refresh operation is usually performed. Need to be prioritized. Therefore, when contention occurs, access to the DRAM of the processing device is made to wait, and depending on the probability of contention, the access waiting time becomes the entire refresh operation period in the worst case, resulting in system throughput. May be significantly reduced.

【0008】上記(1),(2)のいずれの方式でも、
DRAMの全てのメモリセルをリフレッシュするのに必
要なリフレッシュ操作期間は等しい。ただし、リフレッ
シュ操作とプロセッシング装置からのDRAMへのアク
セスとが競合する確率が異なり、それによって、プロセ
ッシング装置の停止期間に差が出る。しかし、いずれに
しても、前記競合によるアクセス待ちのためのスループ
ットの低下は無視できるものではなく、改善が望まれて
いる。
In any of the above methods (1) and (2),
The refresh operation periods required to refresh all the memory cells of a DRAM are equal. However, the refresh operation and the access from the processing device to the DRAM have different probabilities of conflict, which causes a difference in the stop period of the processing device. However, in any case, the decrease in throughput due to the access waiting due to the contention cannot be ignored, and improvement is desired.

【0009】一方、(3)の方式は、プロセッシング装
置からのアクセスをリフレッシュ操作として有効に活用
するもので、プロセッシング装置からアクセスされたD
RAMのアドレスを記憶しておいて、不要なリフレッシ
ュ操作を省くことで、本来のリフレッシュ操作回数を少
なくして競合の発生確立をより小さくするため、スルー
プットの向上を図ることができるが、ハードウエアコス
トが大きくなるという問題がある。
On the other hand, the method (3) effectively utilizes the access from the processing device as a refresh operation, and the D accessed from the processing device is used.
By storing the RAM address and omitting unnecessary refresh operations, the number of original refresh operations is reduced and the occurrence of conflict is further reduced, so that the throughput can be improved. There is a problem that the cost increases.

【0010】本発明は前記事情に鑑みてなされたもの
で、プロセッサとキャッシュメモリとが実装されたプロ
セッシング・エレメントを複数有したマルチプロセッシ
ング装置から共有メモリとして使用されるDRAMに対
して、一定期間内に所定回数のリフレッシュ操作を保証
するDRAMのリフレッシュ制御装置であって、リフレ
ッシュ操作とプロセッシング・エレメントからのDRA
Mへのアクセスとの競合の発生確率をより低くして、シ
ステムのスループットを向上させることができ、しか
も、ハードウェアコストも比較的に安価に抑えることが
できるDRAMのリフレッシュ制御装置を提供すること
を目的とする。
The present invention has been made in view of the above circumstances, and a DRAM used as a shared memory from a multi-processing device having a plurality of processing elements in which a processor and a cache memory are mounted is used within a certain period. A refresh controller for a DRAM which guarantees a predetermined number of refresh operations, and a DRA from the refresh element and the processing element.
To provide a DRAM refresh control device capable of improving the system throughput by further reducing the probability of occurrence of contention with access to M, and also keeping the hardware cost relatively low. With the goal.

【0011】[0011]

【課題を解決するための手段】本発明に係るDRAMの
リフレッシュ制御装置は、プロセッサとキャッシュメモ
リとが実装されたプロセッシング・エレメントを複数有
したマルチプロセッシング装置から共有メモリとして使
用されるDRAMに対して、一定期間内に所定回数のリ
フレッシュ操作を保証するものである。
A refresh control device for a DRAM according to the present invention relates to a DRAM used as a shared memory from a multi-processing device having a plurality of processing elements in which a processor and a cache memory are mounted. , Guaranteeing a predetermined number of refresh operations within a fixed period.

【0012】具体的には、前記プロセッシング・エレメ
ントのDRAMに対するアクセス状況に応じてDRAM
のリフレッシュ操作の実行を制御するリフレッシュ制御
装置を備えている。
[0012] Specifically, the DRAM depends on the access status of the processing element to the DRAM.
A refresh controller for controlling the execution of the refresh operation.

【0013】そして、このリフレッシュ制御装置には、
プロセッシング・エレメントからDRAMへのアクセス
の無い期間を検出するアクセス状況検出機能と、リフレ
ッシュ期間の残り時間がリフレッシュ操作を必要回数だ
け繰り返すのに要する時間よりも多いか否かを検出する
残り時間検出機能とが備えられ、プロセッシング・エレ
メントからDRAMへのアクセスが無い期間にリフレッ
シュ操作を促進させ、また、プロセッシング・エレメン
トからDRAMへのアクセスが有る場合には、リフレッ
シュ期間の残り時間がリフレッシュ操作を必要回数だけ
繰り返すのに要する時間に一致するまでは、リフレッシ
ュ操作よりもプロセッシング・エレメントからのアクセ
スを優先させる。
The refresh control device includes
Access status detection function that detects the period when the processing element does not access the DRAM, and remaining time detection function that detects whether the remaining time of the refresh period is longer than the time required to repeat the refresh operation the required number of times. Is provided to accelerate the refresh operation during the period when the processing element does not access the DRAM, and when there is access to the DRAM from the processing element, the remaining refresh period requires the refresh operation. Prioritize access from the processing element over the refresh operation until it matches the time it takes to repeat.

【0014】[0014]

【作用】本発明に係るDRAMのリフレッシュ制御装置
では、DRAMに対してアクセスがない期間にリフレッ
シュ操作を促進させるので、リフレッシュ操作とDRA
Mへのアクセスとの競合が発生する確率を低く抑えるこ
とができ、もって、マルチプロセッシングシステムにお
けるスループットを向上させることができる。しかも、
従来例で説明したダイナミックRAM動的リフレッシュ
法の場合と比較して、繁雑なアドレス管理等が不要であ
るため、ハードウェアコストを安価に抑えることも可能
になる。
In the DRAM refresh control device according to the present invention, the refresh operation is promoted while the DRAM is not accessed.
The probability of contention with access to M can be suppressed to a low level, and thus the throughput in the multi-processing system can be improved. Moreover,
Compared with the dynamic RAM dynamic refresh method described in the conventional example, complicated address management and the like are unnecessary, so that the hardware cost can be kept low.

【0015】[0015]

【実施例】本発明では、DRAMにアクセスするプロセ
ッシング装置はマルチプロセッシング装置であることを
前提としており、このマルチプロセッシング装置とは、
複数のプロセッシング・エレメントから構成され、各プ
ロセッシング・エレメントにはプロセッサとキャッシュ
メモリが実装されていて、それらが共有バスで結合され
ている装置であるとする。一般に、このような装置の場
合、例えば、マルチプロセッシング装置の動作状況を監
視して、共有バスの調停期間、キャッシュがヒットして
いる期間、プロセッサがメモリアクセスを行わない期間
などを検知することによって、前記マルチプロセッシン
グ装置の各プロセッシング・エレメントから共有メモリ
として使用されるDRAMへのアクセスが無い期間を知
ることができる。
BEST MODE FOR CARRYING OUT THE INVENTION In the present invention, it is premised that the processing device for accessing the DRAM is a multi-processing device.
It is assumed that the device is composed of a plurality of processing elements, and each processing element has a processor and a cache memory mounted thereon, which are connected by a shared bus. Generally, in the case of such a device, for example, by monitoring the operation status of the multi-processing device and detecting the arbitration period of the shared bus, the cache hit period, the period in which the processor does not perform memory access, etc. , It is possible to know the period during which there is no access to the DRAM used as the shared memory from each processing element of the multi-processing device.

【0016】本発明は、プロセッシング・エレメントか
らDRAMへのアクセスが無い期間を検出し、この期間
をリフレッシュ操作の消化に有効に利用することによっ
て、リフレッシュ操作とアクセスとの競合によるスルー
プットの低下を防止すると同時に、ハードウェアコスト
の低減を図るものである。
The present invention detects a period in which the processing element does not access the DRAM, and effectively uses this period for digesting the refresh operation, thereby preventing a decrease in throughput due to competition between the refresh operation and the access. At the same time, the hardware cost is reduced.

【0017】以下、本発明の一実施例を、図1および図
2に基づいて説明する。
An embodiment of the present invention will be described below with reference to FIGS. 1 and 2.

【0018】図1は、本発明の一実施例を利用するマル
チプロセッシングシステムの構成図である。このマルチ
プロセッシングシステムはマルチプロセッシング装置1
とメモリ装置2から構成されている。そして、前記マル
チプロセッシング装置1は、複数のプロセッシング・エ
レメントP1,P2,……Pnと、それらを接続する共
有バス3とから構成されている。
FIG. 1 is a block diagram of a multi-processing system utilizing an embodiment of the present invention. This multi-processing system is a multi-processing device 1
And the memory device 2. The multi-processing device 1 is composed of a plurality of processing elements P1, P2, ... Pn and a shared bus 3 connecting them.

【0019】各プロセッシング・エレメントP1,P
2,……Pnは、プロセッサpと、キャッシュメモリc
mとから構成されている。またメモリ装置2は、本発明
の一実施例に係るリフレッシュ制御装置4と、前述の各
プロセッシング・エレメントP1,P2,……Pnから
共有メモリとして使用されるDRAM(ダイナミックラ
ンダムアクセスメモリ)5とから構成されている。
Each processing element P1, P
2, ... Pn is a processor p and a cache memory c
m and. The memory device 2 includes a refresh control device 4 according to an embodiment of the present invention and a DRAM (dynamic random access memory) 5 used as a shared memory by the processing elements P1, P2, ... Pn described above. It is configured.

【0020】この一実施例のDRAMのリフレッシュ制
御装置は、換言すれば、前記リフレッシュ制御装置4に
よって、一定期間内に所定回数のDRAM5に対するリ
フレッシュ操作を保証するものである。
In other words, the DRAM refresh control device of this embodiment ensures that the refresh control device 4 performs a predetermined number of refresh operations on the DRAM 5 within a fixed period.

【0021】図2は、前記リフレッシュ制御装置4の詳
細図である。このリフレッシュ制御装置4は、第1およ
び第2のレジスタメモリ6,7と、これら二つのレジス
タメモリ6,7の内容を比較して比較結果に応じた出力
を出す比較器8と、この比較器8の出力9と前述のマル
チプロセッシング装置1のDRAM5に対するアクセス
状況を示す情報10とに基づいてリフレッシュ操作を優
先させて実行させるか否かを決める優先判定器11とを
有している。
FIG. 2 is a detailed view of the refresh control device 4. The refresh control device 4 includes first and second register memories 6 and 7, a comparator 8 that compares the contents of these two register memories 6 and 7 and outputs an output according to a comparison result, and this comparator. It has a priority judging device 11 for deciding whether or not to execute the refresh operation with priority based on the output 9 of 8 and the information 10 indicating the access status to the DRAM 5 of the multi-processing apparatus 1 described above.

【0022】なお、前記アクセス状況を示す情報10と
は、前記マルチプロセッシング装置1がDRAM5を使
用しない期間やアクセス時を示す情報であり、マルチプ
ロセッシング装置1がDRAM5を使用しない期間は、
前述したように、マルチプロセッシング装置1の動作状
況を監視して、共有バスの調停期間、キャッシュがヒッ
トしている期間、プロセッサがメモリアクセスを行わな
い期間などから推定する。
The information 10 indicating the access status is information indicating a period during which the multi-processing device 1 does not use the DRAM 5 or an access time, and a period during which the multi-processing device 1 does not use the DRAM 5 is:
As described above, the operation status of the multi-processing apparatus 1 is monitored and estimated from the arbitration period of the shared bus, the cache hit period, the period during which the processor does not access the memory, and the like.

【0023】この一実施例のDRAMのリフレッシュ制
御装置は、一定期間内に所定回数のリフレッシュ操作を
行なうことによって、DRAM5内の全てのメモリセル
をリフレッシュさせるものであり、以下、所定回数のリ
フレッシュ操作を必要とする前記一定期間のことをリフ
レッシュ期間と呼び、また、1回のリフレッシュ操作に
要する時間のことをメモリサイクル時間と呼ぶ。
The DRAM refresh control device of this embodiment refreshes all the memory cells in the DRAM 5 by performing a predetermined number of refresh operations within a fixed period. The above-mentioned fixed period that requires the memory is called a refresh period, and the time required for one refresh operation is called a memory cycle time.

【0024】理解を容易にするために、具体例で説明す
ると、前記DRAMとして、沖電気工業株式会社製のデ
バイスである”MSM511001A”を使用した場
合、前記メモリサイクル時間は400ナノ秒となり、ま
た、前記リフレッシュ期間は8ミリ秒となる。そして、
このリフレッシュ期間内に、512回のリフレッシュ操
作を行なうことが必要になる。
To facilitate understanding, a specific example will be described. When the device "MSM511001A" manufactured by Oki Electric Industry Co., Ltd. is used as the DRAM, the memory cycle time becomes 400 nanoseconds. The refresh period is 8 milliseconds. And
It is necessary to perform 512 refresh operations within this refresh period.

【0025】前記レジスタメモリ6について説明する。
このレジスタメモリ6は、リフレッシュ期間において実
行しなければならないリフレッシュ操作の残り回数を保
持する。DRAM5として、前述の”MSM51100
1A”を使用した場合、リフレッシュ期間の開始時に
は、値512がセットされる。そして、保持した値は、
リフレッシュ操作が1回行われるたびに1ずつ数を減じ
て行く。このレジスタの値が0になれば、当該リフレッ
シュ期間におけるリフレッシュ操作はすべて終了したこ
とになる。
The register memory 6 will be described.
This register memory 6 holds the remaining number of refresh operations that must be executed during the refresh period. As the DRAM 5, the above-mentioned "MSM51100"
When 1A ″ is used, the value 512 is set at the start of the refresh period, and the held value is
The number is decremented by 1 each time the refresh operation is performed once. When the value of this register becomes 0, it means that all refresh operations in the refresh period have been completed.

【0026】前記レジスタメモリ7について説明する。
このレジスタメモリ7は、リフレッシュ期間の残り時間
をメモリサイクル時間で割った値を保持する。そして、
保持した値は、前記メモリサイクル時間に相当する時間
が経過するたびに1ずつ減じて行く。DRAM5とし
て、前述の”MSM511001A”を使用した場合、
リフレッシュ期間の開始時には値20000がセットさ
れる。この値は、8ミリ秒を400ナノ秒で割った値で
ある。このレジスタメモリ7の値が0になると、1回の
リフレッシュ期間が終了したことになり、次のリフレッ
シュ期間を開始する。
The register memory 7 will be described.
The register memory 7 holds a value obtained by dividing the remaining time of the refresh period by the memory cycle time. And
The held value is decremented by 1 each time the time corresponding to the memory cycle time has elapsed. When the above-mentioned "MSM511001A" is used as the DRAM 5,
The value 20000 is set at the start of the refresh period. This value is 8 milliseconds divided by 400 nanoseconds. When the value of the register memory 7 becomes 0, one refresh period has ended, and the next refresh period is started.

【0027】前記比較器8は、レジスタメモリ6に保持
されている値とレジスタメモリ7に保持されている値と
を比較し、両者が一致した場合には、比較結果として0
を出力し、そうでない場合1を出力する。
The comparator 8 compares the value held in the register memory 6 with the value held in the register memory 7, and when they match, the comparison result is 0.
Is output, otherwise 1 is output.

【0028】前記優先判定器11は、前記アクセス状況
を示す情報10に基づいて、DRAM5へのアクセスが
無い期間を検出するアクセス状況検出機能と、前記比較
器8の出力9に基づいてリフレッシュ期間の残り時間が
リフレッシュ操作を必要回数だけ繰り返すのに要する時
間よりも多いか否かを検出する残り時間検出機能とを具
備していて、プロセッシング・エレメントからDRAM
へのアクセスが無い期間にはリフレッシュ操作を積極的
に行ない、また、プロセッシング・エレメントからDR
AMへのアクセスが有る場合には、リフレッシュ期間の
残り時間がリフレッシュ操作を必要回数だけ繰り返すの
に要する時間に一致するまでは、リフレッシュ操作より
もプロセッシング・エレメントからのアクセスを優先さ
せる。
The priority determining unit 11 detects the period of no access to the DRAM 5 based on the information 10 indicating the access state, and the output 9 of the comparator 8 to determine the refresh period. A remaining time detecting function for detecting whether or not the remaining time is longer than the time required to repeat the refresh operation a required number of times,
Refresh operation is actively performed during the period when there is no access to the memory, and DR from the processing element
When there is access to the AM, the access from the processing element is prioritized over the refresh operation until the remaining refresh period matches the time required to repeat the refresh operation the required number of times.

【0029】具体的には、比較器8の出力9が1である
間は、アクセス要求があればそれを優先し、アクセスが
なければリフレッシュ操作を続ける。そして、比較器8
の出力9が0となった場合には、DRAM5へののアク
セス要求があってもそれを待たせ、マルチプロセッシン
グ装置8の出力9が1となるまではリフレッシュ操作を
優先して続行する。
Specifically, while the output 9 of the comparator 8 is 1, if there is an access request, it is prioritized, and if there is no access, the refresh operation is continued. And the comparator 8
When the output 9 becomes 0, even if there is an access request to the DRAM 5, it is kept waiting, and the refresh operation is preferentially continued until the output 9 of the multi-processing device 8 becomes 1.

【0030】なお、出力9が0になるということは、リ
フレッシュ期間の残り時間の全てをリフレッシュ操作の
ために使用しなければならなくなったことを意味する。
優先判定器11の以上のような制御によって、リフレッ
シュ期間内に所定回数のリフレッシュ操作を実行するこ
とが保証される。
The fact that the output 9 becomes 0 means that the entire remaining time of the refresh period has to be used for the refresh operation.
The above-described control of the priority determiner 11 ensures that the refresh operation is executed a predetermined number of times within the refresh period.

【0031】以上の一実施例の効果を、具体例で説明す
る。例えば、マルチプロセッシング装置1は8台のプロ
セッシング・エレメントから成り、各プロセッサpのマ
シンサイクルが100ナノ秒、メモリアクセス命令の出
現頻度が25%の場合、8ミリ秒の間に160000回
のメモリアクセス命令が実行される。そして、キャッシ
ュメモリcmののヒット率を90%(一般には、もっと
高いと考えられる)と仮定すると、DRAM5のメモリ
サイクル時間が400ナノ秒であれば、メモリ装置の動
作時間は6.4ミリ秒となり、キャッシュメモリのヒッ
ト率が90%程度であっても、リフレッシュ操作とのア
クセスとの競合は全く発生しない。
The effect of the above-described embodiment will be described with a concrete example. For example, the multi-processing device 1 is composed of eight processing elements. When the machine cycle of each processor p is 100 nanoseconds and the frequency of memory access instructions is 25%, 160000 memory accesses are performed in 8 milliseconds. The instruction is executed. Assuming that the hit rate of the cache memory cm is 90% (generally considered to be higher), if the memory cycle time of the DRAM 5 is 400 nanoseconds, the operation time of the memory device is 6.4 milliseconds. Therefore, even if the hit rate of the cache memory is about 90%, there is no conflict with the refresh operation and the access.

【0032】従って、従来の方式を使用する場合と比較
すると、マルチプロセッシングシステムのスループット
を大幅に向上させることができ、しかも、従来例で説明
したダイナミックRAM動的リフレッシュ法の場合と比
較して、繁雑なアドレス管理等が不要であるため、ハー
ドウェアコストを安価に抑えることが可能になる。
Therefore, compared with the case of using the conventional method, the throughput of the multi-processing system can be greatly improved, and moreover, compared with the case of the dynamic RAM dynamic refresh method described in the conventional example, Since complicated address management and the like are unnecessary, the hardware cost can be kept low.

【0033】[0033]

【発明の効果】以上の説明から明らかなように、本発明
に係るDRAMのリフレッシュ制御装置では、DRAM
に対してアクセスがない期間にリフレッシュ操作を促進
させるので、リフレッシュ操作とDRAMへのアクセス
との競合が発生する確率を低く抑えることができ、もっ
て、マルチプロセッシングシステムにおけるスループッ
トを向上させることができる。しかも、従来例で説明し
たダイナミックRAM動的リフレッシュ法の場合と比較
して、繁雑なアドレス管理等が不要であるため、ハード
ウェアコストを安価に抑えることも可能になる。
As is apparent from the above description, in the DRAM refresh control device according to the present invention, the DRAM
On the other hand, since the refresh operation is promoted during the period when there is no access, the probability of conflict between the refresh operation and the access to the DRAM can be suppressed to a low level, and the throughput in the multi-processing system can be improved. Moreover, as compared with the case of the dynamic RAM dynamic refresh method described in the conventional example, complicated address management and the like are unnecessary, so that the hardware cost can be kept low.

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

【図1】本発明を利用するマルチプロセッシングシステ
ムの構成図である。
FIG. 1 is a block diagram of a multi-processing system utilizing the present invention.

【図2】本発明の一実施例の要部であるリフレッシュ制
御装置の説明図である。
FIG. 2 is an explanatory diagram of a refresh control device that is a main part of one embodiment of the present invention.

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

1 マルチプロセッシング装置 2 メモリ装置 3 共有バス 4 リフレッシュ制御装置 5 DRAM 6,7 レジスタメモリ 8 比較器 9 比較器の出力 10 アクセス状況を示す情報 11 優先判定器 1 Multi-Processing Device 2 Memory Device 3 Shared Bus 4 Refresh Control Device 5 DRAM 6, 7 Register Memory 8 Comparator 9 Output of Comparator 10 Information indicating Access Status 11 Priority Judgment Device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 プロセッサとキャッシュメモリとが実装
されたプロセッシング・エレメントを複数有したマルチ
プロセッシング装置から共有メモリとして使用されるD
RAMに対して、一定期間内に所定回数のリフレッシュ
操作を保証するDRAMのリフレッシュ制御装置であっ
て、 前記プロセッシング・エレメントのDRAMに対するア
クセス状況に応じてDRAMのリフレッシュ操作の実行
を制御する機能を備え、 このリフレッシュ制御装置には、プロセッシング・エレ
メントからDRAMへのアクセスの無い期間を検出する
アクセス状況検出機能と、リフレッシュ期間の残り時間
がリフレッシュ操作を必要回数だけ繰り返すのに要する
時間よりも多いか否かを検出する残り時間検出機能とが
備えられ、プロセッシング・エレメントからDRAMへ
のアクセスが無い期間にリフレッシュ操作を促進させ、
また、プロセッシング・エレメントからDRAMへのア
クセスが有る場合には、リフレッシュ期間の残り時間が
リフレッシュ操作を必要回数だけ繰り返すのに要する時
間に一致するまでは、リフレッシュ操作よりもプロセッ
シング・エレメントからのアクセスを優先させることを
判定する優先判定手段を備えたことを特徴とするDRA
Mのリフレッシュ制御装置
1. A D used as a shared memory by a multi-processing device having a plurality of processing elements in which a processor and a cache memory are mounted.
A refresh control device for a DRAM, which guarantees a predetermined number of refresh operations to a RAM within a certain period, and has a function of controlling execution of the refresh operation of the DRAM according to an access status of the processing element to the DRAM. The refresh control device has an access status detection function for detecting a period in which the processing element does not access the DRAM, and whether the remaining refresh period is longer than the time required to repeat the refresh operation a required number of times. It is equipped with a remaining time detection function to detect whether or not the refresh operation is promoted during the period when the processing element does not access the DRAM.
In addition, when the processing element accesses the DRAM, access from the processing element is performed rather than the refresh operation until the remaining refresh period matches the time required to repeat the refresh operation the required number of times. To prioritize
DRA characterized by including priority determination means for determination
M refresh controller .
JP3181504A 1991-06-10 1991-06-10 DRAM refresh controller Expired - Lifetime JPH0785357B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3181504A JPH0785357B2 (en) 1991-06-10 1991-06-10 DRAM refresh controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3181504A JPH0785357B2 (en) 1991-06-10 1991-06-10 DRAM refresh controller

Publications (2)

Publication Number Publication Date
JPH04362593A JPH04362593A (en) 1992-12-15
JPH0785357B2 true JPH0785357B2 (en) 1995-09-13

Family

ID=16101920

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3181504A Expired - Lifetime JPH0785357B2 (en) 1991-06-10 1991-06-10 DRAM refresh controller

Country Status (1)

Country Link
JP (1) JPH0785357B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5145922B2 (en) * 2007-12-26 2013-02-20 横河電機株式会社 SDRAM refresh control device
US10503670B2 (en) * 2017-12-21 2019-12-10 Advanced Micro Devices, Inc. Dynamic per-bank and all-bank refresh

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5862890A (en) * 1981-10-07 1983-04-14 Nec Corp Memory refresh control system of main storage device
JPS58140599U (en) * 1982-03-12 1983-09-21 株式会社日立製作所 Dynamic random access memory control circuit
JPH0740432B2 (en) * 1985-08-20 1995-05-01 富士通株式会社 Memory refresh method

Also Published As

Publication number Publication date
JPH04362593A (en) 1992-12-15

Similar Documents

Publication Publication Date Title
US6285616B1 (en) Memory refreshing control apparatus comprising a unique refreshing counter
US20070011397A1 (en) Dram with hidden refresh
US5822265A (en) DRAM controller with background refresh
JPH06222993A (en) Cache memory system and method for realization of it
JPH0785357B2 (en) DRAM refresh controller
US6336162B1 (en) DRAM access method and a DRAM controller using the same
EP0794497A2 (en) Memory refresh control method and apparatus
EP0851360A2 (en) Bus arbiter
JP2001135079A (en) Memory control device
US5887188A (en) Multiprocessor system providing enhanced efficiency of accessing page mode memory by master processor
JP3145765B2 (en) Information processing device
JPH117763A (en) Method for refresh control to dram and circuit therefor
JPH0962640A (en) Access control method for shared memory
JPH08129883A (en) Refresh control system for d-ram
JP3169878B2 (en) Memory control circuit
JP2829998B2 (en) Refresh control device
JP5106864B2 (en) Bus system and image forming apparatus
JPS62259295A (en) Refresh control system
JPH103785A (en) Refresh method of memory and memory controller for it
JPH09297990A (en) Memory refresh control method and memory refresh controller
JPH0362141A (en) Memory control system
JPH06111568A (en) Image memory device
JPH03259492A (en) Dram controller
JP2521798B2 (en) Storage device refresh control method
JPH08335186A (en) Reading method for shared memory

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term