JPS61126691A - Refreshing circuit of memory - Google Patents

Refreshing circuit of memory

Info

Publication number
JPS61126691A
JPS61126691A JP59248472A JP24847284A JPS61126691A JP S61126691 A JPS61126691 A JP S61126691A JP 59248472 A JP59248472 A JP 59248472A JP 24847284 A JP24847284 A JP 24847284A JP S61126691 A JPS61126691 A JP S61126691A
Authority
JP
Japan
Prior art keywords
refresh
cycle
refreshing
machine
cpv
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
JP59248472A
Other languages
Japanese (ja)
Inventor
Takuji Shioda
塩田 拓治
Kunihiko Matsumori
松森 邦彦
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP59248472A priority Critical patent/JPS61126691A/en
Publication of JPS61126691A publication Critical patent/JPS61126691A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To secure the number of times of the minimum refreshing cycle necessary to a dynamic RAM without stopping a CPV for a long time by counting the number of the machine cycle in which one refreshing is necessary and stopping a final machine period CPV at the time of necessities. CONSTITUTION:A counter 1 reset, when a dynamic RAM (DRAM) selecting signal is not generated from an address decoder 1, counts the number of the machine cycle of CPV where one refreshing is necessary, arrives at the number of the machine cycle, and then, a CPV stop requesting signal is generated. In response to the signal, a CPV stop confirming signal is supplied through an or gate 13, a refreshing pulse is generated from a refreshing pulse generating circuit 2, at the final machine cycle a CPU is stopped and refreshed. The counter 11 refreshed by a machine cycle before the final value reaches is reset. Thus, without stopping the CPU for a long time, the minimum refreshing cycle necessary to a DRAM can be secured.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ダイナミックランダムアクセスメモリ(D 
RAM )のりフレッシュをどのような条件の下でも規
格の単位時間のリフレッシュサイクル回数を保証し、処
理装置(CPU)の効率を低下させることなく実現させ
るようにしたメモリのリフレッシュ回路に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a dynamic random access memory (D
This invention relates to a memory refresh circuit that guarantees the standard number of refresh cycles per unit time under any conditions and achieves memory refresh without reducing the efficiency of a processing unit (CPU).

〔従来の技術〕[Conventional technology]

従来、ダイナζツクランダムアクセスメモリ(DRAM
)は、九とえばマトリックスの交点に設けたコンデンサ
形のメそり素子であシ、リフレッシュするには、行また
は列方向の励磁線をセレクトして充電すること、により
行なわれる。このDRAMをOPUの制御下で用いいそ
のデータを保持するためには規格で定められている単位
時間内のリフレッシュサイクル回数を確保する必要があ
シ、このリフレッシュサイクルを行なう几めのハードウ
ェアが用意されている。そして、このリフレッシュサイ
クルをどういうタイミングで得るかということについて
は、従来様々の方式が用いられている。
Conventionally, dynamic random access memory (DRAM)
) is, for example, a capacitor-type mesori element provided at the intersection of the matrix, and refreshing is performed by selecting and charging an excitation line in the row or column direction. In order to use this DRAM under the control of the OPU and retain its data, it is necessary to ensure the number of refresh cycles within a unit time specified by the standard, and the precise hardware that performs this refresh cycle is required. Provided. Conventionally, various methods have been used to determine when to obtain this refresh cycle.

その例を下記に示すと・、最も簡単な方式として第3図
に図示するように、アドレスバスからリフレッシュする
アドレスに対し順次アドレスデコーダ1によJ DRA
Mセレクト信号を出力するとともに、並列に反転させD
RAMをアクセスしない期間にリフレッシュパルス発生
回路2を動作させてリフレッシュパルスを出力するよう
にし次ものである。
An example of this is shown below: As the simplest method, as shown in FIG.
Outputs the M select signal and inverts it in parallel.
The refresh pulse generating circuit 2 is operated to output refresh pulses during a period when the RAM is not accessed.

この方式の欠点は、ソフトウェアの構成、高速DMA’
、 Ilo等を優先しているため、規格で要求されるリ
フレッシュサイクル回数が保証されないおそれがあるこ
とである。
The disadvantages of this method are the software configuration, high-speed DMA'
, Ilo, etc., the number of refresh cycles required by the standard may not be guaranteed.

第3図の欠点を補なう几め、第4図に示す方式は、リフ
レッシュパルス発生回路2の前よシ分岐して、規格内の
りフレッシュサイクル回数がとれているかどうかを監視
するカウンタ3と、その結果により動作する強制リフレ
ッシュ要求回路4とを設け、この出力でリフレッシュパ
ルス発生回路2の動作期間を制御するようにしたもので
ある。
In order to compensate for the shortcomings of FIG. 3, the system shown in FIG. 4 includes a counter 3 which is branched before the refresh pulse generation circuit 2 and monitors whether the number of refresh cycles is within the standard. A forced refresh request circuit 4 is provided which operates according to the result, and the operation period of the refresh pulse generation circuit 2 is controlled by this output.

すなわち、リフレッシュサイクルカウンタ3の結果から
規格内のり7レツシ工回数がとれないとき、不足する回
数のりフレツシ二を行なえるだけの時間OPUを強制的
に停止させてリフレッシュを行なうものである。これに
より必要なリフレッシュ回数を確保することが可能とな
った。
That is, when the number of refreshing operations within the standard cannot be obtained from the result of the refresh cycle counter 3, the OPU is forcibly stopped for a period long enough to perform refreshing the number of times that is insufficient, and refresh is performed. This makes it possible to secure the required number of refreshes.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

第4図の方式によj7、DRAMのりフレッシュ回数は
確保されるが、強制的に一定時間OPUを停止させるた
め、OPUの効率が一時的にかなυ長時間低下し、他の
制御対象の利用を相当に制限する結果となる。
Although the method shown in Figure 4 secures the number of times the DRAM is refreshed, since the OPU is forcibly stopped for a certain period of time, the efficiency of the OPU temporarily decreases for a long period of time, and the use of other controlled objects is interrupted. This results in considerable limitations.

本発明の目的は、ダイナミックRAMのリフレッシュの
友めの必要最小限のリフレッシュサイクル回数を保証す
るとともに、リフレッシュのためにOPUの長時間に亘
る一時停止がないようにしたダイナミックRAMリフレ
ッシュ回路t−提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a dynamic RAM refresh circuit that guarantees the minimum number of refresh cycles necessary for refreshing a dynamic RAM and eliminates the need for a long pause in OPU for refresh. It's about doing.

〔問題点を解決する丸めの手段〕[Rounding method to solve problems]

前記目的を達成するため、本発明のメモリのり7レツシ
工回路は処理装置によりリフレッシュ制御されるメモリ
のリフレッシュすべきマシンサイクルを選択する手段と
、最低1回のリフレッシュを必要とするマシンサイクル
数をカウントする手段と、該マシンサイクル数期間の最
終!シンサイクル前にリフレッシュサイクルが存在しな
いこと全検出して最終マシンサイクルで処理装置を停止
させる手段と、該処理装置の停止期間にす7レツシエパ
ルスを発生する手段とを具えたことを特徴とするもので
ある。
In order to achieve the above object, the memory resetting circuit of the present invention includes means for selecting a machine cycle to refresh a memory whose refresh is controlled by a processing device, and a means for selecting the number of machine cycles that require at least one refresh. Means to count and the number of machine cycles at the end of the period! The machine is characterized by comprising means for completely detecting the absence of a refresh cycle before a thin cycle and stopping the processing device at the final machine cycle, and means for generating seven refresher pulses during the stop period of the processing device. It is.

〔作 用〕[For production]

上記の構成により、ダイナミックRAMがメ七す内容を
保持する大めの最小限のりフレッシュサイクル回数を導
入し、この期間の最終マシンサイクル前に通常のOPU
動作でDRAMをアクセスしないことにょろり7レツシ
為があると、リセットし、リフレッシュがないと、最終
マシンサイクルの間だけOPUを停止させリフレッシュ
を行なう。このように通常のDRAMに対する非アクセ
スによるリフレッシュと協力して最小限のリフレッシュ
サイクル@数を保証するようにしたものである。さら4
COPUを停止する時間は1マシンサイクルだけである
からCPUの他の制御対象に対し悪い影響を与えること
がなく表る。
The above configuration introduces a large minimum number of refresh cycles during which the dynamic RAM retains its contents, and before the last machine cycle of this period, the normal OPU
If there is a delay in not accessing the DRAM during operation, the OPU is reset, and if there is no refresh, the OPU is stopped and refreshed only during the final machine cycle. In this way, the minimum number of refresh cycles is guaranteed by cooperating with normal non-access refresh of DRAM. Sara 4
Since it takes only one machine cycle to stop the CPU, there is no adverse effect on other objects controlled by the CPU.

(実 施 例〕 第1図は本発明の実施例の構成説明図であシ、第2図■
〜■は実施例要部の動作波形図を示す。
(Embodiment) Fig. 1 is an explanatory diagram of the configuration of an embodiment of the present invention, and Fig. 2
-■ show operation waveform diagrams of main parts of the embodiment.

本発明は第4図の欠点であるCPU効率の一時的の低下
を防ぐため、リフレッシュが必要なマシンティクル数だ
けを検出して行なうものである。
In the present invention, in order to prevent the temporary decrease in CPU efficiency, which is the drawback of FIG. 4, only the number of machine tickles that require refreshing is detected and performed.

い咬、一般的なりRAMのリフレッシュ規格として、1
28サイクル以上/ 2msの場合について述べること
にする。また、CPUの1マシンサイクルが5o。
As a general RAM refresh standard, 1
We will discuss the case of 28 cycles or more/2 ms. Also, one machine cycle of the CPU is 5o.

1の場合を想定する。Assume case 1.

この条件で最低1回のリフレッシュサイクルが必要なマ
シンサイクル回数を計算してみると、次のようになる。
The number of machine cycles required for at least one refresh cycle under these conditions is calculated as follows.

(200α/128)/(L5=3L25(マシンサイ
クル〕(1)従って、3t25マシンサイクルに最低1
回リフレッシュサイクルがあれば、メモリ内容が保持さ
れ、128 @/ 2msの規格を満足させることがで
きる。
(200α/128)/(L5=3L25 (machine cycles)) (1) Therefore, at least 1 per 3t25 machine cycles
With 1 refresh cycles, the memory contents are retained and the 128 @/2 ms standard can be met.

第1図において、最低1回のりフレッシュサイクルが必
要なマシンサイクル、この例における3t25マシンサ
イクルをカウントするカウンタ11を設け、アドレスデ
コーダ1から出力するDRAMセレ、クト信号がない時
反転信号をそのリセット端子に入力し、DRAMセレク
ト信号があるときのマシンクロックをAND回路12を
介してそのクロック端子に入力し、カウンタ11はD 
RAMセレクト信号のない場合リセットされ、該セレク
ト信号がある場合にカウントする。具体的には、31マ
シンサイクル連続してリフレッシュサイクルが存在しな
いとき、その次のサイクル1回だけをリフレッシュサイ
クルとし、この1マシンサイクル期間だけCPUを停止
させる。31回の監視はカウンタ11を用いて行ない、
該カウンタ11のカウントアツプは非リフレッシュサイ
クルに同期したパルスにより行なわれる。31回までに
リフレッシュがあると該カウンタ11はリセットされ、
リフレッシュがないと31回カウントされた後最終のマ
シンサイクルでOPU停止要求を0PUK出力する。そ
して、CPUからCPU停止確認信号が返され次とき、
これをOR回路13を介してリフレッシュパルス発生回
路2に入れ、リフレッシュパルスをDRAMに送’)、
9フレツシユが行なわれる。
In FIG. 1, a counter 11 is provided to count machine cycles that require at least one refresh cycle, 3t25 machine cycles in this example, and when there is no DRAM select/select signal output from the address decoder 1, the inverted signal is reset. The machine clock when there is a DRAM select signal is input to the clock terminal via the AND circuit 12, and the counter 11 inputs the DRAM select signal to the clock terminal.
It is reset when there is no RAM select signal, and counts when there is the select signal. Specifically, when there is no refresh cycle for 31 consecutive machine cycles, only one next cycle is set as a refresh cycle, and the CPU is stopped for this one machine cycle period. The 31st monitoring was carried out using the counter 11,
Counting up of the counter 11 is performed by pulses synchronized with non-refresh cycles. If there is a refresh by the 31st time, the counter 11 is reset,
If there is no refresh, an OPU stop request is output as 0PUK in the final machine cycle after counting 31 times. Then, when the CPU returns a CPU stop confirmation signal,
This is input to the refresh pulse generation circuit 2 via the OR circuit 13, and the refresh pulse is sent to the DRAM').
9 refresh is performed.

第2図■〜■はこの強制的なリフレッシュサイクルに関
連するマシンクロック■、カウンタ出力のCPU停止要
求■、 CPU停止停止確認信号上びリフレッシュ信号
の波形を示す。すなわち、■のマシンクロッフナ0〜す
30  までリフレッシュがないトキ、ナ31のマシン
クロックでカウンタ11から■のOPU停止要求をOP
Uに出力し、1クロツク遅れて■のCPU停止確認信号
をOR回路13を介してリフレッシュパルス発生回路2
に入れ、■のリフレッシュパルスを発生してDRAM 
f) 九とえば列方向に加えることによりリフレッシュ
が行なわれる。
FIGS. 2 - 2 show the waveforms of the machine clock (2), the CPU stop request (2) of the counter output, the CPU stop/stop confirmation signal and the refresh signal related to this forced refresh cycle. In other words, there is no refresh from the machine clock number 0 to number 30 of ■, and the OPU stop request of number ■ is OPENed from the counter 11 at the machine clock number number 31.
U, and after one clock delay, the CPU stop confirmation signal (■) is sent to the refresh pulse generation circuit 2 via the OR circuit 13.
, and generates the refresh pulse of
f) Refreshing is performed by adding, for example, 9 in the column direction.

この強制的なリフレッシュサイクルが実行され九直後に
OPUは動作を再開するから、OPUの停止は短時間で
済ますことができる。なお、この強制的なリフレッシュ
サイクル以外のリフレッシュサイクルの生成は第3図と
同じであシ、前記カウンタ11で51回目までにリフレ
ッシュサイクルが存在し次場合にはリセットされ、カウ
ンタ11が再びカウントを開始する。
Since the OPU resumes operation immediately after this forced refresh cycle is executed, the OPU can be stopped for a short time. Note that the generation of refresh cycles other than this forced refresh cycle is the same as in FIG. Start.

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

以上説明し比ように、本発明によれば、ダイナミック几
λMに対する最低1回のりフレッシュを必要とするマシ
ンサイクル数をカウントし、そのマシンサイクル数期間
の最終マシンサイクル前にリフレッシュアドレスが存在
しないことを検出して最終マシンサイクルだけOPUを
停止させるようにしたものである。これによj9、DR
AMのリフレッシュのための必要最小限のリフレッシュ
サイクル回数が保証され、かつリフレッシュのためのO
PUの長時間に亘る一時停止がなくなるので、CPU効
率の向上が期待できる。
As explained above, according to the present invention, it is possible to count the number of machine cycles that require at least one refresh for a dynamic process λM, and to determine that there is no refresh address before the last machine cycle in the period of the number of machine cycles. is detected and the OPU is stopped only for the last machine cycle. This is j9, DR
The minimum number of refresh cycles required for AM refresh is guaranteed, and O
Since the PU does not have to pause for a long time, an improvement in CPU efficiency can be expected.

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

第1図は本発明の実施例の構成説明図、第2図は実施例
の要部の動作波形図、第3図、第4図はそれぞれ従来例
の構成説明図であ)、1はアドレスデコーダ、2はリフ
レッシュパルス発生回路、11はカウンタ、12はAN
D回路、13はOR回路を示す。
(Fig. 1 is an explanatory diagram of the configuration of the embodiment of the present invention, Fig. 2 is an operational waveform diagram of the main part of the embodiment, and Figs. 3 and 4 are explanatory diagrams of the configuration of the conventional example, respectively). 1 is an address Decoder, 2 is a refresh pulse generation circuit, 11 is a counter, 12 is AN
D circuit, 13 shows an OR circuit.

Claims (1)

【特許請求の範囲】[Claims]  処理装置によりリフレッシュ制御されるメモリのリフ
レッシュすべきマシンサイクルを選択する手段と、最低
1回のリフレツシユを必要とするマシンサイクル数をカ
ウントする手段と、該マシンサイクル数期間の最終マシ
ンサイクル前にリフレッシュサイクルが存在しないこと
を検出して最終マシンサイクルだけ処理装置を停止させ
る手段と、該処理装置の停止期間にリフレッシュパルス
を発生する手段とを具えたことを特徴とするメモリのリ
フレッシュ回路。
means for selecting a machine cycle to refresh a memory that is refresh-controlled by a processing unit; means for counting the number of machine cycles that require at least one refresh; and refreshing before the last machine cycle of the period of the number of machine cycles. 1. A memory refresh circuit comprising: means for detecting the absence of a cycle and stopping a processing device only for the last machine cycle; and means for generating a refresh pulse during a period in which the processing device is stopped.
JP59248472A 1984-11-24 1984-11-24 Refreshing circuit of memory Pending JPS61126691A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59248472A JPS61126691A (en) 1984-11-24 1984-11-24 Refreshing circuit of memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59248472A JPS61126691A (en) 1984-11-24 1984-11-24 Refreshing circuit of memory

Publications (1)

Publication Number Publication Date
JPS61126691A true JPS61126691A (en) 1986-06-14

Family

ID=17178653

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59248472A Pending JPS61126691A (en) 1984-11-24 1984-11-24 Refreshing circuit of memory

Country Status (1)

Country Link
JP (1) JPS61126691A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01216882A (en) * 1988-02-26 1989-08-30 Kanzaki Paper Mfg Co Ltd Upper sheet for pressure-sensitive copying paper to be printed on both sides

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4878839A (en) * 1971-12-29 1973-10-23
JPS49132943A (en) * 1973-04-25 1974-12-20
JPS50111942A (en) * 1974-02-04 1975-09-03
JPS50118635A (en) * 1973-12-27 1975-09-17
JPS5345944A (en) * 1976-10-06 1978-04-25 Nec Corp Refresh control system
JPS57123591A (en) * 1981-01-23 1982-08-02 Nec Corp Accepting device for storage access
JPS5845692A (en) * 1981-09-07 1983-03-16 Hitachi Ltd Refresh request controlling system
JPS5919293A (en) * 1982-07-21 1984-01-31 Hitachi Ltd Refresh control system of memory device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4878839A (en) * 1971-12-29 1973-10-23
JPS49132943A (en) * 1973-04-25 1974-12-20
JPS50118635A (en) * 1973-12-27 1975-09-17
JPS50111942A (en) * 1974-02-04 1975-09-03
JPS5345944A (en) * 1976-10-06 1978-04-25 Nec Corp Refresh control system
JPS57123591A (en) * 1981-01-23 1982-08-02 Nec Corp Accepting device for storage access
JPS5845692A (en) * 1981-09-07 1983-03-16 Hitachi Ltd Refresh request controlling system
JPS5919293A (en) * 1982-07-21 1984-01-31 Hitachi Ltd Refresh control system of memory device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01216882A (en) * 1988-02-26 1989-08-30 Kanzaki Paper Mfg Co Ltd Upper sheet for pressure-sensitive copying paper to be printed on both sides

Similar Documents

Publication Publication Date Title
KR0169288B1 (en) Microcomputer system
US5586287A (en) Information processing apparatus capable of holding storage contents of PSRAM even when system clock comes to abnormal halt
JPH08235856A (en) Dram refresh circuit
KR850005637A (en) Memory refresh circuit with variable system transparency
US3846765A (en) Dynamic cell semiconductor memory with interlace refresh
JPS61126691A (en) Refreshing circuit of memory
JPH03102696A (en) Refresh controller
KR0183813B1 (en) Dram refresh controller
KR100480553B1 (en) Refresh control method of DRAM device
JPH02310886A (en) Memory refresh control system
KR0184510B1 (en) Synchronous semiconductor memory refresh control circuit and its method
JPS61160897A (en) Refresh system for dynamic ram
JP2868361B2 (en) Memory refresh method
JPS63106992A (en) Memory integrated circuit
JPH04243087A (en) Refresh device of random access memory and computer using this device
JP2628588B2 (en) DRAM refresh circuit
JPS58159292A (en) Memory refreshing method
JPH04362593A (en) Refreshing control system for dram
JPH01224994A (en) Refreshing device for dynamic ram
KR0176464B1 (en) Reflash control circuit of dram
KR960001110B1 (en) Dynamic ram(dram)refresh system
JPH07320481A (en) Refresh control circuit of storage device
JPS58215789A (en) Refresh circuit of dynamic ram
JPH0740432B2 (en) Memory refresh method
JPH01307997A (en) Memory device