21
A Routing Approach to Reduce Glitches in Low Power FPGAs Quang Dinh, Deming Chen, Martin D. F. Wong Department of Electrical and Computer Engineering University of Illinois at Urbana Champaign

A Routing Approach to Reduce Glitches in Low Power FPGAs Quang Dinh, Deming Chen, Martin D. F. Wong Department of Electrical and Computer Engineering University

Embed Size (px)

Citation preview

Page 1: A Routing Approach to Reduce Glitches in Low Power FPGAs Quang Dinh, Deming Chen, Martin D. F. Wong Department of Electrical and Computer Engineering University

A Routing Approach to Reduce Glitches in Low Power FPGAs

Quang Dinh, Deming Chen, Martin D. F. Wong

Department of Electrical and Computer Engineering

University of Illinois at Urbana Champaign

Page 2: A Routing Approach to Reduce Glitches in Low Power FPGAs Quang Dinh, Deming Chen, Martin D. F. Wong Department of Electrical and Computer Engineering University

Outline

Introduction Background Algorithm Result Conclusion

Page 3: A Routing Approach to Reduce Glitches in Low Power FPGAs Quang Dinh, Deming Chen, Martin D. F. Wong Department of Electrical and Computer Engineering University

Introduction

FPGA(Field-programmable gate arrays) Flexibility and low time-to-market Consumption cost A barrier to FPGA use in power-sensitive

applications. (mobile devices)

Page 4: A Routing Approach to Reduce Glitches in Low Power FPGAs Quang Dinh, Deming Chen, Martin D. F. Wong Department of Electrical and Computer Engineering University

Background

FPGA Architecture

Page 5: A Routing Approach to Reduce Glitches in Low Power FPGAs Quang Dinh, Deming Chen, Martin D. F. Wong Department of Electrical and Computer Engineering University

Background

Static power :current leakage in transistors

Dynamic power :signal transitions between logic-0 and logic-1•Functional transitions - necessary for the correct operation of the circuit•Glitch - unbalanced delays to the inputs of a logic gate (effect on power consumption)

Page 6: A Routing Approach to Reduce Glitches in Low Power FPGAs Quang Dinh, Deming Chen, Martin D. F. Wong Department of Electrical and Computer Engineering University

Background

Dynamic powern : the number of nets in the circuitSi : the switching activity of net ICi : the capacitance of net If : the frequency of the circuitVdd : the supply voltage

Page 7: A Routing Approach to Reduce Glitches in Low Power FPGAs Quang Dinh, Deming Chen, Martin D. F. Wong Department of Electrical and Computer Engineering University

Background

Glitch

Page 8: A Routing Approach to Reduce Glitches in Low Power FPGAs Quang Dinh, Deming Chen, Martin D. F. Wong Department of Electrical and Computer Engineering University

Background

Routing resource graph Vr: the input and output pins of logic

blocks, and the wire segments. Er: the feasible connections between the

nodes.

Page 9: A Routing Approach to Reduce Glitches in Low Power FPGAs Quang Dinh, Deming Chen, Martin D. F. Wong Department of Electrical and Computer Engineering University

Algorithm

Overview To lengthen the short-delay paths to the

same delay of the long-delay path To avoid congestion problem and to ensure

that all nets are routed, our algorithm rips-up and re-routes one source-sink pair before balancing the next pair

Two issues: How to select which pairs to be balanced In what order these selected pairs are to be

balanced

Page 10: A Routing Approach to Reduce Glitches in Low Power FPGAs Quang Dinh, Deming Chen, Martin D. F. Wong Department of Electrical and Computer Engineering University

Algorithm-Selection criteria

lengthening pathes leads to increased power consumption

Should not try to balance every LUT inputs, but focus on some selected inputs- select the inputs to the first level clusters

Page 11: A Routing Approach to Reduce Glitches in Low Power FPGAs Quang Dinh, Deming Chen, Martin D. F. Wong Department of Electrical and Computer Engineering University

Algorithm-Ordering criteria

LUT Input Weighting:some inputs of a LUT have smaller influence on the LUT output than the other inputs, they are less likely to generate glitches

Page 12: A Routing Approach to Reduce Glitches in Low Power FPGAs Quang Dinh, Deming Chen, Martin D. F. Wong Department of Electrical and Computer Engineering University

Algorithm-Ordering criteria

Balancing Overhead:- Paths that need more increased delays to be balanced generally introduced more dynamic power overhead- And potentially use more wiring segments, which may prevent other paths to be balanced

Path Ranking:

Page 13: A Routing Approach to Reduce Glitches in Low Power FPGAs Quang Dinh, Deming Chen, Martin D. F. Wong Department of Electrical and Computer Engineering University

Algorithm-PathFinding

Input: an FPGA routing-resource graph Gr = (Vr ,Er ) , with delay information for each node

For a source node s and a sink node t, -To find an (s, t) path such that the delay of the path falls within a specified target (d ± Δ )-Glitch filtering is handled by setting proper Δ

Page 14: A Routing Approach to Reduce Glitches in Low Power FPGAs Quang Dinh, Deming Chen, Martin D. F. Wong Department of Electrical and Computer Engineering University

Algorithm-PathFinding

To keep the runtime under control, we can not tryevery possible path, but need to have some effective heuristic to limit the search space

One possible approach is to only consider paths that are the combinations of two shortest paths

The shortest path from s to u and the shortest path from u to t may overlap-Two disjoint sets

Page 15: A Routing Approach to Reduce Glitches in Low Power FPGAs Quang Dinh, Deming Chen, Martin D. F. Wong Department of Electrical and Computer Engineering University

Algorithm-PathFinding

S: the set of nodes s’ such that d (s, s’) < d (s’, t)

T: the set of nodes t’ such that d (s, t’) ≥ d (t’, t)

Page 16: A Routing Approach to Reduce Glitches in Low Power FPGAs Quang Dinh, Deming Chen, Martin D. F. Wong Department of Electrical and Computer Engineering University

Algorithm-PathFinding

Page 17: A Routing Approach to Reduce Glitches in Low Power FPGAs Quang Dinh, Deming Chen, Martin D. F. Wong Department of Electrical and Computer Engineering University

Algorithm

Page 18: A Routing Approach to Reduce Glitches in Low Power FPGAs Quang Dinh, Deming Chen, Martin D. F. Wong Department of Electrical and Computer Engineering University

Algorithm

Page 19: A Routing Approach to Reduce Glitches in Low Power FPGAs Quang Dinh, Deming Chen, Martin D. F. Wong Department of Electrical and Computer Engineering University

Result

Page 20: A Routing Approach to Reduce Glitches in Low Power FPGAs Quang Dinh, Deming Chen, Martin D. F. Wong Department of Electrical and Computer Engineering University
Page 21: A Routing Approach to Reduce Glitches in Low Power FPGAs Quang Dinh, Deming Chen, Martin D. F. Wong Department of Electrical and Computer Engineering University

Conclusion

This CAD-only approach does not require changes to existing FPGA architectures, and it also does not affect critical-path delay.

An efficient pathfinding algorithm that can find such balancing paths in the routing resource graph.

The GlitchReroute show that on average, 9.8% of dynamic power is reduced.