Download Active-Mode Leakage Reduction with Data

Transcript
Comb.
logic
D
D
D
D
D
SET
SET
SET
(a)
SET
SET
CLR
CLR
CLR
CLR
CLR
Enable signal
clock gating circuit
Virtual ground
0
clock
0
0
Real ground
Sleep switch
Fig. 2.
Retention switch
(b)
(x)
Proposed circuits to combine clock gating and power gating.
associated with the clock gating signal. Their approach reduces
active-mode leakage of flip-flops with the dynamic body biasing.
However, the body biasing technique requires significant design and
area overheads from the biasing circuits and voltage regulators.
Kim et al. [9] have proposed a tri-mode power gating approach
that provides a choice between a large leakage reduction without data
retention (IDLE) and an intermediate level of leakage reduction with
data retention (PARK). The authors of [9] add a single PMOS switch
to an NMOS footer switch in parallel to provide the intermediate
power-saving mode. However, their intermediate mode is applied to
an entire submodule, and cannot be used for a fine-grained RTPG
approach. We exploit the idea of the intermediate power gating, and
apply a similar approach into our RTPG.
III. DATA -R ETAINED P OWER G ATING
A. Integrated Clock and Power Gating
Most commercial synthesizers [15], [17] support automatic insertion of clock gating logic without any modification of RTL codes.
The inserted clock gating logic has clock gating control and enable
signals. Clock signals are transparent during enable periods, and
masked during disable periods. During a given masked period, the
state of clock-gated flip-flops stays unchanged. As a consequence of
recent product architectures as well as commercial synthesis tools’
capabilities, flip-flops are masked for most of the IC’s running time
[10]. This offers an immediate motivation: If we could apply a power
gating scheme to flip-flops during this masked period, then we could
reduce active-mode leakage power. However, active-mode power
gating requires that internal data state be retained, and according to
existing practice, this requires huge overheads on both operation (e.g.,
data control to save and restore) and circuit design (e.g., retention
flip-flops).
In this work, we introduce a new switch circuit to combine clock
gating and power gating as shown in Figure 2. In the figure, the
switch consists of two transistors; one is a normal sleep switch and
the other is a retention switch. When the clock gating is disabled, the
sleep switch is off. However, the retention switch induces a threshold
voltage drop between virtual ground and real ground. This voltage
drop reduces the operating voltage of flip-flops and leakage current.
However, the flip-flops can retain the previous state with the reduced
voltage.
The idea of a retention switch has been previously proposed by
Kim et al. [9], as mentioned above in Section II. However, their
technique requires additional layout area to implement N-well for
the PMOS transistor. The PMOS can be replaced with an NMOS
transistor by connecting the source and gate terminals to virtual
ground. With such an approach, although the virtual ground may
rise up to Vn,th (NMOS threshold voltage), the flip-flops can retain
state with reduced leakage.
Figure 3 shows HSPICE simulation results for data-retained power
gating of a DFQ flip-flop in TSMC 65GP technology. Figure 3(a)
active leakage reduction
(y)
Fig. 3. HSPICE results for DFQ (TSMC 65GP) cell. (a) Gated-clock (clk),
clock enable (en) signals and virtual ground voltage (vssv). (b) Current plot
on VSS (black: w/o power gating, red: DRPG).
shows the voltage of virtual ground according to the clock enable
signal (en). Figure 3(b) shows the current (on VSS) of the flip-flop
for the DRPG and conventional (no power gating) cases. During
the clock- and power-enabled period (en = 1), both cases show
the same leakage power consumption. During power-gated (clockdisabled) periods (en = 0), the proposed retention switch sustains the
voltage of virtual ground (0.25V) and enables retention of the internal
status of logic. The supply voltage (0.75V) during the power-gated
periods is sufficient to retain the flip-flop data [12]. With the increased
virtual ground voltage, our power gating approach achieves significant
leakage savings (35%).
With conventional power gating, the voltage of virtual ground
goes to supply voltage, which causes a large inrush current upon
wake-up. It is because of this inrush current that conventional power
gating is not suitable for use during active mode. However, in our
approach, inrush (discharge) current is small ((x) in Figure 3) due to
the suspended virtual ground voltage, and the inrush current overhead
is compensated during the idle state ((y) in Figure 3).
B. Flip-Flop Implementation
The suspended virtual ground affects the output value of the flipflop during power gating. Non-zero output value causes significant
leakage overhead on the flip-flop’s fanout cells. To solve this problem,
we add a level-shifter circuit into the flip-flop. Figure 4 shows a
schematic of the proposed flip-flop circuit. We add P0, N0 and N1
switches into the conventional flip-flop circuit to adjust the voltage
level of output port (Q).
A conventional level shifter has significant delay and area overhead. For example, HSPICE-measured delay overhead can be over
400ps in a 65nm LP process at worst corner; such a delay impact
cannot be ignored. We observe that a conventional level shifter
changes operating voltage level between two different operating
voltages, while the proposed circuit changes ground level from Vn,th
to 0V . Considering this requirement, we can move the level shifter
circuit location from the output to the input of the final buffer. This
change reduces the delay overhead, and also allows use of minimum
transistor size in the implementation.
When the gate voltage of the Pinv transistor is Vn,th , Pinv turns
ON and Q will be VDD. Hence, the P0 and N0 transistors turn OFF
and N1 is completely ON. Finally, the gate voltage level of Ninv
transistor goes to 0V . On the other hand, when the gate voltage of