UVM QUEUE CLASS

In reply to chr_sue:

Could you please paste a code snippet demonstrating what you are saying.

Please read my previous post in this topic (post 4). I used uvm_queue inside the uvm_pool with key type is string.

BTW you cannot put to a uvm_barrier_pool a uvm_event. These are different hings.

I don’t understand what you said. I meant, the uvm_pool feature of UVM has been used in many purpose such as uvm_barrier_pool and uvm_event_pool. The using of uvm_queue with uvm_pool (uvm_queue_pool) is also the same approach.

A queue and an associative array are also behaving differently. I don’t believe it works what you are trying to explain.

Of course a queue and associative array are different. But the uvm_pool or uvm_object_string_pool are designed to support any type of object as argument even uvm_queue.