In reply to Anudeep J:
Randomization of a real variable is not supported in SV 1800-1200. And still there is a requirement to get random real number, so it can be achieved with alternate/work-around only.
Sometime results are more important than the way chosen to do it.