Automatic Evaluation of the Accuracy of Fixed-point Algorithms Daniel MENARD 1, Olivier SENTIEYS 1,2 1 LASTI, University of Rennes 1 Lannion, FRANCE 2.

Slides:



Advertisements
Similar presentations
ECOE 560 Design Methodologies and Tools for Software/Hardware Systems Spring 2004 Serdar Taşıran.
Advertisements

ECE Synthesis & Verification - Lecture 2 1 ECE 667 Spring 2011 ECE 667 Spring 2011 Synthesis and Verification of Digital Circuits High-Level (Architectural)
AMI 4622 Digital Signal Processing
Courseware Path-Based Scheduling Sune Fallgaard Nielsen Informatics and Mathematical Modelling Technical University of Denmark Richard Petersens Plads,
Embedded ISA Support for Enhanced Floating-Point to Fixed-Point ANSI C Compilation Tor Aamodt and Paul Chow University of Toronto { aamodt, pc
Mahapatra-Texas A&M-Fall'001 cosynthesis Introduction to cosynthesis Rabi Mahapatra CPSC498.
Digital Kommunikationselektronik TNE027 Lecture 4 1 Finite Impulse Response (FIR) Digital Filters Digital filters are rapidly replacing classic analog.
Introduction SYSC5603 (ELG6163) Digital Signal Processing Microprocessors, Software and Applications Miodrag Bolic.
Code and Decoder Design of LDPC Codes for Gbps Systems Jeremy Thorpe Presented to: Microsoft Research
Carnegie Mellon Adaptive Mapping of Linear DSP Algorithms to Fixed-Point Arithmetic Lawrence J. Chang Inpyo Hong Yevgen Voronenko Markus Püschel Department.
VLSI DSP 2008Y.T. Hwang3-1 Chapter 3 Algorithm Representation & Iteration Bound.
A Performance and Energy Comparison of FPGAs, GPUs, and Multicores for Sliding-Window Applications From J. Fowers, G. Brown, P. Cooke, and G. Stitt, University.
Low power and cost effective VLSI design for an MP3 audio decoder using an optimized synthesis- subband approach T.-H. Tsai and Y.-C. Yang Department of.
A Low-Power Low-Memory Real-Time ASR System. Outline Overview of Automatic Speech Recognition (ASR) systems Sub-vector clustering and parameter quantization.
Prepared by: Hind J. Zourob Heba M. Matter Supervisor: Dr. Hatem El-Aydi Faculty Of Engineering Communications & Control Engineering.
T Digital Signal Processing and Filtering
Maria-Cristina Marinescu Martin Rinard Laboratory for Computer Science Massachusetts Institute of Technology A Synthesis Algorithm for Modular Design of.
Lecture 9: Structure for Discrete-Time System XILIANG LUO 2014/11 1.
Mark Allie comp.dsp Signal to Noise and Numeric Range issues for Direct Form I & II IIR Filters on Modern Analog Devices and TI Digital Signal Processors.
- 1 - EE898-HW/SW co-design Hardware/Software Codesign “Finding right combination of HW/SW resulting in the most efficient product meeting the specification”
EECE **** Embedded System Design
March 8, 2006Spectral RTL ATPG1 High-Level Spectral ATPG for Gate-level Circuits Nitin Yogi and Vishwani D. Agrawal Auburn University Department of ECE.
Labs Practicing in Design of Combinational Networks and FSM with Concurrent Error Detection Tatjana Stanković, Goran Djordjević, Mile Stojčev 2075 Microprocessor.
CHAPTER 8 DSP Algorithm Implementation Wang Weilian School of Information Science and Technology Yunnan University.
Floating-point to fixed-point code conversion with variable trade-off between computational complexity and accuracy loss Alexandru Bârleanu, Vadim Băitoiu.
Floating Point vs. Fixed Point for FPGA 1. Applications Digital Signal Processing -Encoders/Decoders -Compression -Encryption Control -Automotive/Aerospace.
Telecommunications and Signal Processing Seminar Ravi Bhargava * Lizy K. John * Brian L. Evans Ramesh Radhakrishnan * The University of Texas at.
A New Method For Developing IBIS-AMI Models
HW/SW PARTITIONING OF FLOATING POINT SOFTWARE APPLICATIONS TO FIXED - POINTED COPROCESSOR CIRCUITS - Nalini Kumar Gaurav Chitroda Komal Kasat.
High Performance Scalable Base-4 Fast Fourier Transform Mapping Greg Nash Centar 2003 High Performance Embedded Computing Workshop
1 C.H. Ho © Rapid Prototyping of FPGA based Floating Point DSP Systems C.H. Ho Department of Computer Science and Engineering The Chinese University of.
1 Towards Optimal Custom Instruction Processors Wayne Luk Kubilay Atasu, Rob Dimond and Oskar Mencer Department of Computing Imperial College London HOT.
Ali Al-Saihati ID# Ghassan Linjawi
Hardware/Software Partitioning of Floating-Point Software Applications to Fixed-Point Coprocessor Circuits Lance Saldanha, Roman Lysecky Department of.
 Embedded Digital Signal Processing (DSP) systems  Specification with floating-point data types  Implementation in fixed-point architectures  Precision.
Ch.5 Fixed-Point vs. Floating Point. 5.1 Q-format Number Representation on Fixed-Point DSPs 2’s Complement Number –B = b N-1 …b 1 b 0 –Decimal Value D.
ESPL 1 Wordlength Optimization with Complexity-and-Distortion Measure and Its Application to Broadband Wireless Demodulator Design Kyungtae Han and Brian.
Integrated Smart Sensor Calibration Abstract Including at the sensor or sensor interface chip a programmable calibration facility, the calibration can.
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU Under-Graduate Project Case Study: Single-path Delay Feedback FFT Speaker: Yu-Min.
LIST OF EXPERIMENTS USING TMS320C5X Study of various addressing modes of DSP using simple programming examples Sampling of input signal and display Implementation.
FPL Sept. 2, 2003 Software Decelerators Eric Keller, Gordon Brebner and Phil James-Roxby Xilinx Research Labs.
Speaker: Darcy Tsai Advisor: Prof. An-Yeu Wu Date: 2013/10/31
Digital Signal Processing
Under-Graduate Project Adviser: Prof. An-Yeu Wu Mentor: 詹承洲 第二組 溫仁揚 溫昌懌.
Signals and Systems Lecture Filter Structure and Quantization Effects.
Chapter 6 Discrete-Time System. 2/90  Operation of discrete time system 1. Discrete time system where and are multiplier D is delay element Fig. 6-1.
Philip Brisk 2 Paolo Ienne 2 Hadi Parandeh-Afshar 1,2 1: University of Tehran, ECE Department 2: EPFL, School of Computer and Communication Sciences Improving.
 Adaptive filter based on LMS Algorithm used in different fields  Equalization, Noise Cancellation, Channel Estimation...  Easy implementation in embedded.
Slack Analysis in the System Design Loop Girish VenkataramaniCarnegie Mellon University, The MathWorks Seth C. Goldstein Carnegie Mellon University.
EENG 751 3/16/ EENG 751: Signal Processing I Class # 9 Outline Signal Flow Graph Implementation l Fundamentals l System Function l Graph Construction.
EC1358 – DIGITAL SIGNAL PROCESSING
Digital Signal Processor HANYANG UNIVERSITY 학기 Digital Signal Processor 조 성 호 교수님 담당조교 : 임대현
1 VLSI Algorithm & Computing Structures Chapter 1. Introduction to DSP Systems Younglok Kim Dept. of Electrical Engineering Sogang University Spring 2007.
Application of digital filter in engineering
Lattice Struture.
EEE4176 Applications of Digital Signal Processing
Embedded Systems Design
Digital Signal Processors
Digital Filter Design Tools
لجنة الهندسة الكهربائية
12/5/2018.
Applications of Distributed Arithmetic to Digital Signal Processing:
Chapter 6 Discrete-Time System
Tor Aamodt and Paul Chow University of Toronto { aamodt, pc
Suhas Chakravarty, Zhuoran Zhao, Andreas Gerstlauer
C Model Sim (Fixed-Point) -A New Approach to Pipeline FFT Processor
Automatic Floating-Point to Fixed-Point Transformations
Fixed-point Analysis of Digital Filters
Speaker: Chris Chen Advisor: Prof. An-Yeu Wu Date: 2014/10/28
Applications of Distributed Arithmetic to Digital Signal Processing:
Presentation transcript:

Automatic Evaluation of the Accuracy of Fixed-point Algorithms Daniel MENARD 1, Olivier SENTIEYS 1,2 1 LASTI, University of Rennes 1 Lannion, FRANCE 2 IRISA/INRIA Rennes, FRANCE

2 D. Menard, O. Sentieys University of Rennes 1 Outline of the presentation Motivations Theoretical concepts Accuracy evaluation methodology Overview of the tool Description of the different steps Results Conclusion

3 D. Menard, O. Sentieys University of Rennes 1 Motivations Embedded Digital Signal Processing (DSP) systems Specification with floating-point data types Implementation in fixed-point architectures  Development of new methodologies for the automatic transformation of floating-point descriptions into fixed-point specifications #define pi main() { float x,h,z for(i=1;i<n;i++) { *z= *y++ + *h++ } for(i=1;i<n;i++) { *z= *y++ + *h++ } VIRGULE FLOTTANTE.C Fixed-point coding Precision evaluation #define pi main() { float x,h,z for(i=1;i<n;i++) { *z= *y++ + *h++ } for(i=1;i<n;i++) { *z= *y++ + *h++ } VIRGULE FLOTTANTE.C Floating-point description Fixed-point description Optimization

4 D. Menard, O. Sentieys University of Rennes 1 Motivations Accuracy evaluation metric : Signal to Quantization Noise Ratio (SQNR) : Methodologies for the SQNR evaluation are based on simulation [Coster98], [Keding01], [Kim98] Drawbacks : – Long simulation time [Coster98] – Fixed-point format optimization process requires multiple simulations [Sung95] Presentation of a new methodology based on an analytical approach

5 D. Menard, O. Sentieys University of Rennes 1 Theoretical concepts Linear time-invariant systems : The output quantization noise b y (n) is the sum of filtered noise sources b’(n) [Menard02] + Input signal Noise sources (generated during a cast operation) Output noise Output signal Input noise Error due to coefficient quantization

6 D. Menard, O. Sentieys University of Rennes 1 SQNR Computation Tool Front End Back End Intermediate representation Analytical method Analytical method SQNR GsGs Signal flow graph (SFG) + fixed-point specifications Back-end stages :  T 1 : Quantization noise modelisation  T 2 : Transfer function determination  T 3 : SQNR computation Front-end stages :  CDFG generation (SUIF)  CDFG to DFG transformation  DFG to SFG transformation Source algorithm C CDFG generation SFG generation SUIF

7 D. Menard, O. Sentieys University of Rennes 1 Transformation T 1 : G s  G sn Goal : specify the system with a Signal Flow Graph G sn at the quantization noise level Steps : – Detection and insertion of the noise sources – Introduction of the operator noise models  zSzS  uSuS uNuN vSvS vNvN zNzN +  Multiplication noise model  u v z T1T1 Noise node Signal node Signal node Noise node

8 D. Menard, O. Sentieys University of Rennes 1 Transformation T 2 : G sn  G H (1) Stage T 21 : G sn  G k Goal : transform the Signal Flow Graph G sn into several directed acyclic graphs (DAG) Steps : – Detection of the cycles : linear complexity algorithm – Enumeration of the cycles : polynomial complexity – Dismantle of the cycles in order to obtain DAG Stage T 22 : G k  G eq Goal : specify the system with a set of linear functions Step : depth-first traversal of the graph with a post-order recursive algorithm

9 D. Menard, O. Sentieys University of Rennes 1 Transformation T 2 : G sn  G H (2) Stage T 23 : G eq  G H i Goal : specify the system with a set of partial transfer functions Steps : – Application of a set of variable substitutions –  transformation of the linear functions Stage T 24 : G H i  G H Goal : specify the system with a set of global transfer functions Step : Computation of the global transfer functions from the partial transfer functions

10 D. Menard, O. Sentieys University of Rennes 1 Results Test of the tool on classical DSP algorithms : FIR and IIR filters, FFT Precision of the estimation : Measurement of the relative error between our estimation and the one obtained by simulation – IIR 2 < 8.2 % – FIR 16 < 1.5 % – FFT 16 < 2.3 % Execution time : Most of the time is consumed by the stage T2 – FIR 256 : 0.86 s – IIR 4 : 0.65 s

11 D. Menard, O. Sentieys University of Rennes 1 Conclusion Definition of a new methodology for computing the SQNR based on an analytical approach Development of a tool for implementing this methodology Limitation : the method can not cope with recursive non-linear systems Advantages : Smaller optimization time for the process of fixed- point data format optimization – Hardware synthesis : minimization of the chip area under SQNR constraint

12 D. Menard, O. Sentieys University of Rennes 1 References [Coster98] L. D. Coster, M. Ade, R. Lauwereins, and J. Peperstraete. Code Generation for Compiled Bit-True Simulation of DSP Applications. In Proceedings of ISSS’98, Taiwan, December [Johnson75] D. B. Johnson. Finding All the Elementary Circuits of a Directed Graph. SIAM Journal on Computing, 4(1):77–84, March [Keding01] H. Keding, M. Coors, O. Luthje and H. Meyr. FRIDGE: Fast Bit True simulation. In Design Automation Conference 2001 (DAC 01), June 2001, Las Vegas. [Kim98] S. Kim, K. Kum, and S. Wonyong. Fixed-Point Optimization Utility for C and C++ Based Digital Signal Processing Programs. IEEE Transactions on Circuits and Systems–II: Analog and Digital Signal Processing, 45(11), November [Menard02] D. Menard and O. Sentieys. A methodology for evaluating the precision of fixed-point systems. ICASSP 2002, May 2002, Orlando [Sung95] W. Sung and K. Kum. Simulation-Based Word-Length Optimization Method for Fixed-Point Digital Signal Processing Systems. IEEE Transactions on Signal Processing, 43(12), December 1995.