How to assign qu given in module to three different queues(q1, q2 ,q3) in given class randomly such that equal no. of elements of qu is assigned to q1, q2 and q3? Assigned values should be unique. I have taken 15 elements in qu so q1, q2 and q3 should have 5 unique elements here.
class Base;
rand int q1[$], q2[$], q3[$];
endclass
module top;
Base base = new();
int qu[$] = {16,1,2,3,4,5,6,7,8,9,10,11,12,13,14};
endmodule