SlideShare a Scribd company logo
1 of 36
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Topics
 Low power design.
 Pipelining.
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Rules for reducing power
consumption.
 Turn it off.
– Eliminates leakage current.
 Slow it down, reduce voltage.
– Performance is linear with clock frequency.
– Power is V2.
 Don’t change its inputs.
– Activity-dependent.
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Energy and power
 Energy = power * time.
 Energy consumption is critical for battery-
powered systems.
 Power consumption is critical for heat
dissipation limited systems.
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Energy and performance
 In many cases, high performance = low
energy.
– Efficiency pays off in both arenas.
 In some cases, energy can be saved by
reducing performance.
– P = 1/2 CV2
– Power goes down faster than performance.
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Levels of abstraction
 Physical:
– Minimize capacitance.
 Gate:
– Use low leakage gates.
 Combinational:
– Avoid twitches.
 Register-transfer:
– Avoid using units.
 Architecture:
– Slow things down, turn them off.
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Sources of energy consumption
 Static:
– Leakage.
 Dynamic:
– Switching activity.
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Physical optimizations
 Assuming equal signal probabilities, total
wire capacitance is proportional to dynamic
power consumption.
 Shorter wires -> less power consumption.
 More active nets should be shortened first.
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
How to reduce wire length
 Use hard macros where possible.
 Add placement constraints.
 Use design hierarchy to guide placement
search.
 Use nets with small drivers where possible.
– Don’t drive a net faster than it needs to go.
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Logic/circuit optimizations
 Turn off gate where possible.
– Not an option in most FPGAs, but it should be.
 Operate gate at low voltage.
– Speed decreases linearly, power decreases as
V2.
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Combinational optimizations
 Design network to avoid unnecessary
glitching where possible.
– Balance delays across paths.
 Can duplicate logic to reduce wire lengths.
– Does the duplicate logic use less power than the
wire?
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Register-transfer optimizations
 Hold inputs when a unit’s output will not be
used.
– Put register at inputs.
 Turn off units when they won’t be used for
several cycles.
– Can’t selectively turn off LEs in most FPGAs.
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Architectures for low power
 Two important methods:
– architecture-driven voltage scaling
– power-down modes
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Architecture-driven voltage
scaling
 Add extra logic to increase parallelism so
that system can run at lower rate.
 Power improvement for n parallel units over
Vref:
– Pn(n) = [1 + Ci(n)/nCref + Cx(n)/Cref](V/Vref)
Clock = 50 MHz
Clock = 25 MHz
Clock = 25 MHz
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Power-down modes
 CMOS doesn’t consume power when not
transitioning. Many systems can incorporate
power-down modes:
– condition the clock on power-down mode;
– add state to control for power-down mode;
– modify the control logic to ensure that power-
down/power-up don’t corrupt control state.
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Pipelines
 Provide higher utilization of logic:
Combinational logic
P1
P2
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Pipeline metrics
 Throughput: rate at which new values enter
the system.
– Initiation interval: time between successive
inputs.
 Latency: delay from input to output.
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Simple pipelines
 Pure pipelines have no control.
 Choose latency, throughput.
 Choose register locations with retiming.
 Overhead:
– Setup, hold times.
– Power.
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Complex pipelines
 Actions in pipeline depend on data or
external events.
 Actions on pipe:
– Stall values.
– Abort operation.
– Bypass values.
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Pipeline metrics
 Ignore register delay:
– Combinational logic delay D.
– Latency L.
– Throughput T.
 Delay through unpipelined system.
– L = D.
– T = 1/D.
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Adding pipeline stages
 Add a pipeline stage:
– Latency remains L = D.
– Throughput increases: T = 2/D.
 n-stage pipeline:
– Throughput increases: T = n/D.
 Clock period:
– P = D/n.
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Performance vs. pipeline stages
# stages
throughput
clock period
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Adding pipeline stages
 Must add a pipeline stage that cuts the logic.
– Cutset for PI-PO graph.
 Can use retiming to position the registers in
the logic.
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Cutsets
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Bad pipeline
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Pipeline utilization
 Need to fill up the pipeline.
– Later stages are unused as the pipeline fills up.
 Assume D stages of valid data, n total
stages.
– Utilization U= D / D+n.
 In steady state, utilization approaches 1.
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Pipelines with control
 Pipeline may do different things at different
times.
– CPU control flow.
 Must make sure that the pipeline operates
properly in all cases.
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Sending a control signal forward
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Sending a control signal backward
 Make sure control arrives at right cycle:
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Combining signals from multiple
cycles
 Different stages
can’t use ALU on
same cycle.
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Distributed pipeline control
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Pipeline control logic
 Ideal pipeline
needs no
significant
control:
s1
-/ALU = op
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Simple decisions
 Simple decision
doesn’t add
states:
s1
0 /ALU = +
1 /ALU = -
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Controlling a pipeline flush
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Product machine for pipeline flush
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Hardware sharing control
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR
Pipeline verification
 Extensive simulation is required to exercise
the pipeline.
– State of pipeline stages interact.
 Symbolic simulation: simulate names, not
particular values.

More Related Content

Similar to 9402094.ppt

1. FPGA architectures.pdf
1. FPGA architectures.pdf1. FPGA architectures.pdf
1. FPGA architectures.pdfTesfuFiseha1
 
LANswitch Plus Overview Presentation
LANswitch Plus Overview PresentationLANswitch Plus Overview Presentation
LANswitch Plus Overview PresentationRonald Bartels
 
Practical issues to be considered in PHY layer of 802.11 standard spec
Practical issues to be considered in PHY layer of 802.11 standard specPractical issues to be considered in PHY layer of 802.11 standard spec
Practical issues to be considered in PHY layer of 802.11 standard specEalwan Lee
 
Lec13 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Multicore
Lec13 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- MulticoreLec13 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Multicore
Lec13 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- MulticoreHsien-Hsin Sean Lee, Ph.D.
 
LF_DPDK17_Power Aware Packet Processing
LF_DPDK17_Power Aware Packet ProcessingLF_DPDK17_Power Aware Packet Processing
LF_DPDK17_Power Aware Packet ProcessingLF_DPDK
 
2012 10-04 achaichia
2012 10-04 achaichia2012 10-04 achaichia
2012 10-04 achaichiaSCEE Team
 
Field programable gate array
Field programable gate arrayField programable gate array
Field programable gate arrayNeha Agarwal
 
Getting Started with RS08 MCUs
Getting Started with RS08 MCUsGetting Started with RS08 MCUs
Getting Started with RS08 MCUsPremier Farnell
 
6 sspi ps_10_5_13_final_paul_sandoval
6 sspi ps_10_5_13_final_paul_sandoval6 sspi ps_10_5_13_final_paul_sandoval
6 sspi ps_10_5_13_final_paul_sandovalSSPI Brasil
 
OPAL-RT eFPGAsim Power Electronic Real-time Simulator
OPAL-RT eFPGAsim Power Electronic Real-time SimulatorOPAL-RT eFPGAsim Power Electronic Real-time Simulator
OPAL-RT eFPGAsim Power Electronic Real-time SimulatorOPAL-RT TECHNOLOGIES
 
Low Power Flexis™ Series of QE Family MCUs
Low Power Flexis™ Series of QE Family MCUs Low Power Flexis™ Series of QE Family MCUs
Low Power Flexis™ Series of QE Family MCUs Premier Farnell
 
Digital Systems Design
Digital Systems DesignDigital Systems Design
Digital Systems DesignReza Sameni
 
VLSI design Dr B.jagadeesh UNIT-5.pptx
VLSI design Dr B.jagadeesh   UNIT-5.pptxVLSI design Dr B.jagadeesh   UNIT-5.pptx
VLSI design Dr B.jagadeesh UNIT-5.pptxjagadeesh276791
 
RT15 Berkeley | Introduction to FPGA Power Electronic & Electric Machine real...
RT15 Berkeley | Introduction to FPGA Power Electronic & Electric Machine real...RT15 Berkeley | Introduction to FPGA Power Electronic & Electric Machine real...
RT15 Berkeley | Introduction to FPGA Power Electronic & Electric Machine real...OPAL-RT TECHNOLOGIES
 
On the Capability and Achievable Performance of FPGAs for HPC Applications
On the Capability and Achievable Performance of FPGAs for HPC ApplicationsOn the Capability and Achievable Performance of FPGAs for HPC Applications
On the Capability and Achievable Performance of FPGAs for HPC ApplicationsWim Vanderbauwhede
 

Similar to 9402094.ppt (20)

Altera trcak g
Altera  trcak gAltera  trcak g
Altera trcak g
 
1. FPGA architectures.pdf
1. FPGA architectures.pdf1. FPGA architectures.pdf
1. FPGA architectures.pdf
 
LANswitch Plus Overview Presentation
LANswitch Plus Overview PresentationLANswitch Plus Overview Presentation
LANswitch Plus Overview Presentation
 
Practical issues to be considered in PHY layer of 802.11 standard spec
Practical issues to be considered in PHY layer of 802.11 standard specPractical issues to be considered in PHY layer of 802.11 standard spec
Practical issues to be considered in PHY layer of 802.11 standard spec
 
Lec13 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Multicore
Lec13 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- MulticoreLec13 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Multicore
Lec13 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Multicore
 
Reduce system energy by smart CPU management
Reduce system energy by smart CPU managementReduce system energy by smart CPU management
Reduce system energy by smart CPU management
 
LF_DPDK17_Power Aware Packet Processing
LF_DPDK17_Power Aware Packet ProcessingLF_DPDK17_Power Aware Packet Processing
LF_DPDK17_Power Aware Packet Processing
 
Vikas marka.pptx
Vikas marka.pptxVikas marka.pptx
Vikas marka.pptx
 
2012 10-04 achaichia
2012 10-04 achaichia2012 10-04 achaichia
2012 10-04 achaichia
 
Using FPGA in Embedded Devices
Using FPGA in Embedded DevicesUsing FPGA in Embedded Devices
Using FPGA in Embedded Devices
 
PPT.pptx
PPT.pptxPPT.pptx
PPT.pptx
 
Field programable gate array
Field programable gate arrayField programable gate array
Field programable gate array
 
Getting Started with RS08 MCUs
Getting Started with RS08 MCUsGetting Started with RS08 MCUs
Getting Started with RS08 MCUs
 
6 sspi ps_10_5_13_final_paul_sandoval
6 sspi ps_10_5_13_final_paul_sandoval6 sspi ps_10_5_13_final_paul_sandoval
6 sspi ps_10_5_13_final_paul_sandoval
 
OPAL-RT eFPGAsim Power Electronic Real-time Simulator
OPAL-RT eFPGAsim Power Electronic Real-time SimulatorOPAL-RT eFPGAsim Power Electronic Real-time Simulator
OPAL-RT eFPGAsim Power Electronic Real-time Simulator
 
Low Power Flexis™ Series of QE Family MCUs
Low Power Flexis™ Series of QE Family MCUs Low Power Flexis™ Series of QE Family MCUs
Low Power Flexis™ Series of QE Family MCUs
 
Digital Systems Design
Digital Systems DesignDigital Systems Design
Digital Systems Design
 
VLSI design Dr B.jagadeesh UNIT-5.pptx
VLSI design Dr B.jagadeesh   UNIT-5.pptxVLSI design Dr B.jagadeesh   UNIT-5.pptx
VLSI design Dr B.jagadeesh UNIT-5.pptx
 
RT15 Berkeley | Introduction to FPGA Power Electronic & Electric Machine real...
RT15 Berkeley | Introduction to FPGA Power Electronic & Electric Machine real...RT15 Berkeley | Introduction to FPGA Power Electronic & Electric Machine real...
RT15 Berkeley | Introduction to FPGA Power Electronic & Electric Machine real...
 
On the Capability and Achievable Performance of FPGAs for HPC Applications
On the Capability and Achievable Performance of FPGAs for HPC ApplicationsOn the Capability and Achievable Performance of FPGAs for HPC Applications
On the Capability and Achievable Performance of FPGAs for HPC Applications
 

More from kavita417551

More from kavita417551 (6)

5172197.ppt
5172197.ppt5172197.ppt
5172197.ppt
 
5006278.ppt
5006278.ppt5006278.ppt
5006278.ppt
 
5378086.ppt
5378086.ppt5378086.ppt
5378086.ppt
 
9077262.ppt
9077262.ppt9077262.ppt
9077262.ppt
 
11136442.ppt
11136442.ppt11136442.ppt
11136442.ppt
 
Lec-2.pdf
Lec-2.pdfLec-2.pdf
Lec-2.pdf
 

Recently uploaded

UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxkalpana413121
 
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.pptxSCMS School of Architecture
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxMustafa Ahmed
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelDrAjayKumarYadav4
 
fitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptfitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptAfnanAhmad53
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...ssuserdfc773
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementDr. Deepak Mudgal
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxMustafa Ahmed
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxpritamlangde
 
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.pptxSCMS School of Architecture
 
Passive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.pptPassive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.pptamrabdallah9
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesChandrakantDivate1
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...Amil baba
 
Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)ChandrakantDivate1
 
Adsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) pptAdsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) pptjigup7320
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
Fundamentals of Internet of Things (IoT) Part-2
Fundamentals of Internet of Things (IoT) Part-2Fundamentals of Internet of Things (IoT) Part-2
Fundamentals of Internet of Things (IoT) Part-2ChandrakantDivate1
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwaitjaanualu31
 

Recently uploaded (20)

UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.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
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata Model
 
fitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptfitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .ppt
 
Signal Processing and Linear System Analysis
Signal Processing and Linear System AnalysisSignal Processing and Linear System Analysis
Signal Processing and Linear System Analysis
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth Reinforcement
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptx
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
 
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
 
Passive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.pptPassive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.ppt
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To Curves
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)
 
Adsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) pptAdsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) ppt
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Fundamentals of Internet of Things (IoT) Part-2
Fundamentals of Internet of Things (IoT) Part-2Fundamentals of Internet of Things (IoT) Part-2
Fundamentals of Internet of Things (IoT) Part-2
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 

9402094.ppt

  • 1. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Topics  Low power design.  Pipelining.
  • 2. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Rules for reducing power consumption.  Turn it off. – Eliminates leakage current.  Slow it down, reduce voltage. – Performance is linear with clock frequency. – Power is V2.  Don’t change its inputs. – Activity-dependent.
  • 3. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Energy and power  Energy = power * time.  Energy consumption is critical for battery- powered systems.  Power consumption is critical for heat dissipation limited systems.
  • 4. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Energy and performance  In many cases, high performance = low energy. – Efficiency pays off in both arenas.  In some cases, energy can be saved by reducing performance. – P = 1/2 CV2 – Power goes down faster than performance.
  • 5. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Levels of abstraction  Physical: – Minimize capacitance.  Gate: – Use low leakage gates.  Combinational: – Avoid twitches.  Register-transfer: – Avoid using units.  Architecture: – Slow things down, turn them off.
  • 6. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Sources of energy consumption  Static: – Leakage.  Dynamic: – Switching activity.
  • 7. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Physical optimizations  Assuming equal signal probabilities, total wire capacitance is proportional to dynamic power consumption.  Shorter wires -> less power consumption.  More active nets should be shortened first.
  • 8. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR How to reduce wire length  Use hard macros where possible.  Add placement constraints.  Use design hierarchy to guide placement search.  Use nets with small drivers where possible. – Don’t drive a net faster than it needs to go.
  • 9. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Logic/circuit optimizations  Turn off gate where possible. – Not an option in most FPGAs, but it should be.  Operate gate at low voltage. – Speed decreases linearly, power decreases as V2.
  • 10. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Combinational optimizations  Design network to avoid unnecessary glitching where possible. – Balance delays across paths.  Can duplicate logic to reduce wire lengths. – Does the duplicate logic use less power than the wire?
  • 11. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Register-transfer optimizations  Hold inputs when a unit’s output will not be used. – Put register at inputs.  Turn off units when they won’t be used for several cycles. – Can’t selectively turn off LEs in most FPGAs.
  • 12. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Architectures for low power  Two important methods: – architecture-driven voltage scaling – power-down modes
  • 13. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Architecture-driven voltage scaling  Add extra logic to increase parallelism so that system can run at lower rate.  Power improvement for n parallel units over Vref: – Pn(n) = [1 + Ci(n)/nCref + Cx(n)/Cref](V/Vref) Clock = 50 MHz Clock = 25 MHz Clock = 25 MHz
  • 14. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Power-down modes  CMOS doesn’t consume power when not transitioning. Many systems can incorporate power-down modes: – condition the clock on power-down mode; – add state to control for power-down mode; – modify the control logic to ensure that power- down/power-up don’t corrupt control state.
  • 15. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Pipelines  Provide higher utilization of logic: Combinational logic P1 P2
  • 16. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Pipeline metrics  Throughput: rate at which new values enter the system. – Initiation interval: time between successive inputs.  Latency: delay from input to output.
  • 17. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Simple pipelines  Pure pipelines have no control.  Choose latency, throughput.  Choose register locations with retiming.  Overhead: – Setup, hold times. – Power.
  • 18. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Complex pipelines  Actions in pipeline depend on data or external events.  Actions on pipe: – Stall values. – Abort operation. – Bypass values.
  • 19. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Pipeline metrics  Ignore register delay: – Combinational logic delay D. – Latency L. – Throughput T.  Delay through unpipelined system. – L = D. – T = 1/D.
  • 20. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Adding pipeline stages  Add a pipeline stage: – Latency remains L = D. – Throughput increases: T = 2/D.  n-stage pipeline: – Throughput increases: T = n/D.  Clock period: – P = D/n.
  • 21. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Performance vs. pipeline stages # stages throughput clock period
  • 22. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Adding pipeline stages  Must add a pipeline stage that cuts the logic. – Cutset for PI-PO graph.  Can use retiming to position the registers in the logic.
  • 23. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Cutsets
  • 24. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Bad pipeline
  • 25. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Pipeline utilization  Need to fill up the pipeline. – Later stages are unused as the pipeline fills up.  Assume D stages of valid data, n total stages. – Utilization U= D / D+n.  In steady state, utilization approaches 1.
  • 26. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Pipelines with control  Pipeline may do different things at different times. – CPU control flow.  Must make sure that the pipeline operates properly in all cases.
  • 27. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Sending a control signal forward
  • 28. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Sending a control signal backward  Make sure control arrives at right cycle:
  • 29. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Combining signals from multiple cycles  Different stages can’t use ALU on same cycle.
  • 30. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Distributed pipeline control
  • 31. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Pipeline control logic  Ideal pipeline needs no significant control: s1 -/ALU = op
  • 32. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Simple decisions  Simple decision doesn’t add states: s1 0 /ALU = + 1 /ALU = -
  • 33. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Controlling a pipeline flush
  • 34. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Product machine for pipeline flush
  • 35. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Hardware sharing control
  • 36. FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Pipeline verification  Extensive simulation is required to exercise the pipeline. – State of pipeline stages interact.  Symbolic simulation: simulate names, not particular values.