Is the Verilog real data type synthesisable for a generic Xilinx FPGA? If not, what alternatives do I have for real number manipulation in synthesisable Verilog?
Tell me more
×
Electrical Engineering Stack Exchange is a question and answer site for
electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.
|
|
|||||
|
|
Short answer: No. Your best bet would be to build your own floating-point block. There are open-source examples. While you can make it IEEE754 compatible, there is no need to. It all depends on your application. Some applications requires the range provided by single/double-precision IEEE754 numbers. However, other applications only require a small range that can be emulated with fixed-point numbers instead. |
|||
|
|
|
No, but some FPGAs have a core that works with built-in hardware for floating point. This Altera white paper discusses some details. However you would have to instantiate them; they can't be inferred by ISE or most other tools. |
|||
|
|