JP2590712B2 - Memory controller - Google Patents

Memory controller

Info

Publication number
JP2590712B2
JP2590712B2 JP5302482A JP30248293A JP2590712B2 JP 2590712 B2 JP2590712 B2 JP 2590712B2 JP 5302482 A JP5302482 A JP 5302482A JP 30248293 A JP30248293 A JP 30248293A JP 2590712 B2 JP2590712 B2 JP 2590712B2
Authority
JP
Japan
Prior art keywords
memory
refresh
timer
bank
memory bank
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
JP5302482A
Other languages
Japanese (ja)
Other versions
JPH07161184A (en
Inventor
雅美 岡▲崎▼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP5302482A priority Critical patent/JP2590712B2/en
Publication of JPH07161184A publication Critical patent/JPH07161184A/en
Application granted granted Critical
Publication of JP2590712B2 publication Critical patent/JP2590712B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Dram (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明はダイナミックランダムア
クセスメモリ(以下、DRAMという)のリフレッシュ
制御機構を有するメモリ制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory control device having a refresh control mechanism for a dynamic random access memory (hereinafter referred to as DRAM).

【0002】[0002]

【従来の技術】従来のメモリ制御装置では、DRAMの
リフレッシュを行うにあたって、リフレッシュタイマの
タイムアウト時にリフレッシュを行ない、リフレッシュ
中は通常のメモリアクセスを禁止するように制御してい
た。例えば、特開平4−364295号公報には、DR
AMを一定間隔でリフレッシュするためのタイミングを
生成するリフレッシュタイマと、DRAMをリフレッシ
ュするアドレスをカウントするリフレッシュアドレスカ
ウンタとを有して、一定間隔でリフレッシュ要求信号を
発生するDRAM制御回路が記載されている。
2. Description of the Related Art In a conventional memory control device, when refreshing a DRAM, refreshing is performed when a refresh timer times out, and normal memory access is controlled during refreshing. For example, JP-A-4-364295 discloses a DR
A DRAM control circuit that includes a refresh timer that generates timing for refreshing an AM at regular intervals and a refresh address counter that counts addresses for refreshing the DRAM and generates a refresh request signal at regular intervals is described. I have.

【0003】[0003]

【発明が解決しようとする課題】この従来の技術では、
リフレッシュタイマのタイムアウトを契機に定期的にD
RAMのリフレッシュを行なうため、通常のメモリアク
セスがDRAMのリフレッシュタイミングと重なると、
通常のメモリアクセスが待たされることになり、メモリ
アクセス性能が低下するという問題があった。
In this prior art,
Periodically triggered by the refresh timer timeout
In order to refresh the RAM, if a normal memory access coincides with the refresh timing of the DRAM,
There is a problem that the normal memory access is kept waiting and the memory access performance is reduced.

【0004】[0004]

【課題を解決するための手段】上述した問題点を解決す
るため、本願発明では、複数のメモリバンクからなる記
憶装置に対する中央処理装置からのアクセスと前記記憶
装置内のDRAMのリフレッシュ動作とを調停するメモ
リ制御装置において、前記中央処理装置から要求された
メモリアクセスのアドレスに基づいて前記記憶装置内の
いずれのメモリバンクへのアクセスであるかを特定する
バンク制御手段と、前記記憶装置内の複数のメモリバン
クの各々に対応するように設けられ、該メモリバンクが
直前にリフレッシュされてからの経過時間を計数し、限
界値に達した時にはタイムアウト信号を発生する複数の
リフレッシュタイマ手段と、前記タイムアウト信号が発
生していればそのタイムアウト信号を発生したリフレッ
シュタイマ手段に対応するメモリバンクを選択して、そ
うでなければ前記リフレッシュタイマ手段の内、前記バ
ンク制御手段で特定されたメモリバンクに対応するリフ
レッシュタイマ手段を除き、対応するメモリバンクが最
も以前にリフレッシュされたことを示しているリフレッ
シュタイマ手段に対応するメモリバンクを選択して、リ
フレッシュを要求するタイマ比較手段と、このタイマ比
較手段からの要求に応じて前記記憶装置の該当メモリバ
ンクのDRAMをリフレッシュするメモリリフレッシュ
起動手段とを有する。
In order to solve the above-mentioned problems, the present invention arbitrates access from a central processing unit to a storage device comprising a plurality of memory banks and arbitration of a DRAM refresh operation in the storage device. A memory control device that specifies which memory bank in the storage device is to be accessed based on a memory access address requested by the central processing unit; and a plurality of storage devices in the storage device. A plurality of refresh timer means for counting the time elapsed since the memory bank was last refreshed, and generating a timeout signal when the memory bank reaches a limit value; If a signal is generated, the refresh timer means that generated the timeout signal Selecting a corresponding memory bank, otherwise the corresponding memory bank has been refreshed most recently, except for the refresh timer means corresponding to the memory bank specified by the bank control means among the refresh timer means. Means for selecting a memory bank corresponding to the refresh timer means indicating that the refresh is required, and a memory for refreshing the DRAM of the corresponding memory bank of the storage device in response to a request from the timer comparison means. Refresh activation means.

【0005】また、さらに前記リフレッシュタイマ手段
の限界値の範囲内においてリフレッシュを抑止すべき範
囲を規定するタイマしきい値格納手段を有して、前記タ
イマ比較手段において、前記リフレッシュタイマ手段の
内、前記バンク制御手段で特定されたメモリバンクに対
応するリフレッシュタイマ手段を除き、対応するメモリ
バンクが最も以前にリフレッシュされたことを示してい
るリフレッシュタイマ手段の値が前記タイマしきい値格
納手段の規定する範囲外にあるときにのみ当該リフレッ
シュタイマ手段に対応するメモリバンクを選択してリフ
レッシュを要求する。
Further, there is provided a timer threshold value storage means for defining a range in which refreshing is to be suppressed within a limit value range of the refresh timer means. Except for the refresh timer means corresponding to the memory bank specified by the bank control means, the value of the refresh timer means indicating that the corresponding memory bank has been refreshed most recently is specified by the timer threshold value storage means. Only when it is out of the range, the memory bank corresponding to the refresh timer means is selected and refresh is requested.

【0006】また、前記リフレッシュタイマ手段は、対
応するメモリバンクのDRAMのリフレッシュ時にリセ
ットされ、その後クロック毎にカウントアップされて、
所定の上限値に達するとカウントアップを停止してタイ
ムアウト信号を前記タイマ比較手段に伝達して、前記タ
イマ比較手段は、最も大きな値を有する前記リフレッシ
ュタイマ手段に対応するメモリバンクを、最も以前にリ
フレッシュされたメモリバンクとして扱う。
The refresh timer means is reset at the time of refreshing the DRAM of the corresponding memory bank, and thereafter counts up at every clock.
When the count reaches the predetermined upper limit value, the count-up is stopped and a time-out signal is transmitted to the timer comparing means.The timer comparing means sets the memory bank corresponding to the refresh timer means having the largest value to the earliest one. Treated as a refreshed memory bank.

【0007】[0007]

【実施例】次に本願発明のメモリ制御装置の第1の実施
例について図面を参照して詳細に説明する。
Next, a first embodiment of the memory control device of the present invention will be described in detail with reference to the drawings.

【0008】図1を参照すると、本願発明の第1の実施
例であるメモリ制御装置200は、バンク制御部210
と、n個のリフレッシュタイマ221〜22nと、メモ
リリフレッシュ制御部230とを有している。さらに、
メモリリフレッシュ制御部230は、タイマ比較部23
3とメモリリフレッシュ起動部236とを有している。
そして、中央処理装置100とバンク制御部210によ
って接続し、n個のメモリバンク311〜31nから構
成される記憶装置300とメモリリフレッシュ起動部2
36によって接続している。
Referring to FIG. 1, a memory control device 200 according to a first embodiment of the present invention includes a bank control unit 210.
And n refresh timers 221 to 22n and a memory refresh control unit 230. further,
The memory refresh control unit 230 includes the timer comparison unit 23
3 and a memory refresh activation unit 236.
The memory controller 300 is connected to the central processing unit 100 by the bank control unit 210, and includes a storage device 300 including n memory banks 311 to 31 n and a memory refresh activation unit 2.
36.

【0009】バンク制御部210は、中央処理装置10
0からメモリアクセスが発生した場合に、そのアクセス
しようとするアドレスから記憶装置300のどのメモリ
バンクにアクセスすべきものかを決定してタイマ比較部
233に伝達する。例えば、”0000000”番地か
ら”0FFFFFF”番地(16進数表記)までを1つ
目のバンクに割り当て、”1000000”番地から”
1FFFFFF”番地までを2つ目のバンクに割り当て
る等といったメモリの割り当てを予め行なう。
[0009] The bank control unit 210 is a central processing unit 10
When a memory access occurs from 0, it determines which memory bank of the storage device 300 is to be accessed from the address to be accessed and transmits it to the timer comparison unit 233. For example, from the address “00000000” to the address “0FFFFFF” (in hexadecimal notation) is assigned to the first bank, and
Memory allocation, such as allocating up to address 1FFFFFF "to a second bank, is performed in advance.

【0010】リフレッシュタイマ221〜22nは、記
憶装置300の各メモリバンク311〜31nに対応し
て設けられ、対応するメモリバンクが直前にリフレッシ
ュされてから経過した時間をタイマ比較部233に伝達
する。つまり、これらリフレッシュタイマ221〜22
nは、リフレッシュ時にリセットされて、その後クロッ
ク毎にカウントアップされていく。また、これらリフレ
ッシュタイマ221〜22nは、所定の上限値に達する
とカウントアップを停止し、タイムアウト信号をタイマ
比較部233に伝達する。
The refresh timers 221 to 22n are provided corresponding to the respective memory banks 311 to 31n of the storage device 300, and transmit the time elapsed since the last refresh of the corresponding memory bank to the timer comparator 233. That is, these refresh timers 221 to 22
n is reset at the time of refresh, and thereafter is counted up every clock. When the refresh timers 221 to 22n reach a predetermined upper limit, they stop counting up, and transmit a timeout signal to the timer comparison unit 233.

【0011】タイマ比較部233は、リフレッシュタイ
マ221〜22nが示す値の中から最も大きい値を示し
ているリフレッシュタイマを特定する機能を有する。そ
して、中央処理装置100からメモリアクセスが発生し
た場合には、このメモリアクセスに係るメモリバンクに
対応するリフレッシュタイマ以外のリフレッシュタイマ
の中から最も大きい値を示しているリフレッシュタイマ
を特定して、このリフレッシュタイマに対応するメモリ
バンクをリフレッシュするように、タイマ比較部233
からメモリリフレッシュ起動部236に指示を与える。
また、タイマ比較部233がリフレッシュタイマ221
〜22nの何れかからタイムアウト信号を受け取った場
合には、そのタイムアウト信号を発生したリフレッシュ
タイマに対応するメモリバンクをリフレッシュするよう
に、タイマ比較部233からメモリリフレッシュ起動部
236に指示を与える。
The timer comparing section 233 has a function of specifying the refresh timer indicating the largest value among the values indicated by the refresh timers 221 to 22n. When a memory access occurs from the central processing unit 100, a refresh timer indicating the largest value is specified from among the refresh timers other than the refresh timer corresponding to the memory bank related to the memory access, and this refresh timer is specified. The timer comparing unit 233 refreshes the memory bank corresponding to the refresh timer.
From the memory refresh start unit 236.
In addition, the timer comparing unit 233 controls the refresh timer 221.
When a time-out signal is received from any one of .about.22n, the timer comparator 233 instructs the memory refresh activation unit 236 to refresh the memory bank corresponding to the refresh timer that generated the time-out signal.

【0012】メモリリフレッシュ起動部236は、タイ
マ比較部233からメモリリフレッシュ要求を指示され
た記憶装置300内のメモリバンクについてメモリリフ
レッシュを行う。このメモリリフレッシュ起動部236
は各メモリバンク毎に対応するようにn個のリフレッシ
ュアドレスカウンタを有し、指示されたメモリバンクを
リフレッシュするように、記憶装置300に対してリフ
レッシュアドレスを供給する。なお、これらメモリリフ
レッシュ制御の機能をDRAM側が有している場合に
は、リフレッシュ要求をメモリバンクに伝達するだけで
構わない。
The memory refresh activation unit 236 performs a memory refresh for a memory bank in the storage device 300 that has been instructed by the timer comparison unit 233 to request a memory refresh. This memory refresh activation unit 236
Has n refresh address counters corresponding to each memory bank, and supplies a refresh address to the storage device 300 so as to refresh the designated memory bank. If the DRAM has the memory refresh control function, it is sufficient to simply transmit the refresh request to the memory bank.

【0013】次に本願発明の上記第1の実施例の動作に
ついて流れ図を参照して説明する。
Next, the operation of the first embodiment of the present invention will be described with reference to a flowchart.

【0014】図2を参照すると、本願発明の上記第1の
実施例のメモリ制御装置では、まず、いずれかのリフレ
ッシュタイマでタイムアウトが発生したかどうかをタイ
マ比較部233にて判断する(ステップ501)。タイ
ムアウトが発生していれば、そのタイムアウトを発生し
たリフレッシュタイマに対応するメモリバンクについて
のリフレッシュ動作を、メモリリフレッシュ起動部23
6の制御の下で行なう(ステップ504)。このとき、
中央処理装置100からメモリアクセス要求が発生して
いたとしても、そのメモリアクセスはメモリリフレッシ
ュが終了するまで禁止される。メモリリフレッシュ終了
後は、対応するリフレッシュタイマがリセットされ(ス
テップ505)、再びステップ501の判断を行なう。
Referring to FIG. 2, in the memory control device according to the first embodiment of the present invention, first, it is determined whether or not a timeout has occurred in any of the refresh timers by the timer comparison unit 233 (step 501). ). If a timeout has occurred, the refresh operation for the memory bank corresponding to the refresh timer in which the timeout has occurred is performed by the memory refresh activation unit 23.
6 (step 504). At this time,
Even if a memory access request is issued from the central processing unit 100, the memory access is prohibited until the memory refresh ends. After the memory refresh is completed, the corresponding refresh timer is reset (step 505), and the determination in step 501 is performed again.

【0015】ステップ501にてタイムアウトが発生し
ていないと判断したときには、次に中央処理装置100
からメモリアクセス要求が発生しているかを判断し(ス
テップ502)、発生していれば当該メモリアクセスと
同時にタイマ比較部233で、このメモリアクセスに係
るメモリバンクに対応するリフレッシュタイマ以外のリ
フレッシュタイマの中から最も大きい値を示しているリ
フレッシュタイマを特定する(ステップ503)。そし
て、このリフレッシュタイマに対応するメモリバンクを
リフレッシュするようにメモリリフレッシュ起動部23
6に伝達する。このリフレッシュ要求を受けたメモリリ
フレッシュ起動部236は、記憶装置300内の該当す
るメモリバンクについてリフレッシュ動作を行なう(ス
テップ504)。メモリリフレッシュ終了後は、対応す
るリフレッシュタイマがリセットされ(ステップ50
5)、再びステップ501の判断を行なう。
If it is determined in step 501 that no timeout has occurred, then the central processing unit 100
It is determined whether or not a memory access request has been issued (step 502). If the memory access request has been issued, the timer comparison unit 233 simultaneously determines whether a refresh timer other than the refresh timer corresponding to the memory bank related to this memory access has occurred. The refresh timer indicating the largest value is specified from among them (step 503). The memory refresh activation unit 23 refreshes the memory bank corresponding to the refresh timer.
To 6. Upon receiving the refresh request, the memory refresh activation unit 236 performs a refresh operation on the corresponding memory bank in the storage device 300 (Step 504). After completion of the memory refresh, the corresponding refresh timer is reset (step 50).
5) The determination of step 501 is performed again.

【0016】上述のように、本願第1の実施例によれ
ば、メモリアクセスが発生したのと同時に、そのメモリ
アクセスに係るメモリバンク以外のメモリバンクの中で
最も以前にリフレッシュされたメモリバンクをリフレッ
シュすることにより、リフレッシュタイムアウトの発生
する度合いを低く抑えて、リフレッシュ動作と通常のメ
モリアクセスとがなるべく同時期に重ならないようにす
ることができる。
As described above, according to the first embodiment of the present application, at the same time when a memory access occurs, the memory bank that has been refreshed most recently among the memory banks other than the memory bank related to the memory access is set. By performing the refresh, the degree of occurrence of the refresh timeout can be suppressed low, and the refresh operation and the normal memory access can be prevented from overlapping at the same time as much as possible.

【0017】次に本願発明のメモリ制御装置の第2の実
施例について図面を参照して詳細に説明する。
Next, a second embodiment of the memory control device of the present invention will be described in detail with reference to the drawings.

【0018】図3を参照すると、本願発明の第2の実施
例であるメモリ制御装置200は、タイマしきい値格納
部290を設けている点以外は第1の実施例と同様の構
成を有している。タイマしきい値格納部290は、中央
処理装置100からメモリアクセスが発生した場合にこ
のメモリアクセスに係るメモリバンクに対応するリフレ
ッシュタイマ以外のリフレッシュタイマの中から最も大
きい値を示しているリフレッシュタイマ(以下、最大リ
フレッシュタイマという)の値に対するしきい値を格納
するものである。つまり、最大リフレッシュタイマの値
は、タイマ比較部234においてタイマしきい値格納部
290のしきい値と比較され、最大リフレッシュタイマ
の値の方が大きい場合のみ、メモリリフレッシュ起動部
236に当該メモリバンクをリフレッシュするように伝
達する。このようにすることにより、必要以上のリフレ
ッシュの発生を抑えるように制御することができる。
Referring to FIG. 3, a memory control device 200 according to a second embodiment of the present invention has the same configuration as that of the first embodiment except that a timer threshold value storage unit 290 is provided. doing. When a memory access is generated from the central processing unit 100, the timer threshold value storage unit 290 stores a refresh timer indicating the largest value among the refresh timers other than the refresh timers corresponding to the memory bank related to the memory access. Hereinafter, a threshold value for the value of the maximum refresh timer is stored. That is, the value of the maximum refresh timer is compared with the threshold value of the timer threshold value storage unit 290 by the timer comparison unit 234, and only when the value of the maximum refresh timer is larger, the memory refresh activation unit 236 Signal to refresh. By doing so, it is possible to control so as to suppress the occurrence of unnecessary refresh.

【0019】このタイマしきい値格納部290のしきい
値は、中央処理装置100からの指示により任意の値を
設定することができる。例えば、リフレッシュタイマの
最大値の半分程度に設定することが考えられる。但し、
この場合、第1の実施例と比べてリフレッシュタイマの
タイムアウトの発生する割合が高くなるおそれがある。
The threshold value of timer threshold value storage section 290 can be set to any value in accordance with an instruction from central processing unit 100. For example, it is conceivable to set the value to about half of the maximum value of the refresh timer. However,
In this case, the rate of occurrence of the timeout of the refresh timer may be higher than in the first embodiment.

【0020】次に本願発明の上記第2の実施例の動作に
ついて流れ図を参照して説明する。
Next, the operation of the second embodiment of the present invention will be described with reference to a flowchart.

【0021】図4を参照すると、本願発明の上記第2の
実施例のメモリ制御装置では、まず、いずれかのリフレ
ッシュタイマでタイムアウトが発生したかどうかをタイ
マ比較部234にて判断する(ステップ601)。タイ
ムアウトが発生していれば、そのタイムアウトを発生し
たリフレッシュタイマに対応するメモリバンクについて
のリフレッシュ動作を、メモリリフレッシュ起動部23
6の制御の下で行なう(ステップ605)。このとき、
中央処理装置100からメモリアクセス要求が発生して
いたとしても、そのメモリアクセスはメモリリフレッシ
ュが終了するまで禁止される。メモリリフレッシュ終了
後は、対応するリフレッシュタイマがリセットされ(ス
テップ606)、再びステップ601の判断を行なう。
Referring to FIG. 4, in the memory control device according to the second embodiment of the present invention, first, whether or not a timeout has occurred in any of the refresh timers is determined by the timer comparison unit 234 (step 601). ). If a timeout has occurred, the refresh operation for the memory bank corresponding to the refresh timer in which the timeout has occurred is performed by the memory refresh activation unit 23.
6 (step 605). At this time,
Even if a memory access request is issued from the central processing unit 100, the memory access is prohibited until the memory refresh ends. After the completion of the memory refresh, the corresponding refresh timer is reset (step 606), and the determination in step 601 is performed again.

【0022】ステップ601にてタイムアウトが発生し
ていないと判断したときには、次に中央処理装置100
からメモリアクセス要求が発生しているかを判断し(ス
テップ602)、発生していれば当該メモリアクセスと
同時にタイマ比較部234で、このメモリアクセスに係
るメモリバンクに対応するリフレッシュタイマ以外のリ
フレッシュタイマの中から最も大きい値を示しているリ
フレッシュタイマを特定する(ステップ603)。そし
て、このリフレッシュタイマの値とタイマしきい値格納
部290のしきい値とを比較して(ステップ604)、
リフレッシュタイマの値の方が大きければ、このリフレ
ッシュタイマに対応するメモリバンクをリフレッシュす
るようにメモリリフレッシュ起動部236に伝達する。
このリフレッシュ要求を受けたメモリリフレッシュ起動
部236は、記憶装置300内の該当するメモリバンク
についてリフレッシュ動作を行なう(ステップ60
5)。メモリリフレッシュ終了後は、対応するリフレッ
シュタイマがリセットされ(ステップ606)、再びス
テップ601の判断を行なう。
If it is determined in step 601 that no timeout has occurred, then the central processing unit 100
It is determined whether or not a memory access request has been generated (step 602). If the memory access request has been generated, the timer comparison unit 234 determines whether a refresh timer other than the refresh timer corresponding to the memory bank related to this memory access has occurred at the same time as the memory access. The refresh timer indicating the largest value is specified from among them (step 603). Then, the value of the refresh timer is compared with the threshold value of the timer threshold value storage unit 290 (step 604).
If the value of the refresh timer is larger, the value is transmitted to the memory refresh activation unit 236 so as to refresh the memory bank corresponding to the refresh timer.
Upon receiving the refresh request, the memory refresh activation unit 236 performs a refresh operation on the corresponding memory bank in the storage device 300 (step 60).
5). After the completion of the memory refresh, the corresponding refresh timer is reset (step 606), and the determination in step 601 is performed again.

【0023】上述のように、本願第2の実施例によれ
ば、タイマしきい値格納部290を設けることにより、
本願第1の実施例に比較して、リフレッシュの頻度を低
く抑えて、DRAMの消費電力を抑えることができる。
As described above, according to the second embodiment of the present application, by providing the timer threshold value storage unit 290,
Compared with the first embodiment of the present application, the frequency of refresh can be suppressed lower, and the power consumption of the DRAM can be suppressed.

【0024】[0024]

【発明の効果】以上説明したように、本発明によるメモ
リ制御装置は、中央処理装置からのアクセス中に、アク
セスされていないメモリバンクのDRAMをリフレッシ
ュすることにより、リフレッシュタイムアウトの発生す
る度合いを低く抑えて、リフレッシュ動作と通常のメモ
リアクセスとがなるべく同時期に重ならないようにする
ことができ、また、タイマしきい値を調整することによ
り消費電力を抑えながら本発明の作用効果を奏すること
が可能となる。
As described above, the memory control device according to the present invention reduces the occurrence of the refresh timeout by refreshing the DRAM of the memory bank not accessed during the access from the central processing unit. Thus, the refresh operation and the normal memory access can be prevented from overlapping at the same time as much as possible, and the operation and effect of the present invention can be achieved while suppressing power consumption by adjusting the timer threshold value. It becomes possible.

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

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

【図2】本発明のメモリ制御装置の第1の実施例の動作
を表す流れ図である。
FIG. 2 is a flowchart showing the operation of the first embodiment of the memory control device of the present invention.

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

【図4】本発明のメモリ制御装置の第2の実施例の動作
を表す流れ図である。
FIG. 4 is a flowchart showing the operation of the second embodiment of the memory control device of the present invention.

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

100 中央処理装置 200 メモリ制御装置 210 バンク制御部 221〜22n リフレッシュタイマ 230 メモリリフレッシュ制御部 233,234 タイマ比較部 236 メモリリフレッシュ起動部 290 タイマしきい値格納部 300 記憶装置 311〜31n メモリバンク REFERENCE SIGNS LIST 100 central processing unit 200 memory control device 210 bank control unit 221 to 22n refresh timer 230 memory refresh control unit 233, 234 timer comparison unit 236 memory refresh activation unit 290 timer threshold storage unit 300 storage device 311 to 31n memory bank

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のメモリバンクからなる記憶装置に
対する中央処理装置からのアクセスと前記記憶装置内の
ダイナミックランダムアクセスメモリのリフレッシュ動
作とを調停するメモリ制御装置において、 前記中央処理装置から要求されたメモリアクセスのアド
レスに基づいて前記記憶装置内のいずれのメモリバンク
へのアクセスであるかを特定するバンク制御手段と、 前記記憶装置内の複数のメモリバンクの各々に対応する
ように設けられ、該メモリバンクが直前にリフレッシュ
されてからの経過時間を計数し、限界値に達した時には
タイムアウト信号を発生する複数のリフレッシュタイマ
手段と、 これらリフレッシュタイマ手段の限界値の範囲内におい
てリフレッシュを抑止すべき範囲を規定するタイマしき
い値格納手段と、 前記タイムアウト信号が発生していればそのタイムアウ
ト信号を発生したリフレッシュタイマ手段に対応するメ
モリバンクを選択して、前記タイムアウト信号が発生し
ていなければ前記リフレッシュタイマ手段の内、前記バ
ンク制御手段で特定されたメモリバンクに対応するリフ
レッシュタイマ手段以外で、対応するメモリバンクが最
も以前にリフレッシュされたことを示しているリフレッ
シュタイマ手段の値が前記タイマしきい値格納手段の規
定する範囲外にあるときには当該リフレッシュタイマ手
段に対応するメモリバンクを選択して、リフレッシュを
要求するタイマ比較手段と、 このタイマ比較手段からの要求に応じて前記記憶装置の
該当メモリバンクのダイナミックランダムアクセスメモ
リをリフレッシュするメモリリフレッシュ起動手段とを
有することを特徴とするメモリ制御装置。
1. A storage device comprising a plurality of memory banks.
Access from the central processing unit to the
Refresh operation of dynamic random access memory
A memory control device that arbitrates between operations and an address of a memory access requested by the central processing unit.
Which memory bank in the storage device
Bank control means for specifying whether access to the memory device, and a plurality of memory banks corresponding to each of the plurality of memory banks in the storage device.
The memory bank is refreshed immediately before
Count the elapsed time from when the limit was reached, and when the limit was reached
Multiple refresh timers that generate timeout signals
Means within the limits of these refresh timer means.
Timer that defines the range in which refresh is to be suppressed
Value storage means and the time-out signal if the time-out signal has been generated.
Corresponding to the refresh timer that generated the reset signal.
Select the memory bank and generate the timeout signal.
If not, the refresh timer means
Link corresponding to the memory bank specified by the link control means.
Other than the refresh timer means, the corresponding memory bank
Also indicates that it has been previously refreshed.
The value of the timer is stored in the timer threshold storage means.
If it is out of the specified range,
Select the memory bank corresponding to the row and refresh
Requesting timer comparing means, and the storage device according to the request from the timer comparing means.
Dynamic random access memo of the corresponding memory bank
Memory refresh activation means for refreshing memory
A memory control device comprising:
JP5302482A 1993-12-02 1993-12-02 Memory controller Expired - Lifetime JP2590712B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5302482A JP2590712B2 (en) 1993-12-02 1993-12-02 Memory controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5302482A JP2590712B2 (en) 1993-12-02 1993-12-02 Memory controller

Publications (2)

Publication Number Publication Date
JPH07161184A JPH07161184A (en) 1995-06-23
JP2590712B2 true JP2590712B2 (en) 1997-03-12

Family

ID=17909490

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5302482A Expired - Lifetime JP2590712B2 (en) 1993-12-02 1993-12-02 Memory controller

Country Status (1)

Country Link
JP (1) JP2590712B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004288226A (en) * 2001-03-30 2004-10-14 Internatl Business Mach Corp <Ibm> Dram and dram refresh method
JP2003007054A (en) 2001-06-15 2003-01-10 Sharp Corp Semiconductor memory
JP3815717B2 (en) 2001-06-26 2006-08-30 シャープ株式会社 Semiconductor integrated circuit
US7043599B1 (en) 2002-06-20 2006-05-09 Rambus Inc. Dynamic memory supporting simultaneous refresh and data-access transactions
JP4894306B2 (en) * 2006-03-09 2012-03-14 富士通セミコンダクター株式会社 Semiconductor memory, memory system, and semiconductor memory operating method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5956296A (en) * 1982-09-27 1984-03-31 Fujitsu Ltd Refresh system of dynamic memory
JPH05109269A (en) * 1991-10-14 1993-04-30 Nec Corp Refresh control circuit for dynamic memory

Also Published As

Publication number Publication date
JPH07161184A (en) 1995-06-23

Similar Documents

Publication Publication Date Title
US6028804A (en) Method and apparatus for 1-T SRAM compatible memory
JP6463141B2 (en) Method for tracking activation for a memory row and memory controller therefor
US20080270683A1 (en) Systems and methods for a dram concurrent refresh engine with processor interface
JP4487040B2 (en) Method and apparatus for semiconductor memory refresh using idle memory cycles
US5418920A (en) Refresh control method and system including request and refresh counters and priority arbitration circuitry
US5822265A (en) DRAM controller with background refresh
US6285616B1 (en) Memory refreshing control apparatus comprising a unique refreshing counter
US5583823A (en) Dram refresh circuit
US20020069319A1 (en) Method and apparatus of event-driven based refresh for high performance memory controller
KR100652380B1 (en) Memory device for refreshing using buffer and method thereof
JP2590712B2 (en) Memory controller
CN110556139B (en) Circuit for controlling memory and related method
JP2913099B2 (en) DRAM refresh device
JP2978871B2 (en) Refresh control method
JPH08129883A (en) Refresh control system for d-ram
US20230133458A1 (en) Memory controller, control method for memory controller, and storage medium
JPH0258793A (en) Dram controller
JPH06236683A (en) Memory refresh control circuit
JP2002288035A (en) Access control method and access control circuit
US20050237836A1 (en) Refresh methods for RAM cells featuring high speed access
US20050088894A1 (en) Auto-refresh multiple row activation
JP2005107648A (en) Memory controller
JPS6139298A (en) Control device of dynamic random access memory
JPH0241108B2 (en)
JPH04132078A (en) Memory refresh system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19961022