A New Clock Gated Flip Flop for Pipelining Architecture

The objective of the work is to design a new clock gated based flip flop for pipelining architecture. In computing and consumer products, the major dynamic power is consumed in the system's clock signal, typically about 30% to 70% of the total dynamic (switching) power consumption. Several techniques to reduce the dynamic power have been developed, of which clock gating is predominant. In this work, a new methodology is applied for gating the Flip flop by which the power will be reduced. The clock gating is employed to the pipelining stage flip flop which is active only during valid data are arrived. The methodology used in project named Selective Look-Ahead Clock Gating computes the clock enabling signals of each FF one cycle ahead of time, based on the present cycle data of those FFs on which it depends. Similarly to data-driven gating, it is capable of stopping the majority of redundant clock pulses. In this work, the circuit implementation of the various blocks of data driven clock gating is done and the results are observed. The proposed work is used for pipelining stage in microprocessor and DSP architectures. The proposed method is simulated using the quartus for cyclone 3 kit.


Introduction
In digital systems, power consumption becomes a most important parameter to be reduced.Clock gating is one of the design methodologies for reducing the power consumed by digital systems.Several gating methods like synthesis-based, data-driven method and auto-gated FFs (AGFF) are simple but yield relatively small power savings.In literature, several methods are been presented.In this paper [1] [2] Luca Benini et al. stated on Dy-namic power management (DPM) execution levels with a base number of dynamic segments or a base burden on such segments are given demand administrations to powerfully reconfiguring outline strategy DPM incorporates an arrangement of strategies that accomplishes vitality proficient calculation by specifically killing framework segments when they are unmoving.In this paper, study depends on a few ways to deal with framework level element power administration.M. Samy Hosny et al. [3] presented about late silicon process innovation headways have given chip planners joining capacities that were never conceivable, and have prompted another rush of complex ASICs (Applied Specific Integrated Circuits).These propelled forms accompany new difficulties.This paper shows a percentage of the difficulties in profound submicron advancements, which require new outline hones.We exhibit a few issues identified with timing techniques and timing conclusion that are experienced amid the outline of a FEC40 ASIC, and a system is proposed to moderate some of these issues.In [4] Chunhong Chen et al. display an action delicate clock tree development procedure for low power outline of VLSI clock systems.Chunhong Chen presents the term of hub distinction taking into account module action data, and demonstrates its association with the force utilization.A twofold clock tree is manufactured utilizing the hub distinction between various modules to upgrade the force utilization because of the interconnections and furthermore build up a technique to decide gating signals with least number of moves.After the clock tree is developed, the gating signs are upgraded for further power investment funds.Amir H. Farrahi et al. [5] examine lessening the force utilization of a synchronous computerized framework by minimizing the aggregate force devoured by the clock signals.Amir proposes three novel action driven issues: a clock tree development issue, a clock door insertion issue, and a zero-skew clock entryway insertion issue.The target of these issues is to minimize framework's energy utilization by building an action driven clock tree.This paper proposes an estimation calculation in view of recursive coordinating to take care of the clock tree development issue and furthermore propose an accurate calculation utilizing the dynamic programming.Shmuel Wimer et al. [6] [7] presented on Clock gating is extremely helpful for decreasing the force devoured by advanced frameworks.Three gating strategies are known.The most well known is union based, determining clock empowering signals in light of the rationale of the basic framework.An information driven system stops the vast majority of those and yields higher force investment funds, however, its usage is perplexing and application subordinate.Method three called auto-gated FFs (AGFF) is simple but yields nearly small power savings.This paper presents a novel method called Look-Ahead Clock Gating (LACG), which combines all the three.LACG processes the clock empowering signs of each FF one cycle early, taking into account the present cycle information of those FFs on which it depends.Shmuel Wimer et al. [8] proposed on VLSI chips have Gclock signal in these days a mainstream design methodology for less switching power consumption.This paper builds up a probabilistic model of the clock gating system that permits us to evaluate the normal force investment funds and the inferred overhead.Expressions for the force investment funds in a gated clock tree are displayed and the ideal gater fan-out is inferred, in light of flip-failures flipping probabilities and process innovation parameters.The timing ramifications of the proposed gating plan are examined.The gathering of FFs for a joint timed gating is likewise examined.

Literature Survey
In Literature several algorithm is proposed for the designing the structure for high-speed multiplier circuit.Recently hybrid methods were also proposed like wave pipeline structures when array multipliers were still dominating the world of computing device.In their paper [9] Alexandru Amaricai et al. have proposed a dedicated Divide add fused architecture which performs the combined operation of floating-point (FP) division and addition/subtraction.The fused design unit increases the accuracy and performance of applications where this combined operation is frequent, such as the interval Newton's method or the polynomial approximation.The proposed DAF unit even though looks like FP multiply-accumulate units the divider is designed based on digit-recurrence algorithms.The design tradeoff is lesser latency for best cost.In [10] a fused floating point based FFT implementation is proposed based on two fused floating-point operations.The proposed operation is based on fusing two-term dot product and an add-subtract unit.The work is further extended in the radix-2 and radix-4 butterflies implementation efficiently with the two fused floating-point operations.The paper proves that the fused FFT butterflies are about 15 percent faster and 30 percent smaller than a conventional implementation.Also the findings demonstrate the numerical results to be slightly more accurate through the usage of fewer rounding operations.Nikolaidis et al. [11] proposed a novel method for the accurate calculation of the transition activity at the nodes of a multiplier-accumulator (MAC) architecture for finite impulse response filters.The transition activity per bit of a signal word is modeled according to the dual-bit-type (DBT) model.An efficient analytical method based on multiplexing in time of signal sequences with known statistics has been proposed for the determination of the signal statistics at each node of the MAC architecture.The paper presents the experiments carried out both with synthetic and real data and proves its efficiency.Nowadays compressors are widely been used for multiplier implementation.A 16-Bit by 16-Bit MAC is implemented using Fast 5:3 Compressor cells.The cell is designed by applying two rows of fast 2-bit adder cells to five rows in a partial product matrix.The paper reports a 14.3% speed improvement in terms of XOR gate delay on the usage of compressor cell.For a dynamic CMOS circuit implementation using 0.225 μm bulk CMOS technology the reported speed improvement is 11.7% with 8.1% less power consumption.Young-Ho Seo et al. [12] proposed a new architecture of multiplier-and-accumulator (MAC) for high-speed arithmetic.The overall performance was elevated b proposing a CSA tree using 1's-complement-based radix-2 modified Booth's algorithm (MBA) and a modified array for the sign extension.The proposed tree architecture propagates the carries to the least significant bits of the partial products and generates the least significant bits in advance to decrease the number of the input bits of the final adder.The intermediate results are accumulated in the type of sum and carry bits through pipeling through which performance is improved.The paper reports the experimental results of the proposed architecture in 250 nm, 180 nm, 130 nm, and 90 nm standard CMOS library.Wen-Chang Yeh et al. [13] in their paper presented a novel split-radix fast Fourier transform (SRFFT) pipeline architecture design using mapping methodology.The latency between complex multiplication and butterfly operation is balanced.The reported power consumption is reduced by an amount of 15%.A redundant arithmetic based FFT butterfly implementation based on utilization of carry-save adders and a signed-digit representation of the multipliers in the multiplications is proposed in [14].Other works based on sum-of-product (SOP) blocks [15], fast multiplier [16] is done.Marc Daumas et al. [17] proposed a booth multiplier accepting both a redundant and redundant input with no additional delay.Other multiplier design includes Left-to-Right Array Multiplier Design proposed by Zhijun Huang et al. [18] which is based on signal flow optimization, left-to-right leapfrog (LRLF) signal flow, and splitting of the reduction array.In [19] Monica Donno et al. present a procedure in which low-power clock trees are acquired through forceful abuse of the clock-gating innovation.Recognizing elements of the technique are: 1) the capacity of figuring effective clock-gating conditions that go past the basic topological hunt of the RTL source code; 2) the ability of deciding the clock tree sensible structure beginning from a RTL depiction; 3) tThe capacity of incorporating into the expense work that drives the era of the clock tree structure both useful (i.e., clock enactment conditions) and physical (i.e., floor arranging) data; 4) the ability of creating a clock tree structure that can be integrated and directed utilizing standard, industrially accessible back-end instruments.

Background Methodology
Autogated circuits are now used in most of the computing devices where the timing errors are more.The circuit has a latch, a XOR gate.A master latch becomes transparent on the falling edge of the clock and the XOR gate indicates whether or not the slave latch should change its state.The output of the master latch should stabilize within the setup time of the next clock.The method suffers from two major drawbacks.Firstly, only the slave latches are gated, leaving half of the clock load not gated.Secondly, serious timing constraints are imposed on those FFs residing on critical paths, which avoid their gating.These drawbacks are rectified in look-ahead clock gating (LACG) which works on gating the master latch also, making it applicable for large and general designs and avoiding the tight timing constraints.LACG is based on using gates to generate clock enabling signals of preceding FFs.But the gate signal generator circuit has a narrow window around the clock rising edge.Figure 1 shows an example circuit and the power consumed by the extra latch can be reduced by gating its clock input clk_g.It is subsequently shown that clk_g probability is very low and it is therefore not further being gated.An overhead in this design is the consumption of power in the additional FF used for gating.
The design also requires proper signal sequencing.Even though clock gating is one of the important technique to reduce the dynamic power the application of Clock gating at all levels is a limiting factor due to designing the clock enabling signals is complex.Apart from the above diagram discussed the clock gating signals are derived by Pulse generators and clock generation circuits.The clock capacitive load occupies nearly 70% of their total load.The blocks are increasingly ordered by their data-to-clock activity ratio.In addition the switching of system's clock load is redundant, but consumes most of its power.The above issues can be solved by adding the data-driven clock gating methodology to the existing design.The data-driven gating method is shown in Figure 2.
Data-driven gating is illustrated in Figure 2. A flip flop finds out that its clock can be disabled in the next  cycle by XORing its output with the present input data that will appear at its output in the next cycle.The outputs of XOR gates are ORed to generate a joint gating signal for FFs, which is then latched to avoid glitches.The combination of a latch with AND gate is used by commercial tools and is called Integrated Clock Gate (ICG) [11].It is beneficial to group FFs whose switching activities are highly correlated.The work in [10] addressed the questions of which FFs should be placed in a group to maximize the power reduction, and how to find those groups.Data-driven gating suffers from a very short time-window where the gating circuitry can properly work.This is illustrated in Figure 2. The cumulative delay of the XOR, OR, latch and the AND gater must not exceed the setup time of the FF.Such constraints may exclude 5% -10% of the FFs from being gated due to their presence on timing critical paths [10].The exclusion percentage increases with the increase of critical paths, a situation occurring by downsizing or turning transistors of non-critical path to high threshold voltage (HVT) for further power savings.
The pipeline architecture block of an existing methodology is given in   The structure combines the selectivity and look-ahead architecture.The method is hybrid by combining the advantage of clock gating and data driven architecture, the analysis and results shows that the proposed method is advantage when compared to existing methods.Circuit implementation of data-driven clock gating is illustrated in Figure 2. A FF finds out that its clock can be disabled in the next cycle by XORing its output with the present input data that will appear at its output in the next cycle.The outputs of XOR gates are ORed to generate a joint gating signal for FFs, which is then latched to avoid glitches.The combination of a latch with AND gate is used by commercial tools.But the difficulty of data-driven gating is its design methodology.To maximize the power savings, the FFs should be grouped such that their toggling is highly correlated.

Proposed Methodology
Pipelining is a design technique to speed up the execution time of the computation circuits by which the performance and throughput will be improved.The methods under test for the proposed methodology use Flip-flops as the basic elements of pipelining and synchronize the data flow during computation.The elements chosen are with low latency and power consumption.
The pipeline architecture block of a existing methodology is given in Figure 3.The 3 stage pipeline architecture consists of 3 M-Bit flip-flops and gates as combinational block.Stage 1 and stage 3 in the diagram is clock gated and the amount of delay taken by stage is reduced by gating with a nominal power reduction.The proposed architecture is shown in Figure 4 where the additional flipflop is replaced with a multiplexer.The structure combines the selectivity and look-ahead architecture.The method is hybrid by combining the advantage of clock gating and data driven architecture.The analysis and results shows that the proposed method is advantage when compared to existing methods.

Result and Discussion
A 3 stage pipelining is designed using proposed FLIP FLOP.Timing analysis and power analysis is been done.The work is done with a 3 stage consisting of 3 combinational blocks and 3 sequential blocks.The block is designed for multibit upgrade.The design will be further improvised and tested for 5 stages with the proposed FLIP FLOP for a particular application.The combinational block is updated with array multiplier and RCA block to mock the actual pipeline stage in a processor core.The block is designed for multibit upgrade.The design will be further improvised and tested for 5 stages with the proposed FLIP FLOP for a SOC application.In the pipeling 3 stages are present.STAGE 1 & 3 corresponds to DDCG FLIP FLOP and stage 2 corresponds to combinational logic function.Table 1 gives the power analysis of the three blocks.While Table 2, Table 3 presents the Timing Analysis for Stage 1 & 3 and stage 2 respectively.While Table 4 provides the timing analysis of the proposed pipelining architecture using gated flipflop.

Conclusion
The design objective of the work for a new clock gated based flip flop for pipelining architecture is met.The method will be suitable for the pipelining used in DSP and Microcontroller devices.The clock gating will increase the performance and reduce the power consumption.The Selective Look-Ahead Clock Gating reduces the power by reducing the ON period of the device based on computing the clock enabling signals of each FF one cycle ahead of time, based on the present cycle data of those FFs on which it depends.In this work, the design is done to stop the majority of redundant clock pulses.The power analysis and timing analysis for the different blocks involved in the look-ahead clock gating is observed.From the analysis, it's found that the proposed method consumes less power when compared to the conventional method.The power consumption of the buffer stages is reduced in the proposed method.In near future, optimistic methodology will be adopted to reduce the delay further in the processing element block.

Figure 3 .
The 3 stage pipeline architecture consists of 3 M-Bit flip-flops and gates as combinational block.Stage 1 and stage 3 in the diagram is clock gated and the amount of delay taken by stage is reduced by gating with a nominal power reduction.The proposed architecture is shown in Figure4where the additional flipflop is replaced with a multiplexer.

Figure 3 .
Figure 3.The clock gated pipeline architecture structure.

Table 3 .
Timing analyzing of the stage 2.

Table 4 .
Power analysis for clock gating based on proposed flip flop.