Conditions for Code Replacement of DSP Blocks with QHL
Each DSP blocks (DSP System Toolbox™) that can be used with the 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 | |
---|---|---|---|---|
1 | Discrete FIR Filter |
|
| mw_qhdsp_fir_af |
2 | FIR Decimation (DSP System Toolbox) |
|
|
|
3 | FFT (DSP System Toolbox) |
|
|
|
4 | IFFT (DSP System Toolbox) |
|
|
|
5 | Biquad Filter (DSP System Toolbox) |
|
|
|
6 | 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