Code to generate pulses at a given rate using constraint randomization

In reply to sruthikrapa:

Hi,

we cant include delays in function. Try using task.

Regards
Kranthi