In reply to Maniramadugu:
I want to know the concept of how to access the queues using randomization
What do you mean by this?
A queue can be randomized in 2 steps.
- size constraint, if it is an unbounded queue. q.size() == length;
- value of each element constraint. This can be done using a foreach loop
foreach (q[i]) begin
q[i] <= x;
q[i] >= y;
All of this is easily available in the LRM or a simple search of the forum will lead you to your answer.