S
senthil
Guest
hello friends
i found one fatal error , when i multiply two signals ie.,
one signal is being real type and another one is integer type.. coding below
entity < >
port ( w : in real;n : integer; result : out real);
end < >
architecture < > of < > is
signal tmp : real;
begin
tmp <= real;
result <= w*tmp;
end <>;
after i force values to w
i found on the screen
Fatal: Value -Inf is out of range -1e+308 to 1e+308
Fatal error at /export/home/mvs/mvs014/senthil/Sem3/sample.vhd line 9
ie., at result <= n * tmp;
please give some ideas...
thank u expect some suggestions
i found one fatal error , when i multiply two signals ie.,
one signal is being real type and another one is integer type.. coding below
entity < >
port ( w : in real;n : integer; result : out real);
end < >
architecture < > of < > is
signal tmp : real;
begin
tmp <= real;
result <= w*tmp;
end <>;
after i force values to w
i found on the screen
Fatal: Value -Inf is out of range -1e+308 to 1e+308
Fatal error at /export/home/mvs/mvs014/senthil/Sem3/sample.vhd line 9
ie., at result <= n * tmp;
please give some ideas...
thank u expect some suggestions