Conditions for Code Replacement of DSP System Objects with HVX
DSP system objects (you will require DSP Toolbox installed) that can be used with the Support Package for Qualcomm Hexagon processors require specific conditions to allow code replacement with the Hexagon Vector Extension (HVX). You use this code replacement when generating C/C++ code from a model. The support package do not support any multi-rate DSP blocks in the Code Replacement Library (CRL). The Hexagon Vector Extension (HVX) supports these DSP system objects only when you set specific properties, as indicated in the following table:
DSP System Object | Input Requirements | Parameter Requirements | Equivalent Functions in Replacement | |
---|---|---|---|---|
1 | dsp.FIRFilter (DSP System Toolbox) |
|
|
mw_qhdsp_hvx_fir_af
|
2 | dsp.FFT (DSP System Toolbox) |
|
|
|
3 | dsp.FFT (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 Blocks with QHL | 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 Math Operators with HVX