JPH09198863A - Memory control apparatus - Google Patents

Memory control apparatus

Info

Publication number
JPH09198863A
JPH09198863A JP8009995A JP999596A JPH09198863A JP H09198863 A JPH09198863 A JP H09198863A JP 8009995 A JP8009995 A JP 8009995A JP 999596 A JP999596 A JP 999596A JP H09198863 A JPH09198863 A JP H09198863A
Authority
JP
Japan
Prior art keywords
refresh
cycle
access
memory control
counter
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
JP8009995A
Other languages
Japanese (ja)
Inventor
Hidenori Matsuo
秀則 松尾
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP8009995A priority Critical patent/JPH09198863A/en
Publication of JPH09198863A publication Critical patent/JPH09198863A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

PROBLEM TO BE SOLVED: To provide a control apparatus by which data in one block portion is transferred continuously without being interrupted halfway, which reduces noise and which prevents power consumption from being concentrated. SOLUTION: An access-suspension-period measuring part 1 receives a transfer request signal, and it identifies an access suspension period in which the transfer request signal is not sent out. A refresh number-of-times and cycle decision part 2 computes the number of times of refresh operations to be executed during one access cycle. In addition, during the access suspension period which is discriminated by the accesss-suspension-period measuring part 1, a refresh cycle in which refresh operations are performed the computed number of times is decided. A memory control part 3 performs refresh operations by the required number of times at the refresh cycle decided by the refresh number-of-times and cycle decision part 2 in such a way that the refresh operations are dispersed in the access suspension period.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、DRAM等から構
成されるメモリ装置を制御するメモリ制御装置に関する
ものであり、特に、メモリ装置のリフレッシュ方式を改
善したメモリ制御装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory control device for controlling a memory device composed of a DRAM or the like, and more particularly to a memory control device having an improved refresh system for the memory device.

【0002】[0002]

【従来の技術】従来、公知のメモリ制御装置としては、
特開平6−111568号公報に記載されているよう
に、1ライン分のデータを途中で途切れることなく連続
的に転送しておき、その転送中に発生したリフレッシュ
リクエストの回数をカウントしておいて、1ライン分の
データ転送終了後、実施できなかった回数分のリフレッ
シュを連続して行なうようにしたものがある。これによ
り、1ライン分の画像データの連続した処理が可能とな
り、制御回路などを簡素化することができる。
2. Description of the Related Art Conventionally known memory control devices include:
As described in JP-A-6-111568, data for one line is continuously transferred without interruption in the middle, and the number of refresh requests generated during the transfer is counted. There is a system in which after the data transfer for one line is completed, the number of refreshes that cannot be performed is continuously performed. As a result, the image data for one line can be continuously processed, and the control circuit and the like can be simplified.

【0003】しかしながら、この従来の装置において
は、1ライン分のデータを転送終了後、実施できなかっ
た回数分のリフレッシュを連続して行なうために、スイ
ッチングノイズが増加し、また、消費電力の集中が生じ
るという問題がある。また、複数のDRAMを用いた装
置においては、リフレッシュタイミングをずらすことが
できず、瞬間的な消費電力の増加等により、ノイズの発
生、電源グランドの変動等による他の回路への誤動作の
原因となることがあるなどの欠点があった。
However, in this conventional device, switching noise is increased and power consumption is concentrated because refreshing is performed continuously for a number of times that could not be performed after the transfer of data for one line is completed. There is a problem that occurs. Further, in a device using a plurality of DRAMs, the refresh timing cannot be staggered, and due to momentary increase in power consumption, noise may be generated, which may cause malfunctions in other circuits due to fluctuations in the power supply ground. There were some drawbacks such as

【0004】[0004]

【発明が解決しようとする課題】本発明は、上述した事
情に鑑みてなされたもので、アクセス休止期間を測定
し、リフレッシュ回数と周期を求めることで、1ブロッ
ク分のデータは途中で途切れることなく連続的に転送す
るとともに、アクセス休止期間に合わせた回数と周期の
リフレッシュを行なうことで、消費電力の集中をなく
し、複数のDRAMを用いた装置においては、リフレッ
シュタイミングを任意にずらすことが容易にできるメモ
リ制御装置を提供することを目的とするものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned circumstances, and one block of data is interrupted on the way by measuring the access suspension period and obtaining the refresh count and the cycle. Continuous transfer without refreshing and refreshing the number of cycles and the period according to the access suspension period to eliminate the concentration of power consumption, and in a device using a plurality of DRAMs, it is easy to shift the refresh timing arbitrarily. It is an object of the present invention to provide a memory control device capable of achieving the above.

【0005】[0005]

【課題を解決するための手段】請求項1に記載の発明
は、所定周期ごとに連続してデータをアクセス可能なダ
イナミックメモリのメモリ制御装置において、アクセス
休止期間を予測するアクセス休止期間測定手段と、予測
した該アクセス休止期間と前記所定周期とに基づいてア
クセス休止期間中に行なうリフレッシュの必要回数と間
隔を決定するリフレッシュ回数・周期決定手段と、決定
された間隔で必要回数だけ前記ダイナミックメモリのリ
フレッシュを行なうメモリ制御手段を有することを特徴
とするものである。
According to a first aspect of the present invention, there is provided an access pause period measuring means for predicting an access pause period in a memory control device of a dynamic memory capable of continuously accessing data at every predetermined cycle. Refresh frequency / cycle determining means for determining a necessary number and interval of refresh operations performed during the access suspend period based on the predicted access suspend period and the predetermined cycle, and a dynamic memory of the dynamic memory for the required number of times at the determined interval. It is characterized by having a memory control means for refreshing.

【0006】請求項2に記載の発明は、請求項1に記載
のメモリ制御装置において、連続してデータをアクセス
する周期を測定するアクセス周期測定手段をさらに有
し、前記リフレッシュ回数・周期決定手段は、前記アク
セス周期測定手段で測定された周期を用いて前記リフレ
ッシュの必要回数と間隔を決定することを特徴とするも
のである。
According to a second aspect of the present invention, in the memory control device according to the first aspect, there is further provided an access cycle measuring means for measuring a cycle of continuously accessing data, and the refresh frequency / cycle determining means. Is characterized in that the required number of times and the interval of the refresh are determined by using the cycle measured by the access cycle measuring means.

【0007】請求項3に記載の発明は、請求項1または
2に記載のメモリ制御装置において、前記ダイナミック
メモリと対応する前記メモリ制御手段の組を複数組有
し、また、前記リフレッシュ回数・周期決定手段によっ
て決定された前記リフレッシュの必要回数と間隔に基づ
き前記各ダイナミックメモリのリフレッシュが重ならな
いようにリフレッシュのタイミングを変更するリフレッ
シュ回数・周期変更手段をさらに有することを特徴とす
るものである。
According to a third aspect of the present invention, in the memory control device according to the first or second aspect, a plurality of sets of the memory control means corresponding to the dynamic memory are provided, and the refresh frequency / cycle is set. It is characterized by further comprising refresh number / cycle changing means for changing the refresh timing so that the refreshes of the respective dynamic memories do not overlap with each other based on the required number of refreshes and the interval determined by the determining means.

【0008】[0008]

【発明の実施の形態】図1は、本発明のメモリ制御装置
の第1の実施の形態を示すブロック図である。図中、1
はアクセス休止期間測定部、2はリフレッシュ回数・周
期決定部、3はメモリ制御部、4はダイナミックメモリ
である。アクセス休止期間測定部1は、転送要求信号を
受け取り、転送要求信号の送出されていないアクセス休
止期間を判別する。リフレッシュ回数・周期決定部2
は、アクセス周期を受け取り、1回のアクセス周期の間
に行なうべきリフレッシュの回数を算出する。さらに、
アクセス休止期間測定部1で判別されたアクセス休止期
間中に、算出した回数だけのリフレッシュを行なうため
のリフレッシュの周期を決定する。メモリ制御部3は、
リフレッシュ回数・周期決定部2で決定されたリフレッ
シュの周期で、必要回数だけのリフレッシュをアクセス
休止期間中に行なう。このとき、アクセスを行なってい
る間ではリフレッシュを行なわない。そのため、連続し
たデータ転送が可能である。
1 is a block diagram showing a first embodiment of a memory control device of the present invention. In the figure, 1
Is an access suspension period measuring unit, 2 is a refresh frequency / cycle determining unit, 3 is a memory control unit, and 4 is a dynamic memory. The access suspension period measuring unit 1 receives the transfer request signal and determines the access suspension period in which the transfer request signal is not transmitted. Refresh frequency / cycle determination unit 2
Receives the access cycle and calculates the number of refreshes to be performed during one access cycle. further,
During the access suspension period determined by the access suspension period measuring unit 1, the refresh cycle for performing the calculated number of refreshes is determined. The memory control unit 3
In the refresh cycle determined by the refresh frequency / cycle determining unit 2, a required number of refreshes are performed during the access suspension period. At this time, the refresh is not performed while the access is being performed. Therefore, continuous data transfer is possible.

【0009】図2は、本発明のメモリ制御装置の第2の
実施の形態を示すブロック図である。図中、図1と同様
の部分には同じ符号を付してある。5はアクセス周期測
定部である。アクセス周期測定部5は、転送要求信号を
受け取って、転送のためにアクセスを行なう周期を測定
して、リフレッシュ回数・周期決定部2に渡す。リフレ
ッシュ回数・周期決定部2では、アクセス周期測定部5
で測定されたアクセス周期をもとに、リフレッシュを行
なうべき回数を算出し、アクセス休止期間中にリフレッ
シュを行なう周期を決定する。この実施の形態によれ
ば、別途アクセス周期を与える必要はない。
FIG. 2 is a block diagram showing a second embodiment of the memory control device of the present invention. In the figure, the same parts as those in FIG. 1 are designated by the same reference numerals. Reference numeral 5 is an access cycle measuring unit. The access cycle measuring unit 5 receives the transfer request signal, measures the cycle of access for transfer, and passes it to the refresh frequency / cycle determining unit 2. In the refresh frequency / cycle determination unit 2, the access cycle measurement unit 5
Based on the access cycle measured in step 1, the number of times refresh should be performed is calculated, and the refresh cycle is determined during the access suspension period. According to this embodiment, it is not necessary to separately provide an access cycle.

【0010】図3は、本発明のメモリ制御装置の第1お
よび第2の実施の形態において決定されたリフレッシュ
周期の一例の説明図である。図3において、転送要求信
号は、図3(A)に示すように、Hレベルがメモリをア
クセスして転送を要求している期間であり、Lレベルが
アクセス休止期間である。従来のメモリ制御装置では、
図3(B)に示すように、転送要求信号がLレベルとな
り、アクセス休止期間にはいると、すぐにそれまでに実
行すべき回数だけのリフレッシュを行なっている。ここ
で、リフレッシュはCAS信号をLレベルとした後にR
AS信号をLレベルとすることによって実行される。図
3では4回のリフレッシュを行なっている。
FIG. 3 is an explanatory diagram showing an example of the refresh cycle determined in the first and second embodiments of the memory control device of the present invention. In FIG. 3, as for the transfer request signal, as shown in FIG. 3A, the H level is a period during which the memory is accessed to request the transfer, and the L level is an access suspension period. In the conventional memory control device,
As shown in FIG. 3B, when the transfer request signal is at the L level and the access suspension period is entered, the refresh is immediately performed the number of times to be executed by then. Here, refresh is performed after the CAS signal is set to the L level and then R
This is executed by setting the AS signal to L level. In FIG. 3, refreshing is performed four times.

【0011】本発明では、図3(C)に示すように、例
えば、データ転送中に4回のリフレッシュを行なわなけ
ればいけない場合に、アクセス休止期間中に4回のリフ
レッシュを行なうための周期を決定し、その周期に基づ
いてリフレッシュを行なう。そのため、図3(C)に示
すように、リフレッシュはアクセス休止期間中に分散し
て行なわれることになる。これによって、アクセス休止
期間中のスイッチングノイズの発生を抑えるとともに、
リフレッシュのための消費電力を分散させることができ
る。もちろん、上述のようにRAS信号、CAS信号に
よらず、リフレッシュ信号によってリフレッシュを行な
うメモリ装置を用いている場合でも、同様にアクセス休
止期間中にリフレッシュを分散させて行なうことができ
る。
According to the present invention, as shown in FIG. 3C, for example, when four refreshes must be performed during data transfer, a cycle for refreshing four times during the access suspension period is set. Determine and refresh based on the cycle. Therefore, as shown in FIG. 3 (C), refresh is dispersed and performed during the access suspension period. This suppresses the generation of switching noise during the access suspension period, and
Power consumption for refreshing can be dispersed. Of course, as described above, even when a memory device that refreshes with a refresh signal is used instead of the RAS signal and the CAS signal, the refresh can be similarly dispersed during the access suspension period.

【0012】図4は、本発明の第2の実施の形態におけ
る一具体例を示すブロック図、図5は、画像データの入
力基準信号の説明図である。図中、11はコントロー
ラ、12はリフレッシュカウンタ、13は転送周期測定
カウンタ、14はLPWラッチ、15はCYCラッチ、
16は回数・周期決定回路、17は周期カウンタ、18
は回数カウンタ、19はメモリ制御回路、20は画像メ
モリである。
FIG. 4 is a block diagram showing a specific example of the second embodiment of the present invention, and FIG. 5 is an explanatory diagram of an input reference signal of image data. In the figure, 11 is a controller, 12 is a refresh counter, 13 is a transfer cycle measurement counter, 14 is an LPW latch, 15 is a CYC latch,
16 is a frequency / cycle determination circuit, 17 is a cycle counter, 18
Is a number counter, 19 is a memory control circuit, and 20 is an image memory.

【0013】この具体例では、スキャナなどのイメージ
読み取り装置で読み取った画像を画像メモリ20に転
送、格納する場合を例にして説明する。ここで、読み取
った画像データを画像メモリ20に蓄える際の入力基準
信号として、図5に示すように、紙送り方向の画像有効
領域を示すページシンク(以下PSYNCという)とC
CDイメージセンサの読取方向の画像有効領域を示すラ
インシンク(以下LSYNCという)を用いる。このP
SYNCとLSYNCがともに有効な領域が画像データ
の有効領域となり、画像メモリ20に格納されることに
なる。
In this specific example, a case where an image read by an image reading device such as a scanner is transferred to and stored in the image memory 20 will be described as an example. Here, as an input reference signal when storing the read image data in the image memory 20, as shown in FIG. 5, a page sync (hereinafter referred to as PSYNC) and a C indicating an image effective area in the paper feed direction.
A line sync (hereinafter referred to as LSYNC) indicating an image effective area in the reading direction of the CD image sensor is used. This P
An area in which both SYNC and LSYNC are effective becomes an effective area for image data and is stored in the image memory 20.

【0014】また、この具体例では、PSYNCが無効
の期間では、定期的なリフレッシュ動作を行なうものと
し、PSYNCが有効になると、図3(C)に示すよう
なアクセス休止期間内の分散リフレッシュ動作に切り替
わるものとする。
Further, in this specific example, it is assumed that the periodic refresh operation is performed during the period when PSYNC is invalid, and when PSYNC is valid, the distributed refresh operation within the access suspension period as shown in FIG. 3C. Shall be switched to.

【0015】コントローラ11は、例えば、イメージ読
み取り装置など外部よりPSYNCとLSYNCを受け
取り、また、回数カウンタ18からアクセス休止期間中
のリフレッシュの終了信号REF_ENDを受け取る。
また、受け取ったPSYNCに基づき、定期的なリフレ
ッシュ動作を行なうか、アクセス休止期間内の分散リフ
レッシュ動作を行なうかを示すSYNC_REF信号を
リフレッシュカウンタ12に出力する。さらに、LSY
NCが有効になると、転送周期カウンタラッチクリア信
号CYC_LTCLを転送周期測定カウンタ13および
CYCラッチ15に送出する。さらに、LSYNCが無
効になったときに、LSYNC無効アドレスラッチ信号
LPW_LTをLPWラッチ14および回数カウンタ1
8に出力する。さらに、PSYNCが有効になり、LS
YNCが無効になると、アクセス休止期間が開始したこ
とを示すリフレッシュイネーブル信号REF_ENを周
期カウンタ17および回数カウンタ18に出力する。
The controller 11 receives PSYNC and LSYNC from the outside such as an image reading device, and also receives the refresh end signal REF_END during the access suspension period from the number counter 18.
It also outputs to the refresh counter 12 a SYNC_REF signal indicating whether to perform a periodic refresh operation or a distributed refresh operation within the access suspension period based on the received PSYNC. Furthermore, LSY
When the NC becomes valid, the transfer cycle counter latch clear signal CYC_LTCL is sent to the transfer cycle measurement counter 13 and the CYC latch 15. Further, when the LSYNC becomes invalid, the LSYNC invalid address latch signal LPW_LT is set to the LPW latch 14 and the frequency counter 1.
8 is output. In addition, PSYNC is enabled and LS
When YNC becomes invalid, the refresh enable signal REF_EN indicating that the access suspension period has started is output to the cycle counter 17 and the number counter 18.

【0016】リフレッシュカウンタ12は、システムク
ロックをカウントし、リフレッシュクロックREF_C
K1を生成してメモリ制御回路19に供給する。また、
コントローラ11からSYNC_REF信号が与えられ
た場合には、リフレッシュカウンタ12はリセットされ
て停止する。
The refresh counter 12 counts the system clock and refresh clock REF_C.
K1 is generated and supplied to the memory control circuit 19. Also,
When the SYNC_REF signal is given from the controller 11, the refresh counter 12 is reset and stopped.

【0017】転送周期測定カウンタ13は、システムク
ロックをカウントしており、コントローラ11から出力
される転送周期カウンタラッチクリア信号CYC_LT
CLによってクリアされる。転送周期測定カウンタ13
のカウント値は、LPWラッチ14およびCYCラッチ
15に供給されている。
The transfer cycle counter 13 counts the system clock, and the transfer cycle counter latch clear signal CYC_LT output from the controller 11 is output.
Cleared by CL. Transfer cycle measurement counter 13
The count value of is supplied to the LPW latch 14 and the CYC latch 15.

【0018】LPWラッチ14には、転送周期測定カウ
ンタ13のカウント値が供給されており、コントローラ
11からLSYNC無効アドレスラッチ信号LPW_L
Tが入力されるとカウント値を取り込む。これにより、
LPWラッチ14にはLSYNCの有効な期間のカウン
ト値が保持される。
The count value of the transfer cycle measuring counter 13 is supplied to the LPW latch 14, and the controller 11 sends the LSYNC invalid address latch signal LPW_L.
When T is input, the count value is fetched. This allows
The LPW latch 14 holds the count value during the valid period of LSYNC.

【0019】CYCラッチ15にも、転送周期測定カウ
ンタ13のカウント値が供給されており、コントローラ
11からの転送周期カウンタラッチクリア信号CYC_
LTCLが入力されるとカウント値を取り込む。これに
より、CYCラッチ15には転送の1周期分の期間のカ
ウント値が保持される。
The count value of the transfer cycle measuring counter 13 is also supplied to the CYC latch 15, and the transfer cycle counter latch clear signal CYC_from the controller 11 is supplied.
When LTCL is input, the count value is fetched. As a result, the CYC latch 15 holds the count value for one transfer period.

【0020】回数・周期決定回路16は、LPWラッチ
14からアクセス有効期間のカウント値を、また、CY
Cラッチ15から1周期のカウント値を受け取り、さら
に回数カウンタ18からリフレッシュの未実施回数を受
け取って、アクセス休止期間内に行なうべきリフレッシ
ュの回数とリフレッシュを行なう周期を決定し、リフレ
ッシュの周期を周期カウンタ17へ、リフレッシュの回
数を回数カウンタ18へそれぞれ出力する。
The number / cycle determining circuit 16 determines the count value of the access valid period from the LPW latch 14 and CY.
The count value of one cycle is received from the C latch 15, and the number of times refreshing is not performed is further received from the number counter 18, to determine the number of refreshes to be performed and the cycle to be refreshed within the access suspension period. The number of refreshes is output to the counter 17 and the number of times to the counter 18.

【0021】周期カウンタ17は、コントローラ11か
らのリフレッシュイネーブル信号REF_ENにより、
回数・周期決定回路16で計算された周期をロードし、
すぐにシステムクロックによる加算または減算を開始す
る。そして、リフレッシュの周期ごとにカウントイネー
ブル信号を回数カウンタ18に送出する。
The cycle counter 17 receives the refresh enable signal REF_EN from the controller 11,
Load the cycle calculated by the frequency / cycle determination circuit 16,
Immediately start addition or subtraction by the system clock. Then, the count enable signal is sent to the number counter 18 every refresh cycle.

【0022】回数カウンタ18は、LSYNC無効アド
レスラッチ信号LPW_LTにより、回数・周期決定回
路16で計算されたリフレッシュの回数をロードする。
コントローラ11からリフレッシュイネーブル信号RE
F_ENを受け取ると周期カウンタ17からカウントイ
ネーブルが入力されるごとにリフレッシュ要求信号RE
F_REQをメモリ制御回路19に送出するとともに、
カウンタの値を加減算する。回数・周期決定回路16で
計算されたリフレッシュ回数だけのリフレッシュ要求信
号REF_REQを出力すると、リフレッシュが終了し
たことを示すリフレッシュエンド信号REF_ENDを
コントローラ11に返す。
The number-of-times counter 18 loads the number of times of refresh calculated by the number-of-times / cycle determining circuit 16 by the LSYNC invalid address latch signal LPW_LT.
Refresh enable signal RE from controller 11
When F_EN is received, the refresh request signal RE is input each time the count enable is input from the cycle counter 17.
While sending F_REQ to the memory control circuit 19,
Adds or subtracts the value of the counter. When the refresh request signal REF_REQ for the number of refresh times calculated by the number / cycle determination circuit 16 is output, the refresh end signal REF_END indicating that the refresh is completed is returned to the controller 11.

【0023】メモリ制御回路19は、リフレッシュカウ
ンタ12で生成されたリフレッシュクロックREF_C
K1と、回数カウンタ18から出力されるリフレッシュ
要求信号REF_REQに従い、画像メモリ20のリフ
レッシュを行なう。
The memory control circuit 19 uses the refresh clock REF_C generated by the refresh counter 12.
The image memory 20 is refreshed according to K1 and the refresh request signal REF_REQ output from the number counter 18.

【0024】画像メモリ20は、DRAMで構成されて
おり、メモリ制御回路19によってリフレッシュされ
る。具体的なリフレッシュ周期としては、512サイク
ル/8msecのDRAMを用いることができる。この
場合、一定周期のリフレッシュを行なうときには15.
625μsecに1回以内の周期でリフレッシュを行な
う。また、アクセス休止期間内の分散リフレッシュ動作
を行なう場合には、8msecの間に合計で512回以
上のリフレッシュを行なえばよい。
The image memory 20 is composed of DRAM and is refreshed by the memory control circuit 19. As a specific refresh cycle, a 512 cycle / 8 msec DRAM can be used. In this case, when performing refreshing at a fixed period, 15.
Refresh is performed at intervals of once every 625 μsec. Further, when performing the distributed refresh operation within the access suspension period, it is sufficient to perform refreshing a total of 512 times or more within 8 msec.

【0025】図6は、本発明の第2の実施の形態の一具
体例における回数・周期決定回路16の一例を示すブロ
ック図である。図中、21は減算器、22はデコーダ、
23は加算器、24は除算テーブルである。上述のよう
に、回数・周期決定回路16はLPWラッチ14からア
クセス中の期間のカウント値を受け取り、また、CYC
ラッチ15から1周期のカウント値を受け取る。
FIG. 6 is a block diagram showing an example of the frequency / cycle determination circuit 16 in a specific example of the second embodiment of the present invention. In the figure, 21 is a subtractor, 22 is a decoder,
Reference numeral 23 is an adder, and 24 is a division table. As described above, the number / cycle determination circuit 16 receives the count value of the period being accessed from the LPW latch 14, and the CYC
The count value of one cycle is received from the latch 15.

【0026】減算器21は、1周期のカウント値からア
クセス有効期間のカウント値を減算し、アクセス休止期
間を求める。一方、デコーダ22は、1周期のカウント
値をもとに、1周期中に行なうリフレッシュ回数を求め
る。リフレッシュ回数は、(アクセス周期÷リフレッシ
ュの一定周期)+1回から求める。加算器23は、デコ
ーダ22で求めたリフレッシュ回数と、回数カウンタ1
8から与えられるリフレッシュの未実施回数とを加算
し、次回のアクセス休止期間で行なうべきリフレッシュ
の回数を算出する。算出されたリフレッシュの回数は、
回数カウンタ18にセットされる。また、除算テーブル
24は、減算器21で求めたアクセス休止期間を加算器
23で求めた行なうべきリフレッシュの回数で除し、リ
フレッシュの周期を求める。求めたリフレッシュの周期
は、周期カウンタ17にセットされる。
The subtractor 21 subtracts the count value of the access valid period from the count value of one cycle to obtain the access suspension period. On the other hand, the decoder 22 obtains the number of refreshes performed in one cycle based on the count value of one cycle. The number of refreshes is obtained from (access cycle / constant cycle of refresh) +1 times. The adder 23 includes a refresh counter calculated by the decoder 22 and a counter 1
8 is added to the number of refreshes not yet performed, and the number of refreshes to be performed in the next access suspension period is calculated. The number of refreshes calculated is
The number of times counter 18 is set. Further, the division table 24 divides the access suspension period obtained by the subtracter 21 by the number of refreshes to be performed obtained by the adder 23 to obtain a refresh cycle. The obtained refresh cycle is set in the cycle counter 17.

【0027】これらの計算結果を周期カウンタ17と回
数カウンタ18に与え、アクセス休止期間に動作させる
ことで、アクセス休止期間に一定周期を持たせたリフレ
ッシュを実行することができる。
By providing these calculation results to the cycle counter 17 and the number counter 18 and operating during the access suspension period, refreshing can be executed with a fixed period during the access suspension period.

【0028】次に、本発明の第2の実施の形態の一具体
例における動作の一例について説明する。図7は、本発
明の第2の実施の形態の一具体例における動作の一例を
示すタイミングチャートである。以下、図4、図6に示
した構成について、適宜図7を用いながら、動作の一例
を説明する。
Next, an example of the operation in one specific example of the second embodiment of the present invention will be described. FIG. 7 is a timing chart showing an example of the operation in a specific example of the second exemplary embodiment of the present invention. An example of the operation of the configuration shown in FIGS. 4 and 6 will be described below with reference to FIG.

【0029】まず、PSYNCが無効な場合の画像メモ
リ20のリフレッシュは、リフレッシュカウンタ12に
より生成されたリフレッシュクロックREF_CK1を
メモリ制御回路に送ることで一定周期によるリフレッシ
ュを行なう。この動作は、図7(A)の区間において
行なっている。例えば、画像メモリ20のリフレッシュ
周期が512サイクル/8msecのDRAMの場合、
15.625μsecに1回の周期でリフレッシュを行
なう。
First, in the case of refreshing the image memory 20 when PSYNC is invalid, the refresh clock REF_CK1 generated by the refresh counter 12 is sent to the memory control circuit to perform refreshing at a constant cycle. This operation is performed in the section of FIG. For example, in the case of a DRAM whose image memory 20 has a refresh cycle of 512 cycles / 8 msec,
Refresh is performed once every 15.625 μsec.

【0030】PSYNCが有効になると、コントローラ
11はSYNC_REF信号をリフレッシュカウンタ1
2に送り、リフレッシュカウンタ12を初期値に戻すと
ともに停止させ、アクセス休止期間内の分散リフレッシ
ュ動作に切り替える。
When PSYNC becomes valid, the controller 11 sends the SYNC_REF signal to the refresh counter 1
2, the refresh counter 12 is returned to the initial value and stopped, and the distributed refresh operation is switched within the access suspension period.

【0031】LSYNCが有効になると、コントローラ
11は転送周期カウンタラッチクリアCYC_LTCL
を有効にし、転送周期測定カウンタ13の値をCYCラ
ッチ15に取り込むと同時に、転送周期測定カウンタ1
3を0にもどし、次の転送周期をカウントさせる。次
に、LSYNCが無効になったときに、コントローラ1
1はLSYNC無効アドレスラッチ信号LPW_LTを
出力し、転送周期測定カウンタ13の値をLPWラッチ
14に取り込む。アクセス周期とアクセス休止期間の測
定は以上の動作を連続して行なうことで達成される。
When LSYNC becomes valid, the controller 11 clears the transfer cycle counter latch latch CYC_LTCL.
Is enabled and the value of the transfer cycle measurement counter 13 is loaded into the CYC latch 15, and at the same time the transfer cycle measurement counter 1
3 is reset to 0 and the next transfer cycle is counted. Next, when LSYNC is disabled, controller 1
1 outputs the LSYNC invalid address latch signal LPW_LT and fetches the value of the transfer cycle measurement counter 13 into the LPW latch 14. The measurement of the access cycle and the access suspension period is achieved by continuously performing the above operation.

【0032】回数・周期決定回路16では、LPWラッ
チ14とCYCラッチ15の値から、リフレッシュを制
御するために必要な値を求める。アクセス休止期間は、
CYCラッチ15の出力とLPWラッチ14の出力から
減算器21で求められる。また、リフレッシュ回数は、
デコーダ22および加算器23において、例えば、(C
YCラッチ÷15.625μsec)+1+未実施回数
から求められる。さらに、リフレッシュ周期は除算テー
ブル24において(アクセス休止期間/リフレッシュ回
数)から求める。回数カウンタ18は、LSYNC無効
アドレスラッチ信号LPW_LTにより、リフレッシュ
回数をロードする。周期カウンタと回数カウンタはコン
トローラ11からのリフレッシュイネーブル信号REF
_ENによりアクセス休止期間だけ動作するため、LS
YNC無効アドレスラッチ信号LPW_LTの入力にて
データを取り込んだ後、すぐに動作を開始する。
In the frequency / cycle determining circuit 16, a value required for controlling refresh is obtained from the values of the LPW latch 14 and the CYC latch 15. During the access suspension period,
It is obtained by the subtracter 21 from the output of the CYC latch 15 and the output of the LPW latch 14. In addition, the refresh frequency is
In the decoder 22 and the adder 23, for example, (C
YC latch / 15.625 μsec) + 1 + number of unexecuted times. Further, the refresh cycle is obtained from (access suspension period / refresh count) in the division table 24. The number-of-times counter 18 loads the number of times of refreshing according to the LSYNC invalid address latch signal LPW_LT. The cycle counter and the frequency counter are refresh enable signals REF from the controller 11.
Since _EN operates only during the access suspension period, LS
The operation is started immediately after the data is taken in by the input of the YNC invalid address latch signal LPW_LT.

【0033】まず、LSYNC無効アドレスラッチ信号
LPW_LTが回数カウンタ18に入力されると、1回
目のリフレッシュリクエストREF_REQが出力さ
れ、回数カウンタ18の値をダウンカウント(−1)す
る。その後、周期カウンタ17はカウントアップを行な
い、回数・周期決定回路16で求められた周期の値にな
るごとにカウントイネーブルを回数カウンタ18に出力
する。回数カウンタ18は、このカウントイネーブルを
受け、リフレッシュリクエストREF_REQを出力す
るとともに、回数カウンタ18の値をダウンカウント
(−1)する。この動作を回数カウンタ18が0になる
まで続ける。回数カウンタ18が0になると、リフレッ
シュエンドREF_ENDをコントローラ11に返し、
アクセス休止期間中のリフレッシュを終了する。このリ
フレッシュの動作は、図7の区間において行なわれ
る。各リフレッシュは、例えば、図3(C)に示したよ
うに分散して行なわれる。
First, when the LSYNC invalid address latch signal LPW_LT is input to the number counter 18, the first refresh request REF_REQ is output and the value of the number counter 18 is down-counted (-1). After that, the cycle counter 17 counts up and outputs a count enable to the number counter 18 each time the value of the cycle determined by the cycle / cycle determining circuit 16 is reached. Upon receiving this count enable, the number counter 18 outputs the refresh request REF_REQ and down-counts (-1) the value of the number counter 18. This operation is continued until the number counter 18 reaches 0. When the frequency counter 18 reaches 0, the refresh end REF_END is returned to the controller 11,
Refreshing during the access suspension period ends. This refresh operation is performed in the section shown in FIG. Each refresh is performed in a distributed manner, for example, as shown in FIG.

【0034】このとき、アクセス周期やアクセス休止期
間が変化したことにより回数カウンタ18が0になる前
にアクセス休止期間が終了した場合は、回数カウンタ1
8の値をリフレッシュ未実施回数として回数・周期決定
回路16に戻し、次のリフレッシュ回数に加算する。こ
れにより、リフレッシュ回数の変更とリフレッシュ周期
の変更を行ない、自動的にリフレッシュの不足が発生し
ないように処理が行なわれる。
At this time, if the access suspension period ends before the count counter 18 reaches 0 due to a change in the access cycle or the access suspension period, the count counter 1
The value of 8 is returned to the number / cycle determination circuit 16 as the number of times refresh has not been performed, and is added to the next number of refreshes. As a result, the number of refreshes and the refresh cycle are changed, and processing is automatically performed so that insufficient refresh does not occur.

【0035】上述の動作は、PSYNCが有効な期間繰
り返し実行される。このような動作を継続した後、PS
YNCが無効になると、そのPSYNCが無効になった
後にLSYNCが無効になった時点で、分散リフレッシ
ュのリフレッシュ周期で必要なリフレッシュ回数だけの
リフレッシュを行なう。その後、回数カウンタ18はリ
フレッシュエンドREF_ENDをコントローラ11に
出力し、分散リフレッシュの動作を終了する。以後は、
一定周期のリフレッシュに戻り、リフレッシュカウンタ
12の動作を再開する。図7において、区間で最後の
回の分散リフレッシュ動作を行なった後、続く区間で
は一定周期のリフレッシュを行なう。
The above operation is repeatedly executed while PSYNC is valid. After continuing such operation, PS
When the YNC is invalidated, the LSYNC is invalidated after the PSYNC is invalidated, and refresh is performed as many times as necessary in the refresh cycle of the distributed refresh. After that, the number counter 18 outputs the refresh end REF_END to the controller 11 to end the distributed refresh operation. After that,
The operation of the refresh counter 12 is restarted by returning to the refresh of a fixed cycle. In FIG. 7, after performing the last distributed refresh operation in a section, refreshing is performed in a constant cycle in the subsequent section.

【0036】この最後の回の分散リフレッシュ動作は、
アクセス周期の変化に伴い、アクセス休止期間が短くな
った場合でも、回数カウンタ18が0になるまでリフレ
ッシュ動作を続け、リフレッシュの不足が発生しないよ
うにする。
This final distributed refresh operation is
Even if the access suspension period is shortened due to a change in the access cycle, the refresh operation is continued until the number counter 18 reaches 0 so that the refresh shortage does not occur.

【0037】このような動作を行なうことによって、ア
クセス休止期間に最適なリフレッシュの分散処理を容易
に行なわせることができる。
By performing such an operation, it is possible to easily perform optimum distributed processing of refresh during the access suspension period.

【0038】図8は、本発明のメモリ制御装置の第3の
実施の形態を示すブロック図である。図中、図2と同様
の部分には同じ符号を付して説明を省略する。6はリフ
レッシュ回数・周期変更部、7はメモリ制御部、8はダ
イナミックメモリである。この第3の実施の形態では、
複数のダイナミックメモリと対応するメモリ制御部を有
する例を示している。メモリ制御部7、ダイナミックメ
モリ8は、メモリ制御部3、ダイナミックメモリ9と同
様のものである。このメモリ制御部とダイナミックメモ
リの組をリフレッシュグループと呼ぶことにする。な
お、この第3の実施の形態では、上述の第2の実施の形
態において複数のダイナミックメモリおよびメモリ制御
部を有する構成としたが、第1の実施の形態において、
ダイナミックメモリおよびメモリ制御部を複数有する構
成としてもよい。
FIG. 8 is a block diagram showing a third embodiment of the memory control device of the present invention. In the figure, the same parts as those in FIG. 6 is a refresh frequency / cycle changing unit, 7 is a memory control unit, and 8 is a dynamic memory. In the third embodiment,
An example having a memory control unit corresponding to a plurality of dynamic memories is shown. The memory control unit 7 and the dynamic memory 8 are the same as the memory control unit 3 and the dynamic memory 9. The set of the memory control unit and the dynamic memory will be called a refresh group. Although the third embodiment has a configuration having a plurality of dynamic memories and a memory control unit in the above-described second embodiment, in the first embodiment,
A configuration having a plurality of dynamic memories and memory control units may be used.

【0039】リフレッシュ回数・周期変更部6は、リフ
レッシュ回数・周期決定部2で決定されたリフレッシュ
回数およびリフレッシュ周期をもとに、ダイナミックメ
モリ4とダイナミックメモリ8におけるリフレッシュが
なるべく分散するように、それぞれのリフレッシュのタ
イミングを変更する。各メモリ制御部3,7では、リフ
レッシュ回数・周期変更部6で変更されたリフレッシュ
のタイミングで、ダイナミックメモリ4,8のリフレッ
シュを行なう。
The refresh frequency / cycle changing unit 6 is arranged so that the refresh times in the dynamic memory 4 and the dynamic memory 8 are distributed as much as possible based on the refresh frequency and the refresh cycle determined by the refresh frequency / cycle determining unit 2. Change the refresh timing of. In each of the memory control units 3 and 7, the dynamic memories 4 and 8 are refreshed at the refresh timing changed by the refresh frequency / cycle changing unit 6.

【0040】図9は、本発明のメモリ制御装置の第3の
実施の形態において決定されたリフレッシュ周期の一例
の説明図である。図9において、図3と同様に、転送要
求信号を図9(A)に示している。Lレベルがアクセス
休止期間である。
FIG. 9 is an explanatory diagram showing an example of the refresh cycle determined in the third embodiment of the memory control device of the present invention. In FIG. 9, as in FIG. 3, the transfer request signal is shown in FIG. The L level is the access suspension period.

【0041】この実施の形態では、図9(B)に示すよ
うに、例えば、データ転送中にそれぞれのリフレッシュ
グループで4回のリフレッシュを行なわなければいけな
い場合に、アクセス休止期間中に合計8回のリフレッシ
ュを行なうためのタイミングを決定し、そのタイミング
に基づいてリフレッシュを行なう。このとき決定される
リフレッシュのタイミングは、図9(C)に示すよう
に、リフレッシュを各リフレッシュグループ間で交互に
行なったり、あるいは図9(B)に示すように、一方の
リフレッシュを先に行ない、他方を後に行なうように決
定される。各リフレッシュのタイミングは、アクセス休
止期間中に分散して行なわれるように決定される。これ
により、上述の第1、第2の実施の形態と同様、アクセ
ス休止期間中のスイッチングノイズの発生を抑えるとと
もに、各リフレッシュグループ間におけるリフレッシュ
が重ならないので、リフレッシュのための消費電力を分
散させることができる。もちろん、上述のようにRAS
信号、CAS信号によらず、リフレッシュ信号によって
リフレッシュを行なうメモリ装置を用いている場合で
も、同様にアクセス休止期間中にリフレッシュを分散さ
せて行なうことができる。
In this embodiment, as shown in FIG. 9B, for example, when four refresh operations must be performed in each refresh group during data transfer, a total of eight refresh operations are performed during the access suspension period. The timing for performing the refresh is determined, and the refresh is performed based on the timing. The refresh timing determined at this time is such that the refresh is alternately performed between the refresh groups as shown in FIG. 9C, or one refresh is performed first as shown in FIG. 9B. , Decided to do the other later. The timing of each refresh is determined to be distributed and performed during the access suspension period. As a result, similarly to the above-described first and second embodiments, the generation of switching noise during the access suspension period is suppressed, and the refreshing between refresh groups does not overlap, so that the power consumption for refreshing is dispersed. be able to. Of course, as mentioned above, RAS
Even when a memory device that refreshes by a refresh signal is used regardless of a signal or a CAS signal, refresh can be similarly dispersed and performed during an access suspension period.

【0042】図10は、本発明の第3の実施の形態にお
ける一具体例を示すブロック図、図11は、本発明の第
3の実施の形態の一具体例における回数・周期決定回路
16の一例を示すブロック図である。図中、図4、図6
と同様の部分には同じ符号を付して説明を省略する。3
1はセレクタ、32はメモリ制御回路、33は画像メモ
リ、41は乗算器である。図10に示した構成では、メ
モリ制御回路19と画像メモリ20からなるリフレッシ
ュグループと、メモリ制御回路32と画像メモリ33か
らなるリフレッシュグループの2つのリフレッシュグル
ープが存在する。そのため、この構成では、リフレッシ
ュグループ数を設定するSEL信号と、画像メモリのリ
フレッシュを図9(C)に示すように1回ずつ切り換え
るモードか、図9(B)に示すように1グループ単位に
切り換えるかを選択するMODE信号を有している。こ
れらの制御信号を用いることにより、複数のDRAMの
リフレッシュを行なうことができる。
FIG. 10 is a block diagram showing a specific example of the third embodiment of the present invention, and FIG. 11 is a diagram showing the number / cycle determining circuit 16 of the specific example of the third embodiment of the present invention. It is a block diagram which shows an example. 4 and 6 in the figure
The same reference numerals are given to the same portions as, and the description thereof will be omitted. 3
1 is a selector, 32 is a memory control circuit, 33 is an image memory, and 41 is a multiplier. In the configuration shown in FIG. 10, there are two refresh groups, a refresh group including the memory control circuit 19 and the image memory 20, and a refresh group including the memory control circuit 32 and the image memory 33. Therefore, in this configuration, the SEL signal for setting the number of refresh groups and the mode in which the refresh of the image memory is switched once each as shown in FIG. 9C, or in the group unit as shown in FIG. 9B. It has a MODE signal for selecting whether to switch. A plurality of DRAMs can be refreshed by using these control signals.

【0043】回数・周期決定回路16には、新たにSE
L信号が入力されており、CYCラッチ15から送られ
る1周期のカウント値から計算したリフレッシュ回数
に、SEL信号で与えられるリフレッシュグループ数を
掛け合わせて総リフレッシュ回数を算出し、回数カウン
タ18にセットする。また、この総リフレッシュ回数と
データ休止期間からリフレッシュ周期を算出し、周期カ
ウンタ17にセットする。
The number / cycle determination circuit 16 has a new SE
The L signal is input, the total number of refreshes is calculated by multiplying the number of refreshes calculated from the count value of one cycle sent from the CYC latch 15 by the number of refresh groups given by the SEL signal, and set in the number counter 18. To do. Further, the refresh cycle is calculated from the total number of times of refreshing and the data pause period, and set in the cycle counter 17.

【0044】具体的には、図11に示すように、デコー
ダ22で1周期に行なうべきリフレッシュ回数を求め、
乗算器41でリフレッシュグループ数を掛け合わせる。
さらに、加算器23で回数カウンタ18に残っているリ
フレッシュの未実施回数を加算し、総リフレッシュ回数
とする。乗算器41は、例えば、リフレッシュグループ
数が2,4,8,・・・のように2のn乗の場合には、
シフターで構成してもよい。
Specifically, as shown in FIG. 11, the number of refreshes to be performed in one cycle by the decoder 22 is calculated,
The multiplier 41 multiplies the number of refresh groups.
Further, the adder 23 adds the number of times refreshing has not been performed that remains in the number counter 18 to obtain the total number of refreshes. The multiplier 41, for example, when the number of refresh groups is 2, 4, 8, ...
You may comprise a shifter.

【0045】セレクタ31は、回数カウンタ18からリ
フレッシュリクエストREF_REQを受け取るととも
に、カウント値を受け取る。さらに、リフレッシュグル
ープ数を示すSEL信号、およびモードの選択を指示す
るMODE信号を受け取る。そして、これらのカウント
値、SEL信号、MODE信号をもとに、図9(B),
(C)に示すように各リフレッシュグループに対してリ
フレッシュリクエストREF_REQを送出する。
The selector 31 receives the refresh request REF_REQ from the frequency counter 18 and the count value. Further, it receives a SEL signal indicating the number of refresh groups and a MODE signal instructing mode selection. Then, based on these count value, SEL signal, and MODE signal, FIG.
As shown in (C), the refresh request REF_REQ is sent to each refresh group.

【0046】例えば、図10に示すように2つのリフレ
ッシュグループに対して図9(C)に示すモードでリフ
レッシュを行なう場合には、SEL信号、MODE信号
でこの条件が設定され、セレクタ31は回数カウンタ1
8からリフレッシュリクエストREF_REQを受け取
るたびに、リフレッシュグループを切り換えてリフレッ
シュリクエストREF_REQを送出する。また、図9
(B)に示すモードでリフレッシュを行なう場合には、
カウント値に従って一方に連続してリフレッシュリクエ
ストREF_REQを送出し、カウント値が半分になっ
た時点でリフレッシュグループを切り換えて以後のリフ
レッシュリクエストREF_REQを送出するように制
御すればよい。
For example, when refreshing two refresh groups in the mode shown in FIG. 9C as shown in FIG. 10, this condition is set by the SEL signal and the MODE signal, and the selector 31 sets the number of times. Counter 1
Each time the refresh request REF_REQ is received from 8, the refresh group is switched and the refresh request REF_REQ is transmitted. In addition, FIG.
When refreshing in the mode shown in (B),
The refresh request REF_REQ may be continuously transmitted to one side according to the count value, and when the count value becomes half, the refresh group may be switched and the subsequent refresh request REF_REQ may be transmitted.

【0047】このようにして、回数カウンタの値と、S
EL信号、MODE信号によりリフレッシュリクエスト
の出力先を切り換えることで、複数のDRAMを用いた
装置においても、アクセス休止期間に最適なリフレッシ
ュの分散処理を容易に行なわせることができる。また、
各リフレッシュグループおよび装置全体として、リフレ
ッシュが分散するため、ノイズの低減や消費電力の分散
を図ることができる。
In this way, the value of the frequency counter and S
By switching the output destination of the refresh request according to the EL signal and the MODE signal, even in a device using a plurality of DRAMs, it is possible to easily perform the optimal distributed refresh processing during the access suspension period. Also,
Since refreshes are dispersed in each refresh group and the entire device, noise can be reduced and power consumption can be dispersed.

【0048】なお、図10に示した構成では、一定周期
のリフレッシュ時には、リフレッシュカウンタ12から
のリフレッシュクロックREF_CK1を各リフレッシ
ュグループに共通に供給しているが、このリフレッシュ
クロックREF_CK1をリフレッシュグループ数だけ
周期を短くし、セレクタにより各リフレッシュグループ
に順次切り換えて供給することによって、一定周期のリ
フレッシュ時にも、リフレッシュを分散させることが可
能である。
In the configuration shown in FIG. 10, the refresh clock REF_CK1 from the refresh counter 12 is supplied to each refresh group in common at the time of refreshing in a constant cycle. Is shortened and the selectors are sequentially switched and supplied to each refresh group, so that the refresh can be dispersed even when refreshing at a constant cycle.

【0049】[0049]

【発明の効果】以上の説明から明らかなように、本発明
によれば、1ブロックのデータ転送を連続的に行ない、
データ転送中に行なうべきリフレッシュをアクセス休止
期間中に分散して行なうことにより、アクセス休止期間
中に行なうリフレッシュによって発生するスイッチング
ノイズを低減し、また、消費電力を分散させることがで
きる。
As is apparent from the above description, according to the present invention, one block of data is continuously transferred,
By performing the refresh to be performed during the data transfer in the access suspension period in a distributed manner, switching noise generated by the refresh performed in the access suspension period can be reduced and the power consumption can be dispersed.

【0050】また、複数のDRAMを用いた装置におい
ても、他のDRAMとのリフレッシュ期間の重複を避け
ることができ、瞬間的な消費電力の増加をなくし、ノイ
ズの発生、電源グランドの変動等を抑制することができ
るという効果がある。
Further, even in a device using a plurality of DRAMs, it is possible to avoid the overlap of refresh periods with other DRAMs, to prevent an instantaneous increase in power consumption, to generate noise, to fluctuate the power supply ground, etc. There is an effect that it can be suppressed.

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

【図1】 本発明のメモリ制御装置の第1の実施の形態
を示すブロック図である。
FIG. 1 is a block diagram showing a first embodiment of a memory control device of the present invention.

【図2】 本発明のメモリ制御装置の第2の実施の形態
を示すブロック図である。
FIG. 2 is a block diagram showing a second embodiment of a memory control device of the present invention.

【図3】 本発明のメモリ制御装置の第1および第2の
実施の形態において決定されたリフレッシュ周期の一例
の説明図である。
FIG. 3 is an explanatory diagram showing an example of a refresh cycle determined in the first and second embodiments of the memory control device of the present invention.

【図4】 本発明の第2の実施の形態における一具体例
を示すブロック図、図5は、画像データの入力基準信号
の説明図である。
FIG. 4 is a block diagram showing a specific example according to the second embodiment of the present invention, and FIG. 5 is an explanatory diagram of an input reference signal of image data.

【図5】 画像データの入力基準信号の説明図である。FIG. 5 is an explanatory diagram of an input reference signal of image data.

【図6】 本発明の第2の実施の形態の一具体例におけ
る回数・周期決定回路16の一例を示すブロック図であ
る。
FIG. 6 is a block diagram showing an example of a frequency / cycle determination circuit 16 in a specific example of the second embodiment of the present invention.

【図7】 本発明の第2の実施の形態の一具体例におけ
る動作の一例を示すタイミングチャートである。
FIG. 7 is a timing chart showing an example of operation in a specific example of the second exemplary embodiment of the present invention.

【図8】 本発明のメモリ制御装置の第3の実施の形態
を示すブロック図である。
FIG. 8 is a block diagram showing a third embodiment of the memory control device of the present invention.

【図9】 本発明のメモリ制御装置の第3の実施の形態
において決定されたリフレッシュ周期の一例の説明図で
ある。
FIG. 9 is an explanatory diagram showing an example of a refresh cycle determined in the third embodiment of the memory control device of the present invention.

【図10】 本発明の第3の実施の形態における一具体
例を示すブロック図、図11は、本発明の第3の実施の
形態の一具体例における回数・周期決定回路16の一例
を示すブロック図である。
FIG. 10 is a block diagram showing a specific example according to the third embodiment of the present invention, and FIG. 11 shows an example of the number / cycle determination circuit 16 according to a specific example of the third embodiment of the present invention. It is a block diagram.

【図11】 本発明の第3の実施の形態の一具体例にお
ける回数・周期決定回路16の一例を示すブロック図で
ある。
FIG. 11 is a block diagram showing an example of a frequency / cycle determination circuit 16 in a specific example of the third exemplary embodiment of the present invention.

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

1…アクセス休止期間測定部、2…リフレッシュ回数・
周期決定部、3…メモリ制御部、4…ダイナミックメモ
リ、5…アクセス周期測定部、6…リフレッシュ回数・
周期変更部、7…メモリ制御部、8…ダイナミックメモ
リ、11…コントローラ、12…リフレッシュカウン
タ、13…転送周期測定カウンタ、14…LPWラッ
チ、15…CYCラッチ、16…回数・周期決定回路、
17…周期カウンタ、18…回数カウンタ、19…メモ
リ制御回路、20…画像メモリ、21…減算器、22…
デコーダ、23…加算器、24…除算テーブル、31…
セレクタ、32…メモリ制御回路、33…画像メモリ、
41…乗算器。
1 ... Access suspension period measurement unit, 2 ... Refresh frequency
Cycle determining unit, 3 ... Memory control unit, 4 ... Dynamic memory, 5 ... Access cycle measuring unit, 6 ... Refresh frequency
Cycle change section, 7 ... Memory control section, 8 ... Dynamic memory, 11 ... Controller, 12 ... Refresh counter, 13 ... Transfer cycle measurement counter, 14 ... LPW latch, 15 ... CYC latch, 16 ... Number / cycle determination circuit,
17 ... Cycle counter, 18 ... Number counter, 19 ... Memory control circuit, 20 ... Image memory, 21 ... Subtractor, 22 ...
Decoder, 23 ... Adder, 24 ... Division table, 31 ...
Selector, 32 ... memory control circuit, 33 ... image memory,
41 ... Multiplier.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 所定周期ごとに連続してデータをアクセ
ス可能なダイナミックメモリのメモリ制御装置におい
て、アクセス休止期間を予測するアクセス休止期間測定
手段と、予測した該アクセス休止期間と前記所定周期と
に基づいてアクセス休止期間中に行なうリフレッシュの
必要回数と間隔を決定するリフレッシュ回数・周期決定
手段と、決定された間隔で必要回数だけ前記ダイナミッ
クメモリのリフレッシュを行なうメモリ制御手段を有す
ることを特徴とするメモリ制御装置。
1. A memory control device of a dynamic memory capable of continuously accessing data in every predetermined cycle, wherein an access stop period measuring means for predicting an access stop period, the predicted access stop period and the predetermined cycle are provided. On the basis of the above, there is provided a refresh frequency / cycle determining means for determining a necessary number and an interval of refresh performed during the access suspension period, and a memory control means for refreshing the dynamic memory by the required number of times at the determined interval. Memory controller.
【請求項2】 連続してデータをアクセスする周期を測
定するアクセス周期測定手段をさらに有し、前記リフレ
ッシュ回数・周期決定手段は、前記アクセス周期測定手
段で測定された周期を用いて前記リフレッシュの必要回
数と間隔を決定することを特徴とする請求項1に記載の
メモリ制御装置。
2. An access cycle measuring means for measuring a cycle of continuous data access is further provided, and the refresh frequency / cycle determining means uses the cycle measured by the access cycle measuring means. The memory control device according to claim 1, wherein the required number of times and the interval are determined.
【請求項3】 前記ダイナミックメモリと対応する前記
メモリ制御手段の組を複数組有し、また、前記リフレッ
シュ回数・周期決定手段によって決定された前記リフレ
ッシュの必要回数と間隔に基づき前記各ダイナミックメ
モリのリフレッシュが重ならないようにリフレッシュの
タイミングを変更するリフレッシュ回数・周期変更手段
をさらに有することを特徴とする請求項1または2に記
載のメモリ制御装置。
3. A plurality of sets of the memory control means corresponding to the dynamic memories are provided, and the dynamic memories of the respective dynamic memories are based on the required number of refreshes and intervals determined by the refresh count / cycle determining means. 3. The memory control device according to claim 1, further comprising refresh frequency / cycle changing means for changing refresh timing so that refresh does not overlap.
JP8009995A 1996-01-24 1996-01-24 Memory control apparatus Pending JPH09198863A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8009995A JPH09198863A (en) 1996-01-24 1996-01-24 Memory control apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8009995A JPH09198863A (en) 1996-01-24 1996-01-24 Memory control apparatus

Publications (1)

Publication Number Publication Date
JPH09198863A true JPH09198863A (en) 1997-07-31

Family

ID=11735446

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8009995A Pending JPH09198863A (en) 1996-01-24 1996-01-24 Memory control apparatus

Country Status (1)

Country Link
JP (1) JPH09198863A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021507405A (en) * 2017-12-21 2021-02-22 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッドAdvanced Micro Devices Incorporated Dynamic refresh for each bank and all banks

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021507405A (en) * 2017-12-21 2021-02-22 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッドAdvanced Micro Devices Incorporated Dynamic refresh for each bank and all banks

Similar Documents

Publication Publication Date Title
JPH09198863A (en) Memory control apparatus
US20060047866A1 (en) Computer system having direct memory access controller
JP2783195B2 (en) Microcomputer
US5537553A (en) Method of and apparatus for bus control and data processor
JPH08147970A (en) Dram controller
JP4689965B2 (en) Memory control circuit and memory control method
KR200349232Y1 (en) Micro control unit having dynamic random access memory
JPS63191397A (en) Information processor
JPH07114496A (en) Shared memory control circuit
CN100458762C (en) Array type operation device
JPH08147214A (en) Memory device
KR100242027B1 (en) Dram interface controller
JPH0619776A (en) Memory control system
KR0178720B1 (en) Shared memory control device
JPH04105293A (en) Information processor
JPH01201758A (en) Dma controller
JPH0344887A (en) Dram control system, storage device and information processor
JPH0784866A (en) Memory control circuit
JPS63191398A (en) Information processor
JPH0785357B2 (en) DRAM refresh controller
JPH0227590A (en) Dynamic memory refreshment control device
JPH0390943A (en) Method and device for controlling memory of microcomputer
JPH1011963A (en) Method for controlling refreshing of dram
JPS58118089A (en) Memory controlling system
JPH04220097A (en) Address control memory circuit