Not applicable.
Portions of this patent application contain materials that are subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document, or the patent disclosure, as it appears in the United States Patent and Trademark Office, but otherwise reserves all copyright rights whatsoever.
This invention is in the field of electronic computing hardware and software and communications, and is more specifically directed to improved circuits, devices, and systems for power management and information and communication processing, and processes of operating and making them. Without limitation, the background is further described in connection with communications processing.
Wireline and wireless communications, of many types, have gained increasing popularity in recent years. The personal computer with a wireline modem such as DSL (digital subscriber line) modem or cable modem communicates with other computers over networks. The mobile wireless (or cellular) telephone has become ubiquitous around the world. Mobile telephony has recently begun to communicate video and digital data, and voice over packet (VoP or VOIP), in addition to cellular voice. Wireless modems for communicating computer data over a wide area network are also available.
Mobile video on cellular telephones and other mobile platforms is increasing in popularity. It is desirable that many streams of information such as video, voice and data should be flexibly handled by such mobile devices and platforms under power management.
Wireless data communications in wireless mesh networks, such as those operating according to the IEEE 802.16 standard or “WiMax,” are increasing over a widening installed base of installations. The wireless mesh networks offer wideband multi-media transmission and reception that also appear to call for substantial computing power and hardware. Numerous other wireless technologies exist and are emerging about which various burdens and demands for power management exist and will arise.
Security techniques are used to improve the security of retail and other business commercial transactions in electronic commerce and to improve the security of communications wherever personal and/or commercial privacy is desirable. Security is important in both wireline and wireless communications and apparently imposes still further demands for computing power and hardware and compatible power management.
Processors of various types, including DSP (digital signal processing) chips, RISC (reduced instruction set computing), information storage memories and/or other integrated circuit blocks and devices are important to these systems and applications. Containing or reducing energy dissipation and the cost of manufacture and providing a variety of circuit and system products with performance features for different market segments are important goals in DSPs, integrated circuits generally and system-on-a-chip (SOC) design.
Further advantageous solutions and alternative solutions would, accordingly, be desirable in the art.
Generally and in one form of the invention, an electronic circuit includes a power managed circuit, and a power management control circuit coupled to the power managed circuit and operable to select between at least a first operating performance point and a second higher operating performance point for the power managed circuit, each performance point including a respective pair of voltage and operating frequency, and the power management control circuit further operable to control dynamic power switching of the power managed circuit based on a condition wherein the power managed circuit at a given operating performance point has a static power dissipation, and the dynamic power switching puts the power managed circuit in a lower static power state that dissipates less power than the static power dissipation.
Generally and in another form of the invention, an electronic circuit includes an electronic device having a processor, and a power management circuit operable to establish a selected operating point including a voltage and operating frequency for said processor thereby defining ranges bounded by adjacent pairs of operating frequencies, said processor operable to generate a target frequency and operable to determine whether or not the target frequency is outside or within a current range and further operable to configure an operating point transition in said power management circuit when the target frequency is outside the current range.
Generally and in a further form of the invention, an electronic circuit includes a processor, a functional circuit coupled to said processor, a power management register circuit coupled to said processor for holding configuration bits in said power management register circuit, a power management control circuit coupled to said power management register circuit and said power management control circuit operable in response to the configuration bits for voltage and frequency scaling combined with conditional dynamic power switching of said processor.
Generally and in an additional form of the invention, an electronic circuit includes a processor operable to run an application, a memory coupled to said processor, a peripheral including a buffer coupled to said memory and said buffer having a buffer state output, and a power management control circuit coupled to said processor, to said memory and to said buffer state output, said power management control circuit conditionally operable in a dynamic power switching mode having a controlled sequence wherein said processor runs the application and delivers resulting information to said memory, and power to said processor is substantially lowered, and portions of the resulting information are successively transferred from said memory to said buffer depending on the buffer state output, and then power to said processor is restored.
Generally and in another further form of the invention, an electronic circuit includes a power management circuit having a dynamic power switching mode and a sleep control mode, and a processor operable in a secure mode and responsive to said power management circuit dynamic power switching mode to perform a context save of the processor before a sleep transition and a context restore on a wakeup transition, said processor further operable to perform a security context save on each exit from secure mode, whereby the security context save does not need to be done on the sleep transition.
Generally and in a further additional form of the invention, an electronic circuit includes a power-managed processing circuit operable to execute an application context and said power-managed processing circuit subject to active power consumption when an application is running and static power consumption if its power is on when the application is not running, a dynamic voltage and frequency scaling (DVFS) circuit operable to establish a voltage and a clock frequency for said power-managed circuit, and a dynamic power switching (DPS) circuit coupled to said dynamic voltage and frequency scaling circuit, said DPS circuit operable to determine an excess of the clock frequency over a target frequency for said power-managed processing circuit, and when that excess exceeds a predetermined threshold to initiate a context save by said power-managed processing circuit then temporarily substantially reduce the static power consumption.
Generally and in another additional form of the invention, an electronic system includes a first integrated circuit including a processor, a functional circuit coupled to said processor, a power management register circuit coupled to said processor to hold configuration bits, a power management control circuit coupled to said power management register circuit and said power management control circuit operable in response to the configuration bits for combined voltage and frequency scaling and conditional dynamic power switching of said processor; and a second integrated circuit including a power controller coupled to said power management control circuit of said first integrated circuit, and a first controllable voltage power supply responsive to said power controller and said first controllable voltage power supply coupled to supply a controllable voltage to power said processor, and a second controllable voltage power supply responsive to said power controller and said second controllable voltage power supply coupled to supply a controllable voltage to power said functional circuit said first integrated circuit.
Generally and in another system form of the invention, an electronic camera system includes a camera sensor operable for successive capture operations to capture image frames, a digital signal processor operable for image processing, an interconnect coupled to said digital signal processor, an interconnect clock coupled to said interconnect, a power management control circuit; a camera interface coupled to said camera sensor and to said interconnect, said camera interface including a buffer and supporting a smart standby mode wherein when said camera sensor is enabled, a time interval elapses between the successive capture operations, said camera interface operable during the time interval to assert a camera standby signal to the power management control circuit that said camera interface is not accessing said interconnect, said power management control circuit operable during the time interval to shut down said interconnect clock and assert a wait signal to prevent sourcing by said digital signal processor onto said interconnect, and at substantially the end of the time interval the camera interface further operable to de-assert the camera standby signal to indicate that said camera interface is ready to access said interconnect, and said power management control circuit operable to then disable the wait signal and activate said interconnect clock; and a display coupled to said digital signal processor.
Generally and in a further system form of the invention, a mobile video electronic system includes a processor, a power management control circuit coupled to said processor and operable for voltage and frequency scaling combined with conditional dynamic power switching of said processor, a video camera coupled to said processor and to said power management control circuit, a modem coupled to said power management control circuit, and a video display operable to display video content and coupled to said power management control circuit.
Generally, a manufacturing process form of the invention includes preparing design code representing a processor and configurable power management circuitry for voltage and clock control by power management control operable for voltage and frequency scaling combined with conditional dynamic power switching of the processor, and making at least one integrated circuit by wafer fabrication responsive to said design code.
These and other circuit, device, system, apparatus, process, and other forms of the invention are disclosed and claimed.
Corresponding numerals in different figures indicate corresponding parts except where the context indicates otherwise. Corresponding designations differing only by upper or lower case represent the same designation except where the context indicates otherwise.
In
In this way, advanced networking capability for services, software, and content, such as cellular telephony and data, audio, music, voice, video, e-mail, gaming, security, e-commerce, file transfer and other data services, internet, world wide web browsing, TCP/IP (transmission control protocol/Internet protocol), voice over packet and voice over Internet protocol (VoP/VoIP), and other services accommodates and provides security for secure utilization and entertainment appropriate to the just-listed and other particular applications.
The embodiments, applications and system blocks disclosed herein are suitably implemented in fixed, portable, mobile, automotive, seaborne, and airborne, communications, control, set top box 2092, television 2094 (receiver or two-way TV), and other apparatus. The personal computer (PC) 2070 is suitably implemented in any form factor such as desktop, laptop, palmtop, organizer, mobile phone handset, PDA personal digital assistant 2096, internet appliance, wearable computer, content player, personal area network, or other type.
For example, handset 2010 is improved for selectively determinable functionality, performance, security and economy when manufactured. Handset 2010 is interoperable and able to communicate with all other similarly improved and unimproved system blocks of communications system 2000. Camera 1490 provides video pickup for cell phone 1020 to send over the internet to cell phone 2010′, PDA 2096, TV 2094, and to a monitor of PC 2070 via any one, some or all of cellular base station 2050, DVB station 2020, WLAN AP 2060, STB 2092, and WLAN gateway 2080. Handset 2010 has a video storage, such as hard drive, high density memory, and/or compact disk (CD) in the handset for digital video recording (DVR) such as for delayed reproduction, transcoding, and retransmission of video to other handsets and other destinations.
On a cell phone printed circuit board (PCB) 1020 in handset 2010, is provided a higher-security processor integrated circuit 1022, an external flash memory 1025 and SDRAM 1024, and a serial interface 1026. Serial interface 1026 is suitably a wireline interface, such as a USB interface connected by a USB line to the personal computer 1070 and magnetic and/or optical media 2075 when the user desires and for reception of software intercommunication and updating of information between the personal computer 2070 (or other originating sources external to the handset 2010) and the handset 2010. Such intercommunication and updating also occur via a processor in the cell phone 2010 itself such as for cellular modem, WLAN, Bluetooth from a website 2055 or 2065, or other circuitry 1028 for wireless or wireline modem processor, digital television and physical layer (PHY).
In
The words “internal” and “external” as applied to a circuit or chip respectively refer to being on-chip or off-chip of the applications processor chip 1022. All items are assumed to be internal to an apparatus (such as a handset, base station, access point, gateway, PC, or other apparatus) except where the words “external to” are used with the name of the apparatus, such as “external to the handset.”
ROM 1032 provides a boot storage having boot code that is executable in at least one type of boot sequence. One or more of RAM 1034, internal flash 1036, and external flash 1024 are also suitably used to supplement ROM 1032 for boot storage purposes.
It is contemplated that the skilled worker uses each of the integrated circuits shown in
In
Digital circuitry 1150 on integrated circuit 1100 supports and provides wireless interfaces for any one or more of GSM, GPRS, EDGE, UMTS, and OFDMA/MIMO (Global System for Mobile communications, General Packet Radio Service, Enhanced Data Rates for Global Evolution, Universal Mobile Telecommunications System, Orthogonal Frequency Division Multiple Access and Multiple Input Multiple Output Antennas) wireless, with or without high speed digital data service, via an analog baseband chip 1200 and GSM/CDMA transmit/receive chip 1300. Digital circuitry 1150 includes a ciphering processor CRYPT for GSM ciphering and/or other encryption/decryption purposes. Blocks TPU (Time Processing Unit real-time sequencer), TSP (Time Serial Port), GEA (GPRS Encryption Algorithm block for ciphering at LLC logical link layer), RIF (Radio Interface), and SPI (Serial Port Interface) are included in digital circuitry 1150.
Digital circuitry 1160 provides codec for CDMA (Code Division Multiple Access), CDMA2000, and/or WCDMA (wideband CDMA or UMTS) wireless suitably with HSDPA/HSUPA (High Speed Downlink Packet Access, High Speed Uplink Packet Access) (or 1xEV-DV, 1xEV-DO or 3xEV-DV) data feature via the analog baseband chip 1200 and RF GSM/CDMA chip 1300. Digital circuitry 1160 includes blocks MRC (maximal ratio combiner for multipath symbol combining), ENC (encryption/decryption), RX (downlink receive channel decoding, de-interleaving, viterbi decoding and turbo decoding) and TX (uplink transmit convolutional encoding, turbo encoding, interleaving and channelizing.). Blocks for uplink and downlink processes of WCDMA are provided.
Audio/voice block 1170 supports audio and voice functions and interfacing. Speech/voice codec(s) are suitably provided in memory space in audio/voice block 1170 for processing by processor(s) 1110. An applications interface block 1180 couples the digital baseband chip 1100 to an applications processor 1400. Also, a serial interface in block 1180 interfaces from parallel digital busses on chip 1100 to USB (Universal Serial Bus) of PC (personal computer) 2070. The serial interface includes UARTs (universal asynchronous receiver/transmitter circuit) for performing the conversion of data between parallel and serial lines. A power resets and control module 1185 provides power management circuitry for chip 1100. Chip 1100 is coupled to location-determining circuitry 1190 for GPS (Global Positioning System). Chip 1100 is also coupled to a USIM (UMTS Subscriber Identity Module) 1195 or other SIM for user insertion of an identifying plastic card, or other storage element, or for sensing biometric information to identify the user and activate features.
In
An audio block 1220 has audio I/O (input/output) circuits to a speaker 1222, a microphone 1224, and headphones (not shown). Audio block 1220 has an analog-to-digital converter (ADC) coupled to the voice codec and a stereo DAC (digital to analog converter) for a signal path to the baseband block 1210 including audio/voice block 1170, and with suitable encryption/decryption activated.
A control interface 1230 has a primary host interface (I/F) and a secondary host interface to DBB-related integrated circuit 1100 of
A power conversion block 1240 includes buck voltage conversion circuitry for DC-to-DC conversion, and low-dropout (LDO) voltage regulators for power management/sleep mode of respective parts of the chip regulated by the LDOs. Power conversion block 1240 provides information to and is responsive to a power control state machine between the power conversion block 1240 and circuits 1250.
Circuits 1250 provide oscillator circuitry for clocking chip 1200. The oscillators have frequencies determined by one or more crystals. Circuits 1250 include a RTC real time clock (time/date functions), general purpose I/O, a vibrator drive (supplement to cell phone ringing features), and a USB On-The-Go (OTG) transceiver. A touch screen interface 1260 is coupled to a touch screen XY 1266 off-chip.
Batteries such as a lithium-ion battery 1280 and backup battery provide power to the system and battery data to circuit 1250 on suitably provided separate lines from the battery pack. When needed, the battery 1280 also receives charging current from a Charge Controller in analog circuit 1250 which includes MADC (Monitoring ADC and analog input multiplexer such as for on-chip charging voltage and current, and battery voltage lines, and off-chip battery voltage, current, temperature) under control of the power control state machine. Battery monitoring is provided by either or both of 1-Wire and/or an interface called HDQ.
In
Further in
The RISC processor 1420 and the DSP 1424 in section 1420 have access via an on-chip extended memory interface (EMIF/CF) to off-chip memory resources 1435 including as appropriate, mobile DDR (double data rate) DRAM, and flash memory of any of NAND Flash, NOR Flash, and Compact Flash. On chip 1400, the shared memory controller 1426 in circuitry 1420 interfaces the RISC processor 1420 and the DSP 1424 via an on-chip bus to on-chip memory 1440 with RAM and ROM. A 2D graphic accelerator is coupled to frame buffer internal SRAM (static random access memory) in block 1440. A security block 1450 in security logic 1038 of
Security logic 1038 of
On-chip peripherals and additional interfaces 1410 include UART data interface and MCSI (Multi-Channel Serial Interface) voice wireless interface for an off-chip IEEE 802.15 (Bluetooth and low and high rate piconet and personal network communications) wireless circuit 1430. Debug messaging and serial interfacing are also available through the UART. A JTAG emulation interface couples to an off-chip emulator Debugger for test and debug. Further in peripherals 1410 are an 12C interface to analog baseband ABB chip 1200, and an interface to applications interface 1180 of integrated circuit chip 1100 having digital baseband DBB.
Interface 1410 includes a MCSI voice interface, a UART interface for controls, and a multi-channel buffered serial port (McBSP) for data. Timers, interrupt controller, and RTC (real time clock) circuitry are provided in chip 1400. Further in peripherals 1410 are a MicroWire (u-wire 4 channel serial port) and multi-channel buffered serial port (McBSP) to Audio codec, a touch-screen controller, and audio amplifier 1480 to stereo speakers.
External audio content and touch screen (in/out) and LCD (liquid crystal display), organic semiconductor display, and DLPTm digital light processor display from Texas Instruments Incorporated, are suitably provided in various embodiments and coupled to interface 1410. In vehicular use, the display is suitably any of these types provided in the vehicle, and sound is provided through loudspeakers, headphones or other audio transducers provided in the vehicle. In some vehicles a transparent organic semiconductor display 2095 of
Interface 1410 additionally has an on-chip USB OTG interface couples to off-chip Host and Client devices. These USB communications are suitably directed outside handset 1010 such as to PC 1070 (personal computer) and/or from PC 1070 to update the handset 1010.
An on-chip UART/IrDA (infrared data) interface in interfaces 1410 couples to off-chip GPS (global positioning system block cooperating with or instead of GPS 1190) and Fast IrDA infrared wireless communications device. An interface provides EMT9 and Camera interfacing to one or more off-chip still cameras or video cameras 1490, and/or to a CMOS sensor of radiant energy. Such cameras and other apparatus all have additional processing performed with greater speed and efficiency in the cameras and apparatus and in mobile devices coupled to them with improvements as described herein. Further in
Further, on-chip interfaces 1410 are respectively provided for off-chip keypad and GPIO (general purpose input/output). On-chip LPG (LED Pulse Generator) and PWT (Pulse-Width Tone) interfaces are respectively provided for off-chip LED and buzzer peripherals. On-chip MMC/SD multimedia and flash interfaces are provided for off-chip MMC Flash card, SD flash card and SDIO peripherals.
In
Still other additional wireless interfaces such as for wideband wireless such as IEEE 802.16 WiMAX mesh networking and other standards are suitably provided and coupled to the applications processor integrated circuit 1400 and other processors in the system. WiMax has MAC and PHY processes and the illustration of blocks 1510 and 1520 for WLAN indicates the relative positions of the MAC and PHY blocks for WiMax. See also description of
In
A GLOSSARY provides a list of some of the abbreviations used in this document.
In
Data exchange between the peripheral subsystem and the memory subsystem and general system transactions from memory to memory are handled by the System SDMA. Data exchanges within a DSP subsystem 3510.2 are handled by the DSP DMA 3518.2. Data exchange to refresh a display is handled in display subsystem 3510.4 using a DISP DMA 3518.4 (numeral omitted). This subsystem 3510.4, for instance, includes a dual output three layer display processor for 1xGraphics and 2xVideo, temporal dithering (turning pixels on and off to produce grays or intermediate colors) and SDTV to QCIF video format and translation between other video format pairs. The Display block 3510.4 feeds an LCD panel using either a serial or parallel interface. Also television output TV and Amp provide CVBS or S-Video output and other television output types. Data exchange to store camera capture is handled using a Camera DMA 3518.3 in camera subsystem CAM 3510.3. The CAM subsystem 3510.3 suitably handles one or two camera inputs of either serial or parallel data transfer types, and provides image capture hardware image pipeline and preview.
A hardware security architecture including SSM 2460 propagates qualifiers on the interconnect 3521 and 3534 as shown in
Firewall protection by firewalls 3522.i is provided for various system blocks 3520.i, such as GPMC to Flash memory 3520.1, ROM 3520.2, on-chip RAM 3520.3, Video Codec 3520.4, WCDMA/HSDPA 3520.6, MAD2D 3520.7 to Modem chip 1100, and a DSP 3528.8. Various initiators in the system are given 4-bit identifying codes designated ConnID. Some Initiators and their buses in one example are Processor Core MPU 2610 [RD, WR, INSTR Buses], digital signal processor direct memory access DSP DMA 3510 [RD, WR], system direct memory access SDMA 3510.1 [RD, WR], Universal Serial Bus USB HS, virtual processor PROC_VIRTUAL [RD, WR, INSTR], virtual system direct memory access SDMA_VIRTUAL [RD, WR], display 3510.4 such as LCD, memory management for digital signal processor DSP MMU, camera CAMERA 3510.3 [CAMERA, MMU], and a secure debug access port DAP.
The DMA channels support interconnect qualifiers collectively designated MreqInfo, such as MreqSecure, MreqPrivilege, MreqSystem in order to regulate access to different protected memory spaces. The system configures and generates these different access qualifiers in a security robust way and delivers them to hardware firewalls 3512.1, 3512.2, etc. and 3522.1, 3522.2, etc. associated with some or all of the targets. The improved hardware firewalls protect the targets according to different access rights of initiators. Some background on hardware firewalls is provided in incorporated patent application TI-38804, “Method And System For A Multi-Sharing Security Firewall,” Ser. No. 11/272,532 filed Nov. 10, 2005, which is hereby incorporated herein by reference.
The DMA channels 3515.1, .2, etc. are configurable through the L4 Interconnect 3534 by the MPU 2610. A circuitry example provides a Firewall configuration on a DMA L4 Interconnect interface that restricts different DMA channels according to the configuration previously written to configuration register fields. This Firewall configuration implements hardware security architecture rules in place to allow and restrict usage of the DMA channel qualifiers used in attempted accesses to various targets.
When an attempt to configure access for DMA channels in a disallowed way is detected, in-band errors are sent back to the initiator that made the accesses and out-band errors are generated to the Control Module 2765 and converted into an MPU Interrupt. Some background on security attack detection and neutralization is described in the incorporated patent application TI-37338, “System and Method of Identifying and Preventing Security Violations Within a Computing System,” Ser. No. 10/961,344 filed Oct. 8, 2004, which is hereby incorporated herein by reference.
In
A signal ConnID is issued onto the various buses by each initiator in the system 3500. The signal ConnID is coded with the 4-bit identifying code pertaining to the initiator originating that ConnID signal. System Memory Interface 3555 in some embodiments also has an adjustment made to ConnID initiator code so that if incoming ConnID=MPU AND MreqSystem=‘1’, then ConnID=MPU_Virtual. If incoming ConnID=SDMA AND MreqSystem=‘1’, then ConnID=SDMA_Virtual. In this way the special signal MreqSystem identifies a virtual world for these initiators to protect their real time operation. For background on these initiators and identifiers, see for instance incorporated patent application TI-61985, “Virtual Cores And Hardware-Supported Hypervisor Integrated Circuits, Systems, Methods and Processes of Manufacture,” Ser. No. 11/671,752, filed Feb. 6, 2007, which is hereby incorporated herein by reference.
The System Memory Interface SMS with SMS Firewall 3555 is coupled to SRAM Refresh Controller SDRC 3552.1 and to system SRAM 3550. A new ConnID is suitably generated each time the processor core MPU 2610 or system SDMA 3530.1, 3535.1 perform an access in the case when the MreqSystem qualifier is one (1).
In
In
In
The SAD2D smart standby protocol allows the PRCM to initiate an idle transition on the D2D clock domain. The assertion of a SAD2D standby signal SAD2D_MStandby initiates an idle request on the D2D clock domain. Thus, an idle request signal SAD2D_IDLEREQ is asserted on the SAD2D slave interface and an idle request signal MODEM_IDLEREQ is asserted on a D2D slave interface. The PRCM gates the SAD2D OCP interface clock upon assertion of an SAD2D idle acknowledge signal SAD2D_IDLEACK.
As long as the modem is in a functional state wherein the modem functional clock is still requested, the modem can initiate OCP accesses on the D2D interface by de-asserting a standby signal MODEM_MSTDBY. This results in the assertion of a SAD2D wakeup signal SAD2D_SWAKEUP. The SAD2D OCP interface clock is restarted by the PRCM upon assertion of the SAD2D wakeup.
The modem enters the deep sleep state by acknowledging the D2D idle request by asserting the signal MODEM_IDLEACK. The PRCM will gate the modem functional clock upon assertion of the D2D Idle Acknowledge. The modem exits this deep sleep state by asserting a D2D wakeup signal MODEM_SWAKEUP. The SAD2D OCP interface clock and modem functional clock are each restarted by the PRCM upon assertion of the D2D wakeup.
In
In addition to the VDD1 and VDD2 voltages controls, the PRM handles VDD3, VDD4, VDD5 and other voltages control. The PRM has operations to reduce SRAM LDOs voltage when all memories are in retention, reduce Wake-up LDO voltage when the device enters in OFF mode (Wake-up domain leakage reduction), increase Wake-up LDO voltage when emulation is active to support high performance tracing, active isolation of levels shifters during VDD1 and VDD2 removal, and active sleep mode in all analog cells when the device enters in OFF mode.
Two embedded SRAM LDOs supply regulated voltage (VDD4 or VDD5) to memory banks such as SRAM. These LDOs have three reference voltages—a normal voltage reference, used for processors OPP2, OPP3 and OPP4; a VDD1 overdrive voltage reference, when processors are operating at OPP 1. The SRAM LDO tracks and follows VDD1 voltage as soon as it exceeds OPP2 nominal voltage. A retention voltage is set for a reduced voltage whenever all memory banks belonging to the LDO are in Back-Bias retention mode. This allows dropping down the memory arrays in voltage to optimize leakage power savings. When not used (all memories OFF), the LDO is shut down (ON-OFF) control. These modes are automatically managed by hardware (PRM). The SRAM LDO has a Mux for reference voltages that are fed to a control circuit to deliver the memory array power supply VDD4 or VDD5.
An embedded wake-up LDO supplies voltage for both Wake-Up domain and Emulation domain. This LDO is permanently active, and continuously feeds the Wake-Up domain. It embeds a switch, controlled by the PRM which controls power of the Emulation domain. This switch is closed upon software request command when a debug session starts, or automatically upon JTAG plug detection. This LDO has three reference voltages—a normal voltage reference used in device active mode, a VDD1 overdrive voltage reference used when emulation is activated and MPU emulation trace is required, and a third voltage set when the device is in low power mode (OFF mode), in order to optimize leakage power savings. All these modes are automatically managed by hardware. The Wakeup LDO has a Mux for reference voltages. The Mux feeds a control circuit that delivers Wakeup and EMU power supply.
In
A pair of sensors SR1 and SR2 are respectively supplied with voltages VDD1 and VDD2. Sensors SR1 and SR2 provide respective sensor outputs to PRCM 1470.
Voltage VDDS from
In most of the cases, a power domain is supplied by a single power supply as in
In
Voltage control in applications processor chip 1400 is mainly handled by the PRM, according to 2 control types: 1) Memories LDOs (VDD4, VDD5) and Wake-up LDO (VDD3) direct control, and 2) Power IC control through PRM I2C interface (VDD1, VDD2). Additional device I2C interface, independent from PRM, allows Power IC programming MMC, VDDS and VDDADAC voltage control.
In
A power-efficient DVFS/DPS result is achieved with minimum voltage, hence low power. Combined DVFS and DPS are established in power management structure and process.
Processor engines for battery powered devices such as PDA or smart cell phone have increased requirements in term of feature complexity and performance. To address these requirements advanced power management processes are provided herein, such as Dynamic Voltage and Frequency Scaling (DVFS), Dynamic Power Switching (DPS) and Adaptive Voltage Scaling (AVS) as described herein. All these processes have their respective advantages and are often more efficient for a given source of power consumption (active/standby).
These processes also have specific practical constraints. For example, hardware complexity and process complexity are increased when more voltage and frequency levels are provided in DVFS, because the resulting number of OPPs (Operating Performance Point [V,F]) for DVFS increases at least as much or more than the number of permitted voltage levels and number of permitted clock frequencies. In DVFS, supply voltage V is scaled to a lowest adequate voltage sufficient to deliver various operation modes and frequencies currently predicted as needed for processing and system bandwidth at different moments in operation.
The different power management processes may also appear sometimes to have conflicting goals. For example, DVFS tends to minimize the idle time of the system while DPS, by contrast, tends to maximize this idle time. DVFS pairs Voltage and frequency to form OPPs (operating performance points) of different predetermined voltage and frequency. By contrast, with AVS power management the voltage is variable instead of predetermined since the voltage is dynamically set by the hardware for each device.
Some embodiments herein combine all these power management processes in spite of their apparent contradictoriness, conflict and practical constraints. In this way, an even higher relative power saving and power management efficiency is synergistically conferred on all the circuits, domains, areas, and regions of power consumption in a given system.
Some embodiments combine any two or more of DVFS, DPS and AVS power management processes in order to optimize the power saving in all modes of operation and for all sources of power consumption. Power and performance optimization architecture concurrently or simultaneously adapts to variations of wafer fabrication process, variations of temperature, and to changing speed requirements.
Power savings associated with adjusting the supply voltage are combined with both changes in the performance requirements and changes in environmental variables, such as temperature and wafer fabrication process. For each operating point, reduced active power and reduced leakage power are sought. Dynamic voltage frequency scaling (DVFS), Dynamic Power Switching (DPS), and adaptive voltage scaling (AVS, SmartReflex™ power management from Texas Instruments Incorporated) are combined in some embodiments to minimize the power consumption of a device in plural, many, most, or all operating modes. Some embodiments, utilizing all three of DVFS, DPS, and AVS achieve greater power reduction than any one of DVFS, DPS, and AVS alone.
Some embodiments involve a power management policy for a system that describes when OPP change is performed (DVFS) and when DPS is started or stopped. Various power management process embodiments provide a more power efficient behavior of the system by combining the processes. See
The system includes a processor and/or any collection of modules that can be characterized by a performance requirement. The performance is defined, for instance, as a percentage (%) of maximum performance or maximum bandwidth and is translated into a target frequency of operation ftarget. The system is characterized for a given number of OPPn (operating performance point), each indexed by a value of an index n. Each OPPn corresponds to a pair (Fn, Vn) representing its frequency Fn and supply voltage Vn.
DFVS dynamically changes the OPP for various power domains in a system. When DPS is started, a given domain is switched dynamically between its Active state and a low power state (OFF, Retention, inactive). In some embodiments of DPS herein, supply voltage V is scaled to a) lowest adequate DVFS voltage in operation and b) a substantially lower leakage-reducing voltage or to zero when deep-sleep. Adaptive voltage scaling (AVS) is used to adjust and set an actual minimum appropriate voltage in the vicinity of a voltage Vn defined by DVFS for a current OPPn.
Substantial power savings result by combining processes and structures that synergistically act in different and even contradictory ways on the power consuming modules. An optimum combination resolves potential conflicts between different processes and structures and is widely applicable to various types of systems.
Hardware support is provided herein for multiple power management strategies for an application processor. Some embodiments of power management strategies synergistically combine any two or more of the following:
Standby Leakage Management (SLM) improves standby time. SLM switches the device into ultra-low power modes when no applications are running. SLM saves more power while increasing the wakeup latency. SLM switches the module clocks statically between On and Off and likewise switches one or more power domains statically between On and Off. SLM lowers the voltage substantially or shuts down applicable external and/or internal voltage regulators.
Adaptive Voltage Scaling (AVS) herein improves active power consumption and performance. For any given frequency of operation AVS adapts the voltage of each device individually according to its temperature and silicon performance determined by conditions of the silicon fabrication process or other semiconductor materials fabrication process. AVS automatically senses on-chip delay. AVS automatically adjusts the external voltage regulator according to the temperature and silicon performance.
Dynamic Voltage and Frequency Scaling (DVFS) also improves active power consumption and performance. DVFS dynamically adapts the voltage and frequency of operation of the device to the required performance of a given application or set of applications. DVFS predicts system load, adjusts the device frequency such as by software, and adjusts the device voltage such as by software and by AVS hardware if AVS is also enabled.
Dynamic Power Switching (DPS) improves active time. Based on to the hardware resources activity, as indicated by FIFO buffer status, for instance, DPS switches the device dynamically from any of several medium power modes (see TABLES 2-4 later hereinbelow) to a lower power mode during application execution or to a low power Standby mode of TABLE 5. DPS predicts system load and switches the module clocks dynamically between On and Off modes. DPS switches one or more power domains dynamically between On and Retention, or between On and Off. DPS provides automatic hardware detection of conditions (e.g. FIFO fill status or IO hardware signals) for sleep and wakeup transition for clock and power. DPS performs hardware management of sleep and wakeup dependency between the power domain, and hardware handshaking with modules.
Active power consumption refers to the power consumption of the system during the active time, namely when some processing is on-going. The active power consumption is composed of dynamic power consumption (transistor switching) and leakage power consumption.
Standby power consumption refers to the power consumption of the system during standby time, namely when no processing (or very limited processing) is ongoing and the system is waiting for a wakeup event. The standby current consumption is composed mostly of leakage consumption and very limited amount of dynamic power consumption.
Dynamic Voltage and Frequency Scaling (DVFS) power management reduces active power consumption by reducing both dynamic and leakage power consumption. With DVFS combined with AVS, the system dynamically adapts its supply voltage Vn and operating frequency Fn to achieve the performance required by the operations in process. Applying DVFS, a processor or a system runs at the lowest OPPn representing a (frequency, voltage) pair operating point that is adequate to deliver the desired performance at a given time, and then AVS herein adjusts the voltage in the vicinity of OPPn voltage Vn for the particular environment.
In some embodiments, DVFS is applied to the Processor domain while the device Core domain that represents a large part of the logic is held at a lower and fixed voltage most of the time. In this way, power is conserved because a large part of the device always works at lower than nominal voltage. Also, the DVFS hardware and software are simplified because the Core domain interconnect, memory interfaces and peripherals are working at fixed voltage and frequency.
In some other embodiments allowing for lower interconnect bandwidth herein, DVFS is independently applied to the device Core domain. As used here the Core domain involves the interconnect and interfaces exclusive of the processor cores. In this case, the DVFS voltage in the Core domain is reduced to the minimum value that still allows the peripherals to be kept working at their nominal functional clock while their interface frequency is reduced. Further power savings are achieved and some DVFS software overhead is acceptable to accomplish the power savings.
In
In some embodiments of power management herein, an application processor system on a chip (SOC) features multiple on-chip voltage domains. The Core domain may cover an extensive portion of the SOC and works at a fixed voltage—as low as interconnect performance permits—while DVFS is applied to the processors. DVFS power management of the processors can produce more power savings than power management of interconnect in some of the power management operating scenarios.
In application scenarios allowing even lower interconnect bandwidth, the application processor and system are further arranged and coupled to apply DVFS to the Core domain and peripheral blocks. In this case, the Core domain voltage can be reduced by independent DVFS applied to the Core domain to the minimum value that allows the peripherals to keep working at their nominal functional frequency and with reduced interface clock between peripherals and the Core domain.
Splitting the voltage paths and their controls to memory and to logic associated with memory allows using the full operating voltage range of the logic gates. In some integrated circuit fabrication process technologies, the operating voltage range of the logic gates is likely to be larger than the memory operating range. By splitting the voltage paths, voltage for memory cells need not be a limiting factor when scaling the supply voltage for logic gates associated with the memory cells.
Three (3) programmable DPLLs are provided in an example and allow fully independent DVFS/AVS scaling of microprocessor MPU frequency and IVA (imaging, video and audio) processor frequency and Core domain interconnect frequency. A selection of clock dividers on the DPLL output provide a wide range of clock rate division ratios and support dynamic frequency scaling without incurring DPLL re-lock time.
One or more asynchronous interfaces ASYNC (
Another one or more DPLLs supply Core domain modules and peripheral (PER) blocks P1 and P2 with their appropriate functional clock(s). This makes it unnecessary to reconfigure Core domain and peripheral blocks each time the processing frequency of MPU and/or IVA is scaled. Software overhead is valuably reduced.
The AVS module automatically hardware-adapts the respective supply voltage of each of the voltage domains in accordance with their clock frequencies. The AVS module works under software configuration for pre-selected operating frequencies.
A hardware interface to an external power IC of
Power managed split-rail SRAM has split logic/array voltage with built in level shifters and power switch transistor or power switch circuit. Periphery logic and memory array each have a built-in power switch. The split-rail approach establishes a built-in isolation between logic and array, and provides a built-in diode for source biased retention state.
Retention power management of
Voltage domain partitioning is sufficiently numerous or granular to power manage areas of the chip that have different usage patterns. Flexible control of clock frequency is provided for MPU, imaging, video and audio processor (IVA), and memory system with interconnect and DDR (double data rate) memory interface. Those domains for MPU, IVA and Core domain are clocked with independent DPLLs. Thus DPLL frequencies are not and need not be correlated. A selection of DPLL post dividers allows scaling the frequency while avoiding DPLL relock. Peripherals are structured so that functional clocks can be kept at constant frequency at all operating points while interface clocks are scaled.
The MPU and imaging, video and audio processor (IVA) voltage domains are controlled by two independent AVS circuits having an AVS ring oscillator in each sensor module SR and further having voltage processors VP. These continuously monitor temperature for adaptation. One wakeup voltage domain and two memory array voltage domains are also provided.
Scalable voltage domains are provided for CMOS digital logic. Split rail memory array for processor caches and core memories and analog cells (DPLL, VDAC, etc.) have built-in LDO (low drop out) regulators. Each LDO regulator is supplied with power supply voltage sufficiently higher than any voltage to be delivered from the LDO so that the LDO is able to effectively regulate the supply voltage that the LDO in turn delivers to power consuming circuitry. Appropriate power supply partitioning and control are established. Hardware control of a dedicated 12C interface provides continuous and autonomous closed loop control of the processor and core voltage domains. On-chip LDO regulators supply memory array, wakeup domain and analog cells such as DPLL, DLL, and so on.
Multiple Operating Performance Points (OPPs) are provided. In one example, four OPPs for an MPU domain and another pair of four OPPs are tailored to an imaging, video and audio processor (IVA) domain. In one embodiment of
Each OPP voltage value is dynamically and optimally selected using DVFS and is respectively scaled by AVS adaptive voltage scaling herein in response to the respective sensors SR1, SR2 in steps of approximately 1% of the voltage delivered. The steps are suitably made a constant incremental voltage value on the order of 0.1% to 5% of the actual voltage delivered at any given OPP.
The operating voltages and operating voltage ranges are established based on the characteristics of the wafer fab process node (e.g., semiconductor materials, transistor dimensions) from which the integrated circuit is prepared. For example, the voltages and voltage ranges would likely be different for 90, 65, 45, 32, 22, etc. nanometer process nodes. The retention voltage(s) used is generally lower than any OPP voltage. The retention voltage(s) is suitably one (or two or more) voltages respectively suited to different storage element types (flip-flop, SRAM cell, etc.) based on the minimum voltage that is needed for data to be reliably retained therein.
Power states relate to a given power module in the device, see TABLE 1. For a processor core, additional power states can have cache L2$ in retention with cache L1$ off, or have cache L1$ on and cache L2$ in retention.
By contrast to power states, power modes relate to the whole device. In some embodiments, power states are pre-defined by hardware and power modes are defined by software. Power modes are any relevant combination of domain power states to accomplish the operations represented by the software or specified by a state machine, for instance, in hardware. Power modes are characterized by total device (chip) power consumption, wakeup latency and level of functionality supported.
Types of power modes are Active power modes and the Standby power modes. An Active power mode is defined by any valid combination of domain power states in which one or more power domains are still in a fully powered and function (active) power state whether some software is still running or not. See, e.g., TABLES 2-4 later hereinbelow. A Standby power mode is defined by any valid combination of domain power states in which all the domains are either in inactive, retention or off power state, see, e.g., TABLE 5 hereinbelow.
Power domains are groups of modules on-chip that are independently supplied with power through embedded power switches. A power domain can be a subset of a voltage domain, or a power domain can be functionally split over two or more voltage domains.
By turning a power domain switch off and on, power is removed and restored to a power domain without impact to the regulator supplying the voltage domain(s). Large power saving with relatively short wakeup latency beneficially results, since switching transitions are faster than regulator voltage ramps.
Power domains are physically defined by the power rail that actually supplies the circuitry in a module. Power domains are functionally defined by the signal(s) that actually controls the switch. A single functional power domain can be composed of two physical power domains with their switch control inputs tied or connected together. A physical power domain is a subset of a voltage domain while a functional power domain can be split over two or more voltage domains.
In
0.7 V. Power managed operation is facilitated in this example at normalized power of one-eighth unit (0.125) by also reducing the frequency to F/4, one-fourth frequency F, and then running the process four times as long which spreads out the process as a wide process bar 4720.
The latter two parameters—cutting frequency and running the process longer—cancel out in an energy consumption calculation, leaving the net benefit of voltage-squared equal to one-half energy consumption. Power units are watts (W), execution time is in seconds (s) or clocks, and energy dissipation is in watt-seconds or joules (J).
The deployment of DVFS in some embodiments has appropriate software support performance prediction software to predict dynamically the performance requirement of the application(s) running on the processor. In some embodiments, the performance prediction software also predicts interconnect bandwidth requirements. Software flexibly accommodates any one or combination of performance prediction processes and system power management processes described herein or known to the power management art now or in the future.
Adaptive voltage scaling (AVS) provides a power management process that reduces active power consumption, including both dynamic and leakage power consumption. Using AVS, the power supply voltage is adapted to the silicon performance either from a static sense (e.g. adapted to the manufacturing process of a given device), or a dynamic sense (e.g. adapted to the temperature induced current performance of the device).
Description temporarily turns now to
These environmental factors are expressed as a vector (Process, Voltage, Temperature) on which the maximum operating frequency of the chip depends, as indicated by the graph of
For each voltage domain, there are pre-defined OPPs of
In
Digital circuitry processes the difference and derives an error amount that indicates whether to raise or lower the voltage. The error is related to the actual voltage step that needs to be applied. In some embodiments, the error is output on the digital circuit interface to a voltage processor VP1 or VP2 as in
In some other embodiments, the errors generate an interrupt to the MPU that processes the interrupt and adapts the external switch mode power supply (SMPS) voltage accordingly.
Power managed DPLLs have the following main features. The DPLL has a built-in LDO coupled to a common supply so the DPLL is not impacted by voltage variations on VDD1 and VDD2. The DPLL has a built-in switch to power down completely the internal logic, and support a very low power mode where the LDO is powered down and switches are open. The DPLL supports idle modes such as Low power or fast relock bypass, Low power or fast relock stop mode. Bypass mode routes input clock directly to clocked circuitry and bypasses a DPLL. In addition, the DPLL supports a mode where it stays locked but the output clock is gated. A clock divider circuit in some cases (e.g. peripheral) is coupled to the DPLL to generate a clock-divided version of the DPLL clock output. Such a divider is fed by the same LDO as the associated DPLL so that any voltage scaling affects the divider and DPLL substantially equally.
DVFS has a frequency scaling step wherein clock frequency is changed by software re-configuring a control register to cause PRCM to reach the frequency corresponding to the selected OPP. The configuration sets new values for clock divider or sets new M, N multiply, divide values for the DPLL, with due regard to the consideration that DPLL latency (re-lock time) can be longer than divider latency. DVFS voltage scaling software or hardware configures a new count value in the AVS sensor module SR1 and/or SR2 corresponding to the selected OPPn.
In
The meaning of the phrase process corner depends on the context in which the phrase is used. The phrase process corner can be rather specifically used to refer to a corner of a table of many wafer fab process options in the wafer fab library. The table for example can have rows of hotness of N-channel transistors versus columns of hotness of P-channel transistors. The phrase can also be used more generally to refer to the speed of circuitry at a given power supply voltage, and the latter more general meaning is indicated by the context of some statements herein. See also U.S. Patent Application Publication 20050057230 (TI-36220) filed Aug. 9, 2004 which is hereby incorporated herein by reference.
In
At a given clock frequency, the hot device from the strong process can be operated at a lower voltage than the cold device from the weak process. Assuming the capacitance of the device from either process is about the same, this means that at any given clock frequency, the hot device from the strong process can be operated at a lower power (proportional to the square of the normalized voltage) compared to the power consumed by the cold device from the weak process. Since the power is proportional to the square of the normalized voltage and the other power parameters in the power formula CV2F are the same, the hot device runs remarkably thermally cool (and cool in the sense of performance desirability, battery life, and product prestige and cachet) relative to the higher and less desirable power dissipation of the cold (thermally hotter) device.
Notice that increasing the physical temperature of a device degrades its physical characteristics and makes the device colder in the sense of
In some embodiments, the parameters of a device corresponding to that of
Plural hardware power management modules in some system embodiments perform continuous hardware calibration and automatically adjust the power supply voltage across a hardware interface for respectively controlling plural voltage domains in a processor and/or system. See
In
In
In
In situation when (real-time) applications are started but pending occurrence of an event or depending on the type of event, the system is enabled to switch into a low power system mode if the wakeup latencies conditions allow such switching to low power.
Transitions between system power modes can involve processor context save 4855.1 operations and processor context restore 4856.1 operations that cost some limited additional dynamic power consumption. This additional dynamic power consumption is suitably taken into account in adapting the DPS rate herein. Then process portion 4850.2 continues or repeats the process 4850. 1, or commences a new process, whereupon completion occurs and a context save 4855.2 is followed by low power Standby mode 4860.2, etc.
This DPS process of
In
The per-unit net reduction in area-under-the-curve is called the DPS margin herein. The DPS margin depends on the system wakeup latency, the system break-even time, the context save time, the context restore time, and other factors.
Partitioning the chip into numerous power domains provides substantial flexibility to enable DPS for complex application scenarios in audio processing, video processing, screen refresh, and other applications and structures. All domain states (On, Retention, Off) combinations are allowed for flexible DPS modes definition. Independent control of the logic and memory state (On, Retention, Off) is provided for selected power domains such as processor cache retention but logic off. Adequate clock and reset tree circuitry are provided to avoid inter-dependence among power domains except where desirable for interlocking.
Logic and memory retention reduces save latency and restore latency. Adequate FIFO size in key modules, such as audio buffer, display FIFO, and buffers in other DPS controlled modules, facilitates DPS for audio playback and screen refresh as in
Some embodiments improve DVFS by partitioning the processors and the memory system into separate voltage domains. Scaling the frequency of the memory system can be judiciously employed to maintain an acceptable software overhead. Improved DVFS as described herein is applied dynamically to the processor MPU and IVA and with independently established DVFS power management to remaining portions of the integrated circuit device.
In
In
In
Applying Standby Leakage Management (SLM) puts the system into the lowest static power mode and maintains that lowest mode, compatible with desired system response time. The integrated circuit operation in Standby Leakage Management SLM enters an ultra-low power mode called Off mode having very low total chip current and wherein the Wakeup domain on the chip can still be activated. The wakeup clock (e.g., 32 kHz) remains on and a wakeup power voltage remains applied to the Wakeup domain. A system and security timer and watchdog timer are functional and can wakeup the device. Also, a level transition can be detected, logged from any pad and thereby wakeup the device. Also, a small backup memory is retained in the Off mode. Thus, the SLM circuit still wakes up autonomously from Off mode in response to a timer interrupt or detection of any pad transition. SLM trades off static power consumption and wakeup latency (time interval consumed by a wakeup process).
Some application processor features to enable SLM are the same as or analogous to those provided to enable DPS. Domain state transitions are controlled in sequence according to their sleep and wakeup dependencies. Intelligent idle and standby power management is provided in any one, some or all modules. A main voltage domain (processor/core) can be fully turned Off in a lowest power mode, while full hardware control is maintained by the power management interface controller block PRCM. Software configurability of the IO state in lowest power mode reduces IO leakage. Flexible wakeup capability is provided from any pad in lowest power modes, see
In
DPS is used such as in an applicative context when each task is started. Therefore, the mode transitions are related to system performance requirements or processor load. DPS transition latency is generally small compared to applications time constraints or deadlines so that DPS does not degrade application performance. For DPS, transitions latencies can be in a range of ten (10) microseconds to one hundred (100) microseconds, for instance, and latencies outside this illustrative range are also usable. DPS is supported by performance prediction software.
The performance prediction software monitors and controls transition latencies for DPS. The transition latency, in the case of real time application, is desirably kept short enough so that the transition latency does not deteriorate the device performance to a point where a deadline is missed. Analogously, in the case of an interactive application, the transition latency is kept short enough so that the transition latency does not noticeably degrade the user experience of interacting with the application.
SLM is not used in a running applicative context, and instead SLM operates with no task started in the applicable power domain or voltage domain. The mode transitions are more related to system responsiveness. The transitions latency on wakeup is made small compared to user perception so that the latency is compatible with a satisfying user experience. For SLM, transitions latencies for many systems are likely to lie in a range of one millisecond (1 ms) to ten milliseconds (10 ms) depending of available device mode, and SLM is feasible for longer or shorter latencies as well.
DPS and SLM also can differ by the type of wakeup event that triggers wakeup transitions. For DPS, wakeup events are application related (timer, DMA request, FIFO fill signal, peripheral interrupt, key pressed). In case of SLM, wakeup events are more user related, such as from touch screen, key-press, peripheral connections, etc.
Four wakeup processes are adapted to different modes of operation of the device. In active modes where either processor MPU and/or imaging, video and audio processor (IVA) is in Retention or OFF state but core is still active (clock running), an interrupt event can still wakeup the processor MPU and/or imaging, video and audio processor (IVA). In active modes where either processor (MPU or DSP) is in Retention or OFF state and core is inactive (clock stopped), a module wakeup event can still wakeup the processors and clocks. In active modes where processors (MPU and DSP) are OFF or in Retention and core is in Retention (Peripherals or Display can still be active), events mapped on GPIO in Peripheral domain or Wakeup domain can still wake up the other modules in the integrated circuit device. In standby modes and OFF mode (power domain are either OFF or RET), an IO can still wake up the device.
In regard to
When adaptive voltage scaling (AVS) is used on a device, it is in some cases easier to set the frequency steps and let the AVS adapt or adjust the voltage according to the device silicon performance. In such case, each frequency step corresponds to a range of voltage, rather than a voltage step, depending on whether the device is a hot device or a cold device. The operating points OPP are then each defined as a pair ([Vs−Vw], F). Vw signifies the magnitude or width of the AVS control over voltage reduction compared to supply voltage Vs (e.g. an OPP nominal voltage) and in response to a sensor module SR1 or SR2. In such pair, the voltage difference [Vs−Vw] is the range of voltage over which the AVS process can have the device operate at a given frequency F. With AVS, the frequency steps are identified and AVS adapts the voltage according to the device silicon performance. In this case, for each frequency step, instead of a DVFS voltage step there is a corresponding range of voltages due to combined operation of DVFS and AVS. This range of voltages depends on the device fabrication process and its real-time operating state (temperature) at a given frequency.
DPS is a power-management technique, like DVFS, aimed at reducing active power consumption by the device. Whereas DVFS reduces both dynamic and leakage power consumption, DPS reduces leakage power consumption at the cost of a slight overhead in
For efficient deployment of DPS techniques, dynamic prediction is provided pertaining to the performance requirement of the application(s) running on the processor. The DPS controller accounts for the overhead of wake-up latencies related to domain switching and ensure that they do not significantly impact the performance of the device. Even with transition overhead, a threshold idle-time limit beyond which the DPS is useful for dynamic power saving is identifiable by hardware or software, as in
With AVS, the frequency steps are identified and AVS adapts the voltage according to the device silicon performance as described in connection
Power saving is enhanced herein by combining DVFS, DPS, SLM and AVS techniques. For a given operating state, one or more of the power saving techniques can be applied to ensure optimal operation with maximum power saving. AVS is used at boot time to adapt the voltage to device process characteristics (strong/weak) and then continuously to compensate temperature variations. AVS also helps deliver high application performance of the device at a given OPP.
In
When combining DVFS and DPS, the operating frequency is not scaled to exactly match the minimum performance requirement ftarget . Unless DPS cannot be applied for other reasons, then for a given operating point OPP of DVFS the operating frequency is set to the OPP frequency Fn that is the maximum frequency allowed at a given voltage Vn for that OPP. This facilitates optimal process completion time and application of DPS.
If DPS cannot be applied in a given context, scaling the frequency while keeping the voltage constant does not save energy but does reduce peak power consumption. This example of an Other Power Management (OPM) technique can have a positive effect on temperature dissipation and on battery life. In other situations where no applications are running and the performance requirement becomes negligible or drops to zero, SLM is suitably used.
In
As application performance requirements are decreased, the voltage and frequency are scaled to correspond or match to the closest OPP that meets or satisfies the performance requirement. In situations where the application performance requirement is situated between two OPPs or in situations that require very low application performance below the lowest performance OPP, then DPS is suitably applied. Notice, as shown by a long vertical arrow in
In
Further in
In
For low performance applications, a low voltage V1 is established and the frequency is established at frequency F1, represented by operating performance point OPP1 in
As more applications and/or applications performance are required, beyond the maximum performance available at OPP1, then DVFS power management makes a discrete transition of operating voltage from voltage V1 to voltage V2 and increases the frequency from F1 to F2.
Further in
The process operates in reverse as fewer applications and/or less applications performance are required. When performance needed can be managed at a lower OPP, then power management process DVFS makes a discrete transition of operating voltage downward by one voltage step to reach the next lower operating point OPPn−1.
In FIGS. 13 and 14A-14D, the integrated circuit voltage domain and power domain partitioning enables very efficient DPS for audio play back and screen refresh, which are subject to leakage power dissipation. During screen refresh or audio playback, the rest of the integrated circuit remains most of the time in an Off or Retention low leakage mode wherein only the display domain is On or audio playback circuit is on. The screen or audio circuit is refreshed from its respective internal FIFO which is sized sufficiently large (e.g. in range 1 Kbytes to 10 Kbytes or larger) to feed the screen or audio circuit independently of the rest of the integrated circuit and thus permit most of the integrated circuit to be in low leakage mode. When that internal FIFO needs to be refilled, a FIFO-fill signal is generated from the internal FIFO and is fed to and automatically wakes up the core domain.
This wakeup process is also herein called a Smart Standby mode, in which the Core domain wakes up automatically and the display can access the frame buffer in external DDR SDRAM memory. The processor MPU does not need to wake up on every FIFO-fill signal since DDR controller is built with retention D-flipflops and its configuration is automatically restored. Once the internal FIFO is refilled, the FIFO generates a FIFO-full signal. In response to the FIFO-full signal, the core domain turns off automatically and returns to low leakage mode. When the DDR memory is depleted of decoded audio or video, then a wake-up signal is sent to the MPU domain to wake up the MPU to restore the audio decode context, perform additional audio decode at a high rate and re-fill the DDR memory and re-fill the internal FIFO, whereupon the MPU does a DPS context save and returns to low leakage mode.
A Smart Idle mode provides automatic and clean management of the DDR memory when shutting down the L3 interconnect or Core domain clock or scaling the L3 clock frequency. In particular, an associated memory refresh controller SDRC of FIGS. 3 and 14A-14D drains the pending access and puts the DDR memory in self-refresh before gating the L3 clock or scaling the frequency.
The deployment of DPS is supported by suitable performance prediction software and/or hardware. The software predicts dynamically the performance requirement of the application(s) running on the processor. For DPS, the software accounts for the wakeup latencies overhead due to domain switching so that DPS is operative when such latencies do not significantly impact the performance of the device. PRCM is configured by the software, and PRCM maintains control of DVFS/AVS/DPS/SLM power management when a processor that runs of the software is shut down by the power management process itself.
Some embodiments have plural processors (MPU, IVA, etc.) that share the same voltage for hardware simplicity as in
In FIGS. 13 and 14A-14D, DPS operations are shown for an audio/video player application.
In state 5320 of
In state 5330 and
In state 5340 of
Further in
Partitioning of the integrated circuitry in
TABLE 2 depicts some general purpose active power modes.
TABLE 3 depicts various slow mode examples of an Audio/video active mode.
While running audio and video use cases, some embodiments perform DPS state transitions between appropriate numbered audio/video AV# active modes in order to optimize the power consumption. As can be seen in the above table the MCU and IVA domain are either in ACTIVE or OFF state. In OFF state, the processor caches are lost incurring a slower resume to full operation in active state. These modes are thus referred to as slow modes, and they also provide more power saving.
The TABLE 4 modes are analogous to TABLE 3 except that the MCU and IVA domain are now in RETENTION state instead of OFF state. Cache retention allows for faster resumption of operation at the expense of memory leakage power dissipation.
Various domains on the integrated circuit are suitably provided with power states. For example, in the MPU subsystem the memory is divided into power management entities pertaining to the L1 caches (Instruction & data) and L2 cache. The L2 cache power state is independently controlled while the L1 cache power state control is tied to the logic state. The transitions between these power states are handled by the PRM and Clock Manager CM of
Standby modes are depicted in TABLE 5. In Standby 1 and 2 retention means all logic and memory retention by lowering VDD2 and/or VDD1 to minimum retention voltage. In Standby3 of TABLE 5, the CORE domain has retention of SDRAM Memory Scheduler SMS, SDRAM Memory Controller SDRC, SDMA, and application processor SOC control. Also, Wakeup WKUP, Interrupt Controller INTC and Control Module 2765 and Clock Manager CM configuration registers are retained using retention DFF. Logic state for other power domains is lost. The internal SRAM (public/secure) can also be lost or completely or partially retained depending on software configuration. Standby4 mode leaves only the WKUP domain active, and all other domains are Off.
The Display controller has a Smart Standby mode and a Smart Idle mode. In the display controller Smart Standby mode, the display controller refreshes the external screen from its internal FIFO only and indicates to the Control Module 2765 by asserting the Standby signal that display controller is not accessing the L3 interconnect in
When the Display controller FIFO reaches its low level threshold, the display controller signals to the PRCM it requires access to external memory where the frame buffer is located. The display controller does this by de-asserting the standby signal if the display controller interface clock is still running or by asserting the Wakeup signal if IdleAck is already asserted.
The display controller is prevented from accessing the L3 interconnect to perform the FIFO refill for as long as the Control Module 2765 maintains the Wait signal asserted. Upon de-assertion of the Wait signal by CM, the display controller starts its FIFO refill and returns to standby mode when the FIFO is full again.
In Smart Standby mode, the display controller has its functional clock running. Accordingly, the display controller is still active in case of Core domain power management by DPS as in the case of low power screen refresh. In that case, the Core voltage domain may be in Core domain DVFS OPP2 and the display is made functional in that OPP2.
DVFS is applied to the device Core voltage domain without visible disturbance of the screen display. Moving between Core domain OPP1 and OPP2 is accordingly performed without varying or disturbing the pixel clock. The clock path from the DPLL4 to a clock divider included inside the display controller is functional to support pixel clock rate in both OPP1 and OPP2 of the Core domain and their corresponding voltages.
The display controller Smart Standby mode supports DPS power management of the Core domain. The Control Module 2765 uses this feature to switch the device automatically between low power screen refresh, and screen refresh frame access.
The display FIFO size is coordinated with power management by DVFS and DPS. The display refreshes the screen from its internal FIFO while the Core domain is in retention. The frame buffer may be inaccessible in low power screen refresh mode. Therefore, the FIFO size is made large enough to cover this period while the Core domain is in retention and also during the Retention to ON and ON to Retention transition time. Increasing the length of time the Core domain can stay in retention increases the power saving and the efficiency of DPS.
The display FIFO is coordinated with DVFS strategy. During the frequency scaling step of DVFS, the refresh controller SDRAM Memory Controller SDRC is momentarily not accessible for a time interval having a duration on the order of ten microseconds (10 us). The display FIFO is made large enough to absorb this time interval when the frame buffer is not accessible.
In one variant, three FIFOs of a sufficient capacity for DPS are provided, one for each of three pipelines. In another variant having a single pipeline instead, the three FIFOs are suitably merged into a single FIFO of combined (triple) capacity.
Analogous to the display FIFO, an audio process has a larger audio buffer size (e.g. in McBSP™ multi-channel buffered serial port interface) that increases the efficiency of the DPS strategy for audio low power use case. The longer the integrated circuit 1400 is in mode AV4 (data send out) of TABLE 3 the larger the power saving by DPS. In this mode the audio data are sent out using a McBSP interface to external audio codec.
A formula for estimating the buffer size S is
S=2 W ft Tt
where W is bus width (e.g. 32 bits), ft is transfer rate (e.g. 48 KHz), and Tt is transfer time, and the factor 2 is a Nyquist sampling factor. The buffer is like to be have a size in a range of 1 KByte to 64 Kbytes for audio. Buffer size varies depending on application as for audio, camera, display and other applications.
Camera interface supports Smart Standby mode. When the camera is enabled, a period of time of several microseconds elapses between capture operations on successive frames. During this time period, the Camera interface accesses L3 interconnect.
In Smart Standby mode, the camera interface indicates to the Control Module 2765 that camera does not access the L3 interconnect. Camera asserts the Standby signal during this blanking period. The Clock Manager CM performs system level power management during this time, and can shut down the interconnect clock and assert a Wait signal. At the end of the blanking period the camera interface de-assets the standby signal to indicate that the camera requires access to the L3 interconnect. CM then disables the Wait signal.
The DMA enters the Smart Standby mode and asserts its standby signal when all the DMA channels are disabled or no non-synchronized DMA channel is enabled and no DMA request input is asserted. The Control Module 2765 and Clock Manager CM perform system level power management such that interconnect clock is shut down when no DMA requests exist and then is restarted when DMA is active. The DMA has retention flipflops and DMA memory retention. The DMA Smart Standby mode and retention flipflops facilitate dynamic power switching DPS of the Core domain. The Control Module and Clock Manager CM use this to switch the device automatically between AV3 (data transfer) and AV4 (data send out) power modes in TABLE 3 in low power audio use cases without having to wakeup the processor to re-configure the DMA.
In
IVA power management related software includes a DSP/BIOS Power Management framework that supports DVFS and DPS power management strategy and a prediction software process to predict the CPU load. This prediction software process is similar to that used for the MCU and in some embodiments is tuned or modified for multimedia application. Based on the DSP prediction load, the power management policies send request to adapt dynamically frequency/voltage and enable or disable domain DPS in OS idle thread. In
In
In
A DVFS/DPS Policy Module and a Static Policy (e.g., SLM policy) block are coupled to a Policy Manager and Resource Handler 5543. The DVFS/DPS Policy Module receives information from the Power Controller and uses it to determine whether DVFS should make an OPP transition and whether DPS should be started or stopped in
In
In a step 5620 a load or performance prediction is made for the application. Then a step 5625 outputs the target performance to the PRCM. A PRCM hardware operation 5630 adapts the DVFS OPPs for the VDD1 voltage domain, adapts the DVFS OPPs for the VDD2 voltage domain, and adapts the DVFS OPPs for any other DVFS controlled VDDx voltage domain. This adaptation or adjustment of an OPP involves a change of frequency F and a change of voltage V. The PRCM reports back that the adaptation is completed and represents a current OPP.
A software step 5635 inputs, confirms, or updates the current OPP. A succeeding step 5640 computes a metric representing an amount of difference Δ, discrepancy, disparity or gap between the current performance and the target performance of step 5625. Then a decision step 5645 assesses the gap by comparing the metric with a configured or predetermined threshold value THRESHOLDi. For example, in
If step 5645 determines that the threshold is exceeded or the gap is otherwise significant, then operations proceed to a step 5650 to select an appropriate power mode to handle the power management to either deliver more power or less power in an appropriate way. Step 5650 activates a hardware operation 5655 to switch one or more domain power states and enter the selected power mode. Then hardware determines at a step 5660 whether the selected domain power states are now established and monitors until the switching is fully completed. Also at step 5660 hardware determines whether any hardware based mode transition event has occurred, such as a wakeup signal coming from a peripheral. Upon such completion or event, a succeeding step 5665 represents exit from the previous power mode, whereupon an interrupt of step 5670 is fed to the MPU and an application may run at step 5615 in the selected power mode.
In
Next in
A step 5725 generates or derives a new target frequency to accommodate the number of applications and performance required. For example, the target frequency ftarget in some embodiments having one processor pipeline is made equal to the Sum of the applicable instructions per second to each currently-running application plus each application being launched, multiplied by a safety factor greater than 1.0. The safety factor is believed likely to lie in a range 1.1 to 1.5, for instance, and a value for the safety factor is adjusted for satisfactory system performance.
In embodiments having multiple processor pipelines in one or more processor cores, the target frequency in step 5725 is computed in some embodiments using the above-described Sum divided by the total number of pipelines in all processor cores that are allocated to the power-managed process, and multiplying the resulting ratio by an appropriate factor indicative of the average pipeline usage relative to pipelines all-full. In some more-complex embodiments having different cores managed at different clock frequencies and different numbers of pipelines, lengths and types of pipelines, suitable adjustments in the target frequency calculation of step 5725 are made to account for the actual processor hardware being managed.
These and other performance prediction processes or methodologies known now or in the future are applied alternatively to, or in combination for, steps 5720 and 5725. Other performance metrics besides target frequency are also suitably used.
A succeeding decision step 5730 determines whether the current target frequency Fn equals the minimum DVFS frequency in
If target frequency ftarget is outside the currently-selected range [Fn−1, Fn], then a DVFS power management transition to a new range is needed. Accordingly, operations proceed from No at step 5735 to a step 5740 that stops DPS and AVS. Next, a decision step 5745 determines whether the target frequency ftarget is less than the range lower-end frequency Fn−1. If yes, then operations proceed to a step 5750 to set that frequency Fn−1.as the new AVS reference, analogous to initial step 5710. The process is moving or transitioning down the DVFS stairstep of
If the decision step 5745 instead determines that the target frequency ftarget is not less than the range lower-end frequency Fn−1, then operations branch from step 5745 to a decision step 5765. Decision step 5765 determines whether the target frequency ftarget is greater than the range higher-end frequency Fn. (If not, an error has occurred and a branch to an error handler 5768 is performed.) If so (Yes) at step 5765, operations go to a decision step 5770 that determines whether that higher-end frequency already has topped-out at frequency Fmax. If yes, then operations loop back to step 5720, since the top frequency has been reached. If no at step 5770, then operations proceed to a step 5775 that sets a next-higher stair-step frequency Fn+1 as the new AVS target, analogous to and opposite from step 5750. Here, the process is moving or transitioning up the DVFS stair-step of
In
Step 5815 to keep current OPP is also reached along a flow path when decision step 5730 determines No and then decision step 5735 determines Yes that the target frequency ftarget is within the currently-selected range [Fn−1, Fn] and thus a DVFS power management transition to a new range is not needed.
From step 5815, operations proceed to a decision step 5820 to determine whether the target frequency ftarget is far enough from the range higher-end frequency Fn that starting up DPS of
At step 5820, if it is justified (Yes) to start DPS or maintain DPS activated, then operations proceed to a step 5825 to in fact set a DPS enable bit to start DPS or maintain DPS activated. If at step 5820, the opposite result is determined (No), then operations proceed to a step 5835 to instead clear a DPS enable bit to stop DPS or maintain DPS inactivated. After either step 5825 and step 5835, operations reach a decision step 5850. If a standby condition is met (Yes, e.g., such as all applications inactive) at decision step 5850, then operations branch to a step 5860 for Standby Leakage Management (SLM). Otherwise, if No at standby decision step 5850, then operations proceed to node 5760 and loop back to step 5720 to obtain a new performance prediction. If a system reset or system turn-off occurs, then operations at node 5760 instead terminate the DPS and DVFS power management until power management at step 5705 is resumed at or after warm boot BEGIN 5701 after system reset, or upon power-up 5703 from system turn-off or wakeup 5705 from a sleep mode such as one using SLM 5860.
In
In the described step 5780 applied for example to voltage domain VDD1, suppose next that OPP(V1, f1) transitions up to OPP (V2, f2) with f2>f1. A suitable process disables SR1, and unmask an OPPchange_done event in voltage processor VP. A next step programs a new count value for REFCLK corresponding to frequency f2 into sensor module SR1, and enables SR1. An OPPchange_done interrupt event is generated from voltage processor VP to the PRM. Next, PRM changes the frequency by changing a clock processor clock divider or setting a new M,N value in the DPLL(1 or 2).
When scaling up the frequency in step 5780, if the latency of the SR loop is too slow for a particular module, the following alternate sequence is suitably provided. First, disable SRI, and then program directly the OPPnew voltage in the switch mode power supply SMPS. Wait for ramp time (use a timer or software loop). Then change the frequency by changing the clock processor clock divider or setting new M,N value in the DPLL(1 or 2). Next, unmask the OPPchange_done event in voltage processor VP. Program a new count value into SR1, and enable SR1.
Note that if the DPLL2 M, N values are programmed in a frequency scaling step, DPLL2 outputs the bypass frequency during the relock time. Programming the M, N values to change the frequency may have a significant latency and using a clock divider instead can deliver a lower latency. DPLL2 relocks and does not prevent the processor from running during the relock time. DPLL2 bypass frequency is configured to be the output of DPLL3 instead of the sys_clk. (See also
The processor is free to run and execute programs during the whole DVFS sequence on VDD 1 and thus no need to idle the processors arises during OPP changes. Thus, the latency of the voltage and frequency scaling steps can be completely transparent to the software execution. As a result, OPP changes on VDD1 can be quite dynamic.
In voltage domain VDD2, when step 5755 moves to a lower performance new OPP, the new OPP allowed frequencies are made compatible with all module functional clocking operations as driven by the applicative environment at the moment of the change from one OPP to the new OPP. For example, the new OPP frequency is compatible with the camera and display functional clock frequency. This compatibility is related to screen and camera resolution and ongoing processing in these subsystems.
The clock scaling steps involves relocking a delay lock loop DLL inside the memory refresh controller SDRAM Memory Controller SDRC to relock. During the DLL relock time on the order of a number of microseconds, the DDR memory access is stalled. This constraint is handled in some of the modules as follows. The Camera module is suitably paused or stopped during clock scaling steps to avoid overflow. The DMA request latency is increased and can affect operation of some peripherals serviced by a DMA. The processors are arranged to either execute from internal memory caches or on-chip memory, or the processors are suitably stalled. The display controller relies on its internal FIFO during this time.
In
From step vi to xi above, the SDRC is not accessed and therefore the software related to this part of the sequence is executed from cache, internal memory or external flash memory.
In step 5780 applied to voltage domain VDD2, suppose OPP(V1, f1) transitions up to OPP (V2, f2) with f2>f1. A suitable process provides:
From step vi to step xiii, the SDRAM Memory Controller SDRC is not accessed and therefore the software related to this part of the sequence is executed from cache, internal memory or external flash memory.
The system can present latency depending of the applicative environment when changing an OPP. For example, changing the display functional clock is performed on a frame boundary in order to avoid visible effect on the screen. This condition can involve a number of milliseconds latency when changing VDD2 OPP. The software infrastructure resolves access. In some embodiments, the DVFS transition latency is transparent to software. In other embodiments, that latency is suitably partly monitored by software. In still other embodiments the DVFS latency is made transparent to software for one or more voltage transitions such as on VDD1, while the DVFS latency is monitored by software for one or more other voltage transitions such as on VDD2.
A brief correlation and summary of some Figures is described next for some embodiments. PRCM hardware instantiates DPS/DVFS operations of
Turning to the analysis of DPSmargin, and with
DPSmargin[Fn−ftarget]>MarginDPS.
The DPS margin function DPSmargin[Fn−ftarget] can be estimated by considering the energy consumption formula
E=½CV2FT
In the formula E is energy, C is capacitance of the powered circuit, V is voltage, F is clock frequency, and T is execution time. In terms of dimensionless normalized power wherein ½ CV2 ftarget is one unit of normalized power, energy is 1.0(F/ftarget) T relative to normalized power. Capacitance C is summed over all the pipeline stages in all the pipelines of all the power managed processor cores. A given amount of application computing burden or load is equal to the product FT and represents the number of instructions for the application(s) executed by each pipeline stage on average. A processor running at a higher frequency F runs the same load in a shorter amount of time. The static energy consumption of the circuit at a given voltage V is xstatic t, where xstatic is the dimensionless normalized power level 4820.1 of
Let target frequency ftarget be that frequency at which there is no time for processor shut-down, so
E=½CV2ftargetT.
In terms of static power divided by power consumed at target frequency (dimensionless ratio), let a normalized static power be defined as
x
static
=P
static/(½CV2ftarget)
The computer load of the applications is symbolized L, and
L=ftargetT.
At the range higher-end frequency Fn the time Tn needed to execute the same computer load is
T
n
=L/F
n
The time interval t during which the static power is drawn is
t=T−T
n
=L(1/ftarget−1/Fn)
Without DPS the energy consumed is
E
NoDPS=½CV2L+½CV2xstaticftargetL(1/ftarget−1/Fn)
With DPS, and wherein the DPS runs at range higher-end frequency Fn, the energy consumed is written as follows:
E
DPS=½CV2L+CV2LSR.
The DPS margin is defined for this description as a dimensionless normalized energy difference with and without DPS:
DPSmargin=(ENoDPS−EDPS)/½CV2L
E
NoDPS
−E
DPS=½CV2L+½CV2xstaticftargetL(1/ftarget−1/Fn)
(½CV2L+½CV2LSR).
Combining the above equations and simplifying yields a DPSmargin function of frequency difference:
DPSmargin[Fn−ftarget]=xstatic(Fn−ftarget)/Fn−LSR/L.
The skilled worker determines a dimensionless threshold value ThreshDPS, such as zero or some positive constant, for the decision criterion of step 5820 of
In decision step 5820, the decision criterion is accordingly written:
DPSmargin>ThreshDPS.
Substituting the DPS margin equation into the decision criterion provides an inequality
x
static(Fn−ftarget)/Fn−LSR/L>ThreshDPS.
Rewriting as a frequency inequality, like that of decision step 5820, yields:
(Fn−ftarget)>(ThreshDPS+LSR/L)Fn/xstatic.
Thus, using the notation of
MarginDPS =(ThreshDPS+LSR/L)Fn/xstatic.
If the threshold value ThreshDPS is chosen to be zero, then the frequency margin equation shows that relative to the range higher-end frequency, the per-unit margin reduces to:
MarginDPS/Fn=(LSR/L)/xstatic.
This latter equation, for instance, says that DPS saves power for frequencies at least 10% below the range higher-end frequency Fn when the ratio of the cycles LSR occupied by save-plus-restore for the application(s) divided by the cycles occupied by the applications is 10% or less of the normalized static power dissipation xstatic. The static power dissipation Pstatic itself is the product of multiplying voltage times the static leakage current IDDQ, or product Vn IDDQ.
Since normalized static power dissipation xstatic=Pstatic/(½CVn2 ftarget) from earlier hereinabove, then this equation reduces to
x
static=2 IDDQ/(CVnftarget).
In different embodiments the choice of number of operating points OPP for DVFS is set at a low enough number to provide a wide enough frequency range for DPS to work effectively. In this way, the complexity of DVFS, for providing various voltage levels and frequencies and controls for all of them, is also quite acceptably moderate; and DPS provides a power managed power savings too.
These considerations lead to the recognition herein of a range of embodiments according to number of voltage levels or operating points OPP permitted by various power management mechanisms as described. It is recognized that for a substantial variety (but not necessarily all) of the embodiments, the number of voltages or operating points OPP is at least two so that DVFS can dynamically transition between plural operating points depending on system operating conditions. Also, it is recognized that for a substantial variety (but not necessarily all) of the embodiments, the number of voltages or operating points OPP is less than or equal to eight (8), so that DPS for at least some operating conditions has enough DPS margin to provide a power managed power savings too. For example,
Savings using DPS is now compared with the savings using DVFS between adjacent OPPs. The power savings between adjacent DVFS OPPs n and n−1 is expressed in per-unit terms as a DVFS margin.
DVFSmargin=(ENoDVFS−EDVFS)/½CVn2L.
E
NoDVFS
−E
DVFS=½CVn2L−½CVn−12L.
DVFSmargin=1−(Vn−1/Vn)2
As noted above, the DPSmargin for using DPS is
DPSmargin[Fn−ftarget]=xstatic(1−(ftarget/Fn))−LSR/L.
x
static=2 IDDQ/(C Vnftarget).
DPSmargin=IDDQ(ftarget−Fn)/(ftarget½CVnFn))−LSR/L
When the DVFSmargin exceeds the DPSmargin, an embodiment transitions between DVFS OPPs. In some embodiments this is the strategy that is uniformly used when pre-computation or pre-testing of the circuitry verifies that the DVFSmargin always exceeds the DPSmargin,. In some other embodiments, the determination is made whether the DVFSmargin exceeds the DPSmargin and, if so, a DVFS OPP transition is permitted. However, in such other embodiments, if the DVFSmargin does not exceed the DPSmargin, then the DVFS OPP is maintained the same and the DPS is executed at the unchanged OPPn even when the target frequency ftarget goes below the next lower frequency Fn−1 that would otherwise be used by DVFS.
The determination whether the DVFSmargin exceeds the DPSmargin is represented by an inequality
DVFSmargin>DPSmargin
Substituting from above produces the inequality:
1−(Vn−1/Vn)2>IDDQVn(ftarget−Fn)/(ftarget½CVn2Fn))−LSR/L.
A few qualitative observations can be made based on this inequality. First, if the voltage spacing of the OPPs is sufficiently great, meaning the OPPs are sufficiently few, then DVFS is used to transition between OPPs. Second, if the leakage current IDDQ is relatively low, then DVFS is used to transition between OPPs. Third, if the capacitance C is relatively high, then DVFS is used to transition between OPPs.
Also, if the DVFS OPPs are defined so that the OPP frequency is linearly related to the OPP voltage, then
V
n
−V
n−1
=k(Fn−Fn−1) and
1−(Vn−1/Vn)2=1−[1−k(Fn−Fn−1)/Vn]2
Expanding the right side and substituting into the inequality above yields:
2k(Fn−Fn−1)/Vn−[k(Fn−Fn−1)/Vn]2>IDDQVn(ftaget−Fn)/(ftarget½CVn2Fn)−LSR/L.
Next, multiply through by ½Vn and rearrange:
k(Fn−Fn−1)−IDDQ(ftarget−Fn)/(ftargetCFn)+½VnLSR/L−½[k(Fn−Fn−1]2)Vn>0.
At an analysis point, target frequency ftarget is equal to the next lower OPP frequency Fn−1.
Applying this analysis point to the inequality by substitution,
k(Fn−Fn−1)+IDDQ(Fn−Fn−1)/(Fn−1CFn)+½VnLSR/L−½[k(Fn−Fn−1]2)Vn>0
Multiplying through by Fn−1/(Fn−Fn−1) yields
I
DDQ/(CFn)+kFn−1+½VnLSRFn−1/((Fn−Fn−1)L)−½k2Fn−1(Fn−Fn−1)/Vn>0.
Some embodiments are arranged so that a highest OPPn voltage Vn and frequency Fn are selected based on the process parameters and pre-testing. Then the equation is used to determine the next lower OPPn−1 frequency Fn−1. Then the voltage Vn−1 is computed by the linear approximation:
V
n−1
=V
n
−k(Fn−Fn−1).
The inequality is iteratively solved at the tip-over point (0) for successively lower OPP frequencies and voltages by replacing the frequency, voltage pair Fn and Vn with the pair Fn−1 and Vn−1 in the inequality and solving for Fn−2. Then the voltage Vn−2 is computed from the linear approximation (or a piecewise linear portion of it), and the solution process is repeated to specify more OPPs.
Notice that DPS in FIGS. 13 and 14A-14D involves sequential power down and power up for several modules, such as processors. Accordingly, the above DPS analysis is applied to each module such as a processor in the manner described above, and extended to encompass DPS embodiments of the sequentially powered type as in FIGS. 13 and 14A-14D. In some more complex embodiments, DVFS applied to plural voltage domains and DPS is controlled according to a discrete optimization of power management over the system.
In some of these more complex embodiments,
When another user request or automated system request, such as for display operation or video player, is involved, a different configuration is suitably loaded by software into the PRM registers of
One embodiment provides a 65-nm mobile multimedia applications processor with an adaptive power management scheme to compensate for wafer fabrication process variations. By using multiple voltage domains, fine grain power domains, split-rail memories, and adaptive compensation, SoC active power reduction and leakage power reduction are achievable. A dual pipeline microprocessor and IVA multimedia accelerator are included. IVA has a digital signal processor (DSP) and provides multi-standard (MPEG4, WMV9, RealVideo®, H.263, H.264) encode/decode at D1 (720×480 pixels), and 720p MPEG4 decode. Also integrated are a 2D/3D graphics engine, a Mobile DDR Interface, and numerous integrated peripherals as selected for a particular system solution.
PRCM hardware and software power management processes reduce both active switching power and leakage power. Active power reduction is achieved through Voltage/Frequency scaling. Voltage scaling is enabled through multiple voltage domains, and split-rail memories. Two main power supplies power the core logic and peripherals separately from the processor cores, and are termed voltage domains. The voltage domains are decoupled so that, for example, high bandwidth autonomous DMA transactions are run off a higher voltage while the low frequency microcontroller is run off a lower voltage to optimize SoC power. The processor cores are designed with multiple discrete Operating/Performance Points (OPPs) such as at 125%, 100%, 50%, and 25% of a nominal design frequency, and application OPPs are software programmable to a coarser or finer resolution. Some fixed function peripherals (e.g. MMC/SD interface) are synthesized to allow operation across OPPs, while others, (e.g. Mobile DDR SDRAM) are scaled in clock frequency at lower OPPs.
Process/Temperature compensation utilizes a silicon performance monitor to adjust each core logic supply independently. An Adaptive Voltage Scaling (AVS) module contains sensor modules SR1 and SR2 that allow the SoC to adaptively lower or raise voltage levels as the process, temperature, and aging vary across time and process spread. The monitors feed to dedicated hardware control of external switch mode power supply SMPS voltage converters, see
Leakage Power Management recognizes that the leakage power dissipation of about 150 million transistors in one embodiment can consume up to 30% of the total power in active modes (higher in standby modes). Some voltage domains reduce leakage through supply modulation. Moreover, fine-grain power domains are established by power gating techniques for leakage management as described in Royannez etal. “90 nm Low Leakage SoC Design Techniques for Wireless Applications” ISSCC 2005. These are deployed in several power domains in the application processor 1400. Low-leakage SRAM memory retention and power down also reduce power.
An Off mode with low standby power is established by circuitry that fully powers down the core logic supplies. In the low-cost 65nm process, power management components (switches, isolation cells, etc.) are built using a core thin oxide device with a single threshold voltage. In order to achieve 100 μA standby leakage current with 150 million transistors, core supplies are lowered to 0V. An integrated linear regulator is used to generate a third core logic supply which powers a smaller amount of wake-up and watchdog/timer logic. This circuitry retains important system state information and allows emulator/debugger access. High threshold voltage VT transistors are not used in some embodiments, thus minimizing both process and circuit complexity, and lowering manufacturing cost. Power reduction is enjoyed in modes in which significant portions of the chip are power gated.
Various embodiments for combining AVS power management are now described in connection with
In a first embodiment, such as for manufacturing test calibration, performance of the chip is directly measured at manufacturing test and the required operating voltage for that device is determined. This information is permanently programmed (fused) into each die.
In a second embodiment, such as for boot-time software calibration, a host MPU performs a boot-time calibration by initializing the AVS sub-chip of
In a third embodiment, such as for continuous software calibration, AVS sub-chip is enabled continuously and tracks low frequency components of variation in real time. This embodiment gains some margin improvement over the second embodiment. Two variants of the third embodiment are described next. One variant provides a timer interrupt or some other system event (e.g. frequency or mode change) to initiate
interrogation of the AVS sub-chip. In another variant, the AVS sub-chip generates a host MPU interrupt when the sensor frequency is detected outside an acceptable range.
In a fourth embodiment, such as for continuous hardware calibration, the AVS sub-chip interfaces directly with a Voltage Processor module of
In a fifth embodiment, such as for fully integrated solution, the Power Supply is on-chip. System margins are further reduced since the device can be measured in terms of battery voltage, power and performance. The core voltage is not an independent variable with its own margins.
AVS in some process and structural embodiments operates to variably lower the operating voltage of the transistors (e.g., from 0-200 mV) over the range of weakest process transistors to strongest process transistors. Thus, the AVS voltage is reduced for nominal silicon so that the voltage and speed of the nominal silicon is closer to that of weak silicon. The AVS voltage for strong silicon is even further reduced than for nominal silicon so that the voltage and speed of the strong silicon is closer to that of weak silicon as well. This variable control of the operating voltage depending on the weak, nominal, and strong processes, compresses the path delay distribution over numbers of the thus-controlled devices considered collectively. Moreover, AVS operated in this way results in significant active power reduction and leakage power reduction.
The AVS process herein acts as a voltage control loop that presents a degree of latency representing the time needed to respond to changes in its environment. This latency is responsive such as to process variation, power supply DC level, and temperature changes, and DC portions of the printed circuit board (PCB) and device IR (ohmic) voltage drop. In
In
The PRM includes a Device state machine FSM, a Voltage domain state machine FSM, a Power manager domain state machine FSM, and a power switching controller state machine PSCON. The PRM has a Domain Wakeup Control circuit, a Global Reset Manager circuit, and a Local Reset Manager circuit. In addition the PRCM includes each voltage processor VP to interface with the Sensor Modules SR1 and SR2 and compute a voltage value from the sensor module SR error, and the voltage controller VCON to interface with voltage processor VP and format and send the voltage value over the I2C interface.
The PRCM has an OCP (Open Control Protocol) bus interface to access PRM control and status registers. This OCP interface runs off the system clock and is connected to the wakeup block. The PRM registers of
The Clock Manager CM is located in the Core domain and includes a Clock Generator CG 6520 and a Clock Controller CC 6540 in
In
In
An interrupt PRCM_MPU_IRQ in
Another interrupt PRCM_IVA2_IRQ is coupled from PRM to IVA Wakeup generator when an IVA peripherals group wake-up event has occurred or a forced wakeup transition has completed for IVA domain wakeup.
In
Then a step 5945 enables a VP OPP Change Done interrupt from hardware indicating completion of the OPP transition. Next a step 5950 enables the Voltage Processor VP module, and a step 5955 enables each Sensor Module SR or the applicable Sensor Module SR. A further step 5960 represents voltage switching latency in the 12C communications path and the power IC 1200. A decision step 5965 determines whether the latency has expired by activating a counter and counting to expiration of a predetermined or configured time interval. When the latency has expired, operations proceed to a step 5980 to generate an interrupt called a Valid VPP OPP Change Done interrupt. Then operations are completed and reach RETURN 5990.
In
Adaptive power supply AVS reduces active power consumption. The power supply voltage is adapted to the silicon performance either statically (depending on the device manufacturing process), or dynamically (depending on the temperature induced current performance of the device). An AVS sub-chip uses sensors to monitor the silicon performance and outputs a measure of the performance error.
When performing DVFS, the software or user can program a new operating point in the sensor module by programming the new reference frequency REFCLK and causes the sensor module to re-calculate the error. When error data is stable, it is transmitted to the Voltage Processor. The Voltage Processor takes the average frequency error from the AVS sub-chip and determines the appropriate voltage level to program into the power supply. The Voltage Processor monitors the interrupt signal and error value from the respective AVS sensor module SR, and automatically adjusts the power supply by sending a voltage command to the Voltage Controller.
In
Two instances of Voltage Processors VP 1 and VP2 are respectively associated to these sensor modules SR1 and SR2 to convert generated frequency errors in voltage commands. Each of the Voltage Processors VP1, VP2 respectively contains a Look-Up Table and is correctly initialized and configured to optimize the voltage control. Voltage Processors VP1, VP2 and related control registers (cf. 6710 of
In
In
The VP FSM of
Note that the arrangements of
The Voltage Controller is a part of PRM and interfaces internally to the Voltage Processors, as well as with the two voltage device FSMs. Externally, it interfaces to a Power IC, through a dedicated I2C interface. To reduce latency of voltage changes, the Voltage Controller is configurable to run in High-speed I2C mode.
The Voltage Controller handles five input ports as follows: VDD1 and VDD2 Voltage Processor ports input voltage commands depending on sensor module calculations (during device activity). VDD1 and VDD2 device FSMs input voltage commands when the device enters in retention mode, or in OFF mode, and upon device wake-up. Direct software control is a fifth input port.
An arbitration scheme allows managing overlapping requests on the five ports. Each of the internal ports has a handshake to indicate when the I2C frame resulting from the request on that port has been acknowledged by the external Power IC. The Voltage Controller uses some PRM registers for configuration values.
If Power IC does not support I2C interface, a simpler voltage command can be used to control two voltage values per voltage domain (VDD1, VDD2), controlling external VMODE1 and VMODE2 signals. These two signals are used alternatively with I2C and are muxed on the same device pins in
CSWR stands for Closed SWitch Retention. In CSWR mode, the full domain logic is maintained supplied, and the voltage is reduced to a low non-zero voltage to minimize leakage. OSWR stands for Open SWitch Retention. In OSWR mode, the full domain logic is switched OFF. However context is saved for the modules that embed retention flip-flops (RFF). In both cases, memories are put in retention or can be also switched OFF.
In FIGS. 23 and 24A-24C, and in TABLE 6, for each power domain, the PRM FSM circuitry properly manages transitions by controlling domain clocks, domain resets, domain logic power switches, memory power switches, and memory retention. Examples of supported transitions are Active=>Inactive; Inactive=>Active; Active=>Retention; Retention=>Active; Active=>Off, and Off=>Active. Domains power state combinations are supported by hardware, which physically protects the power domains by controlling isolation of the domains. The software properly sets the power states combinations to ensure correct functional behavior.
In FIGS. 23 and 24A-24C, the PRM embeds for each power domain a power state controller PSCON that sequences properly ON to OFF and OFF to ON transition. The control is mainly based on three signals (Power on Ponin, RET, ISO) for the logic, plus two other signals per memory bank. The control is handled by a dedicated state machine, the PSCON (Power State CONtroller). A retention signal RET is used to control retention flip-flops when logic retention state is required. State machine PSCON is suitably replicated as plural state machines, demuxed, and/or coupled to each of various power domains in order to implement desired controls over the power domains.
In an Active to Retention transition, PSCON asserts ISO signal to isolate domain outputs, then asserts then the RET signal to save RFF content, and releases the Power on Ponin signal to open the switch. In a Retention to Active Transition, PSCON asserts the Power on Ponin signal to close the switch, then releases the RET signal to restore RFF content, and releases ISO signal to de-activate isolation of domain outputs. In an Active to Off transition, PSCON asserts ISO signal to isolate domain outputs and releases the Power on Ponin signal to open the switch. In an Off to Active transition PSCON asserts the Power on Ponin signal to close the switch and then releases ISO signal to de-activate isolation of domain outputs.
In some embodiments, each power domain switch is composed of one or several small switches daisy chains spread over the domain physical layout. These daisy chains are managed by the PSCON (Power State Controller) which properly sequences the domain isolation, the logic/memory save/restore procedure (retention) and switches daisy chains control. For big power domains (such as MPU), several daisy chains can be used and are controlled in parallel by the same PSCON. This way, PSCON can reduce switching duration while better managing the switch transition peak current. For small domains (such as DPLL) or domains that have slower wakeup time, one daisy chain is used. One PSCON can drive daisy chains for several memory blocks.
In
In
Occurrence of Logic_is_on (LON) when active concurrently with Switch_loopback active initiates a transition from PSCON state WAIT_FOR_ON to a disable reset state DIS_RESET. The LON signal is provided by logic of
In
In
State machine PSCON includes an analogous set of states and transitions to handle a process of taking operationally active circuitry in a power domain to a power-off condition. In
In
In
In
In
The main power supply sources, VDD1 and VDD2 can be controlled according to three different modes, selected in the Control Module: Direct control, I2C control, and software SW control.
Direct control with VMODE signals of
The Power IC 1200 initiates a voltage transition scenario upon assertion of this signal and another voltage transition scenario upon de-assertion of this signal. For example, a power IC is configured by software through the I2C interface to establish the voltage values corresponding to the two respective VMODE signals states and to be sensitive to VMODE signal activation. Selection of I2C or VMODE interface is accomplished by programming selection mux in CONTROL_PADCONF_i2c4_scl and CONTROL_PADCONF_i2c4_sda registers in Control Module.
The voltage controller can drive independent voltage channels, one for VDD1 and one for VDD2, through the SR I2C. One or more programmable I2C bus slave address values for each SR accommodate respective SMPS cores or separate devices each with a respective slave address. Voltage configuration register address values correspond to the address of the registers in the power IC used to program the voltage value for VDD1 and VDD2 SMPS. When the Power IC is in Active mode, the voltage controller drives VDD1 and VDD2 SMPS by writing over the I2C interface a voltage value at the respective address of VDD1 and VDD2 voltage configuration registers in the power IC.
Programmable Command configuration register address values correspond to the address of the registers in the power IC used to program the command value for VDD1 and VDD2 SMPS. The voltage controller selects VDD1 and VDD2 SMPS modes of operation by writing over the I2C interface a respective multi-bit command value at the respective address of VDD1 and VDD2 command configuration registers. The multi-bit command values correspond, for instance, to ON or Active mode, On Low Power or Sleep mode, Retention mode, and OFF mode.
When the ON/Active command is sent, the SMPS reverts to its Active mode of operation at a voltage value which is either the reset voltage value of the SMPS or optionally a configurable value. When the Sleep command is sent, the SMPS enters its Sleep mode of operation at a voltage value which is either the present voltage value of the SMPS or a configurable value. When the Retention command is sent, the SMPS scales the voltage down to a retention voltage and the integrated circuit 1400 enters a Sleep mode of operation. The retention voltage is configurable in the power IC at a lower voltage than the Active mode or Sleep mode. When the OFF command is sent, the SMPS enterd its OFF mode and to shut down its voltage (0v).
The retention voltage and optionally the Active and Sleep voltage are configurable. The values of these voltages can be either programmed in separate register in the Power IC or they could be made part of the command itself as a multi-bit field associated with another multi-bit field identifying the command itself.
PRM is also able to send VDD1 and VDD2 sleep commands that can be used, for each voltage, to activate Power IC sleep mode (the voltage regulator switches in sleep mode, where voltage is maintained but only small load is supported). This allows external Power IC reducing its power consumption as well.
OFF mode transition sequences using I2C are described next.
An ON to OFF sleep sequence embodiment has steps wherein PRCM sends OFF command or OFF voltage for VDD1 over the I2C interface to the power IC. Power IC acknowledges the command and starts ramping down the VDD1 voltage. PRCM sends OFF command or OFF voltage for VDD2 over the I2C interface to the power IC. Power IC acknowledges the command and starts ramping down the VDD2 and VPLL voltage. Applications processor chip releases SYS_CLKREQ. The power IC or the clock generator shuts down the system clock SYS_CLK provided it is not requested by another component in the system.
An OFF to ON wakeup sequence embodiment has steps wherein PRCM asserts SYS_CLKREQ. The power IC or clock generator re-starts the SYS_CLK. The clock is clean (no glitch, stable frequency). PRCM waits for a time interval called system clock settling time in master clock mode or Tval in slave clock mode, detects first rising clock edge and sends the ON command or ON voltage for VDD2 over the I2C interface to the power IC. Power IC acknowledges the command and starts VDD2 and VPLL ramp up. PRCM waits for a time interval including VDD2, VPLL settling time. PRCM sends the ON command or ON voltage for VDD1 over the I2C interface to the power IC. Power IC acknowledge the command and start VDD1 ramp up. PRCM waits for a time interval including the VDD1 settling time.
OFF mode transition sequences using SYS_OFF.MODE are an alternative way of operation without using the I2C channel.
In an ON to OFF sleep sequence, the following steps are followed. Applications processor chip 1400 asserts SYS_OFF.MODE and release SYS_CLKREQ. Power IC ramps down the VDD1 voltage. Power IC ramps down the VDD2 and VPLL voltage. The power IC or the clock generator shuts down the system clock SYS_CLK provided no other system component requests it.
In an OFF to ON wakeup sequence, the following steps are followed. PRM asserts SYS_CLKREQ. PRM releases SYS_OFF.MODE after a delay time Tdelay expires. The power IC or clock generator re-starts the system clock SYS_CLK. The clock is clean with no glitch and provides a stable frequency. Power IC ramps up VDD2 and VPLL, and then ramps up voltage VDD1. The PRM waits for VDD2, VPLL and VDD1 settling time. Also, the PRM waits during system clock settling time or configured time value Tval and detects first rising edge.
Turning to the subject of OFF mode, the OFF mode is the device mode where power consumption is minimal. All domains in the device except the Wakeup domain are powered OFF. The VDD1 processors voltage and VDD2 voltage are shut down by the external power IC in order to eliminate always-on components of leakage due to VDD1 and VDD2. Entering OFF mode is preceded by software device context saving.
Application processor chip 1400 integrates an enhanced management of the OFF mode that 1) saves IOs leakage by settings pads in the lowest power state compatible with the device environment, 2) enables wake-up with limited capabilities from almost all programmed input pads all around the device, and 3) enables wake-up with full capabilities by using few GPIO inputs located in wake-up.
PRM manages and sequences the control of various OFF mode contributors, such as IO pads, input/output IO control for chip 1400, Control Module, Wake-up LDO, SRAM LDOs, analog cells, and Voltage Controller VCON.
IO pad OFF mode support sets a dedicated OFF mode configuration for all the pads when the device enters OFF mode. This support is configured in Control Module and activated by the IO control circuit or by a wake-up event from any of the device pads by enabling a IOs wake-up daisy chain.
In
In
For each pad, the Control Module 2765 of
In
When conditions to enter OFF mode are met (all domains are OFF and OFF mode transition is enabled by software configuring a bit field in Control Registers 6710), the following sequence occurs. PRM switches OFF all domains including Core domain. The PRM switches ACTIVE mode pads configuration to OFF mode pad configuration, by asserting PAD_OFF_mode signal to the IO control module. PRM isolates the pads before VDD1 and VDD2 removal by asserting ISOCLK line to latch the current state and asserts the ISO line to isolate the IO. PRM shuts down all analog cell (DPLL, DLL, . . . ) by asserting an AIPOFF signal. PRM shuts down the SRAM LDOs and bandgap by asserting respective signals SRAMALLOFF1 and SRAMALLOFF2. PRM asserts VDD1OFF level shifter control to fix outputs coming from VDD1 to VDD2 before VDD1 removal. PRM sends OFF command for VDD1 to Voltage Controller VCON and releases VMODE1. VDD1 shuts down. Upon I2C transaction acknowledge, PRM asserts VDD2OFF level shifter control. PRM sends OFF command for VDD2 to VCON and releases VMODE2. VDD2 shuts down. Upon I2C transaction acknowledge, PRM ramps down the wake-up LDO to a holding voltage, releases a clock request CLKREQ and disable oscillator signal if any, and PRM then waits for wake-up from daisy chain.
In a transition to ON, once the MPU has booted, software accesses the Control Module to read the wake-up event source by reading CONTROL_PADCONF_X.WakeUpEvent bits corresponding to all enabled pads. The software disables the wakeup daisy chain, by clearing the PM_WKEN_WKUP.EN_IO bit. When cleared, the PRM releases the GLOBAL_WKUP_en signal to the OMAP IO control. This clears all IOs wake-up enable controls, overriding all the signals wkup_en, and the PRM generates a pulse on the wakeup clock WUCLK line, which resets all the IOs wake-up logic.
In
In
The Clock Manager CM is located in the Core power domain. The Core power domain can be powered OFF for DPS (dynamic power switching) purpose. In that case, clock outputs cease and their OFF state is latched by isolation circuits. DPLLs controls are also latched. The full Clock Manager CM setting in Control Registers 6710 is saved by retention flip-flops and is transparently restored when the Core power domain becomes active again.
The functional clock input of the CM (namely CM_xxM.FCLK where xx or xxx is number of MHz) is gated internally in the CM. This is because this clock is now generated in the PRM and therefore signaling from the CM to gate this source clock in the PRM is asynchronous (crossing voltage domain). Gating this clock only in the PRM could result in a clock gated in high state.
In
In response to configuration of Control Registers 6710, system clock SYS_CLK is multiplied by M and divided by N+1 to establish a particular clock frequency CLKOUT. M and N are each a multi-bit multiplication factor binary value that is software programmable in the respective Control Registers 6710 fields. In
The DPLL provides an output frequency ramping feature when switching from the bypass clock to the synthesized clock during lock and relock period. The frequency ramping is executed in steps up to a maximum of 4 steps in frequency before the signal FREQLOCK is asserted. When FREQLOCK is asserted, the output frequency is stable to final output frequency. A field RAMPTIME[:] in a PRCM register in control registers 6710 specifies the total duration of the ramp, or specifies that frequency ramping is omitted.
Control of DPLLs supports several power modes. Each DPLL power mode establishes a different trade-off between power saving and DPLL re-lock time period. The PRCM hardware also introduces sequencing in the transitions between the DPLL power modes. Each next power mode is configurable.
The transition (if any) to the DPLL stable state after reset is automatically performed by the PRCM hardware. This depends on reset values of some PRCM registers. From the stable state reached after reset the DPLL can move to another power state. This transition can be driven in two ways. First is by software (SW) of
The main DPLLs can be used in different modes, depending on the power domain state, the device state and the latencies requirements. Each mode can be reached upon a software (SW) request and/or in automatic (SW and HW) mode (auto) depending on specific hardware conditions. The automatic mode is enabled or disabled by software by programming the CM_AUTOIDLE_PLL or CM_AUTOIDLE_PLL<processor_name>registers, see
In
Crystal oscillator 6514 of
Switch 6732 passes system clock to the controllable DPLL36730 for the Core domain. DPLL3 provides a clock output to the Clock Manager CM. Switch 6742 is an example of replicated circuitry that provides system clock to a DPLL such as DPLL4 or DPLL5. The respective DPLL4 or DPLL5 provides DPLL clock to a controlled switch 6744 that in turn supplies each of controlled switches 6746 and 6748. Switch 6746 supplies a mux for clock a Peripheral domain such as P1 or P2. Switch 6748 provides clock to Clock Manager CM. System clock from switch 6724 is also coupled by switch 6784 by a CM System Clock line CMSYS.CLK to the CM. Divided system clock from divider 6750 is fed via a controlled switch 6752 to a Mux 6754, that in turn provides an output Module.FCLK. The circuitry of one, some or all of divider 6750, switch 6752, and/or Mux 6754 is suitably replicated as appropriate to controllably deliver module functional clocks to many respective power modules.
In
In
Further in Clock Manager CM of
Clock Manager CM of
As shown in
In a process of
To make its determination, step 6815 tests a bit field in control registers 6710 pertaining to functional clock activity for the particular module. If not gateable, then idling is not permitted and operations loop back to point 6805. If gateable at step 6815 or Forced Idle mode at step 6810, then operations go to a step 6820. Step 6820 clears a Control Register 6710 bit for the domain FCLK enable corresponding to the particular power module to suitably control clock manager CM in
In
In
Further in
In
In
Decision step 6940 determines whether a Control Register is configured so that the DPLL is to be set to Lock mode. If Yes, then operations go to a step 6945 to set a corresponding processor-specific bit field to enable the clock in the Clock Manager CM and to enable a processor-specific bit field to enable Lock on that DPLL. Then operations proceed to a decision step 6950 that determines whether the AutoIdle mode is enabled for the particular DPLL. If Yes at step 6950, then a decision step 6955 determines by hardware test whether Idle conditions are satisfied. If Yes at step 6955, then the applicable DPLL is put in a low-power STOP mode and clock is gated to that clock domain, whence an End flow point 6960 is reached. If No at either step 6950 or No at step 6955 then the applicable DPLL is put in Lock Mode in
In
In
If Automatic Sleep transition, then operations proceed to a step 7020 that programs sleep dependencies of the power domain in a SleepDep bit field to control the Clock Manager CM in the Control Registers 6710 wherein the bit field corresponds to the particular power domain. A further step 7030 enables automatic sleep transition control by setting a particular value representative of automatic sleep control in a CM Clock State Control bit field in the Control Registers 6710 wherein that bit field corresponds to the particular power domain, whereupon a step 7040 is reached.
If Forced Sleep transition at step 7010, then operations go instead to a step 7050 to enable Forced Sleep transition control by setting a particular value representative of Forced Sleep control in a CM Clock State Control bit field in the Control Registers 6710 wherein that bit field corresponds to the particular power domain, whereupon the step 7040 is reached.
In
In
Next a decision step 7140 determines whether it is true that the power domain is in a Retention or OFF power state, and also true that a Wakeup event has occurred. If No, then wakeup operations are deferred. If Yes at step 7140, then operations proceed to a step 7150 to enable interface clocks to all modules of the power domain, and then to a step 7160 to enable functional clocks FCLK to all modules of the power domain. Then a step 7170 clears a wake state WkSt domain-specific and module-specific status bit in the Control Registers 6710. Now the power domain is in an ON power state and an End flow point 7180 is reached.
Power Management Combined with Security
In some embodiments, Power management features are coordinated with security features as described herein.
MCU domain DPS between OFF and ON state involves context save operations of the MCU before sleep transition to OFF state and reciprocal context restore operations on a wakeup transition from OFF to ON state. In order to maximize the DPS efficiency, the save/restore operation latency is kept low.
In
Security and Core domain DPS between OFF and ON state of L3 and L4 interconnect are discussed. In some embodiments, security firewalls are reset so that configuration registers return to their initial reset values on wakeup transition from OFF state. Accordingly, the security firewall reset values are exported to the control module register pertaining to security and made configurable by software. Background information on security firewalls and control module is provided in incorporated patent application TI-61985 which is hereby incorporated herein by reference.
In FIG. 3 and 14A-14C, security is maintained by isolating reset values of interconnect security firewalls from access control that controls access to refresh controller in SDRAM Memory Controller SDRC from the display controller, access to refresh controller of SDRC from the DMA, and access to the audio/modem peripheral interface from the DMA. Also, in the case of a non-secure (GP) device embodiment that boots from Flash memory, security is maintained by isolating reset values of interconnect security firewalls from access control that controls access to the GPMC from the MCU. SDRC access is handled in the SDRAM Memory Scheduler SMS block with retention flipflops and therefore retains the SMS security firewall settings. These SMS security firewall settings are made compliant as described to allow SDRC access from Display and DMA.
Some secure embodiments define secure region(s) in the SDRAM space using export values under on-chip control. The default region stays public.
In FIGS. 3 and 14A-14C, Core domain memory ON/OFF state control is made secure. As shown in Table 13 the Core domain SRAM memory bank is individually controlled and switched ON and OFF. These controls are performed by public software in the PRM. In case the SRAM memory is configured as a secure memory in the L3 firewalls, there is a conflict between SRAM public/secure configuration which is secure and the ON/OFF control of the SRAM is public. To maintain security, the security hardware is structured to directly monitor the on/off control of any memory that is at the output of the PRM in order to create secure status of the secure memory state. This status is then used to ensure integrity of the secure memory. A beneficial side effect is that the secure code can use the on/off control of the memory in the PRM in order to perform a fast purge of all the memory secure content.
In OFF mode, VDD2 is powered down and the contents of the retention flipflops is lost. Therefore, any security control and status registers in any affected modules are lost and return to their reset values on wakeup. Secure ROM code restores critical security configuration to the configuration established upon initial boot. Security operations are minimized upon wakeup from OFF mode in order to keep OFF mode wakeup latency low.
A clock control register in the Clock Manager CM can enable, disable, or otherwise affect clock control of secure peripherals. Accordingly, Clock control of secure peripherals is structured secure even assuming that the clock control register inside the Clock Manager CM may be non-secure. This accomplished by establishing Smart Idle mode for security peripherals.
In
In a further security measure, the security peripherals have their own interface clock independent from, and not shared with, the interface clock used by non secure modules. In this way, power management Clock Manager CM can shut down the interface clock to non-secure peripherals even when a security peripheral keeps its interface clock on by not returning IdleAck.
Power management provides power support by DVFS applied to split voltage domains between a processor and a SOC (system on a chip) backplane. DVFS is combined with DPS support and higher power domain granularity AVS support is provided. DPS can run applications to stopping points and shut down the MPU(s) by using a sufficiently larger audio buffer and sufficiently larger Display FIFOs from which those peripherals can feed during each MPU shut down interval of DPS. Logic retention support is provided. OFF mode saves power with supply shut down.
In some embodiments, the processor executes a performance prediction process that delivers a performance prediction of number of applications and performance required. A non-volatile memory has stored information that describes the performance requirements of each of a plurality of software applications. The processor is operable to execute a performance prediction process utilizing the information stored in the non-volatile memory. The performance prediction process, for example, delivers a prediction of target frequency related to instructions per second of performance and delivers a prediction that is responsive to and increases with a current number of applications running under the operating system plus a number of applications being launched by the operating system. The prediction is also based on and decreases in a manner roughly inversely to the number of pipeline stages in each processor and the number of processor cores in the processor section, with estimated stalls and pipeline loading taken into account.
In some DVFS embodiments, the supply voltage and operating frequency are scaled to one of the available pairs of DVFS nominal voltage selections Vn and frequencies Fn that is just sufficient to accommodate a current operational mode and desired predicted performance. In some system embodiments with plural DVFS-controlled voltage or power domains, each such voltage or power domain is suitably operated at a respective one of plural selectable operating performance points (OPPs) established in response to respective target frequencies determined for and/or allocated to the corresponding domains. DPS in some embodiments is activated when the target frequency for a given domain is sufficiently lower than the OPP frequency to justify using DPS to save further power. DPS then runs the respective domain at the OPP determined by DVFS for that domain and then puts the respective domain into a very low power or no-power mode to save on leakage power dissipation. Some DPS embodiments herein also sequence various power domains through power on and power off according to predetermined sequences.
In
In a step 7215, the design of configurable power management circuitry for voltage and clock control by combined DVFS/DPS/SLM/AVS, for instance, is verified in simulation electronically on the RTL and netlist. In this way, the contents and timing of the registers, operation of the circuits in response to various configurations and uses of the registers, are verified. Compliance with power module dependencies, and response to conditions for invoking DVFS, DPS, SLM, AVS and combinations thereof are verified. The operations are verified pertaining to real-time and non-real-time operations and interrupts, and transitions through handlers, Monitor Mode, Secure Privilege modes, User mode, Debug modes, power management wakeup, and various attack scenarios. Then a verification evaluation step 7220 determines whether the verification results are currently satisfactory. If not, operations loop back to step 7210.
If verification evaluation 7220 is satisfactory, the verified design is provided in a manufacturing-ready form on a design information media, such as a design dataset, pattern generation dataset or the like, and fabricated in a wafer fab and packaged to produce a resulting integrated circuit at step 7225 according to the verified design. Then a step 7230 verifies the operations directly on first-silicon and production samples by using scan chain methodology on power management circuitry and other circuitry of the actual chip. An evaluation decision step 7235 determines whether the chips are satisfactory, and if not satisfactory, the operations loop back as early in the process such as step 7210 as needed to get satisfactory integrated circuits.
Given satisfactory integrated circuits in step 7235, a system unit is manufactured, such as any one, some or all of those system units shown together in
The particular design of the configurable adjustable shared-memory embodiment is tested in a step 7250 by electronic simulation and prototyped and tested in actual application. Operations of the power management circuits by selectively activating fields of a configurable control register, for instance, are verified to confirm operations of the integrated circuit(s) and system and to perform verification and test operations that include and/or go beyond the verification operations described at step 7215 earlier in the process. The verification and test operations pertaining to real-time and non-real-time operations, power management, various real-time scenarios as are specified for the system. Further testing evaluates and confirms system stability and perforamnce, power management performance and efficiency and satisfactory operation of mobile video display, phone, e-mails/data service, web browsing, voice over packet, content player, camera/imaging, video, microcontroller, and other such operation that is apparent to the human user and can be evaluated by system use. Also, various attack scenarios are applied in the test operations, such as by using real viruses, DoS attacks and other attacks.
Parameters of the power management circuitry, software and system are adjusted for in faster application execution, lower power dissipation, QoS (quality of service) for each communications service processed, and other pertinent metrics. Examples of parameters include enable/disable register bits in Control Registers 6710 of
In manufacturing step 7270, the adjusted parameter(s) are loaded into the Flash memory or otherwise established in the integrated circuit(s) of the system. The components are assembled on a printed wiring board or otherwise as the form factor of the design is arranged to produce resulting system units according to the tested and adjusted design, whereupon operations are completed at END 7275.
Various embodiments are used with one or more microprocessors, each microprocessor having a pipeline is selected from the group consisting of 1) reduced instruction set computing (RISC), 2) digital signal processing (DSP), 3) complex instruction set computing (CISC), 4) superscalar, 5) skewed pipelines, 6) in-order, 7) out-of-order, 8) very long instruction word (VLIW), 9) single instruction multiple data (SIMD), 10) multiple instruction multiple data (MIMD), 11) multiple-core using any one or more of the foregoing, and 12) microcontroller pipelines, control peripherals, and other micro-control blocks using any one or more of the foregoing.
Various embodiments are implemented in any integrated circuit manufacturing process such as different types of CMOS (complementary metal oxide semiconductor), SOI (silicon on insulator), SiGe (silicon germanium), organic transistors, and with various types of transistors such as single-gate and multiple-gate (MUGFET) field effect transistors, and with single-electron transistors and other structures. Photonic integrated circuit blocks, components, and interconnects are also suitably applied in various embodiments.
(See Notes paragraph at end of this Aspects section.)
1A. The electronic circuit claimed in claim 1 wherein the dynamic power switching initiates an information save from the power managed circuit prior to entering the lower static power condition and an information restore upon leaving the lower static power condition.
1B. The electronic circuit claimed in claim 1A wherein the condition that activates dynamic power switching includes a threshold related to a first energy saving as a function of the static power dissipation and lower static power state, less a second energy involved in performing the information save and information restore.
1C. The electronic circuit claimed in claim 1 wherein said power managed circuit at a given operating performance point has an operating frequency and a target frequency, and the condition for activation of dynamic power switching includes a difference of the operating frequency less the target frequency exceeding a threshold.
1D. The electronic circuit claimed in claim 1 wherein said power managed circuit at the first operating performance point has its operating frequency and a target frequency, and said power management control circuit is operable to select the second operating performance point when the target frequency is higher than the operating frequency at the first operating performance point.
1E. The electronic circuit claimed in claim 1 wherein said power managed circuit at the first operating performance point has a first operating frequency and at the second higher operating performance point has a second higher operating frequency and a target frequency, and said power management control circuit is operable to select the first operating performance point when the target frequency is lower than the first operating frequency.
1F. The electronic circuit claimed in claim 1E wherein said power management control circuit is operable according to the condition for dynamic power switching to activate dynamic power switching when the target frequency is between the first operating frequency and the second higher operating frequency, and the condition for activation of dynamic power switching includes a difference of the second higher operating frequency less the target frequency exceeding a threshold.
3A. The device claimed in claim 3 wherein said processor is operable, when the target frequency is within the current range, to determine whether the target frequency is far enough below a higher-end frequency of the current range that starting up a dynamic power switching (DPS) mode by said power management circuit is justified.
3B. The device claimed in claim 3A wherein said processor is operable to determine whether a difference found by subtracting the target frequency from the range higher-end frequency exceeds a threshold for DPS margin, the DPS margin related to an energy savings from turning off leakage and the energy savings being offset by an energy consumption due to a context save/restore.
3C. The device claimed in claim 3A wherein said processor is operable, when justified to activate said DPS mode, to set a DPS enable bit active in said power management circuit to activate the DPS mode.
3D. The device claimed in claim 3A wherein said processor is operable, when not justified to start or maintain the DPS mode, to make a DPS enable bit inactive in said power management circuit to inactivate the DPS mode.
3E. The device claimed in claim 3A wherein said processor is operable according to a looping process to obtain a new target frequency.
3F. The device claimed in claim 3 wherein said processor is operable to determine whether the target frequency is less than a lower-end frequency of the current range, and if so, then to activate a transition in said power management circuit to decrement the operating voltage and decrement the operating frequency.
3G. The device claimed in claim 3 wherein said processor is operable to determine whether the target frequency exceeds a higher-end frequency of the current range, and if so, then to activate a transition in said power management circuit to raise the operating voltage and raise the operating frequency.
3H. The device claimed in claim 3 wherein when the target frequency is higher than a predetermined maximum frequency said processor maintains a current operating point when the operating point is at the maximum frequency.
3J. The device claimed in claim 3 wherein when the target frequency is lower than a predetermined minimum frequency said processor maintains a current operating point when the operating point is at the minimum frequency.
3K. The device claimed in claim 3 wherein said power management circuit is operable to establish a standby leakage management mode for said processor.
3L. The device claimed in claim 3 wherein said power management circuit is operable to initially establish a predetermined maximum operating voltage and operating frequency for said processor, whereby to establish an initial operating point.
5A. The electronic circuit claimed in claim 5 wherein said power management control circuit is responsive to at least one bit of said power management register circuit as an enabling condition for said power management control circuit to perform the dynamic power switching of said processor.
5B. The electronic circuit claimed in claim 5 wherein said processor is operable to activate said at least one bit of said power management register circuit as an enabling condition for said power management control circuit to perform dynamic power switching of said processor.
5C. The electronic circuit claimed in claim 5 wherein said processor is operable to configure a bit field of said power management register circuit with a target frequency and said power management control circuit is operable to compare said target frequency to a reference frequency to conditionally enable dynamic power switching of said processor.
5D. The electronic circuit claimed in claim 5 further comprising a second functional circuit and said power management control circuit is operable to power up and power down said processor and to power up and power down said first functional circuit independently.
5E. The electronic circuit claimed in claim 5 wherein said power management control circuit is operable to generate a voltage command representing a scaled voltage for said processor.
5F. The electronic circuit claimed in claim 5 wherein said power management control circuit includes a clock manager circuit operable to establish a frequency for said processor from among a plurality of possible frequencies.
5G. The electronic circuit claimed in claim 5 wherein electronic circuit is divided into power domains and said power management control circuit includes a first state machine operable to sequentially provide commands and at least a second state machine coupled to control at least one of said power domains and operable in response to at least one of the commands from said first state machine.
5H. The electronic circuit claimed in claim 5G wherein said power domains include a power domain having a power switch, a retention flipflop, an isolation buffer, and a portion of said functional circuit included in the power domain and coupled to said power switch, said retention flipflop, and said isolation buffer.
5J. The electronic circuit claimed in claim 5H wherein said second state machine is coupled to sequentially operate said power switch, said retention flipflop, and said isolation buffer in forward and reverse order.
5K. The electronic circuit claimed in claim 5 further comprising at least one pad and wherein the electronic circuit is divided into power domains and one of said power domains includes said power management control circuit and has a mode wherein the said power domain including said power management control circuit is solely powered when others of said power domains in the electronic circuit are unpowered, and said power domain including said power management control circuit is responsive to an external wakeup signal via said at least one pad to initiate power to at least one other of said power domains.
5L. The electronic circuit claimed in claim 5 further comprising an interrupt controller coupled to said processor, said power management control circuit having at least one power management interrupt output line to said interrupt controller.
5M. The electronic circuit claimed in claim 5 wherein said power management control circuit is operable to transition from a first pair of voltage and frequency to a second pair of voltage and frequency applied to said processor, and to start and stop dynamic power switching in response to a condition.
5N. The electronic circuit claimed in claim 5 wherein said processor has software operable to configure said power management register circuit with information representing a changed pair of voltage and frequency.
5P. The electronic circuit claimed in claim 5 wherein said power management control circuit is operable to control a first scaled selectable voltage and a first selectable frequency for said processor and to control a second scaled selectable voltage and a second selectable frequency for said functional circuit separately.
5Q. The electronic circuit claimed in claim 5 further comprising a power domain including a coupling circuit coupling said processor and said functional circuit wherein said power management control circuit is operable to activate a first clock for said coupling circuit and a second clock for said processor and said first clock and said second clock have an interlocked dependency of said second clock upon said first clock.
5R. The electronic circuit claimed in claim 5 wherein said functional circuit includes a data transfer peripheral and said power management control circuit includes a peripheral clock circuit and an external clock line and a selective coupling between said data transfer peripheral selectively to said peripheral clock circuit and said external clock line, whereby said data transfer peripheral is loadable when coupled to said peripheral clock circuit and operable in response to the external clock line to transfer data externally.
7A. The electronic circuit claimed in claim 7 wherein said peripheral includes an audio peripheral.
7B. The electronic circuit claimed in claim 7 wherein said peripheral includes a display peripheral.
7C. The electronic circuit claimed in claim 7 further comprising a direct memory access (DMA) coupled to said memory and to said buffer, whereby the portions of resulting information are successively transferred.
7D. The electronic circuit claimed in claim 7 wherein the controlled sequence further includes an interval wherein the peripheral and buffer and power management control circuit are fully powered and other parts of the electronic circuit are in a low power state.
7E. The electronic circuit claimed in claim 7 wherein said power management control circuit includes a state machine for establishing the controlled sequence.
9A. The electronic circuit claimed in claim 9 further comprising a control module and a security firewall coupled to said processor and wherein said processor is operable to export at least one security firewall reset value to said control module.
9B. The electronic circuit claimed in claim 9A further comprising an interconnect security firewall coupled to said processor and wherein said processor has an access control that controls access to a peripheral, and security is maintained by isolating at least one reset value of said interconnect security firewall from access control that controls access to at least one peripheral.
9C. The electronic circuit claimed in claim 9B further comprising a direct memory access block and access control to said at least one peripheral interface from said direct memory access block, and security is maintained by isolating at least one reset value of said interconnect security firewall from access control that controls access to said at least one peripheral interface from said direct memory access block.
9D. The electronic circuit claimed in claim 9A further comprising a display controller and a memory controller and an access control that controls access to said memory controller from said display controller, and an interconnect security firewall coupled to said processor, and security is maintained by isolating at least one reset value of said interconnect security firewall from the access control that controls access to said memory controller from said display controller.
9E. The electronic circuit claimed in claim 9A further comprising an interconnect security firewall coupled to said processor and a memory that is configurable as secure in said interconnect security firewall and said memory is power controlled by said power management circuit, and wherein said power management circuit is publicly configurable, and security is maintained by a security circuit operable to directly monitor power control of said memory coupled to said power management circuit thereby to provide security for said memory when configured as secure.
9F. The electronic circuit claimed in claim 9E wherein said processor has secure code operable to use the on/off control of the memory in said power management circuit to perform a fast purge of all the memory secure content.
11A. The electronic circuit claimed in claim 11 wherein said DVFS circuit is operable to select the voltage from a number of voltage levels and that number lies in a range between two (2) and eight (8) inclusive.
11B. The electronic circuit claimed in claim 11 wherein said DVFS circuit is operable to transition between voltage-frequency pairs of the voltage and clock frequency depending on operating conditions of said power-managed processing circuit.
11C. The electronic circuit claimed in claim 11 wherein said DPS circuit is further operable to restore processing power and initiate a context restore by said power-managed processing circuit.
15A. The electronic camera system claimed in claim 15 further comprising a direct memory access (DMA) having DMA channels and having a smart standby mode wherein said DMA is operable to assert a standby signal when all the DMA channels are disabled and said power management control circuit is responsive to said standby signal to shut down said interconnect clock and to restart said interconnect clock when a said DMA channel is enabled thereafter.
15B. The electronic camera system claimed in claim 15A wherein said DMA has retention flipflops and a DMA memory with retention.
15C. The electronic camera system claimed in claim 15 further comprising a camera interface functional clock having a camera interface functional clock frequency and additionally comprising a display functional clock having a display functional clock frequency, and wherein said power management control circuit is operable to select between at least a first operating performance point and a second higher operating performance point for said camera interface, each performance point including a respective pair of nominal voltage and frequency, said selection compatible with said camera interface functional clock frequency and said display functional clock frequency as related to camera resolution and display resolution.
15D. The electronic camera system claimed in claim 15 further comprising an interrupt controller coupled to said digital signal processor wherein said camera interface has a sleep state and a wakeup state, and wherein said power management control circuit is operable to couple an interrupt to said interrupt controller upon completion of a transition between sleep and wake-up in said camera interface.
15E. The electronic camera system claimed in claim 15 wherein said digital signal processor is operable for image transcoding.
15F. The electronic camera system claimed in claim 15 further comprising a wireless video modem coupled to said digital signal processor.
17A. The mobile video electronic system claimed in claim 17 for use with an automotive vehicle having windows wherein said video display includes a transparent organic semiconductor display provided on at least one of said windows.
17B. The mobile video electronic system claimed in claim 17 wherein said video display includes a digital light processor display.
17C. The mobile video electronic system claimed in claim 17 further comprising a digital video circuit and a television antenna coupled to said digital video circuit and said processor operable to configure and control said digital video circuit.
17D. The mobile video electronic system claimed in claim 17 wherein said processor has an active power state, a low power retention state and an off state, and said processor is responsive to an interrupt to wake up said processor.
19A. The manufacturing process claimed in claim 19 further comprising stuffing a printed wiring board with the at least one integrated circuit.
19B. The manufacturing process claimed in claim 19A further comprising stuffing a printed wiring board with a second integrated circuit coupled to the power management circuitry.
19C. The manufacturing process claimed in claim 19A further comprising stuffing the printed wiring board with at least one additional component and providing an enclosure defining a wireless product.
19D. The manufacturing process claimed in claim 19A further comprising programming a non-volatile memory with power management information and coupling said non-volatile memory to said at least one integrated circuit.
19E. The manufacturing process claimed in claim 19D further comprising programming the non-volatile memory with revised power management information for conditional dynamic power switching of the processor combined with the voltage and frequency scaling.
Notes: Aspects are paragraphs which might be offered as claims in patent prosecution. The above dependently-written Aspects have leading digits and internal dependency designations to indicate the claims or aspects to which they pertain. Aspects having no internal dependency designations have leading digits and alphanumerics to indicate the position in the ordering of claims at which they might be situated if offered as claims in prosecution.
It is emphasized here that while some embodiments may have an entire feature totally absent or totally present, other embodiments, such as those performing the blocks and steps of the Figures of drawing, have more or less complex arrangements that execute some process portions, selectively bypass others, and have some operations running concurrently sequentially regardless. Accordingly, words such as “enable,” “disable,“ “operative,” “inoperative” are to be interpreted relative to the code and circuitry they describe. For instance, disabling (or making inoperative) a second function by bypassing a first function can establish the first function and modify the second function. Conversely, making a first function inoperative includes embodiments where a portion of the first function is bypassed or modified as well as embodiments where the second function is removed entirely. Bypassing or modifying code increases function in some embodiments and decreases function in other embodiments.
A few preferred embodiments have been described in detail hereinabove. It is to be understood that the scope of the invention comprehends embodiments different from those described yet within the inventive scope. Microprocessor and microcomputer are synonymous herein. Processing circuitry comprehends digital, analog and mixed signal (digital/analog) integrated circuits, ASIC circuits, PALs, PLAs, decoders, memories, non-software based processors, microcontrollers and other circuitry, and digital computers including microprocessors and microcomputers of any architecture, or combinations thereof. Internal and external couplings and connections can be ohmic, capacitive, inductive, photonic, and direct or indirect via intervening circuits or otherwise as desirable. Implementation is contemplated in discrete components or fully integrated circuits in any materials family and combinations thereof. Various embodiments of the invention employ hardware, software or firmware. Process diagrams herein are representative of flow diagrams for operations of any embodiments whether of hardware, software, or firmware, and processes of manufacture thereof.
While this invention has been described with reference to illustrative embodiments, this description is not to be construed in a limiting sense. Various modifications and combinations of the illustrative embodiments, as well as other embodiments of the invention may be made. The terms “including”, “includes”, “having”, “has”, “with”, or variants thereof are used in the detailed description and/or the claims to denote non-exhaustive inclusion in a manner similar to the term “comprising”. It is therefore contemplated that the appended claims and their equivalents cover any such embodiments, modifications, and embodiments as fall within the true scope of the invention.
This application is related to provisional U.S. Patent Application No. 60/645,875, (TI-39850PS) filed Jan. 21, 2005, titled “Smartreflex—DVFS: Adaptive, Dynamic Voltage & Frequency Scaling,” and said provisional patent application is incorporated herein by reference. This application is related to provisional U.S. Patent Application No. 60/645,861, (TI-39851PS) filed Jan. 21, 2005, titled “Smartreflex—DPS: Adaptive Dynamic Power Switching,” and said provisional patent application is incorporated herein by reference.