Print Verilator random seed when +verbose is passed
This commit is contained in:
parent
67593fdf2d
commit
6472d4c245
@ -61,6 +61,9 @@ int main(int argc, char** argv)
|
||||
print_cycles = true;
|
||||
}
|
||||
|
||||
if (verbose)
|
||||
fprintf(stderr, "using random seed %u\n", random_seed);
|
||||
|
||||
srand(random_seed);
|
||||
srand48(random_seed);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user