Dynamic reset latency

By adjusting the reset delay according to the voltage and using the reset synchronizer and clock network control, the trade-off problem between reset delay and power usage in the digital logic system is solved, the optimization of the dynamic reset delay and power saving are achieved, and the system efficiency is improved. safety and efficiency.

CN118575151APending Publication Date: 2024-08-30GOOGLE LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280033458.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-11-18
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

There is a trade-off between reset delay and power usage in existing digital logic systems, resulting in a fixed delay that cannot be dynamically adjusted according to power conditions, affecting system efficiency and security.

Method used

By dynamically adjusting the reset delay according to the voltage required for reset, using the reset synchronizer and clock network control, determining the number of clock cycles at the target voltage to optimize the reset delay, and achieving dynamic reset time through the inverted clock phase and programmable counter Delayed adjustment.

Benefits of technology

It realizes dynamic adjustment of reset delay based on power usage, reduces system delay, saves power, and improves equipment safety. Reset settings are controlled through programming to predict and optimize delay.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118575151A
    Figure CN118575151A
Patent Text Reader

Abstract

A method of resetting a plurality of functional components in a computing device includes determining cycles required to reset the functional components based on a predetermined voltage, controlling a reset synchronizer to operate the determined number of cycles, where the reset synchronizer controls a reset network connected to the functional components, and where the reset synchronizer is configured to reset the functional components based on the determined number of cycles. The determined number of cycles at the first voltage is different from the determined number of cycles at the second voltage.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] In a digital logic system, a reset signal clears the values ​​stored by the functional components of the system. Performing a reset will put the system into a known state, and a reset can be performed in response to an error or other event. For example, a reset can be performed in response to an error condition when it is not expected that processing activity will continue or when other error recovery mechanisms fail. For example, a digital logic system can perform a reset if a command times out and an error recovery scheme also fails.

[0002] When designing a system or implementing a reset response, metrics such as latency, the response time to reset, and entry / exit power, the power used during reset, can be important. There is usually a tradeoff between latency and entry / exit power: higher voltage resets have longer latency, while lower voltage resets have reduced latency. Typically, digital logic systems are designed to have a fixed latency for all resets, regardless of power usage. Summary of the invention

[0003] This specification describes a method and system for dynamically changing the reset delay of a digital logic system. For example, the reset delay can be changed based on the voltage required to reset the system. The desired reset delay can be determined using a target voltage for resetting the digital logic system. Changing the reset delay based on voltage can reduce the delay of the entire system.

[0004] Particular embodiments of the subject matter described in this specification can be implemented so as to realize one or more of the following advantages.

[0005] The described methods and systems reduce the latency of resets in digital logic systems. Typically, systems are designed to have a fixed latency for all resets, regardless of power usage. The described methods and systems allow for dynamic reset latency based on power usage, which reduces latency in the system overall. In addition, the described methods and systems are able to use natural scaling, which makes latency predictable for further scaling. The described methods and systems can advantageously save power: clock network power can be saved, for example, by reducing switching cycles when high latency is not required, and reset network power can be saved by using natural scaling. The described methods and systems advantageously allow users to control the latency of their systems, for example by programming reset settings. In addition, changes in reset delay can improve the security of the device, for example, because a hacker may not know the exact latency of the reset.

[0006] The details of one or more embodiments of the subject matter of this specification are set forth in the accompanying drawings and the description below. Other features, aspects, and advantages of the subject matter will become apparent from the description, drawings, and claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1 is a diagram of an example system.

[0008] Figure 2 are a number of graphs illustrating the benefits of dynamic reset delay.

[0009] Figure 3 is an example of resetting the synchronizer with the system.

[0010] Figure 4 is an example reset synchronizer.

[0011] Figure 5 is another example of a reset synchronizer.

[0012] Figure 6 is a diagram illustrating a reset signal.

[0013] Like reference numbers and designations in the various drawings indicate like elements. DETAILED DESCRIPTION

[0014] Figure 1 1 is a diagram of an example system 100. The system 100 can include a plurality of components 102, 104, 106, 108. Each of the components 102, 104, 106, 108 can be any suitable functional component, such as a memory, such as a static random access memory (SRAM); a processing device; or a power controller, to name a few. The system includes a reset network 110, which illustrates how a reset signal will propagate through the components 102, 104, 106, 108. The system also includes a clock network 112, through which a clock signal will propagate to the components 102, 104, 106, 108. Both the reset network 110 and the clock network 112 include delay components, where the signal takes longer to reach the components 106, 108 that are farther from the signal source. The delay components in the network can cause problems when the components are reset. In some embodiments, the reset network can be controlled to operate with an inverted clock phase. The inverted clock phases can help synchronize the signals arriving at multiple components so that the components 102 , 104 , 106 , 108 are reset at the same time.

[0015] Figure 2A diagram illustrating the benefits of dynamic reset delay is illustrated. For example, a first diagram 200 illustrates the relationship between the number of clock cycles required for reset and the target voltage of the reset. There is usually a trade-off between delay and entry / exit power: reset at a higher voltage has a larger delay, while reset at a lower voltage has a reduced delay. Typically, digital logic systems are designed to have a fixed delay for all resets, regardless of power usage. As illustrated in the diagram 200, the delay can be reduced at a lower desired voltage. For example, a reset at 1 volt requires 8 clock cycles; however, a reset at a lower voltage can use fewer clock cycles. As the desired voltage decreases, the number of clock cycles required also decreases. The number of clock cycles required for reset can be determined based on the target voltage of the reset. For example, the number of clock cycles can be determined by dividing the average reset delay by the functional clock cycle time. The number of clock cycles required can also be determined by dividing a value statistically similar to the average (e.g., median and / or mean plus sigma) by the functional clock cycle time. In some implementations, the number of clock cycles required is equal to the reset delay rounded up divided by the operating frequency.

[0016] The second graph 202 illustrates the cost opportunity of using a fixed delay for all resets. For example, at a high voltage (e.g., 1 volt), there is a low cost opportunity because the high voltage reset requires more clock cycles. However, at a lower voltage (e.g., 0.54 volts), there is a higher cost opportunity because the low voltage reset may use fewer clock cycles. Since the reset uses more clock cycles than necessary, the cost opportunity increases.

[0017] Figure 3 A reset synchronizer 300 is shown connected to a system 302. For example, the system can be similar to Figure 1 The system 100 of FIG. 100 can control the reset network and the clock network of the system. For example, the reset synchronizer can run a certain number of cycles. The determined number of cycles determines the delay of the reset. As shown, the reset synchronizer 300 controls the clock gate 302. The clock gate 302 can control the clock network of the system. In some embodiments, the reset synchronizer 300 can be controlled to run with an inverted clock phase. The inverted clock phase can help synchronize the reset signal to reach multiple components of the system at the same time. In some embodiments, the reset synchronizer can be controlled by software. For example, a user can control the reset synchronizer to run a desired number of cycles. In other embodiments, the reset synchronizer is limited by the system design. For example, the desired number of clock cycles can be predetermined for each voltage, and the operation synchronizer can be programmed to run accordingly.

[0018] Figure 4 An example reset synchronizer 400 is shown. Figure 3 Similar to the reset synchronizer 300 of the present invention, the reset synchronizer 400 can be connected to the system and control the reset network and clock network of the system. The reset synchronizer 400 includes a programmable counter 402. In some embodiments, the programmable counter can be configured via a software process (e.g., via a signal generator 410). In some embodiments, the programmable counter can be programmed to run the desired number of cycles by applying preconfigured settings stored in the signal generator 410, for example, for various scenarios. For example, different voltages and delay cycles can be useful for designers who want to improve the delay under a given voltage range. In some embodiments, it is possible to expect to reduce the number of cycles required under low voltage. In some embodiments, the signal generator can dynamically select the value to be applied to the programmable counter, for example, by calculating the optimal value as described above. In other embodiments, the counter 402 is limited by the system design. For example, the desired number of clock cycles can be predetermined for each voltage, and the counter 402 can be programmed to run accordingly. The reset synchronizer also includes a dynamic voltage frequency scaling (DVFS) decoder 404. The DVFS decoder can change the frequency of the received signal for processing. For example, the DVFS decoder adjusts the number of cycles to release or disable the reset based on a combination of voltage and frequency. The reset synchronizer 400 also includes a reset pipe slice 406. The reset pipe slice 406 can ensure that the reset signal is inverted. Running the reset signal in an inverted phase can help synchronize the reset signal to arrive at multiple components of the system at the same time. This can be particularly beneficial when there is a large reset network (e.g., for a large number of components). The reset synchronizer 400 includes a clock enabler 408, which can send a signal to the clock gate. For example, the reset synchronizer 400 can control the clock gate, similar to Figure 3 Reset synchronizer 300.

[0019] The reset synchronizer can have more or fewer components. For example, Figure 5 An example reset synchronizer 500 with fewer components is shown. The reset synchronizer 500 includes a programmable counter 502 and a clock enabler 506. The programmable counter 502 can be similar to Figure 4 The programmable counter 402, the clock enabler 506 can be similar to Figure 4 The reset synchronizer 500 can be connected to the system and can control the reset network and clock network of the system, similar to Figure 3 Reset synchronizer 300.

[0020] Figure 6A diagram group 600 is illustrated, which illustrates reset and clock signals that can be sent to a system. For example, the reset and clock signals can be propagated through a reset network and a clock network, as described above. Clock phase 602 illustrates how many clock cycles have passed during the reset process. As shown, a reset signal 604 is received. For example, the reset signal can be received by a reset synchronizer. An inverted reset signal 606 is inverted relative to clock phase 602. Inverted reset signal 606 can be transmitted in response to receiving reset signal 604. For example, inverted reset signal 606 can be transmitted by a reset synchronizer. Signal 608 represents a reset signal validated (asserted) by a reset network. As shown, signal 608 operates on an inverted phase similar to inverted reset signal 606. When signal 608 has reached a component of the system, the reset is de-asserted. The de-assertion of the reset is illustrated by signal 610, which is a de-assertion cycle. Signal 612 illustrates the delay of the reset. The delay can be any natural number.

[0021] A second diagram 614 is illustrated and includes signals 616, 618, 620, 622, 624, 626. Signals 616, 618, 620, 622, 624, 626 can be similar to signals 602, 604, 606, 608, 610, 612, respectively. The second diagram 614 illustrates a reset running with different delays, validation cycles, and invalidation cycles. Clock phase 616 illustrates how many clock cycles have passed during the reset process. As shown, a reset signal 618 is received. For example, the reset signal can be received by a reset synchronizer. An inverted reset signal 620 is inverted relative to clock phase 616. An inverted reset signal 620 can be transmitted in response to receiving the reset signal 618. For example, an inverted reset signal 620 can be transmitted by a reset synchronizer. Signal 622 represents a reset signal validated by a reset network. As shown, signal 622 runs on an inverted phase similar to the inverted reset signal 620. When signal 622 has reached the components of the system, the reset is deactivated. The deactivation of the reset is illustrated by signal 624, which is the deactivation period. Signal 626 illustrates the delay of the reset. In the illustrated diagram, the delay is three clock cycles.

[0022] Embodiments of the subject matter and functional operations described in this specification can be implemented in digital electronic circuits in computer hardware, which include the structures disclosed in this specification and their structural equivalents, or a combination of one or more of them. The processes and logic flows can also be performed by a dedicated logic circuit (such as an FPGA or ASIC) or by a combination of a dedicated logic circuit and one or more programmed computers.

[0023] In addition to the above embodiments, the following embodiments are also innovative:

[0024] Embodiment 1 is a method for resetting multiple functional components in a computing device, the method comprising:

[0025] determining a number of cycles required to reset the functional component based on a predetermined voltage;

[0026] controlling the reset synchronizer to run for a determined number of cycles;

[0027] wherein the reset synchronizer controls a reset network connected to the functional components; and

[0028] The determined number of cycles at the first voltage is different from the determined number of cycles at the second voltage.

[0029] Embodiment 2 is a method according to embodiment 1, wherein the number of cycles is derived from a delay component measurable from the reset network.

[0030] Embodiment 3 is a method according to embodiment 2, wherein the number of cycles is a ratio of the delayed components.

[0031] Embodiment 4 is a method according to any one of embodiments 1-3, further comprising controlling a reset clock gate to run the determined number of cycles, wherein the reset clock gate controls a clock network connected to the functional component.

[0032] Embodiment 5 is a method according to embodiment 4, wherein a reset synchronizer controls a reset clock gate.

[0033] Embodiment 6 is a method according to any one of embodiments 1-5, wherein controlling the reset synchronizer includes updating the reset synchronizer by software.

[0034] Embodiment 7 is the method according to embodiment 6, wherein the reset synchronizer controls a reset pipe stage connected to the reset network.

[0035] Embodiment 8 is the method according to any one of embodiments 1-7, wherein controlling the reset synchronizer includes instructing the reset synchronizer to start with a hold margin of a half cycle.

[0036] Embodiment 9 is a method according to embodiment 8, wherein the reset synchronizer operates with an inverted clock phase.

[0037] Embodiment 10 is a computing device, comprising:

[0038] Multiple functional components; and

[0039] A processor configured to:

[0040] determining a number of cycles required to reset the functional component based on a predetermined voltage;

[0041] controlling the reset synchronizer to run for a determined number of cycles;

[0042] wherein the reset synchronizer controls a reset network connected to the functional components; and

[0043] The determined number of cycles at the first voltage is different from the determined number of cycles at the second voltage.

[0044] Embodiment 11 is a system according to embodiment 10, wherein the number of cycles is derived from a delay component measurable from the reset network.

[0045] Embodiment 12 is a system according to embodiment 11, wherein the number of cycles is a ratio of the delayed components.

[0046] Embodiment 13 is a system according to any one of embodiments 10-12, wherein the processor is further configured to control a reset clock gate to run the determined number of cycles, wherein the reset clock gate controls a clock network connected to the functional component.

[0047] Embodiment 14 is a system according to embodiment 13, wherein the reset synchronizer is configured to control a reset clock gate.

[0048] Embodiment 15 is the system according to any one of embodiments 10-14, wherein controlling the reset synchronizer includes updating the reset synchronizer by software.

[0049] Embodiment 16 is a system according to embodiment 15, wherein the reset synchronizer is configured to control a reset pipeline stage connected to the reset network.

[0050] Embodiment 17 is the system of any one of embodiments 10-16, wherein controlling the reset synchronizer includes instructing the reset synchronizer to start with a hold margin of half a cycle.

[0051] Embodiment 18 is a system according to embodiment 17, wherein the reset synchronizer is configured to operate with an inverted clock phase.

[0052] Although this specification contains many specific implementation details, these should not be interpreted as limitations on the scope of any invention or on the scope that can be claimed, but rather as descriptions of features that can be specific to specific embodiments of specific inventions. Certain features described in the context of separate embodiments in this specification can also be implemented in combination in a single embodiment. Conversely, the various features described in the context of a single embodiment can also be implemented separately or in any suitable sub-combination in multiple embodiments. In addition, although features may be described above as working in certain combinations and even initially claimed as such, one or more features from the combination can be deleted from the claimed combination in some cases, and the claimed combination may involve a sub-combination or a variant of a sub-combination.

[0053] Similarly, although operations are depicted in a particular order in the accompanying drawings, this should not be understood as requiring such operations to be performed in the particular order shown or in a continuous order, or performing all illustrated operations, to achieve the desired result. In some cases, multitasking and parallel processing may be advantageous. In addition, the separation of the various system modules and components in the above-described embodiments should not be understood as requiring such separation in all embodiments. It should be understood that the described program components and systems can be integrated together or packaged into multiple software products in a single software product.

[0054] Specific embodiments of the subject matter have been described. Other embodiments are within the scope of the appended claims. For example, the actions recited in the claims can be performed in a different order and still achieve the desired results. As an example, the processes depicted in the accompanying drawings do not necessarily require the particular order shown or the sequential order to achieve the desired results. In some cases, multitasking and parallel processing may be advantageous.

Claims

1. A method for resetting a plurality of functional components in a computing device, the method comprising: determining a number of cycles required to reset the functional component based on a predetermined voltage; controlling the reset synchronizer to run for a determined number of cycles; wherein the reset synchronizer controls a reset network connected to the functional component; and The determined number of cycles at the first voltage is different from the determined number of cycles at the second voltage.

2. The method according to claim 1, wherein: The number of cycles is derived from a delay component that can be measured from the reset network.

3. The method according to claim 2, wherein: The number of cycles is a ratio of the delay components.

4. The method according to any one of claims 1 to 3, further comprising: A reset clock gate is controlled to run for the determined number of cycles, wherein the reset clock gate controls a clock network connected to the functional component.

5. The method according to claim 4, wherein: The reset synchronizer controls the reset clock gate.

6. The method according to any one of claims 1 to 5, wherein: Controlling the reset synchronizer includes updating the reset synchronizer by software.

7. The method according to claim 6, wherein: The reset synchronizer controls a reset pipeline stage connected to the reset network.

8. The method according to any one of claims 1 to 7, wherein: Controlling the reset synchronizer includes instructing the reset synchronizer to start with a hold margin of half a cycle.

9. The method according to claim 8, wherein: The reset synchronizer operates with an anti-phase clock.

10. A computing device comprising: Multiple functional components; as well as A processor, the processor being configured to: determining a number of cycles required to reset the functional component based on a predetermined voltage; controlling the reset synchronizer to run for a determined number of cycles; wherein the reset synchronizer controls a reset network connected to the functional component; and The determined number of cycles at the first voltage is different from the determined number of cycles at the second voltage.

11. The system according to claim 10, wherein: The number of cycles is derived from a delay component that can be measured from the reset network.

12. The system according to claim 11, wherein: The number of cycles is a ratio of the delay components.

13. The system according to any one of claims 10 to 12, wherein: The processor is further configured to control a reset clock gate to run for the determined number of cycles, wherein the reset clock gate controls a clock network connected to the functional component.

14. The system according to claim 13, wherein: The reset synchronizer is configured to control the reset clock gate.

15. The system according to any one of claims 10 to 14, wherein: Controlling the reset synchronizer includes updating the reset synchronizer by software.

16. The system of claim 15, wherein: The reset synchronizer is configured to control a reset pipeline stage connected to the reset network.

17. The system according to any one of claims 10 to 16, wherein: Controlling the reset synchronizer includes instructing the reset synchronizer to start in a half cycle.

18. The system of claim 17, wherein: The reset synchronizer is configured to operate with an anti-phase clock.