How to change random seed using command line parameter

Command line switches may be tool dependent.

In Questa, you can use the vsim switch -sv_seed [value]. You can also use random as value to generate unique seeds. It will print out the seed so you can replay it.