Is it possible to pass a dynamic array through uvm_config_db#(...)::set/get

In reply to MichaelP:

The uvm_config_db can pass any data type by value. Complex data type like unpacked arrays need typedef, so you would do
uvm_config_db#(my_type)::get(…);
. But if you want to share an array, you need to wrap the array in a class object, then you can use the uvm_config_db to share the handle to that object containing the array.

It seems you want to be pushing and popping address, so a queue would be a better array type, and the UVM already provides a queue wrapped in an object, called
uvm_queue
.