$random with seed parameter

In reply to dave_59:

I understand your concepts.

Please analyze the below code:


module random;
reg [31:0]a;

initial
begin
repeat(5)
begin 
#10 a =$urandom(100);
$display(a);
end
#10 $finish;
end

endmodule

Expected Observation:I was expecting 5 different random numbers which will be fixed every time simulation runs.

But after I pass the seed number 100,I am getting identical 5 random numbers every time the simulation runs.

Can you please elaborate?

Thanks
Susmita