CN110362187A - System and method for power management - Google Patents
System and method for power management Download PDFInfo
- Publication number
- CN110362187A CN110362187A CN201910285193.2A CN201910285193A CN110362187A CN 110362187 A CN110362187 A CN 110362187A CN 201910285193 A CN201910285193 A CN 201910285193A CN 110362187 A CN110362187 A CN 110362187A
- Authority
- CN
- China
- Prior art keywords
- clock
- island
- mode
- frequency
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/324—Power saving characterised by the action undertaken by lowering clock frequency
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/04—Generating or distributing clock signals or signals derived directly therefrom
- G06F1/08—Clock generators with changeable or programmable clock frequency
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3237—Power saving characterised by the action undertaken by disabling clock generation or distribution
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3296—Power saving characterised by the action undertaken by lowering the supply or operating voltage
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Abstract
Description
技术领域technical field
本公开内容涉及用于管理一个或多个集成电路中的功率和时钟分布的系统的领域。This disclosure relates to the field of systems for managing power and clock distribution in one or more integrated circuits.
背景技术Background technique
为了功率效率,已经提出了允许集成电路的某些电路区域以几种不同的操作模式中的基于在给定时间处的性能要求选择的一种操作模式操作。例如,可以取决于电路区域是要具有高性能还是要具有低功率消耗来选择高电源电压或低电源电压和高频率时钟信号或低频率时钟信号。这样的电路区域常常在本领域中被称为岛(island)。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 performance requirements at a given time. For example, a high or low supply voltage and a high or low frequency clock signal may be selected depending on whether the circuit area is to have high performance or low power consumption. Such circuit areas are often referred to in the art as islands.
给定岛的电路中的全部例如由公共资源供应。例如,岛中的每个岛接收公共功率电源电压和/或参考电压和公共时钟信号。在一些情况下,每个岛具有用于供应其电源电压的专用电压调节器和用于生成其时钟信号的专用时钟发生器。以这种方式,每个岛的电源电压和时钟信号可以独立于其他岛来控制。All of the circuits of a given island are supplied, for example, by common resources. For example, each of the islands 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, each island's supply voltage and clock signal can be controlled independently of the other islands.
当给定岛要改变其操作模式例如以进入低功率状态时,例如将命令发送到岛以触发用于实现操作模式的改变的操作的序列。例如,这些操作涉及对特定数据进行备份并以给定顺序对岛的各个电路进行掉电。供应岛的资源,例如电压供应电路和时钟发生器,也被控制以将该岛的电源电压和时钟频率变为期望值。When a given island is to change its mode of operation, for example to enter a low power state, a command is sent to the island to trigger a sequence of operations to effectuate the change of mode of operation, for example. For example, these operations involve backing up certain data and powering down the various circuits of the island in a given order. Resources supplying the island, such as voltage supply circuits and clock generators, are also controlled to bring the island's supply voltage and clock frequency to desired values.
岛的功率和时钟管理常常例如通过能够与每个岛及其相关联的电压调节器和时钟发生器进行通信的活动控制单元以集中化方式来执行。然而,这种解决方案具有在复杂度和适应性方面的技术缺陷。实际上,如果新岛要被添加到给定系统设计,则这可以要求对活动控制单元的大量改变以便适应新岛的新功率和时钟管理要求。另外,为每个岛提供电压调节器和时钟发生器导致由这些组件占用的高芯片面积以及高功率消耗。Power and clock management of the islands is often performed in a centralized manner, eg, by an active control unit capable of communicating with each island and its associated voltage regulators and clock generators. However, this solution has technical drawbacks in terms of complexity and adaptability. Indeed, if a new island is to be added to a given system design, this can require extensive changes to the active control unit in order to accommodate the new island's new power and clock management requirements. Additionally, providing each island with a voltage regulator and a clock generator results in high chip area occupied by these components and high power consumption.
因此,在本领域中存在对用于提供计算系统中的功率和时钟管理的改进的系统的需求。Accordingly, there is a need in the art for an improved system for providing power and clock management in computing systems.
发明内容Contents of the invention
本公开内容的实施例的目标在于至少部分地解决现有技术中的一个或多个需求。Embodiments of the present disclosure aim to at least partially address one or more needs in the prior art.
根据一个方面,提供了一种计算系统,其包括:岛,其包括能够以多种操作模式中的一种操作模式操作的电路的组,其中,在操作模式中的第一操作模式中,岛的电路适于接收第一电压和/或第一频率的第一时钟信号,并且在操作模式中的第二操作模式中,岛的电路适于接收与第一电压不同的第二电压和/或与第一频率不同的第二频率的第二时钟信号,岛耦合到岛控制电路;时钟产生电路,其将另一时钟信号提供给岛控制电路,以控制岛的模式的改变,时钟生成电路被配置成为另一时钟信号选择多个时钟频率中的一个时钟频率,该选择是基于要应用的操作模式的改变。According to one aspect, there is provided a computing system comprising: an island comprising a set of circuits operable in one of a plurality of operating modes, wherein, in a first of the operating modes, the island The circuitry of the island is adapted to receive a first voltage and/or a first clock signal of a first frequency, and in a second of the operating modes the circuitry of the island is adapted to receive a second voltage different from the first voltage and/or A second clock signal of a second frequency different from the first frequency, the island is coupled to the island control circuit; a clock generation circuit, which provides another clock signal to the island control circuit to control the change of the mode of the island, the clock generation circuit is It is configured to select one of the plurality of clock frequencies for another clock signal, the selection being based on a change in mode of operation to be applied.
根据一个实施例,时钟生成电路被配置成当模式的改变是第一类型时为另一时钟信号选择第一时钟频率,并且当模式的改变是第二类型时为另一时钟信号选择比第一时钟频率更快的第二时钟频率,第一类型的模式的改变更长以实现第二类型的模式的改变。According to one embodiment, the clock generation circuit is configured to select a first clock frequency for the further clock signal when the change of mode is of a first type, and to select a frequency higher than the first clock frequency for the other clock signal when the change of mode is of a second type. A second clock frequency with a faster clock frequency, the first type of mode change is longer to achieve the second type of mode change.
根据一个实施例,第一类型的模式的改变涉及由电压供应电路提供给岛的电压的改变,并且第二类型的模式的改变不涉及提供给岛的电压的改变。According to one embodiment, the change of the mode of the first type involves a change of the voltage supplied to the island by the voltage supply circuit and the change of the mode of the second type does not involve a change of the voltage supplied to the island.
根据一个实施例,时钟生成电路包括环形振荡器。According to one embodiment, the clock generation circuit includes a ring oscillator.
根据一个实施例,时钟生成电路包括:分频器,其被配置成对振荡信号进行分频以生成多个时钟信号,每个时钟信号处于所述多个时钟频率中的不同时钟频率;以及复用器,其被配置成选择多个时钟信号中的一个时钟信号以形成所述另一时钟信号。According to one embodiment, the clock generation circuit includes: a frequency divider configured to divide the frequency of the oscillating signal to generate a plurality of clock signals, each clock signal being at a different clock frequency among the plurality of clock frequencies; A user configured to select one of the plurality of clock signals to form the other clock signal.
根据一个实施例,时钟生成电路还包括控制器,其被配置成生成选择信号以用于控制复用器选择另一时钟信号。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.
根据一个实施例,控制器还被配置成生成使能信号,以选择性地激活振荡信号的生成。According to one embodiment, the controller is further configured to generate an enable signal to selectively activate the generation of the oscillation signal.
根据一个实施例,计算系统还包括至少一个另外的岛,每个岛具有相应的岛控制电路,该时钟生成电路对于所有的岛控制电路是共用的。According to one embodiment, the computing system further includes at least one additional island, each island having a corresponding island control circuit, the clock generation circuit being common to all island control circuits.
根据一个实施例,时钟生成电路经由总线耦合到所有的岛控制电路,经由总线传输另一时钟信号。According to one embodiment, the clock generation circuit is coupled to all island control circuits via a bus, via which another clock signal is transmitted.
根据一个实施例,提供了一种修改计算系统的岛的操作模式的方法,该岛包括能够以多种操作模式中的一种操作模式进行操作的一组电路,其中,在第一操作模式中,岛的电路适于接收第一电压和/或第一频率的第一时钟信号,并且在第二操作模式中,岛的电路适于接收不同于第一电压的第二电压和/或不同于第一频率的第二频率的第二时钟信号,该岛耦合到岛控制电路,该方法包括:选择由时钟生成电路生成的多个时钟频率中的一个时钟频率,所述多个时钟频率彼此不同,并且选择是基于要应用的操作模式的改变;并且以所选的时钟频率向岛控制电路提供另一时钟信号,以控制岛的操作模式的改变的时序。According to one embodiment, there is provided a method of modifying an operating mode of an island of a computing system, the island comprising a set of circuits operable in one of a plurality of operating modes, wherein in the first operating mode , the circuitry of the island is adapted to receive a first clock signal of a first voltage and/or a first frequency, and in the second mode of operation, the circuitry of the island is adapted to receive a second voltage different from the first voltage and/or different from A second clock signal of a second frequency at a first frequency, the island coupled to the island control circuit, the method comprising: selecting a clock frequency of a plurality of clock frequencies generated by the clock generation circuit, the plurality of clock frequencies being different from each other , and the selection is based on the change of operation mode to be applied; and another clock signal is provided to the island control circuit at the selected clock frequency to control the timing of the change of operation mode of the island.
根据一个实施例,选择时钟频率包括生成多个时钟信号,每个时钟信号处于多个时钟频率中的一个时钟频率,并选择多个时钟信号中的一个时钟信号以形成另一时钟信号。According to one embodiment, selecting a clock frequency includes generating a plurality of clock signals, each clock signal at one of the plurality of clock frequencies, and selecting one of the plurality of clock signals to form the other clock signal.
根据一个实施例,该方法还包括由控制器生成选择信号以用于控制另一时钟信号的选择。According to one embodiment, the method further comprises generating, by the controller, a selection signal for controlling selection of the further clock signal.
根据一个实施例,该方法还包括由控制器生成使能信号以用于选择性地激活振荡信号的生成。According to one embodiment, the method further comprises generating, by the controller, an enable signal for selectively activating the generation of the oscillating signal.
根据一个实施例,该方法包括当模式的改变是第一类型时,为另一时钟信号选择第一时钟频率,以及当模式的改变是第二类型时,为另一时钟信号选择比第一时钟频率更快或更慢的第二时钟频率,第一类型的模式的改变更长或更短以实现第二类型的模式的改变。According to one embodiment, the method comprises selecting a first clock frequency for another clock signal when the change of mode is of a first type, and selecting a clock frequency higher than that of the first clock signal for another clock signal when the change of mode is of a second type. The second clock frequency is faster or slower, and the first type of mode change is longer or shorter to achieve the second type of mode change.
附图说明Description of drawings
前面的特征和优点以及其他特征和优点将从参考附图通过说明而非限制性的方式给出的实施例的下面的详细描述中变得显而易见,在附图中:The foregoing 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:
图1示意性示出了根据示例实施例的计算系统;Figure 1 schematically illustrates a computing system according to an example embodiment;
图2更详细地示意性示出了根据示例实施例的图1的依赖性调解器单元;Figure 2 schematically illustrates the dependency mediator unit of Figure 1 in more detail, according to an example embodiment;
图3示意性示出了根据本公开内容的示例实施例的电压和时钟管理网络;Figure 3 schematically illustrates a voltage and clock management network according to an example embodiment of the present disclosure;
图4是表示根据示例实施例的图1的依赖性调解器单元的状态的状态图;FIG. 4 is a state diagram representing states of the dependency mediator unit of FIG. 1 according to an example embodiment;
图5是示出了根据示例实施例的在功率供应和/或时钟频率改变请求之间进行调解的方法中的操作的流程图;5 is a flowchart illustrating operations in a method of mediating between power supply and/or clock frequency change requests according to an example embodiment;
图6是表示根据示例实施例的图1的岛控制单元的状态的状态图;6 is a state diagram representing states of the island control unit of FIG. 1 according to an example embodiment;
图7示意性示出了根据示例实施例的在图1的岛控制单元与岛之间的接口;FIG. 7 schematically illustrates an interface between the island control unit of FIG. 1 and the island, according to an example embodiment;
图8示意性示出了图1的计算系统在其跨两个集成电路被实现的情况下的部分;Fig. 8 schematically shows parts of the computing system of Fig. 1 as it is implemented across two integrated circuits;
图9示意性地示出了根据本公开另一示例实施例的计算系统;FIG. 9 schematically illustrates a computing system according to another example embodiment of the present disclosure;
图10示意性地示出了根据示例实施例的图9的计算系统的时钟生成电路;和FIG. 10 schematically illustrates a clock generation circuit of the computing system of FIG. 9 according to an example embodiment; and
图11是示出图9的系统中的信号的示例的时序图。FIG. 11 is a timing diagram showing an example of signals in the system of FIG. 9 .
具体实施方式Detailed ways
图1示意性示出了根据示例实施例的计算系统100。计算系统100可以对应于片上系统(SoC)或对应于多个集成电路芯片。系统100包括多个岛。在图1的示例中,存在三个岛被标记为102、104、106的(ISLAND1、ISLAND2、ISLAND3),但是在备选实施例中,可以存在任何数量的岛。FIG. 1 schematically illustrates a computing system 100 according to an example embodiment. Computing system 100 may correspond to a system on a chip (SoC) or to a plurality of integrated circuit chips. System 100 includes multiple islands. In the example of FIG. 1 , there are three islands labeled 102 , 104 , 106 ( ISLAND1 , ISLAND2 , ISLAND3 ), but in alternative embodiments any number of islands may exist.
岛102、104、106中的每个对应于共享公共供应和/或参考电压和/公共时钟信号的电路的组。然而,电源电压是用于对岛进行供电的电压,参考电压例如是由岛的一个或多个模拟电路用作参考的电压电平。尽管被供应到岛的电压和时钟是公共的,但是每个岛例如包括允许信号中的一个或多个信号在每个岛内被独立地关闭的输入开关。Each of the islands 102, 104, 106 corresponds to a group of circuits sharing a common supply and/or reference voltage and/or common clock signal. Whereas the supply voltage is the voltage used to power the island, the reference voltage is eg a voltage level used as a reference by one or more analog circuits of the island. Although the voltages and clocks supplied to the islands are common, each island includes, for example, input switches that allow one or more of the signals to be turned off independently within each island.
岛102、104、106中的每个例如能够以多种操作模式中的一种操作模式操作。每种操作模式例如对应于与供应和/或参考电压、时钟频率和电路的功率状态相关的参数的特定组合。例如,一种操作模式可以对应于其中电源电压和时钟频率处于相对高的电平的高性能模式。另一操作模式可以对应于低功率待机模式,其中电源电压处于仅仅足够高以确保数据保留的相对低的电平,时钟信号被维持但是由岛门控,使得岛可以被快速重启。Each of the islands 102, 104, 106 is, for example, operable in one of a plurality of modes of operation. Each mode of operation corresponds eg to a specific combination of parameters related to supply and/or reference voltages, clock frequency and power state of the circuit. For example, one mode of operation may correspond to a high performance mode in which the power supply voltage and clock frequency are at relatively high levels. Another mode of operation may correspond to a low power standby mode, where the supply voltage is at a relatively low level just high enough to ensure data retention, the clock signal is maintained but gated by the island so that the island can be quickly restarted.
计算系统100例如包括用于将电源电压供应到岛的一个或多个电压调节器(REG)。在图1的示例中,计算系统100包括两个电压调节器108和110。如由粗实线表示的,电压调节器108例如将电源电压提供到岛102,并且电压调节器110例如将电源电压提供到岛104和106。电压调节器108、110中的每个例如包括:一个或多个电路,其包括用于生成电源电压的电流源和电压源;和/或功率选择开关,其用于在多个电压调节器之间进行选择。Computing system 100 includes, for example, one or more voltage regulators (REGs) for supplying power supply voltage to the island. In the example of FIG. 1 , computing system 100 includes two voltage regulators 108 and 110 . As represented by the thick solid line, voltage regulator 108 provides, for example, a supply voltage to island 102 and voltage regulator 110 provides, for example, a supply voltage to islands 104 and 106 . Each of the voltage regulators 108, 110 includes, for example: one or more circuits including a current source and a voltage source for generating a supply voltage; and/or a power selection switch for switching between multiple voltage regulators to choose between.
计算系统100还包括一个或多个时钟发生器(CLK GEN)。在图1的示例中,计算系统100包括单个时钟发生器112。如由图1中的虚线表示的,时钟发生器112例如将公共时钟信号提供到岛102、104和106中的每个。例如,时钟发生器112包括以下中的一个或多个:晶体振荡器;分频器;锁频环;锁相环;延迟锁定环;诸如RC(电阻器-电容器)振荡器的嵌入式振荡器;环形振荡器;和/或能够生成时钟信号的其他电路。Computing system 100 also includes one or more clock generators (CLK GEN). In the example of FIG. 1 , computing system 100 includes a single clock generator 112 . As represented by the dashed lines in FIG. 1 , clock generator 112 provides, for example, a common clock signal to each of islands 102 , 104 , and 106 . For example, the clock generator 112 includes one or more of: 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 circuitry capable of generating a clock signal.
尽管未示出在图1中,但是计算系统100可以包括除了或代替电压调节器108、110和时钟发生器112的一个或多个另外的资源。例如,计算系统100可以包括其他类型的电压供应电路,例如参考电压供应电路。Although not shown in FIG. 1 , computing system 100 may include one or more additional resources in addition to or instead of voltage regulators 108 , 110 and clock generator 112 . For example, computing system 100 may include other types of voltage supply circuits, such as reference voltage supply circuits.
计算系统100例如包括提供在岛102、104和106的各个电路之间的数据链路的数据通信总线114。Computing system 100 includes, for example, data communication bus 114 that provides data links between the various circuits of islands 102 , 104 , and 106 .
除了数据总线114,例如还出于功率和时钟管理的目的提供了岛控制总线116。总线116例如被耦合到与每个岛相关联的岛控制单元(ICU),岛102、104和106的ICU在图1中分别被标记为122、124和126。每个ICU 122、124和126例如被耦合到对应的岛102、104和106,并且例如供应用于控制岛的功率和时钟状态的控制信号。In addition to the data bus 114, an island control bus 116 is also provided, for example for power and clock management purposes. Bus 116 is, for example, coupled to an island control unit (ICU) associated with each island, the ICUs of islands 102 , 104 and 106 being labeled 122 , 124 and 126 in FIG. 1 , respectively. Each ICU 122, 124, and 126 is, for example, coupled to a corresponding island 102, 104, and 106, and supplies, for example, control signals for controlling power and clock states of the island.
依赖性调解器单元(DMU)例如与每个资源相关联,例如与图1的计算系统100的每个电压调节器和每个时钟发生器相关联。例如,电压调节器108和110分别与DMU 128和130相关联,并且时钟发生器与DMU 132相关联。ICU 122、124和126中的每个例如被耦合到将电源电压提供到其连接的岛的电压调节器的DMU,并且被耦合到将时钟信号提供到其连接的岛的时钟发生器的DMU。因此,在图1的示例中,岛102的ICU 122被耦合到DMU 128和132,并且岛104和106的ICU 124和126均被耦合到DMU 130和132中的两者。在图1的实施例中,在DMU 128、130、132与ICU 122、124、126之间的接口有多个专用通信线缆提供。然而,在备选实施例中,这些通信可以使用总线116进行。A Dependency Modulator Unit (DMU), for example, is associated with each resource, such as each voltage regulator and each clock generator of computing system 100 of FIG. 1 . For example, voltage regulators 108 and 110 are associated with DMUs 128 and 130 , respectively, and a clock generator is associated with DMU 132 . Each of the ICUs 122 , 124 , and 126 is, for example, coupled to a DMU of a voltage regulator that provides a supply voltage to the island to which it is connected, and is coupled to a DMU of a clock generator that provides a clock signal to the island to which it is connected. Thus, in the example of FIG. 1 , ICU 122 of island 102 is coupled to DMUs 128 and 132 , and ICUs 124 and 126 of islands 104 and 106 are coupled to both of DMUs 130 and 132 . In the embodiment of FIG. 1, the interface between the DMUs 128, 130, 132 and the ICUs 122, 124, 126 is provided by a plurality of dedicated communication cables. However, in alternative embodiments, these communications may occur using the bus 116 .
域链路控制器(DLC)134例如被耦合到总线116,并且例如在由模式切换程序(MSP)136生成的功率管理命令与由移位控制单元(SCU)138生成的功率管理命令之间进行仲裁。Domain link controller (DLC) 134 is coupled to bus 116, for example, and communicates between power management commands generated by mode switch program (MSP) 136 and power management commands generated by shift control unit (SCU) 138, for example. arbitration.
MSP 136例如被实现在岛102中,但是在备选实施例中其可以被实现在计算系统100中的其他地方。MSP 136例如经由总线116控制岛的操作模式。例如,MSP 136存储指示岛中的每个的电流功率状态和操作模式的列表。MSP 136因此能够协调在岛102、104和106的操作模式之间的转变。例如,MSP 136是例如被下载到指令存储器中的并且由岛102的微处理器(未示出在图1中)运行的程序。当MSP的指令由微处理器运行时,它们允许下面更详细地描述的MSP的功能被实现。MSP 136 is implemented, for example, in island 102 , but it may be implemented elsewhere in computing system 100 in alternative embodiments. MSP 136 controls the operating mode of the island, eg, via bus 116 . For example, MSP 136 stores a list indicating the current power state and mode of operation 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 program, eg, downloaded into instruction memory and executed by a microprocessor (not shown in FIG. 1 ) of island 102 . When the MSP's instructions are executed by the microprocessor, they allow the functions of the MSP described in more detail below to be implemented.
SCU 138例如是适于在MSP 136不能够执行该作用时提供功率管理的电路,例如因为其已经被掉电。例如,当MSP处于睡眠模式中或否则不可用时,SCU控制启动序列、唤醒序列和进入到计算系统100的睡眠模式。其还例如通过例如控制MSP的各种组件被接通的顺序并且因此防止系统进入系统不能够从其退出的不期望的状态来负责MSP 136的启动序列。SCU 138 is, for example, circuitry adapted to provide power management when MSP 136 is unable to perform this role, for example because it has been powered down. For example, the SCU controls the boot sequence, wake-up sequence, and entry into sleep mode of the computing system 100 when the MSP is in sleep mode or is otherwise unavailable. It is also responsible for the start-up sequence of the MSP 136 eg by controlling the order in which the various components of the MSP are switched on and thus preventing the system from entering undesired states from which the system cannot exit.
DLC 134例如适于从MSP 136和SCU 138两者接收命令。DLC 134例如经由数据总线114与MSP 136进行通信,并且其可以经由在图1中由在SCU 138与DLC 134之间的箭头表示的专用链路或经由总线116与SCU 138进行通信。DLC 134例如通过将从MSP 136或SCU 138接收到的命令转化成可以使用被应用在总线116上的特定总线协议通过总线116发送到ICU的命令来提供在MSP 136/SCU 138与总线116之间的接口。DLC 134还例如对通过总线116从ICU接收到的返回信号进行转化使得信息可由MSP 136或SCU 138访问。另外,DLC 134例如适于无论何时其能够这么做时允许MSP 136控制功率管理网络,并且否则允许SCU 138控制功率管理网络。DLC 134 is adapted, for example, to receive commands from both MSP 136 and SCU 138 . DLC 134 communicates with MSP 136 , eg, via data bus 114 , and it may communicate with SCU 138 via a dedicated link represented in FIG. 1 by the arrow between SCU 138 and DLC 134 or via bus 116 . DLC 134 is provided between MSP 136/SCU 138 and bus 116, for example by converting commands received from MSP 136 or SCU 138 into commands that can be sent over bus 116 to the ICU using the particular bus protocol being applied on bus 116. Interface. DLC 134 also translates, for example, return signals received from the ICU over bus 116 so that the information can be accessed by MSP 136 or SCU 138 . Additionally, the DLC 134 is adapted, for example, 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.
唤醒中断单元(WIU)140例如被耦合到SCU 138,但是在备选实施例中,其能够被耦合到ICU 122、124、126中的一个。WIU 140例如是适于管理使得岛102、104、106中的一个或多个被唤醒的中断的电路。WIU 140例如通过识别每个中断的来源来这么做,保存每个中断直到所关注的一个或多个岛能够对其进行处置,并且一旦它们已经被唤醒并且能够处理中断就将其发送到所关注的一个或多个岛。Wake-up interrupt unit (WIU) 140 is coupled to SCU 138 , for example, but could be coupled to one of ICUs 122 , 124 , 126 in alternative embodiments. The WIU 140 is, for example, circuitry adapted to manage interrupts that cause one or more of the islands 102, 104, 106 to wake up. The WIU 140 does this, for example, by identifying the source of each interrupt, holding each interrupt until the concerned island or islands can handle it, and sending it to the concerned island once they have woken up and are able to handle the interrupt. one or more islands.
在操作时,MSP 136例如适于通过例如经由DLC 134通过总线116将合适的命令发送到对应的ICU 122、124和/或126来修改岛102、104、106中的一个或多个的操作模式。接收该命令的ICU例如在本地处理它并确定连接的岛的功率状态、电源电压和/或时钟信号的改变的合适的序列以便实现期望的操作模式。每个ICU之后将请求发送到与其电压调节器相关联的DMU和/或发送到与其时钟发生器相关联的DMU,从而请求对应的改变。如果DMU能够进行所请求的改变,则其例如因此控制电压调节器/时钟发生器,并且确认请求已经被实现的ICU。ICU之后例如通知MSP 136已经成功地进行了改变,使得MSP 136可以更新对应的ICU的操作模式的其记录。在电压调节器和/或时钟发生器供应多于单个岛的情况下,DMU例如在来自岛中的每个的请求之间进行仲裁,并且选择或维持满足岛中的每个的最小要求的电源电压和/或时钟信号。In operation, MSP 136 is adapted, for example, to modify the mode of operation of one or more of islands 102, 104, 106 by sending appropriate commands to corresponding ICUs 122, 124 and/or 126 over bus 116, for example via DLC 134. . The ICU receiving the command processes it eg locally and determines the appropriate sequence of changes in the connected island's power states, supply voltages and/or clock signals in order to achieve the desired mode of operation. Each ICU then sends a request to the DMU associated with its voltage regulator and/or to the DMU associated with its clock generator, requesting a corresponding change. If the DMU is able to make the requested change, it eg controls the voltage regulator/clock generator accordingly and acknowledges the ICU that the request has been fulfilled. 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 corresponding ICU's mode of operation. Where voltage regulators and/or clock generators supply more than a single island, the DMU, for example, arbitrates between requests from each of the islands and selects or maintains a power supply that meets the minimum requirements of each of the islands voltage and/or clock signal.
在一个实施例中,岛102、104、106中的每个支持以下的16种操作模式中的至少一些操作模式,其中,V是电压,并且F是频率:In one embodiment, each of the islands 102, 104, 106 supports at least some of the following 16 modes of operation, where V is voltage and F is frequency:
当然,上表仅仅提供可能的操作模式的列表的一个示例,其具有的优点在于操作模式中的任何可以使用仅仅4位命令来选择。然而,存在许多可以使用的操作模式的备选集合,从而具有相同的或不同的数量的可用模式。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 may be used, thus having the same or a different number of available modes.
图2更详细地示意性示出了根据示例实施例的图1的DMU 130。图1的其他DMU 128和132例如以类似的方式来实现。FIG. 2 schematically illustrates the DMU 130 of FIG. 1 in more detail, according to an example embodiment. The other DMUs 128 and 132 of FIG. 1 are implemented in a similar manner, for example.
DMU 130例如包括调解电路(MEDIATION CIRCUIT)206,其例如包括用于与一个或多个ICU进行通信的ICU接口(ICU INTERFACE)和用于与一个或多个另外的DMU进行通信的DMU接口(DMU INTERFACE)。在图1和图2的示例中,DMU 130与ICU 124和126进行通信,但是其可以额外地与另外的ICU进行通信。另外,在图2的示例中,DMU 130与DMU 202和204进行通信。DMU 130 includes, for example, a mediation circuit (MEDIATION CIRCUIT) 206, which, for example, includes 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. INTERFACE). In the examples of FIGS. 1 and 2 , DMU 130 communicates with ICUs 124 and 126 , but it may additionally communicate with additional ICUs. Additionally, in the example of FIG. 2 , DMU 130 is in communication with DMUs 202 and 204 .
例如,DMU 130还包括用于与调解电路206并且与诸如电压调节器110的一个或多个资源(RESOURCE)进行通信的控制电路(REG/CLK CTRL CIRCUIT)208。例如,调解电路206将指示何时期望模式的改变的模式(MODE)和请求(REQ)信号提供到控制电路208并且从控制电路208接收确认(ACK)和请求拒绝(DENIED)信号。例如,确认信号由控制电路208在可以授予所请求的模式改变时被断定,然而所请求的拒绝信号例如在资源在特定时间内还没有答复并且因此调谐电路206任务请求被拒绝时被断定。DMU 130 also includes control circuitry (REG/CLK CTRL CIRCUIT) 208 for communicating with mediation circuitry 206 and with one or more resources (RESOURCE), such as voltage regulator 110, for example. For example, mediation circuit 206 provides mode (MODE) and request (REQ) signals to control circuit 208 indicating when a change in mode is desired and receives acknowledgment (ACK) and request denial (DENIED) signals from control circuit 208 . For example, an acknowledgment signal is asserted by the control circuit 208 when the requested mode change can be granted, whereas a requested deny signal is asserted, for example, when the resource has not responded within a certain time and therefore the tuning circuit 206 task request is denied.
控制电路208例如包括允许其与诸如电压调节器110的资源进行通信的资源接口(CONTROLLED RESOURCE INTERFACE)。Control circuit 208 includes, for example, a resource interface (CONTROLLED RESOURCE INTERFACE) that allows it to communicate with a resource such as voltage regulator 110 .
图3更详细地示意性示出了根据示例实施例的与DMU 130相关联的电压和时钟管理网络。如先前所描述的,DMU 130与和其供应的岛相关联的ICU 124、126并且与和上游资源相关联的DMU 202和204进行通信。例如,DMU 202与可控资源(CONTROLLED RESOURCE)302相关联,并且DMU 204与可控资源(CONTROLLED RESOURCE)304相关联。例如,资源302和304均对应于不同的电压调节器,并且资源110对应于选择电压调节器302、304中的一个以将电源电压提供到资源110的功率选择开关。当DMU 130要实现岛的操作模式的改变时,其例如能够经由DMU 202或204请求上游资源因此被控制例如以断开或接通电源电压。FIG. 3 schematically illustrates the voltage and clock management network associated with DMU 130 in more detail, according to an example embodiment. As previously described, DMU 130 communicates with ICUs 124, 126 associated with the island it supplies and with DMUs 202 and 204 associated with upstream resources. For example, DMU 202 is associated with CONTROLLED RESOURCE 302 and DMU 204 is associated with CONTROLLED RESOURCE 304 . For example, resources 302 and 304 each correspond to different voltage regulators, and resource 110 corresponds to a power selection switch that selects one of voltage regulators 302 , 304 to provide supply voltage to resource 110 . When the DMU 130 is to effect a change in the operating mode of the island, it can eg request upstream resources via the DMU 202 or 204 and thus be controlled eg to switch off or on the supply voltage.
图4是表示DMU 128、130、132中的每个中的状态和状态转变的示例的状态图。FIG. 4 is a state diagram representing examples of states and state transitions in each of the DMUs 128 , 130 , 132 .
例如在DMU的上电后或在任何重置操作之后进入重置状态(RESET)402。The reset state (RESET) 402 is entered, for example, after power-up of the DMU or after any reset operation.
DMU之后进入状态(AWAIT ICU REQUEST)404,在状态404中其等待来自ICU的请求。The DMU then enters state (AWAIT ICU REQUEST) 404 where it waits for a request from the ICU.
当ICU请求到达(ICU REQ)时,DMU例如转变到调解状态(MEDIATION)406。从调解状态406,如果所请求的模式与资源的当前模式相同或兼容,则通过将其设置为逻辑1来将确认信号返回到ICU,并且DMU之后返回到状态404。然而,如果在状态406中,DMU不能够满足所请求的模式请求的改变(KO),则其例如进入状态408,在状态408中拒绝的信号被返回到ICU,请求被指示为待定,并且其等待另外的ICU请求(PENDING–AWAIT ICU REQUEST)。如果这样的另一ICU请求到达(ICU REQ),则DMU返回到调解状态406以确定请求现在是否能够被满足。如果在调解状态406中,DMU确定能够满足一个或多个所请求的/待定模式改变(OK),则其进入改变请求状态(REG/CLK CHANGE REQUEST)410,其中对应的资源被命令为改变模式。DMU之后进入确认状态(ACK)412,其中返回到ICU的确认信号例如被设置为逻辑1,并且DMU之后返回到状态404。The DMU transitions to the mediation state (MEDIATION) 406, for example, when an ICU request arrives (ICU REQ). From the Mediation state 406 , if the requested mode is the same or compatible with the resource's current mode, an acknowledgment signal is returned to the ICU by setting it to logic 1, and the DMU then returns to state 404 . However, if in state 406 the DMU is unable to satisfy the requested change of mode request (KO), it enters state 408, for example, where a signal of rejection is returned to the ICU, the request is indicated as pending, and its Waiting 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 if the request can now be fulfilled. 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, where the corresponding resource is commanded to change mode . The DMU then enters an acknowledgment state (ACK) 412 , where the acknowledgment signal back to the ICU is set to logic 1, for example, and the DMU then returns to state 404 .
图5是示出根据示例实施例的在模式改变请求之间进行调解的方法中的操作的流程图。这些操作例如由以上参考图2描述的DMU的调解电路206和控制电路208执行。当然,图5的流程仅仅是调解可以如何由DMU实现的一个示例,并且可以对该方法进行变型。假定在图5的示例中,由DMU控制的资源供应至少两个岛,并且因此DMU被耦合到至少两个对应的ICU。5 is a flowchart illustrating operations in a method of mediating between mode change requests according to an example embodiment. These operations are performed, for example, by the mediation circuit 206 and the control circuit 208 of the DMU described above with reference to FIG. 2 . Of course, the flow of Figure 5 is only one example of how mediation can be implemented by a DMU, and variations on this approach are possible. Assume that in the example of FIG. 5 at least two islands are served by resources controlled by the DMU, and thus the DMU is coupled to at least two corresponding ICUs.
从开始点500,在操作501中,由DMU从ICU接收改变模式请求。From start point 500, in operation 501 a change mode request is received by the DMU from the ICU.
在后续操作502中,例如确定所请求的新模式是否等于当前模式。如果是的话,则可以在操作504中将确认信号直接返回到ICU。这可以例如在另一ICU已经请求了相同的状态改变时发生,并且因此模式已经被改变。然而,如果新模式不与当前模式相同,则下一操作是506。In a subsequent operation 502, for example, it is determined whether the requested new mode is equal to the current mode. If yes, an acknowledgment signal may be returned directly to the ICU in operation 504 . This may for example happen 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, then the next operation is 506 .
在操作506中,确定所请求的新模式是否与所有其他待定请求兼容,换言之,是否与由连接到资源的所有其他岛需要的模式兼容。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.
例如,假定资源是电压调节器,并且基于待定请求的其当前模式是低电源电压,则新的所请求的模式可以是要将该电压增加到中间电源电压。这样的请求与待定的请求兼容,因为利用低电源电压操作的岛也可以利用中间电源电压操作。然而,如果新请求是要断开电压调节器,则这样的请求不与待定请求兼容,待定请求要求至少低电源电压。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 that voltage to mid supply voltage. Such requests are compatible with pending requests, since islands operating with low supply voltages can also operate with intermediate supply voltages. However, if the new request is to turn off the voltage regulator, such a request is not compatible with pending requests, which require at least a low supply voltage.
如果新模式不与所有待定请求兼容,则下一操作例如为操作508,在操作508中新改变模式请求被标记为待定,并且因此通知ICU已经拒绝了改变模式请求。If the new mode is not compatible with all pending requests, the next operation is, for example, operation 508 in which the new change mode request is marked as pending and the ICU is thus notified that the change mode request has been rejected.
备选地,如果在操作506中,新模式与所有待定请求兼容,则下一操作是510。Alternatively, if in operation 506 the new schema is compatible with all pending requests, the next operation is 510 .
在操作510中,例如,在DMU的控制下生成改变模式命令并将其发送到资源。In operation 510, for example, a change mode command is generated and sent to the resource under the control of the DMU.
在后续操作512中,确定是否已经从资源接收到指示已经完成了所请求的改变的确认。一旦已经接收到确认,则例如执行操作514,在操作514中将确认传输到改变模式请求来源于其的ICU。该方法之后例如结束。In a subsequent operation 512, it is determined whether an acknowledgment has been received from the resource indicating that the requested change has been completed. Once the acknowledgment has been received, for example, operation 514 is performed in which the acknowledgment is transmitted to the ICU from which the change mode request originated. The method then ends, for example.
图6是示出了ICU 122、124、126中的每个中的状态和状态转变的示例的状态图。FIG. 6 is a state diagram illustrating examples of states and state transitions in each of the ICUs 122 , 124 , 126 .
例如在ICU的上电时或在任何重置操作之后进入重置状态(RESET)602。The reset state (RESET) 602 is entered, for example, upon power-up of the ICU or after any reset operation.
之后例如由ICU进入等待DLC请求状态(AWAIT DLC REQUEST)604,在其期间ICU等待来自DLC 134的模式改变请求,该请求例如来源于MSP 136或SCU 138。Then, for example, the ICU enters an AWAIT DLC REQUEST state (AWAIT DLC REQUEST) 604 , during which the ICU waits for a mode change request from the DLC 134 , such as from the MSP 136 or the SCU 138 .
当MSP或SCU请求(MSP/SCU REQ)到达时,例如进入调解状态(MEDIATION)606。从该状态,同时地或相继地进入另外两种状态608、610。进入状态608、610的顺序例如取决于要实现的特定模式改变。When the 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 sequentially. The order of entering states 608, 610 depends, for example, on the particular mode change to be implemented.
状态608是调节器/时钟发生器改变请求状态(REG/CLK CHANGE REQUEST),其中请求被发送到导的时钟发生器和/或电压调节器的DMU以改变模式。ICU等待来自相关的一个或多个DMU的已经完成了所请求的改变的确认。状态610是岛改变请求(ISLAND CHANGEREQUEST)状态,其中岛被请求以进行所请求的模式改变。再次地,ICU例如等待来自岛的已经完成了所请求的改变的确认。State 608 is a regulator/clock generator change request state (REG/CLK CHANGE REQUEST), where a request is sent to the clock generator of the lead and/or the DMU of the voltage regulator to change modes. The ICU waits for confirmation from the associated DMU or DMUs that the requested changes have been completed. State 610 is an ISLAND CHANGEREQUEST state in which an island is requested to make a requested mode change. Again, the ICU waits, for example, for confirmation from the island that the requested change has been completed.
如果在状态608、610中的每个期间执行的操作成功,则ICU例如返回到调解状态606,并且确定已经成功地完成了改变。ICU因此例如通知MSP 136或SCU 138已经成功地完成了改变,取决于哪个电路启动了模式改变请求。在一些实施中,这通过设置可以由MSP136或SCU 138检测到的DLC 134中的中断来实现。因此,ICU例如移动到设置中断(SET IRQ)状态,其中例如通过断定由在DLC 134存储的寄存器中的与ICU相关联的位来设置中断。该寄存器也可由MSP 136和SCU 138访问,并且指示模式改变已经终止并且状态的改变的细节可以从ICU中获得。ICU之后例如返回到状态604。If the operations performed during each of the states 608, 610 were successful, the ICU returns, for example, to the Mediation state 606 and determines that the change has been successfully completed. The ICU thus notifies, for example, the MSP 136 or the SCU 138 that the change has been successfully completed, depending on which circuit initiated the mode change request. In some implementations, this is accomplished by setting an interrupt in DLC 134 that can be detected by MSP 136 or SCU 138 . Accordingly, the ICU moves, for example, to a SET IRQ state, where the interrupt is set, for example, by asserting a bit associated with the ICU in a register stored by the DLC 134 . This register is also accessible by the MSP 136 and the SCU 138, and details indicating that the mode change has terminated and the change of state can be obtained from the ICU. The ICU then returns to state 604, for example.
图7示意性示出了根据示例实施例的在ICU 124与岛104之间的接口。在计算系统100的其他ICU与岛之间的接口例如以类似的方式来实现。FIG. 7 schematically illustrates the interface between ICU 124 and island 104 according to an example embodiment. Interfaces between other ICUs of computing system 100 and the island are implemented in a similar manner, for example.
如所示出的,ICU 124例如从时钟发生器112接收时钟信号CLK,并且将该时钟提供到岛104。ICU 124例如包括允许该时钟被门控的开关702。ICU 124还例如接收总线116的时钟信号PCLK,从而允许通过总线116成功地接收到数据,以及用于重置ICU的重置信号RST。As shown, ICU 124 receives clock signal CLK, eg, from clock generator 112 , and provides the clock to 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 , allowing data to be successfully received over the bus 116 , and a reset signal RST for resetting the ICU.
岛104例如包括岛控制器TRC(转变斜变单元)、可以被上电(ON)或被掉电(EXT)的电路部分704以及可被上电或被掉电或者可以进入保留状态(ON/RET/EXT)的电路部分706。例如,电路部分704经由由对应于这些信号的逻辑OR的逆的信号“RET+EXT”的逆控制的开关708由岛的电源电压线路供电。因此,开关708供应电路部分704,除非电路部分被掉电(断定信号EXT)或进入低功率保留模式(断定信号RET)。电路部分706例如经由由信号EXT的逆控制的开关710由岛的电源电压线路供电。因此,开关710供应电路部分706,除非电路要被掉电(断定信号EXT)。The island 104 includes, for example, an island controller TRC (transition ramp unit), a circuit portion 704 that can be powered up (ON) or powered down (EXT), and a circuit portion 704 that can be powered up or down or can enter a reserved state (ON/ RET/EXT) circuit portion 706. For example, the circuit part 704 is powered by the supply voltage line of the island via a switch 708 controlled by the inverse of the signal "RET+EXT" corresponding to the inverse of the logical OR of these signals. Thus, switch 708 supplies circuit portion 704 unless the circuit portion is powered down (signal EXT asserted) or enters a low power reserve mode (signal RET asserted). The circuit part 706 is powered by the supply voltage line of the island, for example via a switch 710 controlled by the inverse of the signal EXT. Thus, switch 710 supplies circuit portion 706 unless the circuit is to be powered down (assert signal EXT).
在ICU 124与岛104之间的接口例如包括用于提供以下控制信号中的一个或多个的线路:The interface between ICU 124 and island 104 includes, for example, lines for providing one or more of the following control signals:
-一个或多个时钟信号CLK,例如包括由时钟发生器112提供的岛的主时钟信号,并且在一些实施例中包括针对岛控制器TRC的时钟信号;- one or more clock signals CLK, for example including the island's master clock signal provided by the clock generator 112, and in some embodiments including the clock signal for the island controller TRC;
-以上提到的用于控制岛上电或掉电的信号EXT。在一些实施例中,可以将指示何时经由开关708对岛的主功率供应准备好使用的确认信号从岛控制器TRC提供到ICU;- The above-mentioned signal EXT for controlling the power-up or power-down of the island. In some embodiments, an acknowledgment signal may be provided from the island controller TRC to the ICU indicating when the main power supply to the island via switch 708 is ready for use;
-以上提到的用于控制岛的至少部分以进入低功率保留状态的信号RET。在一些实施例中,可以将指示何时经由开关710对岛的保留功率供应准备好使用的确认信号从岛控制器TRC提供到ICU;- The signal RET mentioned above for controlling at least part of the island to enter a low power reserve state. In some embodiments, an acknowledgment signal may be provided from the island controller TRC to the ICU indicating when the reserved power supply to the island via switch 710 is ready for use;
-用于控制在岛的功率状态之间的转变的一个或多个功率状态信号(PWR)。例如,这些信号包括用于控制岛的上电序列和掉电序列的电流限制和时间延迟的信号,并且保留用于控制保留组件以保留在掉电之前的数据或在上电之后恢复数据的信号;- One or more power state signals (PWR) for controlling transitions between power states of the island. These include, for example, signals to control the current limit and time delay of the island's power-up sequence and power-down sequence, and signals reserved to control the retention component to retain data before power-down or to restore data after power-up ;
-从岛到ICU的确认已经完成了岛的功率状态的改变的POK信号;- POK signal from the island to the ICU confirming that the change of power state of the island has been completed;
-一个或多个重置信号RST。例如,重置信号可以包括用于重置岛控制器TRC的信号、用于重置在保留模式期间保持打开的岛中的一个或多个寄存器的信号以及用于重置在保留模式期间保持关闭的岛中的一个或多个寄存器的信号;以及- One or more reset signals RST. For example, reset signals may include a signal for resetting the island controller TRC, a signal for resetting one or more registers in the island that were left open during reserved mode, and a signal for resetting a register that was left closed during reserved mode. signals of one or more registers in the island; and
-用于在岛准备好进入掉电或保留模式时将一个或多个输入或输出隔离的一个或多个隔离信号ISO。- One or more isolation signals ISO for isolating one or more inputs or outputs when the island is ready to enter power-down or reserve mode.
图8示意性示出了在岛104和时钟发生器112被形成在一个集成电路(IC)802上并且岛106和电压调节器110被形成在另一集成电路(IC)804上的情况下的图1的岛104、106和资源110、112。如所示出的,承载由时钟发生器112生成的时钟信号的时钟线路例如分别经由电路802和804的连接垫或管脚806和808从IC 802传递到IC 804。类似地,来自电压调节器110的电源电压线路例如分别经由电路804和802的连接垫或管脚810和812从IC 804传递到IC 802。在IC 802、804之间的ICU与DMU之间的通信接口例如经由在IC 802、804之间的串行接口被传输。例如,IC 802的ICU 124和DMU 132两者都通过并行接口与IC 802的双向并联/串联转换器814耦合,并且IC 804的ICU 126和DMU 130两者都通过并行接口与IC 804的双向并联/串联转换器816耦合。一个或多个串行接口818被提供在IC 802、804的转换器814、816之间。FIG. 8 schematically shows a situation 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. Islands 104, 106 and resources 110, 112 of FIG. 1 . As shown, a clock line carrying the clock signal generated by clock generator 112 passes from IC 802 to IC 804, eg, via connection pads or pins 806 and 808 of circuits 802 and 804, respectively. Similarly, supply voltage lines from voltage regulator 110 are passed from IC 804 to IC 802, eg, via connection pads or pins 810 and 812 of circuits 804 and 802, respectively. The communication interface between the ICU and the DMU between the ICs 802 , 804 is for example transmitted via a serial interface between the ICs 802 , 804 . For example, both ICU 124 and DMU 132 of IC 802 are coupled via a parallel interface to the bidirectional parallel/serial converter 814 of IC 802, and both ICU 126 and DMU 130 of IC 804 are coupled via a parallel interface to the bidirectional parallel of IC 804. /serial converter 816 coupled. One or more serial interfaces 818 are provided between the converters 814 , 816 of the ICs 802 , 804 .
数据总线114例如分别经由IC 802和804的双向并联/串联转换器820和822以及在它们之间的串联连接823从IC 802传递到IC 804。类似地,岛控制总线116例如分别经由IC802和804的双向并联/串联转换器824和826以及在它们之间的串联连接827从IC 802传递到IC 804。Data bus 114 passes from IC 802 to IC 804, eg, via bidirectional parallel/serial converters 820 and 822 of ICs 802 and 804, respectively, and a serial connection 823 therebetween. Similarly, island control bus 116 passes from IC 802 to IC 804, eg, via bidirectional parallel/serial converters 824 and 826 of ICs 802 and 804, respectively, and a series connection 827 therebetween.
图9示意性地示出了根据另一示例实施例的计算系统900。系统900具有与图1的系统100共同的许多特征,并且相同的特征已经用相同的附图标记进行标记,并且将不再详细描述。FIG. 9 schematically illustrates a computing system 900 according to another example embodiment. System 900 has many features in common with system 100 of FIG. 1 , and like features have been labeled with like reference numerals and will not be described in detail again.
关于计算系统100,计算系统900例如包括耦合到总线116的时钟生成电路(CLOCKGEN)902。时钟生成电路902例如生成通过总线116发送到ICU 122、124和126中的每一个的时钟信号PCLK并且控制每个岛的模式的每个改变的定时。特别地,如图7所示,通过总线116提供的时钟信号PCLK例如为ICU 124提供时钟,ICU 124基于该时钟信号生成信号PWR、RST、ISO、RET和EXT中的一个或多个。每当MSP 136或SCU 138请求改变模式时,时钟生成电路902例如由命令信号CMD启用。With respect to computing system 100 , computing system 900 includes, for example, a clock generation circuit (CLOCKGEN) 902 coupled to bus 116 . The clock generation circuit 902 generates, for example, a clock signal PCLK sent to each of the ICUs 122 , 124 , and 126 through the bus 116 and controls the timing of each change in mode of each island. In particular, as shown in FIG. 7 , clock signal PCLK provided via bus 116 , for example, clocks ICU 124 which generates one or more of signals PWR, RST, ISO, RET, and EXT based on the clock signal. Clock generation circuit 902 is enabled, eg, by command signal CMD, whenever MSP 136 or SCU 138 requests a mode change.
应注意,时钟发生电路902是相对于时钟发生器112的附加时钟源,时钟发生器112将时钟信号CLK提供给岛。提供单独时钟源的优点在于时钟信号PCLK可以独立于时钟发生器112提供的时钟信号而被激活。此外,时钟发生电路902可以以比时钟信号CLK低得多的频率生成时钟信号PCLK,从而降低功耗。例如,虽然由时钟发生器112生成的时钟信号CLK具有100MHz至2GHz范围内的频率,但是时钟信号PCLK例如具有10kHz至10MHz范围内的时钟频率。当其所有岛都处于睡眠模式时,也可以关闭时钟发生器112,从而减少睡眠模式期间的功耗。It should be noted that clock generation circuit 902 is an additional clock source relative to clock generator 112, which provides clock signal CLK to the island. An 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 a clock frequency in the range of 10 kHz to 10 MHz, for example. Clock generator 112 can also be turned off when all its islands are in sleep mode, thereby reducing power consumption during sleep mode.
如现在将更详细地描述的,时钟生成电路902例如能够基于要应用的模式的改变来改变时钟信号PCLK的频率。例如,对于不涉及由调节器108或110提供的电源或参考电压的改变的某些类型的模式改变,电路902可以以相对高的频率生成时钟信号PCLK。对于涉及电源电压改变的其他类型的模式改变,例如从低电压到常规电压的改变,电路902例如生成时钟信号PCLK以具有相对低的频率。As will now be described in more detail, the clock generation circuit 902 can, for example, change the frequency of the clock signal PCLK based on a change in the mode to be applied. For example, circuit 902 may generate clock signal PCLK at a relatively high frequency for certain types of mode changes that do not involve changes in the power supplies or reference voltages provided by regulators 108 or 110 . For other types of mode changes involving supply voltage changes, such as a change from a low voltage to a regular voltage, the circuit 902 for example generates the clock signal PCLK to have a relatively low frequency.
如上所述,在一些实施例中,可以通过由唤醒中断单元140接收的中断或由MSP136来发起模式的改变。当要应用模式的改变时,时钟发生器902例如接收命令以生成适当的时钟信号。该命令例如经由DLC 134由MSP 136或SCU 138生成。As noted above, in some embodiments, a mode change may be initiated by an interrupt received by wake-up interrupt unit 140 or by MSP 136 . When a change of mode is to be applied, the clock generator 902 receives, for example, a command to generate an appropriate clock signal. The command is generated by MSP 136 or SCU 138 via DLC 134, for example.
图10示意性地示出了更详细地根据示例实施例的图9的计算系统的时钟生成电路902。FIG. 10 schematically illustrates the clock generation circuit 902 of the computing system of FIG. 9 in more detail, according to an example embodiment.
时钟生成电路902例如包括控制器(CLOCK GEN CONTROLLER)1002、环形振荡器1004、分频器(FREQ DIV)1006和信号选择电路1008。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 .
控制器1002例如当要实现模式改变时接收命令CMD,并且响应地生成使能信号EN以激活环形振荡器1004,并且生成频率选择信号F_SEL到信号选择电路1008以选择适当的频率的时钟信号。Controller 1002 receives command CMD, eg, when a mode change is to be effectuated, and in response generates enable signal EN to activate ring oscillator 1004 and frequency selection signal F_SEL to signal selection circuit 1008 to select a clock signal of an appropriate frequency.
环形振荡器1004包括双输入逻辑门1010,例如AND门,例如在其一个输入接收使能信号EN,并将振荡信号输出到包括奇数个反相器的反相器链。例如,门1010的输出连接到链的第一反相器1012的输入。反相器1012的输出经由一个或多个另外的反相器1014耦合到链的最后反相器1016的输入。反相器1016的输出经由反馈路径1018连接到逻辑门1010的另一输入,并且还连接到分频器1006的输入。反相器1016提供环形振荡器时钟信号CK_RO。反相器1014的数量例如按顺序被配置成确定环形振荡器1004的振荡频率,并因此确定信号CK_RO的频率。Ring oscillator 1004 includes a two-input logic gate 1010, such as an AND gate, that receives an enable signal EN, for example, at one of its inputs, and outputs an oscillating signal to an inverter chain comprising an odd number of inverters. For example, the output of gate 1010 is connected to the input of the first inverter 1012 of the chain. The output of inverter 1012 is coupled via one or more further inverters 1014 to the input of the last inverter 1016 of the chain. The output of inverter 1016 is connected to another input of logic gate 1010 via feedback path 1018 and is also connected to the input of frequency divider 1006 . The inverter 1016 provides the ring oscillator clock signal CK_RO. The number of inverters 1014 is configured, eg in sequence, to determine the oscillation frequency of the ring oscillator 1004 and thus the frequency of the signal CK_RO.
分频器1006例如通过将信号CK_RO的频率除以不同的除数来生成多个N个输出时钟信号CK_1至CK_N。例如,信号CK_1具有与信号CK_RO相同的频率F_RO,信号CK_2具有频率F_RO/2,信号CK_3具有频率F_RO/4等。The frequency divider 1006 generates a plurality of N output clock signals CK_1 to CK_N, eg, by dividing the frequency of the signal CK_RO by different divisors. For example, signal CK_1 has the same frequency F_RO as signal CK_RO, signal CK_2 has frequency F_RO/2, signal CK_3 has frequency F_RO/4, and so on.
多个时钟信号CK_1至CK_N例如被提供给复用器1008的相应输入,复用器1008例如由选择信号F_SEL控制以选择时钟信号CK_1至CK_N中的一个以将输出时钟信号PCLK提供给ICU。如上所述,选择信号F_SEL例如由控制器1002基于命令信号CMD生成。A plurality of clock signals CK_1 to CK_N are provided, for example, to respective inputs of a multiplexer 1008 , which is controlled, for example, by a selection signal F_SEL to select one of the clock signals CK_1 to CK_N to provide an output clock signal PCLK to the ICU. As mentioned above, the selection signal F_SEL is generated, for example, by the controller 1002 based on the command signal CMD.
现在将参考图11描述时钟生成电路902的操作的示例。An example of the operation of the clock generation circuit 902 will now be described with reference to FIG. 11 .
图11是示出图10的时钟生成电路902中的信号PCLK和CMD的示例的时序图,以及由在电路上运行的应用所触发的事件EVENT的示例。图11的示例基于涉及唤醒电压调节器的电路模式的第一次改变以及涉及在不唤醒电压调节器的情况下唤醒岛的电路模式的第二次改变。FIG. 11 is a timing diagram showing an example of signals PCLK and CMD in the clock generation circuit 902 of FIG. 10 , and an example of an event EVENT triggered by an application running on the circuit. The example of FIG. 11 is based on a first change in circuit mode involving waking up the voltage regulator and a second change in circuit mode involving waking up the island without waking up the voltage regulator.
在时间t0处,例如,控制器1002接收命令1102,其指示针对一个或多个岛请求LDO(低压降)唤醒。例如,要唤醒一个或多个岛,其涉及调节器108和/或110的LDO电压调节器的唤醒。控制器1002例如断言使能信号EN并选择相对低频的时钟信号,使得在时间t1处,信号PCLK以相对长的时钟周期p_long开始振荡。时钟信号PCLK被提供给相应的ICU,ICU又经由相应调节器的DMU触发电压调节。At time t0, for example, controller 1002 receives command 1102 indicating that an LDO (low dropout) wake-up is requested for one or more islands. For example, to wake up one or more islands involves waking up the LDO voltage regulators of regulators 108 and/or 110 . The controller 1002 eg asserts the enable signal EN and selects a relatively low frequency clock signal such that at time t1 the signal PCLK starts to oscillate 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.
在时间t3处,LDO唤醒序列1104开始。At time t3, the LDO wake-up sequence 1104 begins.
在时间t4处,LDO已被唤醒,如事件1106所示,并且控制器1002例如停用使能信号EN以便停止时钟PCLK。At time t4, the LDO has woken up, as shown by event 1106, and the controller 1002, for example, deactivates the enable signal EN to stop the clock PCLK.
然后假设在时间t5处,控制器1002接收岛唤醒命令1108。因此,控制器1002例如断言使能信号EN,并选择相对高频的时钟信号,使得在时间t6处,信号PCLK以相对短的时钟周期p_short开始振荡。Then assume that at time t5, the controller 1002 receives the island wake command 1108 . Therefore, the controller 1002 eg asserts the enable signal EN and selects a relatively high frequency clock signal such that at time t6 the signal PCLK begins to oscillate with a relatively short clock period p_short.
在时间t7处,岛唤醒序列1110开始。At time t7, the island wakeup sequence 1110 begins.
在时间t8处,岛已被唤醒,如事件1112所示,并且控制器1002例如停用使能信号EN以便停止时钟PCLK。At time t8, the island has woken up, as shown by event 1112, and controller 1002, for example, deactivates enable signal EN to stop clock PCLK.
提供配置成生成具有取决于要应用的模式的改变的频率的时钟信号的时钟生成电路902的优点在于,这导致快速操作和低功耗。实际上,时钟信号PCLK的频率可以基于要应用的模式的改变进行调整,使得对于本质上慢的模式的改变,例如电压调节器的唤醒,时钟信号PCLK的频率可以减少以降低模式改变期间的功耗,并且对于本质上快的模式的改变,例如岛的唤醒,可以增加时钟信号PCLK的频率以加速模式的改变的持续时间。模式改变的速度的增加还例如允许岛更频繁地置于低功率或保持模式中。An advantage of providing a clock generation circuit 902 configured to generate a clock signal with a frequency that varies depending on the 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 mode change to be applied, such that for inherently slow mode changes, such as wake-up of a voltage regulator, the frequency of the clock signal PCLK can be reduced to reduce power during the mode change. consumption, and for inherently fast mode changes, such as island wake-ups, the frequency of the clock signal PCLK can be increased to speed up the duration of the mode change. The increased speed of mode change also allows the island to be placed in low power or hold mode more frequently, for example.
另一个优点在于,通过提供时钟发生电路902作为与岛控制单元122、124、126相同的集成电路的一部分,影响电路模式改变的时序的过程、电压和温度变化可以至少部分地通过时钟发生电路902的速度的相应变化来补偿,特别是在使用环形振荡器实现时钟发生电路902的情况下。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 passed through the clock generation circuit 902. to compensate for the corresponding change in the speed of the clock, especially if the clock generation circuit 902 is implemented using a ring oscillator.
此外,在模式操作的改变之间,时钟生成电路可以置于待机模式,从而进一步降低了低功耗。In addition, the clock generation circuit can be placed in standby mode between changes of mode operation, further reducing low power consumption.
本文中描述的实施例的优点在于,通过将资源(电压供应电路和/或时钟发生器)的控制去分散到与每个岛相关联的电路,并且由与每个资源相关联的电路提供调解,可以显著减小模式操作的改变的复杂度。这例如允许实现DVFS(双电压和频率步进)以将岛从其中它们例如以完全速度计算的高功率模式切换到其中它们例如以较低速度计算的较低的功率模式。这允许基于在计算活动方面的实际要求在任何时间动态地调节整个系统的功率消耗。An advantage of the embodiments described herein is that by de-distributing the control of resources (voltage supply circuits and/or clock generators) to the circuits associated with each island, mediation is provided by the circuits associated with each resource , can significantly reduce the complexity of mode operation changes. This allows for example to implement DVFS (dual voltage and frequency stepping) to switch islands from a high power mode in which they compute eg at full speed to a lower power mode in which they compute eg at lower speed. This allows the power consumption of the overall system to be dynamically adjusted at any time based on actual requirements in terms of computing activity.
已经由此描述了至少一个说明性实施例,本领域技术人员将容易进行各种更改、修改和改进。例如,对本领域技术人员将显而易见的是,如图8所示的计算系统100的组件在单独的集成电路之间的特定分布仅仅是一个示例,并且许多不同的配置将是可能的。例如,在一些实施例中,所有资源及其对应的DMU可以被定位在岛102、104和106的单独的集成电路上。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 the particular distribution of components of computing system 100 among the individual integrated circuits as shown in FIG. 8 is but one example, and that many different configurations will be possible. For example, in some embodiments, all resources and their corresponding DMUs may be located on separate integrated circuits in islands 102 , 104 , and 106 .
Claims (14)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
FR1853101A FR3079944B1 (en) | 2018-04-10 | 2018-04-10 | POWER MANAGEMENT SYSTEM AND METHOD |
FR18/53101 | 2018-04-10 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110362187A true CN110362187A (en) | 2019-10-22 |
CN110362187B CN110362187B (en) | 2024-11-19 |
Family
ID=63209490
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910285193.2A Active CN110362187B (en) | 2018-04-10 | 2019-04-10 | System and method for power management |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110362187B (en) |
FR (1) | FR3079944B1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5623234A (en) * | 1996-03-04 | 1997-04-22 | Motorola | Clock system |
US20060259800A1 (en) * | 2005-05-16 | 2006-11-16 | Semiconductor Technology Academic Research Center | Circuit system |
US20080172565A1 (en) * | 2007-01-12 | 2008-07-17 | Asustek Computer Inc. | Multi-processor system and performance adjustment method thereof |
CN102037428A (en) * | 2008-05-22 | 2011-04-27 | Ati技术无限责任公司 | Integrated circuit with secondary-memory controller for providing a sleep state for reduced power consumption and method therefor |
CN107024962A (en) * | 2015-11-05 | 2017-08-08 | 道芬综合公司 | System and method for power management |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7071738B1 (en) * | 2004-06-24 | 2006-07-04 | Xilinx, Inc. | Glitchless clock selection circuit using phase detection switching |
-
2018
- 2018-04-10 FR FR1853101A patent/FR3079944B1/en active Active
-
2019
- 2019-04-10 CN CN201910285193.2A patent/CN110362187B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5623234A (en) * | 1996-03-04 | 1997-04-22 | Motorola | Clock system |
US20060259800A1 (en) * | 2005-05-16 | 2006-11-16 | Semiconductor Technology Academic Research Center | Circuit system |
US20080172565A1 (en) * | 2007-01-12 | 2008-07-17 | Asustek Computer Inc. | Multi-processor system and performance adjustment method thereof |
CN102037428A (en) * | 2008-05-22 | 2011-04-27 | Ati技术无限责任公司 | Integrated circuit with secondary-memory controller for providing a sleep state for reduced power consumption and method therefor |
CN107024962A (en) * | 2015-11-05 | 2017-08-08 | 道芬综合公司 | System and method for power management |
Also Published As
Publication number | Publication date |
---|---|
FR3079944A1 (en) | 2019-10-11 |
CN110362187B (en) | 2024-11-19 |
FR3079944B1 (en) | 2021-05-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1324179B1 (en) | Dynamic power control in integrated circuits | |
US10296065B2 (en) | Clock management using full handshaking | |
TWI747904B (en) | System on chip, clock gating component, multiplexer component and dividing component | |
US11789515B2 (en) | Semiconductor device | |
JPH10161767A (en) | Device and method for automatically sequencing clock within data processing system in starting and finishing power saving state | |
US11068018B2 (en) | System and method for power management of a computing system with a plurality of islands | |
KR102099301B1 (en) | Control of semiconductor devices | |
US9733957B2 (en) | Frequency and power management | |
TWI470410B (en) | Electronic system and power management method | |
US10282214B2 (en) | System and method for power management of a plurality of circuit islands | |
JP3665030B2 (en) | Bus control method and information processing apparatus | |
CN110018712B (en) | Semiconductor device and semiconductor system | |
CN110362187B (en) | System and method for power management | |
JP4831899B2 (en) | Semiconductor integrated circuit and clock control method | |
JPH0215357A (en) | Data processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20250123 Address after: France Patentee after: Dolphin Semiconductor Co. Country or region after: France Address before: French melao Patentee before: Dolphin Design Country or region before: France |