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 configuring and building a bitfile for your top-level FPGA VI. Deployment involves downloading the bitfile to an FPGA and running the bitfile.
If an error occurs 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 Code—You 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 FPGA Code—To run code on an FPGA, you must compile the FPGA code into a bitfile that you then deploy to the FPGA. The bitfile contains binary data that describes how to configure the FPGA circuit so that it performs the same function as the code in the FPGA VI.
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.