From: prakhar vig Subject: How to port floating point code on the dsp side(omap 1610) Date: Fri, 3 Feb 2006 05:04:28 +0000 (GMT) Message-ID: <20060203050428.28743.qmail@web8415.mail.in.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces@linux.omap.com Errors-To: linux-omap-open-source-bounces@linux.omap.com To: linux-omap-open-source@linux.omap.com List-Id: linux-omap@vger.kernel.org Hi all, I am new to dsp programming. I have a code which is using floating point arithmatic. I want to run this code on the c55x dsp of omap1610 board. But since it is a fixed point processor, i suppose i need to convert my code into fixed point arithmatic. I am coding in CCS. Can anyone throw some light regarding a) how to convert the floating point numbers to fixed point numbers and perform basic arithmatic operations (like addition,multiplication etc) b) how to do scaling. Also links to some tutorials regarding these matters will be also of great help to me. Thanks and regards, Prakhar. __________________________________________________________ Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com