System on chip and operation method thereof
By introducing a temperature measurement module and a voltage sag detector in the SoC, the retention state of the processor is dynamically managed according to temperature and voltage conditions, solving the problem of increased leakage current and improving voltage regulation efficiency and data stability.
Patent Information
- Application Number
- CN202410557119.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-05-12
- Filing Date
- 2024-05-07
- Publication Date
- 2024-11-12
AI Technical Summary
In a system on chip, as the process is refined and the operating frequency increases, the leakage current may increase, affecting the processor's performance and voltage regulation efficiency.
A SoC is designed, including a processor, temperature measurement module, voltage regulator and controller, which senses the temperature data of the processor, enters the data hold state when certain conditions are met to reduce leakage current, and passes through a voltage sag detector Exit the hold state when the voltage drops to ensure the voltage is stable.
Effectively reduces leakage current, improves the processor's power management efficiency, prevents data loss due to voltage sagging, and protects the voltage regulator.
Smart Images

Figure CN118939598A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to a system on a chip or system on a chip (SoC) and a method of operating the same. Background Art
[0002] In a system on chip (SoC), the processor area can be increased to optimize the performance of the SoC. Due to process refinement and / or increased operating frequency, leakage may increase. Summary of the invention
[0003] Embodiments of the present disclosure may provide a system on chip (SoC) for reducing leakage current and / or a method of operating the same.
[0004] According to an embodiment, a SoC includes: a processor connected to a plurality of switches configured to adjust a supply voltage to the processor; a voltage regulator configured to apply a control signal for controlling at least one of the plurality of switches; and a voltage droop detector connected to the voltage regulator and the processor and configured to send a voltage droop detection signal to the voltage regulator when a voltage droop is detected from the processor. The voltage regulator may turn on a predetermined number of switches among the plurality of switches based on the control signal when receiving the voltage droop detection signal.
[0005] According to an embodiment, a SoC includes: a processor, the processor is connected to a plurality of switches, the plurality of switches are configured to adjust a supply voltage to the processor; a temperature measurement module, the temperature measurement module is configured to sense temperature data from the processor; a regulator, the regulator is configured to apply a control signal for controlling at least one of the plurality of switches; and a controller, the controller being configured to control the regulator so that the processor enters a hold state for data retention based on the supply voltage when a first condition associated with the temperature data is satisfied, and to control the regulator so that the processor exits the hold state when a second condition associated with the control signal is satisfied.
[0006] According to an embodiment, a method for operating a SoC includes: sensing temperature data of a processor included in the SoC; entering a hold state for data retention based on a supply voltage of the processor when a first condition associated with the temperature data is met; and exiting the hold state when a second condition associated with a plurality of switches configured to adjust the supply voltage is met. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] The above and other embodiments of the present disclosure will be more clearly understood by way of examples according to the following detailed description in conjunction with the accompanying drawings, in which:
[0008] Figure 1 is a block diagram illustrating a system on a chip (SoC) in accordance with an illustrative embodiment.
[0009] Figure 2 is a block diagram illustrating a SoC in accordance with an illustrative embodiment.
[0010] Figure 3 is a block diagram illustrating a controller in accordance with an illustrative embodiment.
[0011] Figure 4 is a block diagram illustrating a SoC in accordance with an illustrative embodiment.
[0012] Figure 5 is a hybrid diagram illustrating a SoC in a hold-out event in accordance with an illustrative embodiment.
[0013] Figure 6 is a hybrid diagram illustrating a SoC during a voltage sag event in accordance with an illustrative embodiment.
[0014] Figure 7 is a flow chart illustrating a method of operating a SoC according to an illustrative embodiment.
[0015] Figure 8 is a flowchart illustrating a method of exiting a hold state in accordance with an illustrative embodiment.
[0016] Fig. 9 is a block diagram illustrating an electronic device in accordance with an illustrative embodiment.
[0017] Fig.10 is a block diagram illustrating an electronic device including a SoC according to an illustrative embodiment. DETAILED DESCRIPTION
[0018] Hereinafter, illustrative embodiments will be described by way of examples with reference to the accompanying drawings.
[0019] Figure 1 A system on a chip (SoC) is shown in accordance with an illustrative embodiment.
[0020] refer to Figure 1 , SoC 100_1 can be implemented as, for example, an integrated circuit (IC), a mainboard, an application processor (AP), a mobile AP, a mobile SoC, etc.
[0021] As an example, the SoC 100_1 may include a processor 110 , a temperature measurement module (TMM) 130 , a regulator 140 such as, but not limited to, a low dropout (LDO) regulator, and a controller 150 .
[0022] The processor 110 may run a program stored in the SoC 100_1. Alternatively, the processor 110 may process data stored in the SoC 100_1, data provided externally, etc. For example, the processor 110 may run a program and process data in response to a clock signal provided internally and / or externally.
[0023] In an embodiment, the processor 110 may be implemented as a general-purpose processor, a dedicated processor, or an application processor (AP). For example, the processor 110 may be implemented as an operation processor such as a central processing unit (CPU), a graphics processing unit (GPU), an application processor (AP), etc. The processor may include a dedicated logic circuit such as a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), etc., but the embodiment is not limited thereto.
[0024] In an embodiment, the processor 110 may be connected to a plurality of switches (SW) 120 configured to adjust the supply voltage. The plurality of switches 120 may be integrated with the processor, without limitation thereto. The plurality of switches 120 may be controlled by signaling the voltage regulator 140. Each of the plurality of switches 120 is turned on or off in response to the control signal CS, so that the supply voltage supplied from the power rail to the processor 110 may be adjusted. According to various embodiments, as shown in FIG. Figure 1 As illustrated, the plurality of switches 120 may be included inside the processor 110 to be connected to the processor 110. Alternatively, the plurality of switches 120 may be provided outside the processor 110 to be connected to the processor 110.
[0025] The temperature measurement module 130 may be configured to sense first temperature data TD1 from the processor 110. For example, the temperature measurement module 130 may periodically or aperiodically sense a temperature value of the processor 110 and may transmit second temperature data TD2 indicating the sensed temperature value to the controller 150.
[0026] The voltage regulator 140 may be configured to control a supply voltage supplied to the processor 110. The voltage regulator 140 may apply a control signal CS to the processor 110 and to the controller 150 so as to control at least one switch of the plurality of switches 120 connected to the processor 110.
[0027] The control signal CS may be configured or set differently to turn on or off each of the plurality of switches 120. For example, the control signal CS may include a plurality of bits, and each bit may correspond to at least one switch. Depending on a logic state of the control signal CS, such as a logic high state or a logic low state, each of the plurality of switches 120 may be turned on or off, and a supply voltage supplied to the processor 110 may be adjusted.
[0028] The regulator 140 may be implemented as a linear regulator such as a low dropout (LDO) regulator, a switching regulator, etc. For example, the regulator 140 may be implemented as a digital LDO (DLDO) regulator implemented as a digital controller having a comparator, a shift register, etc.
[0029] The controller 150 may control the overall operation of the SoC 100_1. As an example, the controller 150 may control the processor 110 to enter or exit a hold state.
[0030] The hold state may be defined as a state of low-power operation of the SoC 100_1. For example, the hold state may be defined as a state when the processor 110 operates in a clock-gated state. In the clock-gated state, the clock signal may be stopped from being supplied to the processor 110. In the clock-gated state, the processor 110 may be supplied with a supply voltage of a specific level. The hold state may refer to a state in which the processor 110 is supplied with a minimum supply voltage for storing or retaining data.
[0031] For example, in the hold state, the controller 150 may supply a minimum voltage for the processor 110 to store data by signaling the voltage regulator 140. The processor 110 may be supplied with a minimum voltage at which an element for data storage such as a logic element or a flip-flop is operable under the control of the controller 150. Therefore, the processor 110 may operate at low power in the hold state.
[0032] The controller 150 may control the regulator 140 through the operation signal OS.
[0033] In an embodiment, when a first condition associated with the temperature data TD1 and / or TD2 is satisfied, the controller 150 may control the regulator 140 so that the processor 110 enters a hold state. For example, the first condition may be defined as whether the temperature data TD1 and / or TD2 satisfies a predetermined temperature value or a smaller temperature value. For example, the first condition may be satisfied when the temperature data TD1 and / or TD2 is less than or equal to a predetermined temperature value, and the first condition may not be satisfied when the temperature data TD1 and / or TD2 is greater than a predetermined temperature value.
[0034] Satisfying the first condition may mean that the temperature of the processor 110 is within an appropriate temperature range. Since power is supplied even when the processor 110 is operating in a clock gating state, leakage current may exist. When the operating temperature of the processor 110 increases, the amount of leakage current may increase accordingly. The increase in the amount of leakage current may affect the operation of the voltage regulator 140 connected to the processor 110 to regulate the voltage of the processor 110. Therefore, according to an embodiment, the controller 150 may check the first condition before entering the hold state, and then may control the processor 110 to enter the hold state when the temperature is a temperature at which the voltage regulator 140 is operable.
[0035] The controller 150 may compare the temperature data TD2 received from the temperature measurement module 130 with a predetermined temperature value, and may determine whether the first condition is satisfied. The controller 150 may determine whether the first condition is satisfied before entering the hold state. When the first condition is satisfied, the controller 150 may control the regulator 140 so that the processor 110 enters the hold state.
[0036] The controller 150 and the voltage regulator 140 may operate to match the voltage used in the hold state. Such a voltage used in the hold state may be referred to as a "hold voltage". For example, when the supply voltage supplied to the processor 110 decreases, the controller 150 may turn on at least one of the multiple switches 120 by signaling the voltage regulator 140. For example, the controller 150 may apply an operation signal OS including a command for turning on at least one switch to the voltage regulator 140. The voltage regulator 140 may apply a control signal CS corresponding to the difference between the supply voltage and the hold voltage to the multiple switches 120. At least one switch is turned on so that the supply voltage supplied to the processor can be increased.
[0037] For example, when the supply voltage supplied to the processor 110 increases, the controller 150 may disconnect at least one of the plurality of switches 120 by signaling the voltage regulator 140. For example, the controller 150 may apply an operation signal OS including a command for disconnecting at least one switch to the voltage regulator 140. The voltage regulator 140 may apply a control signal CS corresponding to a difference between the supply voltage and the holding voltage to the plurality of switches 120. At least one switch is disconnected so that the supply voltage can be reduced.
[0038] The number of at least one switch turned on or off and / or its voltage increment(s) may be determined depending on the difference between the supply voltage and the holding voltage.
[0039] When the first condition is not met, such as when the temperature of the processor 110 is high, the amount of leakage current may be large, which may exceed the current at which the regulator 140 is controllable or operable. Therefore, the controller 150 may suspend entering the holding state.
[0040] The controller 150 and the voltage regulator 140 may operate substantially continuously or periodically to match the hold voltage even after entering the hold state.
[0041] For example, when the temperature of the processor 110 increases, the leakage current of the processor 110 increases. Therefore, the controller 150 and the regulator 140 can turn on at least one switch based on the control signal CS to maintain the holding voltage. Since the supply voltage increases as at least one switch is turned on, the holding voltage can be maintained even when the temperature increases.
[0042] In an embodiment, when the second condition associated with the control signal CS is satisfied, the controller 150 may control the regulator 140 so that the processor 110 exits the hold state. For example, the second condition may be defined as whether the number of at least one switch turned on by the control signal CS satisfies a predetermined number N1 or more, where N1 is a positive integer.
[0043] In an embodiment, the controller 150 may be configured to receive a control signal CS from the regulator 140. The control signal CS may indicate how many of the plurality of switches 120 are turned on or off. Therefore, the controller 150 may identify the on or off state of each of the plurality of switches 120 based on the control signal CS received from the regulator 140. The controller 150 may determine whether the second condition is satisfied based on the control signal CS.
[0044] When the second condition is satisfied, the controller 150 may control the processor 110 such as exiting the hold state by signaling the voltage regulator 140. The controller 150 may apply an operation signal OS to the voltage regulator 140, and the voltage regulator 140 may turn on a predetermined number N2 of switches among the plurality of switches 120 based on the control signal CS, where N2 is a positive integer. The predetermined number N2 may be set to the number of all or some switches currently in the off state among the plurality of switches 120. For example, the predetermined number N2 may be set to the number of switches that fully exceed the hold voltage when the N2 switches are turned on.
[0045] When the number of switches turned on to maintain the holding voltage increases substantially continuously or periodically after entering the holding state, the leakage current may increase to exceed the leakage current that can be handled by the regulator 140 .
[0046] Therefore, the controller 150 may protect the voltage regulator 140 by recognizing the control signal CS and controlling the voltage regulator 140 to exit the holding state in advance before exceeding the leakage current that can be handled by the voltage regulator 140 .
[0047] According to the above embodiment, the SoC 100_1 can stably control the entry and exit of the retention state of the data retention of the processor 110. For example, before entering the retention state, the temperature of the processor can be checked in advance to stably enter the retention state. In addition, after entering the retention state, the control signal CS of the regulator 140 that can represent the leakage current can be monitored to exit the retention state in advance before the leakage current increases.
[0048] Figure 2 A SoC according to an illustrative embodiment is shown. Hereinafter, redundant descriptions will be omitted.
[0049] refer to Figure 2 , as an example, the SoC 100_2 may include a processor 110 , a voltage regulator 140 , a controller 150 , and a voltage droop detector 160 .
[0050] The processor 110 may include a plurality of switches (SW) 120, and the regulator 140 may adjust a supply voltage of the processor 110 by controlling the plurality of switches 120 based on an operation signal OS applied from the controller 150. The regulator 140 may be an LDO regulator or a DLDO regulator, without being limited thereto.
[0051] The voltage sag detector 160 may be connected to the regulator 140 and the processor 110, and may detect a voltage sag from the processor 110. Voltage sag may be defined as a phenomenon in which a supply voltage VP of the processor 110 or another processing circuit significantly drops when it fluctuates depending on the operating environment and the level of the operation to be performed. The other processing circuit may be a functional circuit, a semiconductor circuit, etc. For example, the voltage sag detector 160 may monitor the supply voltage VP through a power rail supplied with the supply voltage VP. When a voltage sag is detected, the voltage sag detector 160 may send a voltage sag detection signal (DD) to the regulator 140. For example, when the supply voltage VP drops to a predetermined voltage level or a lower voltage level, the voltage sag detector 160 may generate a voltage sag detection signal and send it to the regulator 140.
[0052] In an embodiment, the voltage sag detector 160 may be configured to send a voltage sag detection signal to the voltage regulator 140 within a predetermined time. For example, the voltage sag detector 160 may be connected to and physically adjacent to the voltage regulator 140. Therefore, when a voltage sag is detected, the voltage sag detector 160 may quickly send a voltage sag detection signal to the voltage regulator 140.
[0053] The voltage regulator 140 is connected to the voltage sag detector 160, and thus can directly receive the voltage sag detection signal from the voltage sag detector 160. When the voltage sag detection signal is received, the voltage regulator 140 can control the processor 110 to exit the hold state. In an embodiment, the voltage regulator 140 can turn on a predetermined number N2 of switches among the plurality of switches 120 based on the control signal CS. As the N2 switches are turned on, the supply voltage VP of the processor 110 can increase. As the N2 switches are turned on, the processor 110 can exit the hold state.
[0054] According to the above-described embodiment, when the voltage sag detector 160 directly connected to the voltage regulator 140 detects a voltage sag, the SoC 100_2 can exit the hold state. When a voltage sag detection signal is received directly from the voltage sag detector 160, the voltage regulator 140 can control the plurality of switches 120 to exit the hold state. Therefore, when the hold state is unstable due to the voltage sag, data loss of the processor 110 can be prevented.
[0055] Figure 3 A controller is shown in accordance with an illustrative embodiment.
[0056] refer to Figure 3 , the controller 150 according to the embodiment may include a regulator controller 151 and a power controller 152 .
[0057] The regulator controller 151 may control the overall operation of the regulator 140 under the control of the power controller 152 .
[0058] According to various embodiments, the regulator controller 151 may be configured to Figure 1 The temperature measurement module 130 receives the temperature data TD2 , receives the control signal CS from the regulator 140 , or outputs an operation signal OS for controlling the regulator 140 to the regulator 140 .
[0059] The regulator controller 151 may monitor the temperature of the processor 110 based on the received temperature data TD2. For example, the regulator controller 151 may compare the temperature data TD2 with a predetermined temperature value and may determine whether a first condition is satisfied. When the first condition is satisfied, the regulator controller 151 may output an acknowledgement signal ACK to the power controller 152 before entering the hold state.
[0060] The power controller 152 may control the overall operation of the regulator controller 151 .
[0061] In an embodiment, the power controller may determine that it can enter the holding state upon receiving the acknowledgement signal ACK. The power controller 152 may transmit an operation signal OS corresponding to the acknowledgement signal ACK to the regulator controller 151 .
[0062] The regulator controller 151 may control the regulator 140 based on the operation signal OS received from the power controller 152. For example, the operation signal OS may be provided to generate a control signal CS that controls at least one switch of the plurality of switches 120 to be turned on or off to enter a holding state.
[0063] In an embodiment, the regulator controller 151 may receive a control signal CS from the regulator 140 and may monitor the received control signal CS. The regulator controller 151 may determine whether the above-mentioned second condition is met based on the control signal CS. When the second condition is met, for example, when the number of at least one switch turned on indicated by the control signal CS is greater than or equal to N1, the regulator controller 151 outputs a stop signal SS to the power controller 152.
[0064] The power controller 152 may output an operation signal OS corresponding to the stop signal SS to the regulator controller 151. The regulator controller 151 may control the regulator 140 based on the operation signal OS, thereby enabling the processor 110 to exit the holding state.
[0065] In an embodiment, when the second condition is highly likely to be satisfied, for example, when the number of switches turned on is at least 1 and close to N1, the regulator controller 151 outputs the warning signal WS to the power controller 152 .
[0066] Figure 4 A SoC is shown in accordance with an illustrative embodiment.
[0067] refer to Figure 4 , as an example, the SoC 100_3 may include a processor 110 , a temperature measurement module 130 , a regulator 140 , a regulator controller 151 , a power controller 152 , and a voltage droop detector 160 .
[0068] In an embodiment, before entering the hold state, the temperature measurement module 130 may sense the temperature of the processor 110 to send temperature data TD2 to the regulator controller 151. The regulator controller 151 may determine whether the first condition is satisfied based on the temperature data TD2, and may send an acknowledgement signal ACK to the power controller 152 when the first condition is satisfied. The power controller 152 may send an operation signal OS for entering the hold state to the regulator 140 by signaling the regulator controller 151. The regulator 140 may turn on or off the plurality of switches 120 based on the control signal CS for entering the hold state.
[0069] In an embodiment, after entering the hold state, the regulator controller 151 may receive a control signal CS of the regulator 140. The regulator controller 151 may determine whether the second condition is satisfied based on the received control signal CS, and may send a stop signal SS to the power controller 152 when the second condition is satisfied. Alternatively, the regulator controller 151 may send a warning signal WS to the power controller 152 in advance before the second condition is satisfied. The power controller 152 may send an operation signal OS corresponding to the stop signal SS to the regulator 140 by signaling the regulator controller 151. The regulator 140 may turn on N2 switches based on the control signal CS for exiting the hold state.
[0070] In an embodiment, the voltage droop detector 160 may detect a voltage droop from the processor 110 substantially continuously or periodically. For example, the voltage droop detector 160 may detect a voltage droop of the supply voltage VP from the processor 110 step by step or sequentially, without limitation thereto. The voltage droop detector 160 may first detect a first threshold voltage from the processor 110. For example, the first threshold voltage may be defined as a voltage for alerting the voltage regulator 140 that a voltage droop may occur before the voltage droop actually occurs. When the supply voltage VP of the processor 110 reaches a second threshold voltage after crossing the first threshold voltage, the voltage droop detector 160 may detect that a voltage droop has occurred. For example, the second threshold voltage may have a value that may be defined as a voltage droop occurring in the processor 110.
[0071] When a voltage sag is detected, the voltage sag detector 160 may send a voltage sag detection signal to the voltage regulator 140. When receiving the voltage sag detection signal, the voltage regulator 140 may control the processor 110 to exit the holding state.
[0072] Figure 5 A SoC is shown in a hold-out event in accordance with an illustrative embodiment.
[0073] refer to Figure 5In an embodiment, the voltage regulator 140 included in the SoC 100_4 may be connected to the first to fourth switch circuits SW1 to SW4 . The first to fourth switch circuits SW1 to SW4 may correspond to the plurality of switches 120 described above.
[0074] The first to fourth switch circuits SW1 to SW4 may be connected to the regulator 140 and may be included in Figure 1 , Figure 2 or Figure 4 The processor core 111 in the processor 110 of the embodiment of the present invention is shown. As an example, the core 111 may include a single core, or may be defined as a cluster including a plurality of sub-cores 111a to 111n. Each of the plurality of sub-cores may be implemented as an independently drivable processor core. Each of the plurality of sub-cores 111a to 111n may independently read and execute program instructions.
[0075] The first switch circuit SW1 may include n transistors TR_11 to TR_1n, the second switch circuit SW2 may include m transistors TR_21 to TR_2m, the third switch circuit SW3 may include i transistors TR_31 to TR_3i, and the fourth switch circuit SW4 may include j transistors TR_41 to TR_4j, where m, n, i and j are positive integers that may be the same and / or different from each other.
[0076] The regulator 140 may control the first switch circuit SW1 based on the first control signal CS1, the second switch circuit SW2 based on the second control signal CS2, the third switch circuit SW3 based on the third control signal CS3, and the fourth switch circuit SW4 based on the fourth control signal CS4. The first control signal CS1 may turn on or off at least one of the n transistors TR_11 to TR_1n, the second control signal CS2 may turn on or off at least one of the m transistors TR_21 to TR_2m, the third control signal CS3 may turn on or off at least one of the i transistors TR_31 to TR_3i, and the fourth control signal CS4 may turn on or off at least one of the j transistors TR_41 to TR_4j. As each transistor is turned on or off, the supply voltage VP applied from the external supply voltage VDD to the core 111 may be adjusted.
[0077] The voltage regulator 140 may send a single control signal CS including first to fourth control signals CS1 to CS4 to the voltage regulator controller 151. For example, each control signal may have any one of a logic low level and / or a logic high level. It should be understood that each control signal may have as many bits as the number of corresponding transistors, or may be configured differently to control other transistors.
[0078] The regulator controller 151 can monitor a single control signal CS to identify how many transistors are turned on or off to adjust the supply voltage. For example, a logic low level can be set to indicate the conduction of the transistor. In this case, when the single control signal CS has a logic value of "0011", the first switch circuit SW1 and the second switch circuit SW2 can be turned on, and the third switch circuit SW3 and the fourth switch circuit SW4 can be turned off. The regulator controller 151 can identify the control signal CS to determine that at least one or more of the m transistors TR_21 to TR_2m and at least one or more of the n transistors TR_11 to TR_1n are currently turned on.
[0079] The regulator controller 151 may determine whether the second condition is satisfied based on the number of transistors instructed to be turned on by the control signal CS. When the second condition is satisfied, the regulator controller 151 may send an operation signal OS to the regulator 140 indicating exiting the retention state of data retention.
[0080] Figure 6 A SoC is shown during a voltage sag event in accordance with an illustrative embodiment.
[0081] refer to Figure 6 , SoC 100_5 may include a first regulator (REG0) 141 to a fourth regulator (REG3) 144, a first switch group (SW) 121 to a fourth switch group (SW) 124, a first core 112 to a fourth core 115, and a first voltage sag detector 161 to a fourth voltage sag detector 164. The first regulator 141 to the fourth regulator 144 may be connected to a power rail supplied with an external supply voltage VDD. Each of the first regulator 141 to the fourth regulator 144 may be connected to each of the first switch group 121 to the fourth switch group 124 to control the connected switch group. In addition, each of the first regulator 141 to the fourth regulator 144 may be an LDO regulator and / or a DLDO regulator, without being limited thereto.
[0082] Each of the first to fourth switch groups 121 to 124 may include a plurality of switches SW. The plurality of switches SW may be turned on or off based on a control signal of each regulator. If the regulators are LDO or DLDO, respectively, the control signal may be analog or digital for each regulator.
[0083] The first core 112 to the fourth core 115 may be connected to a power rail to which a ground voltage VSS is applied. Such a power rail may also be referred to as a "virtual power rail". The first core 112 to the fourth core 115 may be included in the above Figure 1 , Figure 2 and Figure 4Each of the first core 112 to the fourth core 115 can independently read and execute program instructions.
[0084] At least one or more of the first core 112 to the fourth core 115 may be in an awake state. For example, as illustrated in the accompanying drawings, for a particular operation, the first core 112 to the third core 114 may be in an awake state. In this case, more supply voltage may be supplied from the power rail for power supply in the awake state. For example, the load current of the first core 112 to the third core 114 may be increased. Therefore, the supply voltage of the power rail may swing greatly. According to the swing, a voltage sag may occur in the supply voltage to the fourth core 114.
[0085] The first to fourth voltage sag detectors 161 to 164 may be respectively connected to the first to fourth voltage regulators 141 to 144 and the first to fourth cores 112 to 115. The first to fourth voltage sag detectors 161 to 164 may detect a voltage sag occurring in at least one core, and may output first to fourth voltage sag detection signals DD1 to DD4 to the first to fourth voltage regulators 141 to 144.
[0086] Figure 7 A method of operating a SoC according to an illustrative embodiment is shown.
[0087] refer to Figure 7 , in an embodiment, in operation S1010 , the systems on chip 100_1 to 100_5 may sense temperature data TD1 of the processor 110 .
[0088] In operation S1020 , the systems on chip 100_1 to 100_5 may determine whether a first condition associated with the temperature data TD1 and / or TD2 is satisfied.
[0089] When the first condition is satisfied, the process proceeds to operation S1030 in which the SoCs 100_1 to 100_5 may enter a hold state of data retention based on a supply voltage. For example, the SoCs 100_1 to 100_5 may perform an operation of generating or transmitting an acknowledgement signal ACK, an operation signal OS, and a control signal CS to enter a hold state. When the first condition is not satisfied, the SoCs 100_1 to 100_5 may suspend entering the hold state.
[0090] In operation S1040 , the SoCs 100_1 to 100_5 may determine whether a second condition associated with the plurality of switches 120 configured to adjust the supply voltage after entering the hold state is satisfied.
[0091] When the second condition is satisfied, the process proceeds to operation S1050 in which the SoC 100_1 to 100_5 may exit the hold state. For example, the SoC 100_1 to 100_5 may perform an operation of generating or sending a warning signal WS, a stop signal SS, an operation signal OS, and a control signal CS to exit the hold state. When the second condition is not satisfied, the SoC 100_1 to 100_5 may be maintained in the hold state.
[0092] Figure 8 A method for exiting a hold state according to an illustrative embodiment is shown.
[0093] refer to Figure 8 In an embodiment, in operation S1110, the voltage droop detector 160 may detect a voltage droop from the processor 110. For example, the SoC may monitor whether the supply voltage drops to a predetermined voltage level or a lower voltage level. When the supply voltage drops to a predetermined level or a lower level, the SoC may determine that a voltage droop is detected. For example, the voltage droop detector 160 may detect a voltage droop of the supply voltage VP from the processor 110 step by step or sequentially. The voltage droop detector 160 may first detect a first threshold voltage from the processor 110. For example, the first threshold voltage may be defined as a voltage for alerting the regulator 140 that a smaller voltage drop occurs before a larger voltage droop occurs. When the supply voltage VP of the processor 110 reaches a second threshold voltage after crossing the first threshold voltage, the voltage droop detector 160 may detect that a voltage droop has occurred. For example, the second threshold voltage may have a value that may be defined as a voltage droop occurring in the processor 110.
[0094] When the voltage sag is detected, the flow proceeds to operation S1120 where the voltage sag detector 160 may transmit a voltage sag detection signal to the regulator 140 .
[0095] In operation S1130, the regulator 140 may control the processor 110 to exit the holding state through the plurality of switches 120 included in the processor 110 upon receiving the voltage sag detection signal. For example, the regulator may control the processor to exit the holding state substantially immediately upon receiving the voltage sag detection signal.
[0096] Fig. 9 An electronic device is shown in accordance with an illustrative embodiment.
[0097] refer to Fig. 9In an embodiment, the electronic device 1 can be implemented as a handheld device such as a mobile phone, a smart phone, a tablet personal computer (PC), a personal digital assistant (PDA), an enterprise digital assistant (EDA) and a digital still camera, a digital video camera, a portable multimedia player (PMP), a personal navigation device or a portable navigation device (PND), a handheld game console or an electronic book.
[0098] In an embodiment, the electronic device 1 may include a SoC 1000 , an external memory 1850 , a display device 1550 , and a power management integrated circuit (PMIC) 1950 .
[0099] In an embodiment, the SoC 1000 may include a central processing unit (CPU) 1100, a neural network processing unit (NPU) 1200, a graphics processing unit (GPU) 1300, a timer 1400, a display controller 1500, a random access memory (RAM) 1600, a read-only memory (ROM) 1700, a memory controller 1800, a clock management unit (CMU) 1900, and a bus 1050. The SoC 1000 may also include other components than those illustrated in this figure.
[0100] In an embodiment, the SoC 1000 may be implemented according to the above-described embodiment. The SoC 1000 may sense the temperature data TD1 of the CPU 1100 to determine whether a first condition is satisfied, and may enter a hold state when the first condition is satisfied. In addition, the SoC 1000 may monitor the control signal CS to determine whether a second condition is satisfied, and may exit the hold state when the second condition is satisfied. In addition, the SoC 1000 may exit the hold state when a voltage drop is detected.
[0101] exist Fig. 9 In the embodiment, the PMIC 1950 is implemented outside the SoC 1000. However, according to an embodiment, the SoC 1000 may include a power management unit (PMU) capable of performing the function of the PMIC 1950.
[0102] The CPU 1100 may be referred to as a processor and may be connected to or associated with one or more switches configured to adjust a supply voltage. The CPU may process or run programs and / or data stored in the external memory 1850. For example, the CPU 1100 may process or run programs and / or data in response to an operating clock signal output from the CMU 1900. The CPU 1100 may be implemented as a multi-core processor. A multi-core processor may be a single computing component having two or more independent actual processors, which may also be referred to as cores. Each core may read and run program instructions.
[0103] According to the above-described embodiment, when a voltage sag is detected in at least one or more cores, the SoC 1000 may operate to exit the hold state.
[0104] The programs and / or data stored in the ROM 1700 , the RAM 1600 , and / or the external memory 1850 may be loaded into a memory (not shown) of the CPU 1100 when necessary.
[0105] NPU 1200 can use artificial neural networks to process large-scale operations. For example, NPU can process such large-scale operations more efficiently than the corresponding CPU, and / or reduce such load from the CPU. NPU 1200 can support multiple simultaneous matrix operations to perform deep learning.
[0106] The GPU 1300 may convert data read from the external memory 1850 by the memory controller 1800 into a signal suitable for the display device 1550. The GPU may augment the NPU for some operations.
[0107] The timer 1400 may output a count value indicating time, such as based on an operation clock signal output from the CMU 1900 .
[0108] The display device 1550 may display an image signal output from the display controller 1500. The display device 1550 may be implemented as, for example, a liquid crystal display (LCD), a light emitting diode (LED) display, an organic LED (OLED) display, an active matrix OLED (AMOLED) display, or a flexible display.
[0109] The display controller 1500 may control one or more operations of the display device 1550 .
[0110] RAM 1600 can temporarily store programs, data or instructions. For example, programs and / or data stored in external memory 1850 can be temporarily stored in RAM 1600 under the control of CPU 1100 or based on the boot code stored in ROM 1700. RAM 1600 can be implemented as dynamic RAM (DRAM), static RAM (SRAM). In addition, ROM and / or RAM can be at least partially implemented in flash memory such as but not limited to high-speed flash memory and / or large-capacity flash memory. More specifically, ROM and / or RAM can be vertical NAND flash memory (V-NAND).
[0111] ROM 1700 may store persistent programs and / or data. ROM 1700 may also be implemented as an erasable programmable read-only memory (EPROM) or an electrically erasable programmable read-only memory (EEPROM).
[0112] The memory controller 1800 can communicate with the external memory 1850 through an interface. The memory controller 1800 can control the overall operation of the external memory 1850, and can control the data to be exchanged between the host and the external memory 1850. For example, the memory controller 1800 can write data to the external memory 1850 or read data from the external memory 1850 based on a request from the host. The host can be a main control device such as the CPU 1100, the GPU 1300, or the display controller 1500. The external memory 1850, which can be a storage medium for storing data such as but not limited to V-NAND flash memory, can store an operating system (OS), various programs, and / or various types of data. The external memory 1850 can be, for example, a DRAM, but the embodiment is not limited thereto. Alternatively, the external memory 1850 can be a non-volatile memory device (NVM device) such as any flash memory, phase change RAM (PRAM), magnetic RAM (MRAM), resistive RAM (RRAM), and / or ferroelectric RAM (FeRAM) device.
[0113] In an embodiment, the external memory 1850 may be an internal memory provided inside the SoC 1000. In addition, the external memory 1850 may be a flash memory, an embedded multimedia card (eMMC), or a universal flash memory (UFS).
[0114] The CMU 1900 may generate an operation clock signal. The CMU 1900 may include a clock signal generating device such as a phase-locked loop (PLL), a delay-locked loop (DLL), or a crystal oscillator, but is not limited thereto. The operation clock signal may be provided to the GPU 1300. The operation clock signal may also be provided to another component. For example, the operation clock signal may also be provided to the CPU 1100, the memory controller 1800, etc. The CMU 1900 may change the frequency of the operation clock signal. The CPU 1100, the NPU 1200, the GPU 1300, the timer 1400, the display controller 1500, the RAM 1600, the ROM 1700, the memory controller 1800, and the CMU 1900 may communicate with each other via the bus 1050.
[0115] Fig.10 An electronic device including a SoC is shown in accordance with an illustrative embodiment.
[0116] In an embodiment, the electronic device 2 may be implemented as a personal computer (PC), a data server, or a portable electronic device 2. The portable electronic device 2 may be implemented as a handheld device such as a mobile phone, a smart phone, a tablet personal computer (PC), a personal digital assistant (PDA), an enterprise digital assistant (EDA), and a digital still camera, a digital video camera, a portable multimedia player (PMP), a personal navigation device or a portable navigation device (PND), a handheld game console, or an electronic book.
[0117] In an embodiment, the electronic device 2 may include a SoC 2000, a display device 2200, a power supply 2300, an input / output (I / O) port 2400, a memory 2500, a storage device 2600, an external memory 2700, and a network device 2800. According to an embodiment, the electronic device 2 may further include a camera module 2100. The SoC 2000 may be implemented according to the above-described embodiment, and may control entry into or exit from a hold state based on temperature data TD, a control signal CS, and a voltage droop.
[0118] The camera module 2100 refers to a module capable of converting an optical image into an electrical image. Therefore, the electrical image output from the camera module 2100 may be stored in the storage device 2600, the memory 2500, or the external memory 2700. In addition, the electrical image output from the camera module 2100 may be displayed through the display device 2200.
[0119] The display device 2200 may display data output from the storage device 2600, the memory 2500, the input / output port 2400, the external memory 2700, or the network device 2800. For example, the display device 2200 may be Fig. 9 display device.
[0120] The power supply 2300 can supply an operating voltage to at least one component. Fig. 9 PMIC control.
[0121] The input / output port 2400 refers to a port capable of transmitting data to the electronic device 2 or transmitting data output from the electronic device 2 to an external device. For example, the input / output port 2400 may be a port for connecting a pointing device such as a computer mouse, a port for connecting a printer, or a port for connecting a USB drive.
[0122] The memory 2500 may be implemented as a volatile memory or a nonvolatile memory and may correspond to Fig. 9For example, a memory controller capable of controlling data access operations (e.g., read operations, write operations, or program operations and / or erase operations) to the memory 2500 may be integrated or embedded in the SoC 2000. For example, the memory controller may be implemented between the SoC 2000 and the memory 2500.
[0123] The storage device 2600 may be implemented as a hard disk drive or a solid state drive (SSD), but is not limited thereto. For example, one or more SSDs may be implemented in a V-NAND flash memory.
[0124] The external memory 2700 may be implemented as a secure digital (SD) card or a multimedia card (MMC) that may also include a flash memory such as V-NAND. For example, the external memory 2700 may be or include a user identification module (SIM) card or a universal subscriber identity module (USIM) card.
[0125] The network device 2800 refers to a device capable of connecting the electronic device 2 to a wired network or a wireless network.
[0126] As set forth above, according to the illustrative embodiments presented by way of example, a SoC for reducing leakage current and an operating method thereof are provided.
[0127] While illustrative and non-limiting embodiments have been shown and described above, it will be apparent to those skilled in the relevant arts that various modifications and changes may be made without departing from the scope of the inventive concept as defined in the appended claims.
Claims
1. A system on chip, the system on chip include: a processor connected to a plurality of switches configured to regulate a supply voltage to the processor; a voltage regulator configured to apply a control signal for controlling at least one switch of the plurality of switches; as well as a voltage sag detector connected to the voltage regulator and the processor and configured to send a voltage sag detection signal to the voltage regulator when a voltage sag is detected from the processor, The voltage regulator turns on a predetermined number of switches among the plurality of switches based on the control signal when receiving the voltage sag detection signal.
2. The system on chip according to claim 1, in, The voltage sag detector determines that the voltage sag is detected when the supply voltage drops to a predetermined level or lower.
3. The system on chip according to claim 1, in, The voltage sag detector is further configured to send the voltage sag detection signal to the voltage regulator within a predetermined time.
4. The system on chip according to claim 1, in, The supply voltage increases as the predetermined number of switches are turned on.
5. The system on chip according to claim 1, wherein the system on chip further comprises: include: a controller configured to control the voltage regulator to enter or exit a holding state of data retention based on the supply voltage; as well as A temperature measurement module is connected to the controller and is configured to sense temperature data from the processor and transmit the sensed temperature data to the controller.
6. The system on chip according to claim 1, in, The processor also includes a power rail supplied with the supply voltage and a plurality of cores connected to the plurality of switches.
7. The system on chip according to claim 6, in, When the voltage sag is detected in at least one core among the plurality of cores, the voltage regulator turns on the predetermined number of switches, Wherein, the voltage regulator is a low voltage dropout regulator.
8. The system on chip according to claim 5, in, The processor exits the hold state as the predetermined number of switches are turned on.
9. The system on chip according to claim 1, in, The voltage regulator is a digital low dropout voltage regulator.
10. A system on chip, the system on chip include: a processor connected to a plurality of switches configured to regulate a supply voltage to the processor; a temperature measurement module configured to sense temperature data from the processor; a voltage regulator configured to apply a control signal for controlling at least one switch of the plurality of switches; as well as A controller is configured to control the regulator so that the processor enters a data retention state based on the supply voltage when a first condition associated with the temperature data is satisfied, and to control the regulator so that the processor exits the retention state when a second condition associated with the control signal is satisfied.
11. The system on chip according to claim 10, in, The first condition is defined as whether the temperature data satisfies a predetermined temperature value or less.
12. The system on chip according to claim 10, in, The second condition is defined as whether the number of at least one switch that is instructed to be turned on by the control signal satisfies a predetermined number or more.
13. The system on chip according to claim 10, in, The controller is further configured to receive the control signal from the voltage regulator.
14. The system on chip according to claim 10, in, The controller comprises: a regulator controller configured to output an operation signal for controlling the regulator to the regulator; and A power controller is configured to control the regulator controller.
15. The system on chip according to claim 14, in, The regulator controller outputs a confirmation signal to the power controller when the first condition is satisfied, and The power controller controls the regulator controller to output the operation signal upon receiving the confirmation signal.
16. A method for operating a system on chip, the method include: sensing temperature data of a processor included in the system on chip; When a first condition associated with the temperature data is satisfied, entering a data retention state based on a supply voltage of the processor; as well as The hold state is exited when a second condition associated with a plurality of switches configured to regulate the supply voltage is satisfied.
17. The method according to claim 16, in, The first condition is defined as whether the temperature data satisfies a predetermined temperature value or less, and The second condition is defined as whether the number of at least one switch among the plurality of switches that is instructed to be turned on by the control signal satisfies a predetermined number or more.
18. The method according to claim 16, further comprising: include: detecting a voltage sag from the processor; as well as When the voltage drop is detected, a predetermined number of switches among the plurality of switches are turned on.
19. The method according to claim 18, in, The voltage sag is detected when the supply voltage drops to a predetermined voltage level or lower.
20. The method according to claim 16, further comprising: include: When the first condition is not met, entering the holding state is suspended.
