JP2005321938A - Semiconductor device and control method thereof - Google Patents
Semiconductor device and control method thereof Download PDFInfo
- Publication number
- JP2005321938A JP2005321938A JP2004138361A JP2004138361A JP2005321938A JP 2005321938 A JP2005321938 A JP 2005321938A JP 2004138361 A JP2004138361 A JP 2004138361A JP 2004138361 A JP2004138361 A JP 2004138361A JP 2005321938 A JP2005321938 A JP 2005321938A
- Authority
- JP
- Japan
- Prior art keywords
- sram
- standby
- control circuit
- power supply
- data
- 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.)
- Granted
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
Landscapes
- Microcomputers (AREA)
- Memory System (AREA)
Abstract
Description
本発明は、半導体装置及びその制御方法に関し、特にメモリを備えた半導体装置及びその制御方法に関する。 The present invention relates to a semiconductor device and a control method thereof, and more particularly to a semiconductor device including a memory and a control method thereof.
シングルチップ・マイクロコンピュータでは従来、消費電力を低減するため、スタンバイモードとして、メモリへの電源供給を停止している(特許文献1)。すなわち、マイクロコンピュータの動作が必要ないとき、CPUやクロック発生器などの動作を停止させて、マイクロコンピュータの消費電流を動作時から減少させている。 Conventionally, in a single-chip microcomputer, in order to reduce power consumption, power supply to a memory is stopped as a standby mode (Patent Document 1). That is, when the operation of the microcomputer is not necessary, the operation of the CPU, the clock generator, etc. is stopped to reduce the current consumption of the microcomputer from the time of operation.
この従来のシングルチップ・マイクロコンピュータについて図1を用いて説明する。図1に従来のシングルチップ・マイクロコンピュータのブロック図を示す。マイクロコンピュータ20内のCPU21はバスライン22を介して、ROM23、不揮発性メモリ24、I/Oポート25とそれぞれ接続されている。
This conventional single-chip microcomputer will be described with reference to FIG. FIG. 1 shows a block diagram of a conventional single-chip microcomputer. A
CPU21はクロック発生器(以下「CG」という))26よりクロック信号を供給されて動作を行い、ROM23に格納されているプログラムを順次読み出して実行する。CPU21は、プログラムの実行の際に不揮発性メモリ24にデータの書き込み及び読み出しを行う。また、CPU21はI/Oポート25を介して入出力端子27よりデータの入出力を行う。
The
上記の不揮発性メモリ24はSRAM24aとE2PROM24bから構成されている。SRAM24aとE2PROM24bとはそれぞれの記憶領域が1対1に対応している。両者間のデータ転送は一括して行われる.
The
スタンバイ制御回路30はCPU21よりスタンバイ起動要求があったとき、または電源電圧検出回路31からスタンバイに切り替える検出信号が供給されたときに起動する。電源電圧検出回路31はマイクロコンピュータ20に供給される電源の電圧低下を検出した時にスタンバイに切り替える検出信号をスタンバイ制御回路130に出力する。スタンバイ制御回路30はクロック信号よりスタンバイ起動を行う制御信号を生成して、不揮発性メモリ24及びCPU21、CG26、などのマイクロコンピュータ全回路それぞれに供給する。
The
これによって、SRAM24aのデータが一括してE2PROM24bに転送されて保持され、CPU21、CG26等の全回路はその動作を一時停止する。また、CG26はスタンバイモードによって、動作を継続する場合もある。
As a result, the data in the
また、スタンバイ制御回路30は、スタンバイ動作中に、端子32よりスタンバイ解除要求があったときにスタンバイ解除を行う制御信号を生成して不揮発性メモリ24及びCPU21、CG26等の全回路にそれぞれ供給する.
In addition, the
これによってCPU21、CG26等の全回路はその動作を再開し、E2PROM24bのデータが一括してSRAM24aに転送されてCPU21によるアクセスが可能になる。この構成により、動作の必要がないときは、CPU、CG26などの各回路を停止することができるため、マイクロコンピュータの消費電力を低減することができる。
As a result, all the circuits such as the
ところで、LSIの微細化が進むにつれて、LSIを構成するトランジスタからのリーク電流が増大し、消費電力が大きくなることが問題になっている。リーク電流はスタンバイ時にも流れるため、スタンバイモードによる消費電力低減効果が低くなる。従って、消費電力低減効果を向上するためには、細かな電源管理を行い、頻繁にスタンバイモードの使用する必要がある。 By the way, as LSI miniaturization progresses, there is a problem that leakage current from transistors constituting the LSI increases and power consumption increases. Since the leakage current flows even during standby, the power consumption reduction effect by the standby mode is reduced. Therefore, in order to improve the power consumption reduction effect, it is necessary to perform fine power management and frequently use the standby mode.
しかしながら、上述のシングルチップ・マイクロコンピュータでは、以下のような問題点があった。従来技術では、図1に示したようにスタンバイ時の揮発性メモリであるSRAMデータの保全にE2PROMのような不揮発性メモリを使用している。E2PROMのように不揮発性メモリには書き込み/消去回数に制限がある。不揮発性メモリの書き込み消去回数はE2PROMの場合105〜106回までと限られており、スタンバイモードの利用回数に上限が生じる。従って、スタンバイ時におけるSRAM24aからE2PROMへのデータ転送回数が制限される。このため、スタンバイモードの使用回数に制限が発生し、スタンバイモードを頻繁に使用して、細かな電源管理を行うことが困難になる。 However, the above-described single-chip microcomputer has the following problems. In the prior art, as shown in FIG. 1, a non-volatile memory such as E 2 PROM is used to maintain SRAM data, which is a volatile memory during standby. Non-volatile memories such as E 2 PROM have a limited number of write / erase cycles. In the case of E 2 PROM, the number of times of writing and erasing data in the nonvolatile memory is limited to 10 5 to 10 6 times, and an upper limit occurs in the number of times of use in the standby mode. Accordingly, the number of times of data transfer from the SRAM 24a to the E 2 PROM during standby is limited. For this reason, the number of times of use of the standby mode is limited, and it becomes difficult to perform fine power management by frequently using the standby mode.
また、スタンバイモード時にSRAMを別のメモリにデータ退避せず、SRAMのみをスタンバイモードに入れない場合、リーク電流が発生する。高速なSRAMでは閾値電圧が低くスタンバイ時のリーク電流が大きい。リーク電流を低減するためにはSRAMの閾値電圧を高くすれば良いが、アクセススピードが低下してしまう。
このように従来のシングルチップ・マイクロコンピュータでは消費電力を低減することが困難であるという問題点があった。
本発明はこのような問題点に鑑みてなされたものであり消費電力を低減することができるシングルチップ・マイクロコンピュータを提供することを目的とする。
As described above, the conventional single-chip microcomputer has a problem that it is difficult to reduce power consumption.
The present invention has been made in view of such problems, and an object thereof is to provide a single-chip microcomputer capable of reducing power consumption.
本発明の第1の態様にかかる半導体装置は、第1のSRAM(例えば、本発明の実施の形態におけるSRAM124a)と、前記第1のSRAMよりもしきい値の高い第2のSRAM(例えば、本発明の実施の形態における第2のSRAM124a)と、少なくとも一部の回路の動作を停止させるスタンバイ状態にするか否かを制御するスタンバイ制御回路(例えば、本発明の実施の形態におけるスタンバイ制御回路130)と、前記スタンバイ制御回路からの信号に基づいて前記第1のSRAM及び前記第2のSRAMに供給する電源を制御する電源制御回路(例えば、本発明の実施の形態における電源制御回路140)と、前記スタンバイ制御回路からの信号に基づいて前記第1のSRAMと前記第2のSRAMとの間のデータ転送を制御するメモリコントローラ(例えば、本発明の実施の形態におけるMEMC150)とを備え、前記スタンバイ制御回路からのスタンバイ起動要求信号(例えば、本発明の実施の形態におけるスタンバイ起動要求信号144)に基づいて、前記電源制御回路が前記第2のSRAMに電源供給を開始した後、前記メモリコントローラが前記第1のSRAMから前記第2のSRAMにデータを転送させ、前記スタンバイ制御回路からのスタンバイ解除要求信号(例えば、本発明の実施の形態におけるスタンバイ解除要求信号145)に基づいて、前記メモリコントローラが前記第2のSRAMから前記第1のSRAMにデータを転送した後、前記電源制御回路が前記第2のSRAMに対して電源供給を停止するものである。これにより、頻繁にスタンバイモードに切り替えることができ、細かな電源管理が可能になるため、消費電力を低減することができる。
The semiconductor device according to the first aspect of the present invention includes a first SRAM (for example, the SRAM 124a in the embodiment of the present invention) and a second SRAM (for example, the present SRAM) having a threshold value higher than that of the first SRAM. The second SRAM 124a in the embodiment of the invention and a standby control circuit for controlling whether or not to enter a standby state in which the operation of at least some of the circuits is stopped (for example, the
本発明の第二の態様にかかる半導体装置は、上述の半導体装置において、前記メモリコントローラが前記第1のSRAMから前記第2のSRAMにデータを転送させた後、前記電源制御回路が前記第1のSRAMへの電源を遮断し、前記スタンバイ制御回路からのスタンバイ解除要求信号に基づいて、前記第1のSRAMに対して前記電源制御回路が電源供給を再開した後、前記メモリコントローラが前記第2のSRAMから前記第1のSRAMにデータを転送されるものである。これにより、スタンバイ時におけるリーク電流を低減することができ、スタンバイモードによる消費電力低減効果を向上することができる。 A semiconductor device according to a second aspect of the present invention is the above-described semiconductor device, wherein the power controller is configured to transfer the data from the first SRAM to the second SRAM after the memory controller transfers the first SRAM. The power supply to the SRAM is shut off, and after the power supply control circuit resumes power supply to the first SRAM based on the standby release request signal from the standby control circuit, the memory controller The data is transferred from the SRAM to the first SRAM. Thereby, the leakage current at the time of standby can be reduced, and the power consumption reduction effect by the standby mode can be improved.
本発明の第三の態様にかかる半導体装置は、上述の半導体装置において、前記第1のSRAMと前記第2のSRAMとの間でデータが一括して転送されることを特徴とするものである。これにより、早くスタンバイモードへの切り替えを行うことができる。 A semiconductor device according to a third aspect of the present invention is characterized in that, in the above-described semiconductor device, data is collectively transferred between the first SRAM and the second SRAM. . Thereby, it is possible to quickly switch to the standby mode.
本発明の第四の態様にかかる半導体装置は、上述の半導体装置において、前記第1のSRAMと前記第2のSRAMがシングルチップ・マイクロコンピュータに設けられていることを特徴とするものである。 A semiconductor device according to a fourth aspect of the present invention is the semiconductor device described above, wherein the first SRAM and the second SRAM are provided in a single-chip microcomputer.
本発明の第五の態様にかかる半導体装置の制御方法は、第1のSRAMと、前記第1のSRAMよりもしきい値の高い第2のSRAMとを備える半導体装置に対して少なくとも一部の回路の動作を停止させるスタンバイモードの制御を行う半導体装置の制御方法であって、前記スタンバイモードを起動させるスタンバイ起動要求信号に基づいて前記第2のRAMに電源供給を開始するステップと、前記電源が供給された第2のSRAMに前記第1のSRAMからデータを転送するステップと、前記スタンバイモード起動要求信号に基づいて起動されたスタンバイモードを解除するスタンバイモード解除要求信号に基づいて、前記第2のRAMから前記第1のRAMにデータを転送するステップと、前記第1のRAMにデータ転送が完了した前記第2のRAMに対する電源供給を停止するステップとを備えるものである。 According to a fifth aspect of the present invention, there is provided a method for controlling a semiconductor device, wherein at least a part of a circuit is provided for a semiconductor device including a first SRAM and a second SRAM having a threshold value higher than that of the first SRAM. A method of controlling a semiconductor device for controlling a standby mode for stopping the operation of the semiconductor device, starting a power supply to the second RAM based on a standby activation request signal for activating the standby mode; The step of transferring data from the first SRAM to the supplied second SRAM, and the second mode based on the standby mode cancellation request signal for canceling the standby mode activated based on the standby mode activation request signal. Transferring data from the first RAM to the first RAM, and before the data transfer to the first RAM is completed. In which and a step of stopping the power supply to the second RAM.
本発明の第六の態様にかかる半導体装置は、上述の制御方法において、前記第2のSRAMに前記第1のSRAMからデータが転送された後、前記第1のSRAMの電源供給を停止するステップをさらに備え、前記スタンバイモード解除要求信号に基づいて、前記第1のRAMに電源供給を再開した後、前記第2のRAMから前記第1のRAMにデータを転送することを特徴とするものである。 The semiconductor device according to the sixth aspect of the present invention is the step of stopping the power supply of the first SRAM after data is transferred from the first SRAM to the second SRAM in the control method described above. Further comprising: transferring data from the second RAM to the first RAM after resuming power supply to the first RAM based on the standby mode release request signal. is there.
本発明によれば、消費電力が低減された半導体装置を提供することができる。 According to the present invention, a semiconductor device with reduced power consumption can be provided.
以下に、本発明を適用可能な実施の形態が説明される。以下の説明は、本発明の実施形態を説明するものであり、本発明は以下の実施形態に限定されるものではない。説明の明確化のため、以下の記載は、適宜、省略及び簡略化がなされている。又、当業者であれば、以下の実施形態の各要素を、本発明の範囲において容易に変更、追加、変換することが可能であろう。尚、各図において同一の符号を付されたものは同様の要素を示しており、適宜、説明が省略される。 Hereinafter, embodiments to which the present invention can be applied will be described. The following description explains the embodiment of the present invention, and the present invention is not limited to the following embodiment. For clarity of explanation, the following description is omitted and simplified as appropriate. Further, those skilled in the art will be able to easily change, add, and convert each element of the following embodiments within the scope of the present invention. In addition, what attached | subjected the same code | symbol in each figure has shown the same element, and abbreviate | omits description suitably.
本発明にかかるシングルチップ・マイクロコンピュータについて図2を用いて説明する。図2はシングルチップ・マイクロコンピュータの構成を示すブロック図である。シングルチップ・マイクロコンピュータは例えば、CMOS構成のものである。本実施の形態では揮発性メモリ124には、第1のSRAM(スタティックRAM)124aと第2のSRAM124bとが設けられている。すなわち、図1に示した、従来のマイクロコンピュータにおけるE2PROM24bに代えてSRAM124bを使用している。SRAM124bにはSRAM124aよりもしきい値電圧が高いものを用いている。SRAM124aとSRAM124bとはそれぞれの記憶領域が1対1に対応している。両者間のデータ転送はバスラインを介して一括して行われる
A single chip microcomputer according to the present invention will be described with reference to FIG. FIG. 2 is a block diagram showing the configuration of a single-chip microcomputer. The single chip microcomputer has, for example, a CMOS configuration. In the present embodiment, the
マイクロコンピュータ120内のCPU121はバスライン122を介して、ROM123、揮発性メモリ124、I/Oポート125とそれぞれ接続されている。
A
CPU121はクロック発生器(以下「CG」という)126よりクロック信号を供給されて動作を行い、ROM123に格納されているプログラムを順次読み出して実行する。CPU121は、プログラムの実行の際に揮発性メモリ124にデータの書き込み及び読み出しを行う。また、CPU121はI/Oポート125を介して入出力端子127よりデータの入出力を行う。
The
通常動作時SRAM124bは使用しないため、消費電流を低減するために、SRAM124bに対する電源供給を遮断する。スタンバイ制御回路130はCPU121よりスタンバイ起動要求があったとき、または電源電圧検出回路131からスタンバイに切り替える検出信号が供給されたときに起動する。電源電圧検出回路131はマイクロコンピュータ120に供給される電源の電圧低下を検出した時にスタンバイに切り替える検出信号をスタンバイ制御回路130に出力する。スタンバイ制御回路130はクロック信号よりスタンバイ起動を行う制御信号を生成する。スタンバイ制御回路130よりスタンバイ起動制御信号が生成されると、SRAM124bへの電源供給を開始する。
Since the
SRAM124bへの電源供給開始後、SRAM124aからSRAM124bへデータを一括して転送する。転送完了後、SRAM124a及びCPU121、CG126、などのマイクロコンピュータの各回路に対して電源供給を遮断して、動作を停止させる。ただし、SRAM124bのみ、スタンバイ動作時に常に電源を供給しデータを保持し続ける。
After the power supply to the
また、スタンバイ制御回路130は、スタンバイ動作中に、端子132よりスタンバイ解除要求があったときにスタンバイ解除を行う制御信号を生成して揮発性メモリ124及びCPU121、CG126等の全回路にそれぞれ電源供給する。そして、SRAM124bからSRAM124aにデータが一括転送される。データ転送が完了した後、第2のSRAM124bへの電源供給を停止する。
The
これによってCPU121、CG126等の全回路はその動作を再開し、SRAM124bのデータが一括してSRAM124aに転送されてCPU121によるアクセスが可能になる。データ転送完了後SRAM124bへの電源供給を遮断する。この構成により、動作の必要がないときは、CPU121、CG126などの各回路を停止することができるため、マイクロコンピュータの消費電力を低減することができる。
As a result, all the circuits such as the
本発明では、スタンバイモード時におけるSRAMのデータ退避先を不揮発性メモリからしきい値電圧の高いSRAMに変更している。これにより、データ転送回数の制限が解消され、スタンバイモードを使って細かな電源管理を行い低消費電力化が可能である。また、通常はしきい値電圧が低く高速なSRAM124aを使用し、スタンバイモード時のデータ保護時のみしきい値電圧の高いSRAM124bを使用している。これにより、通常動作時では、SRAMへのアクセススピードを損なわず書き込みできるとともに、スタンバイ時ではリーク電流を低減して消費電力低減効果を得ることができる。
In the present invention, the data saving destination of the SRAM in the standby mode is changed from the nonvolatile memory to the SRAM having a high threshold voltage. As a result, the limitation on the number of data transfers is eliminated, and the power consumption can be reduced by performing fine power management using the standby mode. Further, normally, a high-
次に、通常動作とスタンバイとの切り替えについて図3及び図4を用いて説明する。図3は本発明にかかるシングルチップ・マイクロコンピュータの揮発性メモリ124の構成を示すブロック図である。図4は通常動作とスタンバイとの切り替えにおけるデータ転送のタイミングチャートである。図3において、140は電源制御回路、142はメイン電源、143はバックアップ電源、144はスタンバイ起動要求信号、145はスタンバイ解除要求信号、150はメモリコントローラ(以下、MEMCとする。)、151aはRead/Write制御信号(以下、R/Wとする。)、152はデータ転送完了信号である。
Next, switching between normal operation and standby will be described with reference to FIGS. FIG. 3 is a block diagram showing the configuration of the
MEMC150は通常動作とスタンバイモード切り替えるため、SRAM124aとSRAM124bとの間でデータ転送を制御する。MEMC150によるデータ転送はスタンバイ起動要求信号及びスタンバイ解除要求信号に基づいて行われる。すなわち、スタンバイ起動要求信号144が入力された場合、通常動作からスタンバイに切り替えるため、SRAM124aからSRAM124bにデータを転送する。一方、スタンバイ解除要求信号145が入力された場合、スタンバイから通常動作に切り替えるため、SRAM124bからSRAM124aにデータを転送する。SRAM124aとSRAM124bとはバスラインにより接続されており、データが一括転送される。MEMC150はデータの転送が完了すると、データ転送完了信号152を電源制御回路140に出力する。
The
電源制御回路140はSRAM124a及びSRAM124bに供給する電源を制御する。すなわち、通常動作時にはしきい値の低いSRAM124aにメイン電源142を供給し、しきい値の高いSRAM124bに対する電源供給を停止する。一方、スタンバイ時には、しきい値の高いSRAM124bにバックアップ電源143を供給し、しきい値の低いSRAM124aに対する電源供給を停止する。電源制御回路140による電源の切り替えはスタンバイ起動要求信号144又はスタンバイ解除要求信号145並びにMEMC150に基づいて行われる。
The
まず、通常動作からスタンバイモードに切り替える場合について説明する。スタンバイ制御回路130から、図4(a)に示すスタンバイ起動要求信号144が揮発性メモリ124に設けられた電源制御回路140及びMEMC150に入力される。電源制御回路140は入力されたスタンバイ起動要求信号144に基づいて、図4(h)に示すようバックアップ電源143の供給を開始する。これにより、バックアップ電源143がMEMC150及びSRAM124bに供給される。この時、図4(i)に示すようメイン電源142は通常動作時からSRAM124aに供給され続けている。
First, a case where the normal operation is switched to the standby mode will be described. A standby activation request signal 144 shown in FIG. 4A is input from the
MEMC150はスタンバイ起動要求信号144に基づいて図4(c)に示すR/W151aをSRAM124aに出力し、図4(d)に示すR/W151bをSRAM124bに出力する。SRAM124aはR/W151aによって、図4(f)に示すデータ出力状態となる。一方、SRAM124bはR/W151bによって、図4(g)に示すデータ入力状態となる。これにより、SRAM124aに記憶されていたデータがSRAM124aからSRAM124bに一括転送される。転送完了後、MEMC150から電源制御回路140に図4(e)に示すデータ転送完了信号152を出力する。データ転送完了信号152に基づいて電源制御回路140は、図4(i)に示すようSRAM124aに対してメイン電源142の供給を停止する。
The
これにより、シングルチップ・マイクロコンピュータがスタンバイモードとなり、しきい値の低いSRAM124aのメイン電源の供給が停止される。さらに、CPU、CG126等についても動作が停止するため、消費電力を低減することができる。この時、図4(h)に示すようにバックアップ電源がSRAM124bに供給されている。従って、SRAM124bは図4(g)に示すようにSRAM124aから転送されたデータが保持されている。SRAM124bはしきい値が高いため、スタンバイ時におけるリーク電流を低減することができる。これにより、消費電力低減効果を向上することができる。
As a result, the single-chip microcomputer enters the standby mode, and the supply of main power to the
次にスタンバイモードから通常動作に切り替える場合について説明する。スタンバイ制御回路130から、図4(b)に示すスタンバイ解除要求信号145が揮発性メモリ124に設けられた電源制御回路140及びMEMC150に入力される。スタンバイモード時にスタンバイ解除要求信号145が入力されると、電源制御回路140はスタンバイ解除要求信号145に基づいて、図4(i)に示すようメイン電源142の供給を再開する。これにより、メイン電源142がSRAM124aに供給される。この時、図4(h)に示すようバックアップ電源143はスタンバイモード時からSRAM124bに供給され続けている。
Next, a case where the standby mode is switched to the normal operation will be described. A standby release request signal 145 shown in FIG. 4B is input from the
MEMC150はスタンバイ解除要求信号145に基づいて図4(c)に示すR/W151aをSRAM124aに出力し、図4(d)に示すR/W151bをSRAM124bに出力する。SRAM124aはR/W151aによって、図4(f)に示すようデータ入力状態となる。一方、SRAM124bはR/W151bによって、図4(g)に示すようデータ出力状態となる。これにより、SRAM124bに記憶されていたデータがSRAM124bからSRAM124aに一括転送される。転送完了後、MEMC150から電源制御回路140に図4(e)に示すデータ転送完了信号152を出力する。データ転送完了信号152に基づいて電源制御回路140は、図4(h)に示すようSRAM124b及びMEMC150に対してバックアップ電源143の供給を停止する。
The
このようにして、SRAM124aにメイン電源142の供給され、CPU121、CG126等の全回路はその動作が再開される。また、SRAM124bからデータが転送されるため、通常動作再開時にSRAM124aに記憶されるデータはスタンバイ前と同じデータとなる。また、SRAM124aにしきい値の低いものを用いているため、通常動作時における揮発性メモリ124へのアクセススピードを損なわずにリーク電流を低減することができる。
In this way, the
本発明にかかるシングルチップ・マイクロコンピュータはしきい値の低いSRAM124a及びしきい値の高いSRAM124bとを備えている。このような、しきい値の異なるSRAMはチャネル幅を異なるRAMを搭載することにより、実現することができる。そして、通常動作時は高速動作可能なSRAM124aを使用し、スタンバイ時はリーク電流の少ないSRAM124bを使用している。これにより、アクセススピードを損なわずにリーク電流を低減することができ、スタンバイモードによる消費電力低減を向上することができる。また、揮発性メモリ124に対して書き換え回数に制限のないSRAMを使用しているため、スタンバイモードを頻繁に使用して細かな電力制御を行うことが可能になる。
The single chip microcomputer according to the present invention includes a
本発明では、上述のように、不揮発性メモリに代えてバックアップ電源付きの揮発性メモリを使用している。そして、バックアップ電源付きの揮発性メモリはスタンバイモード時にデータ退避元の揮発性メモリよりもしきい値電圧(Vth)が高いものを使用することでリーク電流を低減している。上述に示した制御方法により半導体装置のスタンバイモードを制御することにより、消費電力を低減することができる。 In the present invention, as described above, a volatile memory with a backup power source is used instead of the nonvolatile memory. The volatile memory with a backup power source uses a memory having a higher threshold voltage (Vth) than the volatile memory from which data is saved in the standby mode, thereby reducing leakage current. Power consumption can be reduced by controlling the standby mode of the semiconductor device by the control method described above.
メモリを備えたLSIにおいて、RAMへのアクセススピードを損なうことなく、スタンバイ時におけるリーク電流を低減することが可能になり、低消費電力化を図ることができる。E2PROMのような不揮発性メモリにある消去、書き込み回数制限がSRAMのような揮発性メモリにはないため、スタンバイモードを頻繁に使用することができる。よって、細かな電力制御を行うことが可能になり、消費電力を低減することができる。 In an LSI provided with a memory, it is possible to reduce a leakage current during standby without impairing the access speed to the RAM, thereby reducing power consumption. The standby mode can be frequently used because there is no erasure / write limit in the nonvolatile memory such as E 2 PROM in the volatile memory such as SRAM. Therefore, fine power control can be performed and power consumption can be reduced.
20 シングルチップ・マイクロコンピュータ、21 CPU、22 バスライン、
23 ROM、24 不揮発性メモリ、24a SRAM、24b E2PROM、
25 I/Oポート、26 クロック発生器、27 入出力端子、
30 スタンバイ制御回路、31 電源電圧検出回路、32 入力端子、
120 シングルチップ・マイクロコンピュータ、121 CPU、122 バスライン
123 ROM、124 揮発性メモリ、124a 第1のSRAM、
124b 第2のSRAM、125 I/Oポート、126 クロック発生器、
127 入出力端子、130 スタンバイ制御回路、131 電源電圧検出回路、
132 入力端子、140 電源制御回路、142 メイン電源、
143 バックアップ電源、144 スタンバイ起動要求信号、
145 スタンバイ解除要求信号、150 メモリコントローラ(MEMC)、
151 Read/Write制御信号(R/W)、
151 Read/Write制御信号(R/W)、152 データ転送完了信号
20 single-chip microcomputer, 21 CPU, 22 bus lines,
23 ROM, 24 Non-volatile memory, 24a SRAM, 24b E 2 PROM,
25 I / O ports, 26 clock generators, 27 I / O terminals,
30 standby control circuit, 31 power supply voltage detection circuit, 32 input terminal,
120 single-chip microcomputer, 121 CPU, 122
124b second SRAM, 125 I / O port, 126 clock generator,
127 input / output terminal, 130 standby control circuit, 131 power supply voltage detection circuit,
132 input terminals, 140 power supply control circuit, 142 main power supply,
143 backup power supply, 144 standby activation request signal,
145 standby release request signal, 150 memory controller (MEMC),
151 Read / Write control signal (R / W),
151 Read / Write control signal (R / W), 152 Data transfer completion signal
Claims (6)
前記第1のSRAMよりもしきい値の高い第2のSRAMと、
少なくとも一部の回路の動作を停止させるスタンバイ状態にするか否かを制御するスタンバイ制御回路と、
前記スタンバイ制御回路からの信号に基づいて前記第1のSRAM及び前記第2のSRAMに供給する電源を制御する電源制御回路と、
前記スタンバイ制御回路からの信号に基づいて前記第1のSRAMと前記第2のSRAMとの間のデータ転送を制御するメモリコントローラとを備え、
前記スタンバイ制御回路からのスタンバイ起動要求信号に基づいて、前記電源制御回路が前記第2のSRAMに電源供給を開始した後、前記メモリコントローラが前記第1のSRAMから前記第2のSRAMにデータを転送させ、
前記スタンバイ制御回路からのスタンバイ解除要求信号に基づいて、前記メモリコントローラが前記第2のSRAMから前記第1のSRAMにデータを転送した後、前記電源制御回路が前記第2のSRAMに対して電源供給を停止する半導体装置。 A first SRAM;
A second SRAM having a threshold value higher than that of the first SRAM;
A standby control circuit for controlling whether or not to enter a standby state for stopping the operation of at least some of the circuits;
A power supply control circuit for controlling power supplied to the first SRAM and the second SRAM based on a signal from the standby control circuit;
A memory controller that controls data transfer between the first SRAM and the second SRAM based on a signal from the standby control circuit;
Based on a standby activation request signal from the standby control circuit, after the power supply control circuit starts supplying power to the second SRAM, the memory controller transfers data from the first SRAM to the second SRAM. Transfer
After the memory controller transfers data from the second SRAM to the first SRAM based on a standby release request signal from the standby control circuit, the power supply control circuit supplies power to the second SRAM. A semiconductor device that stops supply.
前記スタンバイ制御回路からのスタンバイ解除要求信号に基づいて、前記第1のSRAMに対して前記電源制御回路が電源供給を再開した後、前記メモリコントローラが前記第2のSRAMから前記第1のSRAMにデータを転送される請求項1記載の半導体装置。 After the memory controller transfers data from the first SRAM to the second SRAM, the power control circuit shuts off the power to the first SRAM,
Based on a standby release request signal from the standby control circuit, after the power supply control circuit resumes power supply to the first SRAM, the memory controller changes from the second SRAM to the first SRAM. 2. The semiconductor device according to claim 1, wherein data is transferred.
前記第1のSRAMよりもしきい値の高い第2のSRAMとを備える半導体装置に対して少なくとも一部の回路の動作を停止させるスタンバイモードの制御を行う半導体装置の制御方法であって、
前記スタンバイモードを起動させるスタンバイ起動要求信号に基づいて前記第2のRAMに電源供給を開始するステップと、
前記電源が供給された第2のSRAMに前記第1のSRAMからデータを転送するステップと、
前記スタンバイモード起動要求信号に基づいて起動されたスタンバイモードを解除するスタンバイモード解除要求信号に基づいて、前記第2のRAMから前記第1のRAMにデータを転送するステップと、
前記第1のRAMにデータ転送が完了した前記第2のRAMに対する電源供給を停止するステップとを備える半導体装置の制御方法。 A first SRAM;
A method for controlling a semiconductor device, wherein a semiconductor device including a second SRAM having a threshold value higher than that of the first SRAM is controlled in a standby mode in which operation of at least some of the circuits is stopped.
Starting power supply to the second RAM based on a standby activation request signal for activating the standby mode;
Transferring data from the first SRAM to a second SRAM to which the power is supplied;
Transferring data from the second RAM to the first RAM based on a standby mode cancellation request signal for canceling the standby mode activated based on the standby mode activation request signal;
A method of controlling a semiconductor device, comprising: stopping power supply to the second RAM after data transfer to the first RAM is completed.
前記スタンバイモード解除要求信号に基づいて、前記第1のRAMに電源供給を再開した後、前記第2のRAMから前記第1のRAMにデータを転送することを特徴とする請求項5記載の半導体装置の制御方法。
A step of stopping the power supply of the first SRAM after data is transferred from the first SRAM to the second SRAM;
6. The semiconductor device according to claim 5, wherein after the supply of power to the first RAM is resumed based on the standby mode release request signal, data is transferred from the second RAM to the first RAM. Control method of the device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004138361A JP4684575B2 (en) | 2004-05-07 | 2004-05-07 | Semiconductor device and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004138361A JP4684575B2 (en) | 2004-05-07 | 2004-05-07 | Semiconductor device and control method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005321938A true JP2005321938A (en) | 2005-11-17 |
JP4684575B2 JP4684575B2 (en) | 2011-05-18 |
Family
ID=35469195
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004138361A Expired - Fee Related JP4684575B2 (en) | 2004-05-07 | 2004-05-07 | Semiconductor device and control method thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4684575B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023190324A1 (en) * | 2022-03-29 | 2023-10-05 | ラピステクノロジー株式会社 | Memory device, and memory device power source control method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05108194A (en) * | 1991-10-17 | 1993-04-30 | Hitachi Ltd | Low power consumption type semiconductor integrated circuit |
JPH1055317A (en) * | 1996-08-13 | 1998-02-24 | Yokogawa Electric Corp | Backup memory circuit |
JPH11242629A (en) * | 1997-10-09 | 1999-09-07 | Matsushita Electric Ind Co Ltd | Memory system |
JPH11513823A (en) * | 1995-10-10 | 1999-11-24 | ハネウエル・インコーポレーテッド | Data error detection and correction for shared SRAM |
JP2002196846A (en) * | 2000-12-26 | 2002-07-12 | Mitsubishi Electric Corp | Method for reducing leak current of lsi |
-
2004
- 2004-05-07 JP JP2004138361A patent/JP4684575B2/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05108194A (en) * | 1991-10-17 | 1993-04-30 | Hitachi Ltd | Low power consumption type semiconductor integrated circuit |
JPH11513823A (en) * | 1995-10-10 | 1999-11-24 | ハネウエル・インコーポレーテッド | Data error detection and correction for shared SRAM |
JPH1055317A (en) * | 1996-08-13 | 1998-02-24 | Yokogawa Electric Corp | Backup memory circuit |
JPH11242629A (en) * | 1997-10-09 | 1999-09-07 | Matsushita Electric Ind Co Ltd | Memory system |
JP2002196846A (en) * | 2000-12-26 | 2002-07-12 | Mitsubishi Electric Corp | Method for reducing leak current of lsi |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023190324A1 (en) * | 2022-03-29 | 2023-10-05 | ラピステクノロジー株式会社 | Memory device, and memory device power source control method |
Also Published As
Publication number | Publication date |
---|---|
JP4684575B2 (en) | 2011-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101185614B1 (en) | Power Saving Method and Apparatus for Mobile System with Blocking the Power of the Module | |
JP4531020B2 (en) | Semiconductor integrated circuit | |
JP4515093B2 (en) | CPU power-down method and apparatus therefor | |
JP2002196846A (en) | Method for reducing leak current of lsi | |
JP2010282411A (en) | Semiconductor integrated circuit, method of saving and recovering internal state of the same | |
JP2005157620A (en) | Semiconductor integrated circuit | |
JP2008098774A (en) | Semiconductor integrated circuit device | |
US7482689B2 (en) | Microcomputer | |
JP7228657B2 (en) | semiconductor storage device | |
KR100582380B1 (en) | Power supply device for suppling different power corresponding to operation mode | |
JP4684575B2 (en) | Semiconductor device and control method thereof | |
US7385845B2 (en) | Composite storage circuit and semiconductor device having the same | |
US7130224B2 (en) | Composite storage circuit and semiconductor device having the same composite storage circuit | |
US11307636B2 (en) | Semiconductor storing apparatus and flash memory operation method | |
KR20080014531A (en) | Method of leakage current decrease using voltage control and power gating and an apparatus of semiconductor using the method | |
JP2007108402A (en) | Semiconductor integrated circuit | |
JP2006048304A (en) | Microcomputer | |
US9727121B2 (en) | Wireless communication device | |
TWI713039B (en) | Semiconductor storing apparatus and flash memory operation method | |
JPH10254590A (en) | Integrated circuit and information processor | |
CN113724767B (en) | Semiconductor memory device and flash memory operation method | |
JP2002341976A (en) | Multi-power semiconductor device and method for controlling power of the same device | |
CN115686175A (en) | PMC mode state switching method and device under power management system | |
JP2012103967A (en) | Information processor and method for saving data thereof | |
JP2003280978A (en) | Semiconductor device and its control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070308 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100601 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100608 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100707 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110208 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110209 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140218 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |