How to set a queue/array in uvm_config_db?

In reply to Reuben:

Hi ,
From the look of the code I guess we can do this way. But im not sure of the outcome as I have not tried it.

foreach(cmd_arr[i])
uvm_config_db#(int)::set(this, “env.e_agent*.seqr”, “cmd_arr”, cmd_arr[i]); //you should manage “cmd_arr” in such a way that each entry into config_db is unique say cmd_arr_0, cmd_arr_1 etc.

foreach(addr_arr[i])
uvm_config_db#(bit [14:0])::set(this, “env.e_agent*.seqr”, “addr_arr”, addr_arr[i]);

foreach(data_arr[i])
uvm_config_db#(bit [7:0])::set(this, “env.e_agent*.seqr”, “data_arr”, data_arr[i]);

Thanks,
Neith