How to randomize realtime values in SV/UVM

In reply to poonamnlwd:

Dou want to use a randomized frequency? Or what is your intention?
BTW you cannot randomize real data types directly. You have to convert them to an integer and reconvert to real.