There is a segment of code below:
$display("current random value: %0d", $random);
I use Cadence irun to compile and simulate this code. Although I add option " -seed random" to irun, but each time the result is same. It seems that $random is not controlled by -seed.
If I change $random to $urandom, it works! Each time I run, the result is not different.
So, my question is that, why $random is not controlled by -seed ???