SlideShare a Scribd company logo
1 of 4
CONTACT: PRAVEEN KUMAR. L (,+91 – 9791938249)
MAIL ID: sunsid1989@gmail.com, praveen@nexgenproject.com
Web: www.nexgenproject.com, www.finalyear-ieeeprojects.com
One-Cycle Correction of Timing Errors in Pipelines
with Standard Clocked Elements
Abstract:
One of the most aggressive uses of dynamic voltagescaling is timing speculation, which in turn
requires fastcorrection of timing errors. The fastest existing error correctiontechnique imposes a
one-cycle time penalty only, but itis restricted to two-phase transparent latch-based pipelines.We
perform one-cycle error correction by gating only the mainlatch in each stage of the pipeline that
precedes a failed stage.This new method is applicable to widely used clocking elements,such as
flip-flops and pulsed latches. The proposed architecture of this paper analysis the logic size, area
and power consumption using Xilinx 14.2.
Enhancement of the project:
Existing System:
Among the several published error correction schemes, instruction replay is the most time
consuming. If an error occurs at a particular stage, it is allowed to propagate until the last stage,
and then all stages in the pipeline are flushed. If there are N pipeline stages, this will require N
cycles. The failed instruction is then reissued to the pipeline, with the clock running at half
speed, which should ensure that the failing instruction does not cause another error. This rerun
takes 2N cycles, and so the completion time of the next instruction that follows the error is
delayed by 3N cycles. An example of instruction replay is given in Fig. 1(a). Instruction i2 fails
at stage C in cycle 4. The error propagates to stage E. Then, all the pipeline stages are flushed,
from cycles 7 to 11, and instruction i2 is issued again in cycle 12. Since the clock frequency has
now been halved, i2 is only completed at cycle 21, and so the completion time of instruction i3 is
delayed from cycles 7 to 22.
CONTACT: PRAVEEN KUMAR. L (,+91 – 9791938249)
MAIL ID: sunsid1989@gmail.com, praveen@nexgenproject.com
Web: www.nexgenproject.com, www.finalyear-ieeeprojects.com
Fig. 1.Examples of error correction after an error occurs at stage C in cycle 4. (a) Instruction
replay. (b) Microrollback. (c) Counterflow pipelining
There are two existing methods of error correction that have a one-cycle timing penalty: 1)
global clock gating and 2) Bubble Razor . Global clock gating is conceptually the simplest error
correction method of all. When a stage detects an error, all the stages in the pipeline are stalled
for one cycle, and shadow latch data are restored to the main flip-flop. However, it may take
multiple cycles for the clock-gating signal to be propagated to all the stages in complicated or
high-frequency designs, and hence its applicability is limited.
Bubble Razor represents a breakthrough, because it reduces the timing penalty to one cycle
based on local stalling, allowing it to be used in complicated and high-frequency designs.
However, unlike other methods, Bubble Razor can only be used for two-phase transparent latch-
based designs. Therefore, flip-flop datapaths in most existing designs have to be converted to
two-phase transparent latch datapaths. This requires extra design effort, as proposed, and the
number of stages is doubled, which may lead to an increase of error rate. Since flip-flop and
pulsed latch are more popular clocking elements in current digital circuits than level-sensitive
latch, there remains a pressing need for one-cycle error correction in EDS circuits, which use
flip-flop or pulsed-latch.
Disadvantages:
 power consumption is high
CONTACT: PRAVEEN KUMAR. L (,+91 – 9791938249)
MAIL ID: sunsid1989@gmail.com, praveen@nexgenproject.com
Web: www.nexgenproject.com, www.finalyear-ieeeprojects.com
Proposed System:
Since the data in the shadow latch are correct, even in failing stage, the simplest error correction
method may be restoring the data from the shadow latch to the main latch. The only problem is
that the data coming from the input stage will be lost during the restore cycle. That is the reason
why counterflow pipelining reissues the next instruction to the failed instruction after the error
correction. Our insight is that the previous stages to the failed one, only main latch needs to be
gated, and their shadow latches do not need to be gated. If the main latch of a stage is gated,
while its shadow latch is being clocked, that stage can simultaneously capture input data at the
shadow latch while retaining its previous data at the main latch. This allows a stage that detects
an error to receive the correct data in the very next cycle after error correction.
Fig. 2 shows a circuit-level schematic of our Razor latch. In this design, multiplexer at the input
of the Razor latch is placed in the feedback path of the main latch to reduce delay and power
consumption. If the instruction i3 fails at cycle 3, clk_m and clk_s are gated at the following
cycle after error detection. In cycle 4, the restore signal becomes 1 so that the correct instruction
i3 is transmitted from the shadow latch to the main latch. Instruction i4 is captured at cycle 5.
Fig. 2.Circuit-level schematic of our Razor latch.
Gating Signal Propagation
CONTACT: PRAVEEN KUMAR. L (,+91 – 9791938249)
MAIL ID: sunsid1989@gmail.com, praveen@nexgenproject.com
Web: www.nexgenproject.com, www.finalyear-ieeeprojects.com
To maintain the correctness of the data, each of the stages previous to the one where the error
happened must eventually go through a two-cycle process in which its main latch is gated in the
first cycle and the data in its shadow latch are restored to its main latch in the second cycle.
Extension to General Pipelines
The proposed error correction method can be extended to more general pipelines with multiple
fan-in, fan-out, loops, or a combination of these structures. In the case of multiple fan-in and fan-
out, there are two problems that need to be addressed.
SRAM Interfaces
Different from Bubble Razor, which uses two-phase clocking, our proposed scheme does not
need to treat SRAM as positive latch. Hence, we do not need to place negative latches around
SRAM. Instead, we place flip-flops on the input and output of SRAM and detect the errors at the
flip-flips.
Advantages:
 reduce the power consumption
Software implementation:
 Modelsim
 Xilinx ISE

More Related Content

Viewers also liked

Sinan Soğancı - Sosyal Sermayenin Yenilikçilik üzerindeki Etkileri
Sinan Soğancı - Sosyal Sermayenin Yenilikçilik üzerindeki EtkileriSinan Soğancı - Sosyal Sermayenin Yenilikçilik üzerindeki Etkileri
Sinan Soğancı - Sosyal Sermayenin Yenilikçilik üzerindeki Etkileri
capvidia
 
O álcool - Rodrigo
O álcool - RodrigoO álcool - Rodrigo
O álcool - Rodrigo
blog-eic
 
Ficha 4 arquitectura civil
Ficha 4  arquitectura civilFicha 4  arquitectura civil
Ficha 4 arquitectura civil
Carla Teixeira
 
A sociedade medieval parte 2
A sociedade medieval parte 2A sociedade medieval parte 2
A sociedade medieval parte 2
Carla Teixeira
 
Apresentação2 reforma
Apresentação2 reformaApresentação2 reforma
Apresentação2 reforma
Carla Teixeira
 
A cultura do palácio ficha 3
A cultura do palácio  ficha 3A cultura do palácio  ficha 3
A cultura do palácio ficha 3
Carla Teixeira
 
Tratado De Methuen E Ouro Brasileiro
Tratado De Methuen E Ouro BrasileiroTratado De Methuen E Ouro Brasileiro
Tratado De Methuen E Ouro Brasileiro
Ana Barreiros
 
Mercantilismo
MercantilismoMercantilismo
Mercantilismo
cattonia
 
A identidade civilizacional da europa ocidental
A identidade civilizacional da europa ocidentalA identidade civilizacional da europa ocidental
A identidade civilizacional da europa ocidental
Vítor Santos
 

Viewers also liked (18)

Sinan Soğancı - Sosyal Sermayenin Yenilikçilik üzerindeki Etkileri
Sinan Soğancı - Sosyal Sermayenin Yenilikçilik üzerindeki EtkileriSinan Soğancı - Sosyal Sermayenin Yenilikçilik üzerindeki Etkileri
Sinan Soğancı - Sosyal Sermayenin Yenilikçilik üzerindeki Etkileri
 
Revista Fundação Cascais - Dezembro de 2002
Revista Fundação Cascais - Dezembro de 2002Revista Fundação Cascais - Dezembro de 2002
Revista Fundação Cascais - Dezembro de 2002
 
2007: Stili di vita e comportamenti sostenibili - alimentazione
2007: Stili di vita e comportamenti sostenibili - alimentazione2007: Stili di vita e comportamenti sostenibili - alimentazione
2007: Stili di vita e comportamenti sostenibili - alimentazione
 
O álcool - Rodrigo
O álcool - RodrigoO álcool - Rodrigo
O álcool - Rodrigo
 
Cisco
CiscoCisco
Cisco
 
Documento
DocumentoDocumento
Documento
 
Opiáceos
OpiáceosOpiáceos
Opiáceos
 
O Convento de Mafra - por João Aníbal Henriques
O Convento de Mafra - por João Aníbal HenriquesO Convento de Mafra - por João Aníbal Henriques
O Convento de Mafra - por João Aníbal Henriques
 
Ficha 4 arquitectura civil
Ficha 4  arquitectura civilFicha 4  arquitectura civil
Ficha 4 arquitectura civil
 
A sociedade medieval parte 2
A sociedade medieval parte 2A sociedade medieval parte 2
A sociedade medieval parte 2
 
Apresentação2 reforma
Apresentação2 reformaApresentação2 reforma
Apresentação2 reforma
 
Os muçulmanos
Os muçulmanosOs muçulmanos
Os muçulmanos
 
A cultura do palácio ficha 3
A cultura do palácio  ficha 3A cultura do palácio  ficha 3
A cultura do palácio ficha 3
 
O Poder Absoluto
O Poder AbsolutoO Poder Absoluto
O Poder Absoluto
 
Tratado De Methuen E Ouro Brasileiro
Tratado De Methuen E Ouro BrasileiroTratado De Methuen E Ouro Brasileiro
Tratado De Methuen E Ouro Brasileiro
 
A cultura do mosteiro
A cultura do mosteiroA cultura do mosteiro
A cultura do mosteiro
 
Mercantilismo
MercantilismoMercantilismo
Mercantilismo
 
A identidade civilizacional da europa ocidental
A identidade civilizacional da europa ocidentalA identidade civilizacional da europa ocidental
A identidade civilizacional da europa ocidental
 

More from Nexgen Technology

More from Nexgen Technology (20)

MECHANICAL PROJECTS IN PONDICHERRY, 2020-21 MECHANICAL PROJECTS IN CHE...
    MECHANICAL PROJECTS IN PONDICHERRY,   2020-21  MECHANICAL PROJECTS IN CHE...    MECHANICAL PROJECTS IN PONDICHERRY,   2020-21  MECHANICAL PROJECTS IN CHE...
MECHANICAL PROJECTS IN PONDICHERRY, 2020-21 MECHANICAL PROJECTS IN CHE...
 
MECHANICAL PROJECTS IN PONDICHERRY, 2020-21 MECHANICAL PROJECTS IN CHE...
    MECHANICAL PROJECTS IN PONDICHERRY,   2020-21  MECHANICAL PROJECTS IN CHE...    MECHANICAL PROJECTS IN PONDICHERRY,   2020-21  MECHANICAL PROJECTS IN CHE...
MECHANICAL PROJECTS IN PONDICHERRY, 2020-21 MECHANICAL PROJECTS IN CHE...
 
MECHANICAL PROJECTS IN PONDICHERRY, 2020-21 MECHANICAL PROJECTS IN CHE...
    MECHANICAL PROJECTS IN PONDICHERRY,   2020-21  MECHANICAL PROJECTS IN CHE...    MECHANICAL PROJECTS IN PONDICHERRY,   2020-21  MECHANICAL PROJECTS IN CHE...
MECHANICAL PROJECTS IN PONDICHERRY, 2020-21 MECHANICAL PROJECTS IN CHE...
 
MECHANICAL PROJECTS IN PONDICHERRY, 2020-21 MECHANICAL PROJECTS IN CHE...
    MECHANICAL PROJECTS IN PONDICHERRY,   2020-21  MECHANICAL PROJECTS IN CHE...    MECHANICAL PROJECTS IN PONDICHERRY,   2020-21  MECHANICAL PROJECTS IN CHE...
MECHANICAL PROJECTS IN PONDICHERRY, 2020-21 MECHANICAL PROJECTS IN CHE...
 
MECHANICAL PROJECTS IN PONDICHERRY, 2020-21 MECHANICAL PROJECTS IN CHE...
    MECHANICAL PROJECTS IN PONDICHERRY,   2020-21  MECHANICAL PROJECTS IN CHE...    MECHANICAL PROJECTS IN PONDICHERRY,   2020-21  MECHANICAL PROJECTS IN CHE...
MECHANICAL PROJECTS IN PONDICHERRY, 2020-21 MECHANICAL PROJECTS IN CHE...
 
MECHANICAL PROJECTS IN PONDICHERRY, 2020-21 MECHANICAL PROJECTS IN CHE...
    MECHANICAL PROJECTS IN PONDICHERRY,   2020-21  MECHANICAL PROJECTS IN CHE...    MECHANICAL PROJECTS IN PONDICHERRY,   2020-21  MECHANICAL PROJECTS IN CHE...
MECHANICAL PROJECTS IN PONDICHERRY, 2020-21 MECHANICAL PROJECTS IN CHE...
 
MECHANICAL PROJECTS IN PONDICHERRY, 2020-21 MECHANICAL PROJECTS IN CH...
     MECHANICAL PROJECTS IN PONDICHERRY,   2020-21  MECHANICAL PROJECTS IN CH...     MECHANICAL PROJECTS IN PONDICHERRY,   2020-21  MECHANICAL PROJECTS IN CH...
MECHANICAL PROJECTS IN PONDICHERRY, 2020-21 MECHANICAL PROJECTS IN CH...
 
MECHANICAL PROJECTS IN PONDICHERRY, 2020-21 MECHANICAL PROJECTS IN CHENN...
  MECHANICAL PROJECTS IN PONDICHERRY,   2020-21  MECHANICAL PROJECTS IN CHENN...  MECHANICAL PROJECTS IN PONDICHERRY,   2020-21  MECHANICAL PROJECTS IN CHENN...
MECHANICAL PROJECTS IN PONDICHERRY, 2020-21 MECHANICAL PROJECTS IN CHENN...
 
MECHANICAL PROJECTS IN PONDICHERRY, 2020-21 MECHANICAL PROJECTS IN CHE...
    MECHANICAL PROJECTS IN PONDICHERRY,   2020-21  MECHANICAL PROJECTS IN CHE...    MECHANICAL PROJECTS IN PONDICHERRY,   2020-21  MECHANICAL PROJECTS IN CHE...
MECHANICAL PROJECTS IN PONDICHERRY, 2020-21 MECHANICAL PROJECTS IN CHE...
 
MECHANICAL PROJECTS IN PONDICHERRY, 2020-21 MECHANICAL PROJECTS IN CHE...
    MECHANICAL PROJECTS IN PONDICHERRY,   2020-21  MECHANICAL PROJECTS IN CHE...    MECHANICAL PROJECTS IN PONDICHERRY,   2020-21  MECHANICAL PROJECTS IN CHE...
MECHANICAL PROJECTS IN PONDICHERRY, 2020-21 MECHANICAL PROJECTS IN CHE...
 
MECHANICAL PROJECTS IN PONDICHERRY, 2020-21 MECHANICAL PROJECTS IN CHENNA...
 MECHANICAL PROJECTS IN PONDICHERRY,   2020-21  MECHANICAL PROJECTS IN CHENNA... MECHANICAL PROJECTS IN PONDICHERRY,   2020-21  MECHANICAL PROJECTS IN CHENNA...
MECHANICAL PROJECTS IN PONDICHERRY, 2020-21 MECHANICAL PROJECTS IN CHENNA...
 
Ieee 2020 21 vlsi projects in pondicherry,ieee vlsi projects in chennai
Ieee 2020 21 vlsi projects in pondicherry,ieee  vlsi projects  in chennaiIeee 2020 21 vlsi projects in pondicherry,ieee  vlsi projects  in chennai
Ieee 2020 21 vlsi projects in pondicherry,ieee vlsi projects in chennai
 
Ieee 2020 21 power electronics in pondicherry,Ieee 2020 21 power electronics
Ieee 2020 21 power electronics in pondicherry,Ieee 2020 21 power electronics Ieee 2020 21 power electronics in pondicherry,Ieee 2020 21 power electronics
Ieee 2020 21 power electronics in pondicherry,Ieee 2020 21 power electronics
 
Ieee 2020 -21 ns2 in pondicherry, Ieee 2020 -21 ns2 projects,best project cen...
Ieee 2020 -21 ns2 in pondicherry, Ieee 2020 -21 ns2 projects,best project cen...Ieee 2020 -21 ns2 in pondicherry, Ieee 2020 -21 ns2 projects,best project cen...
Ieee 2020 -21 ns2 in pondicherry, Ieee 2020 -21 ns2 projects,best project cen...
 
Ieee 2020 21 ns2 in pondicherry,best project center in pondicherry,final year...
Ieee 2020 21 ns2 in pondicherry,best project center in pondicherry,final year...Ieee 2020 21 ns2 in pondicherry,best project center in pondicherry,final year...
Ieee 2020 21 ns2 in pondicherry,best project center in pondicherry,final year...
 
Ieee 2020 21 java dotnet in pondicherry,final year projects in pondicherry,pr...
Ieee 2020 21 java dotnet in pondicherry,final year projects in pondicherry,pr...Ieee 2020 21 java dotnet in pondicherry,final year projects in pondicherry,pr...
Ieee 2020 21 java dotnet in pondicherry,final year projects in pondicherry,pr...
 
Ieee 2020 21 iot in pondicherry,final year projects in pondicherry,project ce...
Ieee 2020 21 iot in pondicherry,final year projects in pondicherry,project ce...Ieee 2020 21 iot in pondicherry,final year projects in pondicherry,project ce...
Ieee 2020 21 iot in pondicherry,final year projects in pondicherry,project ce...
 
Ieee 2020 21 blockchain in pondicherry,final year projects in pondicherry,bes...
Ieee 2020 21 blockchain in pondicherry,final year projects in pondicherry,bes...Ieee 2020 21 blockchain in pondicherry,final year projects in pondicherry,bes...
Ieee 2020 21 blockchain in pondicherry,final year projects in pondicherry,bes...
 
Ieee 2020 -21 bigdata in pondicherry,project center in pondicherry,best proje...
Ieee 2020 -21 bigdata in pondicherry,project center in pondicherry,best proje...Ieee 2020 -21 bigdata in pondicherry,project center in pondicherry,best proje...
Ieee 2020 -21 bigdata in pondicherry,project center in pondicherry,best proje...
 
Ieee 2020 21 embedded in pondicherry,final year projects in pondicherry,best...
Ieee 2020 21  embedded in pondicherry,final year projects in pondicherry,best...Ieee 2020 21  embedded in pondicherry,final year projects in pondicherry,best...
Ieee 2020 21 embedded in pondicherry,final year projects in pondicherry,best...
 

Recently uploaded

+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
Health
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 

Recently uploaded (20)

Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic Marks
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxBridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptx
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdf
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Air Compressor reciprocating single stage
Air Compressor reciprocating single stageAir Compressor reciprocating single stage
Air Compressor reciprocating single stage
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 

One cycle correction of timing errors in pipelines with standard clocked elements

  • 1. CONTACT: PRAVEEN KUMAR. L (,+91 – 9791938249) MAIL ID: sunsid1989@gmail.com, praveen@nexgenproject.com Web: www.nexgenproject.com, www.finalyear-ieeeprojects.com One-Cycle Correction of Timing Errors in Pipelines with Standard Clocked Elements Abstract: One of the most aggressive uses of dynamic voltagescaling is timing speculation, which in turn requires fastcorrection of timing errors. The fastest existing error correctiontechnique imposes a one-cycle time penalty only, but itis restricted to two-phase transparent latch-based pipelines.We perform one-cycle error correction by gating only the mainlatch in each stage of the pipeline that precedes a failed stage.This new method is applicable to widely used clocking elements,such as flip-flops and pulsed latches. The proposed architecture of this paper analysis the logic size, area and power consumption using Xilinx 14.2. Enhancement of the project: Existing System: Among the several published error correction schemes, instruction replay is the most time consuming. If an error occurs at a particular stage, it is allowed to propagate until the last stage, and then all stages in the pipeline are flushed. If there are N pipeline stages, this will require N cycles. The failed instruction is then reissued to the pipeline, with the clock running at half speed, which should ensure that the failing instruction does not cause another error. This rerun takes 2N cycles, and so the completion time of the next instruction that follows the error is delayed by 3N cycles. An example of instruction replay is given in Fig. 1(a). Instruction i2 fails at stage C in cycle 4. The error propagates to stage E. Then, all the pipeline stages are flushed, from cycles 7 to 11, and instruction i2 is issued again in cycle 12. Since the clock frequency has now been halved, i2 is only completed at cycle 21, and so the completion time of instruction i3 is delayed from cycles 7 to 22.
  • 2. CONTACT: PRAVEEN KUMAR. L (,+91 – 9791938249) MAIL ID: sunsid1989@gmail.com, praveen@nexgenproject.com Web: www.nexgenproject.com, www.finalyear-ieeeprojects.com Fig. 1.Examples of error correction after an error occurs at stage C in cycle 4. (a) Instruction replay. (b) Microrollback. (c) Counterflow pipelining There are two existing methods of error correction that have a one-cycle timing penalty: 1) global clock gating and 2) Bubble Razor . Global clock gating is conceptually the simplest error correction method of all. When a stage detects an error, all the stages in the pipeline are stalled for one cycle, and shadow latch data are restored to the main flip-flop. However, it may take multiple cycles for the clock-gating signal to be propagated to all the stages in complicated or high-frequency designs, and hence its applicability is limited. Bubble Razor represents a breakthrough, because it reduces the timing penalty to one cycle based on local stalling, allowing it to be used in complicated and high-frequency designs. However, unlike other methods, Bubble Razor can only be used for two-phase transparent latch- based designs. Therefore, flip-flop datapaths in most existing designs have to be converted to two-phase transparent latch datapaths. This requires extra design effort, as proposed, and the number of stages is doubled, which may lead to an increase of error rate. Since flip-flop and pulsed latch are more popular clocking elements in current digital circuits than level-sensitive latch, there remains a pressing need for one-cycle error correction in EDS circuits, which use flip-flop or pulsed-latch. Disadvantages:  power consumption is high
  • 3. CONTACT: PRAVEEN KUMAR. L (,+91 – 9791938249) MAIL ID: sunsid1989@gmail.com, praveen@nexgenproject.com Web: www.nexgenproject.com, www.finalyear-ieeeprojects.com Proposed System: Since the data in the shadow latch are correct, even in failing stage, the simplest error correction method may be restoring the data from the shadow latch to the main latch. The only problem is that the data coming from the input stage will be lost during the restore cycle. That is the reason why counterflow pipelining reissues the next instruction to the failed instruction after the error correction. Our insight is that the previous stages to the failed one, only main latch needs to be gated, and their shadow latches do not need to be gated. If the main latch of a stage is gated, while its shadow latch is being clocked, that stage can simultaneously capture input data at the shadow latch while retaining its previous data at the main latch. This allows a stage that detects an error to receive the correct data in the very next cycle after error correction. Fig. 2 shows a circuit-level schematic of our Razor latch. In this design, multiplexer at the input of the Razor latch is placed in the feedback path of the main latch to reduce delay and power consumption. If the instruction i3 fails at cycle 3, clk_m and clk_s are gated at the following cycle after error detection. In cycle 4, the restore signal becomes 1 so that the correct instruction i3 is transmitted from the shadow latch to the main latch. Instruction i4 is captured at cycle 5. Fig. 2.Circuit-level schematic of our Razor latch. Gating Signal Propagation
  • 4. CONTACT: PRAVEEN KUMAR. L (,+91 – 9791938249) MAIL ID: sunsid1989@gmail.com, praveen@nexgenproject.com Web: www.nexgenproject.com, www.finalyear-ieeeprojects.com To maintain the correctness of the data, each of the stages previous to the one where the error happened must eventually go through a two-cycle process in which its main latch is gated in the first cycle and the data in its shadow latch are restored to its main latch in the second cycle. Extension to General Pipelines The proposed error correction method can be extended to more general pipelines with multiple fan-in, fan-out, loops, or a combination of these structures. In the case of multiple fan-in and fan- out, there are two problems that need to be addressed. SRAM Interfaces Different from Bubble Razor, which uses two-phase clocking, our proposed scheme does not need to treat SRAM as positive latch. Hence, we do not need to place negative latches around SRAM. Instead, we place flip-flops on the input and output of SRAM and detect the errors at the flip-flips. Advantages:  reduce the power consumption Software implementation:  Modelsim  Xilinx ISE