Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > General Computer Discussion > Hardware > VHDL differential equations, multiplication division by powers of 10

Reply
Thread Tools

VHDL differential equations, multiplication division by powers of 10

 
 
boer boer is offline
Junior Member
Join Date: Apr 2009
Posts: 1
 
      04-24-2009
HEllo,
I need to solve 4 differential equations in an FPGA, I am working with the ML403 from Xilinx and I am using Xilinx Tools (ISE, XST).

The problem that I have is that everything is in fixed point for solving the differential equations, but I can't use the fixed point libraries with XST because of the negative index.

I am using Euler to solve the differential equations but the problems is with some multiplications since I need to have a result every 5us. So I need a lot of multiplications with 5e-6.

For that reason I developed an algoritm to multiplicate and to also additions, but I need to do divisions, multiplications by powers of 10... for example when I have 6e-6 times 6e-6 I will have 36e-12, so there are sometimes when I need to get rid of some of the exponents and multiply by 10 or by 100 to have e-10 or e-9 etc, but I am not sure how to do this!!!

I really appreciate any help that you can give me!!

thanks in advanced

Boer
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Source of term "multiplication" in matrix multiplication William Hughes C Programming 13 03-15-2010 02:04 PM
small integer powers -- use pow() or explicit multiplication? blmblm@myrealbox.com C Programming 22 03-23-2009 12:19 AM
Division by repeated multiplication VHDL stevebarly Software 0 05-21-2008 10:11 AM
order of operations with division and multiplication Tim923 C++ 4 04-08-2005 09:01 PM
need help with large int multiplication and division akickdoe22@hotmail.com C++ 1 01-21-2005 02:46 AM



Advertisments