# How to exceed queue limit of 1000 elements?

**URL:** <https://forum.uvvm.org/t/how-to-exceed-queue-limit-of-1000-elements/367>\
**Category:** Uncategorized\
**Tags:** question\
**Created:** [April 24, 2023, 8:24am UTC](https://forum.uvvm.org/t/how-to-exceed-queue-limit-of-1000-elements/367 "2023-04-24T08:24:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kilyjoy](https://avatars.discourse-cdn.com/v4/letter/k/8c91f0/32.png) [@Kilyjoy](https://forum.uvvm.org/u/Kilyjoy)\
**Post date:** [April 24, 2023, 8:24am UTC](https://forum.uvvm.org/t/how-to-exceed-queue-limit-of-1000-elements/367/1 "2023-04-24T08:24:42Z")

</div>

I’m trying to change the queue limit cap of 1000 elements because I need to put 1024 elements in queue. Is it even possible to do or there is some kind of maximum cap of 1000 elements ? I’m trying to use set\_queue\_count\_max and queue\_count\_alert\_level procedure in testbench but it seems to not work properly (it doesnt change the value at all).

---

<div class="post-metadata">

**Author:** ![EspenTa](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.uvvm.org/espenta/32/52_2.png) [@EspenTa](https://forum.uvvm.org/u/EspenTa)\
**Post date:** [April 24, 2023, 9:08am UTC](https://forum.uvvm.org/t/how-to-exceed-queue-limit-of-1000-elements/367/2 "2023-04-24T09:08:41Z")

</div>

Hi,  
I assume you are referring to the generic queue - and that you are using this stand-alone, since you don’t mention any VVC?  
Did you set the generic GC\_QUEUE\_COUNT\_MAX? (see documentation)  
Could you please include all the setup-related commands (including generics) you are using towards the queue?  
– Espen

---

<div class="post-metadata">

**Author:** ![Kilyjoy](https://avatars.discourse-cdn.com/v4/letter/k/8c91f0/32.png) [@Kilyjoy](https://forum.uvvm.org/u/Kilyjoy)\
**Post date:** [April 24, 2023, 9:27am UTC](https://forum.uvvm.org/t/how-to-exceed-queue-limit-of-1000-elements/367/3 "2023-04-24T09:27:27Z")

</div>

Hi,  
No I’m not using it as stand-alone in testbench I’m invoking uvvm\_util, uvvm\_vvc\_framework, bitvis\_vip\_clock\_generator, bitvis\_vip\_spi libraries .  
I didnt set up GC\_QUEUE\_COUNT\_MAX in any way, I assumed I can change it by invoking the related procedure, I even tried to change the value manualy in ti\_generic\_queue\_pkg.vhd but it doesnt seem to work that way. I’m kind of fresh to using UVVM so things are somethimes still little bit confusing to me.

---

<div class="post-metadata">

**Author:** ![Marius](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.uvvm.org/marius/32/43_2.png) [@Marius](https://forum.uvvm.org/u/Marius)\
**Post date:** [August 16, 2023, 6:46pm UTC](https://forum.uvvm.org/t/how-to-exceed-queue-limit-of-1000-elements/367/4 "2023-08-16T18:46:08Z")

</div>

Hi,  
Not sure if I understand what you are doing in your testbench. Are you trying to send 1024 SPI transmit commands to the VVC? If so, have you tried to increase the generics on the VVC entity for the queue sizes?

Br,  
Marius
