An Energy-Efficient Resilient Flip-Flop Circuit With Built-In Timing-Error Detection and Correction
An Energy-Efficient Resilient Flip-Flop Circuit With Built-In Timing-Error Detection and Correction
ABSTRACT
This paper presents a timing error resilient flip-flop (ERFF)
circuit with high energy-efficiency. The proposed flip-flop design
automatically corrects timing errors and therefore minimizes the
performance degradation due to variations. The simulation
results show that the proposed design can achieve better energy-
efficiency in ISCAS'89 benchmark circuits and LEON3 integer-
processing unit, when compared to other state-of-the-art timing
error detection and correction methods.
I. INTRODUCTION
FIGURE 1. CIRCUIT ENERGY CONSUMPTION AS A FUNCTION OF
Today’s mobile devices must support various applications and OPERATING SUPPLY VOLTAGE IN A TYPICAL DIGITAL SYSTEM.
operating scenarios, while still maintaining reasonable operating and
standby time. However, mobile users actually seldom perform
In [7], Soft-Edge Flip-flop (SEF) uses two clock signals to create a
computation-intensive applications, such as playing games and
transparency window that can achieve timing error detection and
watching movies, over a long period of time on handheld devices. On
correction.
the other hand, they do spend much time on sending and receiving
text messages, surfing the web, and other less computation-intensive In this paper, we propose a new flip-flop circuit with built-in
applications. Therefore, processors for the handheld devices must be timing-error detection and correction capability, called error resilient
capable of operating at a wide dynamic range to support an even flip-flop (ERFF). We designed and implemented a LEON3 integer-
wider spectrum of application scenarios. Energy-efficient processor processing unit with the proposed ERFF circuit. ERFF not only
designs with wide operating range will no doubt be one of the key lowers the impact of variations to enhance the speed performance,
features of next-generation digital SoCs. but also reduces the power consumption to achieve higher energy-
efficiency. Compared to other state-of-the-art solutions, ERFF
The speed performance and energy consumption of a digital IC
realizes timing error detection and correction capability with the least
implemented in an advanced process are highly dependent on its
power consumption.
operating voltage, as shown in Fig. 1. At high supply voltages, the
circuit operates at higher speed but consumes more energy. On the
other hand, the circuit slows down significantly as the supply voltage II. ERROR RESILIENT FLIP FLOP (ERFF)
is scaled down, while significant energy consumption can be
potentially saved. The optimum energy operating point (0.4V in this Fig. 2 shows the proposed timing error resilient flip-flop (ERFF)
example) is around device threshold voltage [1]. As a result, circuits circuit, which is composed of four parts. The first two parts are
with dynamic voltage-frequency scaling (DVFS) capability [2] can similar to the master latch and the slave latch in traditional CMOS
achieve higher energy-efficiency and would become indispensable in transmission-gate based D-type flip-flops. The third part is a 2-1
the design of digital circuits, especially for energy-constrained multiplexer, which bypasses the master latch if the input signal “D”
applications. transition occurs after the rising clock “CLK” edge. The last part is
the late detector, which consists of a transmission-gate based XOR
One of the major challenges of employing DVFS technique is the and a dynamic logic circuit. When there exists a signal change in D
variations in process, temperature and supply voltage that can after the CLK goes high, the “Late” signal will be asserted and will
significantly impact circuit functionality and performance especially remain asserted until CLK goes low. This causes D to bypass the
at lower supply voltages. Several timing error detection and master latch of ERFF. As a result, the ERFF output signal “Q” will
correction methods have been proposed in the literature. In [3], the simply follow its input D for the remaining positive CLK cycle.
Razor circuit employs a flip-flop and a latch to determine whether
the incoming data is late, and uses the entire pipeline architecture to Fig. 3 illustrates the timing diagram of ERFF circuit for two
do error correction. The Razor II circuit uses a latch as the main different operating scenarios. We can see that if the data “D” is stable
circuit to correct errors, and employs a signal change detector to before the rising edge of the clock “CLK”, the output signal “Q” will
detect timing error [4]. On the hand, Bubble Razor technique tries to follow the data and ERFF acts just like a conventional flip-flop.
extend the equivalent operating cycle when timing errors occur, and However, if D fails to become stable before a CLK rising edge and
then performs the cycle extension in both data propagation directions continues to change after CLK rising edge, the “Late” signal will be
of the pipeline [5]. All the Razor series of techniques require asserted for that half CLK cycle and the ERFF output Q would
architectural effort to recover from or to avoid timing errors. In [6], follow its input D. As a result, the error detection window of ERFF
two similar timing borrowing methods, Double Sampling with Time approximately equals to the entire half clock cycle when CLK is high,
Borrowing (DSTB) and Transition Detector with Time Borrowing as shown in Fig. 3. The extra time beyond the error detection
(TDTB), were proposed. window is reserved as setup time to generate late signal and switch
multiplexer circuit.
VDD
0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0
(V)
TGFF
10 60 150 300 500 650 850 950
(MHz)
ERFF
27 120 300 650 950 1350 1650 1950
(MHz)
DSTB
29 130 350 650 1000 1350 1700 2000
(MHz)
TDTB
29 130 350 650 1000 1350 1700 2000
(MHz)
SEF
32 130 350 600 900 1250 1450 1700
(MHz)
FIGURE 5. NORMALIZED ENERGY CONSUMPTION OF DIFFERENT
ERROR DETECTION AND CORRECTION METHODS AT THE SAME
OPERATING FREQUENCY (FTGFF @ 1V) FOR THREE ISCAS’89
BENCHMARK CIRCUITS IN 90NM CMOS TECHNOLOGY.
V. CONCLUSIONS
In this paper, we propose a timing error resilient flip-flop (ERFF)
circuit and demonstrate its performance advantages through
implementations in ISCAS’89 benchmark circuits and the LEON3
integer-processing unit. Compared to other state-of-the-art timing
error detection and correction methods, the proposed ERFF circuit
consumes the least power with comparable error detection window
size. The LEON3 integer-processing unit implementation using the
proposed ERFF circuit can reduce its power by 18% and 7% at 1V at
0.3V, respectively, realizing high energy-efficiency across a wide
range of supply voltages.