Table Of Contents

Coding for Compiler Optimizations and Optimized FPGA VI Performance

Last Modified: August 8, 2018

When you compile code in an Optimized FPGA VI, the compiler applies optimizations intended to improve the performance of the code on the FPGA. Programming choices you make can affect the compiler's ability to optimize that code.

Adhere to the following coding practices to give the compiler the best opportunity to optimize your code:
  1. Reduce the complexity of the algorithm where possible.
  2. Code values that the compiler can determine before run time.
In addition to these general practices, review programming patterns and constructs that can affect the performance of the code in an Optimized FPGA VI:

Recently Viewed Topics