alu design

Thread Starter

neenu

Joined Aug 11, 2010
6
hi.. i want to design a 32 bit floating point addition subtraction multiplication and division unit. kindly help me..
 

Papabravo

Joined Feb 24, 2006
21,225
What do you know about ALU design so far. A floating point unit is all well and fine, but do you know how to do a fixed point ALU? It is a really excellent place to start. This is based on the idea that you have to learn to crawl and walk before you try to run a marathon.
 

Thread Starter

neenu

Joined Aug 11, 2010
6
hi.. thanks for your reply.. i didnt do fixed point operations yet.. is it possible to do floating point operations without doing fixed point operations.. and i need to design this using vhdl.
 

Papabravo

Joined Feb 24, 2006
21,225
I suppose it is possible, but surely inadvisable. If you don't know anything about how fixed point arithmetic works, it seems unlikely that you could get your head around floating point operations with any expectation of getting it right and being able to debug your design if things go wrong.

You're a smart guy so if you've got the stones, go for it.
 

tom66

Joined May 9, 2009
2,595
Have a look at how software floating point math works. I recommend you have a look at the code for PIC micros which implement IEEE-794 32-bit addition, subtraction, multiplication, division etc. It may be possible to convert it to VHDL. You did not specify whether you were doing IEEE-794 32-bit, 64-bit or any other format.
 

Papabravo

Joined Feb 24, 2006
21,225
Without knowing anything about fixed point arithmetic he's going to understand the PIC library without any difficulty whatsoever. Sure, and pigs may grow wings and fly.
 
Top