A statistical method of range estimation for embedded applications

Laurent-Stéphane Didier 1
1 PEQUAN - Performance et Qualité des Algorithmes Numériques
LIP6 - Laboratoire d'Informatique de Paris 6
Abstract : Many embedded applications use fixed point arithmetic because embedded hardware do not implement floating point arithmetic for cost and efficiency reasons. In order to specify the fixed point arithmetics used in his design, a designer has to estimate the ranges of the internal variables. With this knowledge, he can obtain a trade-off between the cost, size, power and speed of his system. However, computing such a range is known to be difficult. It can be observed that most of the embedded applications are digital signal processing and control applications which are generally iterative methods. Making use of interval or similar arithmetic [1, 2] in order to get an estimation of the range of such iterative methods does not give interesting results easily. The statistical methods offer an interesting way to get some information on the range simply. The aim of such methods is to simulate several times with stimuli the application to be evaluated, to catch the values of the outputs and exploit some of their statistical properties in order to estimate their range. Kim and Sung have proposed a method originally designed for estimating the range of variables of a C code [3]. In their approach, they examine the means, the standard deviations and the kurtoses of the studied internal variables. With this method, the width of the range of each variable is a simple function of those three parameters. We propose here an other statistical method which requires less simulation than Kim & Sung’s approach. If we consider the input stimuli as random independent inputs, it is then possible to consider the minima and the maxima of the outputs of each simulation as random variables. Assuming that these variables have a gaussian repartition, we built an estimator based on the student’s test. The estimated range is then a function of the mean, the standard deviation, the number of simulation and the inverse of the student’s T cumulative distribution function. The use of our and Kim & Sung’s method is also illustrated through several examples.
Document type :
Conference papers
Complete list of metadatas

https://hal.archives-ouvertes.fr/hal-01303656
Contributor : Lip6 Publications <>
Submitted on : Monday, April 18, 2016 - 2:51:57 PM
Last modification on : Thursday, March 21, 2019 - 2:17:35 PM

Identifiers

  • HAL Id : hal-01303656, version 1

Citation

Laurent-Stéphane Didier. A statistical method of range estimation for embedded applications. 13th International Symposium on Scientific Computing, Computer Arithmetic and Verified Numerical Computations - SCAN2008, Sep 2008, El Paso, Texas, United States. pp.34-34. ⟨hal-01303656⟩

Share

Metrics

Record views

86