V
viswanath
Guest
Hi,
I was trying to implement digital sine modulation in vhdl and for the
same I was multiplying a sine value( which I assumed to be a real
number). For reasons unknown to me though it appears to be an ok
waveform I get error messages stating the following:
Error: XLOCAL <= 0.0 after reduction in SIN(X)
# Time: 479952500 ps Iteration: 0 Instance: /sigtst/s1
At this instant of time the value of sine is of the order 1e -14,
1e-15, 1e-13.
The code at which I think is the problem is :
sin_theta := sin(math_2_pi*real(now/1 ps)/real(period/ 1 ps));
What could that problem be? and how can one fix that?
I need this because for a further multiplication with another real
number I am getting a FATAL error message and the simulation stops. It
says the real number range has exceeded though I am multiplying two
real numbers which are within that range one the above number and
another number which is also a sine value. Though this cannot exceed
the range I get that message.
I would greatly appreciate any help and suggestions.
Thanking You in Anticipation,
Yours Truly,
Viswanath Daita
I was trying to implement digital sine modulation in vhdl and for the
same I was multiplying a sine value( which I assumed to be a real
number). For reasons unknown to me though it appears to be an ok
waveform I get error messages stating the following:
Error: XLOCAL <= 0.0 after reduction in SIN(X)
# Time: 479952500 ps Iteration: 0 Instance: /sigtst/s1
At this instant of time the value of sine is of the order 1e -14,
1e-15, 1e-13.
The code at which I think is the problem is :
sin_theta := sin(math_2_pi*real(now/1 ps)/real(period/ 1 ps));
What could that problem be? and how can one fix that?
I need this because for a further multiplication with another real
number I am getting a FATAL error message and the simulation stops. It
says the real number range has exceeded though I am multiplying two
real numbers which are within that range one the above number and
another number which is also a sine value. Though this cannot exceed
the range I get that message.
I would greatly appreciate any help and suggestions.
Thanking You in Anticipation,
Yours Truly,
Viswanath Daita