Download Project report

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Transmission line loudspeaker wikipedia , lookup

Multidimensional empirical mode decomposition wikipedia , lookup

Thermal runaway wikipedia , lookup

Electric power system wikipedia , lookup

Electronic engineering wikipedia , lookup

Tube sound wikipedia , lookup

Ground (electricity) wikipedia , lookup

Rectifier wikipedia , lookup

Time-to-digital converter wikipedia , lookup

Negative feedback wikipedia , lookup

Power inverter wikipedia , lookup

Pulse-width modulation wikipedia , lookup

Electrical substation wikipedia , lookup

Stray voltage wikipedia , lookup

Resistive opto-isolator wikipedia , lookup

Power engineering wikipedia , lookup

Power over Ethernet wikipedia , lookup

Surge protector wikipedia , lookup

History of electric power transmission wikipedia , lookup

Voltage optimisation wikipedia , lookup

Power MOSFET wikipedia , lookup

Islanding wikipedia , lookup

Immunity-aware programming wikipedia , lookup

Schmitt trigger wikipedia , lookup

Transistor wikipedia , lookup

Power electronics wikipedia , lookup

Buck converter wikipedia , lookup

Regenerative circuit wikipedia , lookup

Earthing system wikipedia , lookup

Current mirror wikipedia , lookup

Switched-mode power supply wikipedia , lookup

Mains electricity wikipedia , lookup

Alternating current wikipedia , lookup

Opto-isolator wikipedia , lookup

CMOS wikipedia , lookup

Flip-flop (electronics) wikipedia , lookup

Transcript
Multi Threshold Technique for High Speed and Low Power
Consumption CMOS Circuits
Aanchal Gupta and Xiaoyu Hu
ECE 6332 – Fall 2012
University of Virginia
<ag4zw, xh5yz>@virginia.edu
ABSTRACT
In this paper, we propose a novel multi threshold technique for
high speed and low power consumption sequential CMOS
circuits. MTCMOS circuits integrate the low leakage during the
sleep mode and high performance during the active mode.
However, many current MTCMOS flip-flop designs do not have
the ability to save the state during the sleep mode without the use
of additional complex data storing circuitry. In this paper, we
propose two novel master-slave flip-flop designs based on the
MTCMOS that saves the state using an outer feedback loop. The
already existing sleep signal is used for data retention and
recovery, which eliminates the need for any extra control signals
for these flip-flops. The flip-flop designs are optimized in area or
performance and there always exists a trade off between the two.
Keywords – MTCMOS, power gating, clock gating, leakage
reduction, data preserving sleep mode
multi oxide devices or incorporating parallelism in the circuit [1].
In this paper we use multi threshold CMOS circuits. A MTCMOS
circuit may use 2 (high/low) or 3 (high/low/normal) different
voltage levels for the threshold voltage [2]. This technique utilizes
low threshold voltage devices in the critical path of the circuit,
and high threshold voltage transistors elsewhere. The high
threshold voltage transistors have intrinsically very low leakage
current. In an MTCMOS design, the low threshold voltage
transistor reduces the delay time and the high threshold voltage
transistor cuts off the leakage paths.
2. DESIGN METHODOLOGY
To achieve the goal of having high performance and low power
consumption flip flops, we use the following dynamic techniques
in our design methodology –power gating, clock gating and data
retention cell.
2.1 Power Gating
1. INTRODUCTION
All the circuit designs today are tending towards high
performance and low power characteristics because of the high
demand in portable and handheld devices. The demand for low
power circuits is accelerated by the restricted battery capacity in
these handheld devices. In such an environment, it is essential to
save the power when the device is not involved in any useful
computations, i.e. when it is inactive. The power dissipation in
sequential circuits could be because of three major reasons:
dynamic power dissipation, short circuit power and leakage power
dissipation. The dynamic power dissipation is given by [1]:
2
Pdynamic  Cload VDD
 fclock
In order to achieve low dynamic power dissipation, we can exploit
the fact that voltage scaling leads to a quadratic decrease in the
dynamic power dissipation. So a low supply voltage is preferred,
but it comes with a cost of degrading the performance of the
device by slowing the circuit. The gate delay is given by [1]:
td 
Cload VDD
k VDD  Vth 
2
In order to keep the gate delay as small as possible and to keep the
circuit operating at high performance, we can use low threshold
voltage transistors. However, the leakage current increases
exponentially with low threshold voltage, which in turns leads to
large static power dissipation. Large leakage current is
undesirable for circuits during the sleep mode, and it should be
minimized.
The various structural design possibilities to achieve the above
goal could be to use voltage islands, multi threshold circuits,
The low threshold voltage transistors are power gated, i.e., they
are stacked in series with high threshold voltage devices, called
gating transistors that connects them to the power supply and the
ground. The gating transistors are turned on during the active
mode and are turned off during the sleep mode, which cuts off the
critical path from supply voltage or ground thereby reducing the
leakage current tremendously. The gating transistors should be
wide enough to provide enough current to the devices in the
critical path during the active mode. Power gating can be done in
two ways—distributed power gating and centralized power gating
[2]. The distributed power gating uses individual footer and
header switches for each cell while the centralized gating uses a
single header/footer for multiple cells. Though it is easier to
implement the distributed power gating and it more immune to
voltage droops and ground bounce, it comes with the area
overhead and can degrade the performance due to stack effect [2].
Also, the centralized gating can take advantage of the fact that the
leakage paths are mutually exclusive and hence spares them from
being extremely large. Whether to choose one type of gating over
the other depends on the circuit to be implemented in order to
avoid the sneak leakage paths [3]. Usually, the circuits where the
circuitry for data storage is isolated, coarse gating can be used [2].
2.2 Clock Gating
The clock gating masks the clock signal when the circuit is not
performing useful computation [4]. It uses an enable control
signal from the circuit to control the clock signal during the sleep
mode. In our design we used a NOR gate as the combinational
circuit to generate the gated clock signal and the inputs to the
NOR gate are clock bar and sleep signal.
2.3 Data Retention Cell
The current sequential circuit designs do not focus on maintaining
the state of the flip-flop while moving to the sleep mode.
However, it is important for the flip-flop devices to maintain their
state while they are in the sleep mode and retrieve it after coming
out of the sleep state. For this, a special data retention circuitry is
required. This circuitry should be such that it does not increase
the leakage during the sleep mode and at the same time does not
degrade the performance while in the active mode. It is also
essential that it utilize the circuitry and the control signals from
the current design for storing the data [2]. It keeps the circuit
simple, as it does not require any additional circuitry and control
signals. This reduces the extra capacitive load on the critical path,
thereby making the circuit faster.
Fig.2 Pseudo-static MTCMOS flip-flop with outer feedback [2]
3.1.2 C2MOS static MTCMOS flip-flop with outer
feedback
3. Framework
The block diagram that indicates design methodologies and circuit
structure is shown in Fig.1. Clock gating is achieved using either
NOR or NAND gate depending on the specific signal requirement
during sleep mode.
In this flip-flop, the non-feedback part is gated in a centralized
manner, which reduces the total width of the gating transistors.
During sleep mode, state is saved with the inverting feedback on
nodes isolated from the critical path, which allows the use of
centralized gating without the risk of having possible sneak
leakage current path. The circuit schematic is shown in Fig. 3.
Fig.1 Block diagram
3.1 Flip-flop structures
3.1.1 Pseudo-static MTCMOS flip-flop with outer
feedback
An outer feedback path controlled by sleep signal is added to
traditional master-slave flip-flop. Feedback path (SLEEP
transmission gate) becomes active during sleep mode and forms a
static latch reusing the inner feedback circuit to store state. Low
threshold transistors are on the critical path and are gated with
high threshold transistors in a distributed mode. The feedback
path is implemented with high threshold transistors. The circuit
schematic is shown in Fig.2.
Fig.3 C2MOS static MTCMOS flip-flop with outer feedback [2]
3.1.3 Master-side MTCMOS flip-flop with outer
feedback
In this circuit, outer feedback is added only on the master side of
the master- slave flip-flop to latch state during sleep mode, and
only one inner feedback inverter is reused. The critical path is
gated in the centralized manner. The circuit schematic is shown in
Fig.4.
and the whole flip-flop is reactivated. The circuit schematic is
shown in Fig.6.
Fig.6 SRAM MTCMOS flip-flop [5]
Fig.4 Master-side MTCMOS flip-flop with outer feedback [2]
3.1.4 Conventional MTCMOS flip-flop with data
preserving sleep mode
In this circuit, outer feedback is added only on the master side of
the master- slave flip-flop to latch state during sleep mode, and
only one inner feedback inverter is reused. The critical path is
gated in the centralized manner. The circuit schematic is shown in
Fig.5.
3.2 Metrics Analysis
Metrics analyzed for the five reference flip-flops are setup time,
leakage power, and estimated area, as listed in Table.1. Leakage
power is calculated for input-output pattern of DQ=00 as an
example of illustration. Area is estimated with the total width of
the transistors, which have a minimum length decided by the
technology.
Table 1. Metrics analysis for reference flip-flops
Setup time
(ps)
Leakage power
(DQ=00, W)
Estimated area
(nm)
1
12.0
3.597e-9
14580
2
16.3
2.681e-9
19980
3
30.4
34.21e-12
18090
4
3.0
19.91e-12
14310
5
1.0
9.515e-15
11610
From the metrics analysis, SRAM flip-flop is seemingly
advantageous over the other four in that a great drop in setup
time, leakage power, and area is seen. However, due to the fact
that it is holding the state in a data retention cell away from the
critical path, extra signal design is required for data retrieving
before activating the flip-flop.
Fig.5 Conventional MTCMOS flip-flop with data preserving sleep
mode [5]
Leakage current scaling with the power supply is shown in Fig.7.
Situations with different input-output patterns are taken into
consideration.
3.1.5 SRAM MTCMOS flip-flop
In this flip-flop, critical path is gated to the ground through one
centralized NMOS sleep switch. A data retention cell, which is
similar to a standard 6T SRAM cell used in caches, is added to the
slave latch through two high threshold NMOS pass transistors.
The data retention cell is controlled by a sleep transmission gate,
and retains the last data sampled by the master latch when clock
transitions low. At the end of sleep mode, sleep signal transitions
high before clock is enabled. Depending on the data stored in the
data retention cell, either SRAM-node3 or the output node is
discharged to achieve data retrieving. Clock signal is then enabled
(a) DQ=00
(b) DQ=01
4.1.2 Rising-edge MTCMOS flip-flop with slave-side
outer feedback design 2
(c) DQ=10
(d) DQ=11
Fig. 7 Leakage current of the reference flip-flops during sleep
mode
4. Proposed MTCMOS flip-flop designs
Based on the design methodologies illustrated in the previous
part, two MTCMOS flip-flops with outer feedback are proposed.
4.1 Flip-flop structures
4.1.1 Rising-edge MTCMOS flip-flop with slave-side
outer feedback design 1
Fig.9 Proposed MTCMOS flip-flop design 2
In the proposed MTCMOS flip-flop design 2, one inverter and
two transmission gates controlled by gated clock signal are added
on the slave side to form a static latch aiming at storing states
during sleep mode. Similarly, as the proposed design 1, extra data
retrieving structure is avoided due to the fact that the output node
is on the data retention loop. Two transmission gates are used to
separate the added half loop to make sure that the data retention
part would not influence the main path during active mode.
4.2 Metrics Analysis
Metrics including Clock to Q delay, setup time, leakage power,
and estimated area are analyzed and listed in Table.2.
Table 2. Metrics analysis for proposed flip-flops
Clock to Q
delay
(ps)
Setup time
(ps)
Leakage
power
(DQ=00, W)
Estimated
area
(nm)
1
25.34
1.86
3.597e-9
12420
2
52.68
12.74
3.584e-9
9720
The proposed design 2 circuit has the smallest area overhead
among the seven flip-flops studied in this paper. But delay metrics
are somehow sacrificed.
Fig.8 Proposed MTCMOS flip-flop design 1
In the proposed MTCMOS flip-flop design 1, critical path is
constructed with low threshold transistors, which ensures fast
operation as compared to single threshold flip-flop during active
mode. Transistors away from the critical path have high threshold
that helps reduce leakage. Low threshold transistors are power
gated with sleep transistors in a centralized manner. The feedback
path of the slave latch is reused in the outer feedback to retain
data during sleep mode. The output node is in the data retention
loop, which helps avoid extra data retrieving process and avoid
slowing down the flip-flop operation when coming out of the
sleep mode.
Leakage current during sleep mode is analyzed and compared to
single threshold flip-flop that has the same structure and sizing.
As is shown in Fig.10, the leakage sees a drastic decrease for any
input-output pattern.
.
latch during the sleep mode to save the state. Also, since state is
saved on an isolated node, centralized gating is used for both the
designs. This is based on the principles we acquired from our
groundwork study for an efficient MTCMOS flip flop. The
proposed flip flop circuits demonstrates high performance in the
active mode and low leakage current in the sleep mode when
compared with the same flip flop circuit using all low threshold
voltage transistors.
7. ACKNOWLEDGMENTS
We would like to thank Professor Mircea Stan and TA Mehdi
Sadi for giving us valuable suggestions over the semester that
helped us finish the project successfully with a great deal of
learning.
Fig.10 Leakage current comparison between the MTCMOS flipflop and corresponding single threshold flip-flop
5. SIMULATION SETUP
In order to verify our design we use the NCSU FreePDK 45nm
technology to simulate the circuits with supply voltage, V DD
varying from 0.8V to 1.1V. Both low threshold and high
threshold voltage models are used for simulations. The gating
transistors are sized 16 times the minimum size transistor and the
transistors on the critical path are sized 4 times the minimum size
transistor [2]. All the other transistors are kept minimum size. We
used the same sizing for all the simulations so as to compare the
results later. We also used input buffers to make the simulation
results as realistic as possible.
6. SUMMARY
We used a 45nm CMOS technology with power supply ranging
from 0.8V to 1.1V in this paper. We proposed two new
MTCMOS flip flop designs, one with high performance and the
other one with optimized area, both exhibiting low leakage power
in the sleep mode. Either one can be chosen depending upon the
application requirements. The proposed designs reuse the
transistors on the feedback path. They use an outer loop to form a
8. REFERENCES
[1] Rabaey, J. M., Chandrakasan, A., Nikolic, B. Digital
Integrated Circuits- A Design Perspective- 2nd Edition.
[2] Stan, M.R., Barcella, M. MTCMOS with outer feedback
(MTOF) flip-flops. In Circuits and Systems (ISCAS’03),
(May. 2003), 429-432.
[3] Calhoun, B.H.,Honore, F. A. and Chandrakasan, A. Design
Methodology for Fine-Grained Leakage Control in
MTCMOS. ISLPED’03, August 25-27, 2003, Seoul, Korea.
[4] Emnett, F. and Biegel, M. Power Reduction Through RTL
Clock Gating. SNUG San Jose 2000.
[5] Liu, Z., and Kursun, V. New MTCMOS Flip-Flops with
Simple Control Circuitry and Low Leakage Data Retention
Capability. In Electronics, Circuits and Systems (ICECS
2007), 1276-1279.