JP2600345B2 - Refresh delivery method for dynamic random access memory - Google Patents

Refresh delivery method for dynamic random access memory

Info

Publication number
JP2600345B2
JP2600345B2 JP63286141A JP28614188A JP2600345B2 JP 2600345 B2 JP2600345 B2 JP 2600345B2 JP 63286141 A JP63286141 A JP 63286141A JP 28614188 A JP28614188 A JP 28614188A JP 2600345 B2 JP2600345 B2 JP 2600345B2
Authority
JP
Japan
Prior art keywords
processor
main memory
refresh
master
refreshes
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 - Lifetime
Application number
JP63286141A
Other languages
Japanese (ja)
Other versions
JPH02132697A (en
Inventor
理 岡本
浩 廉田
克幸 金子
裕二 谷川
雅逸 中島
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP63286141A priority Critical patent/JP2600345B2/en
Publication of JPH02132697A publication Critical patent/JPH02132697A/en
Application granted granted Critical
Publication of JP2600345B2 publication Critical patent/JP2600345B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Dram (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明はダイナミックランダムアクセスメモリ(以
下、DRAMと略称する。)を主記憶として使用するシステ
ムに関するものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system using a dynamic random access memory (hereinafter abbreviated as DRAM) as a main memory.

従来の技術 第3図に示すごとく、現在のDRAMを主記憶として使用
したシステムにおいて,DRAMをリフレッシュするマスタ
はDRAMインターフェース100ただ1つである。ここで102
はプロセサA、104はプロセサB、106はDRAMからなる主
記憶、108はシステムデータバス、110はシステムアドレ
スバスである。
2. Description of the Related Art As shown in FIG. 3, in a system using a current DRAM as a main memory, only one DRAM interface 100 refreshes the DRAM. Where 102
Is a processor A, 104 is a processor B, 106 is a main memory composed of DRAM, 108 is a system data bus, and 110 is a system address bus.

今後プロセサの高機能化によってDRAMインターフェー
スを持ち主記憶をリフレッシュする機能を有するプロセ
サチップが現れると思われる。更にこのようなチップで
マルチプロセサ構成をとった場合いずれかの1つのプロ
セサが主記憶をリフレッシュするだけでよい。よって、
このようなシステムでは主記憶をリフレッシュするプロ
セサを変えるといった状況が現れる。
It is expected that processor chips having a DRAM interface and a function of refreshing main memory will appear in the future as processors become more sophisticated. Further, when a multi-processor configuration is adopted with such a chip, one of the processors only needs to refresh the main memory. Therefore,
In such a system, a situation appears in which the processor for refreshing the main memory is changed.

第3図に示すシステムで、第4図のステップaに示す
ごとくプロセサA102が主記憶106の先頭アドレスからリ
フレッシュを始め、第4図のステップbに示すごとくあ
るアドレスをリフレッシュしているところで主記憶106
をリフレッシュするマスタをプロセサA102からプロセサ
B104へ変えた場合、第4図のステップcからdに示すご
とく、主記憶106をリフレッシュしているアドレスをプ
ロセサ間で受け渡し引き継いだアドレスでリフレッシュ
を続ける。
In the system shown in FIG. 3, the processor A 102 starts refreshing from the head address of the main memory 106 as shown in step a of FIG. 4 and refreshes an address as shown in step b of FIG. 106
Refresh master from processor A102 to processor
In the case of changing to B104, as shown in steps c to d in FIG. 4, the address that refreshes the main memory 106 is passed between the processors and the refresh is continued with the succeeded address.

または、第5図に示すごとく先程と同様のタイミング
でリフレッシュするプロセサを変えた場合、第5図のス
テップcからdに示すごとく、主記憶をリフレッシュし
ているアドレスをプロセサ間で受け渡しせずに新たな先
頭アドレスからリフレッシュを始めることが考えられ
る。
Alternatively, as shown in FIG. 5, when the processor to be refreshed is changed at the same timing as before, as shown in steps c to d in FIG. 5, the address for refreshing the main memory is not transferred between the processors. It is conceivable to start refreshing from a new head address.

発明が解決しようとする課題 しかし、前者の場合には主記憶をリフレッシュしてい
るアドレスをプロセサ間で受け渡す動作が必要であり、
後者の場合には第5図のステップdの斜線部ではDRAMの
仕様以上のリフレッシュサイクルだけリフレッシュが行
われない部分が現れる可能性のある領域が発生し、DRAM
に格納されているデータを破壊する可能性がある。
Problems to be Solved by the Invention However, in the former case, an operation of passing an address for refreshing the main memory between processors is required,
In the latter case, there is a possibility that a portion where refresh is not performed for a refresh cycle exceeding the DRAM specification may appear in the hatched portion of step d in FIG.
There is a possibility of destroying the data stored in.

課題を解決するための手段 本発明は、かかる問題点を鑑み、ダイナミックランダ
ムアクセスメモリからなる主記憶と、ダイナミックラン
ダムアクセスメモリインターフェースを持ち前記主記憶
をリフレッシュする機能を有し前記主記憶を共有する複
数のプロセサを備えたシステムにおいて、それぞれのプ
ロセサに前記主記憶をリフレッシュするマスタであるこ
とを示す手段を設け、複数のプロセサのうち前記主記憶
のリフレッシュを行うマスタを第1のプロセサから別の
プロセサである第2のプロセサに移す場合に、前記第1
のプロセサは前記主記憶をリフレッシュするマスタであ
ることを示す手段を通じ前記第2のプロセサにリフレッ
シュのマスタを受け渡し、その後前記第2のプロセサは
リフレッシュを開始し、前記第1のプロセサ及び第2の
プロセサがそれぞれ前記主記憶の異なるアドレスを同時
にリフレッシュすることを特徴とするダイナミックラン
ダムアクセスメモリのリフレッシュ受け渡し方法であ
る。
Means for Solving the Problems In view of such a problem, the present invention shares a main memory including a dynamic random access memory and a function of refreshing the main memory having a dynamic random access memory interface and having a function of refreshing the main memory. In a system having a plurality of processors, means for indicating that each of the processors is a master that refreshes the main memory is provided, and a master that refreshes the main memory among the plurality of processors is different from a first processor from a first processor. When transferring to a second processor which is a processor, the first processor
Processor passes the refresh master to the second processor through means indicating that it is the master that refreshes the main memory, after which the second processor initiates a refresh, and the first processor and the second processor A refresh transfer method for a dynamic random access memory, wherein a processor refreshes different addresses of the main memory at the same time.

作用 それぞれのプロセサにDRAMである主記憶をリフレッシ
ュするマスタであることを示す手段を設けることにより
それぞれのプロセサにおいてリフレッシュするマスタで
あることを示す。
Action Each processor is provided with a means for indicating that it is a master for refreshing the main memory, which is a DRAM, thereby indicating that each processor is a master for refreshing.

DRAMのリフレッシュのマスタを移す場合に、もとのリ
フレッシュのマスタの第1のプロセサが主記憶をリフレ
ッシュするマスタであることを示す手段を通じ第2のプ
ロセサにリフレッシュのマスタを受け渡し、その後前記
第2のプロセサはリフレッシュを開始し、前記第1のプ
ロセサ及び第2のプロセサがそれぞれ前記主記憶の異な
るアドレスを同時にリフレッシュすることによりDRAMの
仕様以上のリフレッシュサイクルがあくことを防ぎ、よ
って主記憶のデータの破壊を防ぐ。
When transferring the refresh master of the DRAM, the master of the refresh is transferred to the second processor through the means for indicating that the first processor of the original refresh is the master of refreshing the main memory, and then the second processor is transferred to the second processor. Starts refreshing, and the first processor and the second processor simultaneously refresh different addresses of the main memory, respectively, thereby preventing a refresh cycle exceeding the specification of the DRAM from occurring. Prevent the destruction of.

実施例 本発明による実施例を第1図に示す。システム立ち上
げ後、プロセサA2は、DRAMによって作られた主記憶10の
ただ1つのリフレッシュのマスタである。リフレッシュ
のマスタであるプロセサA2は、第2図のステップaに示
すごとく主記憶10の先頭アドレスから主記憶のリフレッ
シュを行い、第2図のステップbに示すごとく主記憶10
のあるアドレスをリフレッシュしている。12はシステム
データバス、14はシステムアドレスバスである。
Embodiment An embodiment according to the present invention is shown in FIG. After system startup, processor A2 is the only refresh master in main memory 10 created by DRAM. The processor A2, which is the master of the refresh, performs the refresh of the main memory from the start address of the main memory 10 as shown in step a of FIG. 2, and the main memory 10 as shown in step b of FIG.
Is refreshing the address with 12 is a system data bus and 14 is a system address bus.

この時に主記憶10をリフレッシュするプロセサをプロ
セサA2からプロセサB2に変える。
At this time, the processor for refreshing the main memory 10 is changed from the processor A2 to the processor B2.

まずプロセサA2は、実行状態でないプロセサのコント
ロールレジスタ8をアクセスしリフレッシュのマスタを
プロセサBに受け渡すことと実行状態にはいることを書
き込む。さらにプロセサA2は自分自身がリフレッシュの
マスタを放棄したことをコントロールレジスタ6に書き
込む。その後、プロセサA2は、第2図のステップbに示
すごとくひき続き主記憶10をリフレッシュし主記憶10の
全てのワードをリフレッシュするまでリフレッシュを行
い、その後リフレッシュ動作を終了する。一方、プロセ
サB4は主記憶10の先頭アドレスからリフレッシュを開始
する(同図ステップbからd)。
First, the processor A2 accesses the control register 8 of the processor that is not in the execution state and writes that the refresh master is transferred to the processor B and that the processor is in the execution state. Further, the processor A2 writes in the control register 6 that it has abandoned the refresh master itself. Thereafter, the processor A2 performs refresh until the main memory 10 is refreshed until all the words in the main memory 10 are refreshed, as shown in step b of FIG. 2, and then the refresh operation ends. On the other hand, the processor B4 starts refreshing from the head address of the main memory 10 (steps b to d in the figure).

ここで第2図のリフレッシュマスタの切り換えタイミ
ングに示すごとく、プロセサA2とプロセサB4の両方が共
通リフレッシュ期間だけ主記憶10の異なるアドレスをリ
フレッシュしているためDRAMの仕様以上のリフレッシュ
サイクルがあくことを防ぎ、よってデータの破壊を防
ぐ。またリフレッシュ動作は、DRAMアクセス全体の数パ
ーセントにすぎず、両方のプロセサが同時に主記憶をリ
フレッシュすることによってシステムの性能を大きく下
げることはない。
Here, as shown in the switching timing of the refresh master in FIG. 2, since both the processor A2 and the processor B4 are refreshing different addresses of the main memory 10 for the common refresh period, there is a need for a refresh cycle exceeding the DRAM specification. To prevent data corruption. Also, the refresh operation is only a few percent of the total DRAM access and does not significantly degrade system performance by having both processors refresh main memory at the same time.

発明の効果 複数のプロセサからなるシステムにおいて、本発明に
かかるダイナミックランダムアクセスメモリのリフレッ
シュ方法を用いることにより、DRAMからなる主記憶のデ
ータの破壊を防ぐ。
Effect of the Invention In a system including a plurality of processors, by using the method for refreshing a dynamic random access memory according to the present invention, destruction of data in a main memory including a DRAM is prevented.

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

第1図は本発明にかかる一実施例のプロセサシステムの
構成図、第2図は本発明にかかる実施例の動作を説明す
るタイミングチャート図、第3図はダイナミックランダ
ムアクセスメモリを主記憶とした従来のシステムの構成
図、第4図は従来のシステムの動作を説明するタイミン
グチャート図、第5図は従来のシステムの動作を説明す
る他のタイミングチャート図である。 2……プロセサA、4……プロセサB、6,8……コント
ロールレジスタ、10……主記憶、12……システムデータ
バス、14……システムアドレスバス。
FIG. 1 is a block diagram of a processor system according to an embodiment of the present invention, FIG. 2 is a timing chart for explaining the operation of the embodiment according to the present invention, and FIG. 3 uses a dynamic random access memory as a main memory. FIG. 4 is a configuration diagram of a conventional system, FIG. 4 is a timing chart illustrating the operation of the conventional system, and FIG. 5 is another timing chart illustrating the operation of the conventional system. 2 ... processor A, 4 ... processor B, 6, 8 ... control register, 10 ... main memory, 12 ... system data bus, 14 ... system address bus.

フロントページの続き (72)発明者 谷川 裕二 大阪府門真市大字門真1006番地 松下電 器産業株式会社内 (72)発明者 中島 雅逸 大阪府門真市大字門真1006番地 松下電 器産業株式会社内 (56)参考文献 特開 昭52−3347(JP,A) 特開 昭57−195384(JP,A) 特公 昭57−34596(JP,B2)Continuing on the front page (72) Inventor Yuji Tanigawa 1006 Kazuma Kadoma, Osaka Prefecture Inside Matsushita Electric Industrial Co., Ltd. 56) References JP-A-52-3347 (JP, A) JP-A-57-195384 (JP, A) JP-B-57-34596 (JP, B2)

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ダイナミックランダムアクセスメモリから
なる主記憶と、ダイナミックランダムアクセスメモリイ
ンターフェースを持ち前記主記憶をリフレッシュする機
能を有し前記主記憶を共有する複数のプロセサを備えた
システムにおいて、それぞれのプロセサに前記主記憶を
リフレッシュするマスタであることを示す手段を設け、
複数のプロセサのうち前記主記憶のリフレッシュを行う
マスタを第1のプロセサから別のプロセサである第2の
プロセサに移す場合に、前記第1のプロセサは前記主記
憶をリフレッシュするマスタであることを示す手段を通
じ前記第2のプロセサにリフレッシュのマスタを受け渡
し、その後前記第2のプロセサはリフレッシュを開始
し、前記第1のプロセサ及び第2のプロセサがそれぞれ
前記主記憶の異なるアドレスを同時にリフレッシュする
ことを特徴とするダイナミックランダムアクセスメモリ
のリフレッシュ受け渡し方法。
1. A system comprising: a main memory comprising a dynamic random access memory; and a plurality of processors having a dynamic random access memory interface and having a function of refreshing the main memory and sharing the main memory. Means for indicating that the master is a master for refreshing the main memory,
When transferring a master that refreshes the main memory among a plurality of processors from a first processor to a second processor that is another processor, the first processor is a master that refreshes the main memory. Passing a refresh master to the second processor through the means shown, after which the second processor initiates a refresh, wherein the first processor and the second processor each simultaneously refresh a different address of the main memory. A method for delivering and receiving a refresh of a dynamic random access memory.
【請求項2】複数のプロセサのうち前記主記憶のリフレ
ッシュを行うマスタを第1のプロセサから別のプロセサ
である第2のプロセサに移す場合に、前記第1のプロセ
サは前記主記憶をリフレッシュするマスタであることを
示す手段を通じ前記第2のプロセサにリフレッシュのマ
スタを受け渡し、前記主記憶のリフレッシュのマスタを
放棄し、その後前記第1のプロセサは前記主記憶の全て
のワードを1回だけリフレッシュを行い、前記第2のプ
ロセサはリフレッシュを開始し、前記第1のプロセサ及
び第2のプロセサがそれぞれ前記主記憶の異なるアドレ
スを同時にリフレッシュすることを特徴とする請求項1
に記載のダイナミックランダムアクセスメモリのリフレ
ッシュ受け渡し方法。
2. The method according to claim 1, wherein the first processor refreshes the main memory when transferring a master that refreshes the main memory among the plurality of processors from the first processor to a second processor that is another processor. Passing the master of refresh to the second processor through means indicating the master and relinquishing the master of refresh of the main memory, after which the first processor refreshes all the words of the main memory only once And the second processor starts refreshing, and the first processor and the second processor respectively refresh different addresses of the main memory at the same time.
2. The method of delivering a refresh of a dynamic random access memory according to item 1.
【請求項3】主記憶をリフレッシュするマスタであるこ
とを示す手段を、それぞれのプロセサ内に設けられたコ
ントロールレジスタとし、前記主記憶のリフレッシュの
マスタを動作中の第1のプロセサから実行状態でない別
のプロセサである第2のプロセサに移す場合に、前記第
1のプロセサは前記第2のプロセサのコントロールレジ
スタをアクセスし前記第2のプロセサにリフレッシュの
マスタを受け渡すことと実行状態に移ることを書き込
み、前記第1のプロセサは前記主記憶のリフレッシュの
マスタを放棄し、その後前記第1のプロセサは前記主記
憶の全てのワードを1回だけリフレッシュを行い、前記
第2のプロセサはリフレッシュを開始し、前記第1のプ
ロセサ及び第2のプロセサがそれぞれ前記主記憶の異な
るアドレスを同時にリフレッシュすることを特徴とする
請求項1または請求項2に記載のダイナミックランダム
アクセスメモリのリフレッシュ受け渡し方法。
3. A means for indicating a master for refreshing the main memory is a control register provided in each processor, and the master for refreshing the main memory is not in an execution state from the first processor in operation. When transferring to another processor, the second processor, the first processor accesses a control register of the second processor, passes a refresh master to the second processor, and enters an execution state. And the first processor relinquishes the master of the main memory refresh, after which the first processor refreshes all the words of the main memory only once, and the second processor refreshes the main memory. Starting, the first processor and the second processor each simultaneously store different addresses in the main memory. Dynamic random access memory refresh delivery method according to claim 1 or claim 2, characterized in that fresh.
【請求項4】プロセサの数を2個とすることを特徴とす
る請求項1乃至3に記載のダイナミックランダムアクセ
スメモリのリフレッシュ受け渡し方法。
4. The method according to claim 1, wherein the number of processors is two.
JP63286141A 1988-11-11 1988-11-11 Refresh delivery method for dynamic random access memory Expired - Lifetime JP2600345B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63286141A JP2600345B2 (en) 1988-11-11 1988-11-11 Refresh delivery method for dynamic random access memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63286141A JP2600345B2 (en) 1988-11-11 1988-11-11 Refresh delivery method for dynamic random access memory

Publications (2)

Publication Number Publication Date
JPH02132697A JPH02132697A (en) 1990-05-22
JP2600345B2 true JP2600345B2 (en) 1997-04-16

Family

ID=17700467

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63286141A Expired - Lifetime JP2600345B2 (en) 1988-11-11 1988-11-11 Refresh delivery method for dynamic random access memory

Country Status (1)

Country Link
JP (1) JP2600345B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS523347A (en) * 1975-06-24 1977-01-11 Nippon Telegr & Teleph Corp <Ntt> Refresh control system in memory

Also Published As

Publication number Publication date
JPH02132697A (en) 1990-05-22

Similar Documents

Publication Publication Date Title
JP2571067B2 (en) Bus master
KR940007690A (en) Processor system with synchronous dynamic memory
JP2600345B2 (en) Refresh delivery method for dynamic random access memory
JP3153078B2 (en) Data processing device
JPH0419896A (en) Refresh method for dynamic memory
JP2783195B2 (en) Microcomputer
JP2913099B2 (en) DRAM refresh device
JPH04143993A (en) Dram controller
JP3202272B2 (en) DMA controller
JPS6139298A (en) Control device of dynamic random access memory
JPH06111570A (en) Dram control circuit
JPH04372030A (en) Memory access system for processor
CN1921008B (en) Memory control system and memory control circuit
JPH04362594A (en) Memory backup controller
JPS61997A (en) Dynamic memory refresh circuit
JPH0476886A (en) Memory
JPH03116459U (en)
JPH04153984A (en) Method for controlling dynamic memory
JPS5862890A (en) Memory refresh control system of main storage device
JPH0660645A (en) Power saving storage device
JPS6134650A (en) Storage device
JPH01290193A (en) Dram refresh control system
JPH0241108B2 (en)
JPH08335186A (en) Reading method for shared memory
JPH03115998U (en)