Conditions for Code Replacement of DSP Blocks with QHL
Each DSP block (DSP System Toolbox™) that can be used with the Embedded Coder® Support Package for Qualcomm® Hexagon® Processors requires specific conditions to allow code replacement with the Qualcomm Hexagon Library (QHL). You use this code replacement when generating C code from a model. The Qualcomm Hexagon Library (QHL) supports these DSP blocks only when you set specific properties, as indicated in the following table:
DSP Block | Input Requirements | Parameter Requirements | Equivalent Functions in Replacement |
---|---|---|---|
Discrete FIR Filter |
|
| mw_qhdsp_fir_af |
FIR Decimation (DSP System Toolbox) |
|
|
|
FFT (DSP System Toolbox) |
|
|
|
IFFT (DSP System Toolbox) |
|
|
|
Biquad Filter (DSP System Toolbox) |
|
|
|
Second-Order Section Filter (DSP System Toolbox) |
|
|
|
Note
Use only column-major layout for QHL/HVX replacements. For more information, see Row-Major and Column-Major Array Layouts.
See Also
Conditions for Code Replacement of DSP System Objects with QHL | Conditions for Code Replacement of Math Functions with QHL | Conditions for Code Replacement of Math Operators with QHL | Conditions for Code Replacement of DSP Blocks with HVX | Conditions for Code Replacement of DSP System Objects with HVX | Conditions for Code Replacement of Math Operators with HVX