Real data type increment by fraction in VHDL

You can post your problem related to FPGa Projects here. We will try our best to help you out.
Shelton
Posts:18
Joined:Mon Feb 20, 2017 9:15 am
Real data type increment by fraction in VHDL

Post by Shelton » Wed Mar 08, 2017 5:59 am

Hi,

I am trying to increment real data by 0.03 in LOOP.Not able to see exact values.

angle <= angle + 0.03;

when angle is real data type.

in simulation I am seeing 0.02999999,0.059999999998,0.0899999999997,0.12.... .....


Thanks

Post Reply