Generate LabVIEW FPGA Code
- Updated2025-10-10
- 2 minute(s) read
LabVIEW Field-Programmable Gate Array (FPGA) code is a type of code specifically optimized to run on NI Reconfigurable I/O (RIO) devices such as the PXI-7831R. You can use the Start IP Generator dialog box or the DFD FXP Code Generator VI to generate LabVIEW FPGA code.
LabVIEW FPGA code takes advantage of the specific features, such as the Single-Cycle Timed Loop (SCTL) and memory items, of the LabVIEW FPGA Module. Therefore, this type of code can run on an FPGA target efficiently. You can generate LabVIEW FPGA code for filters with the following filter structures:
- FIR structures
- IIR Cascaded Second-Order Sections Form structures
- Lattice MA structures
- Lattice ARMA structures
The LabVIEW Digital Filter Design Toolkit uses LabVIEW projects to manage the resulting LabVIEW FPGA code. The following figure shows an example project file that contains LabVIEW FPGA code:
In the previous figure, the filtername.lvproj file, where filtername denotes the name of the fixed-point filter, contains the following folder and VI in addition to the default items.
You can generate both one-channel and multichannel LabVIEW FPGA code from a fixed-point filter.
To use multichannel LabVIEW FPGA code, you must interleave the input data.