1 #include "Test.h"
2 #include "Pattern.h"
3 
4 #include "dsp/filtering_functions.h"
5 
6 class DECIMQ15:public Client::Suite
7     {
8         public:
9             DECIMQ15(Testing::testID_t id);
10             virtual void setUp(Testing::testID_t,std::vector<Testing::param_t>& params,Client::PatternMgr *mgr);
11             virtual void tearDown(Testing::testID_t,Client::PatternMgr *mgr);
12         private:
13             #include "DECIMQ15_decl.h"
14 
15             Client::Pattern<q15_t> input;
16             Client::Pattern<q15_t> coefs;
17             Client::Pattern<uint32_t> config;
18 
19             Client::LocalPattern<q15_t> output;
20             Client::LocalPattern<q15_t> state;
21             // Reference patterns are not loaded when we are in dump mode
22             Client::RefPattern<q15_t> ref;
23 
24 
25             arm_fir_decimate_instance_q15 S;
26             arm_fir_interpolate_instance_q15 SI;
27 
28             int q;
29             int numTaps;
30             int blocksize;
31             int refsize;
32 
33             arm_status status;
34     };
35