07-17-2006 08:53 PM
07-18-2006 12:55 PM
This is not a bug. As stated in the FIFO Property help documentation, using Block memory with a local FIFO may take up to 6 clock cycles for data to be available on the read. You must monitor the Full and Empty outputs to determine when the data is ready.
Regards,
Joseph D.
07-19-2006 05:41 PM
07-21-2006 09:23 AM
I have passed your feedback on to the appropriate people. Thank you for your suggestions and helping make LabVIEW FPGA even better.
Regards,
Joseph D.
09-13-2006 09:52 AM
Hi all,
does this behaviour also hold true for the 7.1(.1) version? I have a u32x32 FIFO in block RAM that is sometimes quite unreliable.... 😞
Regards
Oliver
09-14-2006 01:08 PM
09-14-2006 02:10 PM
09-09-2014 07:42 AM
OK, first, I apologise for the level of Thread revival I am indulging in here....
I am having a problem understanding some behaviour of my current FPGA code with Block RAM FIFOs communicating between different clock regions.
I output my data to a device and read it in immediately. I see a latency of approximately 32 output cycles. While I have certain amounts of pipelining in place which can result in a certain amount of delays, I'm a bit lost when it comes to explaining the rest.
Then I saw in the help for Block RAM FIFOs that there can be a latency of 5 or 6 read / write cycles before the value written to the FIFO comes out the other end.
Seeing how I am using one FIFO TO my devide and one FIFO FROM my device, this latency would be doubled in my case.
How much of my observed delay between output and input can be explained by utilising FIFOs (Block RAM, 14-bit and 16-bit with built-in control)?
What is the current status of this latency in LV 2012 SP1?
Shane
09-09-2014 03:43 PM
What specifically do you mean by outputting data to/from a device? If you are using DMA or other off-chip communication the latency will be much longer than 5 to 6 cycles.
09-10-2014 12:01 AM
No, theres no dma involved. The data goes to a dac via a CLIP and is then read in again from ADC again via CLIP. All communication is FPGA level only.
The CLIP IO is registered on input and output, so that explains SOME delay. But the total delay seems a bit large.