Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers

ieee 754 format

Altera_Forum
Honored Contributor II
936 Views

sir i want to represnt 0.46 in ieee 754 format,after presenting if i multiply it with decimal like 3 can i get the desired right value in vhdl?i dont want to use fixed_pkg,it was too much combersome,i can't run it.:(

0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
250 Views

the fixed package is not for floating point numbers. The only way to do floating point is with alteras floating point IP blocks.

0 Kudos
Altera_Forum
Honored Contributor II
250 Views

thank u sir :-P

0 Kudos
Altera_Forum
Honored Contributor II
250 Views

 

--- Quote Start ---  

The only way to do floating point is with alteras floating point IP blocks. 

--- Quote End ---  

 

 

You could also implement the IEEE-754 arithmetic yourself (which is a considerable amount of work) or obtain IEEE-754 IP from a third party vendor.
0 Kudos
Reply