[go: up one dir, main page]

JPH0434792A - Dram control system - Google Patents

Dram control system

Info

Publication number
JPH0434792A
JPH0434792A JP2142187A JP14218790A JPH0434792A JP H0434792 A JPH0434792 A JP H0434792A JP 2142187 A JP2142187 A JP 2142187A JP 14218790 A JP14218790 A JP 14218790A JP H0434792 A JPH0434792 A JP H0434792A
Authority
JP
Japan
Prior art keywords
refresh
dram
access
page
controller
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
JP2142187A
Other languages
Japanese (ja)
Inventor
Yutaka Shimizu
豊 清水
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2142187A priority Critical patent/JPH0434792A/en
Publication of JPH0434792A publication Critical patent/JPH0434792A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1605Handling requests for interconnection or transfer for access to memory bus based on arbitration
    • G06F13/161Handling requests for interconnection or transfer for access to memory bus based on arbitration with latency improvement
    • G06F13/1636Handling requests for interconnection or transfer for access to memory bus based on arbitration with latency improvement using refresh

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Memory System (AREA)
  • Dram (AREA)

Abstract

PURPOSE:To reduce the interruption of a page access caused by refresh by adding a refresh management function to a DRAM controller, and refreshing collectively in these idle hours when there is no access to the DRAM before the refresh request generated periodically. CONSTITUTION:A refresh management means 4 is provided with the DRAM controller to count the number of the request and execution of the refresh. When judging no access to the DRAM is present thereon before the refresh request generated periodically by the refresh management means 4, the plural numbers of refresh are performed at a time, and high-speed access control is preferentially executed without performing the refresh even when the refresh request is generated as much as the refresh performed in advance. Thus, the efficiency of a control system can be improved by reducing the confliction between the access and the refresh and reducing the interruption of the page access caused by the insertion of a refresh cycle.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、リフレッシュとの競合を減らし、制御系のシ
ステム効率の向上を図ることができる、高速アクセスモ
ードを用いたダイナミックRAMの制御方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a dynamic RAM control method using a high-speed access mode, which can reduce contention with refresh and improve system efficiency of a control system. .

〔従来の技術〕[Conventional technology]

ダイナミックRAM(DRAM)は、電荷蓄積用の容量
素子と電荷入出力制御用MOS F ETの2素子から
なり、記憶情報は容量素子に蓄積された電荷で表わされ
るが、MOSFETの漏れ電流や半導体基板表面での再
結合により蓄積電荷は時間の経過に伴って減衰する。こ
のために、一定時間毎に記憶情報を更新するリフレッシ
ュ動作が必要となる。
Dynamic RAM (DRAM) consists of two elements: a capacitive element for charge storage and a MOSFET for charge input/output control. Storage information is represented by the charge accumulated in the capacitive element, but leakage current of the MOSFET and semiconductor substrate The accumulated charge decays over time due to recombination at the surface. For this reason, a refresh operation is required to update the stored information at regular intervals.

通常のDRAMでは、RA S (row  addr
essstrobe)およびCA S (column
  address  5trob)の外部クロック信
号を設け、先ずロウ・アドレスを印加した後、RASを
入力すると、アドレス信号が内部に取り込まれて、ロウ
・アドレスとしてラッチされる0次に、カラム・アドレ
スを同一アドレスビンに印加してCASを入力すると、
同じようにしてカラム・アドレスがラッチされる。この
方法を用いることにより、ビン数を減らしてパッケージ
を小型にすることができる。
In normal DRAM, RA S (row addr
essstrobe) and CA S (column
When an external clock signal (address 5trobe) is provided, first a row address is applied, and then RAS is input, the address signal is taken internally and latched as a row address. Applying to the bin and inputting CAS,
Column addresses are latched in the same way. By using this method, the number of bottles can be reduced and the package can be made smaller.

ロウ・アドレスの入力により特定の行を選択し、その行
の全メモリセルとビット線群とを接続した後、ビット線
群に連続してアクセスすることにより、同一行のメモリ
セルに連続して、高速にアクセスするモードが開発され
ている。この中のページモードでは、CASおよびカラ
ム・アドレスを繰り返し入力し、次々と同一行内のメモ
リセルに連続してアクセスすることが可能である。すな
わち、最初を除いてロウ・アドレスとRASの入力を省
略できるので、高速アクセスが可能である。
After selecting a specific row by inputting a row address and connecting all the memory cells in that row to the bit line group, by accessing the bit line group consecutively, the memory cells in the same row can be accessed consecutively. , a fast access mode has been developed. In the page mode, it is possible to repeatedly input a CAS and a column address to successively access memory cells in the same row one after another. That is, since input of the row address and RAS can be omitted except at the beginning, high-speed access is possible.

また、スタティックカラムモードでは、さらにCAS入
力を省略し、カラム・アドレスが確定すると直ちに対応
するメモリセルへのアクセスが実行される。カラム・ア
ドレスだけの変更により、次々と異なるメモリセルにア
クセスすることができる。
Furthermore, in the static column mode, CAS input is further omitted, and as soon as the column address is determined, access to the corresponding memory cell is executed. By changing only the column address, different memory cells can be accessed one after another.

このように、これらの高速アクセス方式では、同一ペー
ジ内のアクセスが連続すれば、2回目以降のアクセスの
際にロウ・アドレスの制御が不要となり、その分だけメ
モリサイクルを速くできる。
In this way, in these high-speed access methods, if accesses within the same page are made consecutively, row address control is not required for the second and subsequent accesses, and the memory cycle can be sped up accordingly.

第5図は、従来のDRAMアクセス制御機構のブロック
図であり、第6図は、第513!lにおけるDRAMコ
ントローラの詳細ブロック図である。
FIG. 5 is a block diagram of a conventional DRAM access control mechanism, and FIG. 6 is a block diagram of a conventional DRAM access control mechanism. 1 is a detailed block diagram of a DRAM controller in FIG.

第5図において、マイクロ・プロセッサ10はプログラ
ムを実行することにより、DRAMコントローラ11に
DRAM12へのアクセス指令を与える。
In FIG. 5, a microprocessor 10 issues an access command to a DRAM 12 to a DRAM controller 11 by executing a program.

第6図に示すように、DRAMコントローラ11は、ホ
スト側インタフェースi / fとメモリ側インタフェ
ースi / fの間に、ロウ・アドレス比較部1とメモ
リ制御部2とリフレッシュ・タイマー3を設けている。
As shown in FIG. 6, the DRAM controller 11 includes a row address comparison section 1, a memory control section 2, and a refresh timer 3 between the host side interface i/f and the memory side interface i/f. .

ロウ・アドレス比較部では、前サイクルのロウ・アドレ
スが保持されており、連続するサイクルのロウ・アドレ
スを比較し、その結果をメモリ制御部2に伝える。メモ
リ制御部2では、ページ内のアクセスであれば、RAS
はアクティブのままで保持し、カラム・アドレスの制御
を行う、ページ外のアクセスであれば、RASを一旦イ
ンアクティブにして、RASプリチャージ時間を保った
後にメモリ・アクセスを開始する。一方、リフレッシュ
・タイマー3からリフレッシュ要求があれば、ページ内
外に関係なくリフレッシュを優先して行う。
The row address comparison section holds the row address of the previous cycle, compares the row addresses of consecutive cycles, and transmits the result to the memory control section 2. In the memory control unit 2, if the access is within a page, the RAS
In the case of an off-page access in which the RAS is held active and the column address is controlled, the RAS is made inactive once and the RAS precharge time is maintained before memory access is started. On the other hand, if there is a refresh request from the refresh timer 3, refresh is performed with priority regardless of whether the page is inside or outside.

なお、これらの事項は、例えば、「電子情報通信ハンド
ブック」第1分冊、昭和63年3月30日(株)オーム
社発行、pp、 887〜892に記載されている。
These matters are described, for example, in "Electronic Information and Communication Handbook" Volume 1, published by Ohmsha Co., Ltd., March 30, 1988, pp. 887-892.

[発明が解決しようとする課題] 前述のように、従来の高速アクセス方式では、同一ペー
ジ内のアクセスが連続すれば、2回目以降のアクセスで
はロウ・アドレスの制御が不要となるので、その分だけ
メモリ・サイクルを速くすることができた。
[Problems to be Solved by the Invention] As mentioned above, in the conventional high-speed access method, if accesses within the same page are consecutive, row address control is not required for the second and subsequent accesses, so I was able to speed up memory cycles.

しかし、(a)同一ページ内のアクセスが連続するとき
でも、リフレッシュ・サイクルが途中に入ると、リフレ
ッシュ終了後に再びロウ・アドレスを指定し直さなけれ
ばならないため、そのサイクルは通常のアクセス・サイ
クルと同じ時間が必要になる。すなわち、リフレッシュ
・サイクルは高速アクセスの有効性を損ねる大きな要因
となっていた。
However, (a) even when accesses within the same page are continuous, if a refresh cycle enters in the middle, the row address must be specified again after the refresh is completed, so that cycle is not a normal access cycle. same amount of time is required. In other words, the refresh cycle has been a major factor that impairs the effectiveness of high-speed access.

また、(b)高速アクセス方式では、マイクロ・プロセ
ッサ10から次のアクセスがページ内外のいずれかとい
う情報を予め出力しないため、次のサイクルでアドレス
が確定してからこれを判断していた。そのため、ページ
の変わり目では、アドレスが確定後にRASをインアク
ティブにし、RASプリチャージ時間を保持した後でメ
モリ・アクセスを開始していたので、通常のアクセス・
サイクルよりも時間がかかるという問題があった。
Furthermore, in the (b) high-speed access method, since the microprocessor 10 does not output information in advance as to whether the next access will be inside or outside the page, this is determined after the address is determined in the next cycle. Therefore, at the page change, RAS was made inactive after the address was determined, and memory access was started after holding the RAS precharge time, so normal access
The problem was that it took longer than the cycle.

シーケンシャルなアドレスのアクセス時におけるページ
切替えのロス・タイムを減らしたいという要求がある。
There is a demand for reducing page switching loss time when accessing sequential addresses.

本発明の第1の目的は、従来の上記(a)の課題を解決
し、アクセスとリフレッシュの競合を減少させ、リフレ
ッシュ・サイクル挿入によるページ・アクセスの中断を
減らして、制御系のシステム効率を向上させることが可
能なりRAM制御方式を提供することにある。
The first object of the present invention is to solve the above-mentioned conventional problem (a), reduce contention between access and refresh, reduce interruption of page access due to refresh cycle insertion, and improve system efficiency of the control system. The object of the present invention is to provide a RAM control method that can be improved.

また、本発明の第2の目的は、従来の上記(b)の課題
を解決し、シーケンシャルなアドレスのアクセス時で、
ページ切替えのロス・タイムをなくし、制御系のシステ
ム効率を向上させることが可能なりRAM制御方式を提
供することにある。
Further, a second object of the present invention is to solve the conventional problem (b) above, and when accessing sequential addresses,
It is an object of the present invention to provide a RAM control method capable of eliminating loss time during page switching and improving system efficiency of a control system.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するため、本発明のDRAM制御方式は
、(イ)DRAMコントローラに、リフレッシュ要求と
リフレッシュ実行の回数をカウントするリフレッシュ管
理手段を設け、リフレッシュ管理手段が、定期的に発生
するリフレッシュ要求より前にDRAMにアクセスがな
いことを判断したときには、まとめて複数回分リフレッ
シュを行い、リフレッシュを先に行った分だけリフレッ
シュ要求が発生しても、リフレッシュを行うことなく、
高速アクセス制御を優先して実行することに特徴がある
。また、(ロ)DRAMコントローラに、カラム・アド
レスを監視してページ・エンドを検出し、これを予告す
るページ・エンド予告手段を設け、ページ・エンド予告
手段は、次にアクセスするカラム・アドレスが最大値で
あることを検出したとき、次のサイクルはページ外への
アクセスであることを予告することにより、次のサイク
ルのロウ・アドレスの比較を待つことなく、ページ内ア
クセスを終了させることに特徴がある。
In order to achieve the above object, the DRAM control method of the present invention provides: (a) the DRAM controller is provided with refresh management means for counting the number of refresh requests and refresh executions; If it is determined that there is no access to the DRAM earlier, refresh is performed multiple times at once, and even if a refresh request is generated for the refresh performed earlier, the refresh is not performed.
The feature is that high-speed access control is prioritized and executed. (b) The DRAM controller is provided with a page end notice means that monitors column addresses, detects a page end, and foretells this, and the page end notice means indicates that the next column address to be accessed is When the maximum value is detected, the in-page access is terminated without waiting for the next cycle's row address comparison by forewarning that the next cycle will be an out-of-page access. It has characteristics.

〔作  用〕[For production]

本発明においては、(イ)高速アクセス機能を有するD
RAMコントローラに、リフレッシュ管理機能を付加し
、定期的に発生するリフレッシュ要求より前に、DRA
Mにアクセスがなければ、この空き時間にまとめてリフ
レッシュを行い、リフレッシュを先に行った分だけ、リ
フレッシュ要求が発生してもそのリフレッシュを行わず
に、アクセスを優先して行う。これにより、リフレッシ
ュによるページ・アクセスの中断を少なくすることがで
きる。また、(ロ)高速アクセス機能を有するDRAM
コントローラに、ページ・エンド予告機能を付加し、カ
ラム・アドレスを監視することにより、カラム・アドレ
スが最大値であることを検出すると、次のサイクルはペ
ージ外へのアクセスと予告し、次のサイクルのロウ・ア
ドレスと比較を待たずにページ・アクセスを終了する。
In the present invention, (a) D having a high-speed access function;
A refresh management function is added to the RAM controller, and the DRA
If there is no access to M, refresh is performed all at once during this free time, and even if a refresh request occurs, the refresh is not performed and the access is given priority by the amount of refresh performed earlier. This makes it possible to reduce interruptions in page access due to refreshes. (b) DRAM with high-speed access function
By adding a page end warning function to the controller and monitoring the column address, when it detects that the column address is at its maximum value, it announces that the next cycle will be an access outside the page, and starts the next cycle. The page access ends without waiting for comparison with the row address of .

これにより、ページ・チェンジのタイミングを早めるこ
とができる。
This allows the page change timing to be accelerated.

〔実施例〕〔Example〕

以下、本発明の実施例を、図面により詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は、本発明の第1の実施例を示すDRAMコント
ローラの構成図である。
FIG. 1 is a block diagram of a DRAM controller showing a first embodiment of the present invention.

第1図に示すように、本実施例では、従来の第4図と比
べて、メモリ制御部2とリフレッシュ・タイマー3の間
にリフレッシュ管理部4を設けた点が異なる。リフレッ
シュ管理部4には、リフレッシュ・タイマー3からのリ
フレッシュ要求でカウント・アップし、メモリ制御部2
がリフレッシュを行うとカウント・ダウンするようなア
ップ・ダウン・カウンターが内蔵される。
As shown in FIG. 1, this embodiment differs from the conventional system shown in FIG. 4 in that a refresh management section 4 is provided between a memory control section 2 and a refresh timer 3. The refresh management unit 4 counts up in response to a refresh request from the refresh timer 3, and the memory control unit 2
It has a built-in up/down counter that counts down when it refreshes.

リフレッシュ・タイマー3からリフレッシュ要求だけで
リフレッシュを行っていれば、アップ・ダウン・カウン
タのカウント値は、+1と−1の繰り返しとなる。しか
し、本実施例では、リフレッシュ・タイマー3からのリ
フレッシュ要求がなくても、DRAMにアクセスがない
場合には、リフレッシュを行うので、この場合にはアッ
プ・ダラン・カウンタのカウント値は減少する。
If refresh is performed only by a refresh request from the refresh timer 3, the count value of the up/down counter will repeat +1 and -1. However, in this embodiment, even if there is no refresh request from the refresh timer 3, refresh is performed if there is no access to the DRAM, so in this case the count value of the up-drain counter decreases.

さらに、本実施例では、リフレッシュ・タイマー3から
のリフレッシュ要求があっても、カウント値が最大値で
ない場合には、連続アクセス続行中の際には、リフレッ
シュを行わないことがある。
Furthermore, in this embodiment, even if there is a refresh request from the refresh timer 3, if the count value is not the maximum value, refresh may not be performed while continuous access is being continued.

この場合には、アップ・ダウン・カウンタのカウント値
は増加する。
In this case, the count value of the up/down counter increases.

初期状態のカウント値を最大にしておけば、リフレッシ
ュを先に行った分だけ、リフレッシュ・タイマー3から
のリフレッシュ要求があっても、アクセスを優先させる
ことができる。さらに、カウント値が最小の場合には、
DRAMにアクセスがなくても、リフレッシュを行わな
ければ、余計なリフレッシュをする必要はない。
By setting the initial count value to the maximum, priority can be given to access even if there is a refresh request from the refresh timer 3 by the amount of refresh performed first. Furthermore, if the count value is the minimum,
Even if the DRAM is not accessed, there is no need to perform additional refresh if no refresh is performed.

第3図は、第1の実施例におけるアップ・ダウン・カウ
ンタのシーケンス・チャートである。
FIG. 3 is a sequence chart of the up/down counter in the first embodiment.

第3図の縦軸で、リフレッシュ・タイマー3からのリフ
レッシュ要求があると、アップ・ダウン・カウンタは+
1だけアップし、DRAMコントローラ2がリフレッシ
ュを行うと、アップ・ダウン・カウンタは−1だけダウ
ンする。mは最大カウント値、0は最小カウント値であ
る。縦軸は経過時間であって、Tはリフレッシュ・サイ
クルである。
On the vertical axis in Figure 3, when there is a refresh request from refresh timer 3, the up/down counter goes +
When the DRAM controller 2 increments by 1 and refreshes, the up/down counter decrements by -1. m is the maximum count value, and 0 is the minimum count value. The vertical axis is the elapsed time, and T is the refresh cycle.

■はリフレッシュ要求毎にリフレッシュを行った場合の
カウンタの動作、■は本実施例に基づき、アクセスのな
い場合、または最初にまとめてリフレッシュを行ってお
く場合のカウンタの動作を示している。また、斜線の部
分は、同一ページ内の連続アクセスがある期間を示して
いる。
(2) shows the operation of the counter when refresh is performed for each refresh request, and (2) shows the operation of the counter when there is no access or when refresh is performed all at once based on this embodiment. Furthermore, the diagonally shaded portion indicates a period in which there is continuous access within the same page.

先ず、■の場合には、リフレッシュ・サイクルが経過す
る前にリフレッシュ要求があるので、DRAMコントロ
ーラがリフレッシュを行い、次に1時間経過したとき、
リフレッシュ要求があるので、その度毎にリフレッシュ
を行う。この場合には、カウンタの値は繰返し発生する
パルス波形となる。従って、この場合には、斜線の期間
に同一ページ内のアクセスがあっても、途中でリフレッ
シュが挿入されるので、○の箇所では再度、ロウ・アド
レスを指定し直す必要があり、高速アクセスにはならず
、通常のアクセス・サイクルと同じ時間がかかってしま
う。
First, in the case of ■, there is a refresh request before the refresh cycle has elapsed, so the DRAM controller performs the refresh, and then when one hour has passed,
Since there is a refresh request, refresh is performed each time. In this case, the counter value becomes a pulse waveform that is repeatedly generated. Therefore, in this case, even if there is an access to the same page during the hatched period, a refresh will be inserted in the middle, so it is necessary to specify the row address again at the point marked with ○, resulting in high-speed access. Instead, it takes the same amount of time as a normal access cycle.

これに対して、本実施例のように、まとめてリフレッシ
ュを行う場合(■の場合)には、最初にリフレッシュ要
求のあった時点で、リフレッシュを3回続けて行ってし
まう。最大値のmに達するまでの回数は、連続して行う
ことができる。次には、3T後にリフレッシュ要求があ
った時点で1回リフレッシュを行う。第3図では、リフ
レッシュ・サイクルの3倍の期間だけはリフレッシュを
行わなくてもよいため、その間、斜線の部分で同一ペー
ジ内の連続アクセスがあっても、リフレッシュに中断さ
れる心配がない。
On the other hand, when refresh is performed all at once as in this embodiment (case ◯), refresh is performed three times in succession at the time when a refresh request is first made. The process can be performed continuously until the maximum value m is reached. Next, refresh is performed once when a refresh request is received after 3T. In FIG. 3, it is not necessary to perform refresh for a period that is three times the refresh cycle, so even if there is continuous access within the same page in the shaded area during that period, there is no fear that refresh will be interrupted.

第2図は、本発明の第2の実施例を示すDRAMコント
ローラの構成図である。
FIG. 2 is a block diagram of a DRAM controller showing a second embodiment of the present invention.

第2図においては、従来の第4図に比較して、ページ・
エンド予告部5が新たに設けられている。
In Fig. 2, compared to the conventional Fig. 4, the page
An end notice section 5 is newly provided.

ページ・エンド予告部5は、メモリ・アクセス時のカラ
ム・アドレスをカラム・アドレスの最大値と比較し、そ
の結果をメモリ制御部2に伝達する。
The page end notification unit 5 compares the column address at the time of memory access with the maximum value of the column address, and transmits the result to the memory control unit 2.

メモリ制御部2は、カラム・アドレスが最大値でなけれ
ば、通常通り次のサイクルのロウ・アドレスの比較で、
ページ・アクセスが続くか否がを判断するが、カラム・
アドレスが最大値であれば、そのメモリ・サイクルでペ
ージ・アクセスが終了すると予想する。すなわち、この
場合、DRAMコントローラ2では、次のサイクルのロ
ウ・アドレスの比較を待たずに、そのサイクルが終了す
るまでにRASをインアクティブにしてRASプリチャ
ージを行う。このようにして、RASプリチャージを早
めることにより、シーケンスシャルなアドレスのアクセ
ス時のページ切替のロス・タイムを減らすことができる
If the column address is not the maximum value, the memory control unit 2 compares the row address of the next cycle as usual.
This determines whether the page access continues or not.
If the address is the maximum value, we expect the page access to end in that memory cycle. That is, in this case, the DRAM controller 2 performs RAS precharge by inactivating the RAS before the end of the next cycle, without waiting for the row address comparison of the next cycle. In this way, by speeding up RAS precharging, it is possible to reduce page switching loss time when sequential addresses are accessed.

第4図は、本発明の第2の実施例の動作フローチャート
である。
FIG. 4 is an operation flowchart of the second embodiment of the present invention.

ページ・エンド予告部5において、メモリ・アクセス時
のカラム・アドレスが最大値であるが否かを判断し、そ
の結果がメモリ制御部2に伝達される(ステップ101
)。ページ・エンドの予告がなければ、ロウ・アドレス
比較部1で、通常通りに次のサイクルのロウ・アドレス
を比較しくステツブ102)、ページ・アクセスが続く
か否かを判断する(ステップ103)。そして、その結
果をメモリ制御部2に伝達する。メモリ制御部2では、
ページ外のアクセスであれば、RASを一旦インアクテ
ィブにして(ステップ105)、RASプリチャージ時
間を保った後(ステップ106)、メモリ・アクセスを
開始する(ステップ107)。そして、上位装置である
マイクロ・プロセッサ10から次のアクセス指令が来て
いるときには(ステップ10B)、再びステップ101
に戻って同じ動作を繰り返し行う。アクセス指令がなけ
れば、処理を終了する。
The page end notification unit 5 determines whether the column address at the time of memory access is the maximum value or not, and the result is transmitted to the memory control unit 2 (step 101).
). If there is no notice of the page end, the row address comparator 1 compares the row address of the next cycle as usual (step 102), and determines whether the page access continues (step 103). Then, the result is transmitted to the memory control section 2. In the memory control unit 2,
If it is an off-page access, RAS is once made inactive (step 105), the RAS precharge time is maintained (step 106), and then memory access is started (step 107). Then, when the next access command comes from the microprocessor 10, which is a host device (step 10B), the process returns to step 101.
Go back and repeat the same action. If there is no access command, the process ends.

本実施例では、ページ・エンドが確認されてから、RA
Sをインアクティブにして、RASプリチャージを行う
のでは、その時間遅くなるので、ページ・エンド予告部
5により予め比較してページ・エンドであるか否かを判
断しておく。もし、ページ・エンドであれば、次のサイ
クルのロウ・アドレスの比較を待たずに、そのサイクル
が終了するまでにRASをインアクティブにしくステッ
プ105)、RASプリチャージを行う(ステップ10
6)。RASプリチャージの後、直ちにメモリ・アクセ
スを開始する(ステップ107)。RASプリチャージ
が早まることにより、その分だけページ切替のロス・タ
イムが減少する。
In this example, after the page end is confirmed, the RA
If S is made inactive and RAS precharge is performed, the time will be delayed, so the page end notification unit 5 compares in advance to determine whether or not it is the page end. If it is the page end, RAS is made inactive by the end of that cycle without waiting for the next cycle's row address comparison (step 105), and RAS precharge is performed (step 10).
6). Immediately after RAS precharge, memory access begins (step 107). By accelerating RAS precharging, the loss time for page switching is reduced accordingly.

[発明の効果] 以上説明したように、本発明によれば、高速アクセスの
有効性を損ねる要因であるリフレッシュを管理するので
、アクセスとリフレッシュの競合を減少させ、リフレッ
シュ・サイクル挿入によるページ・アクセスの中断を減
らすことができ、制御系の効率を向上させることが可能
である。また、カラム・アドレスを監視することにより
、シーケンシャルなアドレスのアクセス時で、ページ切
替えの際のロス・タイムをなくすことができ、これによ
っても制御系の効率を向上させることが可能である。
[Effects of the Invention] As explained above, according to the present invention, refresh, which is a factor that impairs the effectiveness of high-speed access, is managed, so contention between access and refresh is reduced, and page access due to refresh cycle insertion is reduced. It is possible to reduce the number of interruptions and improve the efficiency of the control system. Furthermore, by monitoring column addresses, it is possible to eliminate loss time when switching pages during sequential address access, and this also makes it possible to improve the efficiency of the control system.

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

第1図は本発明の第1の実施例を示すDRAMコントロ
ーラの構成図、第2図は本発明の第2の実施例を示すD
RAMコントローラの構成図、第3図は第1図における
リフレッシュ管理部のアップ・ダウン・カウンタの動作
シーケンスチャート、第4図は第2図におけるDRAM
コントローラの動作フローチャート、第5図は従来のメ
モリシステムのブロック図、第6図は従来のDRAMコ
ントローラの構成図である。 1:ロウ・アドレス比較部、2:メモリ制御部、3:リ
フレッシュ・タイマー、4:リフレッシュ管理部、5:
ページ・エンド予告部、10;マイクロ・プロセッサ、
11:DRAMコントローラ、12:DRAM、13:
バス。 第 図 第 図 第 図
FIG. 1 is a configuration diagram of a DRAM controller showing a first embodiment of the present invention, and FIG. 2 is a diagram showing a DRAM controller according to a second embodiment of the present invention.
A configuration diagram of the RAM controller, FIG. 3 is an operation sequence chart of the up/down counter of the refresh management section in FIG. 1, and FIG. 4 is a diagram of the DRAM in FIG. 2.
FIG. 5 is a block diagram of a conventional memory system, and FIG. 6 is a configuration diagram of a conventional DRAM controller. 1: Row address comparison section, 2: Memory control section, 3: Refresh timer, 4: Refresh management section, 5:
Page end notice section, 10; microprocessor,
11: DRAM controller, 12: DRAM, 13:
bus. Figure Figure Figure Figure

Claims (2)

【特許請求の範囲】[Claims] (1)マイクロ・プロセッサが読み書きするDRAMと
、該DRAMに対してページ・モードないしスタティッ
ク・カラム・モードで高速アクセス制御を行うDRAM
コントローラとを有するDRAM制御方式において、上
記DRAMコントローラに、リフレッシュ要求とリフレ
ッシュ実行の回数をカウントするリフレッシュ管理手段
を設け、該リフレッシュ管理手段が、定期的に発生する
リフレッシュ要求より前にDRAMにアクセスがないこ
とを判断したときには、まとめて複数回分リフレッシュ
を行い、リフレッシュを先に行った分だけリフレッシュ
要求が発生しても、リフレッシュを行うことなく、上記
高速アクセス制御を優先して実行することを特徴とする
DRAM制御方式。
(1) A DRAM that is read and written by a microprocessor, and a DRAM that performs high-speed access control in page mode or static column mode.
In a DRAM control system having a controller, the DRAM controller is provided with refresh management means for counting the number of refresh requests and refresh executions, and the refresh management means is configured to access the DRAM before a refresh request that is periodically generated. When it is determined that there is no refresh, the refresh is performed multiple times at once, and even if a refresh request is generated for the refresh performed earlier, the high-speed access control described above is executed with priority without performing the refresh. DRAM control method.
(2)マイクロ・プロセッサが読み書きするDRAMと
、該DRAMに対してページ・モードないしスタティッ
ク・カラム・モードで高速アクセス制御を行うDRAM
コントローラとを有するDRAM制御方式において、上
記DRAMコントローラに、カラム・アドレスを監視し
てページ・エンドを検出し、これを予告するページ・エ
ンド予告手段を設け、該ページ・エンド予告手段は、次
にアクセスするカラム・アドレスが最大値であることを
検出したとき、次のサイクルはページ外へのアクセスで
あることを予告することにより、次のサイクルのロウ・
アドレスの比較を待つことなく、ページ内アクセスを終
了させることを特徴とするDRAM制御方式。
(2) A DRAM that is read and written by a microprocessor, and a DRAM that performs high-speed access control in page mode or static column mode.
In a DRAM control method having a controller, the DRAM controller is provided with a page end notice means for detecting a page end by monitoring column addresses and foretelling this, and the page end notice means performs the following steps. When it is detected that the column address to be accessed is the maximum value, the next cycle's row address is
A DRAM control method characterized by terminating intra-page access without waiting for address comparison.
JP2142187A 1990-05-30 1990-05-30 Dram control system Pending JPH0434792A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2142187A JPH0434792A (en) 1990-05-30 1990-05-30 Dram control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2142187A JPH0434792A (en) 1990-05-30 1990-05-30 Dram control system

Publications (1)

Publication Number Publication Date
JPH0434792A true JPH0434792A (en) 1992-02-05

Family

ID=15309411

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2142187A Pending JPH0434792A (en) 1990-05-30 1990-05-30 Dram control system

Country Status (1)

Country Link
JP (1) JPH0434792A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008522339A (en) * 2004-11-24 2008-06-26 クゥアルコム・インコーポレイテッド Method and system for minimizing the effect of refresh operations on volatile memory performance

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008522339A (en) * 2004-11-24 2008-06-26 クゥアルコム・インコーポレイテッド Method and system for minimizing the effect of refresh operations on volatile memory performance
JP2011018435A (en) * 2004-11-24 2011-01-27 Qualcomm Inc Method and system for minimizing impact of refresh operation on volatile memory performance
US7930471B2 (en) 2004-11-24 2011-04-19 Qualcomm Incorporated Method and system for minimizing impact of refresh operations on volatile memory performance
US8171211B2 (en) 2004-11-24 2012-05-01 Qualcomm Incorporated Method and system for minimizing impact of refresh operations on volatile memory performance

Similar Documents

Publication Publication Date Title
JP6169658B2 (en) Directed automatic refresh synchronization
KR100266885B1 (en) Memory refresh system
RU2665883C2 (en) Method and system for update of dynamic random access memory (dram) and device
US7603512B2 (en) Dynamic memory refresh controller, memory system including the same and method of controlling refresh of dynamic memory
US5583823A (en) Dram refresh circuit
KR20070027620A (en) Method and system for providing directed bank refresh for volatile memories
KR20090071672A (en) Method and system for minimizing the effects of refresh operations on volatile memory performance
US6941415B1 (en) DRAM with hidden refresh
CN110556139B (en) Circuit for controlling memory and related method
JP3922487B2 (en) Memory control apparatus and method
JPH0434792A (en) Dram control system
EP0794497A2 (en) Memory refresh control method and apparatus
JP2000030452A (en) Memory device of input/output having command stacking and high and narrow frequency band width
CN114564423A (en) DRAM access system based on mirror image storage
JP3939858B2 (en) Synchronous DRAM access method, interface circuit, and semiconductor integrated circuit device
JP2001135079A (en) Memory control device
JPS63114000A (en) Control system for dynamic random access memory
JPH08129883A (en) D-RAM refresh control method
JPH117763A (en) Method for refresh control to dram and circuit therefor
KR0183813B1 (en) DMA Refresh Controller
JP3962850B2 (en) Control device for SDRAM
JPH04362593A (en) Refreshing control system for dram
JPH09297990A (en) Memory refresh control method and memory refresh controller
JP2570271B2 (en) Semiconductor memory controller
JPS63247996A (en) Memory access method