# How to set a queue/array in uvm\_config\_db?

**URL:** <https://verificationacademy.com/forums/t/how-to-set-a-queue-array-in-uvm-config-db/29519>\
**Category:** UVM\
**Tags:** UVM, queue, uvm\_config\_db\
**Created:** [May 27, 2014, 11:40am UTC](https://verificationacademy.com/forums/t/how-to-set-a-queue-array-in-uvm-config-db/29519 "2014-05-27T11:40:50Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![tfitz](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/tfitz/32/3025_2.png) [@tfitz](https://verificationacademy.com/forums/u/tfitz)\
**Post date:** [May 27, 2014, 1:34pm UTC](https://verificationacademy.com/forums/t/how-to-set-a-queue-array-in-uvm-config-db/29519/4 "2014-05-27T13:34:43Z")

</div>

_In reply to [Reuben](https://verificationacademy.com/forums/t/how-to-set-a-queue-array-in-uvm-config-db/29519/3):_

Yes, it works, but it’s incredibly inefficient. This is just one of the reasons we don’t recommend using the uvm\_field macros.  
You would be much better off creating a uvm\_object that includes the arrays and simply doing a single uvm\_config\_db call to pass that object.

---

_[View the full topic](https://verificationacademy.com/forums/t/how-to-set-a-queue-array-in-uvm-config-db/29519)._
