# 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:** 8

<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 28, 2014, 1:50pm UTC](https://verificationacademy.com/forums/t/how-to-set-a-queue-array-in-uvm-config-db/29519/8 "2014-05-28T13:50:49Z")

</div>

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

If you have N elements in cmd\_arr, M elements in addr\_arr, and P elements in data\_arr, your approach will do N + M + P sets into the config\_db, and you’ll have to do N + M + P gets to retrieve the information. If you create an object that holds the three arrays, you’ll only have to do one set and one get.

---

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