JP2004355495A - Computer system - Google Patents
Computer system Download PDFInfo
- Publication number
- JP2004355495A JP2004355495A JP2003154772A JP2003154772A JP2004355495A JP 2004355495 A JP2004355495 A JP 2004355495A JP 2003154772 A JP2003154772 A JP 2003154772A JP 2003154772 A JP2003154772 A JP 2003154772A JP 2004355495 A JP2004355495 A JP 2004355495A
- Authority
- JP
- Japan
- Prior art keywords
- function
- control
- circuit
- cpu
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、CPUと、CPU以外の少なくとも一つの機能ブロックとを有するコンピュータシステムに関するもので、特に、CPUを用いたソフトウェア制御により各機能ブロックの機能動作/機能停止および初期化を行うことができるコンピュータシステムに関するものである。
【0002】
【従来の技術】
従来、CPUと、CPU以外の少なくとも一つの機能ブロックとを有するコンピュータシステムにおいては、CPUが双方向バスを介して、各機能ブロックの様々な制御を行っている。
【0003】
図3に従来のコンピュータシステムの構成の一例を示す。図3において、301はCPU(中央処理装置)、302は機能ブロックの一つである通信ブロック、303は他の機能ブロック、304はさらに他の機能ブロック、305は双方向のバス(データ、アドレスetc)、306は外部リセット信号が入力される外部リセット端子である。
【0004】
例えば、通信ブロック302を制御して他の機器(図示せず)との通信を実現する場合は、CPU301より通信ブロック302に対してバス305を介して送信データや送信命令等の命令を送信する。通信ブロック302は、CPU301からの命令をもとに、他の機器と通信を始める。その他の機能ブロック303,304に関しても、CPU301が命令を送信してその命令をもとにそれぞれの機能ブロック303,304に応じた動作をする。
【0005】
これらCPU301と通信ブロック302および機能ブロック303,304とを有するコンピュータシステムに外部よりノイズ等が混入し、通常ではありえない状態にコンピュータシステムが陥り、コンピュータシステムが動作不可能な状態になった場合には、外部リセット端子306にリセット信号を入れることでCPU301や通信ブロック302、機能ブロック303,304を一斉にリセットしシステム全体の初期化を行うか、異常の発生した機能ブロックに対してCPU301を用いてソフトウェア的に初期状態に戻せる部分(レジスタ等)のみを初期化して正常状態にもどす制御を行う。
【0006】
外部リセット端子306は、ハードウェアリセットとも呼ばれ、電源立ち上げ時にも使用される。この外部リセット端子306に外部リセット信号を入れることで、CPU301およびそれ以外の全ての機能ブロックに対してハードウェアリセットをかけることが可能である。
【0007】
このようなコンピュータシステムに異常が起きた際の制御方法としては、上記方法以外に異常の起きたブロックのみを初期化する制御方法を用いているものもある(例えば、特許文献1参照)。
【0008】
【特許文献1】
特開平5−265596号公報
【0009】
【発明が解決しようとする課題】
CPUとそれ以外の少なくとも一つの機能ブロックを有する、昨今のコンピュータシステムにおいては、外部からの影響等によりシステム全体が異常状態に陥ることのないシステムが求められてきている。
【0010】
CPUとそれ以外の少なくとも一つの機能ブロックを有するコンピュータシステムにおいて、外部からの影響等によりCPU以外の機能ブロックに異常状態が発生した場合の制御方法として、従来技術では、以下のような方法が使用されている。コンピュータシステムの異常状態を監視し、異常状態が発生したと検出した場合に、機能ブロックをソフトウェアにて制御しソフトウェア的にリセットをかけるか、コンピュータシステム全体にハードウェア的にリセットをかけ、コンピュータシステム全体を初期状態に戻すか、異常状態にある機能ブロックに個別にソフトウェアリセットをかけ、その機能ブロックのみを初期状態に戻し復帰する手段を行っていた。
【0011】
しかしながら、上記のような復旧手段は、異常状態を監視し異常状態が発生したと検出した場合にのみ機能する手段である。そのため、異常状態の検出ができなかった場合には、システムを復旧する手段としてはシステム全体にハードウェア的にリセットをかけ、システム全体を初期状態に戻すしかない。
【0012】
したがって、本発明の目的は、CPUとそれ以外の少なくとも一つの機能ブロックを有するシステムにおいて、システム全体の安定性を確保することができるコンピュータシステムを提供することである。
【0013】
【課題を解決するための手段】
本発明のコンピュータシステムは、CPUとそれ以外の少なくとも一つの機能ブロックを有するシステムにおいて、CPUを用いたソフトウェア制御により各機能ブロック毎に、機能動作および機能停止を制御可能とし、各機能ブロックを機能停止させたときに、その機能ブロックを初期化する構成を採用する。
【0014】
その結果、CPUを用いたソフトウェア制御により各機能ブロックの動作開始時にその機能ブロックのみを機能停止および初期化のリフレッシュ動作することが可能である。
【0015】
したがって、各機能ブロックの使用開始時にその機能ブロックを初期状態にリフレッシュした状態で動作させることができる。その結果、例えばある機能ブロックが外部からのノイズ等により通常状態ではなりえない状態に陥ったとしても、その機能ブロックの使用時にはこのリフレッシュ動作により初期状態にリフレッシュされるため、システム全体の安定性を確保することが可能となる。
【0016】
本発明のコンピュータシステムは、CPUと、CPUによって動作が制御されて特定の機能を実行する少なくとも一つの機能ブロックと、CPUと少なくとも一つの機能ブロックとを接続するバスと、各機能ブロックに対して各機能ブロックを動作させる機能動作信号と各機能ブロックを停止させる機能停止信号を与える制御信号生成回路とを備えている。
【0017】
各機能ブロックは、主機能回路と、主機能回路の動作を規定する制御データを保持する制御レジスタと、制御レジスタと主機能回路との間に設けられて制御レジスタの保持データと制御レジスタの初期データとを選択的に主機能回路に入力するレジスタ信号制御回路とを有する。
【0018】
上記の制御信号生成回路は、例えば、バスに接続されてCPUからバスに出力される各機能ブロックの機能動作命令もしくは機能停止命令をそれぞれ受け取り、各機能ブロックの機能動作命令もしくは機能停止命令に対応して各機能ブロックに対して機能動作信号もしくは機能停止信号を与えるようにしている。
【0019】
また、CPUは、例えば各機能ブロックの機能停止命令をバスに出力したときに、各機能ブロックの動作を規定する制御データをバスに併せて出力し、制御レジスタはCPUから出力される制御データを格納するように構成されている。
【0020】
また、レジスタ信号制御回路は、例えば制御信号生成回路より機能停止信号が与えられたときに制御レジスタの初期データを主機能回路に与え、制御信号生成回路より機能動作信号が与えられたときに制御レジスタの保持データを主機能回路に与える。
【0021】
さらに、主機能回路は、例えば制御信号生成回路より機能停止信号が与えられたときに停止し初期化されて制御レジスタの初期データが設定され、制御信号生成回路より機能動作信号が与えられたときに制御レジスタの保持データを基に動作する。
【0022】
【発明の実施の形態】
図1は、本発明のCPUとそれ以外の少なくとも一つの機能ブロックとを有するコンピュータシステムにおいて、CPUを用いたソフトウェア制御により、機能ブロックを初期化および動作制御する方法を示すブロック図である。
【0023】
本発明の実施の形態のコンピュータシステムは、CPU101と、CPU101によって動作が制御されて各々特定の機能を実行する機能ブロック120、130、140、・・・と、各機能ブロック120、130、140、・・・に対して各機能ブロック120、130、140、・・・を動作させる機能動作信号と各機能ブロックを停止させる機能停止信号を与える制御信号生成回路106と、双方向のバス105とから構成される。CPU101と機能ブロック120、機能ブロック130、機能ブロック140、・・・と、制御信号生成回路106とは、バス105により結ばれている。
【0024】
例えば、機能ブロック120は、論理回路などで構成される主機能回路125と、主機能回路125の動作を規定する制御データを保持する制御レジスタ124と、制御レジスタ124と主機能回路125との間に設けられて制御レジスタ124の保持データと制御レジスタの初期データとを選択的に主機能回路125に入力するレジスタ信号制御回路126とを有する。他の機能ブロック130、140なども同様の構成である。
【0025】
また、制御信号生成回路106は、バス105に接続されてCPU101からバス105に出力される各機能ブロック120、130、140、・・・の機能動作命令もしくは機能停止命令をそれぞれ受け取り、各機能ブロック120、130、140、・・・の機能動作命令もしくは機能停止命令に対応して各機能ブロック120、130、140、・・・に対して機能動作信号もしくは機能停止信号を与える。
【0026】
また、CPU101は、各機能ブロック120、130、140、・・・の機能停止命令をバス105に出力したときに、各機能ブロック120、130、140、・・・の動作を規定する制御データをバス105に併せて出力し、制御レジスタ124はCPU101から出力される制御データを格納するように構成されている。
【0027】
また、レジスタ信号制御回路126は、制御信号生成回路106より機能停止信号が与えられたときに制御レジスタの初期データを主機能回路125に与え、制御信号生成回路106より機能動作信号が与えられたときに制御レジスタ124の保持データを主機能回路125に与える。
【0028】
さらに、主機能回路125は、制御信号生成回路106より機能停止信号が与えられたときに停止し初期化されて制御レジスタの初期データが設定され、制御信号生成回路106より機能動作信号が与えられたときに制御レジスタ124の保持データを基に動作する。
【0029】
以下、実施の形態をさらに具体的に説明する。
【0030】
制御信号生成回路106は、CPU101よりバス105を介して各機能ブロック120,130,140に対する動作命令(Enable)/停止命令(Disenable)を受けると、制御信号107の信号線を介して機能ブロック120、機能ブロック130、機能ブロック140、・・・のうちどれかまたはいくつかに動作(Enable)/停止(Disenable)のための機能動作信号もしく機能停止信号を送る。
【0031】
機能ブロック120、機能ブロック130、機能ブロック140、・・・は、外部リセット端子108から入力されるハードウェアリセット信号109が供給されるリセット入力端子121、リセット入力端子131、リセット入力端子141、・・・とは別に、回路の動作(Enable)/停止(Disenable)が選択できる動作制御端子122、動作制御端子132、動作制御端子142、・・・を装備している。
【0032】
機能ブロック120、機能ブロック130、機能ブロック140、・・・は、それぞれの動作制御端子122、動作制御端子132、動作制御端子142、・・・より機能停止信号(動作停止命令)を受けると動作を停止し、機能動作信号(動作開始命令)を受けると動作開始するように構成されている。
【0033】
機能ブロックA120を例にとると、動作制御端子120は、内部動作制御信号123の信号線を介して制御レジスタ124以外の主機能回路125とレジスタ信号制御回路126とに接続され、主機能回路125の動作(Enable)/停止(Disenable)の制御を行う以外に、停止時は主機能回路125の初期化も行われる。
【0034】
停止時において、制御レジスタ124は動作可能であり、次に動作する際の設定値を設定保存することが可能である。その際、内部動作制御信号123がレジスタ信号制御回路126を制御することにより、主機能回路125に対して、レジスタ信号制御回路から初期値を与える構成になっている。これによって、上記したように、主機能回路125が初期化される。
【0035】
その他の機能ブロック130、機能ブロック140、・・・に関しても同様な構成となっている。
【0036】
例えば、機能ブロック120を使用する場合、まずCPU101は、制御信号生成回路106に対して機能ブロック120の停止命令を送る。
【0037】
制御信号生成回路106は、CPU101より機能ブロック120の停止(Disenable)命令を受けると、制御信号107として機能ブロックA120に停止(Disenable)の信号を送る。
【0038】
停止(Disenable)信号を受け取った機能ブロック120は、主機能回路125の停止および初期化(リフレッシュ)を行う、これと同時に、CPU101は、機能ブロック120の制御レジスタ124に機能ブロック120の動作に必要な設定値を設定する。この際、制御レジスタ124と主機能回路125とはレジスタ信号制御回路126により分離され、制御レジスタ124の設定値が主機能回路125に影響を及ぼさない。これらの動作完了後に、CPU101は、制御信号生成回路106に機能ブロック120の動作命令を送る。
【0039】
動作(Enable)命令を受け取った機能ブロック120は、制御レジスタ124に設定された値で、主機能回路125の動作を行う。
【0040】
上記の動作を各機能ブロック120、130、140、・・・の動作時に毎回行うことで常にリフレッシュされた状態でコンピュータシステム全体が動作し、ある機能ブロックが外部からのノイズ等により通常状態ではなりえない状態に陥ったとしてもその機能ブロック使用時にはこのリフレッシュ動作により初期状態にリフレッシュされる。そのため、コンピュータシステム全体の安定性を確保することが可能となる。
【0041】
また、それぞれの機能ブロック120、130、140、・・・において動作(Enable)/停止(Disenable)が選択できることから、異常状態におちいった機能ブロックを容易にコンピュータシステムから切り離し、コンピュータシステム全体への影響を避けることも可能である。
【0042】
さらに、それぞれの機能ブロック120、130、140、・・・において、動作(Enable)/停止(Disenable)が選択できることから、ある機能ブロックを使用しない場合は、その機能ブロックを停止(Disenable)状態にすることで、コンピュータシステム全体の消費電力を下げることも可能となる。
【0043】
以下に図1および図2を用いて、本発明の実施の形態を、より具体的に説明する。図2には本発明の実施例として機能ブロック120および制御信号生成回路106の具体的な構成を示す。なお、以下の説明は、実施の形態における一例であり、これ以外に種々の応用例が考えられることは容易に理解できる。
【0044】
実施例における機能ブロック120は、ANDゲート127と、他の任意の回路構成の論理回路(例えばフリップフロップなど)によって構成されており、動作制御端子122からの制御信号が主機能回路125内の各論理回路のリセット端子に入力されるようになっている。レジスタ信号制御回路126は、セレクタで構成されており、内部動作制御信号123のレベルに応じて制御レジスタ124の保持値を出力するか、制御レジスタ124の初期値を出力するかが選択される。
【0045】
機能ブロック120をシリアル通信ブロックと仮定すると、シリアル通信時CPU101は、まずバス105を介して制御信号生成回路106にシリアル通信ブロック停止命令“0”を書き込む。すると、制御信号生成回路106は、制御信号107として“L”を出力し、その信号が、シリアル通信ブロックである機能ブロック120に伝えられる。伝えられた信号は、動作制御端子122から内部動作制御信号123としてANDゲートA127に伝わり、シリアル通信ブロックの主機能回路125内に構成される論理回路のリセット端子に入力され、主機能回路125の動作停止および初期化、すなわち機能ブロック120の動作停止および初期化を行う。
【0046】
同時に、内部動作制御信号123がレジスタ信号制御回路126に入力され、レジスタ信号制御回路126から機能ブロック120の主機能回路125へは、制御レジスタ124の初期値が入力される。
【0047】
シリアル通信ブロックで機能ブロック120が停止されたら、CPU101は、シリアル通信ブロックである機能ブロック120を動作させるための送信データ/通信設定等を機能ブロック120内の制御レジスタ124に書き込む。この時点で機能ブロック120の主機能回路125へは、制御レジスタ124の初期値が入力される。
【0048】
CPU101により機能ブロック120の停止と初期化、制御レジスタ124への命令の書き込みが行われたら、上記とは逆にバス105を介して制御信号生成回路106に機能ブロック(シリアル通信ブロック)120の動作命令“1”を書き込む。すると、制御信号生成回路106は、制御信号107として“H”を出力し、その信号が、機能ブロック(シリアル通信ブロック)120に伝えられる。伝えられた信号は、動作制御端子122から内部動作制御信号123としてANDゲート127に伝わり、機能ブロック120の主機能回路125内に構成される論理回路のリセット端子のリセット状態を解除し、機能ブロック120の主機能回路125の動作を行わせる。
【0049】
同時に、内部動作制御信号123は、レジスタ信号制御回路126に入力されレジスタ信号制御回路126から機能ブロック120主機能回路125へは、制御レジスタ124に設定された送信データ/通信設定等が入力される。
【0050】
上記例はシリアル通信ブロックについて説明しているが、その他の機能ブロックに関しても同様である。
【0051】
上記動作を、各機能ブロックの動作開始毎に行い、毎回各機能ブロックのリフレッシュを行うことで、コンピュータシステム全体が異常状態に陥ることを回避する。
【0052】
さらに、機能ブロック120、機能ブロック130、機能ブロック140、・・・の異常がコンピュータシステム全体に悪影響を及ぼしている場合などは、上述の制御信号107を用いて機能ブロック120、機能ブロック130、機能ブロック140、・・・を常時停止状態に置くことで、コンピュータシステムからの切り離しを行うことができる。
【0053】
また、正常状態にあっても、ある動作状態において機能ブロック120、機能ブロック130、機能ブロック140、・・・を使用しない場合は、上述の制御信号107を用いて機能ブロック120、機能ブロック130、機能ブロック140、・・・を常時停止状態に置くことで、機能ブロック120、機能ブロック130、機能ブロック140・・・を停止でき、コンピュータシステム全体の消費電力の低減を図ることが可能である。
【0054】
【発明の効果】
上記に述べたように、本発明によれば、外部からの影響によりある機能ブロックが異常状態に陥ってもその機能ブロック使用毎にその機能ブロックのみ初期化処理されるため、システム全体が異常状態に陥ることを回避することができる。
【0055】
さらに、異常状態に陥った場合システム全体を初期化するのではなく、異常状態にある機能ブロックのみを個別に停止し初期化することが可能である。また、機能ブロックを個別に停止/動作の選択が可能なことから異常状態に陥った機能ブロックを停止しコンピュータシステムから切り離すことも容易にできる。また、使用しない機能ブロックを停止し、コンピュータシステム全体の消費電力を下げることも可能になる。
【図面の簡単な説明】
【図1】本発明の実施の形態におけるコンピュータシステムの構成を示すブロック図である。
【図2】図1中の機能ブロックおよび制御信号生成回路の詳細構成の一例を示すブロック図である。
【図3】従来のコンピュータシステムの構成を示すブロック図である。
【符号の説明】
101 CPU
105 バス
106 制御信号生成回路
107 制御信号
108 外部リセット端子
109 ハードウェアリセット信号
120 機能ブロック
121 リセット入力端子
122 動作制御端子
123 内部動作制御信号
124 制御レジスタ
125 主機能回路
126 レジスタ信号制御回路
127 ANDゲート
130 機能ブロック
131 リセット入力端子
132 動作制御端子
140 機能ブロック
141 リセット入力端子
142 動作制御端子
301 CPU
302 通信ブロック
303 機能ブロック
304 機能ブロック
305 バス
306 外部リセット端子[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a computer system having a CPU and at least one functional block other than the CPU. In particular, the functional operation / stop and initialization of each functional block can be performed by software control using the CPU. It concerns computer systems.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, in a computer system having a CPU and at least one functional block other than the CPU, the CPU performs various controls of each functional block via a bidirectional bus.
[0003]
FIG. 3 shows an example of the configuration of a conventional computer system. 3,
[0004]
For example, when controlling the
[0005]
When noise or the like is mixed from the outside into the computer system having the
[0006]
The external reset terminal 306 is also called a hardware reset, and is used even when the power is turned on. By inputting an external reset signal to the external reset terminal 306, a hardware reset can be performed on the
[0007]
As a control method when an abnormality occurs in such a computer system, there is a method using a control method of initializing only a block in which an abnormality has occurred in addition to the above method (for example, see Patent Document 1).
[0008]
[Patent Document 1]
JP-A-5-265596
[Problems to be solved by the invention]
In recent computer systems having a CPU and at least one other functional block, there is a demand for a system in which the whole system does not fall into an abnormal state due to an external influence or the like.
[0010]
In a computer system having a CPU and at least one other functional block, a conventional method uses the following method as a control method when an abnormal state occurs in a functional block other than the CPU due to an external influence or the like. Have been. Monitors the abnormal state of the computer system and, if it detects that an abnormal state has occurred, controls the functional blocks by software and resets it by software, or resets the entire computer system by hardware and resets the computer system. Means for returning the entire system to the initial state or individually performing a software reset on the functional blocks in the abnormal state, and returning only the functional blocks to the initial state and returning.
[0011]
However, the recovery means as described above is a means that functions only when monitoring an abnormal state and detecting that an abnormal state has occurred. Therefore, if an abnormal state cannot be detected, the only means for restoring the system is to reset the entire system by hardware and return the entire system to the initial state.
[0012]
Therefore, an object of the present invention is to provide a computer system capable of ensuring the stability of the entire system in a system having a CPU and at least one other functional block.
[0013]
[Means for Solving the Problems]
A computer system according to the present invention is a system having a CPU and at least one other functional block, in which a functional operation and a functional stop can be controlled for each functional block by software control using the CPU. When stopped, a configuration for initializing the functional block is adopted.
[0014]
As a result, when the operation of each functional block is started by software control using the CPU, it is possible to perform a refresh operation of stopping and initializing only the functional block.
[0015]
Therefore, each functional block can be operated in a state where the functional block is refreshed to the initial state at the start of use. As a result, even if a certain functional block falls into a state where it cannot be put into a normal state due to external noise or the like, when the functional block is used, it is refreshed to the initial state by this refresh operation. Can be secured.
[0016]
The computer system of the present invention includes a CPU, at least one function block whose operation is controlled by the CPU to execute a specific function, a bus connecting the CPU and at least one function block, A control signal generating circuit for providing a function operation signal for operating each function block and a function stop signal for stopping each function block is provided.
[0017]
Each functional block includes a main function circuit, a control register that holds control data that specifies the operation of the main function circuit, and a control register that is provided between the control register and the main function circuit. And a register signal control circuit for selectively inputting data to the main function circuit.
[0018]
The control signal generation circuit described above receives, for example, a function operation instruction or a function stop instruction of each function block connected to the bus and output from the CPU to the bus, and responds to the function operation instruction or function stop instruction of each function block. Then, a function operation signal or a function stop signal is given to each function block.
[0019]
Further, for example, when a function stop command of each functional block is output to the bus, the CPU outputs control data defining the operation of each functional block to the bus, and the control register stores control data output from the CPU. It is configured to store.
[0020]
In addition, the register signal control circuit supplies the initial data of the control register to the main function circuit when a function stop signal is given from the control signal generation circuit, and controls when the function operation signal is given from the control signal generation circuit. The data held in the register is given to the main function circuit.
[0021]
Further, the main function circuit is stopped and initialized when a function stop signal is given from the control signal generation circuit, the initial data of the control register is set, and when the function operation signal is given from the control signal generation circuit. Operates based on the data held in the control register.
[0022]
BEST MODE FOR CARRYING OUT THE INVENTION
FIG. 1 is a block diagram showing a method for initializing and controlling operation of functional blocks by software control using a CPU in a computer system having a CPU of the present invention and at least one other functional block.
[0023]
The computer system according to the embodiment of the present invention includes a
[0024]
For example, the
[0025]
The control
[0026]
When the
[0027]
Further, the register
[0028]
Further, the
[0029]
Hereinafter, embodiments will be described more specifically.
[0030]
When the control
[0031]
The
[0032]
When the
[0033]
Taking the function block A120 as an example, the
[0034]
At the time of stop, the
[0035]
The other
[0036]
For example, when using the
[0037]
When receiving the stop (Disable) command of the function block 120 from the
[0038]
The
[0039]
The
[0040]
By performing the above operation every time when each of the
[0041]
Further, since the operation (Enable) / stop (Disable) can be selected in each of the
[0042]
Further, in each of the function blocks 120, 130, 140,..., The operation (Enable) / stop (Disable) can be selected. Therefore, when a certain function block is not used, the function block is set to the stop (Disable) state. By doing so, it is also possible to reduce the power consumption of the entire computer system.
[0043]
Hereinafter, an embodiment of the present invention will be described more specifically with reference to FIGS. FIG. 2 shows a specific configuration of the
[0044]
The
[0045]
Assuming that the
[0046]
At the same time, the internal
[0047]
When the
[0048]
When the
[0049]
At the same time, the internal
[0050]
The above example describes a serial communication block, but the same applies to other functional blocks.
[0051]
The above operation is performed each time the operation of each functional block is started, and each functional block is refreshed each time, thereby preventing the entire computer system from falling into an abnormal state.
[0052]
Further, when an abnormality in the function blocks 120, 130, 140,... Has an adverse effect on the entire computer system, the above-described
[0053]
Further, even if the
[0054]
【The invention's effect】
As described above, according to the present invention, even if a certain functional block enters an abnormal state due to an external influence, only the functional block is initialized each time the functional block is used. Can be avoided.
[0055]
Further, when an abnormal state occurs, it is possible to individually stop and initialize only the functional blocks in the abnormal state, instead of initializing the entire system. In addition, since the function blocks can be individually selected to be stopped or operated, it is easy to stop the function blocks that have fallen into an abnormal state and disconnect them from the computer system. It is also possible to stop unused functional blocks and reduce the power consumption of the entire computer system.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of a computer system according to an embodiment of the present invention.
FIG. 2 is a block diagram illustrating an example of a detailed configuration of a functional block and a control signal generation circuit in FIG. 1;
FIG. 3 is a block diagram showing a configuration of a conventional computer system.
[Explanation of symbols]
101 CPU
105
302
Claims (3)
前記各機能ブロックは、主機能回路と、前記主機能回路の動作を規定する制御データを保持する制御レジスタと、前記制御レジスタと前記主機能回路との間に設けられて前記制御レジスタの保持データと前記制御レジスタの初期データとを選択的に前記主機能回路に入力するレジスタ信号制御回路とを有するコンピュータシステム。A CPU, at least one function block whose operation is controlled by the CPU to execute a specific function, a bus connecting the CPU and the at least one function block, and A control signal generation circuit for providing a function operation signal for operating the block and a function stop signal for stopping the function blocks,
Each of the functional blocks includes a main function circuit, a control register that holds control data that defines the operation of the main function circuit, and data that is provided between the control register and the main function circuit and that is held in the control register. And a register signal control circuit for selectively inputting initial data of the control register to the main function circuit.
前記制御レジスタは前記CPUから出力される前記制御データを格納し、
前記レジスタ信号制御回路は、前記制御信号生成回路より前記機能停止信号が与えられたときに前記制御レジスタの初期データを前記主機能回路に与え、前記制御信号生成回路より前記機能動作信号が与えられたときに前記制御レジスタの保持データを前記主機能回路に与え、
前記主機能回路は前記制御信号生成回路より前記機能停止信号が与えられたときに停止し初期化されて前記制御レジスタの初期データが設定され、前記制御信号生成回路より前記機能動作信号が与えられたときに前記制御レジスタの保持データを基に動作する請求項2記載のコンピュータシステム。The CPU, when outputting a function stop command of each of the functional blocks to the bus, outputs control data defining the operation of each of the functional blocks to the bus,
The control register stores the control data output from the CPU,
The register signal control circuit, when the function stop signal is given from the control signal generation circuit, gives the initial data of the control register to the main function circuit, and the function operation signal is given from the control signal generation circuit. When the data held in the control register is given to the main function circuit,
The main function circuit is stopped and initialized when the function stop signal is supplied from the control signal generation circuit, the initial data of the control register is set, and the function operation signal is supplied from the control signal generation circuit. 3. The computer system according to claim 2, wherein the computer system operates based on data held in the control register when the control register is operated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003154772A JP2004355495A (en) | 2003-05-30 | 2003-05-30 | Computer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003154772A JP2004355495A (en) | 2003-05-30 | 2003-05-30 | Computer system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2004355495A true JP2004355495A (en) | 2004-12-16 |
Family
ID=34049340
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003154772A Pending JP2004355495A (en) | 2003-05-30 | 2003-05-30 | Computer system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2004355495A (en) |
-
2003
- 2003-05-30 JP JP2003154772A patent/JP2004355495A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7480808B2 (en) | Method and apparatus for managing power consumption relating to a differential serial communication link | |
US9310838B2 (en) | Power management method for switching power mode of a computer system based on detection of a human interface device | |
US7539883B2 (en) | Information processing apparatus and control method for transitioning a state of a communication path between an active state and a standby state | |
US10817043B2 (en) | System and method for entering and exiting sleep mode in a graphics subsystem | |
KR100867640B1 (en) | System on chip including image processing memory with multiple access | |
JP2014510964A (en) | Device for low power standby mode control circuit | |
JP2009099054A (en) | Semiconductor integrated circuit and debug mode determination method | |
US20150253842A1 (en) | Semiconductor device, and power control method for usbotg | |
JP4393954B2 (en) | Microcomputer | |
JPH09237140A (en) | Computer system | |
JP4711410B2 (en) | Semiconductor integrated circuit | |
US8560867B2 (en) | Server system and method for processing power off | |
US6829677B1 (en) | Method and apparatus for preserving the contents of synchronous DRAM through system reset | |
CN109388216B (en) | Starting device, single board of network equipment and network equipment | |
JP2014164471A (en) | LSI and information processing system | |
KR20110115983A (en) | Data processor and data processing system | |
JP2004355495A (en) | Computer system | |
CN115639902A (en) | Electronic device including multiple power management integrated circuits and method of operating the same | |
US7058842B2 (en) | Microcontroller with multiple function blocks and clock signal control | |
JP2012116138A (en) | Control device, control program, and image forming device | |
JP2003345672A (en) | Data protection system for computer, and program for data protection | |
TW201407359A (en) | Daisy-chained apparatus and system thereof | |
JP2003005871A (en) | Method and device for backing up data of data processor | |
JP6906369B2 (en) | Computer systems, their control methods, and programs | |
JP2006350957A (en) | Control unit |