






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Minimization of power consumption in portable and battery- powered embedded systems has become an important aspect of pro- cessor and system design. Opportunities for power optimization and tradeoffs emphasizing low power are available across the en- tire design hierarchy. A review of low-power techniques applied at many levels of the design hierarchy is presented, and an example of low-power processor architecture is described along with some of the design decisions made in implementation of the architecture.
Keywords— Circuit design, clock distribution, clock gating, CMOS circuits, CPU microarchitecture, instruction set design, low-power architecture, low-power design, low-power synthesis, low-power systems, power dissipation, power minimization, power optimization, RISC, state assignment, system design.
The increasing prominence of portable electronics and consumer-oriented devices has become a fundamental driving factor in the design of new computational elements in CMOS very large-scale integration (VLSI) systems on a chip. As the focus shifts away from tethered desktop computing to the mobile appliance, a rethinking of design optimizations traditionally targeting ever-increasing per- formance goals and high clock rates at almost any cost are required in order to optimize battery life and extend the utility of these devices. The trend in the desktop world of continuous growth in complexity and size of the underlying CPU in terms of instruction issue strategies and the sup- porting microarchitecture needs to be re-examined for these devices, as the tradeoffs in energy consumption versus the improved performance obtained may dictate a different set of design choices. Power consumption arises as a third axis in the optimization space in addition to the traditional speed (performance) and area (cost) dimensions. Improvements in circuit density and the corresponding increase in heat generation must be addressed even for high-end desktop systems. Current trends in technology scaling of CMOS circuits cannot be reliably sustained
Manuscript received December 29, 2000; revised June 10, 2001. The author is with Motorola Inc., Austin, TX 78729 USA. Publisher Item Identifier S 0018-9219(01)09683-9.
without addressing power consumption issues. Envi- ronmental concerns relating to energy consumption by computers and other electrical equipment are another reason for interest in low-power designs and design techniques. Low-power design can be an important element in low- ering system cost as well. Smaller packages, batteries, and reduced thermal management overhead result in less costly products, with higher reliability as an added benefit. Size, available power budget, and weight of a device are important metrics, and to a large extent, the power source is the pri- mary determinant of these metrics. Energy efficient designs maximize the useful lifetime of this source, while attempting to meet throughput and peak performance requirements of the overall application. Power efficient design implies that the system minimizes the peak demands on this source, thus improving its operating efficiency. The rate of energy use can have a dramatic effect on the amount of energy avail- able from a battery source as well as its cost [1], [2], thus, there is value in not only minimizing average power con- sumption, but also peak power consumption as well. Portable product utility is constrained by the physical size and weight of the power source. Current battery technologies, such as Nickel–Metal Hydride systems, are available in “AA” sizes with a capacity of 1600 mAh at a nominal voltage of 1.2 V. For a portable device containing a pair of these cells, run-time between charges of approximately 4 h is possible when the system is dissipating 1 W of average power. For a device to remain usable for a month between charges, the average power dissipation must drop below 5 mW. For systems with an active duty cycle of 10%, the power consumed by the entire system when active must be less than 50 mW, sev- eral orders of magnitude below today’s notebook computing devices. Opportunities for design tradeoffs emphasizing low power are available across the entire spectrum of the overall de- sign process for a portable system, and are effectively ap- plied at many levels of the design hierarchy. From algorithm selection to silicon process technology details, opportunities abound. Generally speaking, the higher the level of abstrac- tion, the greater the opportunity for power savings. Much re- search as well as practical development has occurred in the
0018–9219/01$10.00 © 2001 IEEE
1576 PROCEEDINGS OF THE IEEE, VOL. 89, NO. 11, NOVEMBER 2001
past 30 or so years regarding low-power design. In the last decade, popularity of the subject has produced a wealth of technical information [3]–[7], as well as annual international symposia and workshops dedicated to latest research and de- velopments [8]–[10]. While the bulk of commercial activity addressing low-power processor systems has focused on well-known clocked CMOS design styles, important research and commercial work in the area of asynchronous logic design techniques continues as an alternative approach to lowering power dissipation in systems. These techniques may also provide a solution to the increasing problem of clock man- agement and distribution as device frequencies approach and even exceed 1 GHz. While not the focus of this paper, the interested reader is referred to the overview presented by Hauck [11] as a starting point for asynchronous design styles.
II. POWER DISSIPATION IN CMOS CIRCUITS
Power dissipated in CMOS circuits consists of several components as indicated in (1)
The individual components represent the power required to charge or switch a capacitive load ( ), short circuit power consumed during output transitions of a CMOS gate as the input switches ( ), static power consumed by the device ( ), and leakage power consumed by the de- vice ( ). Components and are present when a device is actively changing state, while the components and are present regardless of state changes. The largest active component, , is defined as
(2)
where represents the capacitance being switched, is the supply voltage, corresponds to the change in voltage level of the switched capacitance, represents a switching activity factor based on the probability of an output transition, and represents the frequency of oper- ation. The product is also referred to as the effective switched capacitance, or. In most circuits, is equal to , so (2) is commonly written as
(3)
The term occurs due to the overlapped conduc- tance of both the PMOS and NMOS transistors forming a CMOS logic gate as the input signal transitions. This term has a complicated derivation, but in simplified form can be written as [12]
(4)
where represents the average current drawn during the input transition. is minimized for a single gate with short input rise and fall times, and with long output transition
times, thus presenting a tradeoff in device sizing. When a set of gates is considered, it is generally optimal to target equal input and output transition times. For large devices such as input–output (I/O) buffers or clock drivers, special design considerations are often used to minimize the overlap current [13]. For properly sized and ratioed gates, the contribution to overall dynamic power due to is on the order of 10%–20%, although this factor may increase with increased device scaling [14]. is not usually a factor in pure CMOS designs, since static current is not drawn by a CMOS gate, but certain cir- cuit structures such as sense amplifiers, voltage references, and constant current sources do exist in CMOS systems and contribute to overall power. is due to leakage currents from reversed biased PN junctions associated with the source and drain of MOS transistors, as well as subthreshold conduction currents. The leakage component is proportional to device area and tem- perature. The subthreshold leakage component is strongly dependent on device threshold voltages, and becomes an im- portant factor as power supply voltage scaling is used to lower power. For systems with a high ratio of standby opera- tion to active operation, may be the dominant factor in determining overall battery life. Minimization of these components of power dissipation is important in designing low-power systems, and there are complex interactions that require tradeoffs to be made in- volving each. Active power minimization involves reducing the magnitude of each of the components in (3). With its quadratic contribution in the power equation, reduction of supply voltage is an obvious candidate technique for power reduction, and can be applied to an entire design. Reducing supply voltage by a factor of two ideally results in a factor of four reduction in. There are limitations to simple supply voltage scaling, however, since the performance of a gate is reduced as is lowered, due to the reduced satu- ration current available to charge and discharge load capac- itance. Gate delay dependence on is approximated [15] by
The energy-delay product is minimized when is equal to. Reducing from (a typ- ical value for 0.18 m technology) to results in an approximate 50% decrease in performance while using only 44% of the power. This is a useful point of leverage if performance goals can still be met. It would seem that re- ducing threshold voltage of the devices and, thus, a corre- sponding reduction in offers a path to arbitrarily low- power consumption. Unfortunately, there are practical limits to the degree that can be lowered, due to reduced noise margins and since exponentially increased leakage cur- rent becomes a limiting factor in contribution to [16]. Controllability of variations in is also an issue in manufacturing, and provides a lower bound on supply voltage scaling [17]. A methodology for selecting supply and threshold voltage targets is further described in [18].
MOYER: LOW-POWER DESIGN FOR EMBEDDED PROCESSORS 1577
Fig. 1. Glitching in static logic and restructuring for elimination.
lower input capacitance by a factor of 2 to 3 however since PMOS devices are not driven by logic inputs, thus for the dynamic gate may be much lower, even though it has a higher activity factor. For a wider input static gate, such as a four-input NAND , , and is 0.0586. For the dynamic version,. Increasing the number of inputs leads to a lower probability of an output transition. On the other hand, input capacitive loading in- creases if delay time is held constant, since larger transistors must be used. Intrinsic capacitance of the gate also increases. The power consumed in distributing the precharging signal to the dynamic gate must also considered. A number of dif- ferent logic families (both static and dynamic) have been pro- posed in the literature including variants of pass transistor logic (CPL), and cascode voltage switched logic (DCVSL) offering area, speed, and power tradeoffs. An extensive re- view of the many types of clocked and static logic families may be found in [24]. Static logic may suffer from hazards (or glitches) that re- sult in unnecessary power consumption due to differences in gate input arrival times. These differences in arrival times may cause multiple output transitions, resulting in a value for that is 1. As an example, the output of a simple two-input circuit in Fig. 1 has unnecessary signal transition from high low high due to the difference in arrival times of in- puts X and Y. This hazard may be propagated through ad- ditional logic levels and result in multiple gate output tran- sitions before the circuit resolves to a final state, even if the final state is unchanged from the previous state. As the number of logic levels increases in a combinational circuit, the probability of unequal path delays from input to output increases, thus increasing the potential for glitching. Logic restructuring and path delay balancing may be used to reduce glitch power, which can be responsible for 20% of overall dynamic power consumption in combinational circuits [25]. Fig. 1 shows a restructured circuit realizing the same logic function with reduced glitching. Path delay balancing may be performed by either resizing of individual logic gates to equalize path delay, or by insertion of additional logic ele- ments in faster paths. Since both methods can result in addi- tional switched capacitance, they must be used judiciously.
Fig. 2. Equivalent logic mappings with different power costs.
Dynamic logic does not suffer from glitch power since all inputs must be valid before the gate evaluates. Technology mapping of logic functions to gates may choose to optimize power at the expense of area. A robust standard cell library for low power will include gates with a variety of logic functions as well as multiple drive strengths for each function. Complex gates (AND – OR – INVERT , OR
MOYER: LOW-POWER DESIGN FOR EMBEDDED PROCESSORS 1579
Fig. 3. Input and transistor reordering.
Signals with a high probability of switching (high transition density) are placed nearest the output. A set of rules for ordering simple and complex gates and experimental results are found in [29], where an average 10% savings in power was found between the worst and best orderings. Sequential circuits are also a focal point for power reduc- tion. Clocks typically consume a large fraction of overall power in synchronous systems; depending on the design target, 30%–40% of total system power is consumed by clock generation and distribution. Low-power optimizations are targeted at minimizing unnecessary transitions on clock signals as well as in combinational logic used for state ma- chine control. Storage element design is also important, and speed/power tradeoffs are available here as well [30]. State assignment for low power has also been explored. In general, the state assignment problem has targeted minimizing area, and this approach tends to reduce power as well. As with combinational logic minimization, area may be traded for reduced power. Low-power state assignment techniques augment the state transition graph (STG) of the state ma- chine with state probabilities and transition probabilities between states, and use these probabilities to guide the state assignment. Adjacent binary encodings are assigned to states connected with high probability edges of the graph. This minimizes the number of state signal transitions, thus attempting to minimize transitions in the next state and output signal combinational logic. One approach attempts to minimize area in conjunction with switching activity by generating multiple sets of state encodings with similar switching energy costs from which a final assignment is chosen on the basis of area [31]. Clock power reduction is important in synchronous sys- tems, since as was noted earlier, it can contribute to a large portion of the overall power budget. Minimization of clock power falls in to several categories including clock distri- bution optimizations, clock gating, and low-swing clocking techniques. Gated clocking is a commonly applied technique used to reduce power by gating off of clock signals to registers, latches, and clock regenerators. Gating may be done when there is no required activity to be performed by logic whose inputs are driven from a set of storage elements. Since new output values from the logic will be ignored, the storage elements feeding the logic can be blocked from updating
Fig. 4. Clock gating.
to prevent irrelevant switching activity in the logic. Fig. 4 shows an example of clock gating. Clock gating may be applied at the function unit level for controlling switching activity by inhibiting input updates to function units such as adders, multipliers, and shifters whose outputs are not required for a given operation. Entire subsystems may be gated off by applying clock gating in the distribution network. This provides further savings in addition to logic switching activity reduction since the clock signal loading within the subsystem does not toggle. Overhead associated with generation of the enable signal must be considered to ensure that power saving actually occurs, and this generally limits the granularity at which clock gating is applied. It may not be feasible to apply clock gating to single storage elements due to the overhead in generating the enable signal, although self-gating storage elements have been proposed that compare current and next state values to enable local clocking [32]. If the switching rate of input values is low relative to the clock, a net power saving may be obtained. Reduced swing clock drivers have been explored as an- other method to reduce clock power. Reducing clock driver supply voltage by 50% and providing specially designed flip- flops that receive the half-swing clock results in a theoretical power saving of 75%, and a reported savings of 63% in [33]. The drawback to this approach is an increase in the flip-flop delay of 2. Another approach in [34] reduces the swing of a pair of complementary clocks by 50% and overcomes the issue with increased flip-flop delay by providing full to the clocked nodes of the flip-flop circuit. In this approach the theoretical power savings is 50%, and an actual savings of 43% is achieved. Differential clock signaling is an alternative that allows the clock swing to be reduced well below 50% of. Dif- ferential signaling typically consumes static power, thus the power savings due to a differential clock network are depen- dent on the operating frequency of the clock and the load being driven. With a signaling technique using a pair of dif- ferential lines that swing at , the theoretical saving in the clock distribution network is 60%. Static power con- sumption in the driver and receiver reduces this saving. Duty cycle and receiver skew effects must also be managed. Using both edges of the clock to update registers is an option that allows equivalent throughput at half the orig- inal clock rate, thus cutting clock power in half. Dual-edge- triggered flip-flops (DETFF) have been developed that up- date state on both edges of the clock. Although larger than standard single-edge flip-flops, and increased loading on the clock, the 50% reduction in clock distribution power can re- sult in significant power reductions. One drawback of the
1580 PROCEEDINGS OF THE IEEE, VOL. 89, NO. 11, NOVEMBER 2001
[40]. Alternate approaches for standby power reduction are to raise the threshold of all devices while in standby mode by providing a transistor well biasing circuit.
Low-power embedded processors fall into several cate- gories. At the extreme low power range, these are typically 8-bit CPUs with power dissipation measured in microwatts, which power devices such as digital watches, calculators, and other long-life devices. In the midrange, 16- and 32-bit pro- cessors power handheld devices with dissipation measured in milliwatts. Higher performance 32-bit processors dissipating watts of power cover high-end applications, such as notebook computers. In the midrange of performance, one example of a 32-bit processor architecture designed specifically for portable and low-power applications is the Motorola M CORE family. This architecture and its implementations were specifically designed from the ground up to address low-power em- bedded applications with a range of power and performance constraints, but targeted initially at the midrange applica- tions requiring tens to hundreds of MIPS of performance, while dissipating tens to hundreds of milliwatts of power. Cost is an important factor that cannot be ignored in the design of a commercial, high-volume application, and cost considerations were balanced with power optimizations in both the architecture definition and implementation aspects. Some details of the architecture and implementations are described in the following subsections.
A. Instruction Set Design, Programmer’s Model
At the architectural level, the specification of an instruc- tion set can have a large effect on system power dissipa- tion as well as performance. As is to be expected, there are tradeoffs to be made. RISC, CISC, and VLIW architectures are examples of approaches to instruction set design, each with their own merits. For low-cost systems, instruction code density is an important factor, since the cost of instruction memory is directly related to the size of the binary images of the programs embedded into the system. CISC designs typ- ically provide good code density due to the complexity of individual instructions and due to their use of variable length instruction formats. Traditional RISC and VLIW instruction sets trade code density for simplified decoding and straight- forward instruction fetch units. While code density remains high with CISC approaches, the complications in control cir- cuitry for fetching, decoding, and sequencing tend to cause increased overhead in power, and either cost or performance tend to suffer. For a low-power focus, the desire is to have as large a per- centage of power consumption utilized for the fundamental computational operations required by the algorithm being ex- ecuted. Fetch, decode, and sequencing of instructions repre- sents overhead associated with managing the computational task, and an approach that reduces the power in these areas is important. Traditional RISC architectures define a fixed- length instruction that is not highly encoded, thus reducing
the sequencing overhead significantly. Typically a load–store (or register–register) model is chosen in which operations are performed using a set of general-purpose registers, and the only operations on memory are loads and stores. Ease of decoding and the ability to pipeline operations with low control overhead are advantages. The increased instruction fetch bandwidth required represents a drawback, as the typ- ical RISC instruction is encoded as a 32-bit word. Average in- struction lengths for CISC architectures with variable length instructions are on the order of 22–24 bits, and these instruc- tions have more semantic content than a RISC instruction. They typically support operations on memory directly, via a set of complex addressing modes. An instruction set design based on a fixed-length 16-bit instruction format was selected for the M CORE architec- ture, as well as a RISC load-store model with a 16-entry general purpose register file, where the only operations per- formed on memory are loads and stores. The ISA departs from a pure RISC approach in several areas to achieve im- proved code density, such as support for instructions that save and restore a group of general-purpose registers to and from memory for increased code density. Relative to a 32-bit ISA, the limitations of 16-bit instructions cause longer exe- cution pathlengths due to limitations on the size of imme- diate fields, effective address offsets, and a 2-operand in- struction format in which one of the source registers also serves as the destination. Using compiler-driven instruction definition during development minimized these limitations. Trace analysis was used to minimize instruction bandwidth requirements and instructions were selected to minimize the overhead for common code sequences. The instruction set supports byte, halfword and word (32-bit) data types, and a complete set of logical, shift, bit manipulation, and arithmetic operations that operate on a register and either another register or a 5-bit immediate field. Load and store instructions provide a single base 4-bit scaled displacement addressing mode. A single condition code bit is defined, and conditional branch instructions test the value of this bit for either true or false. Branch instructions support an 11-bit displacement field, sufficient to satisfy 98% of all displacements. Providing multiple compare instructions allows any Boolean relationship of variables to be generated, and requires less precious opcode space than providing conditional branch instructions that test for multiple conditions, due to the size of branch dis- placements. Sizes of immediate fields are limited, so special instructions are provided for generation of commonly occurring constants. Constants from 0–128, all powers of two, and all powers of two 1 are available directly in the ISA. Larger arbitrary values are either synthesized with a pair of instructions, or are loaded from memory as 32-bit constants with a PC-relative load word instruction (LRW). A single storage location for these large constants may be referenced by multiple LRWs, thus amortizing the storage cost. Conditional move, increment, decrement, and clear instructions are provided to eliminate some branches. A complete description of the MCORE processor architecture and ISA can be found in [41] and [42].
1582 PROCEEDINGS OF THE IEEE, VOL. 89, NO. 11, NOVEMBER 2001
By careful selection of instruction semantics and imme- diate/displacement widths, we find that object code compiled for this ISA is less than 70% the size of code for a typical 32-bit RISC, which results in a significant cost advantage. The penalty in terms of pathlength increase (number of in- structions executed) across a variety of embedded applica- tions is on the order of 15%–20% relative to a 32-bit RISC instruction encoding. Similar conclusions were reached in [43]. From a power perspective, this means memory traffic (in bytes) is reduced dramatically since instructions are 16 bits in length. In spite of the greater number of instructions executed, the overall power consumption is reduced, since on-chip instruction memory power consumption is typically 1.5–2 greater than the CPU in our designs, and instruction memory traffic has been reduced by 40%. Other advantages related to power and performance are realized. For designs utilizing cache memory, the instruction cache capacity is effectively doubled, since approximately twice as many instructions can be stored. Cache miss rates of typically sized embedded cache designs (4–32 kB) may be reduced 30%–50% with this effect. Given that accessing the next level of the memory hierarchy can result in factors of 20 greater power consumption or more due to traversing chip boundaries, this reduction in miss rate is significant. In cacheless designs where memory is embedded on-chip, the power consumption of memory is reduced due to the reduced capacity requirement. For on-chip memories or caches, a 32-bit data path is typically provided, which results in double the effective fetch bandwidth relative to a 32-bit instruction word, allowing instruction memory to be accessed every other cycle on average, even with a target of single cycle instruction execution. For low-cost designs where instruction memory is off chip, the ability to fetch a pair of instructions at a time across a 32-bit interface reduces effective memory latency. Even a narrow 16-bit interface path results in greatly reduced performance degradation relative to a wider instruction word. After selecting the set of operations to minimize code size and execution pathlength and defining the instruction for- mats, the task of encoding of opcodes remained. We per- formed an initial encoding assignment and then iterated it to reduce the number of terms and literals in a two-level pro- grammable logic array targeted for controlling a processor data path which implemented the data operations defined by the instruction set, as well as control of an instruction prefetch and program counter unit. By viewing this task as a state assignment problem for sequential logic minimization, each instruction opcode is assigned to a state. A Moore-ma- chine model was used in which control outputs are a function of present state only. Inputs to the state machine are the next instruction opcode, and all states are completely intercon- nected via an exhaustive set of edges. Next state equations are ignored, since they are a function of only the inputs, not current state. By casting the opcode assignment problem in this fashion, state assignment tools were used to automate the process. This process was iterated as the control signal requirements were altered to further minimize area. Often, multiple equivalent control sets can be used to obtain the de-
sired function. As an example, to implement the logical NOT instruction, we can either exclusive–or the source value with 1 in a logical unit, or we may perform a subtract from 0 with inverted carry-in in the add unit. Since the energy used by the logical unit is lower than the adder, it is the obvious first choice. In some circumstances, however, utilizing the adder results in lower overall energy usage, since it may allow addi- tional reduction in control circuitry transitions by collapsing control terms in the output equations of the control decoder. This is particularly true when the instruction or function in question has a low dynamic frequency of execution. Com- piler-directed feedback was used to determine the best trade- offs between control decoder power and execution unit power in a number of instances. In addition to area minimization, minimizing control unit power consumption is desired. This was done by instru- menting an instruction set simulator to capture the frequency of execution of all instructions, as well as instruction pairs. Opcodes were ordered by frequency and by frequency of execution pairs, and an initial state assignment was performed on the most frequently occurring instructions, with the objective of assigning adjacent states to frequently occurring instruction pairs. The remainder of the state assignments were made with automated state assignment tools. We achieved control section power savings of approx- imately 15% with this approach to opcode assignment for our baseline machine, with no increase in area. Beyond just CPU power reduction, system-level power savings are supported by the ISA with three low-power op- erating mode instructions. The WAIT, DOZE, and STOP in- structions are provided to enable a system to be placed in in- creasingly lower power modes as appropriate for operating conditions. When the CPU encounters one of these instruc- tions, it completes all previous instructions in the pipeline, finishes all outstanding prefetch operations, and then enters a state where internal clocks are gated off. A pair of control outputs that encode the present operating mode are driven to the rest of the system to allow specific low-power oper- ating conditions to be defined by the system designer. The CPU will exit these modes and resume normal operation once a pending wakeup request is recognized. As an example of system use, the WAIT mode might be used to disable only the CPU, while keeping system PLLs and peripherals ac- tive. If there is not expected to be a need for processing for a longer period of time, the DOZE mode might be de- fined to disable PLLs and certain peripherals that are unnec- essary in that mode. Wakeup from this state would entail a longer period of time. The STOP mode can be used to enter a deep power-down state in which all clocks are stopped at the system level, and power supply voltage either reduced or totally switched off to major subsystems.
B. CPU Microarchitecture While many processor implementation techniques in extremely high-end designs are focused on extracting all possible instruction-level parallelism, these techniques tend to have a correspondingly high level of power inefficiency.
MOYER: LOW-POWER DESIGN FOR EMBEDDED PROCESSORS 1583
Fig. 8. Address adder input and output gating.
majority of input value cases, but not for all cases. By doing so, critical path timing is not affected by the delay circuit, but a large majority of calculations are completed prior to the delay interval. Precomputation is used in the address calculation logic for load and store instructions to detect when the displacement field of the instruction is zero. In this case, no addition of displacement to the base register is required, so the adder is bypassed and remains idle. Fig. 8 shows the bypass logic. From our measurements, almost 50% of load and stores have a zero displacement field. Floorplanning of the datapath elements was driven by switching activity measurements gathered while executing a set of embedded benchmarks. Relative utilization of each function unit was coupled with capacitive loading of the units, and block placement was performed to minimize the overall bus loading and effective switching frequency of source and destination buses. Source and destination bus segmentation allowed infrequently utilized function units to be placed farther from the centralized register file, and decoupled such that bus segments attached to these units are only driven when the function unit is required for instruction execution. Branch instruction execution is well recognized as a critical factor in processor performance due to the need to discard operations following a taken branch and then refill the instruction pipeline. Due to the relatively high frequency of change of flow events ( 18% in our systems), branch acceleration techniques are an important element of a microarchitecture. Increased complexity must be balanced with increased power consumption. Our initial implementations of the M CORE ISA include a dedicated branch adder specifically designed for high-speed branch target calculations. Since the branch displacement is limited to a signed 11-bit value, a specialized design results in faster target calculations than a generalized 32-bit adder. We implement an aggressive branch taken instruction timing of
Fig. 9. Two-level clock distribution network.
two cycles, with single cycle branch not taken timing. No branch prediction logic is required in this approach. This allows increased performance and less wasted processing to occur, but has some significant circuit timing implications. One implication is that the input values to the branch adder cannot be completely clock gated based on fully decoding a branch instruction and still meet timing requirements. Instead, we perform an incomplete decoding of the branch opcode by combining it with the infrequently executed en- codings for Add and Subtract with Carry (ADDC, SUBC). This reduces the gating function delay to a single gate. Noting that many embedded applications spend a signif- icant portion of execution inside program loops, we have augmented the branch unit with a program loop folding capability that captures information about program loops for use during successive iterations of the loop. This loop folding hardware removes the need to fetch, decode, or exe- cute loop branches for most loop iterations, thus increasing performance and lowering power [44].
C. Clock Distribution Clock power represents a large portion of overall power consumption in a design optimized for low power. Efficient distribution and gating mechanisms are essential for reducing this component. By adopting a two-level structure for this task, improved power efficiency is realized. The first level of logic is used to align clock edges at various points in the circuitry and to generate two nonoverlapped phases. These nonoverlapped phases are then distributed to a set of clock regenerating cells with clock gating control inputs. Gating of clocks can be performed at both levels depending on the granularity required. Fig. 9 illustrates the two-level approach. Clock tree generation algorithms have been adopted that allow an unbalanced H-tree structure to be used. As opposed
MOYER: LOW-POWER DESIGN FOR EMBEDDED PROCESSORS 1585
Fig. 10. Clock aligner and low-capacitance balancing nodes.
to traditional clock trees that balance loading at all nodes of the H-tree by adding additional routing capacitance to short nodes, a loading algorithm is adopted that resizes interme- diate devices in the clock aligner and regenerator cells to obtained balanced delays. These intermediate device nodes have much lower capacitance than the routing, so small in- creases in capacitance can be used to obtain the balancing, thus resulting in lower wasted power relative to the tradi- tional tree generation approaches. Delayed clocks are also produced using a similar sizing approach. Fig. 10 illustrates the clock aligner structure and the balancing nodes.
Low-power design requires attacking the power dissipa- tion problem at all levels of the design hierarchy. No single target will be sufficient to extract the efficiency required for future handheld products. Voltage scaling has limits that will require additional advanced techniques to be applied at the algorithmic and architectural level for additional power sav- ings. Dynamic voltage scaling based on system loading and processing requirements is an emerging technique with great promise. Clock power optimizations will remain a challenge as higher frequencies and increased pipelining are applied to extract increased performance. Parallelism must be effi- ciently extracted without sacrificing the goal of low power. Software generation strategies that are based on power cost functions will be increasingly common in these future sys- tems. Even though a broad range of power reducing tech- niques have been proposed, the challenge still remains to in- tegrate them into a design flow in which power plays as large a role as performance.
[1] R. A. Powers, “Batteries for low power electronics,” Proc. IEEE , vol. 83, pp. 687–693, Apr. 1995. [2] J. Costello, “Choosing the right battery to power the portable product,” Electron. Prod. , Dec. 1992. [3] A. P. Chandrakasan and R. W. Broderson, Low Power Digital CMOS Design. Norwell, MA: Kluwer, 1995. [4] A. Bellaur and M. I. Elmasry, Low Power Digital CMOS Design: Circuits and Systems. Norwell, MA: Kluwer, 1996. [5] J. M. Rabaey and M. Pedram, Eds., Low Power Design Methodolo- gies. Norwell, MA: Kluwer, 1996. [6] M. S. Elrabaa, I. S. Abu-Khater, and M. I. Elmasry, Advanced Low- Power Digital Circuit Techniques. Norwell, MA: Kluwer, 1997. [7] L. Benini and G. De Micheli, Dynamic Power Management: Design Techniques and CAD Tools. Norwell, MA: Kluwer, 1998. [8] Power Driven Microarchitecture Workshop , in conjunction with ISCA ’98, Barcelona, Spain, June 28, 1998.
[9] IEEE Alessandro Volta Memorial Workshop Low-Power Design , Como, Italy, Mar. 1999. [10] Int. Symp. Low Power Electronics and Design , Rapallo/Portacino Coast, Italy, July 2000. [11] S. Hauck, “Asynchronous design methodologies: An overview,” Univ. Washington, Tech. Rep. UW-CSE-93-05-07, May 1993. [12] A. Bellaur and M. I. Elmasry, Low Power Digital CMOS Design: Circuits and Systems. Norwell, MA: Kluwer, 1996, ch. 4, pp. 135–137. [13] H. J. M. Veendrick, “Short-circuit dissipation of static CMOS cir- cuitry and its impact on the design of buffer circuits,” IEEE J. Solid- State Circuits , pp. 468–473, Aug. 1984. [14] S. R. Vemuru and N. Scheinberg, “Short circuit power dissipation estimation for CMOS logic gates,” IEEE Trans. Circuits Syst. , pp. 762–765, Nov. 1994. [15] A. Bellaur and M. I. Elmasry, Low Power Digital CMOS Design: Circuits and Systems. Norwell, MA: Kluwer, 1996, ch. 3, p. 90. [16] D. Liu and C. Svensson, “Trading speed for low power by choice of supply and threshold voltages,” IEEE J. Solid-State Circuits , pp. 10–17, Jan. 1993. [17] S. W. Sun and P. Tsui, “Limitation of CMOS supply–voltage scaling by MOSFET threshold variation,” in Proc. CICC , 1994. [18] C. Chen, J. Shott, J. Burr, and J. D. Plummer, “CMOS technology scaling for low voltage low power applications,” in Proc. IEEE Symp. Low Power Electronics , San Diego, CA, Oct. 10–12, 1994, pp. 56–57. [19] A. Chandrakasan, S. Sheng, and R. W. Brodersen, “Low-power CMOS digital design,” IEEE J. Solid State Circuits , pp. 473–484, Apr. 1992. [20] A. Chandrakasan and R. W. Brodersen, “Minimizing power consumption in digital CMOS circuits,” Proc. IEEE , vol. 83, pp. 498–523, Apr. 1995. [21] Y. F. Tong, R. A. Rutenbar, and D. F. Nagle, “Minimizing floating-point power dissipation via bit-width reduction,” in Power Driven Microarchitecture Workshop in conjunction with ISCA ’98, Barcelona, Spain, June 28, 1998, pp. 114–118. [22] M. J. Schulte, J. E. Stine, and J. G. Jansen, “Reduced power dissi- pation through truncated multiplication,” in Proc. IEEE Alessandro Volta Memorial Workshop Low-Power Design , Como, Italy, Mar. 1999, pp. 61–69. [23] Z.-L. He, K.-K. Chan, C.-Y Tsui, and M. L. Liou, “Low power mo- tion estimation design using adaptive pixel truncation,” in Int. Symp. Low Power Electronics and Design , Monterey, CA, Aug. 1997, pp. 167–172. [24] K. Bernstein et al. , High Speed CMOS Design Styles. Norwell, MA: Kluwer, 1998, ch. 2–3, pp. 51–131. [25] A. Raghunathan, S. Dy, and N. K. Jha, “Register transfer level power optimization with emphasis on glitch analysis and reduction,” IEEE Trans. Computer-Aided Design , pp. 1114–1131, Aug. 1999. [26] V. Tiwari, P. Ashar, and S. Malik, “Technology mapping for low power,” in 30th ACM/IEEE Design Automation Conf. , 1993, pp. 74–79. [27] C.-Y. Tsui, M. Pedram, and A. M. Despain, “Technology decom- position and mapping targeting low power dissipation,” in 30th ACM/IEEE Design Automation Conf. , 1993, pp. 68–73. [28] M. Gallant and D. Al-Khalili, “Synthesis of low power circuits using combined pass logic and CMOS topologies,” in 10th Int. Conf. Mi- croelectronics , Dec. 1998, pp. 59–62. [29] W.-Z. Shen, J.-Y. Lin, and F.-W. Wang, “Transistor reordering rules for power reduction in CMOS gates,” in Proc. ASP-DAC ’95 , 1995, pp. 1–6. [30] R. P. Llopis and M. Sachdev, “Low power, testable dual edge trig- gered flip-flops,” in Int. Symp. Low Power Electronics and Design , Aug. 1996, pp. 341–345. [31] D. Chen, M. Sarrafzadeh, and G. Yeap, “State encoding of finite state machines for low power design,” in Proc. ISCAS ’95 , vol. 3, pp. 2309–2312. [32] A. G. M. Strollo, E. Napoli, and D. De Caro, “New clock-gating techniques for low-power flip-flops,” in Int. Symp. Low Power Elec- tronics and Design , July 2000, pp. 114–119. [33] H. Kojima, S. Tanaka, and K. Sasaki, “Half-swing clocking scheme for 75% power saving in clocking circuitry,” IEEE J. Solid-State Cir- cuits , pp. 432–435, Apr. 1995. [34] J.-C. Kim, S.-H. Lee, and H.-J. Park, “A high-speed 50% power- saving half-swing clocking scheme for flip-flop with complementary gate and source drive,” in ICVC ’99 6th Int. Conf. VLSI and CAD , 1999, pp. 574–577.
1586 PROCEEDINGS OF THE IEEE, VOL. 89, NO. 11, NOVEMBER 2001