|
Message
From: Taho Dorta<taho82@g...>
Date: Thu Mar 13 09:56:20 CET 2008
Subject: [oc] FPU core
Hi all,In my VHDL design I need to operate using float. I think I am going to use FPU core of opencores. The problem is that I need to multiply unsigned integer (16 bits) with float (32 bits single precision floating point), so I suppose I have first to convert integer into float. What is the simplest way to do this conversion?Is there some library or core?
The whole operation is: (it is use to calibrate Power received in a SFP)
a_4(32 bit float) * rxPwr^4(16 bit unsigned integer) + a_3(32 bit float) * rxPwr^3(16 bit unsigned integer) + a_2(32 bit float) * rxPwr^2(16 bit unsigned integer) + a_1(32 bit float) * rxPwr(16 bit unsigned integer) + a_0(32 bit float)
Thanks in advance
-- Taho Dorta -------------- next part -------------- An HTML attachment was scrubbed... URL: attachment.htm
|