JPH064454A - Control system for dram - Google Patents

Control system for dram

Info

Publication number
JPH064454A
JPH064454A JP4163004A JP16300492A JPH064454A JP H064454 A JPH064454 A JP H064454A JP 4163004 A JP4163004 A JP 4163004A JP 16300492 A JP16300492 A JP 16300492A JP H064454 A JPH064454 A JP H064454A
Authority
JP
Japan
Prior art keywords
transfer
dma
dram
refresh
refresh operation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4163004A
Other languages
Japanese (ja)
Inventor
Hiroyuki Hayama
宏幸 葉山
Mitsuharu Asano
光春 浅野
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 Cable Ltd
Original Assignee
Hitachi Cable 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 Cable Ltd filed Critical Hitachi Cable Ltd
Priority to JP4163004A priority Critical patent/JPH064454A/en
Publication of JPH064454A publication Critical patent/JPH064454A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Dram (AREA)

Abstract

PURPOSE:To execute a continuous transfer of a DMA without being suspended by a refresh operation of the DRAM. CONSTITUTION:In a period in which a DMA transfer is not being executed, a refresh operation of a DRAM is executed at a determined time interval, but in a period in which the DMA transfer is being executed, control is executed as mentioned below. In the case of a DMA block transfer, while a data transfer is being executed to the DRAM, the refresh operation is not executed, and before a single block transfer is finished and the next block transfer is started, the refresh operation is executed. Also, in the case of a DMA burst transfer, in a period in which the DMA transfer is executed, the refresh operation is not executed, and before its DMA transfer, the refresh operation is executed by a DMA burst transfer time/the number of times of a regular refresh interval.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、DRAMのリフレッシ
ュ動作による中断なしに、DMAの連続転送を可能とす
るDRAMの制御方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a DRAM control system which enables continuous DMA transfer without interruption due to a DRAM refresh operation.

【0002】[0002]

【従来の技術】従来、DRAM(Dynamic Random Acces
s Memory)は、大容量,低価格という特長をいかして、
様々な分野で使用されている。DRAMには定期的にリ
フレッシュを行う必要があるという使用上の制約があ
る。リフレッシュを行う間隔は、DRAMの種類によっ
て異なり、512リフレッシュ/8ms,1024リフ
レッシュ/128msのように決まっている。例えば、
タイマを用いて一定間隔に1回ずつリフレッシュを行う
方式の場合、512リフレッシュ/8msでは、約15
μs毎にリフレッシュを行うことになる。
2. Description of the Related Art Conventionally, DRAM (Dynamic Random Acces
s Memory) takes advantage of its large capacity and low price,
It is used in various fields. There is a constraint in use that DRAM needs to be refreshed periodically. The refresh interval differs depending on the type of DRAM, and is set to 512 refresh / 8 ms, 1024 refresh / 128 ms. For example,
In the case of a method of refreshing once at regular intervals using a timer, 512 refresh / 8ms takes about 15
Refresh will be performed every μs.

【0003】一方、メモリ間またはメモリとI/Oデバ
イス間のデータ転送方式として、DMA(Direct Memor
y Access)転送方式がある。DMA転送を用いれば、一
般に高速にデータ転送を行うことが可能となる。DMA
転送方式には、一般に次の3つの方式がある。
On the other hand, as a data transfer method between memories or between a memory and an I / O device, DMA (Direct Memory) is used.
y Access) There is a transfer method. If DMA transfer is used, data transfer can generally be performed at high speed. DMA
Generally, there are the following three transfer methods.

【0004】(1)サイクルスチール転送、即ち、1回
の転送毎にバスの獲得解放動作を行う方法。
(1) Cycle steal transfer, that is, a method of performing bus acquisition / release operation for each transfer.

【0005】(2)ブロック転送、即ち、バスを占有し
た後、予め決められた回数だけ連続して転送を行い、そ
の後一旦バスを解放して再びバスを占有するという動作
を繰り返す方法。
(2) A method of repeating a block transfer, that is, after occupying a bus, performing continuous transfers a predetermined number of times, then releasing the bus once and occupying the bus again.

【0006】(3)バースト転送、即ち、一旦バスを獲
得したらバスを占有したままで転送終了まで連続的にデ
ータ転送をおこなう方法。
(3) Burst transfer, that is, a method in which once a bus is acquired, data is continuously transferred with the bus occupied until the end of the transfer.

【0007】上記のブロック転送,バースト転送は、連
続的にデータ転送を行うことができるため、高速転送が
可能である。
In the block transfer and burst transfer described above, since data transfer can be performed continuously, high speed transfer is possible.

【0008】図6にDRAMに対してDMAブロック転
送を行うシステム(DRAM制御回路)の構成例を、ま
た図8にDMAバースト転送を行うシステムの構成例を
示す。図6のブロック転送の場合、DRAM1、DRA
Mに対し定期的にリフレッシュを行うDRAMリフレッ
シュ回路2、DRAMに対してデータの転送を行うDM
A制御回路5を構成要素として持ち、DRAMリフレッ
シュ回路2はリフレッシュ用タイマ3及びリフレッシュ
制御部4により構成される。リフレッシュ用タイマ3
は、一定時間毎、例えば512リフレッシュ/8msで
は約15μs毎にタイムアップし、リフレッシュ制御部
2はこれによりDRAM4のリフレッシュを行う。メモ
リアービタ6は、DMA制御部5からのメモリアクセス
要求とリフレッシュ要求の調停を行うために用いられ
る。図8のDMAバースト転送の場合には、更に、内部
バス7に対するMPU8とDMA制御部5の間にバスア
ービタ9が用いられる。
FIG. 6 shows an example of the configuration of a system (DRAM control circuit) for performing DMA block transfer to DRAM, and FIG. 8 shows an example of the configuration of a system for performing DMA burst transfer. In the case of the block transfer of FIG. 6, DRAM1 and DRA
DRAM refresh circuit 2 for periodically refreshing M, DM for transferring data to DRAM
The A refresh control circuit 5 has an A control circuit 5 as a component, and the DRAM refresh circuit 2 includes a refresh timer 3 and a refresh control unit 4. Refresh timer 3
At a fixed time interval, for example, about 512 μs per 512 refresh / 8 ms, the refresh controller 2 refreshes the DRAM 4 accordingly. The memory arbiter 6 is used to arbitrate the memory access request and the refresh request from the DMA control unit 5. In the case of the DMA burst transfer of FIG. 8, a bus arbiter 9 is further used between the MPU 8 for the internal bus 7 and the DMA control unit 5.

【0009】図7にDMAブロック転送を行った場合の
DRAMアクセスの様子を、また図9にDMAバースト
転送を行った場合のDRAMアクセスの様子を示す。D
MA転送要求がオンになったとき、DRAMに対してデ
ータ転送を行う。この場合、DMAブロック転送(図
7)では、バス獲得→複数回連続転送→バスをいったん
解放→再びバス獲得といった動作を繰り返す。また、D
MAバースト転送(図87)では、バスを獲得したら転
送終了まで連続的にデータ転送を行う。
FIG. 7 shows a DRAM access state when the DMA block transfer is performed, and FIG. 9 shows a DRAM access state when the DMA burst transfer is performed. D
When the MA transfer request is turned on, data is transferred to the DRAM. In this case, in the DMA block transfer (FIG. 7), operations such as bus acquisition → continuous transfer for a plurality of times → bus release once → bus acquisition again are repeated. Also, D
In the MA burst transfer (FIG. 87), once the bus is acquired, the data transfer is continuously performed until the end of the transfer.

【0010】[0010]

【発明が解決しようとする課題】しかし、図7,図9に
図示する如く、DMAブロック転送中又はDMAバース
ト転送中にリフレッシュ要求が行われた場合、データ転
送を一時中断してリフレッシュを行わなければいけな
い。その結果、リフレッシュを行う時間の分だけDMA
転送の性能が落ちることになる。また、図6又は図8の
構成では、メモリアービタ6を介してDMA制御部5が
DRAMをアクセスすることになるため、1回のメモリ
アクセスもメモリアービタの遅延分だけの時間がかかる
ことになる。
However, as shown in FIGS. 7 and 9, when a refresh request is made during a DMA block transfer or a DMA burst transfer, the data transfer must be temporarily interrupted to perform the refresh. Don't do it. As a result, the DMA is performed for the refresh time.
The transfer performance will decrease. Further, in the configuration of FIG. 6 or FIG. 8, since the DMA control unit 5 accesses the DRAM via the memory arbiter 6, one memory access takes a time corresponding to the delay of the memory arbiter. .

【0011】本発明の目的は、前記した従来技術の欠点
を解消し、DRAMのリフレッシュ動作による中断なし
に、DMAの連続転送が可能なDRAMの制御方式を提
供することにある。
An object of the present invention is to solve the above-mentioned drawbacks of the prior art and to provide a DRAM control system capable of continuous DMA transfer without interruption due to DRAM refresh operation.

【0012】[0012]

【課題を解決するための手段】上記目的を達成するため
に、本発明のDRAMの制御方式は、DRAM、DRA
Mリフレッシュ回路、DRAMに対してデータの転送を
行うDMA制御回路を構成要素として持ち、1回のDM
Aブロック転送長がDRAMのリフレッシュ間隔以下に
おいてDMAブロック転送を行うシステムにおいて、D
MA転送を行っていない期間では決められた時間間隔で
DRAMのリフレッシュ動作を行い、DMA転送を行っ
ている期間にあっては、DRAMに対してデータ転送を
行っている間はリフレッシュ動作を行わず、1回のブロ
ック転送が終了し次のブロック転送が開始されるまでの
間にリフレッシュ動作を行うものである(請求項1)。
In order to achieve the above object, a DRAM control system according to the present invention is a DRAM or a DRA.
It has an M refresh circuit and a DMA control circuit for transferring data to the DRAM as a component,
In a system in which the A block transfer length is a DMA block transfer at a DRAM refresh interval or less,
The refresh operation of the DRAM is performed at a predetermined time interval during the period in which the MA transfer is not performed, and the refresh operation is not performed during the data transfer to the DRAM in the period during the DMA transfer. The refresh operation is performed between the end of one block transfer and the start of the next block transfer (claim 1).

【0013】また、本発明の他の構成は、DRAM、D
RAMリフレッシュ回路、DRAMに対してデータの転
送を行うDMA制御回路、MPUを構成要素として持
ち、DMAバースト転送方式によりDMA転送を行うシ
ステムにおいて、DMA転送を行わない期間では決めら
れた時間間隔でDRAMのリフレッシュ動作を行い、D
MA転送を行う期間ではリフレッシュ動作を行わず、そ
のDMA転送前にMPUからDMAデータ転送を行う指
示を受けて、DMAバースト転送時間/上記通常のリフ
レッシュの間隔の回数だけ、DMA転送を行う前にリフ
レッシュ動作を行うものである(請求項2)。
Another structure of the present invention is a DRAM, a D
In a system that has a RAM refresh circuit, a DMA control circuit that transfers data to the DRAM, and an MPU as components, and that performs DMA transfer by the DMA burst transfer method, DRAM is set at a predetermined time interval during a period in which DMA transfer is not performed. Refresh operation of D
The refresh operation is not performed during the MA transfer period, and the DMA burst transfer time / the number of times of the above normal refresh is performed before the DMA transfer is received from the MPU before the DMA transfer. A refresh operation is performed (claim 2).

【0014】[0014]

【作用】上記請求項1の発明は、DRAMのリフレッシ
ュ動作を、DMAデータ転送中には行わず、DMAブロ
ックとブロックの間にリフレッシュを行うものである。
従って、リフレッシュ動作による中断なしに、高速なD
MA転送が可能である。
According to the first aspect of the invention, the refresh operation of the DRAM is not performed during the DMA data transfer, but is refreshed between the DMA blocks.
Therefore, high-speed D
MA transfer is possible.

【0015】また、請求項2の発明は、DMAバースト
転送前に、本来転送中に行わなければならない数だけの
リフレッシュ動作をまとめて行い、データ転送中はリフ
レッシュ動作を行わないものであるので、高速なDMA
転送が可能である。
Further, according to the second aspect of the invention, before the DMA burst transfer, the refresh operations of the number which should be originally performed during the transfer are collectively performed, and the refresh operation is not performed during the data transfer. Fast DMA
Transfer is possible.

【0016】[0016]

【実施例】以下、本発明の実施例を添付図面に基づいて
詳述する。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

【0017】図1はDMAブロック転送を行うシステム
(DRAM制御回路)の構成例であり、DRAM1、D
RAMに対し定期的にリフレッシュを行うDRAMリフ
レッシュ回路2、DRAMに対してデータの転送を行う
DMA制御回路5を構成要素として持つ。
FIG. 1 shows an example of the configuration of a system (DRAM control circuit) for performing a DMA block transfer.
It has a DRAM refresh circuit 2 for periodically refreshing the RAM and a DMA control circuit 5 for transferring data to the DRAM as components.

【0018】従来の構成(図6)との違いは、リフレッ
シュ制御部4とDMA制御部5間に、新たに信号線10
を設けたことである。リフレッシュ制御部2は、上記信
号線10によって、DMA動作中であるか否かを認識
し、DRAM1のリフレッシュを行うタイミングを決め
る。即ち、図2において、DMA転送を行っていない期
間T1においては、リフレッシュ用タイマ3で決められ
た時間間隔tでリフレッシュ動作を行い(図2のR
1)、DMA転送を行っている期間T2においては、D
RAMに対してデータ転送を行っている区間D1はリフ
レッシュ動作を行わず、1回のブロック転送が終了し次
のブロック転送が開始されるまでの区間D2中にリフレ
ッシュ動作を行う。図2に示すDRAMアクセスの例で
は、DMA転送中に、リフレッシュ用タイマ3からリフ
レッシュ要求が行われても、すぐにはリフレッシュは行
われず、1回のDMAブロック転送が終了した直後にリ
フレッシュを行う例となっている。尚、従来のメモリア
ービタ6は必要なくなり、一般的なセレクタ11に置き
換えられている。
The difference from the conventional configuration (FIG. 6) is that a signal line 10 is newly provided between the refresh controller 4 and the DMA controller 5.
Is provided. The refresh control unit 2 recognizes whether or not the DMA operation is being performed by the signal line 10 and determines the timing for refreshing the DRAM 1. That is, in FIG. 2, in the period T1 in which the DMA transfer is not performed, the refresh operation is performed at the time interval t determined by the refresh timer 3 (R in FIG. 2).
1), during the period T2 during which the DMA transfer is performed, D
The refresh operation is not performed in the section D1 in which data is transferred to the RAM, and the refresh operation is performed in the section D2 from the end of one block transfer to the start of the next block transfer. In the example of the DRAM access shown in FIG. 2, even if a refresh request is issued from the refresh timer 3 during the DMA transfer, the refresh is not immediately performed, but the refresh is performed immediately after one DMA block transfer is completed. It is an example. The conventional memory arbiter 6 is no longer necessary and is replaced by a general selector 11.

【0019】このように、DRAMのアクセスタイミン
グをリフレッシュ制御部4及びDMA制御部5が、それ
ぞれ連絡をとりながら決める。従って、DMA制御部5
でも、1回のブロック転送開始時に、丁度リフレッシュ
を行っている最中のときは、そのリフレッシュが終了す
るまで待ってから、DMA転送を開始するという論理が
必要となる。このとき、1回のブロック転送長は、通常
のリフレッシュ間隔以内にしなければならない。1回の
ブロック転送長がリフレッシュ間隔以上の場合には、D
RAMのリフレッシュ規定を満たさなくなる虞れがある
からである。
In this way, the refresh control section 4 and the DMA control section 5 determine the access timing of the DRAM while making contact with each other. Therefore, the DMA controller 5
However, when refreshing is being performed at the start of one block transfer, it is necessary to wait until the refresh is completed before starting the DMA transfer. At this time, one block transfer length must be within a normal refresh interval. If the length of one block transfer is longer than the refresh interval, D
This is because there is a risk that the RAM refresh regulation may not be satisfied.

【0020】上記実施例では、MDAブロック転送中の
リフレッシュのタイミングに関して、1回のブロック転
送が終了したとき、必ずリフレッシュ動作を行うように
している。しかし、図3に示すように、1回のブロック
転送長D1が通常のリフレッシュ間隔tよりかなり短い
場合には、DMA転送中にタイマ1からのリフレッシュ
要求があった場合(図3のQ)のみ、そのブロック転送
終了後、リフレッシュ動作を行うようにしてもよい。
In the above embodiment, with respect to the refresh timing during MDA block transfer, the refresh operation is always performed when one block transfer is completed. However, as shown in FIG. 3, when the one-time block transfer length D1 is considerably shorter than the normal refresh interval t, only when there is a refresh request from the timer 1 during the DMA transfer (Q in FIG. 3). The refresh operation may be performed after the block transfer is completed.

【0021】また上記実施例は、DMAブロック転送の
場合についてのものであるが、途中の中断なしに連続的
にデータ転送を行うDMAバースト転送に関しても、転
送長がリフレッシュ間隔以内ならば、本発明を適用する
ことができる。この場合、DMA転送中に、タイマから
リフレッシュ要求が行われても、DMA転送中というこ
とで、そのときはリフレッシュ動作を行わず、DMA転
送が終了してからリフレッシュ動作を行う。
Although the above-mentioned embodiment is for the case of the DMA block transfer, the present invention is also applicable to the DMA burst transfer in which the data is continuously transferred without interruption in the middle as long as the transfer length is within the refresh interval. Can be applied. In this case, even if a refresh request is issued from the timer during the DMA transfer, it means that the DMA transfer is in progress. At that time, the refresh operation is not performed, and the refresh operation is performed after the DMA transfer is completed.

【0022】図4に他の実施例の構成例を示す。このD
RAM制御回路においても、メモリアービタ6の代わり
にセレクタ11が使用されている。DMA転送の方式は
バスを占有したままで行うDMAバースト転送方式であ
る。また、リフレッシュ制御部4とDMA制御部5間に
は、DMA転送期間通知用のバス12が設けられてい
る。リフレッシュ制御部4は、このバス12からの通知
によってDMA転送期間の長さを認識し、次のように動
作する。即ち、図5において、DRAMのリフレッシュ
制御部2は、DMA転送を行っていない期間Mでは、
決められた時間間隔tでリフレッシュ動作を行い、D
MA転送を行っている間Dではリフレッシュ動作を行わ
ず、そのDMA転送前に、MPUからこれから何回DM
Aデータ転送を行うかという指示を受けて、そのDMA
バースト転送期間中に必要とされるリフレッシュ回数
(DMAバースト転送時間/上記通常のリフレッシュの
間隔)だけDMA転送を行う前にリフレッシュ動作を行
う。
FIG. 4 shows a configuration example of another embodiment. This D
Also in the RAM control circuit, the selector 11 is used instead of the memory arbiter 6. The DMA transfer method is a DMA burst transfer method with the bus occupied. Further, a bus 12 for notifying a DMA transfer period is provided between the refresh control unit 4 and the DMA control unit 5. The refresh control unit 4 recognizes the length of the DMA transfer period by the notification from the bus 12, and operates as follows. That is, in FIG. 5, the refresh control unit 2 of the DRAM, during the period M in which the DMA transfer is not performed,
Refresh operation is performed at a predetermined time interval t, and D
While the MA transfer is being performed, the refresh operation is not performed at D, and the MPU may perform DM operation before the DMA transfer.
In response to an instruction to transfer A data, the DMA
The refresh operation is performed before performing the DMA transfer by the number of refresh times (DMA burst transfer time / the normal refresh interval described above) required during the burst transfer period.

【0023】詳述するに、図5のアクセス例において、
MPU8は、DMA制御部5に対してDMA転送長等の
DMA動作条件の設定を授け、その後、DMAを起動す
る。このときDMA制御部5では、すぐにDRAMに対
する転送を始めずに、リフレッシュ制御部4に対して、
こらからどのくらいの期間DMA転送を行うかという通
知を行う。リフレッシュ制御部4ではこれを受けて、本
来DMA転送中に行わなければならないリフレッシュ回
数(DMAバースト転送時間/上記通常のリフレッシュ
の間隔t)だけ、まとめてリフレッシュを行う。DMA
制御部5では、このリフレッシュの終了後、DMA転送
を開始する。リフレッシュ制御部2では、DMA転送期
間D中はリフレッシュは行なわず、DMA転送終了後、
通常のタイマによる定期的なリフレッシュを開始する。
More specifically, in the access example of FIG.
The MPU 8 gives the DMA control unit 5 the setting of the DMA operation condition such as the DMA transfer length, and then activates the DMA. At this time, the DMA control unit 5 does not immediately start the transfer to the DRAM,
From here, notification is given as to how long DMA transfer should be performed. In response to this, the refresh control unit 4 collectively refreshes for the number of refreshes that should be performed during the DMA transfer (DMA burst transfer time / the above normal refresh interval t). DMA
After the completion of this refresh, the control unit 5 starts the DMA transfer. The refresh control unit 2 does not refresh during the DMA transfer period D, and after the DMA transfer is completed,
Start regular refreshing with a normal timer.

【0024】このようにDMA転送中のリフレッシュ動
作がないため、従来構成におけるメモリアービタ6は必
要でなくなり、DRAMの前にセレクタ11を設けるだ
けでよい。通常、メモリアービタはセレクタに比べて、
回路及び信号処理が複雑であり、遅延時間も大きい。従
って、メモリアービタ6がなくなることは、従来方式に
比べ、より高速にアクセスできることを意味する。
Since there is no refresh operation during the DMA transfer as described above, the memory arbiter 6 in the conventional configuration is not necessary, and the selector 11 may be provided in front of the DRAM. Normally, memory arbiters are
The circuit and signal processing are complicated and the delay time is large. Therefore, the elimination of the memory arbiter 6 means that access can be made faster than in the conventional method.

【0025】[0025]

【発明の効果】以上説明したように本発明によれば、次
の効果が得られる。
As described above, according to the present invention, the following effects can be obtained.

【0026】(1)DRAMに対してDMA転送を行っ
ている際、DRAMリフレッシュ動作によって転送が中
断されることがないため、従来方式に比べて、より高速
のDMA転送を行うことができる。
(1) Since the transfer is not interrupted by the DRAM refresh operation during the DMA transfer to the DRAM, the DMA transfer can be performed at a higher speed than the conventional method.

【0027】(2)DRAMに対してDMA転送を行う
際、従来方式ではメモリアービタ部を通る必要があった
が、本発明の方式ではセレクタを通るだけでよく従来構
成におけるメモリアービタ6を必要としないため、1回
のアクセスについても、従来方式に比べて高速に行うこ
とができる。
(2) When performing the DMA transfer to the DRAM, it was necessary to pass through the memory arbiter section in the conventional method, but in the method of the present invention, it is only necessary to pass through the selector, and the memory arbiter 6 in the conventional configuration is required. Since this is not done, even one access can be performed faster than in the conventional method.

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

【図1】本発明の一実施例におけるDMAブロック転送
を行うシステムの構成例を示した図である。
FIG. 1 is a diagram showing a configuration example of a system for performing a DMA block transfer in an embodiment of the present invention.

【図2】本発明の一実施例におけるDMAブロック転送
のDRAMアクセスの様子を示す図である。
FIG. 2 is a diagram showing a state of a DRAM access in a DMA block transfer according to an embodiment of the present invention.

【図3】同じく、本発明の一実施例におけるDMAブロ
ック転送のDRAMアクセスの様子を示す図である。
FIG. 3 is a diagram showing a manner of DRAM access for DMA block transfer according to an embodiment of the present invention.

【図4】本発明の他の実施例におけるDMAバースト転
送を行うシステムの構成例を示す図である。
FIG. 4 is a diagram showing a configuration example of a system for performing a DMA burst transfer in another embodiment of the present invention.

【図5】図4のDMAバースト転送におけるDRAMア
クセスとリフレッシュ制御の様子を示す図である。
5 is a diagram showing a state of DRAM access and refresh control in the DMA burst transfer of FIG.

【図6】従来のDMAブロック転送を行うシステムの構
成図である。
FIG. 6 is a configuration diagram of a system for performing a conventional DMA block transfer.

【図7】従来のDMAブロック転送におけるDRAMア
クセスの様子を示す図である。
FIG. 7 is a diagram showing how a DRAM is accessed in a conventional DMA block transfer.

【図8】従来のDMAバースト転送を行うシステムの構
成図である。
FIG. 8 is a configuration diagram of a system for performing conventional DMA burst transfer.

【図9】従来のDMAバースト転送におけるDRAMア
クセスの様子を示す図である。
FIG. 9 is a diagram showing a state of DRAM access in a conventional DMA burst transfer.

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

1 DRAM 2 DRAMリフレッシュ回路 3 リフレッシュ用タイマ 4 リフレッシュ制御部 5 DMA制御回路 6 メモリアービタ 7 内部バス 8 MPU 9 バスアービタ 10 信号線 11 セレクタ 12 DMA転送期間通知用のバス t リフレッシュ用タイマで決められた時間間隔 T1 DMA転送を行っていない期間 T2 DMA転送を行っている期間 D1 1回のブロック転送長 D2 ブロック転送が終了し次のブロック転送が開始さ
れるまでの区間 D DMA転送を行っている区間
1 DRAM 2 DRAM refresh circuit 3 refresh timer 4 refresh controller 5 DMA control circuit 6 memory arbiter 7 internal bus 8 MPU 9 bus arbiter 10 signal line 11 selector 12 bus for notification of DMA transfer period t time determined by refresh timer Interval T1 period during which DMA transfer is not performed T2 period during which DMA transfer is performed D1 1 block transfer length D2 Period until block transfer ends and next block transfer starts D DMA transfer period

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 DRAM、DRAMリフレッシュ回路、
DRAMに対してデータの転送を行うDMA制御回路を
構成要素として持ち、1回のDMAブロック転送長がD
RAMのリフレッシュ間隔以下においてDMAブロック
転送を行うシステムにおいて、DMA転送を行っていな
い期間では決められた時間間隔でDRAMのリフレッシ
ュ動作を行い、DMA転送を行っている期間にあって
は、DRAMに対してデータ転送を行っている間はリフ
レッシュ動作を行わず、1回のブロック転送が終了し次
のブロック転送が開始されるまでの間にリフレッシュ動
作を行うことを特徴とするDRAMの制御方式。
1. A DRAM, a DRAM refresh circuit,
It has a DMA control circuit for transferring data to the DRAM as a constituent element, and the length of one DMA block transfer is D
In a system that performs a DMA block transfer at a refresh interval of the RAM or less, a DRAM refresh operation is performed at a predetermined time interval during a period in which no DMA transfer is performed, and a DRAM is transferred to the DRAM during a period in which a DMA transfer is performed. The DRAM control method is characterized in that the refresh operation is not performed while data transfer is being performed, and the refresh operation is performed until one block transfer ends and the next block transfer starts.
【請求項2】 DRAM、DRAMリフレッシュ回路、
DRAMに対してデータの転送を行うDMA制御回路、
MPUを構成要素として持ち、DMAバースト転送方式
によりDMA転送を行うシステムにおいて、DMA転送
を行わない期間では決められた時間間隔でDRAMのリ
フレッシュ動作を行い、DMA転送を行う期間ではリフ
レッシュ動作を行わず、そのDMA転送前にMPUから
DMAデータ転送を行う指示を受けて、DMAバースト
転送時間/上記通常のリフレッシュの間隔の回数だけ、
DMA転送を行う前にリフレッシュ動作を行うことを特
徴とするDRAMの制御方式。
2. A DRAM, a DRAM refresh circuit,
A DMA control circuit for transferring data to the DRAM,
In a system having an MPU as a constituent element and performing a DMA transfer by a DMA burst transfer method, a DRAM refresh operation is performed at a predetermined time interval during a period in which DMA transfer is not performed, and a refresh operation is not performed during a DMA transfer period. , An instruction to perform DMA data transfer from the MPU before the DMA transfer, and the number of times of the DMA burst transfer time / the above normal refresh interval,
A DRAM control method characterized by performing a refresh operation before performing a DMA transfer.
JP4163004A 1992-06-22 1992-06-22 Control system for dram Pending JPH064454A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4163004A JPH064454A (en) 1992-06-22 1992-06-22 Control system for dram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4163004A JPH064454A (en) 1992-06-22 1992-06-22 Control system for dram

Publications (1)

Publication Number Publication Date
JPH064454A true JPH064454A (en) 1994-01-14

Family

ID=15765369

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4163004A Pending JPH064454A (en) 1992-06-22 1992-06-22 Control system for dram

Country Status (1)

Country Link
JP (1) JPH064454A (en)

Similar Documents

Publication Publication Date Title
US20070011397A1 (en) Dram with hidden refresh
US5542110A (en) DMA controller which releases buses to external devices without relinquishing the bus utility right
US20020069319A1 (en) Method and apparatus of event-driven based refresh for high performance memory controller
JPH064454A (en) Control system for dram
GB2365590A (en) Improved data procesing system for reducing idle clock cycles
JP2913099B2 (en) DRAM refresh device
JP3820831B2 (en) Memory control method and apparatus
JP3962850B2 (en) Control device for SDRAM
JPH0962640A (en) Access control method for shared memory
JPH04143993A (en) Dram controller
KR20010050234A (en) Addressing of a memory
JPH06111568A (en) Image memory device
JPH0991194A (en) Mediation system and mediation method
JP2616151B2 (en) Memory refresh circuit
JPS63247996A (en) Method for accessing memory
JPH06325570A (en) Dynamic memory refresh circuit
JP3230489B2 (en) Memory control circuit
JP2003132012A (en) System for bus control and method therefor
JP2600345B2 (en) Refresh delivery method for dynamic random access memory
JPH03266293A (en) Memory device
JPH05334176A (en) Memory access system
JPS60151894A (en) Refresh circuit of dynamic ram
JPH0785357B2 (en) DRAM refresh controller
JPH0850567A (en) Data transfer device
JPH05204832A (en) Dma bus arbitration system