JPS6048077B2 - Memory refresh control method - Google Patents
Memory refresh control methodInfo
- Publication number
- JPS6048077B2 JPS6048077B2 JP53064667A JP6466778A JPS6048077B2 JP S6048077 B2 JPS6048077 B2 JP S6048077B2 JP 53064667 A JP53064667 A JP 53064667A JP 6466778 A JP6466778 A JP 6466778A JP S6048077 B2 JPS6048077 B2 JP S6048077B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- refresh
- processing unit
- central processing
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired
Links
- 238000000034 method Methods 0.000 title claims description 9
- 239000013256 coordination polymer Substances 0.000 description 1
- 230000001771 impaired effect Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C11/00—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
- G11C11/21—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
- G11C11/34—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
- G11C11/40—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
- G11C11/401—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming cells needing refreshing or charge regeneration, i.e. dynamic cells
- G11C11/406—Management or control of the refreshing or charge-regeneration cycles
Landscapes
- Engineering & Computer Science (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Computer Hardware Design (AREA)
Description
【発明の詳細な説明】
本発明はダイナミック型メモリのリフレッシュ制御方式
に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a refresh control method for dynamic memory.
従来のダイナミック型メモリのリフレッシュ制御方式に
おいては、リフレッシュ動作の必要なダイナミック型メ
モリのリフレッシュ動作は、メモリ内に設けられたリフ
レッシュ周期カウンタが一定値に達したとき実行される
と同時に全ての処理装置からのリクエストが抑止される
。In a conventional dynamic memory refresh control method, a dynamic memory refresh operation that requires a refresh operation is executed when a refresh cycle counter provided in the memory reaches a certain value, and at the same time all processing units Requests from are suppressed.
このため、メモリの使用状態を処理装置内で管理し、メ
モリの空き状態にのみ、メモリリクエストを送出するメ
モリ制御方式を併用したときには、上述のごとく、リフ
レッシュ動作により一時的に中央処理装置内でのメモリ
のビジー管理が乱され、メモリサイクルの有効利用を損
なうという欠点が生じる。この欠点を解決するため前記
リフレッシュ周期カウンタそのものを中央処理装置内に
取り込み中央処理装置自身がリフレッシュ動作の動作タ
イミングを発生し、リフレッシュ動作まで含めたメモリ
のビジー管理を行なつたときには、中央処理装置自身が
障害発生により動作を停止すると、リフレッシュ動作が
保障できなくなるため、メモリの記憶内容まで破壊して
しまうという怖れが生じる。これを避けるために、CP
Uダウン時に限りメモリ自身が単独でリフレッシュ動作
可能となるようリフレッシュ動作周期カウンタを中央処
理装置とメモリとの両方に設けると、ハードウェアが増
加Jするという欠点が生ずる。本発明の目的はハードウ
ェア量の増加を招くことなくメモリサイクルの利用率を
高めるとともに処理装置停止時にもメモリの記憶内容を
保証することができるようにしたメモリリフレッシュ制
御丁方式を提供することにある。Therefore, when a memory control method is used in which the memory usage status is managed within the processing unit and a memory request is sent only when memory is free, as described above, the refresh operation temporarily causes the The disadvantage is that the memory busy management of the memory is disturbed and the effective utilization of memory cycles is impaired. In order to solve this drawback, the refresh cycle counter itself is incorporated into the central processing unit and the central processing unit itself generates the refresh operation timing, and when memory busy management including the refresh operation is performed, the central processing unit If the device itself stops operating due to a failure, refresh operations cannot be guaranteed, and there is a risk that the contents of the memory may also be destroyed. To avoid this, CP
If a refresh operation cycle counter is provided in both the central processing unit and the memory so that the memory itself can refresh itself only when U is down, a drawback arises in that the amount of hardware increases. An object of the present invention is to provide a memory refresh control method that can increase the utilization rate of memory cycles without increasing the amount of hardware, and can guarantee the stored contents of the memory even when the processing device is stopped. be.
本発明の方式は、中央処理装置からの要求に基づいて主
記憶装置の内容をリフレッシュするメモリリフレッシュ
制御方式において、前記主記憶装置はリフレッシュ動作
の周期を計時する計時手段と、この計時手段が予め定め
られた第1の値になつたとき前記中央処理装置に対しリ
フレッシュ要求表示信号を送出する表示信号送出手段と
を有し、前記中央処理装置は前記表示信号送出手段から
の表示信号を受け付けたときに前記中央処理装置内から
のメモリ要求信号がなく前記記憶装置がビジー状態でな
ければリフレッシュ要求信号を送出する要求信号送出手
段を有し、前記主記憶装置に対するリフレッシュ動作が
前記要求信号送出手段から与えられたリフレッシュ要求
信号により行なわれるかまたは前記計時手段からリフレ
ッシュ動作の限界値を示す第2の値が与えられたときに
前記中央処理装置の前記要求信号送出手段からのリフレ
ッシュ要求(信号の供給)の有無にかかわらず行なわれ
るようにしたことを特徴とする。The method of the present invention is a memory refresh control method that refreshes the contents of a main memory based on a request from a central processing unit, in which the main memory has a clock means for clocking a period of refresh operation, and a clock means for clocking a period of refresh operation. and display signal sending means for sending a refresh request display signal to the central processing unit when the value reaches a predetermined first value, and the central processing unit receives the display signal from the display signal sending means. and request signal sending means for sending a refresh request signal when there is no memory request signal from within the central processing unit and the storage device is in a busy state, and the refresh operation for the main storage device is performed by the request signal sending means. or a refresh request (signal) from the request signal sending means of the central processing unit when a second value indicating the limit value of the refresh operation is given from the time counting means. It is characterized in that it is performed regardless of the presence or absence of supply.
次に本発明の一実施例について図面を参照して詳細に説
明する。図において参照番号1は中央処理装置を示し、
ビジー管理回路11とリクエスト選択回路12とアンド
ゲート13とマルチプレクサ14とを有している。Next, one embodiment of the present invention will be described in detail with reference to the drawings. In the figure, reference number 1 indicates a central processing unit;
It has a busy management circuit 11, a request selection circuit 12, an AND gate 13, and a multiplexer 14.
又、参照番号2はメモリを示し、リフレッシュ周期を計
数するサイクルカウンタ21と、リフレッシュアドレス
カウンタ22と、比較回路23および24と、フリップ
フロップ25および26とオアゲート27とアンドゲー
ト28と遅延回路29とマルチプレクサ30とデコーダ
31とオアケート32と記憶素子33とを有している。
前記サイクルカウンタ21は毎クロックごとに+1づつ
歩進されこの出力は信号201として比較器23と24
にそれぞれ与えられる。前記信号201の値が比較器2
3のもう一方の入力である信号203と同じ値、すなわ
ち、(Xj)に達したとき比較器23の出力である信号
204が論理値゜゛1゛となりフリップフロップ25を
セットする。このフリップフロップの正出力は信号3と
なこり中央処理装置のリクエスト選択回路12に与えら
れ、この選択回路12が、ビジー管理回路の出力信号1
01および通常のメモリリクエスト信号103の状態を
含めてチェックの上りリフレッシュ動作受付可能と判断
したときに、信号104がク発生してマルチプレクサ1
4の出力を通常のメモリリクエストコードの信号107
からリフレッシュリクエストコード106に切り替えメ
モリに信号6として送出する。また、前記リクエスト選
択回路からの出力102は、ビジー管理回路11へ与え
られ中央処理装置内のメモリビジー管理についての情報
が更新される。メモリ2において中央処理装置からのリ
クエストコードがリフレッシュ動作であるとき、デコー
ダ31の出力208は論理“゜1゛となり、オアゲート
32を介して信号209によりマルチプレクサ30の出
力信号207を通常のリクエストアドレスである信号5
から、リフレッシュアドレスを示すリフレツシユアドレ
フスカウンタ22の出力である信号206に切替え、記
憶素子33に対してリフレッシュを指示するとともに、
リフレッシュアドレスカウンタ22を+1歩進させる。
デコーダ208の出力208はまたオアゲート27を介
して信号212となり・フリップフロップ25をリセッ
トする。中央処理装置1が何らかの原因によりメモリ2
へのリフレッシュ動作指示を送出できずフリップフロッ
プ25が設定されたままの状態で、さらにメモリ2内の
サイクルカウンタ21が歩進し、比゜較器24の入力信
号202と同じ値(Xj)に達したとき比較器24の出
力205は論理4゜1゛となり、オアゲート27を介し
て、信号212となりリップフロップ25をリセットす
ると同時にアンドゲート28を介して信号210となり
フリップフロップ26をセットする。Further, reference number 2 indicates a memory, which includes a cycle counter 21 for counting refresh cycles, a refresh address counter 22, comparison circuits 23 and 24, flip-flops 25 and 26, an OR gate 27, an AND gate 28, and a delay circuit 29. It has a multiplexer 30, a decoder 31, an ornate 32, and a memory element 33.
The cycle counter 21 is incremented by +1 every clock, and this output is sent to the comparators 23 and 24 as a signal 201.
are given to each. The value of the signal 201 is determined by the comparator 2.
When the signal 204 which is the output of the comparator 23 reaches the same value as the signal 203 which is the other input of the comparator 23, that is, (Xj), the signal 204 which is the output of the comparator 23 becomes a logical value ゛゛1゛ and sets the flip-flop 25. The positive output of this flip-flop is applied as signal 3 to the request selection circuit 12 of the central processing unit, which selects the output signal 1 of the busy management circuit.
01 and the normal memory request signal 103, when it is determined that the upstream refresh operation of the check can be accepted, the signal 104 is generated and the multiplexer 1
4 output as normal memory request code signal 107
The refresh request code 106 is switched to the refresh request code 106 and sent to the memory as a signal 6. Further, the output 102 from the request selection circuit is given to the busy management circuit 11 to update information regarding memory busy management within the central processing unit. When the request code from the central processing unit in the memory 2 is a refresh operation, the output 208 of the decoder 31 becomes logic "゜1", and the output signal 207 of the multiplexer 30 is changed to the normal request address by the signal 209 via the OR gate 32. A certain signal 5
is switched to the signal 206 which is the output of the refresh address counter 22 indicating the refresh address, and instructs the memory element 33 to refresh.
The refresh address counter 22 is incremented by +1.
Output 208 of decoder 208 also becomes signal 212 via OR gate 27 and resets flip-flop 25. The central processing unit 1 has lost memory 2 for some reason.
While the flip-flop 25 remains set because a refresh operation instruction cannot be sent to When this is reached, the output 205 of the comparator 24 becomes a logic 4°1, which becomes a signal 212 via the OR gate 27 to reset the flip-flop 25, and at the same time becomes a signal 210 via the AND gate 28, setting the flip-flop 26.
このフリップフロップの出力4は中央処理装置に与えら
れアンドゲート13によつて中央処理装置で発生するす
べてのリクエストを抑止するとともにオアゲート32を
介して信号209となり、記憶素子33をリフレッシュ
するとともにリフレッシュアドレスカウンタ22を+1
歩進させる。フリップフロップ26は、そのセット信号
210が遅延回路29を介して一定クロック後に出力さ
れる信号211により、自動的にリセットされる。以上
述べた↓うにメモリ2内のサイクルカウンタ21の値が
(Xi)に達してから実際にメモリ内の記憶素子33へ
のリフレッシュ指示が出るタイミングは中央処理装置1
内のリクエスト選択回路内のアルゴリズムに依存しうる
とともに、中央処理装置1は、このタイミングをビジー
管理回路11に反映させるが、どこがリフレッシュされ
るかを示すことによりビジー管理情報は何ら乱れること
がない。The output 4 of this flip-flop is given to the central processing unit, and the AND gate 13 suppresses all requests generated in the central processing unit, and it becomes the signal 209 via the OR gate 32, which refreshes the memory element 33 and refreshes the refresh address. Counter 22 +1
make progress. The flip-flop 26 is automatically reset by a signal 211 which is outputted after a certain clock has elapsed from the set signal 210 of the flip-flop 26 via the delay circuit 29. As mentioned above, after the value of the cycle counter 21 in the memory 2 reaches (Xi), the timing at which a refresh instruction is actually issued to the storage element 33 in the memory is from the central processing unit 1.
Although the central processing unit 1 reflects this timing in the busy management circuit 11, the busy management information is not disturbed in any way by indicating where to refresh. .
また中央処理装置1が何らかの原因によりメモリ2への
リフレッシュ動作を指示できなかつたときには、サイク
ルカウンタ21の値が(Xj)に達した時点でメモリ2
が自動的にリフレッシュ動作を行なう。本発明には以上
から明らかなように、リフレッシュ動作の実行タイミン
グを完全に中央処理装置の管理下におくことによりメモ
リサイクルの有効な利用が常に可能となるとともにハー
ドウェアの2重化を招くことなく中央処理装置停止時で
も、メモリの記憶内容を保持できるという効果がある。Furthermore, if the central processing unit 1 is unable to instruct the memory 2 to refresh for some reason, the memory 2 will be refreshed when the value of the cycle counter 21 reaches (Xj).
automatically performs a refresh operation. As is clear from the above, the present invention has the following advantages: By placing the refresh operation execution timing completely under the control of the central processing unit, effective use of memory cycles is always possible, and hardware duplication is avoided. This has the advantage that the contents of the memory can be retained even when the central processing unit is stopped.
図は本発明の一実施例を示す図である。
1・・・中央処理装置、2・・・メモリ、11・・ゼジ
ー管理回路、27,32・・・オアゲート、12・・・
リクエスト選択回路、13,28・・・アンドゲート、
29・・・遅延回路、14,30・・・マルチプレクサ
、21・・・サイクルカウンタ、31・・・デコーダ、
22・リフレッシュアドレスカウンタ、23,24・・
・比較器、33・・・記憶素子、25,26・・・フリ
ップフロップ、5,6,106,107,206,20
7,201〜203・・・データ線、3,4,101ノ
〜104,204,205,208〜212・・・制
御線。The figure shows an embodiment of the present invention. DESCRIPTION OF SYMBOLS 1...Central processing unit, 2...Memory, 11...Zeezy management circuit, 27, 32...OR gate, 12...
Request selection circuit, 13, 28...and gate,
29... Delay circuit, 14, 30... Multiplexer, 21... Cycle counter, 31... Decoder,
22・Refresh address counter, 23, 24...
・Comparator, 33...Storage element, 25, 26...Flip-flop, 5, 6, 106, 107, 206, 20
7,201-203...Data lines, 3,4,101-104,204,205,208-212...Control lines.
Claims (1)
容をリフレッシュするメモリリフレッシュ制御方式にお
いて、前記主記憶装置はリフレッシュ動作の周期を計時
する計時手段と、この計時手段が予め定められた第1の
値になつたとき前記中央処理装置に対しリフレッシュ要
求表示信号を送出する表示信号送出手段とを有し、前記
中央処理装置は前記表示信号送出手段からの表示信号を
受け付けたときに前記中央処理装置内からのメモリ要求
信号がなく前記記憶装置がビジー状態でなければリフレ
ッシュ要求信号を送出する要求信号送出手段を有し、前
記主記憶装置に対するリフレッシュ動作が前記要求信号
送出手段から与えられたリフレッシュ要求信号により行
なわれるかまたは前記計時手段からリフレッシュ動作の
限界値を示す第2の値が与えられたときに前記中央処理
装置の前記要求信号送出手段からのリフレッシュ要求信
号の供給の有無にかかわらず行なわれるようにしたこと
を特徴とするメモリリフレッシュ制御方式。1. In a memory refresh control method that refreshes the contents of a main storage device based on a request from a central processing unit, the main storage device includes a timer for timing a refresh operation cycle, and a predetermined first display signal sending means for sending a refresh request display signal to the central processing unit when the value of and a request signal sending means for sending a refresh request signal if there is no memory request signal from within the device and the storage device is in a busy state, and the refresh operation for the main storage device is performed by the request signal sending means. whether or not a refresh request signal is supplied from the request signal sending means of the central processing unit when the refresh operation is performed by a request signal or when a second value indicating the limit value of the refresh operation is given from the timer. A memory refresh control method characterized in that:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP53064667A JPS6048077B2 (en) | 1978-05-29 | 1978-05-29 | Memory refresh control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP53064667A JPS6048077B2 (en) | 1978-05-29 | 1978-05-29 | Memory refresh control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS54155737A JPS54155737A (en) | 1979-12-08 |
| JPS6048077B2 true JPS6048077B2 (en) | 1985-10-25 |
Family
ID=13264768
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP53064667A Expired JPS6048077B2 (en) | 1978-05-29 | 1978-05-29 | Memory refresh control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6048077B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4918645A (en) * | 1987-09-17 | 1990-04-17 | Wang Laboratories, Inc. | Computer bus having page mode memory access |
-
1978
- 1978-05-29 JP JP53064667A patent/JPS6048077B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS54155737A (en) | 1979-12-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4366540A (en) | Cycle control for a microprocessor with multi-speed control stores | |
| US20080270683A1 (en) | Systems and methods for a dram concurrent refresh engine with processor interface | |
| US5418920A (en) | Refresh control method and system including request and refresh counters and priority arbitration circuitry | |
| JPS6011394B2 (en) | data processing system | |
| US3790961A (en) | Random access dynamic semiconductor memory system | |
| US3961312A (en) | Cycle interleaving during burst mode operation | |
| JPS5942397B2 (en) | memory system | |
| JPH0622008B2 (en) | Synchronization circuit | |
| JP4482275B2 (en) | Hardware architecture of multi-mode power management system using a fixed time reference for operating system support | |
| JPS6048077B2 (en) | Memory refresh control method | |
| US6188627B1 (en) | Method and system for improving DRAM subsystem performance using burst refresh control | |
| JP3344123B2 (en) | Data receiving device | |
| US4567571A (en) | Memory control for refreshing in a step mode | |
| JP2913099B2 (en) | DRAM refresh device | |
| US3551898A (en) | Computer memory addressing | |
| JPH08129883A (en) | D-RAM refresh control method | |
| JP4174835B2 (en) | Microcontroller | |
| JP2616151B2 (en) | Memory refresh circuit | |
| JP2686361B2 (en) | Data update controller | |
| JPH04243087A (en) | Refresh device of random access memory and computer using this device | |
| US5325515A (en) | Single-component memory controller utilizing asynchronous state machines | |
| JPH05107314A (en) | IC test equipment | |
| US7475237B2 (en) | Timer with periodic channel service | |
| JPS63247996A (en) | Method for accessing memory | |
| JPS5829194A (en) | information processing equipment |