How do I define an associative array of queues?

In reply to Verif Engg:
Never declare an associative array with a wildcard index[*]. You can not retrieve any key values because its type is unknown. Use [int] if you mean the index to mean a 32-bit integer.

bit [31:0] trans_q[int][$];

This declares an associative array of queues.