1 extern "C" {
2 extern void debug_test();
3 }
4
5 #include "allocator.h"
6
7 #include <dsppp/fixed_point.hpp>
8 #include <dsppp/matrix.hpp>
9
10 #include <iostream>
11
12 #include <cmsis_tests.h>
13 #include "dsp/basic_math_functions.h"
14
15
16 using namespace arm_cmsis_dsp;
17
18
19
20 extern Q15 external_debug(const PVector<Q15,16> &a0,
21 const PVector<Q15,16> &a1,
22 const PVector<Q15,16> &a2,
23 const PVector<Q15,16> &a3,
24 const PVector<Q15,16> &b,
25 int l);
26
27 template<typename T,int NB>
test()28 static void test()
29 {
30
31 PrintType<vector_traits<Q15>>();
32 }
33
debug_test()34 void debug_test()
35 {
36 title<Q15>("Debug test");
37
38
39
40 test<Q15,NBVEC_16>();
41
42
43
44
45 }