Commit Graph

670 Commits (d1a2633be03b4abb9c07058d09ba5ae2bf411fe0)
 

Author SHA1 Message Date
Christophe Favergeon 02b12fd1cf CMSIS-DSP: New min/max functions.
Added arm_(max|min)_no_idx_(q7|q15|q31|f16|f32|f64).c
Added arm_abs(max|min)_no_idx_(q7|q15|q31|f16|f32|f64).c

For both functions : Helium and scalar versions.
4 years ago
Christophe Favergeon 469379c527 CMSIS-DSP: Correcting issue #1358 4 years ago
Christophe Favergeon 0365b59188 CMSIS-DSP: Python wrapper update
New function arm_mat_mult_opt_q31 added to the wrapper.
4 years ago
Christophe Favergeon e45dc7c22e CMSIS-DSP: Improvements to pull request #1363
To avoid having to change the API in an incompatible way,
a arm_mat_mult_opt_q31 was introduced and is providing a faster implementation
to use with Helium (but requiring more storage for intermediate results).

Some improvements to tests for matrix functions added.
4 years ago
FabKlein cfc30c12b8 CMSIS-DSP : faster Q.15/Q.31 Helium matrix multiplications. Uses an initial transpose stage, requiring extra scratch space to hold RHS transposed matrix. 4 years ago
Christophe Favergeon c520fb08f4 CMSIS-DSP: Corrected dependency issue in SDF pack. 4 years ago
Christophe Favergeon 2cd6c30118 CMSIS-DSP: Updated SDF pack.
Removed unused variables in some tests.
4 years ago
Christophe Favergeon 06e66cefca CMSIS-DSP: SDF improvement
Event recorder improvements for the VHT implementation of the audio source and sink.
4 years ago
Christophe Favergeon ab6a89a628 CMSIS-DSP: Improve integration of VHT and SDF 4 years ago
Christophe Favergeon b984d738f4 CMSIS-DSP: Preliminary support for VHT in SDF. 4 years ago
Christophe Favergeon 72483e7c3f CMSIS-DSP: Added code size optimization for the SDF C++ generator. 4 years ago
Christophe Favergeon 60475b816d CMSIS-DSP: Correction to MFCC Q15 node. 4 years ago
Christophe Favergeon 6d159f6085 CMSIS-DSP: SDFTools corrections
Small issue in MFCC node.
Corrected how literal and variable arguments are used.
(Now it is more general in any order given by user).
4 years ago
Christophe Favergeon 9bdaa9d9ea CMSIS-DSP: Improvements to some Python nodes of SDF. 4 years ago
Christophe Favergeon 02d4e88031 CMSIS-DSP: Reworked sqrt q15 and q31 4 years ago
Christophe Favergeon 96c5596875 CMSIS-DSP: Add support to build with XCode 4 years ago
Christophe Favergeon 6ab9125272 CMSIS-DSP: Add MFCC to SDFTools
Python and C++ nodes available.
New examples 5 and 6 are shwoing how to use MFCC in SDF in both cases.
4 years ago
JbR d25b745082 Fix warning unused tmp variable (#1335)
* Fix warning unused tmp variable

* Fix comments
4 years ago
JbR 8353800b3f Ignore old c cast style not supported by apple cc (#1334) 4 years ago
Christophe Favergeon 9a5083c565 CMSIS-DSP: Additional fixes for issue #1328 4 years ago
Christophe Favergeon d26cd50388 CMSIS-DSP: Correcting issue #1328
Sign issue warnings
4 years ago
Christophe Favergeon 46231a68e5 CMSIS-DSP: Correcting issue #1285
representation of float 16 values in generated tables.
4 years ago
Thomas Törnblom 2a7714ced7 DSP: Cleanup of type mismatches (#1327)
The IAR compiler appears to provide more warnings about type
mismatches than the other compilers. This cleans a lot of them up.

Signed-off-by: TTornblom <thomas.tornblom@iar.com>
4 years ago
Christophe Favergeon b4822217d0 CMSIS-DSP: Fixes to build with an additional compiler 4 years ago
JbR 606f49743b Adding support for Apple Compiler 4 years ago
Christophe Favergeon cd7ecea5a7 CMSIS-DSP: Corrected some failing f16 tests. 4 years ago
Christophe Favergeon 3976ce6959 CMSIS-DSP: Corrected wrong test pattern for fixed point division. 4 years ago
Christophe Favergeon 49a38a5eb1 CMSIS-DSP: Corrected issue #1053
(documentation issue)
4 years ago
TTornblom 225ab53a54 DSP: Eliminate some non-standard C code
Cleaned out some non-standard C code, typeof() and using
"const" variables as constants.

Also added some initial IAR support.

Signed-off-by: TTornblom <thomas.tornblom@iar.com>
4 years ago
TTornblom 9b6b4fff80 DSP: Eliminate some non-standard C code
Cleaned out some non-standard C code, typeof() and using
"const" variables as constants.

Also added some initial IAR support.

Signed-off-by: TTornblom <thomas.tornblom@iar.com>
4 years ago
Christophe Favergeon 8092cc61f9 CMSIS-DSP: New MFCC Q15 and Q31
arm_cmplx_mag_q15 reworked to be more accurate but less efficient.

New function arm_cmplx_mag_fast_q15 introduced to retain previous
(less accurate) but faster behavior.

Improvement to Python wrapper to support the new functions.
4 years ago
Christophe Favergeon 99dc566e87 CMSIS-DSP: MVE versions of vlog q15 and q31 and PythonWrapper fix
PythonWrapper was no more building on windows due to a too long
link command line.

A temporary fix was made. But on long term the wrapper must be refactored
into submodules to allow to more easily add new functions.
4 years ago
Christophe Favergeon cd9ac529d6 CMSIS-DSP: Some small changes to thresholds used in test for Q15 convolution. 4 years ago
Christophe Favergeon 0597838b9f CMSIS-DSP: New f64 tests
Tests for : BasicMaths, ComplexMaths, Stats, FastMath
Filtering, Distances, Support.

Some tests are disabled because only a subset
of the functions has been converted to f64.
4 years ago
JbR c91d16b2c2 Fixing double init values 4 years ago
JbR 6c469c6c18 Adding new f64 files to CMakeLists 4 years ago
JbR 329dae5fad Removing defgroup from f64 & fixing double init values 4 years ago
JbR 193adbe24b Removing Doxygen group 4 years ago
JbR 4954674848 Fixing double init value 4 years ago
JbR 7a4579d9a9 Implement some f64 methods 4 years ago
Christophe Favergeon 9674e00294 CMSIS-DSP: log f16 update 4 years ago
Christophe Favergeon 8fb55a90b7 CMSIS-DSP: Added MFCC F16
This first version is not very accurate due to problems with the log.
A coming commit will improve the log accuracy.

Issues #1305 and #1304 also corrected as part of this commit.
4 years ago
Sandeep Mistry bf965eb609 Correct interpol(...) arg in ComplexMathFunctions CMakeLists.txt 4 years ago
Christophe Favergeon 3d264cfabb CMSIS-DSP: MFCC F32
MFCC F32 implementation
MFCC F32 tests
MFCC F32 in Python wrapper
Python wrapper structure updated to support submodule like
cmsisdsp.mfcc and cmsisdsp.fixedpoint
PythonWrapper tests updated to use the new fixedpoint
cmsisdsp.mfcc is used to generate the mel filter, dct and window coefficients.
4 years ago
Christophe Favergeon 9f36d99a0b CMSIS-DSP: Correction os issue 1274
arm_mat_solve_lower_triangular_f32 and arm_mat_solve_upper_triangular_f32
had constraints which could be removed to make the function
more generic.
4 years ago
Christophe Favergeon 0bf67b2333 CMSIS-DSP: Correcting issue 1289
A test check was disabled by mistake.
4 years ago
Christophe Favergeon d58f76a768 CMSIS-DSP: Correcting issue 1291
Test was wrongly assuming a complex matrix / vector and so the
buffer sizes were too big.
4 years ago
Christophe Favergeon f1e33b7a7f CMSIS-DSP: Correcting issue 1293
Missing const qualifier in linear interpolation
4 years ago
Christophe Favergeon ab33fa64d7 CMSIS-DSP: Synchronous Data Flow
Set of Python scripts used to describe synchronous data flow networks
and generate a static scheduling.

It is working with CMSIS-DSP and a few standard nodes provided as C++ or Python classes.
It can be easily extended.

It is also working with the Python wrapper for CMSIS-DSP.

Detailed documentation in the SDFTools/README.md
4 years ago
Christophe Favergeon 840a233053 CMSIS-DSP: Scalar version for arm_vlog_q31
Added scalar version of arm_vlog_q15

Updated PythonWrapper with vlog q31 and q15
Corrected small compilation issue with AC5 compiler.
4 years ago