Hi, I'm an Eng. Electronic trying to modulate a communication channel on VHDL. That's why I need to use the library math_real, but I'm having problems to use it.
I declared to signals a,b as real to try to use the sin function as example. The simple code
signal e,d: real;
c <= sin(d);
Gives me next error: VHDL error at <location>: real type object <e> cannot be used in operations.
What do I need to do in order to use the function correctly?
PS: I'm using Quartus II from altera and I couldn't load the library normally. I had to use it as work library...
I declared to signals a,b as real to try to use the sin function as example. The simple code
signal e,d: real;
c <= sin(d);
Gives me next error: VHDL error at <location>: real type object <e> cannot be used in operations.
What do I need to do in order to use the function correctly?
PS: I'm using Quartus II from altera and I couldn't load the library normally. I had to use it as work library...