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.

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?

share|improve this question
It depends on what tool you're using for synthesis... – Ben Voigt Apr 11 '12 at 14:55
@BenVoigt: I'm using ISE. – Randomblue Apr 11 '12 at 15:00

2 Answers

up vote 3 down vote accepted

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.

share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.