JP5672793B2 - Semiconductor device and method for controlling semiconductor device - Google Patents

Semiconductor device and method for controlling semiconductor device Download PDF

Info

Publication number
JP5672793B2
JP5672793B2 JP2010143531A JP2010143531A JP5672793B2 JP 5672793 B2 JP5672793 B2 JP 5672793B2 JP 2010143531 A JP2010143531 A JP 2010143531A JP 2010143531 A JP2010143531 A JP 2010143531A JP 5672793 B2 JP5672793 B2 JP 5672793B2
Authority
JP
Japan
Prior art keywords
circuit
circuit operation
operation schedule
power
power switch
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
JP2010143531A
Other languages
Japanese (ja)
Other versions
JP2012009587A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2010143531A priority Critical patent/JP5672793B2/en
Publication of JP2012009587A publication Critical patent/JP2012009587A/en
Application granted granted Critical
Publication of JP5672793B2 publication Critical patent/JP5672793B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Semiconductor Integrated Circuits (AREA)
  • Logic Circuits (AREA)

Description

本発明は、半導体装置及び半導体装置の制御方法に関する。   The present invention relates to a semiconductor device and a method for controlling the semiconductor device.

近年、低消費電力化の要求から、内部に電源遮断機能(Power Gatingとも呼ばれている)を搭載したLSI(Large Scale Integrated circuit)が採用されるケースが増加してきている。   In recent years, there has been an increasing number of cases in which LSIs (Large Scale Integrated circuits) equipped with a power cut-off function (also referred to as Power Gating) are employed due to the demand for low power consumption.

このような半導体装置は、電源スイッチを搭載しており、内部回路を使用していない時間帯(回路停止期間)は電源スイッチをオフすることでリーク電流を遮断する。電源遮断機能は、待機時の電力削減要求の厳しい通信用の携帯機器などに広く用いられている。   Such a semiconductor device is equipped with a power switch, and shuts off the leakage current by turning off the power switch during a time period (circuit stop period) when the internal circuit is not used. The power cut-off function is widely used in portable devices for communication and the like that are demanding to reduce power consumption during standby.

なお、電源スイッチを頻繁にオンまたはオフすると、スイッチ制御の際に流れる電流で電流消費量が増えるので、オフできる回路停止期間が短い場合は電源スイッチをオフしないようにすることで、トータルの消費電力を低減する技術が知られている。   Note that if the power switch is frequently turned on or off, the current consumption increases due to the current that flows during switch control. Therefore, if the circuit stop period that can be turned off is short, the power switch is not turned off so that the total power consumption is reduced. Techniques for reducing power are known.

また、電源スイッチをオフ状態からオンする際、内部回路の電源容量の再充電を始めるために突入電流が流れる。この突入電流が半導体装置内部の電源配線を通ることによって、電源配線のインピーダンスが呼応して電源ノイズが発生する。電源ノイズは半導体装置内の回路に悪影響を及ぼす可能性がある。そのため、スイッチオン動作をゆっくり行って突入電流を抑制することで、電源ノイズの発生を抑制する技術が知られている。   When the power switch is turned on from the off state, an inrush current flows to start recharging the power capacity of the internal circuit. When this inrush current passes through the power supply wiring inside the semiconductor device, the impedance of the power supply wiring responds and power supply noise is generated. Power supply noise can adversely affect circuits in the semiconductor device. For this reason, a technique for suppressing the generation of power supply noise by slowly performing a switch-on operation to suppress an inrush current is known.

特開2009−231360号公報JP 2009-231360 A 特開2008−218722号公報JP 2008-218722 A 特開2008−65732号公報JP 2008-65732 A

しかしながら、従来の電源遮断機能では十分に消費電力を低減することができないという問題があった。たとえば、回路停止期間が短い場合に電源スイッチをオフしない電源遮断機能を適用すると、短い回路停止期間が多いシステムでは電源スイッチをオフできる機会が少なくなってしまい、消費電力を十分に低減できないという問題があった。   However, there is a problem that the conventional power shut-off function cannot sufficiently reduce power consumption. For example, if the power cut-off function that does not turn off the power switch when the circuit stop period is short is applied, the system that has many short circuit stop periods has fewer opportunities to turn off the power switch, and the power consumption cannot be reduced sufficiently. was there.

発明の一観点によれば、回路へ電源を供給するか否かを切り替える電源スイッチと、回路動作スケジュールを入力し、複数の回路動作期間を連続するように、前記回路動作期間の開始時刻または終了時刻を補正する回路動作スケジュール補正部と、補正された前記回路動作スケジュールにしたがって、前記電源スイッチをオンまたはオフする電源スイッチ制御部と、を備えた半導体装置が提供される。   According to one aspect of the invention, a power switch for switching whether to supply power to a circuit and a circuit operation schedule are input, and a start time or an end of the circuit operation period so that a plurality of circuit operation periods are continuous There is provided a semiconductor device including a circuit operation schedule correction unit that corrects time and a power switch control unit that turns on or off the power switch according to the corrected circuit operation schedule.

開示の半導体装置及び半導体装置の制御方法によれば、消費電力を削減することができる。   According to the disclosed semiconductor device and the semiconductor device control method, power consumption can be reduced.

第1の実施の形態の半導体装置の一例を示す図である。It is a figure which shows an example of the semiconductor device of 1st Embodiment. 第1の実施の形態の半導体装置の動作の一例を示すフローチャートである。3 is a flowchart illustrating an example of the operation of the semiconductor device according to the first embodiment. 回路動作スケジュールの一例を示す図である。It is a figure which shows an example of a circuit operation schedule. 回路動作スケジュールの補正の一例を示す図である。It is a figure which shows an example of correction | amendment of a circuit operation schedule. 回路の動作状態に応じた消費電力の一例を示す図である。It is a figure which shows an example of the power consumption according to the operation state of a circuit. 第2の実施の形態の半導体装置の一例を示す図である。It is a figure which shows an example of the semiconductor device of 2nd Embodiment. 第2の実施の形態の半導体装置の動作の一例を示すフローチャートである。6 is a flowchart illustrating an example of the operation of the semiconductor device according to the second embodiment. 判定基準時間Tminの一例を示す図である。It is a figure which shows an example of the determination reference time Tmin. 第3の実施の形態の半導体装置の一例を示す図である。It is a figure which shows an example of the semiconductor device of 3rd Embodiment. 使用環境が高温時の回路動作に応じた消費電力の一例を示す図である。It is a figure which shows an example of the power consumption according to the circuit operation at the time of use environment high temperature. 使用環境が低温時の回路動作に応じた消費電力の一例を示す図である。It is a figure which shows an example of the power consumption according to the circuit operation at the time of a use environment low temperature. リーク電流検出器の一例を示す図である。It is a figure which shows an example of a leak current detector. リーク電流検出器の一例の動作を示すタイミングチャートである。It is a timing chart which shows operation | movement of an example of a leak current detector. 電源スイッチの一例と、その周辺部の詳細を示す図である。It is a figure which shows an example of a power switch, and the detail of the peripheral part. 電源復帰期間の測定例を示すタイミングチャートである。It is a timing chart which shows the example of a measurement of a power supply return period. Tmin生成器の一例を示す図である。It is a figure which shows an example of a Tmin generator. 回路動作スケジュール保持部の一例を示す図である。It is a figure which shows an example of a circuit operation schedule holding | maintenance part. 回路動作スケジュール保持部の動作の一例を示すタイミングチャートである。It is a timing chart which shows an example of operation | movement of a circuit operation schedule holding | maintenance part. 電源スイッチ制御予定レジスタの一例を示す図である。It is a figure which shows an example of a power switch control schedule register. 電源スイッチ制御予定レジスタの一例の動作の様子を示すタイミングチャートである。It is a timing chart which shows the mode of operation of an example of a power switch control schedule register. 回路動作スケジュールの一例を示す図である。It is a figure which shows an example of a circuit operation schedule. 回路スケジュール補正の例と、予定時刻データの一例を示す図である。It is a figure which shows an example of circuit schedule correction | amendment, and an example of scheduled time data. 4つの回路における回路動作スケジュールの補正例と予定時刻データの一例を示す図である。It is a figure which shows an example of correction | amendment of the circuit operation schedule in four circuits, and an example of scheduled time data. 回路60に関して回路動作スケジュールを補正する場合の回路動作スケジュール補正部の入出力データの一例を示す図である。6 is a diagram illustrating an example of input / output data of a circuit operation schedule correction unit when a circuit operation schedule is corrected for the circuit 60. FIG. PMUの動作の一例を示す図である。It is a figure which shows an example of operation | movement of PMU. PMUの動作の一例をまとめたフローチャートである。It is the flowchart which put together an example of operation | movement of PMU. 第4の実施の形態の半導体装置の一例を示す図である。It is a figure which shows an example of the semiconductor device of 4th Embodiment. タスク生成処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a task production | generation process. 生成したタスク列の一例を示す図である。It is a figure which shows an example of the produced | generated task sequence.

以下、本発明の半導体装置及び半導体装置の制御方法の実施の形態を、図面を参照しつつ説明する。
(第1の実施の形態)
図1は、第1の実施の形態の半導体装置の一例を示す図である。
Embodiments of a semiconductor device and a semiconductor device control method according to the present invention will be described below with reference to the drawings.
(First embodiment)
FIG. 1 is a diagram illustrating an example of the semiconductor device according to the first embodiment.

第1の実施の形態の半導体装置10は、回路11へ電源VDDを供給するか否かを切り替える電源スイッチ12と、回路動作スケジュール保持部13と、回路動作スケジュール補正部14と、電源スイッチ制御部15を有している。   The semiconductor device 10 according to the first embodiment includes a power switch 12 that switches whether to supply power VDD to the circuit 11, a circuit operation schedule holding unit 13, a circuit operation schedule correction unit 14, and a power switch control unit. 15.

電源スイッチ12は、電源スイッチ制御部15の制御のもと、オン・オフ制御され、オン状態のときには、回路11に対して電源VDDから電源電圧を供給する。
回路動作スケジュール保持部13は、回路11の動作期間や停止期間などの回路動作スケジュールを保持している。
The power switch 12 is on / off controlled under the control of the power switch control unit 15, and supplies the power voltage from the power supply VDD to the circuit 11 when the power switch 12 is in the on state.
The circuit operation schedule holding unit 13 holds a circuit operation schedule such as an operation period or a stop period of the circuit 11.

回路動作スケジュール補正部14は、回路動作スケジュールを入力し、その回路動作スケジュールに含まれる複数の回路動作期間を連続するように、回路動作期間の開始時刻または終了時刻を補正する。   The circuit operation schedule correction unit 14 inputs a circuit operation schedule and corrects the start time or end time of the circuit operation period so that a plurality of circuit operation periods included in the circuit operation schedule are continued.

電源スイッチ制御部15は、補正された回路動作スケジュールにしたがって電源スイッチ12をオンまたはオフする。
以下、半導体装置10の動作を説明する。
The power switch control unit 15 turns the power switch 12 on or off according to the corrected circuit operation schedule.
Hereinafter, the operation of the semiconductor device 10 will be described.

図2は、第1の実施の形態の半導体装置の動作の一例を示すフローチャートである。
ステップS1:回路動作スケジュール保持部13は、たとえば、半導体装置10の外部の図示しないマイクロコントローラ(以下マイコンと略す)、または内部の回路11(または図示しない他の回路)から、回路動作スケジュールを受信して保持する。
FIG. 2 is a flowchart illustrating an example of the operation of the semiconductor device according to the first embodiment.
Step S1: The circuit operation schedule holding unit 13 receives a circuit operation schedule from, for example, a microcontroller (not shown) outside the semiconductor device 10 or an internal circuit 11 (or another circuit (not shown)). And hold.

図3は、回路動作スケジュールの一例を示す図である。横軸は時間を示している。
図3では、複数の回路動作期間を、タスクTsk1,Tsk2,Tsk3,Tsk4,Tsk5で示している。また、スケジューリングされた各タスクTsk1〜Tsk5の開始可能時刻TS1,TS2,TS3,TS4,TS5と、終了期限時刻TC1,TC2,TC3,TC4,TC5と、処理時間TD1,TD2,TD3,TD4,TD5の一例が示されている。各タスク間の時間は、回路停止期間Tsp1,Tsp2,Tsp3,Tsp4である。
FIG. 3 is a diagram illustrating an example of a circuit operation schedule. The horizontal axis indicates time.
In FIG. 3, a plurality of circuit operation periods are indicated by tasks Tsk1, Tsk2, Tsk3, Tsk4, and Tsk5. Further, the startable times TS1, TS2, TS3, TS4, TS5 of the scheduled tasks Tsk1 to Tsk5, end deadlines times TC1, TC2, TC3, TC4, TC5, and processing times TD1, TD2, TD3, TD4, TD5 An example is shown. The time between each task is a circuit stop period Tsp1, Tsp2, Tsp3, Tsp4.

回路動作スケジュール保持部13は、上記のような各タスクTsk1〜Tsk5の開始可能時刻TS1〜TS5、終了期限時刻TC1〜TC5、処理時間TD1〜TD5を回路動作スケジュールとして保持する。   The circuit operation schedule holding unit 13 holds startable times TS1 to TS5, end deadline times TC1 to TC5, and processing times TD1 to TD5 of the tasks Tsk1 to Tsk5 as described above.

ステップS2:回路動作スケジュール補正部14は、回路動作スケジュールの補正を行う。
図4は、回路動作スケジュールの補正の一例を示す図である。横軸は時間を示している。ここでは、図3で示した回路動作スケジュールを補正した場合について示している。
Step S2: The circuit operation schedule correction unit 14 corrects the circuit operation schedule.
FIG. 4 is a diagram illustrating an example of correction of the circuit operation schedule. The horizontal axis indicates time. Here, a case where the circuit operation schedule shown in FIG. 3 is corrected is shown.

回路動作スケジュールの補正は、各タスクTsk1〜Tsk5の回路動作期間が、それぞれのタスクTsk1〜Tsk5において定められた開始可能時刻TS1〜TS5から終了期限時刻TC1〜TC5までに含まれるように行われる。   The correction of the circuit operation schedule is performed so that the circuit operation period of each task Tsk1 to Tsk5 is included from the startable time TS1 to TS5 to the end deadline time TC1 to TC5 determined in each task Tsk1 to Tsk5.

図4に示す例では、回路動作スケジュール補正部14は、タスクTsk2で示される回路動作期間の開始時刻と終了時刻を補正して、タスクTsk3で示される回路動作期間と連続するようにしている。タスクTsk2の補正は、タスクTsk2の開始可能時刻TS2と、終了期限時刻TC2との間で行われるので制約を満たす。   In the example illustrated in FIG. 4, the circuit operation schedule correction unit 14 corrects the start time and end time of the circuit operation period indicated by the task Tsk2 so as to be continuous with the circuit operation period indicated by the task Tsk3. Since the correction of the task Tsk2 is performed between the start possible time TS2 of the task Tsk2 and the end deadline time TC2, the restriction is satisfied.

同様に、回路動作スケジュール補正部14は、タスクTsk4で示される回路動作期間の開始時刻と終了時刻を補正して、タスクTsk5で示される回路動作期間と連続するようにしている。タスクTsk4の補正は、タスクTsk4の開始可能時刻TS4と、終了期限時刻TC4との間で行われるので制約を満たす。   Similarly, the circuit operation schedule correction unit 14 corrects the start time and end time of the circuit operation period indicated by the task Tsk4 so as to be continuous with the circuit operation period indicated by the task Tsk5. Since the correction of the task Tsk4 is performed between the start possible time TS4 of the task Tsk4 and the end deadline time TC4, the restriction is satisfied.

このような補正により、タスクTsk1とタスクTsk2間の回路停止期間は、Tsp1+Tsp2に延びる。また、タスクTsk3とタスクTsk4間の回路停止期間は、Tsp3+Tsp4に延びる。   By such correction, the circuit stop period between the task Tsk1 and the task Tsk2 is extended to Tsp1 + Tsp2. Further, the circuit stop period between the task Tsk3 and the task Tsk4 extends to Tsp3 + Tsp4.

ステップS3:次に、電源スイッチ制御部15は、補正された回路動作スケジュールにしたがって電源スイッチ12をオンまたはオフする。
ステップS2の処理で補正した回路動作スケジュールによれば、複数の回路動作期間が連続するので、電源スイッチ12の動作回数を減らすことができる。たとえば、図4で示した例の場合、タスクTsk2,Tsk3の回路動作期間を連続することで、タスクTsk2,Tsk3間に電源スイッチ12をオフし、その後オンすると動作が不要になる。
Step S3: Next, the power switch controller 15 turns the power switch 12 on or off according to the corrected circuit operation schedule.
According to the circuit operation schedule corrected in the process of step S2, a plurality of circuit operation periods are continued, so that the number of operations of the power switch 12 can be reduced. For example, in the case of the example shown in FIG. 4, if the circuit operation period of tasks Tsk2 and Tsk3 is continued, the power switch 12 is turned off between the tasks Tsk2 and Tsk3, and then turned on, the operation becomes unnecessary.

これにより、電源スイッチ12をオフからオンする際の、電源復帰時のエネルギー損失(後述の図5参照)を減らすことができ、消費電力を低減できる。
(第2の実施の形態)
図3、図4で示したようなタスク間の回路停止期間は、電源遮断期間と、次の回路動作期間を実行するために電源をオンするために要する電源復帰期間とを有する。
Thereby, when the power switch 12 is turned on from off, energy loss (see FIG. 5 described later) when the power is restored can be reduced, and power consumption can be reduced.
(Second Embodiment)
The circuit stop period between tasks as shown in FIGS. 3 and 4 includes a power shut-off period and a power return period required to turn on the power to execute the next circuit operation period.

図5は、回路の動作状態に応じた消費電力の一例を示す図である。横軸は時間、縦軸は消費電力を示している。
図5では、2つの回路動作期間と、その間の回路停止期間における電源遮断期間Toffと、電源復帰期間Tonの消費電力の様子を示している。斜線で示した領域20,21のうち、領域20は、回路への電源供給を遮断することによって得するエネルギーErを示している。領域21は、電源復帰の際に発生する電力によって損するエネルギーEmを示している。
FIG. 5 is a diagram illustrating an example of power consumption according to the operation state of the circuit. The horizontal axis represents time, and the vertical axis represents power consumption.
FIG. 5 shows power consumption during two circuit operation periods, a power shut-off period Toff during the circuit stop period, and a power recovery period Ton. Of the regions 20 and 21 indicated by hatching, the region 20 indicates energy Er obtained by cutting off the power supply to the circuit. A region 21 indicates energy Em that is lost due to electric power generated when the power is restored.

回路停止期間中に電源スイッチをオフすることによって、電源遮断期間Toff中に得するエネルギーErが、電源復帰時に消費するエネルギーEmよりも小さい場合には、電源スイッチをオフしないほうが消費電力を抑制できる。   By turning off the power switch during the circuit stop period, if the energy Er obtained during the power shut-off period Toff is smaller than the energy Em consumed when the power is restored, the power consumption can be suppressed without turning off the power switch.

以下に示す第2の実施の形態の半導体装置では、図5に示したような回路停止期間における電源復帰期間Tonを考慮して電源スイッチの制御を行う。
図6は、第2の実施の形態の半導体装置の一例を示す図である。
In the semiconductor device of the second embodiment described below, the power switch is controlled in consideration of the power recovery period Ton in the circuit stop period as shown in FIG.
FIG. 6 is a diagram illustrating an example of a semiconductor device according to the second embodiment.

図1で示した第1の実施の形態の半導体装置10と同一の要素については同一符号を付し、説明を省略する。
第2の実施の形態の半導体装置30は、回路停止期間中に電源スイッチ12をオンするか否かの判定基準時間Tminを生成する判定基準時間生成部31を有する。
The same elements as those of the semiconductor device 10 according to the first embodiment shown in FIG.
The semiconductor device 30 according to the second embodiment includes a determination reference time generation unit 31 that generates a determination reference time Tmin as to whether or not to turn on the power switch 12 during a circuit stop period.

判定基準時間生成部31は、図5に示したような回路停止期間における電源遮断期間のエネルギー利得(エネルギーEr)と、電源復帰期間のエネルギー損失(エネルギーEm)が等しくなる基準回路停止期間を、判定基準時間Tminとして生成する。   The determination reference time generation unit 31 has a reference circuit stop period in which the energy gain (energy Er) in the power cut-off period in the circuit stop period as shown in FIG. 5 is equal to the energy loss (energy Em) in the power return period. It is generated as the determination reference time Tmin.

回路動作スケジュール補正部14aは、判定基準時間生成部31で生成された判定基準時間Tminを入力して、たとえば、図4で示したように補正した回路動作スケジュールの、回路停止期間と判定基準時間Tminとを比較する。そして、回路動作スケジュール補正部14aは、回路停止期間に電源スイッチ12をオフするか否かを決定する。   The circuit operation schedule correction unit 14a receives the determination reference time Tmin generated by the determination reference time generation unit 31, and, for example, the circuit stop period and the determination reference time of the circuit operation schedule corrected as shown in FIG. Compare with Tmin. Then, the circuit operation schedule correction unit 14a determines whether or not to turn off the power switch 12 during the circuit stop period.

電源スイッチ制御部15aは、回路動作スケジュール補正部14aでの回路動作スケジュールの補正結果と、回路停止期間に電源スイッチ12をオンするか否かの決定に応じて電源スイッチ12をオンまたはオフさせる。   The power switch control unit 15a turns the power switch 12 on or off according to the correction result of the circuit operation schedule by the circuit operation schedule correction unit 14a and the determination as to whether or not to turn on the power switch 12 during the circuit stop period.

以下、半導体装置30の動作を説明する。
図7は、第2の実施の形態の半導体装置の動作の一例を示すフローチャートである。
ステップS5:ステップS5の処理は、図2に示したステップS1の処理と同じであり、回路動作スケジュール保持部13は、回路動作スケジュールを受信して保持する。
Hereinafter, the operation of the semiconductor device 30 will be described.
FIG. 7 is a flowchart illustrating an example of the operation of the semiconductor device according to the second embodiment.
Step S5: The process of step S5 is the same as the process of step S1 shown in FIG. 2, and the circuit operation schedule holding unit 13 receives and holds the circuit operation schedule.

ステップS6:判定基準時間生成部31は、判定基準時間Tminを生成して出力する。
図8は、判定基準時間Tminの一例を示す図である。横軸は回路停止期間Tsp、縦軸はエネルギーを示している。
Step S6: The determination reference time generator 31 generates and outputs a determination reference time Tmin.
FIG. 8 is a diagram illustrating an example of the determination reference time Tmin. The horizontal axis represents the circuit stop period Tsp, and the vertical axis represents energy.

図5で示した電源復帰期間Tonに消費するエネルギーEmは、回路11の電源容量の値をCp、電源電圧をVddとすると、Em=Cp×Vdd2と表せる。また、電源遮断期間Toffに電源遮断によって得するエネルギーErは、電源遮断しない場合の回路11のリーク電流をIoffとすると、Er=Vdd×Ioff×Toffと表せる。 The energy Em consumed during the power recovery period Ton shown in FIG. 5 can be expressed as Em = Cp × Vdd 2 where the value of the power supply capacity of the circuit 11 is Cp and the power supply voltage is Vdd. In addition, the energy Er obtained by power shutoff during the power shutoff period Toff can be expressed as Er = Vdd × Ioff × Toff, where Ioff is the leakage current of the circuit 11 when the power is not shut off.

ここで、Er=Em(図8で示すエネルギーEm,Erの直線の交点)となる電源遮断期間ToffをToff_minとすると、Toff_minは、Toff_min=Cp×Vdd/Ioffと表せる。したがって、判定基準時間Tminは、Tmin=Ton+Toff_minより、Tmin=Ton+VDD×Cp/Ioffと表せる。   Here, Toff_min can be expressed as Toff_min = Cp × Vdd / Ioff, where Toff_min is a power cutoff period Toff where Er = Em (intersection of energy Em and Er shown in FIG. 8). Therefore, the determination reference time Tmin can be expressed as Tmin = Ton + VDD × Cp / Ioff from Tmin = Ton + Toff_min.

ステップS7:回路動作スケジュール補正部14aは、たとえば、図4で示したように回路動作スケジュールを、複数の回路動作期間を連続するように補正するとともに、回路停止期間の電源スイッチ12のオン・オフを決定する。   Step S7: For example, as shown in FIG. 4, the circuit operation schedule correction unit 14a corrects the circuit operation schedule so that a plurality of circuit operation periods are continued, and the power switch 12 is turned on / off during the circuit stop period. To decide.

具体的には、回路動作スケジュール補正部14aは、判定基準時間生成部31で生成された判定基準時間Tminを入力して、たとえば、図4で示したように補正した回路動作スケジュールの回路停止期間と、判定基準時間Tminとを比較する。回路動作スケジュール補正部14aは、回路停止期間が判定基準時間Tminよりも長い場合には、回路11の電源を遮断した方が消費電力の削減効果が高いと判定し、電源スイッチ12をオフさせる旨の情報を出力する。逆に、回路停止期間が判定基準時間Tmin以下の場合、回路動作スケジュール補正部14aは、回路11の電源を遮断するとかえって消費電力が増加すると判定して、電源スイッチ12をオフさせない旨の情報を出力する。   Specifically, the circuit operation schedule correction unit 14a receives the determination reference time Tmin generated by the determination reference time generation unit 31, and corrects the circuit operation schedule as shown in FIG. And the determination reference time Tmin. When the circuit stop period is longer than the determination reference time Tmin, the circuit operation schedule correction unit 14a determines that the power consumption reduction effect is higher when the circuit 11 is turned off, and turns off the power switch 12. The information of is output. On the contrary, when the circuit stop period is equal to or less than the determination reference time Tmin, the circuit operation schedule correction unit 14a determines that the power consumption increases instead of shutting off the power supply of the circuit 11, and indicates that the power switch 12 is not turned off. Output.

ステップS8:その後、電源スイッチ制御部15aは、回路動作スケジュール補正部14aでの回路動作スケジュールの補正結果とともに、回路停止期間の電源スイッチ12をオフするか否かの決定に応じて電源スイッチ12を制御する。   Step S8: Thereafter, the power switch control unit 15a turns on the power switch 12 according to the determination of whether or not to turn off the power switch 12 during the circuit stop period, together with the correction result of the circuit operation schedule in the circuit operation schedule correction unit 14a. Control.

なお、ステップS6の判定基準時間の生成処理は、ステップS5の処理の前に行ってもよい。後述するように、判定基準時間の生成処理は、たとえば、独自のタイマによって制御される。   Note that the determination reference time generation process of step S6 may be performed before the process of step S5. As will be described later, the determination reference time generation process is controlled by, for example, a unique timer.

以上のような半導体装置30によれば、第1の実施の形態の半導体装置10と同様の効果を有する。さらに半導体装置30では、回路停止期間における電源復帰期間で損するエネルギーを考慮して判定基準時間を生成し、それをもとに電源スイッチ12をオフすべきか否か判定するので、電源スイッチ12をスイッチオフする判断を誤る確率を下げることができる。   The semiconductor device 30 as described above has the same effect as the semiconductor device 10 of the first embodiment. Further, in the semiconductor device 30, the determination reference time is generated in consideration of the energy lost in the power recovery period in the circuit stop period, and it is determined whether or not the power switch 12 should be turned off based on that. It is possible to reduce the probability of making an erroneous decision to turn off.

なお、半導体装置30では、回路動作スケジュールの補正によって、1回の回路停止期間を延伸することができるので、回路停止期間に電源スイッチ12をオフできる機会が増え、さらなる消費電力の削減が可能になる。   In the semiconductor device 30, one circuit stop period can be extended by correcting the circuit operation schedule. Therefore, the opportunity to turn off the power switch 12 during the circuit stop period is increased, and the power consumption can be further reduced. Become.

(第3の実施形態)
以下、第3の実施の形態として、消費電力を削減可能な半導体装置をより詳細に説明する。
(Third embodiment)
Hereinafter, a semiconductor device capable of reducing power consumption will be described in more detail as a third embodiment.

図9は、第3の実施の形態の半導体装置の一例を示す図である。
第3の実施の形態の半導体装置50は、回路60,61,62,63と、電源スイッチ70,71,72,73と、PMU(Power Management Unit)80を有しており、4つの回路60〜63に対して独立にオン・オフ制御を可能としている。なお、電源スイッチと回路の数は、4つに限定されるものではない。
FIG. 9 is a diagram illustrating an example of a semiconductor device according to the third embodiment.
The semiconductor device 50 of the third embodiment includes circuits 60, 61, 62, 63, power switches 70, 71, 72, 73, and a PMU (Power Management Unit) 80. On / off control is possible independently for .about.63. The number of power switches and circuits is not limited to four.

PMU80は、回路動作スケジュール保持部81と、回路動作スケジュール補正部82と、電源スイッチ制御予定レジスタ83と、判定基準時間生成部84と、電源スイッチ制御部85を有している。   The PMU 80 includes a circuit operation schedule holding unit 81, a circuit operation schedule correction unit 82, a power switch control schedule register 83, a determination reference time generation unit 84, and a power switch control unit 85.

電源スイッチ70〜73は、それぞれ電源スイッチ制御部85から出力される制御信号ga,gb,gc,gdによってオン・オフ制御される。また、電源スイッチ70〜73は、オン動作が終了したことを通知信号ea,eb,ec,edによってPMU80に通知する機能を有している。   The power switches 70 to 73 are on / off controlled by control signals ga, gb, gc, gd output from the power switch control unit 85, respectively. Further, the power switches 70 to 73 have a function of notifying the PMU 80 of the end of the ON operation by the notification signals ea, eb, ec, and ed.

回路動作スケジュール保持部81は、たとえば、外部の図示しないマイコンから回路動作スケジュールの情報を、タスク情報Tskとして入力して保持する。
回路動作スケジュール補正部82は、回路動作スケジュール保持部81に保持された回路動作スケジュールに対して、たとえば、図4で示したように、複数の回路動作期間を連続するように補正を行う。また、回路動作スケジュール補正部82は、判定基準時間生成部84で生成される判定基準時間Tminを入力して、回路動作スケジュールにおける回路停止期間と判定基準時間Tminとを比較する。そして、回路動作スケジュール補正部82は、回路停止期間に電源スイッチ70〜73をオフするか否かを決定する。回路動作スケジュール補正部82は、補正した回路動作スケジュールと、回路停止期間に電源スイッチ70〜73をオフするか否か決定した内容をもとに、電源スイッチ70〜73をオン・オフ制御する予定時刻データを生成する。そして、回路動作スケジュール補正部82は、予定時刻データを電源スイッチ制御予定レジスタ83に保存する。
For example, the circuit operation schedule holding unit 81 inputs and holds circuit operation schedule information as task information Tsk from an external microcomputer (not shown).
The circuit operation schedule correction unit 82 corrects the circuit operation schedule held in the circuit operation schedule holding unit 81 so that, for example, a plurality of circuit operation periods are continued as shown in FIG. Further, the circuit operation schedule correction unit 82 inputs the determination reference time Tmin generated by the determination reference time generation unit 84, and compares the circuit stop period in the circuit operation schedule with the determination reference time Tmin. Then, the circuit operation schedule correction unit 82 determines whether to turn off the power switches 70 to 73 during the circuit stop period. The circuit operation schedule correction unit 82 plans to perform on / off control of the power switches 70 to 73 based on the corrected circuit operation schedule and the content determined whether or not to turn off the power switches 70 to 73 during the circuit stop period. Generate time data. The circuit operation schedule correction unit 82 stores the scheduled time data in the power switch control schedule register 83.

電源スイッチ制御予定レジスタ83は、電源スイッチ70〜73をオン・オフ制御する予定時刻データを保存し、更に、保持された予定時刻データにしたがって、電源スイッチ制御部85へ、電源スイッチ70〜73のオン・オフ指示信号を供給する。また、電源スイッチ制御予定レジスタ83は、判定基準時間生成部84に対しても、上記のオン・オフ指示信号を供給する。   The power switch control schedule register 83 stores scheduled time data for on / off control of the power switches 70 to 73, and further supplies the power switches 70 to 73 to the power switch control unit 85 according to the stored scheduled time data. An on / off instruction signal is supplied. The power switch control schedule register 83 also supplies the above-described on / off instruction signal to the determination reference time generation unit 84.

判定基準時間生成部84は、リーク電流検出器84aと、Ton測定部84bと、Tmin生成器84cを有する。
リーク電流検出器84aは、回路60〜63におけるリーク電流の発生を模擬した模擬回路を用いて、現在の回路60〜63にて回路停止期間に発生するようなリーク電流Ioffを検出する。更に、リーク電流検出器84aは、リーク電流Ioffから、前述したエネルギーErとエネルギーEmが等しくなる電源遮断期間Toff_minを算出する。
The determination reference time generation unit 84 includes a leak current detector 84a, a Ton measurement unit 84b, and a Tmin generator 84c.
The leak current detector 84a detects a leak current Ioff that occurs in the current circuit 60 to 63 during the circuit stop period using a simulation circuit that simulates the generation of the leak current in the circuits 60 to 63. Furthermore, the leak current detector 84a calculates the power cutoff period Toff_min in which the energy Er and the energy Em described above are equal from the leak current Ioff.

Ton測定部84bは、電源スイッチ制御予定レジスタ83からオン・オフ指示信号を入力し、電源スイッチ70〜73から通知信号ea,eb,ec,edを入力する。そして、オン・オフ指示信号が入力されてから、通知信号ea,eb,ec,edが入力されるまでの時間を、電源復帰期間Tonとして出力する。   The Ton measuring unit 84b receives an on / off instruction signal from the power switch control schedule register 83, and receives notification signals ea, eb, ec, ed from the power switches 70-73. Then, the time from when the on / off instruction signal is input to when the notification signals ea, eb, ec, ed are input is output as the power recovery period Ton.

Tmin生成器84cは、図8で示したような、エネルギーErとエネルギーEmが等しくなる電源遮断期間Toff_minと、電源復帰期間Tonを加算したものを、判定基準時間Tminとして出力する。   The Tmin generator 84c outputs, as the determination reference time Tmin, the sum of the power cutoff period Toff_min in which the energy Er and the energy Em are equal and the power recovery period Ton as shown in FIG.

電源スイッチ制御部85は、電源スイッチ制御予定レジスタ83からのオン・オフ指示信号に応じて、制御信号ga,gb,gc,gdを生成し、電源スイッチ70〜73をオン・オフ制御する。   The power switch control unit 85 generates control signals ga, gb, gc, and gd in response to the on / off instruction signal from the power switch control schedule register 83, and controls the power switches 70 to 73 on and off.

なお、電源VDDは、各電源スイッチ70〜73とPMU80に接続され、電源電圧Vddが供給される。また、基準電源VSSは、回路60〜63とPMU80に接続されている。   The power supply VDD is connected to the power switches 70 to 73 and the PMU 80 and supplied with the power supply voltage Vdd. The reference power supply VSS is connected to the circuits 60 to 63 and the PMU 80.

また、PMU80にはクロック信号clkが入力される。PMU80の各部はクロック信号clkに同期して動作する。また、PMU80に入力される実動作開始信号goは、PMU80に、回路動作スケジュールの保持や補正などの実際の回路動作の前段階(準備段階)の処理を行わせるか、実際の回路動作を行わせるか指定するための信号である(詳細は後述する)。実動作開始信号goは、たとえば、外部の図示しないマイコンから入力される。   The clock signal clk is input to the PMU 80. Each part of the PMU 80 operates in synchronization with the clock signal clk. In addition, the actual operation start signal go input to the PMU 80 causes the PMU 80 to perform processing before the actual circuit operation (preparation stage) such as holding and correction of the circuit operation schedule, or to perform actual circuit operation. This is a signal for designating whether or not to be performed (details will be described later). The actual operation start signal go is input from, for example, an external microcomputer (not shown).

以下、半導体装置50の要部の詳細を説明する。
(リーク電流検出器84aの詳細)
まず、判定基準時間Tminを生成する上で、リーク電流Ioffを考慮する理由を説明する。
Hereinafter, the details of the main part of the semiconductor device 50 will be described.
(Details of leak current detector 84a)
First, the reason for considering the leakage current Ioff in generating the determination reference time Tmin will be described.

図10は、使用環境が高温時の回路動作に応じた消費電力の一例を示す図である。また、図11は、使用環境が低温時の回路動作に応じた消費電力の一例を示す図である。図10、図11において、上側のグラフが回路停止期間も電源スイッチ70〜73をオンした場合の消費電力、下側のグラフが回路停止期間に電源スイッチ70〜73をオフした場合の消費電力の様子を示している。横軸は時間、縦軸は消費電力を示している。   FIG. 10 is a diagram illustrating an example of power consumption according to circuit operation when the usage environment is high. FIG. 11 is a diagram illustrating an example of power consumption corresponding to circuit operation when the usage environment is low. 10 and 11, the upper graph shows the power consumption when the power switches 70 to 73 are turned on even during the circuit stop period, and the lower graph shows the power consumption when the power switches 70 to 73 are turned off during the circuit stop period. It shows a state. The horizontal axis represents time, and the vertical axis represents power consumption.

リーク電流Ioffは、回路60〜63の使用環境(特に温度)によって大きく変動する。たとえば、使用環境が高温の場合にはリーク電流Ioffが多く、図10の下側に示したように、エネルギーErが大きくなる。そのため、回路停止期間に電源スイッチ70〜73をオンしたままにするよりも、オフにしてエネルギーErを消費しないようにした方がよい。一方、使用環境が低温の場合には、リーク電流Ioffは少なく、図11の下側に示したように、エネルギーErが小さく、損するエネルギーEmの方が大きくなる。そのため、回路停止期間に電源スイッチ70〜73をオフするよりも、図11の上側のように、電源スイッチ70〜73をオンにしたままにした方がよい。   The leakage current Ioff varies greatly depending on the usage environment (particularly temperature) of the circuits 60 to 63. For example, when the usage environment is high, the leakage current Ioff is large, and the energy Er is large as shown in the lower side of FIG. Therefore, it is better to turn off the power switch 70 to 73 so that the energy Er is not consumed than to keep the power switch 70 to 73 turned on during the circuit stop period. On the other hand, when the usage environment is low, the leakage current Ioff is small, and as shown in the lower side of FIG. 11, the energy Er is small, and the loss energy Em is large. Therefore, it is better to keep the power switches 70 to 73 on as shown in the upper side of FIG. 11 than to turn off the power switches 70 to 73 during the circuit stop period.

つまり、判定基準時間Tminを生成する上では、動作環境によって変化するリーク電流Ioffを考慮することが望ましい。
図12は、リーク電流検出器の一例を示す図である。
That is, in generating the determination reference time Tmin, it is desirable to consider the leakage current Ioff that varies depending on the operating environment.
FIG. 12 is a diagram illustrating an example of a leak current detector.

リーク電流検出器84aは、タイマ90と、差動アンプ91と、カウンタ92と、容量Cpdを有する。更に、リーク電流検出器84aは、pチャネル型MOSFET(Metal-Oxide Semiconductor Field Effect Transistor)(以下PMOSトランジスタという)Pct,Pmdと、nチャネル型MOSFET(以下NMOSトランジスタという)Nmdを有する。   The leak current detector 84a has a timer 90, a differential amplifier 91, a counter 92, and a capacitor Cpd. Furthermore, the leak current detector 84a includes p-channel MOSFETs (Metal-Oxide Semiconductor Field Effect Transistors) (hereinafter referred to as PMOS transistors) Pct and Pmd, and n-channel MOSFETs (hereinafter referred to as NMOS transistors) Nmd.

容量Cpdは、回路60〜63の電源容量を模擬したものであり、たとえば、実際の電源容量の1/100程度の容量値が設定される。容量Cpdは、差動アンプ91の負入力端子(以下モニタ端子premという)と、基準電源VSSの間に接続されている。   The capacitance Cpd is a simulation of the power supply capacity of the circuits 60 to 63, and is set to a capacity value of about 1/100 of the actual power supply capacity, for example. The capacitor Cpd is connected between the negative input terminal (hereinafter referred to as the monitor terminal prem) of the differential amplifier 91 and the reference power supply VSS.

NMOSトランジスタNmdとPMOSトランジスタPmdは、リーク電流Ioffが流れる回路60〜63を模擬する模擬回路として機能する。NMOSトランジスタNmdとPMOSトランジスタPmdは、たとえば、実際のリーク電流Ioffの1/100程度のリーク電流を発生するように設計される。   The NMOS transistor Nmd and the PMOS transistor Pmd function as a simulation circuit that simulates the circuits 60 to 63 through which the leakage current Ioff flows. The NMOS transistor Nmd and the PMOS transistor Pmd are designed to generate a leakage current that is about 1/100 of the actual leakage current Ioff, for example.

NMOSトランジスタNmdのドレインはモニタ端子premに接続され、ソース及びゲートは基準電源VSSに接続されている。PMOSトランジスタPmdのソース及びゲートはモニタ端子premに接続され、ドレインは基準電源VSSに接続されている。   The drain of the NMOS transistor Nmd is connected to the monitor terminal prem, and the source and gate are connected to the reference power supply VSS. The source and gate of the PMOS transistor Pmd are connected to the monitor terminal prem, and the drain is connected to the reference power supply VSS.

PMOSトランジスタPctは、エネルギーErとエネルギーEmが等しくなる電源遮断期間Toff_minを測定するための準備段階として、容量Cpdを充電(プリチャージ)するためのものである。PMOSトランジスタPctのソースは電源VDDと接続され、ゲートにはタイマ90からの信号cntが入力される。ドレインはモニタ端子premに接続されている。   The PMOS transistor Pct is for charging (precharging) the capacitor Cpd as a preparatory stage for measuring the power cutoff period Toff_min in which the energy Er and the energy Em are equal. The source of the PMOS transistor Pct is connected to the power supply VDD, and the signal cnt from the timer 90 is input to the gate. The drain is connected to the monitor terminal prem.

タイマ90は、リーク電流値の温度変化などに追従するため、定期的(たとえば、約1秒間に1回の割合)に、1ショットのLレベルのパルスの信号cntを発生し、PMOSトランジスタPct及びカウンタ92に対して出力する。   The timer 90 generates a signal cnt of an L level pulse of one shot periodically (for example, at a rate of about once per second) in order to follow the temperature change of the leakage current value, etc., and the PMOS transistor Pct and Output to the counter 92.

差動アンプ91は、電源遮断期間Toff_minを測定する際に、NMOSトランジスタNmdとPMOSトランジスタPmdが流すリーク電流によって容量Cpdが十分に放電(ディスチャージ)されたか否かを検知する。そして、差動アンプ91は、その結果を信号moutとしてカウンタ92に出力する。差動アンプ91の正入力端子は、基準電源VSSに接続されている。   When measuring the power cutoff period Toff_min, the differential amplifier 91 detects whether or not the capacitor Cpd is sufficiently discharged (discharged) by a leak current flowing through the NMOS transistor Nmd and the PMOS transistor Pmd. Then, the differential amplifier 91 outputs the result to the counter 92 as a signal mout. The positive input terminal of the differential amplifier 91 is connected to the reference power supply VSS.

カウンタ92は、タイマ90からの信号cntがLレベルからHレベルに遷移してから、信号moutが反転するまでの時間を測定する。具体的には、カウンタ92は、クロック信号clkを入力し、信号cntがHレベルに遷移してから、信号moutが反転するまでのクロック数を、エネルギーEr,Emが等しくなる電源遮断期間Toff_minとして出力する。   The counter 92 measures the time from when the signal cnt from the timer 90 changes from L level to H level until the signal mout is inverted. Specifically, the counter 92 receives the clock signal clk, and the number of clocks from when the signal cnt transitions to the H level until the signal mout is inverted is defined as a power cutoff period Toff_min in which the energy Er and Em are equal. Output.

図13は、リーク電流検出器の一例の動作を示すタイミングチャートである。上から、信号cnt、モニタ端子premの電位、信号moutの状態を示している。
まず、タイマ90が、1ショットのLレベルのパルスの信号cntを出力すると、そのパルス期間中にPMOSトランジスタPctがオンし、モニタ端子premに接続される容量Cpdが、電源電圧Vddまで充電される。これによって、モニタ端子premの電位が引き上げられる。その後、信号cntがHレベルに戻ると、PMOSトランジスタPctがオフし、PMOSトランジスタPmd及びNMOSトランジスタNmdのリーク電流によって容量Cpdの電荷が放電され始め、モニタ端子premの電位が下がり始める。
FIG. 13 is a timing chart showing the operation of an example of the leak current detector. From the top, the signal cnt, the potential of the monitor terminal prem, and the state of the signal mout are shown.
First, when the timer 90 outputs a one-shot L-level pulse signal cnt, the PMOS transistor Pct is turned on during the pulse period, and the capacitor Cpd connected to the monitor terminal prem is charged to the power supply voltage Vdd. . As a result, the potential of the monitor terminal prem is raised. Thereafter, when the signal cnt returns to the H level, the PMOS transistor Pct is turned off, the charge of the capacitor Cpd starts to be discharged by the leakage current of the PMOS transistor Pmd and the NMOS transistor Nmd, and the potential of the monitor terminal prem starts to decrease.

モニタ端子premの電位が所定のレベル(たとえば基準電位)まで下がると、差動アンプ91がそれを検出して、信号moutを反転させる。図13に示すように、高温時ではリーク電流が多く、モニタ端子premの電位は速く引き下がり、低温時よりも早く信号moutが反転する。したがって、高温時の電源遮断期間Toff_minは低温時のものよりも短くなる。   When the potential of the monitor terminal prem drops to a predetermined level (for example, a reference potential), the differential amplifier 91 detects it and inverts the signal mout. As shown in FIG. 13, the leakage current is large at a high temperature, the potential of the monitor terminal prem is quickly lowered, and the signal mout is inverted earlier than at a low temperature. Therefore, the power cutoff period Toff_min at the high temperature is shorter than that at the low temperature.

タイマ90が、再び1ショットのLレベルのパルスの信号cntを出力すると、同様の処理が行われる。
(電源スイッチ70、Ton測定部84b及び電源スイッチ制御部85の詳細)
図14は、電源スイッチの一例と、その周辺部の詳細を示す図である。
When the timer 90 outputs the signal cnt of the L level pulse for one shot again, the same processing is performed.
(Details of the power switch 70, the Ton measuring unit 84b, and the power switch control unit 85)
FIG. 14 is a diagram illustrating an example of a power switch and details of the peripheral portion thereof.

ここでは、回路60と電源VDDの間に設けられた電源スイッチ70の一例を示している。他の電源スイッチ71〜73についても同様の回路が用いられる。容量CpAは、図9では図示を省略していたが、回路60の電源容量を示している。   Here, an example of the power switch 70 provided between the circuit 60 and the power supply VDD is shown. Similar circuits are used for the other power switches 71 to 73. Although not shown in FIG. 9, the capacitor CpA indicates the power supply capacitor of the circuit 60.

電源スイッチ70は、それぞれスイッチとして機能する複数のPMOSトランジスタsw1,sw2,sw3,sw4,…,swnに分割されている。各PMOSトランジスタsw1〜swnのゲートへは電源スイッチ制御部85からの制御信号gaが、1または複数の遅延回路93により遅延されて入力され、PMOSトランジスタsw1〜swnがオンするタイミングがずれるようになっている。これにより、電源オン時の突入電流(容量CpAへの充電電流)が一気に流れ込まないように制御される。   The power switch 70 is divided into a plurality of PMOS transistors sw1, sw2, sw3, sw4,. A control signal ga from the power switch controller 85 is input to the gates of the PMOS transistors sw1 to swn after being delayed by one or a plurality of delay circuits 93, and the timing at which the PMOS transistors sw1 to swn are turned on is shifted. ing. As a result, the inrush current (charging current to the capacitor CpA) when the power is turned on is controlled so as not to flow at once.

図15は、電源復帰期間の測定例を示すタイミングチャートである。
図15では、図9で示した電源スイッチ制御予定レジスタ83からの回路60のオン・オフ指示信号order_aと、PMOSトランジスタsw1〜swnのゲート信号が示されている。
FIG. 15 is a timing chart showing an example of measurement of the power recovery period.
FIG. 15 shows the on / off instruction signal order_a of the circuit 60 from the power switch control schedule register 83 shown in FIG. 9 and the gate signals of the PMOS transistors sw1 to swn.

Ton測定部84bにはクロック信号clk(図15では図示を省略)と、オン・オフ指示信号order_aが入力される。また電源スイッチ制御部85にも、オン・オフ指示信号order_aが入力される。   A clock signal clk (not shown in FIG. 15) and an on / off instruction signal order_a are input to the Ton measuring unit 84b. The power switch controller 85 also receives an on / off instruction signal order_a.

Ton測定部84bは、図12で示したようなリーク電流検出器84aと同様のカウンタを有し、図15に示すように回路60をオンさせる旨のオン・オフ指示信号order_aが入力されるとカウントを開始する。一方、このとき電源スイッチ制御部85は、Lレベルの制御信号gaを出力する。制御信号gaは、PMOSトランジスタsw1のゲートに入力されるとともに、遅延回路93により遅延されて各PMOSトランジスタsw2〜swnのゲートに入力される。これにより、図14中左側のPMOSトランジスタsw1〜swnから順番にオンされていき、電源ノイズが発生しないように、ゆっくりと容量CpAが充電されていく。   The Ton measuring unit 84b has the same counter as the leak current detector 84a as shown in FIG. 12, and when an on / off instruction signal order_a for turning on the circuit 60 is input as shown in FIG. Start counting. On the other hand, at this time, the power switch control unit 85 outputs an L level control signal ga. The control signal ga is input to the gate of the PMOS transistor sw1, and is delayed by the delay circuit 93 and input to the gates of the PMOS transistors sw2 to swn. As a result, the PMOS transistors sw1 to swn on the left side in FIG. 14 are sequentially turned on, and the capacitor CpA is slowly charged so that power supply noise does not occur.

PMOSトランジスタswnのゲートに入力される信号がLレベルになると、全てのPMOSトランジスタsw1〜swnがオンすることになり、回路60の動作が開始される。   When the signal input to the gate of the PMOS transistor swn becomes L level, all the PMOS transistors sw1 to swn are turned on, and the operation of the circuit 60 is started.

また、PMOSトランジスタswnに入力される信号が、通知信号eaとしてTon測定部84bに入力される。Ton測定部84bは、通知信号eaがLレベルになるとカウントを停止し、カウント結果を、回路60の電源復帰期間Ton_aとして出力する。すなわち、Ton測定部84bは、電源復帰期間Ton_aとして、クロック信号clkの周期で正規化した値を出力する。   Further, a signal input to the PMOS transistor swn is input to the Ton measuring unit 84b as the notification signal ea. The Ton measurement unit 84b stops counting when the notification signal ea becomes L level, and outputs the count result as the power supply return period Ton_a of the circuit 60. That is, the Ton measuring unit 84b outputs a value normalized with the period of the clock signal clk as the power recovery period Ton_a.

(Tmin生成器84cの詳細)
図16は、Tmin生成器の一例を示す図である。
Tmin生成器84cは、加算器94a,94b,94c,94dを有する。
(Details of Tmin generator 84c)
FIG. 16 is a diagram illustrating an example of a Tmin generator.
The Tmin generator 84c includes adders 94a, 94b, 94c, and 94d.

Tmin生成器84cは、リーク電流検出器84aから電源遮断期間Toff_minを入力し、Ton測定部84bから各回路60〜63の電源復帰期間Ton_a,Ton_b,Ton_c,Ton_dを入力する。   The Tmin generator 84c inputs the power cutoff period Toff_min from the leak current detector 84a, and inputs the power recovery periods Ton_a, Ton_b, Ton_c, Ton_d of the circuits 60 to 63 from the Ton measuring unit 84b.

加算器94aは、電源遮断期間Toff_minと、回路60の電源復帰期間Ton_aを加算して、判定基準時間Tmin_aを出力する。加算器94bは、電源遮断期間Toff_minと、回路61の電源復帰期間Ton_bを加算して、判定基準時間Tmin_bを出力する。加算器94cは、電源遮断期間Toff_minと、回路62の電源復帰期間Ton_cを加算して、判定基準時間Tmin_cを出力する。加算器94dは、電源遮断期間Toff_minと、回路63の電源復帰期間Ton_dを加算して、判定基準時間Tmin_dを出力する。   The adder 94a adds the power cutoff period Toff_min and the power recovery period Ton_a of the circuit 60, and outputs a determination reference time Tmin_a. The adder 94b adds the power cutoff period Toff_min and the power recovery period Ton_b of the circuit 61, and outputs a determination reference time Tmin_b. The adder 94c adds the power cutoff period Toff_min and the power recovery period Ton_c of the circuit 62, and outputs a determination reference time Tmin_c. The adder 94d adds the power cutoff period Toff_min and the power recovery period Ton_d of the circuit 63, and outputs a determination reference time Tmin_d.

以上のようにして、Tmin生成器84cは、図8で示したような判定基準時間Tminを、各回路60〜63ごとに生成する。
(回路動作スケジュール保持部81の詳細)
図17は、回路動作スケジュール保持部の一例を示す図である。
As described above, the Tmin generator 84c generates the determination reference time Tmin as shown in FIG. 8 for each of the circuits 60 to 63.
(Details of the circuit operation schedule holding unit 81)
FIG. 17 is a diagram illustrating an example of the circuit operation schedule holding unit.

回路動作スケジュール保持部81は、回路60〜63の回路動作スケジュールを保持するタスクレジスタ群rg1,rg2,rg3,rg4を有している。たとえば、タスクレジスタ群rg1は回路60用として用いられ、タスクレジスタ群rg2は回路61用として用いられ、タスクレジスタ群rg3は回路62用として用いられ、タスクレジスタ群rg4は回路63用として用いられる。   The circuit operation schedule holding unit 81 includes task register groups rg1, rg2, rg3, and rg4 that hold circuit operation schedules of the circuits 60 to 63. For example, the task register group rg1 is used for the circuit 60, the task register group rg2 is used for the circuit 61, the task register group rg3 is used for the circuit 62, and the task register group rg4 is used for the circuit 63.

各タスクレジスタ群rg1〜rg4は、タスクN1,N2,N3,…,Nnの開始可能時刻TS1〜TSn、処理時間TD1〜TDn、終了期限時刻TC1〜TCnを保持する。   Each of the task register groups rg1 to rg4 holds startable times TS1 to TSn, processing times TD1 to TDn, and end deadline times TC1 to TCn of the tasks N1, N2, N3,.

図18は、回路動作スケジュール保持部の動作の一例を示すタイミングチャートである。
回路動作スケジュール保持部81は、実動作開始信号goがLレベルである期間に、タスク情報Tskを、たとえば、外部の図示しないマイコンより受信する。このとき、1クロックごとに1番目のタスクN1から順にタスク情報Tskとして、開始可能時刻TS1〜TSn、処理時間TD1〜TDn、終了期限時刻TC1〜TCnが受信される。回路60用のタスク情報Tskの受信が終わると、続いて、回路61,62,63用のタスク情報Tskが同様に受信される。受信された各タスク情報Tskは、順々に対応するタスクレジスタ群rg1〜rg4のレジスタに保持される。実動作開始信号goがHレベルになると、回路動作スケジュール保持部81は、タスク情報Tskの受信を停止し、タスクレジスタ群rg1〜rg4の情報を保持する。
FIG. 18 is a timing chart illustrating an example of the operation of the circuit operation schedule holding unit.
The circuit operation schedule holding unit 81 receives the task information Tsk from, for example, an external microcomputer (not shown) during the period when the actual operation start signal go is at the L level. At this time, startable times TS1 to TSn, processing times TD1 to TDn, and end deadline times TC1 to TCn are received as task information Tsk in order from the first task N1 every clock. When the reception of the task information Tsk for the circuit 60 is completed, the task information Tsk for the circuits 61, 62, and 63 is similarly received. The received task information Tsk is sequentially held in the registers of the corresponding task register groups rg1 to rg4. When the actual operation start signal go becomes H level, the circuit operation schedule holding unit 81 stops receiving the task information Tsk and holds the information of the task register groups rg1 to rg4.

(電源スイッチ制御予定レジスタ83の詳細)
図19は、電源スイッチ制御予定レジスタの一例を示す図である。
電源スイッチ制御予定レジスタ83は、レジスタ群srg1,srg2,srg3,srg4と、リアルタイムカウンタ95と、データ比較器96a,96b,96c,96dを有している。
(Details of power switch control schedule register 83)
FIG. 19 is a diagram illustrating an example of the power switch control schedule register.
The power switch control schedule register 83 includes register groups srg1, srg2, srg3, srg4, a real-time counter 95, and data comparators 96a, 96b, 96c, and 96d.

レジスタ群srg1は、回路動作スケジュール補正部82から出力される電源スイッチ70のスイッチオン・オフの予定時刻データpln_aに含まれる時刻値を保持する。レジスタ群srg2は、電源スイッチ71のスイッチオン・オフの予定時刻データpln_bに含まれる時刻値を保持する。レジスタ群srg3は、電源スイッチ72のスイッチオン・オフの予定時刻データpln_cに含まれる時刻値を保持する。レジスタ群srg4は、電源スイッチ73のスイッチオン・オフの予定時刻データpln_dに含まれる時刻値を保持する。   The register group srg1 holds a time value included in the scheduled switch-on / off time data pln_a of the power switch 70 output from the circuit operation schedule correction unit 82. The register group srg2 holds a time value included in the scheduled time data pln_b for turning on / off the power switch 71. The register group srg3 holds a time value included in the scheduled time data pln_c for turning on / off the power switch 72. The register group srg4 holds a time value included in the scheduled time data pln_d for switching on / off of the power switch 73.

レジスタ群srg1〜srg4への、予定時刻データpln_a,pln_b,pln_c,pln_dの格納は、実際の回路動作の前段階である実動作開始信号goがLレベルの際に行われる。   The scheduled time data pln_a, pln_b, pln_c, and pln_d are stored in the register groups srg1 to srg4 when the actual operation start signal go, which is the previous stage of the actual circuit operation, is at the L level.

リアルタイムカウンタ95は、実動作開始信号goがHレベルになると、クロック信号clkのカウントを介して、カウント値countをデータ比較器96a,96b,96c,96dに入力する。   When the actual operation start signal go becomes H level, the real time counter 95 inputs the count value count to the data comparators 96a, 96b, 96c, and 96d via the count of the clock signal clk.

データ比較器96a,96b,96c,96dは、各レジスタ群srg1〜srg4のレジスタRA1,RA2,RA3,…,RAnに保持されているスイッチオン・オフの時刻値と、カウント値countとを比較する。両者が一致した場合に、データ比較器96a,96b,96c,96dは、オン・オフ指示信号order_a,order_b,order_c,order_dを反転させる。つまり、データ比較器96a,96b,96c,96dは、電源スイッチ70〜73の前の状態がオフ状態であればオンさせるように指示し、前の状態がオン状態であればオフさせるように指示する。   The data comparators 96a, 96b, 96c, and 96d compare the switch on / off time values held in the registers RA1, RA2, RA3,..., RAn of the register groups srg1 to srg4 with the count value count. . When the two match, the data comparators 96a, 96b, 96c, 96d invert the on / off instruction signals order_a, order_b, order_c, order_d. That is, the data comparators 96a, 96b, 96c, and 96d instruct to turn on if the previous state of the power switches 70 to 73 is off, and turn off if the previous state is on. To do.

図20は、電源スイッチ制御予定レジスタの一例の動作の様子を示すタイミングチャートである。
図20では、クロック信号clk、実動作開始信号go、カウント値count、データ比較器96aから出力されるオン・オフ指示信号order_aの様子が示されている。実動作開始信号goがLレベルのときには、リアルタイムカウンタ95は停止しており、カウント値countは0のままである。このとき、レジスタ群srg1〜srg4への、予定時刻データpln_a,pln_b,pln_c,pln_dの格納が行われる。
FIG. 20 is a timing chart showing the operation of an example of the power switch control schedule register.
FIG. 20 shows the state of the clock signal clk, the actual operation start signal go, the count value count, and the on / off instruction signal order_a output from the data comparator 96a. When the actual operation start signal go is at L level, the real-time counter 95 is stopped and the count value count remains zero. At this time, the scheduled time data pln_a, pln_b, pln_c, and pln_d are stored in the register groups srg1 to srg4.

実動作開始信号goがHレベルになると、リアルタイムカウンタ95は動作を開始し、カウント値countは、クロック信号clkに同期してインクリメントされる。カウント値countが、たとえば、レジスタ群srg1のレジスタRA1〜RAnの何れかの値に達した場合には、データ比較器96aは、オン・オフ指示信号order_aを反転する。図20の例は、カウント値countがレジスタRA1,RA2,RA3の値に達した場合、オン・オフ指示信号order_aは、オフを指示する状態からオンを指示する状態、またはオフを指示する状態からオンを指示する状態へ反転している。また、実動作開始信号goがLレベルになると、リアルタイムカウンタ95はリセットされ、また、オン・オフ指示信号order_aはオフを指示する状態となる。   When the actual operation start signal go becomes H level, the real time counter 95 starts operation, and the count value count is incremented in synchronization with the clock signal clk. For example, when the count value count reaches any one of the registers RA1 to RAn of the register group srg1, the data comparator 96a inverts the on / off instruction signal order_a. In the example of FIG. 20, when the count value count reaches the values of the registers RA1, RA2, and RA3, the on / off instruction signal order_a is changed from the state instructing to turn off from the state instructing to turn off. It is reversed to the state that indicates ON. When the actual operation start signal go becomes L level, the real-time counter 95 is reset, and the on / off instruction signal order_a is instructed to turn off.

このようにして、電源スイッチ制御予定レジスタ83に格納された時刻値にしたがって、電源スイッチ制御部85では、実際の電源スイッチ70〜73のオン・オフ動作が行われる。   In this way, according to the time value stored in the power switch control schedule register 83, the power switch control unit 85 performs the actual on / off operation of the power switches 70 to 73.

(回路動作スケジュール補正部82の詳細)
以下に、回路動作スケジュール保持部81に保持されたタスク情報Tskによる回路動作スケジュールの一例を示す。
(Details of the circuit operation schedule correction unit 82)
Hereinafter, an example of the circuit operation schedule based on the task information Tsk held in the circuit operation schedule holding unit 81 is shown.

図21は、回路動作スケジュールの一例を示す図である。
横軸は時間である。図21では、各回路60〜63においてタスクN1〜N4を実行する場合の回路動作スケジュールが示されている。図21中で斜線部は、予定された回路停止期間を示している。
FIG. 21 is a diagram illustrating an example of a circuit operation schedule.
The horizontal axis is time. FIG. 21 shows a circuit operation schedule when the tasks N1 to N4 are executed in the circuits 60 to 63, respectively. In FIG. 21, the shaded area indicates a scheduled circuit stop period.

短い回路停止期間が多い場合、電源スイッチ70〜73をオフするための基準である判定基準時間Tminを上回らず、電源スイッチ70〜73をオフできる機会が少なくなる可能性がある。   When there are many short circuit stop periods, there is a possibility that the determination reference time Tmin, which is a reference for turning off the power switches 70 to 73, is not exceeded, and the opportunity for turning off the power switches 70 to 73 may be reduced.

そのため、回路動作スケジュール補正部82は、図4で示したように複数のタスクを連続するように回路動作期間の開始時刻と終了時刻を補正する。これにより、回路停止期間が延伸する。前述したように開始時刻と終了時刻を補正する際には、制約がある。すなわち、タスク情報Tskで受信されるタスクの開始可能時刻TS1〜TSnと終了期限時刻TC1〜TCnの間に処理を開始し、データ処理を行い、処理を終了するという制約である。この制約の範囲内で、回路動作スケジュールの補正が行われる。   Therefore, the circuit operation schedule correction unit 82 corrects the start time and end time of the circuit operation period so that a plurality of tasks are continued as shown in FIG. This extends the circuit stop period. As described above, there are restrictions in correcting the start time and end time. In other words, there is a constraint that processing is started between the task startable times TS1 to TSn and end deadline times TC1 to TCn received by the task information Tsk, data processing is performed, and processing is ended. The circuit operation schedule is corrected within this constraint.

図22は、回路スケジュール補正の例と、予定時刻データの一例を示す図である。
横軸は時間である。図22の上側には、回路動作スケジュール補正の例が示されている。回路動作スケジュール補正部82は、奇数番目のタスクN3,N5の開始時刻と終了時刻を遅くして、偶数番目のタスクN4,N6と連続してデータ処理が行われるように補正している。
FIG. 22 is a diagram illustrating an example of circuit schedule correction and an example of scheduled time data.
The horizontal axis is time. An example of circuit operation schedule correction is shown on the upper side of FIG. The circuit operation schedule correction unit 82 corrects the data processing to be performed continuously with the even-numbered tasks N4 and N6 by delaying the start time and end time of the odd-numbered tasks N3 and N5.

このように補正された回路動作スケジュールをもとに、回路動作スケジュール補正部82は、各回路停止期間と、判定基準時間Tminとを比較する。そして、回路動作スケジュール補正部82は、判定基準時間Tminよりも長い回路停止期間の際には、電源スイッチ70〜73をオフさせる旨の予定時刻データpln_a,pln_b,pln_c,pln_dを生成する。回路動作スケジュール補正部82は、判定基準時間Tminよりも短い回路停止期間の際には、電源スイッチ70〜73をオンさせたままにする予定時刻データpln_a,pln_b,pln_c,pln_dを生成する。   Based on the circuit operation schedule corrected in this way, the circuit operation schedule correction unit 82 compares each circuit stop period with the determination reference time Tmin. The circuit operation schedule correction unit 82 generates scheduled time data pln_a, pln_b, pln_c, and pln_d for turning off the power switches 70 to 73 during a circuit stop period longer than the determination reference time Tmin. The circuit operation schedule correction unit 82 generates scheduled time data pln_a, pln_b, pln_c, and pln_d for keeping the power switches 70 to 73 turned on during a circuit stop period shorter than the determination reference time Tmin.

図22の下側に示す例では、回路60に対する予定時刻データpln_aが示されている。図22に示す例では、回路停止期間Tsp2+Tsp3は、判定基準時間Tminよりも長いと判断され、電源スイッチ70をオフさせる旨の予定時刻データpln_aが生成されている。一方、回路停止期間Tsp4+Tsp5は、判定基準時間Tminよりも短いと判断され、電源スイッチ70をオンさせたままにする予定時刻データpln_aが生成されている。   In the example shown on the lower side of FIG. 22, the scheduled time data pln_a for the circuit 60 is shown. In the example shown in FIG. 22, it is determined that the circuit stop period Tsp2 + Tsp3 is longer than the determination reference time Tmin, and the scheduled time data pln_a for turning off the power switch 70 is generated. On the other hand, the circuit stop period Tsp4 + Tsp5 is determined to be shorter than the determination reference time Tmin, and the scheduled time data pln_a for keeping the power switch 70 on is generated.

なお、回路動作スケジュール補正部82は、電源スイッチ70のオフ状態からオン状態に復帰する際には、各タスクの開始時刻より電源復帰期間Ton_a分早く、電源スイッチ70をオンするようにスケジューリングする。こうすることによって、たとえば、図22中の2番目のタスクN2の意図した開始時間から遅延することなく、タスクN2のデータ処理をスムーズに開始することができる。   When the power switch 70 returns from the off state to the on state, the circuit operation schedule correction unit 82 schedules the power switch 70 to be turned on earlier than the start time of each task by the power return period Ton_a. By doing so, for example, the data processing of the task N2 can be started smoothly without delay from the intended start time of the second task N2 in FIG.

図23は、4つの回路における回路動作スケジュールの補正例と予定時刻データの一例を示す図である。
横軸は時間である。図23の上側では、回路60〜63における回路動作スケジュールの補正例が示されている。タスクN1,N2と、タスクN3,N4がそれぞれ連続して行われるように補正された例が示されている。図23の下側では、予定時刻データpln_a,pln_b,pln_c,pln_dの一例が示されている。前述したように、オフ状態からオン状態に復帰する際には、電源復帰期間Ton_a,Ton_b,Ton_c,Ton_d分だけ早く、電源スイッチ70〜73がオンするようにスケジューリングされている。
FIG. 23 is a diagram illustrating an example of correction of a circuit operation schedule and an example of scheduled time data in four circuits.
The horizontal axis is time. On the upper side of FIG. 23, a correction example of the circuit operation schedule in the circuits 60 to 63 is shown. An example is shown in which the tasks N1 and N2 and the tasks N3 and N4 are corrected so as to be performed successively. On the lower side of FIG. 23, an example of scheduled time data pln_a, pln_b, pln_c, and pln_d is shown. As described above, when returning from the off state to the on state, the power switches 70 to 73 are scheduled to be turned on earlier by the power return periods Ton_a, Ton_b, Ton_c, and Ton_d.

タスクN2とタスクN3の間を回路停止期間Tspa,Tspb,Tspc,Tspdとした場合、回路動作スケジュール補正部82は、これらと、回路60〜63における判定基準時間Tmin_a,Tmin_b,Tmin_c,Tmin_dとを比較する。   When the circuit stop periods Tspa, Tspb, Tspc, and Tspd are set between the task N2 and the task N3, the circuit operation schedule correction unit 82 sets these and the determination reference times Tmin_a, Tmin_b, Tmin_c, and Tmin_d in the circuits 60 to 63. Compare.

図23の例では、Tspa>Tmin_a、Tspb>Tmin_b、Tspc>Tmin_c、Tspd>Tmin_dであった場合について示されている。この場合、回路動作スケジュール補正部82は、回路60の回路停止期間Tspaで、回路60の電源供給をオフさせる旨の予定時刻データpln_aを出力する。また、回路動作スケジュール補正部82は、回路61,63の回路停止期間Tspb,Tspdで、回路61,63の電源供給をオフさせる旨の予定時刻データpln_b,pln_dを出力する。一方、回路動作スケジュール補正部82は、回路62の回路停止期間Tspcでは、回路62の電源供給をオンさせたままにする予定時刻データpln_cを出力する。   In the example of FIG. 23, a case where Tspa> Tmin_a, Tspb> Tmin_b, Tspc> Tmin_c, and Tspd> Tmin_d is shown. In this case, the circuit operation schedule correction unit 82 outputs the scheduled time data pln_a for turning off the power supply of the circuit 60 during the circuit stop period Tspa of the circuit 60. The circuit operation schedule correction unit 82 outputs scheduled time data pln_b and pln_d for turning off the power supply to the circuits 61 and 63 during the circuit stop periods Tspb and Tspd of the circuits 61 and 63. On the other hand, the circuit operation schedule correction unit 82 outputs the scheduled time data pln_c that keeps the power supply of the circuit 62 turned on during the circuit stop period Tspc of the circuit 62.

図24は、回路60に関して回路動作スケジュールを補正する場合の回路動作スケジュール補正部の入出力データの一例を示す図である。
回路動作スケジュール補正部82は、図17で示したようなタスクレジスタ群rg1に格納された各タスクN1〜Nnの、開始可能時刻TS1〜TSn、処理時間TD1〜TDn、終了期限時刻TC1〜TCnを入力する。そして、回路動作スケジュール補正部82は、たとえば、奇数番目のタスクN1,N3の終了時刻が、次のタスクN2,N4の開始時刻と連続するように、タスクN1,N3の開始時刻を遅らせる。
FIG. 24 is a diagram illustrating an example of input / output data of the circuit operation schedule correction unit when the circuit operation schedule is corrected with respect to the circuit 60.
The circuit operation schedule correction unit 82 calculates startable times TS1 to TSn, processing times TD1 to TDn, and end deadline times TC1 to TCn of the tasks N1 to Nn stored in the task register group rg1 as shown in FIG. input. Then, for example, the circuit operation schedule correction unit 82 delays the start times of the tasks N1 and N3 so that the end times of the odd-numbered tasks N1 and N3 are continuous with the start times of the next tasks N2 and N4.

タスクにおけるデータ処理の開始時刻は、m番目(mは奇数)のタスクであれば、TCm−TDmとなる。また、補正の結果、1回当たりの回路停止期間は延伸し、たとえば、図24に示すように、タスクN2の終了時刻から、タスクN3の開始時刻までに発生する回路停止期間Tspaは、Tspa=TC3−TD3−TS2−TD2となる。   The start time of data processing in a task is TCm-TDm for the mth task (m is an odd number). As a result of the correction, the circuit stop period per time is extended. For example, as shown in FIG. 24, the circuit stop period Tspa that occurs from the end time of task N2 to the start time of task N3 is Tspa = TC3-TD3-TS2-TD2.

この回路停止期間Tspaに対して、電源スイッチ70をオフするかどうかは判定基準時間Tmin_aとの比較結果に応じて決められる。図24に示すようにTspa>Tmin_aの場合には、回路動作スケジュール補正部82によって、電源スイッチ70をオフするようにスケジューリングされる。   Whether or not to turn off the power switch 70 for this circuit stop period Tspa is determined according to the comparison result with the determination reference time Tmin_a. As shown in FIG. 24, when Tspa> Tmin_a, the circuit operation schedule correction unit 82 schedules the power switch 70 to be turned off.

更に、回路動作スケジュール補正部82は、回路60の電源復帰期間Ton_aを考慮した予定時刻データpln_aを電源スイッチ制御予定レジスタ83に保存する。
図24に示す例の場合、回路動作スケジュール補正部82は、タスクN1を実行するために回路60をオンする時刻として、TC1−TD1−Ton_aを、図19に示したような電源スイッチ制御予定レジスタ83のレジスタRA1に保存する。また、回路動作スケジュール補正部82は、タスクN2を終了して回路60をオフする時刻として、TS2+TD2を、電源スイッチ制御予定レジスタ83のレジスタRA2に保存する。また、回路動作スケジュール補正部82は、タスクN3を実行するために回路60をオンする時刻として、TC3−TD3−Ton_aを、電源スイッチ制御予定レジスタ83のレジスタRA3に保存する。また、回路動作スケジュール補正部82は、タスクN4を終了して回路60をオフする時刻として、TS4+TD4を、電源スイッチ制御予定レジスタ83のレジスタRA4に保存する。
Further, the circuit operation schedule correction unit 82 stores the scheduled time data pln_a in consideration of the power recovery period Ton_a of the circuit 60 in the power switch control schedule register 83.
In the case of the example illustrated in FIG. 24, the circuit operation schedule correction unit 82 sets TC1-TD1-Ton_a as the power switch control schedule register as illustrated in FIG. 19 as the time when the circuit 60 is turned on to execute the task N1. It is stored in the register RA1 of 83. Further, the circuit operation schedule correction unit 82 stores TS2 + TD2 in the register RA2 of the power switch control schedule register 83 as the time at which the task N2 ends and the circuit 60 is turned off. Further, the circuit operation schedule correction unit 82 stores TC3-TD3-Ton_a in the register RA3 of the power switch control schedule register 83 as the time when the circuit 60 is turned on to execute the task N3. Further, the circuit operation schedule correction unit 82 stores TS4 + TD4 in the register RA4 of the power switch control schedule register 83 as the time at which the task N4 ends and the circuit 60 is turned off.

なお、上記の説明では、奇数番目のタスクの開始時刻を遅らせるとしたが、偶数番目のタスクを奇数番目のタスクと連続して実行するように開始時刻や終了時刻の補正を行ってもよい。   In the above description, the start time of the odd-numbered task is delayed. However, the start time and the end time may be corrected so that the even-numbered task is continuously executed with the odd-numbered task.

以下、本実施の形態の半導体装置50におけるPMU80全体の動作を簡単に説明する。
図25は、PMUの動作の一例を示す図である。
The overall operation of the PMU 80 in the semiconductor device 50 of the present embodiment will be briefly described below.
FIG. 25 is a diagram illustrating an example of the operation of the PMU.

横軸は時間である。図25中で、斜線の期間100は、準備段階の動作を行う期間であり、前述の実動作開始信号goがLレベルの期間である。この期間100では、タスク情報Tskの受信や、回路動作スケジュール補正部82でのスケジューリングなどが行われる。斜線の期間100の間の期間101は、実際の回路動作を行う期間であり、実動作開始信号goがHレベルの期間である。この期間101では、スケジューリングされた回路動作スケジュールにしたがって、電源スイッチ70〜73がオン・オフ動作し、回路60〜63により各タスクの処理が行われる。なお、期間100,101とも、PMU80は、クロック信号clkに同期して動作している。   The horizontal axis is time. In FIG. 25, a hatched period 100 is a period during which a preparatory stage operation is performed, and the above-described actual operation start signal go is at an L level. In this period 100, the task information Tsk is received, the circuit operation schedule correction unit 82 performs scheduling, and the like. A period 101 between the hatched periods 100 is a period in which an actual circuit operation is performed, and an actual operation start signal go is an H level period. In this period 101, the power switches 70 to 73 are turned on / off according to the scheduled circuit operation schedule, and the processing of each task is performed by the circuits 60 to 63. In both periods 100 and 101, the PMU 80 operates in synchronization with the clock signal clk.

図26は、PMUの動作の一例をまとめたフローチャートである。
ステップS10:回路動作スケジュール保持部81は、タスク情報Tskを受信してレジスタに格納する。
FIG. 26 is a flowchart summarizing an example of the operation of the PMU.
Step S10: The circuit operation schedule holding unit 81 receives the task information Tsk and stores it in the register.

ステップS11:判定基準時間生成部84は、エネルギーEr,Emが等しくなる電源遮断期間Toff_minの算出結果と電源復帰期間Tonとを加算して判定基準時間Tminを生成する。ステップS11の処理は、リーク電流検出器84aのタイマ90により独立に制御され、判定基準時間Tminが更新されていく。   Step S11: The determination reference time generation unit 84 generates the determination reference time Tmin by adding the calculation result of the power cut-off period Toff_min in which the energy Er, Em is equal to the power supply return period Ton. The process of step S11 is independently controlled by the timer 90 of the leak current detector 84a, and the determination reference time Tmin is updated.

ステップS12:回路動作スケジュール補正部82は、タスク情報Tskによる回路動作スケジュールを補正する。そして、回路動作スケジュール補正部82は、判定基準時間Tminと補正した回路動作スケジュールの電源遮断期間との比較結果に応じて、電源スイッチ70〜73をオン・オフする予定時刻データを生成する。生成された予定時刻データは、図19に示したような電源スイッチ制御予定レジスタ83に保存される。   Step S12: The circuit operation schedule correction unit 82 corrects the circuit operation schedule based on the task information Tsk. Then, the circuit operation schedule correction unit 82 generates scheduled time data for turning on / off the power switches 70 to 73 according to the comparison result between the determination reference time Tmin and the corrected power-off period of the circuit operation schedule. The generated scheduled time data is stored in the power switch control schedule register 83 as shown in FIG.

ステップS13:電源スイッチ制御予定レジスタ83は、実動作開始信号goがHレベルであるか否か判定する。ここで、実動作開始信号goがLレベルの場合には、ステップS10からの処理が繰り返される。   Step S13: The power switch control schedule register 83 determines whether or not the actual operation start signal go is at the H level. Here, when the actual operation start signal go is at the L level, the processing from step S10 is repeated.

ステップS14:実動作開始信号goがHレベルになると、電源スイッチ制御予定レジスタ83は、リアルタイムカウンタ95を動作させ、レジスタに保持された予定時刻データにしたがって、オン・オフ指示信号を電源スイッチ制御部85に送信する。電源スイッチ制御部85は、オン・オフ指示信号にしたがって、制御信号ga,gb,gc,gdにより、電源スイッチ70〜73をオンまたはオフする。   Step S14: When the actual operation start signal go becomes H level, the power switch control schedule register 83 operates the real time counter 95, and sends an on / off instruction signal according to the scheduled time data held in the register. 85. The power switch control unit 85 turns on or off the power switches 70 to 73 by the control signals ga, gb, gc, and gd according to the on / off instruction signal.

ステップS15:電源スイッチ制御予定レジスタ83は、実動作開始信号goがHレベルであるか否か判定する。ここで、実動作開始信号goがHレベルのままである場合には、ステップS14の処理が引き続き実行される。実動作開始信号goがLレベルとなると、リアルタイムカウンタ95の動作が停止し、再びステップS10からの処理が繰り返される。   Step S15: The power switch control schedule register 83 determines whether or not the actual operation start signal go is at the H level. Here, when the actual operation start signal go remains at the H level, the process of step S14 is continued. When the actual operation start signal go becomes L level, the operation of the real time counter 95 is stopped and the processing from step S10 is repeated again.

以上説明したように、本実施の形態の半導体装置50によれば、複数のタスク間で回路動作期間を連続させることによって、電源スイッチ70〜73の動作回数を減らしエネルギー損失を減らすことができ、消費電力を削減できる。また、1回当たりの回路停止期間を延伸するように制御できるため、各々の回路停止期間において電源スイッチ70〜73をスイッチオフできる機会が増し、さらなる低消費電力化が可能となる。   As described above, according to the semiconductor device 50 of the present embodiment, by repeating the circuit operation period between a plurality of tasks, the number of operations of the power switches 70 to 73 can be reduced and energy loss can be reduced. Power consumption can be reduced. Further, since it is possible to control to extend the circuit stop period per one time, the opportunity to switch off the power switches 70 to 73 in each circuit stop period increases, and further power consumption can be reduced.

また、回路停止期間において電源スイッチ70〜73をスイッチオフするか否かの判定基準時間Tminを生成する際に、電源復帰期間Tonを考慮することによって、電源スイッチ70〜73をスイッチオフする判断を誤る確率を下げることができる。   In addition, when generating the reference time Tmin for determining whether or not to switch off the power switches 70 to 73 during the circuit stop period, the power switch 70 to 73 is determined to be switched off by considering the power recovery period Ton. The probability of error can be lowered.

以上説明してきた半導体装置50では、回路動作スケジュール(タスク情報)を、半導体装置50の外部から受信するとしたが、内部の回路によって生成したものを用いるようにしてもよい。   In the semiconductor device 50 described above, the circuit operation schedule (task information) is received from the outside of the semiconductor device 50. However, a circuit generated by an internal circuit may be used.

以下そのような半導体装置を、第4の実施の形態として説明する。
(第4の実施の形態)
図27は、第4の実施の形態の半導体装置の一例を示す図である。
Hereinafter, such a semiconductor device will be described as a fourth embodiment.
(Fourth embodiment)
FIG. 27 is a diagram illustrating an example of a semiconductor device according to the fourth embodiment.

第4の実施の形態の半導体装置50aは、図9で示した半導体装置50と異なり、半導体装置50aの内部の回路60aが、タスク情報Tskや実動作開始信号goを生成する。本実施の形態では、たとえば、回路60aがマスタ、回路61〜63がスレーブとして機能する。   In the semiconductor device 50a of the fourth embodiment, unlike the semiconductor device 50 shown in FIG. 9, a circuit 60a inside the semiconductor device 50a generates task information Tsk and an actual operation start signal go. In the present embodiment, for example, the circuit 60a functions as a master and the circuits 61 to 63 function as slaves.

以下、回路60aによるタスク生成処理を説明する。
図28は、タスク生成処理の流れを示すフローチャートである。
ステップS20:回路60aは、ユーザインタフェース(ユーザI/F)を介して、データ処理要求情報を受信する。
Hereinafter, task generation processing by the circuit 60a will be described.
FIG. 28 is a flowchart showing the flow of task generation processing.
Step S20: The circuit 60a receives the data processing request information via the user interface (user I / F).

ステップS21:回路60aは、受信したデータ処理要求情報をもとに、タスク分割処理を行う。ここでは、回路60aは、各タスクに前述した開始可能時刻と、終了期限時刻を設け、スレーブの回路61〜63におけるデータ処理能力を考慮して各タスクの処理時間を算出する。   Step S21: The circuit 60a performs task division processing based on the received data processing request information. Here, the circuit 60a provides the above-described startable time and end deadline time for each task, and calculates the processing time of each task in consideration of the data processing capability of the slave circuits 61-63.

ステップS22:回路60aは、タスク分割処理の結果に応じて、タスク列を生成する。
図29は、生成したタスク列の一例を示す図である。
Step S22: The circuit 60a generates a task sequence according to the result of the task division process.
FIG. 29 is a diagram illustrating an example of the generated task sequence.

回路60aは、各回路60a,61〜63ごとのタスク列110,111,112,113を生成する。各タスク列110〜113には、タスクN1〜N3の開始可能時刻TS1〜TS3、処理時間TD1〜TD3、終了期限時刻TC1〜TC3が含まれる。   The circuit 60a generates task sequences 110, 111, 112, and 113 for the circuits 60a and 61 to 63, respectively. Each of the task columns 110 to 113 includes startable times TS1 to TS3, processing times TD1 to TD3, and end deadline times TC1 to TC3 of the tasks N1 to N3.

ステップS23:回路60aは、Lレベルの実動作開始信号goを発行するとともに、図29に示したようなタスク列110〜113を、タスク情報Tskとし回路動作スケジュール保持部81に転送する。   Step S23: The circuit 60a issues an L-level actual operation start signal go, and transfers task sequences 110 to 113 as shown in FIG. 29 to the circuit operation schedule holding unit 81 as task information Tsk.

このような第4の実施の形態の半導体装置50aによれば、前述の第1乃至第3の半導体装置10,30,50と同様の効果を得られるとともに、半導体装置50aの外部にタスク情報Tskの生成のためのマイコンなどを設けなくてもよくなる。   According to the semiconductor device 50a of the fourth embodiment as described above, the same effects as those of the first to third semiconductor devices 10, 30, and 50 described above can be obtained, and task information Tsk is provided outside the semiconductor device 50a. It is not necessary to provide a microcomputer or the like for generating the data.

以上、実施の形態に基づき、本発明の半導体装置及び半導体装置の制御方法の一観点について説明してきたが、これらは一例にすぎず、上記の記載に限定されるものではない。
以上説明した複数の実施の形態に関し、更に以下の付記を開示する。
As described above, one aspect of the semiconductor device and the method for controlling the semiconductor device of the present invention has been described based on the embodiments, but these are merely examples and are not limited to the above description.
The following additional notes are disclosed with respect to the plurality of embodiments described above.

(付記1) 回路へ電源を供給するか否かを切り替える電源スイッチと、
回路動作スケジュールを入力し、複数の回路動作期間を連続するように、前記回路動作期間の開始時刻または終了時刻を補正する回路動作スケジュール補正部と、
補正された前記回路動作スケジュールにしたがって、前記電源スイッチをオンまたはオフする電源スイッチ制御部と、
を有することを特徴とする半導体装置。
(Supplementary note 1) a power switch for switching whether to supply power to the circuit;
A circuit operation schedule correction unit that inputs a circuit operation schedule and corrects a start time or an end time of the circuit operation period so as to continue a plurality of circuit operation periods;
A power switch controller for turning on or off the power switch according to the corrected circuit operation schedule;
A semiconductor device comprising:

(付記2) 前記回路動作スケジュール補正部は、前記回路動作期間が、定められた開始可能時刻から終了期限時刻までに含まれるように前記開始時刻または前記終了時刻を補正することを特徴とする付記1記載の半導体装置。   (Additional remark 2) The said circuit operation schedule correction | amendment part correct | amends the said start time or the said end time so that the said circuit operation period may be included from the predetermined start possible time to the end time limit. 1. The semiconductor device according to 1.

(付記3) 前記電源スイッチをオフすることによる電源遮断期間のエネルギー利得と、電源復帰期間のエネルギー損失が等しくなる基準回路停止期間を、前記電源スイッチをオフするか否かの判定基準時間として出力する判定基準時間生成部を有し、
前記回路動作スケジュール補正部は、前記判定基準時間と、補正された前記回路動作スケジュールの回路停止期間との比較結果に応じて、前記回路停止期間に前記電源スイッチをオフするか否かを決定することを特徴とする付記1または2記載の半導体装置。
(Supplementary Note 3) A reference circuit stop period in which the energy gain during the power-off period by turning off the power switch and the energy loss during the power recovery period are equal is output as a reference time for determining whether to turn off the power switch. A determination reference time generation unit to
The circuit operation schedule correction unit determines whether to turn off the power switch during the circuit stop period according to a comparison result between the determination reference time and the corrected circuit stop period of the circuit operation schedule. The semiconductor device according to appendix 1 or 2, wherein:

(付記4) 前記判定基準時間生成部は、前記回路におけるリーク電流の発生を模擬する模擬回路を用いて、前記リーク電流に応じた前記判定基準時間を生成することを特徴とする付記3記載の半導体装置。   (Additional remark 4) The said determination reference time production | generation part produces | generates the said determination reference time according to the said leak current using the simulation circuit which simulates generation | occurrence | production of the leak current in the said circuit. Semiconductor device.

(付記5) 前記回路動作スケジュール補正部は、前記開始時刻より前記回路の電源復帰期間分早く前記電源スイッチのオン動作を開始させるように前記回路動作スケジュールを補正することを特徴とする付記1乃至4の何れか一項に記載の半導体装置。   (Additional remark 5) The said circuit operation schedule correction | amendment part correct | amends the said circuit operation schedule so that the ON operation of the said power switch may be started earlier by the power supply return period of the said circuit from the said start time. 5. The semiconductor device according to any one of 4.

(付記6) 前記判定基準時間生成部は、タイマを有し、前記判定基準時間を定期的に更新することを特徴とする付記3乃至5の何れか一項に記載の半導体装置。
(付記7) 前記回路動作スケジュールを生成する回路を更に有することを特徴とする付記1乃至6の何れか一項に記載の半導体装置。
(Supplementary note 6) The semiconductor device according to any one of supplementary notes 3 to 5, wherein the determination reference time generation unit includes a timer and periodically updates the determination reference time.
(Supplementary note 7) The semiconductor device according to any one of supplementary notes 1 to 6, further comprising a circuit that generates the circuit operation schedule.

(付記8) 回路動作スケジュール補正部が、回路動作スケジュールを入力し、複数の回路動作期間を連続するように、前記回路動作期間の開始時刻または終了時刻を補正し、
電源スイッチ制御部が、補正された前記回路動作スケジュールにしたがって、回路へ電源を供給するか否かを切り替える電源スイッチをオンまたはオフすることを特徴とする半導体装置の制御方法。
(Supplementary Note 8) The circuit operation schedule correction unit inputs the circuit operation schedule, corrects the start time or the end time of the circuit operation period so that a plurality of circuit operation periods are continued,
A method of controlling a semiconductor device, wherein the power switch control unit turns on or off a power switch that switches whether to supply power to the circuit according to the corrected circuit operation schedule.

(付記9) 判定基準時間生成部が、前記電源スイッチをオフすることによる電源遮断期間のエネルギー利得と、電源復帰期間のエネルギー損失が等しくなる基準回路停止期間を、前記電源スイッチをオフするか否かの判定基準時間として出力し、
前記回路動作スケジュール補正部は、前記判定基準時間と、補正された前記回路動作スケジュールの回路停止期間との比較結果に応じて、前記回路停止期間に前記電源スイッチをオフするか否かを決定することを特徴とする付記8記載の半導体装置の制御方法。
(Supplementary Note 9) Whether or not the determination reference time generation unit turns off the power switch during a reference circuit stop period in which the energy gain in the power cut-off period due to turning off the power switch is equal to the energy loss in the power recovery period Is output as the judgment reference time,
The circuit operation schedule correction unit determines whether to turn off the power switch during the circuit stop period according to a comparison result between the determination reference time and the corrected circuit stop period of the circuit operation schedule. The method for controlling a semiconductor device according to appendix 8, wherein:

10 半導体装置
11 回路
12 電源スイッチ
13 回路動作スケジュール保持部
14 回路動作スケジュール補正部
15 電源スイッチ制御部
DESCRIPTION OF SYMBOLS 10 Semiconductor device 11 Circuit 12 Power switch 13 Circuit operation schedule holding | maintenance part 14 Circuit operation schedule correction | amendment part 15 Power switch control part

Claims (6)

回路へ電源を供給するか否かを切り替える電源スイッチと、
第1の回路動作スケジュールを入力し、前記第1の回路動作スケジュールに含まれる複数の回路動作期間連続するように、前記回路動作期間の開始時刻または終了時刻を補正した第2の回路動作スケジュールを生成する回路動作スケジュール補正部と、
第2の回路動作スケジュールにしたがって、前記電源スイッチをオンまたはオフする電源スイッチ制御部と、
を有することを特徴とする半導体装置。
A power switch for switching whether to supply power to the circuit;
Type the first circuit operation schedule, as described above plurality of circuit operation period included in the first circuit operation schedule continuous, second circuit operation schedule obtained by correcting the start time or end time of the circuit operation period A circuit operation schedule correction unit for generating
According to the previous SL second circuit operation schedule, a power switch controller for turning on or off the power switch,
A semiconductor device comprising:
前記電源スイッチをオフすることによる電源遮断期間のエネルギー利得と、電源復帰期間のエネルギー損失が等しくなる基準回路停止期間を、前記電源スイッチをオフするか否かの判定基準時間として出力する判定基準時間生成部を有し、
前記回路動作スケジュール補正部は、前記判定基準時間と、前第2の回路動作スケジュールの回路停止期間との比較結果に応じて、前記回路停止期間に前記電源スイッチをオフするか否かを決定することを特徴とする請求項1記載の半導体装置。
A determination reference time for outputting a reference circuit stop period in which the energy gain in the power cut-off period by turning off the power switch and the energy loss in the power recovery period are equal as the reference time for determining whether to turn off the power switch Having a generator,
The circuit operation schedule correcting section determines said reference time, before SL in accordance with the comparison result of the circuit stop period of the second circuit operation schedule, whether to turn off the power switch to the circuit outage The semiconductor device according to claim 1.
前記判定基準時間生成部は、前記回路におけるリーク電流の発生を模擬する模擬回路を用いて、前記リーク電流に応じた前記判定基準時間を生成することを特徴とする請求項2記載の半導体装置。   3. The semiconductor device according to claim 2, wherein the determination reference time generation unit generates the determination reference time according to the leak current using a simulation circuit that simulates generation of a leak current in the circuit. 前記回路動作スケジュール補正部は、前記開始時刻より前記回路の電源復帰期間分早く前記電源スイッチのオン動作を開始させるように前記第1の回路動作スケジュールを補正することを特徴とする請求項1に記載の半導体装置。 The circuit operation schedule correcting section to claim 1, characterized in that to correct the first circuit operating schedule to initiate the power supply recovery period earlier on the operation of the power switch of the circuit than the start time The semiconductor device described. 前記回路動作スケジュール補正部は、前記開始時刻より前記電源復帰期間分早く前記電源スイッチのオン動作を開始させるように前記第1の回路動作スケジュールを補正することを特徴とする請求項2または3に記載の半導体装置。  The circuit operation schedule correction unit corrects the first circuit operation schedule so as to start the ON operation of the power switch earlier than the start time by the power recovery period. The semiconductor device described. 回路動作スケジュール補正部が、第1の回路動作スケジュールを入力し、前記第1の回路動作スケジュールに含まれる複数の回路動作期間連続するように、前記回路動作期間の開始時刻または終了時刻を補正した第2の回路動作スケジュールを生成し
電源スイッチ制御部が、前第2の回路動作スケジュールにしたがって、回路へ電源を供給するか否かを切り替える電源スイッチをオンまたはオフすることを特徴とする半導体装置の制御方法。
Circuit operation schedule corrector, enter the first circuit operation schedule, so that a plurality of circuit operation period included in the first circuit operation schedule consecutive correct the start time or end time of the circuit operation period Generated second circuit operation schedule ,
Control method of a semiconductor device power switch controller, according to the previous SL second circuit operation schedule, and wherein the turning on or off the power switch for switching whether to supply power to the circuit.
JP2010143531A 2010-06-24 2010-06-24 Semiconductor device and method for controlling semiconductor device Expired - Fee Related JP5672793B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010143531A JP5672793B2 (en) 2010-06-24 2010-06-24 Semiconductor device and method for controlling semiconductor device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010143531A JP5672793B2 (en) 2010-06-24 2010-06-24 Semiconductor device and method for controlling semiconductor device

Publications (2)

Publication Number Publication Date
JP2012009587A JP2012009587A (en) 2012-01-12
JP5672793B2 true JP5672793B2 (en) 2015-02-18

Family

ID=45539821

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010143531A Expired - Fee Related JP5672793B2 (en) 2010-06-24 2010-06-24 Semiconductor device and method for controlling semiconductor device

Country Status (1)

Country Link
JP (1) JP5672793B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9438244B2 (en) * 2014-10-28 2016-09-06 Xilinx, Inc. Circuits for and methods of controlling power within an integrated circuit

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3878431B2 (en) * 2000-06-16 2007-02-07 株式会社ルネサステクノロジ Semiconductor integrated circuit device
JP2003099148A (en) * 2001-09-19 2003-04-04 Sanyo Electric Co Ltd Data processor and system controller available for the same, and data conversion method
JP2004021574A (en) * 2002-06-17 2004-01-22 Hitachi Ltd Semiconductor device
JP5251190B2 (en) * 2008-03-19 2013-07-31 富士通株式会社 Semiconductor device

Also Published As

Publication number Publication date
JP2012009587A (en) 2012-01-12

Similar Documents

Publication Publication Date Title
JP5706007B2 (en) Semiconductor device with on-chip voltage regulator
US7921312B1 (en) System and method for providing adaptive voltage scaling with multiple clock domains inside a single voltage domain
US8890362B2 (en) Semiconductor device
CN105425928A (en) Power management integrated circuit, power management method and mobile device
KR20140007651A (en) Power gating circuit of system on chip
JP2009118344A (en) Semiconductor device
JP4806417B2 (en) Logical block control system and logical block control method
JP5580751B2 (en) Semiconductor device
JP5672793B2 (en) Semiconductor device and method for controlling semiconductor device
US7613942B2 (en) Power mode transition in multi-threshold complementary metal oxide semiconductor (MTCMOS) circuits
US9184738B2 (en) PWM (pulse width modulation) signal outputting circuit and method of controlling output of PMW signal
US20080001628A1 (en) Level conversion circuit
CN111262559B (en) Delay line circuit with correction function and correction method thereof
US20090115474A1 (en) Clock synchronization circuit and clock synchronization method
JP2009130441A (en) Data holding circuit
US8836370B2 (en) Semiconductor apparatus
KR20100064851A (en) Delay line
US8258838B2 (en) Delay locked loop for expanding a delay range
US7813468B2 (en) Counter circuit
JPWO2006059379A1 (en) Semiconductor device using dynamic circuit
US20140062583A1 (en) Integrated circuit and method of operating the same
JP5094848B2 (en) Semiconductor integrated circuit, control method of semiconductor integrated circuit, and terminal system
WO2013058743A1 (en) Bit cell write-assistance
JP2000235429A (en) Synchronizing circuit and its delay circuit
US8710890B2 (en) Variable delay line for delay locked loop

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130507

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140401

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140602

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141215

R150 Certificate of patent or registration of utility model

Ref document number: 5672793

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees