Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiplying 2 real values

Status
Not open for further replies.

kutuev

Programmer
Apr 26, 2001
3
RU
Hello!
Tell me please, how can I multiply two REAL values. When I tried, compiler said that there is an error with supporting floating point format.

Thanks. Ilya

 
Hello!
I'm not sure that it is a simulator problem. Tell me please - would it work:

entity mult is
port(
in1 : in real;
in2 : in real;
out1 : out real
);
end entity mult;

architecture beh of mult is
begin
out1 <= in1*in2;
end of architecture beh;

I think, it will not. But how I can make it work?

Thanks!


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top