Real data type increment by fraction in VHDL

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

7 level cascaded H bridge inverter

I am working on Seven level cascaded H bridge multi level inverter. kindly, tell me about switching pattern for this inverter. it means which pattern of switches can be used to get desire output. The total switchies are 12.
Syed Zain Nasir

I am Syed Zain Nasir, the founder of <a href=https://www.TheEngineeringProjects.com/>The Engineering Projects</a> (TEP). I am a programmer since 2009 before that I just search things, make small projects and now I am sharing my knowledge through this platform.I also work as a freelancer and did many projects related to programming and electrical circuitry. <a href=https://plus.google.com/+SyedZainNasir/>My Google Profile+</a>

Share
Published by
Syed Zain Nasir