System and method for power management
By using common clock generation circuits and ring oscillators in the computing system, changing the clock frequency according to the operating mode, the problem of insufficient power and clock management complexity and adaptability in the prior art is solved, and dynamic power adjustment is achieved and low power consumption effect.
Patent Information
- Application Number
- CN201910285193.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-04-10
- Filing Date
- 2019-04-10
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2039-04-10
AI Technical Summary
The prior art is very complex and does not have good adaptability when managing power and clock distribution in integrated circuits, resulting in a large number of changes in active control units when New Island joins the system, and voltage regulators and clock generators occupy high chips. Area and power.
A computing system is provided in which a clock generation circuit is able to select different clock frequencies according to the operating mode change, generate multiple clock signals through a ring oscillator, frequency divider and multiplexer, and control it to all islands through a shared clock generation circuit. The circuit transmits clock signals, reducing the need for dedicated voltage regulators and clock generators for each island.
It reduces the complexity and power consumption of mode changes, realizes dynamic adjustment of system power consumption, supports multiple operating modes, and reduces the chip area footprint.
Smart Images

Figure CN110362187B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of systems for managing power and clock distribution in one or more integrated circuits. Background Art
[0002] For power efficiency, it has been proposed to allow certain circuit regions of an integrated circuit to operate in one of several different operating modes selected based on the performance requirements at a given time. For example, a high power supply voltage or a low power supply voltage and a high frequency clock signal or a low frequency clock signal may be selected depending on whether the circuit region is to have high performance or low power consumption. Such circuit regions are often referred to in the art as islands.
[0003] All of the circuits of a given island are supplied, for example, by common resources. For example, each island in the island receives a common power supply voltage and / or reference voltage and a common clock signal. In some cases, each island has a dedicated voltage regulator for supplying its supply voltage and a dedicated clock generator for generating its clock signal. In this way, the supply voltage and clock signal of each island can be controlled independently of other islands.
[0004] When a given island is to change its operating mode, for example to enter a low power state, a command is sent to the island to trigger a sequence of operations for implementing the change in operating mode. For example, these operations involve backing up specific data and powering down various circuits of the island in a given sequence. The resources supplying the island, such as the voltage supply circuit and the clock generator, are also controlled to bring the supply voltage and clock frequency of the island to the desired values.
[0005] The power and clock management of the islands is often performed in a centralized manner, for example, by an active control unit that can communicate with each island and its associated voltage regulator and clock generator. However, this solution has technical drawbacks in terms of complexity and adaptability. In practice, if a new island is to be added to a given system design, this may require a large number of changes to the active control unit in order to adapt to the new power and clock management requirements of the new island. In addition, providing a voltage regulator and a clock generator for each island results in a high chip area occupied by these components and a high power consumption.
[0006] Therefore, there is a need in the art for an improved system for providing power and clock management in a computing system. Summary of the invention
[0007] Embodiments of the present disclosure aim to at least partially address one or more needs in the prior art.
[0008] According to one aspect, a computing system is provided, comprising: an island comprising a group of circuits capable of operating in one of a plurality of operating modes, wherein in a first of the operating modes, the circuits of the island are adapted to receive a first clock signal of a first voltage and / or a first frequency, and in a second of the operating modes, the circuits of the island are adapted to receive a second clock signal of a second voltage different from the first voltage and / or a second frequency different from the first frequency, the island being coupled to an island control circuit; a clock generation circuit providing another clock signal to the island control circuit to control a change of the mode of the island, the clock generation circuit being configured to select one of a plurality of clock frequencies for the another clock signal, the selection being based on a change of the operating mode to be applied.
[0009] According to one embodiment, the clock generation circuit is configured to select a first clock frequency for another clock signal when the change in mode is of a first type, and to select a second clock frequency that is faster than the first clock frequency for the other clock signal when the change in mode is of a second type, and the change in mode of the first type is longer to achieve the change in mode of the second type.
[0010] According to one embodiment, a change of the first type of mode involves a change of the voltage supplied to the island by the voltage supply circuit, and a change of the second type of mode does not involve a change of the voltage supplied to the island.
[0011] According to one embodiment, the clock generation circuit includes a ring oscillator.
[0012] According to one embodiment, a clock generation circuit includes: a frequency divider configured to divide an oscillation signal to generate multiple clock signals, each clock signal being at a different clock frequency among the multiple clock frequencies; and a multiplexer configured to select one clock signal among the multiple clock signals to form the other clock signal.
[0013] According to one embodiment, the clock generation circuit further includes a controller configured to generate a selection signal for controlling the multiplexer to select another clock signal.
[0014] According to one embodiment, the controller is further configured to generate an enable signal to selectively activate the generation of the oscillation signal.
[0015] According to one embodiment, the computing system further comprises at least one additional island, each island having a corresponding island control circuit, the clock generation circuit being common to all island control circuits.
[0016] According to one embodiment, the clock generation circuit is coupled to all island control circuits via a bus, and another clock signal is transmitted via the bus.
[0017] According to one embodiment, a method for modifying an operating mode of an island of a computing system is provided, the island comprising a group of circuits capable of operating in one of a plurality of operating modes, wherein, in a first operating mode, the circuits of the island are adapted to receive a first clock signal of a first voltage and / or a first frequency, and in a second operating mode, the circuits of the island are adapted to receive a second clock signal of a second voltage different from the first voltage and / or a second frequency different from the first frequency, the island being coupled to an island control circuit, the method comprising: selecting one of a plurality of clock frequencies generated by a clock generation circuit, the plurality of clock frequencies being different from one another, and the selection being based on a change in the operating mode to be applied; and providing another clock signal to the island control circuit at the selected clock frequency to control the timing of the change in the operating mode of the island.
[0018] According to one embodiment, selecting the clock frequency includes generating a plurality of clock signals, each clock signal being at one of the plurality of clock frequencies, and selecting one of the plurality of clock signals to form the other clock signal.
[0019] According to one embodiment, the method further comprises generating, by the controller, a selection signal for controlling selection of another clock signal.
[0020] According to one embodiment, the method further comprises generating, by the controller, an enable signal for selectively activating the generation of the oscillation signal.
[0021] According to one embodiment, the method includes selecting a first clock frequency for another clock signal when the change in mode is of a first type, and selecting a second clock frequency that is faster or slower than the first clock frequency for another clock signal when the change in mode is of a second type, the change in mode of the first type being longer or shorter to achieve the change in mode of the second type. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The foregoing features and advantages and other features and advantages will become apparent from the following detailed description of embodiments given by way of illustration and not limitation with reference to the accompanying drawings in which:
[0023] Figure 1 schematically illustrates a computing system according to an example embodiment;
[0024] Figure 2 The schematic diagram according to the exemplary embodiment is shown in more detail Figure 1 The dependency mediator unit;
[0025] Figure 3 schematically illustrates a voltage and clock management network according to an example embodiment of the present disclosure;
[0026] Figure 4is a representation according to an example embodiment Figure 1 A state diagram of the states of the dependency mediator units;
[0027] Figure 5 is a flow chart illustrating operations in a method of mediating between power supply and / or clock frequency change requests according to an example embodiment;
[0028] Figure 6 is a representation according to an example embodiment Figure 1 A state diagram of the states of the island control units;
[0029] Figure 7 Schematically illustrates a method for Figure 1 The interface between the island control unit and the island;
[0030] Figure 8 Schematically shows Figure 1 A portion of a computing system where it is implemented across two integrated circuits;
[0031] Fig. 9 Schematically illustrates a computing system according to another example embodiment of the present disclosure;
[0032] Fig.10 Schematically illustrates a Fig. 9 A clock generation circuit of a computing system; and
[0033] Fig.11 It is shown Fig. 9 An example timing diagram of the signals in a system. DETAILED DESCRIPTION
[0034] Figure 1 A computing system 100 according to an example embodiment is schematically shown. The computing system 100 may correspond to a system on a chip (SoC) or to a plurality of integrated circuit chips. The system 100 includes a plurality of islands. Figure 1 In the example of FIG. 1 , there are three islands ( ISLAND1 , ISLAND2 , ISLAND3 ) labeled 102 , 104 , 106 , but in alternative embodiments, there may be any number of islands.
[0035] Each of the islands 102, 104, 106 corresponds to a group of circuits that share a common supply and / or reference voltage and / or a common clock signal. However, the supply voltage is a voltage used to power the island, and the reference voltage is, for example, a voltage level used as a reference by one or more analog circuits of the island. Although the voltage and clock supplied to the island are common, each island includes, for example, an input switch that allows one or more of the signals to be turned off independently in each island.
[0036] Each of the islands 102, 104, 106 is capable of operating in one of a plurality of operating modes, for example. Each operating mode corresponds to a particular combination of parameters related to supply and / or reference voltages, clock frequencies, and power states of the circuit, for example. For example, one operating mode may correspond to a high performance mode in which the supply voltage and clock frequency are at relatively high levels. Another operating mode may correspond to a low power standby mode in which the supply voltage is at a relatively low level that is just high enough to ensure data retention, and the clock signal is maintained but gated by the island so that the island can be quickly restarted.
[0037] The computing system 100 includes, for example, one or more voltage regulators (REGs) for supplying power voltage to the islands. Figure 1 In the example of , the computing system 100 includes two voltage regulators 108 and 110. As indicated by the thick solid line, the voltage regulator 108, for example, provides a power supply voltage to the island 102, and the voltage regulator 110, for example, provides a power supply voltage to the islands 104 and 106. Each of the voltage regulators 108, 110, for example, includes: one or more circuits including a current source and a voltage source for generating a power supply voltage; and / or a power selection switch for selecting between multiple voltage regulators.
[0038] The computing system 100 also includes one or more clock generators (CLK GEN). Figure 1 In the example of FIG. 1 , computing system 100 includes a single clock generator 112. Figure 1 , clock generator 112, for example, provides a common clock signal to each of islands 102, 104, and 106. For example, clock generator 112 includes one or more of the following: a crystal oscillator; a frequency divider; a frequency locked loop; a phase locked loop; a delay locked loop; an embedded oscillator such as an RC (resistor-capacitor) oscillator; a ring oscillator; and / or other circuits capable of generating a clock signal.
[0039] Although not shown in Figure 1 1 , but computing system 100 may include one or more additional resources in addition to or in place of voltage regulators 108, 110 and clock generator 112. For example, computing system 100 may include other types of voltage supply circuits, such as a reference voltage supply circuit.
[0040] Computing system 100 includes, for example, a data communications bus 114 that provides data links between the various circuits of islands 102 , 104 , and 106 .
[0041] In addition to data bus 114, an island control bus 116 is provided, for example, for power and clock management purposes. Bus 116 is coupled, for example, to an island control unit (ICU) associated with each island, the ICUs of islands 102, 104, and 106 being connected in Figure 1 122, 124 and 126. Each ICU 122, 124 and 126 is coupled to a corresponding island 102, 104 and 106, for example, and supplies control signals for controlling power and clock states of the islands, for example.
[0042] A dependency mediator unit (DMU) is associated with each resource, for example Figure 1 Each voltage regulator and each clock generator of computing system 100 are associated. For example, voltage regulators 108 and 110 are associated with DMUs 128 and 130, respectively, and clock generator is associated with DMU 132. Each of ICUs 122, 124, and 126 is, for example, coupled to a DMU that provides a power supply voltage to the voltage regulator of the island to which it is connected, and is coupled to a DMU that provides a clock signal to the clock generator of the island to which it is connected. Thus, in Figure 1 In the example of , ICU 122 of island 102 is coupled to DMUs 128 and 132, and ICUs 124 and 126 of islands 104 and 106 are each coupled to both DMUs 130 and 132. Figure 1 In the embodiment of the present invention, the interfaces between the DMUs 128, 130, 132 and the ICUs 122, 124, 126 are provided by a plurality of dedicated communication cables. However, in an alternative embodiment, these communications may be performed using the bus 116.
[0043] A domain link controller (DLC) 134 , for example, is coupled to the bus 116 and arbitrates between power management commands generated by a mode switch program (MSP) 136 and power management commands generated by a shift control unit (SCU) 138 , for example.
[0044] MSP 136 is implemented, for example, in island 102, but in alternative embodiments it may be implemented elsewhere in computing system 100. MSP 136 controls the operating modes of the islands, for example, via bus 116. For example, MSP 136 stores a list indicating the current power state and operating mode of each of the islands. MSP 136 is thus able to coordinate transitions between operating modes of islands 102, 104, and 106. For example, MSP 136 is a programmable logic controller that is downloaded, for example, into an instruction memory and is controlled by a microprocessor (not shown) of island 102. Figure 1 When the instructions of the MSP are executed by the microprocessor, they allow the functions of the MSP described in more detail below to be implemented.
[0045] The SCU 138 is, for example, a circuit adapted to provide power management when the MSP 136 is unable to perform that role, for example because it has been powered down. For example, when the MSP is in sleep mode or otherwise unavailable, the SCU controls the boot sequence, wake-up sequence, and entry into sleep mode of the computing system 100. It is also responsible for the boot sequence of the MSP 136, for example by controlling the order in which the various components of the MSP are turned on and thereby preventing the system from entering an undesirable state from which the system cannot exit.
[0046] The DLC 134 is adapted to receive commands from both the MSP 136 and the SCU 138, for example. The DLC 134 communicates with the MSP 136, for example, via the data bus 114, and it may communicate with the MSP 136 via the data bus 114. Figure 1 The DLC 134 communicates with the SCU 138 via the bus 116, or via a dedicated link represented by an arrow between the SCU 138 and the DLC 134 in FIG. 1 . The DLC 134 provides an interface between the MSP 136 / SCU 138 and the bus 116, for example, by translating commands received from the MSP 136 or SCU 138 into commands that can be sent to the ICU over the bus 116 using a specific bus protocol applied on the bus 116. The DLC 134 also translates, for example, return signals received from the ICU over the bus 116 so that the information is accessible to the MSP 136 or SCU 138. In addition, the DLC 134 is adapted to allow the MSP 136 to control the power management network whenever it is able to do so, and otherwise allow the SCU 138 to control the power management network.
[0047] A wake-up interrupt unit (WIU) 140 is coupled to the SCU 138, for example, but in alternative embodiments it can be coupled to one of the ICUs 122, 124, 126. The WIU 140 is, for example, a circuit adapted to manage interrupts that cause one or more of the islands 102, 104, 106 to be awakened. The WIU 140 does so, for example, by identifying the source of each interrupt, saving each interrupt until the island or islands of interest can handle it, and sending it to the island or islands of interest once they have been awakened and are able to handle the interrupt.
[0048] In operation, the MSP 136 is adapted to modify the operating mode of one or more of the islands 102, 104, 106, for example, by sending appropriate commands to the corresponding ICUs 122, 124 and / or 126 via the bus 116, for example via the DLC 134. The ICU receiving the command processes it locally, for example, and determines the appropriate sequence of changes in the power state, supply voltage and / or clock signal of the connected islands in order to achieve the desired operating mode. Each ICU then sends a request to the DMU associated with its voltage regulator and / or to the DMU associated with its clock generator, thereby requesting the corresponding change. If the DMU is able to make the requested change, it, for example, controls the voltage regulator / clock generator accordingly and confirms the ICU that the request has been implemented. The ICU then, for example, notifies the MSP 136 that the change has been successfully made so that the MSP 136 can update its record of the operating mode of the corresponding ICU. Where a voltage regulator and / or clock generator supplies more than a single island, the DMU, for example, arbitrates between requests from each of the islands and selects or maintains a supply voltage and / or clock signal that meets the minimum requirements of each of the islands.
[0049] In one embodiment, each of the islands 102, 104, 106 supports at least some of the following 16 operating modes, where V is voltage and F is frequency:
[0050]
[0051]
[0052] Of course, the above table provides only one example of a list of possible operating modes, which has the advantage that any of the operating modes can be selected using only a 4-bit command. However, there are many alternative sets of operating modes that can be used, having the same or different number of available modes.
[0053] Figure 2 The schematic diagram according to the exemplary embodiment is shown in more detail Figure 1 DMU 130. Figure 1 The other DMUs 128 and 132 of, for example, are implemented in a similar manner.
[0054] The DMU 130 includes, for example, a mediation circuit 206, which includes, for example, an ICU interface (ICU INTERFACE) for communicating with one or more ICUs and a DMU interface (DMU INTERFACE) for communicating with one or more other DMUs. Figure 1 and Figure 2In the example of FIG. 1 , DMU 130 communicates with ICUs 124 and 126, but it may additionally communicate with other ICUs. Figure 2 In the example of FIG. 1 , DMU 130 communicates with DMUs 202 and 204 .
[0055] For example, the DMU 130 also includes a control circuit (REG / CLK CTRL CIRCUIT) 208 for communicating with the mediation circuit 206 and with one or more resources (RESOURCE) such as the voltage regulator 110. For example, the mediation circuit 206 provides mode (MODE) and request (REQ) signals indicating when a change of mode is desired to the control circuit 208 and receives acknowledgement (ACK) and request rejection (DENIED) signals from the control circuit 208. For example, the acknowledgement signal is asserted by the control circuit 208 when the requested mode change can be granted, whereas the rejection signal is asserted, for example, when the resource has not replied within a certain time and therefore the tuning circuit 206 task request is denied.
[0056] The control circuit 208 includes a resource interface (CONTROLLED RESOURCE INTERFACE) that allows it to communicate with resources such as the voltage regulator 110, for example.
[0057] Figure 3 The voltage and clock management network associated with the DMU 130 according to an example embodiment is schematically shown in more detail. As previously described, the DMU 130 communicates with the ICUs 124, 126 associated with the islands it supplies and with the DMUs 202 and 204 associated with the upstream resources. For example, the DMU 202 is associated with a controllable resource (CONTROLLED RESOURCE) 302, and the DMU 204 is associated with a controllable resource (CONTROLLED RESOURCE) 304. For example, the resources 302 and 304 each correspond to a different voltage regulator, and the resource 110 corresponds to a power selection switch that selects one of the voltage regulators 302, 304 to provide a supply voltage to the resource 110. When the DMU 130 is to implement a change in the operating mode of the island, it can, for example, request via the DMU 202 or 204 that the upstream resource is controlled thereby, for example to disconnect or connect the supply voltage.
[0058] Figure 4 is a state diagram showing examples of states and state transitions in each of the DMUs 128 , 130 , 132 .
[0059] The reset state (RESET) 402 is entered, for example, after power-up of the DMU or after any reset operation.
[0060] The DMU then enters state (AWAIT ICU REQUEST) 404 where it waits for a request from the ICU.
[0061] When an ICU request arrives (ICU REQ), the DMU transitions, for example, to the MEDIATION state (MEDIATION) 406. From the MEDIATION state 406, if the requested mode is the same or compatible with the current mode of the resource, an acknowledgement signal is returned to the ICU by setting it to logic 1, and the DMU then returns to the state 404. However, if in the state 406, the DMU cannot satisfy the requested change of mode request (KO), it enters, for example, the state 408, in which a rejection signal is returned to the ICU, the request is indicated as pending, and it waits for another ICU request (PENDING-AWAIT ICU REQUEST). If such another ICU request arrives (ICU REQ), the DMU returns to the MEDIATION state 406 to determine whether the request can now be satisfied. If in the MEDIATION state 406, the DMU determines that one or more requested / pending mode changes can be satisfied (OK), it enters the change request state (REG / CLK CHANGE REQUEST) 410, in which the corresponding resource is commanded to change mode. The DMU then enters an acknowledgement state (ACK) 412 , wherein an acknowledgement signal returned to the ICU is set to, for example, a logic 1, and the DMU then returns to state 404 .
[0062] Figure 5 is a flow chart illustrating operations in a method of mediating between mode change requests according to an example embodiment. These operations are described, for example, by reference to Figure 2 The mediation circuit 206 and control circuit 208 of the DMU described above are implemented. Figure 5 The process of is only one example of how mediation can be implemented by a DMU, and variations on this approach are possible. Figure 5 In the example, the resources controlled by the DMU supply at least two islands, and thus the DMU is coupled to at least two corresponding ICUs.
[0063] From starting point 500, in operation 501, a change mode request is received by the DMU from the ICU.
[0064] In a subsequent operation 502, it is determined, for example, whether the requested new mode is equal to the current mode. If so, a confirmation signal may be returned directly to the ICU in operation 504. This may occur, for example, when another ICU has requested the same state change, and thus the mode has been changed. However, if the new mode is not the same as the current mode, the next operation is 506.
[0065] In operation 506, it is determined whether the requested new mode is compatible with all other pending requests, in other words, with the modes required by all other islands connected to the resource.
[0066] For example, assuming the resource is a voltage regulator, and its current mode based on the pending request is low supply voltage, the new requested mode may be to increase the voltage to an intermediate supply voltage. Such a request is compatible with the pending request, because an island operating with a low supply voltage may also operate with an intermediate supply voltage. However, if the new request is to disconnect the voltage regulator, such a request is not compatible with the pending request, which requires at least a low supply voltage.
[0067] If the new mode is not compatible with all pending requests, the next operation is, for example, operation 508 where the new change mode request is marked as pending and the ICU is thus notified that the change mode request has been rejected.
[0068] Alternatively, if in operation 506 the new mode is compatible with all pending requests, the next operation is 510 .
[0069] In operation 510, a change mode command is generated and sent to a resource, for example, under the control of a DMU.
[0070] In a subsequent operation 512, it is determined whether a confirmation has been received from the resource indicating that the requested change has been completed. Once the confirmation has been received, operation 514 is performed, for example, in which the confirmation is transmitted to the ICU from which the change mode request originated. The method then ends, for example.
[0071] Figure 6 is a state diagram illustrating examples of states and state transitions in each of the ICUs 122 , 124 , 126 .
[0072] The reset state (RESET) 602 is entered, for example, at power-up of the ICU or after any reset operation.
[0073] Thereafter, for example, the ICU enters the AWAIT DLC REQUEST state 604 , during which the ICU waits for a mode change request from the DLC 134 , which may originate from the MSP 136 or the SCU 138 , for example.
[0074] When an MSP or SCU request (MSP / SCU REQ) arrives, for example, the mediation state (MEDIATION) 606 is entered. From this state, two other states 608, 610 are entered simultaneously or successively. The order in which the states 608, 610 are entered depends, for example, on the specific mode change to be implemented.
[0075] State 608 is the REG / CLK CHANGE REQUEST state, in which a request is sent to the DMU of the clock generator and / or voltage regulator to change mode. The ICU waits for confirmation from the associated DMU or DMUs that the requested change has been completed. State 610 is the ISLAND CHANGE REQUEST state, in which an island is requested to make a requested mode change. Again, the ICU waits for confirmation from, for example, the island that the requested change has been completed.
[0076] If the operations performed during each of states 608, 610 are successful, the ICU returns to the mediation state 606, for example, and determines that the change has been successfully completed. The ICU therefore notifies the MSP 136 or SCU 138, for example, that the change has been successfully completed, depending on which circuit initiated the mode change request. In some implementations, this is achieved by setting an interrupt in the DLC 134 that can be detected by the MSP 136 or SCU 138. Therefore, the ICU moves to the set interrupt (SET IRQ) state, for example, where the interrupt is set by asserting a bit associated with the ICU in a register stored in the DLC 134. The register can also be accessed by the MSP 136 and SCU 138, and indicates that the mode change has been terminated and the details of the change of state can be obtained from the ICU. The ICU then returns to state 604, for example.
[0077] Figure 7 The interface between ICU 124 and island 104 according to an example embodiment is schematically shown. Interfaces between other ICUs and islands of computing system 100 are implemented, for example, in a similar manner.
[0078] As shown, the ICU 124 receives a clock signal CLK, for example, from the clock generator 112, and provides the clock to the island 104. The ICU 124 includes, for example, a switch 702 that allows the clock to be gated. The ICU 124 also receives, for example, a clock signal PCLK of the bus 116, thereby allowing data to be successfully received over the bus 116, and a reset signal RST for resetting the ICU.
[0079] The island 104 includes, for example, an island controller TRC (transition ramp unit), a circuit portion 704 that can be powered on (ON) or powered off (EXT), and a circuit portion 706 that can be powered on or powered off or can enter a retention state (ON / RET / EXT). For example, the circuit portion 704 is powered by the power supply voltage line of the island via a switch 708 that is inversely controlled by a signal "RET+EXT" that corresponds to the inverse of the logical OR of these signals. Therefore, the switch 708 supplies the circuit portion 704 unless the circuit portion is powered off (asserted signal EXT) or enters a low-power retention mode (asserted signal RET). The circuit portion 706 is powered by the power supply voltage line of the island, for example, via a switch 710 that is inversely controlled by the signal EXT. Therefore, the switch 710 supplies the circuit portion 706 unless the circuit is to be powered off (asserted signal EXT).
[0080] The interface between the ICU 124 and the island 104 includes, for example, lines for providing one or more of the following control signals:
[0081] - one or more clock signals CLK, including, for example, the master clock signal of the island provided by the clock generator 112 and, in some embodiments, a clock signal for the island controller TRC;
[0082] - the above mentioned signal EXT for controlling the island to power on or off. In some embodiments, a confirmation signal indicating when the main power supply to the island is ready for use via switch 708 may be provided from the island controller TRC to the ICU;
[0083] - the above mentioned signal RET for controlling at least part of the island to enter a low power reserve state. In some embodiments, a confirmation signal indicating when the reserve power supply to the island via the switch 710 is ready for use may be provided from the island controller TRC to the ICU;
[0084] - One or more power state signals (PWR) for controlling transitions between power states of the island. For example, these signals include signals for controlling current limits and time delays for power-up and power-down sequences of the island, and retain signals for controlling retention components to retain data before power-down or to restore data after power-up;
[0085] - A POK signal from the island to the ICU confirming that the change in the power state of the island has been completed;
[0086] - one or more reset signals RST. For example, the reset signals may include a signal for resetting the island controller TRC, a signal for resetting one or more registers in an island that remains open during the retention mode, and a signal for resetting one or more registers in an island that remains closed during the retention mode; and
[0087] - One or more isolation signals ISO for isolating one or more inputs or outputs when the island is ready to enter power-down or retention mode.
[0088] Figure 8 Schematically illustrates a case where the island 104 and the clock generator 112 are formed on one integrated circuit (IC) 802 and the island 106 and the voltage regulator 110 are formed on another integrated circuit (IC) 804. Figure 1 804. As shown, a clock line carrying a clock signal generated by a clock generator 112 is passed from IC 802 to IC 804, for example, via connection pads or pins 806 and 808 of circuits 802 and 804, respectively. Similarly, a supply voltage line from a voltage regulator 110 is passed from IC 804 to IC 802, for example, via connection pads or pins 810 and 812 of circuits 804 and 802, respectively. A communication interface between the ICU and the DMU between ICs 802, 804 is transmitted, for example, via a serial interface between ICs 802, 804. For example, both the ICU 124 and the DMU 132 of IC 802 are coupled to a bidirectional parallel / serial converter 814 of IC 802 via a parallel interface, and both the ICU 126 and the DMU 130 of IC 804 are coupled to a bidirectional parallel / serial converter 816 of IC 804 via a parallel interface. One or more serial interfaces 818 are provided between the converters 814 , 816 of the ICs 802 , 804 .
[0089] The data bus 114 is passed from IC 802 to IC 804, for example, via bidirectional parallel / serial converters 820 and 822 of ICs 802 and 804, respectively, and a series connection 823 therebetween. Similarly, the island control bus 116 is passed from IC 802 to IC 804, for example, via bidirectional parallel / serial converters 824 and 826 of ICs 802 and 804, respectively, and a series connection 827 therebetween.
[0090] Fig. 9 A computing system 900 according to another example embodiment is schematically shown. The system 900 has Figure 1 The present invention also shares many features in common with the system 100 , and like features have been labeled with like reference numerals and will not be described again in detail.
[0091] Regarding computing system 100, computing system 900 includes, for example, a clock generation circuit (CLOCKGEN) 902 coupled to bus 116. Clock generation circuit 902, for example, generates a clock signal PCLK that is sent to each of ICUs 122, 124, and 126 via bus 116 and controls the timing of each change of mode of each island. In particular, as Figure 7 As shown, the clock signal PCLK provided by bus 116 provides a clock for ICU 124, which generates one or more of the signals PWR, RST, ISO, RET, and EXT based on the clock signal. Whenever MSP 136 or SCU 138 requests a mode change, clock generation circuit 902 is enabled, for example, by command signal CMD.
[0092] It should be noted that the clock generation circuit 902 is an additional clock source relative to the clock generator 112, which provides the clock signal CLK to the island. The advantage of providing a separate clock source is that the clock signal PCLK can be activated independently of the clock signal provided by the clock generator 112. In addition, the clock generation circuit 902 can generate the clock signal PCLK at a much lower frequency than the clock signal CLK, thereby reducing power consumption. For example, while the clock signal CLK generated by the clock generator 112 has a frequency in the range of 100 MHz to 2 GHz, the clock signal PCLK has, for example, a clock frequency in the range of 10 kHz to 10 MHz. The clock generator 112 can also be turned off when all its islands are in sleep mode, thereby reducing power consumption during sleep mode.
[0093] As will now be described in greater detail, clock generation circuit 902 is capable of, for example, changing the frequency of clock signal PCLK based on a change in mode to be applied. For example, for certain types of mode changes that do not involve changes in the power supply or reference voltage provided by regulator 108 or 110, circuit 902 may generate clock signal PCLK at a relatively high frequency. For other types of mode changes that involve changes in power supply voltage, such as a change from a low voltage to a normal voltage, circuit 902, for example, generates clock signal PCLK to have a relatively low frequency.
[0094] As described above, in some embodiments, a change in mode may be initiated by an interrupt received by the wakeup interrupt unit 140 or by the MSP 136. When a change in mode is to be applied, the clock generator 902, for example, receives a command to generate an appropriate clock signal. The command is generated by the MSP 136 or the SCU 138, for example, via the DLC 134.
[0095] Fig.10 Schematically shows a more detailed Fig. 9 A clock generating circuit 902 of a computing system.
[0096] The clock generation circuit 902 includes, for example, a controller (CLOCK GEN CONTROLLER) 1002 , a ring oscillator 1004 , a frequency divider (FREQ DIV) 1006 , and a signal selection circuit 1008 .
[0097] The controller 1002 receives the command CMD, for example, when a mode change is to be implemented, and responsively generates an enable signal EN to activate the ring oscillator 1004 , and generates a frequency selection signal F_SEL to the signal selection circuit 1008 to select a clock signal of an appropriate frequency.
[0098] The ring oscillator 1004 includes a two-input logic gate 1010, such as an AND gate, for example, receiving an enable signal EN at one of its inputs and outputting an oscillation signal to an inverter chain including an odd number of inverters. For example, the output of the gate 1010 is connected to the input of the first inverter 1012 of the chain. The output of the inverter 1012 is coupled to the input of the last inverter 1016 of the chain via one or more additional inverters 1014. The output of the inverter 1016 is connected to the other input of the logic gate 1010 via a feedback path 1018 and is also connected to the input of the frequency divider 1006. The inverter 1016 provides a ring oscillator clock signal CK_RO. The number of inverters 1014 is configured, for example, in sequence to determine the oscillation frequency of the ring oscillator 1004, and thus the frequency of the signal CK_RO.
[0099] The frequency divider 1006 generates a plurality of N output clock signals CK_1 to CK_N by dividing the frequency of the signal CK_RO by different divisors. For example, the signal CK_1 has the same frequency F_RO as the signal CK_RO, the signal CK_2 has a frequency F_RO / 2, the signal CK_3 has a frequency F_RO / 4, and so on.
[0100] Multiple clock signals CK_1 to CK_N are provided to respective inputs of a multiplexer 1008, which is controlled by a selection signal F_SEL to select one of the clock signals CK_1 to CK_N to provide the output clock signal PCLK to the ICU. As described above, the selection signal F_SEL is generated by the controller 1002 based on the command signal CMD.
[0101] Now refer to Fig.11 An example of the operation of the clock generation circuit 902 is described.
[0102] Fig.11 It is shown Fig.10 9 is a timing diagram of an example of signals PCLK and CMD in the clock generation circuit 902, and an example of an event EVENT triggered by an application running on the circuit. Fig.11 The example of is based on a first change of circuit mode involving waking up the voltage regulator and a second change of circuit mode involving waking up the island without waking up the voltage regulator.
[0103] At time t0, for example, the controller 1002 receives a command 1102 indicating a request for an LDO (low dropout) wakeup for one or more islands. For example, one or more islands are to be woken up, which involves waking up the LDO voltage regulators of the regulators 108 and / or 110. The controller 1002, for example, asserts the enable signal EN and selects a relatively low-frequency clock signal so that at time t1, the signal PCLK starts oscillating with a relatively long clock period p_long. The clock signal PCLK is provided to the corresponding ICU, which in turn triggers voltage regulation via the DMU of the corresponding regulator.
[0104] At time t3, the LDO wake-up sequence 1104 begins.
[0105] At time t4 , the LDO has woken up, as shown by event 1106 , and the controller 1002 , for example, deactivates the enable signal EN in order to stop the clock PCLK.
[0106] Then assume that at time t5, the controller 1002 receives the island wake-up command 1108. Therefore, the controller 1002 asserts the enable signal EN, for example, and selects a relatively high frequency clock signal so that at time t6, the signal PCLK starts to oscillate with a relatively short clock period p_short.
[0107] At time t7, the island wake-up sequence 1110 begins.
[0108] At time t8 , the island has awakened, as shown by event 1112 , and controller 1002 , for example, deactivates enable signal EN in order to stop clock PCLK.
[0109] An advantage of providing a clock generation circuit 902 configured to generate a clock signal having a frequency that depends on the change of mode to be applied is that this results in fast operation and low power consumption. In fact, the frequency of the clock signal PCLK can be adjusted based on the change of mode to be applied, so that for changes of mode that are inherently slow, such as wake-up of a voltage regulator, the frequency of the clock signal PCLK can be reduced to reduce power consumption during the mode change, and for changes of mode that are inherently fast, such as wake-up of an island, the frequency of the clock signal PCLK can be increased to speed up the duration of the change of mode. The increase in the speed of mode changes also allows, for example, the island to be placed in a low power or retention mode more frequently.
[0110] Another advantage is that by providing the clock generation circuit 902 as part of the same integrated circuit as the island control units 122, 124, 126, process, voltage and temperature variations that affect the timing of circuit mode changes can be at least partially compensated by corresponding changes in the speed of the clock generation circuit 902, particularly when the clock generation circuit 902 is implemented using a ring oscillator.
[0111] Additionally, the clock generation circuitry can be placed in standby mode between changes in mode operation, further reducing power consumption.
[0112] An advantage of the embodiments described herein is that by decentralizing the control of resources (voltage supply circuits and / or clock generators) to circuits associated with each island, and providing mediation by circuits associated with each resource, the complexity of changes in mode operation can be significantly reduced. This allows, for example, implementation of DVFS (Dual Voltage and Frequency Stepping) to switch islands from a high power mode in which they compute, for example, at full speed, to a lower power mode in which they compute, for example, at a lower speed. This allows the power consumption of the entire system to be dynamically adjusted at any time based on the actual requirements in terms of computing activity.
[0113] Having thus described at least one illustrative embodiment, various alterations, modifications, and improvements will readily occur to those skilled in the art. For example, it will be apparent to those skilled in the art that Figure 8 The particular distribution of the components of computing system 100 shown between separate integrated circuits is merely an example, and many different configurations will be possible. For example, in some embodiments, all resources and their corresponding DMUs may be located on separate integrated circuits of islands 102, 104, and 106.
Claims
1. A computing system comprising: an island (102) comprising a set of circuits operable in one of a plurality of operating modes, wherein in a first operating mode the circuits of the island are adapted to receive a first clock signal at a first voltage and / or a first frequency, and in a second operating mode the circuits of the island are adapted to receive a second clock signal at a second voltage different from the first voltage and / or a second frequency different from the first frequency, the island being coupled to an island control circuit (122); and A clock generation circuit (902) provides another clock signal (PCLK) to the island control circuit (122) to control the change of the mode of the island, the clock generation circuit (902) being configured to: selecting one of a plurality of clock frequencies for the further clock signal (PCLK), the selection being based on a change in an operating mode to be applied; selecting a first clock frequency for said another clock signal (PCLK) when said change in mode is of a first type; and A second clock frequency faster than the first clock frequency is selected for the other clock signal (PCLK) when the change in mode is of a second type, the first type of mode change being longer to achieve the second type of mode change.
2. The computing system of claim 1, wherein: The first type of mode change involves a change in a voltage supplied to the island by a voltage supply circuit (108, 110), and the second type of mode change does not involve a change in the voltage supplied to the island.
3. The computing system according to claim 1 or 2, wherein: The clock generation circuit (902) includes a ring oscillator (1004).
4. The computing system according to claim 1 or 2, wherein: The clock generation circuit (902) comprises: a frequency divider (1006) configured to divide the oscillating signal (CK_RO) to generate a plurality of clock signals (CK_1 to CK_N), each clock signal being at a different clock frequency among the plurality of clock frequencies; and A multiplexer (1008) is configured to select one of the plurality of clock signals to form the other clock signal (PCLK).
5. The computing system of claim 4, wherein: The clock generation circuit (902) further includes a controller (1002) configured to generate a selection signal (F_SEL) for controlling the multiplexer (1008) to select the other clock signal (PCLK).
6. The computing system of claim 5, wherein: The controller (1002) is also configured to generate an enable signal (EN) to selectively activate generation of the oscillation signal (CK_RO).
7. The computing system of claim 1 or 2, further comprising at least one additional island (104, 106), each having a corresponding island control circuit (124, 126), wherein: The clock generation circuit (902) is common to all of the island control circuits (122, 124, 126).
8. The computing system of claim 7, wherein: The clock generation circuit (902) is coupled to all of the island control circuits (122, 124, 126) via a bus (116), and the other clock signal (PCLK) is transmitted via the bus (116).
9. A method of modifying an operating mode of an island (102) of a computing system, the island comprising a set of circuits capable of operating in one of a plurality of operating modes, wherein: In a first operating mode, the circuit of the island is adapted to receive a first clock signal of a first voltage and / or a first frequency, and in a second operating mode, the circuit of the island is adapted to receive a second clock signal of a second voltage different from the first voltage and / or a second frequency different from the first frequency, the island being coupled to an island control circuit (122), the method comprising: selecting one of a plurality of clock frequencies generated by a clock generation circuit (902), the plurality of clock frequencies being different from one another and the selection being based on a change in an operating mode to be applied; providing another clock signal (PCLK) at a selected clock frequency to the island control circuit (122) to control the timing of changes in the operating mode of the island; selecting a first clock frequency for said another clock signal (PCLK) when said change in mode is of a first type; and A second clock frequency faster or slower than the first clock frequency is selected for the other clock signal (PCLK) when the change in mode is of a second type, the change in mode of the first type being longer or shorter to achieve the change in mode of the second type.
10. The method according to claim 9, wherein: Selecting the clock frequency includes: generating a plurality of clock signals (CK_1 to CK_N), each clock signal being at one of the plurality of clock frequencies; and selecting one of the plurality of clock signals to form the another clock signal (PCLK).
11. The method according to claim 10, further comprising generating, by the controller (1002), a selection signal (F_SEL) for controlling selection of the further clock signal (PCLK).
12. The method of claim 11, further comprising generating, by the controller (1002), an enable signal (EN) for selectively activating the generation of the oscillation signal (CK_RO).
