JP4387122B2 - Low power processor - Google Patents

Low power processor Download PDF

Info

Publication number
JP4387122B2
JP4387122B2 JP2003142831A JP2003142831A JP4387122B2 JP 4387122 B2 JP4387122 B2 JP 4387122B2 JP 2003142831 A JP2003142831 A JP 2003142831A JP 2003142831 A JP2003142831 A JP 2003142831A JP 4387122 B2 JP4387122 B2 JP 4387122B2
Authority
JP
Japan
Prior art keywords
circuit
substrate bias
mode
signal
voltage
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 - Fee Related
Application number
JP2003142831A
Other languages
Japanese (ja)
Other versions
JP2004096073A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2003142831A priority Critical patent/JP4387122B2/en
Publication of JP2004096073A publication Critical patent/JP2004096073A/en
Application granted granted Critical
Publication of JP4387122B2 publication Critical patent/JP4387122B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy efficient computing, e.g. low power processors, power management or thermal management

Description

【0001】
【発明の属する技術分野】
本発明はプロセッサなどの半導体集積回路装置に関し、特に、プロセッサの動作モードに応じてMOSトランジスタにより構成されるプロセッサ回路の基板バイアスを制御することにより高速動作かつ低消費電力を実現するマイクロプロセッサに関する。
【0002】
【従来の技術】
現在、マイクロプロセッサの実現にはCMOSによる集積回路が広く用いられている。CMOS回路の消費電力にはスイッチング時の充放電によるダイナミックな消費電力とリーク電流によるスタティックな消費電力によるものがある。このうちダイナミックな消費電力は電源電圧Vddの2乗に比例し、大きな消費電力を占めるため、低消費電力化のためには電源電圧を下げることが効果的であり、近年多くのマイクロプロセッサの電源電圧は低下してきている。
【0003】
現在の低消費電力型のマイクロプロセッサには、パワーマネージメント機構を備え、プロセッサに複数の動作モードを設け、それに従って待機時に実行ユニットへのクロックの供給を停止しているものがある。このクロック供給の停止により、不要な実行ユニットにおけるスイッチングによるダイナミックな消費電力を可能な限り削減することができる。しかしながら、リーク電流によるスタティックな消費電力は削減することができず、残存したままである。
【0004】
CMOS回路の動作速度は電源電圧の低下に伴い遅くなるため、動作速度の劣化を防ぐためには電源電圧の低下に連動してMOSトランジスタのしきい値電圧を下げる必要がある。しかし、しきい値電圧を下げると極端にリーク電流が増加するため、電源電圧の低下が進むにつれて、従来はそれほど大きなものではなかったリーク電流によるスタティックな消費電力の増大が顕著になってきた。このため、高速性と低消費電力性の2点を両立したマイクロプロセッサを実現することが問題になっている。
【0005】
MOSトランジスタ回路の動作速度およびリーク電流に関する問題を解決する方法として、基板バイアスを可変設定することによりMOSトランジスタのしきい値電圧を制御する方法が特開平6―53496号公報に示されている。
【0006】
図2により基板バイアスを可変設定するためのデバイス構造を説明する。図2はCMOS構造の回路の断面図を示しており、pウェル(p型基板)201の表面層の一部に、nウェル205が形成されており、pウェル201の表面にはn型のソース・ドレイン領域202、ゲート酸化膜203、およびゲート電極204からなるnMOSトランジスタが形成され、nウェル205の表面にはp型のソース・ドレイン領域206、ゲート酸化膜207、およびゲート電極208からなるpMOSトランジスタが形成されている。
【0007】
通常pMOSトランジスタとnMOSトランジスタのソースはそれぞれ電源電圧(以下Vddと称す)と接地電位(以下Vssと称す)に接続され、nMOSトランジスタとpMOSトランジスタのドレインは出力信号に接続される。基板バイアスを与えるための端子として、pMOSトランジスタのnウェル205にVbp209、nMOSトランジスタのpウェル201にVbn210が設けられている。
【0008】
図2のようなデバイスを用いて、通常はVbp209はVddに、Vbn210はVssに接続するが、回路の非動作時にはこれらの基板バイアスを切り替えてVbp209はより高い電位に、Vbn210はより低い電位に接続することによりMOSトランジスタのしきい値電圧を高くすることができリーク電流を削減できる。
【特許文献1】
特開平6−53496号公報
【0009】
【発明が解決しようとする課題】
高速性と低消費電力を両立したマイクロプロセッサを実現するためには、プロセッサ回路に対して上記のような基板バイアスの可変制御を行ない、プロセッサの動作時はMOSトランジスタのしきい値電圧を低くして高速性を維持し、待機時はしきい値電圧を高くしてリーク電流を低減する必要がある。しかしながら、プロセッサの基板バイアスを可変制御するためには基板バイアスの切り替え時におけるプロセッサの動作モードの移行、特に待機状態から動作状態への移行時のプロセッサを再起動するタイミングを正確に制御し、プロセッサの誤動作を防止しなければならない。
【0010】
本発明の目的はこのような問題点を解決し、プロセッサ・チップ上において上記基板バイアス制御を実現しプロセッサの各種動作モードに適用することにより、高速な低消費電力プロセッサを提供することにある。
【0011】
【課題を解決するための手段】
上記問題を解決するため、本発明のプロセッサの特徴は、プロセッサ・チップ上にプログラム命令列を実行するプロセッサ主回路と、その基板に印加される基板バイアスの電圧を切り替える基板バイアス切り替え装置と、プロセッサ主回路におけるスタンバイモードに移行する命令の実行を受けて前記バイアスをスタンバイモード用の電圧に切り替えるように前記基板バイアス切り替え装置を制御し、外部からスタンバイ解除の割り込みを受け取るとバイアスを通常モード用の電圧に切り替えるように基板バイアス切り替え装置を制御し、その切り替えたバイアス電圧が安定した後にプロセッサ主回路のスタンバイを解除し動作を再開させる動作モード制御部を備えることである。
【0012】
また、本発明のプロセッサの他の特徴は、プロセッサ・チップの半導体デバイスは3重ウェル構造をしており、プロセッサ主回路は基板バイアス切り替え装置と動作モード制御部とは異なるウェル領域上に形成されることである。
【0013】
また、本発明の他の特徴は、動作モード制御部は、バイアスの切り替え時にプロセッサ主回路の動作を再開させる前にその切り替えたバイアス電圧が安定するまで待機する手段として、バイアスの安定に必要な時間の経過を計測するためのオンチップタイマ、または、バイアスが所定の電圧に安定したことを検知するセンサを備えることである。
【0014】
また、本発明のプロセッサの他の特徴は、プロセッサ・チップの半導体デバイスは3重ウェル構造をしており、複数の機能モジュールに分割され、それらがそれぞれ異なるウェル領域上に形成されているプロセッサ主回路と、各機能モジュールの基板に印加される基板バイアスを切り替える基板バイアス切り替え装置と、プロセッサ主回路における一つ又は複数の前記機能モジュールをスタンバイにする命令の実行を受けてその機能モジュールの基板バイアスをスタンバイモード用の電圧に切り替えるように基板バイアス切り替え装置を制御し、外部またはプロセッサ主回路からその機能モジュールのスタンバイ解除の信号を受け取るとバイアスを通常モード用の電圧に切り替えるように基板バイアス切り替え装置を制御し、その切り替えたバイアス電圧が安定した後にプロセッサ主回路に機能モジュールのスタンバイが解除されたことを通知する動作モード制御部を備えることである。
【0015】
また、本発明のプロセッサは、プロセッサ主回路の動作速度を動的に切り替える手段と、プロセッサ主回路における動作周波数変更する命令の実行を受けて基板バイアス切り替え装置をプロセッサ主回路または機能モジュールの基板バイアスをその動作周波数に適した電圧に切り替えるように制御し、その切り替えたバイアス電圧が安定した後に前記プロセッサ主回路に動作速度の切り替えが完了したことを通知する動作モード制御部を備えることである。
【0016】
更に、本発明のプロセッサの特徴は、基板バイアス切り替え装置は内部で基板バイアスの電圧を発生する基板バイアス発生回路により構成されることである。
【0017】
本発明はまた装置の低消費電力化に寄与する制御方法を提案するものである。すなわち、しきい値の低いトランジスタは高速だが、ソースドレイン間のリーク電流が大きく消費電力が増大するため、これを防止することが重要である。
【0018】
このための構成は、半導体基板上に構成されたトランジスタを有しクロック信号に基づいて動作する複数の要素回路ブロックを有する半導体集積回路装置の消費電力を制御する制御方法であって、要素回路ブロックの全てがクロックに基づいて動作する第1のモードと、要素回路ブロックの少なくとも一つへのクロック信号の供給を停止する第2のモードと、要素回路ブロックの全てへのクロック信号の供給を停止するとともに半導体基板上に構成されたトランジスタの少なくとも一部の基板バイアスを制御してトランジスタのしきい値を上げる第3のモードとを切り換えて用いることを特徴とする。
【0019】
主回路は例えば、CPU等を含むプロセッサである。第1のモードは主回路が通常の動作(演算、記憶など)を行っているモードである。
【0020】
第2のモードはプロセッサの一部分へのクロックが停止されている状態であり、例えばスリープモード、ディープスリープモード等と呼ばれる。クロックを停止する範囲を選択することにより、必要な機能のみ維持しながら、低消費電力を図ることができる。
【0021】
第3のモードはプロセッサの回路に対して基板バイアスを制御して、これを構成するトランジスタのしきい値を上げ、サブスレッショルドリーク電流による消費電力を低減するモードであり、例えばスタンバイモードやハードウエアスタンバイモードと称する。スタンバイモードは割り込み制御により通常状態に復帰できるが、ハードウエアスタンバイモードではリセットによらなければ復帰ができない。第3のモードでは主回路の機能は停止している。
【0022】
回路全体の構成としては、要素回路ブロックは第1の回路ブロックに含まれ、クロック信号は第2の回路ブロックに含まれる発振回路により形成され、第2の回路ブロックから第1の回路ブロックにクロック信号、及び、第1の回路ブロックで処理されるべき情報信号が入力される。第2の回路ブロックにはその他、入出力回路や基板バイアスを制御する制御回路が含まれる。通常は第2の回路ブロックは主回路を含む第1の回路ブロックほど高速の動作を要求されない。そこで、第2の回路ブロックを構成するトランジスタは、第1の回路ブロックを構成するトランジスタよりも、しきい値が大きく、動作電圧も高くすることが望ましい。また、第1の回路ブロックの主回路を構成するトランジスタは他の回路とは別個のウェル上に形成されることで他の回路の影響を低減することができる。
【0023】
第1と第2の回路ブロックの動作電圧が異なる場合には、両者の間にはレベル変換回路が必要となる。例えば、第1の回路ブロックにレベルダウン回路を設け、第2の回路ブロックにはレベルアップ回路を設けて、信号レベルの変換を行う。
【0024】
本発明では、モードの切り替えにより、基板バイアス電圧を動的に切り換えているために、信頼性の確保のためにはその動作シーケンスが重要である。
【0025】
第1または第2のモードから第3のモードに切り換える際には、第2の回路ブロックから第1の回路ブロックに入力されるクロック信号や、第1の回路ブロックで処理されるために第1の回路ブロックに入力される情報信号をまず停止し、次に、半導体基板上に構成されたトランジスタの少なくとも一部の基板バイアスを制御してトランジスタのしきい値を上げる。これにより、第1の回路ブロックの動作が不安定な状態での第1の回路ブロックへの入力を阻止することができ、第1の回路ブロックの誤動作を防ぐことができる。
【0026】
この動作のために、第1の回路ブロックへの信号入力を停止し、タイマー等により所定時間(例えば60マイクロ秒程度)待機した後、基板バイアスを制御するなどの構成を採用することができる。待機するためのタイマーは第1の回路ブロックの外に配置し、例えば第2の回路ブロックの中、あるいは、装置外部に配置する。
【0027】
また、第3のモード(スタンバイモード)から第1のモードに切り換える際には、半導体基板上に構成されたトランジスタの少なくとも一部の基板バイアスを制御してトランジスタのしきい値を下げ、次に、第2の回路ブロックから第1の回路ブロックに入力される上記クロック信号や第1の回路ブロックで処理されるべき情報信号の入力を開始する。すなわち、第1の回路ブロックの誤動作を防止するために、第1の回路ブロックの基板電圧が安定してから信号の入力を開始する。
【0028】
このために、第3のモードから第1のモードに切り換える際には、第1の回路ブロックの基板バイアスを制御してトランジスタのしきい値を下げ、タイマーにより所定時間待機して、動作が安定した後、第1の回路ブロックに入力されるクロック信号その他の信号の入力を開始する。
【0029】
別の方法としては、トランジスタのしきい値の状態を電圧モニタなどで確認した後、第1の回路ブロックへの信号入力を開始する。あるいは、基板電圧を制御する基板バイアス発生回路の状態に基づいて、基板バイアス発生回路から出力されるスタンバイ解除を知らせる信号に従って、第1の回路ブロックに入力されるクロック信号その他の信号の入力を開始する。
【0030】
第1のブロックに対する情報信号、クロック信号の停止の方法としては、第2の回路ブロックに設けた出力固定回路(レベルホールド回路)によって、信号レベルを固定することが考えられる。第1のモード時には信号は出力固定回路を経由してレベルダウン回路に入力されるが、第3のモードではレベルダウン回路への入力が固定されることになる。
【0031】
【発明の実施の形態】
以下、本発明の実施例について図面を参照しながら説明する。
【0032】
図1は本発明の第1の実施例を実現するためのプロセッサ・チップの構成例を示すブロック図である。図1において、プロセッサ・チップ101はCMOS構造の回路を持つLSIチップであり、プロセッサ主回路102、動作モード制御部103、基板バイアス切り替え装置104を含む。基板バイアス切り替え装置104には、基板バイアスの通常モードにおける電圧VddおよびVssとスタンバイモードにおける電圧VddbおよびVssbが信号110から入力されている。基板バイアス切り替え装置104は動作モード制御部の出力する信号107に従って、プロセッサ主回路102を構成するpMOSトランジスタの基板バイアスとしてVddかVddbのどちらかを選択して信号Vbp111に出力し、nMOSトランジスタの基板バイアスとしてVssまたはVssbのどちらかを選択して信号Vbn112に出力する。基板バイアス選択用の電圧値は例えばVdd=1.5V、Vddb=3.0V、Vss=0.0V、Vssb=−1.5Vである。
【0033】
なお、後に述べるようにプロセッサ主回路102の形成されるウェル302は基板バイアス切り替え装置104や動作モード制御部が形成されるウェルとは別個独立に形成されている。
【0034】
図3はプロセッサ・チップ101のデバイス構造を示す断面図である。図3が図2と異なるのはn型基板301にpウェル302が形成され、その表面相の一部にnウェル205が形成されている、すなわち3重ウェル構造のデバイスになっている点である。pウェル302の表面にnMOSトランジスタが、nウェル205の表面にpMOSトランジスタが形成され、CMOS回路を構成されている。また、基板バイアスを与えるための端子として、pMOSトランジスタのnウェル205にVbp209、nMOSトランジスタのpウェル302にVbn210が設けられている点は図2と同様である。この実施例ではプロセッサ主回路102は動作モード制御部103と基板バイアス切り替え装置104とは異なるpウェル302内に形成される。これにより、基板バイアス制御の影響はプロセッサ主回路102のみに及び、動作モード制御部103と基板バイアス切り替え装置104はその影響を避けることができる。
【0035】
図4で本実施例におけるプロセッサ・チップ101の動作について説明する。プロセッサ主回路102の動作モードには通常の命令実行を行う通常モードと命令実行を行わないスタンバイモードがある。図4は、プロセッサ主回路102の動作モードが通常モードからスタンバイモードへ遷移し、そしてスタンバイモードから通常モードへと遷移する場合のプロセッサ・チップ101上における処理を示したフローチャートである。
【0036】
最初にプロセッサ主回路102が通常モードで動作している。この時基板バイアス切り替え装置104は基板バイアスVbp111とVbn112にそれぞれVddとVssを選択している。この例における通常モードの基板バイアスの電圧値はVbp=1.5V、Vbn=0Vである(ステップ401)。
【0037】
プロセッサ主回路102は、スリープ命令を実行すると信号105に「スタンバイ要求」を出力し動作モード制御部103に伝えた後、命令実行動作を停止しスタンバイモードに移行する(ステップ402)。
【0038】
動作モード制御部103はプロセッサ主回路からこの信号105を受け取るとプロセッサ主回路102の基板バイアスをスタンバイモード用の電圧に切り替えるために信号107を出力する。基板バイアス切り替え装置104はこの信号107を受けて基板バイアスVbp111とVbn112にそれぞれVddbとVssbを入力電圧110から選択して出力する(ステップ403、404)。この例ではスタンバイモードの基板バイアスの電圧値はVbp=3.0V、Vbn=−1.5Vである。
【0039】
動作モード制御部103は、プロセッサ主回路102がスタンバイ状態にあるときに、外部から信号108に「スタンバイ解除割り込み」がアサートされたことを検出すると(ステップ405)、プロセッサ主回路102の基板バイアスを通常モード用の電圧に切り替えるために信号107を出力し、基板バイアス切り替え装置104はこの信号107を受けて、基板バイアスVbp111とVbn112をそれぞれVdd(1.5V)とVss(0.0V)に切り替える(ステップ406)。
【0040】
基板バイアスの切り替え後、そのバイアス電圧が安定するまでにはいくらかの時間を必要とするため、すぐにプロセッサ主回路102の動作を再開させると誤動作する可能性がある。それを避けるため動作モード制御部103はプロセッサ主回路102の動作モードを切り替える前に、オンチップタイマ109に切り替えた基板バイアス電圧の安定に必要な十分な時間を設定してスタートさせ(ステップ407)、タイムアウトするまで待つ(ステップ408)。そしてタイムアウトした後に、動作モード制御部103は「スタンバイ解除」を信号106に出力し、プロセッサ主回路102に伝える。プロセッサ主回路102はこの信号106を受けて、通常モードに移行し命令実行動作を再開する(ステップ409)。
【0041】
以上のようにして、プロセッサ主回路102の基板バイアスVbp111およびVbn112を制御して、動作時にはプロセッサ主回路を構成するMOSトランジスタのしきい値電圧を低くして高速動作に対応させ、スタンバイ時にはしきい値電圧を高くしてリーク電流を削減することができる。
【0042】
図5は本発明の第2の実施例におけるプロセッサ・チップの構成を示すブロック図である。この実施例では、動作モード制御部103はプロセッサ主回路102の基板に印加されるバイアス電圧を検知するセンサ501を備えている。プロセッサ主回路102の動作モードが通常モードからスタンバイモードへ遷移するときは、前記第1の実施例における処理手順と同じである。プロセッサ主回路102の動作モードがスタンバイモードから通常モードへ遷移するときは前記第1の実施例と同様に動作モード制御部103は基板バイアス切り替え装置104を制御して基板バイアスを通常モードの電圧に切り替えた後、センサ501が切り替えた基板バイアスの電圧が所定の値、すなわち本実施例では、Vbp=1.5V、Vbn=0.0Vに安定したことを信号502に出力するまで待つ。センサ501が基板バイアスの安定を信号502に出力すると動作モード制御部103は信号106に「スタンバイ解除」を出力し、プロセッサ主回路102の動作を再開させる。
【0043】
図6は本発明の第3の実施例におけるプロセッサ・チップの構成を示すブロック図である。プロセッサ・チップ601の基本デバイス構造としては図3に示した3重ウェル構造を考える。図6のプロセッサ・チップ601においてプロセッサ主回路はCPU604、モジュールA606、モジュールB608のように複数の機能モジュールから構成される。各機能モジュールはそれぞれ異なるウェル領域上に分離して存在し、他の機能モジュールの基板バイアス制御の影響を受けない。機能モジュールは、CPU、FPU、キャッシュ、あるいは演算器等のより小さい単位のものを含む。基板バイアス切り替え装置605、607、609は各機能モジュール604、606、608に対応してそれぞれ設けられており、対応する機能モジュールの基板バイアスを前記実施例の場合と同様に切り替えることができる。命令の実行は機能モジュールの一つであるCPU604を中心に行なわれ、実行に不要な機能モジュールをスタンバイにする命令を実行すると動作モード制御部602に機能モジュールのスタンバイが伝えられる。
【0044】
本実施例におけるプロセッサ・チップ601の動作について次に説明する。最初に全機能モジュールが通常モードで動作しているものとする。CPU604はモジュールAをスタンバイにする命令を実行すると、このスタンバイ要求を信号610に出力し、以後モジュールA606のスタンバイが解除されるまでこのモジュールの使用が不可能になる。動作モード制御部602はこの信号610を受けて、基板バイアス切り替え装置607に信号612を出力し、モジュールA606の基板バイアスをスタンバイモード用の電圧に切り替える。モジュールA606がスタンバイ状態にあるときに動作モード制御部602はCPU604の出力信号610、あるいはプロセッサ・チップ601の外部の信号613からモジュールA606のスタンバイ解除の信号を受け取ると信号612を基板バイアス切り替え装置607に出力し、モジュールAの基板バイアスを通常モード用の電圧に切り替える。そして動作モード制御部602は本発明第1の実施例と同様にオンチップタイマ603を用いて切り替えた基板バイアスの安定を待ち、安定後、CPU604に信号611を通してモジュールAのスタンバイが解除されたことを通知する。CPU604はこの信号611を受け取るとモジュールAを使用した命令の実行が可能になる。
【0045】
モジュールB608やその他の機能モジュールのスタンバイ制御についても同様である。また、CPU604自身もスタンバイ制御の対象である。この場合、CPU604はスタンバイモードに移行すると全ての命令実行を停止し、外部信号613にCPU604のスタンバイ解除の信号がアサートされると動作モード制御部602はCPU604の基板バイアスの切り替えが完了した後信号611にCPU604のスタンバイ解除をアサートし、CPU604の命令実行を再開させる点を除いては、前記モジュールA606の場合と同様に制御される。
【0046】
本実施例における機能モジュール単位のスタンバイ制御により、プロセッサの動作時に不要な機能モジュールのリーク電流を削減することができる。
【0047】
図7は本発明の第4の実施例におけるプロセッサ・チップの構成を示すブロック図である。第1の実施例と異なる点は外部から基板バイアス切り替え装置104に供給される電圧701の種類が増えており、基板バイアス切り替え装置104はそれらの中から適当なものを基板バイアスとして選択し、プロセッサ主回路102に印加することができることである。本実施例では、プロセッサ主回路102の動作速度、すなわち動作周波数は命令により動的に変更する手段を備えており、プロセッサ主回路102の動作モードには高速モードと低速モードがあるものとする。本実施例では、高速モードに対応した基板バイアスとしてVdd(pMOS用)とVss(nMOS用)、低速モードに対応した基板バイアスとしてVddb2(pMOS用)とVssb2(nMOS用)、スタンバイモードに対応した基板バイアスとしてVddb1(pMOS用)とVssb1(nMOS用)を選択する。
【0048】
次に本実施例におけるプロセッサ・チップ101の動作を説明する。ここで、プロセッサ主回路102の動作モードを高速モードから低速モードに切り替える場合を考える。プロセッサ主回路102が高速モードで動作中、基板バイアス切り替え装置104はプロセッサ主回路の基板バイアスとしてVbp111にVddを、Vbn112にVssを選択している。プロセッサ主回路102は、低速モードへ移行する命令を実行するとその要求を信号105に出力し、命令実行動作を中断する。プロセッサ主回路102に供給されるクロックはこの低速モードへ移行する命令の実行により低周波数に切り替わる。動作モード制御部103は信号105を受けてプロセッサ主回路102の基板バイアスを低速モード用の電圧に切り替えるために信号107に出力する。基板バイアス切り替え装置104はこの信号107を受けて基板バイアスVbp111とVbn112をそれぞれVddb2とVssb2に切り替える。動作モード制御部103は上記実施例と同様にオンチップタイマ109を使用して、切り替えた基板バイアスの安定を待ち、プロセッサ主回路102に低速モードへ移行が完了したことを信号106を通して通知する。プロセッサ主回路102はこの信号106を受けて中断していた命令実行動作を低速モードで再開する。
【0049】
本実施例における低速モードから高速モードへの切り替え、高速モードまたは低速モードからスタンバイモードへの切り替え、またはスタンバイモードから高速モードあるいは低速モードへの切り替え時における動作も上記と同様であるので詳細は省略する。本実施例では動作速度をさらに細分し、それに対応した基板バイアス制御を行なうことも可能である。さらに、第3の実施例におけるように、プロセッサ主回路102を機能モジュール単位にデバイスの3重ウェル構造を用いて分離し、各機能モジュール別にその動作周波数の切り替えと連動して基板バイアスを制御することも可能である。
【0050】
本実施例のように、プロセッサの動作周波数に適した基板バイアス制御を行なうことにより、低速な動作モードにおけるリーク電流の削減が可能である。さらに、この低速モードにおいてはCMOS回路のpMOSとnMOSの両方のトランジスタが同時に導通してしまう入力電圧の範囲が高速な動作モードの時より狭くなるためスイッチング時の貫通電流を削減する効果も得られる。
【0051】
図8は本発明の第5の実施例におけるプロセッサ・チップの構成を示すブロック図である。この実施例が前記第1の実施例と異なるのは前記基板バイアス切り替え装置が基板バイアス発生回路801により構成されていることである。基板バイアス発生回路801は動作モード制御部103の出力信号802によって制御され、内部で基板バイアスの電圧を発生しVbp111とVbn112に出力する。動作モード制御部103の制御のもとでプロセッサ主回路102の動作モードに対応して発生する基板バイアスVbp111とVbn112の電圧値は第1の実施例と同様の値である。プロセッサ主回路102および動作モード制御部103の動作は第1の実施例と同様であるので詳細は省略する。また、本実施例と同様に第2、第3および第4の実施例における基板バイアス切り替え装置をこの基板バイアス発生回路801で構成することにより、プロセッサ・チップ内部で基板バイアスを発生させ、動作モードに応じて切り替えることができる。
【0052】
以上のようにこれらの実施例によれば、タイマまたはセンサを用いて待機状態から動作状態への移行時のプロセッサを再起動するタイミングを正確に制御するので、プロセッサの動作モードに応じた最適な基板バイアス制御が可能になる。それにより、プロセッサの動作モードが通常モードにおいて高速性を維持したまま、スタンバイモードにおいてリーク電流を削減できる。また、機能モジュール別の動作モードに応じて基板バイアス制御を行なうことにより、プロセッサが動作中であっても実行に不要な機能モジュールのリーク電流の削減が可能である。さらに、プロセッサの動作周波数に適した基板バイアス制御を行なうことにより、低速モードにおけるリーク電流の削減に加え、スイッチング時の貫通電流を削減する効果も得られる。
【0053】
その結果、消費電力の削減を効果的に実現でき、高速性と低電力性を兼ね備えたマイクロプロセッサを提供することができる。
【0054】
以下、マイコンの実施例として、具体的に基板バイアスを制御する動作モードに関して説明する。マイコンは、1.8Vと3.3Vの2電源を有し、1.8Vのみ基板バイアス制御を行うものとする。1.8Vを供給する回路は比較的低い閾値(例えばVth<0.4V程度)のMOSトランジスタで構成するのが望ましい。
【0055】
図9にマイコンの動作モードの一例を示す。動作モードとしては、通常に動作している通常動作モード982、およびリセットモード981がある。低消費電力で動作するモードとしては、スリープ983、ディープスリープ984、スタンバイ985、ハードウエアスタンバイ986、RTC(リアルタイムクロック)電池バックアップモードがある。また、テストモードとしては、IDDQ測定がある。
【0056】
通常動作982の時には、高速動作が必要なので、基板バイアスの制御は行わない。リセット981の時は、全ての機能をリセットする必要があるので、基板バイアスの制御は行わない。低消費電力モードにおいては、低消費電力モードからの復帰時間が短いスリープ983、ディープスリープ984では、基板バイアスの制御は行わないが、復帰時間よりも消費電力を小さくすることに重点を置くスタンバイ985、ハードウエアスタンバイ986の場合には、基板バイアス制御を行う。RTC電池バックアップモードは、3.3Vで動作するRTC回路の電源のみを供給するモードである。このモードへは、低消費電力モードから遷移するので、基板バイアス制御を行なう。また、IDDQの測定は、スタンバイ電流を測定して、トランジスタのショートや不良による貫通電流を測定するモードであるから、この場合には必ず基板バイアスを制御して、チップのリーク電力を小さくして、不良を発見しやすくする必要がある。
【0057】
図10で、低消費電力の動作モードを説明する前に、プロセッサ主回路902の内部ブロックの構成に関して説明する。この図は、プロセッサ主回路の主な構成ブロックの一例である。演算回路としては、CPU(中央演算処理装置)971、FPU(浮動小数点演算ユニット)972がある。また、チップに内蔵するメモリであるキャッシュ973、外部メモリとのインタフェースを行うBSC(バス制御部)974、DMA(ダイレクトメモリアクセス)を行うDMAC(DMA制御部)975、シリアルポートを制御するSCI(シリアル制御部)976、割り込み入力を制御するINTC(割り込み制御部)977、クロックを制御するCPG(クロック制御部)978等がある。
【0058】
図11で、低消費電力モードであるスリープ983、ディープスリープ984、スタンバイ985に関して説明する。
【0059】
スリープ983では、CPU971、FPU972、キャッシュ973等の演算装置のクロックのみが止まっている状態で、かつ基板バイアス制御をしていないので、消費電力は大幅に減少できないものの、DMAC975によるDMA転送やBSC974によるDRAM(ダイナミックRAM)やSDRAM(シンクロナスダイナミックRAM)の通常リフレッシュ(1024回/16ミリ秒のリフレッシュ)が可能である。CPG978は動作しており、また、基板バイアス制御をしていないので、スリープ983から通常動作モード982への復帰時間は早い。
【0060】
スタンバイ985モードは、全ての動作クロックを止め、なおかつ基板バイアス制御も行なうため、消費電力は極めて少ない。クロックが止っているため、DMA転送はできない。また、DRAMやSDRAMのリフレッシュに関しては、スタンバイ985に入る前に、メモリが自分自身でリフレッシュを行なうセルフリフレッシュモードになるようにBSC974を用いて各メモリの制御信号(RAS信号、CAS信号)を設定しておく必要がある。ただし、スタンバイ985から通常動作982までの復帰時間は、クロックが止っているので、クロック発振の安定待ちや基板バイアス状態からの復帰時間のため長くなってしまう。
【0061】
ディープスリープ984モードは、スリープ983とスタンバイ985の中間の低消費電力モードである。
【0062】
図12にスリープ983とディープスリープ984の動作モジュールの違いを示す。スリープ983時には、動作しているBSC973、DMAC974、SCI975がディープスリープ984では、停止しているため、その分消費電力を削減できている。
【0063】
ただし、ディープスリープ984モードでは、DMA転送ができなくなり、メモリのリフレッシュもセルフリフレッシュになる。ディープスリープ984から通常動作モード982への復帰時間は、スリープモードと同様に早い。
【0064】
このように3種類の低消費電力モードを設けることにより、用途に応じたきめ細かな低消費電力制御を行なうことができる。
【0065】
図13で動作モードの状態遷移図を示し説明する。全ての電源がオフ状態980からRESET#952(または、パワーオンリセット)ピン入力により、プロセッサチップは、リセット状態981に遷移する。RESET#952がネゲートされると通常動作982に遷移する。この状態から低消費動作モードに遷移する。
【0066】
遷移の方法には2通りある。一つは命令による遷移である。これはCPU971がスリープ命令を実行することにより遷移する。スリープ命令実行時にモードレジスタを設定して、スリープ983、ディープスリープ984、スタンバイ985を選択でき、それぞれのモードに遷移できる。各モードから通常動作モード982への復帰は、割り込み958である。
【0067】
もう一つの遷移方法は、HARDSTB#951ピンによる遷移である。このピンがアサートされると、ハードウエアスタンバイ状態986に遷移する。この状態はスタンバイ985と同様に全てのクロックが停止し、基板バイアス制御も行なわれている状態である。
【0068】
このモードで、入出力バッファをハイインピーダンスにすれば、3.3V系の回路も貫通電流の流れるトランジスタがなくなりIDDQの測定が可能になる。
【0069】
また、3.3V系に置かれたRTC回路の入力バッファを固定すれば、RTC回路以外の電源をオフした場合にも、RTC回路の入力信号がフローティング(中間レベル)にならないので、RTC回路の誤動作を防止でき、RTC回路のみ動作させることが可能である。
【0070】
次にハードウエアスタンバイの応用例を説明する。
【0071】
図14にハードウエアスタンバイを適用してプロセッサチップ901の電源904(バッテリ)を交換可能にするプロセッサチップ901の構成と電源制御回路の構成を示す。
【0072】
プロセッサチップ901は1.8Vで動作する1.8V領域回路930と3.3Vで動作する3.3V領域回路931から構成されている。1.8V領域回路930はプロセッサ主回路902と3.3Vから1.8Vにレベル変換するレベルダウン回路905、906から構成されている。3.3V領域の回路931は基板バイアス発生回路903、クロック発振回路908、IO回路909、動作モード制御部913、RTC回路914および1.8Vから3.3Vにレベル変換するレベルアップ回路904、910、3.3Vから1.8Vへの信号を固定する出力固定回路907、911から構成されている。
【0073】
電源系の制御回路としては、電源904、電源監視回路921、表示器922、1.8V系の電圧を生成する電圧生成回路920がある。
【0074】
以下動作を説明する。プロセッサチップ901が、通常動作モード982の時は、基板バイアス発生回路903は、基板バイアスを引かずに通常の基板レベル(例えばPMOSについてはVDD電位、NMOSについてはVSS電位)を保持している。クロック発振回路908はPLL(フェイズロックドループ)等からなり、内部動作用のクロックを生成して、出力固定回路907、レベルダウン回路905を介してプロセッサ主回路902へ送る。IO回路909は、外部からの信号を取り込み、出力固定回路907、レベルダウン回路905を介してプロセッサ主回路902へ送る。また、プロセッサ主回路902からの信号をレベルアップ回路904を介して外部へ信号を出力する。RTC回路914は、3.3Vで動作し、レベルアップ回路910を介して、プロセッサ主回路902から制御信号を受け取り、レベルダウン回路906、出力固定回路911を介して、プロセッサ主回路902に制御信号を送信する。動作モード制御部913は、特に基板バイアス発生回路903の制御を行なう。
【0075】
電源監視回路921は、電源904の電圧レベルを監視する。電圧レベルが所定のレベルより下がる(バッテリが切れている状態を検出)とHARDSTB#951をローレベルにする。同時に表示器922にバッテリ切れのアラームを表示し、利用者に知らせる。電圧レベルが下がった状態でも電圧保持回路923は、所定の期間(数分間から数時間)電圧レベルを保持できる。この期間に利用者は、電源904を交換できる。
【0076】
図15を用いて、以下、電源交換シーケンスに関して、説明する。
(1)HARDSTB#951がローレベルになることにより、動作モードはハードウエアスタンバイ状態986に入る。ここで、動作モード制御部913から1.8V信号固定953を出力し、3.3Vから1.8Vへの信号を固定し、1.8V系のクロックも停止させる。これにより、基板バイアスを引いた時も、1.8V系の信号が動作しないので、基板バイアスを引いている状態(MOSトランジスタのしきい値電圧が高くなり、その動作速度が遅くなっている状態で、基板電位が不安定な状態)での1.8V系の回路の誤動作を防止する。この状態で、基板バイアス生成回路903に基板バイアス制御開始信号955を出力する。
(2)その後、1.8V信号固定953のタイミングに基づいて、基板バイアス生成回路903に基板バイアス制御開始信号955を出力する。信号固定953と基板バイアス制御開始955の間には、実際に信号が固定されて、1.8V領域への信号の供給が停止するまでの時間差が設定されている。この時間差はRTC回路914のRTCクロックに基づいたタイマーで測定することができる。
(3)基板バイアス制御開始信号955を受けて、基板バイアス発生回路903は1.8V系の基板の基板バイアスを引き始める。基板バイアスを引いている期間は、基板バイアス制御中956信号を動作モード制御部913へ返す。
(4)基板バイアスを引いている状態では、プロセッサ主回路902は動作しない。さらに、リーク電流も少ないので、電流の消費量は少ない。これにより、電圧保持回路923の保持時間も長くなる。
(5)この状態で電源904を交換する。
(6)電源交換後は、電源電圧が正常のレベルに戻るので、HARDSTB#951がハイレベルに戻る。
(7)その後、パワーオンリセット回路が動作し、RESET#952が入力される。このリセット入力により、動作モード制御部913から出力している基板バイアス制御開始信号955が解除される。
(8)基板バイアス制御開始信号955の解除を受けて、基板バイアス発生回路903は1.8V系の基板の基板バイアスを動作状態の電位(例えばPMOSについてはVDD電位、NMOSについてはVSS電位)に戻し始める。基板バイアスの回復まで所定の時間が必要であり、基板バイアスを戻し終わると基板バイアス制御中信号956の解除により動作モード制御部913へそれを通知する。
(9)基板バイアス制御中信号956の解除を受けて、動作モード制御部913から出力している1.8V信号固定953が解除され、プロセッサ主回路902等の1.8V系の回路に信号が入力される。
(10)リセット状態981が終了後、通常状態982に入り、プロセッサ主回路902は通常の動作を開始する。
【0077】
以上のようにハードウエアスタンバイによる低消費電力モードを利用して、電源904の交換が可能になる。
【0078】
次にハードウエアスタンバイの第2の応用例を説明する。
【0079】
図16にRTC電源バックアップモードを実現する構成例を示す。RTC回路914は、リアルタイムカウンタと呼ばれ、時計やカレンダの機能を実現するものである。このため、常時動作していないと時計の機能を実現できない。電源904が遮断されてもRTC回路914は動作している必要がある。
【0080】
ここで示す実施例では、RTC電源バックアップモードを実現するために、3.3V領域が通常の3.3V領域991とRTCの3.3Vで動作する領域992に分けている。また、RTCの3.3V領域992では、入力回路に入力固定回路912、および入力固定レベルアップ回路960が付加されており、他の電源(1.8V、通常の3.3Vの電源)が遮断されている状態で、入力信号がフローティングになってもRTCの3.3Vで動作する領域992には、中間レベルの信号が伝達しないようになっていて、誤動作を防止している。
【0081】
電源系の制御回路としては、電源904、電源監視回路921、表示器922、1.8V系の電圧を生成する電圧生成回路920に加えて、バックアップ電池962、ダイオード963、964がある。
【0082】
以下動作を説明する。通常動作モード982の時は、基板バイアス発生回路903は、基板バイアスを引かずに通常の基板レベルを保持している。クロック発振回路908はPLL(フェイズロックドループ)等からなり、内部動作用のクロックを生成して、出力固定回路907、レベルダウン回路905を介してプロセッサ主回路902へ送る。IO回路909は、外部から信号を取り込み、出力固定回路907、レベルダウン回路905を介してプロセッサ主回路902へ送る。また、プロセッサ主回路902からの信号をレベルアップ回路904を介して外部へ信号を出力する。RTC回路914は、3.3Vで動作し、入力固定レベルアップ回路960を介してプロセッサ主回路902から制御信号を受け取り、レベルダウン回路906、出力固定回路911を介して、プロセッサ主回路902に制御信号を送信する。動作モード制御部913は、入力固定回路912を介して、制御信号を受け取り、特に基板バイアス発生回路903の制御を行なう。
【0083】
電源監視回路921は、電源904の電圧レベルを監視する。電圧レベルが所定のレベルより下がる(バッテリが切れている状態を検出)とHARDSTB#951をローレベルにし、RTC3.3V領域992の入力を固定し、RTC回路914の誤動作を防止する。同時に表示器922にバッテリ切れのアラームを表示する。この後、電圧レベルが下がり続けて、3.3Vと1.8V系の電圧はプロセッサチップ901に供給されなくなる。この時バックアップ電池962からダイオード963を介してRTCの3.3V領域にのみ電圧(VDD−RTC、VSS−RTC)が供給され、電源904がなくても、RTC回路914(カレンダ用カウンタ回路)のみ正常に動作する。ダイオード964はRTC回路914以外に電流が流れるのを防止する。
【0084】
図17を用いて、RTC電源バックアップシーケンスに関して、詳細に説明する。
(1)HARDSTB#951がローレベルになることにより、動作モードはハードウエアスタンバイ状態986に入る。ここで、動作モード制御部913から1.8V信号固定953を出力し、3.3Vから1.8Vへの信号を固定し、1.8V系のクロックも停止させる。これにより、基板バイアスを引いた時も、1.8V系の信号が動作しないので、基板バイアスを引いている状態での1.8V系の回路の誤動作を防止する。同時にRTC回路914への入力固定信号954を出力し入力信号を固定する。これにより他の電源が遮断されたときに、RTC回路914に不安定な中間レベルの信号が入るのを防ぐ。
(2)その後、1.8V信号固定953のタイミングに基づいて、基板バイアス生成回路903に基板バイアス制御開始信号955を出力する。信号固定953と基板バイアス制御開始955の間には、実際に信号が固定されて、1.8V領域への信号の供給が停止するまでの時間差が設定されている。この時間差はRTC回路914のRTCクロックに基づいたタイマーで測定することができる。
(3)基板バイアス制御開始信号955を受けて、基板バイアス発生回路903は1.8V系の基板の基板バイアスを引き始める。基板バイアスを引いている期間は、基板バイアス制御中956信号を動作モード制御部913へ返す。
(4)基板バイアスを引いている状態では、プロセッサ主回路902は動作しない。さらに、リーク電流も少ないので、電流の消費量は少ない。
(5)電源904の遮断期間は長くてもよい。また、電源904の交換ができる。
(6)電源904遮断からの復帰後(または電源904交換後)は、電源電圧が正常のレベルに戻るので、HARDSTB#951がハイレベルに戻る。
(7)その後、パワーオンリセット回路が動作し、RESET#952が入力される。このリセット入力により、基板バイアス制御開始信号955が解除される。
(8)基板バイアス制御開始信号955の解除を受けて、基板バイアス発生回路903は1.8V系の基板の基板バイアスを動作状態の電位(例えばPMOSについてはVDD電位、NMOSについてはVSS電位)に戻し始める。基板バイアスの回復まで所定の時間が必要であり、基板バイアスを戻し終わると基板バイアス制御中信号956の解除により動作モード制御部913へそれを通知する。
(9)基板バイアス制御中信号956の解除を受けて、動作モード制御部913から出力している1.8V信号固定953が解除され、プロセッサ主回路902等の1.8V系の回路に信号が入力される。
(10)リセット状態981が終了後、通常状態982に入り、プロセッサ主回路902は通常の動作を開始する。
【0085】
上記シーケンスで、電源904に電源スイッチを設けて、電源オフの期間にRTC回路914のみ動作させることも可能である。
【0086】
以上のようにハードウエアスタンバイを利用して、RTC回路914のみ電池バックアップして動作させることが可能になる。
【0087】
図18に通常のスリープ命令959を使用して、スタンバイ状態985に入り、割り込み信号958で通常状態982に復帰するシーケンスを説明する。
(1)スリープ命令959により、動作モードはスタンバイ状態985に入る。ここで、動作モード制御部913から1.8V信号固定953を出力し、3.3Vから1.8Vへの信号を固定し、1.8V系のクロックも停止させる。これにより、基板バイアスを引いた時の1.8V系の回路の誤動作を防止する。
(2)その後、1.8V信号固定953のタイミングに基づいて、基板バイアス生成回路903に基板バイアス制御開始信号955を出力する。信号固定953と基板バイアス制御開始955の間には、実際に信号が固定されて、1.8V領域への信号の供給が停止するまでの時間差が設定されている。この時間差はRTC回路914のRTCクロックに基づいたタイマーで測定することができる。
(3)基板バイアス制御開始信号955を受けて、基板バイアス発生回路903は1.8V系の基板の基板バイアスを引き始める。基板バイアスを引いている期間は、基板バイアス制御中956信号を動作モード制御部913へ返す。
(4)基板バイアスを引いている状態では、プロセッサ主回路902は動作しない。さらに、リーク電流も少ないので、電流の消費量は少ない。
(5)この状態で、制御信号957(外部ピン)からIO回路909を介して、割り込み信号958を受け付けると、動作モード制御部913は、基板バイアス制御開始信号955を解除する。
(6)基板バイアス制御開始信号955の解除を受けて、基板バイアス発生回路903は1.8V系の基板の基板バイアスを動作状態の電位(例えばPMOSについてはVDD電位、NMOSについてはVSS電位)に戻し始める。基板バイアスの回復まで所定の時間が必要であり、基板バイアスを戻し終わると基板バイアス制御中信号956の解除により動作モード制御部913へそれを通知する。
(7)基板バイアス制御中信号956の解除を受けて、動作モード制御部913は、1.8V信号固定953を解除する。基板バイアス制御中信号が解除されてから1.8V信号固定953を解除することにより、1.8V系の回路が誤動作するのを防いでいる。
(5)プロセッサ主回路902等の1.8V系の回路に信号が入力され、通常状態982に入り、プロセッサ主回路902は通常の動作を開始する。
【0088】
以上により、プロセッサチップ901は低消費電力モードに入り、割り込みにより復帰できる。
【0089】
図19に通常のスリープ命令959を使用して、スタンバイ状態985に入り、RESET#952で通常状態982に復帰するシーケンスを説明する。
(1)スリープ命令959により、動作モードはスタンバイ状態985に入る。ここで、動作モード制御部913から1.8V信号固定953を出力し、3.3Vから1.8Vへの信号を固定し、1.8V系のクロックも停止させる。これにより、基板バイアスを引いた時の1.8V系の回路の誤動作を防止する。
【0090】
その後、1.8V信号固定953により信号固定が完了したことを計測し、基板バイアス生成回路903に基板バイアス制御開始信号955を出力する。
(2)基板バイアス制御開始信号955を受けて、基板バイアス発生回路903は1.8V系の基板の基板バイアスを引き始める。基板バイアスを引いている期間は、基板バイアス制御中956信号を動作モード制御部913へ返す。
(3)基板バイアスを引いている状態では、プロセッサ主回路902は動作しない。さらに、リーク電流も少ないので、電流の消費量は少ない。
(4)この状態で動作モード制御部913は、RESET#952を受け付けて、基板バイアス制御開始信号955を解除する。
(5)基板バイアス制御開始信号955の解除を受けて、基板バイアス発生回路903は1.8V系の基板の基板バイアスを動作状態の電位に戻し始める。基板バイアスを戻し終わると、基板バイアス制御中信号956を用いて動作モード制御部913へ知らせる。
(6)この解除信号を受けて、1.8V信号固定953を解除する。
(7)リセット状態981が終了後、プロセッサ主回路902等の1.8V系の回路に信号が入力され、通常状態982に入り、プロセッサ主回路902は通常の動作を開始する。
【0091】
以上により、プロセッサチップ901は低消費電力モードに入り、リセットにより復帰できる。
【0092】
以上で説明したように、プロセッサチップ901は1.8Vが電源電圧として供給されている部分と、3.3Vが電源電圧として供給されている部分がある。1.8Vが供給されている部分としては、例えばプロセッサ主回路902等がある。この部分は回路規模が大きく、さらに高速に動作させる必要がある部分である。回路規模が大きくかつ高速動作が要求されることからこの部分の消費電力が大きくなる。本実施例では、この消費電力を削減するために電源電圧を下げている。
【0093】
また、電源電圧を低く(例えば1.8V)すると動作速度が遅くなるので、MOSトランジスタのしきい値電圧を低く(例えばVth<0.4V程度)している。さらに本実施例では、この低いしきい値化によるサブスレッショルドリーク電流を削減するために基板電圧制御を行う。
【0094】
一方、3.3Vが電源電圧として供給されている部分は例えばRTC回路914がある。これらの回路は小規模で低速動作であるから、消費電力が小さい。よって、このような回路ブロックは電源電圧を低くする必要がない。例えば、Vth>0.5V程度に設定できる。MOSトランジスタの閾値を低くする必要がないことから、サブスレッショルドリーク電流を削減するため基板制御による電流対策の必要がないという利点がある。
【0095】
本実施例のプロセッサチップ901はこの両者の電源電圧を使い分けている。すなわち、大規模高速動作が必要な部分は低電圧低しきい値MOSを基板制御して使用し、高電圧高しきい値MOSを基板制御無しで使用している。しきい値の異なるMOSトランジスタを作る方法は特に限定しないが、チャネルインプラ量を変えることで実現できる。また、ゲート酸化膜の厚さを変えることでも実現できる。後者の場合、MOSトランジスタの構成を酸化膜厚を厚くすることでしきい値が大きくなるようにすればよい。高いしきい値MOSは高電圧で動作させるので酸化膜厚を厚くする必要があるからである。酸化膜を厚くすることでしきい値を高くできればプロセスを簡略化できる。
【0096】
さらに、入出力回路909は外部信号振幅3.3Vを送受信する必要があることから、高電圧しきい値MOSと同じMOSトランジスタを用いると、プロセスを共通化でき望ましい。
【0097】
【発明の効果】
本発明により、高速性と低消費電力を両立したマイクロプロセッサを実現することができる。
【図面の簡単な説明】
【図1】本発明の第1の実施例におけるプロセッサ・チップのプロック図である。
【図2】基板バイアス制御に用いる一般的なデバイス構造を示す断面図である。
【図3】本発明の第1の実施例におけるデバイス構造を示す断面図である。
【図4】本発明の第1の実施例における動作の説明に用いるフローチャートである。
【図5】本発明の第2の実施例におけるプロセッサ・チップのプロック図である。
【図6】本発明の第3の実施例におけるプロセッサ・チップのプロック図である。
【図7】本発明の第4の実施例におけるプロセッサ・チップのプロック図である。
【図8】本発明の第5の実施例におけるプロセッサ・チップのプロック図である。
【図9】本発明の動作モードと基板バイアス制御の関係を説明する図である。
【図10】本発明のプロセッサ主回路の構成を説明する図である。
【図11】本発明の低消費電力モードを説明する図である。
【図12】本発明のスリープとディープスリープを説明する図である。
【図13】本発明の動作モードの遷移図である。
【図14】本発明のプロセッサチップの構成と電源制御回路の第1の構成図である。
【図15】本発明の電源交換のシーケンスを説明する図である。
【図16】本発明のプロセッサチップの構成と電源制御回路の第2の構成図である。
【図17】本発明のRTC電源バックアップのシーケンスを説明する図である。
【図18】本発明の低消費電力モードから割り込みにて復帰するまでのシーケンスを説明する図である。
【図19】本発明の低消費電力モードからリセットにて復帰するまでのシーケンスを説明する図である。
【符号の説明】
101…プロセッサ・チップ、102…プロセッサ主回路、103…動作モード制御部、104…基板バイアス切り替え装置、109…タイマ、501…センサ、801…基板バイアス発生回路。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a semiconductor integrated circuit device such as a processor, and more particularly to a microprocessor that realizes high-speed operation and low power consumption by controlling a substrate bias of a processor circuit constituted by MOS transistors in accordance with an operation mode of the processor.
[0002]
[Prior art]
Currently, CMOS integrated circuits are widely used to realize microprocessors. The power consumption of the CMOS circuit includes dynamic power consumption due to charging / discharging during switching and static power consumption due to leakage current. Of these, dynamic power consumption is proportional to the square of the power supply voltage Vdd and occupies a large amount of power consumption. Therefore, it is effective to lower the power supply voltage in order to reduce power consumption. The voltage is decreasing.
[0003]
Some current low power consumption type microprocessors include a power management mechanism, and a plurality of operation modes are provided in the processor, and the supply of the clock to the execution unit is stopped according to the operation mode accordingly. By stopping the clock supply, dynamic power consumption due to switching in unnecessary execution units can be reduced as much as possible. However, static power consumption due to leakage current cannot be reduced and remains.
[0004]
Since the operation speed of the CMOS circuit decreases as the power supply voltage decreases, it is necessary to decrease the threshold voltage of the MOS transistor in conjunction with the decrease of the power supply voltage in order to prevent the operation speed from deteriorating. However, when the threshold voltage is lowered, the leakage current increases drastically. Therefore, as the power supply voltage decreases, static power consumption increases due to leakage current, which has not been so large in the past. For this reason, there is a problem of realizing a microprocessor that achieves both high speed and low power consumption.
[0005]
Japanese Patent Laid-Open No. 6-53496 discloses a method for controlling the threshold voltage of a MOS transistor by variably setting a substrate bias as a method for solving problems relating to the operating speed and leakage current of the MOS transistor circuit.
[0006]
A device structure for variably setting the substrate bias will be described with reference to FIG. FIG. 2 is a cross-sectional view of a circuit having a CMOS structure. An n-well 205 is formed in a part of a surface layer of a p-well (p-type substrate) 201, and an n-well 205 is formed on the surface of the p-well 201. + An nMOS transistor comprising a source / drain region 202 of type, a gate oxide film 203 and a gate electrode 204 is formed. + A pMOS transistor including a source / drain region 206 of a type, a gate oxide film 207, and a gate electrode 208 is formed.
[0007]
Normally, the sources of the pMOS transistor and the nMOS transistor are connected to a power supply voltage (hereinafter referred to as Vdd) and a ground potential (hereinafter referred to as Vss), respectively, and the drains of the nMOS transistor and the pMOS transistor are connected to an output signal. As terminals for applying a substrate bias, Vbp 209 is provided in the n well 205 of the pMOS transistor, and Vbn 210 is provided in the p well 201 of the nMOS transistor.
[0008]
Using a device such as FIG. 2, Vbp 209 is normally connected to Vdd and Vbn 210 is connected to Vss. However, when the circuit is not operating, these substrate biases are switched so that Vbp 209 is at a higher potential and Vbn 210 is at a lower potential. By connecting, the threshold voltage of the MOS transistor can be increased and the leakage current can be reduced.
[Patent Document 1]
JP-A-6-53496
[0009]
[Problems to be solved by the invention]
In order to realize a microprocessor that achieves both high speed and low power consumption, the above-mentioned variable control of the substrate bias is performed on the processor circuit, and the threshold voltage of the MOS transistor is lowered during the operation of the processor. Therefore, it is necessary to maintain high speed and to reduce the leakage current by increasing the threshold voltage during standby. However, in order to variably control the substrate bias of the processor, the processor operation mode transition at the time of switching the substrate bias, in particular, the timing for restarting the processor at the transition from the standby state to the operation state is accurately controlled. Must be prevented from malfunctioning.
[0010]
An object of the present invention is to solve such problems and to provide a high-speed and low-power consumption processor by realizing the substrate bias control on a processor chip and applying it to various operation modes of the processor.
[0011]
[Means for Solving the Problems]
In order to solve the above problems, the processor of the present invention is characterized in that a processor main circuit that executes a program instruction sequence on a processor chip, a substrate bias switching device that switches a substrate bias voltage applied to the substrate, and a processor The substrate bias switching device is controlled to switch the bias to a voltage for standby mode in response to execution of an instruction to shift to the standby mode in the main circuit, and when the standby release interrupt is received from the outside, the bias is set for the normal mode. An operation mode control unit is provided that controls the substrate bias switching device so as to switch to a voltage, releases the standby state of the processor main circuit and restarts the operation after the switched bias voltage is stabilized.
[0012]
Another feature of the processor of the present invention is that the semiconductor device of the processor chip has a triple well structure, and the processor main circuit is formed on a different well region from the substrate bias switching device and the operation mode control unit. Is Rukoto.
[0013]
Another feature of the present invention is that the operation mode control unit is necessary for stabilizing the bias as means for waiting until the switched bias voltage is stabilized before restarting the operation of the processor main circuit at the time of switching the bias. An on-chip timer for measuring the passage of time or a sensor for detecting that the bias is stabilized at a predetermined voltage is provided.
[0014]
Another feature of the processor of the present invention is that the processor chip semiconductor device has a triple well structure and is divided into a plurality of functional modules, each of which is formed on a different well region. A circuit bias, a substrate bias switching device for switching a substrate bias applied to the substrate of each functional module, and a substrate bias of the functional module upon execution of an instruction to put one or more functional modules in the processor main circuit into standby The substrate bias switching device is controlled so as to switch the voltage to the voltage for the standby mode, and the substrate bias switching device is switched so that the bias is switched to the voltage for the normal mode when the standby release signal of the functional module is received from the external or the processor main circuit. Controlled and switched Bias voltage is to include a operation mode control unit for notifying that the standby function modules in the processor main circuit is released after the stable.
[0015]
The processor according to the present invention also includes means for dynamically switching the operation speed of the processor main circuit, and the substrate bias switching device in response to execution of an instruction to change the operation frequency in the processor main circuit. And an operation mode control unit for notifying that the switching of the operation speed is completed to the processor main circuit after the switched bias voltage is stabilized.
[0016]
Further, the processor of the present invention is characterized in that the substrate bias switching device is constituted by a substrate bias generation circuit that internally generates a substrate bias voltage.
[0017]
The present invention also proposes a control method that contributes to lower power consumption of the apparatus. That is, a transistor with a low threshold is high speed, but since the leakage current between the source and drain is large and the power consumption increases, it is important to prevent this.
[0018]
A configuration for this is a control method for controlling power consumption of a semiconductor integrated circuit device having a plurality of element circuit blocks which have transistors formed on a semiconductor substrate and operate based on a clock signal. The first mode in which all of the above operate based on the clock, the second mode in which the supply of the clock signal to at least one of the element circuit blocks is stopped, and the supply of the clock signal to all of the element circuit blocks is stopped. In addition, a third mode in which the substrate bias of at least a part of the transistors formed on the semiconductor substrate is controlled to increase the threshold value of the transistors is switched and used.
[0019]
The main circuit is, for example, a processor including a CPU. The first mode is a mode in which the main circuit performs a normal operation (calculation, storage, etc.).
[0020]
The second mode is a state in which the clock to a part of the processor is stopped, and is called, for example, a sleep mode or a deep sleep mode. By selecting a range in which the clock is stopped, low power consumption can be achieved while maintaining only necessary functions.
[0021]
The third mode is a mode in which the substrate bias is controlled with respect to the processor circuit, the threshold value of the transistors constituting the processor circuit is increased, and the power consumption due to the subthreshold leakage current is reduced. This is called a standby mode. The standby mode can be restored to the normal state by interrupt control, but cannot be restored unless reset is performed in the hardware standby mode. In the third mode, the function of the main circuit is stopped.
[0022]
As a configuration of the entire circuit, the element circuit block is included in the first circuit block, the clock signal is formed by the oscillation circuit included in the second circuit block, and the clock is transferred from the second circuit block to the first circuit block. A signal and an information signal to be processed by the first circuit block are input. In addition, the second circuit block includes a control circuit for controlling the input / output circuit and the substrate bias. Normally, the second circuit block is not required to operate as fast as the first circuit block including the main circuit. Therefore, it is desirable that the transistors constituting the second circuit block have a larger threshold value and higher operating voltage than the transistors constituting the first circuit block. Further, the transistor constituting the main circuit of the first circuit block is formed on a well separate from other circuits, so that the influence of the other circuits can be reduced.
[0023]
When the operating voltages of the first and second circuit blocks are different, a level conversion circuit is required between them. For example, a level down circuit is provided in the first circuit block, and a level up circuit is provided in the second circuit block to perform signal level conversion.
[0024]
In the present invention, since the substrate bias voltage is dynamically switched by switching modes, the operation sequence is important for ensuring reliability.
[0025]
When switching from the first or second mode to the third mode, the clock signal input from the second circuit block to the first circuit block or the first circuit block is processed to be processed by the first circuit block. First, the information signal input to the circuit block is stopped, and then the substrate bias of at least part of the transistors formed on the semiconductor substrate is controlled to increase the threshold value of the transistors. As a result, input to the first circuit block when the operation of the first circuit block is unstable can be prevented, and malfunction of the first circuit block can be prevented.
[0026]
For this operation, it is possible to adopt a configuration in which the signal input to the first circuit block is stopped, the substrate bias is controlled after waiting for a predetermined time (for example, about 60 microseconds) by a timer or the like. The timer for waiting is arranged outside the first circuit block, for example, in the second circuit block or outside the apparatus.
[0027]
Also, when switching from the third mode (standby mode) to the first mode, the substrate bias of the transistor formed on the semiconductor substrate is controlled to lower the threshold value of the transistor, The input of the clock signal input to the first circuit block from the second circuit block and the information signal to be processed by the first circuit block is started. That is, in order to prevent malfunction of the first circuit block, signal input is started after the substrate voltage of the first circuit block is stabilized.
[0028]
For this reason, when switching from the third mode to the first mode, the substrate bias of the first circuit block is controlled to lower the threshold value of the transistor, and the timer waits for a predetermined time to stabilize the operation. After that, input of a clock signal and other signals input to the first circuit block is started.
[0029]
As another method, after the state of the threshold value of the transistor is confirmed by a voltage monitor or the like, signal input to the first circuit block is started. Alternatively, on the basis of the state of the substrate bias generation circuit that controls the substrate voltage, the input of the clock signal and other signals input to the first circuit block is started in accordance with the signal indicating the standby release output from the substrate bias generation circuit To do.
[0030]
As a method of stopping the information signal and the clock signal for the first block, it is conceivable to fix the signal level by an output fixing circuit (level hold circuit) provided in the second circuit block. In the first mode, the signal is input to the level down circuit via the output fixing circuit, but in the third mode, the input to the level down circuit is fixed.
[0031]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings.
[0032]
FIG. 1 is a block diagram showing a configuration example of a processor chip for realizing the first embodiment of the present invention. In FIG. 1, a processor chip 101 is an LSI chip having a CMOS structure circuit, and includes a processor main circuit 102, an operation mode control unit 103, and a substrate bias switching device 104. The substrate bias switching device 104 is supplied with the voltages Vdd and Vss in the normal mode of the substrate bias and the voltages Vddb and Vssb in the standby mode from the signal 110. The substrate bias switching device 104 selects either Vdd or Vdb as the substrate bias of the pMOS transistor constituting the processor main circuit 102 in accordance with the signal 107 output from the operation mode control unit, and outputs it to the signal Vbp111, and the substrate of the nMOS transistor Either Vss or Vssb is selected as a bias and output to the signal Vbn112. The substrate bias selection voltage values are, for example, Vdd = 1.5V, Vddb = 3.0V, Vss = 0.0V, and Vssb = −1.5V.
[0033]
As will be described later, the well 302 in which the processor main circuit 102 is formed is formed independently of the well in which the substrate bias switching device 104 and the operation mode control unit are formed.
[0034]
FIG. 3 is a cross-sectional view showing the device structure of the processor chip 101. 3 is different from FIG. 2 in that a p-well 302 is formed on an n-type substrate 301 and an n-well 205 is formed in a part of the surface phase thereof, that is, a device having a triple well structure. is there. An nMOS transistor is formed on the surface of the p-well 302, and a pMOS transistor is formed on the surface of the n-well 205 to constitute a CMOS circuit. Further, as in FIG. 2, Vbp 209 is provided in the n well 205 of the pMOS transistor and Vbn 210 is provided in the p well 302 of the nMOS transistor as terminals for applying the substrate bias. In this embodiment, the processor main circuit 102 is formed in a p well 302 different from the operation mode control unit 103 and the substrate bias switching device 104. Thereby, the influence of the substrate bias control affects only the processor main circuit 102, and the operation mode control unit 103 and the substrate bias switching device 104 can avoid the influence.
[0035]
The operation of the processor chip 101 in this embodiment will be described with reference to FIG. The operation modes of the processor main circuit 102 include a normal mode for executing normal instructions and a standby mode for not executing instructions. FIG. 4 is a flowchart showing processing on the processor chip 101 when the operation mode of the processor main circuit 102 transitions from the normal mode to the standby mode and from the standby mode to the normal mode.
[0036]
First, the processor main circuit 102 operates in the normal mode. At this time, the substrate bias switching device 104 selects Vdd and Vss for the substrate biases Vbp111 and Vbn112, respectively. The voltage values of the substrate bias in the normal mode in this example are Vbp = 1.5V and Vbn = 0V (step 401).
[0037]
When executing the sleep command, the processor main circuit 102 outputs a “standby request” to the signal 105 and transmits it to the operation mode control unit 103, and then stops the command execution operation and shifts to the standby mode (step 402).
[0038]
When the operation mode control unit 103 receives the signal 105 from the processor main circuit, the operation mode control unit 103 outputs a signal 107 to switch the substrate bias of the processor main circuit 102 to the voltage for the standby mode. The substrate bias switching device 104 receives this signal 107 and selects and outputs Vddb and Vssb from the input voltage 110 to the substrate biases Vbp 111 and Vbn 112, respectively (steps 403 and 404). In this example, the substrate bias voltage values in the standby mode are Vbp = 3.0V and Vbn = −1.5V.
[0039]
When the operation mode control unit 103 detects that the “standby release interrupt” is asserted to the signal 108 from the outside when the processor main circuit 102 is in the standby state (step 405), the operation mode control unit 103 sets the substrate bias of the processor main circuit 102. The signal 107 is output to switch to the voltage for the normal mode, and the substrate bias switching device 104 receives this signal 107 and switches the substrate biases Vbp111 and Vbn112 to Vdd (1.5 V) and Vss (0.0 V), respectively. (Step 406).
[0040]
Since it takes some time for the bias voltage to stabilize after the substrate bias is switched, there is a possibility of malfunction if the operation of the processor main circuit 102 is restarted immediately. To avoid this, the operation mode control unit 103 sets and starts a sufficient time necessary for stabilizing the substrate bias voltage switched to the on-chip timer 109 before switching the operation mode of the processor main circuit 102 (step 407). The process waits until timeout (step 408). After the time-out, the operation mode control unit 103 outputs “standby release” to the signal 106 and transmits it to the processor main circuit 102. Upon receiving this signal 106, the processor main circuit 102 shifts to the normal mode and resumes the instruction execution operation (step 409).
[0041]
As described above, the substrate biases Vbp111 and Vbn112 of the processor main circuit 102 are controlled so that the threshold voltage of the MOS transistor constituting the processor main circuit is lowered during operation to cope with high-speed operation, and the threshold is set during standby. The leakage current can be reduced by increasing the value voltage.
[0042]
FIG. 5 is a block diagram showing the configuration of the processor chip in the second embodiment of the present invention. In this embodiment, the operation mode control unit 103 includes a sensor 501 that detects a bias voltage applied to the substrate of the processor main circuit 102. When the operation mode of the processor main circuit 102 transitions from the normal mode to the standby mode, the processing procedure in the first embodiment is the same. When the operation mode of the processor main circuit 102 transitions from the standby mode to the normal mode, the operation mode control unit 103 controls the substrate bias switching device 104 to change the substrate bias to the normal mode voltage as in the first embodiment. After switching, the sensor 501 waits until the substrate bias voltage switched to a predetermined value, that is, Vbp = 1.5 V and Vbn = 0.0 V in this embodiment is output to the signal 502. When the sensor 501 outputs the stability of the substrate bias to the signal 502, the operation mode control unit 103 outputs “standby release” to the signal 106 and resumes the operation of the processor main circuit 102.
[0043]
FIG. 6 is a block diagram showing the configuration of the processor chip in the third embodiment of the present invention. As a basic device structure of the processor chip 601, the triple well structure shown in FIG. 3 is considered. In the processor chip 601 of FIG. 6, the processor main circuit is composed of a plurality of functional modules such as a CPU 604, a module A 606, and a module B 608. Each function module exists separately on a different well region and is not affected by the substrate bias control of other function modules. The functional module includes a smaller unit such as a CPU, FPU, cache, or arithmetic unit. Substrate bias switching devices 605, 607, and 609 are provided corresponding to the respective functional modules 604, 606, and 608, and the substrate biases of the corresponding functional modules can be switched in the same manner as in the above embodiment. The execution of the instruction is performed mainly by the CPU 604, which is one of the functional modules. When an instruction for setting a functional module unnecessary for execution is executed, the operation mode control unit 602 is notified of the standby of the functional module.
[0044]
Next, the operation of the processor chip 601 in this embodiment will be described. First, assume that all functional modules are operating in normal mode. When the CPU 604 executes an instruction to set the module A to the standby state, the CPU 604 outputs this standby request to the signal 610, and thereafter, the module cannot be used until the standby of the module A 606 is released. The operation mode control unit 602 receives this signal 610, outputs a signal 612 to the substrate bias switching device 607, and switches the substrate bias of the module A 606 to the voltage for the standby mode. When the module A 606 is in the standby state, the operation mode control unit 602 receives the signal 612 from the output signal 610 of the CPU 604 or the signal for releasing the module A 606 from the signal 613 external to the processor chip 601, and outputs the signal 612 to the substrate bias switching device 607. And the substrate bias of the module A is switched to the voltage for the normal mode. Then, the operation mode control unit 602 waits for the stabilization of the substrate bias switched using the on-chip timer 603 as in the first embodiment of the present invention, and after the stabilization, the standby of the module A is released through the signal 611 to the CPU 604. To be notified. Upon receiving this signal 611, the CPU 604 can execute an instruction using the module A.
[0045]
The same applies to the standby control of the module B608 and other functional modules. Further, the CPU 604 itself is a target of standby control. In this case, when the CPU 604 shifts to the standby mode, execution of all instructions is stopped. When the signal for canceling the standby of the CPU 604 is asserted to the external signal 613, the operation mode control unit 602 signals after the switching of the substrate bias of the CPU 604 is completed. The control is the same as in the case of the module A606 except that the CPU 604 is de-asserted to 611 and the instruction execution of the CPU 604 is resumed.
[0046]
According to the standby control for each functional module in the present embodiment, it is possible to reduce the leakage current of the functional module that is unnecessary during the operation of the processor.
[0047]
FIG. 7 is a block diagram showing the configuration of the processor chip in the fourth embodiment of the present invention. The difference from the first embodiment is that the types of voltages 701 supplied to the substrate bias switching device 104 from the outside are increasing, and the substrate bias switching device 104 selects an appropriate one as the substrate bias from these, and the processor It can be applied to the main circuit 102. In this embodiment, it is assumed that the operation speed of the processor main circuit 102, that is, the operation frequency is provided with means for dynamically changing according to an instruction, and the operation mode of the processor main circuit 102 includes a high speed mode and a low speed mode. In this embodiment, Vdd (for pMOS) and Vss (for nMOS) as substrate biases corresponding to the high speed mode, Vddb2 (for pMOS) and Vssb2 (for nMOS) as substrate biases corresponding to the low speed mode, and standby mode are supported. Vddb1 (for pMOS) and Vssb1 (for nMOS) are selected as the substrate bias.
[0048]
Next, the operation of the processor chip 101 in this embodiment will be described. Here, consider a case where the operation mode of the processor main circuit 102 is switched from the high speed mode to the low speed mode. While the processor main circuit 102 is operating in the high-speed mode, the substrate bias switching device 104 selects Vdd for Vbp 111 and Vss for Vbn 112 as the substrate bias of the processor main circuit. When the processor main circuit 102 executes the instruction to shift to the low speed mode, it outputs the request to the signal 105 and interrupts the instruction execution operation. The clock supplied to the processor main circuit 102 is switched to a low frequency by the execution of an instruction for shifting to the low speed mode. The operation mode control unit 103 receives the signal 105 and outputs it to the signal 107 to switch the substrate bias of the processor main circuit 102 to the voltage for the low speed mode. The substrate bias switching device 104 receives this signal 107 and switches the substrate biases Vbp111 and Vbn112 to Vddb2 and Vssb2, respectively. The operation mode control unit 103 uses the on-chip timer 109 in the same manner as in the above-described embodiment, waits for the stability of the switched substrate bias, and notifies the processor main circuit 102 through the signal 106 that the transition to the low-speed mode is completed. The processor main circuit 102 receives the signal 106 and restarts the interrupted instruction execution operation in the low speed mode.
[0049]
The operation at the time of switching from the low-speed mode to the high-speed mode, switching from the high-speed mode or the low-speed mode to the standby mode, or switching from the standby mode to the high-speed mode or the low-speed mode in the present embodiment is the same as described above, and the details are omitted. To do. In this embodiment, it is possible to further subdivide the operation speed and perform substrate bias control corresponding thereto. Further, as in the third embodiment, the processor main circuit 102 is separated for each functional module using a device triple well structure, and the substrate bias is controlled in conjunction with switching of the operating frequency for each functional module. It is also possible.
[0050]
By performing the substrate bias control suitable for the operating frequency of the processor as in this embodiment, it is possible to reduce the leakage current in the low-speed operation mode. Further, in this low-speed mode, the input voltage range in which both the pMOS and nMOS transistors of the CMOS circuit are simultaneously turned on becomes narrower than in the high-speed operation mode, so that an effect of reducing the through current at the time of switching can be obtained. .
[0051]
FIG. 8 is a block diagram showing the configuration of the processor chip in the fifth embodiment of the present invention. This embodiment differs from the first embodiment in that the substrate bias switching device is constituted by a substrate bias generation circuit 801. The substrate bias generation circuit 801 is controlled by the output signal 802 of the operation mode control unit 103 to generate a substrate bias voltage and output it to Vbp 111 and Vbn 112. The voltage values of the substrate biases Vbp111 and Vbn112 generated corresponding to the operation mode of the processor main circuit 102 under the control of the operation mode control unit 103 are the same as those in the first embodiment. Since the operations of the processor main circuit 102 and the operation mode control unit 103 are the same as those in the first embodiment, the details are omitted. Similarly to the present embodiment, the substrate bias switching device in the second, third and fourth embodiments is configured by this substrate bias generation circuit 801, so that the substrate bias is generated inside the processor chip, and the operation mode Can be switched according to
[0052]
As described above, according to these embodiments, the timing at which the processor is restarted at the time of transition from the standby state to the operating state is accurately controlled using a timer or a sensor. Substrate bias control becomes possible. Thereby, the leakage current can be reduced in the standby mode while maintaining the high speed in the operation mode of the processor in the normal mode. Further, by performing the substrate bias control according to the operation mode for each functional module, it is possible to reduce the leakage current of the functional module unnecessary for execution even when the processor is operating. Furthermore, by performing substrate bias control suitable for the operating frequency of the processor, in addition to reducing the leakage current in the low-speed mode, the effect of reducing the through current during switching can be obtained.
[0053]
As a result, power consumption can be effectively reduced, and a microprocessor having both high speed and low power can be provided.
[0054]
Hereinafter, as an embodiment of the microcomputer, an operation mode for specifically controlling the substrate bias will be described. The microcomputer has two power supplies of 1.8V and 3.3V, and performs substrate bias control only for 1.8V. It is desirable that the circuit supplying 1.8V is composed of a MOS transistor having a relatively low threshold (for example, Vth <0.4V).
[0055]
FIG. 9 shows an example of the operation mode of the microcomputer. As operation modes, there are a normal operation mode 982 in which the operation is normally performed and a reset mode 981. Modes operating with low power consumption include sleep 983, deep sleep 984, standby 985, hardware standby 986, and RTC (real-time clock) battery backup mode. As a test mode, there is IDDQ measurement.
[0056]
In the normal operation 982, since a high-speed operation is necessary, the substrate bias is not controlled. At the time of reset 981, since all functions need to be reset, the substrate bias is not controlled. In the low power consumption mode, the sleep bias 983 and the deep sleep 984 that have a short recovery time from the low power consumption mode do not control the substrate bias, but the standby 985 focuses on making the power consumption smaller than the recovery time. In the case of the hardware standby 986, substrate bias control is performed. The RTC battery backup mode is a mode in which only the power supply of the RTC circuit operating at 3.3V is supplied. Since this mode is shifted from the low power consumption mode, substrate bias control is performed. The IDDQ measurement is a mode in which a standby current is measured and a through current due to a short circuit or failure of a transistor is measured. In this case, the substrate bias is always controlled to reduce the leakage power of the chip. Need to make it easier to find defects.
[0057]
Before describing the low power consumption operation mode with reference to FIG. 10, the configuration of the internal blocks of the processor main circuit 902 will be described. This figure is an example of main constituent blocks of the processor main circuit. Arithmetic circuits include a CPU (central processing unit) 971 and an FPU (floating point arithmetic unit) 972. In addition, a cache 973 that is a memory built in the chip, a BSC (bus control unit) 974 that interfaces with an external memory, a DMAC (DMA control unit) 975 that performs DMA (direct memory access), and an SCI that controls a serial port (SCI) A serial control unit) 976, an INTC (interrupt control unit) 977 for controlling an interrupt input, a CPG (clock control unit) 978 for controlling a clock, and the like.
[0058]
The sleep 983, deep sleep 984, and standby 985, which are low power consumption modes, will be described with reference to FIG.
[0059]
In the sleep 983, only the clocks of the arithmetic units such as the CPU 971, the FPU 972, the cache 973, etc. are stopped, and the substrate bias control is not performed. DRAM (dynamic RAM) and SDRAM (synchronous dynamic RAM) normal refresh (1024 times / 16 milliseconds refresh) is possible. Since the CPG 978 is operating and the substrate bias control is not performed, the return time from the sleep 983 to the normal operation mode 982 is fast.
[0060]
In the standby 985 mode, all the operation clocks are stopped and the substrate bias control is also performed, so that the power consumption is extremely small. DMA transfer is not possible because the clock is stopped. Regarding refresh of DRAM or SDRAM, before entering standby 985, control signals (RAS signal, CAS signal) of each memory are set using BSC 974 so that the memory is in a self-refresh mode in which it refreshes itself. It is necessary to keep it. However, the recovery time from the standby 985 to the normal operation 982 becomes longer due to the waiting time for stabilization of clock oscillation and the recovery time from the substrate bias state because the clock is stopped.
[0061]
The deep sleep 984 mode is a low power consumption mode between the sleep 983 and the standby 985.
[0062]
FIG. 12 shows the difference between the operation modules of the sleep 983 and the deep sleep 984. At the sleep 983, the operating BSC 973, DMAC 974, and SCI 975 are stopped in the deep sleep 984, so that power consumption can be reduced accordingly.
[0063]
However, in the deep sleep 984 mode, DMA transfer cannot be performed, and the memory refresh is also self-refreshing. The return time from the deep sleep 984 to the normal operation mode 982 is as fast as the sleep mode.
[0064]
Thus, by providing three types of low power consumption modes, fine low power consumption control according to the application can be performed.
[0065]
The operation mode state transition diagram will be described with reference to FIG. The processor chip transitions to the reset state 981 by RESET # 952 (or power-on reset) pin input from all power off states 980. When RESET # 952 is negated, the operation transits to the normal operation 982. Transition from this state to the low-consumption operation mode.
[0066]
There are two transition methods. One is a transition by an instruction. This transition is made when the CPU 971 executes a sleep command. A sleep mode 983, a deep sleep 984, and a standby 985 can be selected by setting a mode register at the time of execution of a sleep command, and each mode can be changed. The return from each mode to the normal operation mode 982 is an interrupt 958.
[0067]
Another transition method is a transition by the HARDSTB # 951 pin. When this pin is asserted, it transitions to the hardware standby state 986. This state is a state in which all the clocks are stopped and the substrate bias control is performed as in the standby 985.
[0068]
In this mode, if the input / output buffer is set to high impedance, the 3.3V circuit also has no through current flowing transistor, and IDDQ can be measured.
[0069]
If the input buffer of the RTC circuit placed in the 3.3V system is fixed, the input signal of the RTC circuit will not float (intermediate level) even when the power supply other than the RTC circuit is turned off. Malfunctions can be prevented and only the RTC circuit can be operated.
[0070]
Next, an application example of hardware standby will be described.
[0071]
FIG. 14 shows a configuration of a processor chip 901 and a configuration of a power supply control circuit that can replace the power supply 904 (battery) of the processor chip 901 by applying a hardware standby.
[0072]
The processor chip 901 includes a 1.8V area circuit 930 that operates at 1.8V and a 3.3V area circuit 931 that operates at 3.3V. The 1.8V area circuit 930 includes a processor main circuit 902 and level down circuits 905 and 906 for level conversion from 3.3V to 1.8V. The circuit 931 in the 3.3V region includes a substrate bias generation circuit 903, a clock oscillation circuit 908, an IO circuit 909, an operation mode control unit 913, an RTC circuit 914, and level-up circuits 904 and 910 for converting the level from 1.8V to 3.3V. It is composed of output fixing circuits 907 and 911 for fixing a signal from 3.3V to 1.8V.
[0073]
As a power supply system control circuit, there are a power supply 904, a power supply monitoring circuit 921, a display 922, and a voltage generation circuit 920 that generates a 1.8V system voltage.
[0074]
The operation will be described below. When the processor chip 901 is in the normal operation mode 982, the substrate bias generation circuit 903 holds a normal substrate level (for example, VDD potential for PMOS and VSS potential for NMOS) without pulling the substrate bias. The clock oscillation circuit 908 is composed of a PLL (phase locked loop) or the like, generates a clock for internal operation, and sends it to the processor main circuit 902 via the output fixing circuit 907 and the level down circuit 905. The IO circuit 909 takes in an external signal and sends it to the processor main circuit 902 via the output fixing circuit 907 and the level down circuit 905. Further, a signal from the processor main circuit 902 is output to the outside via the level-up circuit 904. The RTC circuit 914 operates at 3.3 V, receives a control signal from the processor main circuit 902 via the level-up circuit 910, and transmits a control signal to the processor main circuit 902 via the level-down circuit 906 and the output fixing circuit 911. Send. The operation mode control unit 913 particularly controls the substrate bias generation circuit 903.
[0075]
The power monitoring circuit 921 monitors the voltage level of the power source 904. When the voltage level falls below a predetermined level (detects a state where the battery is dead), HARDSTB # 951 is set to a low level. At the same time, a battery low alarm is displayed on the display 922 to inform the user. Even when the voltage level is lowered, the voltage holding circuit 923 can hold the voltage level for a predetermined period (several minutes to several hours). During this period, the user can replace the power supply 904.
[0076]
Hereinafter, the power supply replacement sequence will be described with reference to FIG.
(1) When HARDSTB # 951 goes low, the operation mode enters the hardware standby state 986. Here, a 1.8V signal fixing 953 is output from the operation mode control unit 913, a signal from 3.3V to 1.8V is fixed, and the 1.8V system clock is also stopped. As a result, even when the substrate bias is pulled, the 1.8 V system signal does not operate, so the substrate bias is pulled (the threshold voltage of the MOS transistor is high, and the operation speed is slow). Thus, a malfunction of the 1.8V system circuit in a state where the substrate potential is unstable is prevented. In this state, a substrate bias control start signal 955 is output to the substrate bias generation circuit 903.
(2) Thereafter, a substrate bias control start signal 955 is output to the substrate bias generation circuit 903 based on the timing of the 1.8V signal fixing 953. Between the signal fixing 953 and the substrate bias control start 955, a time difference is set until the signal is actually fixed and the supply of the signal to the 1.8 V region is stopped. This time difference can be measured by a timer based on the RTC clock of the RTC circuit 914.
(3) In response to the substrate bias control start signal 955, the substrate bias generation circuit 903 starts to pull the substrate bias of the 1.8V substrate. During the period when the substrate bias is being pulled, the 956 signal during substrate bias control is returned to the operation mode control unit 913.
(4) The processor main circuit 902 does not operate when the substrate bias is being pulled. Further, since the leakage current is small, the current consumption is small. As a result, the holding time of the voltage holding circuit 923 also becomes longer.
(5) Replace the power supply 904 in this state.
(6) After replacing the power supply, the power supply voltage returns to a normal level, so that HARDSTB # 951 returns to a high level.
(7) Thereafter, the power-on reset circuit operates and RESET # 952 is input. By this reset input, the substrate bias control start signal 955 output from the operation mode control unit 913 is canceled.
(8) In response to the release of the substrate bias control start signal 955, the substrate bias generation circuit 903 changes the substrate bias of the 1.8V system substrate to the operating state potential (for example, VDD potential for PMOS and VSS potential for NMOS). Start returning. A predetermined time is required until the substrate bias is recovered, and when the substrate bias is returned, the operation mode control unit 913 is notified of this by releasing the substrate bias control signal 956.
(9) Upon receiving the cancellation of the substrate bias control signal 956, the 1.8V signal fixing 953 output from the operation mode control unit 913 is canceled, and a signal is sent to a 1.8V system circuit such as the processor main circuit 902. Entered.
(10) After the reset state 981 ends, the normal state 982 is entered and the processor main circuit 902 starts normal operation.
[0077]
As described above, the power supply 904 can be replaced using the low power consumption mode by the hardware standby.
[0078]
Next, a second application example of hardware standby will be described.
[0079]
FIG. 16 shows a configuration example for realizing the RTC power backup mode. The RTC circuit 914 is called a real-time counter, and realizes a clock and calendar function. For this reason, the function of the watch cannot be realized unless it is always operating. Even when the power supply 904 is cut off, the RTC circuit 914 needs to be operating.
[0080]
In the embodiment shown here, the 3.3V region is divided into a normal 3.3V region 991 and a region 992 operating at 3.3V of the RTC in order to realize the RTC power supply backup mode. In the 3.3 V region 992 of the RTC, an input fixing circuit 912 and an input fixing level-up circuit 960 are added to the input circuit, and other power sources (1.8 V, normal 3.3 V power source) are cut off. In this state, even if the input signal becomes floating, an intermediate level signal is not transmitted to the region 992 that operates at 3.3 V of the RTC to prevent malfunction.
[0081]
As a power supply system control circuit, there are a backup battery 962 and diodes 963 and 964, in addition to a power supply 904, a power supply monitoring circuit 921, a display 922, and a voltage generation circuit 920 that generates a 1.8V system voltage.
[0082]
The operation will be described below. In the normal operation mode 982, the substrate bias generation circuit 903 maintains the normal substrate level without pulling the substrate bias. The clock oscillation circuit 908 is composed of a PLL (phase locked loop) or the like, generates a clock for internal operation, and sends it to the processor main circuit 902 via the output fixing circuit 907 and the level down circuit 905. The IO circuit 909 takes in a signal from outside and sends it to the processor main circuit 902 via the output fixing circuit 907 and the level down circuit 905. Further, a signal from the processor main circuit 902 is output to the outside via the level-up circuit 904. The RTC circuit 914 operates at 3.3 V, receives a control signal from the processor main circuit 902 via the input fixed level-up circuit 960, and controls the processor main circuit 902 via the level-down circuit 906 and the output fixing circuit 911. Send a signal. The operation mode control unit 913 receives a control signal via the input fixing circuit 912 and controls the substrate bias generation circuit 903 in particular.
[0083]
The power monitoring circuit 921 monitors the voltage level of the power source 904. When the voltage level falls below a predetermined level (detects a state where the battery is dead), HARDSTB # 951 is set to a low level, the input of the RTC 3.3V region 992 is fixed, and malfunction of the RTC circuit 914 is prevented. At the same time, a battery low alarm is displayed on the display 922. Thereafter, the voltage level continues to decrease, and 3.3V and 1.8V voltages are not supplied to the processor chip 901. At this time, the voltage (VDD-RTC, VSS-RTC) is supplied only from the backup battery 962 to the 3.3 V region of the RTC via the diode 963, and even without the power supply 904, only the RTC circuit 914 (calendar counter circuit) is provided. Works normally. The diode 964 prevents current from flowing to other than the RTC circuit 914.
[0084]
The RTC power supply backup sequence will be described in detail with reference to FIG.
(1) When HARDSTB # 951 goes low, the operation mode enters the hardware standby state 986. Here, a 1.8V signal fixing 953 is output from the operation mode control unit 913, a signal from 3.3V to 1.8V is fixed, and the 1.8V system clock is also stopped. As a result, even when the substrate bias is pulled, the 1.8V signal does not operate, so that the malfunction of the 1.8V circuit with the substrate bias being pulled is prevented. At the same time, an input fixing signal 954 to the RTC circuit 914 is output to fix the input signal. This prevents an unstable intermediate level signal from entering the RTC circuit 914 when the other power supply is shut off.
(2) Thereafter, a substrate bias control start signal 955 is output to the substrate bias generation circuit 903 based on the timing of the 1.8V signal fixing 953. Between the signal fixing 953 and the substrate bias control start 955, a time difference is set until the signal is actually fixed and the supply of the signal to the 1.8 V region is stopped. This time difference can be measured by a timer based on the RTC clock of the RTC circuit 914.
(3) In response to the substrate bias control start signal 955, the substrate bias generation circuit 903 starts to pull the substrate bias of the 1.8V substrate. During the period when the substrate bias is being pulled, the 956 signal during substrate bias control is returned to the operation mode control unit 913.
(4) The processor main circuit 902 does not operate when the substrate bias is being pulled. Further, since the leakage current is small, the current consumption is small.
(5) The interruption period of the power supply 904 may be long. Further, the power source 904 can be replaced.
(6) After the power supply 904 is shut off (or after the power supply 904 is replaced), the power supply voltage returns to the normal level, so that HARDSTB # 951 returns to the high level.
(7) Thereafter, the power-on reset circuit operates and RESET # 952 is input. The substrate bias control start signal 955 is canceled by this reset input.
(8) In response to the release of the substrate bias control start signal 955, the substrate bias generation circuit 903 changes the substrate bias of the 1.8V system substrate to the operating state potential (for example, VDD potential for PMOS and VSS potential for NMOS). Start returning. A predetermined time is required until the substrate bias is recovered, and when the substrate bias is returned, the operation mode control unit 913 is notified of this by releasing the substrate bias control signal 956.
(9) Upon receiving the cancellation of the substrate bias control signal 956, the 1.8V signal fixing 953 output from the operation mode control unit 913 is canceled, and a signal is sent to a 1.8V system circuit such as the processor main circuit 902. Entered.
(10) After the reset state 981 ends, the normal state 982 is entered and the processor main circuit 902 starts normal operation.
[0085]
In the above sequence, it is also possible to provide a power switch for the power supply 904 and operate only the RTC circuit 914 during the power-off period.
[0086]
As described above, only the RTC circuit 914 can be operated with battery backup using the hardware standby.
[0087]
FIG. 18 illustrates a sequence for entering the standby state 985 using the normal sleep instruction 959 and returning to the normal state 982 with the interrupt signal 958.
(1) The sleep mode 959 causes the operation mode to enter the standby state 985. Here, a 1.8V signal fixing 953 is output from the operation mode control unit 913, a signal from 3.3V to 1.8V is fixed, and the 1.8V system clock is also stopped. This prevents a malfunction of the 1.8V circuit when the substrate bias is pulled.
(2) Thereafter, a substrate bias control start signal 955 is output to the substrate bias generation circuit 903 based on the timing of the 1.8V signal fixing 953. Between the signal fixing 953 and the substrate bias control start 955, a time difference is set until the signal is actually fixed and the supply of the signal to the 1.8 V region is stopped. This time difference can be measured by a timer based on the RTC clock of the RTC circuit 914.
(3) In response to the substrate bias control start signal 955, the substrate bias generation circuit 903 starts to pull the substrate bias of the 1.8V substrate. During the period when the substrate bias is being pulled, the 956 signal during substrate bias control is returned to the operation mode control unit 913.
(4) The processor main circuit 902 does not operate when the substrate bias is being pulled. Further, since the leakage current is small, the current consumption is small.
(5) In this state, when the interrupt signal 958 is received from the control signal 957 (external pin) via the IO circuit 909, the operation mode control unit 913 releases the substrate bias control start signal 955.
(6) In response to the cancellation of the substrate bias control start signal 955, the substrate bias generation circuit 903 changes the substrate bias of the 1.8V system substrate to the operating state potential (for example, VDD potential for PMOS and VSS potential for NMOS). Start returning. A predetermined time is required until the substrate bias is recovered, and when the substrate bias is returned, the operation mode control unit 913 is notified of this by releasing the substrate bias control signal 956.
(7) Upon receiving the cancellation of the substrate bias controlling signal 956, the operation mode control unit 913 releases the 1.8V signal fixing 953. By canceling the 1.8V signal fixing 953 after the substrate bias control signal is canceled, the 1.8V circuit is prevented from malfunctioning.
(5) A signal is input to a 1.8V system circuit such as the processor main circuit 902 and the normal state 982 is entered, and the processor main circuit 902 starts normal operation.
[0088]
As described above, the processor chip 901 enters the low power consumption mode and can be restored by an interrupt.
[0089]
FIG. 19 illustrates a sequence in which the normal sleep instruction 959 is used to enter the standby state 985 and return to the normal state 982 by RESET # 952.
(1) The sleep mode 959 causes the operation mode to enter the standby state 985. Here, a 1.8V signal fixing 953 is output from the operation mode control unit 913, a signal from 3.3V to 1.8V is fixed, and the 1.8V system clock is also stopped. This prevents a malfunction of the 1.8V circuit when the substrate bias is pulled.
[0090]
Thereafter, the 1.8 V signal fixing 953 measures the completion of signal fixing, and outputs a substrate bias control start signal 955 to the substrate bias generating circuit 903.
(2) In response to the substrate bias control start signal 955, the substrate bias generation circuit 903 starts pulling the substrate bias of the 1.8V system substrate. During the period when the substrate bias is being pulled, the 956 signal during substrate bias control is returned to the operation mode control unit 913.
(3) The processor main circuit 902 does not operate when the substrate bias is being pulled. Further, since the leakage current is small, the current consumption is small.
(4) In this state, the operation mode control unit 913 receives RESET # 952 and cancels the substrate bias control start signal 955.
(5) In response to the cancellation of the substrate bias control start signal 955, the substrate bias generation circuit 903 starts returning the substrate bias of the 1.8V substrate to the operating potential. When the substrate bias is returned, the operation mode control unit 913 is notified using the substrate bias control signal 956.
(6) Upon receiving this release signal, the 1.8V signal fixing 953 is released.
(7) After the reset state 981 is completed, a signal is input to a 1.8V system circuit such as the processor main circuit 902, the normal state 982 is entered, and the processor main circuit 902 starts normal operation.
[0091]
As described above, the processor chip 901 enters the low power consumption mode and can be restored by reset.
[0092]
As described above, the processor chip 901 has a portion where 1.8V is supplied as the power supply voltage and a portion where 3.3V is supplied as the power supply voltage. An example of the portion to which 1.8V is supplied includes a processor main circuit 902. This part has a large circuit scale and is required to be operated at a higher speed. Since the circuit scale is large and high-speed operation is required, the power consumption of this portion increases. In this embodiment, the power supply voltage is lowered to reduce this power consumption.
[0093]
Further, when the power supply voltage is lowered (for example, 1.8 V), the operation speed is reduced, so that the threshold voltage of the MOS transistor is lowered (for example, about Vth <0.4 V). Further, in this embodiment, the substrate voltage is controlled in order to reduce the subthreshold leakage current due to the low threshold value.
[0094]
On the other hand, a portion to which 3.3V is supplied as a power supply voltage is, for example, an RTC circuit 914. Since these circuits are small and operate at low speed, power consumption is small. Therefore, such a circuit block does not need to have a low power supply voltage. For example, Vth> 0.5V can be set. Since it is not necessary to lower the threshold value of the MOS transistor, there is an advantage that there is no need for current countermeasures by substrate control in order to reduce the subthreshold leakage current.
[0095]
The processor chip 901 of this embodiment uses both power supply voltages properly. That is, a portion requiring a large-scale high-speed operation uses a low voltage low threshold MOS under substrate control, and uses a high voltage high threshold MOS without substrate control. A method for manufacturing MOS transistors having different threshold values is not particularly limited, but can be realized by changing the channel implantation amount. It can also be realized by changing the thickness of the gate oxide film. In the latter case, the threshold value may be increased by increasing the oxide film thickness in the configuration of the MOS transistor. This is because a high threshold MOS is operated at a high voltage, so that it is necessary to increase the oxide film thickness. If the threshold can be increased by increasing the thickness of the oxide film, the process can be simplified.
[0096]
Furthermore, since the input / output circuit 909 needs to transmit and receive an external signal amplitude of 3.3 V, it is preferable to use the same MOS transistor as the high voltage threshold MOS because the process can be shared.
[0097]
【The invention's effect】
According to the present invention, a microprocessor having both high speed and low power consumption can be realized.
[Brief description of the drawings]
FIG. 1 is a block diagram of a processor chip in a first embodiment of the present invention.
FIG. 2 is a cross-sectional view showing a general device structure used for substrate bias control.
FIG. 3 is a sectional view showing a device structure in the first embodiment of the present invention.
FIG. 4 is a flowchart used for explaining operations in the first embodiment of the present invention;
FIG. 5 is a block diagram of a processor chip in a second embodiment of the present invention.
FIG. 6 is a block diagram of a processor chip according to a third embodiment of the present invention.
FIG. 7 is a block diagram of a processor chip according to a fourth embodiment of the present invention.
FIG. 8 is a block diagram of a processor chip according to a fifth embodiment of the present invention.
FIG. 9 is a diagram illustrating the relationship between the operation mode of the present invention and substrate bias control.
FIG. 10 is a diagram illustrating a configuration of a processor main circuit according to the present invention.
FIG. 11 is a diagram illustrating a low power consumption mode of the present invention.
FIG. 12 is a diagram illustrating sleep and deep sleep according to the present invention.
FIG. 13 is a transition diagram of the operation mode of the present invention.
FIG. 14 is a first configuration diagram of a configuration of a processor chip and a power supply control circuit according to the present invention.
FIG. 15 is a diagram illustrating a power supply replacement sequence according to the present invention.
FIG. 16 is a second configuration diagram of the configuration of the processor chip and the power supply control circuit of the present invention.
FIG. 17 is a diagram illustrating an RTC power backup sequence according to the present invention.
FIG. 18 is a diagram illustrating a sequence from the low power consumption mode of the present invention until returning by an interrupt.
FIG. 19 is a diagram illustrating a sequence from a low power consumption mode according to the present invention to return by reset.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 101 ... Processor chip, 102 ... Processor main circuit, 103 ... Operation mode control part, 104 ... Substrate bias switching device, 109 ... Timer, 501 ... Sensor, 801 ... Substrate bias generation circuit.

Claims (10)

少なくとも一つのMOSトランジスタを含み、第1モードと第2モードとを有する第1論理回路と、
第2論理回路と、
上記少なくとも一つのMOSトランジスタに印加する基板バイアス電圧を制御する基板バイアス制御回路と、
上記第1モードに移行する命令の実行または上記第2モードに移行する割り込みに応答して動作する動作モード制御部とを有し、
上記第1論理回路と第2論理回路とは、異なるウェル領域に形成されているものであって、
上記動作モード制御部は、上記命令の実行に応答し上記第1論理回路の上記基板バイアス電圧を制御し、上記第1モードにおける上記基板バイアス電圧を第1電圧に制御し、上記割り込みに応答して上記基板バイアス電圧を制御し、上記第2モードにおける上記基板バイアス電圧を第2電圧に制御し、上記第1電圧が印加された上記少なくとも一つのMOSトランジスタのしきい値電圧の絶対値は上記第2電圧が印加された上記少なくとも一つのMOSトランジスタのしきい値電圧の絶対値よりも大きくされ、
上記第1論理回路は、上記命令の実行に応答して上記第1論理回路の入力が変化しないように制御され、上記割り込み後、上記少なくとも一つのMOSトランジスタに印加される基板バイアス電圧が所定のレベルまで安定した後に動作を開始する半導体集積回路。
A first logic circuit including at least one MOS transistor and having a first mode and a second mode;
A second logic circuit;
A substrate bias control circuit for controlling a substrate bias voltage applied to the at least one MOS transistor;
An operation mode control unit that operates in response to execution of an instruction to shift to the first mode or an interrupt to shift to the second mode;
The first logic circuit and the second logic circuit are formed in different well regions,
The operation mode control unit controls the substrate bias voltage of the first logic circuit in response to execution of the command, controls the substrate bias voltage in the first mode to the first voltage, and responds to the interrupt. The substrate bias voltage is controlled, the substrate bias voltage in the second mode is controlled to the second voltage, and the absolute value of the threshold voltage of the at least one MOS transistor to which the first voltage is applied is The absolute value of the threshold voltage of the at least one MOS transistor to which the second voltage is applied is made larger ,
The first logic circuit is controlled so that an input of the first logic circuit does not change in response to execution of the instruction, and after the interruption, a substrate bias voltage applied to the at least one MOS transistor is a predetermined value. A semiconductor integrated circuit that starts operation after it has stabilized to a level.
請求項1において、
上記第1論理回路は、上記MOSトランジスタとして第1導電型の第1MOSトランジスタと第2導電型の第2MOSトランジスタとを含み、
上記第1MOSトランジスタと上記第2MOSトランジスタとはCMOS回路を構成している半導体集積回路。
In claim 1,
The first logic circuit includes a first conductivity type first MOS transistor and a second conductivity type second MOS transistor as the MOS transistors,
The first MOS transistor and the second MOS transistor are semiconductor integrated circuits constituting a CMOS circuit.
請求項2において、
上記半導体集積回路の基板は、第2導電型の第1半導体領域と第1導電型の第2半導体領域と第2導電型の第3半導体領域とを有し、
上記第3半導体領域は上記第2半導体領域に形成され、上記第2半導体領域は上記第1半導体領域に形成され、
上記第1MOSトランジスタは上記第3半導体領域に形成され、上記第2MOSトランジスタは上記第2半導体領域に形成されている半導体集積回路。
In claim 2,
The substrate of the semiconductor integrated circuit has a second conductive type first semiconductor region, a first conductive type second semiconductor region, and a second conductive type third semiconductor region,
The third semiconductor region is formed in the second semiconductor region; the second semiconductor region is formed in the first semiconductor region;
The semiconductor integrated circuit, wherein the first MOS transistor is formed in the third semiconductor region, and the second MOS transistor is formed in the second semiconductor region.
請求項3において、
上記第1MOSトランジスタの基板バイアス電圧は上記第3半導体領域に印加され、上記第2MOSトランジスタの基板バイアス電圧は上記第2半導体領域に印加される半導体集積回路。
In claim 3,
A semiconductor integrated circuit in which a substrate bias voltage of the first MOS transistor is applied to the third semiconductor region, and a substrate bias voltage of the second MOS transistor is applied to the second semiconductor region.
請求項3において、
上記動作モード制御部は、上記第2半導体領域とは異なる半導体領域に形成される半導体集積回路。
In claim 3,
The operation mode control unit is a semiconductor integrated circuit formed in a semiconductor region different from the second semiconductor region.
請求項1において、
上記動作モード制御部は、上記基板バイアス電圧の安定期間として定められた期間を計測するタイマーを含む半導体集積回路。
In claim 1,
The operation mode control unit is a semiconductor integrated circuit including a timer for measuring a period defined as a stable period of the substrate bias voltage.
請求項1において、
上記動作モード制御部は、上記少なくとも一つのMOSトランジスタの基板に印加される基板バイアス電圧が所定の値に安定したことを検知するセンサを含む半導体集積回路。
In claim 1,
The operation mode control unit is a semiconductor integrated circuit including a sensor for detecting that a substrate bias voltage applied to a substrate of the at least one MOS transistor is stabilized at a predetermined value .
請求項1において、
上記第1論理回路の入力に接続された入力制御回路を有し、
上記入力制御回路は、上記命令の実行から上記第1論理回路の動作開始まで、上記第1論理回路の入力を所定のレベルに制御する半導体集積回路。
In claim 1,
An input control circuit connected to the input of the first logic circuit;
The input control circuit, from the execution of the instruction to the start of operation of the first logic circuit, a semiconductor integrated circuit for controlling the input of the first logic circuit to a predetermined level.
請求項5において、
上記第1論理回路の入力に接続された入力制御回路を有し、
上記入力制御回路は、上記命令の実行から上記第1論理回路の動作開始まで、上記第1論理回路の入力を所定のレベルに制御し、
上記入力制御回路は、上記動作モード制御回路が構成される半導体領域に形成される半導体集積回路。
In claim 5,
An input control circuit connected to the input of the first logic circuit;
The input control circuit, from the execution of the instruction to the start of operation of the first logic circuit, controls the input of the first logic circuit to a predetermined level,
The input control circuit is a semiconductor integrated circuit formed in a semiconductor region in which the operation mode control circuit is configured.
請求項1において、In claim 1,
上記第1論理回路の入力は、情報信号、クロック信号である半導体集積回路。A semiconductor integrated circuit in which the input of the first logic circuit is an information signal and a clock signal.
JP2003142831A 1996-11-21 2003-05-21 Low power processor Expired - Fee Related JP4387122B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003142831A JP4387122B2 (en) 1996-11-21 2003-05-21 Low power processor

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP31038096 1996-11-21
JP2003142831A JP4387122B2 (en) 1996-11-21 2003-05-21 Low power processor

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP52347998A Division JP3851663B2 (en) 1996-11-21 1997-11-21 Low power processor

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2007101243A Division JP4521619B2 (en) 1996-11-21 2007-04-09 Low power processor

Publications (2)

Publication Number Publication Date
JP2004096073A JP2004096073A (en) 2004-03-25
JP4387122B2 true JP4387122B2 (en) 2009-12-16

Family

ID=32071439

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003142831A Expired - Fee Related JP4387122B2 (en) 1996-11-21 2003-05-21 Low power processor

Country Status (1)

Country Link
JP (1) JP4387122B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006172264A (en) 2004-12-17 2006-06-29 Matsushita Electric Ind Co Ltd Semiconductor integrated circuit device and signal processing system
KR100806284B1 (en) 2005-12-08 2008-02-22 한국전자통신연구원 High Energy Efficiency Processor Using Dynamic Voltage Scaling
JP4685040B2 (en) 2007-01-24 2011-05-18 パナソニック株式会社 Semiconductor integrated circuit and power supply control method thereof
JP5305076B2 (en) * 2008-09-03 2013-10-02 株式会社デンソー Microcomputer
US8489906B2 (en) * 2010-05-25 2013-07-16 Freescale Semiconductor, Inc. Data processor having multiple low power modes

Also Published As

Publication number Publication date
JP2004096073A (en) 2004-03-25

Similar Documents

Publication Publication Date Title
JP3851663B2 (en) Low power processor
JP4521619B2 (en) Low power processor
EP1759460B1 (en) Adaptive control of power supply for integrated circuits
US20190235614A1 (en) Conserving Power by Reducing Voltage Supplied to an Instruction-Processing Portion of a Processor
US6367021B1 (en) Power management system with programable configuration circuitry using digital power level signal to selectively configure operations of electronic circuits
US6635934B2 (en) Semiconductor integrated circuit device operating with low power consumption
JP4148691B2 (en) Integrated circuit element or integrated circuit system having power control logic for preventing internal current leakage in sleep mode, and method of operating the same
US20090292934A1 (en) Integrated circuit with secondary-memory controller for providing a sleep state for reduced power consumption and method therefor
JP2003092359A (en) Semiconductor integrated circuit
WO2000045437A1 (en) Method of setting back bias of mos circuit, and mos integrated circuit
JP2010519612A (en) Dynamic leak control circuit using selective back bias
JP2004021574A (en) Semiconductor device
EP1250743B1 (en) Cmos low leakage operation of real time clock
JP2009016776A (en) Semiconductor integrated circuit
JP4387122B2 (en) Low power processor
US8018247B2 (en) Apparatus and method for reducing power consumption using selective power gating
EP2557479A2 (en) Adjustable body bias circuit
US6838927B2 (en) Semiconductor integrated circuit with stabilizing capacity
CN112235850B (en) Low-power-consumption system and method of Internet of things chip
SULAIMAN et al. The Complete Switching Circuit Design for CPU Joint Body Biasing and Supply Voltage Scaling
Cheng et al. Digitalized-Management Voltage-Domain Programmable Mechanisms for Dual-Vdd Low-Power Embedded Digital Systems
JPH04123391A (en) Output buffer circuit for gate array
JPH1075168A (en) Low-power consumption type semiconductor device
WO2004075406A1 (en) Leakage power control
JP2011030066A (en) Semiconductor integrated circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20030522

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20060420

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070126

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070206

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070409

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090106

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20090220

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: 20090929

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: 20090930

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121009

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121009

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121009

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121009

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121009

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121009

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131009

Year of fee payment: 4

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