Optimizing an FPGA Application
- Updated2025-05-30
- 1 minute(s) read
Use one of the following techniques to optimize the usage of the NI-9145 physical memory and increase the compiling speed. Refer to the LabVIEW FPGA Module User Manual for more information about optimizing FPGA VIs.
- Limit the number of user-defined variables. The number of user-defined variables
that can fit in the NI-9145 depends on many factors, including:
- The number and type of C Series modules used in Scan Mode
- The number and type of user-defined variables
- The user logic on the LabVIEW FPGA diagram
- Use the smallest data type, if possible. Use the smallest data type for non-constant values to decrease the size and increase the speed of an FPGA VI.
- Shorten the length of the user-defined variable name. The user-defined variable name is stored in the NI-9145 Object Dictionary (OD) after you compile and download the FPGA VI. Shortening the name reduces the usage of the OD table.