Article View: comp.dsp
Article #53Re: How to modify floating-point algorithm to fixed-point?
From: u7811555
Date: Tue, 03 Nov 1992 09:35
Date: Tue, 03 Nov 1992 09:35
29 lines
2049 bytes
2049 bytes
Yuhong Xiong (yuhong@hardy.u.washington.edu) wrote: : I am currently working on coding MPEG audio algorithm on a fixed-point : DSP chip. The original MPEG audio algorithm described in the Committee : Draft is a floating-point algorithm. A lot of constant coefficients : are double precision numbers. And in the psychoacoustic part of the : algorithm, the computation of logarithmic and exponential functions (base 10) : are required. Can anybody tell me how to modify the MPEG audio algorithm : in order to fit into a fixed-point processor? How to realize logarithmic : and exponential function on a fixed-point processor? Or the general way : to convert a floating-point algorithm to fixed-point one. Any information : is appreciated. : : Thanks in advance. : : -Yuhong : yuhong@u.washington.edu : I think it is an interesting problem to convert a floating point precision program, eg, C-code, into fixed point computations. Since it is the first step for converting algorithm to architecture. C-language do not support fixed point computation. Thus, there exists a big gap from algorithm to architecture mapping. It is almost impossible to implement multipliers or adders with floating point computation for real-time ASIC solution. So, the problem is: who should take the reponsibility of "Precision Analyis". Architecture designer or algorithm developer? Or there are good solutions to this problem. eea78555@twins.ee.nctu.edu.tw
Technical Details
Message-ID:
<1992Nov3.093502.12778@debbie.cc.nctu.edu.tw>Path:
arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!news.bbn.com!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!news.edu.tw!news!debbie!ccsun6!u7811555References:
<1992Oct27.180855.8049@u.washington.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.dsp Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!news.bbn.com!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!news.edu.tw!news!debbie!ccsun6!u7811555 From: u7811555@cc.nctu.edu.tw () Subject: Re: How to modify floating-point algorithm to fixed-point? Message-ID: <1992Nov3.093502.12778@debbie.cc.nctu.edu.tw> Sender: usenet@debbie.cc.nctu.edu.tw (News Sender) Organization: National Chiao Tung University X-Newsreader: TIN [version 1.1 PL6] References: <1992Oct27.180855.8049@u.washington.edu> Date: Tue, 3 Nov 1992 09:35:02 GMT Lines: 29