Table Of Contents

Application Deployment and Debugging

Last Modified: April 26, 2016

When your application is complete and functions as you expect when you test it, you are ready to compile and deploy the application to an FPGA. Compilation involves compiling a bitfile for your top-level FPGA VI. Deployment involves downloading the bitfile to an FPGA and running the bitfile.

If LabVIEW returns errors during compilation or your application doesn't run properly after you deploy it to the FPGA, you must debug the application to resolve the issues.

The following resources provide information to help you deploy and debug your application.

  • Execution of FPGA CodeYou can run FPGA code on the FPGA directly or you can run the code on the host computer to simulate running it on the FPGA. Simulating FPGA code on the host computer helps you identify and resolve errors in your application before you run FPGA code on the FPGA directly.
  • Compiling a Bitfile to Run on the FPGA—Before you can deploy your application to the FPGA, you must compile a bitfile for your top-level FPGA VI. To run code on an FPGA, you must compile the top-level FPGA VI and its referenced documents into a bitfile that you then deploy to the FPGA. The bitfile transfers all the code and performance requirements of an application to an FPGA target.
  • Monitoring the Compilation of a Bitfile—To save time, you can monitor the compilation status while LabVIEW compiles a bitfile and cancel the compilation if LabVIEW reports errors before completing compilation.
  • Resolving Timing Violations on the FPGATiming violations occur when the execution time requested by sections of code is shorter than execution time the bitfile achieves after compiling. The compilation for a bitfile must be free of errors before you run the code on the FPGA. If LabVIEW reports timing violations when compiling your bitfile, you can troubleshoot and resolve the timing violations.
  • Downloading and Running an FPGA VI—After you successfully compile a bitfile without errors, download the bitfile to the FPGA and run the application. Use the FPGA Host Interface nodes to download, run, and communicate with code on the FPGA.
  • Debugging a Deployed Application—If your application doesn't run properly after you deploy it to the FPGA, debug your undeployed application and compile a new bitfile. Make sure your application runs within the constraints of your hardware. Search for your hardware device within this manual to locate specifications and data sheets for your device. The capabilities of your hardware determine how best to develop and implement your application.

Recently Viewed Topics