# QUEUES

**URL:** <https://verificationacademy.com/forums/t/queues/31070>\
**Category:** SystemVerilog\
**Tags:** System-Verilog, SystemVerilog, queue, fifo\
**Created:** [September 27, 2015, 6:59am UTC](https://verificationacademy.com/forums/t/queues/31070 "2015-09-27T06:59:33Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![YogarajSelvalingam](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/y/dbc845/32.png) [@YogarajSelvalingam](https://verificationacademy.com/forums/u/YogarajSelvalingam)\
**Post date:** [September 28, 2015, 11:19am UTC](https://verificationacademy.com/forums/t/queues/31070/7 "2015-09-28T11:19:23Z")

</div>

_In reply to [Yogaraj Selvalingam](https://verificationacademy.com/forums/t/queues/31070/6):_

Hi Dave,

I am developing a Behavioral Modelling Code for an IP. The IP generally works on two different clocks. Write is happening at one clock and read is happening in different clock. I have two ways to do, Either using a FIFO or Queues. I have worked in Queues that work in single clock. So I got a doubt whether it can work on two different clocks. Now I am clear with it.

Hi Bdreku,

I am using queue.size() method to pop data out from the Queue to provide proper synchronization.

Thanks,  
Yogaraj

---

_[View the full topic](https://verificationacademy.com/forums/t/queues/31070)._
