-2

In system verilog $urandom uses the +ntb_random_seed and so reproducing the issue becomes easier. But I want to use different sequences for each instance. if all the instances of a module, having the same random value, it does not serve the purpose.

Appreciate any help.

Thanks, Kannan

1 Answers1

-1

If you use $urandom the sequence generated by each module instance will be completely independent of each other. (This will not be the case for $random). See my answer here and have a play with this example on EDA Playground: if you change the delays on the clock generator, you will see that the urandom module instances are completely independent of each other, whereas the random module instances are not.

Matthew Taylor
  • 13,365
  • 3
  • 17
  • 44