QUEUES

In reply to Yogaraj Selvalingam:

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