Hello,
Is it for simulation only purpose ?
Because I don't think that such syntax is synthesizable. You can use instead pseudo random pattern generators (PRPG) with easy implementation like LFSR (Linear feed back shift register) but as its name indicate it is pseudo random and not random.
It generates the same sequence after a period according to reset state of flip-flops. One sequence can be considered as random, but since it is repeated many times it can not be considered as fully random.
Regards