MiniBit: BitWidth Optimization via Affine Arithmetic - PowerPoint PPT Presentation

1 / 15
About This Presentation
Title:

MiniBit: BitWidth Optimization via Affine Arithmetic

Description:

Altaf Abdul Gaffar, Oskar Mencer and Wayne Luk. Department of Computing. Imperial College ... static bit-width optimization: for fixed-point designs via affine ... – PowerPoint PPT presentation

Number of Views:42
Avg rating:3.0/5.0
Slides: 16
Provided by: dlee67
Category:

less

Transcript and Presenter's Notes

Title: MiniBit: BitWidth Optimization via Affine Arithmetic


1
MiniBit Bit-Width Optimization via Affine
Arithmetic
Altaf Abdul Gaffar, Oskar Mencer and Wayne
Luk Department of Computing Imperial
College London, United Kingdom
Dong-U Lee Electrical Engineering
DepartmentUniversity of California Los Angeles,
USA
http//www.ee.ucla.edu/dongu
2
Achievements
  • static bit-width optimization
    for fixed-point designs via affine
    arithmetic (AA)
  • range and precision analysis integer and
    fraction part determination
  • analytical approach
    overflow protection and maximum error
    bounds
  • reduction in area and latency
    up to 20 and 12 over optimum
    uniform fractional bit-width on Xilinx Virtex-4
    FPGA

3
Overview
  • automated framework generate bit-width optimized
    fixed-point hardware designs
  • separate range and precision analysis
    use AA
  • static analysis in contrast to
    dynamic methods, only need input signal
    characteristics

4
Affine Arithmetic (AA)
  • unlike interval arithmetic (IA), AA exploits
    correlations between signals
  • signal x over a range xmin, xmax expressed as
  • x0 (xmax xmin) / 2
  • x1 (xmax xmin) / 2
  • e.g. addition / subtraction in AA form

5
Example Range Analysis
Example Circuit z a?b c-b
AA Range Models
d e
6
Precision Analysis
  • two quantization methods
  • truncation maximum error of 2-FB
  • round-to-nearest maximum error of 2-FB-1
  • round-to-nearest is used throughput for
    simplicity
  • e.g. addition / subtraction error model

FB Fraction Bit-width
7
Example Precision Analysis
Example Circuit
Error Expressions
FB Fraction Bit-width
8
Worst Case Error
9
Condition for Faithful Rounding
find minimal FBs for each signal that satisfy the
inequality Adaptive simulated annealing (ASA)
10
Optimal Uniform Fraction Bit-Width
  • initial state for ASA substitute FBs with a
    single variable UFB
  • if FBz 16 bits, i.e. max(Ez) ? 2-16
  • solve equation for minimum value of UFB
    gives UFB 20 bits
    analytical solution for uniform bit-width
    selection

FB Fraction Bit-width, UFB Uniform Fraction
Bit-width
11
Five Case Studies
  • compiled using A Stream Complier (ASC),
    an FPGA complier based on C
  • synthesized with ASC, placed-and-routed with
    Xilinx ISE 6.3 on a Virtex-4 XC4VLX100-11 FPGA
  • implementation combinatorial using slices only
  • compare accuracy double-precision floating point
  • area models
  • x y max(IBxFBx, IByFBy)
  • x ? y (IBxFBx)?(IByFBy)

(IB Integer Bit-width, FB Fraction Bit-width)
12
Case Studies on Virtex-4
UFB Uniform Fraction Bit-widthMFB Multiple
Fraction Bit-width (our approach)
13
Area Variation
Target Precision
Data-path Depth
14
Limitations and Future Work
  • can be pessimistic
    assume maximum
    errors can happen in all nodes at the same time
  • search space for ASA
    vast for large designs
  • clustering
    optimize parts of a large
    design independently
  • dynamic methods
    detailed comparisons

15
Summary
  • static bit-width optimization
    for fixed-point designs via affine
    arithmetic (AA)
  • range and precision analysis integer and
    fraction part determination
  • analytical approach
    overflow protection, maximum error
    bounds
  • reduction in area and latency
    up to 20 and 12 over optimum
    uniform fractional bit-width on Xilinx Virtex-4
    FPGA
  • Used successfully for the design of a Gaussian
    noise generator using the Box-Muller method
Write a Comment
User Comments (0)
About PowerShow.com