This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2013-261158, filed on Dec. 18, 2013, the entire contents of which are incorporated herein by reference.
The embodiments discussed herein are related to a semiconductor device.
In recent years, reduced power consumption of a semiconductor device (LSI) has been further strongly demanded. Accordingly, power consumption is reduced by lowering an operating frequency in a case where a load decreases. Further, it is desired that power consumption is reduced with satisfaction of demanded performance in spite of manufacturing variability, temperature change, and so forth.
For example, in a case where a threshold value (Vth) of a transistor increases due to the manufacturing variability, an operation rate of the transistor becomes slow, and a signal propagation delay of a circuit increases. Thus, it is desired that a high power supply voltage VDD is set to decrease the delay so that a demanded operating frequency is satisfied.
On the other hand, in a case where the threshold value (Vth) of the transistor decreases due to the manufacturing variability, the operation rate of the transistor becomes fast, and a leakage current amount of the circuit increases, resulting in an increase in energy consumption. Thus, it is desired that a low power supply voltage VDD is set to reduce the energy consumption of the circuit to a limit in which the demanded operating frequency is satisfied in spite of the delay.
Accordingly, a power supply voltage is controlled in accordance with the operating frequency, the manufacturing variability, and the temperature change, and energy consumption per performance is thereby reduced while demanded performance is satisfied. This is referred to as an adaptive voltage scaling (AVS) power management technology.
There are cases where the AVS power management technology is applied to the entire circuit of the semiconductor device and where the semiconductor device is divided into a plurality of circuit blocks and control of power supplies to the circuit blocks is performed while including distribution of loads to the circuit blocks. In order to control the power supplies to the circuit blocks, independent power supplies are provided for the circuit blocks, and at least one of the circuit blocks individually controls the power supply voltage. This will be referred to as multiple power supply AVS management technology. In such a case, a state occurs where the power supply voltages are different between the circuit blocks. Thus, in a case where signals are interchanged between the circuit blocks (interfacing), the interchange of signals is performed via a level shifter that shifts a level of a signal.
The multiple power supply AVS management technology in this application has a circuit configuration in which circuit areas that are respectively connected to at least two power supply lines (VDD1 and VDD2) are provided, the AVS management technology is applied to at least one of the areas, and signals are interchanged between the areas via the level shifter. For example, an example of a multiple power supply configuration is disclosed in David Bol, et al., “A 25 MHz 7 μW/MHz Ultra-Low-Voltage Microcontroller SoC in 65 nm LP/GP CMOS for Low-Carbon Wireless Sensor Nodes”, ISSCC, 2012.
In a case where the AVS management technology is applied to the circuit blocks, the power supply voltages are lowered as much as possible in a range in which the circuit blocks normally operate. In general, the delay of the circuit is measured by providing a delay monitor circuit that has a ring oscillator and a counter and measuring a change in a frequency of the ring oscillator that changes in accordance with the power supply voltage by counting a change in an output signal. Then, a determination is made whether or not a count value is smaller than the delay with which the demanded operating frequency is satisfied.
Examples of related art are Japanese Laid-open Patent Publications Nos. 2004-165732, 2005-102086, and 2005-301083.
However, in a case where the semiconductor device is divided into a plurality of circuit blocks and the multiple power supply AVS management technology is applied thereto and the threshold value Vth of the transistor of a first circuit block is offset to the fast side, the power supply voltage VDD1 of the first circuit block is lowered by the AVS management technology. On the other hand, in a case where the power supply voltage VDD2 of a second circuit block to which signals are supplied from the first circuit block via the level shifter is maintained at a high voltage, a difference occurs between the power supply voltage VDD1 of the first circuit block and the power supply voltage VDD2 of the second circuit block. In a case where the difference becomes large, the level shifter stops operating, and the voltage of a signal of the power supply voltage VDD1 may not be increased to the voltage of a signal of the power supply voltage VDD2.
In a case of applying the AVS management technology, the power supply voltage is not lowered to a voltage at which failure of a circuit operation (malfunction) occurs but set to a voltage that is slightly higher than the power supply voltage that is close to malfunction.
The above delay monitor circuit may not in advance detect malfunction of the level shifter and has difficulty in controlling the power supply voltage to the power supply voltage that is slightly higher than the voltage at which the malfunction occurs.
According to an aspect of the invention, a semiconductor device includes: first-power-supply that supplies first-power-supply-voltage; second-power-supply that supplies second-power-supply-voltage that is equal to or higher than the first-power-supply-voltage; first-circuit-block that is supplied with the first-power-supply-voltage from the first-power-supply to operate; second-circuit-block that is supplied with the second-power-supply-voltage from the second-power-supply to operate; level-shifters that are supplied with the first-power-supply-voltage and the second-power-supply-voltage from the first-power-supply and the second-power-supply to operate and shift a signal for the first-power-supply-voltage to a signal for the second-power-supply-voltage and shift the signal for the second-power-supply-voltage to the signal for the first-power-supply-voltage; a power-management-unit that controls the first-power-supply to change the first-power-supply-voltage; and a level-shifter-monitor-circuit that generates first-malfunction-signal at a first-margin-voltage that is higher than the first-power-supply-voltage at which the level-shifter does not normally operate in a case where the first-power-supply-voltage lowers, wherein the power-management-unit controls the first-power-supply so that the first-power-supply-voltage does not become lower than the first-margin-voltage.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, as claimed.
A common power management technology will be described before embodiments are described.
The semiconductor device has a circuit block 1, a power supply 6, a power management unit (PMU) 7, and a phase locked loop (PLL) 8. Although there is a configuration in which the power supply 6, the PMU 7, and the PLL 8 are provided outside an LSI and only the circuit block 1 is provided in the LSI, configurations that include such a case are also referred to as the semiconductor device.
The power supply 6 supplies a power supply voltage VDD to the circuit block 1 and so forth (including the PMU 7 and the PLL 8). The power supply 6 changes the power supply voltage VDD in accordance with a command from the PMU 7. The PMU 7 receives a system clock SYSCLK that is externally supplied (or separately generated internally), receives information about a delay from the delay monitor circuit 5 that will be described later, and outputs a power management signal (Up, Down, or Hold) to control the power supply voltage VDD that is output by the power supply 6. The PMU 7 further controls an operation state of the delay monitor circuit 5. Although not illustrated, the PMU 7 receives information about a load state of the semiconductor device in some manner and controls the power supply 6 in accordance with the information. The PLL 8 generates an internal clock CLK from the system clock SYSCLK and supplies the internal clock CLK to the circuit block 1. Although not illustrated, the PLL 8 receives a command about a frequency of the internal clock CLK in some manner (for example, from the PMU 7) and generates the internal clock CLK of a frequency of the command.
The circuit block 1 has a large number of circuit elements that include a flip-flop (FF) 2, a combinational logic circuit 3, and an FF 4. The FF 2 synchronously operates with the internal clock CLK that is supplied from the PLL 8, and outputs a signal from another circuit portion or from the outside to the combinational logic circuit 3 synchronously with the internal clock CLK. The combinational logic circuit 3 receives signals from the FF 2 and an FF that is not illustrated, performs a logical operation, and outputs the signals to the FF 4. The FF 4 synchronously operates with the internal clock CLK, and outputs a signal from the combinational logic circuit 3 to another circuit portion or the outside synchronously with the CLK.
The circuit block 1 is formed with a ring oscillator and a counter and has the delay monitor circuit 5 that receives the system clock SYSCLK and the internal clock CLK and generates a delay of the circuit in a case where an operation is performed at the power supply voltage VDD. An examination for a delay of a circuit (transistor) with which the circuit block 1 does not malfunction and normally operates is in advance performed, and a delay of the delay monitor circuit 5 that corresponds to the delay is set. An operation state (On or Off) of the delay monitor circuit 5 is controlled in accordance with a control signal EN from the PMU 7.
The PMU 7 receives the information about the load state of the semiconductor device and controls the power supply 6 so that the power supply voltage VDD lowers as much as possible in a range in which delay information of the delay monitor circuit 5 satisfies a preset condition.
On the upper side of
In a case where the AVS technology is not applied, in consideration of manufacturing variability, the power supply voltage VDD is set high so that the delay becomes necessarily lower than the demanded operating frequency line Delay even in a case where the operation rate of the transistor is slow. Thus, as illustrated in the lower side of
As illustrated in the lower side of
The semiconductor device has a first circuit block 1, a power supply 6 for the first circuit block, a PMU 7 for the first circuit block, a PLL 8 for the first circuit block, a second circuit block 11, a power supply 15 for the second circuit block, and level shifters (LS) 21 and 22.
The first circuit block (first domain) 1. has the FF 2, the combinational logic circuit 3, the FF 4, and the delay monitor circuit 5, similarly to
The second circuit block (second domain) 11 is illustrated as an SRAM as an example and has a large number of SRAM elements 12, peripheral circuits thereof, an input buffer 13, and an output buffer 14. The power supply 15 for the second circuit block supplies a power supply voltage VDD2 to the second domain 11. Because data stored in the SRAM may be destroyed when the power supply voltage is lowered, it is assumed here that the power supply voltage VDD2 is fixed. Thus, the power supply 15 has a fixed output voltage, and the PMU is not provided for the second domain 11.
The level shifter 21 shifts the level of signals from the first domain 1 and outputs the signals to the second domain 11. The level shifter 22 shifts the level of signals from the second domain 11 and outputs the signals to the first domain 1. Here, because the AVS technology is applied to only the first domain 1 and not applied to the second domain 11, it is assumed that VDD1≦VDD2.
As illustrated in
In the AVS technology, the VDD1 is lowered when the delay of the first domain 1 is smaller than a limit, and the VDD1 is increased when the delay of the first domain 1 becomes greater than the limit.
The operation starts from “START”, and the VDD1 increases in “POWERFULL” and increases to a maximum value of 1.2 V, for example.
The PMU 7 turns the EN that is output to the delay monitor circuit 5 on (high) in “MONITORON”. In response to this, the delay monitor circuit 5 measures and outputs the delay. Here, it is assumed that the delay of a limit line of the demanded operating frequency is “10”. The VDD1 is the maximum value, the delay is thus small, and “1” is output, for example.
Because the delay is lower than the limit line, the state transits to “VDDDOWN”, and the VDD1 is lowered by a unit amount. Repeating this leads to a stepwise increase of the delay, and the delay of the limit line increases (to “11”) exceeding “10”. In response to this, the state transits to “VDDUP”, and the VDD1 is increased by the unit amount. Because the VDD1 increases, the delay again becomes “10”, and the state transits to “VDDDOWN”. Such an operation is repeated subsequently. Accordingly, the VDD1 is controlled so that the delay is around the limit line.
The circuit block (first domain) 1 actually does not normally operate in a case where the delay that is output by the delay monitor circuit 5 is “12”, for example. In such a case, the delay of the limit line of the demanded operation frequency is set to “10”. Accordingly, malfunction does not occur during the operation.
Here, in a case where the threshold value Vth of the transistor of the first circuit block (first domain) 1 is largely offset to the fast side, the VDD1 may largely be lowered by the AVS management technology.
As described above, in a case where the VDD1 is lowered by application of the AVS management technology, the VDD1 is lowered in a range in which the first domain 1 normally operates, and thus the first domain 1 normally operates. However, in a case where a difference between the VDD1 and the VDD2 becomes large, a problem occurs that the level shifters 21 and 22, particularly the level shifter 21 that shifts the level of the signals of the VDD1 to the level of the signals of the VDD2 stops operating.
The level shifters (LS) respectively receive the VDD1 and the VDD2 and shift the signals for the VDD1 into the signals for the VDD2 and shift the signals for the VDD2 into the signals for the VDD1. For example, the level shifter 21 shifts the signals for the VDD1 to the high level of the signals for the VDD2 in a case where the signals of the VDD1 are higher than a threshold value of a determination circuit for the VDD2 and shifts the signals for the VDD1 to the low level of the signals for the VDD2 in a case where the signals of the VDD1 are lower than the threshold value of the determination circuit for the VDD2. In a case where the VDD1 is much lower than the VDD2, the high level of the signals for the VDD1 is lower than the threshold value of the circuit for the VDD2, and the signals for the VDD1 are then not shifted to the high level of the signals for the VDD2.
For example, in a case where VDD2=0.8 V and the VDD1 is lowered to 0.3 V, the level shifter 21 stops operating and does not output the signals for the VDD2 at the high level.
As illustrated in
It is desired that the difference between the VDD1 and the VDD2 does not become equal to or greater than a prescribed value so that the level shifters do not malfunction. In the above case, because the VDD2 is fixed, it is desired to set the VDD1 to a prescribed level shifter minimum operating voltage VDDmin or higher.
In
When the state transits to “VDDDOWN” and the VDD1 is sequentially lowered, the VDD1 becomes lower than the VDDmin before the delay exceeds “100”. The VDD1 is controlled such that the delay becomes around “100”, then the VDD1 continuously stays lower than the VDDmin, and the level shifters do not operate.
The delay monitor circuit 5 of the first domain 1 may not in advance detect that the VDD1 becomes lower than the VDDmin and the level shifters then stop operating (malfunction). Thus, the PMU 7 may not control the VDD1 not to become lower than the VDDmin. This may result in malfunction.
A semiconductor device that performs multiple power supply AVS management of embodiments described below controls the power supply voltage so that malfunction does not occur and reduces energy consumption.
The semiconductor device of the first embodiment has a plurality of circuit blocks and has a plurality of power supplies that supply power supply voltages to the plurality of respective circuit blocks. A multiple power supply AVS technology is applied to the semiconductor device.
The semiconductor device of the first embodiment has the first circuit block 1, the power supply 6, the PMU 7, the PLL 8, the second circuit block 11, the power supply 15, the level shifters 21 and 22, and a level shifter monitor circuit 31. The power supply 6, the PMU 7, and the PLL 8 are for the first circuit block (first domain) 1. The power supply 15 is for the second circuit block (second domain) 11.
The first domain 1 has the FF 2, the combinational logic circuit 3, the FF 4, the delay monitor circuit 5, the output buffer 9, and the input buffer 10. The second domain 11 has a large number of the SRAM elements 12, the peripheral circuits thereof, the input buffer 13, and the output buffer 14.
In other words, the semiconductor device of the first embodiment is different from the above-described semiconductor device illustrated in
A description will first be made about generation of the warning signal Warning by the level shifter monitor circuit 31 and control by using the warning signal Warning by the PMU 7.
In the above-described AVS technology of
Summarizing AVS management in the first embodiment, the level shifter monitor circuit 31 produces the warning signal Warning before the VDD1 lowers to the level shifter minimum operating voltage (VDDmin).
Further, the PMU 7 outputs an instruction to make the power supply 6 increase the VDD1 when the PMU 7 receives the warning signal Warning.
The level shifter monitor circuit 31 has an input signal generation circuit 32, a replica circuit 33, a malfunction circuit 34, and a comparator circuit 35. The input signal generation circuit 32 produces a signal for the VDD1 that alternately changes between zero and one when the control signal EN from the PMU 7 is at a high level. The replica circuit 33 is a circuit that has the same circuit configuration and properties as the level shifter 21, is supplied with the VDD1 and the VDD2, and shifts the level of the signals for the VDD1 that are input from the input signal generation circuit 32 to the level of the signals for the VDD2. The malfunction circuit 34 has the same circuit configuration as the level shifter 21, is supplied with the VDD1 and the VDD2, and shifts the level of the signals for the VDD1 that are input from the input signal generation circuit 32 to the level of the signals for the VDD2, but malfunctions when the VDD1 becomes lower than the first margin voltage. In other words, the malfunction circuit 34 malfunctions at a higher voltage than a voltage at which the replica circuit 33 malfunctions. The comparator circuit 35 determines whether or not a signal for the VDD2 that is output by the replica circuit 33 and alternately changes between zero and one agrees with a signal for the VDD2 that is output by the malfunction circuit 34 and alternately changes between zero and one. Both of the replica circuit 33 and the malfunction circuit 34 are the level shifters, to which the same signal is input from the input signal generation circuit 32. Thus, the comparator circuit 35 detects agreement in a case where both of the replica circuit 33 and the malfunction circuit 34 normally operate. If an output Y of the comparator circuit 35 indicates disagreement, a determination is made that one of the replica circuit 33 and the malfunction circuit 34 malfunctions and specifically the malfunction circuit 34 that malfunctions at the higher VDD1 malfunctions.
The input signal generation circuit 32 has a NAND gate 41, an FF 42, and an inverter 43. The NAND gate 41 allows the internal clock CLK from the PLL 8 to pass through and outputs that as a signal for the VDD1 when the control signal EN from the PMU 7 is at a high level, blocks the internal clock CLK when the EN is at a low level, and outputs a signal that is fixed at a high level. The FF 42 and the inverter 43 forms a ½ frequency divider circuit and outputs a signal in which the frequency of the internal clock CLK is divided into a half when the EN is at the high level.
The replica circuit 33 has a level shifter 51 that has the same circuit configuration and properties as the level shifter 21, shifts the level of an input signal to the level of the signal for the VDD2, and outputs the input signal as YLS.
The malfunction circuit 34 has a level shifter 61 that has the same circuit configuration and properties as the level shifter 21, shifts the level of an input signal to the level of the signal for the VDD2, and outputs the input signal as YLSWR, but malfunctions when the VDD1 becomes lower than the first margin voltage that is higher than the VDDmin. In other words, the level shifter 61 malfunctions prior to the level shifter 51 in a case where the VDD1 is lowered.
The comparator circuit 35 has an exclusive disjunction gate (EXOR) 71 that detects agreement between YLS and YLSWR and an FF 72 that takes in and retains a result of the determination synchronously with the CLK and outputs the result as Y.
In
In
As described above, the first margin voltage at which the malfunction circuit 34 normally operates is higher than the minimum operating voltage VDDmin at which the replica circuit 33 normally operates. Thus, the level shifter monitor circuit 31 outputs the warning signal Warning (with a margin provided) before the replica circuit 33 does not normally operate.
As illustrated in
In the “POWERFULL” state, the voltage of the VDD1 is set to a high voltage that certainly secures an operation of an internal circuit of the first domain 1 that is connected to the level shifters 21 and 22 and the VDD1. For example, setting is made such that VDD1=1.2 V. Accordingly, power management may be performed without malfunction of the circuit.
In the “MONITORON” state, the PMU 7 sets the EN at a high level (VDD1) and starts the delay monitor circuit 5 and the level shifter monitor circuit 31.
In the “VDDDOWN” state, the PMU 7 repeatedly outputs a command to make the power supply 6 lower the VDD1 by a prescribed amount every certain period. For example, the PMU 7 outputs the command to make VDD1=VDD1−25 mV every 10μ seconds. Here, the “VDDDOWN” state is maintained in a case of a trigger TN, and the state transits to the “VDDUP” state in a case of a trigger TW.
In the “VDDUP” state, the PMU 7 repeatedly outputs a command to make the power supply 6 increase the VDD1 by a prescribed amount every certain period. For example, the PMU 7 outputs the command to make VDD1=VDD1+25 mV every 10μ seconds. Here, the state transits to the “VDDDOWN” state in a case of the trigger TN, and the “VDDUP” state is maintained in a case of the trigger TIN.
The trigger TN is output in a case where an output delay of the delay monitor circuit 5 does not exceed the demanded operating frequency line and the level shifter monitor circuit 31 does not output the warning signal Warning.
The trigger TW is output in a case where the output delay of the delay monitor circuit 5 exceeds the demanded operating frequency line or the level shifter monitor circuit 31 outputs the warning signal Warning.
The PMU 7 has a trigger generation section 81 and a power supply control section 84. The trigger generation section 81 has a counter 82 and a comparator 83. The counter 82 becomes the operation state while the system clock SYSCLK is at a high level and counts the warning signal Warning illustrated in
A power supply control section 84 generates and outputs a control signal UP or Down of the power supply 6 that corresponds to the trigger TN or TW in
The VDD1 increases in the “POWERFULL” state and increases to a maximum value of 1.2 V, for example. During this, because the level shifter monitor circuit 31 is not in the operation state, the output Y of the level shifter monitor circuit 31 is at a low level, the count value that is output by the counter 82 is zero, and the TRIG that is output by the comparator 83 is at a low level.
In the “MONITORON” state, the PMU 7 turns the signal EN on (high), which makes the delay monitor circuit 5 and the level shifter monitor circuit 31 become the operation state. In response to this, the delay monitor circuit 5 measures and outputs the delay, and the level shifter monitor circuit 31 outputs an agreement detection result as the output Y. Because the VDD1 is 1.2 V and sufficiently high, the output Y of the level shifter monitor circuit 31 is at a low level, the count value that is output by the counter 82 is zero, and the TRIG that is output by the comparator 83 is also at a low level.
Because the delay is lower than the limit line and the output Y of the level shifter monitor circuit 31 is at a low level, the state transits to “VDDDOWN”, and the VDD1 is lowered by a unit amount. Repeating this leads to a decrease in the VDD1. Although the delay that is output by the delay monitor circuit 5 increases as described above, a description will be made here on the assumption that the VDD1 becomes lower than the first margin voltage before the delay exceeds the demanded operating frequency line. When the VDD1 becomes lower than the first margin voltage, the malfunction circuit 34 of the level shifter monitor circuit 31 malfunctions, and the output Y of the level shifter monitor circuit 31 repeats an alternation between zero and one. In response to this, because the count value that is output by the counter 82 increases (becomes five here) and exceeds a reference value (for example, one), the TRIG becomes a high level, and the power supply control section 84 outputs a command Up that instructs to increase the VDD1. In response to this, the state transits to “VDDUP”, and the VDD1 is increased by the unit amount. Because the VDD1 increases, the output Y of the level shifter monitor circuit 31 is fixed to zero, the count value becomes zero, and the state thus transits to “VDDDOWN”. Such an operation is repeated subsequently. Accordingly, control is made such that the VDD1 stays around the level shifter minimum operating voltage (in a range between slightly higher and lower voltages than the first margin voltage) without becoming lower than the level shifter minimum operating voltage.
The semiconductor device of the first embodiment is described in the above. In the first embodiment, the VDD1 is controlled based on both of the delay of the first domain 1 and the determination result of whether or not the level shifters are operable. Particularly, because the internal circuit of the first domain 1 normally operates even when the operating frequency becomes low (for example, several hundred kHz or lower) and the delay is large, the VDD1 may be controlled to become a low voltage. In such a case, the level shifters do not operate, and the semiconductor device does not normally operate. In the semiconductor device of the first embodiment, the VDD1 does not lower to a voltage at which the level shifter does not operate. As described above, the first embodiment provides a multiple power supply AVS power management technology with high reliability.
In the semiconductor device of the first embodiment, as illustrated in
In a second embodiment that will next be described, a frequent fluctuation in the VDD1 is reduced.
In the level shifter monitor circuit 31 of the second embodiment, the malfunction circuit 34 has a level shifter 62 in addition to the level shifter 61. The level shifter 62 shifts the level of an input signal to the level of the signal for the VDD2 and outputs the input signal but malfunctions when the VDD1 becomes lower than a second margin voltage that is higher than the first margin voltage. In other words, the level shifter 62 malfunctions prior to the level shifter 61 in a case where the VDD1 is lowered.
In addition, in the level shifter monitor circuit 31 of the second embodiment, the comparator circuit 35 has an EXOR 73 and an FF 74 in addition to the EXOR 71 and the FF 72. The EXOR 73 detects agreement between YLS that is output by the level shifter 51 and an output of the level shifter 62. The FF 74 takes in and retains a comparison result by the EXOR 73 synchronously with the CLK and outputs the comparison result as a hold signal YH. The FF 72 takes in and retains a comparison result by the EXOR 71 synchronously with the CLK and outputs the comparison result as a warning signal YW.
The level shifter 62 of
As it is clear from a comparison with
A value of the VDD1 is maintained in the “VDDHOLD” state. The trigger TH is output in a case where the output delay of the delay monitor circuit 5 does not exceed the demanded operating frequency line and the level shifter monitor circuit 31 outputs the hold signal YH. Specifically, the trigger TH is output in a case where a pulse is not output in the output YW of the level shifter monitor circuit 31 but the pulse is output in the output YH.
In “VDDHOLD”, the state is maintained when the trigger TH is output. The state transits to “VDDDOWN” when the trigger TN is output, and the state transits to “VDDUP” when the trigger TW is output.
In “VDDDOWN”, the state is maintained when the trigger TN is output. The state transits to “VDDHOLD” when the trigger TH is output, and the state transits to “VDDUP” when the trigger TW is output.
In “VDDUP”, the state is maintained when the trigger TW is output. The state transits to “VDDHOLD” when the trigger TH is output, and the state transits to “VDDDOWN” when the trigger TN is output.
The PMU 7 of the second embodiment is different from the first embodiment in a point that the trigger generation section 81 further has a counter 85 and a comparator 86, and a power supply control section 87 generates control signals Up, Down, and Hold of the power supply 6 from outputs of the comparators 83 and 86. The other features are the same as the first embodiment.
The counter 85 is different only in a point that the output YH of the FF 74 is input, and the other features are the same as those of the counter 82. The comparator 86 is the same as the comparator 83. An output of the comparator 83 is referred to as TRIGW, and an output of the comparator 86 is referred to as TRIGH. Thus, when the pulse occurs in the output YH of the FF 74, the TRIGH becomes a high level.
The power supply control section 87 generates the control signals Up, Down, and Hold of the power supply 6 while following the sequence illustrated in
The sequence from the start to the transition to “VDDDOWN” is the same as the first embodiment in
The VDD1 is lowered by the unit amount in “VDDDOWN”. Repeating this leads to a decrease in the VDD1. Although the delay that is output by the delay monitor circuit 5 increases as described above, a description will be made here on the assumption that the VDD1 exceeds the second margin voltage and the first margin voltage before the delay exceeds the demanded operating frequency line. In response to this, the level shifter 62 of the malfunction circuit 34 malfunctions, and the output YH of the level shifter monitor circuit 31 repeats an alternation between zero and one. In response to this, because a count value COUNTH that is output by the counter 85 increases (becomes four here) and exceeds a reference value (for example, three), the TRIGH becomes a high level. During this, the level shifter 61 of the malfunction circuit 34 normally operates, the output YW of the level shifter monitor circuit 31 is maintained at a low level, a count value COUNTW of the counter 82 is zero, and the TRIGW is maintained at a low level. Thus, the power supply control section 84 outputs a command HOLD that instructs to maintain the VDD1. In response to this, the state transits to “VDDHOLD”. Because a voltage value of the VDD1 is thereafter maintained, the output YH repeats an alternation between zero and one, and the TRIGH thus maintains a high level. The output YW is maintained at a low level, and the TRIGW thus maintains a low level. Accordingly, the state is maintained in “VDDHOLD”, the power supply control section 84 outputs the command HOLD that instructs to maintain the VDD1, and the VDD1 thus does not change. As described above, the VDD1 is stable, and the ripple does not arise on the VDD1.
As illustrated in
During this, the level shifter 62 of the malfunction circuit 34 still malfunctions, the output YH of the level shifter monitor circuit 31 repeats an alternation between zero and one, the count value COUNTH is a reference value (five here) or greater, and the TRIGH becomes a high level. Thus, the power supply control section 84 outputs the command Up that instructs to increase the VDD1. In response to this, the state transits to “VDDUP”, and the VDD1 is increased by the unit amount. Because the VDD1 increases, the output YW of the level shifter monitor circuit 31 becomes a low level, the count value becomes zero, and the state thus transits to “VDDHOLD”. Such an operation is repeated subsequently. Accordingly, the VDD1 is stably maintained between the first margin voltage and the second margin voltage and is controlled to return to a range between the first margin voltage and the second margin voltage in cases where the VDD1 becomes lower than the first margin voltage and higher than the second margin voltage.
The first and second embodiments are described in the above. However, it is matter of course that various modifications are possible. For example, the second circuit block (second domain) 11 may be an element other than the SRAM. In the first and second embodiments, the power supply voltage VDD2 that is supplied to the second circuit block (second domain) 11 is fixed. However, the VDD2 may be changed in accordance with a load.
In addition, the malfunction circuit may be any kind of circuit as long as the circuit malfunctions at a voltage higher than the minimum operating voltage VDDmin and may easily detect malfunction.
The embodiments have been described in the foregoing. However, all the examples and conditions described herein are described for the purpose of aiding understanding the concept of the disclosure which is applied to disclosures and technologies. The particularly described examples and conditions are not intended to limit the scope of the present disclosure, and the configurations of such examples of this specification do not represent advantages or disadvantages of the disclosure. The embodiments of the disclosure have been described in detail. However, it is understood that changes, substitutions, and modifications may be made without departing from the gist and the scope of the disclosure.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2013-261158 | Dec 2013 | JP | national |