Why The Get Number Of Elements To Write Method Has a Different Value in Simulation Mode?

Updated May 30, 2019

Reported In

Software

  • LabVIEW 2018
  • LabVIEW FPGA Module

Issue Details

In Simulation mode I am reading the Method: Get Number of Elements to Write, but the result is not the same as in Execution mode. Why do I have this behavior? 

Solution

This method returns the number of empty element slots available to be written in the FPGA FIFO
 

In Simulation mode, the output value of this method is the actual number. Instead On hardware, block memory FIFOs include an additional buffer, this method does not report the number of elements available in the additional buffer.
If the FIFO contains less elements than the depth of the additional buffer, the output value of this method is less than the actual number of elements available to write. Otherwise, the output value of this method is the actual number