Hi,

is there any easy possibility to convert an Integer to Real? Searching the web 
I found something like:

library ieee;
use ieee.math_complex.all;
....
signal w1, w2, w3, w4 : integer;
...
b1_N <= to_real(w1)/100;

but when i try to compile it, i get an error:

no declaration for "to_real"

I noticed in the  user guide of ghdl that not all functions of the ieee math 
libraries are included in ghdl. Is this the reason for the error? Is there any 
workaround?

Greetings Markus
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to