Preemptive wake-up circuitry for waking up from low-power modes

By combining the processing subsystem, power controller and real-time clock subsystem in the electronic circuit, and using the early warning countdown and preemptive wake-up circuits, the problem of resource wake-up delay and high cost in low-power mode is solved, and low power consumption and low cost are achieved. Cost-effective resources wake up quickly to ensure timely processing of real-time tasks.

CN114174956BActive Publication Date: 2024-09-13TEXAS INSTRUMENTS INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080053460.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-07-23
Filing Date
2020-07-20
Publication Date
2024-09-13
Estimated Expiration
2040-07-20

AI Technical Summary

Technical Problem

In low-power mode, resources (such as oscillators, clocks, SRAM) for real-time tasks may not wake up in time, resulting in latency overhead and performance uncertainty, especially in multi-processing unit systems where existing techniques require complex software Sequencing and multiple clock channels for precise wake-up, increasing system cost and power consumption.

Method used

An electronic circuit including a processing subsystem, a power controller, and a real-time clock (RTC) subsystem is designed. Through the early warning countdown and preemptive wake-up circuits, multiplexers and comparator logic circuits are used to control the system according to predetermined time and event signals. Generate clock request signals to disable sleep mode and ensure resources are fully awake before time-critical events.

Benefits of technology

It achieves low-cost, low-power wake-up from low-power mode, ensuring that the processor quickly wakes up required resources before time-critical events, reducing latency, system cost and power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114174956B_ABST
    Figure CN114174956B_ABST
Patent Text Reader

Abstract

The circuit (100) includes a power controller (150), a real-time clock (RTC) subsystem (170), and a processing subsystem (110). The RTC subsystem includes an alarm register that stores a predetermined time for a task and provides a warning countdown (175) and a scheduled event signal (180). The processing subsystem includes a processor (120), a preemptive wake-up circuit (125), and a component coupled to the processor and configured to perform a task with the processor. The preemptive wake-up circuit includes a selector logic circuit, a comparator, and a wake-up initiation circuit. The selector logic circuit receives a delay value indicating a wake-up time for a clock generator and the component, and outputs a maximum wake-up time to the comparator, which indicates when the warning countdown and the maximum wake-up time are equal. The wake-up initiation circuit generates a clock request and disables the sleep mode indicator (140). The power controller provides a clock signal (130) and wakes up the component.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] Many electronic devices implement low power modes for components and subsystems within the device to save power. However, a subsystem may be scheduled to perform a task at a predetermined time in the future. The resources required to perform the scheduled real-time task (e.g., oscillators, clocks, static random access memory (SRAM), etc.) may not be active or available from the low power mode for the processing subsystem to perform the time-critical task. This can result in latency overhead and inaccurate timing performance for time-critical tasks. Therefore, for real-time tasks, it may be beneficial to wake up the subsystem and necessary resources from the low power mode before the scheduled real-time task.

[0002] Preemptive wakeup can be handled in software, but requires complex software sequences to manage the state of hardware resources required by the scheduled events. This can increase power consumption in the wakeup sequence from a low-power mode. Some systems achieve accurate wakeup by implementing two system real-time clock channels for each event, one clock channel for the pre-wakeup event and one clock channel for the scheduled event itself. However, the number of channels required to accommodate scheduled events for multiple processing unit subsystems increases the operating and component costs of the system. Summary of the invention

[0003] In one example, an electronic circuit includes a processing subsystem, a power controller coupled to the processing subsystem, and a real-time clock (RTC) subsystem coupled to the processing subsystem. The RTC subsystem includes an alarm register for storing a predetermined time for performing a task, and is configured to provide a warning countdown based on the predetermined time and a scheduled event signal at the predetermined time. The processing subsystem includes: a processor coupled to the RTC subsystem to receive the scheduled event signal; a component coupled to the processor and configured to perform the task in conjunction with the processor; and a preemptive wake-up circuit coupled to the RTC subsystem to receive the warning countdown. The preemptive wake-up circuit is configured to generate a clock request signal based on the warning countdown and disable a sleep mode indicator. The power controller is configured to provide a clock signal based on the sleep mode indicator and wake up the component.

[0004] In some embodiments, the RTC subsystem includes a real-time clock for generating the scheduled event signal and the early warning countdown. The processor is further configured to write the scheduled time into the alarm register. In some embodiments, the RTC subsystem includes a plurality of alarm registers, each of which is configured to store the scheduled time of a unique task to be performed, and the processor is further configured to write a subset of the plurality of alarm registers. In some embodiments, the RTC subsystem is further coupled to the power controller and is configured to clear the alarm register or the subset of the plurality of alarm registers in response to a processing subsystem reset signal from the power controller. In some embodiments, the early warning countdown is twelve bits wide, and the RTC subsystem decrements the countdown based on a first clock frequency in a first time portion and based on a second higher clock frequency in a second shorter time portion.

[0005] In some examples, the preemptive wake-up circuit includes a selector logic circuit, a comparator coupled to the selector logic circuit, and a wake-up initiation circuit coupled to the comparator. The selector logic circuit receives a delay value indicating the corresponding wake-up time of the component and the clock generator, and receives a selector signal indicating which delay value is the largest (corresponding to the longest wake-up time) for the selector logic circuit to output. In some embodiments, the selector logic circuit is a multiplexer. The comparator outputs a signal indicating that the value of the early warning countdown from the RTC subsystem is equal to the maximum delay value. The wake-up initiation circuit generates the clock request signal based on the comparator output and disables the sleep mode indicator. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] For a detailed description of various embodiments, reference is now made to the accompanying drawings, in which:

[0007] Figure 1 is an example device configured for preemptively waking up a processing unit from a low power mode.

[0008] Figure 2 illustrate Figure 1 A timing diagram of the components in the example device shown in FIG.

[0009] Figure 3 This example shows how to wake up the module first.

[0010] Figure 4 An example device configured for preemptively waking up multiple processing units from a low power mode is described.

[0011] Figure 5 An example process for preemptively waking a processing unit from a low power mode is illustrated in flow chart form. DETAILED DESCRIPTION

[0012] The example system described herein provides low power and cost effective preemptive wakeup of processing subsystems and associated resources from low power modes. The system real time clock included in the example system includes multiple channels so that each processing unit subsystem can have a scheduled wakeup event and program it into multiple channels. Each unique processing unit subsystem can have multiple pending scheduled wakeup events at a time. The system real time clock communicates with each processing unit subsystem using an early warning bus. In some examples, the same early warning bus from the system real time clock to a specific processing unit subsystem can be used for scheduled events of all corresponding processing unit subsystems, rather than using a unique early warning bus for each channel owned and programmed by a specific processing unit subsystem. In one such example, a system including four processing unit subsystems includes four early warning buses for the system real time clock to communicate on, one early warning bus for each processing unit subsystem.

[0013] A preemptive wake-up circuit included in the processing unit subsystem begins to wake up the component in response to a countdown on the early warning bus. In an instance in which the wake-up circuit begins to wake up the component based on the component with the longest wake-up time, the circuit includes a selector logic circuit, a comparator, and a wake-up start subcircuit. The selector logic circuit may be a multiplexer and has an input for receiving a delay value and a selector signal indicating the wake-up time of the resources used by the processing unit subsystem. The selector signal indicates which delay value is the largest for the resources required to execute the scheduled event, corresponding to the longest wake-up time. The comparator compares the maximum delay value with the value of the early warning countdown from the system real-time clock and indicates when the countdown is equal to the maximum delay value. The wake-up start subcircuit generates a clock request based on the comparator output and disables the sleep mode indicator. This allows the resources required to execute the scheduled event to fully transition from the sleep mode to the active mode before the scheduled event, so that the processor can quickly execute the scheduled event.

[0014] Figure 1 1 is an example device 100 configured for preemptively waking up a processing unit 120 from a low power mode. The device 100 includes a central processing unit subsystem (CPUSS) 110, a power reset clock manager (PRCM) 150, and a system real time clock (RTC) 170. The CPUSS 110 includes a static random access memory (SRAM) 115, a central processing unit 120, and a preemptive wakeup module 125. The terms "central processing unit" and "CPU" (in the singular) are used herein to refer to a single or multiple processing units and broadly describe a central processing unit, a digital signal processor, an application specific integrated circuit, etc. The SRAM 115 is described as a static random access memory, but any suitable non-transitory storage medium may be used.

[0015] PRCM 150 provides power consumption control, clock control and reset control for CPUSS 110. PRCM 150 receives clock request from CPUSS 110 via bus 130 and provides clock signal to CPUSS 110. PRCM 150 also receives sleep mode indicator 140 from CPUSS 110 and provides reset signal 135 to CPUSS 110. PRCM 150 also controls power to SRAM 115 via SRAM power interface 145. PRCM 150 also powers on or off oscillators 155A to N according to the clock requirements of device 100 and provides appropriate clock signals to components of device 100. For example, PRCM 150 powers off oscillator 155A in response to the clock signal generated by oscillator 155A no longer being required by any component in device 100, and powers on oscillator 155A in response to a request for the clock signal generated by oscillator 155A. PRCM 150 also provides a CPUSS reset event signal to system RTC 170 via bus 160, which causes system RTC 170 to reset all scheduled alarms stored in system RTC by CPUSS 110. After the channel is reset, system RTC 170 generates a CPUSS reset event acknowledgement signal and PRCM 150 receives the CPUSS reset event acknowledgement signal via bus 160. PRCM 150 can then bring CPUSS 110 out of reset without being disturbed by the remaining scheduled alarms and events.

[0016] The system RTC 170 operates in real-time clock mode and provides wake-up signals and event triggers to components in the device 100 in the sleep low-power mode. An internal counter in the system RTC 170 keeps a count of clock pulses associated with the real time, and compares the state of this internal counter with the count stored in one or more alarm registers. In the example device 100, the alarm registers are labeled as channel-1 to channel-N. In response to the internal counter of the system RTC 170 being equal to a value a period of time before the scheduled alarm time, the system RTC 170 generates a warning countdown based on a low-frequency clock decrement on the bus 175 and provides it to the appropriate components within the device 100. In response to the internal count being equal to the scheduled alarm time, the system RTC 170 generates a scheduled event signal 180 and provides it to the appropriate components within the device 100.

[0017] The CPUSS 110 owns one or more channels in the system RTC 170 and programs the alarm time stored in the channel through a register write operation or the like. After the alarm is scheduled, the CPUSS 110 enters a sleep mode in which the clock request on the bus 130 is turned off and the PRCM 150 causes the SRAM 115 to enter a retention state by adjusting the power through the SRAM power interface 145. The CPUSS 110 provides the sleep mode indicator 140 to the PRCM 150. The power supply to the CPUSS 110 remains intact. In response to the internal counter of the system RTC 170 being equal to a value a period of time before the scheduled alarm time, the system RTC 170 generates an early warning countdown based on a low-frequency clock decrement and provides it to the preemptive wake-up module 125 using the early warning bus 175. In the example device 100, in response to the count being equal to about four milliseconds before the scheduled alarm time, the system RTC 170 generates a twelve-bit wide early warning countdown based on a 32 kilohertz (kHz) clock decrement.

[0018] In response to receiving the alarm countdown from the system RTC 170 via bus 175, the preemptive wakeup module 125 determines which resources are required to execute the event associated with the alarm and determines which resource has the longest wakeup time. Figure 3 As further discussed, the preemptive wake-up module 125 determines which resource takes the longest time to transition from the sleep mode to the wake-up mode, and preemptively wakes up the required resource at a time prior to the scheduled event corresponding to the longest wake-up time. This ensures that the necessary resources are fully awake and accessible prior to the scheduled event, but not so early as to significantly affect the power consumption of the CPUSS 110 in the low power mode.

[0019] Then, the preemptive wake-up module 125 compares the maximum wake-up time with the value of the warning countdown on the bus 175. In the penultimate cycle of the low-frequency clock and the warning countdown on the bus 175, the system RTC 170 decrements the warning countdown faster based on the higher-frequency clock. In the example device 100, the system RTC 170 decrements the warning countdown on the bus 175 every microsecond based on the 1MHz clock within 32 microseconds before the scheduled alarm time. In response to the value of the warning countdown on the bus 175 being equal to the maximum wake-up time, the preemptive wake-up module 125 triggers a clock request to the PRCM 150 to obtain an appropriate clock signal, and turns off the sleep mode indicator from the CPUSS 110 to the PRCM 150, prompting the CPUSS 110 to wake up.

[0020] In response to its internal counter value being equal to the stored alarm time, the system RTC 170 generates and provides a scheduled event signal 180 to the CPU 120. The CPU 120 then performs the operation indicated by the scheduled event signal 180. Because the preemptive wakeup module 125 triggers the wakeup of the CPUSS 110 at the required wakeup time before the scheduled alarm time, the resources required to process the event associated with the alarm are fully transitioned from the sleep mode to the wakeup mode when the CPU 120 receives the scheduled event signal 180. Therefore, when the other components of the CPUSS 110 wake up from the sleep mode, the CPU 120 can immediately begin processing the scheduled event without delay.

[0021] Figure 2 illustrate Figure 1 A timing diagram of the components in the example device 100 shown. Figure 210 shows a variable frequency countdown clock based on which the warning countdown is decremented. In this example, the warning countdown has a total duration of four milliseconds for a 32kHz low frequency clock or 128 low frequency clock cycles. For simplicity, only the last twelve of the 128 low frequency clock cycles are shown, the last cycle illustrating the increase in clock frequency to decrement the warning countdown faster. Figure 220 shows the decrementing value on the twelve-bit warning countdown bus 175 from the system RTC 170 to the preemptive wakeup module 125. Figure 230 shows the scheduled event signal 180 from the system RTC 170 to the CPU 120.

[0022] The warning bus 175 extends from the system RTC 170 to the preemptive wakeup module 125 in the CPUSS 110, decrementing the warning countdown in anticipation of a scheduled wakeup event. After decrementing 127 clock cycles based on the lower 32kHz frequency (eleven of which are shown in Figure 220), the warning countdown on the bus 175 is decremented faster based on a higher frequency clock (1 MHz for the example device 100). Using a low frequency clock for the first eleven bits of the warning bus 175 and only using a high frequency clock for the last bit reduces the power used by the clocks within the device 100, compared to using a high frequency clock for all twelve bits of the twelve-bit warning bus 175.

[0023] The preemptive wakeup module 125 in the CPUSS 110 compares the value of the warning countdown 175 with the longest wakeup time of the resource required to execute the event for which the alarm is scheduled, and initiates the resource to wake up from the sleep mode in response to the value of the warning countdown on the bus 175 being equal to the longest wakeup time. This allows the necessary resources sufficient time to fully transition from the sleep mode to the active mode before the scheduled event, while also allowing them to remain in the sleep mode for as long as possible. After the twelve-bit warning countdown on the bus 175 ends, the system RTC 170 generates a scheduled event signal 180 and sends it to the CPU 120 that performs the intended operation.

[0024] Figure 3 The example preemptive wake-up module 300 is described, for example Figure 1 The preemptive wake-up module 125 in the example device 100 shown. The preemptive wake-up module 300 includes a multiplexer 310, a comparator 330, and a wake-up initiation module 340. The multiplexer 310 receives delay values ​​315 to 325 from registers containing known wake-up times for resources within and used by the CPUSS associated with the preemptive wake-up module 300. For example, the delay value 315 may be a value of one microsecond, corresponding to the wake-up time of a 10 GHz clock used by the associated CPUSS. The delay value 320 may be a value of two microseconds, corresponding to the wake-up time of a 20 GHz clock used by the associated CPUSS. The delay value 325 may be a value of 3.5 microseconds, corresponding to the wake-up time of the SRAM associated with the CPUSS transitioning from a hold state to an active state. The multiplexer 310 includes three inputs, but any number of inputs may be used according to a particular implementation.

[0025] Multiplexer 310 receives a control signal 305 that indicates a specific input that multiplexer 310 should output. Control signal 305 indicates which resource used by CPUSS to execute the scheduled event has the longest wake-up time. For example, the CPU will use a 10 GHz clock and SRAM to execute the scheduled event. Because SRAM has a longer wake-up time than the 10 GHz clock (3.5 microseconds compared to one microsecond), control signal 305 indicates that multiplexer 310 should output delay value 325. Although the example preemptive wake-up module 300 includes a multiplexer, any suitable selector logic circuit can be used based on the specific implementation.

[0026] Comparator 330 compares the output of multiplexer 310 with the value of system RTC alarm countdown 375, e.g. Figure 1The illustrated early warning countdown provided on bus 175 from system RTC 170. A wake-up initiation module 340 receives the output of comparator 330 and generates an appropriate clock request 345 to a power reset clock manager associated with the CPUSS and turns off a sleep mode indicator 350 from the CPUSS to the power reset clock manager. The power reset clock manager then provides the appropriate clock signal and transitions the SRAM from retention mode to active mode. Due to the preemptive wake-up module 300 and the system RTC early warning countdown 375, the resources required for the scheduled event are fully awakened and available for CPU access when the scheduled event signal is received without a wake-up delay. The preemptive wake-up module 300 ensures that the necessary resources are fully awakened and accessible before the scheduled event, but not in advance to a degree that greatly affects the power consumption of the CPUSS and reduces the effectiveness of the low power mode.

[0027] Figure 4 An example device 400 configured to preemptively wake up multiple processing units from a low power mode is described. The example device 400 is similar to Figure 1 10A to N. The example device 100 shown in FIG. 10A and FIG. 10B , but although the example device 100 includes only a single CPUSS 110, the example device 400 includes multiple CPUSSs 410A to N. The device 400 includes a power reset clock manager (PRCM) 450 and a system real-time clock (RTC) 470. Bus 430A allows PRCM 450 and CPUSS 410A to send and receive clock signals and clock requests, reset signals, and sleep mode indications. Similarly, bus 430N allows PRCM 450 and CPUSS 410N to send and receive clock signals and clock requests, reset signals, and sleep mode indications. PRCM 450 controls the power to SRAM 415A in CPUSS 410A via SRAM power interface 445A. PRCM 450 controls the power to SRAM 415N in CPUSS 410N via SRAM power interface 445N.

[0028] The system RTC 470 includes channels 1 through M. The number of channels in the system RTC 470 need not equal the number of CPUSSs 410 included in the example device 400, as each CPUSS 410 may have multiple channels at a time. This allows each CPUSS 410 to schedule multiple events and alarm times, and to have several scheduled events pending at a time. Regardless of the number of channels owned by a CPUSS 410, only a single early warning bus is required for a particular CPUSS 410, reducing the number of channels and communication buses required within the device 400 compared to a device that implements two channels for each scheduled event (one for the pre-wake-up event, and one for the scheduled event itself). The early warning bus associated with a particular CPUSS 410 indicates the time delay to the next upcoming scheduled event.

[0029] The ownership of channels within the system RTC 470 may be subject to security rules and perimeter firewalls so that a CPUSS 410 cannot overwrite or interfere with channels owned by a different CPUSS 410. The system RTC 470 is coupled to each CPUSS 410A to N via a unique alert bus 475A to N. Bus 460 carries the CPUSS reset event signal from the PRCM 450 to the system RTC 470 and the reset event confirmation signal from the system RTC 470 to the PRCM 450. The reset event signal from the PRCM 450 may indicate a specific CPUSS 410 to be reset, and the system RTC 470 only resets the channels owned by the specific CPUSS 410.

[0030] Figure 5 An example process 500 for preemptively waking a processing unit from a low power mode is illustrated in flowchart form, e.g. Figure 1 The CPUSS 110 and electronic device 100 are shown. The process 500 is performed by a processing unit executing instructions stored in a non-transitory computer-readable medium, such as the CPUSS 110 executing instructions stored in the SRAM 115 from the electronic device 100. The flowchart begins at operation 505, during which the RTC 170 decrements the warning countdown to a predetermined time associated with the scheduled task. At operation 510, the preemptive wakeup module 125 determines a set of resources required for executing the scheduled task. At operation 515, the preemptive wakeup module 125 determines a maximum delay value indicating a maximum wakeup time.

[0031] At operation 520, the preemptive wake-up module 125 compares the maximum delay value with the value of the warning countdown. At operation 525, the preemptive wake-up module 125 determines whether the value of the warning countdown is equal to the maximum delay value. If the value of the warning countdown is not equal to the maximum delay value, the system RTC 170 continues to decrement the warning countdown, and the preemptive wake-up module 125 compares the maximum delay value with the value of the warning countdown again until the two are equal. In response to the maximum delay value being equal to the value of the warning countdown, the preemptive wake-up module 125 generates a clock request at operation 530 and deactivates the sleep mode indicator at operation 535.

[0032] In this description, the term "couple" or "couples" means an indirect or direct wired or wireless connection. Thus, if a first device is coupled to a second device, that connection may be through a direct connection or through an indirect connection via other devices and connections. The statement "based on" means "based at least in part on." Thus, if X is based on Y, X may vary with Y and any number of other factors.

[0033] Modifications are possible in the described embodiments, and other embodiments are possible within the scope of the claims.

Claims

1. An electronic circuit comprising: A real-time clock (RTC) subsystem including an alarm register for storing data indicating an execution time of an execution task and configured to: providing a warning countdown based on the data indicating the execution time; and providing a scheduled event signal at the execution time; and The processing subsystem includes: a processor coupled to the RTC subsystem to receive the scheduled event signal; and A preemptive wake-up circuit is coupled to the RTC subsystem to receive the early warning countdown and is configured to generate a clock request signal based on the early warning countdown and disable a sleep mode indicator to wake up a component to be used in the execution of the task, wherein the preemptive wake-up circuit includes a selector logic circuit configured to receive a set of delay values ​​indicating corresponding wake-up times of the components and configured to receive a selector signal indicating which delay value of the set of delay values ​​is to be output.

2. The electronic circuit of claim 1 , further comprising a power controller coupled to the processing subsystem and configured to provide a clock signal based on the sleep mode indicator, wherein the component includes a memory, and wherein the power controller is configured to transition the memory to a retention mode and disable the clock signal in response to the sleep mode indicator and the clock request signal.

3. The electronic circuit of claim 1 , further comprising a power controller coupled to the processing subsystem and configured to provide a clock signal based on the sleep mode indicator, wherein the component includes a memory, and wherein the power controller is configured to transition the memory to an active mode in response to the disabled sleep mode indicator.

4. The electronic circuit of claim 1 , wherein the selector logic circuit is further configured to provide a maximum delay value indicative of a longest wake-up time for the component, and wherein the preemptive wake-up circuit comprises: a comparator coupled to the selector logic circuit, wherein the comparator is configured to output a signal indicating that the value of the early warning countdown is equal to the maximum delay value; and A wake-up initiation circuit is coupled to the comparator, wherein the wake-up initiation circuit is configured to generate the clock request signal and disable the sleep mode indicator.

5. The electronic circuit of claim 1, wherein the RTC subsystem is configured to decrement the warning countdown based on a first clock frequency during a first time portion and based on a second clock frequency during a second time portion, wherein the second clock frequency is higher than the first clock frequency.

6. The electronic circuit of claim 5, wherein the warning countdown is twelve bits wide. The electronic circuit of claim 5 , wherein the second time portion is shorter than the first time portion.

8. The electronic circuit of claim 1, wherein the RTC subsystem comprises a real time clock for providing the scheduled event signal and the early warning countdown.

9. The electronic circuit of claim 1, wherein the processor is configured to write the execution time to the alarm register.

10. The electronic circuit of claim 1 , further comprising a power controller coupled to the processing subsystem and configured to provide a clock signal based on the sleep mode indicator, wherein the RTC subsystem is coupled to the power controller, and wherein the RTC subsystem is configured to clear the alarm register in response to a processing subsystem reset signal.

11. The electronic circuit of claim 1, wherein the alarm register is a first alarm register, wherein the RTC subsystem further comprises a plurality of alarm registers, and wherein each respective alarm register is configured to store a time at which a unique task is performed.

12. The electronic circuit of claim 11, wherein the processor is configured to write to a subset of the plurality of alarm registers.

13. The electronic circuit of claim 12 , further comprising a power controller coupled to the processing subsystem and configured to provide a clock signal based on the sleep mode indicator, wherein the RTC subsystem is coupled to the power controller, and wherein the RTC subsystem is configured to clear the subset of the plurality of alarm registers in response to a processing subsystem reset signal.

14. A preemptive wake-up circuit, comprising: a selector logic circuit having an input for receiving a set of delay values ​​indicative of wake-up times for a set of components used by the processing unit and a selector signal indicating which delay value to output; a comparator coupled to the selector logic circuit, the comparator having an input for receiving a warning countdown; and A wake-up initiation subcircuit is coupled to the comparator, wherein the wake-up initiation subcircuit is configured to generate a clock request and disable a sleep mode indicator.

15. The preemptive wake-up circuit of claim 14, wherein the selector signal indicates a maximum delay value indicating a longest wake-up time from the set of delay values ​​for a subset of components executing a scheduled event.

16. The preemptive wake-up circuit of claim 14, wherein the selector logic circuit comprises a multiplexer.

17. The preemptive wake-up circuit of claim 14, wherein the wake-up initiation subcircuit is configured to generate the clock request and disable the sleep mode indicator in response to the comparator indicating that the value of the early warning countdown and a selector logic circuit output are equal.

18. A method for preemptive wake-up of a processing system, comprising: decrementing the warning countdown to a task execution time, wherein the task is scheduled to be executed at the task execution time; determining a set of resources for performing the scheduled task and a set of delay values ​​indicating wake-up times, wherein the set of delay values ​​includes a respective delay value for each respective resource in the set of resources; receiving the set of delay values ​​at a selector logic circuit of a preemptive wake-up circuit; determining, by the selector logic circuit, a maximum delay value indicating a longest wake-up time from the set of delay values ​​based on the selector signal; Compare the maximum delay value with the value of the warning countdown; In response to the maximum delay value being equal to the value of the warning countdown, generating a clock request; and Deactivate the sleep mode indicator.

19. A method according to claim 18, wherein the warning countdown is decremented based on a first clock frequency used for a first part of the warning countdown and based on a second clock frequency used for a second part of the warning countdown, wherein the first clock frequency is lower than the second clock frequency, and wherein the first part of the warning countdown is longer than the second part of the warning countdown.

20. The method of claim 18, further comprising transitioning the set of resources from a sleep mode to an active mode in response to the clock request and the deactivation of the sleep mode indicator.