TDEB Top Bar

Trending
Semiconductor Industry News — The Digital Electronics Blog
Follow Us

TDEB Masthead

The Semiconductor Hub

Semiconductors.  Chips and Systems.  Innovation.

Indexed by leading Search Engines, AI and referenced by Engineers worldwide 500+ Articles 10M+ Pageviews 30+ Reports 50+ Citations

Interview Question: Raise Clock Speed 10 Percent Without More Power

The Editor's Desk
by
0
Share Facebook X LinkedIn WhatsApp Email

Increasing clock speed without increasing power...

The following are given:

  • You need to increase the clock speed of a chip by 10%.
  • You must not increase its dynamic power consumption.
  • The only design parameter you can change is the supply voltage.
  • Assume that short-circuit current is negligible.

How much do you need to decrease the supply voltage to achieve this goal?

What problems will you encounter if you continue to decrease the supply voltage?

In each low-power approach described below, identify which components of a typical power equation are being minimized or maximized.

  1. Designers scaled down their ASIC.
  2. The transistors were made larger.
  3. All inputs to functional units are registered.
  4. Gray coding of signals is used for address signals.

What the question is testing

This is a classic low-power interview question. It checks whether you know the dynamic power equation well enough to use it in your head, whether you understand that voltage and speed are linked, and whether you can map a design technique to the term of the equation it changes. Try it yourself before reading on.

The short answers

  • Voltage: reduce the supply by about 4.7%, to about 95.3% of its original value.
  • Problems with going lower: the logic gets slower, so the faster clock becomes harder to meet; noise margins shrink; and leakage becomes a larger share of power, especially if threshold voltages are lowered to recover speed.
  • Scaling down the ASIC: reduces capacitance, and usually allows a lower supply voltage.
  • Larger transistors: increase capacitance, but give more drive current and faster switching, which can be traded for lower voltage or shorter transitions.
  • Registered inputs: reduce the activity factor by removing glitches that would otherwise ripple through each functional unit.
  • Gray-coded addresses: reduce the activity factor, because sequential Gray-code values differ in only one bit.

The equation you need

With short-circuit current neglected, dynamic power is switching power:

P = ½ x ActFact x f x C x V2

where ActFact is the average number of transitions per signal per clock cycle, f the clock frequency, C the switched capacitance and V the supply voltage. This is the form used in the University of Waterloo ECE 327 notes credited at the end; data-sheet versions such as Texas Instruments' application report on CMOS power express the same physics through a power-dissipation capacitance (TI SCAA035B). Only f and V change in this question.

Deep dive: the numbers and details

This part works through each answer with the arithmetic. Skip it if the overview is all you need.

Part 1: the voltage reduction

Dynamic power must not rise while f goes up by 10%:

P_new / P_old = (f_new / f_old) x (V_new / V_old)^2 <= 1
1.10 x (V_new / V_old)^2 <= 1
V_new / V_old <= sqrt(1 / 1.10) = 0.9535

So the supply must drop by at least 4.65%. On a 1.0 V design that means 0.953 V; on a 1.2 V design, about 1.144 V.

Check: 1.10 x 0.95352 = 1.10 x 0.9091 = 1.000. Power is unchanged.

Part 2: why lowering voltage fights the faster clock

Lower voltage means less drive current, so gates get slower. A common first-order model, also used in the ECE 327 notes, is:

delay  ~  V / (V - Vt)^2

Worked example (illustrative values: V = 1.0 V, Vt = 0.3 V):

Before: 1.0    / (0.7)^2    = 1.0    / 0.490 = 2.041
After:  0.9535 / (0.6535)^2 = 0.9535 / 0.427 = 2.233
Delay increase = 2.233 / 2.041 = 1.094  (about 9.4% slower)

The clock period must shrink to 1 / 1.10 = 0.909 of its old value, while every gate becomes 9.4% slower. The critical path must therefore have used no more than 0.909 / 1.094 = 0.831 of the old period. In other words, the plan works only if the design already had about 17% timing slack. That is the real catch in the question: power can be held constant on paper, but the chip may no longer meet timing.

Keep lowering the voltage and the problems grow:

  • Speed: as V approaches Vt, the (V - Vt)2 term collapses and delay rises steeply.
  • Leakage: lowering Vt to win back speed makes subthreshold leakage grow rapidly, so static power can wipe out the dynamic saving.
  • Noise margins: supply noise and ground bounce become a larger fraction of the signal swing.
  • Memories and analog: SRAM cells, sense amplifiers, PLLs and I/O often have a higher minimum voltage than logic, which forces separate supplies.
  • Variation: at low voltage, delay becomes much more sensitive to process and temperature variation, so more margin is needed.

Part 3: which term each approach changes

ApproachTerm(s) affectedExplanation
1. Scaled down the ASICC reduced; V usually reducedSmaller transistors and shorter wires mean less capacitance per node, and newer processes run at lower supply voltages. Leakage per transistor may rise, which is the price.
2. Larger transistorsC increased; drive (speed) increasedWider transistors switch their loads faster but add gate capacitance. The speed can be traded for a lower V or a lower f elsewhere, and sharper edges shorten the time both transistors in the next stage conduct, which reduces short-circuit power.
3. Registered inputsActFact reducedIf inputs arrive at different times, a functional unit's outputs can glitch several times per cycle. Registering the inputs makes them change together, once per clock, removing those extra transitions. The registers add some capacitance and clock load.
4. Gray-coded addressesActFact reducedConsecutive Gray-code values differ in exactly one bit, while a binary counter changes close to 2 bits per step on average. For mostly sequential addresses, bus switching roughly halves.

Gray code versus binary, counted

Step     Binary   Bits changed   Gray   Bits changed
0 -> 1   000-001      1          000-001     1
1 -> 2   001-010      2          001-011     1
2 -> 3   010-011      1          011-010     1
3 -> 4   011-100      3          010-110     1
4 -> 5   100-101      1          110-111     1
5 -> 6   101-110      2          111-101     1
6 -> 7   110-111      1          101-100     1
7 -> 0   111-000      3          100-000     1
Total                14                      8

Over a full 3-bit cycle, binary makes 14 bit changes and Gray makes 8, a 43% reduction in activity on that bus.

Common mistakes in interviews

  • Scaling voltage linearly with frequency (answering "reduce by 10%"), which forgets that power goes with V2.
  • Forgetting that the same voltage cut slows the logic, so the 10% faster clock may not close timing.
  • Saying larger transistors always cost power; they add capacitance, but the speed they buy can be spent to save power elsewhere.
  • Mixing up power and energy: a faster clock at constant power finishes work sooner, so energy per task actually falls.

Further reading

The Editor's Desk
About the Author
The Editor's Desk
Share Facebook X LinkedIn WhatsApp Email

Post a Comment

0 Comments

Your comments will be moderated before it appears here.

Post a Comment (0)

#buttons=(Ok, Go it!) #days=(20)

Our website uses cookies to enhance your experience. Learn more
Ok, Go it!