What is the best way to get a randomized real value?

In reply to perumallatarun:

Hi,

Verilog/System verilog has not any inbuilt method to do randomization of real numbers.
But you can use following conversion functions to achieve your intended functionality.
1).$bitstoreal()
2).$realtobits()