JPH02178858A - Memory access controller - Google Patents

Memory access controller

Info

Publication number
JPH02178858A
JPH02178858A JP63334363A JP33436388A JPH02178858A JP H02178858 A JPH02178858 A JP H02178858A JP 63334363 A JP63334363 A JP 63334363A JP 33436388 A JP33436388 A JP 33436388A JP H02178858 A JPH02178858 A JP H02178858A
Authority
JP
Japan
Prior art keywords
memory
access
signal
address strobe
strobe 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.)
Granted
Application number
JP63334363A
Other languages
Japanese (ja)
Other versions
JPH07120311B2 (en
Inventor
Yasunori Kawada
河田 泰紀
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP63334363A priority Critical patent/JPH07120311B2/en
Publication of JPH02178858A publication Critical patent/JPH02178858A/en
Publication of JPH07120311B2 publication Critical patent/JPH07120311B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To access a memory at a high speed with a simple constitution by starting the access with a false address strobe signal generated by a cycle start signal. CONSTITUTION:An access control part 6 is provided, and a cycle start signal ECS and an address strobe signal AS are inputted from an MPU 1 to the control part 6, and the control part 6 generates a pseudo address strobe signal F-AS and a cycle effective signal VLD-CYC and gives them to a DRAM controller 2. The access control part 6 consists of a sequencer or the like. The access is started with the pseudo address strobe signal F-AS. Thus, the memory is accessed at a high speed with the simple constitution.

Description

【発明の詳細な説明】 〈産業上の利用分野ン 本発明は、キャッシュ・メモリか付加されるマイクロプ
ロセッサ・システムにおいて、主記憶を構成するメモリ
・アレイに高速にアクセスを行うメモリ・アクセス制御
装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Fields> The present invention relates to a memory access control device for rapidly accessing a memory array constituting main memory in a microprocessor system to which a cache memory is added. It is related to.

〈従来の技術〉 従来のマイクロプロセッサ・システムにおりるメモリ・
アクセスは次のようである。
<Conventional technology> Memory and memory in conventional microprocessor systems
Access is as follows.

マイクロプロセッサには、アクセスの高速を図るため、
主記憶(DRAMアレイ)の一部を記憶格納するキャッ
シュ・メモリか付加され、アクセス動作はこのキャッシ
ュ・メモリに対して行っている。そして、キャッシュ・
メモリに格納されている情報にアクセスする際(ヒラ)
〜)は高速動作が実現でき、キャッシュ・メモリにない
情報にアクセスする際(ミス)は主記憶であるDRAM
アレイに対してアクセスを開始する。
In order to achieve high-speed access to the microprocessor,
A cache memory for storing a part of the main memory (DRAM array) is added, and access operations are performed to this cache memory. And the cache
When accessing information stored in memory (Hira)
~) can achieve high-speed operation, and when accessing information that is not in the cache memory (miss), the main memory DRAM is used.
Initiate access to the array.

〈発明か解決しようとする課題〉 ところで、近年、マイクロプロセッサの発達は著しく、
その動作速度は格段に速くなってさた。
<Problem to be solved by the invention> By the way, in recent years, the development of microprocessors has been remarkable.
Its operating speed has become much faster.

このなめ、マイクロプロセッサに設置されるメモリ装置
についても、従来のようなメモリ装置ではマイクロプロ
セッサの有する能力を充分に発揮することができなくな
ってきた。動作速度の速いSRAMを使用するのも高速
化の1つの解決手段であるが、高価ななめ大量に使用す
ることはできない。また、SRAMをキャッシュ・メモ
リとして使用することも考えられるが、その周辺回路、
外部回路が大きく複雑になり、小中規模のシステムには
不向きである。
Due to this, conventional memory devices installed in microprocessors are no longer able to fully utilize the capabilities of microprocessors. Using SRAM, which has a high operating speed, is one way to increase speed, but it is expensive and cannot be used in large quantities. It is also possible to use SRAM as a cache memory, but its peripheral circuits,
The external circuit becomes large and complicated, making it unsuitable for small to medium-sized systems.

また、キャ□ッシュ・メモリ・ミスを判断して主記憶(
メモリ・アレイ)にアクセスを移行する際にも時間が余
計にかかつていた。
It also determines cache memory misses and
Additional time was also required when migrating access to the memory array (memory array).

本発明は、上述した従来の構成をできるたけ維持し、簡
単な構成でメモリ・アクセスを高速に行おうとすること
を技術的な課題とするものである。
The technical object of the present invention is to maintain the above-described conventional configuration as much as possible and to perform memory access at high speed with a simple configuration.

また、本発明の目的は、安価、構成簡単、高速なメモリ
・アクセス制御装置を実現することである。
Another object of the present invention is to realize a memory access control device that is inexpensive, simple in configuration, and high speed.

〈課題を解決するための手段〉 本発明は、マイクロプロセッサから出力されるマシン・
サイクルの開始を示すザイクル開始信1シ゛を利用して
疑似アドレス・ス1〜ローブ信号F −ASを作成し、
これによってメモリ・アレイにアクセスを開始し、六ヤ
ッシュ・メモリのヒラ1〜/ミス(アドレス・スl〜ロ
ーブ借りASの出力の有無)によってこのサイクルの有
効無効を決めるするようにしたものであり、その構成は
次の通りである。
<Means for Solving the Problems> The present invention provides a machine/processor that outputs from a microprocessor.
Create a pseudo address signal F-AS using a cycle start signal 1 which indicates the start of a cycle,
This starts accessing the memory array, and determines whether or not this cycle is valid or invalid based on the error (presence or absence of address/sl/lobe borrow AS output) of the memory. , its structure is as follows.

即ち、マイクロプロセッサと、メモリ・アレイと、前記
マイクロプロセッサから出力されるアドレス信号を受け
て前記メモリ・アレイへ各種アクセス信弓を出力するメ
モリ制御部とからなるメモリ・アクセス制御装置におい
て、 前記マイクロプロセッサから出力されるサイクル開始信
号とアドレス・ストローブ信−弓ASとを入力して前記
メモリ制御部へ疑似アドレス・ス1〜ローブ信号1” 
−A Sを送出するとともに、前記マイクロプロセッサ
のキャッシュ・メモリ・ミスの場合にはこのサイクルを
有効とし、キャッシュ・メモリ・ヒラ)〜の場合はこの
サイクルを無効とするアクセス制御部を設け、 前記メモリ制御部は前記疑似アドレス・スl−。
That is, in a memory access control device comprising a microprocessor, a memory array, and a memory control section that receives address signals output from the microprocessor and outputs various access signals to the memory array, A cycle start signal outputted from the processor and an address strobe signal AS are input to send pseudo address signals 1 to 1" to the memory control section.
- an access control unit is provided that sends the A S and makes this cycle valid in the case of a cache memory miss of the microprocessor, and invalidates this cycle in the case of a cache memory miss); The memory control unit uses the pseudo address SL-.

−ブ信号F−ASによりアクセスを開始することを特徴
とするメモリ・アクセス制御装置である。
- This is a memory access control device characterized in that access is started by a block signal F-AS.

〈作 用〉 本発明のメモリ・アクセス制御装置は次のように動作す
る。
<Operation> The memory access control device of the present invention operates as follows.

アクセス制御部は、マイクロプロセッサからサイクル開
始信号が与えられるとキャッシュ・メモリのヒツト、ミ
スにかかわらず、疑似アドレス・ス1〜ローブ信号F−
ASをメモリ制御部へ送出する。メモリ制御部はこの疑
似アドレス・ストローブ信号F−ASによりDRAMア
レイにアクセスを開始する。一方、アクセス制御部は、
キャッシュ・メモリ・ミス(アドレス・ストローブ信号
λS“冒7′″)の場合はこのサイクルを有効とし、キ
ャッシュ・メモリ・ヒット(アドレス・ストローブ信号
AS ”H” )の場合はこのサイクルを無効とする。
When the access control unit is given a cycle start signal from the microprocessor, the access control unit generates pseudo address signals F-1 to F- regardless of hits or misses in the cache memory.
Send AS to the memory control unit. The memory control section starts accessing the DRAM array in response to this pseudo address strobe signal F-AS. On the other hand, the access control section
In the case of a cache memory miss (address strobe signal λS "7'"), this cycle is valid; in the case of a cache memory hit (address strobe signal AS "H"), this cycle is invalidated. .

〈実施例〉 第1図に本発明を実施したメモリ・アクセス制御装置の
構成ブロック図を表わす。
<Embodiment> FIG. 1 shows a block diagram of a memory access control device embodying the present invention.

この図において、1はマイクロプロセツサM I)U、
2はDRAMアレイ3ヘアクセス信号(ロウ・アドレス
・ストローブ信号RAS、カラム・アドレス・ストロー
ブ信号CAS、ライ1−・イネーブル信号WE、ロウ・
アドレスRA9〜0)を送出するDRAMコン1〜ロー
ラ等のメモリ制御部、3はDRAMアレイであり、ここ
までの構成は従来のメモリ・アクセス制御装置と同様で
ある。
In this figure, 1 is a microprocessor M I)U,
2 are access signals to the DRAM array 3 (row address strobe signal RAS, column address strobe signal CAS, row 1-enable signal WE,
Memory control units such as DRAM controllers 1 to 3 which send addresses RA9 to RA0) are a DRAM array, and the configuration up to this point is the same as that of a conventional memory access control device.

ここで、MPU1としてMC68020を用いることと
する。更に、周辺回路として、MPU 1から送出され
るアドレスA31−AOよりD RA Mアレイ3を選
択するデコーダ4、D RA Mアレイ3のデータD3
1〜0のエラーを監視するパリティ・ジェネレータ/チ
エッカ5か設置される。
Here, it is assumed that MC68020 is used as MPU1. Furthermore, as peripheral circuits, a decoder 4 selects the DRAM array 3 from the addresses A31-AO sent from the MPU 1, and a decoder 4 that selects the DRAM array 3 from the addresses A31-AO sent from the MPU 1;
A parity generator/checker 5 is installed to monitor errors from 1 to 0.

本発明はこのようなメモリ・アクセス制御装置に、MP
UIからサイクル開始信号EC8、アドレス・ストロー
ブ信号ASを入力し、疑似アドレス・ス1〜ローブ信号
1”−AS、サイクル有効信号VLD−CYCを生成し
”CD RA M コア1−0− ラ2へ与えるアクセ
ス制御部6を設けたことを特徴とする。このアクセス制
御部6はシーケンサ等によって構成する。
The present invention provides such a memory access control device with MP
Input cycle start signal EC8 and address strobe signal AS from UI, generate pseudo address signal 1~lobe signal 1''-AS, cycle valid signal VLD-CYC, and send to ``CD RAM core 1-0-ra2''. The feature is that an access control section 6 is provided to provide access control. This access control section 6 is constituted by a sequencer or the like.

さて、以上の構成の本発明のメモリ・アクセス制御装置
の動作を第2図(a)、(b)のタイムヂャートを用い
て説明する。
Now, the operation of the memory access control device of the present invention having the above configuration will be explained using the time charts shown in FIGS. 2(a) and 2(b).

第2図(a)はM P tJ l内のキャッシュ・メモ
リ・ミスの場合のタイムチャーl〜である。
FIG. 2(a) is a time chart l~ in the case of a cache memory miss in M P tJ l.

MPtJlからマシン・サイクル開始を示すサイクル開
始信号EC8“′L′°が送出されると、アクセス・コ
ン)−ローラ6は、直ちに疑似アドレス・ストローブ信
号F” −A S“′■−°“を生成し、DRAMコン
トローラ2へ出力する。
When the cycle start signal EC8"'L'° indicating the start of a machine cycle is sent from MPtJl, the access control roller 6 immediately sends the pseudo address strobe signal F"-AS"'■-°". It is generated and output to the DRAM controller 2.

DRAMコントローラ2は、この疑似アドレス・ストロ
ーブ信号F−AS’″L“によりアクセスを開々台し、
DRAMアレイ3にロウ・7゛ドレス・スl−ローブ信
−号RAS”L、’”を出力する。
The DRAM controller 2 uses this pseudo address strobe signal F-AS'"L" to open the access,
A row/7' address/slow signal RAS ``L,'' is output to the DRAM array 3.

一方、M P LJ 1はキ六・・ンシュ・メモリ・ミ
スにより、アドレス・ス1〜ローブ信号AS“′I7′
”を出力し、アクセス・コン1−ローラ6へ与える。ア
クセス・コントローラ6はこのアドレス・ストローブ信
号ASよりサイクル有効信号V L D −CY C“
’ L ”を生成し、D R,A Mコンl−ローラ2
ノ\送出する。
On the other hand, M P LJ 1 loses the address signal AS ``'I7'' due to a memory error.
" is outputted and given to the access controller 1-roller 6. The access controller 6 outputs a cycle valid signal VLD-CYC" from this address strobe signal AS.
Generate 'L', DR, AM controller l-roller 2
ノ\Send.

DRAMコン1ヘローラ2はサイクル有効信号■LD−
CYC”L’″により、このアクセス・サイクルは有効
であるとし、規定のタイミングでカラム・アドレス・ス
トローブ信号CAS”L”を送出し、アクセスを開始す
る。
DRAM controller 1 and roller 2 are cycle valid signals ■LD-
With CYC "L'", this access cycle is determined to be valid, and a column address strobe signal CAS "L" is sent out at a specified timing to start access.

このキャッシュ・メモリ・ミスの場合、従来の装置であ
ると、アドレス・ス1〜ローブ1言弓に3′“L”が送
出されてからロウ・アドレス・ストローブ信号RAS“
L″、カラム・アドレス・ストローブ信号CAS“し、
′”か出力されてアクセスが開始するが、本発明装置に
よれば、疑似アドレスストローブ信号F−AS”L”に
よりアクセスを開始するのて、従来の装置より1/2ク
ロック分アクセスが先行する。
In the case of this cache memory miss, in the conventional device, 3'"L" is sent from address strobe 1 to row 1, and then row address strobe signal RAS "
L'', column address strobe signal CAS'';
''' is output and the access starts. However, according to the device of the present invention, since the access is started by the pseudo address strobe signal F-AS "L", the access is preceded by 1/2 clock compared to the conventional device. .

第2図(b)はMPUI内のキャッシュ・メモリ・ヒッ
トの場合のタイムヂャートである。
FIG. 2(b) is a time chart in the case of a cache memory hit in the MPUI.

このタイムヂャートにおいて、MPU1からサイクル開
始信号EC8”L、”が送出されて、アクセス・コント
ローラ6から疑似アドレス・スl〜ローブ信号「二W1
°゛L′″が送出され、DRAMコントローラ2がDR
AMアレイ3ヘロウ・アドレス・ス1へローブ信号RA
S”L”を出力するまでの動作は第2図(a>のキャッ
シュ・メモリ・ミスの場合と同様である。
In this time chart, the cycle start signal EC8 "L," is sent from the MPU 1, and the pseudo address slave signal "2W1" is sent from the access controller 6.
°゛L′″ is sent out, and the DRAM controller 2
AM array 3 low address 1 low signal RA
The operation up to outputting S"L" is the same as in the case of cache memory miss in FIG. 2 (a>).

一方、MPU1ではキャッシュ・メモリ・ヒラ1〜のた
め、DRAMアレイ3にアクセスする必要はなく、アド
レス・ストローブ信号AS”L’”(有効)を送出しな
い。
On the other hand, the MPU 1 does not need to access the DRAM array 3 because the cache memory is filled 1~, and does not send out the address strobe signal AS"L'" (valid).

アクセス・コントローラ6は、サイクル開始信号EC3
”L、”を検出してから1クロツク(CLK)経過して
もアドレス・ストローブ信号ASが有効(’L”)にな
らない場合、サイクル有効信ルを無効とする。
The access controller 6 receives a cycle start signal EC3.
If the address strobe signal AS does not become valid ('L') even after one clock (CLK) has passed after detecting 'L,', the cycle valid signal is invalidated.

これにより、DRAMコン1−ローラ2は、規定のタイ
ミングtになってもカラム・アドレス・スl〜ローブ信
号CAS ’冒−パを出力せず、途中まで進行したアク
セスを無効とする。
As a result, the DRAM controller 1-roller 2 does not output the column address slave signal CAS' even at the predetermined timing t, and invalidates the access that has proceeded halfway.

このキャッシュ・メモリ・ヒラ1への場合はDRAMア
レイ3に対しては単なるRASオンリー・リフレッシュ
としてアクセスを終了する。
In the case of cache memory filler 1, access to DRAM array 3 is completed as a simple RAS only refresh.

以上のようにして、本発明のメモリ・アクセス制御装置
は、疑似アドレス・ス1〜ローブ信号FASによりアク
セスを開始し、キャッシュ・メモリのミス/ヒラ1−に
対応するアドレス・ストローブ信号ASの有無によりこ
のサイクルの有効/無効を決定てきる。
As described above, the memory access control device of the present invention starts access using the pseudo address strobe signal FAS, and determines the presence or absence of the address strobe signal AS corresponding to the cache memory miss/filler 1-. This determines whether this cycle is valid or invalid.

第1図の実施例では、アクセスの対象としてDRAMア
レイ3を用いなが、これに限らずSRAMにも適用する
ことができる。SRAMに本発明を適用する場合には、
SRAMにはロウ・アドレス・ストローブ信号RAS、
カラム・アドレス・スl〜ローブ信号mの概念がないた
め、キャッシュ・メモリ・ヒラ1〜の場合はRASオン
リー・リフレッシュ・サイクルではなく、リード・サイ
クルとして終了することになる。
In the embodiment shown in FIG. 1, the DRAM array 3 is used as the object to be accessed, but the present invention is not limited to this and can be applied to SRAM as well. When applying the present invention to SRAM,
The SRAM has a row address strobe signal RAS,
Since there is no concept of column address slave signal m, cache memory filler 1 ends as a read cycle rather than as a RAS-only refresh cycle.

〈発明の効果〉 本発明のメモリ・アクセス制御装置によれば、次の効果
を得ることができる。
<Effects of the Invention> According to the memory access control device of the present invention, the following effects can be obtained.

■ アドレス・スl−ローブ信号ASによって開始する
本来のアクセスに比較して、本発明はサイクル開始信号
により生成される疑似アドレス・ストロトープ信号F−
AS“L”でアクセスを開始するので、動作が1/2ク
ロック先行する。
■ Compared to the original access initiated by the address slave signal AS, the present invention uses a pseudo address strotope signal F- generated by the cycle start signal.
Since access is started with AS "L", the operation is preceded by 1/2 clock.

■ 従来のDRAMアレイをそのまま用いて高速アクセ
スが可能であるので安価なシステムが実現できる。
■ Since high-speed access is possible using a conventional DRAM array as is, an inexpensive system can be realized.

■ 疑似アドレス・ストローブ信号F−AS、サイクル
有効信号VLD−CYCの2種類の信号を生成するのみ
であるので回路規模も小さく簡単に実現できる。
(2) Since only two types of signals, the pseudo address strobe signal F-AS and the cycle valid signal VLD-CYC, are generated, the circuit scale is small and can be easily realized.

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

第1図は本発明を実施したメモリ・アクセス制御装置の
構成ブロック図、第2図(a)、(b)は本発明装置の
動作を表わすフローチャー1・である。 1・・・マイクロプロセッサM P tJ、2・・・D
 RA Mコン1−ローラ、3・・・DRAMアレイ、
4・・・デコーダ、5・・・パリティ・ジェネレータ/
チエッカ、6・・・アクセス制御部。
FIG. 1 is a block diagram of a memory access control device embodying the present invention, and FIGS. 2(a) and 2(b) are flowcharts 1 showing the operation of the device of the present invention. 1...Microprocessor M P tJ, 2...D
RAM controller 1-roller, 3...DRAM array,
4...Decoder, 5...Parity generator/
Checker, 6...Access control section.

Claims (1)

【特許請求の範囲】[Claims] (1)マイクロプロセッサと、メモリ・アレイと、前記
マイクロプロセッサから出力されるアドレス信号を受け
て前記メモリ・アレイへ各種アクセス信号を出力するメ
モリ制御部とからなるメモリ・アクセス制御装置におい
て、 前記マイクロプロセッサから出力されるサイクル開始信
号とアドレス・ストローブ信号@AS@とを入力して前
記メモリ制御部へ疑似アドレス・ストローブ信号@F−
AS@を送出するとともに、前記マイクロプロセッサの
キャッシュ・メモリ・ミスの場合にはサイクル有効信号
を有効とし、キャッシュ・メモリ・ヒットの場合はサイ
クル有効信号を無効とするアクセス制御部を設け、 前記メモリ制御部は前記疑似アドレス・ストローブ信号
@F−AS@によりアクセスを開始することを特徴とす
るメモリ・アクセス制御装置。
(1) A memory access control device comprising a microprocessor, a memory array, and a memory control section that receives address signals output from the microprocessor and outputs various access signals to the memory array, A cycle start signal and an address strobe signal @AS@ outputted from the processor are inputted, and a pseudo address strobe signal @F- is sent to the memory control section.
an access control unit that sends an AS@ and also enables a cycle valid signal in the case of a cache memory miss of the microprocessor and invalidates the cycle valid signal in the case of a cache memory hit; A memory access control device characterized in that the control section starts access by the pseudo address strobe signal @F-AS@.
JP63334363A 1988-12-29 1988-12-29 Memory access controller Expired - Lifetime JPH07120311B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63334363A JPH07120311B2 (en) 1988-12-29 1988-12-29 Memory access controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63334363A JPH07120311B2 (en) 1988-12-29 1988-12-29 Memory access controller

Publications (2)

Publication Number Publication Date
JPH02178858A true JPH02178858A (en) 1990-07-11
JPH07120311B2 JPH07120311B2 (en) 1995-12-20

Family

ID=18276538

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63334363A Expired - Lifetime JPH07120311B2 (en) 1988-12-29 1988-12-29 Memory access controller

Country Status (1)

Country Link
JP (1) JPH07120311B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60200351A (en) * 1984-03-26 1985-10-09 Hitachi Ltd Memory control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60200351A (en) * 1984-03-26 1985-10-09 Hitachi Ltd Memory control system

Also Published As

Publication number Publication date
JPH07120311B2 (en) 1995-12-20

Similar Documents

Publication Publication Date Title
KR880011676A (en) Block access method using cache memory
JPH02178858A (en) Memory access controller
JPS5848293A (en) Memory refreshing device
JPH0778106A (en) Data processing system
JP3774084B2 (en) Semiconductor memory test circuit and method thereof
JP2005141682A (en) High-speed memory access control device
KR100293358B1 (en) High speed dram access method
KR0176634B1 (en) Dram data access control circuit having 16bit data bus
JPH0469750A (en) Memory control system
JPH01119840A (en) Control circuit for dynamic ram
JP2007115087A (en) Semiconductor device
JPH01234947A (en) Processor system
JPH0731439Y2 (en) Static column DRAM access device
JPH0323587A (en) Parity generating and checking system for dram
JP2002269980A (en) Memory control device and memory control method
KR100445913B1 (en) Page mode DRAM accelerator using buffer cache
JPS6010368A (en) Address conversion buffer control system
JPH05101650A (en) Refreshing method for dynamic memory
JPH0722799Y2 (en) Storage device
JPH08106778A (en) Synchronous semiconductor memory
JPH0423145A (en) Memory access control circuit for risc processor
JPS62214590A (en) Refresh system for dynamic memory
JPH1153252A (en) Memory control circuit
JPH08194658A (en) Microcomputer system
JPH0636558A (en) Method for refreshing dram