Type Conversion in VHDL

Jul 11, 2007 2 Replies

hi all,



how to convert integer numbers to real numbers and vice-vers. and what will be the hardware generated for real multiplication.



please reply soon ...



thanks



Did you bother to Google? I guess not... Q1. vhdl convert integer real Q2. fpga multiplier structure site:xilinx.com fpga multiplier structure site:altera.com

HTH, Syms.

You can't easily multiply real numbers in HDL code. You could use an IP core for it, or you could represent the numbers in a fixed point format and multiply them.

---Matthew Hicks

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required