Print out seed if we can (#412)
Now that we have ifdef VCS in here lets use it for something more than compatibility
This commit is contained in:
parent
bc01f85164
commit
737cf82478
@ -34,7 +34,11 @@ module TestDriver;
|
|||||||
rand_value = $urandom;
|
rand_value = $urandom;
|
||||||
rand_value = $random(rand_value);
|
rand_value = $random(rand_value);
|
||||||
if (verbose) begin
|
if (verbose) begin
|
||||||
|
`ifdef VCS
|
||||||
|
$fdisplay(stderr, "testing $random %0x seed %d", rand_value, unsigned'($get_initial_random_seed));
|
||||||
|
`else
|
||||||
$fdisplay(stderr, "testing $random %0x", rand_value);
|
$fdisplay(stderr, "testing $random %0x", rand_value);
|
||||||
|
`endif
|
||||||
end
|
end
|
||||||
|
|
||||||
`ifdef DEBUG
|
`ifdef DEBUG
|
||||||
|
Loading…
Reference in New Issue
Block a user