Generating Code from Fixed-Point Filters (Digital Filter Design Toolkit)
- Updated2023-03-14
- 1 minute(s) read
Generating Code from Fixed-Point Filters (Digital Filter Design Toolkit)
After you obtain an appropriate fixed-point filter model, you can implement the resulting fixed-point filter on the target hardware.
![]() |
Note Output quantizers generally have different integer word lengths from the input quantizers. Before generating code, check the quantizer settings to confirm or modify the settings you want to use for the fixed-point filter. If you reduce the default output integer word length, National Instruments recommends that you change the overflow mode to Saturate. |
The LabVIEW Digital Filter Design Toolkit provides the following options for deploying the filter:
- Export fixed-point integer coefficients. You then can use the coefficients in a filter execution engine.
- Generate fixed-point C code. You then can use a digital signal processing (DSP) C compiler to generate digital filter object code for a general-purpose DSP.
- Generate integer LabVIEW code. You then can simulate the behavior of the fixed-point filter using the integer LabVIEW code.
- Generate LabVIEW field-programmable gate array (FPGA) code. You then can deploy the generated code to an NI Reconfigurable I/O (RIO) target.