Repeat Loop Not Working

In reply to dave_59:

Hi Dave I ran your code on Icarus verily simulator 0.10 on edaplayground and dint get any display when i used real number.
But when i used a decimal 5, i got 5 displays

I got the same result on a Cadence simulator