JPH08147970A - Dram controller - Google Patents

Dram controller

Info

Publication number
JPH08147970A
JPH08147970A JP6286390A JP28639094A JPH08147970A JP H08147970 A JPH08147970 A JP H08147970A JP 6286390 A JP6286390 A JP 6286390A JP 28639094 A JP28639094 A JP 28639094A JP H08147970 A JPH08147970 A JP H08147970A
Authority
JP
Japan
Prior art keywords
row address
refresh
lower limit
dram
register
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.)
Withdrawn
Application number
JP6286390A
Other languages
Japanese (ja)
Inventor
Yutaka Ito
裕 伊藤
Kazumi Yamada
和美 山田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP6286390A priority Critical patent/JPH08147970A/en
Publication of JPH08147970A publication Critical patent/JPH08147970A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE: To minimize the performance lowering in a DRAM controller system caused by refreshment of a DRAM. CONSTITUTION: By access from a CPU 1 to a DRAM controller 8, upper/lower limit values of a row address related to the use area of the DRAM 7 are stored in an upper limit register 9 and a lower limit register 10. A refreshment request signal generation circuit 21 generates a refreshment request signal RR at frequency proportional to the difference between the row address upper/lower limit values calculated by a subtractor 11. A bus arbiter 5 gains the use right of a bus according to the refreshment request signal RR, and generates a refreshment start signal RI. A control signal generation circuit 4 sends a row address strobe signal RAS and a count up signal UP whenever receiving the refreshment start signal RI. A refreshment address renewal circuit 22 provided with a refreshment address counter 3 and a comparator 14 updates a refreshment address between the upper limit value and the lower limit value of the row address in response to the count up signal UP.

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 controller used in a system using a DRAM (dynamic random access memory).

【0002】[0002]

【従来の技術】DRAMは記憶素子としてコンデンサを
用いているため、コンデンサ中の電荷が漏れ電流により
消えてしまう前にリフレッシュを実行して記憶情報を書
き直す必要がある。
2. Description of the Related Art Since a DRAM uses a capacitor as a memory element, it is necessary to perform refresh before rewriting the stored information before the charge in the capacitor is lost by the leakage current.

【0003】図5は、DRAMのリフレッシュ制御を司
る従来のDRAMコントローラの代表的な構成を示すブ
ロック図である。図5において、CPU1とDRAM7
との間に介在したDRAMコントローラ8は、アドレス
マルチプレクサ2と、リフレッシュアドレスカウンタ3
と、制御信号発生回路4と、バスアービタ5と、リフレ
ッシュタイマ6とを備えている。
FIG. 5 is a block diagram showing a typical structure of a conventional DRAM controller that controls the refresh control of the DRAM. In FIG. 5, CPU 1 and DRAM 7
The DRAM controller 8 interposed between the address controller 2 and the refresh address counter 3
A control signal generating circuit 4, a bus arbiter 5, and a refresh timer 6.

【0004】以上のように構成された従来のDRAMコ
ントローラ8のリフレッシュ時の動作を説明する。
The operation at the time of refreshing the conventional DRAM controller 8 configured as above will be described.

【0005】図5のDRAMコントローラ8は、RAS
オンリ・リフレッシュ方式によりDRAM7をリフレッ
シュするものである。リフレッシュタイマ6は、一定周
期ごとにリフレッシュ要求信号RRをバスアービタ5に
対して発生する。リフレッシュ周期が2.048msで
あり、DRAM7が128行の構成であるものとする
と、リフレッシュタイマ6は2.048ms/128=
16μsごとに1回リフレッシュ要求信号RRを発生す
ることになる。
The DRAM controller 8 of FIG.
The DRAM 7 is refreshed by the only refresh method. The refresh timer 6 generates a refresh request signal RR to the bus arbiter 5 at regular intervals. Assuming that the refresh cycle is 2.048 ms and the DRAM 7 has a structure of 128 rows, the refresh timer 6 is 2.048 ms / 128 =
The refresh request signal RR is generated once every 16 μs.

【0006】バスアービタ5は、リフレッシュ要求信号
RRに応じてバスの使用権を獲得するためにCPU1に
対してバス要求信号BRを発生し、CPU1からバス使
用許可信号BGを受け取ると、バス使用中を示すバスア
クノリッジ信号BACKをCPU1に返すと同時にリフ
レッシュ起動信号RIを制御信号発生回路4に送出す
る。
The bus arbiter 5 generates a bus request signal BR to the CPU 1 in order to acquire the right to use the bus in response to the refresh request signal RR and receives the bus use permission signal BG from the CPU 1 to indicate that the bus is in use. At the same time as returning the bus acknowledge signal BACK shown to the CPU 1, the refresh start signal RI is sent to the control signal generating circuit 4.

【0007】制御信号発生回路4は、リフレッシュ起動
信号RIを受け取ると、DRAM7のリフレッシュに必
要な行アドレスストローブ信号RASを発生すると同時
に、アドレスマルチプレクサ2にリフレッシュアドレス
セレクト信号SELを、またリフレッシュアドレスカウ
ンタ3にカウントアップ信号UPを送出する。一方、リ
フレッシュアドレスカウンタ3は、制御信号発生回路4
からのカウントアップ信号UPを受けて、アドレスマル
チプレクサ2にリフレッシュアドレスを送出するととも
にカウント値をインクリメントする。アドレスマルチプ
レクサ2は、制御信号発生回路4からのリフレッシュア
ドレスセレクト信号SELに応じて、CPU1からのア
ドレス(行アドレス)ではなく、リフレッシュアドレス
カウンタ3からのリフレッシュアドレスをDRAM7に
送出する。
Upon receiving the refresh activation signal RI, the control signal generation circuit 4 generates a row address strobe signal RAS necessary for refreshing the DRAM 7, and at the same time, outputs a refresh address select signal SEL to the address multiplexer 2 and a refresh address counter 3 The count-up signal UP is sent to the. On the other hand, the refresh address counter 3 includes a control signal generation circuit 4
In response to the count-up signal UP from, the refresh address is sent to the address multiplexer 2 and the count value is incremented. The address multiplexer 2 sends the refresh address from the refresh address counter 3 to the DRAM 7 instead of the address (row address) from the CPU 1 in response to the refresh address select signal SEL from the control signal generation circuit 4.

【0008】DRAM7が128行の構成であるものと
すると、リフレッシュアドレスカウンタ3に7ビットの
カウンタが採用され、そのカウント値(16進表示)は
7Fの次が00となる。つまり、DRAM7に供給され
るリフレッシュアドレスは、DRAM7の全領域を指定
することとなる。
Assuming that the DRAM 7 has a structure of 128 rows, a 7-bit counter is adopted as the refresh address counter 3, and its count value (hexadecimal display) is 00 after 7F. That is, the refresh address supplied to the DRAM 7 specifies the entire area of the DRAM 7.

【0009】[0009]

【発明が解決しようとする課題】上記のような従来のD
RAMコントローラ8の構成では、DRAM7の全領域
に対してリフレッシュを行うため、実際には使用されて
いない領域までリフレッシュを行うこととなる。つま
り、CPU1から見れば無駄なリフレッシュのためにバ
ス使用権をDRAMコントローラ8に渡すこととなり、
システムの性能が低下するという問題があった。
DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention
In the configuration of the RAM controller 8, the entire area of the DRAM 7 is refreshed, so that the area that is not actually used is refreshed. In other words, the CPU 1 passes the bus use right to the DRAM controller 8 for useless refresh,
There was a problem that the system performance deteriorated.

【0010】本発明の目的は、DRAMのリフレッシュ
に起因したシステムの性能低下を最小限に抑えるDRA
Mコントローラを提供することにある。
It is an object of the present invention to minimize DRA system performance degradation due to DRAM refresh.
To provide an M controller.

【0011】[0011]

【課題を解決するための手段】前記目的を達成するため
に、本発明は、DRAMコントローラがDRAM中の所
要の領域のみをリフレッシュできるようにしたものであ
る。
In order to achieve the above object, the present invention enables a DRAM controller to refresh only a required area in a DRAM.

【0012】具体的に説明すると、請求項1の発明は、
図1〜図4に例示するように、行アドレスの上限値を格
納するための上限レジスタ9と、行アドレスの下限値を
格納するための下限レジスタ10と、上限レジスタ9に
格納された行アドレスの上限値と下限レジスタ10に格
納された行アドレスの下限値との差を算出するための減
算器11と、該減算器11により算出された行アドレス
上下限値の差に応じた頻度でリフレッシュ要求信号RR
を発生するためのリフレッシュ要求信号発生回路21
と、リフレッシュ要求信号RRに応じてDRAM7のリ
フレッシュに必要な行アドレスストローブ信号RASを
発生するための制御信号発生回路4と、リフレッシュ要
求信号RRに応じてかつ上限レジスタ9に格納された行
アドレスの上限値と下限レジスタ10に格納された行ア
ドレスの下限値との範囲内でDRAM7のリフレッシュ
に必要なリフレッシュアドレスを更新するためのリフレ
ッシュアドレス更新回路22とを備えた構成を採用した
ものである。
More specifically, the invention of claim 1 is as follows.
As illustrated in FIGS. 1 to 4, an upper limit register 9 for storing an upper limit value of a row address, a lower limit register 10 for storing a lower limit value of a row address, and a row address stored in the upper limit register 9. Of the row address stored in the lower limit register 10 and the subtracter 11 for calculating the difference between the lower limit value of the row address stored in the lower limit register 10, and refreshing at a frequency according to the difference between the upper and lower limit values of the row address calculated by the subtractor 11. Request signal RR
Refresh request signal generation circuit 21 for generating
A control signal generating circuit 4 for generating a row address strobe signal RAS necessary for refreshing the DRAM 7 in response to the refresh request signal RR; and a row address stored in the upper limit register 9 in response to the refresh request signal RR. The configuration is provided with a refresh address update circuit 22 for updating the refresh address necessary for refreshing the DRAM 7 within the range of the upper limit value and the lower limit value of the row address stored in the lower limit register 10.

【0013】請求項2の発明では、前記リフレッシュ要
求信号発生回路21は、図1及び図3に示すように、ク
ロック信号をカウントしかつリフレッシュ要求信号RR
でクリアされるリフレッシュタイマ6と、該リフレッシ
ュタイマ6のオーバーフロー値を減算器11により算出
された行アドレス上下限値の差で割った商を算出するた
めの除算器12と、リフレッシュタイマ6のカウント値
が除算器12により算出された商に等しくなったときに
リフレッシュ要求信号RRを発生するための比較器13
とを備えることとした。
In the second aspect of the invention, the refresh request signal generating circuit 21 counts clock signals and refresh request signal RR as shown in FIGS.
The refresh timer 6 which is cleared in step 1, the divider 12 for calculating the quotient obtained by dividing the overflow value of the refresh timer 6 by the difference between the row address upper and lower limit values calculated by the subtractor 11, and the count of the refresh timer 6. Comparator 13 for generating a refresh request signal RR when the value equals the quotient calculated by the divider 12.
And decided to prepare.

【0014】請求項3の発明では、前記リフレッシュ要
求信号発生回路21は、図2及び図4に示すように、D
RAM7の全行アドレスの数を減算器11により算出さ
れた行アドレス上下限値の差で割った商を算出するため
の除算器12と、該除算器12により算出された商に応
じた分周比でクロック信号を分周するための分周器15
と、該分周器15により分周されたクロック信号をカウ
ントしかつオーバーフローしたときにリフレッシュ要求
信号RRを発生するためのリフレッシュタイマ6とを備
えることとした。
According to the third aspect of the invention, the refresh request signal generating circuit 21 is provided with D as shown in FIGS.
A divider 12 for calculating a quotient obtained by dividing the number of all row addresses in the RAM 7 by the difference between the row address upper and lower limit values calculated by the subtractor 11, and a frequency division corresponding to the quotient calculated by the divider 12. Divider 15 for dividing the clock signal by the ratio
And a refresh timer 6 for counting the clock signals divided by the frequency divider 15 and generating a refresh request signal RR when overflowing.

【0015】請求項4の発明では、前記リフレッシュア
ドレス更新回路22は、図1〜図4に示すように、リフ
レッシュ要求信号RRの発生ごとにリフレッシュアドレ
スとして用いられるカウント値をインクリメントしかつ
ロード信号LDが与えられたときには下限レジスタ10
に格納された行アドレスの下限値がロードされるリフレ
ッシュアドレスカウンタ3と、該リフレッシュアドレス
カウンタ3のカウント値が上限レジスタ9に格納された
行アドレスの上限値と等しくなったときにロード信号L
Dを発生するための比較器14とを備えることとした。
According to a fourth aspect of the invention, the refresh address updating circuit 22 increments the count value used as a refresh address and generates the load signal LD each time the refresh request signal RR is generated, as shown in FIGS. Is given, the lower limit register 10
The refresh address counter 3 to which the lower limit value of the row address stored in is loaded, and the load signal L when the count value of the refresh address counter 3 becomes equal to the upper limit value of the row address stored in the upper limit register 9.
And a comparator 14 for generating D.

【0016】請求項5の発明では、前記リフレッシュア
ドレス更新回路22は、図1〜図4の構成を変形して、
リフレッシュ要求信号RRの発生ごとにリフレッシュア
ドレスとして用いられるカウント値をデクリメントしか
つロード信号LDが与えられたときには上限レジスタ9
に格納された行アドレスの上限値がロードされるリフレ
ッシュアドレスカウンタ3と、該リフレッシュアドレス
カウンタ3のカウント値が下限レジスタ10に格納され
た行アドレスの下限値と等しくなったときにロード信号
LDを発生するための比較器14とを備えることとし
た。
According to a fifth aspect of the present invention, the refresh address updating circuit 22 is a modification of the configuration shown in FIGS.
Each time the refresh request signal RR is generated, the count value used as the refresh address is decremented, and when the load signal LD is applied, the upper limit register 9
The refresh address counter 3 to which the upper limit value of the row address stored in is loaded, and the load signal LD when the count value of the refresh address counter 3 becomes equal to the lower limit value of the row address stored in the lower limit register 10. And a comparator 14 for generating.

【0017】請求項6の発明では、前記上限レジスタ9
及び下限レジスタ10は、図1及び図2に示すように、
CPU1などの手段によってDRAM7のアクセス開始
前にそれぞれ設定されることとした。
In the invention of claim 6, the upper limit register 9
And the lower limit register 10, as shown in FIG. 1 and FIG.
It is assumed that the settings are made before the access to the DRAM 7 is started by means such as the CPU 1.

【0018】請求項7の発明では、図3及び図4に示す
ように、DRAM7のアクセス中にCPU1などの手段
から与えられた行アドレスに応じて前記上限レジスタ9
及び下限レジスタ10の更新を制御するためのレジスタ
更新制御回路23を更に備えることとした。
According to a seventh aspect of the present invention, as shown in FIGS. 3 and 4, the upper limit register 9 is set in accordance with a row address given by means such as the CPU 1 during access of the DRAM 7.
And a register update control circuit 23 for controlling the update of the lower limit register 10.

【0019】請求項8の発明では、前記レジスタ更新制
御回路23は、図3及び図4に例示するように、DRA
M7をアクセスする行アドレスが与えられたときにDR
AMアクセス信号ACCを発生するためのアドレスデコ
ーダ16と、DRAMアクセス信号ACCの発生時に上
限レジスタ9に格納された行アドレスの上限値と与えら
れた行アドレスとを比較して前記与えられた行アドレス
が前記上限レジスタ9に格納された行アドレスの上限値
より大きいときには上限レジスタ9に前記与えられた行
アドレスをロードするための第1の手段17,19と、
DRAMアクセス信号ACCの発生時に下限レジスタ1
0に格納された行アドレスの下限値と与えられた行アド
レスとを比較して前記与えられた行アドレスが前記下限
レジスタ10に格納された行アドレスの下限値より小さ
いときには下限レジスタ10に前記与えられた行アドレ
スをロードするための第2の手段18,20とを備える
こととした。
In the eighth aspect of the present invention, the register update control circuit 23, as shown in FIGS.
DR when the row address to access M7 is given
The address decoder 16 for generating the AM access signal ACC, and the given row address by comparing the given row address with the upper limit value of the row address stored in the upper limit register 9 when the DRAM access signal ACC is generated. Is greater than the upper limit value of the row address stored in the upper limit register 9, first means 17 and 19 for loading the given row address into the upper limit register 9;
Lower limit register 1 when DRAM access signal ACC is generated
When the given row address is smaller than the lower limit value of the row address stored in the lower limit register 10, the lower limit value of the row address stored in 0 is compared with the given row address. And second means 18, 20 for loading the assigned row address.

【0020】[0020]

【作用】請求項1の発明によれば、DRAM7に供給さ
れるリフレッシュアドレスが上限レジスタ9に格納され
た行アドレスの上限値と下限レジスタ10に格納された
行アドレスの下限値との間の所要領域に制限される。こ
れに呼応して、上限レジスタ9及び下限レジスタ10に
格納された行アドレス上下限値から算出された該上下限
値の差が大きい場合にはリフレッシュ要求信号RR及び
行アドレスストローブ信号RASが高い頻度で発生し、
前記行アドレス上下限値の差が小さい場合には所要のリ
フレッシュ周期のもとでリフレッシュ要求信号RR及び
行アドレスストローブ信号RASが低い頻度で発生す
る。したがって、DRAM7をアクセスしようとするC
PU1から見ればリフレッシュ時におけるバス解放時間
が削減され、システムの性能が向上する。
According to the present invention, the refresh address supplied to the DRAM 7 is required to be between the upper limit value of the row address stored in the upper limit register 9 and the lower limit value of the row address stored in the lower limit register 10. Limited to the area. In response to this, when the difference between the upper and lower limit values calculated from the upper and lower limit values of the row address stored in the upper limit register 9 and the lower limit register 10 is large, the refresh request signal RR and the row address strobe signal RAS are high in frequency. Occurs in
When the difference between the upper and lower limit values of the row address is small, the refresh request signal RR and the row address strobe signal RAS are generated at a low frequency in a required refresh cycle. Therefore, the C trying to access the DRAM 7
From the perspective of PU1, the bus release time at the time of refresh is reduced, and the system performance is improved.

【0021】請求項2及び3の発明によれば、所要のリ
フレッシュ周期を実現しながら、上限レジスタ9及び下
限レジスタ10に格納された行アドレス上下限値から算
出された該上下限値の差に比例した頻度でリフレッシュ
要求信号RRが発生する。
According to the inventions of claims 2 and 3, the difference between the upper and lower limit values calculated from the upper and lower limit values of the row address stored in the upper limit register 9 and the lower limit register 10 is realized while realizing the required refresh cycle. The refresh request signal RR is generated at a proportional frequency.

【0022】請求項4及び5の発明によれば、インクリ
メントカウンタ又はデクリメントカウンタの利用によ
り、上限レジスタ9に格納された行アドレスの上限値と
下限レジスタ10に格納された行アドレスの下限値との
間にリフレッシュアドレスが制限される。
According to the fourth and fifth aspects of the present invention, by using the increment counter or the decrement counter, the upper limit value of the row address stored in the upper limit register 9 and the lower limit value of the row address stored in the lower limit register 10 are set. Refresh addresses are limited in the meantime.

【0023】請求項6の発明によれば、DRAM7のア
クセス開始前に、例えばCPU1からデータバスを通じ
て上限レジスタ9及び下限レジスタ10へ設定値がそれ
ぞれ与えられる。
According to the sixth aspect of the invention, before the access to the DRAM 7 is started, for example, the set values are given from the CPU 1 to the upper limit register 9 and the lower limit register 10 through the data bus.

【0024】請求項7及び8の発明によれば、例えばC
PU1からアドレスバスへ送出されるアドレスを監視す
ることによってDRAM7の使用領域が自動的に認識さ
れ、その認識結果に応じて上限レジスタ9及び下限レジ
スタ10の設定がそれぞれ更新される。
According to the inventions of claims 7 and 8, for example, C
By monitoring the address sent from PU1 to the address bus, the used area of DRAM 7 is automatically recognized, and the settings of upper limit register 9 and lower limit register 10 are updated according to the recognition result.

【0025】[0025]

【実施例】以下、本発明の実施例について、図面を参照
しながら説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0026】(実施例1)図1は、本発明の第1の実施
例のブロック図である。図1において、CPU1とDR
AM7との間に介在したDRAMコントローラ8は、ア
ドレスマルチプレクサ2、リフレッシュアドレスカウン
タ3、制御信号発生回路4、バスアービタ5及びリフレ
ッシュタイマ6に加えて、行アドレス上限値格納レジス
タ(上限レジスタ)9と、行アドレス下限値格納レジス
タ(下限レジスタ)10と、減算器11と、除算器12
と、2個の比較器13,14とを備えている。このう
ち、リフレッシュタイマ6、除算器12及び比較器13
は、減算器11により算出された行アドレス上下限値の
差に応じた頻度でリフレッシュ要求信号RRを発生する
ためのリフレッシュ要求信号発生回路21を構成してい
る。また、リフレッシュアドレスカウンタ3及び比較器
14は、行アドレスの上限値と下限値との間でリフレッ
シュアドレスを更新するためのリフレッシュアドレス更
新回路22を構成している。
(Embodiment 1) FIG. 1 is a block diagram of a first embodiment of the present invention. In FIG. 1, CPU1 and DR
The DRAM controller 8 interposed between the AM 7 and the AM 7, in addition to the address multiplexer 2, the refresh address counter 3, the control signal generation circuit 4, the bus arbiter 5, and the refresh timer 6, a row address upper limit value storage register (upper limit register) 9, Row address lower limit value storage register (lower limit register) 10, subtractor 11, and divider 12
And two comparators 13 and 14. Of these, the refresh timer 6, the divider 12, and the comparator 13
Constitutes a refresh request signal generation circuit 21 for generating a refresh request signal RR at a frequency according to the difference between the row address upper and lower limit values calculated by the subtractor 11. Further, the refresh address counter 3 and the comparator 14 configure a refresh address updating circuit 22 for updating the refresh address between the upper limit value and the lower limit value of the row address.

【0027】以上のように構成された本実施例に係るR
ASオンリ・リフレッシュ方式のDRAMコントローラ
8のリフレッシュ時の動作について説明する。
The R according to the present embodiment configured as described above
The operation of the AS-only refresh type DRAM controller 8 at the time of refresh will be described.

【0028】上限レジスタ9及び下限レジスタ10は、
DRAM7のアクセス開始前に、データバスを通じたC
PU1からDRAMコントローラ8へのアクセスによっ
て、DRAM7の使用領域の行アドレス上限値及び行ア
ドレス下限値をそれぞれ格納する。減算器11は、上限
レジスタ9及び下限レジスタ10に格納された行アドレ
ス上限値と行アドレス下限値との差Dを算出する。
The upper limit register 9 and the lower limit register 10 are
Before starting access to the DRAM 7, C via the data bus
By accessing the DRAM controller 8 from the PU 1, the row address upper limit value and the row address lower limit value of the used area of the DRAM 7 are stored respectively. The subtractor 11 calculates a difference D between the row address upper limit value and the row address lower limit value stored in the upper limit register 9 and the lower limit register 10.

【0029】リフレッシュ要求信号発生回路21におい
て、リフレッシュタイマ6は、クロック信号によりカウ
ントアップし、比較器13からリフレッシュ要求信号R
Rが出力されるとクリアされる。除算器12は、リフレ
ッシュタイマ6のオーバーフロー値を行アドレス上下限
値の差Dで割ったときの商を算出し、該算出した商を比
較器13に送出する。比較器13は、除算器12から与
えられた商とリフレッシュタイマ6のカウント値とが等
しくなったときに、リフレッシュ要求信号RRを発生す
る。リフレッシュ周期が2.048msであり、DRA
M7が128行の構成であるものとすると、前記行アド
レス上下限値の差DがDRAM7の全領域を示す128
ならば、リフレッシュタイマ6は前記従来例(図5参
照)と同様に16μsごとに1回リフレッシュ要求信号
RRを発生する。ところが、例えば行アドレス上下限値
の差Dが64ならば、リフレッシュタイマ6は32μs
ごとに1回だけリフレッシュ要求信号RRを発生するこ
とになり、その発生頻度が半減する。
In the refresh request signal generation circuit 21, the refresh timer 6 counts up by the clock signal, and the refresh request signal R from the comparator 13 is counted.
It is cleared when R is output. The divider 12 calculates the quotient when the overflow value of the refresh timer 6 is divided by the difference D between the row address upper and lower limits, and sends the calculated quotient to the comparator 13. Comparator 13 generates refresh request signal RR when the quotient given from divider 12 and the count value of refresh timer 6 become equal. Refresh cycle is 2.048ms, DRA
Assuming that M7 has a structure of 128 rows, the difference D between the row address upper and lower limit values indicates the entire area of the DRAM 7 128.
Then, the refresh timer 6 generates the refresh request signal RR once every 16 μs, as in the conventional example (see FIG. 5). However, if the difference D between the upper and lower limit values of the row address is 64, the refresh timer 6 is set to 32 μs.
The refresh request signal RR is generated only once every time, and the frequency of occurrence is halved.

【0030】バスアービタ5は、比較器13からのリフ
レッシュ要求信号RRに応じてバスの使用権を獲得する
ためにCPU1に対してバス要求信号BRを発生し、C
PU1からバス使用許可信号BGを受け取ると、バス使
用中を示すバスアクノリッジ信号BACKをCPU1に
返すと同時にリフレッシュ起動信号RIを制御信号発生
回路4に送出する。
The bus arbiter 5 generates a bus request signal BR to the CPU 1 in order to acquire the right to use the bus in response to the refresh request signal RR from the comparator 13, and C
When the bus use permission signal BG is received from PU1, the bus acknowledge signal BACK indicating that the bus is in use is returned to the CPU 1, and at the same time, the refresh start signal RI is sent to the control signal generation circuit 4.

【0031】制御信号発生回路4は、リフレッシュ起動
信号RIを受け取ると、DRAM7のリフレッシュに必
要な行アドレスストローブ信号RASを発生すると同時
に、アドレスマルチプレクサ2にリフレッシュアドレス
セレクト信号SELを、またリフレッシュアドレスカウ
ンタ3にカウントアップ信号UPを送出する。
When the control signal generation circuit 4 receives the refresh activation signal RI, it generates a row address strobe signal RAS necessary for refreshing the DRAM 7, and at the same time, a refresh address select signal SEL to the address multiplexer 2 and a refresh address counter 3 are generated. The count-up signal UP is sent to the.

【0032】一方、リフレッシュアドレス更新回路22
において、リフレッシュアドレスカウンタ3は、制御信
号発生回路4からのカウントアップ信号UPを受けて、
アドレスマルチプレクサ2にDRAM7のリフレッシュ
に必要なリフレッシュアドレスを送出するとともにカウ
ント値をインクリメントする。このリフレッシュアドレ
スカウンタ3のカウント値が前記上限レジスタ9に格納
されている行アドレス上限値と等しくなると、比較器1
4によりロード信号LDが生成され、前記下限レジスタ
10に格納されている行アドレス下限値がリフレッシュ
アドレスカウンタ3にロードされる。
On the other hand, the refresh address updating circuit 22
At, the refresh address counter 3 receives the count-up signal UP from the control signal generation circuit 4,
The refresh address necessary for refreshing the DRAM 7 is sent to the address multiplexer 2 and the count value is incremented. When the count value of the refresh address counter 3 becomes equal to the row address upper limit value stored in the upper limit register 9, the comparator 1
4, the load signal LD is generated, and the row address lower limit value stored in the lower limit register 10 is loaded into the refresh address counter 3.

【0033】アドレスマルチプレクサ2は、制御信号発
生回路4からのリフレッシュアドレスセレクト信号SE
Lに応じて、CPU1からのアドレス(行アドレス)で
はなく、リフレッシュアドレスカウンタ3からのリフレ
ッシュアドレスをDRAM7に送出する。
The address multiplexer 2 receives the refresh address select signal SE from the control signal generating circuit 4.
In response to L, not the address (row address) from the CPU 1 but the refresh address from the refresh address counter 3 is sent to the DRAM 7.

【0034】以上のとおり、本実施例によれば、DRA
M7に供給されるリフレッシュアドレスの範囲がCPU
1からの指定に応じて制限される。これに呼応して、D
RAM7の所要のリフレッシュ周期を実現しながらリフ
レッシュ要求信号RR及び行アドレスストローブ信号R
ASの発生頻度を低減できる。したがって、DRAM7
のリフレッシュに起因したCPU1のバス解放時間が削
減され、システムの性能が向上する。つまり、DRAM
7の指定領域のみをリフレッシュすることができるの
で、無駄なリフレッシュサイクルを削減でき、リフレッ
シュによるシステムの性能低下を最小限に抑えることが
できる。なお、DRAM7の使用領域を拡大又は縮小す
る必要が生じた場合には、その都度DRAM7のアクセ
ス開始前にCPU1が上限レジスタ9及び下限レジスタ
10の設定を変更すればよい。
As described above, according to this embodiment, the DRA
The range of refresh address supplied to M7 is CPU
It is restricted according to the designation from 1. In response to this, D
A refresh request signal RR and a row address strobe signal R while realizing a required refresh cycle of the RAM 7
The occurrence frequency of AS can be reduced. Therefore, the DRAM 7
The bus release time of the CPU 1 due to the refresh is reduced, and the system performance is improved. That is, DRAM
Since only the 7 designated areas can be refreshed, useless refresh cycles can be reduced, and deterioration of system performance due to refresh can be minimized. When it becomes necessary to enlarge or reduce the use area of the DRAM 7, the CPU 1 may change the settings of the upper limit register 9 and the lower limit register 10 before starting access to the DRAM 7 each time.

【0035】(実施例2)図2は、本発明の第2の実施
例のブロック図である。図2の構成は、第1の実施例
(図1参照)中のリフレッシュ要求信号発生回路21の
内部構成のみを変更したものである。図2のリフレッシ
ュ要求信号発生回路21は、リフレッシュタイマ6と、
除算器12と、分周器15とを備えている。
(Embodiment 2) FIG. 2 is a block diagram of a second embodiment of the present invention. The configuration of FIG. 2 is obtained by changing only the internal configuration of the refresh request signal generating circuit 21 in the first embodiment (see FIG. 1). The refresh request signal generation circuit 21 of FIG.
It includes a divider 12 and a frequency divider 15.

【0036】図2のリフレッシュ要求信号発生回路21
において、除算器12は、DRAM7の全行アドレスの
数を行アドレス上下限値の差Dで割ったときの商を算出
し、該算出した商を分周器15に送出する。分周器15
は、除算器12から与えられた商を分周比の逆数として
クロック信号を分周し、該分周したクロック信号をリフ
レッシュタイマ6に送出する。リフレッシュタイマ6
は、分周器15からのクロック信号によりカウントアッ
プし、オーバーフローしたときにリフレッシュ要求信号
RRを発生する。
The refresh request signal generation circuit 21 of FIG.
In, the divider 12 calculates the quotient when the number of all the row addresses of the DRAM 7 is divided by the difference D between the row address upper and lower limits, and sends the calculated quotient to the frequency divider 15. Frequency divider 15
Divides the clock signal by using the quotient given from the divider 12 as the reciprocal of the division ratio, and sends the divided clock signal to the refresh timer 6. Refresh timer 6
Counts up with the clock signal from the frequency divider 15 and generates a refresh request signal RR when it overflows.

【0037】リフレッシュ周期が2.048msであ
り、DRAM7が128行の構成であるものとすると、
前記行アドレス上下限値の差DがDRAM7の全領域を
示す128ならば、分周器15における分周比が1とな
る結果、リフレッシュタイマ6は前記従来例(図5参
照)と同様に16μsごとに1回リフレッシュ要求信号
RRを発生する。ところが、例えば行アドレス上下限値
の差Dが64ならば、分周器15における分周比が1/
2となる結果、リフレッシュタイマ6は32μsごとに
1回だけリフレッシュ要求信号RRを発生することにな
り、その発生頻度が半減する。以上のことから、本実施
例によっても第1の実施例と同等の効果が得られる。
Assuming that the refresh cycle is 2.048 ms and the DRAM 7 has a structure of 128 rows,
If the difference D between the upper and lower limit values of the row address is 128 indicating the entire area of the DRAM 7, the frequency division ratio in the frequency divider 15 becomes 1, so that the refresh timer 6 is 16 μs as in the conventional example (see FIG. 5). The refresh request signal RR is generated once every time. However, if the difference D between the upper and lower limit values of the row address is 64, the frequency division ratio in the frequency divider 15 is 1 /.
As a result, the refresh timer 6 generates the refresh request signal RR only once every 32 μs, and the frequency of occurrence thereof is halved. From the above, according to this embodiment, the same effect as that of the first embodiment can be obtained.

【0038】(実施例3)図3は、本発明の第3の実施
例のブロック図である。図3の構成は、第1の実施例
(図1参照)の構成に上限レジスタ9及び下限レジスタ
10の自動更新のためのレジスタ更新制御回路23を付
加したものである。レジスタ更新制御回路23は、アド
レスデコーダ16と、2個の減算器17,18と、2個
のANDゲート19,20とを備えている。本実施例で
は、CPU1から予めデータバスを通じて上限レジスタ
9及び下限レジスタ10に行アドレス上下限値が与えら
れるのではなく、上限レジスタ9はDRAM7のアクセ
ス中にイネーブル信号EN1が与えられたときにCPU
1からのアドレスを行アドレス上限値として格納し、下
限レジスタ10はDRAM7のアクセス中にイネーブル
信号EN2が与えられたときにCPU1からのアドレス
を行アドレス下限値として格納するようになっている。
(Embodiment 3) FIG. 3 is a block diagram of a third embodiment of the present invention. The configuration of FIG. 3 is obtained by adding a register update control circuit 23 for automatically updating the upper limit register 9 and the lower limit register 10 to the configuration of the first embodiment (see FIG. 1). The register update control circuit 23 includes an address decoder 16, two subtractors 17 and 18, and two AND gates 19 and 20. In this embodiment, the upper limit register 9 and the lower limit register 10 are not given the upper and lower limit values of the row address through the data bus in advance from the CPU 1, but the upper limit register 9 is the CPU when the enable signal EN1 is given during the access of the DRAM 7.
The address from 1 is stored as the row address upper limit value, and the lower limit register 10 stores the address from the CPU 1 as the row address lower limit value when the enable signal EN2 is applied during the access of the DRAM 7.

【0039】レジスタ更新制御回路23において、アド
レスデコーダ16は、DRAM7に割り当てられた範囲
のアドレス(行アドレス)がCPU1から供給された際
にDRAMアクセス信号ACCをアサートする。つま
り、DRAMアクセス信号ACCは、DRAM7に対す
る実際の読み出し又は書き込みのアクセスがあったとき
にアサートされる信号である。減算器17及びANDゲ
ート19は上限レジスタ9の更新制御のために、減算器
18及びANDゲート20は下限レジスタ10の更新制
御のためにそれぞれ設けられている。
In the register update control circuit 23, the address decoder 16 asserts the DRAM access signal ACC when the address (row address) in the range assigned to the DRAM 7 is supplied from the CPU 1. That is, the DRAM access signal ACC is a signal that is asserted when the DRAM 7 is actually accessed for reading or writing. The subtractor 17 and the AND gate 19 are provided for updating control of the upper limit register 9, and the subtracter 18 and the AND gate 20 are provided for controlling update of the lower limit register 10.

【0040】具体的に説明すると、減算器17は、上限
レジスタ9に格納された行アドレス上限値とCPU1か
らのアドレスとを比較し、後者の方が大きいときに上限
値更新要求信号U1をアサートする。ANDゲート19
は、DRAMアクセス信号ACCと上限値更新要求信号
U1とからイネーブル信号EN1を生成する。すなわ
ち、DRAM7に対してCPU1がアクセスしたとき、
該アクセスに係る行アドレスが上限レジスタ9の格納値
よりも大きい場合に、新しい上限値が自動的に上限レジ
スタ9に格納されるようになっている。
More specifically, the subtractor 17 compares the row address upper limit value stored in the upper limit register 9 with the address from the CPU 1, and asserts the upper limit value update request signal U1 when the latter is larger. To do. AND gate 19
Generates an enable signal EN1 from the DRAM access signal ACC and the upper limit value update request signal U1. That is, when the CPU 1 accesses the DRAM 7,
When the row address related to the access is larger than the value stored in the upper limit register 9, the new upper limit value is automatically stored in the upper limit register 9.

【0041】同様に、減算器18は、下限レジスタ10
に格納された行アドレス下限値とCPU1からのアドレ
スとを比較し、後者の方が小さいときに下限値更新要求
信号U2をアサートする。ANDゲート20は、DRA
Mアクセス信号ACCと下限値更新要求信号U2とから
イネーブル信号EN2を生成する。すなわち、DRAM
7に対してCPU1がアクセスしたとき、該アクセスに
係る行アドレスが下限レジスタ10の格納値よりも小さ
い場合に、新しい下限値が自動的に下限レジスタ10に
格納されるようになっている。
Similarly, the subtractor 18 includes a lower limit register 10
The lower limit value of the row address stored in is compared with the address from the CPU 1, and when the latter is smaller, the lower limit value update request signal U2 is asserted. AND gate 20 is DRA
An enable signal EN2 is generated from the M access signal ACC and the lower limit value update request signal U2. That is, DRAM
When the CPU 1 accesses 7, the new lower limit value is automatically stored in the lower limit register 10 when the row address related to the access is smaller than the value stored in the lower limit register 10.

【0042】DRAM7に供給されるリフレッシュアド
レスの範囲が上限レジスタ9及び下限レジスタ10に格
納された行アドレス上下限値に基づいて制限される点
や、リフレッシュ要求信号RR及び行アドレスストロー
ブ信号RASの発生頻度が低減される点は、第1の実施
例(図1参照)と同様である。したがって、本実施例に
よれば、第1の実施例の効果に加えて、DRAM7の使
用領域をDRAMコントローラ8が自動的に認識し、そ
の領域のみをリフレッシュすることができる効果が得ら
れる。つまり、CPU1がDRAM7のリフレッシュア
ドレスの範囲を指定しなくてもよい点で有利である。
The range of the refresh address supplied to the DRAM 7 is limited based on the upper and lower limit values of the row address stored in the upper limit register 9 and the lower limit register 10, and the refresh request signal RR and the row address strobe signal RAS are generated. The frequency is reduced as in the first embodiment (see FIG. 1). Therefore, according to the present embodiment, in addition to the effects of the first embodiment, the DRAM controller 8 automatically recognizes the used area of the DRAM 7 and only that area can be refreshed. That is, it is advantageous that the CPU 1 does not have to specify the range of the refresh address of the DRAM 7.

【0043】(実施例4)図4は、本発明の第4の実施
例のブロック図である。図4の構成は、第2の実施例
(図2参照)の構成に上限レジスタ9及び下限レジスタ
10の自動更新のための第3の実施例(図3参照)と同
様のレジスタ更新制御回路23を付加したものである。
(Embodiment 4) FIG. 4 is a block diagram of a fourth embodiment of the present invention. The configuration of FIG. 4 is similar to that of the third embodiment (see FIG. 3) for automatically updating the upper limit register 9 and the lower limit register 10 in the configuration of the second embodiment (see FIG. 2). Is added.

【0044】本実施例の動作は第2及び第3の実施例の
説明から明らかであるので、その詳細な説明は省略す
る。本実施例によっても、第3の実施例と同等の効果が
得られる。
Since the operation of this embodiment is clear from the description of the second and third embodiments, its detailed description will be omitted. Also in this embodiment, the same effect as that of the third embodiment can be obtained.

【0045】なお、以上の各実施例ではリフレッシュア
ドレスカウンタ3をインクリメントカウンタとしていた
が、これをデクリメントカウンタに変更してもよい。こ
の場合には、制御信号発生回路4は、リフレッシュ起動
信号RIを受け取ると、リフレッシュアドレスカウンタ
3にカウントダウン信号を送出する。そして、リフレッ
シュアドレスカウンタ3のカウント値が下限レジスタ1
0に格納されている行アドレス下限値と等しくなると、
比較器14によりロード信号LDが生成され、上限レジ
スタ9に格納されている行アドレス上限値がリフレッシ
ュアドレスカウンタ3にロードされる。
Although the refresh address counter 3 is an increment counter in each of the above embodiments, it may be replaced with a decrement counter. In this case, when the control signal generation circuit 4 receives the refresh activation signal RI, it sends a countdown signal to the refresh address counter 3. The count value of the refresh address counter 3 is the lower limit register 1
When it becomes equal to the row address lower limit value stored in 0,
The load signal LD is generated by the comparator 14, and the row address upper limit value stored in the upper limit register 9 is loaded into the refresh address counter 3.

【0046】また、上記各実施例はRASオンリ・リフ
レッシュ方式の例であったが、行アドレスストローブ信
号RAS及び列アドレスストローブ信号CASがDRA
M7のリフレッシュに必要である場合に、該RAS,C
AS両信号を制御信号発生回路4が発生するときにも本
発明が適用可能であることはいうまでもない。
Although the above-described embodiments are examples of the RAS only refresh system, the row address strobe signal RAS and the column address strobe signal CAS are DRA.
If it is necessary for refreshing M7, the RAS, C
Needless to say, the present invention can be applied when the control signal generating circuit 4 generates both AS signals.

【0047】[0047]

【発明の効果】以上説明してきたとおり、請求項1〜8
の発明によれば、DRAM中の不使用領域はリフレッシ
ュの必要がない点に鑑みてDRAMの使用領域のみをリ
フレッシュできるようにしたので、DRAMのリフレッ
シュに起因した性能低下を最小限に抑えたシステムを実
現できる。特に、請求項7及び8の発明によれば、DR
AMの使用領域をDRAMコントローラが自動認識する
構成を採用したので、CPUが該領域を指定しなくても
よい点で有利である。
As described above, claims 1 to 8
According to the invention, since the unused area in the DRAM does not need to be refreshed, only the used area of the DRAM can be refreshed. Therefore, a system in which the performance deterioration caused by the refresh of the DRAM is minimized. Can be realized. Particularly, according to the inventions of claims 7 and 8, DR
Since the DRAM controller automatically recognizes the AM use area, it is advantageous in that the CPU does not have to specify the area.

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

【図1】本発明の第1の実施例に係るDRAMコントロ
ーラの構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a DRAM controller according to a first embodiment of the present invention.

【図2】本発明の第2の実施例に係るDRAMコントロ
ーラの構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of a DRAM controller according to a second embodiment of the present invention.

【図3】本発明の第3の実施例に係るDRAMコントロ
ーラの構成を示すブロック図である。
FIG. 3 is a block diagram showing a configuration of a DRAM controller according to a third embodiment of the present invention.

【図4】本発明の第4の実施例に係るDRAMコントロ
ーラの構成を示すブロック図である。
FIG. 4 is a block diagram showing a configuration of a DRAM controller according to a fourth embodiment of the present invention.

【図5】従来のDRAMコントローラの構成を示すブロ
ック図である。
FIG. 5 is a block diagram showing a configuration of a conventional DRAM controller.

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

1 CPU 2 アドレスマルチプレクサ 3 リフレッシュアドレスカウンタ 4 制御信号発生回路 5 バスアービタ 6 リフレッシュタイマ 7 DRAM 8 DRAMコントローラ 9 行アドレス上限値格納レジスタ(上限レジスタ) 10 行アドレス下限値格納レジスタ(下限レジスタ) 11 減算器 12 除算器 13,14 比較器 15 分周器 16 アドレスデコーダ 17,18 減算器 19,20 ANDゲート 21 リフレッシュ要求信号発生回路 22 リフレッシュアドレス更新回路 23 レジスタ更新制御回路 ACC DRAMアクセス信号 BACK バスアクノリッジ信号 BG バス使用許可信号 BR バス要求信号 EN1,EN2 イネーブル信号 LD ロード信号 RAS 行アドレスストローブ信号 RI リフレッシュ起動信号 RR リフレッシュ要求信号 SEL リフレッシュアドレスセレクト信号 UP カウントアップ信号 U1 上限値更新要求信号 U2 下限値更新要求信号 1 CPU 2 Address Multiplexer 3 Refresh Address Counter 4 Control Signal Generation Circuit 5 Bus Arbiter 6 Refresh Timer 7 DRAM 8 DRAM Controller 9 Row Address Upper Limit Value Storage Register (Upper Limit Register) 10 Row Address Lower Limit Value Storage Register (Lower Limit Register) 11 Subtractor 12 Divider 13,14 Comparator 15 Divider 16 Address decoder 17,18 Subtractor 19,20 AND gate 21 Refresh request signal generation circuit 22 Refresh address update circuit 23 Register update control circuit ACC DRAM access signal BACK bus Acknowledge signal BG bus Use enable signal BR bus request signal EN1, EN2 enable signal LD load signal RAS row address strobe signal RI refresh start signal RR refref Gerhard request signal SEL refresh address select signal UP count up signal U1 upper limit value update request signal U2 lower limit value update request signal

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 DRAM中の所要の領域のみをリフレッ
シュするためのDRAMコントローラであって、 行アドレスの上限値を格納するための上限レジスタと、 行アドレスの下限値を格納するための下限レジスタと、 前記上限レジスタに格納された行アドレスの上限値と前
記下限レジスタに格納された行アドレスの下限値との差
を算出するための減算器と、 前記減算器により算出された行アドレス上下限値の差に
応じた頻度でリフレッシュ要求信号を発生するためのリ
フレッシュ要求信号発生回路と、 前記リフレッシュ要求信号に応じて前記DRAMのリフ
レッシュに必要な行アドレスストローブ信号を発生する
ための制御信号発生回路と、 前記リフレッシュ要求信号に応じて、かつ前記上限レジ
スタに格納された行アドレスの上限値と前記下限レジス
タに格納された行アドレスの下限値との範囲内で、前記
DRAMのリフレッシュに必要なリフレッシュアドレス
を更新するためのリフレッシュアドレス更新回路とを備
えたことを特徴とするDRAMコントローラ。
1. A DRAM controller for refreshing only a required area in a DRAM, comprising an upper limit register for storing an upper limit value of a row address and a lower limit register for storing a lower limit value of a row address. A subtracter for calculating a difference between an upper limit value of the row address stored in the upper limit register and a lower limit value of the row address stored in the lower limit register; and a row address upper and lower limit value calculated by the subtractor A refresh request signal generating circuit for generating a refresh request signal at a frequency according to the difference between the two, and a control signal generating circuit for generating a row address strobe signal necessary for refreshing the DRAM in response to the refresh request signal. The upper limit value and the previous value of the row address stored in the upper limit register in response to the refresh request signal, A DRAM controller comprising: a refresh address updating circuit for updating a refresh address necessary for refreshing the DRAM within a range of a lower limit value of a row address stored in the lower limit register.
【請求項2】 請求項1記載のDRAMコントローラに
おいて、 前記リフレッシュ要求信号発生回路は、 クロック信号をカウントし、かつ前記リフレッシュ要求
信号でクリアされるリフレッシュタイマと、 前記リフレッシュタイマのオーバーフロー値を前記減算
器により算出された行アドレス上下限値の差で割った商
を算出するための除算器と、 前記リフレッシュタイマのカウント値が前記除算器によ
り算出された商に等しくなったときに前記リフレッシュ
要求信号を発生するための比較器とを備えたことを特徴
とするDRAMコントローラ。
2. The DRAM controller according to claim 1, wherein the refresh request signal generation circuit counts a clock signal and is cleared by the refresh request signal, and the overflow value of the refresh timer is subtracted from the refresh timer. And a refresh request signal when the count value of the refresh timer is equal to the quotient calculated by the divider. And a comparator for generating the.
【請求項3】 請求項1記載のDRAMコントローラに
おいて、 前記リフレッシュ要求信号発生回路は、 前記DRAMの全行アドレスの数を前記減算器により算
出された行アドレス上下限値の差で割った商を算出する
ための除算器と、 前記除算器により算出された商に応じた分周比でクロッ
ク信号を分周するための分周器と、 前記分周器により分周されたクロック信号をカウント
し、かつオーバーフローしたときに前記リフレッシュ要
求信号を発生するためのリフレッシュタイマとを備えた
ことを特徴とするDRAMコントローラ。
3. The DRAM controller according to claim 1, wherein the refresh request signal generation circuit divides the number of all row addresses of the DRAM by the difference between the row address upper and lower limit values calculated by the subtractor. A divider for calculating, a divider for dividing the clock signal by a dividing ratio according to the quotient calculated by the divider, and counting the clock signal divided by the divider. And a refresh timer for generating the refresh request signal when it overflows.
【請求項4】 請求項1〜3のいずれか1項に記載のD
RAMコントローラにおいて、 前記リフレッシュアドレス更新回路は、 前記リフレッシュ要求信号の発生ごとに前記リフレッシ
ュアドレスとして用いられるカウント値をインクリメン
トし、かつロード信号が与えられたときには前記下限レ
ジスタに格納された行アドレスの下限値がロードされる
リフレッシュアドレスカウンタと、 前記リフレッシュアドレスカウンタのカウント値が前記
上限レジスタに格納された行アドレスの上限値と等しく
なったときに前記ロード信号を発生するための比較器と
を備えたことを特徴とするDRAMコントローラ。
4. D according to any one of claims 1 to 3.
In the RAM controller, the refresh address update circuit increments a count value used as the refresh address each time the refresh request signal is generated, and when a load signal is applied, a lower limit of the row address stored in the lower limit register. A refresh address counter to which a value is loaded; and a comparator for generating the load signal when the count value of the refresh address counter becomes equal to the upper limit value of the row address stored in the upper limit register. A DRAM controller characterized in that.
【請求項5】 請求項1〜3のいずれか1項に記載のD
RAMコントローラにおいて、 前記リフレッシュアドレス更新回路は、 前記リフレッシュ要求信号の発生ごとに前記リフレッシ
ュアドレスとして用いられるカウント値をデクリメント
し、かつロード信号が与えられたときには前記上限レジ
スタに格納された行アドレスの上限値がロードされるリ
フレッシュアドレスカウンタと、 前記リフレッシュアドレスカウンタのカウント値が前記
下限レジスタに格納された行アドレスの下限値と等しく
なったときに前記ロード信号を発生するための比較器と
を備えたことを特徴とするDRAMコントローラ。
5. D according to any one of claims 1 to 3.
In the RAM controller, the refresh address update circuit decrements a count value used as the refresh address each time the refresh request signal is generated, and when a load signal is applied, the upper limit of the row address stored in the upper limit register is given. A refresh address counter to which a value is loaded; and a comparator for generating the load signal when the count value of the refresh address counter becomes equal to the lower limit value of the row address stored in the lower limit register. A DRAM controller characterized in that.
【請求項6】 請求項1〜5のいずれか1項に記載のD
RAMコントローラにおいて、 前記上限レジスタ及び下限レジスタは、前記DRAMの
アクセス開始前にそれぞれ設定されることを特徴とする
DRAMコントローラ。
6. D according to any one of claims 1 to 5.
In the RAM controller, the upper limit register and the lower limit register are respectively set before starting access to the DRAM.
【請求項7】 請求項1〜5のいずれか1項に記載のD
RAMコントローラにおいて、 前記DRAMのアクセス中に与えられた行アドレスに応
じて前記上限レジスタ及び下限レジスタの更新を制御す
るためのレジスタ更新制御回路を更に備えたことを特徴
とするDRAMコントローラ。
7. D according to any one of claims 1 to 5.
The DRAM controller further comprises a register update control circuit for controlling updating of the upper limit register and the lower limit register according to a row address given during access of the DRAM.
【請求項8】 請求項7記載のDRAMコントローラに
おいて、 前記レジスタ更新制御回路は、 前記DRAMをアクセスする行アドレスが与えられたと
きにDRAMアクセス信号を発生するためのアドレスデ
コーダと、 前記DRAMアクセス信号の発生時に前記上限レジスタ
に格納された行アドレスの上限値と与えられた行アドレ
スとを比較し、前記与えられた行アドレスが前記上限レ
ジスタに格納された行アドレスの上限値より大きいとき
には前記上限レジスタに前記与えられた行アドレスをロ
ードするための第1の手段と、 前記DRAMアクセス信号の発生時に前記下限レジスタ
に格納された行アドレスの下限値と与えられた行アドレ
スとを比較し、前記与えられた行アドレスが前記下限レ
ジスタに格納された行アドレスの下限値より小さいとき
には前記下限レジスタに前記与えられた行アドレスをロ
ードするための第2の手段とを備えたことを特徴とする
DRAMコントローラ。
8. The DRAM controller according to claim 7, wherein the register update control circuit includes an address decoder for generating a DRAM access signal when a row address for accessing the DRAM is given, and the DRAM access signal. Is generated, the upper limit value of the row address stored in the upper limit register is compared with the given row address, and when the given row address is larger than the upper limit value of the row address stored in the upper limit register, the upper limit First means for loading the given row address into a register, comparing the lower limit value of the row address stored in the lower limit register with the given row address when the DRAM access signal is generated, and The given row address is lower than the lower limit value of the row address stored in the lower limit register. DRAM controller when again, characterized in that a second means for loading a row address given above to the lower limit register.
JP6286390A 1994-11-21 1994-11-21 Dram controller Withdrawn JPH08147970A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6286390A JPH08147970A (en) 1994-11-21 1994-11-21 Dram controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6286390A JPH08147970A (en) 1994-11-21 1994-11-21 Dram controller

Publications (1)

Publication Number Publication Date
JPH08147970A true JPH08147970A (en) 1996-06-07

Family

ID=17703784

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6286390A Withdrawn JPH08147970A (en) 1994-11-21 1994-11-21 Dram controller

Country Status (1)

Country Link
JP (1) JPH08147970A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6704234B2 (en) 2000-10-20 2004-03-09 Seiko Epson Corporation Semiconductor device, refreshing method thereof, memory system, and electronic instrument
JP2007219998A (en) * 2006-02-20 2007-08-30 Fuji Xerox Co Ltd Storage control device
JP2008524774A (en) * 2004-12-21 2008-07-10 インテル・コーポレーション Method, apparatus and system for active refresh management
JP2009295274A (en) * 2009-09-16 2009-12-17 Renesas Technology Corp Semiconductor device
JP2012221534A (en) * 2011-04-11 2012-11-12 Renesas Electronics Corp Semiconductor storage device and method for refreshing semiconductor storage device
CN112612596A (en) * 2020-12-30 2021-04-06 海光信息技术股份有限公司 Command scheduling method, device, equipment and storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6704234B2 (en) 2000-10-20 2004-03-09 Seiko Epson Corporation Semiconductor device, refreshing method thereof, memory system, and electronic instrument
JP2008524774A (en) * 2004-12-21 2008-07-10 インテル・コーポレーション Method, apparatus and system for active refresh management
US8289797B2 (en) 2004-12-21 2012-10-16 Intel Corporation Method, apparatus, and system for active refresh management
JP2007219998A (en) * 2006-02-20 2007-08-30 Fuji Xerox Co Ltd Storage control device
JP2009295274A (en) * 2009-09-16 2009-12-17 Renesas Technology Corp Semiconductor device
JP2012221534A (en) * 2011-04-11 2012-11-12 Renesas Electronics Corp Semiconductor storage device and method for refreshing semiconductor storage device
CN112612596A (en) * 2020-12-30 2021-04-06 海光信息技术股份有限公司 Command scheduling method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US5761703A (en) Apparatus and method for dynamic memory refresh
KR100918471B1 (en) Semiconductor memory, system, and operating method of semiconductor memory
KR0142795B1 (en) Dram refresh circuit
KR100515072B1 (en) Semiconductor memory device for saving power consumption in refresh operation
JPH08147970A (en) Dram controller
US5890198A (en) Intelligent refresh controller for dynamic memory devices
US6188627B1 (en) Method and system for improving DRAM subsystem performance using burst refresh control
JPH11339469A (en) Semiconductor memory device
US8001591B2 (en) Distributed resource access protection
KR100546678B1 (en) Apparatus and Method for Controlling Refresh Operation of Data Processing System
JPH04143993A (en) Dram controller
TWI740773B (en) Semiconductor memory device
KR930006380B1 (en) Dynamic ram controller and its method
KR0174512B1 (en) Refresh Timing Generation Circuit
KR0183813B1 (en) Dram refresh controller
JPH07114496A (en) Shared memory control circuit
JPS63131397A (en) Refresh control system
KR100186296B1 (en) Self-refresh apparatus determining cycle automatically
JP2664258B2 (en) Method and apparatus for holding data in large-capacity memory using volatile memory
JPH05242670A (en) Dram circuit
JP2795310B2 (en) Memory control device and memory device
JPH05151772A (en) Refresh control circuit
JPH09320264A (en) Refresh control circuit and refresh control system
JPH0227590A (en) Dynamic memory refreshment control device
JPH03242895A (en) Dynamic random access memory

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020205