JP2005044460A - Memory control system and memory control circuit - Google Patents
Memory control system and memory control circuit Download PDFInfo
- Publication number
- JP2005044460A JP2005044460A JP2003279456A JP2003279456A JP2005044460A JP 2005044460 A JP2005044460 A JP 2005044460A JP 2003279456 A JP2003279456 A JP 2003279456A JP 2003279456 A JP2003279456 A JP 2003279456A JP 2005044460 A JP2005044460 A JP 2005044460A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- refresh
- circuit
- memory control
- turned
- 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
Links
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
Description
本発明はメモリ制御方式及びメモリ制御回路に関し、特に、システムリセットや電源異常の際のメモリのリフレッシュ制御技術に関する。 The present invention relates to a memory control system and a memory control circuit, and more particularly to a memory refresh control technique in the event of a system reset or power failure.
DRAM(dynamic random access memory)で構成されるメモリでは、DRAMが記憶する情報を維持するためにリフレッシュと呼ばれる動作が必要となる。リフレッシュは、メモリを制御するメモリ制御回路により一定間隔にてRAS(row address strobe)信号とCAS(column address strobe)信号を制御され実行される。 In a memory constituted by a DRAM (dynamic random access memory), an operation called refresh is required to maintain information stored in the DRAM. The refresh is executed by controlling a RAS (row address strobe) signal and a CAS (column address strobe) signal at regular intervals by a memory control circuit that controls the memory.
通常のアクセスではRAS信号の駆動後にCAS信号を駆動してDRAMへの読み出しや書き込みのアクセスをするが、CAS信号をRAS信号に先行して駆動することによりリフレッシュ指示をDRAMへリフレッシュを指示することが知られている。 In normal access, the CAS signal is driven after the RAS signal is driven to perform read or write access to the DRAM. The refresh instruction is instructed to the DRAM by driving the CAS signal prior to the RAS signal. It has been known.
メモリ装置の内容を維持しながら本体装置を初期化して再開するためのシステムリセットに対するリフレッシュの制御について特開平5−28757号公報が開示している。特開平5−28757号公報ではシステムリセットに対して、メモリ制御装置内のアクセス回路はリセットされるがリフレッシュ回路はリセットされずにリフレッシュを継続できるようにし、メモリ装置の内容を維持できるようにしている。 Japanese Patent Application Laid-Open No. 5-28757 discloses a refresh control for a system reset for initializing and restarting a main unit while maintaining the contents of a memory device. In Japanese Patent Laid-Open No. 5-28757, in response to a system reset, the access circuit in the memory control device is reset, but the refresh circuit is not reset so that the refresh can be continued and the contents of the memory device can be maintained. Yes.
また、DRAMが自身でリフレッシュを一定間隔で実行するセルフリフレッシュ機能を持つDRAMも実用化されている。セルフリフレッシュ機能とは、DRAMに外部からリフレッシュ指示を与えなくとも、DRAM自身がリフレッシュを自動的に実行する機能であり、電力消費が小さくなる特長を持っている。 A DRAM having a self-refresh function in which the DRAM itself performs refreshing at regular intervals has also been put into practical use. The self-refresh function is a function in which the DRAM itself performs refresh automatically without giving an external refresh instruction to the DRAM, and has a feature that power consumption is reduced.
特開平5−28757号公報に開示されている手法ではリフレッシュ回路はシステムリセットの際にリセットされないように構成されるのでリセット中でもメモリ制御装置の指示でリフレッシュを続けることができるが、リセットに続く初期化(メモリの内容は保持)が終わりメモリアクセスを開始するまでの間、メモリアクセスがないのにもかかわらずメモリ制御装置を動作させリフレッシュを続ける必要があり電力が浪費されていた。 In the technique disclosed in Japanese Patent Laid-Open No. 5-28757, the refresh circuit is configured not to be reset at the time of system reset, so that refresh can be continued by an instruction from the memory control device even during reset. Until memory access is started after memory conversion (memory contents are retained), it is necessary to operate the memory control device and continue refreshing even though there is no memory access, and power is wasted.
また、節電のために本体装置の電源供給をオフとしメモリ装置の内容のみを保持して待機する際セルフリフレッシュすることが知られており、特に電池により電源供給される小型の装置においては節電の要求は大きい。電池の消耗や誤って落下させたりして電池がはずれたりして突然電圧供給に異常が発生した場合にバックアップ用に備えた副電池を利用してメモリ内容を保持しながら主電池の復旧を待つ場合のリフレッシュ制御をリフレッシュする場合も、主電池が復旧した際に初期化が行われ電力が浪費されていた。 In addition, it is known that self-refreshing is performed when the power supply of the main unit is turned off and only the contents of the memory device are held for power saving, and particularly in a small device powered by a battery, power saving is known. The demand is big. When the battery is exhausted or accidentally dropped, and the battery suddenly breaks down, suddenly the voltage supply becomes abnormal. Using the secondary battery provided for backup, the memory contents are held and the main battery is restored. Even when refresh control is refreshed, initialization is performed when the main battery is restored, and power is wasted.
本発明の目的は、システムリセットから初期化に至る間の消費電力と、電源異常によるメモリの記憶内容のバックアップから再開するまでの間の電力消費を節約することを可能としたメモリ制御方式及びメモリ制御装置を提供することにある。 An object of the present invention is to provide a memory control system and a memory capable of saving power consumption from system reset to initialization and power consumption from backup to restart of memory contents due to power failure. It is to provide a control device.
本発明の第1のメモリ制御方式は、DRAMで構成されたメモリとメモリを制御するメモリ制御回路とCPUを含む論理回路とを有したメモリ制御方式であって、
前記メモリ制御回路は、システムリセットによりメモリに対してDRAM自身でリフレッシュするセルフリフレッシュの指示を開始し、システムリセット後の初期化終了後に一定間隔でCAS信号をRAS信号に先行させる通常リフレッシュの指示をメモリに開始することを特徴とする。
A first memory control system of the present invention is a memory control system having a memory constituted by a DRAM, a memory control circuit for controlling the memory, and a logic circuit including a CPU,
The memory control circuit starts a self-refresh instruction for refreshing the memory with DRAM itself by a system reset, and a normal refresh instruction for causing the CAS signal to precede the RAS signal at regular intervals after the initialization after the system reset. Start with memory.
本発明の第2のメモリ制御方式は、DRAMで構成されたメモリとメモリを制御するメモリ制御回路とCPUを含む論理回路とを有したメモリ制御方式であって、
前記メモリ制御回路は、CAS信号をRAS信号に先行させてメモリに通常リフレッシュを指示するリフレッシュ回路と、リセット信号によりオフされ論理回路の指示によりオンされるフラグとを有し、フラグがオフされるとメモリ自身の制御で一定間隔でリフレッシュ動作を行うセルフリフレッシュでメモリをリフレッシュさせ、フラグがオンされるとリフレッシュ回路による通常リフレッシュにてメモリをリフレッシュすることを特徴とする。
A second memory control system of the present invention is a memory control system having a memory composed of DRAM, a memory control circuit for controlling the memory, and a logic circuit including a CPU,
The memory control circuit includes a refresh circuit that instructs the memory to perform normal refresh by causing the CAS signal to precede the RAS signal, and a flag that is turned off by a reset signal and turned on by an instruction from a logic circuit, and the flag is turned off. The memory is refreshed by self-refresh that performs refresh operations at regular intervals under the control of the memory itself, and when the flag is turned on, the memory is refreshed by normal refresh by a refresh circuit.
本発明の第3のメモリ制御方式は、DRAMで構成されたメモリとメモリを制御するメモリ制御回路とCPUを含む論理回路と主電池と主電池に異常があった際にメモリのみに電力を供給する副電池と主電池の異常を監視する電源監視回路とを有したメモリ制御方式であって、
前記電源監視回路は主電池の電圧を監視して規定値以下となるとリセット信号を出力し、前記メモリ制御回路は、CAS信号をRAS信号に先行させてメモリに通常リフレッシュを指示するリフレッシュ回路と、メモリへのアクセスが可能であることを示すフラグとを有し、電源監視回路からリセット信号が出力されるとフラグをオフしてメモリ自身の制御で一定間隔でリフレッシュ動作を行うセルフリフレッシュでメモリをリフレッシュし、主電池の電力供給が停止した後も副電池による電力供給によりメモリのセルフリフレッシュを継続し、論理回路から指示を受けてフラグをオンするとリフレッシュ回路による通常リフレッシュでメモリをリフレッシュすることを特徴とする。
The third memory control system of the present invention supplies power only to the memory when there is an abnormality in the memory composed of DRAM, the memory control circuit for controlling the memory, the logic circuit including the CPU, the main battery, and the main battery. A memory control system having a secondary battery and a power supply monitoring circuit for monitoring an abnormality of the main battery,
The power monitoring circuit monitors the voltage of the main battery and outputs a reset signal when the voltage falls below a specified value.The memory control circuit precedes the RAS signal with the CAS signal to instruct the memory to perform normal refreshing; and And a flag indicating that the memory can be accessed. When a reset signal is output from the power supply monitoring circuit, the flag is turned off, and the memory is controlled by self-refresh that performs refresh operations at regular intervals under the control of the memory itself. After refreshing and the power supply of the main battery is stopped, the self-refresh of the memory is continued by the power supply by the sub battery. Features.
本発明の第4のメモリ制御方式は、本発明の第2又は第3のメモリ制御方式において、前記論理回路はリセット後の初期化処理を終了した時点で前記メモリ制御回路に初期化終了通知を送り、初期化終了通知を受けたメモリ制御回路が前記フラグをオンすることを特徴とする。 According to a fourth memory control system of the present invention, in the second or third memory control system of the present invention, the logic circuit notifies the memory control circuit of the completion of initialization when the initialization process after resetting is completed. The memory control circuit that has received the notification of completion of initialization turns on the flag.
本発明の第1のメモリ制御回路は、CAS信号をRAS信号に先行させてDRAMで構成されるメモリに通常リフレッシュを指示するリフレッシュ回路と、リセット信号によりオフされCPUを含む論理回路の指示によりオンされるフラグとを有し、フラグがオフされるとメモリ自身の制御で一定間隔でリフレッシュ動作を行うセルフリフレッシュの実行をメモリに指示し、フラグがオンされるとリフレッシュ回路による通常リフレッシュをメモリへ指示することを特徴とする。 The first memory control circuit according to the present invention includes a refresh circuit for instructing normal refresh to a memory constituted by a DRAM by causing a CAS signal to precede a RAS signal, and an on-state by a logic circuit including a CPU that is turned off by a reset signal. When the flag is turned off, the memory is instructed to execute a self-refresh that performs a refresh operation at regular intervals under the control of the memory. When the flag is turned on, normal refresh by the refresh circuit is sent to the memory. It is characterized by instructing.
本発明の第2のメモリ制御回路は、本発明の第1のメモリ制御回路において、前記フラグはリセット後の初期化処理を終了した時点で前記論理回路から通知される初期化終了通知によってオンされることを特徴とする。 In the second memory control circuit of the present invention, in the first memory control circuit of the present invention, the flag is turned on by an initialization end notification notified from the logic circuit when the initialization process after reset is completed. It is characterized by that.
メモリの記憶内容を保持しなければならないシステムリセットや電源復旧時の消費電力を節約することができる効果がある。 There is an effect that power consumption at the time of system reset or power supply restoration that must retain the stored contents of the memory can be saved.
次に、本発明を実施するための最良の形態について図面を参照して詳細に説明する。図1は本発明のメモリ制御方式を示したブロック図であり、DRAMからなるメモリ39と、メモリ39を制御するメモリ制御回路30と、本体装置のメモリ39とメモリ制御回路30以外のCPUや入出力装置等を含む論理回路40と、電源を供給する主電池10と、電源バックアップ用の副電池11と、電源供給回路12と、電源を監視する電源監視回路21とリセット回路23などを含む。
Next, the best mode for carrying out the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a memory control system according to the present invention. The memory 39 is a DRAM, a
電源供給回路12は、電源スイッチ25から受ける信号や論理回路40から受ける電源制御信号X68に従って、主電池10と副電池11で供給される直流電源電圧を論理回路40等で使用する直流電圧に変換して供給する機能を有し、主電池10によって作られる通常電源X51を論理回路40やメモリ制御回路30へ供給し、主電池10と副電池11から作られるバックアップ付き電源X52をメモリ39に供給する。なお、電源監視回路21やリセット回路23やORゲート22には図示しないが主電池10と副電池11から生成される電源が電源のオン/オフ状態に関わらず供給される。
The
電源監視回路21は、主電源10の出力電圧を監視し、予め決められた電圧以下となると主電池10に異常が発生したものとし電源異常信号X65をORゲート22と電源供給回路12へ出力する。主電源の異常としては、例えば、図1の装置が電池で駆動される装置で、誤って落下させたりして電池がケースからはずれてしまい電源の供給が無くなった場合や電池の故障や電池の寿命等が考えられる。
The power supply monitoring circuit 21 monitors the output voltage of the
リセット回路23は、リセットスイッチ24が操作されてシステムリセットが指示された場合、電源スイッチ25が操作されて電源がオンとなった場合、又は論理回路40からシステムリセットが指示された場合に予め決められたパルス幅以上のシステムリセット信号X67を生成して出力する。ORゲート22は電源異常信号X65とシステムリセット信号X66との論理和をリセット信号X67として出力する。リセット信号X67はメモリ制御回路30や論理回路40へ接続される。
The
電源スイッチ25は、電源のオン/オフを操作するスイッチであり、電源オン操作により電源供給回路12へ通常電源X51とバックアップ付き電源X52の出力開始を指示するとともにリセット回路23へパワーオンリセットを指示し、電源オフ操作により電源供給回路12へ通常電源X51とバックアップ付き電源X52の出力停止を指示するとともにリセット回路23へリセットを指示する。この場合、リセット回路23はリセット解除時にリセット要因がパワーオンリセットであることを通知し、論理回路40は全てのハードウェア資源の初期化を実行する。パワーオンリセットの際は初期化の際にメモリ内容を保持する必要がないので、メモリアクセスを開始する時点で通常リフレッシュを開始すればよい。
The
図2はメモリ制御回路30の一構成例を示すブロック図である。メモリ制御回路30はDRAMから構成されるメモリ39のアクセスやリフレッシュを制御する回路であり、図2に一構成例を示す。図2参照すると、フラグ33は、メモリアクセスが可能な状態であることを示すフラグであり論理回路40からの指示でオンされてアクセス許可状態となり、またリセット信号X67によりオフされアクセス禁止状態となる。フラグ33がオフの場合はANDゲート35とANDゲート36の出力をローレベルとし、RAS信号X61とCAS信号X62をローレベルにする。すなわち、フラグ33がオフとなるとセルフリフレッシュ状態となる。
FIG. 2 is a block diagram showing a configuration example of the
リフレッシュ回路31はフラグ33がオンの場合はCAS信号X62をRAS信号X61に先行させる通常リフレッシュ指示を一定間隔で行いメモリ39のリフレッシュを制御する回路である。アクセス回路32はフラグ33がオンの場合は論理回路40からのメモリアクセス要求を受けて、RAS信号X61やCAS信号X62に合わせてアドレスや制御信号をアドレス/制御線X63に出力し、データ線X64のデータを読み込んだりデータ線X64へ書く込みデータを出力したりする。また、アクセス回路32は論理回路40からの初期化終了通知を受けるとフラグ33をオンし、リフレッシュ回路31からの通常リフレッシュ要求を受けるとRAS/CAS信号の入力をセレクタ34に指示してリフレッシュ回路31に切り換える。
When the flag 33 is ON, the
次に、本発明のメモリ制御方式の動作について図面を参照して説明する。図3はシステムリセット時のリフレッシュ動作について示したタイミングチャートである。図3を参照すると、メモリ39のアクセスが可能で通常のリフレッシュが実行されている状態すなわちフラグ33がオンの状態では、リフレッシュ回路31がアクセス回路32に要求してセレクタ34の制御によりRAS/CASを制御可能とし、タイミングT71でCAS信号X62をアクティブなローレベルとし、続いてRAS信号X61をアクティブなローレベルとし、規定時間後のタイミングT72でCAS信号X62をハイレベルに戻し続いてRAS信号X61をハイレベルに戻す。
Next, the operation of the memory control system of the present invention will be described with reference to the drawings. FIG. 3 is a timing chart showing the refresh operation at the time of system reset. Referring to FIG. 3, when the memory 39 is accessible and normal refresh is being executed, that is, when the flag 33 is on, the
メモリ39のDRAMはタイミングT71からT72のCAS信号X62とRAS信号X61を受けると、通常のリフレッシュ指示であることを検出してリフレッシュを実行する。上記通常リフレッシュ状態ではリフレッシュ回路31が一定間隔でアクセス回路32のアクセス動作に割り込んで上記のようにCAS信号X62とRAS信号X61とを制御して通常のリフレッシュ指示をメモリ39へ与える。
When the DRAM of the memory 39 receives the CAS signal X62 and the RAS signal X61 from timing T71 to T72, it detects that it is a normal refresh instruction and executes refresh. In the normal refresh state, the
タイミングT73でリセットスイッチ24或いは論理回路40からシステムリセットが指示されるとリセット回路23は予め決められたパルス幅以上としたシステムリセット信号X66をORゲート22へ出力する。ORゲート22はリセット信号X67を論理回路40とメモリ制御回路30へ出力し、論理回路40とメモリ制御回路30はリセット信号X67によりソフトウェアから見えないハードウェアの回路を予め決められた値にリセットする。
When a system reset is instructed from the
タイミングT73からT74の間のリセット中の動作について説明すると、リセット信号X67によりフラグ33はオフされてRAS信号X61とCAS信号X62はともにローレベルとなり不正なメモリアクセスを抑止し、メモリ39はRAS信号X61とCAS信号X62が規定時間以上ローレベルであることを検出してセルフリフレッシュを開始する。アクセス回路32は、リセット中メモリ39に対するアクセス要求やアクセスを制御するハードウェア資源をアクセスのない状態にリセットし、リフレッシュ回路31はリセットにより動作を停止しフラグ33がオンとなるまで停止を継続する。
The operation during the reset between the timings T73 and T74 will be described. The flag 33 is turned off by the reset signal X67, the RAS signal X61 and the CAS signal X62 both become low level, and illegal memory access is suppressed. Self-refreshing is started by detecting that X61 and CAS signal X62 are at a low level for a predetermined time or more. The access circuit 32 resets the access request to the memory 39 being reset and the hardware resource for controlling access to a state in which no access is made, and the
タイミングT74でリセットが解除されると、論理回路40はシステムリセット時の処理として予め決められている初期化を開始する。初期化では、メモリ内容を保持した状態で処理を再開するために必要な制御情報の再設定等を実行するが、以降初期化とはメモリ39のデータを初期値に書き込む動作は含まないものとする。通常初期化はハードウェアの処理を実行するマイクロプログラム等で実行され装置にもよるが数十秒かかることもある。
When the reset is released at timing T74, the
タイミングT75までの間メモリ39はセルフリフレッシュを続けて記憶している情報の保持を行い、メモリ制御回路30はメモリアクセス要求の受付を拒絶する。タイミングT75で初期化が終わると論理回路40はメモリ制御回路30に対して初期化終了通知を送り、アクセス回路32は初期化終了通知を受けてフラグ33をオンする。フラグ33のオンによりリフレッシュ回路31とアクセス回路32は動作を開始する。その後リフレッシュ回路31は一定間隔で通常リフレッシュの指示を開始し、アクセス回路32もメモリアクセス要求の受付を再開する。
Until the timing T75, the memory 39 continues the self-refresh and holds the stored information, and the
以上のように、システムリセットが発行された場合には、リセットから初期化が終了するまでの間、メモリ制御回路30は動作を停止し、メモリ39は電力消費の少ないセルフリフレッシュにより記憶内容を保持するため、消費電力の節電が可能となる。
As described above, when a system reset is issued, the
次に、主電池10の電力供給が突然停止した場合の動作について図4を参照して説明する。主電池10からの電源供給が正常な場合はリフレッシュ回路31により一定間隔で通常リフレッシュの指示がタイミングT81、タイミングT82のように行われる。
Next, the operation when the power supply of the
この後タイミングT83で、主電池10が何らかの要因で異常となりその電圧が規定値以下になると電源監視回路21は異常を検出して電源異常信号X65をORゲート22へ出力する。ORゲート22はリセット信号X67を論理回路40とメモリ制御回路30へ出力する。また、電源監視回路21は電源供給回路12に対しては電源停止信号X69を送る。
Thereafter, at timing T83, when the
電源供給回路12は、主電池10の異常があると通常電源の供給が停止するか不安定となってしまうのを避けるため、電源監視回路21からの電源停止信号X69を受けて通常電源X51の出力を停止し、バックアップ付き電源X52のみ副電池11の電力を用いて正常に供給を続ける。従って、論理回路40やメモリ制御回路30への電力供給は停止され、メモリ39のみに電力が正常に供給される状態となる。
The
メモリ制御回路30は、リセット信号X67を受けるとフラグ33がオフとなりRAS信号X61とCAS信号X62をローレベルとしてメモリ39に対してセルフリフレッシュを指示する。その後電源がオフとなってもRAS信号X61とCAS信号X62はローレベルに保たれるのでセルフリフレッシュの指示は継続される。これにより装置は電源オフ状態となりメモリ39はセルフリフレッシュへと移行する。
When the
その後タイミングT84で主電池10の異常が復旧すると、電源監視回路21は、電圧が正常になったことを検出し、電源停止信号X69の出力を停止し、リセットに必要な時間だけ遅延させてから電源異常信号X65の出力を停止する。これにより、電源供給回路12から通常電源X51が供給開始され、リセット信号X67が継続するリセット中の状態となる。この状態では引き続きリフレッシュ回路31はセルフリフレッシュの指示を続ける。
After that, when the abnormality of the
タイミングT85でリセット信号X67が解除されると、論理回路40は初期化を開始し、予め決められた手続きに従ってハードウェアを初期化し、タイミングT86で初期化が終わると初期化終了通知をメモリ制御回路30へ送る。メモリ制御回路30は初期化終了通知を受けると、アクセス回路32はフラグ33をオンしリフレッシュ回路31が動作を開始する。これによりRAS信号X61とCAS信号X62はハイレベルになり、タイミングT87の通常リフレッシュ指示によりローレベルになりハイレベルに復旧する。
When the reset signal X67 is released at timing T85, the
以上のように、主電池10からの電力供給が予告無しに停止しても、それを検出してメモリ39のみに副電池11からの電力を供給してセルフリフレッシュさせることにより、メモリ39に記憶している情報を保持しておくことができ、復電後に通常リフレッシュへ戻してメモリ39に記憶した情報を失うことなく再利用できる。また、初期化実行中もセルフリフレッシュするようにしたのでより一層節電効率を上げている。
As described above, even if the power supply from the
電池駆動でない情報処理装置についても本発明は適用可能であり、同様の効果を得られる。 The present invention can also be applied to an information processing apparatus that is not battery-driven, and similar effects can be obtained.
10 主電池
11 副電池
12 電源供給回路
21 電源監視回路
22 ORゲート
23 リセット回路
24 リセットスイッチ
25 電源スイッチ
30 メモリ制御回路
31 リフレッシュ回路
32 アクセス回路
33 フラグ
39 メモリ
40 論理回路
DESCRIPTION OF
Claims (6)
前記メモリ制御回路は、システムリセットによりメモリに対してDRAM自身でリフレッシュするセルフリフレッシュの指示を開始し、システムリセット後の初期化終了後に一定間隔でCAS信号をRAS信号に先行させる通常リフレッシュの指示をメモリに開始することを特徴とするメモリ制御方式。 A memory control system having a memory composed of DRAM, a memory control circuit for controlling the memory, and a logic circuit including a CPU,
The memory control circuit starts a self-refresh instruction for refreshing the memory with DRAM itself by a system reset, and a normal refresh instruction for causing the CAS signal to precede the RAS signal at regular intervals after the initialization after the system reset. Memory control system characterized by starting with memory.
前記メモリ制御回路は、CAS信号をRAS信号に先行させてメモリに通常リフレッシュを指示するリフレッシュ回路と、リセット信号によりオフされ論理回路の指示によりオンされるフラグとを有し、フラグがオフされるとメモリ自身の制御で一定間隔でリフレッシュ動作を行うセルフリフレッシュでメモリをリフレッシュさせ、フラグがオンされるとリフレッシュ回路による通常リフレッシュにてメモリをリフレッシュすることを特徴とするメモリ制御方式。 A memory control system having a memory composed of DRAM, a memory control circuit for controlling the memory, and a logic circuit including a CPU,
The memory control circuit includes a refresh circuit that instructs the memory to perform normal refresh by causing the CAS signal to precede the RAS signal, and a flag that is turned off by a reset signal and turned on by an instruction from a logic circuit, and the flag is turned off. And a memory control system, wherein the memory is refreshed by self-refresh that performs refresh operations at regular intervals under the control of the memory itself, and when the flag is turned on, the memory is refreshed by normal refresh by a refresh circuit.
前記電源監視回路は主電池の電圧を監視して規定値以下となるとリセット信号を出力し、前記メモリ制御回路は、CAS信号をRAS信号に先行させてメモリに通常リフレッシュを指示するリフレッシュ回路と、メモリへのアクセスが可能であることを示すフラグとを有し、電源監視回路からリセット信号が出力されるとフラグをオフしてメモリ自身の制御で一定間隔でリフレッシュ動作を行うセルフリフレッシュでメモリをリフレッシュし、主電池の電力供給が停止した後も副電池による電力供給によりメモリのセルフリフレッシュを継続し、論理回路から指示を受けてフラグをオンするとリフレッシュ回路による通常リフレッシュでメモリをリフレッシュすることを特徴とするメモリ制御方式。 A memory composed of DRAM, a memory control circuit that controls the memory, a logic circuit including a CPU, a main battery, and an abnormality in the main battery and the sub battery that supplies power only to the memory when there is an abnormality are monitored. A memory control system having a power monitoring circuit,
The power monitoring circuit monitors the voltage of the main battery and outputs a reset signal when the voltage falls below a specified value.The memory control circuit precedes the RAS signal with the CAS signal to instruct the memory to perform normal refreshing; and And a flag indicating that the memory can be accessed. When a reset signal is output from the power supply monitoring circuit, the flag is turned off, and the memory is controlled by self-refresh that performs refresh operations at regular intervals under the control of the memory itself. After refreshing and the power supply of the main battery is stopped, the self-refresh of the memory is continued by the power supply by the sub battery. A featured memory control system.
6. The memory control circuit according to claim 5, wherein the flag is turned on by an initialization end notification notified from the logic circuit when the initialization process after reset is completed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003279456A JP2005044460A (en) | 2003-07-24 | 2003-07-24 | Memory control system and memory control circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003279456A JP2005044460A (en) | 2003-07-24 | 2003-07-24 | Memory control system and memory control circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005044460A true JP2005044460A (en) | 2005-02-17 |
Family
ID=34265551
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003279456A Pending JP2005044460A (en) | 2003-07-24 | 2003-07-24 | Memory control system and memory control circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005044460A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007046481A1 (en) * | 2005-10-20 | 2007-04-26 | Matsushita Electric Industrial Co., Ltd. | Memory control device |
CN102324247A (en) * | 2010-04-12 | 2012-01-18 | 英特尔公司 | The method of staggered self-refresh |
-
2003
- 2003-07-24 JP JP2003279456A patent/JP2005044460A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007046481A1 (en) * | 2005-10-20 | 2007-04-26 | Matsushita Electric Industrial Co., Ltd. | Memory control device |
US7885133B2 (en) | 2005-10-20 | 2011-02-08 | Panasonic Corporation | Memory control device |
CN102324247A (en) * | 2010-04-12 | 2012-01-18 | 英特尔公司 | The method of staggered self-refresh |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6981159B2 (en) | Memory control device having less power consumption for backup | |
WO2010035315A1 (en) | Power consumption control method in multi-core cpu, power consumption control program, and information processing system | |
US8352770B2 (en) | Method, system and apparatus for low-power storage of processor context information | |
JPH07182857A (en) | Microcomputer system | |
JP5581577B2 (en) | Data processing device | |
JP2008225916A (en) | Power reduction device in data backup | |
JP4186942B2 (en) | MEMORY BACKUP CIRCUIT AND ELECTRONIC DEVICE USING THE SAME | |
JP2006350859A (en) | Memory controller and memory control method | |
JP2005025364A (en) | Circuit and method for controlling power source supply to memory and memory-mounted device | |
JP5353762B2 (en) | Memory control device | |
JPH0773146A (en) | Electronic unit | |
CN103150191A (en) | Terminal equipment | |
JP2005044460A (en) | Memory control system and memory control circuit | |
US11861781B2 (en) | Graphics processing units with power management and latency reduction | |
JP2001250377A (en) | Electronic equipment with energy saving function | |
JP2009247153A (en) | Power supply relay controller and power supply relay control method | |
JP2004145584A (en) | Disk array device | |
JP2016062348A (en) | Electronic device | |
US9727121B2 (en) | Wireless communication device | |
JPH06175754A (en) | Automatic storing mechanism for main contents of storage | |
JP2008134785A (en) | Memory controller | |
JP2007018288A (en) | Arithmetic processor and power saving mode changeover method therefor | |
JPH10105478A (en) | Memory control circuit | |
JPH11149419A (en) | Method and device for backing up data | |
JP4684575B2 (en) | Semiconductor device and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20050401 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060615 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20070129 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20080618 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20081202 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20090331 |