1 #include "Test.h"
2 #include "Pattern.h"
3 
4 #include "dsp/filtering_functions.h"
5 
6 class DECIMQ31:public Client::Suite
7     {
8         public:
9             DECIMQ31(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 "DECIMQ31_decl.h"
14 
15             Client::Pattern<q31_t> input;
16             Client::Pattern<q31_t> coefs;
17             Client::Pattern<uint32_t> config;
18 
19             Client::LocalPattern<q31_t> output;
20             Client::LocalPattern<q31_t> state;
21             // Reference patterns are not loaded when we are in dump mode
22             Client::RefPattern<q31_t> ref;
23 
24 
25             arm_fir_decimate_instance_q31 S;
26             arm_fir_interpolate_instance_q31 SI;
27 
28             int q;
29             int numTaps;
30             int blocksize;
31             int refsize;
32 
33             arm_status status;
34     };
35