USPatent applicationPatented

Universal adaptive voltage scaling system

Granted 29 Dec 2015 · no office action yet

Current assignee: MARVELL ASIA PTE, LTD. · originally Marvell Technology Group Ltd.

Law firm: Law firm · Log in to unlock

Attorney: Attorney · Log in to unlock

Inventors: Joseph Jun Cao, Jun Zhu, Liping Guo · Examiner: Suresh Suryawanshi · AU 2118 · TC 2100

Application· this page
14/012,878
filed 28 Aug 2013
Publication
Not published
not published
Patent
US 9,223,327
granted 29 Dec 2015

Life of the application

10 dated events
⤢ drag to zoom20142016201820202022202420262028203020322034ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

In some implementations, a system includes a universal adaptive voltage scaling monitor (UAVSM) and an adaptive voltage scaling (AVS) controller. The UAVSM is configured to delay a first signal generated by a signal path by an adjustable time period, compare the delayed first signal and a second signal associated with the signal path, and provide an error signal indicating a result of the comparison, where the error signal is asserted when the result of the comparison indicates that the delayed first signal is different from the second signal. The AVS controller is configured to provide a first control signal indicating that the voltage is to be increased when the received error signal is an asserted error signal, and provide a second control signal indicating that the voltage is to be decreased when the received error signal is an unasserted error signal and the signal path is active.

Description

8 parts
›CROSS REFERENCE TO RELATED APPLICATIONS

This disclosure claims the benefit of priority under 35 U.S.C. §119(e) of U.S. Provisional Application No. 61/732,622, filed Dec. 3, 2012, and U.S. Provisional Application No. 61/729,910, filed Nov. 26, 2012, the disclosures of which are hereby incorporated by reference in their entirety.

›FIELD OF USE

The present disclosure relates to voltage scaling.

›BACKGROUND

Adaptive voltage scaling may be used on system-on-a-chip (SOC) designs to save dynamic power and leakage power. Process, power supply voltage level, and temperature (PVT) corners may cause variation in timing for paths of an integrated circuit (IC) chip. For example, the delay for a NAND gate in a worst case scenario (e.g., slowest PVT corner) may be several times more than that in a best case scenario (e.g., fastest PVT corner).

Adaptive voltage scaling may be used to improve the power consumption on the IC. Adaptive voltage scaling may be used to apply a minimum power supply voltage that is required to meet critical path timing in a PVT corner for the chip. For example, if the critical path timing delay is determined as being unnecessarily fast, the power supply voltage may be lowered to increase the critical path timing delay. Lowering the power supply voltage increases the delay to bring the real critical path timing closer to the desired timing budget or margin. Also, by lowering the voltage, power may be saved. In another example, if the real critical path delay is determined as being greater than the desired timing budget, then the power supply voltage can be increased to decrease the critical path delay to bring the delay closer to the desired timing budget.

›SUMMARY

The present disclosure describes systems and techniques relating to voltage scaling. In general, in one aspect, a system includes a universal adaptive voltage scaling monitor, a transition detector, and an adaptive voltage scaling controller. The universal adaptive voltage scaling monitor configured to receive a first signal generated by a signal path, delay the first signal by an adjustable time period, receive a second signal associated with the signal path, compare the delayed first signal and the second signal, provide an error signal indicating a result of the comparison, where the error signal is asserted when the result of the comparison indicates that the delayed first signal is different from the second signal, and maintain the asserted error signal until an asserted reset signal is received. The transition detector is configured to detect a transition in the second signal, and provide a transition signal, where the transition signal is asserted in response to detecting the transition in the second signal. The adaptive voltage scaling controller is configured to determine a voltage being provided to the signal path, receive the error signal from the universal adaptive voltage scaling monitor, receive the transition signal from the transition detector, when the received error signal is an asserted error signal, the received transition signal is an asserted transition signal, and the voltage is less than a maximum voltage, provide a first control signal indicating that the voltage is to be increased, and when the received error signal is an unasserted error signal, the received transition signal is an asserted transition signal, and the voltage is greater than a minimum voltage, provide a second control signal indicating that the voltage is to be decreased.

The described systems and techniques can be implemented so as to realize one or more of the following advantages. The adaptive voltage scaling system may be used to monitor delays of and scale a voltage supplied to multiple critical paths in different power domains and different clock domains. The adaptive voltage scaling monitor is a universal monitor that may be used for any signal path, independent of the path, the clock domain associated with the path, and the power domain associated with the path. The universal adaptive voltage scaling monitor can be implemented in early design stage, such as the register-transfer level (RTL) stage, and can be positioned at the end of a critical path to determine a delay in the path.

The described systems and techniques can be implemented in electronic circuitry, computer hardware, firmware, software, or in combinations of them, such as the structural means disclosed in this specification and structural equivalents thereof. This can include at least one computer-readable medium embodying a program operable to cause one or more data processing apparatus to perform operations described. Thus, program implementations can be realized from a disclosed method, system, or apparatus, and apparatus implementations can be realized from a disclosed system, computer-readable medium, or method. Similarly, method implementations can be realized from a disclosed system, computer-readable medium, or apparatus, and system implementations can be realized from a disclosed method, computer-readable medium, or apparatus.

Details of one or more implementations are set forth in the accompanying drawings and the description below. Other features, objects, and advantages may be apparent from the description and drawings, and from the claims.

›DESCRIPTION OF DRAWINGS

FIG. 1 is a block diagram showing an example of a critical path.

FIG. 2 is a diagram showing examples of delays of a critical path.

FIG. 3 is a block diagram showing an example of an adaptive voltage scaling system.

FIG. 4 is a flowchart showing examples of operations performed by an adaptive voltage scaling controller.

FIG. 5 is a block diagram showing an example of an adaptive voltage scaling monitor.

FIG. 6 is a diagram showing an example of a timing budget for a critical path.

FIG. 7 is a diagram showing an example of a delay of a critical path within a safe window.

FIG. 8 is a diagram showing an example of a delay of a critical path within a danger window.

›DETAILED DESCRIPTION · 1 of 3

FIG. 1 is a block diagram showing an example of a critical path. The critical path includes a flip flop 102 , combinational logic 104 , and a flip-flop 106 . A CLK signal is provided to the flip-flop 102 and the flip-flop 106 . The flip-flop 102 receives a signal IN 0 and provides a signal to combinational logic 104 . Combinational logic 104 receives the signal provided by the flip-flop 102 and outputs a signal IN 1 . The flip-flop 106 receives the signal Ni and outputs a signal OUT. The delay from IN 0 being received by the flip-flop 102 and IN 1 being received by the flip-flop 106 represents the delay of a critical path between the flip-flop 102 and the flip-flop 106 .

FIG. 2 is a diagram showing examples of delays of a critical path relative to a CLK signal supplied to the critical path. The delays may correspond to different operation scenarios. The time tCK is a clock period of the clock signal supplied to the flip-flops of the critical path. The delays for all the different operation scenarios should be less than the time tCK, taking into account clock uncertainties, such as skew and jitter. Delay tWORST represents the delay of the critical path in the worst case scenario. The worst case scenario may be associated with high temperature and low voltage. Delay tBEST represents the delay in the best case scenario. The best case scenario may be associated with low temperature and high voltage. Delay tNORM represents the delay in a normal case scenario. Delay tOPS represents a target delay to be achieved by adaptive voltage scaling (AVS). Power savings may increase as the time difference between delay tOPS and delay tWORST decreases.

FIG. 3 is a diagram showing an example of an adaptive voltage scaling (AVS) system. The AVS system is implemented in one voltage domain V 0 corresponding to voltage VDD in SOC 300 . The SOC 300 includes three power domains PD 0 , PD 1 , and PD 2 in voltage domain V 0 . The SOC 300 includes four identified critical paths 302 , 304 , 306 , and 308 . The path 302 is in power domain PD 0 and in a clock domain CLK 0 . The path 304 is in power domain PD 1 and in clock domain CLK 1 . The path 306 is in power domain PD 1 and in clock domain CLK 2 . The path 308 is in power domain PD 2 and in clock domain CLK 3 .

The AVS system includes four universal adaptive voltage scaling monitors (UAVSMs) 310 , 312 , 314 , and 320 , which are implemented to monitor critical paths 302 , 304 , 306 , and 308 , respectively. Each UAVSM monitors the delay of the respective critical path and provides an ERR signal indicating whether the delay of the respective critical path is above or below a timing budget. If the delay is below the timing budget, the delay is in a safe window and the ERR signal is unasserted, e.g., ERR=0. If the delay is above the timing budget, the delay is in a danger window and the ERR signal is asserted, e.g., ERR=1. The ERR signal is unasserted, e.g., clamped at 0, when power of the respective power domain is off.

Each UAVSM receives a delay_select signal. The delay_select signal controls the timing budget of the UAVSM. The timing budget of each UAVSM is programmable independently of the timing budgets of the other UAVSMs. For example, a UAVSM in the AVS system may have a timing budget that is different from another UAVSM in the AVS system.

The AVS system includes four transition or toggle detectors (TDs) 318 , 320 , 322 , and 324 , which are implemented to detect a transition in the output of critical paths 302 , 304 , 306 , and 308 , respectively. Each TD detects a toggle or transition in the output signal of the respective critical path. Each TD provides a TD_flag signal. The TD_flag signal indicates whether the output signal of the respective critical path toggled or transitioned during a monitoring period. The TD_flag signal is asserted, e.g., TD_flag=1, when the output signal being monitored toggles, and remains asserted until an asserted reset signal is received. The TD_flag signal is unasserted, e.g., TD_flag=0, when the asserted reset signal is received. The TD_flag is unasserted, e.g., clamped at 0, when power in the corresponding power domain is off.

The AVS system includes an adaptive voltage scaling (AVS) controller 326 . The AVS controller 326 may be implemented in a power domain that is always powered on to perform adaptive voltage scaling. The AVS controller 326 may be a centralized module. The AVS controller 326 interfaces with the UAVSMs 310 , 312 , 314 , and 320 and the TDs 318 , 320 , 322 , and 324 . The AVS controller 326 collects and maintains information associated with each power domain, e.g., whether the power domain is on, information associated with each UAVSM 310 , 312 , 314 , and 320 , e.g., whether the UAVSM is enabled and the ERR signal, and information associated with each transition detector 318 , 320 , 322 , and 324 , e.g, the TD_flag signal. The AVS controller 326 maintains information associated with the voltage supplied to the SOC 300 , such as the current voltage being supplied to the SOC 300 , and a voltage range, e.g., a minimum voltage and a maximum voltage, corresponding to proper operation of the SOC 300 . Based on the collected information, the AVS controller 326 determines whether to scale the voltage VDD supplied to the SOC 300 . The AVS controller 326 generates control signals CTRL based on the collected information. The AVS controller 326 may generate an interrupt to notify the system of a potentially dangerous operating scenario, such as a delay in a critical path that is greater than a worst case delay for the critical path even though the supply voltage has reached a maximum voltage for the SOC 300 .

The AVS system includes voltage regulator 328 . The voltage regulator generates the scalable supply voltage VDD for voltage domain V 0 . The voltage regulator 328 may be controlled by the AVS controller 326 . The AVS controller 326 sends the control signals CTRL to the voltage regulator 328 to control the voltage VDD for voltage domain V 0 .

›DETAILED DESCRIPTION · 2 of 3

The AVS controller 326 may send an asserted reset signal at the beginning of a monitoring period to the UAVSMs 310 , 312 , 314 , and 320 , and the TDs 318 , 320 , 322 , and 324 to reset the states of the UAVSMs and TDs. The asserted reset signal clears the bits of or unasserts the TD_flag signals and the ERR signals.

FIG. 4 is a flowchart showing examples of operations 400 performed by an AVS controller, e.g., the AVS controller 326 of FIG. 3 . The operations 400 may be performed by program code, hardware, or a combination of program code and hardware implemented in a data processing apparatus. Briefly, the adaptive voltage scaling controller performs operations that include determining a voltage being supplied to the signal paths ( 402 ), receiving error signals associated with the signal paths ( 404 ), receiving transition signals associated with the signal paths ( 406 ), and determining whether the signal paths with no transitions in the associated transition signals are active ( 407 ). When at least one error signal is an asserted error signal, at least one transition signal is an asserted transition signal, and the voltage is less than a maximum voltage ( 408 ), the adaptive voltage scaling controller asserts a first control signal and provides the asserted first control signal to increase the voltage ( 410 ). When all error signals are unasserted error signals, all signal paths are active, and the voltage is greater than a minimum voltage ( 412 ), the adaptive voltage scaling controller asserts a second control signal and provides the asserted second control signal indicating that the voltage is to be decreased ( 414 ).

An example of an algorithm performed by the AVS controller 326 of FIG. 3 is presented below. For each power domain PD 0 , PD 1 , PD 2 , and PD 3 , the AVS controller maintains a register bit PD_on[*] that indicates whether the power domain is on. The AVS controller maintains registers ERR[3:0] for the UAVSMs. For each UAVSM 310 , 312 , 314 , and 316 , the AVS controller maintains a register bit UAVSM_en[*] that indicates whether the UAVSM is enabled and the signal path is active. The AVS controller may disable a UAVSM when the AVS controller determines that a signal path is inactive. For each UAVSM 310 , 312 , 314 , and 316 , the AVS controller maintains a register bit ERR[*] that indicates whether the delay of the corresponding critical path is in the danger window (e.g., ERR[*]=1) or the safe window (e.g., ERR[*]=0). When ERR[*] is 1, the AVS controller asserts a register bit danger[*] indicating that a delay of a path is within a danger window. The AVS controller maintains registers TD_flag[3:0] for the TDs. For each TD, the AVS controller maintains a register bit TD_flag[*] that indicates whether the output of the corresponding critical path toggled. The AVS controller counts the number of times a TD_flag[*] is asserted and stores this number in TD_cnt[*]. The AVS controller monitors the above signals for a time period indicated by a monitoring window size WIN_SIZE.

FIG. 5 is a diagram showing an example of a UAVSM 500 . The UAVSM 500 may be implemented in a SOC, e.g., SOC 300 of FIG. 3 . The UAVSM 500 is a universal monitor that may be used for any signal path, independent of the path, the clock domain associated with the path, and the power domain associated with the path. The UAVSM 500 can be implemented in early design stage, such as the register-transfer level (RTL) stage, and can be positioned at the end of a critical path to determine a delay in the path.

The UAVSM 500 is connected with a capturing flip-flop 502 of a critical path 504 being monitored. The UAVSM 500 receives signal check 0 and signal check 1 of the critical path 504 . The signal check 0 is the input signal to the flip-flop 502 . The signal check 1 is the output signal of the flip-flop 502 . The UAVSM 500 receives a clock signal CLK, which is the clock signal used by the critical path 504 . The UAVSM 500 receives a reset signal that, when asserted, resets the ERR signal provided by the UAVSM 500 .

The UAVSM includes a delay line that receives the signal check 0 generated by the critical path 504 and delays the signal check 0 by an adjustable time period. The delay line includes delay circuits 506 and a multiplexer 508 . The multiplexer 508 receives a delay_select signal that programs the delay of the delay line to adjust the timing budget, e.g., sizes of the safe window and the danger window, of the critical path. The delay of the delay line can be selected to be, for example, 2% to 15% of the clock period in the worst operation scenario. The multiplexer 508 provides a signal A, corresponding to a delayed version of the signal check 0 , in accordance with the delay_select signal. A flip-flop 514 stores the signal A for a clock cycle.

The UAVSM 500 includes a two-input XOR gate 510 . The XOR gate 510 receives signal check 1 associated with the signal path 504 and the signal B, which is a delayed version of the signal check 0 , from the flip-flop 514 . The XOR gate 510 compares the signal B and the signal check 1 , and provides a signal C indicating a result of the comparison.

The UAVSM 500 includes a holding circuitry that maintains an asserted ERR signal, when the result of the comparison indicates that the signal B is different from the signal check 1 , until an asserted reset signal is received. The holding circuitry may include, for example, a two-input OR gate 512 and a flip-flop 516 . The OR gate 512 and the flip-flop 516 maintains an asserted C signal and outputs the C signal as the ERR signal. For example, when the ERR signal is 1, the flip-flop 516 maintains the ERR signal at 1 until an asserted reset signal is received. The flip-flop 516 receives a reset signal that, when asserted, resets the ERR signal. The flip-flop 516 may be used to handle any possible metastability issue associated with flip-flop 514 .

The UAVSM 500 monitors the critical path 504 during a monitoring window. The monitoring window is a period of time of monitoring, which can be specified in nanoseconds or a number of clock cycles. When the monitoring window starts, a reset signal is applied to the UAVSM 500 to reset the ERR signal. During the monitoring window, the UAVMS 500 monitors the delay of the path 504 .

›DETAILED DESCRIPTION · 3 of 3

FIG. 6 is a diagram showing an example of a timing budget 600 for a critical path for a clock cycle tCLK. When the delay of the critical path falls into the safe window, e.g., ERR=0, the voltage may be decreased to increase the delay to bring the delay closer to the desired timing budget 600 . When the delay falls into the danger window, e.g., ERR=1, the voltage should be increased to decrease the delay to bring the delay below the desired timing budget 600 . The programmable delay DLY of the delay line of the UAVSM defines the danger window size, and defines the timing budget 600 of the critical path.

FIG. 7 is a diagram showing an example of a delay from the input signal to the check 0 signal of the critical path 504 of FIG. 5 within the safe window shown in FIG. 6 . When the input signal of the critical path 504 toggles and if the path delay from the input signal of the critical path 504 to the signal A is smaller than a clock cycle tCLK, flip-flop 514 and flip-flop 516 latch the same data, and the UAVSM outputs a 0 on the ERR signal line.

FIG. 8 is a diagram showing an example of a delay from the input signal to the check 0 signal of the critical path 504 of FIG. 5 within the danger window shown in FIG. 6 . When the input signal of the critical path 504 toggles and if the path delay from the input signal of the critical path 504 to the signal A is larger than a clock cycle tCLK, flip-flop 514 and flip-flop 516 latch different data, and the UAVSM outputs a 1 on the ERR signal line.

A few implementations have been described in detail above, and various modifications are possible. The disclosed subject matter, including the functional operations described in this specification, can be implemented in electronic circuitry, computer hardware, firmware, software, or in combinations of them, such as the structural means disclosed in this specification and structural equivalents thereof, including system on chip (SoC) implementations.

While this specification contains many specifics, these should not be construed as limitations on the scope of what may be claimed, but rather as descriptions of features that may be specific to particular embodiments. Certain features that are described in this specification in the context of separate implementations can also be implemented in combination in a single implementation. Conversely, various features that are described in the context of a single implementation can also be implemented in multiple implementations separately or in any suitable subcombination. Moreover, although features may be described above as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination may be directed to a subcombination or variation of a subcombination.

Similarly, while operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing may be advantageous. Moreover, the separation of various system components in the implementations described above should not be understood as requiring such separation in all implementations. Other implementations fall within the scope of the following claims.

Claims as granted

21 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

2 codes
IPC · International Patent Classification
Section G — Physics
  • G05F1/10
  • G06F1/32

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomJul 2013Oct 2013Jan 2014Apr 2014Jul 2014Oct 2014Jan 2015Apr 2015Jul 2015Oct 2015Jan 2016USPTOApplicantNotice of allowance
USPTOApplicanthover for detail · click to open
Pendency
2.3 y
853 days filing → grant
Office actions
0
none on record
Examiner
Suresh Suryawanshi
art unit 2118 · TC 2100
Citations: 14 back · 11 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom2016201820202022202420262028203020322034Owner 2Owner 4liens, releases & corrections
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock