JP4064516B2 - Integrated circuit device with built-in memory - Google Patents

Integrated circuit device with built-in memory Download PDF

Info

Publication number
JP4064516B2
JP4064516B2 JP05117098A JP5117098A JP4064516B2 JP 4064516 B2 JP4064516 B2 JP 4064516B2 JP 05117098 A JP05117098 A JP 05117098A JP 5117098 A JP5117098 A JP 5117098A JP 4064516 B2 JP4064516 B2 JP 4064516B2
Authority
JP
Japan
Prior art keywords
memory
integrated circuit
circuit device
signal
control means
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
JP05117098A
Other languages
Japanese (ja)
Other versions
JPH11250032A (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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP05117098A priority Critical patent/JP4064516B2/en
Publication of JPH11250032A publication Critical patent/JPH11250032A/en
Application granted granted Critical
Publication of JP4064516B2 publication Critical patent/JP4064516B2/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

Landscapes

  • Microcomputers (AREA)
  • Memory System (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、メモリを内蔵したマイクロコントローラLSI等の集積回路装置に係り、特にメモリを内蔵した集積回路装置の消費電力の低減に関する。
【0002】
【従来の技術】
図9に従来のメモリを内蔵した集積回路装置の一例としてメモリ内蔵型マイクロコントローラの構成を示す。同図において、マイクロコントローラは、CPU100と、メモリ110とを有しており、CPU100のアドレス出力端子An1はメモリ110のアドレス入力端子An2とアドレスバス130により接続され、メモリ110のデータ出力端子Dm2はCPU100のデータ入力端子Dm1にデータバス140により接続されている。
【0003】
またスタンバイモードを設定するためのスタンバイ信号が出力されるCPU100のスタンバイ信号出力端子STBはインバータ120を介してメモリ110のチップイネーブル端子CEに接続されている。
【0004】
上記構成においてCPU100の端子STBよりスタンバイ信号(ハイレベル)が出力されているスタンバイモード時においてはメモリ110のチップイネーブル端子CEにはローレベルの信号が入力され、メモリ110は非活性化状態となる。
【0005】
またスタンバイモード時以外ではCPU100の端子STBよりローレベルの信号がインバータ120へ入力されるので、メモリ110のチップイネーブル端子CEにはハイレベルの信号が入力されメモリ110は活性化状態になる。
【0006】
このようにメモリの活性化または非活性化の切り換えはチップイネーブル信号を用いて制御している。
【0007】
高速動作(動作周波数10MHz以上)を保証する従来のメモリ内蔵型マイクロコントローラは、CPUの高速動作に対応できるようにメモリの読出回路には電流センス型アンプを使用したものを搭載することが多いが、このタイプのメモリは活性化状態にしておくと、定常的に、周波数に関係なく数mAの電流が流れる。
【0008】
従来のメモリ内蔵型マイクロコントローラでは、マイクロコントローラを高速動作させるとマイクロコントローラ全体の消費電流が数十mAになることから、メモリブロックでの数mAの消費電流はさほど問題にならないため、図9に基づいて既述したようにスンタバイモード時以外にはメモリを常に活性化状態にし、スタンバイモード時のみ非活性化状態にして消費電流、延いては消費電力を低減していた。
【0009】
また特開平7−93280号公報にはプロセッサに供給される命令を検知して該命令がメモリアクセス命令である場合にメモリを活性状態にし、該命令がメモリアクセス命令以外の命令である場合にはメモリを非活性状態にすることにより消費電力の低減を図ったメモリ内蔵型プロセッサLSIが提案されている。
【0010】
【発明が解決しようとする課題】
しかしながら、スタンバイモード時以外は常にメモリを活性化状態にするチップイネーブル信号を有効にする方法では、通常動作時にメモリブロックで定常的に電流が流れているため、メモリアクセス時以外(メモリを使用しない時)の期間においても数mAとは言え、消費電流が無駄に消費されてしまう問題がある。
【0011】
また、高速動作時には問題にならないが、低速動作時(動作周波数10MHz以下)では、マイクロコントローラ全体の消費電流は数mAオーダーとなり、メモリブロックでの消費電力が大きく問題となっていた。特に、デュアルクロック(メイン発振子とは別にサブクロックとして時計用タイマなどのカウントクロックとなる32.768kHz用の発振子を持つ)製品では、サブクロックを内部基本クロックとして使用できるものもあり、この場合に上記低速動作時に比して動作周波数が更に低いので消費電流がより大きくなり、通常動作時のメモリブロックにおける消費電流削減が大きな問題となっていた。
【0012】
更に特開平7−93280号公報に記載のメモリ内蔵型プロセッサLSIではメモリアクセス時以外ではメモリが非活性化されるが、メモリアクセス命令が出力中はメモリが活性化状態にあり、消費電力の低減効果が小さいという問題が有る。
【0013】
本発明はこのような事情に鑑みてなされたものであり、動作速度に応じて的確に消費電力の低減を図ることができるメモリを内蔵した集積回路装置を提供することを目的とする。
【0014】
【課題を解決するための手段】
上記目的を達成するために請求項1に記載の発明は、メモリを内蔵する集積回路装置において、CPUから出力されるメモリアクセス信号の遷移から所定時間チップイネーブル信号を、前記メモリが活性化するレベルにすることによって、前記メモリよりデータを読み出す際に該メモリを活性化状態にし、前記メモリの前記活性化状態から所定時間経過後にチップイネーブル信号を非活性化するレベルにすることによって、該メモリよりデータが出力された時点で該メモリを非活性化状態にする第1の制御手段を有することを特徴とする。
【0015】
また請求項2に記載の発明は、請求項1に記載のメモリを内蔵する集積回路装置において、前記第1の制御手段は、前記メモリを活性化状態にする際に前記メモリのチップイネーブル制御によるデータ出力確定時間より長い時間をメモリ活性化時間としたことを特徴とする。
【0016】
請求項1、2に記載の集積回路装置では、CPUから出力されるメモリアクセス信号の遷移から所定時間チップイネーブル信号を、前記メモリが活性化するレベルにすることによって、データを読み出す際にメモリを活性化状態にし、前記メモリの前記活性化状態から所定時間経過後にチップイネーブル信号を非活性化するレベルにすることによって、該メモリよりデータが出力された時点で非活性化状態にするようにしたので、消費電流、延いては消費電力の低減が図れる。特に低周波動作時にはメモリにおける消費電流が集積回路装置全体の消費電流に占める割合が大きいことと、アクセスタイムのうちメモリの読出期間の比率が低いことから、メモリにおける消費電流の低減効果が非常に大きくなる。したがって、動作速度に応じて的確に消費電流、延いては消費電力の低減が図れる。
【0017】
請求項3に記載の発明は、請求項1または2のいずれかに記載のメモリを内蔵する集積回路装置において、前記第1の制御手段の前記メモリを活性化状態及び非活性化状態にする制御機能を有効または無効にする第2の制御手段を有し、該第2の制御手段は前記第1の制御手段の前記メモリを活性化状態及び非活性化状態にする制御機能を無効にした際に該制御機能を無効にしている期間中は前記メモリを常時、活性化状態とすることを特徴とする。
【0018】
請求項4に記載の発明は、請求項3に記載のメモリを内蔵する集積回路装置において、前記第2の制御手段は、前記第1の制御手段の前記メモリを活性化状態及び非活性化状態にする制御機能を、集積回路装置内部で設定されるフラグに基づいて有効または無効とすることを特徴とする。
【0019】
請求項3、4に記載の集積回路装置では、メモリを活性化状態及び非活性化状態にする制御機能を有効または無効にすることができるようにしたので、例えば、低速動作時にはデータ読出時にのみメモリを活性化状態にすることにより消費電力の低減を図ることができ、また高速動作時には常にメモリを活性化状態にすることによりアドレスアクセス時間ベースで使用でき、処理速度の高速化に対応できる。
【0020】
請求項5に記載の発明は、請求項3に記載のメモリを内蔵する集積回路装置において、前記第2の制御手段は、前記第1の制御手段の前記メモリを活性化状態及び非活性化状態にする制御機能を、外部より入力される操作信号に基づいて有効または無効とすることを特徴とする。
【0021】
請求項5に記載の集積回路装置では、請求項3、4の効果に加えて、メモリを活性化状態及び非活性化状態にする制御機能を有効にするか、または無効にするかを外部より操作できるように構成したので、低速動作時には集積回路装置の動作開始直後より消費電力の低減が図れる、という効果が得られる。
請求項6に記載の発明は、請求項1から請求項5のいずれか1項に記載のメモリを内蔵する集積回路装置において、前記CPUは、随時動作することを特徴とする。従って、前記CPUは、随時動作する(ウエイトしない)ので、CPUの処理速度を低下させずに動作することができる。
請求項7に記載の発明は、請求項1から請求項6のいずれか1項に記載のメモリを内蔵する集積回路装置において、前記第1の制御手段は、信号遅延回路を含んで構成されていることを特徴とする。従って、データを読み出すときだけメモリを活性化しておき、それ以外のときは非活性化状態にすることができるため、従来のメモリと機能は変わらずに、消費電流を数mAオーダーで低減することができる。
請求項8に記載の発明は、請求項7に記載のメモリを内蔵する集積回路装置において、前記信号遅延回路は、前記メモリアクセス信号の遷移に応じて信号レベルが遷移する相補的な信号の一方を入力する第1の立ち上がりディレイ回路と、他方を入力する第2の立ち上がりディレイ回路からなることを特徴とする。従って、低周波動作時には、メモリブロックでの消費電流が全体の消費電流に占める割合が大きいことと、CPUがメモリにアクセスし始めてからデータを取り入れるまでの期間のうち、メモリの読み出し期間の比率が低いことから、メモリブロックでの消費電流の低減効果が非常に大きくなるので、動作速度に応じて、的確に消費電流、延いては消費電力の低減を図ることができる。
【0022】
【発明の実施の形態】
本発明の実施の形態を図面を参照して説明する。本実施の形態ではメモリを内蔵する集積回路装置の一例としてメモリを内蔵したマイクロコントローラについて説明する。図1に本発明の第1の実施の形態に係るマイクロコントローラの構成を示す。同図においてマイクロコントローラはデータ処理、制御、判断などを行うCPU10と、CPU10に供給される命令や、データを保持しているメモリ20と、メモリ20より出力されたデータを保持するためのスタティック回路で構成されたレジスタ30とを有している。CPU10のアドレス出力端子An1はメモリ20のアドレス入力端子An2とアドレスバス70により接続され、メモリ20のデータ出力端子Dm2はレジスタ30のデータ入力端子Dm3にデータバス80により接続されている。更にレジスタ30のデータ出力端子QmはCPU10のデータ入力端子Dm1にデータバス90により接続されている。
【0023】
またメモリコントローラはメモリアクセス時にメモリ20に対して出力されるチップイネーブル信号及びレジスタ30に対して出力される書き込み信号の出力を有効とする時間を設定する有効時間設定回路40を有している。
【0024】
有効時間設定回路40は、メモリアクセス時にCPU10の端子MAより出力されるメモリアクセス信号をクロックとするDタイプフリップフロップ42と、Dタイプフリップフロップ42のQ出力を入力信号とする立ち上がりディレイ回路44と、Dタイプフリップフロップ42のQ’出力(Q出力と相補的な信号レベルを有する)を入力信号とする立ち上がりディレイ回路46と、立ち上がりディレイ回路44、46の論理和をとるORゲート47と、ORゲート47の出力信号とスタンバイモード時にCPU10のスタンバイ信号出力端子STBより出力されるスタンバイ信号との論理和をとりチップイネーブル信号を出力するNORゲート48とを有している。
【0025】
Dタイプフリップフロップ42のQ’端子はデータ入力端子Dに接続されており、NORゲート48の出力端はメモリ20のチップイネーブル端子CE及びレジスタ30の端子WRに接続されている。
【0026】
有効時間設定回路40は、CPU10から出力されるメモリアクセス信号とスタンバイ信号を取り込み、これらの2つの信号に基づいてメモリ20を活性化状態または非活性化状態にする制御と、メモリ20より出力されるデータを一時的にレジスタ30に保持させるための信号である、チップイネーブル信号(レジスタ30の書き込み信号でもある。)を出力する。有効時間設定回路40は本発明の第1の制御手段を構成している。
【0027】
図2に立ち上がりディレイ回路44の具体的構成の一例を示す。同図に示すように立ち上がりディレイ回路44は、複数のインバータINV1〜INVn(但し、nは正の整数)が縦続接続されてなり、入力信号IN1を所定時間Tnだけ遅延させるインバータディレイ回路50と、入力信号IN1とインバータディレイ回路50の出力信号IN2との論理積をとるANDゲート52とから構成されている。尚、立ち上がりディレイ回路46の構成も同様である。
【0028】
上記構成において入力信号IN1は、ANDゲート52の一方の入力端及びインバータディレイ回路50の入力端に入力される。インバータディレイ回路50に入力された入力信号IN1は複数段のINV1〜INVnを通過することにより一定時間Tnだけ遅延してインバータディレイ回路50の出力端より出力信号IN2として出力される。このインバータディレイ回路50の出力信号IN2がANDゲート52の他方の入力端に入力され、入力信号IN1との論理積がとられる。
【0029】
図3に立ち上がりディレイ回路44の動作状態を示す。ANDゲート52の一方の入力信号である入力信号IN1が時刻t1で立ち上がっても、ANDゲート52の他方の入力信号がインバータディレイ回路50の出力信号IN2であるので、出力信号IN2はインバータディレイ回路50による遅延時間Tnだけ遅れて時刻t2で立ち上がり、その結果、ANDゲート52の出力信号OUTも立ち上がりが遅れる。
【0030】
一方、入力信号IN1が時刻t2で立ち下がる場合には、当然のことながらANDゲート52の一方の入力端に入力される入力信号IN1がすぐに立ち上がるため、ANDゲート52の出力信号OUTも時刻t2ですぐに立ち下がる。
【0031】
このように立ち上がりディレイ回路は入力信号が立ち上がる時のみ出力信号にディレイがかかり、入力信号の立ち下がり時には出力信号にディレイがかからないように機能する回路である。
【0032】
次に図1に示したマイクロコントローラの動作を図4のタイミングチャートを参照して説明する。CPU10はメモリ20に格納されているデータにアクセスするためにメモリ20へアドレスデータAを出力する。更にCPU10はメモリアクセス信号12を時刻t10でハイレベル状態とし有効時間設定回路40のDタイプフリップフロップ42のクロック端子CKに出力にする。このメモリアクセス信号は、メモリ20へのアクセス要求時にハイレベルになり、メモリ20よりデータをCPU10内に取り込むときにローレベルになる、CPU10内部で生成される信号である。
【0033】
メモリアクセス信号がハイレベルになることで、Dタイプフリップフロップ42はクロックの立ち上がりのタイミングにおけるD入力がそのままQ出力として現れ、Q’出力にはQ出力の反転信号が出力されるため、時刻t10でDタイプフリップフロップ42のQ、Q’出力は反転する。Dタイプフリップフロップ42のQ、Q’出力は、それぞれ立ち上がりディレイ回路44、46に入力される。ここで立ち上がりディレイ回路46の出力は、入力信号であるDタイプフリップフロップ42のQ’出力が時刻t10で立ち下がるために、このタイミングですぐにローレベルになるが、もう一方の立ち上がりディレイ回路44の出力は、入力信号であるDタイプフリップフロップ42のQ出力が時刻t10で立ち上がるために時刻t10ですぐにはハイレベルにはならず、設定された一定時間(遅延時間)Tnだけローレベルのままとなる。このため、NORゲート48の出力信号であるチップイネーブル信号は、ディレイがかかっている間はハイレベル(有効)となり、メモリ20は活性化状態となり、CPU10より出力されたアドレスデータAにより特定されたアドレスに格納されているデータAをレジスタ30に出力する。また、この時レジスタ30に書き込み信号(WR)も出力されるためメモリ20より出力されたデータAがレジスタ30に保持される。
【0034】
この後、立ち上がりディレイ回路44の出力は一定時間後の時刻t11でハイレベルとなるため、NORゲート48の出力信号であるチップイネーブル信号は、ローレベル(無効)となり、メモリ20を非活性化状態にする。その後、CPU10はレジスタ30に保持されているデータAをメモリアクセス信号の立ち下がりのタイミングで取り込み処理を行う。
【0035】
以降同様に、データA,データBを読み出すためにCPU10からメモリ20へアクセスを行うときも、立ち上がりディレイ回路44、46の出力が反転するだけで同様の動作を行い、メモリ20からデータを読み出すのに最低限、必要な時間だけメモリ2を活性化させ、それ以外の時間は非活性化させるようにする。
【0036】
なお、立ち上がりディレイ回路44、46の遅延時間Tnは、メモリ20のチップイネーブル制御でのアクセスタイム(データ出力確定時間)より長い時間になるように設定する。
【0037】
また、マイクロコントローラがスタンバイモードに入ったときは、CPU10のスタンバイ信号出力端子STBよりスタンバイ信号(ハイレベル状態)が出力され、常にチップイネーブル信号はローレベル(無効)となり、メモリ20は非活性化状態となる。
【0038】
以上のように、本発明の第1の実施の形態に係るマイクロコントローラによれば、データを読み出すときだけメモリを活性化しておき、それ以外のときは非活性化状態にすることができるため、従来のメモリと機能は変わらずに、消費電流を数mAオーダーで低減することができる。
【0039】
特に、低周波動作時には、メモリブロックでの消費電流が全体の消費電流に占める割合が大きいことと、CPUがメモリにアクセスし始めてからデータを取り入れるまでの期間のうち、メモリの読み出し期間の比率が低いことから、メモリブロックでの消費電流の低減効果が非常に大きくなる。したがって動作速度に応じて、的確に消費電流、延いては消費電力の低減を図ることができる。
【0040】
次に本発明の第2の実施の形態に係るマイクロコントローラの構成を図5に示す。本実施の形態に係るマイクロコントローラは、第1の実施の形態に係るマイクロコントローラにおけるチップイネーブル信号を使用してメモリ20を活性化状態または非活性化状態にする制御機能を任意に有効または無効にする機能を付加したものであり、CPU10内部でソフトウェアにより設定されるチップイネーブル制御有効フラグ(以下、CE制御有効フラグと記す。)に基づいて上記制御機能を有効または無効にするように構成したものである。
【0041】
図1に示した第1の実施の形態に係るマイクロコントローラと同一の要素には同一の符号を付し、重複する説明は省略する。図5において、有効時間設定回路50は、図1に示した有効時間設定回路40に、CPU10の端子STBから出力されるスタンバイ信号とCE制御有効フラグとの論理和をとるNORゲート52と、NORゲート48とNORゲート52との論理和をとるORゲート54とが付加して構成されている。
【0042】
第1の実施の形態に係るマイクロコントローラではチップイネーブル信号を使用して、メモリ20を活性化状態及び非活性化状態にする制御を行い、メモリブロックでの消費電流を低減させた。しかし、一般的にチップイネーブル制御によるメモリのアクセスタイムは、図6に示すようにアドレス制御によるアクセスタイムに比べ多く時間がかかる。このため、チップイネーブル制御を行っている場合には、チップイネーブル制御によるアクセスタイムの制約を受け、メモリ自体の能力における最高速での動作ができなくなる。そこで、第2の実施の形態では、マイクロコントローラ10の内部で設定されるCE制御有効フラグにより図1における有効時間設定回路40により行われるチップイネーブル信号を使用してメモリ20を活性化状態及び非活性化状態にする制御機能を任意に有効または無効にするようにしている。このCE制御有効フラグはCPU10内のフラグレジスタに割り当てられたビットに1または0を立てることにより設定される。マイクロコントローラ10の内部で設定されるCE制御有効フラグは本発明の第2の制御手段を構成している。
【0043】
上記構成において、図7に示すようにマイクロコントローラを高速動作させたい場合には、CE制御有効フラグをリセットする。この結果NORゲート52の出力はスタンバイモード時以外では常にハイレベルになるため、ORゲート54の出力であるチップイネーブル信号は常に有効な状態となり、それ故、メモリ20は常に活性化状態となり、高速動作を実現できる(ステップ100、104)。
【0044】
一方、マイクロコントローラをチップイネーブル制御によるアクセスタイムより遅い周波数で動作させる場合は、CE制御有効フラグをセットする。この結果、NORゲート52の出力はローレベルとなり、第1の実施の形態にCPU10よりメモリ20にアクセスが有った場合にデータの読出時のみにメモリ20が活性化状態にされ、消費電流の低減が図れる。
【0045】
以上のように、本発明の第2の実施の形態に係るマイクロコントローラによれば、チップイネーブル信号をソフトウェアで制御し、メモリを常に活性化状態にすることもできるようにしたので、メモリをアドレスアクセス時間ベースで使用でき、CPUの処理速度の高速化にも対応できる。したがって、低速動作時はメモリを間欠動作させることで消費電流を削減し、高速動作時はメモリのチップイネーブル制御によるアクセス時間で制限を受けることなく、アドレスアクセス時間でデータの読み出しを行うことができる。
【0046】
次に本発明の第3の実施の形態に係るマイクロコントローラの構成を図8に示す。本実施の形態に係るマイクロコントローラは基本的構成は同じであるが、本実施の形態ではCE制御有効フラグの設定を外部より入力される操作信号210に基づいて行うようにしている。すなわち、操作信号210に基づいて動作し、CE制御有効フラグをセットまたはリセット0するCE制御有効フラグセット/リセット回路60を設け、CE制御有効フラグセット/リセット回路60の出力をNORゲート52の一方の入力端に入力することによりCE制御有効フラグの設定を行うように構成したものである。CE制御有効フラグセット/リセット回路60は本発明の第2の制御手段を構成している。
【0047】
上記構成において外部より入力される操作信号210に基づいてCE制御有効フラグセット/リセット回路60よりCE制御有効フラグのセット状態を示すセット信号、またはCE制御有効フラグのリセット状態を示すリセット信号がNORゲート52の一方の入力端に出力される。リセット信号がNORゲート52の一方の入力端に入力されると、ORゲート54より出力されるチップイネーブル信号は常に有効な状態となり、それ故、メモリ20は常に活性化状態となり、高速動作を実現できる。
【0048】
またセット信号がNORゲート52の一方の入力端に入力されると、第1の実施の形態にCPU10よりメモリ20にアクセスが有った場合にデータの読出時のみにメモリ20が活性化状態にされ、消費電流の低減が図れる。
【0049】
以上に説明したように本発明の第3の実施の形態に係るマイクロコントローラによれば、第2の実施の形態の効果に加えて、メモリを活性化状態及び非活性化状態にする制御機能を有効にするか、または無効にするかを外部より操作できるように構成したので、低速動作時にはマイクロコントローラの動作開始直後より消費電力の低減が図れる、という効果が得られる。
【0050】
尚、上記各実施の形態では、有効時間設定回路の構成要素として立ち上がりディレイ回路を用いたが、図2におけるANDゲートをORゲートにすれば立ち下がりディレイ回路が実現でき、この立ち下がりディレイ回路を用いても、同様の機能を有する有効時間設定回路を構成することができる。
【0051】
また、各実施の形態では有効時間設定回路を立ち上がりディレイ回路2個とフリップフロップ回路とORゲート、NORゲートを用いて構成しているが、立ち上がり(立ち下がり)ディレイ回路を用いれば、ANDゲート、ORゲート、NORゲート、フリップフロップ、ラッチ回路等により有効時間設定回路を構成することができる。
【0052】
また立ち上がり(立ち下がり)ディレイ回路は、AND(OR)ゲートとインバータの多段接続により構成できることは既述した通りであるが、これに限らず、抵抗、コンデンサ、バッファなどを組み合わした遅延回路を用いても実現できる。
【0053】
また、本発明の各実施の形態ではメモリを内蔵する集積回路装置の一例としてマイクロコントローラのメモリアクセスについて説明したが、これに限定されるものではなく、他の機能にメモリを内蔵したLSIにおいても、同様の効果が得られることは勿論である。
【0054】
【発明の効果】
以上に説明したように 請求項1、2に記載の集積回路装置によれば、データを読み出す際にメモリを活性化状態にし、該メモリよりデータが出力された時点で非活性化状態にするようにしたので、消費電流、延いては消費電力の低減が図れる。特に低周波動作時にはメモリにおける消費電流が集積回路装置全体の消費電流に占める割合が大きいことと、アクセスタイムのうちメモリの読出期間の比率が低いことから、メモリにおける消費電流の低減効果が非常に大きくなる。したがって、動作速度に応じて的確に消費電流、延いては消費電力の低減が図れる。
【0055】
また請求項3、4に記載の集積回路装置によれば、メモリを活性化状態及び非活性化状態にする制御機能を有効または無効にすることができるようにしたので、例えば、低速動作時にはデータ読出時にのみメモリを活性化状態にすることにより消費電力の低減を図ることができ、また高速動作時には常にメモリを活性化状態にすることによりアドレスアクセス時間ベースで使用でき、処理速度の高速化に対応できる。
【0056】
請求項5に記載の集積回路装置によれば、請求項3、4の効果に加えて、メモリを活性化状態及び非活性化状態にする制御機能を有効にするか、または無効にするかを外部より操作できるように構成したので、低速動作時には集積回路装置の動作開始直後より消費電力の低減が図れる、という効果が得られる。
請求項6に記載の集積回路装置によれば、前記CPUは、随時動作する(ウエイトしない)ので、CPUの処理速度を低下させずに動作することができる。
請求項7に記載の集積回路装置によれば、データを読み出すときだけメモリを活性化しておき、それ以外のときは非活性化状態にすることができるため、従来のメモリと機能は変わらずに、消費電流を数mAオーダーで低減することができる。
請求項8に記載の集積回路装置によれば、低周波動作時には、メモリブロックでの消費電流が全体の消費電流に占める割合が大きいことと、CPUがメモリにアクセスし始めてからデータを取り入れるまでの期間のうち、メモリの読み出し期間の比率が低いことから、メモリブロックでの消費電流の低減効果が非常に大きくなるので、動作速度に応じて、的確に消費電流、延いては消費電力の低減を図ることができる。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態に係るマイクロコントローラの構成を示すブロック図。
【図2】図1における立ち上がりディレイ回路の具体的構成の一例を示す回路図。
【図3】図2に示す立ち上がりディレイ回路の動作状態を示すタイミングチャート。
【図4】図1に示すマイクロコントローラの各部の動作状態を示すタイミングチャート。
【図5】本発明の第2の実施の形態に係るマイクロコントローラの構成を示すブロック図。
【図6】チップイネーブル制御によるメモリアクセスとアドレスアクセスによるメモリアクセスとでアクセスタイムが異なることを示すタイミングチャート。
【図7】ソフトウェアによりチップイネーブル制御有効フラグを設定する際の処理内容を示すフローチャート。
【図8】本発明の第3の実施の形態に係るマイクロコントローラの構成を示すブロック図。
【図9】従来のマイクロコントローラの構成を示すブロック図。
【符号の説明】
10 CPU
20 メモリ
30 レジスタ
40 有効時間設定回路
42 Dタイプフリップフロップ
44 立ち上がりディレイ回路
50 有効時間設定回路
46 立ち上がりディレイ回路
60 CEフラグセット/リセット回路
70 アドレスバス
80 データバス
90 データバス
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an integrated circuit device such as a microcontroller LSI having a built-in memory, and more particularly to reducing power consumption of an integrated circuit device having a built-in memory.
[0002]
[Prior art]
FIG. 9 shows the configuration of a memory built-in type microcontroller as an example of a conventional integrated circuit device incorporating a memory. In the figure, the microcontroller has a CPU 100 and a memory 110. An address output terminal An1 of the CPU 100 is connected to an address input terminal An2 of the memory 110 by an address bus 130, and a data output terminal Dm2 of the memory 110 is The data bus 140 is connected to the data input terminal Dm 1 of the CPU 100.
[0003]
The standby signal output terminal STB of the CPU 100 from which a standby signal for setting the standby mode is output is connected to the chip enable terminal CE of the memory 110 via the inverter 120.
[0004]
In the above configuration, in the standby mode in which a standby signal (high level) is output from the terminal STB of the CPU 100, a low level signal is input to the chip enable terminal CE of the memory 110, and the memory 110 is inactivated. .
[0005]
In addition, since a low level signal is input to the inverter 120 from the terminal STB of the CPU 100 except during the standby mode, a high level signal is input to the chip enable terminal CE of the memory 110 and the memory 110 is activated.
[0006]
As described above, switching between activation and deactivation of the memory is controlled using the chip enable signal.
[0007]
Conventional microcontrollers with built-in memory that guarantee high-speed operation (operating frequency of 10 MHz or more) often have a memory read circuit using a current sense amplifier so as to be compatible with high-speed operation of the CPU. When this type of memory is activated, a current of several mA flows constantly regardless of the frequency.
[0008]
In a conventional microcontroller with a built-in memory, if the microcontroller is operated at high speed, the current consumption of the entire microcontroller becomes several tens of mA, so the current consumption of several mA in the memory block is not a problem. As described above, the memory is always in an activated state except in the standby mode, and is deactivated only in the standby mode to reduce the current consumption and thus the power consumption.
[0009]
Japanese Patent Application Laid-Open No. 7-93280 discloses that when an instruction supplied to a processor is detected and the instruction is a memory access instruction, the memory is activated, and when the instruction is an instruction other than the memory access instruction, A processor LSI with a built-in memory has been proposed in which power consumption is reduced by deactivating the memory.
[0010]
[Problems to be solved by the invention]
However, in the method of enabling the chip enable signal that always activates the memory except during the standby mode, since a constant current flows in the memory block during normal operation, the memory block is not used except during memory access (the memory is not used). Even in the period of (hour), although it is several mA, there is a problem that current consumption is wasted.
[0011]
In addition, although it does not become a problem during high-speed operation, the current consumption of the entire microcontroller is on the order of several mA during low-speed operation (operation frequency of 10 MHz or less), and the power consumption in the memory block is a big problem. In particular, some dual clock products (having a 32.768 kHz oscillator which is a count clock such as a clock timer as a sub clock separately from the main oscillator) can use the sub clock as an internal basic clock. In this case, since the operating frequency is lower than that at the time of the low speed operation, the current consumption becomes larger, and the reduction of the current consumption in the memory block during the normal operation has been a big problem.
[0012]
Furthermore, in the processor LSI with a built-in memory described in Japanese Patent Application Laid-Open No. 7-93280, the memory is deactivated except during memory access, but the memory is in an activated state while a memory access instruction is being output, thereby reducing power consumption. There is a problem that the effect is small.
[0013]
The present invention has been made in view of such circumstances, and an object thereof is to provide an integrated circuit device having a built-in memory capable of accurately reducing power consumption in accordance with the operation speed.
[0014]
[Means for Solving the Problems]
  In order to achieve the above object, an invention according to claim 1 is an integrated circuit device incorporating a memory.By setting the chip enable signal for a predetermined time from the transition of the memory access signal output from the CPU to a level at which the memory is activated,When reading data from the memory, activate the memory,By making the chip enable signal inactive after a predetermined time has elapsed from the activated state of the memory,It has a first control means for inactivating the memory when data is output from the memory.
[0015]
According to a second aspect of the present invention, in the integrated circuit device incorporating the memory according to the first aspect, the first control means performs chip enable control of the memory when the memory is activated. The memory activation time is a time longer than the data output confirmation time.
[0016]
  In the integrated circuit device according to claim 1,By setting the chip enable signal for a predetermined time from the transition of the memory access signal output from the CPU to a level at which the memory is activated,Activate memory when reading data,By making the chip enable signal inactive after a predetermined time has elapsed from the activated state of the memory,Since the inactive state is set when data is output from the memory, it is possible to reduce the current consumption and thus the power consumption. In particular, during low-frequency operation, the current consumption in the memory accounts for a large proportion of the current consumption in the entire integrated circuit device, and the ratio of the memory read period in the access time is low. growing. Therefore, the current consumption and the power consumption can be accurately reduced according to the operation speed.
[0017]
According to a third aspect of the present invention, in the integrated circuit device incorporating the memory according to the first or second aspect, the control of the first control means for bringing the memory into an activated state and an inactivated state. A second control unit that enables or disables the function, and the second control unit disables the control function for activating and deactivating the memory of the first control unit; In addition, during the period when the control function is disabled, the memory is always activated.
[0018]
According to a fourth aspect of the present invention, in the integrated circuit device including the memory according to the third aspect, the second control unit activates and deactivates the memory of the first control unit. The control function is enabled or disabled based on a flag set in the integrated circuit device.
[0019]
In the integrated circuit device according to claims 3 and 4, since the control function for activating and deactivating the memory can be enabled or disabled, for example, at the time of low-speed operation, only at the time of data reading Power consumption can be reduced by activating the memory, and by always activating the memory during high-speed operation, the memory can be used on an address access time basis, and the processing speed can be increased.
[0020]
According to a fifth aspect of the present invention, in the integrated circuit device incorporating the memory according to the third aspect, the second control unit activates and deactivates the memory of the first control unit. The control function is enabled or disabled based on an operation signal input from the outside.
[0021]
  In the integrated circuit device according to the fifth aspect, in addition to the effects of the third and fourth aspects, whether to enable or disable the control function for activating and deactivating the memory from the outside Since it is configured so that it can be operated, the power consumption can be reduced immediately after the operation of the integrated circuit device is started during low-speed operation.
  According to a sixth aspect of the present invention, in the integrated circuit device including the memory according to any one of the first to fifth aspects, the CPU operates at any time. Therefore, the CPU operates at any time (does not wait), and can operate without reducing the processing speed of the CPU.
  According to a seventh aspect of the present invention, in the integrated circuit device including the memory according to any one of the first to sixth aspects, the first control means includes a signal delay circuit. It is characterized by being. Therefore, the memory can be activated only when data is read and can be deactivated at other times, so that the current consumption can be reduced to the order of several mA without changing the function of the conventional memory. Can do.
  According to an eighth aspect of the present invention, in the integrated circuit device incorporating the memory according to the seventh aspect, the signal delay circuit is one of complementary signals whose signal level transitions in response to transition of the memory access signal. And a second rising delay circuit for inputting the other. Therefore, at the time of low frequency operation, the ratio of the current consumption in the memory block to the total current consumption is large, and the ratio of the memory read period in the period from when the CPU starts to access the memory until the data is taken in is Since it is low, the effect of reducing the current consumption in the memory block becomes very large, so that it is possible to accurately reduce the current consumption and consequently the power consumption according to the operation speed.
[0022]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described with reference to the drawings. In this embodiment, a microcontroller with a built-in memory will be described as an example of an integrated circuit device with a built-in memory. FIG. 1 shows a configuration of a microcontroller according to the first embodiment of the present invention. In the figure, the microcontroller is a CPU 10 that performs data processing, control, determination, etc., a command 20 that is supplied to the CPU 10, a memory 20 that holds data, and a static circuit that holds data output from the memory 20. And a register 30 composed of The address output terminal An1 of the CPU 10 is connected to the address input terminal An2 of the memory 20 via the address bus 70, and the data output terminal Dm2 of the memory 20 is connected to the data input terminal Dm3 of the register 30 via the data bus 80. Further, the data output terminal Qm of the register 30 is connected to the data input terminal Dm1 of the CPU 10 by a data bus 90.
[0023]
The memory controller also has an effective time setting circuit 40 for setting a time for enabling the output of the chip enable signal output to the memory 20 and the write signal output to the register 30 when the memory is accessed.
[0024]
The valid time setting circuit 40 includes a D-type flip-flop 42 that uses a memory access signal output from the terminal MA of the CPU 10 during memory access as a clock, and a rising delay circuit 44 that uses the Q output of the D-type flip-flop 42 as an input signal. , A rising delay circuit 46 having the Q ′ output (having a signal level complementary to the Q output) of the D-type flip-flop 42 as an input signal, an OR gate 47 for taking the logical sum of the rising delay circuits 44, 46, and OR It has a NOR gate 48 that outputs a chip enable signal by taking the logical sum of the output signal of the gate 47 and the standby signal output from the standby signal output terminal STB of the CPU 10 in the standby mode.
[0025]
The Q ′ terminal of the D type flip-flop 42 is connected to the data input terminal D, and the output terminal of the NOR gate 48 is connected to the chip enable terminal CE of the memory 20 and the terminal WR of the register 30.
[0026]
The valid time setting circuit 40 takes in a memory access signal and a standby signal output from the CPU 10 and controls the memory 20 to be activated or deactivated based on these two signals and is output from the memory 20. A chip enable signal (which is also a write signal for the register 30), which is a signal for temporarily holding data to be stored in the register 30, is output. The valid time setting circuit 40 constitutes a first control means of the present invention.
[0027]
FIG. 2 shows an example of a specific configuration of the rising delay circuit 44. As shown in the figure, the rising delay circuit 44 is formed by cascading a plurality of inverters INV1 to INVn (where n is a positive integer), and delays the input signal IN1 by a predetermined time Tn; It is composed of an AND gate 52 which takes the logical product of the input signal IN1 and the output signal IN2 of the inverter delay circuit 50. The rise delay circuit 46 has the same configuration.
[0028]
In the above configuration, the input signal IN1 is input to one input terminal of the AND gate 52 and the input terminal of the inverter delay circuit 50. The input signal IN1 input to the inverter delay circuit 50 is output as an output signal IN2 from the output terminal of the inverter delay circuit 50 after being delayed by a predetermined time Tn by passing through a plurality of stages INV1 to INVn. The output signal IN2 of the inverter delay circuit 50 is input to the other input terminal of the AND gate 52, and the logical product with the input signal IN1 is obtained.
[0029]
FIG. 3 shows the operating state of the rise delay circuit 44. Even if the input signal IN1 which is one input signal of the AND gate 52 rises at the time t1, the other input signal of the AND gate 52 is the output signal IN2 of the inverter delay circuit 50, and therefore the output signal IN2 is the inverter delay circuit 50. As a result, the output signal OUT of the AND gate 52 is delayed in rising.
[0030]
On the other hand, when the input signal IN1 falls at time t2, the input signal IN1 input to one input terminal of the AND gate 52 rises immediately, so that the output signal OUT of the AND gate 52 also rises at time t2. And immediately fall down.
[0031]
Thus, the rise delay circuit is a circuit that functions so that the output signal is delayed only when the input signal rises and the output signal is not delayed when the input signal falls.
[0032]
Next, the operation of the microcontroller shown in FIG. 1 will be described with reference to the timing chart of FIG. The CPU 10 outputs the address data A to the memory 20 in order to access the data stored in the memory 20. Further, the CPU 10 sets the memory access signal 12 to the high level state at time t10 and outputs it to the clock terminal CK of the D-type flip-flop 42 of the valid time setting circuit 40. This memory access signal is a signal generated inside the CPU 10 that goes high when an access request to the memory 20 is requested and goes low when data is fetched from the memory 20 into the CPU 10.
[0033]
When the memory access signal becomes high level, the D type flip-flop 42 has the D input as the Q output as it is at the rising edge of the clock, and the inverted signal of the Q output is output to the Q ′ output. Thus, the Q and Q ′ outputs of the D-type flip-flop 42 are inverted. The Q and Q ′ outputs of the D-type flip-flop 42 are input to rising delay circuits 44 and 46, respectively. Here, the output of the rising delay circuit 46 immediately becomes low level at this timing because the Q ′ output of the D-type flip-flop 42 which is the input signal falls at time t10, but the other rising delay circuit 44 Since the Q output of the D-type flip-flop 42, which is the input signal, rises at time t10, it does not immediately go high at time t10, but remains low for a set time (delay time) Tn. Become. For this reason, the chip enable signal that is the output signal of the NOR gate 48 is at a high level (valid) while the delay is applied, the memory 20 is activated, and is specified by the address data A output from the CPU 10. Data A stored in the address is output to the register 30. At this time, since a write signal (WR) is also output to the register 30, the data A output from the memory 20 is held in the register 30.
[0034]
Thereafter, since the output of the rise delay circuit 44 becomes high level at a time t11 after a predetermined time, the chip enable signal which is the output signal of the NOR gate 48 becomes low level (invalid), and the memory 20 is in an inactivated state. To. Thereafter, the CPU 10 takes in the data A held in the register 30 at the falling edge of the memory access signal.
[0035]
Similarly, when the CPU 10 accesses the memory 20 in order to read data A and data B, the same operation is performed only by inverting the outputs of the rising delay circuits 44 and 46, and the data is read from the memory 20. At a minimum, the memory 2 is activated for a necessary time and deactivated for other times.
[0036]
The delay time Tn of the rising delay circuits 44 and 46 is set to be longer than the access time (data output confirmation time) in the chip enable control of the memory 20.
[0037]
When the microcontroller enters the standby mode, a standby signal (high level state) is output from the standby signal output terminal STB of the CPU 10, the chip enable signal is always low level (invalid), and the memory 20 is inactivated. It becomes a state.
[0038]
As described above, according to the microcontroller according to the first embodiment of the present invention, the memory can be activated only when data is read, and can be deactivated at other times. The current consumption can be reduced on the order of several mA without changing the function of the conventional memory.
[0039]
In particular, during low-frequency operation, the ratio of the current consumption in the memory block to the total current consumption is large, and the ratio of the memory read period in the period from when the CPU starts to access the memory until the data is taken in is high. Since it is low, the effect of reducing current consumption in the memory block becomes very large. Therefore, it is possible to accurately reduce the current consumption and, consequently, the power consumption according to the operation speed.
[0040]
Next, FIG. 5 shows a configuration of a microcontroller according to the second embodiment of the present invention. The microcontroller according to the present embodiment arbitrarily enables or disables the control function that activates or deactivates the memory 20 using the chip enable signal in the microcontroller according to the first embodiment. And is configured to enable or disable the control function based on a chip enable control enable flag (hereinafter referred to as a CE control enable flag) set by software in the CPU 10. It is.
[0041]
The same elements as those of the microcontroller according to the first embodiment shown in FIG. 1 are denoted by the same reference numerals, and redundant description is omitted. 5, the valid time setting circuit 50 includes, in addition to the valid time setting circuit 40 shown in FIG. 1, a NOR gate 52 that takes the logical sum of the standby signal output from the terminal STB of the CPU 10 and the CE control valid flag, and NOR. An OR gate 54 for taking the logical sum of the gate 48 and the NOR gate 52 is added.
[0042]
In the microcontroller according to the first embodiment, the chip enable signal is used to control the memory 20 to be in an activated state and an inactivated state, thereby reducing current consumption in the memory block. However, generally, the memory access time by the chip enable control takes more time than the access time by the address control as shown in FIG. For this reason, when chip enable control is performed, the operation at the highest speed in the capacity of the memory itself cannot be performed due to the restriction of the access time by the chip enable control. Therefore, in the second embodiment, the memory 20 is activated and not activated by using the chip enable signal performed by the valid time setting circuit 40 in FIG. 1 by the CE control valid flag set inside the microcontroller 10. The control function to be activated is arbitrarily enabled or disabled. This CE control valid flag is set by setting 1 or 0 to the bit assigned to the flag register in the CPU 10. The CE control valid flag set inside the microcontroller 10 constitutes the second control means of the present invention.
[0043]
In the above configuration, when it is desired to operate the microcontroller at a high speed as shown in FIG. 7, the CE control valid flag is reset. As a result, since the output of the NOR gate 52 is always at a high level except in the standby mode, the chip enable signal which is the output of the OR gate 54 is always in an effective state, and therefore the memory 20 is always in an activated state, and the high speed. The operation can be realized (steps 100 and 104).
[0044]
On the other hand, when the microcontroller is operated at a frequency slower than the access time by the chip enable control, the CE control valid flag is set. As a result, the output of the NOR gate 52 becomes a low level, and when the memory 10 is accessed from the CPU 10 in the first embodiment, the memory 20 is activated only at the time of reading data, and the current consumption is reduced. Reduction can be achieved.
[0045]
As described above, according to the microcontroller according to the second embodiment of the present invention, the chip enable signal is controlled by software so that the memory can be always activated. It can be used on an access time basis and can cope with an increase in CPU processing speed. Therefore, current consumption can be reduced by operating the memory intermittently during low-speed operation, and data can be read during the address access time without being restricted by the access time by the memory chip enable control during high-speed operation. .
[0046]
Next, FIG. 8 shows a configuration of a microcontroller according to the third embodiment of the present invention. The microcontroller according to the present embodiment has the same basic configuration, but in this embodiment, the CE control valid flag is set based on an operation signal 210 input from the outside. That is, a CE control valid flag set / reset circuit 60 that operates based on the operation signal 210 and sets or resets the CE control valid flag is provided, and the output of the CE control valid flag set / reset circuit 60 is sent to one of the NOR gates 52. The CE control valid flag is set by inputting to the input terminal. The CE control valid flag set / reset circuit 60 constitutes the second control means of the present invention.
[0047]
In the above configuration, the set signal indicating the set state of the CE control effective flag from the CE control effective flag set / reset circuit 60 based on the operation signal 210 input from the outside or the reset signal indicating the reset state of the CE control effective flag is NOR. The signal is output to one input terminal of the gate 52. When a reset signal is input to one input terminal of the NOR gate 52, the chip enable signal output from the OR gate 54 is always in a valid state, and therefore the memory 20 is always in an activated state, realizing high-speed operation. it can.
[0048]
When the set signal is input to one input terminal of the NOR gate 52, when the memory 20 is accessed from the CPU 10 in the first embodiment, the memory 20 is activated only when data is read. As a result, current consumption can be reduced.
[0049]
As described above, according to the microcontroller according to the third embodiment of the present invention, in addition to the effects of the second embodiment, a control function for bringing the memory into an activated state and an inactivated state is provided. Since it is configured so that it can be activated or deactivated from the outside, it is possible to reduce power consumption immediately after the start of the operation of the microcontroller during low-speed operation.
[0050]
In each of the above embodiments, the rising delay circuit is used as a component of the effective time setting circuit. However, if the AND gate in FIG. 2 is an OR gate, a falling delay circuit can be realized. Even if it is used, an effective time setting circuit having a similar function can be configured.
[0051]
In each embodiment, the valid time setting circuit is configured by using two rising delay circuits, a flip-flop circuit, an OR gate, and a NOR gate. However, if a rising (falling) delay circuit is used, an AND gate, An effective time setting circuit can be configured by an OR gate, a NOR gate, a flip-flop, a latch circuit, and the like.
[0052]
As described above, the rising (falling) delay circuit can be configured by multi-stage connection of an AND (OR) gate and an inverter. However, the present invention is not limited to this, and a delay circuit combining resistors, capacitors, buffers, etc. is used. Can be realized.
[0053]
In each of the embodiments of the present invention, the memory access of the microcontroller has been described as an example of the integrated circuit device having a built-in memory. However, the present invention is not limited to this, and an LSI having a built-in memory for other functions is also described. Of course, the same effect can be obtained.
[0054]
【The invention's effect】
As described above, according to the integrated circuit device of the first and second aspects, the memory is activated when reading data, and is deactivated when data is output from the memory. As a result, the current consumption and thus the power consumption can be reduced. In particular, during low-frequency operation, the current consumption in the memory accounts for a large proportion of the current consumption in the entire integrated circuit device, and the ratio of the memory read period in the access time is low. growing. Therefore, the current consumption and the power consumption can be accurately reduced according to the operation speed.
[0055]
According to the integrated circuit device of the third and fourth aspects, the control function for activating and deactivating the memory can be enabled or disabled. Power consumption can be reduced by activating the memory only during reading, and it can be used on an address access time basis by always activating the memory during high-speed operation, thereby increasing the processing speed. Yes.
[0056]
  According to the integrated circuit device of the fifth aspect, in addition to the effects of the third and fourth aspects, whether to enable or disable the control function that activates and deactivates the memory. Since it is configured to be operated from the outside, the power consumption can be reduced immediately after the operation of the integrated circuit device is started at a low speed operation.
  According to the integrated circuit device of the sixth aspect, since the CPU operates at any time (does not wait), it can operate without decreasing the processing speed of the CPU.
  According to the integrated circuit device of the seventh aspect, since the memory can be activated only when data is read out and can be deactivated at other times, the function is the same as that of the conventional memory. The current consumption can be reduced on the order of several mA.
  According to the integrated circuit device of the eighth aspect, during the low frequency operation, the ratio of the consumption current in the memory block to the entire consumption current is large, and the time from when the CPU starts accessing the memory until the data is taken in. Since the ratio of the memory read-out period is low in the period, the effect of reducing the current consumption in the memory block becomes very large, so the current consumption and thus the power consumption can be reduced accurately according to the operation speed. Can be planned.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a microcontroller according to a first embodiment of the present invention.
2 is a circuit diagram showing an example of a specific configuration of a rising delay circuit in FIG. 1. FIG.
FIG. 3 is a timing chart showing an operating state of the rising delay circuit shown in FIG. 2;
4 is a timing chart showing the operating state of each part of the microcontroller shown in FIG. 1. FIG.
FIG. 5 is a block diagram showing a configuration of a microcontroller according to a second embodiment of the present invention.
FIG. 6 is a timing chart showing that access times are different between memory access by chip enable control and memory access by address access;
FIG. 7 is a flowchart showing processing contents when a chip enable control valid flag is set by software.
FIG. 8 is a block diagram showing a configuration of a microcontroller according to a third embodiment of the present invention.
FIG. 9 is a block diagram showing a configuration of a conventional microcontroller.
[Explanation of symbols]
10 CPU
20 memory
30 registers
40 Valid time setting circuit
42 D-type flip-flop
44 Rise delay circuit
50 Valid time setting circuit
46 Rise delay circuit
60 CE flag set / reset circuit
70 Address bus
80 data bus
90 Data bus

Claims (8)

メモリを内蔵する集積回路装置において、
CPUから出力されるメモリアクセス信号の遷移から所定時間チップイネーブル信号を、前記メモリが活性化するレベルにすることによって、前記メモリよりデータを読み出す際に該メモリを活性化状態にし、前記メモリの前記活性化状態から所定時間経過後にチップイネーブル信号を非活性化するレベルにすることによって、該メモリよりデータが出力された時点で該メモリを非活性化状態にする第1の制御手段を有することを特徴とするメモリを内蔵する集積回路装置。
In an integrated circuit device incorporating a memory,
By setting the chip enable signal for a predetermined time from the transition of the memory access signal output from the CPU to a level at which the memory is activated, the memory is activated when data is read from the memory, and the memory of the memory A first control means for deactivating the chip enable signal at a time when data is output from the memory by setting the chip enable signal to a deactivation level after a predetermined time has elapsed from the activated state ; An integrated circuit device incorporating a featured memory.
前記第1の制御手段は、前記メモリを活性化状態にする際に前記メモリのチップイネーブル制御によるデータ出力確定時間より長い時間をメモリ活性化時間としたことを特徴とする請求項1に記載のメモリを内蔵する集積回路装置。  2. The memory activation time according to claim 1, wherein when the memory is activated, the first control means sets a time longer than a data output determination time by chip enable control of the memory as a memory activation time. Integrated circuit device with built-in memory. 前記第1の制御手段の前記メモリを活性化状態及び非活性化状態にする制御機能を有効または無効にする第2の制御手段を有し、
該第2の制御手段は前記第1の制御手段の前記メモリを活性化状態及び非活性化状態にする制御機能を無効にした際に該制御機能を無効にしている期間中は前記メモリを常時、活性化状態とすることを特徴とする請求項1または2のいずれかに記載のメモリを内蔵する集積回路装置。
Second control means for enabling or disabling a control function for activating and deactivating the memory of the first control means;
The second control means always keeps the memory during a period in which the control function of the first control means is disabled when the control function for activating and deactivating the memory is disabled. 3. An integrated circuit device with a built-in memory according to claim 1, wherein the integrated circuit device is in an activated state.
前記第2の制御手段は、前記第1の制御手段の前記メモリを活性化状態及び非活性化状態にする制御機能を、集積回路装置内部で設定されるフラグに基づいて有効または無効とすることを特徴とする請求項3に記載のメモリを内蔵する集積回路装置。  The second control means enables or disables a control function of the first control means for activating and deactivating the memory based on a flag set in the integrated circuit device. An integrated circuit device incorporating the memory according to claim 3. 前記第2の制御手段は、前記第1の制御手段の前記メモリを活性化状態及び非活性化状態にする制御機能を、外部より入力される操作信号に基づいて有効または無効とすることを特徴とする請求項3に記載のメモリを内蔵する集積回路装置。  The second control means enables or disables the control function of the first control means for activating and deactivating the memory based on an operation signal input from the outside. An integrated circuit device incorporating the memory according to claim 3. 前記CPUは、随時動作することを特徴とする請求項1から請求項5のいずれか1項に記載のメモリを内蔵する集積回路装置。6. The integrated circuit device with a built-in memory according to claim 1, wherein the CPU operates at any time. 前記第1の制御手段は、信号遅延回路を含んで構成されていることを特徴とする請求項1から請求項6のいずれか1項に記載のメモリを内蔵する集積回路装置。7. The integrated circuit device having a built-in memory according to claim 1, wherein the first control means includes a signal delay circuit. 前記信号遅延回路は、前記メモリアクセス信号の遷移に応じて信号レベルが遷移する相補的な信号の一方を入力する第1の立ち上がりディレイ回路と、他方を入力する第2の立ち上がりディレイ回路からなることを特徴とする請求項7に記載のメモリを内蔵する集積回路装置。The signal delay circuit includes a first rising delay circuit that inputs one of complementary signals whose signal level changes in response to the transition of the memory access signal, and a second rising delay circuit that inputs the other. An integrated circuit device incorporating the memory according to claim 7.
JP05117098A 1998-03-03 1998-03-03 Integrated circuit device with built-in memory Expired - Fee Related JP4064516B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05117098A JP4064516B2 (en) 1998-03-03 1998-03-03 Integrated circuit device with built-in memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05117098A JP4064516B2 (en) 1998-03-03 1998-03-03 Integrated circuit device with built-in memory

Publications (2)

Publication Number Publication Date
JPH11250032A JPH11250032A (en) 1999-09-17
JP4064516B2 true JP4064516B2 (en) 2008-03-19

Family

ID=12879363

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05117098A Expired - Fee Related JP4064516B2 (en) 1998-03-03 1998-03-03 Integrated circuit device with built-in memory

Country Status (1)

Country Link
JP (1) JP4064516B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1986244B1 (en) 2002-11-12 2017-01-11 Fujitsu Limited Mounting structure

Also Published As

Publication number Publication date
JPH11250032A (en) 1999-09-17

Similar Documents

Publication Publication Date Title
US7721129B2 (en) Method and apparatus for reducing clock frequency during low workload periods
US5774702A (en) Integrated circuit having function blocks operating in response to clock signals
EP0242010B1 (en) Clock circuit for a data processor
US5986969A (en) Power savings for memory arrays
JP3460736B2 (en) Clock control circuit
US5522048A (en) Low-power area-efficient and robust asynchronous-to-synchronous interface
JP3291569B2 (en) Microcomputer
US5428765A (en) Method and apparatus for disabling and restarting clocks
JP4064516B2 (en) Integrated circuit device with built-in memory
JP2001034530A (en) Microcomputer and memory access control method
JP3568592B2 (en) Computer system and method for controlling peripheral bus clock signals
JP3701100B2 (en) Clock generation circuit and clock generation method
JP3466755B2 (en) Electronics
JPH0454553A (en) Microprocessor
JP2007220148A (en) Microprocessor
JP2005235203A (en) Microprocessor
JP3563223B2 (en) Register circuit
JPH10301657A (en) Peripheral device of computer system
JP3093374B2 (en) Interrupt controller
US5875482A (en) Method and apparatus for programmable chip select negation in a data processing system
JP2626125B2 (en) Microcomputer
US6016551A (en) Method and apparatus for masking and unmasking a clock signal in an integrated circuit
JPH10133766A (en) Adaptive power-down clock control
JP3216200B2 (en) Data memory write control circuit
JP3266111B2 (en) Clock input buffer circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050222

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070427

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070515

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070704

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071227

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110111

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110111

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20110111

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120111

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130111

Year of fee payment: 5

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees