In reply to AMARDEEP R PALURU:
I would change this to
logic [31:0] id;
logic [31:0] id_array [$];
repeat (16) begin
std::randomize(id) with {!(id inside {id_array});};
id_array.push_back(id);;
end
In reply to AMARDEEP R PALURU:
I would change this to
logic [31:0] id;
logic [31:0] id_array [$];
repeat (16) begin
std::randomize(id) with {!(id inside {id_array});};
id_array.push_back(id);;
end