Communicating with an FPGA VI Executing in Simulation Mode (FPGA Interface)

LabVIEW 2018 FPGA Module Help


Edition Date: March 2018
Part Number: 371599P-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 FPGA Module Help
LabVIEW 2017 FPGA Module Help
LabVIEW 2018 FPGA Module Help
LabVIEW 2019 FPGA Module Help
LabVIEW 2020 FPGA Module Help

The following list describes behavior to consider when you use a host VI to communicate with an FPGA VI that is executing in simulation mode using simulated I/O:

  • You must run the host VI on a development computer running a Windows operating system to communicate with the FPGA VI. You cannot execute the host VI on an RT target when you want to use simulated I/O.
  • To execute different code on the host VI based on where the FPGA VI executes, use the Invoke Method function configured for the Get FPGA VI Execution Mode method.
  • The Up Cast function, the Dynamic FPGA Interface Cast function, and the Abort, Reset, and Download methods on the Invoke Method function do not support executing the FPGA VI in simulation mode. If you use these functions or methods, the host VI returns a run-time error.
  • Direct Memory Access (DMA) FIFOs are valid while either the host VI or FPGA VI is executing. If both VIs stop executing, DMA FIFOs lose all data.
  • Interrupts are valid only when the FPGA VI is executing. If the FPGA VI stops executing, all interrupt data is lost and any host interface waits return immediately.
  • If you use the Invoke Method function to read DMA FIFOs, the function might timeout more frequently because the FPGA VI is not executing as fast in simulation mode as it would on an FPGA target.
  • You must close the front panel window of the FPGA VI before executing the FPGA VI if you want to use the Close FPGA VI Reference function to close the reference, stop the FPGA VI, and reset the FPGA VI executing in simulation mode. You must open the front panel window of the FPGA VI before executing the FPGA VI if you want to use the Close FPGA VI Reference function to close the host reference without resetting the FPGA VI executing in simulation mode.

Related Information

Debugging FPGA VIs using Simulation Mode (FPGA Module)

Invoke Method Function

Up Cast Function

Dynamic FPGA Interface Cast Function

Close FPGA VI Reference Function

WAS THIS ARTICLE HELPFUL?

Not Helpful