JPH03104083A - Refresh control system - Google Patents

Refresh control system

Info

Publication number
JPH03104083A
JPH03104083A JP1239926A JP23992689A JPH03104083A JP H03104083 A JPH03104083 A JP H03104083A JP 1239926 A JP1239926 A JP 1239926A JP 23992689 A JP23992689 A JP 23992689A JP H03104083 A JPH03104083 A JP H03104083A
Authority
JP
Japan
Prior art keywords
refresh
request
distributed
refresh control
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1239926A
Other languages
Japanese (ja)
Inventor
Ryuichi Hattori
隆一 服部
Yukihiro Seki
関 行宏
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP1239926A priority Critical patent/JPH03104083A/en
Publication of JPH03104083A publication Critical patent/JPH03104083A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To apply an optimum refresh system corresponding to the presence and absence, etc., of interruption by providing a distributed refresh control part and a concentrated refresh control part and selecting respective refresh requests to be outputted. CONSTITUTION:A distributed refresh request signal 13 and a concentrated refresh request signal 14 are respectively independently outputted by a distributed refresh request part 2 and a concentrated refresh request part 3. A CPU 1 writes the selection information of the refresh system to an I/O register 4 by using an I/O write signal 11 and a refresh system selection part 5 selects one of the two refresh request signals according to a refresh system select signal 15 and outputs a refresh request signal 16. Thus, when a program requires a response at real time, the distributed refresh system is selected and when the hit rate of a high-speed access mode for a dynamic memory is desired to be high, the concentrated refresh system can be selected.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、パーソナルコンピュータや、ワードプロセク
サ等の情報処理装置における,ダイナくックメモリのリ
フレッシュ制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a refresh control method for a dynamic memory in an information processing device such as a personal computer or a word processor.

〔従来の技術〕[Conventional technology]

パーソナルコンピュータやワードプロセッサ等の情報処
理装置では、記憶装置として、集積度、価格等の点から
ダイナミックメモリ(以下DRAMと略記する)が広く
用い゛られている。
2. Description of the Related Art In information processing devices such as personal computers and word processors, dynamic memories (hereinafter abbreviated as DRAMs) are widely used as storage devices due to their integration density, cost, etc.

1)RAMは、紀憶内容の保持のために,メモリセルに
対してリフレッシュ動作を行tx 5必要がある。
1) RAM requires a refresh operation to be performed on memory cells in order to retain memory contents.

素子にもよるが、一般に, 4++a軟に256リフレ
ッシュサイクル、1たは、8mwgに512リフレッシ
ュサイクル等,一定時間内に必要なリフレッシュサイク
ル数の規定がなされている. 第4図に従来のりフレッシ具制御方式の一例を示す. このリフレッシュ制御方式は,第4図に示すように,C
PU 1およびメモリ10に,アクセス要求アービター
6と、リフレクシェカウンタ7と、RAS/己η生成部
8と、マルチプレクサ9とりフレクシ3L要求部26と
を傭えて構或される。
Although it depends on the device, the number of refresh cycles required within a certain period of time is generally specified, such as 256 refresh cycles for 4++a and 512 refresh cycles for 1 or 8 mwg. Figure 4 shows an example of the conventional glue freshening tool control method. This refresh control method, as shown in Figure 4,
The PU 1 and the memory 10 are provided with an access request arbiter 6, a reflex counter 7, a RAS/self η generation section 8, and a multiplexer 9 and flexi 3L request section 26.

メモリのりフレクシ^動作は,次のように行なわれる. リフレクシェ要求部26がリフレッシュ要求信号16を
出力し,リフレクシェカウンタ7は、リフレッシ具アド
レス22を発生する。
The memory glue flex operation is performed as follows. The reflexion request section 26 outputs the refreshment request signal 16, and the reflexion counter 7 generates the refreshment tool address 22.

アクセス要求アービター6は、リフレッシェ要求信号1
6と,CPU1からのメモリ10へのアクセス要求であ
るメモリアクセス要求信号12との優先制御を行た5.
DRAMは、記憶情報をコンデンサの電荷の有無に対応
させたものである.従って、規定時関内にリフレッシェ
動作が行kわれkいと、電荷が放電し記憶情報が損失し
てし1う。そのため、アクセス要求アービター6は,C
PU1のメモリ10へのアクセスとリフレッシュ要求が
同時に発生した場合は、リフレクシS要求信号16を優
先する. リフレッシネ要求が受け付けられると,アクセス要求ア
ービター6は、リフレッシュサイクル信号17とメモリ
サイクル起動信号1Bを出力する。
The access request arbiter 6 receives the refresh request signal 1
6 and the memory access request signal 12 which is an access request from the CPU 1 to the memory 10.5.
In DRAM, stored information corresponds to the presence or absence of charge on a capacitor. Therefore, if the refresh operation is not performed at the specified time, the charges will be discharged and the stored information will be lost. Therefore, the access request arbiter 6
If an access to the memory 10 of the PU 1 and a refresh request occur at the same time, the reflex S request signal 16 is given priority. When the refresh request is accepted, the access request arbiter 6 outputs the refresh cycle signal 17 and the memory cycle activation signal 1B.

?ウアドレスストロープ(以下RASと略す)およびカ
ラムアドレスストロープ(以下CASと略す)生成部8
(以下1行/τ行生戚部と略す)は,メモリサイクル起
動信号18で駆動され、RAS 19aおよびCAS 
19kを生威する。マルチプレクサ9は、リフレッシネ
サイクル信号17によってリフレッシェアドレス22を
メモリアドレス20として出力する。
? Address Strope (hereinafter abbreviated as RAS) and Column Address Stroke (hereinafter abbreviated as CAS) generation unit 8
(hereinafter abbreviated as the 1st row/τ row generation section) is driven by the memory cycle start signal 18, and the RAS 19a and CAS
Generate 19k. Multiplexer 9 outputs refresh share address 22 as memory address 20 in response to refresh cycle signal 17 .

リフレクシェカ終了すると,リフレクシュカウンタ7は
、次のリフレッシュアドレスを示すように、カウントア
クプを行なう。
When the reflex shake is completed, the reflex counter 7 counts up to indicate the next refresh address.

第4図において、リフレッシ晶要求部26は,前記リフ
レクシー規定を満たすようにリフレッシェ要求信号16
を送出するが、その方式には、例えば,4隅紅に256
リフレッシュサイクルを行kう場合、次の2方式がある
. 1つは,256サイクルを,4肩■■■の間に均等に割
り付け、およそ15.6μ蹴(#4琳紅/256 )に
1回ずつリフレッシュサイクルを行なう方式(以下この
方式を分散リフレッシュ方式と呼ぶ)である.他の1つ
は、4asecごとに連続して256サイクルのリフレ
クシュを行々う方式(以下この方式を集中リフレッシュ
方式と呼ぶ)である。一般には,分散リフレクシ一方式
が多く採用されている。f.お、実際のシステムにおい
ては, FURANのロウ/カラムアドレスのマルチプ
レクサおよびアドレスマルチブレクス信号等が存在する
が、ここでは省略する。
In FIG. 4, the refresh crystal requesting section 26 sends a refresh request signal 16 so as to satisfy the reflex regulation.
However, in that method, for example, 256
When performing a refresh cycle, there are the following two methods. One method is to allocate 256 cycles evenly between the four shoulders and perform a refresh cycle once every approximately 15.6 μ kick (#4 Rinko/256) (hereinafter this method will be referred to as the distributed refresh method). ). The other method is a method in which 256 cycles of refresh are performed continuously every 4 asec (hereinafter, this method will be referred to as an intensive refresh method). In general, the distributed reflex type is often used. f. In an actual system, there are a FURAN row/column address multiplexer and an address multiplex signal, but these are omitted here.

第5図に分散リフレッシュ方式のタイミングチャートの
一例を示す. リフレッシェ要求信号16は、15.6μ歓間隔で送出
され,一πフS19aの立ち下がりでメモリアドレス2
0で示サれるメモリセルのリフレッシュが行kわれる.
メモリアドレス20は,1回のリフレッシュサイクル毎
に加算され、4ssecで256回のリフレッシュサイ
クルを終了する. 第6図に集中リフレッシ異方式のタイミングチャートの
一例を示す. リフレッシェ要求信号16は、1回のりフレクシェサイ
クルに必要kサイクルタイムごとに出力され、256回
連続してリフレクシェが行kわれる。
Figure 5 shows an example of a timing chart for the distributed refresh method. The refresh request signal 16 is sent out at intervals of 15.6μ, and is sent to memory address 2 at the falling edge of 1πf S19a.
The memory cells indicated by 0 are refreshed.
Memory address 20 is added every refresh cycle, and 256 refresh cycles are completed in 4 ssec. Figure 6 shows an example of a timing chart for a different intensive refresh method. The refresh request signal 16 is output every k cycle times required for one flexié cycle, and the refresher is performed 256 times in succession.

この方式では,1回のサイクルタイムが約300+ss
ecであるとすると,約768μ旗で256回のリフレ
ッシュを終了し,再び、4諷蹴後に、リフレクシュ要求
信号16が送出され、リフレッシェが開始される・分散
リフレッシェ方式では、CPU 1のメモリアクセスが
リフレッシェと競合した場合でも、1リフレッシェサイ
クルが終了すれば,CPU1は、メモリ10へのアクセ
スができる。
With this method, one cycle time is approximately 300+ss
ec, 256 refreshes are completed at approximately 768μ flags, and after 4 repetitions, refresh request signal 16 is sent and refresh is started.In the distributed refresh method, CPU 1 memory access Even if there is a conflict with the refresh, the CPU 1 can access the memory 10 once one refresh cycle is completed.

集中リフレッシュ方式では、連続した256回のりフレ
ッシエサイクルの後、次のりフレツシ&までおよそ五h
鳶の間、CPU1は、リフレッシュと競合することkく
、メモリ10をアクセスできる。
In the intensive refresh method, after 256 consecutive Nori Freshier cycles, it takes approximately 5 hours until the next Nori Freshener.
During this period, the CPU 1 can access the memory 10 without conflicting with refresh.

fKお、リフレクシェに関する一般的な公知例としては
、特開昭62 − 165790号公報、特開昭60一
265594号公報等が挙げられる. 〔・発明が解決しようとする課題〕 上記従来技術には,それぞれ次のよj tt問題点があ
る。
General known examples of reflexure include JP-A-62-165790, JP-A-60-1265594, and the like. [Problems to be Solved by the Invention] The above-mentioned conventional techniques each have the following problems.

すkわち、分散リフレクシネ方式においては、リフレッ
シェ間隔が15,6μ鱈と短いため、CPU 1のメモ
リ10へのアクセス要求がリフレッシ具要求と競合しゃ
すくkる.これは,例えば第7図に示すようtgDRA
Mのページモード動作など、DRAMを高速アクセスモ
ードで使用した場合に,特に、問題とたる. ページモードは、以下のように動作する.第7図におい
て、データ30は,第4図には示していないが,メモリ
10がシステムのデータバスに出力するデータである. 時刻T1においてメモリアクセス要求信号12が送出さ
れ、最初のアクセスが開始される.tず、iコ1”19
gの立ち下がりでメモリアドレス20の値がロウアドレ
スとして取り込まれ、時ja+rtのCAB19hの立
ち下がりでメモリアドレス20の値がカツムアドレスと
して取り込まれ、時刻TIにおいてデータ50が出力さ
れる。
That is, in the distributed reflexine method, since the refresh interval is as short as 15.6 μm, the CPU 1's access request to the memory 10 tends to compete with the refresh device request. For example, as shown in Figure 7, tgDRA
This is especially a problem when DRAM is used in high-speed access mode, such as page mode operation of M. Page mode works as follows. In FIG. 7, data 30, although not shown in FIG. 4, is data that the memory 10 outputs to the data bus of the system. At time T1, a memory access request signal 12 is sent, and the first access is started. tzu, iko1”19
At the falling edge of g, the value of memory address 20 is taken in as a row address, and at the falling edge of CAB19h at time ja+rt, the value of memory address 20 is taken in as a sum address, and data 50 is output at time TI.

この後,通常動作では,RAS 19@, CAS 1
9kは,共に一度ハイレペルに戻すが、次のメモリアク
セスのロウアドレスが前回のアクセスのロウアドレスと
等しい場合(以下これをベージヒクトと呼ぶ),時刻T
4において示されるように、RAS 19gはローレベ
ルのままで. CAS 19bのみを一度ハイレベ〃に
戻し,もう一度立ち下げ、新しいカラムアドレスのみを
取り込むようにすればよい.ページヒットと?.った場
合、RAS 19gを変化させる必要がないので、アク
セス開始からデータ出力までの時間が短縮される。
After this, in normal operation, RAS 19@, CAS 1
9k both return to the high level once, but if the row address of the next memory access is equal to the row address of the previous access (hereinafter referred to as base hit), the time T
4, RAS 19g remains at low level. All you need to do is to return only CAS 19b to high level and then bring it down again to capture only the new column address. Page hit? .. In this case, there is no need to change the RAS 19g, so the time from access start to data output is shortened.

このように,ページモード動作は、連続アクセスでロウ
アドレスが同一であることが条件であり、1つ前のアク
セスとロウアドレスが異なる場合は,ページモードでは
動作させることはできず、通常の動作となる(これをペ
ージミスヒットと呼ぶ)。
In this way, the condition for page mode operation is that the row address is the same in consecutive accesses, and if the row address is different from the previous access, page mode operation is not possible and normal operation is resumed. (This is called a page miss hit.)

時刻Tsにおいて、ページモード動作の最中にり7レク
シェ要求信号16が送出されると,リフレッシュ動作を
優先して行なう.ところが、このとき、今筐でアクセス
していたロウアドレスとリフレッシュアドレスとは何ら
関係がないので,ページミスヒットと同様に.RAS1
9αおよびCAS 19Aを一旦ハイレペルに戻す必要
がある.その後,時刻T6において−RAS19mが立
ち下がり、リフレッシュのメモリアドレス20が取り込
まれ,り7レッシ島が行なわれる. 時刻T,から次のアクセスが始まる.ここで,時刻T.
において取り込筐れるロウアドレスが時刻T,において
取り込筐れるロウアドレスと等しい場合でも、時刻T●
においてリフレッシュのメモリアドレス20が取り込ま
れているので、ページミスヒクトと九り,時刻raに示
すように,RAS 19gを一度ハイレペルに戻してや
る必要がある、 上記のように、分散リフレクシ具方式では,ベージモー
ド動作等のミスヒットの回数が多< itるという問題
がある。
At time Ts, when the 7 rex request signal 16 is sent during the page mode operation, the refresh operation is performed with priority. However, at this time, there is no relationship between the row address that was currently being accessed in the cabinet and the refresh address, so it is the same as a page miss. RAS1
9α and CAS 19A need to be returned to high level. Thereafter, at time T6, -RAS19m falls, refresh memory address 20 is fetched, and 7 less cycles are performed. The next access starts from time T. Here, time T.
Even if the row address fetched at time T is equal to the row address fetched at time T,
Since memory address 20 for refresh has been taken in, it is necessary to return RAS 19g to the high level once as shown at time ra in case of a page miss.As mentioned above, in the distributed reflex method, There is a problem in that the number of mishits such as page mode operation is high.

kお、ページモードに関連するものとしては,特開昭6
1 − 42793号公報がある.一方、集中リフレッ
シュ方式においては、リフレッシ.のない期間が長いた
め、CPU 1のアクセスとは競合しに<<,ページモ
ード動作等のヒクト率の低下が少tx. < 、性能面
では有利である。
Oh, as for things related to page mode, please refer to Japanese Unexamined Patent Publication No. 6
There is a publication No. 1-42793. On the other hand, in the intensive refresh method, the refresh. Because the period without tx. < , which is advantageous in terms of performance.

しかし、この集中リフレッシ為方式は,リフレッシ島優
先度が高いために、一旦リフレッシ^が始まると、25
6回のリフレッシュが全て終了し紅い限り、CPU1は
メモリアクセスができない●このため・り7′ツシ瓢期
間中にCPU 1へ外s力1ら割込み処理要求かあった
場合、長時間待たされたり、受け付けられkい場合があ
り,システムの応答性が悪くなる。これは、特に、通信
々どの限られた時間内に応答が必’l tx処理におい
て問題となる. 寸た,近年では、ラップト;?ブ型のコンピュータのよ
うに、システムを電池駆動する場合が増えている. ところで、乾電池の放電特性として、連続放電よりも間
欠放電の方が放電持続時間が長くなることが知られてい
る.このような装置で、分散リフレッシネ方式を用いる
と,15.6μ式という短い間隔でリフレッシ島電流が
流れるので、電池は、持続放電状態とたり、集中リフレ
ッシ島方式より電油の消耗が早筐るものと考えられる. このように,従来の方式では、システムの応答性を優先
して分散り7レッシΔ方式を採用すれば、DRAMの高
速アクセスモードのヒット率の低下,および電池によっ
て駆動されるシステムにおける電池の消耗が早く々ると
いう問題がある.一方、集中リフレッシェ方式を採用す
れば、リフレクシー期間中の割込み処理要求が長時間待
たされたり、受け付ゆられなかったりする等の問題があ
った。
However, in this concentrated refresh method, since the refresh island priority is high, once refresh starts, 25
As long as all 6 refreshes have been completed and the color is red, CPU 1 cannot access the memory.For this reason, if an interrupt processing request is made to CPU 1 from external power 1 during the 7' refresh period, it may be forced to wait for a long time. , may not be accepted, and the responsiveness of the system will deteriorate. This is particularly a problem in tx processing where a response is required within a limited time such as communication. In recent years, laptops;? Increasingly, systems are powered by batteries, such as small-sized computers. By the way, it is known that the discharge characteristics of dry batteries are that intermittent discharge has a longer discharge duration than continuous discharge. When such a device uses the distributed refresh island method, the refresh island current flows at short intervals of 15.6μ, so the battery enters a sustained discharge state and the electric oil is consumed more quickly than the concentrated refresh island method. It is considered a thing. In this way, in the conventional method, if the dispersion 7 less delta method is adopted with priority given to system responsiveness, the hit rate in DRAM high-speed access mode decreases, and battery consumption in battery-driven systems is reduced. There is a problem that the problem occurs quickly. On the other hand, if the centralized refresh method is adopted, there are problems such as interrupt processing requests during the refresh period having to wait for a long time or not being accepted.

本発明の目的は,走行するプログラムの割込みの有無等
に応じて最適なりフレクシェ方式を適用することができ
るリフレッシェ制御方式を提供することにある. 本発明の他の目的は、電池およびバクテリー等によって
駆動されるシステムにおいて、電池の消耗をより少なく
するリフレッシュ制御方式を提供することにある. 本発明のさらに他の目的は,DRAMをページモード動
作等の高速アクセスモードで動作させた際に、ミスヒッ
トの生じる回数をより少なくするリフレッシュ制御方式
を提供することにある。
An object of the present invention is to provide a refresh control method that can apply an optimal flexié method depending on the presence or absence of an interrupt in a running program. Another object of the present invention is to provide a refresh control method that reduces battery consumption in a system driven by batteries, bacteria, etc. Still another object of the present invention is to provide a refresh control method that reduces the number of misses when a DRAM is operated in a high-speed access mode such as page mode operation.

〔lI@を解決するための手段〕[Means to solve lI@]

本発明は、上記目的を違或するために、リフレクシエ喪
求部として分散リフレクシ&要求部と集中リフレツシネ
要求部との2つを設け、さらにリフレッシュ方式の選択
手段を設け.リフレッシェ方式を,分散方式または集中
方式のいずれかを選択できるようにしたものである. 上記選択は,例えば、CPU等が検出したアプリケーシ
ョンプログラムの走行状態等をI/Qレジスタ等の情報
保持手段に書き込み,書き込筐れた情報に基づいてリフ
レクシ一方式選択手段が分散リフレッシェ方式または集
中リフレッシェ方式のいずれかを選択することにより行
なうことができる。
In order to achieve the above object, the present invention provides two reflexion requesting sections, a distributed reflexion & requesting section and a centralized reflexion requesting section, and further includes refresh method selection means. This refresh method allows you to select either a distributed method or a centralized method. The above selection can be made, for example, by writing the running status of the application program detected by the CPU, etc., into information holding means such as an I/Q register, and based on the written information, the reflex one-way selection means can be set to a distributed refresh method or a centralized refresh method. This can be done by selecting one of the refresh methods.

また,本発明は,割込み処理ねと応答性を要求される外
部装置接続の検出手段を設け、その有無を検出し、リフ
レッシa方式選択手段が分散リフレッシ島方式または集
中リフレッシェ方式のいずれかを選択し,リフレッシ1
を行なう構或とすることができる. さらに,本発明は,駆動電源の種類を検出する手段を設
け、電源の種類によって、リフレクシ3方式選択手段が
、分散リフレッシェ方式または集中リフレッシ島方式の
いずれかを選択し、リフレッシ島を行たう構或とするこ
とができる。
Further, the present invention provides a means for detecting connection of an external device that requires interrupt processing and responsiveness, detects the presence or absence of the connection, and a refresher method selection means selects either the distributed refresh island method or the centralized refresher method. Refresh 1
It is possible to plan to do this. Furthermore, the present invention provides means for detecting the type of drive power source, and the reflex three method selection means selects either the distributed refresh method or the concentrated refresh island method depending on the type of power source, and performs the refresh island. It can be configured as follows.

さらに、本発明は、外部接続装置からの割込み要求を検
出する手段を設け、その有無を検出し、リフレノシ島方
式選択手段が分散リフレッシェ方式または集中リフレク
シェ方式のいずれかを選択し、リフレクシェを行なう構
成とすることもできる. 〔作 用〕 分散リフレクシ&要求部と集中リフレッシュ要求部は,
それぞれ独立に分散リフレッシェ要求と集中リフレッシ
ュ要求を送出する。CPUは劃込みの有無等、アブリケ
ーシ璽ンプログラムの走行状態を検出する.リフレッシ
ェ方式選択手段は、プログラムがリアルタイム応答性を
必要とする時には分散リフレクシa要求部からのりフレ
ッシJL1!求を選択し. DRAMの高速アクセスモ
ードのヒット率を高めたい時には,集中リフレッシュ要
求部からのりフレシシェ要求を選択する。
Furthermore, the present invention provides a configuration in which a means for detecting an interrupt request from an externally connected device is provided, the presence or absence of the interrupt request is provided, and the refresh island method selection means selects either the distributed refresh method or the centralized refresh method to perform refresh. It is also possible to do this. [Operation] The distributed reflex & request section and the centralized refresh request section are
A distributed refresh request and a centralized refresh request are sent independently. The CPU detects the running status of the application program, such as whether or not it is jammed. When the program requires real-time responsiveness, the refresh method selection means selects the refresh method JL1! from the distributed reflexia requesting section. Select your request. When it is desired to increase the hit rate of the DRAM high-speed access mode, a refresher request is selected from the intensive refresh request section.

選択方法としては、CPUがI/Oレジスタなどに書き
込んだ情報に基づいて切り換える。あるいは,割込み信
号を出力する外部接続装置の有無、外部接続装置からの
割込み信号の有無、電源の種類等を、装置検出部、電源
検出部等で検出し,その情報に基づいて切り換えてもよ
い。
The selection method is to switch based on information written by the CPU to an I/O register or the like. Alternatively, the presence or absence of an externally connected device that outputs an interrupt signal, the presence or absence of an interrupt signal from the externally connected device, the type of power supply, etc. may be detected by a device detection section, a power supply detection section, etc., and switching may be performed based on that information. .

〔実施例〕〔Example〕

以下、本発明の一実施例について、図面を参照して説明
する。たお,各実施例において,同一構或要素について
は、同一の符号を付することとして、重複した説明を省
略する。
An embodiment of the present invention will be described below with reference to the drawings. In addition, in each embodiment, the same structures or elements are denoted by the same reference numerals, and redundant explanation will be omitted.

第1図に示す実施例は,CPU1およびメモリ10に,
前記従来のものと同様に、アクセス要氷アービター6と
、リフレッシュカウンタ7と、RASl cis生戒部
8と、マルチプレクサ9とを備え,さらに、本実施例の
特徴部分として,分散リフレッシー要求部2と,集中リ
フレッシー要求部5と. I/Oレジスタ4と、リフレ
ッシェ方式選択部5とを備えて構成される。
The embodiment shown in FIG. 1 has a CPU 1 and a memory 10.
Similar to the conventional system, the present embodiment includes an access ice arbiter 6, a refresh counter 7, a RASl cis raw command section 8, and a multiplexer 9. Furthermore, as a characteristic part of this embodiment, a distributed refresh request section 2 and a refresh counter 7 are provided. , the centralized refresh request unit 5 and . It is configured to include an I/O register 4 and a refresh method selection section 5.

なお、第1図において,11はI/O書込み信号、13
は分散リフレッシ具要求信号,14は集中リフレッシェ
袂氷信号、15はリフレッシェ方式選択信号である。
In addition, in FIG. 1, 11 is an I/O write signal, and 13 is an I/O write signal.
14 is a distributed refresher request signal, 14 is a concentrated refresher signal, and 15 is a refresher method selection signal.

本図における分散リフレッシュ費求部2および集中リフ
レクシ&要求部3は,第4図ではりフレッシ&要求部2
6に幻応する。1た、本図におげろ分散リフレッシュI
IX信号13および集中リフレッシュ要求信号14は,
第4図ではリフレッシュ要求信号16に則応している. 第1図において、分散リフレッシ具要求部2と集中リフ
レクシ&要求部3は、独立にそれぞれ分散りフレッシ&
要求信号15および集中リフレッシェ要求信号14を出
力する.CPU1は, I/Q書込み信号11を用いて
I/Oレジスタ4へ、リフレッシェ方式の選択情報を書
き込む。リフレッシΔ方式選択部5は,リフレプシェ方
式選択信号15によって上記2つのりフレクシェ要求信
号の一方を選択し、リフレクシ&要求信号16として出
力する。
The distributed refresh cost requesting unit 2 and the centralized reflex & requesting unit 3 in this figure are the same as the distributed refresh & requesting unit 2 in FIG.
6. 1. Distributed refresh I in this figure
The IX signal 13 and the intensive refresh request signal 14 are
In FIG. 4, it corresponds to the refresh request signal 16. In FIG. 1, a distributed refresher requesting unit 2 and a centralized reflex & requesting unit 3 each independently provide a distributed refresher &
A request signal 15 and an intensive refresh request signal 14 are output. The CPU 1 writes the refresh method selection information to the I/O register 4 using the I/Q write signal 11. The refresh Δ method selection section 5 selects one of the two refresher request signals based on the refresher method selection signal 15 and outputs it as a reflex & request signal 16 .

他の動作は、第4図と回しであるので、重複する脱明を
嘆略する. なお,I/Qレジスタへの書込みは,外部割込みの有無
などに応じて,アブリヶーシ冒ンプログラムまたはオペ
レーティングシステムが行txクてもよいし、ユーザが
書き込んでもよい。
The other movements are the same as in Figure 4, so the redundant explanation will be omitted. It should be noted that writing to the I/Q register may be done by an interrupt program or the operating system, or by the user, depending on the presence or absence of an external interrupt.

第2図に本発明の他の実施例の構成を示す@本実施例は
、前記第1図に示す実施例におげるI/Oレジスタ4を
有したい代りに、装置検出部26および通信制御部23
を有し、他の構戒は、第1図に示すものと同じである。
FIG. 2 shows the configuration of another embodiment of the present invention. In this embodiment, instead of having the I/O register 4 in the embodiment shown in FIG. Control unit 23
The other precepts are the same as those shown in Figure 1.

通信制御部23は、外部接続装置から割込み要求を受げ
付げると、CPU1へ割込み要求信号24を送出する。
When the communication control unit 23 receives an interrupt request from an external connection device, it sends an interrupt request signal 24 to the CPU 1.

装置検出部26は,装置検出信号25を用いて割込み等
を生じる外部装置の接続の有無を検出し、リフレクシ一
方式選択信号15を制御する。
The device detection unit 26 uses the device detection signal 25 to detect the presence or absence of connection of an external device that causes an interrupt or the like, and controls the reflex one-way selection signal 15.

第3図に本発明のさらに他の実施例の構成を示す・ 本実施例は,前記第1図に示す実施例におげる1/Qレ
ジスタを有しない代りに,電源検出部28および乾電池
27を有し,他の構威は,第1図に示すものと同じであ
る. 電源検出部28は,電源検出信号29を用いて、システ
ムの電源が乾電池27であるかどうかを検出し、リフレ
ッシa方式選択信号15を制御する.次に,前記各実施
例の作用について,まとめて説明する. 第8図および第9図に,前記2つのりフレッシ瓢要求信
号の切換え動作のタイミングチャートの一例を示す.第
8図では集中リフレッシュ方式から分散リフレクシェ方
式への切換え動作を示す。
FIG. 3 shows the configuration of still another embodiment of the present invention.In this embodiment, instead of having the 1/Q register in the embodiment shown in FIG. 27, and the other structure is the same as that shown in Figure 1. The power source detection unit 28 uses the power source detection signal 29 to detect whether the system power source is the dry cell battery 27 and controls the refresher a method selection signal 15. Next, the effects of each of the above embodiments will be explained collectively. Figures 8 and 9 show an example of a timing chart of the switching operation of the two fresh gourd request signals. FIG. 8 shows the switching operation from the centralized refresh method to the distributed refresh method.

リフレッシュ方式の切換えは,前記DRAMのりフレタ
シェ規定を満たすよう,以下のように行なわれる. 第8図において,リフレッシェ要求信号16として集中
リフレッシュ要求信号14が選択されている時刻rto
において,リフレッシ瓢方式選択信号15がローレベル
からハイレペルに切り換わると、リフレッシェ方式選択
部5は、集中リフレッシェ要求信号14に代えて、分散
リフレクシェ要求信号13をリフレッシェ要求信号16
として選択する。
The switching of the refresh method is performed as follows to satisfy the above-mentioned DRAM retaché regulations. In FIG. 8, the time rto when the intensive refresh request signal 14 is selected as the refresh request signal 16 is
When the refresh method selection signal 15 switches from low level to high level, the refresh method selection unit 5 changes the distributed refresh request signal 13 to the refresh request signal 16 instead of the concentrated refresh request signal 14.
Select as.

このとき,前回の集中り7レッシェ要求信号14の送出
終了時刻T,から時刻T.。までの間隔が1&6μ麿を
超えていると、分散リフレッシェ方式に切り換わった後
で前記DRAMのリフレッシュ規定を満たさr1いメモ
リセルが生じる。こ。タメ、IJ 7レッシ.方式選択
部5は、時刻Tl1から始まる集中リフレッシュ要求信
号14をリフレッ,/ユ要求信号16として出力した直
後に、時mr,,において,分散リフレッシュ要求信号
15をリフレッシュ要求信号16として出力するよう切
換え動作を行た5. 第9図では、分散リフレプシュ方式から集中リフレッシ
シ方式への切換え動作を示す。
At this time, time T. . If the interval exceeds 1&6 μm, there will be memory cells that do not satisfy the DRAM refresh regulation after switching to the distributed refresh method. child. Tame, IJ 7lessi. Immediately after outputting the intensive refresh request signal 14 starting from time Tl1 as the refresh request signal 16, the method selection unit 5 switches to output the distributed refresh request signal 15 as the refresh request signal 16 at time mr, . Performed the action 5. FIG. 9 shows the switching operation from the distributed refresh method to the centralized refresh method.

リフレクシ&要求信号16として分散リフレッシェ要求
信号13が選択されている時刻714において,リフレ
ッシ島方式選択信号15がハイレベルからローレベルへ
切り換わると、分散リフレッシ3−要求信号13に代え
て集中リフレッシェ要求信号14をリフレッシェ要求信
号16として選択する。
At time 714 when the distributed refresh request signal 13 is selected as the reflex & request signal 16, when the refresh island method selection signal 15 switches from high level to low level, the centralized refresh request signal 13 replaces the distributed refresh 3-request signal 13. Signal 14 is selected as refresh request signal 16.

このとき,前回の分散リフレッシ島要求送出時刻7’t
sからT14以降、最初に集中リフレッシェ要求信号1
4の送出される時刻rtaまでの間隔が、15.6μ式
を超えていると、集中リフレッシュ方式に切り換わった
後で、前記DRAMのりフレクシエ規定を満たさtgい
メモリセルが生じる。このためリフレクシエ方式選択部
5は、時刻7’l4以降最初に集中リフレッシュ要求信
号14の送出される直前の時刻Tlaまで分散リフレッ
シュ要求信号13をリフレッシュ要求信号16として出
力し、時刻T,●において集中リフレクシェ要求信号1
4をリフレクシー要求信号16として出力するよう、切
換え動作を行なう。
At this time, the previous distributed refresh island request sending time 7't
From s to T14 onwards, the intensive refresh request signal 1 is first
If the interval up to the time rta when 4 is sent out exceeds 15.6μ, after switching to the intensive refresh method, there will be memory cells that do not meet the DRAM Flexier specification. Therefore, the reflexion method selection unit 5 outputs the distributed refresh request signal 13 as the refresh request signal 16 from time 7'l4 until time Tla immediately before the first concentrated refresh request signal 14 is sent, and then outputs the distributed refresh request signal 13 as the refresh request signal 16 at time T, Reflex request signal 1
4 is output as the reflex request signal 16.

前記第1図、第2図および第3図に示す咎実施例におげ
るCPU 1に代えて,DMAC (ダイレクト・メモ
リ・アクセス・コントローラ)など,他のバスマスタを
用いてもよい.また、分散リフレッシェ要求部2,集中
リフレクシ瓢要求部3を含んだ複数のリフレッシュ要求
部を設げ,リフレッシュ方式選択部5が複数のリフレッ
シュ要求部の送出する複数のリフレッシS要求から1つ
を選択する構成としてもよい。
Instead of the CPU 1 in the embodiments shown in FIGS. 1, 2, and 3, other bus masters such as a DMAC (direct memory access controller) may be used. Furthermore, a plurality of refresh request sections including a distributed refresh request section 2 and a centralized reflex request section 3 are provided, and a refresh method selection section 5 selects one from a plurality of refresh S requests sent by the plurality of refresh request sections. It is also possible to have a configuration in which

さらに,第1図に示す実施例におげるI/Oレジスタ4
へのリフレッシ,方式の選択情報の書込みは,cpv1
が割込み要求を発生しない外部接続機器に対し,ポーリ
ングを行々クた結果に基づいて行なってもよいし、キー
ボード入力ヲ監視して一定時間経過しても入力のない場
合等に行なってもよい. 第2図に示す実施例においては、通信制御部25は、応
答性が要求されることが本質であるので,割込み要求信
号24の有無に依存するものではなく、ポーリング制御
方式によるものとしてもよい。1た、通信制御部23は
、ディスク制御部等、CPU 1が応答性を必要とされ
る他のものであってもよい。
Furthermore, the I/O register 4 in the embodiment shown in FIG.
Writing refresh and method selection information to cpv1
This can be done based on the results of repeated polling of externally connected devices that do not generate interrupt requests, or it can be done if keyboard input is monitored and there is no input after a certain period of time. .. In the embodiment shown in FIG. 2, since the communication control unit 25 is essentially required to be responsive, it does not depend on the presence or absence of the interrupt request signal 24, and may be based on a polling control method. . Furthermore, the communication control unit 23 may be another unit such as a disk control unit that requires responsiveness of the CPU 1.

また,装置検出部26は、外部接続装置からの割込み要
求の有無を検出し、リフレクシェ方式選択信号15を制
御する構或としてもよい。
Further, the device detection section 26 may be configured to detect the presence or absence of an interrupt request from an externally connected device and control the reflexion method selection signal 15.

第3図に示す実施例においては,電源検出部28は,A
C電源以外の有限な寿命を持つ電源を検出することが本
質であり、乾電池27のみを検出するものではなく、バ
クテリー等の充電電池、あるいは,電池の消耗度等を検
出するものとしてもよい.?らに、本発明は、前述した
各実施例およびそれらの変形例を適宜組合せてもよい。
In the embodiment shown in FIG.
The essence is to detect a power source with a finite lifespan other than the C power source, and it is not only possible to detect the dry battery 27, but also to detect a rechargeable battery such as a battery, or the degree of battery consumption. ? Furthermore, the present invention may be combined as appropriate with each of the above-described embodiments and their modifications.

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

本発明によれば,I)RAMのりフレクシュにおいて、
複数のりフレクシェ制御方式を選択できるので、性能,
応答性、電源等に応じて,最適なリフレッシュ制御方式
を可能とする。
According to the present invention, I) in the RAM glue flexi,
Multiple glue flexure control methods can be selected to improve performance,
This enables an optimal refresh control method depending on responsiveness, power supply, etc.

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

第1図は本発明の一実施例を示すブロック図、第2図は
本発明の他の実施例を示すブロック図、第3図は本発明
のさらに他の実施例を示すブロック図、第4図は従来の
技術を示すブロック図、第5図は分散リフレッシュ方式
の動作の一例を示すタイミングチャート,第6図は集中
リフレクシュ方式の動作の一例を示すタイミングチャー
ト,第7図はDRAMのベージモード動作の一例を示す
タイミングチャート、第8図は集中リフレッシュ方式か
ら分散リフレッシ5方式への切換え動作の一例を示すタ
イ■ングチャート、第9図は集中リフレッシュ方式から
分散リフレッシ島方式への切換え動作の一例を示すタイ
ミングチャートである。 1 ・・・・・・・・・・・・ CPU2・・・・・・
・・・・・・分散リフレッシェ要求部3・・・・・・・
・・・・・集中リフレッシュ要求部4・・・・・・・・
・・・・I/Oレジスタ5・・・・・・・・・・・・リ
フレッシェ方式選択部7・・・・・・・・・・・・リフ
レッシェカウンタ8・・・・・・・・・・・・RAS/
乙汀生或部10・・・・・・・・・メモリ 11・・・・・・・・・I/O書込み信号13・・・・
・・・・・分散リフレクシェ要求信号14・・・・・・
・・・集中リフレッシ3.要求信号15・・・・・・・
・・リフレッシ1方式選択信号16・・・・・・・・・
リフレッシュ要求信号23・・・・・・・・・通信制御
部 24・・・・・・・・・割込み要求信号25・・・・・
・・・・装置検出信号 26・・・・・・・・・装置検
出部27・・・・・・・・・乾電池    28・・・
・・・・・・電源検出部29・・・・・・・・・電源検
出信号
FIG. 1 is a block diagram showing one embodiment of the invention, FIG. 2 is a block diagram showing another embodiment of the invention, FIG. 3 is a block diagram showing still another embodiment of the invention, and FIG. 4 is a block diagram showing another embodiment of the invention. Figure 5 is a block diagram showing the conventional technology, Figure 5 is a timing chart showing an example of the operation of the distributed refresh method, Figure 6 is a timing chart showing an example of the operation of the centralized refresh method, and Figure 7 is a page diagram of the DRAM. Timing chart showing an example of mode operation. Figure 8 is a timing chart showing an example of switching operation from centralized refresh method to distributed refresh 5 method. Figure 9 is a timing chart showing an example of switching operation from centralized refresh method to distributed refresh island method. 3 is a timing chart illustrating an example. 1 ・・・・・・・・・・・・ CPU2・・・・・・
...Distributed refresh request section 3...
...Intensive refresh request section 4...
...I/O register 5 ...... Refresh method selection section 7 ...... Refresh counter 8 ...... ...RAS/
Part 10...Memory 11...I/O write signal 13...
...Distributed reflexion request signal 14...
...Intensive refreshment 3. Request signal 15...
...Refresh 1 method selection signal 16...
Refresh request signal 23...Communication control unit 24...Interrupt request signal 25...
...Device detection signal 26...Device detection section 27...Dry battery 28...
...Power detection section 29...Power detection signal

Claims (1)

【特許請求の範囲】 1、CPU(中央処理装置)と、定められた時間t内に
n個のアドレスに対してリフレッシが必要なダイナミッ
クRAMを使用したメモリを有する情報処理装置におけ
るリフレッシュ制御方式において、概ね時間t/nに1
回前記メモリに対しリフレッシュ要求を送出する分散リ
フレッシュ制御部と、時間tごとにn回連続してリフレ
ッシュ要求を送出する集中リフレッシ制御部と、前記分
散リフレッシュ制御部と前記集中リフレッシュ制御部か
ら出力されたそれぞれのリフレッシュ要求の選択手段と
を備えたことを特徴とするリフレッシュ制御方式。 2、前記CPUがI/O書込み信号を用いて設定値を書
き込むI/Oレジスタを備え、かつ、前記リフレッシュ
要求の選択手段は、該I/Oレジスタの設定値によって
制御されることを特徴とする請求項、記載のリフレッシ
ュ制御方式。 3、外部接続装置の有無を検出する外部接続装置検出部
を備え、かつ、前記リフレッシュ要求の選択手段は、該
外部接続装置検出部が検出した外部装置接続の有無によ
りて制御されることを特徴とする請求項1記載のリフレ
ッシュ制御方式。 4、システムの電源の種類を検出する電源検出部を備え
、かつ、システムの電源の前記リフレッシュ要求の選択
手段は、該電源検出部が検出した電源の種類によりて制
御されることを特徴とする請求項、記載のリフレッシュ
制御方式。 5、外部からの割込み要求を検出する手段を備え、かつ
、前記リフレッシュ要求の選択手段は、該割込み要求検
出手段が外部接続装置からの割込み要求の有無を検出し
た結果に基づいて制御されることを特徴とする請求項1
記載のリフレッシュ制御方式。
[Claims] 1. In a refresh control method in an information processing device having a CPU (central processing unit) and a memory using a dynamic RAM that requires refreshing of n addresses within a predetermined time t. , approximately 1 at time t/n
a distributed refresh control unit that sends a refresh request to the memory once every time t; a centralized refresh control unit that sends out a refresh request consecutively n times every time t; and an output from the distributed refresh control unit and the centralized refresh control unit and means for selecting each refresh request. 2. The CPU includes an I/O register in which a set value is written using an I/O write signal, and the refresh request selection means is controlled by the set value of the I/O register. A refresh control method as described in the claims. 3. It is characterized by comprising an externally connected device detection unit that detects the presence or absence of an externally connected device, and the refresh request selection means is controlled depending on the presence or absence of external device connection detected by the externally connected device detecting unit. 2. The refresh control method according to claim 1. 4. A power supply detection unit that detects the type of power supply of the system, and the refresh request selection means for the system power supply is controlled according to the type of power supply detected by the power supply detection unit. A refresh control method as described in the claims. 5. The device comprises means for detecting an interrupt request from the outside, and the refresh request selection means is controlled based on the result of the interrupt request detecting means detecting the presence or absence of an interrupt request from an externally connected device. Claim 1 characterized by
The refresh control method described.
JP1239926A 1989-09-18 1989-09-18 Refresh control system Pending JPH03104083A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1239926A JPH03104083A (en) 1989-09-18 1989-09-18 Refresh control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1239926A JPH03104083A (en) 1989-09-18 1989-09-18 Refresh control system

Publications (1)

Publication Number Publication Date
JPH03104083A true JPH03104083A (en) 1991-05-01

Family

ID=17051898

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1239926A Pending JPH03104083A (en) 1989-09-18 1989-09-18 Refresh control system

Country Status (1)

Country Link
JP (1) JPH03104083A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004171660A (en) * 2002-11-19 2004-06-17 Sony Corp Information storage device, information storage method, and information storage program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004171660A (en) * 2002-11-19 2004-06-17 Sony Corp Information storage device, information storage method, and information storage program

Similar Documents

Publication Publication Date Title
JP6396515B2 (en) Directed automatic refresh synchronization
US6542959B2 (en) Memory refreshing system
US5262998A (en) Dynamic random access memory with operational sleep mode
JP4922306B2 (en) Self-refresh mechanism at C0
US6028804A (en) Method and apparatus for 1-T SRAM compatible memory
TW201812565A (en) Method for managing memory power consumption and system thereof
US6212599B1 (en) Method and apparatus for a memory control system including a secondary controller for DRAM refresh during sleep mode
US6334167B1 (en) System and method for memory self-timed refresh for reduced power consumption
US5583823A (en) Dram refresh circuit
US6285616B1 (en) Memory refreshing control apparatus comprising a unique refreshing counter
US6597615B2 (en) Refresh control for semiconductor memory device
US7650472B2 (en) Method for reducing memory power consumption
EP1573270A2 (en) Memory device and method having low-power, high write latency mode and high-power, low write latency mode and/or independently selectable write latency
JP4518563B2 (en) Semiconductor memory device
US6501699B2 (en) Refresh control for semiconductor memory device
US20050002254A1 (en) Refresh control and internal voltage generation in semiconductor memory device
JPH03104083A (en) Refresh control system
JP2004185686A (en) Semiconductor storage device
JP4843216B2 (en) Memory control device
JP4689965B2 (en) Memory control circuit and memory control method
JPH117763A (en) Method for refresh control to dram and circuit therefor
JPH09297990A (en) Memory refresh control method and memory refresh controller
JPH04362594A (en) Memory backup controller
JPH06325570A (en) Dynamic memory refresh circuit
JPH0973777A (en) Memory